identifier
stringlengths 7
768
| collection
stringclasses 3
values | open_type
stringclasses 1
value | license
stringclasses 2
values | date
float64 2.01k
2.02k
⌀ | title
stringlengths 1
250
⌀ | creator
stringlengths 0
19.5k
⌀ | language
stringclasses 357
values | language_type
stringclasses 3
values | word_count
int64 0
69k
| token_count
int64 2
438k
| text
stringlengths 1
388k
| __index_level_0__
int64 0
57.4k
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://ceb.wikipedia.org/wiki/Torrente%20Astico
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Torrente Astico
|
https://ceb.wikipedia.org/w/index.php?title=Torrente Astico&action=history
|
Cebuano
|
Spoken
| 37
| 56
|
Suba ang Torrente Astico sa Italya. Nahimutang ni sa rehiyon sa Regione Veneto, sa amihanang bahin sa nasod, km sa amihanan sa Rome ang ulohan sa nasod.
Ang mga gi basihan niini
Mga suba sa Regione Veneto
| 17,521
|
https://ms.wikipedia.org/wiki/Zaki%20Sadri
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Zaki Sadri
|
https://ms.wikipedia.org/w/index.php?title=Zaki Sadri&action=history
|
Malay
|
Spoken
| 522
| 1,235
|
Zaki Sadri adalah bekas jaguh lompat jauh dan lompat kijang negara Malaysia. Beliau adalah pemenang lapan pingat emas Sukan SEA.
MOHD ZAKI B SADRI
Kemasik Kemaman
Terengganu Darul Iman
West Malaysia
E-Mail :mzs1967@gmail.com
Personal Particulars
Date of Birth : 2nd February 1967
Gender : Male
Nationality : Malaysian
Marital Status : Married
Place of Birth : Tanah Kebun Parit Buntar, Perak
Race / : Malay
Religion : Muslim
Weight : 80kg
Height : 180cm
Hobbies : Bikers, Art & Design, & Watching Movies
Interested In : Art & Design - Designed sports attire
Educational and Coaching Qualification
Schools / College Year
SPM (Malaysian Cetificate of Education) 1985
Dip in PE International Olympic committee (IOC) 2004
Sports Adminstration IOC/OCM 2004
IAAF CECS Level IV (Jumps) 2006
NSC of Malaysia Sports Scince Level II 2001
IAAF CECS Lectrurers for Level 1 2007
IAAF CECS Lactrurers for Kids Athletics 2007
CECS Refresher IAAF Level 4 (Jumps) 2012 University of Arkansas(USA) American Sports Academy (Attach)
Coaching Background and History
• Involve in Malaysian Games (SUKMA) from 2003 until 2012 as a Chif Coach of Terengganu
• Involve in Malaysian Team in Sea Games Korat Thailand 2007
• Involve in National Junior Coach 2006
• Involve in Coaching Panel for National Sports Council
• Involve with State of Terengganu as advisor for preparation for SUKMA 2008 as host
• Involve as pannel training program for National Senior and Junior for Malaysia Team
• National and State Coach of Malaysia since 2002 until 2009
• Current as Technical Director & Coaching Director for SUKMA Terengganu 2018 (2017-2018)
Pencapaian dalam acara Lompat Jauh dan Lompat Kijang/ Sports Background and Achievement
EVENT NATIONAL & SEA GAMES RECORD YEAR
TRIPLE JUMP 16.29M 1989- UNTIL 2013
LONG JUMP 7.85M 1996-2008
TRIPLE JUMP SEA GAMES RECORD 16.29M 1989-2001
LONG JUMP SEA GAMES RECORD 7.79M 1991-2005
.Award
SELANGOR STATE BEST ATHLETICS AWARD – 1987 & 1993
SPORTS TOTO “HIGH ACHIEVER OF THE MONTH” 1988
SPECIAL AWARD MALAYSIAN SPORTS WRITHER SAM BENSON & HEDGES 1989
MILO AWARD – SEA GAMES WINNERS 1989
PJK STATE OF SELANGOR
MAAU AWARD1997 – ATHLETICS MALE AWARD OF THE YEAR
OLYMPIAN OF THE YEAR 1997 – OCM/COCA COLA AWARD
JOHN HANCOCK ATHLETES OF THE DAY 1997
NATIONAL SPORTS AWARD – CALON OLAHRAGAWAN KEBANGSAAN 89/93/95/1997
TIMESPORTS TOTO(M) AWARD “MAN OF THE YEAR 1997”- ATHLETICS TEAM
Peruntukan tak sampai
Beliau berharap agar badan audit bebas perlu diwujudkan bagi memastikan peruntukan RM103 juta sampai kepada atlet.Peruntukan itu bukan untuk pegawai atau pihak persatuan sukan.Ada yang tidak amanah, manakala atlet dan jurulatih hanya dapat saki baki peruntukan sahaja.
Bajet 2015 tertumpu kepada peringkat sekolah rendah; meningkatkan mutu sukan berprestasi tinggi untuk enam bidang sukan terpilih iaitu Bola Sepak, Berbasikal, Badminton, Sepak Takraw, Renang dan Olahraga; menyemarakkan Program FitMalaysia dan menyambut Hari Sukan Negara pada setiap Sabtu pertama November.
Hari Sukan Negara dapat membudayakan sukan dan gaya hidup sihat terutama sekarang rakyat negara ini ramai yang semakin ramai menghadapi masalah obesiti.
Rujukan
Pautan luar
Zaki, 'kanggaru' emas Sukan SEA, Oleh TAN MING WAI-Utusan Malaysia
Lompatan emas Zaki Sadri sukar dilupa - Kosmos
Rekod 16.29 meter Zaki Sadri terancam - Utusan Malaysia.
Atlet lompat kijang Malaysia
| 38,315
|
https://ceb.wikipedia.org/wiki/Anthony%20Branch%20%28suba%20sa%20Tinipong%20Bansa%2C%20Texas%2C%20Kaufman%20County%2C%20lat%2032%2C65%2C%20long%20-96%2C28%29
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Anthony Branch (suba sa Tinipong Bansa, Texas, Kaufman County, lat 32,65, long -96,28)
|
https://ceb.wikipedia.org/w/index.php?title=Anthony Branch (suba sa Tinipong Bansa, Texas, Kaufman County, lat 32,65, long -96,28)&action=history
|
Cebuano
|
Spoken
| 76
| 112
|
Alang sa ubang mga dapit sa mao gihapon nga ngalan, tan-awa ang Anthony Branch.
Suba ang Anthony Branch sa Tinipong Bansa. Nahimutang ni sa kondado sa Kaufman County ug estado sa Texas, sa habagatan-sidlakang bahin sa nasod, km sa kasadpan sa Washington, D.C. Ang Anthony Branch mao ang bahin sa tubig-saluran sa Trinity River ang ulohan sa nasod.
Ang mga gi basihan niini
Trinity River (suba sa Tinipong Bansa, Texas) tubig-saluran
Mga suba sa Texas (estado)
| 43,409
|
https://uk.wikipedia.org/wiki/%D0%9A%D0%B0%D0%B4%D0%B0%D0%B2%D1%80
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Кадавр
|
https://uk.wikipedia.org/w/index.php?title=Кадавр&action=history
|
Ukrainian
|
Spoken
| 180
| 609
|
Кадавр () — труп, використовуваний в наукових цілях.
Кадаври мають високу медичну цінність. Вивчення мертвих тіл багато століть допомагає розвитку медицини, біології та суміжних наук. Після смерті майже будь-який труп, особливо людський, має певну цінність для вивчення, і якщо є бажання його колишнього господаря або за згодою родичів може бути проданий або переданий безкоштовно для вивчення. Також практикується відправлення на вивчення так званих «незапитаних» тіл: безпритульних, ув'язнених, самотніх осіб, знайдених невпізнаних трупів тощо.
Кадаври раніше служили об'єктами для проведення різноманітних досліджень впливу на людське тіло:
Кадаври використовувалися для випробування гільйотини при заміні у Франції смертної кари через повішення на обезголовлювання;
На фрагментах людського тіла проводили дослідження впливу вогнепальної зброї наприкінці XIX — початку XX століть;
Кадаври виконували роль манекенів в перших натурних випробуваннях в області пасивної безпеки автомобілів в 30-40-х роках XX століття.
У даний час дослідження трупів іноді бувають ускладнені законодавчими актами і релігійними нормами, особливо, коли необхідна попередня ексгумація. У багатьох випадках дослідження проводять на манекенах з вбудованими датчиками або матеріалах з еквівалентними людському тілу властивостями (наприклад, балістичний гель при проведенні досліджень впливу будь-яких видів зброї).
Патологічна анатомія
| 31,842
|
https://gis.stackexchange.com/questions/349761
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,020
|
Stack Exchange
|
Rodrigo Vargas, https://gis.stackexchange.com/users/144134, https://gis.stackexchange.com/users/687, markusN
|
English
|
Spoken
| 270
| 551
|
Iterating GRASS function over list
I want to project the shadows from a DSM raster.
Is it possible to iterate the grass function r.sunmask.datetime
over a list from a csv file composed with interest dates(month/day) and time (hours from 9:00 to 18:00) along the year?
Yes, of course.
Actually the power of GRASS really shines when you need to perform repetitive tasks in a loop.
The specific answer depends on how your CSV is formatted, what operating system you're working on, and what command shell you prefer. For example:
If I had a CSV that looks like:
day,month,year,hour,min
01,01,2019,10,30
02,01,2019,11,30
03,01,2019,13,30
and if I wanted to write a loop using the Linux bash shell:
while IFS=, read dy mo yr hr mn;
do output=`sunmask_$yr_$mn_$dy_$hr_$mn`;
r.sunmask elevation=<your DSM> year=$yr month=$mn day=$dy hour=$hr minute=$mn output=$output;
done
The above can be re-written also for a windows cmd shell, and could be easily ported to python.
Pay attention to the timezone parameter. (Refer to the man page for details...)
Hi Micha, I'm working in windows environment. Is the script you wrote suitable to it?
Hint: if r.sunmask is too slow in computing shadows, consider r.sun (https://grass.osgeo.org/grass78/manuals/r.sun.html#extraction-of-shadow-maps)
Indeed it's very slow but I solved it by another way with earthpy library.
I solved it by another way with earthpy library. You'll need a dataframe with daily and hourly azimut and altitude.
Here's the script:
def hillshade (index):
altitude = df.altitude[index]
azimut = df.azimut[index]
return ep.plot_bands(
es.hillshade(elevation, azimuth = azimut, altitude = altitude),
)
plt.show()
for i in df.index:
hillshade(i)
That will print a raster for every date and time you have in your data frame.
| 18,228
|
https://ceb.wikipedia.org/wiki/Dambegoda
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Dambegoda
|
https://ceb.wikipedia.org/w/index.php?title=Dambegoda&action=history
|
Cebuano
|
Spoken
| 85
| 143
|
Administratibo nga balangay ang Dambegoda sa Sri Lanka. Nahimutang ni sa lalawigan sa North Western Province, sa sentro nga bahin sa nasod, km sa amihanan-sidlakan sa Colombo ang ulohan sa nasod.
Ang klima tropikal nga kasalupan. Ang kasarangang giiniton °C. Ang kinainitan nga bulan Pebrero, sa °C, ug ang kinabugnawan Hunyo, sa °C. Ang kasarangang pag-ulan milimetro matag tuig. Ang kinabasaan nga bulan Oktubre, sa milimetro nga ulan, ug ang kinaugahan Enero, sa milimetro.
Ang mga gi basihan niini
Mga subdibisyon sa North Western Province
| 46,948
|
https://fr.wikipedia.org/wiki/Albert%20Lema%C3%AEtre%20%28pilote%29
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Albert Lemaître (pilote)
|
https://fr.wikipedia.org/w/index.php?title=Albert Lemaître (pilote)&action=history
|
French
|
Spoken
| 505
| 842
|
Albert Lemaître (dit aussi Georges Lemaître), né le à Ay (Marne) et mort le à Neuilly-sur-Seine, est un pilote automobile français, communément reconnu comme étant un conducteur unique du seuil du .
Biographie sous le prénom Albert
Albert Emmanuel Lemaître est le fils aîné de Louis Emmanuel Lemaître, négociant, et de Marie Julie Fabry, sans profession. Né le à Ay (Marne) et ayant un frère Georges né le , tous deux sont vendeurs de vin de Champagne pour l'exportation à Épernay, et Albert vend sa Peugeot à la fin de l'année 1899.
Le il assassine son épouse Lucie Duminy à Paris et retourne l'arme du crime contre lui, rue de Miromesnil, puis il est acquitté le de la même année devant la cour d'assise de la Seine.
Biographie sous le prénom Georges
À l'arrêt de la compétition automobile, il repart durant près de deux ans aux États-Unis, après y avoir déjà séjourné quelques années ainsi qu'en Australie, pour s'occuper du lancement des produits d'une marque automobile qu'il y représente grâce à des ouvriers d'origine allemande… en rayonnant autour de New York. Il projette alors d'engager le coureur français Gabriel sur des ovales américains, après sa quatrième place dans la quatrième Coupe Internationale Gordon Bennett de 1903 (sur Mors).
Il devient le codirecteur des champagne Mercier à son retour, étant marié à Blanche Mercier.
Palmarès prénom Albert
Le il termine deuxième à 29 ans de la première course automobile organisée au monde, le Paris-Rouen sur Peugeot Type 7 3hp à pétrole, avant d'être jugé vainqueur officiel, le premier arrivé (comte de Dion, sur véhicule à vapeur avec chauffeur) n'étant pas éligible pour le prix (global de francs).
Le , il finit encore deuxième de Marseille-Nice-La Turbie, sur Peugeot.
Le il gagne Nice-La Castellane-Nice sur Peugeot deux cylindres (19 participants pour ).
Le il remporte l'épreuve du mille de Nice
Le il devient le second vainqueur de la course de côte Nice-La Turbie, sur la nouvelle Peugeot 17hp, toujours lors des Courses de Nice, remportant aussi le Mille en vitesse pure sur la promenade des Anglais à .
Le il remporte Pau-Bayonne-Pau sur Peugeot, en 3 heures et 57 minutes (7 concurrents).
Palmarès prénom Georges
Sur Peugeot de 1897 à 1899, puis Benz en 1901
Le il est second de Marseille-Nice-La Turbie sur un parcours de sur Peugeot.
Le il est troisième du Paris-Trouville (trail de ) sur Peugeot.
Un an plus tard, le il est encore troisième du Bordeaux-Biarritz (trail de parcouru en 8 heures et 4 minutes).
En 1899, il remporte Nice-Castellane-Nice sur Peugeot.
Le il termine troisième de Paris-Ostende () sur Peugeot.
En 1901 (Nice-Salon-Nice, puis Paris-Berlin) et 1902 il court sur Mercedes, terminant ainsi deuxième de la course de côte Nice-La Turbie au début durant les Courses de Nice, et le avec sa Mercedes Simplex 40hp en catégorie Véhicules de moins de .
Notes et références
Bibliographie
Liens externes
Pilote automobile français
Pionnier de l'automobile
Naissance en février 1864
Naissance à Aÿ-Champagne
Décès en juillet 1912
Décès à Neuilly-sur-Seine
Décès à 48 ans
| 11,601
|
https://stackoverflow.com/questions/62444032
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,020
|
Stack Exchange
|
hindmost, https://stackoverflow.com/users/2118955, https://stackoverflow.com/users/3959875, wOxxOm
|
Sardinian
|
Spoken
| 221
| 642
|
Content Script doesn't run when I set a "default_popup" in an extension
My content script and background script run perfectly when I don't set a default popup. When I do the latter somehow both the background and the content script don't give any output in the console.
1.manifest.json
{
"manifest_version": 2,
"name": "KS Scrapper",
"description":"Simple Scrapper",
"version" : "1.0.0",
"icons":{"128":"images/ks_logo_128.png"},
"browser_action" : {
"default_icon" : "images/ks_logo_19.png",
"default_popup" : "popup.html"
},
"content_scripts" : [
{
"matches": ["<all_urls>"],
"js" : ["jquery-2.1.4.min.js", "popup.js"],
"css" : ["c.css"]
}
],
"web_accessible_resources": [
"css/style.css"
],
"permissions": ["tabs"],
"background":{
"scripts":["background.js"]
}
}
2.popup.js
chrome.runtime.onMessage.addListener(gotMessage);
function gotMessage(message, sender, sendResponse){
console.log(message);
if(message!=null){
var b = document.getElementById("get_url");
document.getElementById("url").value = message;
} }
3.background.js
console.log("background running")
chrome.browserAction.onClicked.addListener(buttonClicked)
function buttonClicked(tab){
function getLink() {
chrome.tabs.query({
active: true,
currentWindow: true
}, function (tabs) {
var tabURL = tabs[0].url;
console.log(tabURL);
chrome.tabs.sendMessage(tab.id, tabURL)
console.log("message sent");
});
}
getLink();
}
I would really appreciate it if someone could share a solution or guide me on anything in particular that I have to redo or research on. Thanks a lot.
default_popup and browserAction.onClicked are mutually exclusive. browserAction.onClicked doesn't fire if default_popup is present.
Also, the name popup.js implies you're incorrectly loading it both as a content script and as an extension script inside popup.html. Note that the popup is a separate page with its own DOM, document, window, URL.
| 18,616
|
https://frr.wikipedia.org/wiki/%C3%85mt%20Trittau
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Åmt Trittau
|
https://frr.wikipedia.org/w/index.php?title=Åmt Trittau&action=history
|
North Frisian
|
Spoken
| 44
| 136
|
Et Åmt Trittau as en åmt önj e Kris Stormarn önj Slaswik-Holstiinj. Dåt heet 19.002 inboogere (2019). E hoodstää foont åmt as Trittau.
Geografii
Indiiling foon Ferwålting
Gemiine
Grande
Grönwohld
Großensee
Hamfelde
Hohenfelde
Köthel
Lütjensee
Rausdorf
Trittau
Witzhave
Kwäle
Åmt önj e Kris Stormarn
| 7,731
|
https://stackoverflow.com/questions/24640297
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,014
|
Stack Exchange
|
Fosco, SMD01, https://stackoverflow.com/users/3476972, https://stackoverflow.com/users/353988
|
Danish
|
Spoken
| 216
| 528
|
How to retrieve objects from Parse.com whose key matches a certain value
I want to retrieve an array of users who are "searching" and then randomly select one from the array and add it as a "partner". Here's what I have:
- (IBAction)searchForPlayer:(id)sender {
[self.currentUser setObject:@1 forKey:@"searching"];
[self.currentUser saveInBackground];
PFQuery *findPotential = [PFQuery queryWithClassName:@"User"];
[findPotential whereKey:@"searching" notEqualTo:@0];
[findPotential findObjectsInBackgroundWithBlock:^(NSArray *objects, NSError *error) {
NSLog(@"Potential players: %i",objects.count);
if(error){
NSLog(@"Error!");
}
else {
if (objects.count == 0) {
NSLog(@"None found");
}
else {
int partnerNum = arc4random_uniform(objects.count)+1;
PFUser *newPartner = [objects objectAtIndex:partnerNum];
PFRelation *partners = [self.currentUser relationForKey:@"partners"];
[partners addObject:newPartner];
}
}
}];
[self.currentUser saveInBackgroundWithBlock:^(BOOL succeeded, NSError *error) {
if(error){
NSLog(@"Error!");
}
}];
}
For some reason, no objects are ever found with the specified constraint (whereKey:@"searching" notEqualTo:@0). Does anyone know how to fix this?
Thank you!
if the only other value is 1, I would use equalTo 1... Are there records with searching = 1? The save you do first is asynchronous, so it won't be done before the query goes.
I should've mentioned that. I tried using "equalTo:@1"also and had the same results.
The immediate error is in your query declaration. The users class is not represented by the string "Users", it's actually "_Users". However, you should create a Users query with:
PFQuery *findPotential = [PFUser query];
| 30,087
|
https://cy.wikipedia.org/wiki/La%20Fille%20Perdue
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
La Fille Perdue
|
https://cy.wikipedia.org/w/index.php?title=La Fille Perdue&action=history
|
Welsh
|
Spoken
| 165
| 378
|
Ffilm ddrama gan y cyfarwyddwr Jean Gourguet yw La Fille Perdue a gyhoeddwyd yn 1954. Fe'i cynhyrchwyd yn Ffrainc. Sgwennwyd y sgript yn wreiddiol yn Ffrangeg.
Y prif actorion yn y ffilm hon yw Dora Doll, Claudine Dupuis, Gérard Landry, Jean Clarieux a Robert Berri. Cafodd ei ffilmio mewn du a gwyn.
Fel y nodwyd, cyhoeddwyd y ffilm yn 1954. Ffilm fwyaf poblogaidd y flwyddyn honno oedd Rear Window sy’n ffilm llawn dirgelwch, gan y cyfarwyddwr ffilm enwog Alfred Hitchcock.
Cyfarwyddwr
Ganwyd y cyfarwyddwr ffilm Jean Gourguet ar 5 Rhagfyr 1902 yn Sète a bu farw ym Mharis ar 25 Hydref 1989. Roedd yn fwyaf cynhyrchiol yn 1928 ond ni ellir dweud fod y gwaith wedi cyrraedd enwogrwydd byd-eang.
Derbyniad
Gweler hefyd
Cyhoeddodd Jean Gourguet nifer o ffilmiau gan gynnwys y canlynol:
Cyfeiriadau
Ffilmiau gan gyfarwyddwyr ffilm gwrywaidd
Ffilmiau du a gwyn
Ffilmiau du a gwyn o Ffrainc
Dramâu o Ffrainc
Ffilmiau o Ffrainc
Dramâu
Ffilmiau 1954
Ffilmiau gyda llai na 10 o actorion lleisiol
| 5,213
|
https://stackoverflow.com/questions/55077277
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,019
|
Stack Exchange
|
Hernán Rendón, hanshenrik, https://stackoverflow.com/users/1067003, https://stackoverflow.com/users/7546951
|
Sardinian
|
Spoken
| 233
| 703
|
sending XML containing a file with curl and PHP 7
The XML has a label where I indicate the path of the file, they tell me that I must use DIME to make the shipment.
$URL = "http://localhost:8080/data/info/USD_R11_WebService?wsdl";
$ch = curl_init();
$xml='
'.$sid.'rep_doc:1002iss:519605Adjunto_Evidencia/home/sftpserver/jperoza/public_html/data/uploads/28.png';
$headers = array();
array_push($headers, "Content-Type: multipart/form-data;application/xml; charset=US-ASCII");
array_push($headers, "Content-Disposition: form-data; name='chg'");
array_push($headers, "SOAPAction: '';");
if($xml != null) {
curl_setopt($ch, CURLOPT_POSTFIELDS, "$xml");
array_push($headers, "Content-Length: " . strlen($xml));
}
curl_setopt($ch, CURLOPT_URL,$URL);
curl_setopt($ch, CURLOPT_USERAGENT,'Jakarta Commons-HttpClient/3.0.1');
curl_setopt($ch, CURLOPT_VERBOSE, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $xml);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
if (curl_errno($ch))
{
// moving to display page to display curl errors
echo curl_errno($ch) ;
echo curl_error($ch);
}
else
{
//getting response from server
$response = curl_exec($ch);
print_r($response);
curl_close($ch);
}
After executing it I get the message policy limit exceeded (there is no attachment), the integration is with CA service desk
stackoverflow remove xml tags, but if you have them
your $xml variable does not contain valid XML-formatted data, not even close. Content-Type: multipart/form-data;application/xml; charset=US-ASCII is neither valid for saying the request body contains XML, nor is it valid for saying the request body contains multipart/form-data (and because your $xml variable is invalid, it does in fact contain neither of those)
stackoverflow remove xml tags, but if you have them
if you add 4 spaces to each newline for the XML, stackoverflow will not remove the tags.
| 24,298
|
https://no.wikipedia.org/wiki/Den%20kinesiske%20dr%C3%B8m
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Den kinesiske drøm
|
https://no.wikipedia.org/w/index.php?title=Den kinesiske drøm&action=history
|
Norwegian
|
Spoken
| 148
| 320
|
Den kinesiske drøm (kinesisk: 中國夢, pinyin: Zhōngguó mèng) er et politisk signaturmotto som siden 2012/2013 er blitt benyttet av det kinesiske kommunistiske parti og av den kinesiske regjering under Xi Jinping, og som sikter til landets ambisjon om å bringe fattigfolket inn i middelstanden og stadig flere, og landet som sådan, til rikdom. Selv om landet formelt fast bekjenner seg til kommunisme, er virkemidlene for å oppnå denne drømmen mer lik kapitalistiske virkemidler.
Uttrykket ble først benyttet av det kommunistiske kommunistpartis generalsekretær Xi Jinping den 29. november 2012, og med økt frekvens etter hans tiltredelse som landets president i mars 2013.
Slike slagord er siden Deng Xiaopings tid blitt ærabetegnende for den til enhver tid sittende kinesiske ledelse, og kan således være å ligne med æranavnene fra den kinesiske keisertiden.
Videre er uttrykket inspirert av det eldre The American Dream.
Referanser
Eksterne lenker
Kinesisk politikk
Xi-Li-administrasjonen
Politiske slagord
| 30,322
|
https://sv.wikipedia.org/wiki/Ernst%20Bonsdorff
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Ernst Bonsdorff
|
https://sv.wikipedia.org/w/index.php?title=Ernst Bonsdorff&action=history
|
Swedish
|
Spoken
| 131
| 330
|
Ernst Jakob Waldemar Bonsdorff, född 23 januari 1842 i Fredrikshamn, död 9 februari 1936 i Helsingfors, var en finländsk skolman och matematiker. Han var bror till Axel Edvard Bonsdorff.
Bonsdorff blev filosofie doktor 1871. Han var 1864–1875 lärare vid Jyväskylä seminarium och 1875–1910 överlärare vid Finska normallyceum.
Bonsdorff utförde vissa försäkringsmatematiska beräkningar och medverkade till grundandet av försäkringsbolagen Suomi, Kullervo och Pohjola, vilkas styrande organ han tillhörde. Han publicerade en rad vetenskapliga undersökningar främst från invariansteorins och den högre geometrins områden samt skrev en mängd läroböcker i matematik och Tähtitiede (1899), en populärvetenskaplig framställning av astronomin. Sin långa levnad skildrade han i självbiografin Elämäni varrelta (1923).
Han förlänades professors titel 1884.
Källor
Noter
Finländska lärare
Finländska matematiker
Finländska innehavare av professors namn
Personer från Fredrikshamn
Födda 1842
Avlidna 1936
Män
Ernst
| 44,353
|
https://ca.wikipedia.org/wiki/Llista%20de%20top%C3%B2nims%20d%27Albons
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Llista de topònims d'Albons
|
https://ca.wikipedia.org/w/index.php?title=Llista de topònims d'Albons&action=history
|
Catalan
|
Spoken
| 20
| 62
|
Llista de topònims (noms propis de lloc) del municipi d'Albons, al Baix Empordà
cabana
església
masia
muntanya
Misc
Albons
Albons
| 39,439
|
https://my.wikipedia.org/wiki/%E1%80%8A%E1%80%B1%E1%80%AC%E1%80%84%E1%80%BA%E1%80%95%E1%80%84%E1%80%BA%E1%80%95%E1%80%BB%E1%80%AD%E1%80%AF%E1%80%9B%E1%80%BD%E1%80%AC%E1%81%8A%20%E1%80%99%E1%80%AD%E1%80%90%E1%80%B9%E1%80%91%E1%80%AE%E1%80%9C%E1%80%AC%E1%80%99%E1%80%BC%E1%80%AD%E1%80%AF%E1%80%B7%E1%80%94%E1%80%9A%E1%80%BA
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
ညောင်ပင်ပျိုရွာ၊ မိတ္ထီလာမြို့နယ်
|
https://my.wikipedia.org/w/index.php?title=ညောင်ပင်ပျိုရွာ၊ မိတ္ထီလာမြို့နယ်&action=history
|
Burmese
|
Spoken
| 26
| 336
|
ညောင်ပင်ပျိုရွာ ()သည် မန္တလေးတိုင်းဒေသကြီး၊ မိတ္ထီလာခရိုင်၊ မိတ္ထီလာမြို့နယ်၊ ညောင်ပင်လျှိုကျေးရွာအုပ်စု၌ တည်ရှိသည်။ ရွာနေရာကုတ်မှာ ၁၉၃၆၆၆ ဖြစ်သည်။ ၂၀၁၄ သန်းခေါင်စာရင်းအရ ညောင်ပင်လျှိုကျေးရွာအုပ်စုတွင် ကျား ၂၁၄၁ ဦး၊ မ ၂၆၄၂ ဦး၊ လူဦးရေ စုစုပေါင်း ၄၇၈၃ ဦးနေထိုင်သည်။
ကိုးကား
မိတ္ထီလာမြို့နယ်ရှိ ရွာများ
| 24,766
|
https://de.wikipedia.org/wiki/Swordquest
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Swordquest
|
https://de.wikipedia.org/w/index.php?title=Swordquest&action=history
|
German
|
Spoken
| 583
| 1,079
|
Swordquest ist eine Videospiel-Reihe von Atari, die in den 1980ern als Teil eines umfangreichen Wettbewerbs veröffentlicht wurde. Sie besteht aus drei veröffentlichten Spielen, Earthworld, Fireworld und Waterworld sowie einem geplanten, aber ursprünglich nicht veröffentlichten vierten Spiel, Airworld. Jedem dieser Spiele wurde ein Comicheft beigelegt, welches die Geschichte erklärte und bereits Hinweise auf die Lösung eines Rätsels enthielt, welches gelöst werden musste, um den Wettbewerb zu gewinnen. Durch das Lösen der Rätsel konnten Preise im Gesamtwert von 150.000 US-Dollar gewonnen werden.
Die Spielreihe war einer der ersten Versuche, bei Videospielen die Elemente von Adventures und Action-Spielen miteinander zu verbinden, was sie zu den ersten Action-Adventures überhaupt macht. Aufgrund der finanziellen Probleme von Atari und dem Einbruch des Videospielemarktes 1983, wurden die letzten beiden Wettbewerbe nie ausgetragen und auch das letzte Spiel nicht mehr veröffentlicht. Daher wurde der Wettbewerb nie beendet und der Verbleib der übrigen, noch nicht gewonnen und ausgehändigten Preise ist seither eine urbane Legende in der Videospiel-Community geworden.
Im Jahr 2022 wurde das letzte Spiel der Reihe, Airworld, als Teil der Atari 50: The Anniversary Celebration, einer Sammlung an Atari-Spielen zu dessen 50-jährigem Firmen-Jubiläum, doch noch veröffentlicht.
Spielprinzip
Jedes Spiel der Swordquest-Reihe war nach einem der klassischen Elemente gestaltet: Erde, Feuer, Wasser und Luft. In den Spielen mussten Spieler durch ein Labyrinth von Räumen wandern, Objekte einsammeln und in anderen Räumen wieder ablegen. Die Räume unterschieden sich in den einzelnen Spielen deutlich.
Wenn Spieler das richtige Objekt im richtigen Raum platzierten, wurden sie mit einem numerischen Hinweis belohnt, der sich auf Seiten und Bilder im beiliegenden Comicheft bezog. Dort konnten die Spieler dann ein verborgenes Wort finden, welches Teil des Wettbewerbs war. Die Spieler, die alle richtigen Wörter in der richtigen Reihenfolge an Atari per Post übermittelten, wurden zur nächsten Runde des Wettbewerbs eingeladen.
Versprochener Preis
Bei den Preisen, welche die Spieler gewinnen konnten, handelte es sich um fünf aus massivem Gold und mit echten Edelsteinen verzierte Objekte:
Earthworld: Der „Talisman of Penultimate Truth“, eine Scheibe aus 18-karätigem Gold, verziert mit 12 Diamanten und einem Miniatur-Schwert aus Weißgold darauf.
Fireworld: Der „Chalice of Light“, ein Kelch aus Platin und Gold, verziert mit Rubinen, Diamanten und Saphiren.
Waterworld: Die „Crown of Life“, eine Krone aus Gold, verziert mit Rubinen und Saphiren.
Airworld: Der „Philosopher’s Stone“, ein großer weißer Jadestein in einer Box aus 18-karätigem Gold, die verziert war mit Rubinen und Diamanten.
Die vier Gewinner dieser vier Preise sollten am Ende des Wettbewerbs um den Hauptpreis spielen, das „Sword of Ultimate Sorcery“, ein Schwert aus Silber mit einem Griff aus 18-karätigem Gold, verziert mit Diamanten, Saphiren und Rubinen. Dieses Schwert allein sollte rund 50.000 US-Dollar wert sein. Von dem Schwert existieren Fotoaufnahmen, sein Verbleib ist jedoch ungeklärt.
Von den versprochenen Preisen wurden nur die ersten beiden an die Gewinner der ersten beiden Wettbewerbe ausgehändigt. Ob es einen Gewinner des dritten Wettbewerbs gab, ist bis heute ungeklärt. Ebenso, was mit den anderen Preisen nach Abbruch des Wettbewerbs geschah. Dass die aus massivem Gold und echten Edelsteinen bestehenden Preise tatsächlich existierten, ist gesichert, da sie bei den ersten beiden Wettbewerben ausgestellt wurden und von den anwesenden Teilnehmern gesehen und teilweise auch fotografiert wurden. Es wird vermutet, dass die Preise eingeschmolzen wurden.
Rezeption
Die ersten beiden Spiele der Reihe, Earthworld und Fireworld, wurden ihrerzeit sehr positiv aufgenommen und erhielten überwiegend gute Bewertungen der Spielepresse. Allerdings gab es auch Stimmen, die sagten, dass der einzige Grund, diese Spiele zu kaufen und zu spielen, der sei, die wertvollen Preise gewinnen zu können.
Weblinks
Einzelnachweise
Computerspiel 1982
Atari-2600-Spiel
Action-Adventure
| 8,147
|
https://de.wikipedia.org/wiki/Schloss%20Einstein/Staffel%2023
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Schloss Einstein/Staffel 23
|
https://de.wikipedia.org/w/index.php?title=Schloss Einstein/Staffel 23&action=history
|
German
|
Spoken
| 59
| 137
|
Die dreiundzwanzigste Staffel der deutschen Seifenoper Schloss Einstein für Kinder und Jugendliche umfasst 26 Episoden (Folgen 949–974).
Dreharbeiten
Gedreht wurde vom 23. Mai 2019 bis 25. Oktober 2019 in Erfurt und Umgebung, unter anderem auf dem Drosselberg sowie im Steigerwaldstadion.
Besetzung
Sortiert nach der Reihenfolge des Einstiegs, danach nach den Nachnamen der Schauspieler.
Episoden
Weblinks
(PDF, 10,3 MB)
23
| 7,754
|
https://pl.wikipedia.org/wiki/Abraham%20Youlios%20Kackanatt
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Abraham Youlios Kackanatt
|
https://pl.wikipedia.org/w/index.php?title=Abraham Youlios Kackanatt&action=history
|
Polish
|
Spoken
| 95
| 282
|
Abraham Youlios Kackanatt (ur. 10 czerwca 1944 w Kallooppara) – indyjski duchowny syromalankarski, w latach 2008–2019 biskup Muvattupuzha.
Życiorys
Święcenia kapłańskie otrzymał 10 października 1970 i został inkardynowany do archieparchii Tiruvalla. Był m.in. koordynatorem eparchialnych dzieł społecznych, rektorem seminarium w Trivandrum oraz dyrektorem centrum medycznego w Tiruvalla.
18 stycznia 2008 papież Benedykt XVI zatwierdził jego wybór na zwierzchnika eparchii Muvattupuzha, dokonany przez Synod Kościoła Syromalankarskiego. Chirotonii udzielił mu 9 lutego 2008 ówczesny zwierzchnik Kościoła Syromalankarskiego, Baselios Cleemis Thottunkal.
11 czerwca 2019 przeszedł na emeryturę.
Przypisy
Bibliografia
Syromalankarscy biskupi katoliccy
Indyjscy biskupi katoliccy
Urodzeni w 1944
| 38,128
|
https://yo.wikipedia.org/wiki/5841%20Stone
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
5841 Stone
|
https://yo.wikipedia.org/w/index.php?title=5841 Stone&action=history
|
Yoruba
|
Spoken
| 10
| 56
|
jẹ́ plánẹ́tì kékeré ní ibi ìgbàjá ástẹ́rọ́ìdì.
Itokasi
Àwọn ástẹ́rọ́ìdì
| 31,215
|
https://stackoverflow.com/questions/44385570
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,017
|
Stack Exchange
|
Tu Trinh, https://stackoverflow.com/users/4343411, https://stackoverflow.com/users/7667007, nikita_pavlenko
|
English
|
Spoken
| 144
| 215
|
Use (write) SQL recursion to retrieve category level 2 in Hybris
I have a category organized by tree.
But the depth is not fixed.
When I have a child node.
So,How can I get category level 2 of the above node (also category).
Know that, Cat2CatRel (Category to Category Relation)is many to many.
Please [EDIT] your question and add some sample data and the expected output based on that data and the create table statements for the tables in question. Formatted text please, no screen shots. [edit] your question - do not post code or additional information in comments.
Do I understand you correctly that you want to find all categories with the parent category which is a root one?
May be you can use java API :
List<CategoryModel> categories = category.getAllSubcategories();
categories.get(1);
Sorry.But I'm doing the report on Report Cockpit using Jasper Report?
| 44,707
|
https://math.stackexchange.com/questions/3454283
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,019
|
Stack Exchange
|
Greenteamaniac, https://math.stackexchange.com/users/460856, https://math.stackexchange.com/users/6622, joriki
|
English
|
Spoken
| 636
| 1,823
|
Monotonicity of a partial binomial sum
I'm wondering when does the following partial sum monotonically increase or decrease in $n$:
$$f_x(n)=\sum^{\lfloor\frac{n}{2}\rfloor}_{k=0}{n \choose k}x^k(1-x)^{n-k}.$$
In theory, if $x<\frac{1}{2}$, the probability converges to 1. On the other hand, if $x>\frac{1}{2}$, it converges to zero. And when $x=\frac{1}{2}$, it converges to $\frac{1}{2}$.
I initially tried to show that the convergence is monotonically made, meaning that $f_x(n)$ is monotone in $n$. However, I tried several numbers for $x$ and found that it is actually not.
For example, when $x=0.49$, we have $f_{0.49}(2)\simeq0.7599$, $f_{0.49}(20)\simeq0.6229$, $f_{0.49}(10000)\simeq0.9778$. A similar example can be found for $x>\frac{1}{2}$.
Is there any intuition behind this non-monotonicity? or is there any increment in $n$ that the monotonicity is guaranteed?
I believe this is due to the fact that you're using even $n$. That includes the central coefficient $\binom n{n/2}$ and is thus half a value more than half of the sum. The effect of this “rounding error” is greater at smaller $n$, since half an additional value makes more of a difference when the distribution is spread over fewer values, and you're seeing the combined effect of this and the fact that the distribution gets more fully concentrated in the first half with increasing $n$. This effect doesn't occur for odd $n$, where you do get exactly half of the sum. For instance, $f_{0.49}(3)\approx0.5150$, $f_{0.49}(21)\approx0.5370$ and $f_{0.49}(10001)\approx0.9773$.
Thanks @joriki. I found this indeed is true. For odd $n$'s, it could be shown that it behaves monotonically. I've used the technique used in this post to show it. https://math.stackexchange.com/questions/3314465/monotonicity-of-the-cdf-of-a-binomial-distribution?rq=1. Thanks!
@Greenteamaniac: Please write your solution up as an answer to your question for others to benefit from.
That's a good idea. I'll post the answer down below. Thanks for the suggestion.
After I saw the answer from joriki, I only focused on odd $n$ cases and could show the monotonicity. I'll leave my reasoning here for a future reference. Thanks for your comment, joriki.
Let $n=2m+1$, $m\geq 0$. I will show the sign of $f_p(2m+3)-f_p(2m+1)$ depends on whether $p>\frac{1}{2}$ or $p<\frac{1}{2}$.
Let $X_{n,p}\sim Binomial(n,p)$. The associated cdf is given by $$F_p(n,k)=P[X_{n,p}\leq k]=\sum_{i=0}^{k}{n\choose i}p^i(1-p)^{n-i}.$$
Before begin, note that $f_p(2m+1)=F_p(2m+1,m)$. From the cdf, we have \begin{align}F_p(2m+3,m+1)=&P[X_{2m+3,p}\leq m+1]\\=&P[X_{2m+3,p}\leq m+1|X_{2m+1,p}<m]P[X_{2m+1,p}<m]\\&+P[X_{2m+3,p}\leq m+1|X_{2m+1,p}=m]P[X_{2m+1,p}=m]\\&+P[X_{2m+3,p}\leq m+1|X_{2m+1,p}=m+1]P[X_{2m+1,p}=m+1]\\
=&1\cdot F_{p}(2m+1,m-1)+(2p(1-p)+(1-p)^2){2m+1\choose m}p^m(1-p)^{m+1}\\
&+(1-p)^2{2m+1\choose m+1}p^{m+1}(1-p)^m.
\end{align}
Here, note that $F_p(2m+1,m-1)=F_p(2m+1,m)-{2m+1\choose m}p^m(1-p)^{m+1}$. Plugging this in, the expression after the last equality is the same as
$$F_p(2m+1,m)+(1-2p){2m+1\choose m}p^{m+1}(1-p)^{m+1}.$$
Thus, we have $$F_p(2m+3,m+1)=F_p(2m+1,m)+(1-2p){2m+1\choose m}p^{m+1}(1-p)^{m+1}$$
in which the sign of the last term is determined by whether it is $p>\frac{1}{2}$ or $p<\frac{1}{2}.$
Great answer, thanks for writing it up. I fixed some misplaced braces in the conditional probabilities. More importantly, I think the crucial sign at the end was the wrong way around -- I changed it; please check. Both the calculation and the increasing values in my answer suggest that it should be $+$. Also, I'd suggest to switch the accepted answer to this one, since it answers the question more comprehensively and definitively than mine.
I think that this is a very complex problem.
Condering the case where $n$ is even, we have
$$f_x(2m)=\sum^{m}_{k=0}{{2m} \choose k}x^k(1-x)^{2m-k}$$ Assuming $0 < x <1$, this is
$$f_x(2m)=1-\binom{2 m}{m+1} (1-x)^{m-1} x^{m+1}\, _2F_1\left(1,1-m;m+2;-\frac{x}{1-x}\right)$$
Considering $m$ as a continuous variable and looking for the minimum value of $f_x(2m)$ for $m > 0$ there is always a minimum; however, assuming that I am not mistaken, it seems that this true only for $x < 0.5$ (I did not check for odd values of $n$).
Consider the case of $x=0.49$, the numerical values are given in the following table
$$\left(
\begin{array}{cc}
m & \text{value} \\
20 & 0.612207 \\
21 & 0.611946 \\
22 & 0.611757 \\
23 & 0.611631 \\
24 & 0.611560 \\
25 & \color{red} {0.611537} \\
26 & 0.611558 \\
27 & 0.611618 \\
28 & 0.611711 \\
29 & 0.611835 \\
30 & 0.611987
\end{array}
\right)$$
| 44,782
|
https://ru.wikipedia.org/wiki/Crest%20%28%D0%B0%D0%BB%D1%8C%D0%B1%D0%BE%D0%BC%29
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Crest (альбом)
|
https://ru.wikipedia.org/w/index.php?title=Crest (альбом)&action=history
|
Russian
|
Spoken
| 88
| 236
|
Crest () — совместный студийный альбом рэп-исполнителей Bladee и Ecco2K, выпущенный 17 марта 2022 года на лейбле YEAR0001.
Выпуску альбома предшествовал сингл «Girls Just Want To Have Fun» вышедший 24 февраля 2020 года.
Отзывы
Журнал Pitchfork положительно оценил альбом и поставил оценку 8.0 из 10, написав: «Коллаборация Drain Gang — один из лучших проектов шведского коллектива, близкого к рэпу и гиперпопу. Это мягкий и приятный духовный поиск чего-то большего, чем мы сами».
Список треков
Ранее в 2020 году был представлен сингл «Girls Just Want to Have Fun»
Примечания
| 8,357
|
https://ceb.wikipedia.org/wiki/Hebius%20taronense
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Hebius taronense
|
https://ceb.wikipedia.org/w/index.php?title=Hebius taronense&action=history
|
Cebuano
|
Spoken
| 40
| 69
|
Kaliwatan sa muraghalas ang Hebius taronense. Una ning gihulagway ni Smith ni adtong 1940. Ang Hebius taronense sakop sa kahenera nga Hebius, ug kabanay nga Natricidae. Walay nalista nga matang nga sama niini.
Ang mga gi basihan niini
Muraghalas
Hebius
| 35,189
|
https://stackoverflow.com/questions/59186269
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,019
|
Stack Exchange
|
Andy, Julien, Mad Physicist, https://stackoverflow.com/users/12482781, https://stackoverflow.com/users/2988730, https://stackoverflow.com/users/4565947
|
English
|
Spoken
| 354
| 851
|
Change x-axis tick label in matplotlib axes
I am plotting two normalized histograms in the same plot using axes and want to have a bin that catches any value higher than 6000. This is what I have done so far:-
fig,ax=plt.subplots(1,2)
x1 = (60, 80, 1000, 7000, 8000)
x2 = (9000, 10000, 11000, 12000, 13000)
weights1= np.ones_like(x1)/float(len(x1))
weights2= np.ones_like(x2)/float(len(x2))
bins= np.arange(0, 6000, 100)
ax[0].hist(np.clip(x1, bins[0], bins[-1]), bins=bins, weights=weights1,
alpha =.5, label = "A", color = "blue")
ax[1].hist(np.clip(x2, bins[0], bins[-1]), bins=bins, weights=weights2,
alpha =.5, label = "B", red = "red")
plt.show()
This is what I get:
How can I change the x tick label at 6000 to 6000+ to show that it captures all observations above that?
Something like this should work:
ticks, labels = plt.xticks()
labels[-1].set_text('6000+')
plt.xticks(ticks, labels)
Update:
You can do it all manually:
bins= np.arange(0, 6000, 100)
plt.sca(ax[0])
plt.hist(np.clip(x1, bins[0], bins[-1]), bins=bins, weights=weights1,
alpha =.5, label = "A", color = "blue")
plt.xticks([0,2000,4000,6000], ['0','2000','4000','6000+'])
plt.sca(ax[1])
plt.hist(np.clip(x2, bins[0], bins[-1]), bins=bins, weights=weights2,
alpha =.5, label = "B", color = "red")
plt.xticks([0,2000,4000,6000], ['0','2000','4000','6000+'])
In theory this should work too, but for some reason not... If someone can shed light on this issue... ?
plt.sca(ax[1])
plt.hist(np.clip(x2, bins[0], bins[-1]), bins=bins, weights=weights2,
alpha =.5, label = "B", color = "red")
ticks, labels = plt.xticks()
labels[-1].set_text('6000+')
plt.xticks(ticks, labels)
Tried this. Does not really work. I have multiple axes (plotting 2 figures each with 2 histograms side by side) so the new xtick goes over to the next plot. Also now I see that the bar isnt really at 6000 but before that in my OP. I expect it to be at 6000.
"Also now I see that the bar isnt really at 6000 but before that" this is bacause how you defined your bins. You can either adjust that , or where you plot the bar relative to the bin center.
Ok Thanks. I guess I will read more into this. Any idea how to change the xtick label using ax and not plt?
Check update...
plt.sca is smelly code
@MadPhysicist in what way?
You're switching from the oo interface to the plt one after setting up the oo controls
| 18,704
|
https://lv.wikipedia.org/wiki/Pl%C4%93k%C5%A1%C5%86u%20kvie%C5%A1i
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Plēkšņu kvieši
|
https://lv.wikipedia.org/w/index.php?title=Plēkšņu kvieši&action=history
|
Latvian
|
Spoken
| 168
| 511
|
Plēkšņu kvieši jeb speltas kvieši (Triticum spelta; Triticum dicoccum) ir kviešu suga, kas tiek audzēta jau aptuveni 5000 gadus.
Plēkšņu kvieši daļā Eiropas bija nozīmīgi no bronzas laikmeta līdz viduslaikiem; šobrīd tie tiek audzēti Centrāleiropā un Spānijas ziemeļos, un piedzīvo uzplaukumu veselīgās pārtikas sektorā. Plēkšņu kvieši dažreiz tiek uzskatīti par mīksto kviešu (Triticum aestivum) pasugu, un tādā gadījumā tās botāniskais nosaukums ir Triticum aestivum subsp. spelta. Tie ir heksaploīdi kvieši, kas nozīmē, ka tiem ir seši hromosomu komplekti.
Vēsture
Grieķu mitoloģijā plēkšņu kvieši (ζειά [zeiá] grieķu) bija dāvana grieķiem no dievietes Dēmetras. Senākās arheoloģiskās liecības par plēkšņu kviešiem ir no piektā gadu tūkstoša pirms mūsu ēras, Aizkaukāzā, Melnās jūras ziemeļaustrumos, lai gan visbagātīgākie un labāk dokumentētie arheoloģiskie pierādījumi par plēkšņu kviešiem atrodas Eiropā. Plēkšņu kvieši atrasti arī neolīta vietnēs (2500—1700 p.m.ē.) Centrālajā Eiropā. Bronzas laikmetā plēkšņu kvieši plaši izplatījās Viduseiropā. Dzelzs laikmetā (750—15 p.m.ē.) plēkšņu kvieši kļuva par galveno kviešu sugu Vācijas dienvidos un Šveicē, un no 500 g. p.m.ē. tos izmantoja arī Lielbritānijas dienvidos.
Atsauces
Labība
Kvieši
| 8,819
|
https://ar.wikipedia.org/wiki/%D8%A3%D9%86%D8%AA%D9%88%D9%86%D9%8A%20%D8%A8%D9%8A.%20%D8%A7%D9%83%D9%8A%D8%B1%D8%B2
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
أنتوني بي. اكيرز
|
https://ar.wikipedia.org/w/index.php?title=أنتوني بي. اكيرز&action=history
|
Arabic
|
Spoken
| 67
| 207
|
أنتوني بي. اكيرز هو سفير ومحامي أمريكي، ولد في 19 أكتوبر 1914 في شارلوت في الولايات المتحدة، وتوفي في 1 أبريل 1976 في فريتسفيل بيتش في الولايات المتحدة.
مراجع
أشخاص من مقاطعة أتاسكوسا (تكساس)
أفراد البحرية الأمريكية في الحرب العالمية الثانية
خريجو جامعة تكساس
خريجو كلية الحقوق بجامعة كولومبيا
دبلوماسيون أمريكيون في القرن 20
ديمقراطيون من ولاية نيويورك
سفراء الولايات المتحدة لدى نيوزيلندا
مواليد 1914
وفيات 1976
| 1,528
|
https://stackoverflow.com/questions/1715854
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,009
|
Stack Exchange
|
Jared Henderson, Pascal MARTIN, holck, https://stackoverflow.com/users/138475, https://stackoverflow.com/users/208770, https://stackoverflow.com/users/3428315, https://stackoverflow.com/users/3428316, https://stackoverflow.com/users/3428317, https://stackoverflow.com/users/3428392, stanguan, user3428315, user3428317
|
English
|
Spoken
| 483
| 892
|
How to return a regular expression match in PHP, instead of replacing
I'm trying to extract the first src attribute of an image in a block of HTML text like this:
Lorem ipsum <img src="http://example.com/img.jpg" />consequat.
I have no problem creating the regular expression to match the src attribute, but how do I return the first matched src attribute, instead of replacing it?
From pouring over the PHP manual, it seems like preg_filter() would do the trick, but I can't rely on end users having a PHP version greater than 5.3.
All the other PHP regular expression functions seem to be variations of preg_match(), returning a Boolean value, or preg_replace, which replaces the match with something. Is there a straightforward way to return a regular expression match in PHP?
You can use the third parameter of preg_match to know what was matched (it's an array, passed by reference):
int preg_match ( string $pattern ,
string $subject [, array &$matches [,
int $flags [, int $offset ]]] )
If matches is provided, then it is
filled with the results of search.
$matches[0] will contain the text that
matched the full pattern, $matches[1]
will have the text that matched the
first captured parenthesized
subpattern, and so on.
For instance, with this portion of code:
$str = 'Lorem ipsum dolor sit amet, adipisicing <img src="http://example.com/img.jpg" />consequat.';
$matches = array();
if (preg_match('#<img src="(.*?)" />#', $str, $matches)) {
var_dump($matches);
}
You'll get this output:
array
0 => string '<img src="http://example.com/img.jpg" />' (length=37)
1 => string 'http://example.com/img.jpg' (length=23)
(Note that my regex is overly simplistic -- and that regex are generally not "the right tool" when it comes to extracting data from some HTML string...)
excellent, thanks. btw, what is "the right tool" to extract data from an HTML string?
you're welcome :-) ;; that's a tricky question ^^ I you have a full HTML document, I kinda like the idea of using DOMDocument::loadHTML (see http://stackoverflow.com/questions/1274020/extract-form-fields-using-regex/1274074#1274074 for some thoughts I posted some time ago) -- but there are also other solutions
The "right tool" for parsing parsable HTML text is a DOM parser. I recommend DOMDocument with its powerful ally XPath.
By searching for the first img tag with a src attribute using evaluate() (instead of query()), you can directly call for the result as a string value using string() around the path.
This is more intuitive and reliable than regex. For regex to avoid quoting differences and exclude attributes like data-src, the patternneeda to grow (uglier).
Code: (Demo)
$dom = new DOMDocument;
$dom->loadHTML($str);
echo (new DOMXPath($dom))->evaluate('string(//img/@src)');
Result:
http://example.com/img.jpg
If you have a compelling reason to use regex and want to be able to differentiate between img tags with a src value, with an empty src value, and strings with no img or src, then preg_filter() is a direct tool which doesn't generate an array. See three examples in my Demo link.
var_export(
preg_filter('/.*?<img(?= ).*? src=([\'"])((?:(?!\1).)*)\1.*/ius', '$2', $str)
);
| 45,711
|
https://stackoverflow.com/questions/50151854
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,018
|
Stack Exchange
|
Eric Dahlvang, Johnathan Brown, https://stackoverflow.com/users/2136246, https://stackoverflow.com/users/86646
|
English
|
Spoken
| 362
| 710
|
Bot Framework Proactive Messages
I'm creating an event system where a chatbot can be used to trigger a job on an external system. Once the job has been received by the external system, it runs what it needs to run, and then notifies a queue held in azure that the job has been finished.
Next, I have a function app which looks at this queue. Once new information has been received (Contains an ID, ConversationReferenceObject and a job response), it notifies the bot via a ProactiveMessage:
var conversationReference = JsonConvert.DeserializeObject<ConversationReference>(subscription.ConversationReference);
MicrosoftAppCredentials.TrustServiceUrl(conversationReference.ServiceUrl);
var client = new ConnectorClient(new Uri(conversationReference.ServiceUrl), new MicrosoftAppCredentials(appId, appPassword));
var result = conversationReference.GetPostToBotMessage().CreateReply($@"[ProactiveMessage] Your job response: {response.data}");
client.Conversations.ReplyToActivity((Activity)result);
Now, rather than posting this reply to the bot activity I want the chatbot to intercept the [ProactiveMessage] and then only respond to the user if a dialog is not currently active - just generally managing the conversation flow correctly.
Now, I'm wondering if the client.Conversations has a different function where I can post to the chatbot rather then replying to the current conversation? I'm a bit stuck.
I'm not entirely clear what you are trying to do. Do you want to message the user, or the bot? Using the ConverasationReference object, you could load the state for that conversation inside the function and determine if the dialog stack has a dialog. If you want a new conversation, you would need to create that inside the function.
This is a snippet of code inside a function app. It responds back to the user, but I want to do some further checking before just spitting out the proactive message.
If you want to check the current dialog stack for the user who originally sent the message, you can use something like this:
var fromConversation = conversationReference.GetPostToBotMessage();
using (var scope = DialogModule.BeginLifetimeScope(Conversation.Container, fromConversation))
{
var botData = scope.Resolve<IBotData>();
await botData.LoadAsync(default(CancellationToken));
var stack = scope.Resolve<IDialogTask>();
if (stack.Frames != null && stack.Frames.Count > 0)
{
var lastFrame = stack.Frames[stack.Frames.Count - 1];
var frameValue = lastFrame.Target.GetType().GetFields()[0].GetValue(lastFrame.Target);
if (frameValue is NodeRootDialog) //<-- only reply if user is in NodeRootDialog
{
var reply = fromConversation.CreateReply("used converation reference to reply");
var connector = new ConnectorClient(new Uri(activity.ServiceUrl));
await connector.Conversations.ReplyToActivityAsync(reply);
}
}
}
| 4,634
|
https://zh-min-nan.wikipedia.org/wiki/Habibabad%20%28Hamadan%29
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Habibabad (Hamadan)
|
https://zh-min-nan.wikipedia.org/w/index.php?title=Habibabad (Hamadan)&action=history
|
Min Nan Chinese
|
Spoken
| 45
| 148
|
Habibabad (Pho-su-gí: ) sī chi̍t ê tī Iran Islam Kiōng-hô-kok Hamadan Séng Nahavand Kūn Khezel Koān Solgi Hiong ê chng-thâu. Tī 2006 nî phó͘-cha ê sî-chūn, chit-ê chng-thâu ū ê lâng tòa, chóng-kiōng ū hō͘ jîn-ke.
Chham-oa̍t
Iran ê chng-thâu
Chham-khó
Nahavand Kūn ê chng-thâu
| 14,322
|
https://de.wikipedia.org/wiki/Ernst%20Hirschberg
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Ernst Hirschberg
|
https://de.wikipedia.org/w/index.php?title=Ernst Hirschberg&action=history
|
German
|
Spoken
| 365
| 718
|
Ernst Eliaser Hirschberg (* 8. März 1859 in Königsberg; † 22. Juni 1906 in Berlin) war ein deutscher Statistiker. Hirschberg machte sich um die Erforschung sozialer Missstände im Kaiserreich verdient.
Leben
Hirschberg wurde am 8. März 1859 in Königsberg als Sohn des Kaufmanns Moritz Hirschberg und dessen Ehefrau Bertha geb. Theodor geboren und war jüdischen Glaubens. Er besuchte anschließend das Gymnasium in Königsberg und studierte anschließend an der dortigen Universität Kameralwissenschaften und Rechtswissenschaften. Am 13. Februar 1882 verteidigte er seine Inaugural-Dissertation mit dem Titel Der Arbeiter-Versicherungszwang mit besonderer Berücksichtigung der Unfallversicherung an der philosophischen Fakultät der Albertus-Universität Königsberg. Um das Jahr 1892 oder 1894 wurde er Direktionsassistent im Statistischen Amt der Stadt Berlin. 1898 bis 1906 war er Leiter des Statistischen Bureaus in Charlottenburg. Im Jahre 1902 wurde Ernst Hirschberg Vizedirektor und schließlich 1903 Direktor des Statistischen Amtes der Stadt Berlin.
Hirschberg verstarb am 22. Juni 1906 gegen 9:15 Uhr in seiner Wohnung in der Berliner Straße 80a in Charlottenburg. Die Berliner Volkszeitung vermeldete noch am 3. Mai selbigen Jahres, dass Dr. Hirschberg von seiner Krankheit genesen sei. Hirschberg wurde nach seinem Tod auf dem Luisen-Friedhof III in Charlottenburg beigesetzt (Abt. GI, Reihe 18, Nr. 5). Er war seit dem 15. November 1892 mit Margarete geb. Müller verheiratet. Sie bekamen 1897 in Charlottenburg die Tochter Berta Luise Gertrud Hirschberg.
Leistungen
1904 war Ernst Hirschberg Mitglied im Hauptausschuss des Deutschen Vereins für Armenpflege und Wohltätigkeit.
Werke
Der Arbeiter-Versicherungszwang mit besonderer Berücksichtigung der Unfallversicherung. Dissertation. 1882.
Die Selbsthilfe des Arbeiterstandes als Grundlage seiner Versicherung. 1883 und 1884.
Trennung der Alters- und Invalidenversicherung. 1889.
Die amtliche Statistik und die Arbeiterfrage im Deutschen Reich. 1892.
Beiträge zur Statistik der Brotpreise. 1893.
Die Maßnahmen gegenüber der Arbeitslosigkeit. 1894.
Die soziale Lage der arbeitenden Klassen in Berlin. 1897.
Arbeitslosenversicherung und Armenpflege. 1903.
Literatur
Biographisches Jahrbuch und deutscher Nekrolog. Band 11, 1906.
Salomon Wininger: Große jüdische National-Biographie. Band 3, 1928.
Eckhard Hansen, Florian Tennstedt (Hrsg.) u. a.: Biographisches Lexikon zur Geschichte der deutschen Sozialpolitik 1871 bis 1945. Band 1: Sozialpolitiker im Deutschen Kaiserreich 1871 bis 1918. Kassel University Press, Kassel 2010, ISBN 978-3-86219-038-6, S. 75 (Online, PDF; 2,2 MB).
Einzelnachweise
Statistiker (19. Jahrhundert)
Statistiker (20. Jahrhundert)
Deutscher
Geboren 1859
Gestorben 1906
Mann
| 16,439
|
https://he.wikipedia.org/wiki/%D7%90%D7%9C%20%D7%91%D7%90%D7%98%D7%90%D7%A8
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
אל באטאר
|
https://he.wikipedia.org/w/index.php?title=אל באטאר&action=history
|
Hebrew
|
Spoken
| 94
| 330
|
אל באטאר (בערבית: البتار) הוא משגר רקטות נגד טנקים שפותח על ידי גדודי עז א-דין אל-קסאם, הזרוע הצבאית של החמאס במהלך האינתיפאדה השנייה. לפי הדיווחים, הנשק נוצר ויוצר בבתי מלאכה חשאיים ברצועת עזה בניצוחו של עדנאן אל-גול עד לחיסולו על ידי ישראל. הוא שימש לשיגור רקטות פלסטיניות לעבר ישראל.
אל באטאר מורכב מצינור שיגור פשוט הנתמך בחצובה ויורה טיל בעל יכולות נ"ט. חלקה האחורי של הרקטה מחובר לחוט, המאפשר לחמושי חמאס לירות את הרקטה ממרחק בטוח.
עם זאת, אל-בטאר הוכח כלא יעיל נגד שריון ישראלי.
הערות שוליים
הרשות הפלסטינית: המצאות
חמאס
רקטות נגד טנקים
| 24,417
|
https://en.wikipedia.org/wiki/Alexander%20Gibson%20%28politician%29
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Alexander Gibson (politician)
|
https://en.wikipedia.org/w/index.php?title=Alexander Gibson (politician)&action=history
|
English
|
Spoken
| 155
| 202
|
Alexander Gibson, Jr. (December 15, 1852 – April 19, 1920) was a businessman and political figure in New Brunswick, Canada. He represented York County in the Legislative Assembly of New Brunswick from 1899 to 1900 as a Liberal and represented York in the House of Commons of Canada from 1900 to 1904 as a Liberal member.
He was born in Fredericton, New Brunswick, the son of Alexander Gibson and Mary Ann Robinson. He resigned his seat in the provincial assembly to run for a federal seat in 1900. Gibson was unsuccessful in a bid for reelection to the federal parliament in 1904, and again in 1907. He served as mayor of Marysville, a town founded by his father and now part of Fredericton.
References
1852 births
1920 deaths
Liberal Party of Canada MPs
Members of the House of Commons of Canada from New Brunswick
Mayors of places in New Brunswick
New Brunswick Liberal Association MLAs
| 42,947
|
https://nl.wikipedia.org/wiki/UNSMIH
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
UNSMIH
|
https://nl.wikipedia.org/w/index.php?title=UNSMIH&action=history
|
Dutch
|
Spoken
| 190
| 371
|
De United Nations Support Mission in Haiti (UNSMIH), of Ondersteunende VN-missie in Haïti in het Nederlands, was een vredesoperatie onder bevel van de Verenigde Naties. De operatie was gebaseerd op VN-resolutie 1063 van 28 juni 1996. De operatie volgde op UNMIH, de "United Nations Mission in Haiti" uit 1993. Daarna volgden nog de UNTMIH, de "United Nations Temporary Support Mission in Haiti", MIPONUH, de "United Nations Civilian Police Mission in Haiti en MICAH, de "International Civilian Support Mission in Haiti".
Medaille
Ook Nederlanders werden gedecoreerd met de Medaille voor Vredesmissies van de Verenigde Naties aan het voor UNMIH, UNSMIH, UNMIH, UNTMIH en MIPONUH vastgestelde blauwe lint met in het midden de kleuren van de vlag van Haïti.
De bronzen medailles zijn bij alle Medailles voor Vredesmissies van de Verenigde Naties gelijk. Men stelt bij iedere vredesmissie een ander lint in waaraan de ronde medaille op de linkerborst wordt gedragen. Het lint heeft in de meeste gevallen, en ook hier, betrekking op de kleuren van het land waar de vredesmissie wordt uitgevoerd.
Externe link
UNMIH op un.org
Vredesoperatie van de Verenigde Naties
Geschiedenis van Haïti
1990-1999
Onderscheiding van de Verenigde Naties
| 33,546
|
https://stackoverflow.com/questions/49328867
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,018
|
Stack Exchange
|
Joe, Tom, https://stackoverflow.com/users/1623007, https://stackoverflow.com/users/4965549, https://stackoverflow.com/users/6389268, https://stackoverflow.com/users/7940856, https://stackoverflow.com/users/8880079, momo1644, pinegulf, zakito
|
English
|
Spoken
| 312
| 470
|
sas time format dates
I want to analyze a time series data in SAS. I have a data set in excel that I'm importing into SAS University Edition, which is very easy to do. The time variable is 5-minute increments from 6:00 to 8:55 for each day of the week.
When I ran timeseries, I get the error: “ERROR: The data set WORK.DATA is not sorted by the ID variable. At observation number 37, time=6:00:00, but time=8:55:00 for the previous observation.”.
My understanding is that the TIME variable is not unique to each observation. My question is how to make the time variable unique for all cases.
The link to the data is below if someone wants to play with it:
https://drive.google.com/file/d/18SY7stsXS0CztWda2KavZXCwaMQA5yzG/view?usp=sharing
Sounds like the error message is saying that 6AM is before 8:55AM. Which makes sense. What do you want to do about it? Does that represent the start of a new day? a new subject?
Have you sorted the data by the ID variable and time value yet?
I got website sent back unusual and incorrect credentials. Please consider pasting code and a sample of the data.
You need to convert you time to datetime so that each row is unique, hence the datetime will be your ID and sort by ID.
In your data, your date is just the day of the week (ex. Mon). You can either:
Add the Date, then concatenate date and time to get the datetime; you can use the sas DHMS() function for this,
Add the Datetime directly in your data.
Thank you all for the swift responses. I ended up getting the dates for the days (m-f) in the yymmdd format and then concatenated it. i then applied the datetime format, sorted and ran the time series. Thank you all.
You are welcome. Please up Vote or accept my answer if it helped.
| 40,747
|
https://war.wikipedia.org/wiki/Mycosphaerella%20walkeri
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Mycosphaerella walkeri
|
https://war.wikipedia.org/w/index.php?title=Mycosphaerella walkeri&action=history
|
Waray
|
Spoken
| 47
| 99
|
An Mycosphaerella walkeri in uska species han Fungi in nahilalakip ha divisio nga Ascomycota, ngan nga ginhulagway ni <![cdata[r.F. Park, P.J. Keane ngan > hadton 1984. An Mycosphaerella walkeri in nahilalakip ha genus nga Mycosphaerella, ngan familia nga Mycosphaerellaceae. Waray hini subspecies nga nakalista.
Mga kasarigan
Mycosphaerella
| 31,675
|
https://stackoverflow.com/questions/56740811
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,019
|
Stack Exchange
|
English
|
Spoken
| 763
| 1,736
|
File is auto created, the script should auto rename and move it, but they don't move
long time listener, first time caller,
I have a need to create a Powershell script (ver 2 or lower) that:
-continually monitors one specific directory for new/changed files
-logs the file that was created with a date/time stamp in a log file that's:
--created on a daily basis with the name of "log Date/Time.txt"
-renames the file, appending the date/time
-logs that it renamed it
-maps a drive with a specific username/password combo
-moves it from dirA to dirB (the mapped drive is dirB)
-logs that it moved it
-unmaps the drive
-if for whatever reason it stopped running and we start it back up, it'll rename, maps the drive, move, unmap the drive, and log all files in dirA to dirB
In it's current form, I've stripped the Mapping of the dir out to troubleshoot it moving the file on a local drive just to keep from troubleshooting a network drive.
I've been staring at this for over a week and am tired of hitting my head against the desk. Can someone PLEASE put me out of my misery and let me know what I've done wrong?
THANK YOU in advance!
I've honestly tried SO many combos, different routines, I don't even know what to put here.
In the box below, I've put the main part of the script that isn't working correctly It renames the files as they come in, but doesn't move them.
$rename = $_.Name.Split(".")[0] + "_" + ($_.CreationTime | Get-Date -Format MM.dd.yyy) + "_" + ($_.CreationTime | Get-Date -Format hh.mm.ss) + ".log"
Write-Output "File: '$name' exists at: $source - renaming existing file first" >> $scriptlog
Rename-Item $_ -NewName $rename
Wait-Event -Timeout 3
Move-Item "$_($_.Directory)$name" -destination $destination
Write-Output "File: '$name' moved to $destination on $date" >> $scriptlog
Whole code available below:
#Log Rename/Move script
$userName = "copyuser"
$newpass = Read-Host -Prompt 'Type the new Password'
$password = ConvertTo-SecureString -String $newpass -AsPlainText -Force
$PathToMonitor = "C:\Users\Administrator\Desktop\FolderA"
$destination = "C:\Users\Administrator\Desktop\FolderB"
$scriptlog = "C:\Users\Administrator\Desktop\ScriptLogs\" + [datetime]::Today.ToString('MM-dd-yyy') + "_TransferLog.txt"
$FileSystemWatcher = New-Object System.IO.FileSystemWatcher
$FileSystemWatcher.Path = $PathToMonitor
$FileSystemWatcher.IncludeSubdirectories = $false
$FileSystemWatcher.EnableRaisingEvents = $true
$dateTime = [datetime]::Today.ToString('MM-dd-yyy') + " " + [datetime]::Now.ToString('HH:mm:ss')
Write-Output "*******************************************************************************************" >> $scriptLog
Write-Output "*********************Starting Log Move Script $dateTime**********************" >> $scriptLog
Write-Output "*******************************************************************************************" >> $scriptLog
$Action = {
$details = $event.SourceEventArgs
$Name = $details.Name
$FullPath = $details.FullPath
$OldFullPath = $details.OldFullPath
$OldName = $details.OldName
$ChangeType = $details.ChangeType
$Timestamp = $event.TimeGenerated
$text = "{0} was {1} at {2}" -f $FullPath, $ChangeType, $Timestamp
Write-Output "" >> $scriptlog
Write-Output $text >> $scriptlog
switch ($ChangeType)
{
'Changed' { "CHANGE"
Get-ChildItem -path $FullPath -Include *.log | % {
$rename = $_.Name.Split(".")[0] + "_" + ($_.CreationTime | Get-Date -Format MM.dd.yyy) + "_" + ($_.CreationTime | Get-Date -Format hh.mm.ss) + ".log"
Write-Output "File: '$name' exists at: $source - renaming existing file first" >> $scriptlog
Rename-Item $_ -NewName $rename
Wait-Event -Timeout 3
Move-Item "$_($_.Directory)$name" -destination $destination
Write-Output "File: '$name' moved to $destination on $date" >> $scriptlog
}
}
'Created' { "CREATED"
Get-ChildItem -path $FullPath -Include *.log | % {
$rename = $_.Name.Split(".")[0] + "_" + ($_.CreationTime | Get-Date -Format MM.dd.yyy) + "_" + ($_.CreationTime | Get-Date -Format hh.mm.ss) + ".log"
Write-Output "File: '$name' exists at: $source - renaming existing file first" >> $scriptlog
Rename-Item $_ -NewName $rename
Wait-Event -Timeout 3
Move-Item "$($_.Directory)$rename" -Destination $destination
Write-Output "File: '$name' moved to $destination on $date" >> $scriptlog
}
}
'Deleted' { "DELETED"
}
'Renamed' {
}
default { Write-Output $_ >> $scriptlog}
}
}
$handlers = . {
Register-ObjectEvent -InputObject $FileSystemWatcher -EventName Changed -Action $Action -SourceIdentifier FSChange
Register-ObjectEvent -InputObject $FileSystemWatcher -EventName Created -Action $Action -SourceIdentifier FSCreate
}
Write-Output "Watching for changes to $PathToMonitor" >> $scriptlog
try
{
do
{
Wait-Event -Timeout 1
Write-host "." -NoNewline
} while ($true)
}
finally
{
# EndScript
Unregister-Event -SourceIdentifier FSChange
Unregister-Event -SourceIdentifier FSCreate
$handlers | Remove-Job
$FileSystemWatcher.EnableRaisingEvents = $false
$FileSystemWatcher.Dispose()
write-output "Event Handler disabled." >> $scriptlog
}
Well, I found my issue. A dumb issue if I look at it and think about it. It was how I was calling the current directory containing the file(s) to move after being renamed.
Move-Item "$_($_.Directory)$name" -destination $destination
The issue in the above code is the "$($.Directory). It needs to be:
Move-Item -path $PathToMonitor$name -destination $destination
Other things may work, and may be better, but at least that fixes the moving after naming issue I was having.
Now onto adding the Mapping Drive and other stuff that's needed to fully finish what I need.
If I think about it, I'll post my entire code when done for anyone else it can help in the future.
| 18,447
|
|
https://fa.wikipedia.org/wiki/%D9%86%D9%88%D8%B1%DA%A9%D8%8C%20%D8%A7%DB%8C%D8%B1%D9%88%D8%A7%D9%86
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
نورک، ایروان
|
https://fa.wikipedia.org/w/index.php?title=نورک، ایروان&action=history
|
Persian
|
Spoken
| 39
| 133
|
نورک (به ارمنی: Նորք) یک منطقه مسکونی در ارمنستان است که در ایروان واقع شدهاست.
جستارهای وابسته
فهرست شهرداریهای ارمنستان
منابع
پیوند به بیرون
مناطق مسکونی در ایروان
مقالههای که ابهامزدایی آنها بهاشتباه بهجای پرانتز با کاما صورت گرفته
| 10,125
|
https://stackoverflow.com/questions/15886841
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,013
|
Stack Exchange
|
English
|
Spoken
| 251
| 499
|
Ember, working with a model
I'm confused about how to set up retrieve information from my (dynamic) model in Ember.js
Here is my model (works so far):
App.Router.map(function() {
this.resource('calendar', { path: '/calendar/:currentMonth'});
});
App.CalendarRoute = Ember.Route.extend({
model: function (params) {
var obj = {
daysList: calendar.getDaysInMonth("2013", params.currentMonth),
currentMonth: params.currentMonth
};
return obj;
}
});
I just want to get back the 'currentMonth' attribute:
App.CalendarController = Ember.Controller.extend({
next: function() {
console.log(this.get('currentMonth'));
}
});
But I am getting an "undefined" error.
Do I have to explicitly declare my model (Ember.model.extend()) in order to get and set values?
There are some conventions that you might not be aware of in regards to setting a Model into a Controller.
In a Route, model can be any object or collection of objects you define. There is a huge deal of conventions that apply and for most cases, you don't have to specify anything as it uses the names of various objects to guide itself on building the query and a set the content of your controller, however, in your particular code, you are return obj as the model.
Ember provides a hook called setupController that will set this object into your controller's content property. Example:
App.CalendarRoute = Ember.Route.extend({
model: function (params) {
var obj = {
daysList: calendar.getDaysInMonth("2013", params.currentMonth),
currentMonth: params.currentMonth
};
return obj;
},
setupController: function(controller, model) {
// model in this case, should be the instance of your "obj" from "model" above
controller.set('content', model);
}
});
With that said, you should try console.log(this.get('content.currentMonth'));
| 34,592
|
|
https://stackoverflow.com/questions/18367628
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,013
|
Stack Exchange
|
Aisha, Jiminion, Martijn Pieters, Peter DeGlopper, https://stackoverflow.com/users/100297, https://stackoverflow.com/users/1143679, https://stackoverflow.com/users/2337736, https://stackoverflow.com/users/2581969, https://stackoverflow.com/users/2587816, https://stackoverflow.com/users/2705161, legrandviking, roippi
|
Estonian
|
Spoken
| 420
| 1,394
|
creating list from separated lines
I've got data that look like this:
-HI5UHB101EPGLJ rank=0000024 x=1813.0 y=437.0 length=81
ACGTAGATCGTGTAGCTGAGGATGTTGACAACCATGTGGACAGAGCCTCACCATCAACAT
CCTCAGCTACACGATCTGCGT
-HI5UHB101BDVPE rank=0000032 x=451.5 y=48.0 length=73
ACGTAGATCGTCTTGAGTGATTACAGATCTAATACAATGTGCAGTCTAGCTAGATGTTAT
TCTATATATATAC
-HI5UHB101AL8KC rank=0000049 x=136.0 y=586.0 length=58
ACGTAGATCGTCTCGGCTAGTAGACGAGCCATCGTCTACTAGCCGAGACGATCTGCGT
How do I make it into a csv sheet that looks like this:
'HI5UHB101EPGLJ', 'rank=0000024', 'x=1813.0', 'y=437.0', 'length=81','ACGTAGATCGTGTAGCTGAGGATGTTGACAACCATGTGGACAGAGCCTCACCATCAACATCCTCAGCTACACGATCTGCGT'
'HI5UHB101BDVPE', 'rank=0000032', 'x=451.5', 'y=48.0', 'length=73', 'ACGTAGATCGTCTTGAGTGATTACAGATCTAATACAATGTGCAGTCTAGCTAGATGTTATTCTATATATATAC'
'HI5UHB101AL8KC', 'rank=0000049', 'x=136.0', 'y=586.0', 'length=58', 'ACGTAGATCGTCTCGGCTAGTAGACGAGCCATCGTCTACTAGCCGAGACGATCTGCGT'
My main problem is that there is a new line character (\n) after the "length" and then the letter sequences themselves have new lines (\n) between them when I need them joined.
The letter sequences come in different lengths, which results in a variable number of sequence lines.
Any help would be appreciated. This will be run on a HUGE file.
json seems a more natural format to serialize to, no?
@roippi: why's that? CSV is perfectly servicable.
You might find the Biopython libraries useful, in particular SeqIO: http://biopython.org/wiki/SeqIO I don't immediately recognize your format, but if it's a standard one there might well be tools in that library to read it.
Please provide sample code!
@MartijnPieters his attributes are named already, shrug. If he needs to manipulate the serialized data in the future he's making more work for himself by going with csv. Nothing 'wrong' with it past that.
Use a generator function to detect new entries by the starting -:
def per_section(iterable):
row = []
for line in iterable:
if line.startswith('-'):
if row:
yield row
row = line[1:].split() + ['']
else:
row[-1] += line.strip()
if row:
yield row
This yields complete recombined sections, ready to write to a CSV.
with open(inputfile) as infile, open(outputfile, 'wb') as outfile:
csvwriter = csv.writer(outfile)
csvwriter.writerows(per_section(infile))
For your sample input, that produces:
HI5UHB101EPGLJ,rank=0000024,x=1813.0,y=437.0,length=81,ACGTAGATCGTGTAGCTGAGGATGTTGACAACCATGTGGACAGAGCCTCACCATCAACATCCTCAGCTACACGATCTGCGT
HI5UHB101BDVPE,rank=0000032,x=451.5,y=48.0,length=73,ACGTAGATCGTCTTGAGTGATTACAGATCTAATACAATGTGCAGTCTAGCTAGATGTTATTCTATATATATAC
HI5UHB101AL8KC,rank=0000049,x=136.0,y=586.0,length=58,ACGTAGATCGTCTCGGCTAGTAGACGAGCCATCGTCTACTAGCCGAGACGATCTGCGT
You need single quotes around the items, and perhaps spaces after the commas.
@Jim: that's just CSV output adjusting, see the csv module documentation.
You have no idea how much you've made my life better! Thank you!
Something like this should work...
f= open("data.txt")
fo = open("done.txt","w")
line = f.readline()
while(len(line) > 0):
#print line
if (line[0] == '-'):
label, rank, xval, yval, lenval = line.split(" ")
lenval = lenval.strip('\n')
#print label,rank, xval,yval,lenval
line2 = f.readline()
code = line2
line2 = f.readline()
while( len(line2.strip()) > 0):
code = code+line2.strip()
line2 = f.readline()
#print code
lineout = "'"+label[1:]+"', '"+rank+"', '"+xval+","+yval+"', '"+lenval+"', "
lineout = lineout+"'"+code+"'\n"
fo.write(lineout)
line = f.readline()
f.close()
fo.close()
I thought you wanted second line for code. OP exercise to combine code line with other properties..... :)
Fixed to reflect single line output per record.
| 9,530
|
https://stackoverflow.com/questions/10476522
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,012
|
Stack Exchange
|
English
|
Spoken
| 219
| 290
|
coredata setFetchBatchSize
I am wondering why setFetchBatchSize is used when fetching data from a coredata db is used and what the benefits of it are. I am currently just dropping a NSData blob into my coredata db, so I'm wondering if its applicable to me or if its used for nsarrays or something along those lines.
I have read what it says in apple docs but its not alot to go on.
The batch size of the receiver. A batch size of 0 is treated as
infinite, which disables the batch faulting behavior.
dosn't help alot.. Currently I have disabled setFetchBatchSize and everything seems to still be working however I am wondering if I can benefit from it if I enable it.
If you have many records in your table (entity) and your fetch is set up to retrieve many records from this table, faulting is a method by which your app can preserve memory. Rather than retrieving all of these records and loading them into memory all at the same time, your fetchBatchSize will limit the number of records retrieved to that limit, and will fault the remaining records -- they will only be fetched when they are needed. If you set the fetchBatchSize this faulting will be handled for you automatically.
Hope this clarifies things a bit.
| 535
|
|
https://es.stackoverflow.com/questions/453176
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,021
|
Stack Exchange
|
Jos, https://es.stackoverflow.com/users/156327, https://es.stackoverflow.com/users/228948, padaleiana
|
Spanish
|
Spoken
| 481
| 1,518
|
¿Como validar correctamente un email con expresiones regulares?
muy buenas estoy realizando un formulario con validaciones de expresión regular el problema que tengo es que cuando quiero validar el campo email me parecen esta serie de fallos.
Los mensajes de los fallos que aparecen en el recuadro son estos en cuestion:
Uncaught TypeError: campo is null
validaCampos file:///f:/javascript recuperacion/ejercicioformular/js.js:92
validador file:///f:/javascript recuperacion/ejercicio formulario/js.js:36
file:///f:/javascript recuperacion/ejercicio formulario/js.js:3
onload file:///f:/javascript recuperacion/ejercicio formulario/js.js:3
EventHandlerNonNull* file:///f:/javascript recuperacion/ejercicio formulario/js.js:2
Lo que tiene que hacer el formulario en cuestión es validar los datos para poder darme la opción de enviarlo. Si elimino el campo email y valido solo los otros 4 si me deja enviarlo por lo que el error solo se encuentra en ese campo, aunque por si acaso voy a pasar el código entero ya que como bien se ve en la imagen marca varios errores en diferentes lineas de código.
window.onload = function(){
document.getElementById('btnValidar').onclick = function(){validador()};
}
var arrayFallos =[];
var xmlhttp = new XMLHttpRequest();
function validador(){
arrayFallos = []
var campoNombre = document.getElementById('nombre');
var expNombre = new RegExp('^[A-Z]{1}[A-Za-z áéúíó ñ]{2,14}$');//nombre que comprueba las vocales , que emppiece por mayuscula y que vaya de 2 a 14 caracteres
validaCampos(expNombre,campoNombre);
var campoEdad = document.getElementById('edad');
var expEdad = new RegExp('^([1][8-9]|[2-5][0-9]|[6][0-5])$');//va desde los 18 hasta los 65
validaCampos(expEdad, campoEdad);
var campoDNI = document.getElementById('DNI');
var expDNI = new RegExp('^[0-9]{8}[A-Z]{1}$');//valida un DNI español
validaCampos(expDNI,campoDNI);
var campotlf = document.getElementById('tlf');
var exptlf = new RegExp('^[679]{1}[0-9]{8}$');//valida numeros de telefono movil
validaCampos(exptlf,campotlf);
var campoemail = document.getElementById('email');
var expemail = new RegExp('^(.+)@(\\S+)$');
validaCampos(expemail,campoemail);
console.log("Array fallos en el siguiente log");
console.log(arrayFallos);
if(arrayFallos.length==0){
alert("Formulario completo puede enviar");
document.getElementById("Enviar").disabled=false;
document.getElementById("Enviar").type='submit';
}else{
var fallos = "";
for(var i=0;i<arrayFallos.length;i++){
fallos += arrayFallos[i].name+"\n";
}
arrayFallos[0].focus();
alert("Los campos: \n"+fallos+"\nNo cumplen los requisitos");
}
function validaCampos(expresion, campo){
var idcampo = campo.id
if(expresion.test(campo.value)){
console.log("Si "+campo , idcampo);
return true;
}else{
console.log("NO "+campo, idcampo, campo.value);
arrayFallos.push(campo);
switch(idcampo){
case 'nombre':
window.alert("Error en el campo "+idcampo+" : \n\n. valor no valido");
break;
case 'edad':
window.alert("Error en el campo "+idcampo+" : \n\n valor no valido");
break;
case 'DNI':
window.alert("Error en el campo "+idcampo+" : \n\n valor no valido");
break;
case 'tlf':
window.alert("Error en el campo "+idcampo+" \n\n valor no valido");
break;
case 'email':
window.alert("Error en el campo "+idcampo+" \n\n valor no valido");
break;
}
return false;
}
}
}
La "serie de fallos" que mencionas son prácticamente ilegibles: ponlas como texto, con formato. Lee [ask].
@padaleiana tienes razón ya los he añadido en la pregunta para que se vea mejor el error
Para validar los correos yo siempre he usado la expresión regular:
[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)*@[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)*[.][a-zA-Z]{2,5}
Nunca me ha dado problemas.
Un saludo!
no es recomendable hacer esta validación en JavaScript, igualmente una validación básica podría ser
var expDNI = new RegExp('^[^@]+@[^@]+\.[a-zA-Z]{2,}$');
Aunque depende la complejidad con la que quieras validar el correo, dejo una web que puede ayudarte según la validación que quieras realizar.
http://w3.unpocodetodo.info/utiles/regex-ejemplos.php?type=email
Gracias por el consejo aunque me temo que el resultado no ha cambiado
| 26,618
|
https://ceb.wikipedia.org/wiki/Puketautahi%20%28bungtod%29
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Puketautahi (bungtod)
|
https://ceb.wikipedia.org/w/index.php?title=Puketautahi (bungtod)&action=history
|
Cebuano
|
Spoken
| 175
| 305
|
Alang sa ubang mga dapit sa mao gihapon nga ngalan, tan-awa ang Puketautahi.
Bungtod ang Puketautahi sa Nuzeland. Nahimutang ni sa distrito sa Hastings District ug rehiyon sa Hawke's Bay, sa amihanan-sidlakang bahin sa nasod, km sa amihanan-sidlakan sa Wellington ang ulohan sa nasod. metros ibabaw sa dagat kahaboga ang nahimutangan sa Puketautahi.
Ang yuta palibot sa Puketautahi patag sa habagatan, apan sa amihanan nga kini mao ang kabungtoran. Dunay mga ka tawo kada kilometro kwadrado sa palibot sa Puketautahi may kaayo gamay nga populasyon. Ang kinadul-ang mas dakong lungsod mao ang Taradale, km sa sidlakan sa Puketautahi. Hapit nalukop sa kaumahan ang palibot sa Puketautahi.
Ang klima baybayon. Ang kasarangang giiniton °C. Ang kinainitan nga bulan Enero, sa °C, ug ang kinabugnawan Hulyo, sa °C. Ang kasarangang pag-ulan milimetro matag tuig. Ang kinabasaan nga bulan Agosto, sa milimetro nga ulan, ug ang kinaugahan Enero, sa milimetro.
Saysay
Ang mga gi basihan niini
Mga bungtod sa Hawke's Bay
Kabukiran sa Nuzeland nga mas taas kay sa 200 metros ibabaw sa dagat nga lebel
sv:Puketautahi (kulle)
| 45,265
|
https://sr.wikipedia.org/wiki/%D0%A2%D1%80%D0%BF%D0%B5%D0%B7%D0%B0%D1%80%D0%B8%D1%98%D0%B0
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Трпезарија
|
https://sr.wikipedia.org/w/index.php?title=Трпезарија&action=history
|
Serbian
|
Spoken
| 2,467
| 7,062
|
Трпезарија је просторија у којој се обедује, посебно она у којој се једу главни или формалнији оброци. Може се односити на просторију у кући, односно стану, у којој се обедује или на просторију у хотелу у којој се сервирају оброци.
Осим на просторију, појам се у неформалном говору може односити и на намештај намењен опремању те просторије, а који се обично користи у трпезарији и понекад продаје као одговарајући комплет - трпезаријски сто, столице и комода (креденац).
Етимологија
Реч трпезарија води порекло од грчке речи трапезион (τράπεζιoν) - сто на којем се сервира храна. Трпезарија означава просторију у којој је смештен такав сто, односно у којој се једе.
Занимљиво је да исти корен има и reč трапез. Долази од латинске речи трапезиум (trapezium) – латинске форме грчке речи трапезион. У Еуклидовим Елементима овим термином означавани су сви четвороуглови осим квадрата, ромба и правоугаонка, а такође и зарубљена пирамида.
Историја
Трпезарија, просторија у кући која подстиче опуштање, дружење, и уживање у храни је релативно нова идеја. Када су људи напустили природна склоништа и почели да граде своја станишта, у њима је постојала само једна просторија за све намене - спавање, припрему хране и јело. Према многим историчарима, идеја о посебној просторији која служи само за обедовање родила се у Старој Грчкој. Вековима је оваква просторија у кући била луксуз који су себи могли приуштити само имућни чланови друштва.
Стари век
Стари Грци су међу првима препознали да обедовање у интими и удобности ојачава статус и класну повезаност. Водећи мушкарци најмоћнијих полиса окупљали су се на богатим вечерима у просторијама посебно дизајнираним за гозбу. У тим просторијама налазило се не више од једанаест лежајева од камена или дрвета, на којима се могло сместити највише два мушкарца. Млади су седели на земљи. Млади и стари пили су разблажено вино (беванду), јели медењаке и кестење и водили филозофске расправе.
Римљани обедовали су у сличној засебној просторији, која се звала триклинијум (triclinium). Ни они, као ни Стари Грци, нису јели седећи већ лежећи, а лежајеви су били нешто другачији, како би се прилагодили женама и мушкарцима, јер су и жене могле да присуствују овим друштвеним догађајима. Локацију просторије у кући одређивали су годишње доба и каприц домаћина. Током врелог медитеранског лета биране су оне у које је продирао поветарац, док су зими коришћене просторије заклоњене од промаје. Неке су биране тако да се из њих пружа поглед на море или на околни пејзаж. Стари Римљани су понекад постављали своје трпезе и напољу. Најлуксузнији трпезаријски простори истовремено су били удобни и задивљујући. У једном триклинијуму у Помпеји налазиле су се фонтане из којих је вода прскала чак и са столова. Гости извесног Лориуса Тибуртинуса (Loreius Tiburtinus) могли су бирати разноврсне ђаконије из великих базена у просторијама осликаним фрескама јарких боја са митолошким темама.
Средњи век
За разлику од оних у старом веку, средњовековне трпезарије биле су скромно уређене, неудобне и препуне намештаја, иако су гозбе биле богате. Једини украс биле су богато украшене таписерије.
Удобност трпезарије је расла са процватом трговине, односно успоном средње класе, а упоредо су се мењали и појмови дома и огњишта. Од средине 14. до средине 16. века људи су почели да једу и живе боље захваљујући развоју тржишне економије. Чак су и плате радничке класе порасле. Салони, „трпезаријске коморе” и друге просторије погодни за обедовање почели су да се појављују и у архитектонским плановима. Велики ренесансни архитекта Леон Батиста Алберти написао је да трпезарија треба да буде смештена тако да се у њу улази из средишта куће, саветујући даље да би „требало да постоји једна трпезарија за лето, једна за зиму и једна за средња годишња доба”. Два века касније Енглез Вилијам Сандерсон препоручивао је да се у трпезарији окаче слике краљева и краљица.
Савремено доба
Са већим платама дошла је и повећана потрошња робе, а тиме и намјештаја и прибора за припрему хране. Временом се развила култура становања карактеристична за новонастале услове. Једна од карактеристика ове културе - трпезарија, нудила је место на којем ће чланови породице дискретно моћи да уживају у свакодневном дружењу, па је уређивана тако да одаје пријатну и удобну атмосферу. У неким срединама уређење трпезарије довођено је до невероватних крајности. У Викторијанском периоду (19. век) у Уједињеном краљевству ово су биле раскошне просторије, опремљене тапацираним столицама, комодама од махагонија, посуђем од калаја, кинеским порцеланом, ланеним салветама и столњацима и сребрним прибором за јело. Архитектонски водичи и каталози кухињског прибора били су дебели попут телефонских именика. Оброци су за Викторијанце били су догађај, и они су за ове прилике обезбеђивали онолико удобно окружење колико су могли да приуште.
Ова пракса преселила се и у Сједињене Америчке Државе, па су припадници средње класе подизали кредит да би својој породици приуштили раскошну трпезарију, јер је, између осталог, ова просторија представљала разлику између њих и сиромашних слојева - постала је статусни симбол. Крајем 19. века многе грађанске куће имале су две просторије за обедовање. Једну поред кухиње, за неформалне породичне оброке и другу за свечане јавне догађаје. Ова друга, елегантнија просторија приказивала је укус и статус породице. Била је опремљена плинским лустерима, тешким таписеријама, столовима и столицама од црног ораха или неког другог скупог дрвета. На бочним сточићима било је изложено на десетине предмета од порцелана, сребра и стакла. Средину столова красили су украси у облику ружа од сребра или стакла. Са плафона су висиле бројне папрати, а палме су расле у позлаћеним жардињерама. Компликовани цветни аранжмани красили су стратешке тачке просторије, а лампе или сребрни свећњаци опремљена воштаним свећама и обојеним сенилима осветљавали су цео призор.
Па ипак, намештај није био довољан да се средња класа дистанцира од најнижих слојева. Угледни припадници буржоазије морали су гајити и добре манире. Зато су оброци постали друштвени догађаји са сопственим правилима која су одређивала строго одређено време оброка, понашање за столом, прибор за јело и сл. Међутим, развој савременог друштва у другој половини 19. приморао је радничку класу, а у мањој мери и домаћинства средње класе да прилагоде свој живот радном времену. У претходним деценијама супруге и мајке су дочекивале своје породице на оброк око подне, током паузе. Деца су журила кући из школе, очеви с посла. Крајем 19. века ова традиција породичног окупљања око ручка је у великој мери нестала. Породице су свој главни оброк померале на вечерње сате, а отац породице је често зарађени хлеб могао да подели са породицом само недељом.
20. век
Доласком 20. века трпезарију је, као главну просторију за обедовање, заменила кухиња, јер је запосленим члановима породице обедовање у кухињи нудило веће погодности. У то време многе породице почињу више да брину о индивидуалном здрављу и продуктивности него о викторијанском моралу и манирима. Према речима историчара Харвија Грина (Harvey Green), „Напредни идеал ефикасности и новодобијена посвећеност средње класе и елите очувању здравља и кондиције, помогли су промени старих схватања о изгледу и функцији куће. Кухиња и купатило постали су жаришта савета и критика, заменивши концентрацију претходне ере на салон и трпезарију.“ У тренду је била здрава храна и дијетална исхрана, богата житарицама и воћем које су замениле висококалоричне пудинге и масну храну. Од тада до сада мало шта се променило.
У савременим архитектонским решењима трпезарија је често део кухиње или дневне собе, јединствена целина или одвојена параваном, шанком, делом намештаја или неком сличном преградом која дефинише простор. Код малих станова простор трпезарије се може визуелно дефинисати и постављањем тепиха или неке друге подне облоге, на средини које ће се поставити трпезаријски сто. У оваквим случајевима трпезаријски намештај би требало стилски ускладити са осталим намештајем у просторији.
Архитектонски нормативи
Према нормативима за стамбене зграде и станове у Србији, минимална прописана ширина трпезарије треба да буде 2,2 м. Такође није дозвољена директна веза купатила, односно тоалета са дневном собом и трпезаријом. Гарсоњера и једнособан стан немају издвојену просторију за обедовање, док је за једноипособне и веће она обавезна.
Уређење трпезарије
У савременом дому трпезарија није само место за обедовање, већ и простор за окупљање породице и пријатеља и свакодневне активности, од израде домаћих задатака до игре и забаве. Ова просторија поново постаје центар породичног окупљања.
Најважнији елемент у осмишљавању простора трпезарије је избор места за трпезаријски сто. Овај комад намештаја има највећи утицај на функционалност и удобност просторије у којој се обедује.
Основни трпезаријски намештај представљају трпезаријски сто и столице. Ако је простор већи може се допунити и ормарима и витринама за смештај чаша, прибора за јело и разних украса. Простор трпезарије може се оплеменити и низом различитих детаља, какви су: тепих, огледало, декоративно осветљење, цвеђе у вазама или саксијама, завесе и слично.
Трпезаријски сто
Трпезаријски сто је један од најважнијих елемената и често дефинише стил трпезарије. Први и основни критеријум по коме се бира трпезаријски сто је величина просторије. За мање просторије бира се сто за четворо, док се у веће могу сместити и они за шест и више особа. За све популарније мале станове најбоље решење је склопиви трпезаријски сто који се врло лако склони када није у употреби. Штеди простор, а не губи на својој функционалности. Величина стола требала би да буде таква да у просторији оставља довољно места за прилаз столицама.
Минималне димензије квадратног стола за четворо су 75×75 цм али се препоручује 90×90 цм. Може бити и кружни, кружни пречника 110 цм. Оптимална димензија стола за четири особе је 120×80 цм.
Сто за шест особа не треба да је мањи од 140×80 цм или кружни пречника 140 цм.
Трпезаријски сто може бити направљен од различитих материјала. Најчешће је то дрво, али зависно од ентеријера може бити направљен и од метала, пластике, стакла и др. Облик је најчешће правоугаони, ређе кружни, али су све популарнији столови са плочама атипичног, оригиналног облика. Тако, на пример, сто са дрвеном плочом неправилне ивице у савремене ентеријер уноси дашак природе. Класичним ентеријерима најбоље одговарају столови са богатим дрвеним текстурама и тамнијим нијансама. Савремени стил добро се слаже са минималистичким једноставним столовима, док индустријском стилу одговара сто са металним елементима. Један од битних елемената трпезаријског стола може бити и столњак, који ће бојом и дезеном допринети атмосфери просторије.
Трпезаријске столице
Трпезаријске столице могу бити најразличитијег облика и дизајна. Најчешће су стилски уједначене са столом, али могу бити и потпуно различите, чак и међусобно. Уместо столица око трпезаријског стола се могу поставити и клупе, угаоне гарнитуре и слично.
Осветљење у трпезарији
У трпезарији светлост игра веома важну улогу јер ствара жељену атмосферу. Извор светлости треба да буде изнад трпезаријског стола. Светиљка треба да буде постављена тако да виси на око 70 цм од површине стола, како светло не би заслепљивало људи који седе за столом. Најчешће решење је плафонска светиљка која виси изнад средине стола. Прстен светлости који пада одозго раздваја зону хране од околног простора. Алтернативно решење, које ће дати исти ефекат али интимнију атмосферу, представља једна или две подне лампе постављене иза линије столица.
Ако у трпезарији нема довољно природног светла, или је простор мали, проблем се може решити постављањем зидних огледала која рефлектују светлост и стварају илузију већег простора.
Боје у трпезарији
Трпезарија је једна од оних просторија у којој се ретко експериментише са јарким и необичним бојама. Већина људи за њу бира неутралне нијансе, док јој карактер наглашавају разни декоративни предмети као што су столњаци, салвете и слично. Благе, пастелне нијансе зелене, сиве и розе боје, на пример, стварају веома пријатну атмосферу, а простор чине визуелно већим него што јесте. Топле боје отварају апетит, па је мање конвенционална, али свакако ефектна боја која доминира у трпезарији и црвена. Зато, на пример, већина ресторана брзе хране у свом логотипу садржи управо ову боју. У трпезарији никада не би смела да доминира плава боја јер она, као боја хладног спектра, затвара апетит.
Фенг шу у трпезарији
По фенг шуију, трпезарија је просторија од велике важности за укућане, јер ту заједно обедују. Ако је урађена у складу са овом филозофијом, може помоћи у унапређењу односа и заједништва. Најбоље је да се налази у средини дома, у близини кухиње, а што даље од улазних врата. Огледала су један од пожељних елемената, јер одају утисак пространства и удвостручавања хране, па самим тим и благостања.
Трпезарија хотела и ресторана
Хотели се, према више критеријума врсти и начину услуге сврставају у хотеле ниже и хотеле више категорије. Ове категорије означавају се звездицама (1-5). Број звездица који ће неки хотел имати зависи од много фактора, међу којима су: спољашњи изглед објекта, квалитет услуге, хигијена, квалитет хране, додатни садржаји и други. На нивоу Европске уније требало је да се уведе хотелска стандардизација (The European Hotelstar Union) која би била прихваћена у свим државама чланицама. Ипак, иако је израђена, она није обавезна него служи само као смерница, а заснива се на немачком систему који је имао велики утицај на класификацију хотела у средњој Европи. Према овој категоризацији сви хотели (укључујући и оне најнижих категорија који не морају имати ресторан) морају имати трпезарију у којој се служи доручак.
Трпезарија, била она формална или лежерна, најважнија је просторија у ресторану. Дизајн ове просторије игра велику улогу у укупном амбијенту ресторана. Осим столова и столица овај простор опремљен је и низом других садржаја, од којих неки треба да су скривени од очију посетилаца. Тип столова и столица зависи највише од величине просторије. Фиксирани столови штеде простор, али су класични погоднији у случају да их је потребно саставити за веће друштво. Намештај је добро да буде што једноставнији, јер се у рељефним украсима на столовима и столицама задржавају остаци хране, масноћа и сличне нечистоће, што захтева већу пажњу код одржавања. Слично је и са тканинама којима могу бити пресвучена седишта и наслони столица.
Дизајн ресторана треба да представља равнотежу између удобности и максималног капацитета гостију. Кључни део било које добро испланиране трпезарије ресторана је постојање помоћне просторије за додатни прибор, која треба да буде лако доступна особљу, али заклоњена од погледа гостију. У овој просторији треба да се налази апарат за кафу, додатни тањири, чаше, шоље и прибор за јело, салвете и зачини. Прочитајте читав комплетан преглед онога што се чека у станици чекања, укључујући и систем за праћење промета и стања залиха (POS - Point Of Sale). Други неопходан елемент трпезарије ресторана или хотела је и пулт за особље на коме се, између осталог, налази и каса. Други елеменат који се може налазити у самој трпезарији или одмах поред ње је ресторански бар. .
Намештај ресторанске или хотелске трпезарије
Намештај у трпезарији хотела или ресторана обично се састоји од столова, столица, шанка и хладњака за вино. Радне површине шанка најчешће су стаклене, дрвене или висококвалитетне камене. Намештај треба да буде стилски уједначен, а на основу тога и декорација. Столови су најчешће правоугаони или округли, а могу бити и они који се лако могу развући и продужити у случају потребе. Столице би требало да су упарене са столовима.
Трпезарија и савремене технологије
Савремене технологије нуде велики број услуга које се односе на потребе у вези трпезарија. Тако се на тржишту могу наћи различите апликације, од помоћи код уређења и одабира намештаја, до помоћи око сналажења у трпезарији (правилно сервирање прибора за јело, распоред седења и сл).
Види још
Кухиња
Салонски стан
Дизајн ентеријера
Референце
Спољашње везе
Просторије
| 15,295
|
https://vi.wikipedia.org/wiki/%2813089%29%201992%20PH2
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
(13089) 1992 PH2
|
https://vi.wikipedia.org/w/index.php?title=(13089) 1992 PH2&action=history
|
Vietnamese
|
Spoken
| 68
| 152
|
{{DISPLAYTITLE:(13089) 1992 PH2}}
(13089) 1992 PH2 là một tiểu hành tinh vành đai chính. Nó được phát hiện bởi Henry E. Holt ở Đài thiên văn Palomar ở Quận San Diego, California, ngày 2 tháng 8 năm 1992.
Xem thêm
Danh sách các tiểu hành tinh: 13001–14000
Tham khảo
Thiên thể phát hiện năm 1992
Được phát hiện bởi Henry E. Holt
Tiểu hành tinh vành đai chính
| 18,897
|
https://ceb.wikipedia.org/wiki/Phyllanthus%20triandrus
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Phyllanthus triandrus
|
https://ceb.wikipedia.org/w/index.php?title=Phyllanthus triandrus&action=history
|
Cebuano
|
Spoken
| 63
| 119
|
Kaliwatan sa tanom nga bulak ang Phyllanthus triandrus. Una ning gihulagway ni Francisco Manuel Blanco, ug gihatagan sa eksakto nga ngalan ni Johannes Müller Argoviensis. Ang Phyllanthus triandrus sakop sa kahenera nga Phyllanthus, ug kabanay nga Phyllanthaceae.
Kini nga matang hayop na sabwag sa:
Pilipinas
Walay nalista nga matang nga sama niini.
Ang mga gi basihan niini
Tanom
Tanom sa Pilipinas
Phyllanthus (Phyllanthaceae)
| 39,414
|
https://de.wikipedia.org/wiki/Fritzen
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Fritzen
|
https://de.wikipedia.org/w/index.php?title=Fritzen&action=history
|
German
|
Spoken
| 128
| 332
|
Fritzen ist der Familienname folgender Personen:
Adolf Fritzen (1838–1919), Bischof von Straßburg
Aloys Fritzen (auch Alois Fritzen; 1840–1916), deutscher Jurist und Politiker der Zentrumspartei
Anne Fritzen (* vor 1996), deutsche Musikpädagogin und Hochschullehrerin
Joachim Fritzen (1909–1996), deutscher Sinologe und Musikwissenschaftler
Karl Fritzen (1844–1933), deutscher Jurist und Politiker der Zentrumspartei
Marianne Fritzen (1924–2016), deutsche Atomkraftgegnerin
Marlies Fritzen (* 1962), deutsche Politikerin (Bündnis 90/Die Grünen)
Michael Fritzen (* 1938), deutscher Musiker
Michael Fritzen (Journalist) (* 1941), deutscher Journalist
Nicola Fritzen (* 1978), deutscher Schauspieler
Michael Fritzen (* 1938), deutscher Musiker, Sänger, Texter und Bandleader
Stefan Fritzen (1940–2019), deutscher Posaunist und Orchesterleiter
Fritzen steht auch für:
Fritzen, Kreis Fischhausen/Samland, Ostpreußen, siehe Sosnowka (Kaliningrad, Gurjewsk, Chrabrowo), Siedlung im Rajon Gurjwsk, Oblast Kaliningrad, Russland
Siehe auch:
Johs. Fritzen & Sohn, Reederei in Emden
| 24,296
|
https://en.wikipedia.org/wiki/Harry%20and%20the%20Hendersons%20%28TV%20series%29
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Harry and the Hendersons (TV series)
|
https://en.wikipedia.org/w/index.php?title=Harry and the Hendersons (TV series)&action=history
|
English
|
Spoken
| 776
| 1,159
|
Harry and the Hendersons is an American sitcom based on the film of the same name, produced by Amblin Television for Universal Television. It aired in syndication from January 13, 1991, to June 18, 1993, with 72 half-hour episodes produced. It is about a family who adopts a Bigfoot called Harry.
Synopsis
Bruce Davison and Molly Cheek played the parents George and Nancy (in the film, they were played by John Lithgow and Melinda Dillon respectively) with Carol-Ann Plante and Zachary Bostrom as the children Sarah and Ernie (in the film, they were played by Margaret Langrick and Joshua Rudoy respectively). Kevin Peter Hall played the role of Harry in both the film and TV series, until his death late in the production of the first season. He was replaced first by Dawan Scott and then by Brian Steele in the third season (Steele had filled in for Scott in the Harry costume for numerous scenes during season two, before taking over the role full-time). Harry's vocal effects were provided by Patrick Pinney, where the vocal effects were previously provided by Fred Newman in the film.
In the series, George and Nancy were an upwardly mobile two-career couple, with the former working for a sporting goods company. George eventually launched his own magazine, The Better Life, late in the second season. Initially helping the Hendersons with Harry's care, and Sasquatch research, was Walter Potter, a biologist working for the Department of Animal Control. Also seen early on were the Glicks, neighbors of the Hendersons; Samantha was a pretty, young single mother and reporter, and Tiffany was her precocious little girl, a classmate of Ernie's who had an obvious crush on him. Samantha, Tiffany, and Walter were all written out after the first season, but the aspect of having a girl next door who chased after Ernie was retained through a new character, Darcy Payne, for the 1991–92 season. Darcy was more annoying than her predecessor, and spent all her waking hours trying to make the Hendersons' young son hers. However, she did catch on to the fact that the family was hiding a bigfoot, and had several close encounters with Harry; fortunately, Darcy disappeared from the show before she could have exposed the secret about him. Nancy's younger brother Brett, a photographer, moved in with the Hendersons in the second season, and was also sworn to secrecy about Harry. When George began The Better Life in the spring of 1992, Brett was hired as the publication's chief photographer and a financial beneficiary.
The following year brought many changes, as in the season premiere Harry's existence was accidentally exposed. Just as the Hendersons feared he would be captured by the government and possibly killed, he was rather embraced by the public and received overnight regional fame. For a while, Harry had to adjust to a high-profile life full of exhibition and additional scientific studies, but at the same time the entire family got used to resting more comfortably now that they did not have to hide the big creature from view anymore. Hilton, a friend of Ernie's and the son of a local police chief, joined the cast in the third season.
The TV series credits contains an artistic representation of key scenes from the film.
Cast
Kevin Peter Hall as Harry (1991)
Dawan Scott as Harry (1991–1992)
Brian Steele as Harry (1992–1993)
N. Brock Winkless IV as Harry (face performer, 1991–1993)
Patrick Pinney as Harry (vocal effects, 1991–1993)
Bruce Davison as George Henderson
Molly Cheek as Nancy Henderson
Carol-Ann Plante as Sarah Henderson
Zachary Bostrom as Ernie Henderson
Gigi Rice as Samantha Glick (1991)
Cassie Cole as Tiffany Glick (1991)
David Coburn as Walter Potter (1991)
Noah Blake as Brett Douglas (1991–1993)
Courtney Peldon as Darcy Payne (1991–1992)
Mark Dakota Robinson as Hilton Woods, Jr. (1992–1993)
Jared Henderson as Himself (1992)
Episodes
Season 1: 1991
Season 2: 1991–92
Season 3: 1992–93
Production
Among the series' directors were series star Bruce Davison, Scott Baio, Frank Bonner, Tony Dow, Richard Kline, Dwayne Hickman, and Donna Pescow.
The series' theme song was "Your Feet's Too Big", performed by Leon Redbone.
Reruns aired on digital subchannel Retro Television Network from August 2008 until their distribution agreement with NBCUniversal ended in June 2011.
Broadcast stations
References
External links
1991 American television series debuts
1993 American television series endings
1990s American single-camera sitcoms
American fantasy comedy television series
Television about Bigfoot
First-run syndicated television programs in the United States
English-language television shows
Live action television shows based on films
Television series about families
Television series by Universal Television
Television shows set in Washington (state)
Cryptozoological television series
Television series by Amblin Entertainment
| 32,907
|
https://sl.wikipedia.org/wiki/Politi%C4%8Dna%20ureditev%20Rimskega%20kraljestva
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Politična ureditev Rimskega kraljestva
|
https://sl.wikipedia.org/w/index.php?title=Politična ureditev Rimskega kraljestva&action=history
|
Slovenian
|
Spoken
| 665
| 1,445
|
Kralj
Rimska država je bila v prvih stoletjih monarhija, vladal pa ji je kralj (lat. rex). Vsi kralji, z izjemo prvega, Romula, so bili izvoljeni z doživljenjskim mandatom. Med prvimi štirimi ni nobene sorodstvene povezave, medtem ko so si bili zadnji tri v sorodu.
Kraljeve insignije so bile: dvanajst liktorjev, ki so nosili svežnje protja s sekirami (lat. fasces), vijoličasta toga (lat. toga picta), rdeči čevlji in bela krona.
Nekateri sodobni zgodovinarji menijo, da je bila vrhovna oblast v rokah ljudstva in da je bil kralj le izvršni predstojnik senata in ljudstva, nekateri pa menijo, da je imel kralj suvereno oblast in da sta imela senat in ljudstva le manjši vpliv na njegovo moč.
Po predvidevanju, da je bil kralj suveren v običajnem smislu, je opravljal naslednje dolžnosti:
predstojnik izvšilne oblasti (~premier) – lahko je vsilil zakone, upravljal je državno last, odločal je o osvojenem ozemlju in nadziral javna dela;
poveljnik vojske – vpoklical in organiziral je legije, postavil poveljnike in odločal o vojni;
vrhovni diplomat – predstavljal je Rim pred drugimi državami in sprejemal tuje veleposlanike;
vrhovni svečenik – bil je uradni predstavnik Rima pred bogovi; imel je velik vpliv na religijo
vrhovni zakonodajalec – izoblikoval in predal je predloge zakonov comitii curiati;
vrhovni sodnik.
Senat
Romulus je senat (iz lat. senex, kar pomeni starec, torej je senatus »svet rodovnih starešin«) ustanovil tako, da je izbral najplemenitejše može in jih postavil v kraljevi sosvet. Senat je sprva sestavljalo 100 mož (iz plemena Ramnes ali Rimljani), po združitvi s Sabinci se je število senatorjev povečalo na 200 (pleme Tities ali Sabinci), končno pa ga je Tarkvinij Prisk s stotimi Etruščani (pleme Luceres) povečal na tristo mož. Člani so bili imenovani patres (lat. očetje), njihovi potomci pa so postali patriciji oz. aristokracija. Senatorji so bili že v času monarhije razdeljeni na dva dela: patres majorum gentium in patres minorum gentium; slednji so bili tako poimenovani najverjetneje zato, ker so prihajali iz gentes, ki so mesta v senatu pridobili kasneje.
Patres ali senatorji so bili izbrani iz vodilnih gentes (skupina družin s skupnim prednikom). Članstvo v senatu ni bilo dosmrtno, pač pa je bilo odvisno od kralja, ki jih je vpoklical. Kralj je torej lahko med svojo vladavino zamenjal senatorje, naslednji kralj pa je lahko stare senatorje obdržal, ali pa jih postavil po svoji volji.
Senat v rimskem kraljestvo je imel tri glavne naloge: služil je kot izvršilna oblast, kot sosvet za kralja in kot zakonodajno telo po dogovoru z rimskim ljudstvom. Po tem, ko je predlagani zakon dosegel strinjanje comitie curiate, je lahko senat nanj vložil veto, ali pa ga sprejel kot zakon. Kralj je ob težjih odločitvah lahko nasvet poiskal pri senatu, vendar ga ni rabil nujno upoštevati. Samo kralj je lahko sklical sejo senata, razen med interregnumom, ko se je senat lahko sklical sam. Naloga senata med tem časom je bila izvolitev novega kralja.
Ko je kralj umrl, so izbrali člana senata (interrex), ki je predlagal kandidata za novega kralja. Ko je senat odobril predlaganega, ga je ljudstvo izvolilo, na koncu pa ga je senat potrdil.
V času republike se je vloga senata zaradi spremembe nekaterih institucij nekoliko spremenila.
Comitia Curiata
Comitia curiata (skupščina kurij) je bilo edino zakonodajno telo v času monarhije. Skupščina je bila razdeljena na 30 kurij (lat. curia), po 10 za vsako pleme (Ramnes, Tities, Luceres). Vsi člani kurije so imeli volilno pravico. Vsi patriciji so bili člani skupščine. Večina glasov v posamezni kuriji je odločila o glasu celotne kurije. Večina glasov vseh kurij je predstavljala mnenje celotne skupščine.
Comitia curiata je dejansko imela zelo majhno moč in ni bila samostojno telo. Skupčino je lahko sklical zgolj kralj ali interrex. Redno je bila sklicana prvi dan v mesecu (kalende) ter konec prvega tedna v mesecu (none); na teh sejah so se seznanjali s tekočimi dogodki. Skupščina je glasovala le o predlogih kralja in razglasu vojne. Večina predlogov, za katere je kralj zaprosil za mnenje skupščine, je bila v zvezi z organizacijo in drugih zadevah povezanih z gensi.
Sklici
Rimsko kraljestvo
| 41,976
|
https://ru.wikipedia.org/wiki/9-%D0%B9%20%D0%9A%D0%B0%D0%BC%D0%B5%D0%BD%D0%BD%D0%BE%D0%BE%D1%81%D1%82%D1%80%D0%BE%D0%B2%D1%81%D0%BA%D0%B8%D0%B9%20%D0%BC%D0%BE%D1%81%D1%82
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
9-й Каменноостровский мост
|
https://ru.wikipedia.org/w/index.php?title=9-й Каменноостровский мост&action=history
|
Russian
|
Spoken
| 283
| 870
|
9-й Каменноостро́вский мост — автодорожный балочный мост через Большой канал Каменного острова в Петроградском районе Санкт-Петербурга.
Расположение
Расположен в створе Ломаной аллеи. Рядом с мостом располагается парк «Тихий отдых».
Ниже по течению находится 11-й Каменноостровский мост.
Ближайшая станция метрополитена — «Чёрная речка».
Название
Название известно с 1950-х годов, когда были пронумерованы существовавшие мосты Каменного острова и мост стал называться 9-м Каменноостровским.
История
В 1810-х годах на этом месте был построен деревянный мост, который неоднократно перестраивался и ремонтировался. В 1904 году был построен пятипролётный деревянный балочный мост на деревянных свайных опорах. В 1936—1937 годах при очистке и углублении канала мост был разобран. Существующий мост был построен в 1949—1951 годах по проекту инженера П. В. Андреевского. Предполагалось установить на мосту перила и фонари с разобранного Витебского моста через Введенский канал, однако эти планы не были осуществлены. В 1975 году произведён капитальный ремонт моста, включавший в себя усиление главных балок дополнительными металлическими листами и замену деревянной конструкции проезжей части на железобетонную с асфальтобетонным покрытием.
Конструкция
Мост трёхпролётный металлический, балочно-разрезной системы. Пролётное строение состоит из стальных двутавровых балок постоянной высоты (4 балки в поперечном сечении), объединённых поперечными балками. Расстояние между осями главных балок — 2 м. Схема разбивки на пролёты: 4 + 9 + 4 м. Сверху балок устроена монолитная железобетонная плита. Устои железобетонные, сборно-монолитные, на свайном основании (сваи 25х25 см, длина 6 м). Промежуточные опоры железобетонные, в поперечном направлении представляют собой 4 стойки-сваи (сваи 25х25 см, длина 8 м), объединённые насадками. Общая длина моста составляет 19,1 м, ширина — 7,5 м
Мост предназначен для движения автотранспорта и пешеходов. Проезжая часть включает в себя 2 полосы для движения автотранспорта. Покрытие проезжей части и тротуаров — асфальтобетон. Перильное ограждение металлическое, простого рисунка.
Примечания
Литература
Ссылки
Балочные мосты России
| 43,470
|
https://oc.wikipedia.org/wiki/Silly%20%28Belgica%29
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Silly (Belgica)
|
https://oc.wikipedia.org/w/index.php?title=Silly (Belgica)&action=history
|
Occitan
|
Spoken
| 11
| 24
|
Silly (Belgica) es una comuna de la província bèlga de Enaut.
| 1,336
|
https://es.wikipedia.org/wiki/Araus
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Araus
|
https://es.wikipedia.org/w/index.php?title=Araus&action=history
|
Spanish
|
Spoken
| 305
| 611
|
Araus fue un fabricante de cosechadoras argentino, fundado a mediados del .
Historia
En la localidad de Noetinger, Córdoba, se instalan con un taller los señores Araus Hnos. para fabricar máquinas cosechadoras de cereales y juntadora de maíz automotrices.
Sus comienzos en la mecanización agrícola se inician en Armstrong, Santa Fe, cuando los hermanos Julián, Romualdo y Tomas Araus, en su chacra, se dedicaban a reparaciones de máquinas, siendo en el año 1942 que construyen una cosechadora automotriz con satisfactorios resultados.
Años después, ya instalados en Noetinger emprenden la fabricación en serie llegando años después a ser una de las más importantes fábricas del país.
Etapa Deutz
Usando motores Deutz durante cierto tiempo, su nombre cambió a Araus-Deutz, usando el clásico color verde de esta última. Su cierre se da en esta etapa, a fines de la década de 1990.
Etapa Metalfor
En 2003 METALFOR adquiere la planta industrial perteneciente a la firma Agco Argentina S.A. (Ex Araus), la misma cuenta con una superficie total de 60.000 m² y 15.000 m² cubiertos.
Trasladó toda la producción de equipos de arrastre, frutales, agro partes y además crea su primera cosechadora Metalfor modelo “Araus 1360”, así quedando el nombre "Araus" únicamente como modelo nomás de Metalfor, aunque también usado como submarca llamándose así Metalfor-Araus para los productos fabricados en la planta de Noetinger.
Modelos producidos
COSECHADORAS
Araus La Joya
Araus 500 Gigante
Araus 300
Araus 410
Araus 380 DTG
Araus 530-Gigante/2
Araus 505 DT / 505 DTH
Araus 510 XR
Araus 610 Jumbo
Araus 510 Gigante
PROTOTIPOS
Araus 590
Araus 8100 (axial)
FORRAJERAS
Araus A-252
Araus A-152
Araus A-122
PULVERIZADORES
Araus 190/2
Araus 210
Referencias
Enlaces externos
Historia de Araus
Metalfor en Noetinger: ex planta Araus
Noetinger, el pueblo de Araus
Fabricantes de maquinaria agrícola de Argentina
Empresas de la provincia de Córdoba
Empresas desaparecidas de Argentina
| 22,152
|
https://ceb.wikipedia.org/wiki/Galpaya
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Galpaya
|
https://ceb.wikipedia.org/w/index.php?title=Galpaya&action=history
|
Cebuano
|
Spoken
| 87
| 144
|
Administratibo nga balangay ang Galpaya sa Sri Lanka. Nahimutang ni sa lalawigan sa Central Province, sa sentro nga bahin sa nasod, km sa sidlakan sa Colombo ang ulohan sa nasod.
Ang klima tropikal nga kasalupan. Ang kasarangang giiniton °C. Ang kinainitan nga bulan Marso, sa °C, ug ang kinabugnawan Hulyo, sa °C. Ang kasarangang pag-ulan milimetro matag tuig. Ang kinabasaan nga bulan Disyembre, sa milimetro nga ulan, ug ang kinaugahan Hulyo, sa milimetro.
Ang mga gi basihan niini
Mga subdibisyon sa Central Province (lalawigan sa Sri Lanka)
| 46,084
|
https://ca.wikipedia.org/wiki/Galceran%20II%20de%20Pin%C3%B3s
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Galceran II de Pinós
|
https://ca.wikipedia.org/w/index.php?title=Galceran II de Pinós&action=history
|
Catalan
|
Spoken
| 434
| 825
|
Galceran II de Pinós fou un noble, senyor (1117-circa 1162) de les baronies i castells de Pinós, Vallmanya, l'Espà, Gósol, Saldes i Querforadat.
Fill de Galceran I de Pinós i Adelaida formà part del seguici del comte Ramon Berenguer III i Ramon Berenguer IV. Aquest últim li concedí els castells de Sant Martí de Tous, Queralt i Miralles, els quals, però, no romangueren dins els dominis familiars. S'especula que és el protagonista de la llegenda del Rescat de les Cent Donzelles, tot i que hi ha contradiccions entre la cronologia dels fets i la pròpia biografia del personatge que en fan dubtar. No consta, històricament, la participació de Galceran de Pinós en la conquesta d'Almeria, bé que és possible, ni consta tampoc que fos almirall. Tampoc no era fill de Berenguera de Montcada, com vol la llegenda, sinó d’Adelaida. Els seus nets Bernat, Ramon Galceran I, Pere i Berenguer Galceran de Pinós, que sí que foren fills d’una Berenguera, no pogueren pas participar en la conquesta d’Almeria per raons de cronologia.
El 17 d'abril de 1117 ratifica amb Umbert Josbert, senyor de Lavansa, el pacte signat entre son pare i l'anterior senyor de Lavansa, Ermengol Josbert, que afecta a la potestat dels castells de Josa, Ossera i Sant Romà, a favor dels Pinós, i el de Gósol a favor dels Lavansa. Figurà sovint en el seguici dels Comtes de Barcelona i fou un dels marmessors de Ramon Berenguer III (1130). Mort Umbert Josbert i amb ell extingit l'anel llinatge privatiu de la vall de La Vansa, el comte d’Urgell va haver d’infeudar les terres a uns nous senyors. Els beneficiaris foren els Pinós, nous senyors de la vall. El 20 de març de 1131, es produí la infeudació de l’honor per part del comte Ermengol VI d’Urgell a Galceran II de Pinós i al seu fill. L’any següent, el 23 de març de 1132, els Pinós subinfeudaren aquestes propietats, als Caboet, un altre dels llinatges emergents a la primera meitat del segle XII. El 1141 fou un dels signants del pacte de Carrión entre Ramon Berenguer IV i Alfons VII de Castella. Ell, o potser el seu fill, representà el comte en un plet que aquest tenia amb Pere de Puigverd pels castells de Piera i Prenafeta el 1157. Podría haver mort el 1162, data en què el seu fill jura fidelitat a Alfons I el Cast.
Va ser enterrat al Monestir de Santes Creus.
Matrimoni i descendència
Es casà amb Estefania amb la qual tingué dos fills:
Galceran III de Pinós hereu de la baronia de Pinós (?-1196)
Pere (?-1196)
Referències
Nobles catalans
| 32,130
|
https://stackoverflow.com/questions/7953795
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,011
|
Stack Exchange
|
ayblab, https://stackoverflow.com/users/17689647, https://stackoverflow.com/users/17689648, mariliah
|
English
|
Spoken
| 91
| 126
|
Localized xib files is not being used
I created bunch of localized xib files -- Chinese, Japanese, etc. But when I switch my iphone language, the localized xibs are not being used and the labels remain Eng. However the strings are being picked up correctly.
Anybody have any ideas where I should troubleshoot?
The answer for me was to do a Clean build on the project, then delete the app on the device, then rebuild/reinstall. Just doing a Clean build wasn't enough, but deleting the app and reinstalling did the trick.
| 1,364
|
https://stackoverflow.com/questions/61609195
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,020
|
Stack Exchange
|
David Browne - Microsoft, https://stackoverflow.com/users/7297700
|
English
|
Spoken
| 62
| 111
|
Entity Framework Core Save foreign key value after deletion of primary key
Hello I would like to ask is it possible to save foreign key value (e.g. history of orders) after deletion a primary key (eg. user of shop) using Entity Framework Core?
Please Read: https://learn.microsoft.com/en-us/ef/core/saving/cascade-delete
Yes, you need to override the SaveChanges method then search for the states which are EntityState.Deleted.
| 50,279
|
https://en.wikipedia.org/wiki/Jos%C3%A9%20Miguel%20Villa%C3%BA
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
José Miguel Villaú
|
https://en.wikipedia.org/w/index.php?title=José Miguel Villaú&action=history
|
English
|
Spoken
| 94
| 138
|
José Miguel Villaú Cabeza (born Sevilla, 30 October 1971) is a Spanish rugby union player. He plays as a lock.
Career
His first international match was against Morocco, at Toulouse, on 28 November 1993. He was part of the 1999 Rugby World Cup roster, playing all the three matches. His last international cap was during a match against Portugal, at Madrid, on 2 June 2002.
References
External links
José Miguel Villaú International Statistics
1971 births
Living people
Spanish rugby union players
Rugby union locks
Spain international rugby union players
1999 Rugby World Cup players
| 37,764
|
https://pl.wikipedia.org/wiki/Grzegorz%20%28Czirkow%29
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Grzegorz (Czirkow)
|
https://pl.wikipedia.org/w/index.php?title=Grzegorz (Czirkow)&action=history
|
Polish
|
Spoken
| 140
| 358
|
Grzegorz, imię świeckie Jurij Siergiejewicz Czirkow (ur. 1 stycznia 1942 w Kozłach, zm. 25 lutego 2018) – rosyjski biskup prawosławny.
Życiorys
Urodził się w rodzinie chłopskiej. W 1969, po odbyciu zasadniczej służby wojskowej, wstąpił do seminarium duchownego w Leningradzie, a następnie do Leningradzkiej Akademii Duchownej, którą ukończył w 1975. Jako student złożył wieczyste śluby zakonne 15 marca 1973, 25 marca przyjął święcenia diakońskie, zaś 4 grudnia 1973 – kapłańskie. W 1976 otrzymał godność igumena, zaś w 1978 – archimandryty.
W latach 1981–1992 służył w cerkwi Zaśnięcia Matki Bożej w Monasterze Nowodziewiczym. 13 września 1987 miała miejsce jego chirotonia na biskupa możajskiego, wikariusza eparchii moskiewskiej. Od 1997 nosił tytuł arcybiskupa.
Zmarł 25 lutego 2018 w wieku 76 lat.
Przypisy
Bibliografia
Biogram w serwisie Patriarchatu Moskiewskiego
Urodzeni w 1942
Rosyjscy biskupi prawosławni
Eparchia moskiewska obwodowa
Absolwenci Leningradzkiej Akademii Duchownej
Zmarli w 2018
| 16,024
|
https://ceb.wikipedia.org/wiki/Lac%20Bernier%20%28lanaw%20sa%20Abitibi-T%C3%A9miscamingue%2C%20lat%2048%2C30%2C%20long%20-76%2C46%29
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Lac Bernier (lanaw sa Abitibi-Témiscamingue, lat 48,30, long -76,46)
|
https://ceb.wikipedia.org/w/index.php?title=Lac Bernier (lanaw sa Abitibi-Témiscamingue, lat 48,30, long -76,46)&action=history
|
Cebuano
|
Spoken
| 188
| 309
|
Alang sa ubang mga dapit sa mao gihapon nga ngalan, tan-awa ang Lac Bernier.
Lanaw ang Lac Bernier sa Kanada. Nahimutang ni sa kondado sa Abitibi-Témiscamingue ug lalawigan sa Québec, sa habagatan-sidlakang bahin sa nasod, km sa amihanan sa Ottawa ang ulohan sa nasod. metros ibabaw sa dagat kahaboga ang nahimutangan sa Lac Bernier. Naglangkob kin og ka kilometro kwadrado. Lac Bernier nga nahimutang sa mga lanaw sa Lac Monta, ug Lac Pierre-André. Ang kinahabogang dapit sa palibot dunay gihabogon nga ka metro ug km sa amihanan sa Lac Bernier. Hapit nalukop sa lasang nga sagolsagol ang palibot sa Lac Bernier. Naglukop ni og 0.5 km gikan sa amihanan ngadto sa habagatan ug 0.9 km gikan sa sidlakan ngadto sa kasadpan.
Sa mosunod nga mga natural nga mga bahin makita sa Lac Bernier:
Lac Pierre-André (lanaw)
Ang klima boreal. Ang kasarangang giiniton °C. Ang kinainitan nga bulan Hulyo, sa °C, ug ang kinabugnawan Enero, sa °C. Ang kasarangang pag-ulan milimetro matag tuig. Ang kinabasaan nga bulan Oktubre, sa milimetro nga ulan, ug ang kinaugahan Pebrero, sa milimetro.
Saysay
Ang mga gi basihan niini
Mga lanaw sa Québec (lalawigan)
| 29,605
|
https://mathematica.stackexchange.com/questions/220343
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,020
|
Stack Exchange
|
Alex Trounev, QuantumDot, Tim Laska, fasdgr, https://mathematica.stackexchange.com/users/2048, https://mathematica.stackexchange.com/users/58388, https://mathematica.stackexchange.com/users/61809, https://mathematica.stackexchange.com/users/70452
|
Slovak
|
Spoken
| 1,412
| 3,503
|
NDSolveValue taking too long
I am trying to solve heat diffusion equation on hollow cylinder with constant DirichletCondition on inner radius and zero NeumannCondition (no conduction) on outer radius. Initial condition is linearly with r decreasing temperature. My code:
h = 10;
cyl1 = Cylinder[{{0, 0, 0}, {0, 0, h}}, 2];
cyl2 = Cylinder[{{0, 0, 0}, {0, 0, h}}, 4];
cyl = DiscretizeRegion[RegionDifference[cyl2, cyl1]];
Laplacian[u[t, r, θ, z], {r, θ, z}, "Cylindrical"]
ClearAll[r]
ifun = NDSolveValue[{D[u[t, r, θ, z], t] ==
Laplacian[u[t, r, θ, z], {r, θ, z},
"Cylindrical"] + NeumannValue[0.1, (0 < z < h) && (r > 3.9)],
DirichletCondition[u[t, r, θ, z] == 50, r < 2.1],
u[0.001, r, θ, z] == 50 - ((50 - 10)/(4 - 2))*r},
u, {t, 1, 5}, {r, θ, z} ∈ cyl, Method -> Automatic];
SliceContourPlot3D[
ifun[4, r, θ, z], {r, θ, z} ∈ cyl,
ColorFunction -> "TemperatureMap", Boxed -> False, Axes -> None]
The question is why is NDSolveValue taking so long.
EDIT:
How to convince Mathematica to interpret (r,theta,z) as cylindrical (not cartesian) coordinates of a region cyl?
Hi kular. On your machine, how long does it take to run?
I'm running it for 2 hours, still no result.
@kular You made a typo with Cylinder[]. In the cylindrical coordinate it is not cylinder, but region $2\le r\le 2, 0\le \theta \le 2\pi, 0\le z\le h$
Try
h = 10;
innerR = 2;
outerR = 4;
cyl1 = Cylinder[{{0, 0, 0}, {0, 0, h}}, innerR];
cyl2 = Cylinder[{{0, 0, 0}, {0, 0, h}}, outerR];
cyl = ToElementMesh[RegionDifference[cyl2, cyl1], MaxCellMeasure -> .5];
cyl["Wireframe"]
pde = D[u[t, r, θ, z], t] == Laplacian[u[t, r, θ, z], {r, θ, z}, "Cylindrical"] +
NeumannValue[1/10, (0 < z < h) && (r > 39/10)];
ic = u[1/1000, r, θ, z] == 50 - ((50 - 10)/(4 - 2))*r;
ifun = NDSolveValue[{pde, DirichletCondition[u[t, r, θ, z] == 50,
r < 21/10], ic}, u, {t, 1/1000, 5}, {r, θ, z} ∈ cyl]
Finishes right away.
There is a typo with Cylinder[]. In the cylindrical coordinates it is not cylinder, but Coboud[] region - see Tim Laska answer and my also.
In cylindrical space, the annular region would look like a cuboid. Since there is no $\theta$ dependence in your model, you may as well do an axisymmetric model. Fortunately, Mathematica has a heat transfer verification manual to give a guide on how to setup a verified case, from which, I will shamelessly copy and paste.
ClearAll[HeatTransferModel]
HeatTransferModel[T_, X_List, k_, \[Rho]_, Cp_, Velocity_, Source_] :=
Module[{V, Q, a = k},
V = If[Velocity === "NoFlow",
0, \[Rho]*Cp*Velocity.Inactive[Grad][T, X]];
Q = If[Source === "NoSource", 0, Source];
If[ FreeQ[a, _?VectorQ], a = a*IdentityMatrix[Length[X]]];
If[ VectorQ[a], a = DiagonalMatrix[a]];
(* Note the - sign in the operator *)
a = PiecewiseExpand[Piecewise[{{-a, True}}]];
Inactive[Div][a.Inactive[Grad][T, X], X] + V - Q]
HeatTransferModelAxisymmetric[T_, {r_, z_}, k_, \[Rho]_, Cp_,
Velocity_, Source_] :=
Module[{V, Q},
V = If[Velocity === "NoFlow",
0, \[Rho]*Cp*Velocity.Inactive[Grad][T, {r, z}]];
Q = If[Source === "NoSource", 0, Source];
1/r*D[-k*r*D[T, r], r] + D[-k*D[T, z], z] + V - Q]
TimeHeatTransferModel[T_, TimeVar_, X_List, k_, \[Rho]_, Cp_,
Velocity_, Source_] := \[Rho]*Cp*D[T, {TimeVar, 1}] +
HeatTransferModel[T, X, k, \[Rho], Cp, Velocity, Source]
TimeHeatTransferModelAxisymmetric[T_, TimeVar_, {r_, z_}, k_, \[Rho]_,
Cp_, Velocity_, Source_] :=
\[Rho]*Cp*D[T, {TimeVar, 1}] +
HeatTransferModelAxisymmetric[T, {r, z}, k, \[Rho], Cp, Velocity,
Source]
Now, we can setup a verified heat equation operator for an axisymmetric case and solve your problem.
h = 10;
rmin = 2;
rmax = 4;
Subscript[\[CapitalGamma], temp] =
DirichletCondition[u[t, r, z] == 50, r == rmin];
nv = NeumannValue[0.1, r == rmax];
ic = {u[0, r, z] == 50 - ((50 - 10)/(4 - 2))*r};
\[CapitalOmega] = Rectangle[{rmin, 0}, {rmax, h}];
tend = 5;
parmop = TimeHeatTransferModelAxisymmetric[u[t, r, z], t, {r, z},
k, \[Rho], Cp, "NoFlow", "NoSource"];
op = parmop /. {k -> 1, \[Rho] -> 1, Cp -> 1};
pde = {op == nv, Subscript[\[CapitalGamma], temp], ic};
ifun = NDSolveValue[pde,
u, {t, 0, tend}, {r, z} \[Element] \[CapitalOmega]]
The solution returns quickly. We can visualize the solution using the example in the verification manual or from the example on the Wolfram website shown here.
uRange = MinMax[ifun["ValuesOnGrid"]];
legendBar =
BarLegend[{"TemperatureMap", uRange}, 50,
LegendLabel -> Style["[\[Degree]C]", Opacity[0.6`]]];
options = {PlotRange -> uRange,
ColorFunction -> ColorData[{"TemperatureMap", uRange}],
ContourStyle -> Opacity[0.1`], ColorFunctionScaling -> False,
Contours -> 30, AspectRatio -> 1,
PlotPoints -> 41, FrameLabel -> {"r", "z"},
PlotLabel -> Style["Temperature Field: u(t,r,z)", 18],
AspectRatio -> Automatic, ImageSize -> 250};
nframes = 80;
frames = Table[
Legended[
ContourPlot[ifun[t, r, z], {r, z} \[Element] \[CapitalOmega],
Evaluate[options]], legendBar], {t, 0, tend, tend/nframes}];
frames = (Rasterize[#1, "Image", ImageResolution -> 80] &) /@ frames;
ListAnimate[frames, SaveDefinitions -> True]
cpfn = ContourPlot[ifun[#, r, z], {r, z} \[Element] \[CapitalOmega],
ColorFunction -> "Temperature"] &;
frames2 =
Rasterize[#1, "Image",
ImageResolution ->
100] & /@ (Show[
RegionPlot3D[
rmin^2 <= x^2 + y^2 <= rmax^2 && 0 <= z <= h, {x, -rmax,
rmax}, {y, -rmax, rmax}, {z, 0, h}, Boxed -> False,
Axes -> False, PlotPoints -> 40, PlotStyle -> {Opacity[0.2]},
Mesh -> False],
Graphics3D[{EdgeForm[Red], FaceForm[Gray],
GraphicsComplex[{{rmin, 0, 0}, {rmax, 0, 0}, {rmax, 0,
h}, {rmin, 0, h}}, {Texture[
Show[cpfn[#], Frame -> False, PlotRangePadding -> None]],
Lighting -> {{"Ambient", White}},
Polygon[{{1, 2, 3, 4}},
VertexTextureCoordinates -> {{{0, 0}, {1, 0}, {1, 1}, {0,
1}}}]}]}], ImageSize -> 200] & /@
Subdivide[0, tend, 80]);
ListAnimate[frames2, SaveDefinitions -> True]
Here is an example of how to make it look more 3D with a SliceContourPlot3D
cyl1 = Cylinder[{{0, 0, 0}, {0, 0, h}}, 2];
cyl2 = Cylinder[{{0, 0, 0}, {0, 0, h}}, 4];
cyl = RegionDifference[cyl2, cyl1];
frames3 =
Rasterize@
SliceContourPlot3D[
ifun[#, Sqrt[x^2 + y^2], z], {x, y, z} \[Element] cyl,
PlotRange -> uRange,
ColorFunction -> ColorData[{"TemperatureMap", uRange}],
ContourStyle -> Opacity[0.5`], ColorFunctionScaling -> False,
Contours -> 30, Boxed -> False, Axes -> False,
PlotPoints -> 40] & /@ Subdivide[0, tend, 40];
ListAnimate@frames3
(+1) But this is actually 2D, not 3D. How it could be solve in a case of 3D?
@AlexTrounev Thanks! Yes, it is an axisymmetric 2D model. The OP question didn't have any $\theta$ dependence, so why not take advantage of symmetry? I was having difficulty coming up with an advantage to the approach in the OP unless it is to avoid some simple post processing steps. Your answer revealed something subtle, but important. Increasing the number of boundary surfaces going from cartesian (4) to cylindrical (6), increases the risk of boundary-boundary artefacts. Those can be difficult to fix. You may need to control PointElement markers to fix.
I am wonder that it working in 3D with periodic boundary condition. Usually I solve this problem in cartesian coordinates, then I have no headache with boundary elements and PeriodicBoundaryCondition[].
In cylindrical coordinates region Cylinder[] should be transformed into Cuboid[], so effectively we should solve this problem in the region {r, 2, 4}, {\[Theta], 0, 2 Pi}, {z, 0, h} with a periodic boundary condition on $\theta$. Code
Needs["NDSolve`FEM`"]; h = 10; reg =
ImplicitRegion[
2 <= r <= 4 && 0 <= \[Theta] <= 2 Pi && 0 <= z <= h, {r, \[Theta],
z}];
mesh = ToElementMesh[reg]
mesh["Wireframe"]
pbc = PeriodicBoundaryCondition[u[t, r, \[Theta], z], \[Theta] == 0,
TranslationTransform[{0, 2 Pi, 0}]];
ifun = NDSolveValue[{D[u[t, r, \[Theta], z], t] -
Laplacian[u[t, r, \[Theta], z], {r, \[Theta], z},
"Cylindrical"] == NeumannValue[0., True],
DirichletCondition[u[t, r, \[Theta], z] == 50,
r < 2.1 && 0 < \[Theta] < 2 Pi],
u[1, r, \[Theta], z] == 50 - ((50 - 10)/(4 - 2))*r},
u, {t, 1, 5}, {r, \[Theta], z} \[Element] mesh]
SliceContourPlot3D[
ifun[4, r, \[Theta],
z], "ZStackedPlanes", {r, \[Theta], z} \[Element] mesh,
ColorFunction -> "TemperatureMap", Boxed -> False,
AxesLabel -> Automatic]
Projection into {x,y,z} coordinates:
SliceContourPlot3D[
ifun[4, Sqrt[x^2 + y^2], ArcTan[x, y] + Pi,
z], "ZStackedPlanes", {x, -4, 4}, {y, -4, 4}, {z, 0, h},
ColorFunction -> "TemperatureMap", Boxed -> False,
AxesLabel -> Automatic]
Should there be any $\theta$ dependence? I would have thought there would be a series of straight lines. Any thoughts?
@TimLaska Probably we should increase number of points on $\theta $ or may be it just issues of PeriodicBoundaryCondition. But I see that you post a right model.
I think there is an issue where you have two types nodal boundary conditions on adjacent edges competing for the same corner point. Mathematica makes a hidden decision about which one takes precedence. Resolution will help mitigate the issue, but it would be nice to change the precedence so that you could experiment.
@TimLaska It was issues of Method->Automatic. With FEM it looks better.
Indeed, that looks much better!
| 27,874
|
https://zh.wikipedia.org/wiki/%E5%8A%89%E7%8E%A0%E5%BB%B7
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
劉玠廷
|
https://zh.wikipedia.org/w/index.php?title=劉玠廷&action=history
|
Chinese
|
Spoken
| 37
| 1,505
|
劉玠廷(),綽號「太子」、「6JT」(源自諧音)等,達達企業集團創辦人劉保佑之子,前中華職棒樂天桃猿共同總經理。
2004年初La New接下第一金剛改名La new熊,劉玠廷即擔任副領隊,是中華職棒當時最年輕的副領隊。2006年起前往美國福坦莫大學()攻讀管理碩士,自稱從當時現場觀賞美國職棒大聯盟的比賽中得到後來經營「全猿主場」的一些想法。
留學結束,先返回母企業擔任行銷工作,2012年初,接下領隊職務,為中華職棒有史以來第二年輕的領隊。 2015年12月,因為「全猿主場」熱潮,劉玠廷獲得經理人月刊百大經理人獎的「Super MVP」獎項。
中華職棒
總冠軍
2012、2014、2015、2017、2018、2019年。
影響
2012年前往韓國參加亞洲職棒大賽後,引進猿風加油,並改裝球場,為目前「全猿主場」熱潮的重要基礎,其「職棒娛樂化」之精神亦引起他隊倣效。
期望職棒球隊當成獨立的事業經營,不要只是其他企业的附屬品。
2015年推出Lamigo TV,邀請知名棒球主播徐展元擔任球賽固定主播,為中華職棒史上第一個單一球隊專屬信道,以類似互联网實況台的形式轉播球賽。
個人年表與歷年事件
2004年La new接手第一金剛,因少東的特殊身份,成為台灣職棒史上最年輕的副領隊,同年4月22日起成為充任球團後援會鼓手。
2006年前往美國福坦莫大學攻讀管理碩士,同年起擔任大纽约地區台灣同學會聯合會第十四屆理事会財務總監。
2012年2月6日接替蘇敬軒擔任Lamigo桃猿隊領隊,成為隊史第五任領隊,同年6月與交往三年的女友彭薇結婚,24日宴請親友,由於當天球隊仍有上半季補賽,故選在28日補請全隊選手。
2014年5月,由於正式實施全猿主場,時任義大犀牛的謝秉育領隊槓上劉玠廷領隊,劉玠廷認為如果無法配合,可以轉賣球隊。 謝秉育後來回嗆「年輕人不要太自大」, 一度提告,隔年經中華職棒會長吳志揚居中協調後撤告。
2015年6月,對於中華職棒增加球隊一事,劉玠廷表示,支持增加隊伍,讓球員有更多的發揮空間和機會,但這一條路還很長,畢竟要吸引外界企業,要真的有意願成立,因此這還是要靠大家和聯盟的努力。
2016年1月,面對石志偉受中信兄弟邀請擔任二軍打擊教練一事,直呼「有受騙的感覺」,並表示雙方說法有落差,不願再多說。
2017年3月,由於經典賽三連敗首爾,中華職棒唯一婉拒參賽的桃猿隊由劉玠廷領隊代表,受邀參加民視新聞台政論節目《政經看民視》及公共電視談話性節目《有話好說》,認為棒協長期對參賽的職棒選手沒有完善照顧,球團必須擔負球員受傷的風險,還以「自己開車撞到,別人借你的車去撞到,哪個你比較甘願」做為比喻,希望能落實國際賽事分級,一級賽事能交給職業聯盟組訓。
2018年6月,面對外界質疑其動紫大盛海報疑抄襲電影一級玩家、海報公布前未先告知電影公司華納等事,於2日下午親上火線開直播說明其為「翻玩」非抄襲,另外也特別力挺副領隊浦韋青,認為事情始末都已告知媒體,但無法控制各界言論。
註釋
參考資料
外部連結
台灣企業家
Lamigo桃猿人物
東海大學校友 (台灣)
福坦莫大學校友
台北市人
劉姓
| 49,943
|
https://gaming.stackexchange.com/questions/298247
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,017
|
Stack Exchange
|
English
|
Spoken
| 548
| 735
|
How exactly does targeting work during the fight phases?
The card minigame used to resolve encounters in Thea is a bit confusing at first, at least partially due to the lack of clear instructions.
I've got a pretty good grasp of it at this point, and the fight phase usually goes about as I expect, but sometimes I'm left wondering why one card attacked the card it did.
I don't have the exact wording from the tutorial on hand, but it said approximately
Each card will attack the closest card on the right or left.
That leaves a lot of questions. Is it deterministic or random? Is it circular, i.e. does it wrap around from each end? What's the tiebreaker if two cards are equal distance? Does it prefer right and only choose left if there's no right, or vice-versa?
So, what's the targeting algorithm during the fight phase, are there any random elements, and how do they work?
I checked the fandom Wiki page on the Card Game, but it wasn't very helpful. All it says is this:
During two combat phases cards attack each other from left to right
Which is either vague or inaccurate, depending on how you interpret it.
I then found this discussion on the Steam community forums. It includes some incomplete statements from a developer:
card attacks either closest enemy on right or closest enemy on left. Giving 50% chance each. It does not compare which of those two is closer.
and
we take closest enemy on right and closest enemy on left. if there is only one choice is simple, if we get that way two cards it will choose someone by coin toss :)
After this is a much better description from a user. It's referring to a setup described in a previous post as
E1-F1-F2-F3-E2
Where E1 and E2 are enemy cards and F1 - F3 are friendly cards:
E1 will always attack F1, then F2 (if it has a bashing weapon and kills F1).
E2 will always attack F3, then F2.
F1, F2, and F3 each have a 50/50 chance for which of the enemies they will attack.
It randomly picks either "right" or "left", then goes down the line in that direction and attacks the first enemy it finds.
The statement that E1 will always attack F1 implies that there is no wrapping around the edges. After reading over this information, I've played the game for dozens of hours, experimenting in the card game and paying close attention to the results. This last description appears to be accurate. So, here is the algorithm:
Targeting Algorithm
For each card played, and not confused in this phase, in order from left to right:
If there are no opposing cards, the fight is over.
If there is not an opposing card to the left, attack to the right. Otherwise, if there is not an opposing card to the right, attack to the left. Otherwise, if there are opposing cards on both sides, pick left or right at random.
Moving away from the attacking card in the chosen direction, choose the first opposing card encountered.
Attack that card. If it is defeated, and the attacking card has excess blunt damage, then repeat steps 2 and 3 once with the remaining damage.
| 40,239
|
|
https://arz.wikipedia.org/wiki/%D9%87%D9%8A%D8%B1%D9%85%D8%A7%D9%86%20%D8%A8%D9%88%D9%87%D9%84
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
هيرمان بوهل
|
https://arz.wikipedia.org/w/index.php?title=هيرمان بوهل&action=history
|
Egyptian Arabic
|
Spoken
| 82
| 231
|
هيرمان بوهل كان منافس العاب قوى من المانيا.
حياته
هيرمان بوهل من مواليد يوم 31 اكتوبر 1935 فى هاينسبيرج, مات فى 1 مارس 2014.
المشاركات
شارك فى:
الالعاب الاولمبيه الصيفيه 1960
العاب قوى
هى مجموعة رياضات متكونه من الجرى و المشى و الرمى و النط, كانت موجوده قبل الميلاد بايام الحضاره اليونانيه و بقت بعدين جزء اساسى من الالعاب الاولمبيه الى بتتنظم كل 4 سنين و بتتعرف بأم الألعاب.
لينكات برانيه
مصادر
منافس العاب قوى
العاب قوى
منافس العاب قوى من المانيا
| 21,970
|
https://de.wikipedia.org/wiki/Grundbegriff
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Grundbegriff
|
https://de.wikipedia.org/w/index.php?title=Grundbegriff&action=history
|
German
|
Spoken
| 535
| 1,024
|
Das Wort Grundbegriff wird mit mindestens zwei verschiedenen Bedeutungen verwendet: Die erste, umgangssprachliche allgemeine Bedeutung steht für einen inhaltlich grundlegenden Begriff. Die zweite, wissenschaftstheoretische Bedeutung bezeichnet formal den undefinierten Begriff einer Theorie, Wissenschaft etc., also ein Begriff innerhalb der Theorie oder Wissenschaft, der nicht mit Begriffen der Wissenschaft selbst definiert wird.
Der Grundbegriff in der umgangssprachlichen Bedeutung
Ein Grundbegriff ist ein grundsätzlicher Begriff; ein grundlegender, fundamentaler Sinngehalt oder eine einfachste, wesentliche Vorstellung, eine Auffassung von etwas, auf der weiter aufgebaut werden kann, eine elementare Voraussetzung.
Im Gegensatz zum Grundbegriff im Sinne der Wissenschaftstheorie geht es nicht (primär) um Undefiniertheit oder Undefinierbarkeit, sondern insbesondere um einen einfachen, grundlegenden Begriff eines Gebietes, (der definiert sein kann oder nicht).
Beispiel: In den nächsten Wochen werde ich Sie mit den Grundbegriffen der Chemie vertraut machen.
Beispiel: Emanation ist ein „Grundbegriff des Neuplatonismus“.
Der Grundbegriff im Sinne der Wissenschaftstheorie
Ein Grundbegriff (auch: Elementar- oder Basisbegriff) im Sinne der Wissenschaftstheorie ist ein Begriff, der zur Definition von abgeleiteten Begriffen benutzt wird. Grundbegriffe sind die Grundlage oder die Basis hierarchischer Begriffssysteme, durch die der begriffliche Bestand einer Disziplin oder allgemeiner eines Kenntnisgebietes bereitgestellt wird. Grundbegriffe, die zum Aufbau einer Grundlagendisziplin dienen, sind undefinierte Grundbegriffe. Grundbegriffe von Disziplinen, die selbst keine Grundlagendisziplinen sind, können mit Hilfe von Grundbegriffen grundlegenderer Disziplinen oder gar mit Hilfe von undefinierten Grundbegriffen abgeleitet werden. Die undefinierten Grundbegriffe einer Disziplin sind miteinander durch ganzheitliche Begriffssysteme verbunden.
Grundbegriffe der Disziplin der Schneiderei sind etwa Nadel, Faden, Schere oder Tuch. Diese sind ableitbar aus anderen Disziplinen der Metallverarbeitung oder der Textilherstellung. Typische undefinierte Grundbegriffe der Grundlagendisziplin der Physik sind etwa Raum, Zeit und Masse.
Grundbegriffe für alle Erkenntnisse überhaupt sind von Aristoteles und später von Kant angegeben und als Kategorien bezeichnet worden. In der Mathematik werden die undefinierten Grundbegriffe auch als axiomatische Grundbegriffe bezeichnet, weil sie zum Aufbau der mathematischen Axiomensysteme dienen. Nach dem Vorbild der Mathematik haben auch andere Disziplinen – wie etwa die Physik – versucht, ihr Wissensgebiet zu axiomatisieren und axiomatische Grundbegriffe einzuführen. Generell spricht man heute in der Wissenschaftstheorie von undefinierten Grundbegriffen, durch die die Begriffssysteme etwa der Grundlagenwissenschaften der Physik, der Religionswissenschaft, der Ethik, der Psychologie, der Rechtswissenschaft, der Volkswirtschaftslehre oder der Soziologie aufgebaut werden.
Es gibt in jedem begrifflichen System (Theorie, Wissenschaft) Grundbegriffe. Das heißt aber nicht, dass es absolute Grundbegriffe gibt, d. h. Begriffe, die in jedem System Grundbegriff sein müssen. Die Eigenschaft, Grundbegriff zu sein, ist also nur relativ je zu einem Begriffssystem.
In der modernen Wissenschaftstheorie sind in einem formalen Sinn Grundbegriffe elementare Begriffe, die in einer Wissenschaft, Theorie etc. selbst nicht definiert werden. In einem anderen materialen Sinn versteht man unter Grundbegriffen nicht definierbare Begriffe. Die Behauptung einer Undefinierbarkeit ist etwas anderes als die Praxis, einen Begriff nicht zu definieren.
Insbesondere in der Mathematik ist umstritten, ob Grundbegriffe „in einem axiomatischen System erschöpfend durch ihre Beziehungen zu den anderen Begriffen dargestellt“ werden – so Hilbert – oder nicht – so Gottlob Frege und Gödel.
In einer strengen Wissenschaftssprache gilt für Nominaldefinitionen die Regel, dass jeder verwendete Ausdruck entweder definiert wird oder ein nicht definierter Grundbegriff sein soll. Nach einem verbreiteten Wissenschaftsverständnis verlangt man in nicht axiomatisierten Wissenschaften von einem undefinierten Grundbegriff eine Selbstverständlichkeit (Evidenz) und/oder eine Art Intuition.
Einzelnachweise
Sprachphilosophie
Erkenntnistheorie
| 45,589
|
https://ceb.wikipedia.org/wiki/W%C4%81d%C4%AB%20Tifgas
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Wādī Tifgas
|
https://ceb.wikipedia.org/w/index.php?title=Wādī Tifgas&action=history
|
Cebuano
|
Spoken
| 74
| 124
|
Wadi ang Wādī Tifgas sa Libya. Nahimutang ni sa kasadpang bahin sa nasod, km sa habagatan-kasadpan sa Tripoli ang ulohan sa nasod.
Ang klima init nga kamadan. Ang kasarangang giiniton °C. Ang kinainitan nga bulan Hulyo, sa °C, ug ang kinabugnawan Enero, sa °C. Ang kasarangang pag-ulan milimetro matag tuig. Ang kinabasaan nga bulan Marso, sa milimetro nga ulan, ug ang kinaugahan Hunyo, sa milimetro.
Ang mga gi basihan niini
Mga suba sa Libya
| 16,721
|
https://stackoverflow.com/questions/59998155
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,020
|
Stack Exchange
|
English
|
Spoken
| 37
| 66
|
Unsatisfied version (jspdf) in stackblitz
When I try to install jspdf in stackblitz.com, its showing the below error.
Failure: Unsatisfied Version Range
Unable to resolve package
Please try installing a different version or range
Thank You
Bobbin
| 49,255
|
|
https://fa.wikipedia.org/wiki/%D9%86%D8%A7%D8%B1%DB%8C%D9%86%DA%98%DB%8C%D9%86
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
نارینژین
|
https://fa.wikipedia.org/w/index.php?title=نارینژین&action=history
|
Persian
|
Spoken
| 40
| 181
|
نارینژین با فرمول شیمیایی C۲۷H۳۲O۱۴ یک ترکیب شیمیایی با شناسه پابکم ۴۴۲۴۲۸ است. که جرم مولی آن ۵۸۰٫۵۴ g/mol میباشد.
جستارهای وابسته
ترکیب شیمیایی
نامگذاری اتحادیه بینالمللی شیمی محض و کاربردی
منابع
ترکیبهای تلخ
زردینههای موجود در سدابیان
گلیکوزیدهای فلاوانون
| 8,847
|
https://en.wikipedia.org/wiki/Marielys%20Rojas
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Marielys Rojas
|
https://en.wikipedia.org/w/index.php?title=Marielys Rojas&action=history
|
English
|
Spoken
| 233
| 391
|
Marielys Rojas (or Marierlis Rojas, born April 30, 1986) is Venezuelan athlete specializing in the high jump. Her personal best in the event is 1.90 meters achieved in 2008 in Ponce. This is the current national record.
Doping
On 27 October 2011, she was tested positive for the abuse of
Norandrosterone. As a consequence, she was stripped of her silver medal
obtained in the high jump, event at the Pan American Games and declared to be ineligible to compete for two years until 21 November 2013. Another source reports here disqualification as early as 16 July 2011
due to IAAF Rule 32.2.a.
Personal bests
High jump: 1.90 m – Ponce, 29 March 2008
Triple jump: 12.59 m (wind: +1.6 m/s) – Barquisimeto, 26 June 2004
Competition record
†: Disqualified because of doping.
‡: Might be disqualified because of doping (to be verified).
References
External links
1986 births
Living people
Venezuelan female high jumpers
Athletes (track and field) at the 2011 Pan American Games
Doping cases in athletics
South American Games gold medalists for Venezuela
South American Games silver medalists for Venezuela
South American Games medalists in athletics
Competitors at the 2002 South American Games
Competitors at the 2006 South American Games
Pan American Games medalists in athletics (track and field)
Pan American Games silver medalists for Venezuela
Medalists at the 2011 Pan American Games
Sportspeople from Carabobo
20th-century Venezuelan women
21st-century Venezuelan women
| 4,827
|
https://nl.wikipedia.org/wiki/Hermann%20von%20Wissmann%20%28ontdekkingsreiziger%29
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Hermann von Wissmann (ontdekkingsreiziger)
|
https://nl.wikipedia.org/w/index.php?title=Hermann von Wissmann (ontdekkingsreiziger)&action=history
|
Dutch
|
Spoken
| 344
| 653
|
Hermann von Wissmann (Frankfurt (Oder), 4 september 1853 - Weißenbach bei Liezen, 15 juni 1905) was een Duitse ontdekkingsreiziger. Hermann Wissmann werd op 3 februari 1889 door keizer Wilhelm II van Duitsland in een "Allerhöchste Kabinettsorder" in de adelstand verheven en mocht zich sindsdien v. Wissmann noemen.
Hij heeft vooral in Afrika gereisd en was van 26 april 1895 tot 3 december 1896 gouverneur in Duits-Oost-Afrika.
Voor deze tijd heeft hij als ontdekkingsreiziger in Afrika gereisd. Zo heeft Von Wissmann onder andere in opdracht van koning Leopold II van België van 1883 tot 1885 door Centraal-Afrika langs de Kongostroom gereisd tot aan de Zambezi. Zijn motto was "Inveniam viam aut faciam", wat kan worden vertaald met "Waar ik geen weg vind, baan ik er een".
In Midden-Afrika bestreed Wissmann met succes de daar nog bloeiende Arabische slavenhandel. In Zuidwest-Afrika trad hij als een brute onderdrukker op die het gebied met terreur, krijgsraden, galgen en vuurpelotons onder Duits gezag bracht. Hermann von Wissmann is daarom nog steeds omstreden en straten die naar hem werden genoemd werden later weer omgedoopt.
Onderscheidingen
Von Wissmann werd 3 september 1894 met de IIIe Klasse met de Zwaarden en de Kroon van de Orde van de Rode Adelaar gedecoreerd. Behalve deze bijzondere onderscheiding droeg hij het grootkruis van de Orde van de Stralende Ster van de sultan van Zanzibar en was hij grootofficier in de Huisorde van de Wendische Kroon en commandeur in de Piusorde van de Heilige Stoel. Hij was ook gedecoreerd met onder meer de Kroonorde, de Orde van de Witte Valk van Saksen-Weimar, het officierskruis met de Zwaarden van de Leopoldsorde van België en dat van de Orde van Mejidie van Turkije.
Von Wissmann droeg ook de "Afrikaanse Dienstster" van de semi-onafhankelijke Kongo-Vrijstaat en een Eresabel die hij met verlof van de keizer bij zijn Pruisische uniform mocht dragen.
Externe links
"Finde ich keinen Weg, so bahne ich mir einen." Der umstrittene 'Kolonialheld' Hermann von Wissmann. Thomas Morlang
Archief Hermann von Wissman, Koninklijk museum voor Midden-Afrika
Duits ontdekkingsreiziger
Ontdekkingsreiziger van Afrika
Persoon uit de Duitse koloniale geschiedenis
| 6,826
|
https://en.wikipedia.org/wiki/All%20Saints%20Church%2C%20Peshawar
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
All Saints Church, Peshawar
|
https://en.wikipedia.org/w/index.php?title=All Saints Church, Peshawar&action=history
|
English
|
Spoken
| 458
| 644
|
All Saints' Church located inside the Kohati Gate of the old walled city of Peshawar in Khyber Pakhtunkhwa, Pakistan, is a parish of the Church of Pakistan. It is an architecturally unique place of Christian worship that bears a striking resemblance to a saracenic mosque with minarets and a dome.
History
The Church was opened on St. John's Day, 27 December 1883. Although original memorials in the church record early European benefactors and the names of mission staff, from the outset the church was described as a native Christian church built for the indigenous population of Peshawar. The first pastor of the church was the Rev. Imam Shah.
The foundation stone of the church was laid by Captain Graves whose widow presented the brass desk on the Lord's Table. A local architect, under the supervision of Church Missionary Society staff including the Rev. Thomas Hughes, was responsible for the design of the building. The building is cruciform in layout with the chancel at the west end. A plaque records: "This church is erected to the Glory of God and dedicated to the memory of All Saints in the year of our Lord Jesus Christ 1883."
Attack by terrorists
On September 22, 2013, two suicide bombers carried out an attack outside the church at the end of a Sunday service, killing 127 people and injuring 170. 600 parishioners were on the front lawn of the church, having lunch, when two bombers detonated themselves, leaving the church scattered with body parts. Victims included an estimated 37 children. TTP Jundullah, linked to the Taliban, said it had carried out the attack on the Christian congregation, saying, "We will continue our attacks on non-Muslims on Pakistani land."
This was the second attack on churches in the province of Khyber Pakhtunkhwa in a year, where another church in Mardan was burnt exactly a year before this incident.
On January 30, 2022, two clergymen from the church were shot dead by attackers approaching on a motorcycle as they went from the church to the clergy house attached to the church. Pastor William Siraj was killed instantly and Revd. Patrick Naeem was injured and died later of his wounds. On the occasion of the killings Azad Marshall, senior Bishop of the Church of Pakistan condemned the attack and said "We demand justice and the protection of Christians by the government of Pakistan."
References
Further reading
Jan, A. 'Mosque-like', brief, cursory article, in the Footloose section, The News on Sunday, April 15, 2008.
Hughes, TP. All Saints' Memorial Church, n.p, 1855.
External links
All Saints' Church Peshawar by Thomas Patrick Hughes
Churches in Peshawar
Church of Pakistan church buildings in Pakistan
Churches completed in 1883
1883 establishments in British India
19th-century Anglican church buildings in Pakistan
| 21,901
|
https://ceb.wikipedia.org/wiki/Lac%20Arion%20%28lanaw%20sa%20Outaouais%29
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Lac Arion (lanaw sa Outaouais)
|
https://ceb.wikipedia.org/w/index.php?title=Lac Arion (lanaw sa Outaouais)&action=history
|
Cebuano
|
Spoken
| 155
| 254
|
Alang sa ubang mga dapit sa mao gihapon nga ngalan, tan-awa ang Lac Arion.
Lanaw ang Lac Arion sa Kanada. Nahimutang ni sa kondado sa Outaouais ug lalawigan sa Québec, sa habagatan-sidlakang bahin sa nasod, km sa amihanan-kasadpan sa Ottawa ang ulohan sa nasod. metros ibabaw sa dagat kahaboga ang nahimutangan sa Lac Arion. Lac Arion nga nahimutang sa mga lanaw sa Lac Cabu Lac Cupule Lac Kergus Lac Neurone Lac Vlasmer, ug Lac Wisopchidick. Ang kinahabogang dapit sa palibot dunay gihabogon nga ka metro ug km sa amihanan sa Lac Arion. Hapit nalukop sa lasang nga sagolsagol ang palibot sa Lac Arion.
Ang klima hemiboreal. Ang kasarangang giiniton °C. Ang kinainitan nga bulan Hulyo, sa °C, ug ang kinabugnawan Enero, sa °C. Ang kasarangang pag-ulan milimetro matag tuig. Ang kinabasaan nga bulan Oktubre, sa milimetro nga ulan, ug ang kinaugahan Pebrero, sa milimetro.
Saysay
Ang mga gi basihan niini
Mga lanaw sa Québec (lalawigan)
| 39,921
|
https://zh.wikipedia.org/wiki/%E5%BC%97%E4%BC%A6%E5%BE%B7%E5%B8%8C%E6%99%AE
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
弗伦德希普
|
https://zh.wikipedia.org/w/index.php?title=弗伦德希普&action=history
|
Chinese
|
Spoken
| 3
| 155
|
弗伦德希普()是位于美国纽约州阿利根尼县的一个镇,地处阿利根尼县中部、奥利安东北。2010年美国人口普查时,该镇有2004人。其面积为36.2平方英里。此地初建时冲突频发,故当时得名“血腥之角”()。后来随着争执的和解,该镇改以“友谊”()为名。
参考文献
纽约州城镇
| 39,595
|
https://id.wikipedia.org/wiki/Nicoletta
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Nicoletta
|
https://id.wikipedia.org/w/index.php?title=Nicoletta&action=history
|
Indonesian
|
Spoken
| 78
| 183
|
Nicoletta Grisoni (nama panjangnya Nicole Fernande Grisoni-Chappuis, lebih dikenal dengan mononimnya Nicoletta) () adalah penyanyi pop berkebangsaan Prancis. Menjadi sangat populer di radio dan televisi Prancis, di mana ia memiliki sejumlah hits pada 1960-an dan 1970-an, ia dianggap sebagai bagian dari apa yang dikenal sebagai generasi yé-yé Prancis yang sangat dipengaruhi oleh musik Amerika, khususnya Irama dan blues, Rock and roll dan musik Beat. Dia lebih dikenal dengan versi "Mamy Blue".
Referensi
Pranala luar
Official website
Penyanyi Prancis
| 22,216
|
https://stackoverflow.com/questions/38657099
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,016
|
Stack Exchange
|
Venetian
|
Spoken
| 137
| 556
|
Ionic navbar hides hamburger icon
I am new to angular and ionic and would was trying to make an app
<ion-side-menus >
<ion-side-menu-content>
<ion-nav-bar class="bar-assertive nav-title-slide-ios7">
<button menu-toggle="left" class="button button-icon icon ion-navicon"></button>
</ion-nav-bar>
<ion-nav-view></ion-nav-view>
</ion-side-menu-content>
</ion-side-menu-content>
<ion-side-menu side="left">
<ion-header-bar class="bar-energized ">
<h1 class="title">My Test</h1>
</ion-header-bar>
<ion-content class="has-header">
<ion-list>
<ion-item href="#/" class="item-icon-left" menu-close><i class="icon ion-home"></i> Home</ion-item>
</ion-list>
</ion-content>
</ion-side-menu>
My side menu hamburger icon doesnt show up and is always hidden behind the navbar.If i remove the navbar then the icon is visible! how to resolve this please help!
Working code.. Use Ion header .You was using 2 times
<ion-side-menus >
<ion-side-menu-content>
<ion-header-bar class="bar-positive">
<button menu-toggle="left" class="button button-icon icon ion-navicon"></button>
<h1 class="title" >Slider </h1>
</ion-header-bar>
</ion-side-menu-content>
<ion-side-menu side="left">
<ion-header-bar class="bar-energized ">
<h1 class="title">My Test</h1>
</ion-header-bar>
<ion-content class="has-header">
<ion-list>
<ion-item href="#/" class="item-icon-left" menu-close><i class="icon ion-home"></i> Home</ion-item>
</ion-list>
</ion-content>
</ion-side-menu>
| 47,356
|
|
https://nl.wikipedia.org/wiki/Rejoso
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Rejoso
|
https://nl.wikipedia.org/w/index.php?title=Rejoso&action=history
|
Dutch
|
Spoken
| 73
| 152
|
Onderdistrict in Indonesië
Rejoso (Nganjuk), een onderdistrict in het bestuurlijke gebied Nganjuk in de provincie Oost-Java
Rejoso (onderdistrict van Pasuruan), een onderdistrict in het bestuurlijke gebied Pasuruan in de provincie Oost-Java
Plaats in Indonesië
Rejoso (Jogonalan), een plaats in het bestuurlijke gebied Klaten in de provincie Midden-Java
Rejoso (Binangun), een plaats in het bestuurlijke gebied Blitar in de provincie Oost-Java
Rejoso (Rejoso), een plaats in het bestuurlijke gebied Nganjuk in de provincie Oost-Java
| 2,695
|
https://en.wikipedia.org/wiki/Kahula%2C%20Estonia
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Kahula, Estonia
|
https://en.wikipedia.org/w/index.php?title=Kahula, Estonia&action=history
|
English
|
Spoken
| 17
| 38
|
Kahula is a village in Jõhvi Parish, Ida-Viru County in northeastern Estonia.
References
Villages in Ida-Viru County
| 14,747
|
https://tt.wikipedia.org/wiki/%D0%92%D0%B8%D0%BB%D1%8C%D1%8F%D1%81%D0%B8%D0%B4%D0%B0%D0%BB%D0%B5%D1%80
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Вильясидалер
|
https://tt.wikipedia.org/w/index.php?title=Вильясидалер&action=history
|
Tatar
|
Spoken
| 42
| 164
|
Вильясидалер () — Испаниянең Паленсия провинциясендә урнашкан муниципалитет.
Географиясе
Муниципалитет мәйданы — . Диңгез дәрәҗәсе өстеннән биеклектә урнашкан.
Халкы
Искәрмәләр
Чыганаклар
Datos del registro de Entidades Locales Ministerio de Hacienda y Administraciones Públicas
Испания муниципалитетлары
Паленсия провинциясе муниципалитетлары
Әлифба буенча торак пунктлар
| 11,829
|
https://en.wikipedia.org/wiki/Kings%20Theatre%20%28Brooklyn%29
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Kings Theatre (Brooklyn)
|
https://en.wikipedia.org/w/index.php?title=Kings Theatre (Brooklyn)&action=history
|
English
|
Spoken
| 862
| 1,165
|
The Kings Theatre, formerly Loew's Kings Theatre, is a live performance venue in the Flatbush neighborhood of Brooklyn, New York City. Opened by Loew's Theatres as a movie palace in 1929 and closed in 1977, the theater sat empty for decades until a complete renovation was initiated in 2010. The theater reopened to the public on January 23, 2015 as a performing arts venue. It was listed on the National Register of Historic Places on August 22, 2012.
History
Loew's Kings Theatre was designed by the architectural firm of Rapp and Rapp. The interior decor was designed by Harold W. Rambusch, with influences from the Palace of Versailles and Paris Opera House. It was built and operated by the Loew's Theatres chain, and was one of the five "Loew's Wonder Theatres" in the New York metropolitan area. This 3,676 seat house originally presented shows that combined movies and live vaudeville. It opened September 7, 1929, with a program that included the film Evangeline, a live stage show, orchestra and solo pipe organ. The film's star, Dolores del Río made a special live appearance. With the decline of vaudeville, however, the theater soon converted to showing feature films only.
On August 30, 1977, the Loew's Kings closed. Its final film was Bruce Lee: The Man, The Myth. After the time of its closing, when its lavish 1929 interior was almost completely intact, the shuttered theater slowly deteriorated. Extensive physical damage was sustained to the Kings's interior as a result of decades of neglect, water damage and vandalism. The roof was belatedly repaired in 1991, and again in 2007 to halt further deterioration. It has been owned by the City of New York since 1979. After closing, the theater was subject of a film documentary, Memoirs of a Movie Palace.
Renovation
After having been the object of numerous proposals for its restoration over the previous thirty years, the Kings Theatre underwent a complete renovation. The City of New York announced the plan on February 2, 2010, with a goal of returning the theatre to use as a performing arts venue. The $93 million renovation was completed in partnership with a private developer, ACE Theatrical Group of Houston, which had previously overseen major restorations of a number of historic theaters including the Boston Opera House.
The new managers, ACE Theatrical Group, spent $95 million on the renovation, including over $75,000 just on the restoration of the lobby furniture, which had been saved for four decades by the theater's old manager.
The theater's interior spaces were restored to their 1929 appearance, and its stage facilities completely rebuilt to modern standards. Restoration work in the auditorium and lobby was underway and nearing completion through late 2014. Diana Ross was the featured artist for the gala reopening performance on February 3, 2015.
Organ
When the Loew's Kings Theatre opened it was equipped with a Robert Morton theatre pipe organ. The instrument contained 23 ranks of pipes played on an elaborately decorated four manual console, one of Robert Morton's "Wonder Morton" designs, installed in all the Loew's Wonder Theatres. The organ was popular with audiences and was featured in performances between film showings. The organ remained in good condition and was played one last time in 1974 prior to its being removed and donated by the Loew's company to New York City's Town Hall. The instrument was never reinstalled however, and most of its pipes and works disappeared while in storage. In 1998, the lavish console was rebuilt for use with a comparable pipe organ in a private home in Wheaton, Illinois.
The Van der Molen family sent a "Deed of Gift" for their now 4/26 Wonder Morton to the New York Theatre Organ Society (NYTOS) on July 13, 2011. In 2013 the organ was removed from the family's home and placed in storage for an anticipated return to the restored Kings Theatre. The renovation project budget however did not provide for transport and re-installation of the organ, estimated to cost $650,000. An engineering evaluation determined that the already installed mechanical renovations took up room in the former organ lofts that the pipes would need. It was decided that an electronic organ, played through the theatre's original console, would offer the most feasible solution. In December 2014 ACE agreed to assist in the development of an electronic reproduction of the Wonder Morton. The donated pipe work would be sold or donated to a suitable venue.
References
Notes
External links
Page for Loew's Kings Theatre at the Cinema Treasures website
NYC Economic Development Corp - Loews Kings Theatre Restoration Project
New York Times - Restoration of Loew’s Kings Theatre Slideshow
Brooklyn Eagle - Loew's Kings To Be Transformed Into ‘Wonder Theater’ Once Again
2011 Photos of Kings Theatre
Memoirs of a Movie Palace (1980 documentary) from archive.org
1929 establishments in New York City
Cinemas and movie theaters in New York City
Movie palaces
Theatres in Brooklyn
Theatres completed in 1929
Loew's Theatres buildings and structures
Buildings and structures on the National Register of Historic Places in New York City
National Register of Historic Places in Brooklyn
Theatres on the National Register of Historic Places in New York City
Flatbush, Brooklyn
| 34,826
|
https://fr.wikipedia.org/wiki/Patriot%20%28Worlds%20of%20Fun%29
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Patriot (Worlds of Fun)
|
https://fr.wikipedia.org/w/index.php?title=Patriot (Worlds of Fun)&action=history
|
French
|
Spoken
| 105
| 181
|
Patriot sont des montagnes russes inversées du parc Worlds of Fun, situé à Kansas City dans le Missouri, aux États-Unis.
Le circuit
Statistiques
Capacité : 1160 personnes par heure
Trains : 2 trains de 7 wagons. Les passagers sont placés 4 de front par rangée pour un total de 28 passagers par train.
Notes et références
Voir aussi
Liens internes
Montagnes russes inversées
Worlds of Fun
Bolliger & Mabillard
Liste des montagnes russes de Bolliger & Mabillard
Banshee
Liens externes
Fiche de Patriot (RollerCoaster DataBase)
Montagnes russes en métal
Montagnes russes inversées
Bolliger & Mabillard
Attraction d'un parc Cedar Fair
Montagnes russes dans le Missouri
| 33,275
|
https://stackoverflow.com/questions/78198785
|
StackExchange
|
Open Web
|
CC-By-SA
| null |
Stack Exchange
|
English
|
Spoken
| 501
| 1,693
|
Getting concise error message with python subprocess logging and traceback
I am writing an automatic program which I wish to run through errors and gather information. With my current setup I get the following example logging for one loop instance:
2024-03-21 10:14:44,843 - ERROR - error processing shot '20221201.033':
Traceback (most recent call last):
File "/home/Desktop/Code/git/populate_database.py", line 76, in <module>
raise Exception(f"n{stderr.decode()}")
Exception: n
Fetching parlog information for shot 20221201.033 from archive: 0%| | 0/5 [00:00<?, ?it/s]
Fetching parlog information for shot 20221201.033 from archive: 0%| | 0/5 [00:00<?, ?it/s]
Mapping rates : 0%| | 0/10 [00:00<?, ?it/s]
Mapping rates : 100%|██████████| 10/10 [00:00<00:00, 3360.28it/s]
Calculating impurity densities : 0%| | 0/10 [00:00<?, ?it/s]
Calculating impurity densities : 80%|████████ | 8/10 [00:00<00:00, 73.92it/s]
Calculating impurity densities : 100%|██████████| 10/10 [00:00<00:00, 73.91it/s]
Updating profile: 0%| | 0/10 [00:00<?, ?it/s]
Updating profile: 20%|██ | 2/10 [00:00<00:00, 8.86it/s]
Updating profile: 100%|██████████| 10/10 [00:00<00:00, 34.81it/s]
Updating profile: 100%|██████████| 10/10 [00:00<00:00, 29.59it/s]
Assessing convergence: 0%| | 0/10 [00:00<?, ?it/s]
Assessing convergence: 100%|██████████| 10/10 [00:00<00:00, 84054.19it/s]
Traceback (most recent call last):
File "/home/Desktop/Code/git/Examples/Program_runfiles/20221201.033.py", line 37, in <module>
data.run(
File "/home/Desktop/Code/git/eval.py", line 348, in run
self.run_post_methods()
File "/home/Desktop/Code/git/eval.py", line 469, in run_post_methods
_store_grad_length(
File "/home/Desktop/Code/git/utilities/write_locally.py", line 103, in _store_grad_length
dictionary_added["tau_e"] = _get_energy_confinement_time(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/Desktop/Code/git/utilities/fetch_data.py", line 293, in _get_energy_confinement_time
w_dia_spline = UnivariateSpline(t_w_dia, w_dia, k=4, s=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/anaconda3/lib/python3.11/site-packages/scipy/interpolate/_fitpack2.py", line 236, in __init__
data = dfitpack.fpcurf0(x, y, k, w=w, xb=bbox[0],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
dfitpack.error: (m>k) failed for hidden m: fpcurf0:m=0
Within the full console log above, I am only interested in logging the following part containing the error:
Traceback (most recent call last):
File "/home/Desktop/Code/git/Examples/Program_runfiles/20221201.033.py", line 37, in <module>
data.run(
File "/home/Desktop/Code/git/eval.py", line 348, in run
self.run_post_methods()
File "/home/Desktop/Code/git/eval.py", line 469, in run_post_methods
_store_grad_length(
File "/home/Desktop/Code/git/utilities/write_locally.py", line 103, in _store_grad_length
dictionary_added["tau_e"] = _get_energy_confinement_time(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/Desktop/Code/git/utilities/fetch_data.py", line 293, in _get_energy_confinement_time
w_dia_spline = UnivariateSpline(t_w_dia, w_dia, k=4, s=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/anaconda3/lib/python3.11/site-packages/scipy/interpolate/_fitpack2.py", line 236, in __init__
data = dfitpack.fpcurf0(x, y, k, w=w, xb=bbox[0],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
dfitpack.error: (m>k) failed for hidden m: fpcurf0:m=0
My current code consists of the following try except method:
from subprocess import Popen, PIPE, STDOUT, DEVNULL
logging.basicConfig(filename='error.log', level=logging.ERROR, format='%(asctime)s - %(levelname)s - %(message)s')
try:
# run the file for the shot with error handling
process = Popen(["python", dest_file], stdout=DEVNULL, stderr=PIPE)
# wait while file is running
process.wait()
# get the console error of the subprocess
stderr = process.communicate()[1]
# close all figures and clear console
plt.close()
os.system('clear')
# if we encountered an error raise it
if stderr:
raise Exception(f"n{stderr.decode()}")
# except the raised error and log the error
except Exception as e:
# Log the shot name along with the traceback info
logging.error(f"error processing shot '{shot_name}':", exc_info=True)
How could I filter out the relevant part and log it?
Given it looks like you're only interested in any Python traceback, and presumably that would be the last thing printed, you can use rpartition to split the text at the last instance of the Traceback (most recent call last): header:
if stderr:
error = stderr.decode()
error = error.rpartition("Traceback (most recent call last):\n")[-1]
raise Exception(error)
| 21,771
|
|
https://war.wikipedia.org/wiki/Epibryon%20conductrix
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Epibryon conductrix
|
https://war.wikipedia.org/w/index.php?title=Epibryon conductrix&action=history
|
Waray
|
Spoken
| 67
| 130
|
An Epibryon conductrix in uska species han Fungi in nahilalakip ha divisio nga Ascomycota, ngan nga syahan ginhulagway ni Norman ngan Theodor 'Thore' Magnus Fries, ngan ginhatag han pagkayana nga asya nga ngaran ni Nikolaus Hoffmann och Joseph Josef Hafellner hadton 2000. An Epibryon conductrix in nahilalakip ha genus nga Epibryon, ngan familia nga Pseudoperisporiaceae. Waray hini subspecies nga nakalista.
Mga kasarigan
Mga sumpay ha gawas
Epibryon
| 9,602
|
https://de.wikipedia.org/wiki/Edmund%20Friedrich
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Edmund Friedrich
|
https://de.wikipedia.org/w/index.php?title=Edmund Friedrich&action=history
|
German
|
Spoken
| 235
| 442
|
Edmund Friedrich (* 15. April 1826 in Bischofswerda; † 11. Februar 1912 in Dresden) war ein deutscher Arzt (Balneologie).
Der Sohn des Bischofswerder Archidiakons Karl Gottlieb Friedrich (1770–1830) wuchs nach dem frühen Tod seiner Eltern bei Verwandten in Dresden auf, wo er ab 1836 die Kreuzschule besuchte. Ostern 1845 begann er an der Universität Leipzig Jura zu studieren, wechselte aber nach einem halben Jahr zur Medizin. Nach dem ersten Examen führten ihn seine Studien nach Heidelberg, doch kehrte er schnell wieder nach Leipzig zurück, wo er 1850 promoviert wurde. Zu seinen Lehrern gehörten Johann Ritter von Oppolzer, Anton von Jaksch und Karl von Pfeufer. Danach war er praktischer Arzt in Dresden. 1852 bis 1855 war er Hilfsarzt in der Dresdner Kinderheilanstalt. Friedrich studierte auf Reisen nach Schweden und Norwegen die schwedische Heilgymnastik. Er war auch Militärarzt und nahm an den Kriegen von 1866 und 1870/71 teil (Oberarzt im Kriegslazarett in Dresden, 1871 Führer des Sanitätszugs des 12. Armeekorps).
Er trug zur Real-Encyclopädie der gesammten Heilkunde von Albert Eulenburg bei. Von ihm stammen viele Beiträge in Zeitschriften und Bücher über Kurorte und Seebäder an der Nordsee, nicht nur in Deutschland, sondern auch in Holland und Belgien.
Literatur
Julius Pagel: Biographisches Lexikon hervorragender Ärzte des neunzehnten Jahrhunderts. Berlin, Wien 1901, Sp. 552–553 (zeno.org).
Frank Fiedler, Uwe Fiedler: Lebensbilder aus der Oberlausitz S. 78–83 (archive.org).
Weblinks
Stadtwiki Dresden
Mediziner (19. Jahrhundert)
Deutscher
Geboren 1826
Gestorben 1912
Mann
Badearzt
| 7,327
|
https://es.wikipedia.org/wiki/Jimmy%20Gardner
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Jimmy Gardner
|
https://es.wikipedia.org/w/index.php?title=Jimmy Gardner&action=history
|
Spanish
|
Spoken
| 104
| 174
|
Jimmy Gardner (24 de agosto de 1924 – 3 de mayo de 2010) fue un actor británico. Fue conocido por interpretar a Ernie Prang, el conductor del autobús noctámbulo, en la película de Harry Potter y el prisionero de Azkaban, la tercera adaptación cinematográfica de la serie fílmica de Harry Potter. Su primera aparición fue en la película de The Curse of the Mummy's Tomb, estrenada en 1964. Desde dicha aparición apareció en más de treinta películas y también realizó participaciones especiales en la televisión y el teatro.
Referencias
Enlaces externos
Actores de cine de Inglaterra
Actores de televisión de Inglaterra
Fallecidos en Londres
| 37,799
|
https://stackoverflow.com/questions/53455871
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,018
|
Stack Exchange
|
halfer, https://stackoverflow.com/users/472495, https://stackoverflow.com/users/5758383, whizboy
|
English
|
Spoken
| 814
| 1,283
|
What is the difference among app.use(), app.get () , router.get() and router.use() in Express js?
I still don't know the difference between these end points, and the end they are all routes but I don't know when or where should I use it? In what scenario?
app.use('/user/:id', function (req, res, next) {
console.log('Request Type:', req.method)
next()
});
app.get('/user/:id', function (req, res, next) {
res.send('USER')
});
router.get('/user/:id', function (req, res, next) {
res.send('USER')
});
router.use('/user/:id', function (req, res, next) {
res.send('USER')
});
I you guys can help me out with this.
By default, .use() has two main differences with .get().
.get() will only match GET requests, .use() will match any type of request (POST, PUT, GET, etc...)
If you supply a path to .use(), it is more liberal in its matching and it will match if the path "starts" with the path you pass to .use(). It is done this way so you can set up a middleware handler that will fire for a broad set of URLs, not just a single URL. .get() is more often used with constrained URLs like one specific URL.
app.get() is pretty much the same as router.get(). The app object is a router that also has some other properties and methods on it. So, most any method from a router object is also on the app object, but not vice versa.
You might use a router instead of the app object for a variety of reasons:
Code modularity. A module creates it's own router, sets up a bunch of routes on it and then exports the single router which the caller can then add to the current app.
You have a bunch of routes all with the same prefix and find it cleaner to set up a router for that common prefix and then just put the routes on that router without having to specify the prefix in every one of them.
To create a set of routes that share the same middleware processing, but other routes in your app do not share that middleware processing. In this case, you create the router, put some middleware on it and then define routes on that router. The middleware will only fire for routes that are routed to this router.
Some examples:
// matches /hello and /hello/hi and /hello/goodbye for GET, POST or PUT
app.use('/hello', ...);
// matches only a GET request for /hello
app.get('/hello', ...);
An example of using a router to help with modularity.
A module with some routes defined in it:
// some_routes.js
const router = require('express').Router();
router.use(someMiddlewareForWholeRouter);
router.get('/hello', ...);
router.get('/goodbye', ...);
router.get('/callme', ...);
module.exports = router;
Using that module in your app:
// app.js
const some_routes = require('./some_routes.js');
// hook up all routes from some_routes with the path prefix of /greeting
app.use('/greetings', some_routes);
.use() and .get() difference is .use() will listen any type of request and .get() will listen only GET request like .post() .put() etc.
For routers you can think it as a sub route.
For example you can do something like this.
router.get('/:id', (req, res, next) => {res.send('user')})
router.post('/', (req, res, next) => {/* some create user logic */})
app.use('/user', router) // if you do this routers will match '/user/:id' and '/user' path
and of course you can have multiple routers in same app. So your code can be more structured.
In short, for the objects:
The Express app can be routed all by itself, you can only have one app
in the whole codebase hence if in need to modularize several routings without having to pass the app reference, down we rather can have several routers and import them up into the root app.
A router is a dedicated tool for routing to which you can have several of and then hook up with the Express app.
For the methods now:
use() is a wrapper over base methods, where you can specify common resources such as middleware across several base endpoints, while
get() is used to specify the endpoint atop any specified prior routes specified in its use() wrapper.
Bergi's advice may benefit from some expansion. I think what they were getting at is that when material is quoted (using the quote device >) it must have come from somewhere - documentation, wikis, articles, speeches, TV shows, etc. That is the semantic meaning of a quote block, even though sometimes it gets used as a general highlighter or break-out block. I've removed the quote device, to show that the text was in your voice, and not someone else's.
aha thank you i have understood then, you are right i was use it to highlight. How now can i highlight a section i want to stand out as distinct?
Markdown (at least as implemented by Stack Overflow) does not offer break-out boxes. Perhaps a Note: prefix would have to do. Italics for a whole paragraph might work, but it could just end up looking over-formatted.
| 34,337
|
https://war.wikipedia.org/wiki/Phaeocryptopus
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Phaeocryptopus
|
https://war.wikipedia.org/w/index.php?title=Phaeocryptopus&action=history
|
Waray
|
Spoken
| 40
| 94
|
An Phaeocryptopus in uska genus han Fungi. An Phaeocryptopus in nahilalakip ha ordo nga Dothideales, classis nga Dothideomycetes, phylum nga Ascomycota, ngan regnum nga Fungi.
An kladograma hini sumala ha Catalogue of Life:
Mga kasarigan
Mga sumpay ha gawas
Phaeocryptopus
| 49,041
|
https://fr.wikipedia.org/wiki/Guiffrey
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Guiffrey
|
https://fr.wikipedia.org/w/index.php?title=Guiffrey&action=history
|
French
|
Spoken
| 40
| 91
|
Guigues Guiffrey (1497-1545): chevalier français,
Georges Guiffrey (1827-1887) : homme de lettres et politique français,
Jules Guiffrey (1840-1918) : historien de l'art français.
Jean Guiffrey (1870-1952) : conservateur du département des peintures du musée du Louvre, historien de l'art français
| 28,643
|
https://stackoverflow.com/questions/76343757
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,023
|
Stack Exchange
|
David Wood, cmgchess, https://stackoverflow.com/users/13583510, https://stackoverflow.com/users/787971
|
English
|
Spoken
| 267
| 600
|
How to do a mongo join query on optional fields
I'm using Mongod 5.07 on Windows. I would like to perform a join between two collections where I specify a match/where clause on an optional field in the joined table. I have the following collections (for demonstration purposes only),
sessions collection
{ "_id" : ObjectId("6471024b01a1111088835c33"), "chat_id" : "4" }
and an item in the events collection
{ "_id" : ObjectId("6471024b01a1111088835c34"), "chat_id" : "3" }
{ "_id" : ObjectId("6471024b01a1111088835c36"), "chat_id" : "4", "transcript": ["t2"] }
My aggregate statement uses the following:
query = [
{
"$lookup":{
"from":"events",
"localField":"chat_id",
"foreignField":"chat_id",
"let":{
"transcript":"$transcript"
},
"pipeline":[
{
"$match":{
"$expr":{
"$in":[
"t2",
"$$transcript"
]
}
}
}
],
"as":"events"
}
}
]
db.sessions.aggregate(query).forEach(printjson)
but I end up getting an error for what appears to be the missing transcript field
"PlanExecutor error during aggregation :: caused by :: $in requires an array as a second argument, found: missing"
I am hoping to get a solution that is independent of the field type (i.e. not array specific, perhaps using $exists). Any thoughts?
"transcript":{"$ifNull":["$transcript", []]} and in pipeline $$transcript ? https://mongoplayground.net/p/LPfhKcEiq8z
Thanks, but your example has the transcript fields on the session objects and I need them on the events objects - I've clarified the question above. I've tried with the fields moved, but then it fails to identify chat_id=4, https://mongoplayground.net/p/Ce7Ofn-1OQG. Note that in the real use case I have conditions on both objects, so can't just reverse the join.
just a nomal lookup? https://mongoplayground.net/p/wI8WcQdsktS i dont know how the format should be and if there cn be multiple events for a session chat id
| 16,149
|
https://tr.wikipedia.org/wiki/G%C3%BCvenilir%20g%C4%B1dalar
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Güvenilir gıdalar
|
https://tr.wikipedia.org/w/index.php?title=Güvenilir gıdalar&action=history
|
Turkish
|
Spoken
| 75
| 245
|
Güvenilir gıdalar (İngilizce: SAFE FOODS), 2004 yılında oluşturulmuş bir gıda güvenliği projesidir. 21 ülkede 37 kurumdan gelen projeler dahil edilmiştir.
Projenin tam olarak adı "Güvenli gıdar - Gıdalar için yeni bir, Entegre Risk Analiz Yaklaşımı Geliştirilmesi" dir.
Türkiye'de
Son kullanma tarihi geçmemiş, Türkiye Cumhuriyeti Gıda, Tarım ve Hayvancılık Bakanlığı tarafından izin belgesini bulunan, ambalajlı ve etiketli olan, muhafaza ve satış kurallarına uygun ve gereği gibi hazırlanıp, korunan gıdalardır.
Dış bağlantılar
Gıda güvenliği kuruluşları
Gıda güvenliği
| 16,569
|
https://zh.wikipedia.org/wiki/%E5%AF%AC%E9%A0%AD%E7%9C%9F%E4%BA%AE%E7%BE%BD%E6%B0%B4%E8%9A%A4
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
寬頭真亮羽水蚤
|
https://zh.wikipedia.org/w/index.php?title=寬頭真亮羽水蚤&action=history
|
Chinese
|
Spoken
| 4
| 58
|
寬頭真亮羽水蚤(学名:)为亮羽水蚤科真亮羽水蚤屬下的一个种。
参考文献
K
K
| 41,260
|
https://ceb.wikipedia.org/wiki/Tauparatau
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Tauparatau
|
https://ceb.wikipedia.org/w/index.php?title=Tauparatau&action=history
|
Cebuano
|
Spoken
| 156
| 264
|
Bungtod ang Tauparatau sa Nuzeland. Nahimutang ni sa rehiyon sa Auckland, sa amihanan-sidlakang bahin sa nasod, km sa amihanan-sidlakan sa Wellington ang ulohan sa nasod. metros ibabaw sa dagat kahaboga ang nahimutangan sa Tauparatau.
Ang yuta palibot sa Tauparatau kabungtoran. Ang kinahabogang dapit sa palibot dunay gihabogon nga ka metro ug km sa amihanan sa Tauparatau. Kunhod pa sa 2 ka tawo kada kilometro kwadrado sa palibot sa Tauparatau. Hapit nalukop sa lasang ang palibot sa Tauparatau. Sa rehiyon palibot sa Tauparatau, busay, ug mga luuk talagsaon komon.
Ang klima baybayon. Ang kasarangang giiniton °C. Ang kinainitan nga bulan Enero, sa °C, ug ang kinabugnawan Hulyo, sa °C. Ang kasarangang pag-ulan milimetro matag tuig. Ang kinabasaan nga bulan Abril, sa milimetro nga ulan, ug ang kinaugahan Enero, sa milimetro.
Saysay
Ang mga gi basihan niini
Mga bungtod sa Auckland (rehiyon)
Kabukiran sa Nuzeland nga mas taas kay sa 500 metros ibabaw sa dagat nga lebel
sv:Tauparatau
| 1,945
|
https://fr.wikipedia.org/wiki/%C5%BBegocin%20%28Kalisz%29
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Żegocin (Kalisz)
|
https://fr.wikipedia.org/w/index.php?title=Żegocin (Kalisz)&action=history
|
French
|
Spoken
| 32
| 71
|
Żegocin est une localité polonaise de la gmina de Blizanów, située dans le powiat de Kalisz en voïvodie de Grande-Pologne.
Notes et références
Village dans la voïvodie de Grande-Pologne
Powiat de Kalisz
| 29,534
|
https://ca.wikipedia.org/wiki/Aurora%20Gil
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Aurora Gil
|
https://ca.wikipedia.org/w/index.php?title=Aurora Gil&action=history
|
Catalan
|
Spoken
| 133
| 273
|
Aurora Gil (La Corunya, 1919-Mèxic, 2008) va ser una il·lustradora gallega nacionalitzada mexicana, autora de calendaris i cartells publicitaris durant el . Nascuda a la Corunya es va traslladar a Mèxic a principis dels 1920. Va estudiar dibuix a l'Escola Superior de Belles Arts de Sant Jordi. Entre 1894 i 1897 va treballar per a la companyia Galas de México, una editorial dedicada a dissenyar i fabricar calendaris, sent una de les quatre úniques dones que van aconseguir treballar per a aquesta signatura. En l'editorial va treballar al costat d'autors de renom com José Bribiesca, Eduardo Cataño i Jesús Helguera en dissenys de calendaris, cartells i cromos. Posteriorment es va dedicar a ensenyar pintura i pintar retrats a Ciutat de Mèxic.
Referències
Artistes gallecs
Il·lustradors espanyols
Corunyesos
Morts el 2008
Morts a Mèxic
| 17,019
|
https://be.wikipedia.org/wiki/Wajskowy
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Wajskowy
|
https://be.wikipedia.org/w/index.php?title=Wajskowy&action=history
|
Belarusian
|
Spoken
| 216
| 722
|
«Wajskowy» (Вайсковы; ) — беларускі часопіс, выдаваўся Аляксандрам Ружанцовым у Коўне.
Камандзір беларускага асобнага батальёна, які ваяваў супраць бальшавікоў на Усходнім фронце, Аляксандр Ружанцоў у лістападзе 1920-га быў арыштаваны літоўскімі ўладамі. Пасля вызвалення з-пад арышту А. Ружанцоў ужо працаваў у Коўне ў Генеральным штабе Літоўскага войска. Толькі некалькі месяцаў ён пачакаў ды ўзяўся за выдавецкую дзейнасць (у якой ужо меў досвед). Ружанцоў заснаваў двутыднёвік для беларусаў-вайсковых Літоўскага Войска пад назвай «Wajskowy».
«Вайсковы» выходзіў з 1 траўня 1921 года. Апошні вядомы нам нумар пазначаны 25 лістапада 1921 года. Выданне таксама было рукапіснае і памнажалася на шапірографе. Спачатку яно друкавалася выключна беларускай лацінкай, пасля пачалі з’яўляцца артыкулы і на кірыліцы, а пасля выданне цалкам на яе перайшло (з пятага нумара). Спачатку «Вайсковы» быў газетай, але пасля ягоны аб’ём павялічыўся, сталі больш разнастайнымі матэрыялы, і ён пераўтварыўся ў часопіс. Пры гэтым тэхнічныя сродкі яго выдання не змяніліся.
Нумары часопіса захоўваюцца ў зборах Літоўскай нацыянальнай бібліятэкі ў Вільні.
Нумары
№ 1 — 1 траўня 1921 году.
№ 2 — 16 траўня 1921 году.
№ 3 — 1 чэрвеня 1921 году.
№ 4 — 16 чэрвеня 1921 году.
№ 5 — 16 ліпеня 1921 году.
№ 6 — 31 ліпеня 1921 году.
Спасылкі
1921 год у Літве
Перыядычныя выданні беларускай дыяспары
Выданні на беларускай мове лацінкай
Часопісы Каўнаса на беларускай мове
| 36,184
|
https://es.wikipedia.org/wiki/Iracem%C3%A1polis
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Iracemápolis
|
https://es.wikipedia.org/w/index.php?title=Iracemápolis&action=history
|
Spanish
|
Spoken
| 257
| 560
|
Iracemápolis es un municipio brasileño del estado de São Paulo.
Historia
Iracemápolis surgió de un pueblo denominado Santa Cruz de la Boa Vista. El pueblo fue elevado la categoría de Distrito de Paz de Limeira a través de la ley 1931 del 29 de octubre de 1923. El origen de su nombre: Iracema proviene de lengua indígena y quiere decir virgen de los labios de Miel y pólis es de origen grega y significa ciudad.
Iracemápolis se emancipó de Limeira el 31 de diciembre de 1953 teniendo la posesión del prefecto, del viceprefecto y de los concejales el día siguiente, primer día de 1954.
Geografía
Se localiza a una latitud 22º34'50" sur y a una longitud 47º31'07" oeste, estando a una altitud de 608 metros. La población es de 19.700 habitantes.
Demografía
Datos del Censo - 2000
Población total: en torno de 18.000
Densidad demográfica (hab./km²): 134,91
Mortalidad infantil hasta 1 año (por mil): 10,16
Expectativa de vida (años): 70,55
Tasa de fertilidad (hijos por mujer): 1,92
Tasa de alfabetización: 93,68%
Índice de Desarrollo Humano (IDH-M): 0,828
IDH-M Salario: 0,767
IDH-M Longevidad: 0,827
IDH-M Educación: 0,891
(Fuente: IPEADATA)
Hidrografía
La ciudad de Iracemápolis es cortada por el Arroyo Cachoeirinha, cuya naciente está situada en el Colina Azul y el mismo desemboca en el Río Piracicaba (São Paulo). Su margen está en fase de recuperación del bosque ciliar.
Carreteras
SP-151
SP-306
SP-147
Administración
Prefecto: Fábio Francisco Zuza PSDB (2005/2008)-(2009/2012)
Viceprefecto: Denilson Granço PMDB
Presidente de la cámara: Donizete Aparecido Stein PP(2011/2012)
Referencias
Enlaces externos
Localidades de São Paulo
| 47,727
|
https://en.wikipedia.org/wiki/Mehmet%20Emin%20Yazgan
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Mehmet Emin Yazgan
|
https://en.wikipedia.org/w/index.php?title=Mehmet Emin Yazgan&action=history
|
English
|
Spoken
| 119
| 207
|
Mehmet Emin Yazgan (1876 in Constantinople (Istanbul) – February 21, 1961 in Istanbul) was an officer of the Ottoman Army and a general of the Turkish Army.
See also
List of high-ranking commanders of the Turkish War of Independence
Sources
1876 births
1961 deaths
Military personnel from Istanbul
Ottoman Military Academy alumni
Ottoman Army officers
Ottoman military personnel of the Greco-Turkish War (1897)
Ottoman military personnel of the Italo-Turkish War
Ottoman military personnel of the Balkan Wars
Ottoman military personnel of World War I
Turkish military personnel of the Turkish War of Independence
Turkish military personnel of the Greco-Turkish War (1919–1922)
Turkish Army generals
Recipients of the Liakat Medal
Recipients of the Medal of Independence with Red Ribbon (Turkey)
| 35,167
|
https://ru.wikipedia.org/wiki/%D0%9D%D0%B0%D1%83%D0%BA%D0%B8%20%D0%BE%20%D0%B6%D0%B8%D0%B7%D0%BD%D0%B8
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Науки о жизни
|
https://ru.wikipedia.org/w/index.php?title=Науки о жизни&action=history
|
Russian
|
Spoken
| 386
| 1,091
|
Науки о жизни (от ; бионауки) — крупный раздел и структурная единица естествознания, мультидисциплинарное комплексное направление, основанное на изучении живых организмов и их природных связях. Группа знаний, принятая в современной международной классификации наук и в наукометрии.
Общее определение наук о жизни — это изучение живых организмов и жизненных процессов.
Описание
Науки, изучающие жизнь как природное тело.
Биология является центральным элементом наук о жизни, к ним также относятся медицинские и технологические достижения в области молекулярной биологии, биохимии и биотехнологии и другие междисциплинарные области изучающие жизнь.
Многие современные исследовательские и образовательные институты (кафедры и лаборатории), которые занимаются биологическими проблемами, называли себя биологией, в последние годы трактуют свою деятельность расширительно — используя словосочетание «науки о жизни» и «бионауки».
В 1980-х годах науки о жизни занимали первое место по объёму финансирования среди других областей фундаментальной науки в США.
История в России
В 2014 году в России науки о жизни включены в список приоритетных направлений развития науки и технологий до 2030 года
В 2015 году для структурирования науки в России Федеральное агентство научных организаций разделило все науки на четыре секции:
Математические, физические, компьютерные и технические науки
Химические науки
Науки о жизни — биологические и медицинские науки
Науки об окружающей среде — науки о Земле, экология и другие.
Основные направления
Биология (все разделы), общая биология, астробиология, палеонтология
Медицина, биомедицина, анатомия, физиология, гистология, генетика
Сельское хозяйство, генная инженерия, синтетическая биология
Системная биология, экология, этология
Биохимия, токсикология, энзимология
Биофизика, квантовая биология, биотехнологии
математическая биология, биоинформатика
и многие прочие смежные бионауки.
Научные журналы
Специализированные издания:
Доклады Российской академии наук. Науки о жизни
European Journal of Biomedical and Life Sciences
History and Philosophy of the Life Sciences
Life Sciences
Премии и награды
Основные премии и награды в области изучения наук о жизни:
Медаль Габора
Премия Уайли
См. также
Естествознание, Биологические науки
Науки о здоровье, Науки о Земле
История науки
Энциклопедия жизни
Живое вещество
Примечания
Литература
Ален Р. Д. Наука о жизни. : Просвещение, 1981. 304 с.
Лункевич В. В. Наука о жизни. : Юрайт, 2019. 358 с.
Hull D. L. Philosophy of the Life Sciences. Cambridge University Press, 2001.
Magner L. N. A history of the Life Sciences / 3-е издание. New York: Dekker, 2002. ISBN 0824708245.
Ссылки
Науки о жизни — тезаурус ЮНЕСКО
Науки о жизни — Научный совет РАН
Науки о жизни — новости на сайте «Элементы»
Encyclopaedia of Life Sciences.
Естественные науки
Естествознание
| 44,343
|
https://ce.wikipedia.org/wiki/%D0%91%D0%BE%D1%80%D0%B3%D0%BE%20%D0%A7%D0%B8%D0%B2%D0%B8%D0%B4%D0%B0%D0%B7%20%28%D0%A3%D0%B4%D0%B8%D0%BD%D0%B5%29
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Борго Чивидаз (Удине)
|
https://ce.wikipedia.org/w/index.php?title=Борго Чивидаз (Удине)&action=history
|
Chechen
|
Spoken
| 96
| 277
|
Борго Чивидаз () — Италин Фриули-Венеци-Джули регионан коммунера эвла.
Географи
Климат
Кхузахь климат йу Лаьттайуккъера хӀордан, барамехь йекъа а, йовха, Ӏа шийла ца хуьйла.
Бахархой
Билгалдахарш
Литература
Gino Moliterno, ур. (2003). Encyclopedia of Contemporary Italian Culture. Routledge; Routledge World Reference. ISBN 0415285569.
Catherine B. Avery, ур. (1972). The New Century Italian Renaissance Encyclopedia. Simon & Schuster. ISBN 0136120512.
Итали // Итали — Кваркуш. — М. : Советская энциклопедия, 1973. — (Большая советская энциклопедия : [в 30 т.] / гл. ред. А. М. Прохоров ; 1969—1978, т. 11).
Фриули-Венеци-Джули регионан нах беха меттигаш
Италин нах беха меттигаш
| 6,779
|
https://cs.wikipedia.org/wiki/Ochr%C3%A1nci%20a%20duchov%C3%A9%20%C4%8Desk%C3%BDch%20hor
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Ochránci a duchové českých hor
|
https://cs.wikipedia.org/w/index.php?title=Ochránci a duchové českých hor&action=history
|
Czech
|
Spoken
| 74
| 191
|
Ochránci a duchové českých hor jsou nadpřirození strážci, kteří se dle pověstí starají o české hory.
Beskydy – Radegast
Brdy – Fabián
Český les – Nikl
Český ráj – Pelíšek
Jeseníky – Praděd
Ještěd – Kuksloch neboli Ježděd
Jizerské hory – Muhu
Krkonoše – Krakonoš
Krušné hory – Marzebilla
Novohradské hory – Hejmon
Orlické hory – Rampušák a Kačenka
Slavkovský les – Kober
Odkazy
Reference
České legendy a pověsti
Bohové, ochránci a patroni hor
| 16,520
|
https://ceb.wikipedia.org/wiki/Baetis%20macani
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Baetis macani
|
https://ceb.wikipedia.org/w/index.php?title=Baetis macani&action=history
|
Cebuano
|
Spoken
| 61
| 108
|
Kaliwatan sa insekto ang Baetis macani. Una ning gihulagway ni Douglas E. Kimmins ni adtong 1957. Ang Baetis macani sakop sa kahenera nga Baetis, ug kabanay nga Baetidae.
Kini nga matang hayop na sabwag sa:
Amihanang Amerika
kasarangan nga Asya
Walay nalista nga matang nga sama niini.
Ang mga gi basihan niini
Insekto
Insekto sa Amihanang Amerika
Insekto sa Asya
Baetis
| 33,086
|
https://stackoverflow.com/questions/42711540
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,017
|
Stack Exchange
|
Hamish, Luca D'Alberti, Palle, coping, https://stackoverflow.com/users/2557145, https://stackoverflow.com/users/2976878, https://stackoverflow.com/users/3461718, https://stackoverflow.com/users/4411205
|
English
|
Spoken
| 509
| 762
|
Subclassing generic class in Swift fails
I am fairly new to generic programming and am having an issue with Swift 3 and subclassing a generic class. I've stripped it all down to a simple case that fails and am hoping someone can help explain why I'm getting the failure.
With the following protocol and classes, everything works fine. This works (my real code has a lot more going on but works fine):
protocol P {
associatedtype T
}
class Temp<X> {}
class C1<D:P> {
init(tmp: Temp<D.T>) {}
}
However, when I subclass as follows:
class C2<L:P> : C1<L> {}
I get this compiler failure:
<unknown>:0: error: expression type 'Temp<_>' is ambiguous without more context
The error is not on a specific line, but rather a failure that appears in the compiler activity log.
Maybe there is something simple that I'm missing, but I just don't see it. My subclass has the same constraint as the base class (that is, it must adopt protocol P), so it seems to me that this should work.
Any thoughts?
It looks like the issue is somewhere else. The code contained in this question compiles without problem (using Swift 3.1). It's likely that you have a mismatch between the generic type X of an instance of Temp and the expected type D.T or you have not specified a generic type at the instantiation of C1 or C2 (let foo = C2<ConcreteTypeImplementingP>(tmp: someValue).
@Palle don't know where you tried it, because on playground (Swift 3.1) it does not compile
I tried to fix your error, but everything seems fine to me. I only noticed that by commenting the init or by overriding it in the subclass, it starts to compile. Looks like the compiler is unable to figure out the D.T type
This looks like a bug – the code doesn't compile in Swift 3.0.2, but does in Swift 3.1.
@LucaD'Alberti I tried it in the REPL and using a file which I compiled using swiftc
I start by saying that I couldn't figure out why your problem is happening, but I hope this can help you somehow
Let's start from the C1 class.
class C1<D: P> {}
By using this, everything works fine then. So I wanted to make sure that the generic parameter could be used inside C1 and C2 and actually it can
class C1<D: P> {
// it compiles
let something: D.T? = nil
// it compiles
func doSomething(using parameter: D.T) {
}
// do not compile
init(_ some: D.T) {
}
}
At the end, if you override the init in the C2 class, the code finally compile.
I think it can actually be a compiler issue and I would try to file a radar for this. I don't know actually what else to try.
Thank you @Luca! Overriding the init does solve the issue, though I agree that there must be some bug in the compiler. My particular use case is a bit more complicated, and creating a new init with different names for the parameters solved the issue.
| 24,012
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.