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://fr.wikipedia.org/wiki/Toyota%20TF108 | Wikipedia | Open Web | CC-By-SA | 2,023 | Toyota TF108 | https://fr.wikipedia.org/w/index.php?title=Toyota TF108&action=history | French | Spoken | 354 | 586 | La Toyota TF108 est la monoplace de l'écurie Toyota F1 Team engagée pour la saison 2008 de Formule 1. Conçue sous la direction technique de l'ingénieur français Pascal Vasselon, elle a été dévoilée le à Cologne, en Allemagne, au siège de l'écurie. Elle est pilotée en course par l'Italien Jarno Trulli et l'Allemand Timo Glock. Le Japonais Kamui Kobayashi est le pilote d'essais.
La TF108 possède quelques caractéristiques communes à ses devancières, mais a été profondément retouchée après le gros échec de la saison 2007. Les principales caractéristiques de la nouvelle voiture sont un long empattement, une importante mise à niveau sur le plan aérodynamique, une nouvelle suspension et une nouvelle boite de vitesses. Un nouvel élément majeur de cette monoplace est le système électronique commun Standard Engine Control Unit (SECU), qui équipe toutes les écuries, l'antipatinage et d'autres aides électroniques ayant été supprimés.
Après un double abandon lors du Grand Prix inaugural en Australie, Jarno Trulli inscrit les premiers points de l'écurie au Grand Prix suivant, en Malaisie. Timo Glock doit attendre la septième épreuve de la saison, au Canada, pour rapporter des points pour le compte de l'écurie japonaise. La TF108 connaît néanmoins deux podiums : une troisième place pour Trulli lors du Grand Prix de France, à l'issue d'une bataille avec la McLaren-Mercedes d'Heikki Kovalainen, et une deuxième place pour Glock au Grand Prix de Hongrie.
Toyota termine cinquième du championnat des constructeurs, avec 56 points, nettement mieux qu'en 2007.
Bilan de la saison 2008
Départs en Grands Prix
18 pour Jarno Trulli
18 pour Timo Glock
Abandons
4 pour Timo Glock
3 pour Jarno Trulli
Meilleurs résultats en qualification
1 départ en pour Jarno Trulli au Grand Prix du Brésil.
1 départ en pour Timo Glock au Grand Prix de Hongrie.
Points inscrits
56 points pour Toyota F1 Team
31 points pour Jarno Trulli
25 points pour Timo Glock
Classements aux championnats du monde
Toyota F1 Team : avec 56 points.
Jarno Trulli : avec 31 points.
Timo Glock : avec 25 points.
Résultats en championnat du monde de Formule 1
TF108
Automobile des années 2000
Formule 1 en 2008 | 32,756 |
https://sv.wikipedia.org/wiki/Taiwanocerus%20tungpus | Wikipedia | Open Web | CC-By-SA | 2,023 | Taiwanocerus tungpus | https://sv.wikipedia.org/w/index.php?title=Taiwanocerus tungpus&action=history | Swedish | Spoken | 32 | 71 | Taiwanocerus tungpus är en insektsart som beskrevs av Huang och Maldonado-capriles 1992. Taiwanocerus tungpus ingår i släktet Taiwanocerus och familjen dvärgstritar. Inga underarter finns listade i Catalogue of Life.
Källor
Dvärgstritar
tungpus | 34,766 |
https://arz.wikipedia.org/wiki/%D8%AC%D9%8A%D8%B1%D9%8A%D8%AA%20%D8%B1%D9%88%D8%B3 | Wikipedia | Open Web | CC-By-SA | 2,023 | جيريت روس | https://arz.wikipedia.org/w/index.php?title=جيريت روس&action=history | Egyptian Arabic | Spoken | 63 | 170 | جيريت روس () كان رباع من مملكة نيديرلاند.
حياته
جيريت روس من مواليد يوم 21 اغسطس سنة 1898 فى امستردام.
المشاركات
شارك فى:
اوليمبياد صيف 1928
وفاته
جيريت روس مات فى 10 مايو سنة 1969.
لينكات برانيه
مصادر
ناس
رباع من مملكه نيديرلاند
نيديرلانديين
رباع من امستردام
ناس من امستردام
مواليد 1898
مواليد 21 اغسطس
وفيات 1969
وفيات 10 مايو
مواليد فى امستردام | 29,445 |
https://stackoverflow.com/questions/11484400 | StackExchange | Open Web | CC-By-SA | 2,012 | Stack Exchange | Isuru, Konrad Reiche, Marko Topolnik, Oliver Charlesworth, Thayne, https://stackoverflow.com/users/1103872, https://stackoverflow.com/users/129570, https://stackoverflow.com/users/1369940, https://stackoverflow.com/users/2543666, https://stackoverflow.com/users/272969, https://stackoverflow.com/users/31818, https://stackoverflow.com/users/347508, https://stackoverflow.com/users/658718, jjathman, kritzikratzi, seh | English | Spoken | 798 | 1,329 | How to make java list co-variant
I have following classes
public class Animal
public class Dog extends Animal
public class Cat extends Animal
And for the testing I have a driver class.
public class Driver {
public static void main(String[] args){
List<? extends Animal> animalList = Arrays.<Dog>asList(new Dog(), new Dog(), new Dog());
animalList.add(new Dog()) // Compilation error
}
}
By default list are invariant type containers. For example say we have List<Object> objectList, ArrayList<String> stringList We cant substitute stringList to objList. which will cause a compilation error
My attempt is to make list co-variant as in the Driver class.
According to the <? extends Animal> we can apply any object that is a subtype of Animal including Animal type.
But I'm getting a compilation issue in the indicated line. Can someone explain theoretically where I went wrong.
The reason you can't do things like add on a wildcard-parameterised List is given in the Java tutorial: http://docs.oracle.com/javase/tutorial/extra/generics/wildcards.html.
Collections are by their nature contravariant. It would be a mistake to make them covariant.
@MarkoTopolnik afaik not true. they are neither co-, nor contravariant.
@kritzikratzi In Java they aren't; that's not my point. It is a known type-thoeretical fact that collections obey the contravariant rules.
@MarkoTopolnik oh, i see what you mean... and agree :)
@MarkoTopolnik I think the word you're looking for here is invariant. What makes you say that collections are contravariant? Are you looking at this in terms of reading from them or adding to them?
@seh True, that came out wrong. You need declaration-site variance (Java only has use-site variance) to make each operation behave appropriately. I had Java arrays in mind, which are covariant by design, therefore writing to them can fail even when it type-checks.
Mutable collection are invariant. Immutable collections are covariant, but altering a collection is a contravariant operation, which means a mutable collection must be invariant to support both reads and writes. A write-only "collection" would be contravariant.
I think you misunderstand generic wildcards (?). From the Java tutorial on the subject:
There is, as usual, a price to be paid for the flexibility of using
wildcards. That price is that it is now illegal to write into shapes
in the body of the method. For instance, this is not allowed:
public void addRectangle(List<? extends Shape> shapes) {
// Compile-time error!
shapes.add(0, new Rectangle());
}
You should be able to figure out why the code above is disallowed. The
type of the second parameter to shapes.add() is ? extends Shape -- an
unknown subtype of Shape. Since we don't know what type it is, we
don't know if it is a supertype of Rectangle; it might or might not be
such a supertype, so it isn't safe to pass a Rectangle there.
Java generic collections are not covariant; see e.g. Java theory and practice: Generics gotchas for an explanation.
java doesn't have a very powerful type system, which means: you can't do this.
sad answer, but true. from wikipedia:
Unlike arrays, generic classes are neither covariant nor
contravariant. For example, neither List<String> nor List<Object> is a
subtype of the other
http://en.wikipedia.org/wiki/Covariance_and_contravariance_(computer_science)#Java
What does this have to do with weak typing?
sorry, bad choice of words. i meant "not very powerful".
I think Type Erasure is a good term here http://docs.oracle.com/javase/tutorial/java/generics/erasure.html
i'm honestly not sure if this is directly caused by type erasure, i can imagine that being the case, but i also guess there could be some clever workarounds. it's besides the point for me though, fact is it's not possible.
@kritzikratzi yes what you have mention in your answer is right we cant assign that way because list are invariant, but my question is about making them co-variant by using wild cast
it definetley isn't because of type erasure. Scala also runs on the JVM and has type erasure, but supports both covariant and contravariant types
Change your code like this:
public class Driver {
public static void main(String[] args){
List<? extends Animal> animalList = Arrays.<Cat>asList(new Cat(), new Cat(), new Cat());
animalList.add(new Dog()) // Compilation error
}
}
and the compilation error makes a lot more sense right? All Java has to go off of is the type you gave it for animalList. Java knows that the stuff on the right side may be a list of Cat objects so it won't let you put in a Dog. Change your code to be
List<Animal> animalList = Arrays.<Animal>asList(new Dog(), new Dog(), new Dog());
and this will work ok.
I'm trying to help make it more obvious why your original code doesn't compile. I think most people looking at your code would think it should compile, but when you change around the runtime type it makes it much more obvious what is going on. I'll adjust my note about changing the List type.
| 133 |
https://fr.wikipedia.org/wiki/Cortinarius%20albidus | Wikipedia | Open Web | CC-By-SA | 2,023 | Cortinarius albidus | https://fr.wikipedia.org/w/index.php?title=Cortinarius albidus&action=history | French | Spoken | 121 | 277 | Cortinarius albidus est une espèce de champignons basidiomycètes de la famille des Cortinariaceae.
Description
Chapeau 5-11 cm subhémisphérique à convexe, blanc, blanchâtre puis crème, visqueux, brillant, marge parfois gondolée. Lames : serrées, épaisses, blanchâtres puis brunâtres. Pied : 4,5 x 1,6-2 cm droit, blanchâtre, avec bulbe marginé de 2-3 cm, orné de mycélium blanchâtre à la base, parfois les pieds sont composés de 2 à 3 sujets réunis. Chair: épaisse, dure, blanche, immuable à la coupe. Odeur nulle. Saveur douce. Cortine blanche. Spores : 9,5-12 x 5,5-7µm. verruqueuses, ellipsoïdes.
Bibliographie
The gilled mushrooms of Michigan and the Great Lakes Region C.H. Kauffman
North American Flora W.A. Murrill
Notes et références
Liens externes
Photos : http://mycoquebec.org
Espèce de champignons (nom scientifique)
Cortinariaceae | 4,571 |
https://fa.wikipedia.org/wiki/%D8%AA%D8%A7%D8%B1%DB%8C%D8%AE%20%D8%B2%D8%A8%D8%A7%D9%86%20%D9%81%D8%B1%D8%A7%D9%86%D8%B3%D9%88%DB%8C | Wikipedia | Open Web | CC-By-SA | 2,023 | تاریخ زبان فرانسوی | https://fa.wikipedia.org/w/index.php?title=تاریخ زبان فرانسوی&action=history | Persian | Spoken | 1,576 | 4,586 | فرانسوی زبانی رومی است که از لاتین عامیانه ریشه گرفته و در زیرگروه زبانهای گالی-رومی قرار دارد. شکلهای اولیه این زبان شامل فرانسوی باستان و فرانسوی میانه است.
لاتین عامیانه در گل
لاتین به دلیل حکومت رومیان، به تدریج توسط ساکنان گل پذیرفته شد و همانطور که این زبان توسط مردم عادی آموخته شد، ویژگیهای محلی متمایزی همراه با تفاوتهای دستوری با لاتینی که در جاهای دیگر صحبت میشد، پیدا کرد که برخی از آنها در نوشتهها تأیید شدهاست. این گونه محلی به زبانهای گالو-رومی تکامل یافت که شامل فرانسوی و نزدیکترین خویشاوندان آن مانند آرپیتان میشود.
تکامل زبان لاتین در گل با همزیستی آن برای بیش از نیم هزاره در کنار زبان سلتی بومی گلی شکل گرفت که در اواخر سده ششم، مدتها پس از سقوط امپراتوری روم غربی، منقرض شد. در این دوران به جز جمعیت عامه بومی، طبقه بزرگان و نخبگان بومی به فرزندانشان لاتین را در مدارس رومی میآموختند. در زمان فروپاشی امپراتوری، این نخبگان محلی به آرامی گلی را بهطور کامل ترک کردند، اما جمعیت روستایی و طبقه پایینتر گلیزبان بودند که گاهی اوقات میتوانستند به لاتین یا یونانی نیز صحبت کنند. تغییر زبان نهایی از گالی به لاتین عامیانه در میان جمعیتهای روستایی و طبقه پایین بعدها زمانی که هم آنها و هم حاکمان و نظامیان جدید فرانک، زبان لاتین عامیانه گالو-رومی نخبگان روشنفکر شهری را پذیرفتند، رخ داد.
زبان گلی احتمالاً تا سده ششم در فرانسه با وجود رومیشدن قابل توجه باقی ماند. گلی با همزیستی با لاتین، به شکلگیری لهجههای لاتین عامیانه کمک کرد که به فرانسوی توسعه یافتند؛ از جمله با کمک وامواژگان و گرتهبرداریها (از جمله oui, به معنای «بله»)، تغییرات آوایی و تأثیر در صرف و نحو. مطالعات محاسباتی اخیر نشان میدهد که تغییر جنسیت در فرانسوی اولیه ممکن است با انگیزه تطابق با جنسیت واژگان همسو در زبان گلی صورت گرفته باشد.
تعداد تخمین زدهشدهای از واژههای فرانسوی را که میتوان به گلی نسبت داد، ۱۵۴ عدد عنوان شدهاست، در حالی که اگر گویشهای غیر معیار نیز گنجانده شوند، این تعداد به ۲۴۰ افزایش مییابد وامواژههای شناختهشده گلی به سمت زمینههای معنایی خاصی مانند گیاهان (chêne, bille و غیره)، جانوران (mouton, cheval و غیره)، طبیعت (boue و غیره ) ، فعالیتهای خانگی (مثلاً berceau)، کشاورزی و واحدهای اندازهگیری روستایی (arpent , lieue , borne , boisseau)، سلاحها، و محصولات صادراتی به دیگر مناطق گرایش دارند. این توزیع معنایی به دهقانانی نسبت داده شدهاست که آخرین کسانی بودند که به گلی پایبند بودند.
فرانسوی باستان
آغاز تاریخ زبان فرانسوی در گل تحت تأثیر تهاجمات ژرمنها به این کشور بود. این تهاجمات بیشترین تأثیر را بر شمال کشور و زبان آنجا گذاشت. شکاف زبانی به تدریج در سراسر کشور شروع به رشد کرد. جمعیت شمال به زبان اوییل (langue d'oïl) صحبت میکردند در حالی که جمعیت جنوب به زبان اک (langue d'oc) صحبت میکردند. زبان اوییل به چیزی تبدیل شد که به فرانسوی باستان معروف است و زبان اک نیز سرانجام به اکسیتان امروزی تبدیل شد. دوره فرانسوی باستان از سده ۸ تا ۱۴ ادامه داشت. فرانسوی باستان ویژگیهای بسیاری را با لاتین مشترک بود. برای نمونه، ترتیب واژگان در جمله فرانسوی باستان مانند لاتین بود. این دوره با تأثیر شدید از زبان ژرمنی فرانکی شناخته میشود، که حتی شامل نام خود زبان میشود.
فرانسوی باستان تا مراحل بعدی در کنار اکسیتان باستان، بازماندهای از حالت دستوری اسمی باستانی لاتین را طولانیتر از سایر زبانهای رومی حفظ میکرد (به استثنای رومانیایی که هم تمایز تمایز حروف کوچک را حفظ کردهاست). واجشناسی با استرس هجایی شدید مشخص میشد که منجر به ظهور واکههای مرکب پیچیده مختلفی مانند -eau شد که بعداً به واکه منفرد تبدیل شدند.
نخستین شواهد مربوط به آنچه که فرانسوی باستان نامیده میشود را میتوان در سوگندهای استراسبورگ و سرود سنت اولالی مشاهده کرد، در حالی که ادبیات فرانسوی باستان در سده یازدهم شروع به تولید آثار در موضوعات زندگی قدیسان (مانند Vie de Saint Alexis) یا جنگها و دربار، به ویژه سرود رولان، چرخههای حماسی با تمرکز بر شاه آرتور و دربار او و همچنین چرخهای متمرکز بر ویلیام اورانژی، کرد.
فرانسوی میانه
در فرانسوی باستان گویشهای زیادی پدید آمدند، اما گویش فرانسی گویشی است که نه تنها در دوره فرانسوی میانه (سده ۱۴ تا ۱۷) ادامه یافت، بلکه رشد کرد. فرانسوی نوین از این گویش فرانسوی نشأت گرفتهاست. در دوره فرانسوی میانه از نظر دستوری انحراف اسم از میان رفت و دستور زبان شروع به استانداردسازی کرد. رابرت استین نخستین واژهنامه لاتین-فرانسوی را منتشر کرد که شامل اطلاعاتی در مورد آوا، ریشهشناسی و دستور زبان بود. از نظر سیاسی، فرمان ویله-کتره (۱۵۳۹) زبان فرانسوی را زبان قانون نامید.
آوردن واژههای تازه از زبان ادبی لاتین به فرانسوی در سدهٔ دوازدهم آغاز شد و در سدهٔ سیزدهم رو به افزایش نهاد. در سدهٔ چهاردهم خط مشی دقیقی برای گسترش زبان فرانسوی از راه وامگیری واژههای لاتینی در پیش گرفته شد. شارل پنجم فرانسه (پادشاه فرانسه از ۱۳۶۴ تا ۱۳۸۰) پشتیبان اهل علم و ادب بود و ایشان را به ترجمهٔ آثار کلاسیک برای کتابخانه خود ترغیب میکرد. مترجمان حتی زبردستترین آنها که نیکل اُرسم بود از فقر زبان فرانسوی آن هنگام مینالیدند. ارسم در این خصوص نمونهٔ جالبی را که در ترجمهٔ آثار ارسطو به آن برخورده است شاهد میآورد:
برای رهایی از این تنگناهای زبانی بود که ارسم و دیگران بر آن شدند تا زبان فرانسوی را با وامگیری از واژگان لاتینی و یونانی توانمند سازند. ایشان این کار را به درستی و بدون زورآور کردن الگوهای دستوری زبانهای مذکور به زبان فرانسوی انجام دادند یعنی بر خلاف بعضی نویسندگان اسپانیایی مانند گونگورا که این کار را ناشیانه و با افراط انجام دادند و افزون بر واژگان، الگوهای دستوری یونانی و لاتینی را نیز که واقعاً نمیتوان به آنها رنگ و بوی بومی داد وارد زبان کردند امری که موجب کجروی زبان و اندیشه میشود.
فرانسوی نوین
در سدهٔ شانزدهم میلادی انقلاب فرهنگی بزرگی در سراسر اروپا و به تبع آن در فرانسه رخداد. از قدرت عظیم کلیساها کاسته شد و فرهنگ و هنر و صنعت شکوفا گردید. به این ترتیب بود که زبان لاتین کمکم از دستگاه رسمی حذف گردید. در سال ۱۵۳۹ پادشاه فرانسه که فرانسوای اول نام داشت، دستور داد که متون دادگاهها به جای لاتین به زبان فرانسوی نگاشته شود. در همین ایام بود که کشیشی به نام ژان کالون برای اولین بار نوشتههای مذهبی خود را از لاتین به فرانسوی ترجمه نمود. در سال ۱۵۴۹ مقاله بسیار مهمی با عنوان «در دفاع و اهمیت زبان فرانسوی و هر چه غنیتر کردن آن» توسط شاعر و منتقد معروفی به نام یواخیم دو بله نوشته شد. فرانسه در این دوران مانند سایر ملل اروپایی به دوران با عظمت یونان باستان نگاهی دوباره کرد و در نتیجه آن بود که کلمات بسیاری از فرهنگ قدیم یونان به فرانسوی وارد شد. همچنین واژههای فراوانی از ایتالیای پسارنسانس و حتی از عربی وام گرفته شده و به سرعت وارد فرانسوی میگردید.
هجوم روزافزون واژگان و تغییرات در دستور در سدهٔ هفدهم میلادی که سده بزرگ نام دارد، به اوج خود رسیدهبود. در این دوران فرانسه، تحت فرمانروایی رهبران قدرتمندی مانند کاردینال ریشلیو و لوئی چهاردهم، از شکوفایی و برجستگی در میان کشورهای اروپایی برخوردار شد. ادبا و زبانشناسان بهتدریج نگران تغییرات زبانی شده و به فکر افتادند تا زبان فرانسوی را قاعدهمند کنند و از ایجاد هرج و مرج در ساختار آن جلوگیری نمایند. در پی همین فعالیتها ریشلیو فرهنگستان فرانسه را برای حفاظت از زبان فرانسوی تأسیس کرد که تا امروز مرجع تصمیمگیرنده دربارهٔ صحت و دقت متون رسمی و ورود واژگان و عبارات جدید به فرهنگ لغت است. در اوایل دهه ۱۸۰۰، فرانسوی پاریس به زبان اصلی اشراف در فرانسه تبدیل شد.
در طول همان سده هفدهم، زبان فرانسوی به عنوان مهمترین زبان دیپلماسی و روابط بینالملل (زبان میانجی) جایگزین لاتین شد. فرانسوی این نقش را تقریباً تا اواسط سده بیستم حفظ کرد، زمانی که پس از جنگ جهانی دوم، ایالات متحده به قدرت جهانی مسلط تبدیل و انگلیسی جایگزین آن شد. استنلی میسلر در لس آنجلس تایمز گفت که این واقعیت که پیمان ورسای به زبان انگلیسی و همچنین فرانسوی نوشته شده بود «اولین ضربه دیپلماتیک» به این زبان بود.
نزدیک به آغاز سده نوزدهم، دولت فرانسه شروع به دنبال کردن سیاستهایی با هدف نهایی از بین بردن بسیاری از اقلیتها و زبانهای منطقهای فرانسه (پاتوا) کرد. این در سال ۱۷۹۴ با «گزارش در مورد ضرورت و ابزار نابود کردن پاتوا و سراسری کردن استفاده از زبان فرانسوی» اثر آنری گرگوار آغاز شد. زمانی که آموزش عمومی در فرانسه اجباری شد، فقط زبان فرانسوی تدریس میشد و استفاده از هر زبان دیگر (پاتوا) با مجازات همراه بود. اهداف مدارس دولتی به ویژه برای معلمان فرانسویزبانی که برای آموزش دانش آموزان در مناطقی مانند اکسیتانیا و برتاین فرستاده شده بودند، روشن بود. دستورالعملهایی که یک مقام فرانسوی به معلمان دپارتمان فینیستر، در برتاین غربی داده بود، شامل موارد زیر بود: «و به یاد داشته باشید، آقایان: به شما موقعیت داده شد تا زبان برتون را بکشید.» بخشدار پیرنه-آتلانتیک در سرزمین باسک فرانسه در سال ۱۸۴۶ نوشت: «مدارس ما در سرزمین باسک مخصوصاً برای جایگزینی زبان باسکی با فرانسوی ایجاد شدهاند.» به دانشآموزان یاد داده شد که زبان اجدادی آنها پست است و باید از آنها خجالت بکشند. این فرایند در منطقه اکسیتانزبان به عنوان برغونیو شناخته میشود.
میتوان گفت که حفظ سیاستهای بسته دربارهٔ دستور زبان و کلمات زبان فرانسوی باعث شدهاست که اولاً ساختار زبان فرانسوی از سده هفده تاکنون تغییرات چندانی نداشته باشد و دوم اینکه واژگان فرانسوی نسبت به انگلیسی بسیار کمحجمتر و ساختار و ترتیب کلمات در جملههای آن بسیار منظمتر از زبانهای دیگر باشد.
منابع
پیوند به بیرون
Histoire de la langue française (in French) | 8,355 |
https://stackoverflow.com/questions/13282572 | StackExchange | Open Web | CC-By-SA | 2,012 | Stack Exchange | Sardinian | Spoken | 157 | 370 | Unity resolve parameter with named mapping
i'm using unity to resolve an object graph.
public interface ISessionManager
{
}
public class DefaultSessionManager : ISessionManager
{
}
public class OnCallSessionManager : ISessionManager
{
}
And i have service class that utilize ISessionManager on constructor
public class CustomerService
{
public class CustomerService(ISessionManager sessionManager)
{
}
}
On top of object graph. I have a viewmodel class and a data manager class.
public class ViewModel(CustomerService customerService)
{
}
public class DataManager(CustomerService customerService)
{
}
Now i want to resolve ViewModel and DataManager using different ISessionManager.
For ViewModel class i want DefaultSessionManager and OnCallSessionManager for DataManager. How can i do that ?
Thanks in advance.
Using configuration in code you can register something like this:
var container = new UnityContainer();
container.RegisterType<ISessionManager, DefaultSessionManager>()
.RegisterType<ISessionManager, OnCallSessionManager>("oncall")
.RegisterType<CustomerService>()
.RegisterType<CustomerService>(
"oncall",
new InjectionConstructor(
new ResolvedParameter(
typeof(ISessionManager),
"oncall")))
.RegisterType<ViewModel>()
.RegisterType<DataManager>(
new InjectionConstructor(
new ResolvedParameter(
typeof(CustomerService),
"oncall")));
Its ugly as hell but it should do the trick.
| 26,855 | |
https://sv.wikipedia.org/wiki/Macropsis%20gibbus | Wikipedia | Open Web | CC-By-SA | 2,023 | Macropsis gibbus | https://sv.wikipedia.org/w/index.php?title=Macropsis gibbus&action=history | Swedish | Spoken | 30 | 59 | Macropsis gibbus är en insektsart som beskrevs av Evans 1941. Macropsis gibbus ingår i släktet Macropsis och familjen dvärgstritar. Inga underarter finns listade i Catalogue of Life.
Källor
Dvärgstritar
gibbus | 18,414 |
https://it.wikipedia.org/wiki/A%20Time%20to%20Live%2C%20a%20Time%20to%20Die | Wikipedia | Open Web | CC-By-SA | 2,023 | A Time to Live, a Time to Die | https://it.wikipedia.org/w/index.php?title=A Time to Live, a Time to Die&action=history | Italian | Spoken | 187 | 360 | A time to live, a time to die () è un film del 1985 diretto dal regista Hou Hsiao-Hsien.
Trama
Taiwan, anni '50 e '60 del Novecento; Ah Hsiao, detto Ah Ha, cresce con i tre fratelli e la sorella nell'isola dove il padre (Tien) si è trasferito dalla Cina. La nonna sogna sempre di tornare in patria, il padre muore presto, poi toccherà anche alla madre e alla stessa nonna. Attingendo dichiaratamente all'autobiografia (il regista firma la sceneggiatura con Chu Tien-wen), Hou racconta un'infanzia e un'adolescenza come tante altre, in cui la storia di Taiwan scorre in modo solo apparentemente indolore. Una giovinezza punteggiata da bravate, lotte tra bande, innamoramenti platonici e momenti di tenerezza, segnata irrimediabilmente da tre morti che appaiono man mano più inaspettate, ma anche accettate sempre più fatalisticamente.
Produzione
Hou addiziona episodio su episodio esaltandone la loro contrapposizione, dando forza al tema della vita che va avanti malgrado tutto. Il suo stile visivo è fatto di inquadrature senza un centro focale, piani-sequenza in cui i personaggi si perdono nell'ambiente o seguono traiettorie imprevedibili, sfuggendo sempre all'occhio che li guarda.
Note
Collegamenti esterni | 17,743 |
https://ru.wikipedia.org/wiki/%D0%98%D0%B2%D0%B0%D0%BD%D0%BE%D0%B2%2C%20%D0%9D%D0%B8%D0%BA%D0%B8%D1%82%D0%B0%20%D0%A1%D0%B5%D1%80%D0%B3%D0%B5%D0%B5%D0%B2%D0%B8%D1%87 | Wikipedia | Open Web | CC-By-SA | 2,023 | Иванов, Никита Сергеевич | https://ru.wikipedia.org/w/index.php?title=Иванов, Никита Сергеевич&action=history | Russian | Spoken | 948 | 2,658 | Никита Сергеевич Иванов () — российский хоккеист с мячом, нападающий сборной России и "СКА-Нефтяник". Мастер спорта международного класса.
Биография
Заниматься хоккеем начал в апреле 2002 года в СДЮСШОР №1 «Белые медведи-96». В составе команды одержал победу во всероссийском турнире «Золотая шайба» в 2007 году. В 2007—2010 годах занимался в СДЮСШОР ХК «Динамо» им. А.И. Чернышева. Бронзовый призер чемпионата России среди клубных команд сезона 2008/09. На Пятой зимней Спартакиаде учащихся России в Краснотурьинске в 2011 году впервые сыграл в составе сборной Москвы по хоккею с мячом. Занимался параллельно хоккеем и хоккеем с мячом. В 2012—2013 годах выступал за юношеские команды «Волги» (Ульяновск), в составе которой трижды стал чемпионом России в своей возрастной категории. В 2013 году на чемпионате мира (U-17) завоевал серебряную медаль, был признан лучшим бомбардиром, лучшим полузащитником и MVP турнира.
После чемпионата перешел в московское «Динамо». В Суперлиге дебютировал 8 ноября 2013 года в игре против «Родины». Первый гол забил 14 февраля 2014 года в ворота ХК «Старт».
В 2014 году стал чемпионом мира (U-19), а год спустя — серебряным призером Кубка Европы (U-19) и чемпионом мира.
В 2016 году в составе сборной занял второе место на чемпионате мира (U-21), принял участие во взрослом чемпионате.
Сезон 2016/17 провел в шведском клубе «Вернерсборг». В составе национальной команды победил в Турнире четырех наций в Трольхеттане, завоевал серебро на чемпионате мира.
В сезоне 2017/18 выступал за «Байкал-Энергию» (Иркутск).
С 2018 – по 2022 года - игрок "Динамо-Москва".
С 2022 года – игрок команды "СКА-Нефтяник".
По окончании обучения в РГУФКСМиТ получил в 2017 году диплом бакалавра, а в 2019 году - диплом магистра по направлению «физическая культура».
1-ый мяч забил в 9 игре 14 февраля 2014 года, в домашнем матче с командой Старт (8:1), на 67 минуте.
50-ый мяч забил в 82 игре 8 февраля 2018 года, в домашнем матче с командой Водник (8:0), на 54 минуте передачу отдал - Павел Дубовик.
100-ый мяч забил в 164 игре 24 февраля 2021 года, в домашнем матче с командой Волга (9:4), на 48 минуте.
150-ый мяч забил в 212 игре 9 января 2023 года, в домашнем матче с командой Волга (18:4), на 48 минуте.
В 4 розыгрышах Кубка мира (2014-2015, 2017, 2019) - 19 игр, 12 мячей.
В 2 розыгрышах Кубка чемпионов (2014, 2015) - 8 игр, 12 мячей, 5 передач.
В 1 розыгрыше Кубка ЭксТе (2019) - 4 игры, 1 мяч, 3 передачи.
В 3 суперкубках России (2019/20-2022/23) - 4 игры, 2 мяча, 3 передачи.
В 3 чемпионатах мира (2015-2017) – 12 игр, 8 мячей, 8 передач.
Достижения
клубные (отечественные):
Чемпион России (3) - 2019/20, 2021/22, 2022/23.
Серебряный призёр чемпионата России (4) - 2013/14, 2014/15, 2018/19, 2020/21.
Бронзовый призёр чемпионата России (2) - 2015/16, 2017/18.
Обладатель кубка России (4) - 2019, 2020, 2021, 2022.
Финалист кубка России (1) - 2018.
Обладатель суперкубка России (2) - 2021/22, 2022/23.
Финалист суперкубка России (2) - 2019/20, 2020/21.
Обладатель V Кубка ЛД «Волга-Спорт-Арена» (1) - 2021.
Финалист кубка Михайло Волкова. Суперлига (1) - 2018.
клубные (отечественные, младших возрастов):
Победитель первенства России среди младших юношей (до 16 лет) - 2012.
Победитель первенства России среди юниоров (1995 г.р.) - 2013.
Победитель первенства России среди старших юношей (1996 г.р.) - 2013.
Серебряный призёр первенства России среди юниоров (1996 г.р.) - 2014.
Победитель турнира «Золотая шайба» - 2007 (хоккей с шайбой).
клубные (международные):
Победитель турнира Кубка чемпионов (1) - 2015.
Второй призёр турнира Кубка чемпионов (1) - 2014.
в составе сборной России:
Чемпион мира (2) - 2015, 2016.
Серебряный призёр чемпионата мира (1) - 2017.
Победитель турнира четырёх наций (2)- 2016, 2019.
Второй призёр турнира четырёх наций (1) - 2018.
Второй призёр турнира трёх наций (1) - 2020.
Второй призёр открытого кубка Красноярского края (1) - 2021.
Победитель турнира на кубок Енисейской Сибири (1)- 2022.
в составе сборной России (младших возрастов):
Чемпион мира среди юниоров U-19 (1) - 2014.
Серебряный призёр чемпионата мира среди ст. юношей U-17 (1) - 2013.
Серебряный призёр чемпионата мира среди молодёжных команд U-21 (1) - 2016.
Серебряный призёр первенство мира среди молодёжных команд U-21 (1) - 2017.
Серебряный призер Кубка Европы U-19 (1) - 2015.
личные:
Включался в список 22 лучших игроков сезона (4) — 2016, 2021, 2022, 2023.
Лучший игрок чемпионата мира среди ст. юношей (U-17) - 2013.
Лучший полузащитник чемпионата мира среди ст. юношей (U-17) - 2013.
Лучший бомбардир чемпионата мира среди ст. юношей (U-17) - 2013.
Лучший игрок финальных игр первенства России среди юниоров (1995 г.р.) - 2013.
Лучший нападающий финальных игр первенства России среди старших юношей (1996 г.р.) - 2013.
Лучший игрок финальных игр первенства России среди старших юношей (1996 г.р.) - 2013.
Лучший бомбардир первенства России среди юниоров (1996 г.р.) - 2014.
Лучший новичок суперлиги – 2015.
Статистика выступлений в чемпионатах и кубках России
Примечание: Статистика голевых передач ведется с сезона — 1999/2000.
В чемпионатах и кубках России забивал мячи в ворота 16 / 16 команд
Количество мячей в играх
Чемпионат России
по 1 мячу забивал в 69 играх
по 2 мяча забивал в 27 играх
по 3 мяча забивал в 11 играх
по 4 мяча забивал в 2 играх
Свои 164 мяча забросил в 109 играх, в 110 играх мячей не забивал.
Кубок России
по 1 мячу забивал в 24 играх
по 2 мяча забивал в 10 играх
по 3 мяча забивал в 3 играх
Свои 53 мяча забросил в 37 играх, в 42 играх мячей не забивал.
В сборной России
Итого: 24 матча / 23 мяча; 20 побед, 1 ничья, 3 поражения.
Примечания
Ссылки
Профиль на сайте ФХМР
Никита Иванов: В первом сезоне меня переполняли эмоции!
Профиль на сайте Байкал-Энергия
Профиль на сайте hsmdynamo
Профиль на сайте bandysidan
Хоккеисты с мячом России
Игроки сборной России по хоккею с мячом
Игроки КХМ «Динамо» Москва
Игроки КХМ «Венерсборг»
Игроки КХМ «Байкал-Энергия»
Игроки КХМ «СКА-Нефтяник»
Чемпионы мира по хоккею с мячом | 31,816 |
https://apple.stackexchange.com/questions/410487 | StackExchange | Open Web | CC-By-SA | 2,021 | Stack Exchange | https://apple.stackexchange.com/users/237, mmmmmm | English | Spoken | 237 | 371 | Create standalone Safari apps in macOS, like you can with Chrome?
This thread explains how to turn a Chrome tab into a first-class Mac app that lives in the Dock:
How to make Web Apps appear as First-Class Mac Desktop Citizens
Looking for the same approach but with Safari instead of Chrome.
Apple's official Safari web apps adds this feature for macOS 14 Sonoma and Safari 17 in 2023:
In Safari, open the webpage that you want to use as a web app.
From the menu bar, choose File > Add to Dock.
Or click the Share button in the Safari toolbar, then choose Add to Dock.
This adds the website as a dedicated app icon in your Dock.
Just had the same question and found this: Unite
Not affiliated with them in any way, created app and it uses Safari (Webkit framework).
https://www.reddit.com/r/PWA/comments/ht2uc3/does_safari_in_macos_support_pwa/
It does not support PWAs on desktop yet
What is a PWA? and please provide an answer not just a link. An answer should standalone if the link is removed. (The link should stay in this case as you need to attribute who provided the information and to provide extra information)
Don't think there is an option with Safari. However, I've used an app called Fluid that can create websites into standalone apps. It is free, but there's extra minor features available for a small fee. Have a look at it here: https://fluidapp.com
| 39,692 |
https://war.wikipedia.org/wiki/Trichoglottis%20scaphigera | Wikipedia | Open Web | CC-By-SA | 2,023 | Trichoglottis scaphigera | https://war.wikipedia.org/w/index.php?title=Trichoglottis scaphigera&action=history | Waray | Spoken | 35 | 72 | An Trichoglottis scaphigera in uska species han Liliopsida nga ginhulagway ni Henry Nicholas Ridley. An Trichoglottis scaphigera in nahilalakip ha genus nga Trichoglottis, ngan familia nga Orchidaceae. Waray hini subspecies nga nakalista.
Mga kasarigan
Trichoglottis | 1,575 |
https://superuser.com/questions/1737448 | StackExchange | Open Web | CC-By-SA | 2,022 | Stack Exchange | Tetsujin, harrymc, https://superuser.com/users/1721915, https://superuser.com/users/347380, https://superuser.com/users/8672, thisismyname | English | Spoken | 509 | 646 | Windows 10: Ethernet slow, unstable or not working at all after unplugging Ethernet cable
Since a few months I have from time to time a strange problem.
The Problem:
Usually my laptop is using Ethernet for internet. However, sometimes I will unplug this cable to take my laptop to another room or to work. When I then reconnect the Ethernet cable there is always a chance that after that either my Ethernet connection is very slow or not working at all. Sometimes it will then also switch between being just slow and not working at all. This does not happen every time I dis- and reconnect the Ethernet cable but often enough to be really annoying.
Windows troubleshoot is in these cases never helpful and producees a wide range of error messages including the following:
ethernet doesn't have a valid ip configuration
Investigate router or broadband issues. (Resetting the router never solves the issue)
The default gateway is not available
DNS Server Not Responding
DHCP is not enabled for "ethernet"
I should mention that running the troubleshooter multiple times in a row will often produce different error messages. Another common problem is that my Ethernet connection simply only shows up as an "unidentified network".
Solutions I tried:
So the really strange thing for me is that there is not one solution to this problem I describe. Every time it happens I cycle through a number of steps to solve the issue and sometimes one will work. Things I usually try include:
Renew IP address
Reset TCP/IP Stack
Disable/Enable Network Adapter
Change DNS settings
Restart Router and Laptop
Clear the DNS cache
Usually after some trying one of these solutions is working. However, it is not always the same solution that is working and if I am unlucky I have to go through the list multiple times until the Ethernet connection works again.
This is of course somewhat inconvenient and it also makes no sense to me why some solutions are only sometimes working. So I wanted to ask if any of you has an idea what is wrong with my Laptop/Ethernet and how I could possible fix it.
Thanks a lot for the help :)
I should add that Wifi works always fine on my laptop and wifi and ethernet work without any problems on all other devices connected to the router
Try another cable, and verify that the port is in good shape.
I'm with harry - power down completely, get a new cable. Spray the plug liberally with contact cleaner [never spray in the socket of a laptop even powered off], then holding the little lock down, push in & out of your laptop socket a couple of dozen times. Unplug & allow to dry for 5 minutes. Do the same for the other end of the cable. Cables do go bad, but socket contacts do get grubby too, which can cause all kinds of intermittent issues like you're seeing.
Thanks for the quick replies. I will try another cable and a contact cleaner and report back.
| 49,720 |
https://sk.wikipedia.org/wiki/Saint-Gengoux-le-National | Wikipedia | Open Web | CC-By-SA | 2,023 | Saint-Gengoux-le-National | https://sk.wikipedia.org/w/index.php?title=Saint-Gengoux-le-National&action=history | Slovak | Spoken | 13 | 58 | Saint-Gengoux-le-National môže byť:
francúzska obec, pozri Saint-Gengoux-le-National (obec)
francúzsky kantón, pozri Saint-Gengoux-le-National (kantón) | 14,267 |
https://superuser.com/questions/1737004 | StackExchange | Open Web | CC-By-SA | 2,022 | Stack Exchange | https://superuser.com/users/547611, nadapez | English | Spoken | 312 | 632 | All files become owned by root in my Samba shared folder
I have a shared folder in samba (linux). The problem is that when I mount the shared folder, even in the same machine, all folders and files appears as owned by root, so I can only create or modify files using sudo.
All files and folders appears with permision 755.
The actual folder has permissions 777, is in the smbshare group
and is owned by sambauser.
I created the sambauser user as explained here: https://computingforgeeks.com/how-to-configure-samba-share-on-debian/ with this lines:
sudo useradd -M -s /sbin/nologin sambauser
sudo usermod -aG smbshare sambauser
This is my config file:
[global]
workgroup = WORKGROUP
follow symlinks = yes
unix extensions = yes
log file = /var/log/samba/log.%m
max log size = 1000
logging = file
panic action = /usr/share/samba/panic-action %d
server role = standalone server
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user
[homes]
comment = Home Directories
browseable = no
read only = yes
create mask = 0700
directory mask = 0700
valid users = %S
[docs]
comment = documents
path = /home/myuser/Documents
writable = yes
guest ok = yes
guest only = yes
force create mode = 775
force directory mode = 775
inherit permissions = yes
valid users = @smbshare
My command for mounting is:
sudo mount.smb3 //localhost/docs ~/m -o user=sambauser
I also tried:
sudo mount -t cifs -ouser=sambauser,vers=3.0 //localhost/docs m
I don't know what I am doing wrong.
I just solved the problem with the optin uid=myuser in the mount command. But I don't understand the meaning of that. Also in the mount.smb3 help it says that option is not needed in cifs supporting unix extensions.
Now I can create files but they become owned by 'nobody'
| 36,926 |
https://it.wikipedia.org/wiki/La%20novena | Wikipedia | Open Web | CC-By-SA | 2,023 | La novena | https://it.wikipedia.org/w/index.php?title=La novena&action=history | Italian | Spoken | 18 | 36 | La novena (La neuvaine) è un film del 2005 diretto da Bernard Émond.
Trama
Collegamenti esterni
Film drammatici | 39,356 |
https://fr.wikipedia.org/wiki/Miniopteridae | Wikipedia | Open Web | CC-By-SA | 2,023 | Miniopteridae | https://fr.wikipedia.org/w/index.php?title=Miniopteridae&action=history | French | Spoken | 25 | 67 | Les Miniopteridae sont une famille de chauve-souris.
Liste des sous-familles
Selon :
genre Miniopterus Bonaparte, 1837
Notes et références
Liens externes
Chiroptère (nom scientifique)
Miniopteridae | 17,546 |
https://pl.wikipedia.org/wiki/Aleksander%20Zwieriew | Wikipedia | Open Web | CC-By-SA | 2,023 | Aleksander Zwieriew | https://pl.wikipedia.org/w/index.php?title=Aleksander Zwieriew&action=history | Polish | Spoken | 388 | 977 | Aleksandr Aleksandrowicz Zwieriew, (ur. w Faustowie, zm. 16 listopada 1937 na poligonie NKWD w Butowie) – rosyjski duchowny prawosławny, protoprezbiter, święty nowomęczennik prawosławny.
Życiorys
Był synem kapłana prawosławnego. Ukończył Moskiewską Akademię Duchowną, po czym został zatrudniony jako wykładowca historii literatury rosyjskiej w Wifańskim Seminarium Duchownym. Święcenia kapłańskie przyjął w 1913. Pięć lat później wyjechał do Moskwy i tam podjął pracę duszpasterską w cerkwi św. Mikołaja w Zwonarach. W tym samym roku został asystentem kierownika kursów przygotowujących do święceń kapłańskich przy eparchii moskiewskiej, zaś w 1919 – proboszczem parafii przy świątyni, w której służył.
W 1921 otrzymał godność protoprezbitera. W tym samym roku wzmiankowany jest jako wykładowca teologii pastoralnej na kursach przygotowujących dla kapłanów przy eparchii moskiewskiej, zaś w roku następnym był zastępcą ich kierownika. Również w 1922 został aresztowany za odczytanie w cerkwi listu pasterskiego patriarchy moskiewskiego i całej Rusi Tichona, w którym krytyce poddana została konfiskata kosztowności cerkiewnych. Po aresztowaniu, w czasie przesłuchania, ks. Zwieriew stwierdził, iż nie zgadza się z treścią listu patriarchy i poparł Żywą Cerkiew, po czym został zwolniony. Mimo to w grudniu tego samego roku został oskarżony w procesie grupy moskiewskich duchownych i świeckich, w którym zarzucono im czynne sprzeciwianie się konfiskacie ruchomego majątku Cerkwi. Skazany na dwa lata łagru, wyszedł na wolność na mocy amnestii po siedmiu miesiącach i wrócił do pracy duszpasterskiej w cerkwi w Moskwie-Zwonarach.
Jako więzień łagru zgodził się rozpocząć tajną współpracę z OGPU i po wyjściu na wolność przekazywał informacje o parafianach, starając się przy tym im nie zaszkodzić. W 1933 odmówił dalszej współpracy ze służbą bezpieczeństwa i został po tym aresztowany i oskarżony o prowadzenie systematycznej agitacji antyradzieckiej, której celem miało być obalenie władzy radzieckiej. Nie przyznał się do winy. W kwietniu 1933 został skazany na trzyletnią zsyłkę do Kargopola. Zwolniony w lutym 1936, został skierowany do pracy duszpasterskiej w cerkwi Narodzenia Matki Bożej w Wozmiszczu (powiat wołokołamski). Po roku aresztowany i osadzony w więzieniu w Wołokołamsku, ponownie oskarżony o agitację antyradziecką. 14 listopada 1937 został skazany na śmierć razem z księżmi Dymitrem Rozanowem i Pawłem Andriejewem, a następnie stracony i pochowany w zbiorowym grobie.
W 2001 został kanonizowany jako jeden z Soboru Nowomęczenników i Wyznawców Rosyjskich.
Przypisy
Urodzeni w 1881
Zmarli w 1937
Ofiary wielkiego terroru w ZSRR
Rosyjscy duchowni prawosławni
Absolwenci Moskiewskiej Akademii Duchownej
Więźniowie radzieckich więzień
Więźniowie radzieckich łagrów
Nowomęczennicy rosyjscy
Straceni przez rozstrzelanie | 8,528 |
https://cs.wikipedia.org/wiki/Lake%20Roesiger | Wikipedia | Open Web | CC-By-SA | 2,023 | Lake Roesiger | https://cs.wikipedia.org/w/index.php?title=Lake Roesiger&action=history | Czech | Spoken | 59 | 139 | Lake Roesiger je obec v okrese Snohomish v americkém státě Washington. V roce 2010 měla 503 obyvatel. Při sčítání lidu v roce 2010 tvořili 96 % zdejšího obyvatelstva běloši, necelé 1 % původní obyvatelé a zhruba 0,5 % Asiaté. 2 % obyvatelstva byla hispánského původu. Z celkové rozlohy 26,2 km² tvořila 5 % vodní plocha.
Reference
Města ve Washingtonu | 42,911 |
https://tr.wikipedia.org/wiki/Osko-Umbriya%20dilleri | Wikipedia | Open Web | CC-By-SA | 2,023 | Osko-Umbriya dilleri | https://tr.wikipedia.org/w/index.php?title=Osko-Umbriya dilleri&action=history | Turkish | Spoken | 1,055 | 3,396 | Osko-Umbriya, Sabelik veya Sabel dilleri, Antik Roma'nın gücünün genişlemesiyle yerini Latinceye bırakmadan önce Osko-Umbriyalılar tarafından Merkez ve Güney İtalya'da konuşulmuş Hint-Avrupa dilleri olan İtalik dillerin soyu tükenmiş bir grubudur. Yazılı tasdikleri MÖ 1. milenyumun ortasından MS 1. milenyumun ilk yüzyıllarına kadar gelişmiştir. Diller neredeyse sadece yazıtlardan - özellikle Oskanca ve Umbriyaca - biliniyor ama Latincede bazı Osko-Umbriyaca alıntı kelimeler de var. Oskanca ve Umbriyaca'nın (ve lehçelerinin) iki ana kolunun yanında Güney Pikence, Sabel dillerinin üçüncü bir kolunu gösterebilir. Tüm dilsel Sabel bölgesi bir lehçe sürekliliği olarak da kabul edilebilir. "Küçük lehçelerin" çoğundan elde edilen kanıtların azlığı, bu tespitleri yapmanın zorluğuna katkıda bulunuyor.
İtalik dillerle ilişkisi
Antoine Meillet'nin kendi teorisini takiben, Osko-Umbriya dilleri; Latince, Faliskçe ve diğer ilgili birkaç dili daha içeren İtalik dillerin bir kolu olarak kabul edildi. Ancak bu üniter şema, İtalik dillerin Hint-Avrupa içinde ayrı iki kola ayrılması gerektiğini öneren Alois Walde, Vittore Pisani ve Giacomo Devoto gibi kişilerce eleştirildi. Bu görüş 20. yüzyılın ikinci yarısında biraz kabul görmüş olsa da İtalya'daki tam oluşum ve nüfuz süreçleri araştırma konusu olarak kalmaya devam ediyor. Rix gibi bu düşünceyi destekleyenler daha sonradan bu fikri reddedecekti ve tüm İtalik dillerin eşsiz bir ortak atadan türediğini öneren "üniter teori" baskın kalacaktı. Her halükarda, tüm bu dillerin yayılımının, doğu kökenli Hint-Avrupa nüfuslarının giderek artan akışıyla gerçekleşmiş olması, Oski ve Umbri'nin İtalyan Yarımadası'na Latin ve Falisklerden sonra, İapigyalılar ve Mesapyalılardan önce ulaşmış olması mantıklıdır.
Tarihi, sosyal ve kültürel yönleri
İtalyan yarımadasının kalbinde konuşulan Sabel dillerinin iki ana kolu, güneyde Oskanca ve Oskancanın kuzeyinde Umbriyacadır. Sabel dillerine dahil edilen diller şunlardır: Volskice, Sabince, Güney Pikence, Marsice, Pelinyice, Hernikçe, Marrukince ve Ön-Samnitçe.
Ekçe ve Vestince geleneksel olarak Oskanca grubuna veya Umbriyaca grubuna atfedilmiştir. Fakat hepsi zayıf bir şekilde tasdiklenmiştir ve böyle bir ayrım kanıtlarla desteklenmemektedir. Görünen o ki kuzeyde Umbriyaca, güneyde Oskanca ve aradaki 'Sabel' dilleri (bir sonraki bölüme bakınız) her ikisinin özelliklerine sahip olan bir lehçe sürekliliğinin bir parçasını oluşturmuş olabilir.
Bununla birlikte, Güney İtalya ve Sicilya'ya dağılmış Oskanca konuşan koloniler de vardı. Oskanca, Romalıların boyun eğdirmesi yıllar süren güçlü düşmanlarından olan Samnit kabilelerinin diliydi. (Samnit Savaşları MÖ 370'den MÖ 290'a kadar sürdü).
Bu diller, MÖ 400 ile MS 1. yüzyıl arasında yazıldığı düşünülen birkaç yüz yazıttan bilinmektedir. Pompeii'de kamu binalarındaki adak ve tabelalar gibi çok sayıda Oskanca yazıt vardır.
Umbriyaca; Umbriyalılar, Romalılara boyun eğdiğinde bir düşüş sürecine girdi ve Romalılaştırma onun ölümüne yol açtı. Umbriyaca, tüm Osko-Umbriya dilleri arasında özellikle İguvin Tabletleri sayesinde en iyi bilinen dildir.
Dağılım
Bu diller Samnium ve Campania'da, kısmen Puglia, Lucania ve Bruttium'da ve Mamertinler tarafından Sicilya kolonisi Messana'da (Messina) konuşuldu.
Geçmiş kullanım
Sabel aslen Roma genişlemesi sırasında Merkez ve Güney İtalya'da yaşamış olan İtalik halkının toplu etnik adıydı. Bu isim sonradan Theodor Mommsen tarafından Unteritalische Dialekte kitabında Oskanca ve Umbriyaca olmayan Roma öncesi Merkez İtalya lehçelerini tanımlamak için kullanıldı.
Terim şu anda bir bütün olarak Osko-Umbriya dilleri için kullanılmaktadır. "Sabel" bir zamanlar Osko-Umbriya olan veya olmayan tüm küçük diller için kullanılmıştı. Kuzey Pikence de dahil edilmişti ama alakalı olup olmadığı halen daha belirsizliğini korumakta.
Sınıflandırma
Tanıklığı korunan Osko-Umbriya dilleri veya lehçeleri şunlardır:
Oskan, İtalyan yarımadasının güney merkez bölgesinde konuşulan dilleri içerir:
Oskanca; daha az bilinen ve Oskancayla ilgli olduğu kabul edilen diğer çeşitliliklerle birlikte grubun en iyi belgelenmiş dilidir.
Marrukince
Pelinyice
Umbriya, yarımadanın kuzey merkez bölgesinde konuşulan dillerle birlikte.
Umbriyaca
Marsice
Sabince
Volskice
Hernikçe
Piken-Ön Samnit
Güney Pikence
Ön-Samnitçe, güneyde belgelenmiş bir dil fakat Güney Pikenceye Oskancadan daha yakın özellikler içeriyor gibi görünüyor.
Bilinmeyen
Ekçe
Vestince (Büyük olasılıkla Oskan, Vestincenin yakından bağlantılı olduğu komşuları Pelinyice ve Marrukince gibi.)
Topluca "Sabel lehçeleri" olarak bilinen az belgelenmiş varyantlar, çok fazla kanıt olmadan iki ana gruba atfedilir. Bazı yazarlar, örneğin Ekçe ve Vestinceyi birlikte gruplamak yerine karşıt dallara yerleştirerek bu tür geleneksel sınıflandırmadan şüphe duyarlar.
Dilsel açıklama
Osko-Umbriya dilleri, tekil olarak yaklaşık 5 farklı biçimbilimsel durumu olan, Latincedekine benzer, bükünlü dillerdi.
Latinceden farkları
Osko-Umbriya dilleri Latinceden çok daha zayıf bir şekilde tasdiklenmiş olsa da birkaç bin kelimelik yazıtlardan oluşan bir külliyat, dilbilimcilerin bazı kladistik yenilikleri anlamasına izin verdi. Örneğin, Ön Hint-Avrupaca solukluları, Latincede ünlü arasında b, d ve h/g olarak görünürken (medius < *medʰyos) solukluların tümü Sabel dillerinde f olarak görünür (Oskanca mefiai< *medʰyos). Ek olarak; Latince, Ön Hint-Avrupaca dudaksıl-artdamaksıl seslerini korurken (Q-İtalik) Osko-Umbriya dilleri, onları dudaksıl olarak bileştirir (P-İtalik): Latince quattuor, Oskanca petora.
Ayrıca bakınız
İtalik halklar
Notlar
Kaynakça
Konuyla ilgili yayınlar
Adams, Douglas Q. ve James P. Mallory. 1997. "İtalik diller." Hint-Avrupa kültürünün ansiklopedisinde. Düzenleyen James P. Mallory ve Douglas Q. Adams, 314–19. Chicago: Fitzroy Dearborn.
Baldi, Philip . 2002. Latincenin temelleri. Berlin: de Gruyter.
Beeler, Madison S. 1952. "Latince ve Osco-Umbrian ilişkisi." Dil 28: 435–43.
————. 1966. "İtalik içindeki karşılıklı ilişkiler." Eski Hint-Avrupa lehçelerinde: 25-27 Nisan 1963, Los Angeles, California Üniversitesi'nde düzenlenen Hint-Avrupa Dilbilimi Konferansı Tutanakları. Henrik Birnbaum ve Jaan Puhvel, 51-58 tarafından düzenlendi. Berkeley: Üniv. California Press'ten.
Buck, Carl Darling. 1928. Bir yazıt koleksiyonu ve bir sözlük içeren bir Oscan ve Umbrian dilbilgisi. 2. Baskı. Boston: Cin.
Clackson, James. 2015. "Hint-Avrupa'nın Sabellian Şubesinde Alt Gruplama." Filoloji Derneği İşlemleri 113 (1): 4-37. https://doi.org/10.1111/1467-968X.12034
Colman, Robert. 1986. "Roma genişleme döneminde Orta İtalik diller." Filoloji Derneği İşlemleri 84(1): 100-131.
de Vaan, Michiel. 2008. Latince ve diğer italik dillerin etimolojik sözlüğü. Leiden Hint-Avrupa Etimolojik Sözlük Serisi 7. Leiden, Hollanda: Brill.
Dupraz, Emmanuel. 2012. Sabellian Göstericiler: Formlar ve İşlevler. Leiden: Brill.
Mercado, Angelo. 2012. İtalik Ayet: Eski Latince, Faliscan ve Sabellic'in Şiirsel Kalıntıları Üzerine Bir Çalışma. Innsbruck: Institut für Sprachen und Literatürn der Universität Innsbruck.
Middei, Edoardo. " Gli antroponimi sabellici in *-ai̭os e le basi onomastiche con morfo-struttura aCCa- (*-ai̭os ile Sabelli kişisel adları ve morfo-yapısal desen acca- ile onomastik tabanlar). İçinde: Greko-Latin Brunensia . 2015, cilt. 20, is. 2, s. 105-121. ISSN 2336-4424
Nishimura, Kanehiro. "Sabellian Dillerinde *-ismo- ve *-isim̥mo Üstün Son Ekleri." Glotta 81 (2005): 160-83. www.jstor.org/stable/40267191.
Poccetti, Paulo. "Dil sabelliche". İçinde: Palaeohispanica: revista sobre lenguas y culturas de la Hispania antigua n. 20 (2020): s. 403-494. ISSN 1578-5386 DOI: 10.36707/palaeohispanica.v0i20.399
Poultney, James. 1951. "Volscianlar ve Umbrialılar." Amerikan Filoloji Dergisi 72: 113-27.
Tikkanen, Karin. 2009. Latince ve Sabellian dillerinin karşılaştırmalı bir grameri: Vaka sözdizimi sistemi. Doktora tezi, Uppsala Üniv.
Weiss, Michael L. 2010. Sabelli İtalya'da Dil ve Ritüel: Üçüncü ve Dördüncü Tabulae Iguvinae'nin Ritüel Kompleksi. Leiden: Brill.
Woodard, Roger D. 2008. Avrupa'nın Kadim Dilleri. Cambridge: Cambridge University Press.
Dış bağlantılar
" Eski İtalya'nın Dilleri ve Kültürleri. Tarihsel Dilbilim ve Dijital Modeller ", İtalyan Üniversite ve Araştırma Bakanlığı tarafından proje fonu (PRIN 2017)
Osko-Umbriya dilleri | 23,042 |
https://stackoverflow.com/questions/56824480 | StackExchange | Open Web | CC-By-SA | 2,019 | Stack Exchange | Raj, Sajeetharan, https://stackoverflow.com/users/10643400, https://stackoverflow.com/users/1749403 | English | Spoken | 614 | 1,815 | Response with status: 0 for URL: null – getting this error when I run in simulator or web
I am developing a simple mobile maid android based app using Ionic framework and I am using laravel for my backend. I am getting ‘Response with status: 0 for URL: null’ this error when I run it in web or android simulator.
I could not be able to register a new user, when I used POSTMAN to check my restful API it works and I could be a able to register a new user. But when I run this app in simulator it keep on showing this ‘Response with status: 0 for URL: null’ error.
**auth-service.ts file**
import { Injectable } from '@angular/core';
import {Http, Headers} from '@angular/http'
import 'rxjs/add/operator/map';
let apiUrl = 'http://fypBackend.test/api/';
@Injectable({
providedIn: 'root'
})
export class AuthServiceService {
constructor(public http: Http) { }
register(data){
return new Promise((resolve, reject) => {
let headers = new Headers();
headers.append('Content-Type', 'application/json');
this.http.post(apiUrl+'users', JSON.stringify(data), {headers: headers})
.subscribe(res => {
resolve(res.json());
}, (err) => {
console.log('Not Working')
reject(err);
});
});
}
}
**register.ts file**
import { Component} from '@angular/core';
import { NavController,LoadingController, ToastController } from '@ionic/angular';
import {AuthServiceService} from '../auth-service.service';
@Component({
selector: 'page-register',
templateUrl: './register.page.html',
styleUrls: ['./register.page.scss'],
})
export class RegisterPage{
loading: any;
regData = {name: '', icNumber: '', email: '',
password: '', phone: '', address: '',
cityState: '', houseType: '', category:''};
constructor(public navCtrl: NavController, public authService: AuthServiceService, public loadingCtr: LoadingController, private toastCtrl: ToastController) { }
doSignup(){
this.authService.register(this.regData).then((result)=>{
this.loading.dismiss();
this.navCtrl.pop();
}, (err) => {
this.presentToast(err);
});
}
async presentToast(msg){
const toast = await this.toastCtrl.create({
message: msg,
duration: 3000,
position: 'top',
color: 'dark',
});
toast.present();
}
}
**register.html file**
<ion-content padding>
<h2>Register Here</h2>
<form (submit) = "doSignup()">
<ion-item>
<ion-label stacked>Username</ion-label>
<ion-input [(ngModel)] = "regData.name" name = "name" type="text" placeholder = "Your Name"></ion-input>
</ion-item>
<ion-item>
<ion-label stacked>IC-Number</ion-label>
<ion-input [(ngModel)] = "regData.icNumber" name = "icNumber" type="number" placeholder = "Your IC-Number"></ion-input>
</ion-item>
<ion-item>
<ion-label stacked>E-mail</ion-label>
<ion-input [(ngModel)] = "regData.email" name = "email" type="email" placeholder = "Your E-Mail"></ion-input>
</ion-item>
<ion-item>
<ion-label stacked>Password</ion-label>
<ion-input [(ngModel)] = "regData.password" name = "password" type="password" placeholder = "Your Password"></ion-input>
</ion-item>
<ion-item>
<ion-label stacked>Handphone Number</ion-label>
<ion-input [(ngModel)] = "regData.phone" name = "phone" type="tel" placeholder = "Your Phone Number"></ion-input>
</ion-item>
<ion-item>
<ion-label stacked>Address</ion-label>
<ion-input [(ngModel)] = "regData.address" name = "address" type="text" placeholder = "Your Address"></ion-input>
</ion-item>
<ion-item>
<ion-label stacked>City/State</ion-label>
<ion-input [(ngModel)] = "regData.cityState" name = "cityState" type="text" placeholder = "Your City/State"></ion-input>
</ion-item>
<ion-item>
<ion-label stacked>House Type</ion-label>
<ion-input [(ngModel)] = "regData.houseType" name = "houseType" type="text" placeholder = "Your House Type"></ion-input>
</ion-item>
<ion-item>
<ion-label stacked>Category</ion-label>
<ion-select [(ngModel)] = "regData.category" name = "category" type="text" placeholder = "Your Category">
<ion-select-option value="1" selected>Maid</ion-select-option>
<ion-select-option value="2" selected>Customer</ion-select-option>
</ion-select>
</ion-item>
<button ion-button block type = "submit">
SignUp
</button>
</form>
</ion-content>
This seems like a CORS issue, To avoid CORS problem you must use @ionic-native/HTTP plugin which is actually Advanced HTTP plugin for API calls.
Follow below steps to use this plugin
Step 1: Add Http native plugin
$ ionic cordova plugin add cordova-plugin-advanced-http
$ npm install --save @ionic-native/http
Installation Link : HTTP
Step 2: Import HTTP native plugin in your file where you wants to call API.
import { HTTP, HTTPResponse } from '@ionic-native/http';
Step 3: How to use this plugin for API call ?
constructor(public httpPlugin: HTTP) {
}
//Set header like this
this.httpPlugin.setHeader("content-type", "application/json");
//Call API
this.httpPlugin.get(this.url, {}, {}).then((response) => {
//Got your server response
}).catch(error => {
//Got error
});
Hello Sir, as you can see I am using POST method to register new user, the header for both POST and GET is the same?
can you attach a screenshot?
you can refer the code that I've posted above sir,
please refer this code sir auth-service.ts file.
I am trying to POST the data.
| 20,614 |
https://en.wikipedia.org/wiki/Fran%20Drescher | Wikipedia | Open Web | CC-By-SA | 2,023 | Fran Drescher | https://en.wikipedia.org/w/index.php?title=Fran Drescher&action=history | English | Spoken | 2,611 | 3,835 | Francine Joy Drescher (born September 30, 1957) is an American actress, comedian, writer, activist, and trade union leader, currently serving as the national president of the Screen Actors Guild – American Federation of Television and Radio Artists (SAG-AFTRA). She is known for her role as Fran Fine in the television sitcom The Nanny (1993–1999), which she created and produced with her then-husband Peter Marc Jacobson.
Drescher made her screen debut with a small role in the 1977 film Saturday Night Fever and later appeared in American Hot Wax (1978) and Wes Craven's horror film Stranger in Our House (1978). In the 1980s, she gained recognition as a comedic actress in the films Gorp (1980), The Hollywood Knights (1980), Doctor Detroit (1983), This Is Spinal Tap (1984), and UHF (1989) while establishing a television career with guest appearances on several series. In 1993, she achieved wider fame as Fran Fine in her own sitcom vehicle The Nanny, for which she was nominated for two Emmy Awards and two Golden Globe Awards for Best Actress in a Comedy Television Series during the show's run. In the 2000s, Drescher starred in the sitcoms Living with Fran and Happily Divorced. From 2012 to 2022, she starred in the animated Hotel Transylvania film series. In 2014, Drescher made her Broadway debut in Cinderella as stepmother Madame. In 2020, she starred in the NBC sitcom Indebted.
The national members of the trade union SAG-AFTRA, representing actors and other media professionals, elected Drescher as their president on September 2, 2021, and she took office that October 15. Drescher has led the union during the actors' strike that began on July 14, 2023, concurrently with the writers' strike that began in May.
Early life and education
Drescher was born on September 30, 1957, in Queens, a borough of New York City, the younger daughter of Sylvia, a bridal consultant, and Morty Drescher, a naval systems analyst. Her family is Jewish, from Southeast and Central Europe. Her maternal great-grandmother Yetta was born in Focșani, Romania, and emigrated to the United States, while her father's family came from Poland. She has an older sister.
Drescher was a first runner-up for "Miss New York Teenager" in 1973. She attended Flushing's Parsons Junior High School, which later dissolved, and then Hillcrest High School in Jamaica, Queens. There she met her future husband, Peter Marc Jacobson, whom she married in 1978, at age 21. They divorced in 1999. Drescher graduated from Hillcrest High School in 1975; one of her classmates was comedian Ray Romano. Drescher's character Fran Fine from The Nanny and Romano's character Ray Barone from Everybody Loves Raymond met at a 20th high school reunion on an episode of The Nanny.
Drescher and Jacobson attended Queens College, City University of New York, but dropped out in their first year because "all the acting classes were filled." She then enrolled in cosmetology school.
Career
Early career
Drescher's first break was a small role as dancer Connie in the movie Saturday Night Fever (1977), in which she delivered the line "So, are you as good in bed as you are on the dance floor?" to John Travolta's character. A year later, she began to gain attention in films such as American Hot Wax (1978) and Summer of Fear (1978). She also took on a rare dramatic role in the 1981 Miloš Forman film Ragtime.
During the 1980s, Drescher found success as a character actress with roles in films such as Gorp (1980), The Hollywood Knights (1980), Doctor Detroit (1983), The Big Picture (1989), UHF (1989), Cadillac Man (1990), and memorably in This Is Spinal Tap (1984) as publicist Bobbi Flekman. She also made an appearance in a second-season episode of Who's the Boss? in 1985 as an interior decorator. She also had an appearance on Night Court as a woman with dissociative identity disorder who flips from a prude to a sexually minded woman and ends up in a hotel with ADA Dan Fielding.
In 1990, Drescher appeared on ALF as Roxanne, the wife of grown-up Brian, who had no clue she was a mob boss, in the episode "Future's So Bright I Gotta Wear Shades".
In 1991, Drescher co-starred on the short-lived CBS sitcom Princesses. In the early-to-mid 1990s, she voiced "Peggy" from The P Pals on PBS (the woman with the flower on her hat).
The Nanny and film roles
Drescher and Jacobson created their own television show, The Nanny, in 1993. The show aired on CBS from 1993 to 1999, and Drescher became an instant star. In this sitcom, she played a woman named Fran Fine who casually became the nanny of Margaret ("Maggie") (played by Nicholle Tom), Brighton ("B") (played by Benjamin Salisbury), and Grace ("Gracie") Sheffield (played by Madeline Zima); with her wit and her charm, she endeared herself to their widower father: stuffy, composed, proper British gentleman and Broadway producer Maxwell Sheffield (Charles Shaughnessy). She reprised her This is Spinal Tap character of Bobbi Flekman, a look-alike for her Fran Fine character, in season 5, episode 3, of The Nanny.
Drescher appeared in Jack (1996), directed by Francis Ford Coppola, The Beautician and the Beast (1997) (for which she was also executive producer) and Picking Up the Pieces (2000) co-starring Woody Allen. She was also the voice of "Pearl" in Shark Bait (2006).
Return to television
In the 2000s, Drescher made a return to television both with leading and guest roles. In 2003, Drescher appeared in episodes of the short-lived sitcom Good Morning, Miami as Roberta Diaz. In 2005, she returned with the sitcom Living with Fran, in which she played Fran Reeves, a middle-aged mother of two living with Riley Martin (Ryan McPartlin), a man half her age and not much older than her son. Former Nanny costar Charles Shaughnessy appeared as her philandering ex-husband, Ted. Living with Fran was cancelled on May 17, 2006, after two seasons.
In 2006, Drescher guest-starred in an episode of Law & Order: Criminal Intent; the episode, "The War at Home", aired on US television on November 14, 2006. She also appeared in an episode of Entourage and in the same year, gave her voice to the role of a female golem in The Simpsons episode "Treehouse of Horror XVII". In 2007, Drescher appeared in the US version of the Australian improvisational comedy series Thank God You're Here.
In 2008, Drescher announced that she was developing a new sitcom entitled The New Thirty, also starring Rosie O'Donnell. A series about two old high school friends coping with midlife crises, Drescher described the premature plot of the show as "kind of Sex and the City but we ain't getting any! It'll probably be more like The Odd Couple." It was never produced.
In 2010, Drescher returned to television with her own daytime talk show, The Fran Drescher Tawk Show. While the program debuted to strong ratings, it ended its three-week test run to moderate success, resulting in its shelving. The following year, the sitcom Happily Divorced, created by Drescher and her ex-husband, Peter Marc Jacobson, was picked up by TV Land for a ten-episode order. It premiered there June 15, 2011. The show was renewed in July 2011 for a second season of 12 episodes, which aired in spring 2012. On May 1, 2012, TV Land extended the second season and picked up 12 additional episodes, taking the second season total to 24. The back-order of season two debuted later in 2012. Happily Divorced was cancelled in August 2013.
To promote Happily Divorced, Drescher performed the weddings of three gay couples in New York City using the minister's license she received from the Universal Life Church. Drescher hand-picked the three couples, all of whom were entrants into "Fran Drescher's 'Love Is Love' Gay Marriage Contest" on Facebook, based on the stories the couples submitted about how they met, why their relationship illustrated that "love is love" and why they wanted to be married by her.
Broadway
Drescher made her Broadway debut on February 4, 2014, in the revival of Rodgers and Hammerstein's Cinderella. She replaced Harriet Harris as stepmother Madame for a 10-week engagement. She reprised the role during the North American tour's engagement in Los Angeles, lasting from March through April 2015. Drescher's previous stage performances include an off-Broadway production of Nora Ephron's Love, Loss, and What I Wore, and Camelot at the Lincoln Center with the New York Philharmonic. On January 8, 2020, it was announced that Drescher and Jacobson were writing the book for a musical adaptation of The Nanny. Rachel Bloom and Adam Schlesinger of Crazy Ex-Girlfriend were brought on to compose the songs prior to Schlesinger's death in April 2020, while Marc Bruni (Beautiful: The Carole King Musical) was slated to direct. Drescher will not portray the title role, as she joked that if she did "We'd have to change the title to The Granny."
Trade union leader
In 2021, Drescher began her campaign to become president of the SAG-AFTRA union, citing both her entertainment and political background (see below). Her candidacy came from the "Unite for Strength" faction, and she ran against actor Matthew Modine. On September 2, 2021, SAG-AFTRA announced that Drescher had won the election.
On July 13, 2023, after SAG-AFTRA members overwhelmingly voted to authorize a strike action a week prior, Drescher announced the SAG-AFTRA strike was to begin at midnight the following day, running alongside the concurrent WGA strike that began just over two months prior.
Personal life
Fran Drescher met Peter Marc Jacobson when she was 15 years old. The two were high school sweethearts and married at 21.
In January 1985, two armed robbers broke into Drescher and Jacobson's Los Angeles apartment. While one ransacked their home, Drescher and a female friend were raped by the other robber at gunpoint. Jacobson was also physically attacked, tied up, and forced to witness the entire ordeal. It took Drescher many years to recover, and it took her even longer to tell her story to the press. She was paraphrased as saying in an interview with Larry King that although it was a traumatic experience, she found ways to turn it into something positive. In her book Cancer Schmancer, the actress writes: "My whole life has been about changing negatives into positives." According to Drescher, her rapist, who was on parole at the time of the crime, was returned to prison and given two life sentences.
After separating in 1996, Drescher and Jacobson divorced in 1999. They had no children. Drescher has worked to support LGBT rights issues after her former husband came out. Drescher has stated that the primary reason for the divorce was her need to change directions in life. Drescher and Jacobson remain friends and business partners. She has stated that "we choose to be in each other's lives in any capacity. Our love is unique, rare, and unconditional, unless he's being annoying."
On September 7, 2014, Drescher and Shiva Ayyadurai participated in a ceremony at Drescher's beach house. Both tweeted that they had married and the event was widely reported as such. Ayyadurai later said it was not "a formal wedding or marriage," but a celebration of their "friendship in a spiritual ceremony with close friends and her family." The couple parted ways two years later.
Cancer
After two years of symptoms and misdiagnoses by eight doctors, Drescher was admitted to Los Angeles's Cedars Sinai Hospital on June 21, 2000, after doctors diagnosed her with uterine cancer. She had to undergo an immediate radical hysterectomy to treat the disease. Drescher was declared cancer-free and no post-operative treatment was ordered.
Drescher wrote about her experiences in her second book, Cancer Schmancer. Her purpose for this book was to raise consciousness for people "to become more aware of the early warning signs of cancer, and to empower themselves". Drescher says, "I was going to learn what I needed to learn, ask questions, become partners with my doctor instead of having some kind of parent/child relationship."
Cancer Schmancer Movement
On June 21, 2007, the seventh anniversary of her operation, Drescher announced the national launch of the Cancer Schmancer Movement, a non-profit organization dedicated to ensuring that all women's cancers be diagnosed while in Stage 1, the most curable stage. She celebrated her tenth year of wellness on June 21, 2010.
Drescher says:
She says her goal is to live in a time when women's mortality rates drop as their health care improves and early cancer detection increases.
Her efforts as an outspoken healthcare advocate in Washington DC helped get unanimous passage for (also known as Johanna's Law) and she is acknowledged in the Congressional Record.
Politics
In September 2008, Drescher, a Democrat, was appointed as a U.S. diplomat by George W. Bush administration's Assistant Secretary of State Goli Ameri. Her official title was Public Diplomacy Envoy for Women's Health Issues. In traveling throughout the world, she supported U.S. public diplomacy efforts, including working with health organizations and women's groups to raise awareness of women's health issues, cancer awareness and detection, and patient empowerment and advocacy. Her first trip was in late September and included stops in Romania, Hungary, Serbia, and Poland.
In 2008, Drescher supported Senator Hillary Clinton for the Democratic Party presidential nomination. She attended a Super Democrat rally for Clinton. Drescher said that she had been considering a run for the United States Senate in 2008 to succeed Hillary Clinton, but ultimately decided against it. She endorsed Barack Obama for re-election in 2012. In 2017, she said in an interview she was explicitly anti-capitalist and was happy to see the Green Party gaining some traction.
Drescher received the COVID-19 vaccine but opposes vaccine mandates.
Charity
In April 2014, Drescher presented at Broadway Cares/Equity Fights AIDS Easter Bonnet Competition with Bryan Cranston, Idina Menzel and Denzel Washington, after raising donations at her Broadway show Cinderella.
Drescher became an ordained minister with the Universal Life Church Monastery so that she could legally officiate LGBT wedding ceremonies.
Awards
Drescher has been the recipient of the John Wayne Institute's Woman of Achievement Award, the Gilda Award, the City of Hope Woman of the Year Award, the Hebrew University Humanitarian Award, and the Albert Einstein College of Medicine's Spirit of Achievement Award. In 2006, she was honored with the City of Hope Spirit of Life Award, which was presented to her by Senator Hillary Clinton. On April 10, 2010, she was guest of honor at the "Dancer against Cancer" charity ball held at the Imperial Palace, Vienna, Austria, where she received the first "My Aid Award" for her achievements in support of cancer prevention and rehabilitation. In 2021, Drescher was awarded the LifeSaver Award by ELEM/Youth in Distress.
Filmography
Film
Television
Theatre
Books
References
External links
Cancer Schmancer Movement website
Fran Drescher Speaks Out in Support of New Bill Seeking Stricter Cosmetics Rules – video by Democracy Now!
1957 births
Living people
20th-century American actresses
20th-century American comedians
21st-century American actresses
21st-century American comedians
20th-century American Jews
21st-century American Jews
Activists from New York (state)
American anti-capitalists
American film actresses
American memoirists
American people of Polish-Jewish descent
American people of Romanian-Jewish descent
American television actresses
American television directors
American television talk show hosts
American television writers
American voice actresses
American women comedians
American women memoirists
American women television producers
American women television writers
Comedians from New York City
Hillcrest High School alumni (Queens)
Jewish American actresses
American LGBT rights activists
New York (state) Democrats
Actresses from Queens, New York
Presidents of the Screen Actors Guild
Queens College, City University of New York alumni
Screenwriters from New York (state)
Television producers from New York City
American women television directors
Presidents of SAG-AFTRA
Women trade union leaders | 21,053 |
https://nl.wikipedia.org/wiki/Callirrho%C3%AB%20%28maan%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Callirrhoë (maan) | https://nl.wikipedia.org/w/index.php?title=Callirrhoë (maan)&action=history | Dutch | Spoken | 141 | 297 | Callirrhoë (kə-lirr'-oe-ee, ; Grieks Καλλιρρόη) of Jupiter XVII is een van Jupiters natuurlijke manen. De maan werd ontdekt door Spacewatch op 6 oktober 1999 en werd oorspronkelijk geclassificeerd als een planetoïde met de voorlopige aanduiding 1999 UX18.
Tim Spahr ontdekte op 18 juli 2000 dat Callirrhoë om Jupiter cirkelde, Callirrhoë kreeg daarmee de aanduiding S/1999 J 1.
Callirrhoë heeft een diameter van 8,6 kilometer en cirkelt rond Jupiter op een gemiddelde afstand van 24,099 miljoen km in 758,82 dagen. Dit bij een glooiingshoek van 147° tot de ecliptica in een retrograde richting met een excentriciteit van 0,2796.
De maan kreeg zijn naam in oktober 2002 en werd vernoemd naar Callirrhoë, de dochter van de riviergod Achelous.
De maan behoort tot de Pasiphaë groep.
Externe links
Callirrhoë (NASA Solar System Exploration)
Baanparameters (NASA Planetary Satellite Mean Orbital Parameters)
Referenties
Maan van Jupiter | 49,983 |
https://fr.wikipedia.org/wiki/Oshkosh%20%28homonymie%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Oshkosh (homonymie) | https://fr.wikipedia.org/w/index.php?title=Oshkosh (homonymie)&action=history | French | Spoken | 28 | 61 | Oshkosh désigne :
Le chef Oshkosh (ou Os-kosh, ou encore Oskosh), chef des Amérindiens Menominees
Oshkosh, une ville située dans le Wisconsin
Oshkosh, ville située dans le Nebraska | 7,277 |
https://stackoverflow.com/questions/33891101 | StackExchange | Open Web | CC-By-SA | 2,015 | Stack Exchange | Daniel Persson, Konrad Viltersten, https://stackoverflow.com/users/1043363, https://stackoverflow.com/users/1525840 | English | Spoken | 471 | 787 | Can't specify identity column explicitly BUT ALSO can't leave it unspecified
I'm hitting a catch 22 here. When I create a new object like so and store it using EF, I get the error.
private void DataGrid_OnAddingNewItem(object sender, AddingNewItemEventArgs eventArgs)
{
eventArgs.NewItem = new Customer
{
Id = Guid.NewGuid(),
Discount = 0
};
}
The only identity column in that table is LookUp and the error nags about it like so.
DEFAULT or NULL are not allowed as explicit identity values.
However (and this is the 22-catchy spot), when I make sure the value isn't a default nor null as follows, I get another problem.
private void DataGrid_OnAddingNewItem(object sender, AddingNewItemEventArgs eventArgs)
{
eventArgs.NewItem = new Customer
{
Id = Guid.NewGuid(),
LookUp = -1,
Discount = 0
};
}
And the problem manifests itself as follows.
Cannot insert explicit value for identity column in table 'Customers' when IDENTITY_INSERT is set to OFF.
I'm working with EF and I'm not sure how to set the identity inserting to off. In fact I'm not even sure if it's possible at all. And even if I knew how to, it still seems like hiding the problem, not resolving it.
My bet is that I need to be able to omit the specification of the LookUp field and still be able to insert the thing into the database. Not sure how, though, and I don't know how to approach it.
Not a big fan of answering my own questions, especially when the answer I've found is more of a hide-the-issue not resolve-the-issue but here it goes.
Remove the whole model (delete EDMX file).
Save all files.
Clear all files and then rebuild the solution (which will fail miserably).
Close the project.
Restart VS.
Reload the project.
Create a new model (add and configure EDMX file).
Save all files.
Rebuild the solution.
Poof - it works. Weird...
You need to tell EF that you want to generate the value yourself. You can either use data annotations thus:
using System.ComponentModel.DataAnnotations.Schema;
public class Customer
{
[DatabaseGenerated(DatabaseGeneratedOptions.None)]
public Guid Id { get; set; }
..
}
or by overriding OnModelCreating in your DbContext:
protected override void OnModelCreating(DbModelBuilder modelBuilder)
{
modelBuilder.Entity<Customer>().Property(x => x.Id).HasDatabaseGeneratedOption(DatabaseGeneratedOption.None);
..
}
If you prefer that the database generates the Id for you, you can exchange the DatabaseGeneratedOptions.None to DatabaseGeneratedOptions.Identity
I see your approach. However, I'd prefer not to specify the value myself. I'd expect EF to be able to handle that without me doing anything extra in the code. Do you happen to know where in the model, EMDX file etc. that it's specified?
See my updated answer on how to do it in code. I haven't worked with Model First so I can help you there. If possible for you, I would strongly recommend Code First if you're planning to migrate to EF7 in the future.
| 43,911 |
https://superuser.com/questions/951598 | StackExchange | Open Web | CC-By-SA | 2,015 | Stack Exchange | Joe, Luke Attard, gbro3n, https://superuser.com/users/1185207, https://superuser.com/users/287473, https://superuser.com/users/57119, https://superuser.com/users/80539, miroxlav | English | Spoken | 1,292 | 1,764 | Notepad++ Is there a setting to stop from asking me to save on exit?
I'd like the option to have Notepad++ exit, and close individual tabs without asking me if I want to save every file where edited.
I tend to run with a lot of tabs open, and am capable of remembering to save when I need to. Being asked to save when closing multiple is annoying, and a little dangerous in that if the modal dialogue box moves on each tab, there is a chance of accidentally hitting yes when I didn't mean to.
Update 07/2020
In a recent version of Notepad++ there is a 'No to all' option when closing Notepad++ down. This has mitigated the issue somewhat, although I would still like to see a setting that just allowed me to close everything without saving along with the main window.
There is a feature request for this, please support it: https://notepad-plus-plus.org/community/topic/11784/feature-request-close-all-files-without-saving
I downvoted this question for low quality because after providing the answer, it turned out that there are further requirements not mentioned in the text of the question. The correct approach would be early correction of the question or keeping original requirements (so Q and A go nice together) and post another question with detailed description of special requirements of the author different from the original question.
Yes, there is. In Backup page of Preferences, be sure you check
Remember current session for next launch
Enable session snapshot and periodic backup
▶ Then Notepad++ exits immediately without asking.
Open documents are retained, but it is as easy as pressing Ctrl+W to close them. You can also assign some shortcut to Close All command (suggestion: Ctrl+Shift+W).
EDIT: You can close individual tabs if they have no name yet without warning (but keeping Notepad++ open) when you press Ctrl+A and then Delete right before closing the tab. You can even try to create a macro for that. If not Notepad++ macro, then AutoHotKey macro will easily do it.
Note that there is no way to do this for unsaved documents which already have the name. I checked the source code. So after closing unnamed documents you can get rid of the rest by using Save All command and then closing any remaining documents you want.
If your tabs are mixed (new, exsting, new, existing, ...), it is better to create AutoHotKey macro which invokes closing and then presses No button in case if the save dialog appears. This will close current tab without saving regardless of its new or existing state.
There is yet another option how to avoid the question on closing a tab: you can download source code of Notepad++, modify it (so the dialog is never shown), build it and start using your own Notepad++ build.
You can also request the feature at N++ home page, but here is the risk that it could be viewed as rare corner-case and you might be waiting very long until someone implements it (if ever).
This doesn't work I'm afraid. While it allows Notepad++ to exit entirely with out a save prompt, it does not work for closing individual tabs. If you close a tab and the document has been edited, it still prompts and asks if I want to save the file.
@gb2d – Sure, but in title you said Is there a setting to stop from asking me to save on exit? and this is what the answer shows. You then continue I'd like the option to have Notepad++ exit, and close individual tabs without asking me if I want to save every file where edited. My answer describes exactly this functionality. :) Perhaps you meant closing individual tabs without asking, keep N++ open but that is completely different question from what you wrote... What now? It is not allowed to change question merit, but you can always post a new question clearly specifying what you need.
OK, I've extended the answer to reflect the requirement you described in the comment.
Ctrl + A, then delete - so select all text, delete it and then close? That still prompts to save if deleting the text results in the file changing from it's original state. Your suggestion of customising the source may be the way to go here however. I will look into that.
See the updated answer. Close unnamed tabs first, then Save all and continue closing named tabs. I checked against the Notepad++ source code to confirm under what conditions save dialog is displayed. All possible ways are now covered by the answer so you can accept it as reliable one.
Sorry, but this answer just does not represent a shortcut that achieves what I specified in my question. Your advice regarding use of shortcut mapper has been useful however, and I think I can use this in conjunction with repeated presses of the N key to close any save dialogues.
Sorry but no better or more helpful answer exists. Perhaps, there is one: No there is no way of achieving this except source code modification. If I'll make this the main point of answer, would you accept this? What else are you waiting for?
@gb2d – I think I might be able to create that non-standard solution you expect using the AutoHotKey. It will handle asked questions in Notepad++ until it is closed. Are you interested?
I just had this problem when I had demonstrated to a colleague how to find/replace on 150 files in a folder I didn't have write access to. My solution is a bit of a hack, but it works. I went into C:\users\[username]\AppData\Roaming\Notepad++\backup and deleted all the files in there. Then I force-quit Notepad++ with the task manager and open it back up. It still has the files I had open but now they show as unchanged, so I can hit Close All and they close without dialogs.
An alternate option appears to change the session.xml file in there and just take out all the files you had open.
@gb2d – this is a clever answer. Perhaps something acceptable for you?
I tend to open a new tab on each meeting/call to take notes, and then leave it. I would usually like the notes to be available for 2-3weeks (But not forever).
Cleaning up the hundreds of tabs is always a pain. But I have found the best way to be.
As you in current version can rightclick on a tab and select to close all tabs to right/left of it, simply start from the begining, check 10-30tabs then take close all to left, on the popup regarding saving you say "no to all".
Then repeat, repeat, repeat
go to %UserProfile%\AppData\Roaming\Notepad++\plugins\config\SessionMgr
Edit the settings.xml file and change
<automaticSave value="0"/> to <automaticSave value="1"/>
That will stop you been prompted to save each file. Note this setting controls the saving of the session, not the files, so it will save a xml for the session.
if you also change :
<automaticLoad value="1"/> to `<automaticLoad value="0"/>`
I believe that you should get a fresh session each time you load notepad++, when you close notepad++ it overrides your last saved session. To the user it should do what you want, and the saving of the session can be a back stop for the rare case you exit by error.
@DarkDiamond thanks for the suggestion, I included the location because it is not common knowledge how to get the to settings.xml. If a someone does not have hidden folders showing, to find the AppData directory can be difficult. Advance users will just ignore the location.
I don't have the folder SessionMgr (and so do not have the settings.xml file either). It's a relatively new install of Notepad++. Do I need a plugin installed for this?
| 1,057 |
https://pl.wikipedia.org/wiki/Spo%C5%99ice | Wikipedia | Open Web | CC-By-SA | 2,023 | Spořice | https://pl.wikipedia.org/w/index.php?title=Spořice&action=history | Polish | Spoken | 36 | 91 | Spořice – miejscowość i gmina (obec) w Czechach, w kraju usteckim, w powiecie Chomutov. W 2022 roku liczyła 1521 mieszkańców.
Przypisy
Linki zewnętrzne
Státní správa zeměměřictví a katastru
Miejscowości w kraju usteckim
Gminy w powiecie Chomutov | 28,727 |
https://no.wikipedia.org/wiki/Povest%20o%20neizvestnom%20aktjore | Wikipedia | Open Web | CC-By-SA | 2,023 | Povest o neizvestnom aktjore | https://no.wikipedia.org/w/index.php?title=Povest o neizvestnom aktjore&action=history | Norwegian | Spoken | 100 | 246 | Povest o neizvestnom aktjore (originaltittel: Повесть о неизвестном актёре) er en sovjetisk film fra 1976, regissert av Aleksandr Zarkhi.
Handling
Pavel er en middelaldrende skuespiller. I mange år spilte han en rekke hovedroller ved et teater.
Men en regissøren av et nytt manus velger å heller ta en ung skuespiller, i stedet for å bruke Pavel. Pavel blir først fortvilet, og vurderer å pensjonere seg fra skuespiller-yrket.
Skuespillere
Jevgenij Jevstignejev som Pavel Gorjaev
Alla Demidova som Olga Svetilnikova
Igor Kvasja som Viktor Veresjtsjagin
Angelina Stepanova som Marija Gorjaeva
Igor Starygin som Vadim
Referanser
Eksterne lenker
Sovjetiske filmer
Filmer fra 1976 | 15,791 |
https://stackoverflow.com/questions/40422207 | StackExchange | Open Web | CC-By-SA | 2,016 | Stack Exchange | Ben Bracha, Pankaj Kumar, bobtta, https://stackoverflow.com/users/1024072, https://stackoverflow.com/users/6164810, https://stackoverflow.com/users/7084659 | English | Spoken | 442 | 877 | Accessing $scope data from view to factory in AngularJs
How can I access $scope data from view to my factory in angularjs? I can access $scope.items from my controller, but when I need to use it in my factory to use the data and generate a pdf I cannot access it.
angular.module('myApp', [])
.controller('myCtrl', function($scope, $http, testFactory) {
$scope.link = "http://localhost:3450/loading.html";
testFactory.all().then(
function(res){
$scope.link = res;
},
function(err){
console.log(err);
}
);
})
.factory('testFactory', function($q){
var pdfInfo = {
content: [
//data should be here...
]
};
var link = {};
function _all(){
var d = $q.defer();
pdfMake.createPdf(pdfInfo).getDataUrl(function(outputDoc){
d.resolve(outputDoc);
});
return d.promise;
}
link.all = _all;
return link;
});
I used factory when I click the generate button from my view, it will wait until the pdf is generated. Coz when I did not do it this way before, I need to click the button twice just to get the pdf generated.
It is simply because $scope service cannot be accessed in a factory
You can just pass the data to your factory as a
function parameter.
angular.module('myApp', [])
.controller('myCtrl', function($scope, $http, testFactory) {
var pdfInfo = {
content: $scope.items
};
$scope.link = "http://localhost:3450/loading.html";
testFactory.all(pdfInfo).then(
function(res) {
$scope.link = res;
},
function(err) {
console.log(err);
}
);
})
.factory('testFactory', function($q) {
var link = {};
function _all(pdfInfo) {
var d = $q.defer();
pdfMake.createPdf(pdfInfo).getDataUrl(function(outputDoc) {
d.resolve(outputDoc);
});
return d.promise;
}
link.all = _all;
return link;
});
Yes, just what I did in my answer. Thanks though!
Since I cannot accept my own answer and your answer is same with me, I will accept yours.
I did it. I forgot to send the $scope.items to my factory. So what i did is I added testFactory.all($scope.items) in my controller instead of just plain testFactory.all().
Then in my factory,
I used function _all(value), so I can used the values passed by the views through controller. I am not sure if this is the proper way, but it works. Please suggest good practice if you have.
It is a bad practice to move around $scope to other services, as they may change it and effect your controller logic. It will make a coupling between controllers to other services.
If your factory requires data from the controller, it is better to just pass those parameters to the factory's function.
EDIT: I see you managed to do that, and yes - passing $scope.items is the preferred way (and not, for example, passing $scope).
I heard it's bad practice and I am currently studying good practice in angularjs one at a time. Hopefully I will fully understand it.
Great! If that helps please vote or mark an answer :) Good luck anyway.
| 12,883 |
https://vi.wikipedia.org/wiki/Chu%20%C4%90%C3%A0n | Wikipedia | Open Web | CC-By-SA | 2,023 | Chu Đàn | https://vi.wikipedia.org/w/index.php?title=Chu Đàn&action=history | Vietnamese | Spoken | 306 | 672 | Chu Đàn (chữ Hán: 朱檀; 15 tháng 3 năm 1370 – 2 tháng 1 năm 1390), được biết đến với tước hiệu Lỗ Hoang vương (鲁荒王), là hoàng tử của Minh Thái Tổ Chu Nguyên Chương, hoàng đế đầu tiên của nhà Minh.
Cuộc đời
Chu Đàn là hoàng tử thứ 10 của Minh Thái Tổ, mẹ là Quách Ninh phi (郭宁妃). Doanh Quốc công Quách Sơn Phủ, cha của Quách thị, nhận thấy cơ đồ lớn lao của Chu Nguyên Chương nên đưa con gái theo hầu ông. Vì mẹ là sủng phi nên Chu Đàn từ khi lọt lòng đã được xem trọng, mới hai tháng tuổi liền được phong làm Lỗ vương (鲁王). Lỗ vương còn hai người chị ruột cùng mẹ là Nhữ Ninh Công chúa và Đại Danh Công chúa.
Lỗ vương Chu Đàn giỏi thơ văn, khiêm cung hạ sĩ, có tài danh, nhưng ông lại u mê đạo giáo và giả kim thuật nên đã qua đời khi mới 21 tuổi do ngộ độc tiên dược. Vua anh Minh Thành Tổ cho rằng Chu Đàn là kẻ hoang đường nên ban thụy là Hoang (荒).
Gia quyến
Thê thiếp
Chánh phi Thang thị (汤氏), con gái thứ của Đông Âu vương Thang Hòa (汤和).
Thứ phi Qua thị (戈氏), sau được phong Vương phi.
Hậu duệ
Chu Đàn đoản thọ, chỉ có duy nhất một con trai là Chu Triệu Huy (朱肇煇; 1388 – 1466) do Qua Thứ phi sinh hạ, tập tước Lỗ vương, thụy Tĩnh (靖). Chu Dĩ Hải là cháu 9 đời của Lỗ Hoang vương, là vua nhà Nam Minh cai trị trong 10 năm. Đất phong của dòng Lỗ vương ở Duyện Châu.
Lỗ vương thế hệ biểu
Tham khảo
Sinh năm 1370
Mất năm 1390
Hoàng tử nhà Minh
Vương tước nhà Minh | 31,146 |
https://stackoverflow.com/questions/71163299 | StackExchange | Open Web | CC-By-SA | 2,022 | Stack Exchange | Pushpendra, https://stackoverflow.com/users/5177231 | English | Spoken | 413 | 1,027 | how to update env variables in kubernetes deployment in java?
I want to restart deployment pod by patching ENV variable in deployment. Here is my code:
String PATCH_STR = "[{\"op\":\"replace\",\"path\":\"/spec/template/spec/containers/0/env/8/UPDATEDON\",\"value\": \"%d\"}]";
final String patchStr = String.format(PATCH_STR, System.currentTimeMillis());
AppsV1Api api = new AppsV1Api(apiClient);
V1Deployment deploy = PatchUtils.patch(V1Deployment.class,
() -> api.patchNamespacedDeploymentCall(
deploymentName,
namespace,
new V1Patch(patchStr),
null,
null,
null, // field-manager is optional
null,
null),
V1Patch.PATCH_FORMAT_JSON_PATCH,
apiClient);
This code executes successfully but it does not start pod. Here is an equivalent kubectl command (it doesn't patch, so pod doesn't start):
kubectl -n aaaac7bg7b6nsaaaaaaaaaaoyu patch deployment aaaaaaaaxldpcswy2bl3jee6umwck72onc55wimyvldrfc442rokz3cpll2q -p '{"spec":{"containers":[{"env":[{"name":"UPDATEDON","value":"1645099482000"}]}]}}'
If I execute following command, it restarts pod:
kubectl -n aaaac7bg7b6nsaaaaaaaaaaoyu set env deployment/aaaaaaaaxldpcswy2bl3jee6umwck72onc55wimyvldrfc442rokz3cpll2q UPDATEDON=1645099482000
I thought of using V1EnvVar/V1EnvVarBuilder but I couldn't find equivalent java code.
There are a couple of issues with your example. In general, if you successfully update the environment variables in the pod template of your deployment, the Kubernetes operator will recognize the change and start a new pod to reflect the change.
When you perform the update with a JSON patch by specifying the operation (replace), the path, and the value, the path must directly match the property in the deployment manifest. In your case, since you want to change the value of the environment variable, this would be:
/spec/template/spec/containers/0/env/8/value
There is no need to repeat the name of the environment variable. The index, here 8, already signifies which variable you want to update, so there is no need to repeat UPDATEDON.
The equivalent command with kubectl would be
kubectl -n aaaac7bg7b6nsaaaaaaaaaaoyu patch deployment aaaaaaaaxldpcswy2bl3jee6umwck72onc55wimyvldrfc442rokz3cpll2q \
--type=json -p='[{"op": "replace", "path": "/spec/template/spec/containers/0/env/0/value", "value": "1645099482000"}]'
Alternatively, instead of using a JSON patch, you can used the default patch type, like you did in your example. However, you forgot to add the outermost spec/template layers. Addionaly, you also need the given identify the container by specifying it's name. Here I've used test as the container's name.
kubectl -n aaaac7bg7b6nsaaaaaaaaaaoyu patch deployment aaaaaaaaxldpcswy2bl3jee6umwck72onc55wimyvldrfc442rokz3cpll2q \
-p '{"spec": {"template": {"spec": {"containers": [{"name": "test", "env":[{"name":"UPDATEDON","value":"1645099482000"}]}]}}}}'
This way of updating has the advantage that you identify the container and the environment variable by their names, so and you don't need to rely on the ordering as would be the case with the index-based JSON patch path.
Thank you @sauerburger, I didn't notice that I forgot to add /spec/template in kubectl patch command.
There is only one container and I don't have any way to figure out container name as it's an UUID generated at runtime based on some user input.
| 29,142 |
https://ko.wikipedia.org/wiki/%EB%A1%9C%EC%BF%A0%EA%B3%A0%EC%B4%8C%20%28%EC%95%84%EC%9D%B4%EC%B9%98%ED%98%84%20%ED%95%98%EC%A6%88%EA%B5%B0%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | 로쿠고촌 (아이치현 하즈군) | https://ko.wikipedia.org/w/index.php?title=로쿠고촌 (아이치현 하즈군)&action=history | Korean | Spoken | 14 | 87 | 로쿠고촌()은 아이치현 하즈군에 설치되었던 촌이다. 현재의 니시오시에 해당한다.
아이치현의 폐지된 시정촌
하즈군
니시오시의 역사 | 9,980 |
https://stackoverflow.com/questions/45320273 | StackExchange | Open Web | CC-By-SA | 2,017 | Stack Exchange | JamesWilson, cweiske, https://stackoverflow.com/users/282601, https://stackoverflow.com/users/413538 | English | Spoken | 162 | 402 | Disable a Field in a Paragraphs Form
Does anyone know how to alter a field in a paragraphs (ajax) backend form in Drupal 8? I want to disable a field, but keep it visible.
Thanks
Related: https://drupal.stackexchange.com/questions/107894/how-to-make-a-field-disabled-greyed-out
function hook__form_FORM_ID_alter(&$form,\Drupal\Core\Form\FormStateInterface
$form_state, $form_id) {
//output your form structure to know what to target in the form array($form[])
#kint( $form['title']);
$form['title']['#disabled'] = TRUE;
}
The above code disables the title field (Drupal 8.5) in the 'FORM_ID' you want to modify.
You can disable a form field by either using hook_form_alter() or by hook_form_FORM_ID_alter().
I would always suggest you to use hook_form_FORM_ID_alter(). Suppose test is your modules name and user_register_form is the Id of the form.
test_form_user_register_form_alter(&$form, &$form_state, $form_id) {
$form['fieldname'] = array(
'#type' => 'textfield',
'#title' => t('Text label'),
'#attributes' => array('disabled' => 'disabled'),
);
}
Happy coding!!!
There is a patch that adds paragraphs subform hook alters to make targeting a specific field in a specific paragraph type a lot easier. Check out https://www.drupal.org/i/2868155
| 9,916 |
https://pms.wikipedia.org/wiki/Anton%C3%ADn%20Dvo%C5%99%C3%A1k | Wikipedia | Open Web | CC-By-SA | 2,023 | Antonín Dvořák | https://pms.wikipedia.org/w/index.php?title=Antonín Dvořák&action=history | Piedmontese | Spoken | 104 | 251 | Antonín Dvořák, nassù a Nelahozeves, vzin a Kralupy, ai 8 dë Stèmber dël 1841, mòrt a Praga al 1m ëd magg dël 1904, a l'é stàit un composidor cech. Dvořák, Bedrich Smetana e Leoš Janácek a son ij tre pi avosà composidor ch'a l'han scrivù dla mùsica nassionalista ceca. A l'ha scrivù mùsica da ciambra, comprèis vàire quartèt, mùsica da pian, sonà, opere, oratòri e neuv sinfonìe. L'ùltima dë ste sinfonìe a l'é conossùa com la Sinfonìa dël Mond Neuv, përchè chiel a l'ha scrivula ant jë Stat Unì (ël Mond Neuv). A l'é avosà dzortut ël moviment adasi sonà con l'obòe.
Dvořák, Antonín | 4,498 |
https://ja.wikipedia.org/wiki/%E4%BC%B4%E7%9B%9B%E5%85%BC | Wikipedia | Open Web | CC-By-SA | 2,023 | 伴盛兼 | https://ja.wikipedia.org/w/index.php?title=伴盛兼&action=history | Japanese | Spoken | 15 | 571 | 伴 盛兼(ばん もりかね)は、戦国時代から安土桃山時代の武将。
概要
古代豪族大伴氏の末裔で、父の代までは近江国に住んで足利将軍家に仕えた。当初は兄の盛陰とともに松平元康(徳川家康)の家臣・松井忠次に招かれて仕える。忠次は盛陰・盛兼の兄弟を側近に取り立てて厚遇したという。永禄5年(1562年)上ノ郷城攻めでは兄や同族の伴一族とともに活躍した。盛陰はその後も家康に従ったが盛兼は織田信長に仕え、伊勢亀山に住んだ。
天正10年(1582年)本能寺の変が起きた時、畿内にいた徳川家康が帰国のために伊賀越えを決行した。盛兼は当時病床に伏していたが家康に急使を送って協力を申し入れ、甲賀の伴一族とともに家康の伊賀越えを案内した。嫡子の重盛はこの年に、盛兼は翌年に三河国に赴いて家康に臣従し、知行600貫を与えられた。天正12年(1584年)小牧・長久手の戦いに従軍し、羽黒の戦いでは甲賀衆が多数戦死したためその見分を申しつけられている。しかしその翌月、長久手の戦闘で盛兼もまた家康の眼前で戦死を遂げた。
脚注
注釈
出典
参考文献
1547年生
1584年没
戦国武将
歴史上の忍者
安土桃山時代に戦死した人物 | 6,848 |
https://stackoverflow.com/questions/72055923 | StackExchange | Open Web | CC-By-SA | 2,022 | Stack Exchange | Lk77, https://stackoverflow.com/users/438273, https://stackoverflow.com/users/8126784, jsejcksn | English | Spoken | 351 | 1,038 | I used fetch() method to load data from external server. All data are being loaded properly. But I came across dificulity when I use querySelector
I'm trying to load data from an external server and render it on my web page by using javascript. I used fetch(url) to load the data. Data is being loaded properly; I can see all of it in the console. What happens is that, when I use document.querySelector(), only 1 article is shown on my web page despite there being 10 articles. Then, I used document.querySelectorAll(), but nothing showed on my web page and there were no errors, no information in the console as well. What I did was this:
let url = "https://gnews.io/api/v4/top-headlines?lang=en&max=50&token=TOKEN_HERE";
fetch(url)
.then(function(response) {
return response.json();
})
.then(function(details) {
let allArticles = details.articles;
allArticles.forEach(function(article) {
let header = document.querySelector('.heading');
header.innerText = article.title;
let description = document.querySelector('.description');
description.innerText = article.description;
let content = document.querySelector('.content');
content.innerText = article.content;
});
});
HTML:
<body>
<h4 class="heading"></h4>
<p class="description"></p>
<p class="content"></p>
<!-- ... -->
</body>
you override it each time thats why, so only the last article will be shown, you need to append new elements not replace existing elements using innerText. You should create new elements using document.createElement()
You will need to generate DOM. Use your HTML structure as template for each article.
const buildArticle = (id, title, desc, content) => {
return `
<div id="article-${id}"">
<h4 class="heading">${title}</h4>
<p class="description">${desc}</p>
<p class="content">${content}</p>
</div>
`;
};
let url =
"https://gnews.io/api/v4/top-headlines?lang=en&max=50&token=368273b6710cecf2476380400a7635c2";
fetch(url)
.then(function (response) {
return response.json();
})
.then(function (details) {
let allArticles = details.articles;
document.getElementById("app").innerHTML = allArticles
.map(function (article, idx) {
return buildArticle(
idx,
article.title,
article.description,
article.content
);
})
.join("");
});
<div id="app"></div>
alternate way
const createArticle = (id, title, desc, content) => {
const article = document
.querySelector("#article-template")
.content.cloneNode(true);
article.querySelector(".article").id = `article-${id}`;
article.querySelector(".heading").textContent = title;
article.querySelector(".description").textContent = desc;
article.querySelector(".content").textContent = content;
return article;
};
const url =
"https://gnews.io/api/v4/top-headlines?lang=en&max=50&token=368273b6710cecf2476380400a7635c2";
fetch(url)
.then((res) => res.json())
.then((details) =>
details.articles.forEach((article, idx) =>
document
.getElementById("app")
.appendChild(
createArticle(
idx,
article.title,
article.description,
article.content
)
)
)
);
<div id="app"></div>
<template id="article-template">
<div class="article">
<h4 class="heading"></h4>
<p class="description"></p>
<p class="content"></p>
</div>
</template>;
Quick, dirty, and working!
| 8,411 |
https://sv.wikipedia.org/wiki/Be%C5%A1i%C5%A1te | Wikipedia | Open Web | CC-By-SA | 2,023 | Bešište | https://sv.wikipedia.org/w/index.php?title=Bešište&action=history | Swedish | Spoken | 140 | 322 | Bešište är en ort i Nordmakedonien. Den ligger i kommunen Opsjtina Prilep, i den södra delen av landet, kilometer söder om huvudstaden Skopje. Bešište ligger meter över havet och antalet invånare är .
Terrängen runt Bešište är lite bergig. Den högsta punkten i närheten är meter över havet, kilometer öster om Bešište. Trakten runt Bešište är nära nog obefolkad, med mindre än två invånare per kvadratkilometer.. Närmaste större samhälle är Gradešnica, kilometer söder om Bešište.
I omgivningarna runt Bešište växer i huvudsak blandskog. Trakten ingår i den hemiboreala klimatzonen. Årsmedeltemperaturen i trakten är °C. Den varmaste månaden är juli, då medeltemperaturen är °C, och den kallaste är januari, med °C. Genomsnittlig årsnederbörd är millimeter. Den regnigaste månaden är april, med i genomsnitt mm nederbörd, och den torraste är augusti, med mm nederbörd.
Kommentarer
Källor
Externa länkar
Orter i Prilep (kommun) | 33,863 |
https://hy.wikipedia.org/wiki/%D5%8E%D5%AB%D5%A5%D5%AA%20%D5%96%D5%A1%D5%BF%D5%AB | Wikipedia | Open Web | CC-By-SA | 2,023 | Վիեժ Ֆատի | https://hy.wikipedia.org/w/index.php?title=Վիեժ Ֆատի&action=history | Armenian | Spoken | 112 | 510 | Վիեժ Ֆատի (), համայնք Ֆրանսիայի Պիկարդիա մարզի Էնա գավառում։ Մտնում է Մարլ կանտոնի կազմի մեջ։ Հանդիսանում է Վերվեն շրջանի կոմունա։
Համայնքի INSEE կոդ՝ 02832։
Բնակչություն
Համայնքի բնակչությունը 2010 թվականին կազմում էր 231 մարդ։
Տնտեսություն
2010 թվականի տվյալներով՝ աշխատունակ տարիքի 143 մարդկանցից (15-64 տարեկան) 94-ը տնտեսապես ակտիվ էին, 60-ը՝ ոչ ակտիվ (ակտիվության ցուցանիշը՝ 65,7 %, 1999 թվականին եղել է 64,1 %)։ 94 աշխատունակ բնակիչներից 78-ը աշխատում էին (45 տղամարդ և 33 կին), անաշխատանք էին 16 (8 տղամարդ և 8 կին)։ 49 անգործունակ մարդկանցից 13-ը աշակերտներ կամ ուսանողներ էին, 15-ը՝ թոշակառու, 21-ը անաշխատունակ էին այլ պատճառներով։
Տես նաև
Ֆրանսիայի շրջանների ցանկ
Ծանոթագրություններ
Արտաքին հղումներ
Վիճակագրության ազգային ինստիտուտ – Վիեժ Ֆատի
Ֆրանսիայի համայնքներ
Ֆրանսիայի բնակավայրեր | 11,585 |
https://en.wikipedia.org/wiki/Dnyaneshwar%20Vidyapeeth | Wikipedia | Open Web | CC-By-SA | 2,023 | Dnyaneshwar Vidyapeeth | https://en.wikipedia.org/w/index.php?title=Dnyaneshwar Vidyapeeth&action=history | English | Spoken | 199 | 318 | Dnyaneshwar Vidyapeeth Trust (DVT) is former open university in Pune, Maharashtra. It was founded by Dr. M. D. Apte in 1980 and registered as "Educational Trust". under the Registration of Societies Act, 1860 and a Public Trust registered under the Bombay Public Trust Act, 1960.
It is not a university under UGC act. The Bombay High court had in a 2005 order, said that Dnyaneshwar Vidyapeeth does not have any rights to award degrees, and that the degrees issued even before 2005 were invalid.
Manohar Joshi was chancellor of the organisation in 2003 but later the post of chancellor was abolished.
DVT used to run 33 franchises colleges across Maharashtra and Karnataka and offered diploma and degree courses in engineering. Nearly 5,000 students enrolled every year at annual fees from Rs 22,000 to Rs 25,000. It ceased operations after a High Court order following a public interest litigation (PIL).
Controversy
In 2015, then Maharashtra Education Minister Vinod Tawde's name came in the limelight concerning an unrecognised engineering degree obtained from DVT.
Similarly, in 2020, Maharashtra Higher Education Minister Uday Samant's degree from the unrecognised institute called into question.
References
Education in Pune
Unaccredited institutions of higher learning in India | 20,963 |
https://sv.wikipedia.org/wiki/Yuko%20Sano | Wikipedia | Open Web | CC-By-SA | 2,023 | Yuko Sano | https://sv.wikipedia.org/w/index.php?title=Yuko Sano&action=history | Swedish | Spoken | 105 | 302 | Yuko Sano, född 26 juli 1979 i Takatsuki, är en japansk volleybollspelare. Sano blev olympisk bronsmedaljör i volleyboll vid sommarspelen 2012 i London.
Källor
Japanska volleybollspelare
Japanska olympiska bronsmedaljörer
Olympiska bronsmedaljörer 2012
Tävlande vid olympiska sommarspelen 2008 från Japan
Tävlande i volleyboll vid olympiska sommarspelen 2008
Tävlande vid olympiska sommarspelen 2012 från Japan
Tävlande i volleyboll vid olympiska sommarspelen 2012
Volleybollspelare i Unitika Phoenix
Volleybollspelare i Toray Arrows
Volleybollspelare i RC Cannes
Volleybollspelare i Hisamitsu Springs
Volleybollspelare i İqtisadçı VK
Volleybollspelare i Galatasaray SK
Volleybollspelare i Voléro Zürich
Volleybollspelare i Denso Airybees
Födda 1979
Levande personer
Kvinnor
Personer från Osaka prefektur
Japanska idrottare under 2000-talet | 10,126 |
https://stackoverflow.com/questions/72093671 | StackExchange | Open Web | CC-By-SA | 2,022 | Stack Exchange | Kirolos Morcos Assaad Mikhail, Ryan, https://stackoverflow.com/users/15928509, https://stackoverflow.com/users/7870403 | Danish | Spoken | 314 | 1,282 | AWS GET APIs work on Android Studio app but POST APIs don't. Why would POST be the issue?
This snippet should connect to the API send a request and receive a response
try {
URL url = new URL("https://API_URL");
HttpURLConnection con = (HttpURLConnection) url.openConnection();
con.setRequestMethod("POST");
con.setDoOutput(true);
con.setDoInput(true);
Here I should be writing the API request's body
BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(
new BufferedOutputStream(con.getOutputStream()), StandardCharsets.UTF_8));
writer.write(("user="+getUsername));
writer.flush();
writer.close();
Here I should be reading
BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream()));
String decodedString = in.readLine();
con.getResponseCode();
This is the error I get:
2022-05-03 01:48:04.508 13190-13190/com.example.pldb W/System.err: java.io.FileNotFoundException: API_URL
2022-05-03 01:48:04.508 13190-13190/com.example.pldb W/System.err: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:255)
2022-05-03 01:48:04.508 13190-13190/com.example.pldb W/System.err: at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:211)
2022-05-03 01:48:04.508 13190-13190/com.example.pldb W/System.err: at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:30)
2022-05-03 01:48:04.508 13190-13190/com.example.pldb W/System.err: at com.example.pldb.MainActivity$1.onClick(MainActivity.java:64)
2022-05-03 01:48:04.508 13190-13190/com.example.pldb W/System.err: at android.view.View.performClick(View.java:7448)
2022-05-03 01:48:04.508 13190-13190/com.example.pldb W/System.err: at android.view.View.performClickInternal(View.java:7425)
2022-05-03 01:48:04.508 13190-13190/com.example.pldb W/System.err: at android.view.View.access$3600(View.java:810)
2022-05-03 01:48:04.508 13190-13190/com.example.pldb W/System.err: at android.view.View$PerformClick.run(View.java:28305)
2022-05-03 01:48:04.508 13190-13190/com.example.pldb W/System.err: at android.os.Handler.handleCallback(Handler.java:938)
2022-05-03 01:48:04.508 13190-13190/com.example.pldb W/System.err: at android.os.Handler.dispatchMessage(Handler.java:99)
2022-05-03 01:48:04.508 13190-13190/com.example.pldb W/System.err: at android.os.Looper.loop(Looper.java:223)
2022-05-03 01:48:04.508 13190-13190/com.example.pldb W/System.err: at android.app.ActivityThread.main(ActivityThread.java:7656)
2022-05-03 01:48:04.509 13190-13190/com.example.pldb W/System.err: at java.lang.reflect.Method.invoke(Native Method)
2022-05-03 01:48:04.509 13190-13190/com.example.pldb W/System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
2022-05-03 01:48:04.509 13190-13190/com.example.pldb W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
On the contrary, when I use a normal GET method API, it works normally.
what data are you trying to post?
It is a simple select query that checks if the username exist. If it does exist it shall return the same user name.
(I know it doesn't make sense)
you said the issue is when you use POST request, but a POST request requires data to be posted... are you trying to post json data? You mentioned 'Here I should be writing the API's query parameters' - this doesn't make any sense. What do you mean by writing the query parameters?
I'm mistaken sorry... I meant the body of the request
what is your username value? it could be breaking the url
kirolos... that's it XD
| 32,872 |
https://ta.wikipedia.org/wiki/%E0%AE%87%E0%AE%B0%E0%AE%BE%E0%AE%AE%E0%AE%BE%E0%AE%A9%E0%AF%81%E0%AE%9C%20%E0%AE%95%E0%AE%B5%E0%AE%BF%E0%AE%B0%E0%AE%BE%E0%AE%AF%E0%AE%B0%E0%AF%8D | Wikipedia | Open Web | CC-By-SA | 2,023 | இராமானுஜ கவிராயர் | https://ta.wikipedia.org/w/index.php?title=இராமானுஜ கவிராயர்&action=history | Tamil | Spoken | 127 | 986 | இராமானுஜ கவிராயர் (ஆங்கிலம்: Ramanuja Kavirayar) (பிறப்பு: 1780, ராமநாதபுரம்; இறப்பு: 1853, சென்னை) ஒரு தமிழ் அறிஞரும் கவிஞரும் ஆவார். சென்னையில் வாழ்ந்து தமிழிலக்கிய உலகில் கோலோச்சிய இவர் பல சிறந்த தமிழ் அறிஞர்களை தனது மாணாக்கர்களாகக் கொண்டிருந்தார்.
இராமானுஜ கவிராயர் தமிழ் செவ்வியல் நூல்களை முதன்முறையாக அச்சில் கொண்டு வரும் பணிக்கு முன்னோடியாக இருந்தது மட்டுமல்லாது அவற்றில் சிலவற்றிற்கு விளக்கவுரையும் எழுதினார். ஒரு சிறந்த கவிஞராக விளங்கினாலும், மீனாட்சிசுந்தரம் பிள்ளையைப் போலவே, இவரது தமிழாசிரியப் பணியே அவரது சிறந்த தமிழ்த் தொண்டாகக் கருதப்படுகிறது. இவர் பல தமிழறிஞர்களை உருவாக்கிய பெருமைக்குரியவர். 1820-க்கும் 1853-க்கும் இடையிலான காலகட்டத்தில் மதராஸ் பட்டணத்தில் இருந்த பல ஐரோப்பிய தமிழ் அறிஞர்களுக்கு இவர் பயிற்சி அளிக்கும் குருவாக விளங்கினார். அந்நாளில் மொழி ஆசிரியர்களைக் குறிக்கும் சொல்லான "முன்ஷி" (அதாவது குரு) என்று அழைக்கப்படலானார்.
அடிக்குறிப்பு
காமில் வி. ஸ்வலேபில், Companion Studies to the History of Tamil Literature, 1992, pp. 160–61
உரையாசிரியர்கள்
தமிழறிஞர்கள்
தமிழக எழுத்தாளர்கள்
தமிழ்ப் பதிப்பாளர்கள்
1853 இறப்புகள்
1780 பிறப்புகள்
தமிழ் நூற்பட்டியலாளர்கள்
இராமநாதபுரம் மாவட்ட நபர்கள்
தமிழ் சுவடி ஆய்வாளர்கள், சேகரிப்பாளர்கள், பதிப்பாளர்கள் | 13,996 |
https://en.wikipedia.org/wiki/Nadma | Wikipedia | Open Web | CC-By-SA | 2,023 | Nadma | https://en.wikipedia.org/w/index.php?title=Nadma&action=history | English | Spoken | 34 | 73 | Nadma is a village in the administrative district of Gmina Radzymin, within Wołomin County, Masovian Voivodeship, in east-central Poland. It lies approximately south of Radzymin, west of Wołomin, and north-east of Warsaw.
References
Nadma | 40,236 |
https://stackoverflow.com/questions/28958761 | StackExchange | Open Web | CC-By-SA | 2,015 | Stack Exchange | Dan D., Wiktor Stribiżew, https://stackoverflow.com/users/1020526, https://stackoverflow.com/users/2124104, https://stackoverflow.com/users/3832970, https://stackoverflow.com/users/5581893, instantMartin, revo | English | Spoken | 701 | 1,190 | Regular expression to find all string literals
I'm writing a regular expression using javascript that is intended to capture string literals in javascript code in all the permutations that are allowed in javascript. This is what I've come up with:
([\"\'])(.*?(?:(\\"|\\').*?\3.*?)*?)\1
Description: The regular expression captures the starting quotation mark (" or ') in capture group 1 and the quotation mark is repeated at the end (\1) of the expression to enclose the full string literal. Since the "body" of the string literal can contain substrings enclosed in escaped quotation marks (example: "ab\"cd\"ef") I allow for matched pairs of escaped single and double quotations to occur within the string literal text. Capture group 3 is used to match starting and ending escaped quotation marks.
The content of the string literal will be in capture group 2 with the outer quotation marks removed (the mark used to enclose the string will be in capture group 1). Note that I use (?:..) to make one of the groups non-capturing.
I've tested the expression on the strings below and it seems to be working:
"abcdefg" // Simple string literal using ".."
'abcdefg' // Simple string literal using '..'
"a\"b\"c\"d\"e\'f\'g" // Escaped matched singles and doubles
"a\"b\"\"c\"\'d\'\'e\'fg" // Another variant
"\"ab\"\'cd\'ef\"\"\'\'g" // Zero length escaped sequences
"a'b'cd'ef'g" // Enclosed in doubles, singles in middle
'"ab"cd"e""f"g' // Enclose in singles, doubles in middle
My question is if there are any other permutations that are allowed in javascript that I need to consider. Note that single quotation sequences enclosed within a double quotation string literal ("ab'cde'fg") and double quotation sequences enclosed within a single quotation string literal ('ab"cde"fg') do not need to be handled separately (I think), since the pattern matches the enclosing outer quotation marks. I would also appreciate feedback regarding any potential cross-browser issues - if there are browsers that don't support regular expressions at all or don't support features I use here (such as capturing groups or non-capturing syntax).
Edit: I am attempting to capture escaped string literals embedded in a string literal. That makes this problem statement different than that expressed in regex-for-quoted-string-with-escaping-quotes
Did you want something like codereview.stackexchange.com?
possible duplicate of Regex for quoted string with escaping quotes. The regex "([^"\](\.[^"\]))"|'([^'\](\.[^'\]))' looks a good-enough answer.
Thanks @revo for the tip onlink. That is a better place for the type of question. I'll keep it in mind next time.
@stribizhev - I was orginally looking for a solution with matched pairs of escaped sequences "ab"de"fg", not "ab"defg", but thinking about it some more I've realized that that just skipping any escaped character fits my current need. I'll need to think some more on it, but probably the that solution will suffice.
I decided to keep the question. Although escaping will solve my immediate problem, I do want to be able to separate escaped string literals (enclosed in the same starting and ending escaped literal). This might be easier to achieve, though, using a two-step process where the outer (non-escaped) string literal is identified and then the literal is analyzed separately.
You accept the three-letter sequence "\" as a string.
The .* is too inclusive, you need to also avoid it matching backslashes.
Maybe (['"])(?:(?!(?:\\|\1)).|\\.)*\1:
Match ' or " as delimiter
Then match any sequence of
- non-backslash, non delimiter, non-line terminator character
or
- backslash followed by any non-line terminator character
then match the delimiter again.
You can still be thrown off by a delimiter occurring in a comment or RegExp literal, fx
var m = /"/g.exec("a string"); // Matches a '"' char
// ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ not strings!
so it's not perfect for finding all strings in a JavaScript source. For that you actually need to parse it.
Thanks @Irn. That was the type of solution I was looking for using with negative lookahead. I was originally looking to matching escaped sequencies "ab"cd"ef", but not "ab"dcef", but realized I don't really need this. For curiosity's sake, what could a RegExp literal look like that would throw it off?
this fails if \n is inside string literals
fails with .exec('foo "fffxxx\n" bar') or .exec('foo "fff\nxxx" bar')
how to allow escape sequence in string literals?
sorry, it works! it must be .exec('foo "fffxxx\n" bar') instead.
| 44,425 |
https://stackoverflow.com/questions/28997585 | StackExchange | Open Web | CC-By-SA | 2,015 | Stack Exchange | Rafal G., https://stackoverflow.com/users/743716 | Dutch | Spoken | 233 | 475 | @WebParam on a parameter of interface method - how to get name?
I try to get the name "best_user" of the annotation @WebParam on a method parameter User user in an interface method. Because it is an interface, the following code does not give me access to the annotation:
String methodName = "doSomething";
Class<?> clazz = Class.forName(packageName + "." + "UserService");
Method serviceMethod = null;
for (Method method: clazz.getMethods())
{
if (method.getName().equals(methodName))
{
serviceMethod = method;
break;
}
}
Class<?>[] parameterTypes = serviceMethod.getParameterTypes();
WebParam webParam = parameterTypes[0].getAnnotation(WebParam.class); //webParam is null
String parameterName = webParam.name();
However the web service framework is able to get this data. How can I do it as well?
Interface:
@WebService(name = "UserService", targetNamespace = "my.targetNamespace")
public interface UserService {
@WebMethod
public String doSomething
(
@WebParam(name = "best_user")
User user
)
}
show me how do you obtain the Method 'method'? If you take it from the class, the annotation will not be there. You would have to get it from the interface.
This is not a limitation of interface types.
Method#getParameterTypes() returns an array of parameter types. In your example, it simply contains a User.class, since your method has one parameter of type User.
You'll want to use Method#getParameterAnnotations() and get the first parameter's first annotation.
Annotation[][] parameterTypes = serviceMethod.getParameterAnnotations();
WebParam webParam = (WebParam) parameterTypes[0][0];
Since Java 8, you can also use Method#getParameters() and Parameter#getAnnotation()
WebParam webParam = serviceMethod.getParameters()[0].getAnnotation(WebParam.class);
| 37,221 |
https://stackoverflow.com/questions/19504100 | StackExchange | Open Web | CC-By-SA | 2,013 | Stack Exchange | Pavel Stupka, https://stackoverflow.com/users/871559 | English | Spoken | 207 | 313 | TypeScript modules referencing
Have a look at the following TypeScript code:
module events {
export class Event {
}
}
module display.events {
export class DisplayEvent extends events.Event {
}
}
Basically, the idea is that DisplayEvent class from the module display.events is a descendant of Event class from the module events. There is however a problem with a naming of the modules thus the compiler searches for the Event class is display.events module:
error TS2094: The property 'Event' does not exist on value of type 'events'.
Is here any way to make the compiler (version 0.9.1.1) understand the structure of the modules?
There isn't currently a way to do this without restructuring the names of the objects. It's basically a runtime problem -- the variables are lexically scoped and 'events' has been shadowed.
Why not change your code to look like this (which works)?
module display.events {
export class Event {
}
}
module display.events {
export class DisplayEvent extends events.Event {
}
}
Because my general Event class doesn't belong to display module. It belongs to events module. As Ryan said it's a runtime problem and as I can see in the resulting javascript code the name 'events' has been shadowed in the display module.
| 45,496 |
https://stackoverflow.com/questions/37154903 | StackExchange | Open Web | CC-By-SA | 2,016 | Stack Exchange | English | Spoken | 142 | 302 | How to change the image quality in CameraPictureBackground plugin in cordova
I used CameraPictureBackground plugin:
It successfully captured the image and saved but the quality of the image was too bad. Is there any option to capture the image with same quality as we capture with camera app.
function success(imgurl) {
console.log("Imgurl = " + imgurl);
//here I added my function to upload the saved pictures
//on my internet server using file-tranfer plugin
}
function onFail(message) {
alert('Failed because: ' + message);
}
function CaptureBCK() {
var options = {
name: "Image", //image suffix
dirName: "CameraPictureBackground", //foldername
orientation: "portrait", //or landscape
type: "back" //or front
};
window.plugins.CameraPictureBackground.takePicture(success, onFail, options);
}
<button onclick="CaptureBCK();">Capture Photo</button> <br>
Try to use Cordova-plugin-camera plugin to capture images. It has various options to save the image on a range of 0-100 quality basis. 100 being high quality.
https://github.com/apache/cordova-plugin-camera
| 28,338 | |
https://ru.wikipedia.org/wiki/%D0%94%D0%BE%D0%B1%D0%BE%2C%20%D0%98%D1%88%D1%82%D0%B2%D0%B0%D0%BD | Wikipedia | Open Web | CC-By-SA | 2,023 | Добо, Иштван | https://ru.wikipedia.org/w/index.php?title=Добо, Иштван&action=history | Russian | Spoken | 559 | 1,640 | И́штван До́бо (; около 1502—1572, Среднее, Венгрия, ныне Украина) — венгерский военный, прославившийся героической защитой Эгерской крепости против турецких войск в 1552 году.
Биография
Иштван Добо происходил из знатной семьи с севера Венгрии. Сын Домокоша Добо (Domokos Dobó) и Жофии (Софии) Цекеи (Zsófia Cékei). Один из шестерых детей этой четы (Ференц, Ласло, Иштван, Домокош, Анна и Каталина). В 1526 году — вскоре после битвы при Мохаче — Домокошу-старшему был за боевые заслуги пожалован Середнянский замок в Подкарпатской Руси. Домокош Добо реконструировал и укрепил замок. Иштвану тогда было около 24-25 лет.
В разгоревшейся после Мохача гражданской войне Иштван Добо поддерживал Фердинанда I (король Чехии и Венгрии с 1526 года) в его борьбе за престол Святого Иштвана — против Яноша I (Ивана) Запольяи, воеводы Трансильвании, ставшего вассалом Османской империи.
В 1549 году Добо назначен капитаном (начальником гарнизона) крепости Эгер. 17 октября 1550 года Иштван женился на Шаре Шуйок (Sára Sulyok), впоследствии у них родились дети Ференц и Кристина.
Капитан Иштван Добо прославился в 1552 году, когда отстоял крепость и город Эгер, не отступив перед многократно превосходящим по численности войском турок. При 9 сентября — 18 октября 1552 года, вместе с 2100 защитниками, капитан успешно противостоял натиску 80-тысячного турецкого войска, чем сорвал план наступления турок на Вену. В награду Фердинанд I пожаловал капитану Добо трансильванские замки Дева (Déva, ныне Дева в Румынии) и Самошуйвар (Szamosújvár, ныне Герла в Румынии). В 1553 году Добо был назначен воеводой Трансильвании. Когда же Трансильвания отсоединилась в 1556 году от Венгрии — Добо, в качестве компенсации за потерю Девы и Самошуйвара, получил во владение замок Лева (Léva, ныне Левице в Словакии).
А вскоре Добо, обвинённый в измене королю, несколько лет провёл в заточении в Пожони (ныне Братислава — столица Словакии). Тюремные годы подорвали его здоровье. Вскоре после освобождения Добо поселился в Подкарпатской Руси, в Середнянском замке, где и умер в возрасте 72 лет. Был похоронен в близлежащем селе . Потом он был перезахоронен в Эгере.
Благодарная память
Доблестной защите крепости Эгер посвящён роман Гезы Гардони «Звёзды Эгера», написанный в 1901 г. и вскоре ставший бестселлером. В 1968 году роман был экранизирован (в главной роли — Имре Шинкович).
В 1907 году в Эгере был открыт памятник капитану Иштвану Добо. Он представляет собой красивую скульптурную группу, изображающую самого Добо, стоящего с обнаженной саблей в руках, а также других защитников Эгерской крепости. Памятник расположен на высоком мраморном основании и выглядит очень торжественно. Памятник украшает собой центральную городскую площадь, также носящую имя Иштвана Добо.
9 января 2014 г. в закарпатском селе Среднем открыли мемориальную доску в честь семьи Добо. Двуязычную мемориальную доску создал закарпатский скульптор Михаил Белень, в рамках проекта венгерского МИД «Сохранение венгерских памятных мест». Она была открыта в присутствии Генерального консула Венгрии в Ужгороде Иштвана Бочкаи. В Среднем также планируют открыть музей Иштвана Добо.
Примечания
Библиография
Alt Ernest, Bába Eugen, Huljak Ladislav Dejiny levickej nemocnice (1885—1985). — Levice, 1985.
Balogh Janos Egervar története. — Eger, 1881.
Bertényi I., Diószegi I., Horváth J., Kalmár J., Szabó P. Királyok Könyve. Magyarország és Erdély királyai, királynői, fejedelmei és kormányzói. — Budapest, 2004.
Gero L. Eger. — Eger(?), 1954.
Hóman B., Szekfű G. Magyar Történet. — Budapest, 1935.
Kučera Matúš Cesta dejinami: Stredoveké Slovensko. — Bratislava, 2002.
Szilágyi Sándor A magyar nemzet története. — Budapest.
Tinódi Sebestyén Szitnya, Léva, Csábrág, és Murán várának megvevése (1549).
Военные Венгрии
История Венгрии
История Трансильвании
Персоналии:История Словакии
Умершие в 1572 году
Похороненные в Эгере
Национальные герои Венгрии | 20,850 |
https://stackoverflow.com/questions/34679584 | StackExchange | Open Web | CC-By-SA | 2,016 | Stack Exchange | Krzysztof Majewski, Sophie Fernandez, https://stackoverflow.com/users/4650497, https://stackoverflow.com/users/5717099, https://stackoverflow.com/users/5763239, morido | English | Spoken | 1,098 | 2,147 | How to add user inputted data using an array and displaying it?
I am creating a program which involves the user having to input data about a game in a certain format, they will enter several pieces of information which i then have to display to them including total score and total time played of the games they enter. I am currently doing this using an array to store the information but i can not work out how to add up all the data they have given me. This is what i have so far.
//setting up my array.
myArray = input.split(":");
score = Integer.parseInt(myArray[1]);
timePlayed = Integer.parseInt(myArray[2]);
This is me setting up the array splitter.
do {
numGames++;
System.out.println("Enter game information seperated with colons. Example - Game:Score:Mins");
input = scanner.nextLine();
This is where i prompt the user to enter the data in my requested format. This will be repeated until they enter 'quit' or reach the game limit of 20.
}while (!input.equalsIgnoreCase("quit") && numGames <20);
System.out.println("Player: " + player );
System.out.println("- - - - - - - - - - - - -");
System.out.println("Games played: " + numGames + ", " + "Score: " + score + ", " + "Time played: " + timePlayed);
I then want the information to be displayed like this, however when i run my program it does not add up the combined game time, the number of games count works but the score and time played does not.
Sorry if this is not formatted correctly as it is my first post! If you guys need any more info or code from my program to help me just let me know and I will try! Thanks a bunch! :)
Requested full code:
String input;
String player;
int score;
int timePlayed;
float scores;
float time;
Scanner scanner = new Scanner (System.in);
int numGames = 0;
System.out.print("Enter your name: ");
player = scanner.nextLine();
//If the player does not enter a name they are them prompted to do so again until they have.
while (player.isEmpty())
{
System.out.print("Enter your name: ");
player = scanner.nextLine();
}
String[] myArray = new String [2];
//This section is prompting the player to input game data in a format requested.
do {
numGames++;
System.out.println("Enter game information seperated with colons. Example - Game:Score:Mins");
input = scanner.nextLine();
//If the player does not enter any information then this piece of code will run and ask them to do so.
while (input.isEmpty())
{
System.out.println("Enter game information seperated with colons. Example - Game:Score:Mins");
input = scanner.nextLine();
}
//setting up my array.
myArray = input.split(":");
score = Integer.parseInt(myArray[1]);
timePlayed = Integer.parseInt(myArray[2]);
//This displays to the player what they have just entered.
System.out.println("Player: " + player );
System.out.println("- - - - - - - - - - - - -");
System.out.println("Games played: " + numGames + ", " + "Score: " + score + ", " + "Time played: " + timePlayed);
input = scanner.nextLine();
try{
scores = Float.parseFloat(myArray[1]);
time = Float.parseFloat(myArray[2]);
}
catch (NumberFormatException e) {
System.out.println("Error: invalid input, not a number" + e.getMessage());
}
input = scanner.nextLine();
score.add(myArray[0]);
}while (!input.equalsIgnoreCase("quit") && numGames <2);
System.out.println("Player: " + player );
System.out.println("- - - - - - - - - - - - -");
System.out.println("Games played: " + numGames + ", " + "Score: " + score + ", " + "Time played: " + myArray[2]);
System.out.println("Exit");
scanner.close();
Please show as your full code
By full code we mean something as it is explained here. I.e. a section of code which compiles and exhibits your problem. For instance, this should make clear what input actually is.
This is not full code. What type is score? I do not see where in that code you sum up played time?
I haven't summed up played time yet, this is the part that i do not understand and can not work out how to do.
Try to remove the first player = scanner.nextLine();.
And replace this while loop:
while (player.isEmpty())
With:
while (scanner.hasNextLine()){
...
It's best to do this with a Model class that stores the three parameters. However, if you want to do it with a temporary array by splitting the input line with a separator (:), here is a working example;
import java.util.LinkedList;
import java.util.List;
import java.util.Scanner;
public class TestAnswer2 {
public static final String SEPARATOR = ":";
public static void main(String[] args) {
List<String[]> dataList = new LinkedList<String[]>();
String[] tempStringArray = null;
String playerName = null;
Scanner scanner = new Scanner(System.in);
String input = "";
// If the player does not enter a name they are them prompted to do so
// again until they have.
while (playerName == null || playerName.isEmpty()) {
System.out.print("Enter your name: ");
playerName = scanner.nextLine();
}
boolean shouldContinue = true;
while ( shouldContinue ) {
System.out.println("Enter game information seperated with colons. Example - Score:Mins");
input = scanner.nextLine();
tempStringArray = input.split(SEPARATOR);
if(tempStringArray.length == 1) {
if( tempStringArray[0].equalsIgnoreCase("quit") ) {
shouldContinue = false;
}
} else if (tempStringArray.length == 2) {
System.out.println("Entered>> Score: " + tempStringArray[0] + ", Time: " + tempStringArray[1] );
dataList.add(tempStringArray);
} else {
System.out.println("Please Re-Enter game information seperated with colons. Example - Score:Mins");
}
}
System.out.println("Player: " + playerName );
for(int i = 0; i < dataList.size(); i++) {
System.out.println("- - - - - - - - - - - - -");
System.out.println("Game Index: " + (i+1) + ", " + "Score: " + dataList.get(i)[0] + ", " + "Time played: " + dataList.get(i)[1]);
}
scanner.close();
}
}
And the output;
Enter your name: Levent
Enter game information seperated with colons. Example - Score:Mins
56:4
Entered>> Score: 56, Time: 4
Enter game information seperated with colons. Example - Score:Mins
112:7
Entered>> Score: 112, Time: 7
Enter game information seperated with colons. Example - Score:Mins
43:5
Entered>> Score: 43, Time: 5
Enter game information seperated with colons. Example - Score:Mins
366:12
Entered>> Score: 366, Time: 12
Enter game information seperated with colons. Example - Score:Mins
quit
Player: Levent
- - - - - - - - - - - - -
Game Index: 1, Score: 56, Time played: 4
- - - - - - - - - - - - -
Game Index: 2, Score: 112, Time played: 7
- - - - - - - - - - - - -
Game Index: 3, Score: 43, Time played: 5
- - - - - - - - - - - - -
Game Index: 4, Score: 366, Time played: 12
You should notice that the game index incremented automatically and the linked list only stores the array that used for storing the score and the time variables.
Hope that it helps.
| 4,152 |
https://stackoverflow.com/questions/46961281 | StackExchange | Open Web | CC-By-SA | 2,017 | Stack Exchange | Darth.Vader, Seth Tisue, https://stackoverflow.com/users/721998, https://stackoverflow.com/users/86485 | English | Spoken | 215 | 304 | Scala: SBT bundle different library dependencies for each stage
I have a Scala project that I build using SBT. In the build.sbt I want to bundle some library dependencies that will ONLY be used during the test phase and not during the package phase.
For example,
If I run: sbt test, I might want to have a library dependency on scala-test, but if I run sbt package, I don't want the dependency on scala-test.
How can I achieve that?
put % "test" at the end of the dependency
@SethTisue when I do that the jar still gets pulled when I run: "sbt package". I want it to be pulled only if I do "sbt test". I can see that in the cache/.ivy2 directory
I think you will have to put your test code in a different subproject.
But also, I wonder what the problem is with having the dependency retrieved. If the dependency isn't on the classpath in any inappropriate context, and isn't actually bundled when you run package, then what's the problem with having it retrieved? Curious.
@SethTisue the first comment works for me. thank you. If you could "Reply" to my question, I will be able to "Accept" it.
put % "test" at the end of the dependency and you're good to go!
| 33,421 |
https://ar.wikipedia.org/wiki/%D8%B3%D9%87%D9%8A%D9%84%20%D9%85%D8%AD%D9%85%D8%AF%20%D8%AD%D9%85%D9%88%D8%AF | Wikipedia | Open Web | CC-By-SA | 2,023 | سهيل محمد حمود | https://ar.wikipedia.org/w/index.php?title=سهيل محمد حمود&action=history | Arabic | Spoken | 385 | 1,208 | سهيل محمد حمود ويُعرف أيضًا باسمِ أبو التاو هو ثائر سوري وأحد المقاتلين في الجيش الحُر. اشتهرَ سُهيل بمهاراته في استعمالِ الصاروخ المضاد للدبابات بي جي إم-71 تاو (ويُعرف اختصارًا بالتاو) وذلك خلال أحداث الحرب الأهلية السورية.
الحياة المُبكّرة
المسيرة العسكريّة
قُبيل اندلاع الثورة السورية في آذار/مارس 2011؛ كان سهيل محمّد محمود يخدمُ في القوات البرية العربية السورية قبل أن ينشقَّ عنها مع بداية الانتفاضة مُنضمًا بذلك للمنادين بإسقاط النظام السوري بقيادة بشار الأسد. حينما تحوّلت الاحتجاجات الشعبيّة لاشتباكاتٍ مُسلّحة؛ انضمَّ سهيل للجيش السوري الحر فانخرطَ في الحروب التي خاضها بما في ذلك اشتباكات محافظة إدلب ما بين حزيران/يونيو 2012 حتى نيسان/أبريل 2013 فضلًا عن المعارك مع النظام في جبل الزاوية في نفس الفترة.
في مقابلةٍ له مع المونيتور في عام 2016؛ قال سهيل: ، وفي معرض ردّه عن نجاحه في استهداف الدبابات والآليات العسكريّة التي تتبعُ النظام قال سهيل:
قَبل انضمامه إلى فيلق الشام؛ كان سهيل مقاتلًا في حركة حزم كما كان مقاتلًا لدى عددٍ من الفصائل الثوريّة بما في ذلك تجمع القوة 21 والفرقة الأولى الساحلية والفرقة الثالثة عشرة والتي كانت تُشكّل الجيش السوري الحر المُشكّل بدوره من قِبل منشقّين عن النظام. حينما كان عضوًا في حركة حزم، خاض سهيل معارك عنيفة ضد جبهة النصرة التابعة لتنظيم القاعدة بين عامي 2014 و2015.
الاعتقال
عُرف عن سهيل محمد حمود عداوته لجبهة النصرة وهو ما أكّده صديقه أحمد بركات في تصريحٍ لصيحفة ذا ديلي بيست حيثُ قال:
التقطَ سهيل في نيسان/أبريل 2017 صورةً له وهو يُدخّن أمام لافتةٍ وضعتها هيئة تحرير الشام (جبهة النصرة سابقًا) وعليها عبارة «التدخين حرام»، كما التقطَ صورةً أخرى له وفيها يضعُ شريطًا لاصقًا على فمه أمام لافتةٍ للهيئة تقولُ «لا للهدنة لأنها فتنة». بعد ذلك بعدّة أيامٍ؛ وبينما كان يقودُ سيارته في قرية إحسم أُلقي القبض على سهيل من قبل عناصر يتبعون لهيئة تحرير الشام واقتيد لمحكمةٍ تتبعُ الهيئة حيثُ اتُهم «بالسخرية من الدين» فحُكم عليه بالسجن على الرغم من توسّط عناصر من فيلق الشام لإطلاق سراحه.
قدَّم قادةُ عدة مجموعات تابعة للجيش السوري الحر التماسًا خاصًا لإطلاقِ سراح سهيل؛ قبل أن يُفرج عليه رسميًا في الثالث عشر من أيّار/مايو 2017. غابَ سهيل عن ساحات المعارك منذ الإفراج عنه قبل أن يعودُ في العاشر من شباط/فبراير 2020 لمحافظةِ إدلب وذلك للمشاركة في العمليات العسكرية ضد النظام السوري وحليفيه الروسي والإيراني.
المراجع
أشخاص على قيد الحياة
أعضاء الجيش السوري الحر
شخصيات الحرب الأهلية السورية
منشقون عن الجيش السوري الحر
مواليد 1989 | 46,859 |
https://superuser.com/questions/1734247 | StackExchange | Open Web | CC-By-SA | 2,022 | Stack Exchange | Bryan Roach, Community, Duncan Jones, LittleBit, https://superuser.com/users/-1, https://superuser.com/users/1714293, https://superuser.com/users/200425, https://superuser.com/users/689566 | English | Spoken | 378 | 537 | How to search for where someone else was mentioned on Slack?
Suppose another Slack account is @John Doe.
Is it possible to search a Slack workspace for instances where John Doe was @-mentioned? I've noticed that searching "John Doe" or "@John Doe" doesn't work, and only returns instances where the main body of the message contains those words.
If I search to:@John Doe it only picks up the direct messages I sent to him. But I want to see instances where other people @-mentioned him in public channels.
have you tried to copy an existing @John Doe mention into the search field?
@LittleBit I hadn't, but that works well. If you'd like to post an answer, I'll accept it.
It should be possible by copying an existing @John Doe mention or typing a mention directly into he search field.
Note: It must be an interactive mention, simply typing the text "@John Doe" does not match @John Doe.
Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.
Typing a mention didn’t seem to work, but copy/pasting did.
Type the first few characters of @JohnDoe into the search bar. When you see an autocomplete option of a magnifying glass followed by @John Doe, click on it. (Do not press the enter key, and do not click on an autocomplete option if it doesn't have the magnifying glass.)
In my testing it had nothing to do with cut and pasting, when I do:
@username - it does a string search for that token (in all DMs, Threads and channels)
to:@myusername - It searches DMs sent to me.
to:@diffusername - It searches messages I sent.
In each of these cases it is not sufficient to just type @ followed by the username - you have to force slack to pop up the list of users and select the relevant person from the list (hence the name gets the blue highlight).
For clarify - you get different results, if you include the modifier to:
PS The best docs I found (which don't cover to:) were here:
https://slack.com/help/articles/202528808-Search-in-Slack
| 44,489 |
https://sv.wikipedia.org/wiki/Etel%20Adnan | Wikipedia | Open Web | CC-By-SA | 2,023 | Etel Adnan | https://sv.wikipedia.org/w/index.php?title=Etel Adnan&action=history | Swedish | Spoken | 804 | 1,669 | Etel Adnan (), född 24 februari 1925 i Beirut, Libanon, död 14 november 2021 i Paris, Frankrike, var en libanesisk-amerikansk poet, essäist och bildkonstnär. Adnan ansågs 2003 vara "den utan tvekan mest fulländade arabamerikanska författaren idag" enligt den akademiska tidskriften MELUS: Multi-Ethnic Literature of the United States.
Adnan bodde i Paris och i Sausalito, Kalifornien.
Biografi
Etel Adnan föddes 1925 i Beirut, Libanon. Adnans mor var en kristen grekiska från Smyrna och hennes far var en syrisk muslim. Fast hon växte upp som grekisk- och turkisktalande i ett huvudsakligen arabisk-talande samhälle, utbildades hon i franska klosterskolor och i franska språket. Sina tidiga verk skrev hon på franska.
Vid 24 års ålder reste Adnan till Paris, där hon tog en examen i filosofi vid Paris universitet. Sedan reste hon till USA, där hon fortsatte på avancerad nivå vid University of California, Berkeley och vid Harvard University. Från 1952 till 1978 undervisade hon i konstfilosofi vid Dominican University of California i San Rafael.
Adnan återvände från USA till Libanon och arbetade som journalist och kulturell utgivare för den franskspråkiga tidningen Al-Safa i Beirut. Dessutom hjälpte hon till att bygga upp tidningens kulturella avdelning. Ibland bidrog hon med tecknade filmer och illustrationer. Hennes arbete vid Al-Safa var mest anmärkningsvärt för hennes sektion på första sidan, där hon kommenterade dagens viktiga politiska frågor.
På senare år började Adnan att öppet erkänna sig som lesbisk.
Bildkonst
Adnan arbetar är också målare; hennes tidigaste abstrakta verk skapades med hjälp av en palettkniv för att applicera oljemålning på duken - ofta direkt från tuben - i fasta svep över bildens yta. Fokus för kompositionerna är ofta en röd kvadrat; hon är fortfarande intresserad av "färgens omedelbara skönhet". 2012 presenterades en serie av konstnärens färgglada abstrakta målningar som en del av dOCUMENTA (13) i Kassel, Tyskland. 2012 ställdes en serie av konstnärens färgglada abstrakta målningar ut som en del av documenta 13 i Kassel, Tyskland.
På 1960-talet började hon integrera arabisk kalligrafi i sina konstverk och i sina böcker, som i Livres d’Artistes [Artist's Books].<ref name="ds">Quilty, J., "Arabic art embraces politics and heritage,' The Daily Star, 24 april 2003, Online: http://www.dailystar.com.lb/ArticlePrint.aspx?id=102634&mode=print </ref> Hon påminner om sådana som sitter i timmar och kopierar ord från en arabisk grammatikbok, utan att försöka förstå betydelsen av orden. Hennes konst påverkas mycket av tidiga hurufiyya-artisterna; inklusive den irakiske konstnären Jawad Salim, den palestinske författaren och konstnären Jabra Ibrahim Jabra och den irakiska målaren Shakir Hassan al Said, som förkastade västerländsk estetik och omfamnade en ny konstform som modern men som ändå anknöt till traditionell kultur, media och tekniker.
Inspirerad av japanska vikta broschyrer målar Adnan också landskap på vikbara skärmar som kan "utökas i rymden som fristående teckningar".
2014 ställdes en samling av konstnärens målningar och vävda tapeter ut som en del av Whitneybiennalen vid Whitney Museum of American Art.
2017 fanns Adnans verk med i "Making Space: Women Artists and Postwar Abstraction", en grupputställning organiserad av MoMA, som förde samman framstående konstnärer som Ruth Asawa, Gertrudes Altschul, Anni Albers, Magdalena Abakanowicz, Lygia Clark, och Lygia Pape, bland andra.
2018 var MASS MoCA värd för en Retrospektiv utställning om konstnären, med titeln "A yellow sun A green sun a yellow sun A red sun a blue sun", som även omfattar målningar med olja och bläck och ett rum där man kunde läsa hennes skrivna verk. Med utställningen ville man undersöka hur upplevelsen av att läsa poesi skiljer sig från upplevelsen av att titta på en målning.
2018 publicerades "Etel Adnan", en biografi som hade skrivits av Kaelen Wilson-Goldie. Den reflekterar över konstnärens verk som shaman och aktivist.
Bibliografi (översatta till svenska)
1978 – Sitt Marie Rose, översatt från franska av Kajsa Sundin, Rámus 2021)
2005 – In the Heart of the Heart of Another Country, (I hjärtat av hjärtat av ett annat land, översatt av Iman Mohammed & Jenny Tunedal, Rámus 2018)
2018 – Den arabiska apokalypsen och andra dikter dikter i urval, översatt av Kristian Carlsson, Smockadoll förlag 2018)
Belöningar och erkännanden
1977: Belönad med France-Pays Arabes award för sin roman Sitt Marie Rose.
2010: Belönad med Arab American Book Award för historiesamling Master of the Eclipse.
2013: Hennes poesisamling Sea and Fog vann California Book Award for Poetry.
2013: Belönad med Lambda Literary Award.
2014: Adnan fick Arts et Lettres-orden av den franska regeringen.
2020: Poesisamlingen Time'', ett urval av Adnans verk översatta från franska av Sarah Riggs, vinner Griffin Poetry Prize.
Referenser
Noter
Externa länkar
Etel Adnans webbplats
Översatt utdrag från Sitt Marie Rose
Culturebase (på tyska)
Anne Mullin Burnham, Reflections in Women's Eyes, 1994, Saudi Aramco World
Etel Adnans sida på Archives of Women Artists, Research and Exhibitions
Födda 1925
Avlidna 2021
Kvinnor
Amerikanska konstnärer under 1900-talet
Libanesiska konstnärer
Amerikanska författare under 1900-talet
Libanesiska författare
Alumner från Paris universitet
Alumner från Harvard University
Alumner från University of California, Berkeley
Personer från Beirut | 49,307 |
https://en.wikipedia.org/wiki/Remember%20Bhopal%20Museum | Wikipedia | Open Web | CC-By-SA | 2,023 | Remember Bhopal Museum | https://en.wikipedia.org/w/index.php?title=Remember Bhopal Museum&action=history | English | Spoken | 531 | 754 | The Remember Bhopal Museum is a museum in Bhopal, Madhya Pradesh, India that commemorates the Bhopal disaster. It collects and exhibits artifacts and records of the affected communities. The museum was opened on 2 December 2014, the 30th anniversary of the disaster.
History
The Bhopal disaster was caused by a gas leak that occurred at the Union Carbide India Limited (UCIL) pesticide plant in Bhopal on 2 December 1984, and became the largest industrial disaster by death toll.
In 2004, Yaad-e-Hadsa, a memorial museum, was created by survivors of the disaster. Its exhibits, such as clothing and other belongings of those who had died, were donated by survivors. However, records of the origins of the exhibits were eventually lost by the organisers. Rama Lakshmi, who is a journalist, museologist and oral historian, and Shalini Sharma, who is an activist and an assistant professor at the Tata Institute for Social Sciences, decided to collect accounts from the survivors directly to link with the donated objects, to be exhibited at a new memorial museum.
In 2009, the Madhya Pradesh government and the Union Government made proposals to build a memorial of the gas tragedy, but the proposals failed.
The Remember Bhopal Trust was formed in 2012 by survivors of the disaster and activists campaigning for restitution for the victims of the disaster. It was formed with the aim of helping sustain the memory of the incident, and to organise commemorative activities, with a focus on the concerns of the victims and survivors of the disaster.
On 2 December 2014, the Remember Bhopal Museum was opened by the Remember Bhopal Trust. The museum is located in a converted flat near the site. According to its curator Rama Lakshmi, it is the first museum in India focusing on a "contemporary social movement for justice". The project, which was the trust's first, is co-ordinated by Shalini Sharma.
Exhibits
The museum exhibits artefacts, oral histories, photographs, protest songs and campaign posters that have emerged in the movement for justice for the victims of the Bhopal disaster.
The survivor groups have worked with Lakshmi and other museum professionals to design and create their own memorial museum, filled with posters, photographs, and artefacts, such as a small victim’s dress, a stopped pocket watch–donated by the families of victims and survivors. Survivors have given to the museum personal objects that are often their last tangible link to those who died because of the gas leak. Many others have recounted their harrowing tales of survival and struggle. The museum’s narrative is shaped by their stories and objects.
Administration
The central goal of the Remember Bhopal Museum is to focus on the voices and concerns of the survivors, as opposed to the government or the industry, in museum or memorial projects.
Rama Lakshmi, Washington Post's India correspondent (and also a museologist) is the curator of the Remember Bhopal Museum.
The museum is housed in a rented building, owned by a disaster-affected family, around 2.5 km away from the Union Carbide factory.
The museum does not accept any government or corporate funds.
References
External links
Bhopal disaster
History museums in India
Museums in Bhopal
Museums established in 2014
2014 establishments in Madhya Pradesh | 24,079 |
https://stackoverflow.com/questions/23850743 | StackExchange | Open Web | CC-By-SA | 2,014 | Stack Exchange | Chloe, https://stackoverflow.com/users/148844 | English | Spoken | 101 | 230 | How do I click this Bootstrap button in Capybara?
How do I click on this button in Capybara?
HTML
<div class="btn btn-primary">
<a href="/carts/7/addresses/new"><span class="glyphicon glyphicon-plus"></span>
Add an address
</a>
</div>
I tried
click_button "Add an Address"
click_button /Add an Address/
click 'Add an Address'
click_link 'Add an Address'
Yet they all say Capybara::ElementNotFound, except for click, which says NoMethodError.
You wrote it from lower letter in html code, just change to Capital: Add an address -> Add an Address:
<a href="/carts/7/addresses/new"><span class="glyphicon glyphicon-plus"></span>
Add an address
^
</a>
You were right. I could have sworn that I matched the case.
| 29,750 |
https://stackoverflow.com/questions/69499030 | StackExchange | Open Web | CC-By-SA | 2,021 | Stack Exchange | English | Spoken | 160 | 299 | Powershell Module not automatically loaded for Linux container
I have a Powershell module that looks like this this:
function SayHello
{
echo "hello"
}
I saved it as say-hello.psm1 and added it to a dockerfile like this:
COPY --chmod=0755 say-hello.psm1 /root/.local/share/powershell/Modules/say-hello.psm1
When I start the docker image up, and run SayHello it tells me that it can't find the command:
But if I then run an Import-Module command and try it again, it works:
I thought that maybe I had the wrong folder, but when I run $Env:PSModulePath I get /root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules. According to the documentation, that is where the modules should go. (I put it in the first one)
What do I need to do to make my powershell module work without needing to be manually imported?
I forgot that you need to put the psm1 file in a folder with the same name as the file (inside the Modules folder).
I did that and it started working just fine.
| 34,494 | |
https://ba.wikipedia.org/wiki/%D0%A8%D1%83%D0%BC%D0%B5%D0%B9%D0%BA%D0%BE%20%D0%93%D1%80%D0%B8%D0%B3%D0%BE%D1%80%D0%B8%D0%B9%20%D0%93%D1%80%D0%B8%D0%B3%D0%BE%D1%80%D1%8C%D0%B5%D0%B2%D0%B8%D1%87 | Wikipedia | Open Web | CC-By-SA | 2,023 | Шумейко Григорий Григорьевич | https://ba.wikipedia.org/w/index.php?title=Шумейко Григорий Григорьевич&action=history | Bashkir | Spoken | 421 | 1,725 | Шумейко Григорий Григорьевич (12 декабрь 1923 йыл — 1 май 1977 йыл) — Бөйөк Ватан һуғышында ҡатнашҡан хәрби хеҙмәткәр, полковник. Советтар Союзы Геройы (1945).
Биографияһы
Григорий Григорьевич Шумейко 1923 йылдың 12 декабрендә Башҡорт АССР-ының Стәрлетамаҡ кантоны Стәрлетамаҡ ҡалаһында крәҫтиән ғаиләһендә тыуа.
Краснодар крайының Гулькевич районы Кубань ауылында урта мәктәптең һигеҙ класын тамамлай.
1941 йылдың октябрендә Эшсе-крәҫтиән Ҡыҙыл Армияһысафына саҡырыла. Бөйөк Ватан һуғышында 1942 йылдың ноябренән. Тәүҙә автомобиле водителе булып хеҙмәт итә. 1944 йылда Сталинград хәрби танк училищеһын тамамлай.
1944 йылдан ВКП(б)/КПСС ағзаһы.
1-се Белорус фронты 2-се гвардия танк армияһы 9-сы гвардия танк корпусының 50-се гвардия танк бригадаһының взвод командиры, гвардия лейтенанты. Польшаны азат итеүҙә айырылып тора. 1945 йылдың 18 ғинуарында Плоцк ҡалаһы районында Г. Г. Шумейко етәкселегендә 5 танкынан торған төркөм дошман тылына разведкаға һәм Висла йылғаһы аша кисеүҙе алырға ебәрелә. Ут эсенә эләгеп, танкистар ҡулса оборонаһы тота һәм ике көн буйы һуғыша, дошмандың танкыға ҡаршы өс батареяһын юҡ итә, һуңынан ҡырылған машиналарын ҡалдырып, ҡамауҙан сыға. СССР Юғары Советы Президиумының 1945 йылдың 27 февралендәге указына ярашлы, командованиеның заданиеһын өлгөлө үтәгәне һәм немец-фашист илбаҫарҙары менәналышта күрһәткән батырлығы һәм ҡаһарманлығы өсөн гвардия лейтенанты Григорий Григорьевич Шумейкоға «Советтар Союзы Геройы» исеме бирелә һәм Ленин ордены менән «Алтын Йондоҙ» миҙалы тапшырыла.
Һуғыштан һуң Г. Г. Шумейко Совет Армияһында хеҙмәтен дауам итә. 1945 йылда Ленинград юғары офицерҙар бронетанк мәктәбен тамамлай, 1966 йылда — М. В. Фрунзе.исемендәге Хәрби академияны. Полковник Г. Г. Шумейко Киев юғары танк инженер училищеһының факультет һәм кафедра етәксеһе була. Украинала, Киев ҡалаһында йәшәй.
Григорий Григорьевич Шумейко вафат 1977 йылдың 1 майында вафат була. Киевтың Лукьянов хәрби зыяратында ерләнгән.
Маҡтаулы исемдәре һәм башҡа бүләктәре
Советтар Союзы Геройы (1945 йыл 27 февраль);
«Алтын Йондоҙ» миҙалы № 5925
Ленин ордены
Ҡыҙыл Байраҡ ордены
II дәрәжә Ватан һуғышы ордены (1944 йыл 21 февраль)
Ике Ҡыҙыл Йондоҙ ордены (1944 йыл 27 июль)
3-сө дәрәжә «СССР Ҡораллы Көстәрендә Ватанға хеҙмәте өсөн» ордены
миҙалдар
Хәтер
Краснодар крайының Кубань ауылында 22-се мәктәпкә Герой исеме бирелгән, мәктәп алдына уның бюсы ҡуйылған.
Краснодар крайы Гулькевичи ҡалаһының Хәтер аллеяһында бюсы ҡуйылған.
Иҫкәрмәләр
Һылтанмалар
Фрунзе исемендәге Хәрби академияны тамамлаусылар
КПСС ағзалары
Бөйөк Ватан һуғышы танкистары
Киевта вафат булғандар
1977 йылда вафат булғандар
1 майҙа вафат булғандар
Стәрлетамаҡта тыуғандар
1923 йылда тыуғандар
12 декабрҙә тыуғандар
Википедия:Статьи с переопределением значения из Викиданных
I дәрәжә «За безупречную службу» миҙалы менән наградланыусылар
«1941—1945 йылдарҙағы Бөйөк Ватан һуғышында Германияны еңгән өсөн» миҙалы менән бүләкләнеүселәр
III дәрәжә «СССР Ҡораллы Көстәрендә Ватанға хеҙмәт иткәне өсөн» ордены кавалерҙары
Ҡыҙыл Йондоҙ ордены кавалерҙары
2-се дәрәжә Ватан һуғышы ордены кавалерҙары
Ҡыҙыл Байраҡ ордены кавалерҙары
Ленин ордены кавалерҙары
Советтар Союзы Геройҙары
Полковниктар (СССР)
Алфавит буйынса шәхестәр | 32,498 |
https://en.wikipedia.org/wiki/Akraba | Wikipedia | Open Web | CC-By-SA | 2,023 | Akraba | https://en.wikipedia.org/w/index.php?title=Akraba&action=history | English | Spoken | 91 | 194 | Akraba (variants: Aqrab, Aqraba, Agrab or Aqrabiyah) may refer to:
Aqraba, Nablus, a Palestinian town in the Nablus Governorate
Aqrab, a Syrian town in the Hama Governorate
Aqraba, Syria, a Syrian town in the Daraa Governorate
Aqraba, Rif Dimashq Governorate, a Syrian town in the Ghouta region of Rif Dimashq
Aqrabiyah, a Syrian town in the Homs Governorate near Lebanon
Aaqbe, a Lebanese village and municipality in the Beqaa Governorate
Tell Agrab, an ancient settlement in Iraq in Diyala Governorate
Al-Aqrab Prison, a prison in Cairo, Egypt
See also
Aqraba (disambiguation) | 9,327 |
https://sw.wikipedia.org/wiki/Bobasi%20Chache | Wikipedia | Open Web | CC-By-SA | 2,023 | Bobasi Chache | https://sw.wikipedia.org/w/index.php?title=Bobasi Chache&action=history | Swahili | Spoken | 19 | 43 | ni kata ya kaunti ya Kisii, Eneo bunge la Bobasi, nchini Kenya.
Tanbihi
Kata za Kenya
Kaunti ya Kisii | 30,833 |
https://fr.wikipedia.org/wiki/Championnat%20du%20monde%20moins%20de%2018%20ans%20de%20hockey%20sur%20glace%202020 | Wikipedia | Open Web | CC-By-SA | 2,023 | Championnat du monde moins de 18 ans de hockey sur glace 2020 | https://fr.wikipedia.org/w/index.php?title=Championnat du monde moins de 18 ans de hockey sur glace 2020&action=history | French | Spoken | 138 | 213 | Le Championnat du monde moins de 18 ans de hockey sur glace 2020 devait être la de cette compétition organisée par la Fédération internationale de hockey sur glace (IIHF). Elle a été annulée en raison de la pandémie de coronavirus.
Le tournoi de la Division Élite, regroupant les meilleures nations, devait avoir lieu du 16 au 26 avril 2020 dans les villes américaines de Plymouth et Ann Arbor, les divisions inférieures étant disputées indépendamment du groupe Élite.
Annulation des compétitions
En raison de la pandémie de Covid-19, l'IIHF annonce au cours du mois de mars les annulations successives de toutes les compétitions pour chaque division.
Composition des divisions
Articles connexes
Championnat du monde
Championnat du monde junior
Championnat du monde féminin
Championnat du monde féminin moins de 18 ans
Références
2020
Hockey sur glace
Monde
Hockey sur glace | 25,487 |
https://en.wikipedia.org/wiki/Malik%20Ghulam%20Arbi%20Khar | Wikipedia | Open Web | CC-By-SA | 2,023 | Malik Ghulam Arbi Khar | https://en.wikipedia.org/w/index.php?title=Malik Ghulam Arbi Khar&action=history | English | Spoken | 44 | 85 | Malik Ghulam Arbi Khar (; – d 4 March 2013) was a Pakistani politician who was a member of the National Assembly of Pakistan
References
Year of birth missing
20th-century births
2013 deaths
People from Muzaffargarh District
Arbi
People from Muzaffargarh
Politicians from Muzaffargarh | 19,752 |
https://askubuntu.com/questions/988767 | StackExchange | Open Web | CC-By-SA | 2,017 | Stack Exchange | Martin Thornton, chili555, https://askubuntu.com/users/19421, https://askubuntu.com/users/425479 | English | Spoken | 71 | 148 | Why ubuntu doesn't see wi-fi card?
I have installed ubuntu server and when installing, there was wi-fi card aviable and I connected with it. After installation, there is no wi-fi card seen by ubuntu. What can I do? Card is from TP-Link
Welcome to Ask Ubuntu! We need more hardware information to help you, can you look at this question and then edit your question adding the information.
Please see: https://askubuntu.com/questions/425155/my-wireless-wifi-connection-does-not-work-what-information-is-needed-to-diagnos/425180#425180
| 38,221 |
https://pl.wikipedia.org/wiki/Betsy | Wikipedia | Open Web | CC-By-SA | 2,023 | Betsy | https://pl.wikipedia.org/w/index.php?title=Betsy&action=history | Polish | Spoken | 153 | 358 | Betsy (ang. The Betsy) – amerykański dramat filmowy z 1978 roku w reżyserii Daniela Petriego, powstały na podstawie powieści Harolda Robbinsa The Betsy. Wyprodukowany przez Allied Artists.
Premiera filmu miała miejsce 9 lutego 1978 roku w Stanach Zjednoczonych.
Fabuła
86-letni potentat przemysłowy Loren Hardeman Sr. (Laurence Olivier) marzy o dawnych zaszczytach i sukcesach. Pragnie odbudować swoje imperium, wprowadzając na rynek małe ekonomiczne auta. Przeciwny projektowi jest wnuk Hardemana (Robert Duvall), który nie cierpi dziadka, obwiniając go o śmierć ojca.
Obsada
Laurence Olivier jako Loren Hardeman Sr.
Tommy Lee Jones jako Angelo Perino
Robert Duvall jako Loren Hardemann III
Katharine Ross jako Sally Hardeman
Jane Alexander jako Alicia Hardeman
Lesley-Anne Down jako Lady Ayres
Kathleen Beller jako Betsy
Joseph Wiseman jako Jake Weinstein
Edward Herrmann jako Dan Weyman
Przypisy
Bibliografia
Linki zewnętrzne
Amerykańskie dramaty filmowe
Amerykańskie filmy z 1978 roku
Filmy wytwórni United Artists
Filmowe ścieżki dźwiękowe Johna Barry’ego
Filmy w reżyserii Daniela Petriego | 35,511 |
https://en.wikipedia.org/wiki/Finlayson%20Lake%20Airport | Wikipedia | Open Web | CC-By-SA | 2,023 | Finlayson Lake Airport | https://en.wikipedia.org/w/index.php?title=Finlayson Lake Airport&action=history | English | Spoken | 25 | 44 | Finlayson Lake Airport is located adjacent to the south side of the Robert Campbell Highway near Ross River, Yukon, Canada.
References
Registered aerodromes in Yukon | 25,841 |
https://ceb.wikipedia.org/wiki/Christella%20yuanjiangensis | Wikipedia | Open Web | CC-By-SA | 2,023 | Christella yuanjiangensis | https://ceb.wikipedia.org/w/index.php?title=Christella yuanjiangensis&action=history | Cebuano | Spoken | 103 | 197 | Kaliwatan sa tanom ang Christella yuanjiangensis. sakop sa ka-ulo nga Tracheophyta, ug Una ning gihulagway ni Ren Chang Ching ug Shing, ug gihatagan sa eksakto nga ngalan ni Comb. ined.. Ang Christella yuanjiangensis sakop sa kahenera nga Christella, ug kabanay nga Thelypteridaceae.
Kini nga matang hayop na sabwag sa:
Pangmasang Republika sa Tsina
habagatang Yunnan Sheng
Fujian Sheng
Guangxi Zhuangzu Zizhiqu
tingali Republika sa Tsina
Walay nalista nga matang nga sama niini.
Ang mga gi basihan niini
Tanom
Tanom sa Pangmasang Republika sa Tsina
Tanom sa Yunnan Sheng
Tanom sa Fujian Sheng
Tanom sa Guangxi Zhuangzu Zizhiqu
Tanom sa Republika sa Tsina
Christella | 19,939 |
https://sv.wikipedia.org/wiki/Tataka%20politzari | Wikipedia | Open Web | CC-By-SA | 2,023 | Tataka politzari | https://sv.wikipedia.org/w/index.php?title=Tataka politzari&action=history | Swedish | Spoken | 31 | 65 | Tataka politzari är en insektsart som beskrevs av Irena Dworakowska 1979. Tataka politzari ingår i släktet Tataka och familjen dvärgstritar. Inga underarter finns listade i Catalogue of Life.
Källor
Dvärgstritar
politzari | 493 |
https://sv.wikipedia.org/wiki/Maechidius%20fissiceps | Wikipedia | Open Web | CC-By-SA | 2,023 | Maechidius fissiceps | https://sv.wikipedia.org/w/index.php?title=Maechidius fissiceps&action=history | Swedish | Spoken | 30 | 67 | Maechidius fissiceps är en skalbaggsart som beskrevs av Macleay 1888. Maechidius fissiceps ingår i släktet Maechidius och familjen Melolonthidae. Inga underarter finns listade i Catalogue of Life.
Källor
Skalbaggar
fissiceps | 48,755 |
https://serverfault.com/questions/848083 | StackExchange | Open Web | CC-By-SA | 2,017 | Stack Exchange | English | Spoken | 281 | 468 | Openstack - Run a script after creating/deleting a VM
Is there a way to get Openstack to run a script right after it creates or deletes a VM(both Windows and Linux)? This script has to be run on the host itself, not on the VM or guest it just created.
The purpose of this is to add/remove the host from our Nagios server automatically. Right now we are adding/removing the hosts on Nagios manually but this is not ideal since we create/delete VMs multiple times a day.
We can easily add a host on Nagios using the following API call:
curl -XPOST "http://10.25.5.2/nagiosxi/api/v1/config/host?apikey=5goacg8s&pretty=1" -d
"host_name=openstack_vm_1&address=192.168.10.1&use=xiwizard_generic_host&force=1&applyconfig=1
If I can get Openstack to run the above command, replacing just the hostname and address for each VM it creates, that solves my problem. I can use something similar to remove the host from Nagios as well.
OpenStack has a CLI that you can use to pretty much do anything in regard to virtual hosts, containers, and so on. This means you can bundle the command to instantiate a host and the command to tell Nagios about the new host into a bash script, batch file, Powershell script, or whatever other script language you have available. Likewise, the command to delete a host instance and the command to remove said instance from Nagios can be bundled together into a teardown script.
Just glancing over this cheat sheet list of OpenStack commands, I don't see how it would be all that difficult to script. The caveat, of course, is that you cannot use the native OpenStack create or destroy commands all by themselves, you must "train" your support people into using your batch commands instead.
https://docs.openstack.org/user-guide/cli-cheat-sheet.html
| 6,834 | |
https://ja.wikipedia.org/wiki/%E3%83%90%E3%83%AB%E3%83%88%E6%B5%B7%E3%82%AF%E3%83%AB%E3%83%BC%E3%82%BA | Wikipedia | Open Web | CC-By-SA | 2,023 | バルト海クルーズ | https://ja.wikipedia.org/w/index.php?title=バルト海クルーズ&action=history | Japanese | Spoken | 43 | 1,582 | バルト海クルーズ(バルトかいクルーズ)とは、北ヨーロッパ、ユーラシア大陸とスカンディナヴィア半島に囲まれているバルト海におけるクルージングのこと。また、単に海上交通手段としてのクルーズも含まれる。
概要
バルト海を囲むように、スウェーデン、フィンランド、ロシア、エストニア、ラトビア、リトアニア、ポーランド、ドイツ、デンマークなどの国々が面しており、航海をようする海上交通網が発達している。
現在、航空網が発達している中においても、費用が安い、サービスがよいなどの理由により、海上交通を利用する人が多い。また、単に交通手段以外に「クルーズ」という面もあり海外の人が利用することも多く、日本の旅行会社などの主催するものやヨーロッパツアー行程に組み込まれることが多く人気が高い。
北欧首都、主要都市を結ぶラインは毎日運航されている。
長期クルーズは、季節により異なる。
主なクルーズライン
MSCクルーズ
豪華客船を夏季に北欧への航路を複数、就航している。2017年では4月から9月いっぱいの間に9万トン級ののMSCマニフィカ、14万トン級のMSCファンタジア、MSCプレチオーサの3船を配船する。MSCマニフィカはヴァーネミュンデから出発し、コペンハーゲン、ストックホルム、タリン、ベルゲン、オルデン、サンクトペテルブルクに行く。MSCファンタジアはキール、ストックホルム、ヘルシルト、ガイランゲル、タリンなどに行く。MSCプレチオーサはハンブルクからスピッツベルゲンやレイキャビックなどに向かう航路がある。基本的に7日間のクルーズだが、11日間や14日間のクルーズもある。
シリヤライン(シンボルマーク:アザラシ)
主な航路は、スウェーデンの首都ストックホルムからオーランド諸島の中心都市マリエハムンを経由してフィンランドの首都ヘルシンキ、旧首都トゥルクへの航路。
タリンク
主な航路は、エストニアの首都タリンやラトビアの首都リーガからヘルシンキやストックホルム。ヘルシンキからタリン、ヘルシンキからドイツのロストック。2006年にシリヤラインを買収して傘下におさめた。
ヴァイキングライン(シンボルマーク:ヴァイキング)
主な航路は、ストックホルムからマリエハムン経由ヘルシンキ航路、ストックホルムからトゥルク航路など。
ステナライン
スコットランド、スウェーデン、アイルランド、デンマーク、オランダ、ノルウェー、ドイツ、ポーランドなどにフェリー航路を持つ世界最大級の会社。
コスタ・クルーズ
地中海クルーズをメインとするイタリアの船舶会社だが、ロシア、サンクトペテルブルク、ヘルシンキとコペンハーゲンを結ぶクルーズ航路を有している。船内レストランでは本場イタリア料理が楽しめる。
船舶・設備
交通として利用されている船舶は、50000tを超える。
長期クルーズに利用されている船舶は、100000tを超える。
上記、両船舶とも大型バス、普通乗用車などを積み込める。また、船内は免税店、医師(歯科医師含む時あり)常駐の医療施設、レストラン、エレベータ、室内・船上プールや賭け事などの娯楽施設などが備えられている。
室内には、バスルーム、ベッド、冷蔵庫、テレビなどの設備があり、ホテルの機能と変わりない(室内ランクにより異なる)。
最高ランクのサービスとして執事が付くものもある。
費用
一般的に夏季と冬季で基本料金が違う。冬季に海上凍結によりコースが変わることがある。
客室ランクにより違う。
海側と内側により違う。
長期クルーズ、日常交通用により違う。
(詳細は各旅行会社ウェブサイトを参考)
関連項目
バルト海
北欧/東欧/ヨーロッパ
スカンディナヴィア半島/フィヨルド
クルーズ/フィヨルドクルーズ/北海クルーズ
バルト三国、エストニア、ラトビア、リトアニア
船舶
バルト地方
バルト海
北欧
北欧の文化
ヨーロッパの交通 | 23,494 |
https://fr.wikipedia.org/wiki/Conseil%20Savoie%20Mont%20Blanc | Wikipedia | Open Web | CC-By-SA | 2,023 | Conseil Savoie Mont Blanc | https://fr.wikipedia.org/w/index.php?title=Conseil Savoie Mont Blanc&action=history | French | Spoken | 1,317 | 2,070 | Le Conseil Savoie Mont Blanc, anciennement dénommé Assemblée des Pays de Savoie ou APS, est un établissement public français, doté de la personnalité civile et de l'autonomie financière, créé le par les conseils généraux des départements de la Savoie et de la Haute-Savoie dans l’optique d'une réunification et de projets communs.
Cette création fait ainsi évoluer l’Entente régionale de Savoie, une coopération interdépartementale créée en 1983.
Le Conseil est une réponse institutionnelle et politique aux mouvements tant régionalistes que séparatistes locaux. Il s'agit pour les conseils départementaux de s'engager dans une démarche commune à l'heure où la question des territoires se pose de façon plus accrue.
Historique
L’idée d’une région Savoie
Territoires appartenant aux États de Savoie, avant 1860, les pays de Savoie sont divisés en deux départements de la Savoie et de la Haute-Savoie. À partir des années 1970, par l'intermédiaire du Mouvement Région Savoie, une minorité de Savoyards lance l'idée de la création d'une région Savoie, à la faveur de la régionalisation organisée par la loi du 5 juillet 1972, dite « loi Pompidou ». Une série d'actions est lancée à travers la Savoie.
Les hommes politiques sont divisés sur la question de la création d'une région Savoie et le vote dans les deux assemblées départementales, en 1973, se termine par l'abandon de cette idée. Le conseil général de Savoie refuse cette création cependant que celui de la Haute-Savoie en prend acte.
L’Entente régionale de Savoie
Il faut attendre le pour que, sur une idée de Louis Besson, les deux conseils décident de la création d'un établissement public, l’Entente régionale de Savoie, permettant la gestion commune d'un certain nombre de compétences en matière de tourisme, d'agriculture ou d'enseignement supérieur.
Toutefois, cette structure a du mal à fonctionner et les tensions entre les personnalités des deux départements perdurent. Une nouvelle dynamique est lancée en 1998 à la suite de l'obtention par la Ligue savoisienne d'un siège au Conseil régional de Rhône-Alpes.
L’Assemblée des Pays de Savoie
La volonté de collaboration est réaffirmée lors des séances plénières de l'abbaye de Tamié, le , puis au château de Clermont, le . Il faut attendre le pour que les présidents Hervé Gaymard pour la Savoie et Ernest Nycollin pour la Haute-Savoie produisent une déclaration commune qui est approuvée à l'unanimité, le suivant par l'ensemble des 71 conseillers généraux des deux départements, donnant ainsi naissance officiellement à l'Assemblée des Pays de Savoie. Sa première réunion a lieu, le 17 décembre au conseil général de la Haute-Savoie.
Projet d'une collectivité unique
Hervé Gaymard se prononce dans les médias locaux pour la création d'un Conseil des Pays de Savoie : « J'ai toujours été un ardent militant de l'unité savoyarde, car elle me semble aller de soi. (...) Mais aujourd'hui, il faut aller plus loin. (...) Je reste opposé à la création d'une Région coûteuse et redondante, qui se superposerait aux deux Conseils Généraux actuels. En revanche, je suis très favorable et je consacrerai toute mon énergie à la création d'un Conseil des Pays de Savoie, qui unifierait les deux Conseils Généraux, avec au surplus toutes ou partie des compétences exercées aujourd'hui par le conseil régional. ». L'idée se place dans la ligne de la proposition de Michel Barnier de fusionner des deux départements dans les années 1990.
Une nouvelle étape est franchie le . Tandis que le gouvernement de Manuel Valls projette de réformer la carte des régions françaises et prévoit la suppression des conseils généraux à l'horizon 2021, Hervé Gaymard et Christian Monteil proposent la création d'une collectivité territoriale unique nommée Savoie Mont Blanc, incluant dans ses limites géographiques les deux départements et dont l'assemblée élue se substituerait aux deux conseils départementaux et à l'Assemblée des Pays de Savoie.
Hervé Gaymard, comme député de la Savoie, dépose un amendement dans ce sens à l'Assemblée nationale, dans le cadre de l'examen du projet de loi sur la réforme territoriale.
Le Conseil Savoie Mont Blanc
Le , le conseil d'administration de l'Assemblée des Pays de Savoie officialise la nouvelle dénomination de « Conseil Savoie Mont Blanc », accompagnée d'une nouvelle identité visuelle.
Le , le conseil départemental de la Haute-Savoie, dirigé par Martial Saddier, vote à la majorité pour la dissolution. Le président du conseil départemental haut-savoyard avance le fait que la structure actuelle n'est plus adaptée. Son homologue savoyard, Hervé Gaymard, déplore une décision unilatérale. La mise en place de cette dissolution n'est pas encore effective en 2023 et semble renvoyée à 2024.
Objectifs
L'objectif de l’Assemblée des Pays de Savoie à sa création est de conduire et/ou financer toutes les actions à caractère interdépartemental, quel que soit le domaine concerné.
Tourisme et grands événements :
Renforcement de l'image de la destination Savoie Haute-Savoie, qui a pris le nom de Savoie Mont Blanc ;
Placement du tourisme dans une démarche de développement durable ;
Renforcement de l'impact de la Maison de Savoie à Paris ;
Amélioration de la qualité de l'offre ;
Recherche d'une nouvelle clientèle sur les marchés lointains ;
Lancement en 2005 d'un plan pour l'hôtellerie de plein air (campings) ;
Soutien financier à la première édition de La Grande Odyssée, raid de chiens en traîneau de 12 jours en janvier 2005 ;
Soutien financier à l'opération « Champs de neige » à Paris en décembre 2005.
Culture et patrimoine :
Soutien financier à l'Orchestre des Pays de Savoie qui existe depuis 1984 et mène des actions de sensibilisations auprès des étudiants, des lycéens et des collégiens ;
Soutien financier aux bibliothèques, manifestations littéraires, lecture et lien social à travers la Direction de la lecture publique Savoie-biblio et à l'évaluation du réseau des bibliothèques des Pays de Savoie, préalablement à la définition et à la mise en place d'un plan de développement de la lecture publique pour la période 2015-2020.;
De 2001 à 2005, l'APS a soutenu la chaîne de télévision locale TV8 Mont-Blanc en finançant des programmes présentant et défendant l'identité culturelle des Pays de Savoie ;
Lancement en 2005 d'un « musée virtuel sur internet »
Enseignement supérieur :
Soutien financier à l'Université de Savoie afin d'amplifier son implication territoriale et son attractivité nationale et européenne ;
Augmentation des bourses doctorales de recherche dans quatre pôles prioritaires (mécatronique et management, écotechnique, montagne et imagerie) ;
Soutien financier en 2005 au nouvel Institut de la Montagne.
Agriculture :
Soutien financier aux filières agricoles dans le cadre d'une démarche qualitative des productions et de valorisation des produits des Pays de Savoie, à travers « Agripromo Pays de Savoie » et « Marque collective Savoie » .
Environnement :
Soutien financier à la connaissance et la surveillance de la qualité de l'air, à travers l'association « L'Air de l'Ain et des Pays de Savoie » ;
Soutien financier à l'« Espace nature Mont-Blanc » et au « Parc naturel régional du massif des Bauges » ;
Jusqu'en 2006, soutien financier au « réseau alpestre francophone » qui a pour vocation la promotion de l'économie alpestre et la mise en valeur du patrimoine, de la culture et des arts alpestres.
Organisation
Siège
Après avoir été hébergé dans les locaux du conseil général de la Savoie à Chambéry depuis 2001, le siège se situe à Annecy depuis 2013.
Administration
Le Conseil Savoie Mont Blanc est dirigé par un conseil d'administration de trente membres, choisis par les conseils départementaux, et un bureau de dix membres.
Présidents
La présidence est exercée alternativement par le président de chacun des deux conseils départementaux pour une période de trois ans. En 2021, il a été décidé que l'alternance de la présidence serait ramenée à un an.
Budget
Son budget voté pour 2014 s'élève à 22,2 millions d'euros.
Notes et références
Voir aussi
Articles connexes
Savoie
Savoie (département) et Haute-Savoie
Conseil départemental de la Savoie et Conseil départemental de la Haute-Savoie
Nationalisme savoyard
Liens externes
L'Assemblée des Pays de Savoie sur le site du Conseil général de la Savoie.
Pays de Savoie
Nationalisme savoyard
Établissement public en France | 19,976 |
https://ru.wikipedia.org/wiki/%D0%9A%D1%83%D1%80%D0%B1%D0%B0%D1%82%D0%BE%D0%B2%2C%20%D0%9F%D1%91%D1%82%D1%80%20%D0%90%D0%BB%D0%B5%D0%BA%D1%81%D0%B0%D0%BD%D0%B4%D1%80%D0%BE%D0%B2%D0%B8%D1%87 | Wikipedia | Open Web | CC-By-SA | 2,023 | Курбатов, Пётр Александрович | https://ru.wikipedia.org/w/index.php?title=Курбатов, Пётр Александрович&action=history | Russian | Spoken | 149 | 445 | Пётр Александрович Курбатов (1784?—1872) — последний директор Московского благородного пансиона (1826—1830). Внук П. П. Курбатова.
Биография
Учился дома и за границей. В 1813 году был надворным советником. Женат на внебрачной дочери министра народного просвещения А. К. Разумовского, Елизавете Алексеевне Перовской. По протекции Разумовского в 1816 году он получил должность директора типографии Московского университета и исполнял её в течение 35 лет, до 1851 года. Кроме жалованья в 1000 рублей он получал «5 процентов с чистого дохода типографии».
П. А. Курбатов был деятельным масоном (одно время собрания ложи проводились в его доме, а в типографии Московского университета он тайно печатал масонские тексты).
М. А. Дмитриев писал о нём, как о «человеке основательного ума, благочестивом, кротком и скромном, …сохранившем чистоту души, выражавшуюся в его спокойной и веселой физиономии».
В 1835 году отмечался как домовладелец, и нынешняя московская улица Климашкина называлась: Курбатовский переулок, Пресненской части.
Примечания
Масоны России
Пётр Александрович
Персоналии по алфавиту | 42,133 |
https://gaming.stackexchange.com/questions/350925 | StackExchange | Open Web | CC-By-SA | 2,019 | Stack Exchange | Robotnik, https://gaming.stackexchange.com/users/28182 | English | Spoken | 272 | 365 | How can I set Discord to always show a custom message without it being overwritten when I launch a game?
I have notepad opened and added as a game, while having its name changed to "with your feelings.." so my message is "Playing with your feelings..".
Whenever I play another game, it will instantly change my custom message and it will say "Playing Counter-Strike: Global Offensive" instead. I want to make it so my custom message, "Playing with your feelings..", is shown no matter what other game is on. I don't want my custom message to get changed to "Playing Counter-Strike:Global Offensive" nor any other message. Is there any way of doing this?
[Comments cleaned up] - Hi all! This duplicate situation appears to be resolved however if any further discussion needs to take place please raise a question on [meta] :-)
I understand what you are asking for, and I admit it is a pretty cool (and nasty, in your case) idea. However, I don't think you can play a game Discord recognizes while having another custom message displayed.
The thing is, Discord displays only the game you played most recently, eg. the game you are playing currently.
Sadly, having the Notepad in the foreground would make your game unusable, so you now have to choose between playing a game and being the cool kid on Discord. Or, alternatively, change the file name of the game you are playing so Discord no longer recognizes it. I will not show how to do that, though (I don't know how, and I don't even know if it is possible without creating other problems).
| 8,110 |
https://stackoverflow.com/questions/64298916 | StackExchange | Open Web | CC-By-SA | 2,020 | Stack Exchange | Dennis Hackethal, Gr3ghammett, ImanGM, Sebastian Simon, https://stackoverflow.com/users/10156584, https://stackoverflow.com/users/1229023, https://stackoverflow.com/users/1371131, https://stackoverflow.com/users/14428019, https://stackoverflow.com/users/2447370, https://stackoverflow.com/users/3001761, https://stackoverflow.com/users/4642212, jonrsharpe, raina77ow, zzzachzzz | English | Spoken | 712 | 1,218 | Issue with behavior in a function - +=
My project involves the user providing a number (in my examples I have been using the number 3000) from an input text box from HTML. Then in my external js file (which IS declared in the head tag), I have a variable declared as an object with properties.
Essentially an amount is typed within a text box and the button is clicked. On click it calls the external javascript file, which has an object with properties delared, and a function that begins execution when the button is clicked.
Inside the function, you can see where it pulls the numerical value from the input box from the HTML file, and alters the object properties (and outputs the results to console log).
The head scratcher is that, when it does operator "account.savings -= z;", it works perfectly and produces the desired result of account.savings - 3000 (65247)...but when account.checking +=z; then executes, it mashes the 2 values together instead of adding them (50043000 instead of 8004).
I have tried adding account.checking to just the number 3000 and it works PERFECTLY.
TL:DR - upon function execution, acount.savings -= z; works fine and displays in console log as it should, but acount.savings += z; merges the numbers instead of adding them in console log.
var account = {
checking: 5004,
savings: 68247
};
function maths() {
var z = document.getElementById('amount').value;
account.savings -= z;
console.log(account.savings);
account.checking += z;
console.log(account.checking);
}
Amount <input id="amount" type="number" placeholder="Amount..." class="form-control" step="0.01" name="amount"><br>
<button type="button" class="btn btn-success" id="login" onclick="maths()" ;>Transfer</button>
account.checking += +z; should be a quick fix; consider checking https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures
+ can be string concatenation, whereas - coerces to number
Another reason JavaScript's inconsistency is gross.
i want to upvote jonrsharpe's reply.
In javaScript 5004(number) + "3000"(string) equals to "50043000"(string)
You should somehow validate your input and convert it to a number to make sure it's passing the right amount in your function. For example:
var account = { checking: 5004, savings: 68247 };
function maths() {
var z = document.getElementById('amount').value;
z = parseInt(z);
account.savings -= z;
console.log(account.savings);
account.checking += z;
console.log(account.checking);
}
maths();
but i dont get how z for account.savings worked as a number (as intended) and for account.checking it became a string.....(the 3000) i fail to see where z changed from a number to a string.
Definitely will try your solution. just wondering why the behavorial change for something i figured would be treated the same.
it did indeed work but im just wondering why? why was the validation necessary? Again new, but why if it worked for one expression (of the same type) it didn't work for the one after (with no alteration code inbetween)?
Please use parseInt with the second parameter 10. Consider using Number or parseFloat instead, or, specifically for <input>s, .valueAsNumber.
@Gr3ghammett javaScript is a loosely typed language. When you add a string number such as "3000" to a real number such as 10, since it's not possible to add a number to a string, it converts the number to string and concats the variables. But, when you use "-" operator, it's not possible to remove a part of string based on another string, so, it converts the string number to a number and then does the operation. That's why "10" + 5 equals to 105 but "10" - 5 equals to 5.
One caveat to ImanGM's answer: if you want to deal with decimals and not just integers, parseInt won't work for you. I agree with ImanGM that input validation should be handled, but to answer the question...
String concatenation is being performed instead of addition. This is because document.getElementById('amount').value gives us a string. You can circumvent this issue with:
account.checking += Number(z);
but why on account.savings was z being treated as a number correctly, and on account.checking it was being treated as a string?
and yes soon I will be introducing decimals. so Im interested in your input.
Thanks!
@Gr3ghammett The reason for that is because with account.savings, you were using -=, which can only be used on numbers, not strings. With account.checking you were using +=, which is valid for both string concatenation and for addition. As a result, only -= resulted in automatic conversion of z from a string to a number.
| 22,558 |
https://stackoverflow.com/questions/17747071 | StackExchange | Open Web | CC-By-SA | 2,013 | Stack Exchange | ABHI, https://stackoverflow.com/users/2586393, https://stackoverflow.com/users/5996106, karanatwal.github.io | English | Spoken | 114 | 146 | How to clear just the last drawn path not the whole view
I have a view on which I am drawing some text using Path on canvas. Now I need to clear only the last drawn path i.e. drawn without clearing the whole view because I want to further redraw and re-clear path.
I have already used draw.Color(Color.BLACK) but this turns my whole screen into black, but I need to clear only the last drawn path not the whole view.
I find out other way of solving this issue, Now i am just recreating my view instead of clearing canvas, and its working fine...
How you are recreating your view any code please ?
| 31,353 |
https://war.wikipedia.org/wiki/Satyrium%20perrieri | Wikipedia | Open Web | CC-By-SA | 2,023 | Satyrium perrieri | https://war.wikipedia.org/w/index.php?title=Satyrium perrieri&action=history | Waray | Spoken | 34 | 66 | An Satyrium perrieri in uska species han Liliopsida nga ginhulagway ni Schltr.. An Satyrium perrieri in nahilalakip ha genus nga Satyrium, ngan familia nga Orchidaceae. Waray hini subspecies nga nakalista.
Mga kasarigan
Satyrium (Orchidaceae) | 26,890 |
https://tr.wikipedia.org/wiki/%C3%87als%C4%B1n%20Sazlar | Wikipedia | Open Web | CC-By-SA | 2,023 | Çalsın Sazlar | https://tr.wikipedia.org/w/index.php?title=Çalsın Sazlar&action=history | Turkish | Spoken | 41 | 141 | Çalsın Sazlar, senaristliğini ve yönetmenliğini Nesli Çölgeçen'in yaptığı sinema filmi.
Ödüller
20. Sadri Alışık Tiyatro ve Sinema Oyuncu Ödülleri Ayhan Işık Özel Ödülü (Engin Hepileri)
Oyuncular
2015 çıkışlı Türk filmleri
Nesli Çölgeçen'in yönettiği filmler
2010'larda Türkçe filmler
2015 çıkışlı dramatik filmler | 24,129 |
https://war.wikipedia.org/wiki/Prescottia%20polyphylla | Wikipedia | Open Web | CC-By-SA | 2,023 | Prescottia polyphylla | https://war.wikipedia.org/w/index.php?title=Prescottia polyphylla&action=history | Waray | Spoken | 35 | 67 | An Prescottia polyphylla in uska species han Liliopsida nga ginhulagway ni Otto Porsch. An Prescottia polyphylla in nahilalakip ha genus nga Prescottia, ngan familia nga Orchidaceae. Waray hini subspecies nga nakalista.
Mga kasarigan
Prescottia (Orchidaceae) | 1,220 |
https://stackoverflow.com/questions/35505441 | StackExchange | Open Web | CC-By-SA | 2,016 | Stack Exchange | Javacadabra, Pratik Bhajankar, Python Basketball, Will.Harris, a better oliver, a.u.b, https://stackoverflow.com/users/1732515, https://stackoverflow.com/users/2151351, https://stackoverflow.com/users/2943913, https://stackoverflow.com/users/3150441, https://stackoverflow.com/users/4482057, https://stackoverflow.com/users/5443977 | English | Spoken | 344 | 636 | ng-show to hide a div on form submit
I have following markup in my view
<div ng-show="showTheForm" class='col-md-8'>
<form ng-submit='login()'action="http://localhost/test/signin.php" target='signin' method="post">
<input type="submit" class='alt-btn' id="signin-button" value="Sign in">
</form>
</div>
<div ng-show="!showTheForm" class='col-md-8'>
<iframe height='600px' width='470px' id="signin" name="signin" frameBorder="0"></iframe>
</div>
When I submit the form I run this function within my controller
$scope.login = function() {
//Show the iframe
$scope.showTheForm = false;
}
What I want to happen is the form hides and the div with the iframe becomes visible.
The form hides when I submit but the iframe does not become visible and I'm wondering what I'm doing wrong?
I read about $apply and how it is used to inform angular if a variable is updated. I tried this but it made no effect.
Would anyone have any idea where I'm going wrong?
I assume your login function actually gets called? have you tried using ng-if instead of ng-show? I think ng-if is usually the preferred option anyway for improved performance
It will, for now I am focusing on showing and hiding the necessary divs. I'll give that a go now. Thanks
Instate of submitting the form try ajax call. because your form will submitted i.e again your page wll reload and then scope will again initialize so you should have to use ajax call angular ajax call
It just looks odd the way you have assigned your function to the login method... $scope.login() = function () { } i've never seen it like that I'm used to seeing it written as $scope.login = function () { } without the brackets next to the $scope method
Hi Will you are right, I've since updated that but it has not rectified the problem!!
Does http://localhost/test/signin.php actually return something?
Can you write something inside second div? Maybe it is about iframe. @zeroflagL
your iframe should have some element. i have created a plunker:https://plnkr.co/edit/n8afHFaVAoRlOvu2qmZv?p=preview
the definition of function in your controller is wrong.
Change function definition from $scope.login() = function() ==> $scope.login = function()
This should be go into you comment box it not a Answers
| 38,937 |
https://ko.wikipedia.org/wiki/%EC%9C%84%EC%8A%A4%ED%83%80%EB%93%9C%EC%84%A0 | Wikipedia | Open Web | CC-By-SA | 2,023 | 위스타드선 | https://ko.wikipedia.org/w/index.php?title=위스타드선&action=history | Korean | Spoken | 250 | 1,207 | 위스타드선()은 스웨덴 말뫼에서 시작하여 위스타드를 잇는 철도 노선이다. 운행 계통은 말뫼 센트랄 역에서 시작하지만, 실제 노선은 로카르프에서 분기된다.
역사
위스타드 선은 지역 유지들이 건설하였다. 1860년 위스타드 지역 지주들이 철도 노선을 계획하였다. 스웨덴 정부는 지역 유지들의 돈이 충분하다고 보았기 때문에 철도 건설을 위한 자금을 지원하지 않았다. 1872년 착공하여 1874년 12월에 개통되었다. 코르핏스 베크-프리스(Corfitz Beck-Friis)를 선두로 한 여러 귀족들이 자금을 댔다는 점 때문에 대공선(Grevebanan)이라는 별명이 붙었다. 투자자들의 요구에 맞게 노선이 건설되었기 때문에, 각각 투자자들의 사유지를 역이 지나가도록 설계되었다. 개통 당시 영업 최고 속도는 시속 30km이었고 말뫼-위스타드 간 시간은 3시간 정도였다.
1941년 국유화되었고, 1950년 디젤 동차가 다니기 시작하였다. 1955년 말뫼 베스트라-쇠데르바른 간 말뫼 시내 구간이 콘티넨탈 선과 중복되는 현재의 형태로 이설되었다. 이설된 일부 구간은 1972년까지 사용되었다. 1960년 마지막 증기 기관차가 운행하였다. 1960년대와 1970년대에는 사유지에 설치된 모든 역 등 소규모 역이 폐역되었다. 1974년 위스타드에서 폴란드 시비노우이시치에 방면으로 가는 열차 페리가 개통되었다.
1990년 스코네 지역 통근 열차가 운행하기 시작하였으나, 당시에는 전철화되지 않았기 때문에 Y1 디젤 동차를 사용하였다. 1993년부터 1996년까지 전철화 공사가 진행되어 1996년 6월 8일 X11 전동차가 최초로 운행하였다. 2003년 뤼드스고르드에 새 교행역이 설치되었다. 2009년부터 2011년까지 건설된 시티 터널 공사의 일부로 외레순 선과 위스타드 선간 연결선이 건설되어 회차 없이 코펜하겐이나 시티 터널에서 위스타드로 진행할 수 있게 되었다.
운행
스코네 통근 열차가 30분 간격으로 위스타드 방면으로 운행하며, 일부 열차는 외스텔렌 선으로 직통 운행하여 심리스함까지 운행한다. 덴마크 DSB는 코펜하겐에서 위스타드까지 가는 열차와 위스타드에서 보른홀름섬으로 가는 페리를 연계 운행하는 인터시티 보른홀름 서비스를 운영한다. 이 조합은 코펜하겐-보른홀름 간 이동 시간을 2시간가량 단축시켰다. 그린 카고에서는 화물 열차를 이 구간에 화물 열차를 운행한다.
스웨덴의 철도 노선
1874년 개통한 철도 노선
스코네 | 40,454 |
https://pl.wikipedia.org/wiki/Mury%20miejskie%20w%20Bystrzycy%20K%C5%82odzkiej | Wikipedia | Open Web | CC-By-SA | 2,023 | Mury miejskie w Bystrzycy Kłodzkiej | https://pl.wikipedia.org/w/index.php?title=Mury miejskie w Bystrzycy Kłodzkiej&action=history | Polish | Spoken | 487 | 1,221 | Mury miejskie w Bystrzycy Kłodzkiej – pochodzący z okresu średniowiecza system umocnień obronnych Bystrzycy Kłodzkiej, o pierwotnej długości 1580 m. Znajdują się przy ul. Wojska Polskiego i ul. Międzyleśnej.
Historia
Budowę pierwszych obwarowań rozpoczęto około 1319 roku. Za ich wzniesienie król Jan Luksemburski w tymże roku przyznał miastu pełną samodzielność prawną, co postawiło Bystrzycę w rzędzie miast królewskich. W następnych wiekach były powiększane i modernizowane. Początkowo w murach były tylko dwie bramy wjazdowe do miasta (Kłodzka i Wodna), około 1400 roku w obwarowaniach przebito furtę Wyszkowską (zamurowaną w połowie XV wieku), a następnie dwie inne furty. Około 1500 roku w miejscu, w którym wcześniej była furta Wyszkowska, w okolicach kościoła parafialnego zbudowano Bramę Nową. W 1553 roku w okolicach obecnej ul. Międzyleśnej wybito w murach furtę Wodną, od której przeprowadzono zejście schodami do poziomu ulicy. W latach 1570, 1582 i 1593 odnotowano zawalenia się murów, co świadczy o tym, że w tym okresie były zaniedbane. Obwarowania były remontowano jeszcze w 1645 roku, a od połowy XVIII wieku były stopniowo wyburzane. Bramę Nową rozebrano w 1842 roku, a rok później Bramę Kłodzką, z której pozostała tylko wieża. Po 1865 roku rozbiórkę murów przyśpieszono, a w roku 1870 zasypano fosę, w miejscu której urządzono planty.
Dziś XIV-wieczne mury obronne z trzema wieżami, zachowane niemal w całości, otaczają malowniczo stare miasto. Są kamienne, o grubości około 1 m, obecnie znacznie obniżone, są częściowo włączone w powstałe przy nich domy. Remontowano je w latach 1960–1962, natomiast pomiędzy rokiem 1970 a 1977 przeprowadzono zabiegi konserwatorskie. W latach 2011–2014 wysokie mury obronne przy ul. Międzyleśnej zostały odrestaurowane i otrzymały iluminację nocną, mury przy ul. Wojska Polskiego odrestaurowane zostały w latach 2015–2016.
Decyzją wojewódzkiego konserwatora zabytków z dnia 10 lutego 1960 roku obwarowania zostały wpisane do rejestru zabytków.
Architektura
Obecnie najlepiej zachowane fragmenty obwarowań to: Brama Wodna, Baszta Kłodzka i Baszta Rycerska.
Brama Wodna – budowla powstała na planie kwadratu o wymiarach około 7 na 7 metrów, wewnątrz jest ostrołukowy przejazd, ze sklepieniem kolebkowym, brama jest zwieńczona blankami i ostrosłupowym hełmem.
Baszta Kłodzka – pozostałość po wyburzonej Bramie Kłodzkiej, o podstawie 5 na 5 metrów, posiada ceglane nakrycie ostrosłupowe.
Baszta Rycerska – o podstawie 4,5 na 4,5 metra, w 1843 roku przerobiona na dzwonnicę sąsiadującego z basztą kościoła ewangelickiego, również zwieńczona hełmem ostrosłupowym.
Wójtostwo – pozostałość po wieży obronnej, w 1776 roku częściowo wyburzonej i przebudowanej na dom mieszkalny.
Poza tym zachowały się duże fragmenty murów wzdłuż ulic Międzyleskiej i Wojska Polskiego, często wykorzystane jako elementy konstrukcyjne wybudowanych później domów.
Galeria
Zobacz też
Brama Wodna w Bystrzycy Kłodzkiej
Baszta Rycerska w Bystrzycy Kłodzkiej
Baszta Kłodzka w Bystrzycy Kłodzkiej
Wójtostwo w Bystrzycy Kłodzkiej
Przypisy
Bibliografia
Krystyna Bartnik, Śląsk w zabytkach sztuki. Bystrzyca Kłodzka, Wrocław-Warszawa-Kraków, Ossolineum, 1992, .
Marek Staffa (redakcja), Słownik geografii turystycznej Sudetów, tom 15, Wrocław, I-BiS, 1994, .
Linki zewnętrzne
Zdjęcia murów miejskich na stronie „Wratislaviae Amici”
Dawne i współczesne zdjęcia murów miejskich na stronie „Polska na fotografii”
Mury miejskie w Bystrzycy Kłodzkiej | 19,886 |
https://vi.wikipedia.org/wiki/Matta | Wikipedia | Open Web | CC-By-SA | 2,023 | Matta | https://vi.wikipedia.org/w/index.php?title=Matta&action=history | Vietnamese | Spoken | 21 | 59 | Matta là một chi nhện trong họ Tetrablemmidae.
Hình ảnh
Chú thích
Tham khảo
Tetrablemmidae
Danh sách các chi nhện
sv:Matta | 9,755 |
https://stackoverflow.com/questions/51860929 | StackExchange | Open Web | CC-By-SA | 2,018 | Stack Exchange | Paolo, beaker, etmuse, https://stackoverflow.com/users/1377097, https://stackoverflow.com/users/3390419, https://stackoverflow.com/users/8559235 | English | Spoken | 241 | 399 | finding an element that meet the conditions in a vector
I have a vector that looks like this
A = [1 2 3 1 2 3 1 2 3]
and I would like to write a function that returns True if there is a number between 5 to 9 or False if not
The documentation for any should get you most of the way there
As suggested by etmuse, you can just use any with two conditions.
function output = findelem(A)
if(any(A>5 & A<9))
output = true;
return;
end
output = false;
end
Call function:
>>findelem([1 2 3 1 2 3 1 2 3])
returns logical 0
>>findelem([1 2 3 1 6 3 1 2 3])
returns logical 1
As @beaker correctly points out, you can simply use:
function output = findelem(A)
output = (any(A>5 & A<9))
end
any returns a boolean value. The if/else seems wasteful.
Yeah true, I added that in now, thanks. It was more for didactical purposes.
There was no else by the way :P
I realize that, but "if with return, otherwise falling through to a default assignment" was less concise.
An alternative solution uses ismember:
any(ismember(5:9,A))
It checks if any of the elements in 5:9 is present in A. If you leave out the any, it will tell you which of the elements is present in A:
>> ismember([1,5,9],A)
ans =
1 0 0
(indicating that 1 is present, but 5 and 9 are not).
| 17,860 |
https://pt.wikipedia.org/wiki/Rhodoprasina | Wikipedia | Open Web | CC-By-SA | 2,023 | Rhodoprasina | https://pt.wikipedia.org/w/index.php?title=Rhodoprasina&action=history | Portuguese | Spoken | 23 | 59 | Rhodoprasina é um gênero de mariposa pertencente à família Bombycidae.
Ligações externas
Natural History Museum - Bombycidae
Museum Witt München - Bombycidae.
Bombycidae | 32,754 |
https://ro.wikipedia.org/wiki/Cartigny-l%27%C3%89pinay | Wikipedia | Open Web | CC-By-SA | 2,023 | Cartigny-l'Épinay | https://ro.wikipedia.org/w/index.php?title=Cartigny-l'Épinay&action=history | Romanian | Spoken | 27 | 62 | Cartigny-l'Épinay este o comună în departamentul Calvados, Franța. În 2009 avea o populație de 300 de locuitori.
Note
Vezi și
Lista comunelor din Calvados
Comune din Calvados | 34,454 |
https://stackoverflow.com/questions/70332403 | StackExchange | Open Web | CC-By-SA | 2,021 | Stack Exchange | Magnus, https://stackoverflow.com/users/17663921 | Lithuanian | Spoken | 317 | 631 | Update legend when adding data to existing plot (Pandas)
I've written a small Python code to read Covid statistics from ourworldindata.org and plot a certain data series for a certain country.
from pandas import read_csv
import pandas as pd
import matplotlib.pyplot as plt
filename = "https://covid.ourworldindata.org/data/owid-covid-data.csv"
dataset = read_csv(filename)
dataset["date"] = pd.to_datetime(dataset["date"])
country = "Norway"
data = "new_cases"
mask = dataset["location"] == country
dataset.loc[mask].set_index("date")[data].plot()
plt.ylabel(data)
plt.legend([country])
plt.show()
It works as intended and plots the number of new cases in Norway as a function of date in the example above. If I change "country" and rerun it, it will plot a new curve for the new country with a different color in the same plot, which is what I want. But there's a problem with the legend. It shows the name of the last plotted country but the color of the first plotted country. I would like it to show both with the correct name and color. How can I do that?
The link shows a figure with the result when first plotting Norway (blue curve) and then Denmark (yellow curve):
Plot of new cases in Norway and Denmark
I'm not quite sure how exactly you "rerun" the code but you can define your countries in a list and print them in a loop:
import pandas as pd
import matplotlib.pyplot as plt
filename = "owid-covid-data.csv"
dataset = pd.read_csv(filename)
dataset["date"] = pd.to_datetime(dataset["date"])
countries = ["Denmark", "Norway"]
data = "new_cases"
for country in countries:
mask = dataset["location"] == country
dataset.loc[mask].set_index("date")[data].plot()
plt.ylabel(data)
plt.legend(countries)
plt.show()
Or you can use seaborn instead of the loop:
import seaborn as sns
df = dataset[dataset["location"].isin(countries)][["date", "location", data]]
sns.lineplot(data=df, x="date", y=data, hue="location")
plt.show()
It works, thanks. But I would like to have a way to do this without deciding on all the countries to plot to begin with. With "rerun" the code, I mean changing the value of "country" and run the whole code again in Spyder.
| 23,360 |
https://it.wikipedia.org/wiki/Mottura | Wikipedia | Open Web | CC-By-SA | 2,023 | Mottura | https://it.wikipedia.org/w/index.php?title=Mottura&action=history | Italian | Spoken | 49 | 113 |
Persone
Luis Mottura o Luigi (1901-1972) – attore e regista italiano naturalizzato argentino
Sebastiano Mottura (1831-1897) – geologo e ingegnere italiano
Paolo Mottura (1968) – fumettista italiano
Altro
Istituto di istruzione Sebastiano Mottura – scuola secondaria superiore di Caltanissetta
Regola del Mottura – regola empirica di orientazione del gesso | 15,625 |
https://stackoverflow.com/questions/77838888 | StackExchange | Open Web | CC-By-SA | null | Stack Exchange | English | Spoken | 201 | 523 | Overriding nested values in polyfactory with pydantic models
Is it possible to provide values for complex types generated by polyfactory?
I use pydantic for models and pydantic ModelFactory. I noticed that build method supports kwargs that can provide values for constructed model, but I didn't figure if it's possible to provide values for nested fields.
For example, if I have model A which is also the type for field a in model B, is ti possible to construct B via polyfactory and provide some values for field 'a'?
I tried to call build with
MyFactory.build(**{"a": {"nested_value": "b"}})
but it does not work.
Is it possible to override nested values?
just add another Factory for 'b'
example code:
from pydantic_factories import ModelFactory
from datetime import date, datetime
from typing import List, Union, Dict
from pydantic import BaseModel, UUID4
class B(BaseModel):
k1: int
k2: int
class Person(BaseModel):
id: UUID4
name: str
hobbies: List[str]
age: Union[float, int]
birthday: Union[datetime, date]
nested_model: B
class PersonFactory(ModelFactory):
__model__ = Person
class KFactory(ModelFactory):
__model__ = B
result = PersonFactory.build(**{"name" :"test","hobbies" : [1,2],"nested_model" : KFactory.build(k1=1,k2=2)})
print(result)
# same result
result = PersonFactory.build(**{"name" :"test","hobbies" : [1,2],"nested_model" : KFactory.build(**{"k1":1,"k2":2})})
print(result)
result:
id=UUID('1ff7c9ed-223a-4f98-a95e-e3307426f54e') name='test' hobbies=['1', '2'] age=488202245.889748 birthday=datetime.date(2023, 3, 2) nested_model=B(k1=1, k2=2)
| 45,589 | |
https://es.wikipedia.org/wiki/Percnon%20gibbesi | Wikipedia | Open Web | CC-By-SA | 2,023 | Percnon gibbesi | https://es.wikipedia.org/w/index.php?title=Percnon gibbesi&action=history | Spanish | Spoken | 370 | 653 | Percnon gibbesi es una especie de crustáceo decápodo de la familia Percnidae.
Sus nombres comunes son cangrejo araña o Marañuela en Canarias y algunas zonas del Mediterráneo, y Aranya en Mallorca.
Es una especie popular en acuariofilia marina.
Morfología
Lo más característico de su cuerpo es que es extremadamente plano y ovalado. Sus quelas, o pinzas, son muy pequeñas y sus pereiópodos, o patas, son bastante largas. También son distintivos unos pequeños dientes muy desarrollados, a modo de sierra, en la parte lateral marginal anterior, tanto de las patas, como de la cabeza y del caparazón.
La tonalidad que presenta su cuerpo es marrón rojiza, con dibujos de color gris azulado claro y unas líneas verdes fosforescentes. Sus patas son del mismo color, y presentan unas bandas características transversales en las articulaciones, de color amarillo anaranjado. El rostro presenta una línea longitudinal blanca.
Su caparazón alcanza los 33 mm de largo.
Alimentación
Su dieta es herbívora, aunque también se alimenta de pequeños crustáceos y peces.
Reproducción
Como en la mayoría de braquiuros, la luz y la temperatura son los principales factores medioambientales que determinan la actividad reproductiva. La hembra incuba los huevos en su abdomen. El ciclo de vida comienza con una larga fase larval planctónica. Según madura la larva, tiene una serie de mudas que le permiten crecer y finalizar el proceso de maduración.
Hábitat y distribución
Es una especie asociada a fondos rocosos, donde encuentra protección frente a grandes depredadores como el pulpo común, Octopus vulgaris, y el de manchas blancas, Octopus macropus, y algunos peces de la familia Sparidae.
Habita entre 1 y 30 m de profundidad.
Se distribuye en el océano Pacífico, en la costa desde California a Chile. En la costa atlántica occidental, de Florida a Brasil; y en la oriental de Madeira al Golfo de Guinea. En el Mediterráneo es una especie alóctona, y en España está incluida en el Catálogo Español de Especies Exóticas Invasoras, regulado por el Real Decreto 630/2013, que para esta especie se aplica en todo el territorio español salvo en Canarias, donde la especie habita de forma natural.
Referencias
Enlaces externos
Brachyura
Taxones descritos por Henri Milne-Edwards
Animales descritos en 1853
Crustáceos del océano Pacífico
Crustáceos del océano Atlántico | 245 |
https://pl.wikipedia.org/wiki/Klej%20kazeinowy | Wikipedia | Open Web | CC-By-SA | 2,023 | Klej kazeinowy | https://pl.wikipedia.org/w/index.php?title=Klej kazeinowy&action=history | Polish | Spoken | 83 | 222 | Klej kazeinowy – klej naturalny pochodzenia zwierzęcego charakteryzujący się dobrą odpornością na wilgoć oraz wysoką wytrzymałością. Klej kazeinowy stosuje się do klejenia „na zimno” (do 40 °C), czyli w warunkach pokojowych.
Klej kazeinowy może zawierać samą kazeinę lub kazeinę z dodatkami, tj. wapno gaszone, niewielkie ilości fluorku, chlorku lub siarczanu miedzi oraz substancje dodatkowe: kalafonię, naftę i kaolin.
Zastosowanie:
okleinowanie elementów płytowych
klejenie połączeń drewnianych
Bibliografia
Linki zewnętrzne
Karta charakterystyki kleju kazeinowego w proszku
Karta charakterystyki kleju kazeinowego w formie dyspersji wodnej
Kleje | 34,425 |
https://tt.wikipedia.org/wiki/MDGA1 | Wikipedia | Open Web | CC-By-SA | 2,023 | MDGA1 | https://tt.wikipedia.org/w/index.php?title=MDGA1&action=history | Tatar | Spoken | 56 | 169 | MDGA1 () — аксымы, шул ук исемдәге ген тарафыннан кодлана торган югары молекуляр органик матдә.
Искәрмәләр
Чыганаклар
Степанов В.М. (2005). Молекулярная биология. Структура и функция белков. Москва: Наука. ISBN 5-211-04971-3.
Bruce Alberts, Alexander Johnson, Julian Lewis, Martin Raff, Keith Roberts, Peter Walter (2002). Molecular Biology of the Cell (вид. 4th). Garland. ISBN 0815332181.
Әлифба буенча аксымнар | 14,871 |
https://ceb.wikipedia.org/wiki/Jani%20Khel%20%28rehiyon%20sa%20tribu%20sa%20Pakistan%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Jani Khel (rehiyon sa tribu sa Pakistan) | https://ceb.wikipedia.org/w/index.php?title=Jani Khel (rehiyon sa tribu sa Pakistan)&action=history | Cebuano | Spoken | 95 | 154 | Alang sa ubang mga dapit sa mao gihapon nga ngalan, tan-awa ang Jani Khel.
Rehiyon sa tribu ang Jani Khel sa Pakistan. Nahimutang ni sa lalawigan sa Federally Administered Tribal Areas, sa amihanang bahin sa nasod, km sa kasadpan sa Islamabad ang ulohan sa nasod.
Ang kasarangang giiniton °C. Ang kinainitan nga bulan Mayo, 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 Enero, sa milimetro.
Ang mga gi basihan niini
Mga dapit sa Federally Administered Tribal Areas | 44,658 |
https://de.wikipedia.org/wiki/Cydonie%20Mothersille | Wikipedia | Open Web | CC-By-SA | 2,023 | Cydonie Mothersille | https://de.wikipedia.org/w/index.php?title=Cydonie Mothersille&action=history | German | Spoken | 332 | 693 | Cydonie Mothersille (Cydonie Camille Mothersille-Modibo, auch Mothersill geschrieben; * 19. März 1978 in Kingston) ist eine ehemalige Sprinterin jamaikanischer Herkunft, die international für die Cayman Islands startete.
Den bisher größten Erfolg ihrer Karriere feierte sie mit dem Gewinn der Bronzemedaille im 200-Meter-Lauf bei den Weltmeisterschaften 2001 in Edmonton. Zwar erreichte sie das Ziel in 22,88 s nur als Fünfte, rückte jedoch in der Wertung um zwei Ränge auf, als später die Siegerin Marion Jones und die Dritte Kelli White wegen Dopings nachträglich disqualifiziert wurden. Außerdem wurde Mothersille bei den Panamerikanischen Spielen 2003 in Santo Domingo Zweite über 200 m.
Bei den Weltmeisterschaften 2005 in Helsinki und 2007 in Osaka belegte sie im 200-Meter-Lauf jeweils den achten Platz. Dagegen schied sie bei den Weltmeisterschaften 2009 in Berlin im Halbfinale aus.
Sie nahm insgesamt dreimal an Olympischen Spielen teil. Bei den Olympischen Spielen 2000 in Sydney trat sie im 100-Meter-Lauf und im 200-Meter-Lauf an, schied jedoch jeweils in der ersten Runde aus. Bei den Olympischen Spielen 2004 in Athen erreichte sie das Halbfinale über 200 m, bei den Olympischen Spielen 2008 in Peking zog sie in das Finale ein und wurde Achte.
Bei den Commonwealth Games 2010 in Neu-Delhi gewann Mothersille die Goldmedaille im 200-Meter-Lauf.
Cydonie Mothersille ist 1,68 m groß und wiegt 57 kg. Sie hat Englisch an der Clemson University in South Carolina studiert und ist mit dem Leichtathleten Ato Modibo aus Trinidad und Tobago verheiratet.
Bestzeiten
Freiluft
100 m: 11,08 s, 5. Juli 2006, Salamanca
200 m: 22,39 s, 10. Juli 2005, Nassau
400 m: 52,18 s, 16. Mai 2009, Ponce
Halle
60 m: 7,36 s, 14. Februar 2003, Fayetteville
200 m: 22,82 s, 23. Februar 2003, Liévin
400 m: 53,79 s, 13. Februar 1999, Blacksburg
Weblinks
Fußnoten
Teilnehmer der Olympischen Sommerspiele 1996
Teilnehmer der Olympischen Sommerspiele 2000
Teilnehmer der Olympischen Sommerspiele 2004
Teilnehmer der Olympischen Sommerspiele 2008
100-Meter-Läufer (Cayman Islands)
200-Meter-Läufer (Cayman Islands)
400-Meter-Läufer (Cayman Islands)
Olympiateilnehmer (Cayman Islands)
Brite
Geboren 1978
Frau
Teilnehmer an den Commonwealth Games (Cayman Islands) | 48,178 |
https://ru.wikipedia.org/wiki/%D0%94%D0%BE%D0%BA%D1%82%D0%BE%D1%80%20%D0%94%D1%83%D0%BC%20%D0%B2%D0%BD%D0%B5%20%D0%BA%D0%BE%D0%BC%D0%B8%D0%BA%D1%81%D0%BE%D0%B2 | Wikipedia | Open Web | CC-By-SA | 2,023 | Доктор Дум вне комиксов | https://ru.wikipedia.org/w/index.php?title=Доктор Дум вне комиксов&action=history | Russian | Spoken | 4,272 | 12,287 | Доктор Дум () — суперзлодей, появляющийся в американских комиксах издательства Marvel Comics. С момента его первого появления в The Fantastic Four #5 (Июль 1962) он стал заклятым врагом Фантастической четвёрки и участвовал практически во всех СМИ, связанных с этой командой, включая мультсериалы, видеоигры и художественные фильмы. Как правило он изображается как правящий монарх вымышленного государства под названием Латверия, а также предстаёт антагонистов для других супергероев, таких как Человек-паук, Железный человек, Халк и Мстители.
Телевидение
Первое появление Доктора Дума на телевидение состоялось мультсериале «Супергерои Marvel» 1966 года, где он дебютировал в сегменте о Подводнике, в эпизоде «День доктора Дума», где его озвучил Генри Рамер.
В мультсериале «Фантастическая четвёрка» 1967 года Доктор Дум фигурирует в эпизодах «Как всё началось», «Три предсказания Доктора Дума» и «Микро-мир Доктора Дума», где его озвучил Джозеф Сирола.
Джон Стивенсон озвучил Доктора Дума в мультсериале «Фантастическая четвёрка» 1978 года, где тот появляется в эпизодах «Фантастическая четвёрка встречает Доктора Дума» и «Последняя победа Доктора Дума».
Доктор Дум появляется в шести эпизодах мультсериала «Человек-Паук» 1981 года, а именно: «Доктор Дум — господин мира», «Диктатор мира», «Азбука судьбы», «Пушка Дума», «Роковое сообщение» и «Конец Доктора Дума». Его озвучивает Ральф Джеймс, подражая манере речи Дарт Вейдер. В мультсериале присутствует сюжетная линия о повстанцах в Латверии, намеревающихся свергнуть Дума. На протяжении этих эпизодов Думу удаётся обмануть других людей, в частности Джей Джону Джеймсона, притворившись миролюбивым правителем и международным гуманистом.
В мультсериале «Фантастическая четвёрка» 1994 года Доктор Дум был озвучен Джоном Верноном в эпизоде «Маска Доктора Дума: Часть 1», Нилом Россом в других сериях 1-го сезона и Саймоном Темплманом во 2-го сезоне. В трёхсерийном эпизоде «Маска Доктора Дума» он захватывает в плен Фантастическую четвёрку и заставляет Мистера Фантастика, Человека-факела и Существо отправиться в Древнюю Грецию и добыть для него гроб Аргоса. В эпизоде «Серебряный Серфёр и возвращение Галактуса» он крадёт силы Серебряного Сёрфера, однако Фантастическая четвёрка обманом заманивает его в открытой космос, где Галактус возвращает Космическую силу её прежнему владельцу. В эпизоде «И слепец поведёт их» Дум лишает сил Фантастическую четвёрку. В серии «Зелёный кошмар» он приказывает Халку напасть команду. В финалом эпизоде сериала «Судный день» он вновь приобретает Космическую силу, но становится жертвой силового барьера, который возвёл Галактус дабы предотвратить попытки Серебряного Сёрфера покинуть Землю.
Доктор Дум появляется в двух эпизодах мультсериала «Невероятный Халк» 1996 года, где его, как и в мультсериале «Фантастическая четвёрка» 1994 года озвучил Саймон Темплмен. В эпизоде «Обречённый», Доктор Дум отправляет группу роботов пленить Брюса Бэннера в Вашингтоне (округ Колумбия) и, в конечном итоге, захватывает его кузину Дженнифер Уолтерс. Выяснилось, что Совет Безопасности ООН обвинил Дума в военных преступлениях и подал прошение о его выдаче. В ответ Доктор Дум окружает город силовым полем, и требует, чтобы США прекратили все враждебные действия по отношению к нему и Латверии, иначе он выпустит Халка в город. Когда президент США отказывается от его требований, Дум выполняет свою угрозу и отправляет Халка разрушить Капитолий Соединённых Штатов. Без ведома Доктора Дума Бэннер сделал переливание крови, чтобы спасти жизнь Дженнифер, которая превращает её в Женщину-Халка и вместе они побеждают Дума. В эпизоде «Голливудские скалы» Доктор Дум возвращается, чтобы отомстить Бэннеру и Женщине-Халку и вернуть себе титул монарха Латверии.
Доктор Дум, озвученный Томом Кейном, появляется в трёхсерийном эпизоде «Секретные войны» 5-го сезона мультсериала «Человек-паук» 1994 года, где он, наряду с некоторыми другими суперзлодеями был выбран Потусторонним для покорения внеземных цивилизаций. Он захватил территорию Доктора Осьминога и переименовал её в Новую Латверию. Казалось бы, он создал утопию, где все его подданные жили в мире и гармонии. Он даже похитил Существо, чтобы вернуть ему человеческий облик. На самом деле он хотел украсть силу Потустороннего. В итоге ему не удалось совладать с этой силой и после победы Человека-Паука и его союзников он был возвращён на Землю.
Пол Добсон озвучил Доктора Дума в мультсериале «Фантастическая четвёрка: Величайшие герои мира» 2006 года. В прошлом он спонсировал экспедицию в космос, в ходе которой экипаж корабля подвергся космическому облучению, что привело к созданию Фантастической четвёрки и его собственному превращению в Доктора Дума. Будучи морахом Латверии, Виктор фон Дум обладает дипломатической неприкосновенностью как глава государства, что не позволяет американским властям арестовать его. Он проживает в посольстве Латверии, охраняемой Думботами крепости. В пилотной серии «Судный день», Дум фальсифицирует записи Рида Ричардса, в соответствии с которыми тот якобы преднамеренно подверг своих товарищей по команде воздействию космических лучей. В эпизоде «В теле Дума», Дум меняется телами с Ричардсом и пытается разрушить его репутацию. В эпизоде «Наживка и обман», Думу удаётся проникнуть в Негативную зону, в попытках отыскать неизвестный объект огромной силы и украсть его из другого измерения. В эпизоде «Аннигиляция», он заключает союз с Аннигилусом против Фантастической четвёрки, однако затем предаёт повелителя Негативной зоны. В серии «Нити», Существо обвиняет Дума в недавних неудачах команды, после чего разгневанный монарх приказывает Думботам вывести Гримма из посольства. В серии «Новый роковой день», Дум запускает здание Бакстера в космос, надеясь оставить Фантастическую четвёрку умирать на орбите. В эпизоде «Вне времени», Дум предупреждает себя в прошлом о последующих событиях с помощью путешествия во времени, в результате чего Виктор из прошлого прервал космический запуск из-за чего Фантастическая четвёрка прекратила своё существование, однако героям удаётся восстановить искажённую реальность. В серии «Мошенничество», Доктор Дум противостоит Фантастической четвёрке и Железному человеку. В эпизоде «Слово Дума — закон», доктор Дум конструирует Думбота с искусственным интеллектом, однако узнав о злодеяниях своего создателя, тот переходит на сторону его врагов.
Доктор Дум появляется в мультсериале «Супергеройский отряд», озвученный Чарли Эдлером. В 1-го сезоне он охотится за Мечом Бесконечности и нанимает злодеев с целью его добычи, в частности МОДОКа и Мерзость. Потерпев поражение, он попадает в тюрьму. Во 2-м сезоне он сбегает из тюрьмы и стремится завладеть Мечом Бесконечности и Камням Бесконечности, выступая в качестве второстепенного злодея, прежде чем его снова ловят и сажают в тюрьму в финале сериала.
Кристофер Бриттон озвучил Доктора Дума в мультсериале «Железный человек: Приключения в броне». В этом мультсериале броня Дума была отмечена как передовое чудо техники, поскольку, на контрасте с ней, Тони Старк назвал свои доспехи «тостером с оружием». Виктор фон Дум представлен как член королевской семьи Латверии. Он был женат, однако, в результате несчастного случая произошедшего в Латверии вся его семья погибла, а лицо Виктора было изуродовано шрамами. В эпизоде «Мощь Дума» Доктор Дум прибывает в Нью-Йорк, чтобы встретиться с Обадайей Стейном для получения характеристик брони Железного человека из украденных файлов и взамен улучшить генератор Стейна. В эпизоде «Судный день», Железный Человек объединяется со своим врагом Мандарином, чтобы остановить Доктора Дума, прежде чем тот захватит девятое кольцо и отца Тони. По окончании сражения, Дум попадает в ловушку в измерение Йогтула.
Доктор Дум, озвученный Лексом Лэнгом, появляется в мультсериале «Мстители: Величайшие герои Земли». Он дебютирует в первом эпизоде 2-го сезона «Личная война Доктора Дума», где посылает Люсию фон Бардас и армию Думботов атаковать Особняк Мстителей и Здание Бакстера, чтобы захватить Женщину-невидимку и Осу. Доктор Дум без особых усилий побеждает как Мстителей, так и трёх оставшихся членов Фантастической четвёрки, прибывших на спасение своих товарищей. Завершив сканирование обеих женщин, Дум освобождает их и позволяет героям покинуть свою территорию. Из полученных данных Дум узнаёт, что Сьюзан Шторм на самом деле является замаскированным Скруллом. В эпизоде «Внедрение» Доктор Дум передаёт Тони Старку чип, позволяющий вычислить остальных Скруллов. Старк спрашивает, поможет ли тот ему в предстоящей битве, но Дум заявляет, что «это ниже его достоинства» и уходит. Дум эпизодически фигурирует в серии «Император Старк», где он отбивается в своём тронном зале от дронов Железного человека и Тора, находящихся под контролем Пурпурного человека.
Морис Ламарш озвучил Доктора Дума в мультсериале «Великий Человек-паук» 2012 года. В эпизоде «Обречены!» Человек-Паук, Силач, Железный Кулак, Нова и Белая Тигрица направляются в Латверию, чтобы захватить Доктора Дума и проявить себя перед Ником Фьюри, поскольку Дум возглавляет список самых разыскиваемых преступников Щ.И.Т.а. Выясняется, что противником, с которым они сражались на самом деле был Думбот, тогда как настоящий Дум просканировал их слабые стороны на случай будущих столкновений. В эпизоде «Не игрушка», Человек-паук случайно забрасывает Щит Капитана Америки в посольство Латверии, после чего пытается забрать его у Доктора Дума вместе с владельцем щита. Несмотря на взятие под стражу в финале эпизода, Доктор Дум утверждает, что сотрудники его посольства освободят его к наступлению ночи, а затем депортируют обратно в Латверию. Кроме того, Доктор Дум кратко появляется в сериях «Жукомания», «Погром», «Я — Человек-Паук», «Возвращение Песочного человека» и «Новые воины».
Ламарш повторил свою роль в мультсериале «Мстители, общий сбор!». Сначала он появляется в качестве камео в эпизоде «Протокол Мстителей. Часть 2», где Красный череп вербует его в команду Заговорщики, а затем в эпизоде «Надежда призраков», в котором его сражение с Халком показано в видеозапаси. В эпизоде «Змей Дума», Он получает оружие Улика Кодгель после битвы Тора с последним. Потерпев поражение, он и Змей Мидгарда были изгнаны Мстителями в Нижнее Царство с помощью межпространственного портала Улика. В эпизоде «Думрушитель» Доктор Дум берёт под свой контроль Разрушителя, используя его для нападения на агентов ГИДРЫ и А.И.М., а затем на Мстителей, но со временем теряет контроль над ним и едва не разрушает собственное государство. В итоге Доктор Дум отклоняет благотворительное предложение Железного человека о помощи в Латверии и приказывает Мстителям уйти, поскольку у них нет полномочий задерживать его. В эпизоде «Планета Дума», Доктор Дум возвращается в прошлое и предотвращает формирование Мстителей, изменив ключевые события в истории, что позволяет ему захватить мир, уничтожая все болезни, разрешив проблему голода и прекращая все конфликты, однако, незатронутый земными событиями Тор, заручившись поддержкой товарищей супергероев срывает замысел Дума и восстанавливает реальность. В эпизоде «Посол» начальство Щ.И.Т.а поручает Фьюри и Мстителям защищать Дума, пока тот выступает перед ООН. Впоследствии Дум, по всей видимости, получает ранение, когда на него нападают Гиперион, МОДОК, Дракула, Аттума и Красный череп, однако на деле это нападение оказывается уловкой, чтобы Дум мог попасть в логово Мстителей. Вернувшись в Латверию, он обнаруживает, что загруженная им информация была троянским конём, поскольку Мстители догадывались о его намерениях. Затем Железный человек заявляет Думу, что если тот снова покинет Латверию, он будет арестован, поскольку Виктор потерял дипломатическую неприкосновенность при попытке украсть свою базу данных. Затем программа «Троянский конь» отключает электросеть Доктора Дума на несколько недель.
Доктор Дум, вновь озвученный Морисом Ламаршем, появляется в мультсериале «Халк и агенты У.Д.А.Р.», в эпизоде «Красный Роувер». Доктор Дум захватывает Красного Халка, когда тот по незнанию оказывается в Латверии в рамках своего плана по поиску другого места для ДиноДьявола. Используя больший боевой костюм, Дум пытается поглотить гамма-энергию Красного Халка, но вмешавшийся ДиноДьявол освобождает своего напарника. Они сбегают из Латверии и возвращаются в Виста-Верде, но Доктору Думу удаётся догнать их, после чего агенты У.Д.А.Р.а присоединяются к битве. Во время боя Дум оказывается на базе Гамма и встречает Лидера, который предлагает союз в обмен на его освобождение, но Доктор Дум отказывается, заявляя, что он объединяется только с величайшими злодеями. С помощью ДиноДьявола агенты У.Д.А.Р.а отключают боевой костюм Дума, и Халк запускает Доктора Дума в атмосферу. Доктор Дум кратко появляется в эпизоде «День Бэннера», когда Бетти Росс упоминает, что она использовала информацию, собранную ведущими учёными, такими как Тони Старк, Рид Ричардс, Лидер и Дум, для разработки сыворотки, чтобы превратить Халка обратно в Брюса Бэннера.
Кино
Художественное
В невышедшем фильме «Фантастическая четвёрка» 1994 года роль Доктора Дума исполнил Джозеф Калп. В прошлом Виктор был однокурсником Рида Ричардса по колледжу. Когда молодые люди попытались присвоить энергию пролетающий рядом с Землёй кометы под названием «Колосс», Виктор получил серьёзные ранения и был доставлен обратно в Латвию в целях «лечени». Десять лет спустя возродившийся Доктор Дум похитил Алисию Мастерс и пригрозил убить её и разрушить Нью-Йорк, бросив вызов недавно сформированной Фантастической четвёрке. Оказавшись в замке Дума, Рид и его товарищи были обезврежены одной из машин Дума, однако Ричардс использовал свои эластичные способности, чтобы ускользнуть от силового поля, удерживавшего их в плену, и использовал предназначенный для кражи их сил лазер против ограничивающего устройства. В развернувшейся битве между старыми друзьями Рид победил Дума, в результате чего тот разбился насмерть, упав с большой высоты, несмотря на попытки Рида спасти его. Тем не менее, через какое-то время его перчатка начинает двигаться сама по себе.
В фильме «Фантастическая четвёрка» Виктор фон Дум, роль которого исполнил актёр Джулиан Макмэхон, — преуспевающий промышленный магнат, управляющий «Von Doom Industries», старый школьный приятель, а ныне конкурент Рида Ричардса, начальник и жених его бывшей подруги — Сьюзан Шторм, которая работает в фирме Виктора старшим научным советником. Видя коммерческую выгоду в проекте Рида по исследованию исследования космических лучей, Виктор соглашается обеспечить Рида финансированием и оборудованием, предварительно выговорив для себя львиную долю возможной прибыли, и сам отправляется вместе с будущей Фантастической четвёркой на орбиту Земли, в созданной им по последнему слову техники космической станции. Тем не менее, лучи достигают их раньше, чем ожидалось, и хотя Виктор успевает законсервировать себя защитными экранами в центре управления, он подвергается воздействию опасного излучения, как и остальные. Впоследствии Дум начинает превращается в существо, целиком состоящее из органической стали, превышающей по твёрдости даже алмазы, а также получает способность управлять электричеством и генерировать огромные потоки энергии. Вслед за метаморфозами, жизнь Виктора начинает трещать по швам: провал исследований космических лучей обесценивает акции компании, вследствие чего следует вынесение советом инвесторов вотума недоверия, а с ним и угроза банкротства, а также сближение Сью и Рида. Считая Четвёрку виновниками своего разорения, Дум пытается убить их всех. Узнав о создании Ридом машины по генерации космических лучей, которая работает некорректно из-за нехватки энергии, Виктор, успевший вбить клин между ставшим Существом Беном Грином и Ридом, использует устройство на первом, одновременно испытывая свои способности и лишая Четвёрку единственного, кто может сражаться с ним на равных. Это уродует его лицо и тело, и Виктор, провозгласивший себя «Доктором Думом», начинает носить стальную маску, что была подарком от его земляков из Латверии, и зелёный плащ с капюшоном. Тем не менее, во время финального сражения с Фантастической четвёркой Человек-факел расплавляет металлическое покрытие Доктора Дума, а Существо обливает его водой из пожарного гидранта, вследствие чего тот превращается в неподвижную статую. Впоследствии его перевозят на родину, в Латверию, на грузовом корабле.
В фильме «Фантастическая четвёрка: Вторжение Серебряного сёрфера» 2007 года, продолжении фильма 2005 года, Доктор Дум, к роли которого вернулся Макмэхон, «возвращается к жизни» благодаря пролетевшему над его замком космическому существу, известному как Серебряный Сёрфер, после чего приспешнику Думу удаётся высвободить его из брони, ставшей для него тюрьмой. Вычислив алгоритм передвижения пришельца, Дум обнаруживает Сёрфера в Гренландии и пытается заключить с ним союз. Возмущённый отказом Дум стреляет в Сёрфера электричеством, получив в ответ заряд космической энергий, что излечивает Дума от мутации и возвращает первоначальный облик, при этом сохранив способность управлять электричеством. Виктор начинает сотрудничать с правительством США и Фантастической четвёркой, пообещав содействие в поимке Сёрфера в обмен на изучение его доски. После успешной нейтрализации Серебряного Сёрфера, Дум получает обещанную награду. Ему удаётся овладеть невиданной мощью, захватив средство передвижения герольда Галактуса, напоминающее доску для сёрфинга. Прежде чем встать на доску, чтобы обрести способности Сёрфера, Дум надевает обновлённую броню и маску. В решающем сражении Фантастической четвёрке в лице Джонни Шторма, который позаимствовал силы всех своих товарищей, удаётся победить злодея, сбросив его с доски в море. Из-за тяжести своего костюма Виктор уходит на дно в сполохах электроэнергии.
В фильме-перезапуске «Фантастическая четвёрка» 2015 года, Виктора фон Дума сыграл британский актёр Тоби Кеббелл. По первоначальной задумке персонаж был известен под именем Виктор Домашёв, который являлся русским хакером, использующим в сети ник «Дум». В фильме Виктор фон Дум представлен как сотрудник Фонда Бакстера и протеже доктора Франклина Шторма, ставший затворником из-за неизвестного происшествия. Фон Дум получает приглашение присоединиться к совместной работе над устройством, позволяющим переместиться в параллельное измерение, которое было открыто молодым гением Ридом Ричардсом. Узнав, что Сьюзан, к которой Дум испытывает безответные чувства, также будет привлечена к работе, Виктор соглашается. В ночь после завершения устройства Виктор, Рид и Джонни Шторм отмечают окончание работы, посчитав несправедливым, что на их месте в экспедицию отправятся люди из NASA. Вик подталкивает товарищей стать первыми людьми, покорившими новое измерение, после чего все трое, прихватив с собой друга Рида по имени Бен Гримм, отправляются в экспедицию. В новом измерении исследователи находят необычную материю, после контакта с которой возникает энергетическая буря. При попытке добраться до капсул телепорта фон Дум оказывается поражён таинственной материей, его скафандр повреждается, а сам Виктор падает в извергающееся жерло. Через год Рид с командой под контролем военных собирает улучшенную модель телепорта и команда подготовленных людей перемещается на «Планету 0», где обнаруживает выжившего Виктора. Исследования на военной базе показывают, что скафандр Виктора из-за воздействия материи сросся с его телом, а сам он приобрёл свои «магические» способности. Заявив о своём намерении оградить свой новый мир от чужаков, Виктор, провозгласив себя «Думом», убивает военных и учёных, включая Франклина Шторма, и перемещается обратно на Планету 0, открывая поглощающую Землю червоточину. Рид, Сьюзан, Джонни и Бен следует за ним в другой мир, где, объединив усилия и действуя как одна команда, бросают его в уничтожающее энергетическое поле.
Во время San Diego Comic-Con International 2017 Ной Хоули рассказал о разработке сольного фильма о Докторе Думе. Актёр Дэн Стивенс подтвердил своё участие в проекте. В июне 2018 года Хоули заявил, что сценарий фильма почти закончен, но существует «небольшая неопределённость» в его судьбе: из-за занятости режиссёра в работе над другим фильмом «Люси в небесах», а также . В марте 2019 года Хоули выразил сомнение касательно дальнейшей работы над проектом, поскольку тот официально не получил «зелёный свет», однако упомянул встречу с Кевином Файги, на которой они обсуждали планы на фильм. В августе 2019 года Хоули заявил в интервью для Deadline, что больше не работает над фильмом
Анимационное
Пол Добсон озвучил Доктора Дума в анимационном фильме «Супергерои Marvel в 4D».
Литература
Доктор Дум выступает в роли первого злодея трилогии Chaos Engine. Незадолго до начала основных событий Дум переписал историю таким образом, что в настоящее время он является мировым лидером, победившим других злодеев, таких как Мандарин, женившимся на Сьюзан Шторм и охотившимся на своего заклятого врага Магнето. Тем не менее, Люди Икс была вне основной реальности, когда Дум переписывал историю, что позволило им расследовать происходящее. Бетси Брэддок узнаёт, что Дум создал эту реальность с помощью Космического куба, у которого есть два недостатка: использование куба для поддержания нового мира истощает жизненную силу пользователя, а также сводит его с ума. После того, как куб попадает в распоряжение Магнето, Дум пытается устроить переворот в Цитадели Звёздного света, что приводит к конфронтации с Людьми Икс и Магнето. В конечном итоге он возвращается на Землю, будучи лишённым воспоминаний о том, как создать новый куб, во избежание новых злодеяний.
Подкаст
Дилан Бейкер озвучил версию Доктора Дума из комикса Old Man Logan в подкасте Marvel’s Wastelanders: Old Man Star-Lord.
Видеоигры
Первое появление Доктора Дума в видеоиграх состоялось в The Amazing Spider-Man and Captain America in Dr. Doom’s Revenge!, вышедшей в 1989 году.
Доктор Дум появляется как один из главных антагонистов в аркаде Spider-Man: The Video Game, вышедшей в 1991 году. В этой игре Человек-паук и его союзники должны забрать мистический артефакт сначала у Кингпина, а затем у Доктора Дума.
Доктор Дум — игровой персонаж в большинстве игр, созданных Capcom.
Доктор Дум является боссом игры Marvel Super Heroes 1995 года, где его озвучил Лорн Кеннеди. Он становится играбелен после полного прохождения игры и ввода пароля.
Доктор Дум является боссом игры Marvel Super Heroes: War of the Gems для Super NES. Сначала он предстаёт как босс в Латверии, а затем возвращается в поясах астероидов в качестве мини-босса.
Доктор Дум, вновь озвученный Лорном Кеннеди, является играбельным персонажем в Marvel vs. Capcom 2: New Age of Heroes.
Доктор Дум является играбельным персонажем в Marvel vs. Capcom 3: Fate of Two Worlds, где Пол Добсон повторил свою роль со времён мультсериала «Фантастическая четвёрка: Величайшие герои мира». Он выступает в качестве одного из ключевых персонажей игры, заключая союз с Альбертом Вескером из Resident Evil. Также он появляется в дополнении игры, Ultimate Marvel vs. Capcom 3.
В beat ’em up Fantastic Four 1997 года от Acclaim Entertainment, Дум разрабатывает устройство, которое переносит Фантастическую четвёрку и Женщину-Халк в различные места по всей планете, чтобы сражаться с монстрами и суперзлодеями. Мистер Фантастик собирает машину времени, которая позволяет ему отправить команду в логово Дума для финальной битвы. Фантастическая четвёрка побеждает его, после чего замок Дума разрушается.
Доктор Дум является одним из боссов игр, основанных на дилогии Тима Стори:
В beat ’em up Fantastic Four 2005 года от Activision , Доктор Дум озвученный Джулианом Макмехоном, предстаёт как финальный босс игры, где его роль из фильма была расширена. Как и в фильме, Виктор фон Дум спонсирует и присоединяется к космической экспедиции, которая наделяет Фантастическую четвёрку их суперспособностями. Виктор также подвергается воздействию космических лучей, в результате чего его тело начинает медленно покрываться металлом, тогда как сам Дум приобретает способность управлять электричеством. Движимый жаждой мести Виктор направляет Думботов атаковать Фантастическую четвёрку на Таймс-сквер. Впоследствии он проникает в Здание Бакстера, где крадёт силы Существа при помощи камеры трансформации Рида, и побеждает трёх других членов Фантастической четвёрки. Тем не менее, Существо восстанавливает свои силы, вновь войдя в комнату трансформации, и спасает своих друзей, вступив в конфронтацию с Думом. Затем Фантастическая четвёрка объединяет усилия и побеждает Доктора Дума, заморозив его. Джим Мескимен озвучивает Дума на бонусных разблокируемых уровнях, где Фантастическая четвёрка не позволяет ему запустить ракету.
Гидеон Эмери озвучил Доктора Дума в Fantastic Four: Rise of the Silver Surfer 2007 года от 2K. Он играет большую роль в игре, чем в фильме, поскольку после обретения силы Серебряного Сёрфера, он намеревается использовать их для противостояния с Галактусом и спасения Земли, чтобы впоследствии завоевать планету самому. В отличие от фильма, он строит специальное устройство, чтобы лишить Галактуса большей части его космической силы в личных целях, однако Фантастическая четвёрка использует его машину против него самого.
Доктор Дум является эксклюзивным игровым персонажем в PSP-версии игры Marvel Nemesis: Rise of the Imperfects 2005 года от Electronic Arts.
В специальном издании Ultimate Spider-Man игроку доступен арт, где Жук передаёт образец ДНК Песочного человека Доктору Думу.
Доктор Дум появляется в игровой серии Marvel: Ultimate Alliance:
Доктор Дум — главный антагонист и финальный босс ролевой игры в жанре «экшн» Marvel: Ultimate Alliance 2006 года от Activision, где его озвучил Клайв Ревилл. По сюжету игры Дум возглавляет Повелителей Зла и успешно крадёт силу Одина, с помощью которой завоёвывает Землю. Оставшимся героям в конце концов удаётся освободить Одина и ослабить Доктора Дума, которого поражает молния, посланная омоложённым Одином, не оставив после Виктора ничего, кроме его маски. Затем Один использует свои силы, чтобы восстановить Землю, исправив ущерб, нанесённый Думом. Доктор Дум был эксклюзивным игровым персонажем в версиях игры для Xbox 360, доступным только в DLC. Позже он был включён в Remastered Editions. В случае игры за Дума в специальном диалоге уточняется, что Дум, которым управляет игрок, — это Доктор Дум из настоящего, а злой Дум родом из будущего. У игрового Дума есть особый диалог с Зимним солдатом и Радиоактивный человек, а также специальный диалог с Имиром.
Статую Доктора Дума и информативное досье о нём можно найти на уровне Латверии в сиквеле Marvel: Ultimate Alliance 2 2009 года. Кроме того, он упоминается другими персонажами игры, в частности Тором, который объясняет, что Один по-прежнему наказывает Дума и Локи за их преступления во время событий предыдущей игры.
Доктор Дум возвращается в Marvel Ultimate Alliance 3: The Black Order 2019 года, в качестве играбельного антагониста сюжетной линии DLC Shadow of Doom, где его озвучил Морис Ламарш. Дум — пятый игровой персонаж DLC про Фантастическую четвёрку. После завершения войны героев против Таноса, Дум нападает на Ваканду, чтобы украсть Камень Души и перенести героев в Негативную Зону, где на них нападает армия Аннигилуса, от которой их спасает Фантастическая четвёрка. Дум использует Камень Души, чтобы превратиться в Бога-Императора, забрав души своего народа и пробудив одного из Целестиалов. Потерпев поражение от героев Дум, в конечном итоге, встаёт на их сторону, чтобы остановить большую угрозу в лице сына Таноса Тана.
Доктор Дум появляется в beat ’em up Marvel Super Hero Squad 2009 года от THQ, где его, как и в одноимённом мультсериале, озвучил Чарли Эдлер.
Доктор Дум появляется в виртуальном пинболле Fantastic Four для Pinball FX 2.
Доктор Дум появляется в beat ’em up Marvel Super Hero Squad: The Infinity Gauntlet 2010, вновь озвученный Эдлером.
Доктор Дум появляется в качестве антагониста игры Marvel Super Hero Squad Online 2011 года, вновь озвученный Эдлером. Кроме того, он доступен в качестве играбельного персонажа в своей классической одежде и костюме Фонда Будущего.
Доктор Дум появляется в видеоигре Marvel Super Hero Squad: Comic Combat 2011 года, вновь озвученный Эдлером.
Доктор Дум является играбельным персонажем в Marvel: Avengers Alliance 2012 года для Facebook. Сначала появлялся как босс, однако затем стал доступен для игры.
Доктор Дум появляется в файтинге 2012 года Marvel Avengers: Battle for Earth, озвученный Фредом Татаскьором.
Скин Доктора Дума доступен в рамках загружаемого контента «Marvel Costume Kit 6» в LittleBigPlanet.
Доктор Дум, озвученный Лексом Лэнгом, представлен как один из боссов и игровых персонажей в MMORPG Marvel Heroes 2013 года. Тем не менее, по юридическим причинам его костюм из Фонда Будущего был удалён из игры в 2017 году.
Доктор Дум является одним из боссов и игровых персонажей в Lego Marvel Super Heroes 2013 года, вновь озвученный Татаскьором. По сюжету игры он нападает на Серебряного Сёрфера, разбивая его доску на несколько «Космических кирпичей». Затем он нанимает различных злодеев, чтобы они добыли для него кирпичи, что позволят ему и Локи построить «Роковой Луч Судьбы», чтобы победить Галактуса, который приближается к Земле, а затем захватить мир. Тем не менее, после того, как герои победили Дума, который на тот момент находился под контролем Локи, на борту астероида М, Локи заяваляет, что он обманом заставил Дума построить летающую капсулу, что позволит ему управлять разумом Галактуса и уничтожить Землю и Асгард. После этого Дум неохотно объединяет силы с героями для борьбы с новой угрозой, в конечном итоге побеждая Локи и Галактуса и отправляя их через портал в неизвестном направлении в космосе. Затем герои дают Думу и другим злодеям, которые помогли спасти Землю, фору, чтобы избежать пленения.
Доктор Дум — открываемый персонаж в Avengers Alliance Tactics.
Доктор Дум является игровым персонажем в Marvel: Future Fight 2015 года для платформ iOS и Android.
Доктор Дум является игровым персонажем в Marvel: Contest of Champions 2014 года.
Скин Дума появляется в игре Fortnite: Battle Royale 2018 года.
Доктор Дум появляется в сцене после титров игры Marvel’s Midnight Suns (2022), где его озвучил Грэм Мактавиш.
Живое выступление
Доктор Дум появляется в адаптации свадьбы Человека-паука и Мэри Джейн Уотсон, состоявшейся на стадионе Ши в 1987 году.
Примечания
Фантастическая четвёрка вне комиксов | 35,717 |
https://stackoverflow.com/questions/60086709 | StackExchange | Open Web | CC-By-SA | 2,020 | Stack Exchange | adavea, enharmonic, https://stackoverflow.com/users/10376320, https://stackoverflow.com/users/403849 | English | Spoken | 111 | 198 | What is AWS Aurora Serverless scale up time?
I am trying to build a python app and plan to use AWS Aurora Serverless. I looked into the docs and while they have mentioned scale downtime, I couldn't find the scale uptime. any pointers?
https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.how-it-works.html
Are you interested in the cooldown times? If so, "There is no cooldown period for scaling up. Aurora Serverless can scale up whenever necessary, including immediately after scaling up or scaling down."
AWS Aurora Serverless v1 scales up time is usually a few seconds. But now v2 scales up in just milliseconds.
In practice I found the scale up time for v1 to be close to 30-45s
| 6,037 |
https://hi.wikipedia.org/wiki/%E0%A4%AA%E0%A4%B0%E0%A4%BF%E0%A4%AF%E0%A5%8B%E0%A4%9C%E0%A4%A8%E0%A4%BE%20%E0%A4%9C%E0%A5%87%E0%A4%AE%E0%A4%BF%E0%A4%A8%E0%A5%80 | Wikipedia | Open Web | CC-By-SA | 2,023 | परियोजना जेमिनी | https://hi.wikipedia.org/w/index.php?title=परियोजना जेमिनी&action=history | Hindi | Spoken | 343 | 1,543 | परियोजना जेमिनी () नासा का दूसरा मानव अंतरिक्ष यान कार्यक्रम था। मरकरी और अपोलो परियोजनाओं के बीच आयोजित हुआ था;जेमिनी 1961 में शुरू हुआ और 1966 में समाप्त हुआ। जेमिनी अंतरिक्ष यान ने दो-अंतरिक्ष यात्री दल को ले जाया था, 1965 और 1966 के दौरान दस जेमिनी क्रू और 16 व्यक्तिगत अंतरिक्ष यात्रियों ने निचली पृथ्वी कक्षा (लियो) मिशन के लिए उड़ान भरी थी।
प्रक्षेपण यान
टाइटन II ने 1962 में एटलस को बदलने के लिए वायु सेना की दूसरी पीढ़ी के आईसीबीएम के रूप में शुरुआत की थी। हाइपरगोलिक ईंधन का उपयोग करके, इसे लंबे समय तक संग्रहीत किया जा सकता है और कम घटकों के साथ एक सरल डिजाइन होने के अलावा लॉन्च के लिए आसानी से तैयार किया जा सकता है, एकमात्र चेतावनी यह है कि एटलस के तरल ऑक्सीजन की तुलना में प्रणोदक मिश्रण (नाइट्रोजन टेट्रोक्साइड और हाइड्राज़िन) बेहद जहरीला था। /आरपी-1. हालांकि, पोगो दोलन के साथ शुरुआती समस्याओं के कारण टाइटन को मानव-रेटेड होने में काफी कठिनाई हुई। लॉन्च वाहन ने एक रेडियो मार्गदर्शन प्रणाली का इस्तेमाल किया जो केप केनेडी से लॉन्च करने के लिए अद्वितीय था।
कार्यक्रम की लागत
1962 से 1967 तक, जेमिनी की कीमत 1967 डॉलर में 1.3 बिलियन डॉलर (2019 में 7.76 बिलियन डॉलर .) थी। जनवरी 1969 में, बुध, मिथुन और अपोलो की लागत का आकलन करने वाली अमेरिकी कांग्रेस को नासा की रिपोर्ट (पहले चालित चंद्रमा लैंडिंग के माध्यम से) में मिथुन के लिए $ 1.2834 बिलियन: अंतरिक्ष यान के लिए $ 797.4 मिलियन, लॉन्च वाहनों के लिए $ 409.8 मिलियन और $ 76.2 मिलियन शामिल थे।.
सन्दर्भ
बाहरी कड़िया
नासा परियोजना मिथुन चित्र और वीडियो
नासा प्रोजेक्ट जेमिनी साइंस साइट
परियोजना जेमिनी ड्रॉइंग और तकनीकी आरेख
मिथुन परिचित नियमावली (पीडीएफ प्रारूप)
नासा इतिहास श्रृंखला प्रकाशन (जिनमें से कई ऑनलाइन हैं)
परियोजना जेमिनी मैकडॉनेल कर्मचारी वीडियो साक्षात्कार और अभिलेखीय दस्तावेज: सेंट लुइस, मिसौरी में पश्चिमी ऐतिहासिक पांडुलिपि संग्रह
परियोजना जेमिनी
संयुक्त राज्य अमेरिका का अंतरिक्ष कार्यक्रम
संयुक्त राज्य अमेरिका में 1960
1962 संयुक्त राज्य अमेरिका में प्रतिष्ठान
1966 संयुक्त राज्य अमेरिका में स्थापना
मिथुन
मानव अंतरिक्ष उड़ान कार्यक्रम
मिथुन
मिथुन बी | 21,710 |
https://nl.wikipedia.org/wiki/Thepytus%20epytus | Wikipedia | Open Web | CC-By-SA | 2,023 | Thepytus epytus | https://nl.wikipedia.org/w/index.php?title=Thepytus epytus&action=history | Dutch | Spoken | 29 | 51 | Thepytus epytus is een vlinder uit de familie van de Lycaenidae. De wetenschappelijke naam van de soort werd als Thecla epytus in 1887 gepubliceerd door Godman & Salvin.
Lycaenidae | 31,031 |
https://en.wikipedia.org/wiki/Assessor%20%28law%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Assessor (law) | https://en.wikipedia.org/w/index.php?title=Assessor (law)&action=history | English | Spoken | 967 | 1,300 | In some jurisdictions, an assessor is a judge's or magistrate's assistant. This is the historical meaning of this word.
In common law jurisdictions, assessors are usually non-lawyers who sit together with a judge to provide either expert advice (such as on maritime matters) or guidance on local practices. The use of assessors nowadays is quite rare. In some jurisdictions, such as Fiji, assessors are used in place of juries. An assessor's opinion or view of a case is not binding on a judge.
The term "assessor" is also very generally applied to persons appointed to ascertain and fix the value of rates and taxes, and in this sense the word is used in the United States (see Assessor (property)).
Civil law jurisdictions
In France and in all European countries where the civil law system prevails, the term assesseur is applied to those assistant judges who, with a president, compose a judicial court.
Denmark
In Denmark, it was the former title given to Supreme Court judges. Today the title is given to Deputy Judges. See Courts of Denmark.
Germany
In Germany, Rechtsassessor ("assessor of law") is a title held by graduates of law who have passed both the first and the second of the two state exams (finishing law school and a two-year legal clerkship) qualifying for a career in a legal profession such as judge or prosecutor, attorney at law or civil-law notary.
Italy
In Italy, an assessor (in Italian: assessore) is a member of a Giunta, the executive body in all levels of local government: regions, provinces and communes.
Norway
In Norway, the title was used for any judge before 1927.
Sweden
In Sweden, a judge who has been a district court clerk for two years, an appeal court clerk for at least one year, a deputy district judge for at least two years and a deputy appeal court judge for one year gets, if he or she is approved, the title assessor. Hovrättsassessor = assessor of the civil and criminal appeal court. Kammarrättsassessor = assessor of the administrative appeal court. Having the degree of assessor is the most common way of getting a constitutionally protected position as a judge (ordinarie domare), but increasingly advocates, prosecutors and doctors of law are also appointed to these positions.
Soviet Union
In the former Soviet Union, a judge presiding at trial is assisted by two "people's assessors" drawn much like jurors from citizens in the community. They do not rule on matters of law but can allow or deny objections. When the trial is completed the judge and people's assessors decide on a verdict.
China
In People's Republic of China, "people's assessors" can form judicial panel together with professional judges to try cases. People's assessors are selected from the residents within the court's jurisdiction. Besides a single judge, judicial panels can consists of one judge and two assessors or three judges and four assessors to try cases. The people's assessors mostly enjoy the same rights as professional judges, but they should only vote on the findings of the fact, not on the matter of law.
Polish–Lithuanian Commonwealth
In the Polish–Lithuanian Commonwealth, assessors were also members of the judiciary, sitting on the so-called kanclerz's courts or assessor's courts.
Common law jurisdictions
Fiji
Serious criminal trials are conducted by a judge sitting with four lay assessors.
Hong Kong
S.53 of the High Court Ordinance provides that a judge in the Court of First Instance may sit with one or more assessor who holds special qualifications. It is not normal practice for the court to sit with assessors.
South Africa
In serious criminal cases (such as murder) appearing before the High Court, two assessors may be appointed to assist the judge. Assessors are usually advocates or retired magistrates. They sit with the judge during the court case and listen to all the evidence presented to the court. At the end of the court case they give the judge their opinion. The judge does not have to listen to the assessors' opinions but it usually helps the judge to make a decision. The assessors may also only make decisions on facts, not on the law, which is solely the authority of the judge.
United Kingdom
Nautical assessors are experts in maritime matters who may assist the court in cases where their special knowledge is relevant. In the law of England and Wales, this usually happens in the Admiralty Court (part of the High Court of Justice), or on appeal to higher courts including the Supreme Court. The number of assessors used will depend on the complexity of the matter at hand, and their presence generally substitutes for the use of expert witnesses by the litigants. Nautical assessors are almost always Elder Brethren of Trinity House. In Scotland, nautical assessors are similarly used in cases before the Court of Session.
In principle, other courts may appoint expert assessors. This happens most commonly for dealing with disputes over costs, when a judge may choose to sit together with a "costs judge" who will have special expertise. In cases before the Senior Courts, there is a dedicated office, the Senior Courts Cost Office, housing such judges; at the district level, certain District Judges are the designated costs judges for their areas. Specific rules for the appointment of assessors exist for discrimination cases under the Equality Act 2010, for landlord and tenant disputes before a county court, and so on.
Some courts and tribunals use "legal assessors", when the person leading the court is not themselves trained in the law. This may happen in cases before panels of the General Medical Council, a Justice of the peace court in Scotland, and other similar bodies.
See also
Lay assessor
Lay judge
Lay judges in Japan
Lay judges in Sweden
Side judge
Special master
References
Legal professions
Polish titles | 35,782 |
https://tr.wikipedia.org/wiki/Senzo%20Meyiwa | Wikipedia | Open Web | CC-By-SA | 2,023 | Senzo Meyiwa | https://tr.wikipedia.org/w/index.php?title=Senzo Meyiwa&action=history | Turkish | Spoken | 68 | 200 | Senzo Robert Meyiwa (d. 24 Eylül 1987; Durban - ö. 26 Ekim 2014, Vosloorus), kaleci pozisyonunda görev yapmış Güney Afrikalı millî futbolcudur.
Profesyonel futbol kariyerini 2005 ile 2014 yılları arasında Orlando Pirates kulübünde sürdürdü.
Kaynakça
Dış bağlantılar
1987 doğumlular
2014 yılında ölenler
Güney Afrikalı futbolcular
Resim aranan futbolcular
Kaleci futbolcular
Güney Afrika Cumhuriyeti millî futbol takımı futbolcuları
2013 Afrika Uluslar Kupası futbolcuları
Öldürülen futbolcular
Orlando Pirates FC futbolcuları | 41,617 |
https://stackoverflow.com/questions/18611267 | StackExchange | Open Web | CC-By-SA | 2,013 | Stack Exchange | Saamzzz, https://stackoverflow.com/users/1862274, https://stackoverflow.com/users/952480, mikus | English | Spoken | 460 | 915 | Android Listview keeps old items after adapter changes
I try to change the content of a Listview in Android. After that I want the list to be redrawn. Unfortunately the list elements change, but the old items are displayed in the background. If there are less items in the new list it seems like the old items are still part of the list, as they are still displayed, even though they are not clickable. If I jump out of the app via the Android Taskmanager and afterwards open the app again, the list gets displayed correctly!
Therefore I think it must be a problem with refresh.
How do I try to achieve it:
As the complete content changes I create a new adapter that I pass to the ListView. In my code "favorites" is the new Array that I pass to the adapter. I also try to clear the list and invalidate it. all of this happens in the UI thread (onPostExecute of AsyncTask)
MyAdapter newAdapter = new MyAdapter(
context, favorites);
MyAdapter current_adapter = (MyAdapter) myList.getAdapter();
if((current_adapter!=null)){
current_adapter.clear();}
myList.setAdapter(null); //inserted this because of answers, but with no effect.
myList.setAdapter(newAdapter);
myList.invalidateViews();
The clear method of the adapter:
public void clear(){
items.clear();
notifyDataSetChanged();
}
As you can see I tried all of the solutions to similar problems her on stackoverflow. Unfortunately nothing worked...
Thanks in advance for any ideas how to solve this.
Edit:
I have also tried to set the adapter null before passing the new one, also with no effect.
.setAdapter(null);
Also if I open the keyboard by clicking in a editText, the screen refreshs and the list is displayed correctly.
Have you tried myList.setAdapter(null); ?
was it finally the solution? Doesnt work for me and I have the same problem.
I solved the problem by filling the remaining space under the list with a layout with more layout_weight than the ListView. This way the "extra" lines are hidden.
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/main_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/transparent"
android:orientation="vertical" >
<ListView
android:id="@+id/main_list"
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
<LinearLayout
android:id="@+id/aux_layout"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:background="@color/transparent"
android:orientation="vertical" />
</LinearLayout>
This worked for me perfectly, it seems that Android is not cleaning properly the 'trash' after the control shrinks. So whatever was in it but is now outside its stays there until covered by something else. Expanding container does the job
This worked for me perfectly. All others not worked. Thanks man
I tried that and I discovered HardwareAcceleration has to be set to TRUE (what is also default value) in application tag in your manifest file. Otherwise listView will keep old non-clickable items in its background during typing.
android:hardwareAccelerated="true"
First clear the data. I think it's favorites or items or whatever. and notify the adapter in this way.
items.clear();
((MyAdapter) myList.getAdapter()).notifyDataSetChanged();
MyAdapter newAdapter = new MyAdapter(context, favorites);
myList.setAdapter(newAdapter);
myList.invalidate();
| 5,296 |
https://stackoverflow.com/questions/66920286 | StackExchange | Open Web | CC-By-SA | 2,021 | Stack Exchange | Katherine Chen, Thomas, https://stackoverflow.com/users/14637, https://stackoverflow.com/users/5171605 | English | Spoken | 359 | 609 | OpenCV converts HSL to RGB
I am using OpenCV python to convert a single HSL value to RGB value.
Since there is no HSL2RGB flag, so I used HLS2RGB flag. I assumed HSL and HLS refers to the same color space but just flipping the S and L values. Is that right?
So here is my attempt:
import cv2
hls = (0, 50, 100) # This is color Red
rgb = cv2.cvtColor( np.uint8([[hls]] ), cv2.COLOR_HLS2RGB)[0][0]
After conversion, rgb value is [70, 30, 30]
However, when I checked this RGB value on online RGB picker, the color is dark brown.
Any idea where could go wrong in the conversion? Thanks
Shouldn't that be hls = (0, 128, 255)? An uint8 matrix goes up to 256, not 100.
@Thomas Ah thank you so much, so the HSL value is based on percentage, and not the absolute value? It seems that the S:100 is expanded to its max 255 (if started index 0), and the L: ceil(50% * 255) = 128. Is this the right way retrieving the values?
I tried this method on converting Green HLS (120, 33%, 100%) to RGB, and the H value is a degree out of 360, so 120/360 * 255 = 85. L is a percentage, so ceil(0.33 * 255) = 85, and S is also a percentage, so it's simply 255. HLS value in uint8 is thus (85, 85, 255). However, the RGB converted from this HLS is (0,170,142), different from the expected RGB (0, 168, 0).
The HLS ranges in OpenCV are
H -> 0 - 180
L -> 0 - 255
S -> 0 - 255
So if the HLS range you are using are
H -> 0 - 360
L -> 0 - 100
S -> 0 - 100
you have to convert it to OpenCV's range first
hls = (0, 50, 100)
hls_conv = (hls[0]/2, hls[1]*2.55, hls[2]*2.55)
rgb = cv2.cvtColor(np.uint8([[hls_conv]]), cv2.COLOR_HLS2RGB)[0][0]
which will result in rgb being [254, 0, 0]
Thank you for clarifying the HLS range of the OpenCV! This makes the solution crystal clear now. I will mark your answer as the solution. Thank you for your great explanation.
| 35,365 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.