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://en.wikipedia.org/wiki/Mageu | Wikipedia | Open Web | CC-By-SA | 2,023 | Mageu | https://en.wikipedia.org/w/index.php?title=Mageu&action=history | English | Spoken | 245 | 454 | Mageu (Setswana spelling), Mahewu (Shona/Chewa/Nyanja spelling), Mahleu (Sesotho spelling), Magau (xau-Namibia) (Khoikhoi spelling), Madleke (Tsonga spelling), maHewu, amaRhewu (Xhosa spelling) or amaHewu (Zulu and Northern Ndebele spelling) is a traditional Southern African non-alcoholic drink among many of the Chewa/Nyanja, Shona, Ndebele, Nama Khoikhoi and Damara people, Sotho people, Tswana people and Nguni people made from fermented mealie pap. Home production is still widely practised, but the drink is also available at many supermarkets, being produced at factories.
Its taste is derived predominantly from the lactic acid that is produced during fermentation, but commercial mageu is often flavoured and sweetened, much in the way commercially-available yogurt is. Similar beverages are also made in other parts of Africa.
Fermentation process
Thin mealie pap (maize meal) is prepared, to which wheat flour is added, providing the inoculum of lactate-producing bacteria. The mixture is left to ferment, typically in a warm area. Pasteurisation is done in commercial operations to extend shelf-life.
Nutrition
Nutritionally, it is similar to its parent mealie meal, but with the glucose metabolized to lactate during fermentation. Commercial preparations are often enriched (In South Africa, the term 'fortification' is only allowed legally for specific, government-sanctioned nutrition programs, e.g. that of bread) with vitamins and minerals. Although typically considered non-alcoholic, very small amounts (less than 1%) of ethanol have been reported.
See also
Ogi
Tejuino
Boza
References
Steinkraus, Keith H. "Industrialization of indigenous fermented foods". Google books. Accessed May 2010.
South African cuisine
Fermented drinks
Maize-based drinks | 35,462 |
https://bg.wikipedia.org/wiki/Trematocara%20unimaculatum | Wikipedia | Open Web | CC-By-SA | 2,023 | Trematocara unimaculatum | https://bg.wikipedia.org/w/index.php?title=Trematocara unimaculatum&action=history | Bulgarian | Spoken | 23 | 88 | Trematocara unimaculatum е вид лъчеперка от семейство Цихлиди (Cichlidae).
Разпространение
Видът е разпространен в Бурунди, Демократична република Конго, Замбия и Танзания.
Източници
Trematocara | 34,363 |
https://ar.wikipedia.org/wiki/%D8%A7%D9%84%D9%84%D8%A7%D8%AE%D9%84%D9%82%D9%8A%D8%AF%D9%88%D9%86%D9%8A%D8%A9 | Wikipedia | Open Web | CC-By-SA | 2,023 | اللاخلقيدونية | https://ar.wikipedia.org/w/index.php?title=اللاخلقيدونية&action=history | Arabic | Spoken | 42 | 197 | اللاخلقيدونية هي مجموعة من الطوائف (الكنائس) المسيحية التي رفضت مقررات مجمع خلقيدونية، وتسمى كذلك الكنائس الأرثوذكسية الشرقية.
الكنيسة القبطية الأرثوذكسية
الكنيسة السريانية الأرثوذكسية
كنيسة الأرمن الأرثوذكس
كنيسة التوحيد الأرثوذكسية الإثيوبية
كنيسة التوحيد الأرثوذكسية الإريترية
تاريخ المسيحية
حركات لاهوتية مسيحية
كنائس أرثوذكسية مشرقية | 5,923 |
https://pt.wikipedia.org/wiki/Pseudocossus | Wikipedia | Open Web | CC-By-SA | 2,023 | Pseudocossus | https://pt.wikipedia.org/w/index.php?title=Pseudocossus&action=history | Portuguese | Spoken | 96 | 210 | Pseudocossus é um gênero de traça pertencente à família Brachodidae.
Referências
Bibliografia
Edwards, E.D., Gentili, P., Horak, M., Kristensen, N.P. and Nielsen, E.S. (1999). The cossoid/sesioid assemblage. Ch. 11, pp. 181–182 in Kristensen, N.P. (Ed.). Lepidoptera, Moths and Butterflies. Volume 1: Evolution, Systematics, and Biogeography. Handbuch der Zoologie. Eine Naturgeschichte der Stämme des Tierreiches / Handbook of Zoology. A Natural History of the phyla of the Animal Kingdom. Band / Volume IV Arthropoda: Insecta Teilband / Part 35: 491 pp. Walter de Gruyter, Berlin, New York.
Ligações externas
Natural History Museum Brachodidae
Tree of Life
Brachodidae | 6,725 |
https://tr.wikipedia.org/wiki/Montegiardino | Wikipedia | Open Web | CC-By-SA | 2,023 | Montegiardino | https://tr.wikipedia.org/w/index.php?title=Montegiardino&action=history | Turkish | Spoken | 80 | 265 | Montegiardino (San Marino aksanı ile Romagnaca, Munt Giardêin olarak da ifade edilebilir), San Marino'nun dokuz şehir statüsüne sahip yerel idaresi arasında en küçük olanıdır. 3.31 kilometrekarelik bir alana yayılan şehrin nüfusu, 2013 yılının Ekim ayında yapılan nüfus sayımına göre 910 kişiden oluşmaktadır. Şehir, ülkede bulunan tek üniversite olan San Marino Cumhuriyet Üniversitesi'ne ev sahipliği yapmaktadır.
Parişler
Montegiardino'nun bir parişi (frazione) bulunmaktadır.
Cerbaiola
Kayda değer sakinleri
Anita Simoncini (d. 14 Nisan 1999), şarkıcı.
Dış bağlantılar
Montegiardino Belediyesi sayfası
San Marino'nun belediyeleri | 1,987 |
https://stackoverflow.com/questions/30576022 | StackExchange | Open Web | CC-By-SA | 2,015 | Stack Exchange | Alexander Bell, BLoB, D Stanley, Liam, Maciej Los, Redheadinferno, SQL Police, Scott Chamberlain, Soner Gönül, https://stackoverflow.com/users/1081897, https://stackoverflow.com/users/1611834, https://stackoverflow.com/users/2142028, https://stackoverflow.com/users/2504785, https://stackoverflow.com/users/3413294, https://stackoverflow.com/users/447156, https://stackoverflow.com/users/542251, https://stackoverflow.com/users/80274, https://stackoverflow.com/users/979580 | English | Spoken | 1,098 | 1,751 | Insert data from one SQL Database to a second one using C#
I dont know how to do this query in c#.
There are two databases and each one has a table required for this query. I need to take the data from one database table and update the other database table with the corresponding payrollID.
I have two tables in seperate databases, Employee which is in techData database and strStaff in QLS database. In the employee table I have StaffID but need to pull the PayrollID from strStaff.
Insert payrollID into Employee where staffID from strStaff = staffID from Employee
However I need to get the staffID and PayrollID from strStaff before I can do the insert query.
This is what I have got so far but it wont work.
cn.ConnectionString = ConfigurationManager.ConnectionStrings["PayrollPlusConnectionString"].ConnectionString;
cmd.Connection = cn;
cmd.CommandText = "Select StaffId, PayrollID From [strStaff] Where (StaffID = @StaffID)";
cmd.Parameters.AddWithValue("@StaffID", staffID);
//Open the connection to the database
cn.Open();
// Execute the sql.
dr = cmd.ExecuteReader();
// Read all of the rows generated by the command (in this case only one row).
For each (dr.Read()) {
cmd.CommandText = "Insert into Employee, where StaffID = @StaffID";
}
// Close your connection to the DB.
dr.Close();
cn.Close();
For each? o.O You mean while? And should add your @StaffID value inside your while statement and execute it with ExecuteNonQuery. Also you should consider to clear your parameter every iteration with Parameters.Clear() method. By the way, it is not clear which column value you want to insert. You should get this value like reader[0], reader[1] etc.. and you should insert that value.
Yep sorry really not good at this at all.
Do two things in a loop: while(dr.Read()) { // get parameter values // execute INSERT command } Let us know which part you're stuck on - plenty of examples out there of both.
If it's a while can you update your code. I was going to update it but I wasn't sure if it was the correct thing to do
You said you have separate databases, I only see you working with one database in your example, the one you access via PayrollPlusConnectionString.
The Title is misleading: where is the connection to the second Database mentioned in the Title? Please clarify. Thanks and regards,
You probably want to use UPDATE + SELECT, please see: http://stackoverflow.com/questions/2334712/update-from-select-using-sql-server
@Redheadinferno You should ideally use the Select Into statement... http://www.w3schools.com/sql/sql_select_into.asp
@Alex Bell The two databases is where the data is coming from so the insert query is going into one database but needing data from the other database table to insert the data into the corresponding row.
Is this an INSERT or a UPDATE. This code is very, very confusing.
So, you have to open another connection to that SECOND Database and properly format the INSERT query for that second Database. The code you have posted is very confusing: please add the required correction (btw, are you sure you are talking about two DATABASES and not of two TABLES?). Thanks and regards,
The code is wrong and confusing but just put it up to show I had tried.
Then try to correct it as stated above and add more clarity: is it indeed two Databases or just two Tables within the same Database? Thanks and regards,
I have added some clarity to your question, otherwise it was a bit misleading. The essential part is that you want to create a C# procedure to accomplish your task (not using SQL Server Management Studio, SSIS, bulk insert, etc). Best regards,
Your approach is possible, but very laborious. You could do much more elegant, faster and more stable by creating just one simple SQL statement which copies data from one database to another. And of course, you can then call this statement in C#. But you don't need loops and DataTables etc.
Assuminig, you want to add data to existing table, you have to use UPDATE + SELECT statement (as i mentioned in a comment to the question). It might look like:
UPDATE emp SET payrollID = sta.peyrollID
FROM Emplyoee AS emp INNER JOIN strStaff AS sta ON emp.staffID = sta.staffID
How can I do two connection strings for the one query? As I would be trying to set payrollID in one database but need to pull the data from another database.
@Redheadinferno Lets get something clear... when you say two databases... is that two databases in one SQL Server instance? or is that two databases in different SQL Server instances?
Two databases on two different SQL server instances
@Redheadinferno, create linked server and then you'll be able to use above query. For more details, please see: https://msdn.microsoft.com/en-us/library/ff772782.aspx?f=255&MSPPError=-2147217396
I have added some clarity to your question: the essential part is that you want to create a C# procedure to accomplish your task (not using SQL Server Management Studio, SSIS, bulk insert, etc). Pertinent to this, there will be 2 different connection objects, and 2 different SQL statements to execute on those connections.
The first task would be retrieving data from the first DB (for certainty let's call it source DB/Table) using SELECT SQL statement, and storing it in some temporary data structure, either per row (as in your code), or the entire table using .NET DataTable object, which will give substantial performance boost. For this purpose, you should use the first connection object to source DB/Table (btw, you can close that connection as soon as you get the data).
The second task would be inserting the data into second DB (target DB/Table), though from your business logic it's a bit unclear how to handle possible data conflicts if records with identical ID already exist in the target DB/Table (some clarity needed). To complete this operation you should use the second connection object and second SQL query.
The sample code snippet to perform the first task, which allows retrieving entire data into .NET/C# DataTable object in a single pass is shown below:
private static DataTable SqlReadDB(string ConnString, string SQL)
{
DataTable _dt;
try
{
using (SqlConnection _connSql = new SqlConnection(ConnString))
{
using (SqlCommand _commandl = new SqlCommand(SQL, _connSql))
{
_commandSql.CommandType = CommandType.Text;
_connSql.Open();
using (SqlCeDataReader _dataReaderSql = _commandSql.ExecuteReader(CommandBehavior.CloseConnection))
{
_dt = new DataTable();
_dt.Load(_dataReaderSqlCe);
_dataReaderSql.Close();
}
}
_connSqlCe.Close();
return _dt;
}
}
catch { return null; }
}
The second part (adding data to target DB/Table) you should code based on the clarified business logic (i.e. data conflicts resolution: do you want to update existing record or skip, etc). Just iterate through the data rows in DataTable object and perform either INSERT or UPDATE SQL operations.
Hope this may help. Kind regards,
| 31,875 |
https://arz.wikipedia.org/wiki/%D8%AF%D8%B3%D8%AA%20%D9%85%D9%88%D8%B1%D8%AF%D9%86 | Wikipedia | Open Web | CC-By-SA | 2,023 | دست موردن | https://arz.wikipedia.org/w/index.php?title=دست موردن&action=history | Egyptian Arabic | Spoken | 29 | 86 | دست موردن ( بالفارسى دست موردن ) قريه فى ايران و هيا تابعه لـ قسم غوهران الريفى ( بالفارسى دهستان گوهران (بشاگرد) ).
وصلات
مصادر
تجمع سكان
قرى ايران | 20,330 |
https://sk.wikipedia.org/wiki/Rafinha | Wikipedia | Open Web | CC-By-SA | 2,023 | Rafinha | https://sk.wikipedia.org/w/index.php?title=Rafinha&action=history | Slovak | Spoken | 135 | 367 | Rafael Alcântara do Nascimento známy aj ako Rafinha (* 12. február 1993, São Paulo, Brazília) je španielsko-brazílsky futbalový stredopoliar a hráč klubu FC Barcelona.
Jeho otcom je brazílsky majster sveta vo futbale z roku 1994 v USA Mazinho, bratom futbalista Thiago Alcântara a bratrancom futbalový útočník Rodrigo Moreno Machado.
Kariéra
V profesionálnom futbale debutoval v drese FC Barcelona.
Reprezentačná kariéra
Španielsko
Rafinha pôsobil v mládežníckych reprezentáciách Španielska U16, U17 a U19.
Brazília
V roku 2013 na seba obliekol dres brazílskej reprezentácie do 20 rokov a reprezentoval Brazíliu na Majstrovstvách Južnej Ameriky hráčov do 20 rokov v Argentíne.
Referencie
Iné projekty
Externé odkazy
Profil hráča na Transfermarkt.com
Profil hráče, BDFutbol.com
Španielski futbalisti
Brazílski futbalisti
Hráči FC Barcelona
Hráči FC Barcelona B
Hráči Celta de Vigo
Futbaloví stredopoliari
Brazílski olympijskí víťazi
Futbalisti na Letných olympijských hrách 2016 | 10,429 |
https://ja.wikipedia.org/wiki/%E3%83%8A%E3%83%89%E3%83%99%E3%82%B6%E3%83%BB%E3%83%9A%E3%83%BC%E3%82%BF%E3%83%BC | Wikipedia | Open Web | CC-By-SA | 2,023 | ナドベザ・ペーター | https://ja.wikipedia.org/w/index.php?title=ナドベザ・ペーター&action=history | Japanese | Spoken | 60 | 1,007 | ペタル・ナドヴェザ(Petar Nadoveza、1942年4月9日 - 2023年3月19日)は、クロアチア出身のサッカー選手・指導者。セレッソ大阪の登録名はナドベザ・ペーター。
現役時代は旧ユーゴスラビアやベルギーのリーグでプレーし、ユーゴスラビアリーグ得点王(1965-1966, 1970-1971)や、ユーゴスラビア代表の経験も持つ。
引退後は現役時代も所属したHNKハイドゥク・スプリトの監督を始め、クロアチア、スロベニアのチームで指揮を執る。
監督経験は20年近くに及び、その経験を買われて2004年にJリーグ・セレッソ大阪の監督として招聘された。しかし、来日前に狭心症の発作を起こし、来日は不可能と判断したクラブは契約解除を決めた。Jリーグ監督史上、実際の指揮を執らずに辞任したケースはナドヴェザのみである。
2023年3月19日、病気の為死去。81歳没。
選手経歴
NKシベニク(ユーゴスラビア)1960-1963
HNKハイドゥク・スプリト(ユーゴスラビア)1963-1973
SCロケレン(ベルギー)1973-1975
代表歴
ユーゴスラビア代表 1967-1968
指導経歴
HNKハイドゥク・スプリト(ユーゴスラビア):コーチ 1975-1980
HNKハイドゥク・スプリト(ユーゴスラビア):監督 1982-1984
NKシベニク(ユーゴスラビア):監督 1984-1985
HNKハイドゥク・スプリト(ユーゴスラビア):監督 1988-1989
CAビゼルティン(チュニジア):監督 1992
NKオリンピア・リュブリャナ(スロベニア):監督 1995-96
HNKハイドゥク・スプリト(クロアチア):監督 2000
HNKハイドゥク・スプリト(クロアチア):育成責任者 2002-2003
HNKハイドゥク・スプリト(クロアチア):監督 2004
セレッソ大阪(日本):監督 2004(指揮せず)
タイトル
選手時代
HNKハイドゥク・スプリト
ユーゴスラビア・プルヴァ・リーガ:1回(1970-71)
ユーゴスラビアカップ:3回(1966-67、1971-72、1973)
指導者時代
HNKハイドゥク・スプリト
プルヴァHNL:1回(2003-04)
ユーゴスラビアカップ:1回(1983-84)
フルヴァツキ・ノゴメトニ・クプ:1回(1999-2000)
NKオリンピア・リュブリャナ
スロベニア・カップ:1回(1995-96)
脚注
外部リンク
ユーゴスラビアのサッカー選手
HNKシベニクの選手
HNKハイデュク・スプリトの選手
スポルティング・ロケレンの選手
サッカーユーゴスラビア代表選手
クロアチアのサッカー指導者
セレッソ大阪の監督
1942年生
2023年没 | 43,619 |
https://stackoverflow.com/questions/10583771 | StackExchange | Open Web | CC-By-SA | 2,012 | Stack Exchange | Akram, Faison N.P, Stan Kurdziel, https://stackoverflow.com/users/1196376, https://stackoverflow.com/users/431296, https://stackoverflow.com/users/932225 | English | Spoken | 282 | 598 | Enabling copy and paste in webview android
Is it possible to select the text from a webview then to copy and paste.
Is there any special method to do this??Please help me..
http://developer.android.com/reference/android/webkit/WebView.html#emulateShiftHeld%28%29
Are you talking about allowing users to copy and paste in fields of a form being viewed in a Webview that you are displaying in your application?
@Stan not html form. normal texts in the html pages.
I just tested on an embedded webview on gingerbread 2.3.7 and jelly bean 4.1.1. Nothing special in the code to allow copy/paste, but I was able to copy some text (from html body) and paste into another app or an html form in the same embedded webview. The copy/paste in webkit is a bit less smooth than in native android views, but after a couple long press attempts, it was possible. Maybe it has something to do with the html you are displaying in the WebView?
I need this feature on Android 2.1 devices. Sorry i forgot to add this on title.
Hope this will help you...
public void selectAndCopyText() {
try {
Method m = WebView.class.getMethod("emulateShiftHeld", Boolean.TYPE);
m.invoke(BookView.mWebView, false);
} catch (Exception e) {
e.printStackTrace();
// fallback
KeyEvent shiftPressEvent = new KeyEvent(0,0,
KeyEvent.ACTION_DOWN,KeyEvent.KEYCODE_SHIFT_LEFT,0,0);
shiftPressEvent.dispatch(this);
}
}
override the touch events
private void emulateShiftHeld(WebView view)
{
try
{
KeyEvent shiftPressEvent = new KeyEvent(0, 0, KeyEvent.ACTION_DOWN,
KeyEvent.KEYCODE_SHIFT_LEFT, 0, 0);
shiftPressEvent.dispatch(view);
Toast.makeText(this, "select_text_now", Toast.LENGTH_SHORT).show();
}
catch (Exception e)
{
Log.e("dd", "Exception in emulateShiftHeld()", e);
}
}
According to this site of someone's blog says " Copy functionality in a WebView is available by default in Android 3.0 and above", and may be this information may be help, Android: how to select texts from webview
| 20,173 |
https://askubuntu.com/questions/1459331 | StackExchange | Open Web | CC-By-SA | 2,023 | Stack Exchange | Artur Meinild, https://askubuntu.com/users/1066942, https://askubuntu.com/users/85695, terdon | English | Spoken | 308 | 522 | cannot compile nano from source
i am trying to build nano from source, but the installation guide doesn't make any sense.
it says to run ./configure but there isn't any configure file, and even in some of the repository it is in, it doesn't do anything.
i am on Ubuntu server 22.04.2 LTS if that helps
Please [edit] your question and give us something to go on. First, what source? Where did you get it from? Where can we get it from? What installation guide? Where can we see that? We can't help you if you don't tell us what you are actually doing.
Most likely the source is the official build guide.
It is actually very easy, just read the compile instruction in the repository. Lets assume, you want to compile the latest version v7.2 yourself.
Enable jammy sources for apt and update the repositories
$ sudo bash -c 'echo "deb-src http://archive.ubuntu.com/ubuntu/ jammy main" > /etc/apt/sources.list.d/jammy_sources.list'
$ sudo apt update
Install all build dependencies from Ubuntu for nano
$ sudo apt build-dep nano -y
Install git for cloning the nano repo and checkinstall for easy Debian package generation.
$ apt install git checkinstall -y
Clone, checkout v7.2, generate autotools files, configure and build nano
$ git clone https://git.savannah.gnu.org/git/nano.git
$ cd nano
$ git checkout v7.2
$ ./autogen.sh
$ ./configure
$ make -j$(nproc)
Finally install the package with checkinstall. Since Ubuntu has already a nano package, we will call the package mynano to avoid conflicts.
$ sudo checkinstall -D -y --pkgname=mynano
That's it. Now you will find nano in /usr/loca/bin/nano Therefore it will not damage the original nano package and due to the execution order in the $PATH, it will be called, even if the normal nano package is installed.
If you want or need to remove your self build nano, just call:
$ sudo dpkg -r mynano
| 33,925 |
https://fr.wikipedia.org/wiki/Martin%20H.%20M.%20Schreiber | Wikipedia | Open Web | CC-By-SA | 2,023 | Martin H. M. Schreiber | https://fr.wikipedia.org/w/index.php?title=Martin H. M. Schreiber&action=history | French | Spoken | 803 | 1,553 | Martin Hugo Maximilian Schreiber, plus connu sous le nom de Martin H. M. Schreiber, est un photographe tchéco-américain né à Prague (Tchécoslovaquie).
Il est surtout connu pour avoir pris des clichés de Madonna nue en 1979 alors qu'elle était encore anonyme, photos qui furent par la suite publiées dans le magazine Playboy en 1985.
Biographie
Martin Hugo Maximilian Schreiber naît le à Prague (Tchécoslovaquie). Ses parents immigrent aux États-Unis en 1952, et s'installent à New York, où sa mère fait du mannequinat.
Il devient par la suite photographe, et remporte une mention honorable lors d'un concours photo pour le magazine Life. Il enseigne ensuite pendant plusieurs années dans des écoles d'art de New York, comme la New School Parsons (en 1977) ou la School of Visual Arts.
En 1979, alors qu'il enseigne la photographie de nu dans un atelier intitulé « » à la New School for Social Research de Manhattan, il rencontre la chanteuse Madonna, alors modèle anonyme cherchant à gagner de l'argent pour ses cours de danse. Ils se mettent rapidement en couple, et il la paie pour qu'elle pose nue devant ses étudiants à l'occasion d'une séance de photographie en noir et blanc. Il réutilisera d'ailleurs quelques clichés de cette séance dans son livre Bodyscapes (1980).
En , il aperçoit Madonna, devenue célèbre, sur la couverture du magazine Time, et décide alors de vendre les clichés au magazine Playboy, pour plus de . La publication de ces clichés le rend célèbre, et lui permet de vivre de son art.
En 1989, il déménage en France, et s'installe notamment dans la région du Perche à partir de 1993.
Expositions
2016 :
Indigenous, Galerie Meyer Oceanic & Eskimo, Paris, ()
Madonna II exhibition, The Colour Factory, Melbourne, Australie
conférence à la Maison européenne de la photographie (MEP), Paris,
2015 :
Group show, New Gallery 4 , Cheb, République Tchèque
"Madonna Nudes II, Alcazar, Paris,
"Madonna Nudes II", DAAB Publishers, Cologne, Allemagne
2012 : Cowboys and Nudes, Brothers Lumiere Centre, Moscou
2010 : Ode to Art Gallery, Singapour
2009 :
Houses of Arts, Marbella, Espagne
Solidni Nejistota, Prague, République tchèque
Art District Gallery, Amsterdam
Impure Art, Brighton, Royaume-Uni
Impure Art, Londres, Royaume-Uni
Casa Della Arte, Istanbul, Turquie
2008 : Galerie 4, Cheb, République tchèque
2007 : Espace Abbe Fret, Bretoncelles, France
2005 :
Espace Abbe Fret, Bretoncelles, France
Level 3 Gallery, Adelaïde, Australie
2004 : Picto, Montparnasse, Paris
2003 : James Gallery, Moscou
2002 :
Royal National Theatre, Londres
James Gallery, Moscou
Ministero de gusto, Marrakech
1999 :
National Cowboy Hall of Fame, Oklahoma City, États-Unis
Colorado Springs Fine Arts Center, États-Unis
1993 : Korun Gallery, Prague, République tchèque
1990 :
Portofolio Gallery, Londres
Agelli and Pamblad/Vanzaff, Göteborg, Suède
Neikrug Gallery, New York, États-Unis
1988 :
Galeria Occidente Colombiano, Cali, Colombia Galeria La Francia
Medellin, Colombia Galeria El Museo, Bogota, Colombie
1984 : Central Fall Gallery, New York, États-Unis
1983 :
Scurry County Museum, Snyder, Texas, États-Unis
Boor Hill Museau, Dodge City, Oklahoma, États-Unis
Central Fall Gallery, New York, États-Unis
Hardison Fine Arts, New York, États-Unis
1982 :
Gallery of Photographic arts, Cleveland, Ohio, États-Unis
The Afterimage, Dallas, Texas, Amarillo Fine Arts Center Museum, Amarillo, Texas, États-Unis
1980 :
Stanley and Schenk, Atlanta, Géorgie, États-Unis
International Center of Photography, New York, États-Unis
Secret Gallery, Provincetown, Massachusetts, États-Unis
1979 : L'Apos, Affiche Gallery, New York, États-Unis
1978 : Neil Gallery, New York, États-Unis
Albums et livres
2015 : The Rape of Prague (essai) traduit en français Le viol de Prague
2015 : Madonna Nudes II, Éditions Daab Media, Allemagne
Last of a Breed II, Éditions Verlag Kettler, Allemagne
Retrospection, 1966-2015, Éditions Duncan Meeder, Pays-Bas
2010 : Madonna Catalogue, Ode to Art, Singapour
2009 :
Q, Castor and Pollux, France
Madonna Catalogue, Casa Della Arte, Istanbul, Turquie
Le Perche des arts, Reflect Éditions, France
2005 : Cooking at home, On Rue Tatin, Morrow, États-Unis
2002 : Chef Daniel Boulud, Assouline, New York et Paris
2001 :
Madonna Nudes 1979, Longwind Publishing, Floride, États-Unis
Last of A Breed, Longwind Publishing, Floride, États-Unis
1998 : Café des artistes, Éditions Plume, Paris
1993 :
Hamish Heartland, Parco Publishers, Japon
Buckaroo, Callaway Editions, New York, États-Unis
Alexandra S, Fototage Editions, Francfort, Allemagne
1991 :
Czech Photographers in Exile, Prague (Tchécoslovaquie)
Bilderlust, Éditions Braus, Heidelberg, Allemagne
Way Out West, Treville Publishers, Japon
1990 : Madonna Nudes 1979, Taschen Verlag, Cologne, Allemagne
1988 :
I, Madonna, Shueisha Publishing, Japon
Last of a Breed, Bantam Books, New York, États-Unis, paperback
Cafés d’artistes à Paris (textes de Gérard-Georges Lemaire), Plume, Paris
1986 : The Majestic World of Arabian Horses, Abrams, New York, États-Unis
1982 : Last of A Breed, Texas Monthly Press, États-Unis
1980 : Bodyscape, Abbeville Press, New York, États-Unis
Notes et références
Liens externes
Photographe américain
Naissance en juin 1946
Photographe tchèque
Naissance à Prague
Photographe de nu
Naissance en Tchécoslovaquie | 7,683 |
https://es.wikipedia.org/wiki/Austronausibius%20edentatus | Wikipedia | Open Web | CC-By-SA | 2,023 | Austronausibius edentatus | https://es.wikipedia.org/w/index.php?title=Austronausibius edentatus&action=history | Spanish | Spoken | 29 | 68 | Austronausibius edentatus es una especie de coleóptero de la familia Silvanidae.
Distribución geográfica
Habita en Nueva Gales del Sur (Australia).
Referencias
Edentatus
Coleópteros de Australia
Insectos descritos en 1980 | 33,502 |
https://stackoverflow.com/questions/6307213 | StackExchange | Open Web | CC-By-SA | 2,011 | Stack Exchange | Cintia Resendiz, June Verzosa, Mohamed Hossam, https://stackoverflow.com/users/13701956, https://stackoverflow.com/users/13701957, https://stackoverflow.com/users/19786534 | English | Spoken | 105 | 180 | jQuery Mobile/PhoneGap and Audio
I'm writing an HTML/CSS jQuery Mobile app to be native-compiled for iPhone, Android and Blackberry using PhoneGap Build.
The app needs to play very short spoken word audio snippets, possibly in MP3 format. What are the options for maximum cross-device compatibility?
I understand there are problems with the HTML5 audio tag, and I've had a look at jPlayer but can't get it to work on iOS 4 where the player is added to a panel element.
Thanks
you will have to use the default media functions which included with phonegap itself ..
here is the link to the doc file
http://docs.phonegap.com/en/1.3.0/phonegap_media_media.md.html#Media
| 6,006 |
https://tr.wikipedia.org/wiki/Solpugema | Wikipedia | Open Web | CC-By-SA | 2,023 | Solpugema | https://tr.wikipedia.org/w/index.php?title=Solpugema&action=history | Turkish | Spoken | 11 | 47 | Solpugema, Solpuginae altfamilyasına bağlı bir hayvan cinsidir.
Dış bağlantılar
Kaynakça
Solpuginae | 6,375 |
https://pl.wikipedia.org/wiki/Puchar%20Ligi%20Ukrai%C5%84skiej%20w%20pi%C5%82ce%20siatkowej%20m%C4%99%C5%BCczyzn | Wikipedia | Open Web | CC-By-SA | 2,023 | Puchar Ligi Ukraińskiej w piłce siatkowej mężczyzn | https://pl.wikipedia.org/w/index.php?title=Puchar Ligi Ukraińskiej w piłce siatkowej mężczyzn&action=history | Polish | Spoken | 108 | 284 | Puchar Ligi Ukraińskiej w piłce siatkowej mężczyzn (ukr. Кубок Ліги з волейболу серед чоловічих команд, Kubok Lihy z wołejbołu sered czołowiczych komand) – cykliczne pucharowe rozgrywki w piłce siatkowej, organizowane corocznie przez Profesjonalną Ligę Piłki Siatkowej Ukrainy dla ukraińskich męskich klubów grających w danym sezonie w Superlidze. Zdobywca ligowego pucharu ma prawo w kolejnym sezonie uczestniczyć w europejskich pucharach.
Rozgrywki o Puchar Ligi Ukraińskiej utworzone zostały w 2022 roku wraz z powstaniem Profesjonalnej Ligi Piłki Siatkowej Ukrainy. Pierwsza edycja odbyła się w dniach 20-22 grudnia 2022 roku w miejscowości Hodyliw w rejonie storożynieckim. Zwycięzcą turnieju został , który w finale pokonał klub .
Triumfatorzy
Bilans klubów
Przypisy
! | 46,431 |
https://stackoverflow.com/questions/51069935 | StackExchange | Open Web | CC-By-SA | 2,018 | Stack Exchange | Ehsan, Ojas Kale, https://stackoverflow.com/users/1565274, https://stackoverflow.com/users/2223459 | English | Spoken | 252 | 542 | Django ORM fastest query to join two models and get a list of paired tuples
Here is how my models.py look like:
class Foo(models.Model):
name = models.CharField(max_length=30)
class Bar(models.Model):
name = models.CharField(max_length=30)
class Hat(models.Model):
foo = models.ForeignKey(Foo, on_delete=models.CASCADE)
bar = models.ForeignKey(Bar, on_delete=models.CASCADE)
num = models.PositiveIntegerField(default=0)
class Meta:
unique_together = ('foo', 'bar')
Now in my views.py I want to have a function like:
def index(request):
foo = request.foo
bars = Bar.objects.all()
hats = Hat.objects.filter(foo=foo).all()
#return ???
what I want as output of index function is a list of tuple like [(bar_1, hat_1),(bar_2, hat_2), ...] where for each hat_i we have hat_i.bar == bar_i and if there is no Hat object associated with a bar_i I want it to be paired with None.
What's the fastest way that I can build such list in Django?
Try This
foo = request.foo
bars = Bar.objects.all()
hats = Hat.objects.filter(foo=foo).all()
# List which has bar and hat pairings
final_list = [(x.bar, x) for x in hats]
# if want pairing with None, then do this
all_bars = set(bars)
included_bars = set([x.bar for x in hats])
no_hat_bars = all_bars - included_bars
for bar in no_hat_bars:
final_list.append(bar, None)
finally, final_list should have required contents.
I'm mostly looking for a db query which generates the final list, and don't want to do the same logic in memory.
here we are hitting db only twice, which we would hit anyway. line 2 & 3. there would be more db calls to say the least. right ? or what am I missing ?
| 16,418 |
https://ru.wikipedia.org/wiki/%D0%A2%D1%8B%D1%81%D1%8A%D1%8F%D1%8F%D1%85%D0%B0 | Wikipedia | Open Web | CC-By-SA | 2,023 | Тысъяяха | https://ru.wikipedia.org/w/index.php?title=Тысъяяха&action=history | Russian | Spoken | 73 | 233 | Тысъяяха (устар. Тытья-Яха) — река в России, протекает по Ямало-Ненецкому АО. Устье реки находится в 28 км по левому берегу реки Хадытаяха (приток Вынгапура). Длина реки составляет 20 км.
Данные водного реестра
По данным государственного водного реестра России относится к Нижнеобскому бассейновому округу, водохозяйственный участок реки — Пур, речной подбассейн реки — подбассейн отсутствует. Речной бассейн реки — Пур.
Код объекта в государственном водном реестре — 15040000112115300055974.
Примечания
Бассейн Вынгапура
Реки Пуровского района | 27,866 |
https://stackoverflow.com/questions/7181190 | StackExchange | Open Web | CC-By-SA | 2,011 | Stack Exchange | Agustín Regueira, Andrej, Boris Sverdlik, Carlsen Creech, DellaM, Drew Stiehl, Nitin Venkatesh, Poe Mose, Todd Martin, benvc, cliu0921, https://stackoverflow.com/users/15787746, https://stackoverflow.com/users/15787747, https://stackoverflow.com/users/15787748, https://stackoverflow.com/users/15787876, https://stackoverflow.com/users/15787907, https://stackoverflow.com/users/15787978, https://stackoverflow.com/users/15788049, https://stackoverflow.com/users/15788082, https://stackoverflow.com/users/15788088, https://stackoverflow.com/users/15788970, https://stackoverflow.com/users/15789111, https://stackoverflow.com/users/15789174, https://stackoverflow.com/users/15833326, https://stackoverflow.com/users/784890, https://stackoverflow.com/users/895121, rubensth, tiabletpqf, user15789174, yulin cai | English | Spoken | 787 | 1,770 | PHP + MySQL query : Unexpected results (for small number of results only)
Trying to show results from the MySQL DB based on the start date and end date given by the user. Following is the code :
//Getting Values From Other Page
$start_date = date("Y-m-d", strtotime($_GET["date3"]));
$end_date = date("Y-m-d", strtotime($_GET["date4"]));
//Server Connection Info
$server = "server_name";
$db_user = "username";
$db_pass = "pass";
$db_name = "dbname";
//Server Connection + Query
$link = mysql_connect($server,$db_user,$db_pass);
if(!$link)
{
die("Could Not Connect:".mysql_error());
}
mysql_select_db($db_name, $link) or die('Can\'t use db:'. mysql_error());
if ($start_date == $end_date){
$query = "SELECT col_a, col_b, col_c, col_d FROM main WHERE date='".$start_date."'";
}
else {
$query = "SELECT col_a, col_b, col_c, col_d FROM main WHERE date BETWEEN '".$start_date."' AND '".$end_date."'";
}
$result = mysql_query($query,$link) or die('Query Error'.mysql_error());
?>
<!-- HTML CODE STARTS HERE -->
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="qc_style.css" />
<link href='http://fonts.googleapis.com/css?family=Days+One' rel='stylesheet' type='text/css' />
</head>
<body>
<?php
$row = mysql_fetch_assoc($result);
$row_count = mysql_num_rows($result);
echo $row;
echo $row_count;
if($row_count!=0){
echo "<table>";
while($row = mysql_fetch_assoc($result))
{
echo "<tr><td>";
foreach($row as $value)
{
echo $value;
echo "</td><td>";
}
echo "<a href=\"qc_campedit.php?id=".$row['call_id']."\">Edit</a></td></tr>";
}
echo "</table>";
} //end of if statement
else {echo " Sorry, No records match your query";}
?>
</body>
</html>
I have two rows of data in my database for the date 2011-08-25 and one row of data for the date 2011-08-24.
When I specify the start date and end date as 2011-08-24, I get no
response.
However when I specify the start date and end date as 2011-08-25, I
get only one row of data belonging to 2011-08-25
When I specify the start date as 2011-08-24 and end date as
2011-08-25, I get the two rows of data belonging to 2011-08-25 and the row belonging to 2011-08-25.
However, when I specify the start date and end date as 2011-08-23, I get all the 20 rows of data belonging to 2011-08-23
Note: The number of arrays in $result for that particular timeframe is displayed correctly. i.e., $row_count = 1 for 2011-08-24 and $row_count = 2 for 2011-08-24
How do I solve this issue? Thanks in advance.
What is data type of date column?
The data type of the date column is DATE
If you would like to select fewer columns, do not use "SELECT * FROM..." instead use "SELECT name_of_col_A, name_of_col_B FROM table...".
Also I recommend sanitizing the date string you are accepting via $_REQUEST and passing into your query. Something along the lines of
$start_date = date("Y-m-d", strtotime($_REQUEST["date3"]));
should suffice.
Modified the query and the date, still the same result.
BETWEEN is just a way to specify inclusive range. I think in db you have DATETIME column for your date column, so BETWEEN '2011-08-24' AND '2011-08-24' returns just records with '2011-08-24 0:00:00'. To do what you want you need to write
WHERE DATE(your_datetime_column) BETWEEN '2011-08-24' AND '2011-08-24'
Nope, the column is a DATE column only, not a DATETIME.
Just one thing to add. If your know where your data is coming from use that source specifically and avoid $_REQUEST.
It isn't dangerous by itself but in certain situations it can present a security risk because it makes use of a fallback system which might actually pull data from places you don't wan to. I.e. $_REQUEST follows your EGPCS settings which means if no requested data is found in $_ENV it moves forward to $_GET, $_POST, $_COOKIE etc. and you don't want that.
If your data is coming specifically from GET then use $_GET['date3']
Your first call to mysql_fetch_assoc() is fetching the first row. Then you get into your loop and the first one it fetches is the next row, which is the first. I updated the code slightly below to use mysql_num_rows() to show your number of results.
<?php
$row_count = mysql_num_rows($result);
echo $row_count;
if($row_count==0) {
echo "Sorry, no records match your query";
else {
echo "<table>";
while($row = mysql_fetch_assoc($result))
{
echo "<tr><td>";
foreach($row as $value)
{
echo $value;
echo "</td><td>";
}
echo "<a href=\"qc_campedit.php?id=".$row['call_id']."\">Edit</a></td></tr>";
}
echo "</table>";
}
?>
Thanks for that, modified the code, but still haven't gotten the proper result. The $row_count says 2 (thanks to mysql_num_rows($result))but only one row is getting displayed... This seems to be the case with smaller number of rows in $result.
I'm sorry, not examining your three useCases exactly.
But first of all I see in your code, that you're fetching the first row only for knowing "row_count".
I have added some comment on this:
$row = mysql_fetch_assoc($result); // get row 1 from mysql-result
$row_count = count($row); // always the number of attributes returned in one row
echo $row;
echo $row_count;
if($row_count!=1) { // always true
// fetch lines 2-n and write to table
}
use mysql_num_rows() if you need the number of returned rows.
| 8,546 |
https://id.wikipedia.org/wiki/Arimba%20%28kota%20kecil%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Arimba (kota kecil) | https://id.wikipedia.org/w/index.php?title=Arimba (kota kecil)&action=history | Indonesian | Spoken | 25 | 63 | Arimba adalah sebuah kota kecil dan komune di Angola, tepatnya berada di Provinsi Huíla.
Lihat pula
Komune di Angola
Referensi
Tempat berpenduduk di Provinsi Huíla | 18,075 |
https://et.wikipedia.org/wiki/IV%20liiga%202018 | Wikipedia | Open Web | CC-By-SA | 2,023 | IV liiga 2018 | https://et.wikipedia.org/w/index.php?title=IV liiga 2018&action=history | Estonian | Spoken | 91 | 428 | IV liiga 2018 oli Eesti jalgpalli tugevuselt kuuenda liiga, IV liiga 2018. aasta hooaeg, mis jagunes kolme tsooni – ida/põhi, põhi/lääs ja lõuna.
IV liiga ida/põhi
Meeskonnad
Liigatabel
|-
|colspan="11"|Allikas: Eesti Jalgpalli Liit
|}
Mängutulemused
|-
|
style="background: #DFE7FF;"|4 : -2
style="background: #DFE7FF;"|4 : -2
Parimad väravakütid
IV liiga põhi/lääs
Meeskonnad
Liigatabel
|-
|colspan="11"|Allikas: Eesti Jalgpalli Liit
|}
IV liiga lõuna
Meeskonnad
Liigatabel
|-
|colspan="11"|Allikas: Eesti Jalgpalli Liit
|}
Vaata ka
Meistriliiga 2018
Esiliiga 2018
Esiliiga B 2018
II liiga 2018
III liiga 2018
Viited
IV liiga
2018. aasta Eesti spordis | 49,521 |
https://hr.wikipedia.org/wiki/Plo%C4%8Dasta%20ko%C4%8Dnica | Wikipedia | Open Web | CC-By-SA | 2,023 | Pločasta kočnica | https://hr.wikipedia.org/w/index.php?title=Pločasta kočnica&action=history | Croatian | Spoken | 557 | 1,385 | Pločasta kočnica, kočnica s pločom ili disk kočnica predstavlja noviji način rješavanja problema kočenja. Kočna ploča vezana je vijcima na glavinu kotača. Nosač kočnice, koji je čvrsto vezan na osovinu vozila, nosi u sebi čeljusti kočnice, koje su obložene tarnim (frikcijskim) oblogama. Hidrauličkim djelovanjem dvaju radnih cilindara, koji se nalaze s obje strane kočne ploče u nosaču kočnice, izaziva se pritiskivanje čeljusti kočnice na kočnu ploču, a time i samo kočenje. Djelovanje je jednako djelovanju tarne spojke. Rastavljanje ploče vrši se vijčanim oprugama. Radi što boljeg hlađenja, ploča se kočnice često izvodi s poprečnim (radijalnim) šupljinama i rebrima. Jedna je od velikih prednosti kočnice s pločom da je neosjetljiva prema promjenama koeficijenta trenja obloga, pa joj je stupanj djelovanja vrlo stabilan.
Tarne kočnice
Kod tarnih kočnica dolazi nakon uključivanja kočionog dijela s oblogom do trenja između pokretnih dijelova kočnice i obloge koja miruje. Kočenjem smanjena kinetička energija pretvara se u toplinu. Ova tako razvijena toplina mora biti odvođena, što je zadatak kod konstruiranja kočnice. Tarne kočnice nalaze široku primjenu u raznim industrijskim granama. Omogućuju jednostavne, jeftine, pouzdane i za razne pogone prilagodljive izvedbe. Troškovi održavanja kočnica su niski, vijek trajanja relativno dug, a sile potrebne za uključivanje niske. Ove vrste kočnica služe često i kao sigurnosni organi. Uključivanje kočnice može biti ručno, pneumatski, hidraulički, i to bilo direktno ili preko poluga. Nedostatci su tarnih kočnica: trošenje tarnih dijelova, promjenjivost kočionog momenta sile. Do ove promjenjivosti dolazi zbog promjena koeficijenta trenja izazvanog promjenama temperature, vlage, brzine i tlaka na oblogama. Prema načinu izvedbe razlikujemo čeljusne, pojasne, pločaste (lamelne) i stožaste kočnice.
Sustav za kočenje kod automobila
Sustav za kočenje djeluje na temelju umjetnog povećanja otpora okretanja kotača. Radna kočnica (s bubnjem ili s diskom) služi za usporavanje automobila u prometu i za njegovo potpuno zaustavljanje, djeluje na svim kotačima, a pokreće (aktivira) se nožno, s pomoću pedale. Kočnice s diskom primjenjuju se u prvom redu u osobnim i drugim lakim automobilima, i to prije svega na njihovim prednjim kotačima. Pomoćna kočnica djeluje, u pravilu, samo na dva stražnja kotača i obično se pokreće ručno. Ona je ujedno i parkirna kočnica za kočenje zaustavljenog vozila. Ubrzavanje lakih vozila (osobni automobili i slično) za vrijeme vožnje na nizbrdici sprječava motor, a u teškim gospodarskim vozilima mora za to biti ugrađena posebna kočnica (retarder). Prijenosni sklop prenosi nalog aktiviranja kočnice od pedale (ručice) do kočnice. Prema izvedbi prijenosni je sklop mehanički, hidraulični ili pneumatski. Mehanički sklop služi za pomoćne kočnice, dok se za aktiviranje radne kočnice primjenjuju hidraulični (osobni automobili) i pneumatski sklopovi (gospodarska vozila). Danas se kočnicama sve češće pridružuje regulacijsko-elektronički sustav ABS.
Servomehanizam
Servomehanizam (od lat. servus: sluga, rob + grč. μηχανή: stroj) je uređaj za ostvarivanje ili pojačavanje snage kojom se upravlja nekim mehanizmom, strojem, vozilom, brodom, letjelicom i slično (kadšto servouređaj ili samo servo). Obično služi i za prigušivanje vanjskih poremećaja pri upravljanju (promjenljivog opterećenja radnoga mehanizma, udara vjetra, vodenih valova i drugo). Može biti mehanički, električni, magnetski, pneumatski ili hidraulički, a nerijetko se sastoji od servomotora i dijelova radnoga mehanizma. Servomotori se primjenjuju kao dijelovi servomehanizama u alatnim strojevima, strojevima za pakiranje, industrijskim robotima, kod upravljanja letjelicama, plovilima i drugom. [1]
Električni ili hidraulički servomehanizam koristi se na primjer kod cestovnih vozila kao servoojačivač, kojim se na pritisak papučice ili okret upravljača razvija potrebna sila za kočenje (servokočnica) ili upravljanje vozilom (servoupravljač).
Izvori
Dijelovi kopnenih vozila | 10,118 |
https://stackoverflow.com/questions/16871222 | StackExchange | Open Web | CC-By-SA | 2,013 | Stack Exchange | Mantra, https://stackoverflow.com/users/1752905 | Norwegian Nynorsk | Spoken | 453 | 893 | Changing the letters in a string
if (part == TRUE) {
char finalstring;
finalstring = *change(strfromfile);
printf("\n%s", finalstring);
}
return 0;
}
char
*change(char *str) {
int i, len;
len = strlen(str);
for (i=0; i < len; i++){
if (str[i] == "\n") {
str[i] = " ";
}
}
return str;
}
So I'm trying to change a string by removing newlines (\n) and changing them into
spaces (" ").
I'm getting a lot of warnings(comparison between pointer and integer,comparison with string literal results) and the change function doesn't return the string correctly. I just get back a space and a quotation mark.
what Error you are getting?
Some statements in your code are troublesome and will give you warnings
char
*change(char *str) {
int i, len;
len = strlen(str);
for (i=0; i < len; i++){
if (str[i] == "\n") { //this is troublesome
****str[i] = " "; //this is troublesome****
}
}
return str;
}
add str[i] = ' ' instead of str[i]=" ";
You are trying to compare string literal and character--that's not acceptable
char
*change(char *str) {
int i, len;
len = strlen(str);
for (i=0; i < len; i++){
if (str[i] == '\n') {
str[i] = ' ';
}
}
return str;
}
and here the *change(strfromfile) is not needed.
Also it seems you forgot to declare char *finalstring but you declared
char finalstring and assigning a pointer to it that's not acceptable.
if (part == TRUE) {
char finalstring; //this is troublesome
finalstring = *change(strfromfile); //this is trouble some
printf("\n%s", finalstring);
}
return 0;
}
change to
if (part == TRUE) {
char *finalstring;
finalstring = change(strfromfile);
printf("\n%s", finalstring);
}
return 0;
}
I hope this is enough. And from next time try to post whole compilable code instead of fragments. Short Self Contained Code Example (SSCCE).
This:
finalstring = *change(strfromfile); /*getting error here*/
Does not make sense. change() returns a string (char*), and you're just capturing its first character here. Then you're printing it as a string (%s) with printf(), which if you had your compiler's warnings turned on, you would never have expected to run properly, because it's undefined behavior. Turn on your compiler's warnings (e.g. gcc -Wall -Wextra -Werror) and think about what you're doing with finalstring.
Just change " " to ' ' .
if (str[i] == '\n') {
str[i] = ' ';
You are assigning char * returning from function to char finalstring. function calling *change(str) should be just function(str);
char *finalstring=change(strfromfile);
Be sure that strfromfile string is terminated with "\0" NULL character if not strlen() and printing "%s" may also be an issue.
You should change char in the string you can do following
if(str[i] == '\n')
{
str[i] = ' ';
}
| 26,685 |
JTJrf0NBMGY_1 | Youtube-Commons | Open Web | CC-By | null | President Reagan's and King Hussein of Jordan Departure Remarks on May 29, 1985 | None | English | Spoken | 770 | 882 | We have just concluded a very useful meeting in lunch with King Hussein. We all recognize that the positive atmosphere which has developed in the Middle East recently can be credited in great measure to His Majesty King Hussein. Steps he has taken over the last year gave new momentum to the search for peace. Our discussions today have provided further evidence of Jordan's commitment to a peaceful resolution of the Middle East conflicts which should prompt a sense of gratitude from men of goodwill everywhere. The United States has long played a central role in the Middle East peace process. We're proud of what we've helped accomplish, and we look forward to continuing to make meaningful contributions. But we hope that His Majesty's courageous steps forward can lead to direct negotiations between the parties based on United Nations Security Council resolutions 242 and 338 by the end of this year, and we'll do our part to help bring this about. Our goal remains a just, lasting, and comprehensive peace which will satisfy the legitimate rights of the Palestinian people and provide for the security of all states in the region, including Israel. We recognize Jordan's economic and security needs, and in the spirit of working together, I have told the king that we will be able to count on the United States for assistance in addressing problems which Jordan may face in those areas. We are pleased and proud to have had His Majesty here with us today. Thank you very much indeed, Mr. President, for your kind words. Ladies and gentlemen, I have had a full, friendly, and useful discussion with the President on all issues of mutual concern. Regarding the prospects of peace in our area, I have told the President that a just, comprehensive, and durable peace in the Middle East should secure the legitimate rights of the Palestinian people, including their right of self-determination within the context of a Jordanian-Palestinian confederation. I have also assured the President that on the basis of the Jordan PLO Accord of 11th February, and as a result of my recent talks with the PLO, and in view of our genuine desire for peace, we are willing to negotiate within the context of an international conference a peaceful settlement on the basis of the permanent United Nations resolutions including Security Council resolutions 242 and 338. We are offering a unique opportunity for peace which might not be with us for long. I hope the United States, under the courageous and dedicated leadership of President Reagan, will find a way to seize this opportunity and respond positively to our peace efforts. The active and balanced role of the United States is an essential element for the success of the peace process. I would like to thank the President for his hospitality and kind words and wish him continued good health and every success. In that regard, it is our hope that an international conference would enable the parties to the conflict to negotiate the establishment of a just and durable peace in the Middle East. We need the international umbrella to offer us the opportunity to negotiate and when I speak of negotiations, I obviously mean negotiations amongst the party to the conflict. In other words, negotiations between the Arab side, in this case a Jordanian-Palestinian delegation with Israel on the other side. This is under discussion and we have not resolved some differences that we have in views on this, but we are going to certainly continue in these discussions. We have made it very plain here to for and nothing has changed with regard to those conditions under which we would meet with the PLO. Well, I can cite an example of the international conference of 1973. We met and negotiations were carried out between the Arab side and Israel. This is, I believe, a last chance for peace, we are approaching it. As I've explained, determined to do all we could for the establishment of a just and durable peace in our area and obviously when we speak of negotiations, we speak of them within the context of an international conference, but negotiations amongst the parties to the conflict. Well, we certainly are approaching the whole issue, not in a belligerent fashion. I'm almost sure of that. What I have said in my statement is the result of my discussions with the PLO, yes. I'm certainly hoping very, very much indeed that we will see some progress this year, yes. This is all being worked on right now with us or together. This is what we are discussing. | 16,936 |
https://en.wikipedia.org/wiki/When%20a%20Girl%20Marries | Wikipedia | Open Web | CC-By-SA | 2,023 | When a Girl Marries | https://en.wikipedia.org/w/index.php?title=When a Girl Marries&action=history | English | Spoken | 369 | 543 | When a Girl Marries is an American daytime radio drama that was broadcast on three major radio networks from 1939 to 1957. Created by Elaine Sterne Carrington (who also was responsible for Pepper Young's Family and Rosemary), it was the highest rated soap opera during the mid-1940s.
Air dates and audience
The series premiered May 29, 1939, on CBS, moving to NBC on September 29, 1941, and then to ABC on July 2, 1951. As it began its third year on the air, the program's audience was estimated at 8 million per week.
Sponsors included Prudential Insurance.
Synopsis
Promoted as "the tender, human story of young married life, dedicated to everyone who has ever been in love," the convoluted plot threads followed a married couple, Harry Davis (John Raby, Robert Haag) and Joan Field Davis (Noel Mills, Mary Jane Higby), as they confronted endless problems in the small town of Stanwood. Carrington created numerous conflicts by contrasting Harry's impoverished background with Joan's high society family.
Cast and crew
Others in the cast included Michael Fitzmaurice, Marion Barney, Ellen Fenwick and Staats Cotsworth. Announcers included Frank Gallop, Bill Mazer and George Ansbro. Music was by organist Rosa Rio and others.
Internationally
A long-running Australian version was broadcast on the Major Broadcasting Network. Prior to World War II, transcription discs of many U.S. programs were imported into Australia, but after America entered the war, this became impossible, but scripts were still able to be imported, and the Australian version was based on the U.S. program. A download of the first Australian episode is available on YouTube.
TV spinoff
On August 3, 1953, Follow Your Heart debuted on NBC-TV. Created by Carrington, the program was based on the early scripts of When a Girl Marries. It was off the air by January 8, 1954.
References
External links
4-page photo feature and review of When a Girl Marries from January 1948 TV-Radio Mirror magazine, pages 50-53
When a Girl Marries "novelette" in Radio and Television Mirror May 1940, page 17
1939 radio programme debuts
1957 radio programme endings
1930s American radio programs
1940s American radio programs
1950s American radio programs
American radio soap operas
NBC radio programs
CBS Radio programs
ABC radio programs | 44,324 |
d-FbuMlPIdI_1 | Youtube-Commons | Open Web | CC-By | null | PM Modi was determined to make it, says Dr. Krishna Ella of Bharat Biotech... Watch video! | None | Tamil | Spoken | 17 | 127 | நான் காதல் மிகவும் காதல் செய்தும் காதல் மிகவும் சரியாக இருக்கிறது. நிலைக்கும் இது நிலைக்கும் முடியரில் இந்தக் குழப்புகளை நிலைக்கும் நிலைக்கும்.
| 34,532 |
https://stackoverflow.com/questions/8903379 | StackExchange | Open Web | CC-By-SA | 2,012 | Stack Exchange | Alec Horth, Alvin Brillantes, Atos BF, Jon Shi, Juhl MacMillan, Lundgren Munch, Mark K., NGeron456, Sergey Benner, Shea Ejlersen, Whittaker Hu, https://stackoverflow.com/users/1140620, https://stackoverflow.com/users/20116353, https://stackoverflow.com/users/20116354, https://stackoverflow.com/users/20116355, https://stackoverflow.com/users/20117166, https://stackoverflow.com/users/20117167, https://stackoverflow.com/users/20117350, https://stackoverflow.com/users/20117910, https://stackoverflow.com/users/20118550, https://stackoverflow.com/users/20122038, https://stackoverflow.com/users/20143402, https://stackoverflow.com/users/20143403, sneh jaiswal | English | Spoken | 646 | 1,679 | standalone jdbc-pool implementation memory leak
I am trying to implement jdbc-pool in a standalone web app (self contained - not relying on server.xml) so that it can be moved to tomcat installations that may be earlier than 7.0.
I am connecting to MSSQL Server with the sourceforge driver (net.sourceforge.jtds.jdbc.Driver)
Everything runs fine except for this error:
SEVERE: The web application [/jdbc-pool] appears to have started a
thread named [[Pool-Cleaner]:Tomcat Connection Pool[1-12524859]] but
has failed to stop it. This is very likely to create a memory leak.
Based on this I determined that I need to close the jdbc-pool datasource. I am having trouble with this last line from that post though:
>> If it is configured in the application context, then this simply
means you forgot to call DataSource.close on the connection pool when
your web application is stopped.
> This is confusing advice because javax.sql.DataSource doesn't have
a close() method.
In order to call close, one has to cast it to what ever the data
source you are using.
How do I find out what type of datasource I am using and where is the class for it? Can I extract it from the driver jar somehow?
In addition to a servlet which uses the pool, I am using a ServletContextListener so that I can start out with pooled connections immediately from the contextInitialized method. I started adding the code to kill the connection in the contextDestroyed method of this ServletContextListener but got hung up where the question marks are:
import java.sql.Driver;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.Enumeration;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.servlet.ServletContext;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.sql.DataSource;
public class JdbcPoolListener implements ServletContextListener {
@Override
public void contextInitialized(ServletContextEvent myServletContextEvent) {
// initialize jdbc-pool datasource to start out with pooled connections
try {
Context myContext = (Context) new InitialContext().lookup("java:comp/env");
DataSource myDataSource = (DataSource) myContext.lookup("jdbc/db");
myServletContextEvent.getServletContext().setAttribute("JdbcPool", myDataSource);
} catch (NamingException e) {
System.out.println("Error initializing jdbc-pool datasource");
e.printStackTrace();
}
}
@Override
public void contextDestroyed(ServletContextEvent myServletContextEvent) {
// failed attempt to close the data source
ServletContext myServletContext = myServletContextEvent.getServletContext();
//DataSource myDataSource = (DataSource) myServletContext.getAttribute("JdbcPool");
DataSource dataSource = (DataSource)((???) myServletContext.getAttribute(contextAttribute)).getConfiguration().getEnvironment().getDataSource();
dataSource.close();
myServletContext.removeAttribute("JdbcPool");
// deregister JDBC driver to prevent Tomcat 7 from complaining about memory leaks
Enumeration<Driver> drivers = DriverManager.getDrivers();
while (drivers.hasMoreElements()) {
Driver driver = drivers.nextElement();
try {
DriverManager.deregisterDriver(driver);
System.out.println(String.format("Deregistering jdbc driver: %s", driver));
} catch (SQLException e) {
System.out.println(String.format("Error deregistering driver %s", driver));
e.printStackTrace();
}
}
}
}
in your particular case it is most likely net.sourceforge.jtds.jdbcx.JtdsDataSource and try to play with socketTimeout settings this will close connection if it idles. more in the docs of the driver.
Resolved this, I noticed that the tomcat.jdbc.pool.DataSourceProxy had a close method, so I cast the datasource as a DataSourceProxy, then called closed on it. I no longer get the tomcat memory leak error in the log now.
SOLUTION:
import java.sql.Driver;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.Enumeration;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.servlet.ServletContext;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.sql.DataSource;
import org.apache.tomcat.jdbc.pool.DataSourceProxy;
public class JdbcPoolListener implements ServletContextListener {
@Override
public void contextInitialized(ServletContextEvent myServletContextEvent) {
// initialize jdbc-pool datasource to start out with pooled connections
try {
Context myContext = (Context) new InitialContext().lookup("java:comp/env");
DataSource myDataSource = (DataSource) myContext.lookup("jdbc/cf");
myServletContextEvent.getServletContext().setAttribute("JdbcPool", myDataSource);
} catch (NamingException e) {
System.out.println("Error initializing jdbc-pool datasource");
e.printStackTrace();
}
}
@Override
public void contextDestroyed(ServletContextEvent myServletContextEvent) {
// close datasource from proxy?
ServletContext myServletContext = myServletContextEvent.getServletContext();
DataSourceProxy myDataSource = (DataSourceProxy) myServletContext.getAttribute("JdbcPool");
myDataSource.close();
myServletContext.removeAttribute("JdbcPool");
// deregister JDBC driver to prevent Tomcat 7 from complaining about memory leaks
Enumeration<Driver> drivers = DriverManager.getDrivers();
while (drivers.hasMoreElements()) {
Driver driver = drivers.nextElement();
try {
DriverManager.deregisterDriver(driver);
System.out.println(String.format("Deregistering jdbc driver: %s", driver));
} catch (SQLException e) {
System.out.println(String.format("Error deregistering driver %s", driver));
e.printStackTrace();
}
}
}
}
I guess if you had used the org.apache.tomcat.jdbc.pool.DataSource class you would get the same result because it extends the DataSourceProxy and the DataSourceProxy implements the PoolConfiguration and the DataSourceProxy has the close() method to close the pool.
| 47,392 |
https://ru.wikipedia.org/wiki/Kurenai | Wikipedia | Open Web | CC-By-SA | 2,023 | Kurenai | https://ru.wikipedia.org/w/index.php?title=Kurenai&action=history | Russian | Spoken | 600 | 1,597 | — песня японской метал-группы X Japan. Является одной из старейших композиций группы, исполняемой с 1985 года. Существует несколько вариантов песни, один из которых был издан в качестве сингла 1 сентября 1989 года.
Предыстория и выпуск
Впервые «Kurenai» вышла на концертных демо-записях Live и Endless Dream, выпущенных в июне 1985 года. В этом варианте песня полностью на японском языке, между тем её следующая версия, которая появилась в дебютном альбоме Vanishing Vision в апреле 1988 года, целиком на английском и начинается с гитарного вступления Хидэ. Флекси-диск, включённый в выпуск журнала Rockin’ f за июнь 1988 года, содержит «Kurenai (Original Japanese Version)», которая начинается со вступления Ёсики на пианино и, несмотря на название, исполняется в основном на английском. Вариант песни с альбома 1989 года Blue Blood начинается с оркестрового, затем гитарного вступления и исполняется в основном на японском (на английском первые слова). Через несколько месяцев был выпущен сингл, который весьма схож с вариантом с Blue Blood, но не имеет оркестрового вступления. Сторона «Б» сингла содержит концертную версию песни «20th Century Boy» британской рок-группы T. Rex, записанную 10 июня 1989 года в открытом театре «Хибия».
По словам Хидэ, «Kurenai» была для него любимой песней X до его присоединения к группе, и он оказался разочарован тем, что они не исполнили её с ним, когда он стал их гитаристом. Поэтому ему пришлось изводить других участников, чтобы сыграть песню. По мнению Ёсики, это можно объяснить слишком простой аранжировкой песни в то время. И Тоси, и Тайдзи чувствовали заметную японскую ноту в песне, причём Тайдзи подчеркнул, что каждый участник группы внёс свой вклад в тот вариант песни, который вошёл в дебютный альбом.
«Kurenai» является одной из фирменных песен X Japan, она исполняется почти на всех концертах. При этом часто сцена освещается красным светом, а в конце песни группа даёт публике исполнить последний припев.
Видеоклипы
Первое музыкальное видео на «Kurenai» вышло на VHS Xclamation в 1987 году. В 2005 году оно было включено на DVD в бокс-сет .
Второй видеоклип содержит в основном кадры выступления группы в январе 2010 года на крыше театра «Кодак» в Голливуде (штат Калифорния, США). Режиссёр — Нейтан Фокс.
Коммерческий успех
Сингл занял 5-е место в чарте Oricon и пребывал в нём 39 недель. В 1989 году продажи сингла достигли 133 090 копий, он стал 74-м самым продаваемым синглом года. В 1990 году продажи составили 176 450 копий, он стал 67-м самым продаваемым синглом и получил золотую сертификацию Японской ассоциации звукозаписывающих компаний.
Кавер-версии и наследие
Бразильская пауэр-метал-группа Shaman включила кавер-версию «Kurenai» в японское издание альбома Origins (2010). Японская группа Matenrou Opera исполнила песню для сборника Crush! −90’s V-Rock Best Hit Cover Songs- (2011), в котором представлены песни известных групп, которые повлияли на зарождение вижуал-кэя, исполненные современными вижуал-кэй-группами. Женская хеви-метал-группа записала собственную версию песни для кавер-альбома Glamorous Show — Japanese Legendary Rock Covers (2014), а также сняла видеоклип на неё. Актриса озвучивания исполнила песню для альбома THE IDOLM@STER CINDERELLA MASTER Passion jewelries! 002 (2014). Японская метал-группа Esprit D’Air выпустила кавер-версию «Kurenai» в качестве сингла в 2021 году и видеоклип к нему .
21 ноября 1993 года SME Records выпустила короткометражный фильм по мотивам манги X, созданной художественным коллективом Clamp. Фильм содержит иллюстрации манги на фоне песен «Silent Jealousy», «Kurenai» и «Endless Rain», а также видеоклип на песню «X», режиссёром которого выступил Сигэюки Хаяси.
«Kurenai» доступна для исполнения в серии музыкальных игр Taiko no Tatsujin начиная с Taiko no Tatsujin 8, а также в Taiko no Tatsujin Wii: Do Don to 2 Daime, Taiko no Tatsujin: Portable DX и Taiko no Tatsujin Plus.
В 2019 году японская телепередача назвала «Kurenai» «самой интенсивной» и четвёртой лучшей «песней в высокой тональности» эры Хэйсэй.
Список композиций
Примечания
Песни X Japan | 5,659 |
https://tr.wikipedia.org/wiki/Li%20%28Zhou%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Li (Zhou) | https://tr.wikipedia.org/w/index.php?title=Li (Zhou)&action=history | Turkish | Spoken | 62 | 196 | Li (; ö. MÖ 878), Çin'in Zhou Hanedanı'nın 10. hükümdarıdır. Saltanatı MÖ 877'den MÖ 841 yılına kadar sürmüştür.
Li, yozlaşmış ve baskıcı bir hükümdar olup vergileri arttırması tebaası arasında sefalete neden oldu. Li'nin kötü yönetimi kısa sürede birçok köylü ve askeri isyana zorladı ve Li, Zhi adlı bir yere sürgüne gönderildi.
Kaynakça
MÖ 9. yüzyılda ölenler
MÖ 9. yüzyıl liderleri
Zhou hükümdarları | 28,627 |
https://es.wikipedia.org/wiki/Ken%20Foree | Wikipedia | Open Web | CC-By-SA | 2,023 | Ken Foree | https://es.wikipedia.org/w/index.php?title=Ken Foree&action=history | Spanish | Spoken | 644 | 1,291 | Kentotis Alvin Foree (29 de febrero de 1948 en Indianápolis,
Indiana) es un actor estadounidense de cine y televisión.
Comenzó a actuar en la década de 1970, siendo sus primeras actuaciones cinematográficas en la película The Bingo Long Traveling All-Stars & Motor Kings (1976) y en las películas de The Wanderers y El amanecer de los muertos filmadas en 1979.
Posteriormente trabajó en la remake de El dentista (1996) y en la película Knightriders (1981). En el 2005, protagonizó el papel de Charlie Altamont en la película Los renegados del diablo. Foree también desempeñó el papel de Roger Rockmore, el padre de Kenan y Kyra, en la serie de Nickelodeon Kenan & Kel.
Foree apareció también en la remake de 2007 de la película de 1978 Halloween y en el remake de El amanecer de los muertos."
Filmografía
Dimension 404 (2017) - Agente X, episodio "Polybius"
The Rift (2016) - John Smith
The Divine Tragedies (2015) - Homer
Cut/Print (2012) - Detective Jack Stanley
The Lords of Salem (2012) - Herman Jackson
Agua para elefantes (2011) - Earl
The Haunted World of El Superbeasto (2009) - Luke St. Luke
Live Evil (2009) - Max
Zone of the Dead (2009) - Mortimer Reyes
30 Days of Night: Dust to Dust (2008) - Nate Keller, miniserie.
Halloween (2007)
Brotherhood of Blood (2007) - Stanis
Splatter Disco (2007)
Devil's Den (2006) - Leonard
Los renegados del diablo (2005) - Charlie Altamont
Grand Theft Auto: San Andreas (2005) - Peatón (voz, videojuego).
El amanecer de los muertos (2004) - Teleevangelista.
The Nightmare Room (2000) - episodio "Locker 13".
Kenan & Kel: Roger Rockmore (1996 - 2000) - Roger Rockmore, 60 episodios.
The Dentist (1996) - Detective Gibbs
The X-Files,(1995) - Vincent Parmelly, episodio "The List".
Babylon 5 (1995) - episodio "Gropos"
Sandman: Tu peor pesadilla (1995) - Detective Rolands.
Renegade (1994) - Billy, episodio "Hostage"
Joshua Tree (1993)
General Hospital (1992) - varios episodios.
The Flash (1991) - episodio "Beat the Clock"
Héroes de la tormenta del desierto (1991) - Sargento Leroy Ford
Hangfire (1991) - Billy
Justicia para mi hija (1991)
Guerrero de la noche (1991) - Oliver
Inmunidad diplomática (1991) - Del Roy Gaines
Quantum Leap (1990) - episodio "Pool Hall Blues"
Matlock (1990) - Billy Leon, episodio "The Fighter"
Encanto fatal (1990) - Willy
En las alcantarillas (1990) - Buckley
Millonario al instante (1990)
Sin ti no soy nada (1990) - Emcee
Leatherface: Texas Chainsaw Massacre III (1990) - Benny
Death Spa (1989) - Marvin
Beauty and the Beast (1989) - Morley, episodio "A Kingdom by the Sea"
From Beyond (1986) - Buford 'Bubba' Brownlee
Knight Rider (1985) - Spider-Man, episodio "Redemption of a Champion"
Hunter (1985) - Louis McMahon, episodio "Honesty".
227 (1985) - Marvin Grant, episodio "Honesty"
Knight Rider (1984) - Danton, episodio "Knight in Disgrace"
Blue Thunder (1984) - Alfie, episodio "The Island".
Riptide (1984) - episodio "Catch of the Day"
The A-Team (1984) - Dirkson, episodio "Chopping Spree".
Jo Jo Dancer, Your Life Is Calling (1986)
Remington Steele (1983) - Herschel 'The Hammer' Sinclair, episodio "Steele Knuckles and Glass Jaws"
TJ Hooker (1983) - Barman, episodio "Lady in Blue".
Tales of the Gold Monkey (1982) - Hugo, episodio "Shangaied".
Report to Murphy (1982) - Big Walter, 3 episodios.
Hill Street Blues (1981-1982) - 2 episodios.
Terror Among Us (1981) - Prisionero. Película para TV.
Elvis and the Beauty Queen (1981) - Boxeador. Película para TV.
The Dukes of Hazard (1981) - Rollo, episodio "State of the County"
Knightriders (1981)
The Fish That Saved Pittsburgh (1979)
The Wanderers (1979)
El amanecer de los muertos (1978) - Peter
Kojak (1977) - episodio "The Condemned"
The Bingo Long Traveling All-Stars & Motor Kings (1976)
Enlaces externos
Sitio oficial (en inglés)
Nacidos en Indianápolis
Actores de Estados Unidos
Actores de televisión de Estados Unidos
Reparto de Kenan & Kel
Reparto de The Texas Chainsaw Massacre | 12,728 |
https://de.wikipedia.org/wiki/Gefecht%20bei%20Rinnthal | Wikipedia | Open Web | CC-By-SA | 2,023 | Gefecht bei Rinnthal | https://de.wikipedia.org/w/index.php?title=Gefecht bei Rinnthal&action=history | German | Spoken | 671 | 1,310 | Das Gefecht bei Rinnthal (auch Schlacht von Rinnthal) war das heftigste Gefecht des Pfälzischen Aufstandes und fand am 17. Juni 1849 bei Rinnthal im Tal der Queich statt. Die Revolutionstruppen unter August Willich versuchten vergeblich den Vormarsch der preußischen Truppen auf Landau aufzuhalten.
Vorgeschichte
Die Bewegung der Märzrevolution in den Mitgliedsstaaten des deutschen Bundes hatte zur Wahl der Frankfurter Nationalversammlung als erster gesamtdeutscher Volksvertretung geführt. Dieses Parlament hatte am 28. März 1849 eine Verfassung des deutschen Reiches verkündet, die die Staatsform einer erblichen konstitutionellen Monarchie vorsah. Der preußische König Friedrich Wilhelm IV. lehnte die angebotene Kaiserkrone ab. Am 23. April lehnten der bayerische König und seine Regierung die Paulskirchenverfassung ab, was von der Linken als Staatsstreich angesehen wurde. Am 2. Mai wurde beschlossen, einen zehnköpfigen Landesausschuss zur Verteidigung und Durchführung der Reichsverfassung einzurichten und am 7. Mai 1849 legitimierte der Bevollmächtigte der Zentralgewalt für die Pfalz, Bernhard Eisenstuck, den Landesverteidigungsausschuss.
Am 3. Mai 1849 brach der Dresdner Maiaufstand aus, der bereits am 9. Mai durch sächsische und preußische Truppen niedergeschlagen wurde. Am 11. Mai begann der dritte badische Aufstand mit der Meuterei der badischen Truppen in der Bundes-Festung Rastatt.
Am 11. Juni begann die Invasion eines improvisierten „1.“ preußischen Armeekorps unter Generalleutnant Moritz von Hirschfeld. Die Avantgarde seiner 1. Division unter Hauptmann Hermann von Hanneken überschritt bei Kreuznach unangefochten die pfälzische Grenze und rückte nach Süden vor.
Beteiligte Verbände
Auf Seite der Revolutionsarmee war an vorderster Front ein pfälzisches Volkswehr-Bataillon unter Alexander Schimmelfennig, das sich vor den anrückenden Preußen von Hinterweidenthal auf Rinnthal zurückgezogen hatte. Am 17. Juni kam August Willich mit seiner Freischar von Frankweiler nach Rinnthal. Er brachte auch das Karlsruher Freikorps Dreher mit und Friedrich Engels gehörte ebenfalls zu Willichs Freischar.
Major Mutius rückte mit der Avantgarde der 2. Division des 1. Armeekorps an. Zunächst ging er mit einem Füsilier-Bataillon des 25. Infanterieregiments, einer Jäger-Kompanie und zwei Geschützen gegen die Stellung der Freischaren vor, während ein Bataillon zur Umgehung der Freischaren über Spirkelbach nach Sarnstall entsandt wurde. Die übrigen Verbände blieben zunächst hinter Wilgartswiesen.
Verlauf
Die Freischaren hatten die Straße zwischen Wilgartswiesen und Rinnthal verbarrikadiert um den Vormarsch der preußischen Truppen Richtung Landau an einer Engstelle des Tales aufzuhalten. Avantgarde der 2. Division des 1. Armeekorps unter Major von Mutius kam unter Beschuss, worauf die von einem Volkswehr Bataillon unter Schimmelpfennig nur unzureichend besetzte Höhe links der Straße von den preußischen Jägern erstürmt wurde. Die Füsiliere nahmen die Brücke vor Rinnthal ein und besetzten danach den Buchholzer Berg, der von den Freischaren ebenfalls zu schwach besetzt war. Nachdem die Preußen von den Höhen aus die im Tal stehenden Revolutionäre beschießen konnten, zogen sich diese geordnet und kämpfend bis Sarnstall zurück. Dort setzte dann jedoch eine rasche ungeordnete Flucht ein. Die zersprengten Truppenteile zogen dann am 18. Juli zusammen mit der Hauptmacht der pfälzischen Revolutionsarmee über die Knielinger Brücke nach Baden ab – Willichs Freikorps als letzte Einheit am 19. Juni.
Andenken
Eine Hinweistafel an der Bundesstraße 10 bei Rinnthal weist auf den Ort des Gefechts hin. Acht gefallene Revolutionäre wurden auf dem Friedhof Annweiler begraben, wo man ihnen 1880 ein Denkmal errichtete (Germania mit Mauerkrone und Inschrift: Auch sie starben für das Vaterland). An verschiedenen Orten der Pfalz erinnern Gedenksteine an die Toten.
Literatur
Daniel Staroste: Tagebuch über die Ereignisse in der Pfalz und Baden im Jahre 1849: ein Erinnerungsbuch für die Zeitgenossen und für Alle, welche Theil nahmen an der Unterdrückung jenes Aufstandes, Band 1, Potsdam 1852, S. 192–194 in der Google-Buchsuche
Friedrich Engels: Die deutsche Reichsverfassungskampagne. In: Karl Marx – Friedrich Engels – Werke, Band 7, S. 109–197, Dietz Verlag, Berlin/DDR 1960, hier S. 168–171 online
Kurt Baumann: Die Pfalz und die Revolution von 1848/49. Von der Frankfurter Nationalversammlung zu den Freischärlerkämpfen bei Rinnthal. In: Pfälzische Heimatblätter 21 (1973)12, S. 1–5.
Kurt Baumann: Friedrich Engels und der pfälzische Aufstand 1849. Die Schlacht bei Rinnthal und der Rückzug der pfälzischen Revolutionsarmee. In: Die Rheinpfalz. Pirmasenser Nachrichten 26, Nr. 270 vom 21. November 1970, S. 8
Einzelnachweise und Anmerkungen
Geschichte der Pfalz
Deutsche Revolution 1848/1849
Konflikt 1849
Rinnthal | 21,449 |
https://ro.wikipedia.org/wiki/Parcul%20Kilburn%20Grange | Wikipedia | Open Web | CC-By-SA | 2,023 | Parcul Kilburn Grange | https://ro.wikipedia.org/w/index.php?title=Parcul Kilburn Grange&action=history | Romanian | Spoken | 69 | 136 | Parcul Kilburn Grange este un spațiu deschis de 3,2 hectare aflat în Kilburn, nord-vestul Londrei, adiacent Kilburn High Road. Acesta este administrat de către burgul Camden și include un loc de joacă pentru copii, un teren de baschet, echipament de gimnastică în aer liber și terenuri de tenis.
Parcul a fost deschis pentru prima dată în 1913, după ce anterior făcuse parte din ansamblul rezidențial Grange.
Note
Kilburn, Londra | 21,969 |
apkA7ypq2SY_1 | Youtube-Commons | Open Web | CC-By | null | WPC 2014 - William RAMSAY | None | English | Spoken | 385 | 439 | William Ramsey, you are a former director of the International Energy Agency and I think now a professor at Sciences Po in Paris Now in your speciality overseas energy. What do you see as the short to medium? perspective For climate change for combating climate change a short to medium perspective Well, the short to short perspectives being acted out in Lima right now or a hundred and I don't know How many countries in 10,000 delegates are trying to find common cause? I'm not particularly optimistic that one can do that in that kind of a form I think if the political commitment is there by the countries which we saw when Xi Jinping and Obama agreed on some some some serious objectives The political will is there we can find solutions technology is there We know the technology paths. We know some of what has to happen in the industry But if we don't have the political will behind it, we can't convince our congresses our diets and our dumas to do the right things So medium term let's say five to ten years Do we get to a point where? It becomes even more Economically and technologically difficult Or does it is it the political problem that every moment that passes? It's getting more expensive and more difficult politically If in ten years, we haven't identified a path forward and if we haven't engaged that path forward We're going to be well behind the eight ball and we'll pay the consequences later in time And as the client scientists are increasingly concerned of these Modellings that we've been doing about the future these sort of linear models are probably Exponential models and things are moving faster than we thought at Arctic ice and things like that So we don't have a lot of time to fool around If you think that we only really had a 2,000 gig a ton carbon budget From 1900 and we've already expanded half of that and the other half will be gone in the next 15 years We'd better hurry Final question. Which country has to move the most? Is it China's every because of a growing consumption and also the reliance on coal? I Wouldn't put I wouldn't put a disproportionate burden on every country. | 10,469 |
https://ce.wikipedia.org/wiki/%D0%A2%D0%BE%D1%80%D0%B5%20%28%D0%9C%D0%B0%D0%BD%D1%82%D0%BE%D0%B2%D0%B0%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Торе (Мантова) | https://ce.wikipedia.org/w/index.php?title=Торе (Мантова)&action=history | Chechen | Spoken | 95 | 257 | Торе () — Италин Ломбарди регионан коммунера эвла.
Географи
Климат
Кхузахь климат йу Лаьттайуккъера хӀордан, барамехь йекъа а, йовха, Ӏа шийла ца хуьйла.
Бахархой
Билгалдахарш
Литература
Gino Moliterno, ур. (2003). Encyclopedia of Contemporary Italian Culture. Routledge; Routledge World Reference. ISBN 0415285569.
Catherine B. Avery, ур. (1972). The New Century Italian Renaissance Encyclopedia. Simon & Schuster. ISBN 0136120512.
Итали // Итали — Кваркуш. — М. : Советская энциклопедия, 1973. — (Большая советская энциклопедия : [в 30 т.] / гл. ред. А. М. Прохоров ; 1969—1978, т. 11).
Ломбарди регионан нах беха меттигаш
Италин нах беха меттигаш | 20,469 |
https://de.wikipedia.org/wiki/Francisco%20Mourelle | Wikipedia | Open Web | CC-By-SA | 2,023 | Francisco Mourelle | https://de.wikipedia.org/w/index.php?title=Francisco Mourelle&action=history | German | Spoken | 1,293 | 2,353 | Francisco Antonio Mourelle de la Rúa (* 17. Juli 1750 in Corme, Spanien; † 24. Mai 1820 in Cádiz, Spanien) war ein Offizier der Armada Española, der sich als Expeditionsteilnehmer und Entdecker im Pazifik einen Namen machte. Er erreichte von San Blas aus die Küste von Alaska und unternahm mehrere Reisen zu den Philippinen. 1781 erreichte er Tonga und die Salomonen. Später war er Teilnehmer der Koalitionskriege.
Expedition von 1775
Mourelle diente in der spanischen Marine und war als Steuermann auf der Korvette Dolores vor den Guayanas, Trinidad und den Antillen eingesetzt, bevor er im September 1773 nach Ferrol zurückkehrte. 1774 wurde er zum neuen Marinestützpunkt in San Blas, Mexiko, versetzt. Er schloss sich 1775 der Expedition von Bruno de Heceta und Juan Francisco de la Bodega y Quadra und diente als Steuermann auf Quadras Schoner Sonora. Am 29. Juli, etwa auf Höhe des 49. Grad nördlicher Breite (49º N), trennte sich die Expedition und Heceta kehrte nach Süden zurück, während Quadra und Mourelle weiter nach Norden gingen und 58º30'N erreichten. Sie entdeckten die später von Quadra nach Antonio María de Bucareli y Ursúa benannten Bucareli Bay und gingen dort vor Anker. Anschließend segelten sie wieder nach Süden, erreichten am 7. Oktober in Monterey, Kalifornien, und am 20. November 1775 San Blas.
Das von Mourelle während dieser Reise geführte Tagebuch kam auf unbekannten Wegen nach London, wo es übersetzt und veröffentlicht wurde. James Cook nutzte Informationen während seiner Reisen im pazifischen Nordwesten.
Expedition von 1779
Während der Expedition von 1779 unter dem Kommando von Ignacio de Arteaga diente Mourelle erneut als stellvertretender Kommandant von Quadras Schiff Favorita. Das Ziel der Expedition war es, das Vordringen der Russen in Alaska zu untersuchen, die Nordwestpassage zu finden und James Cook gefangen zu nehmen, sofern er in von Spanien beanspruchten Gewässern engetroffen würde. Arteaga und Bodega y Quadra fanden Cook allerdings nicht, da dieser bereits im Februar 1779 auf Hawaii getötet worden war.
Die beiden Fregatten segelten direkt von San Blas nach Bucareli Bay in Alaska. Die Reise, die 81 Tagen dauerte und damit relativ schnell war, ließ Zeit für weitere Erkundungen. Arteaga und Bodega untersuchten Bucareli Bay und fuhren dann nach Norden zum heutigen Port Etches auf Hinchinbrook Island, nahe dem Eingang zum Prinz-William-Sund. Während die Schiffe vor Anker lagen, ging Arteaga mit einer Gruppe Seeleuten an Land, um eine formelle Besitzergreifung des Gebietes durchzuführen. Die Offiziere und Kapläne gingen in einer Prozession an Land und errichteten ein Kreuz, während Kanonen und Musketen Salutschüsse abfeuerten. Das Te Deum wurde gesungen, gefolgt von einer Litanei und Gebeten. Nach einer Predigt wurde eine formelle Besitzurkunde erstellt und von den Offizieren und Geistlichen unterzeichnet. Arteaga nannte den Ort Puerto de Santiago zum Gedenken an den heiligen Jakobus, den Schutzpatron Spaniens, dessen Festtag auf den 25. Juli fällt. Das Ereignis von Puerto de Santiago war noch Jahre danach wichtig, da er die Grundlage für Spaniens Souveränitätsanspruch im Nordpazifik bis 61°17′N bildete.
Arteaga und Bodega erkundeten auch Cook Inlet und die Kenai-Halbinsel, wo am 2. August 1779 im heutigen Port Chatham erneut eine Besitzergreifungzeremonie durchgeführt wurde. Am 8. September begann die Rückfahrt nach San Blas aufgrund verschiedener Schwierigkeiten und Krankheiten der Crews. Obwohl die Spanier ihre Erkundungsreisen und die gemachten Entdeckungen normalerweise geheim hielten, wurde die Reise von Arteaga und Bodega y Quadra von 1779 weithin bekannt. Der französische Seefahrer Jean-François de La Pérouse erhielt eine Kopie ihrer Karte, die 1798 veröffentlicht wurde. Mourelles Tagebuch wurde 1798 von Daines Barrington in London erworben und veröffentlicht. Die Rückreise nach San Blas dauerte bis zum 21. November 1779.
Spätere Karriere
Weitere Pazifikreisen
Während der späteren Jahre seines Dienstes in San Blas reiste Mourelle ausgiebig über den Pazifischen Ozean. 1781 versuchte er mit der La Princessa, eine südliche Route von den Philippinen nach Mexiko zu finden. Auf dieser Reise kartierte er 29 der 50 Inseln der Eremiten- und Ninigo-Inseln und entdeckte die Tench-Insel in Neuguinea sowie Ontong Java der Salomonen. Er besuchte Tonga und reiste durch die Ellice-Inseln (heute Tuvalu).
Mourelle entdeckte die Insel Niutao am 5. Mai 1781 für Europa. Er betrat die Insel jedoch nicht, sondern blieb außerhalb des Korallenriffes, als sich mehrere Kanus mit Insulanern näherten, die der Besatzung Kokosnüsse schenkten. Mourelle nannte die Insel daraufhin „El Gran Cocal“. Erst 1980 konnten Keith S. Chambers und Doug Munro Niutao als die Insel identifizieren, die Mourelle am 5. Mai 1781 benannt hatte, und lösten damit das sog. Geheimnis von Gran Cocal. Wegen anhaltenden Gegenwindes war er gezwungen, nach Guam zu segeln und anschließend über die Nordroute Mexiko zu erreichen.
Ebenfalls 1781 besuchte er Tonga. Weiterhin waren die Philippinen und Kanton, China, seine Reiseziele.
1792 war Mourelle als Kommandant der Mexicana auf einer Expedition zur Erkundung der Straße von Georgia vorgesehen, aber Alessandro Malaspina setzte einen seiner eigenen Offiziere, Cayetano Valdés, als Kommandanten des Schiffes ein. Dionisio Alcalá Galiano war Kommandeur der Sutil, dem Schwesterschiff der Mexicana.
Koalitionskriege
1793 wurde Mourelle zurück nach Spanien versetzt. Am 9. Februar 1799 erhielt er die Beförderung zum Fregattenkapitän und nahm am Zweiten Koalitionskrieg gegen Großbritannien teil. Hierbei war er zunächst in Algeciras, dann ab Oktober 1800 in Cádiz stationiert und operierte hauptsächlich gegen das britische Gibraltar.
Als sich der Dritte Koalitionskrieg bereits abzeichnete, übernahm Mourelle auf königlichen Befehl vom 12. Dezember 1804 das Kommando über die Station Algeciras und war wiederum gegen Gibraltar eingesetzt. Am 27. Juli 1806 wurde er in den Rang eines Kapitäns zur See befördert und zum Kommandanten der Station Málaga ernannt, wobei er erneut gegen die Briten kämpfte. Am 4. Mai 1808, inzwischen war der Aufstand in Spanien ausgebrochen, wurde Mourelle Kommandant der Station in Ceuta und war mit den Schiffen seiner Station an der Blockade französischer Kriegsschiffe unter Admiral François Étienne de Rosily-Mesros im Juni 1808 in Cádiz beteiligt.
Am 23. Oktober 1809 erhielt er das Kommando über die Algeciras mit der er am 16. November in See ging, um dringend benötigten Nachschub nach Havanna und Veracruz zu befördern. Am 2. Mai 1810 kehrte er zurück. Im Anschluss befehligte er mehrere Küstenexpeditionen gegen französische Stellungen in Andalusien, so etwa an den Ufern des Flusses Guadalete. Am 25. Mai 1811 erhielt Mourelle seine Beförderung zum Kommodore und führte er sein Kommando bis zum 29. April 1813 weiter.
Am 30. Juni wurde er zum Mitglied des Generalrates ernannt und erhielt am 12. Mai 1815 das Kommando über die San Julián, die allerdings aufgrund von Ausrüstungsmängeln nicht mehr eingesetzt werden konnte.
Letzte Jahre
Im November 1818 wurden in Andalusien Truppen konzentriert, um einen Aufstand des Vizekönigreich La Plata niederzuschlagen. Mourelle wurde beauftragt, mit 14 Schiffen die Eskorte der Truppentransports zu übernehmen. Vor der Abreise brach allerdings am 1. Januar 1820 in Sevilla die Spanische Revolution von 1820 unter Rafael del Riego aus.
Der Auslandseinsatz der Streitkräfte wurde somit abgesagt und Mourelle, der sich im Aufstandsgeschehen auf der Seite des Königs positionierte und bereits gesundheitlich angeschlagen war, gab das Kommando über die Geleitflotte am 18. April 1818 ab.
Mourelle starb am 24. Mai 1820 im Alter von 69 Jahren.
Namensgebung
Maurelle Island im Archipel der Discovery Islands vor der Südküste von British Columbia wurde nach Mourelle benannt.
Literatur
Francisco Antonio Mourelle de la Rua Biografía. Biographie. Veröffentlicht auf der Webpage: Historia Naval de Espana. Link. Abgerufen am 26. Februar 2023.
Dan L. Thrapp: Encyclopedia of Frontier Biography: In Three Volumes. University of Nebraska Press. 1991. ISBN 0-8032-9418-2
Freeman M. Tovell: At the Far Reaches of Empire: The Life of Juan Francisco De La Bodega Y Quadra. University of British Columbia Press. 2008. ISBN 978-0-7748-1367-9. Angaben zu Arteaga auf den Seiten: 94–95, 348–349
Derek Hayes: Historical Atlas of the Pacific Northwest: Maps of exploration and Discovery. Sasquatch Books. 1999. S. 40–41. ISBN 1-57061-215-3.
Weblinks
Einzelnachweise
Seefahrer
Militärperson (Marine)
Person in den Koalitionskriegen (Spanien)
Entdecker (18. Jahrhundert)
Geschichte von Alaska
Spanier
Geboren 1750
Gestorben 1820
Mann | 6,271 |
GipJjq5025U_1 | Youtube-Commons | Open Web | CC-By | null | 2017 RAM 2500 CREW BIG HORN SPORT BLACKOUT FOND DU LAC WISCONSIN SOLD! 10209 www.SUMMITAUTO.com | None | English | Spoken | 1,146 | 1,379 | This is Stockhammer 10209, we are here at Summit Automotive in Fond du Lac, Wisconsin, you're new and used heavy duty truck and ram headquarters. Today we are checking out this super clean 2017 Ram 2500, crew cab, short box, big horn sport. This truck has the 6.4 liter V8 Hemi motor and from this HD video you will be able to tell that this truck is extremely clean all the way around inside and out. Brilliant black crystal pearl is the color, we shoot all of our videos in 1080p so if you have HD capabilities on your computer, tablet or smartphone device, turn them on right now because it is like you're right here looking at the truck with me and definitely your best way to check out the vehicle before seeing it in person. Comes with the 20 inch painted alloy rims, Firestone Trans Force LT28560R20 tires with about 60 to 70% of the tread left on those tires, frame and underbody is very, very clean. Didn't see any dents or dings on that front fender. You get the blacked out headlight bezels part of the sport package, you get the blacked out painted grille and ram logo, the front bumper parking sensors, factory fog lights, passenger fender is in excellent shape as well, no dents or dings on that and the passenger side rim no scuffs or scrapes. As you go down this side of the truck you can see just how clean the body is, how reflective and mirror like that paint is. We take these HD videos so if you are far away or even if you're close buying just cannot make the trip down but you're still interested in purchasing the truck. You can still see the truck, hear the truck and have confidence in the vehicle that you're looking at before you even get here. This one has the cargo cam, can always tell it's got the little LED lights up there. Good indicator that it has the cargo cam. And down this side one more time didn't see any dents, didn't see any dings, the lower rockers are very clean, has all the remaining factory exhaust, has factory painted step bars and the back tires have just as much tread as the front tires and once again the frame under body very clean on this truck. Four-fold disclosure here, this back rim no scuffs or scrapes. On that very clean as we come around to the back you'll notice it has the painted rear bumper, full towing package which includes receiver hitch four pin and seven pin wiring, the backup parking sensors and the rear tailgate is absolutely perfect, no dents or dings on that you get the blacked out ram logo and the blacked out four by four logo. Locking tailgate has the fifth wheel and goose neck prep package, sprain bed liner, seven pin wiring and the LED bed lights. Tailgate shuts nice and solidly and as you go down this side the truck just as clean as that passenger side, no dents or dings on the box, this truck was very well maintained and once again this back rim no scuffs or scrapes on this one. Down the rest of the side of the vehicle very very clean, it does have the heated power fold out mirrors, they fold up like so and I'll show you in a second here they also power fold in, so you just press this button you know fold in like so and fold out. Power windows power locks and power mirrors, auto headlamps, power pedals, radio controls on the back of the steering wheel. Inside the big horn package gives you the gray cloth interior, there are no rips or tears on these seats they're in excellent condition. Driver side lumbar we have factory all-weather floor mats throughout and as we hop inside the truck here you can see that this one has 13,120 miles. Instrument cluster is very nice and clean, has the seven inch LCD display, you get the heated leather wrapped steering wheel cruise controls on the right, Bluetooth and information center controls on the left, then of course like I show before the audio controls on the back, six speed automatic transmission, you get the 8.4 touchscreen radio with the factory navigation system on it, this is also where your backup camera is, you can do your heated seats and heated steering wheel button here as well, you can check out the backup cam or you can check out that cargo cam and it shows you what's in the bed of the vehicle you can do that even while you're driving. So kind of cool stuff there, AM FM and Sirius XM radio capabilities, dual climate control, turned dial four-wheel drive, factory brake control, you have five upfitter switches, stability control, tow haul, front and front and rear parking sensors, you can turn those off and on, has 115 volt, 150 watt plug-in, all-weather format on the passenger side and no rips or tears on that passenger seat as well. This truck's never been smoked in, has side current airbags, headliner is in excellent condition, map lights, power sliding rear window and your home link buttons for your garage door security systems and the lighting systems, you also get a 911 and assist button in the mirrors, those are features of the vehicle that you never have to pay a subscription for. We'll take a quick look at the back seats and then we will check out under the hood, the back seats are just as clean as the front seats, there are no rips, there are no tears back here, it does have the latch child safety system for your car seats, power sliding rear window, these seats fold up, there is a load floor, what's a load floor? It's another floor that you can put down that's nice and flat, if you got pets you can put both sides down and they can have a nice flat place to lay it or if you got muddy boots or tools you can put them on there and you're not going to ruin your nice clean seats. Underneath, more storage and all-weather floor map back here as well and then in the floor on both sides there's in-floor storage with removable bins, you can put ice and drinks in there, keep them cool so it's like you have too many coolers wherever you go or you can just put whatever stuff you have back there as well. We'll take a quick look under the hood, I would personally like to thank you for checking out the video today and hopefully from this HD video you will have been able to tell just how clean this truck is all the way around inside and out. | 254 |
https://kk.wikipedia.org/wiki/%D0%9B%D0%B8%D0%BE%D0%BD | Wikipedia | Open Web | CC-By-SA | 2,023 | Лион | https://kk.wikipedia.org/w/index.php?title=Лион&action=history | Kazakh | Spoken | 228 | 898 | Лион ( ) — Франция қаласы, Рона-Альпі аймағының және Рона департаментінің әкімшілік орталығы. Сонымен қатар, 14 кантондардың орталығы. Лионның 6 елді мекені бар.
Лион қаласы «Үлкен Лионның» () орталығы болып есептеледі немесе Лион қала агломерациясының орталығы, оның ішіне 57 әкімшілік бірлік кіреді.
Атақты адамдар
Киелі Ириней Лионский — II ғасырдағы дін маманының бастаушысы;
Жан-Батист Арбан — корнетист, мұғалім, Париж консерваториясының профессоры ;
Андре Мари Ампер — әйгілі физик;
Вальтер Гизекинг — пианист
Антуан де Сент-Экзюпери — атақты жазушы және ұшқыш;
Алексис Каррель — хирург, Нобел сыйлығының лауреаті (1912 жыл);
Гвендаль Пейзера — мәнерлеп сырғанаушы.
Жан-Мишель Жарр — композитор.
Меллер, Стефан — дипломат, политик.
Франсуа Рабле — жазушы, 1532—1535 жылдарында Hôtel Dieu дәрігер болып істеді.
Клод Одран III (1658—1734) — француз сарай маңайындағы сурет шебері және декоратор.
Эдмон Одран — Лион қаласында туған француз композиторы.
Моро, Жан Клод — француз әскери бастығы.
Демография
2010 жылда Лион қаласында 484,344 адам тұрды. олардың 14%-і Франция митрополитынан тыс туған адамдар.
</center>
Туыстас қалалар және әріптестері
Туыстас қалалардың тізімі (қара жалпақ әріппен жазылған) және Лионның әріптес қалалары (ресми сайтына негіздене отырып):
Франкфурт, Германия (1960)
Милан, Италия (1966)
Лейпциг, Германия (1981)
Барселона, Испания (1989); 1998, альянс
Турин, Италия (1998, альянс)
Генуя, Италия (1998, альянс)
Лодзь, Польша (1991)
Санкт-Петербург, Ресей (1991)
Беэр-Шева, Израиль (1997)
Измир, Түркия
Гуанчжоу, КНР (1988)
Иокогама, Япония (1959)
Сент-Луис, АҚШ (1975)
Монреаль, Канада (1979)
Галерея
Басқа суреттер :
Дереккөздер
Франция қалалары | 16,376 |
https://en.wikipedia.org/wiki/Bresciaoggi | Wikipedia | Open Web | CC-By-SA | 2,023 | Bresciaoggi | https://en.wikipedia.org/w/index.php?title=Bresciaoggi&action=history | English | Spoken | 43 | 71 | Bresciaoggi is a morning daily newspaper that serves the Brescia, Lombardy metropolitan area of Italy. The paper was founded in 1974.
References
External links
1974 establishments in Italy
Italian-language newspapers
Daily newspapers published in Italy
Newspapers established in 1974
Mass media in Brescia | 1,121 |
https://stackoverflow.com/questions/69487434 | StackExchange | Open Web | CC-By-SA | 2,021 | Stack Exchange | Community, https://stackoverflow.com/users/-1, https://stackoverflow.com/users/2943403, mickmackusa | English | Spoken | 766 | 1,538 | How to remove characters at the end of a string in PHP using rtrim function properly
I have a gravity form that takes input from a user and then creates a notification email from the input.
On the backend, I have the notification setup to build out an html email. It generates an H2 tag from selections from a checkbox.
The H2 ends up looking like this: VETERINARY ASSISTANT WANTED: Progressive Practice, The Best Clients, Learn On the Job, !
I would like to remove the comma and the exclamation point at the end of this H2.
Here is my code:
function alter_ad( $notification, $form, $entry ) {
//grab the message portion of the notification
$data = $notification['message'];
//find the h2 header in the notification
preg_match('/<h2>(.*?)<\/h2>/s', $data, $match);
//store the content h2 in variable
$header = $match[1];
//trim off the exclamation point
$new_header = rtrim($header, '!');
//now trim off the comma at the end
$new_header_two = rtrim($new_header, ',');
//now header should have the comma and exclamation at the end removed
//so now I need to find the h2 in the message again and replace its contents with the new
header text
$start = '<h2>';
$end = '</h2>';
$result = replace_content_inside_delimiters($start, $end, $new_header_two, $data);
$notification['message'] = $result;
return $notification;
}
function replace_content_inside_delimiters($start, $end, $new, $source) {
return preg_replace('#('.preg_quote($start).')(.*?)('.preg_quote($end).')#si',
'$1'.$new.'$3', $source);
}
add_filter( 'gform_notification_42', 'alter_ad', 10, 3 );
However, when I submit the notification, it removes the exclamation point, but the trailing comma is still there. Am I doing something wrong with the second rtrim()?
The h2 header in the notification ends up looking like this after running through the filter:
VETERINARY ASSISTANT WANTED: Progressive Practice, The Best Clients, Learn On the Job,
https://stackoverflow.com/a/1642800/2943403
Well, the string you provided in this case has exclamation mark ! then space and then comma ,.
So
//trim off the exclamation point
$header= rtrim($header, "!");
//now trim off the space
$header= rtrim($header, " ");
//now trim off the comma at the end
$header= rtrim($header, ",");
or in a single line:
$header = rtrim($header, "! ,");
See the code example here: http://codepad.org/PNqjFL8h
rtrim() can take a list of character and metacharacters. The advantage of this is you can build a list of items to be removed from the end of the string instead of doing individual removals.
// Sample string
$str = 'VETERINARY ASSISTANT WANTED: Progressive Practice, The Best Clients, Learn On the Job, !';
// Full list for unwanted characters
$rmv = ",! \n\r\t\v\0";
// test it
var_dump(rtrim($str,$rmv));
Which will output:
string(85) "VETERINARY ASSISTANT WANTED: Progressive Practice, The Best Clients, Learn On the Job"
You can do something like (not using rtrim) :
$str = 'VETERINARY ASSISTANT WANTED: Progressive Practice, The Best Clients, Learn On the Job, !';
$string = implode(',', array_slice(explode(',', $str), 0, -1 ));
//Output => VETERINARY ASSISTANT WANTED: Progressive Practice, The Best Clients, Learn On the Job
The most important skill in debugging is breaking the problem down.
Most of the code you've shown us is not relevant to the problem, and the actual Minimal, Reproducible Example is this:
$header = 'VETERINARY ASSISTANT WANTED: Progressive Practice, The Best Clients, Learn On the Job, !';
//trim off the exclamation point
$new_header = rtrim($header, '!');
//now trim off the comma at the end
$new_header_two = rtrim($new_header, ',');
echo $new_header_two;
Next, look carefully at what is in $new_header, using a function like var_dump:
string(87) "VETERINARY ASSISTANT WANTED: Progressive Practice, The Best Clients, Learn On the Job, "
Notice that the last character is not a comma, it is a space. So you need to remove that as well:
$header = 'VETERINARY ASSISTANT WANTED: Progressive Practice, The Best Clients, Learn On the Job, !';
//trim off the exclamation point
$new_header = rtrim($header, '!');
// Next there's a space
$new_header_two = rtrim($new_header, ' ');
//now trim off the comma at the end
$new_header_three = rtrim($new_header_two, ',');
echo $new_header_three;
Since rtrim can strip multiple characters at once, you can simplify this to one line:
$header = 'VETERINARY ASSISTANT WANTED: Progressive Practice, The Best Clients, Learn On the Job, !';
// trim off any number of trailing commas, spaces, and exclamation marks
$new_header = rtrim($header, '!, ');
echo $new_header;
<?php
$string = "VETERINARY ASSISTANT WANTED: Progressive Practice, The Best Clients, Learn On the Job, !";
$new_string = rtrim($string, ", !");
echo $new_string;
// Outputs: VETERINARY ASSISTANT WANTED: Progressive Practice, The Best Clients, Learn On the Job
As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.
| 49,296 |
https://ru.wikipedia.org/wiki/%D0%94%D0%B5%D0%BC%D1%8C%D1%8F%D0%BD%D0%BE%D0%B2%D0%BA%D0%B0 | Wikipedia | Open Web | CC-By-SA | 2,023 | Демьяновка | https://ru.wikipedia.org/w/index.php?title=Демьяновка&action=history | Russian | Spoken | 198 | 624 | Демьяновка — название населённых пунктов:
Белоруссия
Демьяновка — деревня в Пуховичском районе Минской области.
Казахстан
Демьяновка — село в составе Павлодарской городской администрации Павлодарской области, ликвидировано в 2001 году.
Демьяновка — прежнее название села Узунколь, административный центр Узункольского района Костанайской области Казахстана.
Россия
Демьяновка — село в Завитинском районе Амурской области.
Демьяновка — железнодорожная станция в Завитинском районе Амурской области.
Демьяновка — посёлок в городском округе Семёновский Нижегородской области.
Демьяновка — упразднённая деревня в Гурьевском районе Кемеровской области.
Демьяновка — поселок в Ленинск-Кузнецком районе Кемеровской области.
Демьяновка — деревня в Горьковском районе Омской области.
Демьяновка — деревня в Называевском районе Омской области.
Демьяновка — деревня в Тамбовском районе Тамбовской области.
Крым
спорная между Россией и Украиной территория, де-факто в составе России
Демьяновка — село в Симферопольском районе.
Демьяновка — село в Советском районе.
Украина
Демьяновка — село в Широковском районе Днепропетровской области.
Демьяновка — посёлок в Мангушском районе Донецкой области.
Демьяновка — село в Белокуракинском районе Луганской области.
Демьяновка — село в Окнянском районе Одесской области.
Демьяновка — село в Котелевском районе Полтавской области.
Демьяновка — село в Семёновском районе Полтавской области.
Демьяновка — село в Ямпольском районе Сумской области.
Демьяновка — село в Нижнесерогозском районе Херсонской области. | 16,155 |
https://math.stackexchange.com/questions/1651232 | StackExchange | Open Web | CC-By-SA | 2,016 | Stack Exchange | BrianO, https://math.stackexchange.com/users/277043 | English | Spoken | 330 | 681 | Predicates about functions in 1st order logic
Given the usual definition of function as a subset of $ D \times C $. What is the correct way to write "All functions $ f $ from $ D $ to $ C $ have property $P(f)$". This is both a question about notation but also can I make statements like this safely without my logic becoming second order?
Presumably you mean in the first order language of set theory, involving the single predicate "$\in$". You need to be able to talk about unordered pairs, ordered pairs using the definition $\{u,\{u,v\}\}$, notions derived from these, and more.
To express "all functions $f$ from $D$ to $C$ have property $P(f)$", first we need to be able to express "$f$ is a function from $D$ to $C$". This requires being able to talk about ordered pairs. It's helpful to define a couple of predicates. First,
$$\begin{align}
\operatorname{IsOrderedPair}(p) := \exists x\,\exists y\, (p = \{x, \{x,y\}\}.
\end{align}$$
As a convenience, let's define a notation for the ordered pair of $x$ and $y$:
$$
\langle x,y\rangle := \{x, \{x,y\}\}.
$$
One more predicate definition:
$$
\operatorname{IsSecond}(p,y) := \exists x \,(p = \langle x,y\rangle).
$$
(It turns out that we don't need an $\operatorname{isFirst}$ predicate.)
Now we can define
$$
IsFunction(f,D,C) := \forall p\,(p\in f\to \\ [\, \operatorname{IsOrderedPair}(p) \\
\land \forall x\,(x\in D \leftrightarrow \exists y\, \langle x,y\rangle\in f)\\
\land \forall y\,(\operatorname{IsSecond}(p,y)\to y\in C ) \\
\land \forall x,y,z\, (\langle x,y\rangle\in f\land \langle x,z\rangle\in f\to y=z)
\, ])
$$
Finally, the phrase in your question can be symbolized as follows:
$$
\forall f\,[\operatorname{IsFunction}(f,D , C) \to P(f)]
$$
Oops, forgot the "$f$ is single-valued" clause -- it was getting unwieldy and I just wanted to be done with it :) Fixed.
Oh, and "domain of $f$ is $D$", which I combined with the former clause to give what's now the biconditional $\leftrightarrow$. So it turns out $IsFirst$ isn't needed at all, and I got rid of it.
| 35,641 |
https://fr.wikipedia.org/wiki/NCSM%20Fredericton | Wikipedia | Open Web | CC-By-SA | 2,023 | NCSM Fredericton | https://fr.wikipedia.org/w/index.php?title=NCSM Fredericton&action=history | French | Spoken | 37 | 61 | Deux navires de la Marine royale canadienne portent le nom de NCSM Fredericton :
le , une corvette de en service de 1941 à 1948 ;
le , une frégate de classe Halifax lancée en 1994.
Fredericton | 21,622 |
https://bg.wikipedia.org/wiki/%D0%91%D0%B5%D1%88%D0%B8%D1%87%D0%BA%D0%B0%20%D0%BF%D0%BB%D0%B0%D0%BD%D0%B8%D0%BD%D0%B0 | Wikipedia | Open Web | CC-By-SA | 2,023 | Бешичка планина | https://bg.wikipedia.org/w/index.php?title=Бешичка планина&action=history | Bulgarian | Spoken | 226 | 628 | Бешичката планина (, Όρη Βόλβης, Όρη Μπεσικίων; , Бешикдаг) е ниска планина в Егейска Македония, Гърция, разположена северно от Бешичкото езеро.
Планината носи името на селата Голем Бешик (днес Мегали Волви) и Малък Бешик (днес Микри Волви), на които е кръстено и езерото (днес Лимни Волви). В България традиционно Бешикдаг смятано за име синонимно на Богданската планина, която обхваща и трите дяла, смятани днес в Гърция за отделни планини - западен Вертискос (), източен Кердилио или Кердилия (Κερδύλιο, Κερδύλλια, на български Орсова планина) и южен Ори Волвис (Ορη Βόλβης).
На север планината е отделена от Богданската (Вертискос) и Орсовата планина с долината на пресушените езера Мавровско и Лънджанско.
Езерата на южната ѝ граница Бешичко и Лъгадинско (Корония) са записани в Рамсарската конвенция в 1974 година и са част от мрежата защитени зони Натура 2000 (1220001 и 1220009), като също така са обявени за орнитологично важни места (032). По-широката зона е определена като национален парк с името „Национален парк Лъгадинско езеро - Бешичко езеро и Македонски Темпи“ в 2003 година. Три вековни чинара в района на Схолари (Сарай) и Аполония (Пазаруда), в които гнездят чапли и бели щъркели, са обявени за защитени природни паметници.
Скалите на планината са гнайси и малко амфиболити.
Изкачването до върха може да стане от селището Филаделфи (Гювелци, 420 m) за около 1,30 часа.
Бележки
Планини в Гърция
Дем Лъгадина
Дем Бешичко езеро | 4,314 |
https://ca.wikipedia.org/wiki/Pastinachus%20gracilicaudus | Wikipedia | Open Web | CC-By-SA | 2,023 | Pastinachus gracilicaudus | https://ca.wikipedia.org/w/index.php?title=Pastinachus gracilicaudus&action=history | Catalan | Spoken | 22 | 58 | Pastinachus gracilicaudus és una de les 5 espècies de rajada reconegudes dins del gènere Pastinachus de la família dels dasiàtids.
Bibliografia
gracilicaudus | 19,400 |
https://eo.wikipedia.org/wiki/Manquillos | Wikipedia | Open Web | CC-By-SA | 2,023 | Manquillos | https://eo.wikipedia.org/w/index.php?title=Manquillos&action=history | Esperanto | Spoken | 202 | 478 | Manquillos [manKIljos] estas municipo en la sudcentro de la provinco Palencio, en la regiono Kastilio-Leono, Hispanio. Ĝi apartenas al la komarko Tierra de Campos. La loknomo Manquillos estas komprenebla ne-etimologie kiel Unubrakuletoj. Ĝia rimarkinda vegetaĵaro ĉe la rivero Carrión igas ĝin oazo ene de la komarko kies pejzaĝo estas ĉefe flaveca kaj seka pro la kultivo de tritiko kaj hordeo.
Geografio
Ĝia municipa teritorio okupas totalan areon de 12,60 km² kaj laŭ la demografia informo de la municipa censo fare de la INE en 2021, ĝi havis 61 loĝantojn. Ĝi perdis multajn loĝantojn dum la 20-a jarcento pro migrado al urbaj areoj, kiel ja okazis en multaj loĝlokoj de la regiono, fakte perdis 200 loĝantojn el la jaro 1900. Ĝi distas 24 km de Palencio, provinca ĉefurbo.
La municipa teritorio limas kun San Cebrián de Campos, Perales, Paredes de Nava kaj Villoldo.
Historio
La areo apartenis unue al la Regno Kastilio. En Mezepoko okazis reloĝado.
Aktualo
Tradiciaj enspezofontoj estis agrikulturo (cerealoj kaj vitejoj) kaj brutobredado (ŝafoj kaj kolombejoj). Lastatempe funkciado de servoj plej ekgravis, kune kun piedirado tra naturaj lokoj. De la historia pasinteco restis diversaj vizitindaj vidindaĵoj kiel la preĝejo.
Vidu ankaŭ
Municipoj de la provinco Palencio
Notoj
Municipoj de Palencio | 27,832 |
https://sr.wikipedia.org/wiki/%D0%9C%D0%B0%D1%80%D1%81%D0%B5%D0%BB%20%D0%8F%D0%B5%D1%98%D0%BA%D0%BE%D0%B1%D1%81 | Wikipedia | Open Web | CC-By-SA | 2,023 | Марсел Џејкобс | https://sr.wikipedia.org/w/index.php?title=Марсел Џејкобс&action=history | Serbian | Spoken | 211 | 633 | Ламонт Марсел Џејкобс Млађи (; 26. септембар 1994) италијански је атлетичар америчког порекла. На Летњим олимпијским играма 2020. освојио је две златне медаље.
Детињство и почеци
Мајка му је из Италије, а отац афроамериканац. Као дете је тренирао кошарку и фудбал, а касније је кренуо са атлетиком на предлог тренера.
Каријера
Године 2016. се такмичио на првенству Италије у атлетици са резултатом 8,07 м. Није учествовао на Летњим олимпијским играма 2016. због повреде тетиве. Године 2019. пажњу је усмерио на спринт и са резултатом 10,03 на 100 м из јула те године постао трећи најбржи италијан икада. На Летњим олимпијским играма 2020. постао је први италијан који је учествовао на финалу трке на 100 м. Освојио је златну медаљу са временом 9,80. Такође је донео прву медаљу Италији на трци штафете 4 × 100 м после 73 године. На првенству у Београду је у трци на 60 метара у неизвесној завршници освојио злато.
Извори
Спољашње везе
Рођени 1994.
Италијански атлетичари
Атлетичари на Летњим олимпијским играма 2020.
Италијански олимпијци на Летњим олимпијским играма 2020.
Олимпијски победници у атлетици
Освајачи медаља на Летњим олимпијским играма 2020.
Освајачи златних олимпијских медаља за Италију
Освајачи олимпијских медаља у атлетици, 100 метара за мушкарце
Освајачи олимпијских медаља у атлетици, штафета 4 × 100 метара за мушкарце | 3,567 |
https://unix.stackexchange.com/questions/659219 | StackExchange | Open Web | CC-By-SA | 2,021 | Stack Exchange | https://unix.stackexchange.com/users/402283, wile_e8 | English | Spoken | 379 | 816 | RHEL7 - very long start times on JRE
I'm using RHEL7, and I've ran into problems with Pycharm where it takes a very long time to start, a few minutes. According to the logs, it's mostly waiting for the JRE/JVM to start. So I tried to focus on getting Java to start faster, and that seems to have issues starting in other situations as well. I tried just getting the version, and even that would take a long time (although not the second time immediately after, when it was in memory):
[wile_e8@wile_e82 wile_e8]$ time java -version
openjdk version "1.8.0_292"
OpenJDK Runtime Environment (build 1.8.0_292-b10)
OpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode)
real 0m41.814s
user 0m0.039s
sys 0m0.020s
[wile_e8@wile_e82 wile_e8]$ time java -version
openjdk version "1.8.0_292"
OpenJDK Runtime Environment (build 1.8.0_292-b10)
OpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode)
real 0m0.076s
user 0m0.047s
sys 0m0.027s
So when it isn't already in memory, it takes 41 seconds for the JRE to start up just to print the version. This is a relatively new computer. Is this just a memory thing, or is there something I could change with the JRE configuration so Java programs start faster?
The problem is related to the bug JDK-4705093 when generating SecureRandom for SHA1PRNG.
# it's not obvious, but it also happens..
Solution: for system-wide Java
Open the file
$JAVA_PATH/jre/lib/security/java.security
Find the line
securerandom.source=file:/dev/random
Replace it with the line
securerandom.source=file:/dev/./urandom
Addition: Pycharm has its own JBR. Try the same with this file:
$PYCHARM_FOLDER/jbr/conf/security/java.security
A more detailed description of the error: «Tomcat7 starts too late on Ubuntu 14.04 x64».
I actually found that Tomcat7 description on my search for a solution before, that didn't solve the problem. But I gave it a try again:
`
[acyakli@acyakli2 security]$ sudoedit java.security
[sudo] password for acyakli:
[acyakli@acyakli2 security]$ time java -version
openjdk version "1.8.0_292"
OpenJDK Runtime Environment (build 1.8.0_292-b10)
OpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode)
real 0m42.810s
user 0m0.042s
sys 0m0.028s
`
So that's not the problem.
But this is happening for all Java programs, Pycharm is just where I run into it the most. The tests I'm running are with the regular OpenJDK java, and it's taking >40s to print the version.
But I did try modifying the Pycharm version of java.security, and it didn't help.
| 37,575 |
https://es.wikipedia.org/wiki/Midwest%20FurFest | Wikipedia | Open Web | CC-By-SA | 2,023 | Midwest FurFest | https://es.wikipedia.org/w/index.php?title=Midwest FurFest&action=history | Spanish | Spoken | 475 | 784 | Midwest FurFest (o en siglas MFF) es una convención furry que tiene lugar en Rosemont, Illinois, generalmente el segundo fin de semana después del Día de Acción de Gracias. MFF es una corporación educativa sin fines de lucro de Illinois que existe principalmente con el propósito de celebrar una convención anual para facilitar la educación en literatura y arte antropomórficos. En sus convenciones, colabora con donaciones a instituciones sin fines de lucro, principalmente de las cuales promueven el bienestar humano y/o animal. La convención se llevó a cabo por primera vez en 2000 y creció para atraer a 13,641 asistentes en 2022.
Actualmente, es la convención furry más grande del mundo, detrás de Anthrocon.
Historia y antecedentes
Midwest FurFest comenzó como el apartado furry de DucKon, una convención de ciencia ficción con sede en Chicago. El apartado furry se inició en DucKon 3 en 1994 y fue dirigida por Robert King. El apartado creció cada año y se estimó que por DucKon 8 (1999) entre un tercio de los asistentes estaban allí debido al interés en el apartado y la temática furry.
Se creó Midwest Furry Fandom, Inc., y la primera aparición de Midwest FurFest tuvo lugar en noviembre de 2000, el fin de semana anterior al Día de Acción de Gracias. MFF dejó DucKon en buenos términos; DucKon proporcionó fondos para ayudar al primer año de la convención.
La convención ha crecido de 473 asistentes en 2000 a 13 641 en 2022, lo que la convierte en la convención furry más grande del mundo con más de 3900 asistentes por encima de la convención más grande anterior, Anthrocon. Ha ayudado a recaudar más de $767,000 para varias organizaciones benéficas.
Incidentes y controversias
Ataque con gas cloro en 2014
El 7 de diciembre de 2014 se produjo una fuga de gas en el hotel Hyatt de Rosemont, en el que se alojaban los asistentes. El hotel fue evacuado y 19 huéspedes fueron hospitalizados. Más tarde, una investigación encontró una botella de vidrio rota que contenía una concentración de cloro en polvo (exactamente hipoclorito de calcio) dentro del edificio. 18 de las 19 personas hospitalizadas fueron dadas de alta poco después y la convención continuó. La policía de Rosemont entrevistó a los huéspedes y empleados del hotel, así como a los empleados de las tiendas locales que venden cloro. Si bien estas entrevistas y la investigación posterior no dieron como resultado ningún sospechoso o cargo conocido, la policía continúa tratando esto como un delito.
Milo Yiannopoulos
El 15 de septiembre de 2019, Milo Yiannopoulos anunció su intención de asistir a la convención de ese año. Después de una reacción negativa significativa de otros asistentes en las redes sociales, Yiannopoulos fue expulsado rápidamente de la convención al día siguiente.
Ubicaciones, asistencias y donaciones de caridad por año.
Nota
Véase también
Anthrocon
Further Confusion
Referencias
Enlaces externos
Fandom | 28,017 |
https://zh.wikipedia.org/wiki/%E9%99%B6%E7%93%B7%E8%86%9C | Wikipedia | Open Web | CC-By-SA | 2,023 | 陶瓷膜 | https://zh.wikipedia.org/w/index.php?title=陶瓷膜&action=history | Chinese | Spoken | 22 | 1,881 | 陶瓷膜是一种由无机材料(例如氧化铝,二氧化钛,氧化锆,碳化硅或某些玻璃材料)制成的人造膜。 广泛用于膜操作中以进行物质分离。
不同于常见的有机膜材料,陶瓷膜在有机膜无法应用或应用效果不理想的酸碱、溶剂体系、高温环境等取得了规模化应。
同有机膜材料一样,陶瓷膜可以分为致密膜和多孔膜。常见的膜形式包括管状错流膜和末端(死端)膜以及平板膜。
致密陶瓷膜
较为致密的陶瓷膜可以应用于气相分离操作,例如从空气中分离氧气,也广泛应用于石油化工领域的甲烷脱氢。
多孔陶瓷膜
多孔陶瓷膜孔径分布很广,涵盖从微滤到纳滤的范围,可以应用于从家用净水器到市政供水的多种工况。多孔陶瓷膜可以依据结构被粗略的划分为无定形膜和晶体膜。无定形膜的一个例子是二氧化硅膜。多孔陶瓷膜的一个例子是由碳化硅制成的膜。
现代陶瓷膜的历史
人类使用陶瓷净水已经有悠久的历史,而现代的陶瓷膜技术主要可以分为三个阶段。用于铀的同位素分离的核工业时期,以无机微滤膜和超滤膜为主的液体分离时期,以及以膜催化反应为核心的全面发展的时期。20世纪80年代初期成功地在法国的奶业和饮料(葡萄酒、啤酒、苹果酒)业推广应用后,陶瓷膜分离技术和产业地位逐步确立,应用也已拓展至食品工业、生物工程、环境工程、化学工程、石油化工、冶金工业等领域,成为苛刻条件下精密过滤分离的重要新技术。
最初的陶瓷膜研究起源于二战时期原子弹计划,目的是为了在核工业中浓缩铀,法国于1980年代研制出第一批陶瓷膜。在法国建设了许多核电站之后,研究人员开始寻找陶瓷膜在其他工业领域的应用可能性。此时最著名的研究机构是由法国国家研究生院化学学院的路易斯·科特教授领导的蒙彼利埃研究团体,研究的进展促使法国科学院于1994年创建了一个专门致力于膜材料和工艺研究的实验室,以及于2000年成立于蒙彼利埃欧洲膜研究所。
陶瓷膜的应用
食品和生物医药领域
由于陶瓷膜的优秀过滤性能以及生物安全性,陶瓷膜过滤在牛奶,酒类,发酵食品以及制药工艺中有着广泛的应用。尤其是果汁和酿酒行业,使用陶瓷膜过滤能有效过滤杂质,并达到理想的除菌效果,而且对酒体中的风味物质含量影响很小。
陶瓷膜在水水处理中的应用
更有研究证实,传统的饮用水常规处理工艺不能有效去除的新型污染物。可以在臭氧-陶瓷膜载体催化下实现快速的深度处理,达到臭氧-生物活性炭的效果。也有研究认为主动错流式旋转陶瓷膜对海水淡化预处理的效果较好,能够减少水淡化除盐的工艺流程,实现节约成本的目的
。也有研究指出十次循环利用后,光催化陶瓷膜的降解性能、渗透通量和表面形态基本没有发生改变,证明光催化陶瓷膜具有稳定性和可重复使用性。
也有人将陶瓷膜应用于污水的生物处理。有人采用无机陶瓷膜分离装置对己内酰胺生产废水处理工艺中的初沉池出水进行泥水分离,发现陶瓷膜分离装置悬浮物去除率达90%以上,COD去除率为70%以上。也有人通过将陶瓷膜与厌氧反应器耦合,构建分置式的厌氧陶瓷膜生物反应器,达到COD去除超95%,反应器无酸化,日产甲烷0.054m³/kg的运行工况。
陶瓷膜在气相反应中的应用
陶瓷膜不但可以应用于液相,也能完成气相和强酸强碱,非极性溶剂环境操作。而这是传统的有机膜材料无法实现的。石油化工行业的气相裂解催化广泛使用了陶瓷膜。也有研究证实,错流陶瓷膜气体过滤系统适用于舰船空气的连续净化。
参考文献
膜技术 | 7,279 |
https://stackoverflow.com/questions/74773844 | StackExchange | Open Web | CC-By-SA | 2,022 | Stack Exchange | Amir Damirov, Youcef LAIDANI, https://stackoverflow.com/users/5558072, https://stackoverflow.com/users/9724391 | English | Spoken | 385 | 975 | Terraform AWS Redshift and Secret Manager
I am trying to deploy REDSHIFT by generating password in AWS secret manager.
Secret works only when I try to connect with sql client.
I wrote python script
import awswrangler as wr
Create a Redshift table
print("Connecting to Redshift...")
con = wr.redshift.connect(secret_id=redshift_credential_secret, timeout=10)
print("Successfully connected to Redshift.")
trying fetch secret from SECRET MANAGER and connect to redshift and do some operations but it gives an error.
redshift_connector.error.InterfaceError: ('communication error', gaierror(-2, 'Name or service not known'))
So for testing I create secret manually in Secret Manager by choosing the type of secret "REDSHIFT CREDENTIALS" and defined it in my python script and it worked. But the secret which I created with terraform not working.
It seems creating usual secret not working with Redshift cluster when you try to fetch it via some programming language. It requiers changing type of the secret in secrets manager.
But there is no such option in terraform to choose the secret type.
Is there any other way to deploy this solution ?
Here is my code below:
# Firstly create a random generated password to use in secrets.
resource "random_password" "password" {
length = 16
special = true
override_special = "!#$%&=+?"
}
# Creating a AWS secret for Redshift
resource "aws_secretsmanager_secret" "redshiftcred" {
name = "redshift"
recovery_window_in_days = 0
}
# Creating a AWS secret versions for Redshift
resource "aws_secretsmanager_secret_version" "redshiftcred" {
secret_id = aws_secretsmanager_secret.redshiftcred.id
secret_string = jsonencode({
engine = "redshift"
host = aws_redshift_cluster.redshift_cluster.endpoint
username = aws_redshift_cluster.redshift_cluster.master_username
password = aws_redshift_cluster.redshift_cluster.master_password
port = "5439"
dbClusterIdentifier = aws_redshift_cluster.redshift_cluster.cluster_identifier
})
depends_on = [
aws_secretsmanager_secret.redshiftcred
]
}
resource "aws_redshift_cluster" "redshift_cluster" {
cluster_identifier = "tf-redshift-cluster"
database_name = lookup(var.redshift_details, "redshift_database_name")
master_username = "admin"
master_password = random_password.password.result
node_type = lookup(var.redshift_details, "redshift_node_type")
cluster_type = lookup(var.redshift_details, "redshift_cluster_type")
number_of_nodes = lookup(var.redshift_details, "number_of_redshift_nodes")
iam_roles = ["${aws_iam_role.redshift_role.arn}"]
skip_final_snapshot = true
publicly_accessible = true
cluster_subnet_group_name = aws_redshift_subnet_group.redshift_subnet_group.id
vpc_security_group_ids = [aws_security_group.redshift.id]
depends_on = [
aws_iam_role.redshift_role
]
}
What did you mean by But unfortunately it is not working by this way did you get an error?
My bad. I added more detailes to the question.
Unfortunately, until now, Terraform does not support the AWS::SecretsManager::SecretTargetAttachment which CloudFormation does and it supports the Target Type as AWS::Redshift::Cluster.
For more information, you can check the following Open Issue since 2019.
You can perform a workaround by using Terraform to create CloudFormation resource.
| 17,789 |
https://stackoverflow.com/questions/28994451 | StackExchange | Open Web | CC-By-SA | 2,015 | Stack Exchange | Ananth, Dan, HLGEM, Piyas De, https://stackoverflow.com/users/1064374, https://stackoverflow.com/users/2448918, https://stackoverflow.com/users/9034, https://stackoverflow.com/users/976859 | English | Spoken | 312 | 496 | Foreign Key Constratins on primary key of one table to 2 columns of another table
I have 2 tables, User and Questions.
User
ID
Security_Question_Id_First
Security answer_First
Security_question_ID_Second
Security_Answer_Second
Questions
ID
Security Questions
I need to have foreign key constrains on Security_question_Id_First and Id of Questions table and Security_question-Id-Second and Id of Questions table.
Currently, I have the User and Questions table created with User having only Security_Question_Id_First Security answer _First apart from Id. The foreign constraint between Security_Question_Id_First and Id of questions table exists.When I try to add a foreign constraint with Security_question_ID_Second and ID of questions table, It throws an error.Can you advise as to how to go about adding foreign constraints between 2 columns of one table(user) and primary key of another (questions)
To improve your question add the SHOW CREATE TABLE output for the two tables in question, add the SQL you run to add the constraints, and add the error you receive.
Generally it does not cause error. Can you show us the exact error?
This is becasue you shoudl not ever have a structure like this in a database. You should havea child table UserSecurityquestion. Anytime you name columns with things like XXX1, XXX2, that indicates that you need a related table instead.
@HLGEM You're right, but you don't get errors for bad practice. Two columns FKing to the same column is allowed.
Thanks for the quick response guys. The error that is was getting was in the User table the default value of the security_question_id-second was 0 and when the foreign constraint was being created the questions table was searched to see whether the primary key had a value of 0 and due to this I was getting the error "Cannot add or update a child row: a foreign key constraint fails" . I have taken HLGEM's advice and lookinginto the structure defined in http://stackoverflow.com/questions/1764435/database-design-for-a-survey.
| 38,287 |
https://ko.wikipedia.org/wiki/%EC%82%AC%EB%A5%B4%EC%B0%A8%EB%85%B8/%EC%82%B0%ED%83%80%EA%B3%A0%EC%8A%A4%ED%8B%B0%EB%85%B8%EC%97%AD | Wikipedia | Open Web | CC-By-SA | 2,023 | 사르차노/산타고스티노역 | https://ko.wikipedia.org/w/index.php?title=사르차노/산타고스티노역&action=history | Korean | Spoken | 118 | 541 | 사르차노/산타고스티노 역 (Sarzano/Sant'Agostino)은 제노바 지하철의 역이다. 제노바 시내의 사르차노 광장에 위치해 있으며, 지금은 봉헌되어 박물관으로 바뀐 산타고스티노 교회와 가깝다.
사르차노/산타고스티노 역은 산 실베스트로 수녀원 (제2차 세계 대전 당시 연합군의 폭격으로 파괴), 산 살바토레 축성 교회, 산타 마리아 아순타 성당의 유적을 보존한 상태로 그 건설되었기에 건축 구조 면에서 특별하다. 이 역이 문을 열기 전까지 사르차노 광장 일대 지역의 대중교통 수단은 전무하였다. 노선상에서는 산 조르조 역과 데 페라리 역의 중간에 위치해 있으며, 데 페라리 역까지 개통되고 1년이 지난 2006년 4월 3일에 문을 열었다.
역 출입구는 총 두 개가 있는데 하나는 사르차노 광장에, 다른 하나는 마리나 성벽에 있다. 승강장의 길이는 80m이며 사르차노 광장 입구에는 지하 26.5m 깊이에, 마리나 성벽 입구에는 지하 7m 깊이에 있다.
외부 링크
제노바 지하철역
2006년 개업한 철도역 | 24,796 |
https://en.wikipedia.org/wiki/John%20D.%20Calandra | Wikipedia | Open Web | CC-By-SA | 2,023 | John D. Calandra | https://en.wikipedia.org/w/index.php?title=John D. Calandra&action=history | English | Spoken | 385 | 572 | John D. Calandra (August 8, 1928 – January 20, 1986) was an American lawyer and politician from New York.
Life
He was born on August 8, 1928. He attended St. Philip Neri Grammar School, Immaculate High School, and St. Bonaventure University. He graduated from St. John's Law School. He was an Assistant United States Attorney. He was Chairman of the Republican Party in the Bronx. He married Jo Ann Trentacosta, and they had two children.
He ran for the New York State Senate in 1962 and 1964, but was defeated both times by Democrat Joseph E. Marine. In November 1965, after re-apportionment, he was elected, and then re-elected several times. He was a member of the State Senate from 1966 until his death in 1986, sitting in the 176th, 177th, 178th, 179th, 180th, 181st, 182nd, 183rd, 184th, 185th and 186th New York State Legislatures. In 1967, he ran for District Attorney of Bronx County, but was defeated by the incumbent Democrat Isidore Dollinger. In the New York State Senate, Calandra rose to the position of Majority Whip.
Calandra lived in an area of the Bronx between Pelham and Pelham Bay Park. His son, John J. Calandra, stated that John D. Calandra faced criticism from political opponents due to his living in the area.
He died on January 20, 1986, in Mount Sinai Hospital in Manhattan, after suffering a series of heart attacks. His widow Jo Ann Calandra ran as an Independent in the special election for her husband's Senate seat in April 1986, but was defeated by Republican Guy Velella.
Legacy
The John D. Calandra Italian American Institute, which is located in Manhattan but under the aegis of Queens College, New York City, is named in his honor. The John D. Calandra Lodge #2600 of the Order of Sons of Italy in America (OSIA) is named after him, and was founded in 1986, based in Yonkers. Public School 14, "The Senator John D. Calandra School," is located at 3041 Bruckner Boulevard, Bronx, NY 10461, in the neighborhood of Pelham Bay. Bronx Terrace, which is off Yonkers Avenue in Yonkers, NY, was renamed Senator John D. Calandra Drive in 1986, in his honor.
References
1928 births
1986 deaths
Republican Party New York (state) state senators
Place of birth missing
20th-century American politicians
Politicians from the Bronx | 28,008 |
https://stackoverflow.com/questions/63430486 | StackExchange | Open Web | CC-By-SA | 2,020 | Stack Exchange | Abdullah Bahattab, d0n.key, https://stackoverflow.com/users/2880586, https://stackoverflow.com/users/3970853 | Norwegian Nynorsk | Spoken | 260 | 765 | Flutter Google Maps: How can you change maptype after runtime?
I am trying to change from normal to satellite when pressing a button as shown below, but i get an error that setMapType does not exist.
mapController.setMapType(MapType.satellite);
Anyone knows what I am doing wrong?
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:search_map_place/search_map_place.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';
String apiKEY;
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Search Map Place Demo',
home: MapSample(),
);
}
}
class MapSample extends StatefulWidget {
@override
State<MapSample> createState() => MapSampleState();
}
class MapSampleState extends State<MapSample> {
Completer<GoogleMapController> _mapController = Completer();
final CameraPosition _initialCamera = CameraPosition(
target: LatLng(-20.3000, -40.2990),
zoom: 14.0000,
);
var maptype = MapType.normal;
@override
Widget build(BuildContext context) {
return Scaffold(
resizeToAvoidBottomPadding: false,
body: Stack(
children: <Widget>[
GoogleMap(
mapType: maptype,
initialCameraPosition: _initialCamera,
onMapCreated: (GoogleMapController controller) {
_mapController.complete(controller);
},
),
],
),
floatingActionButton: FloatingActionButton(
backgroundColor: Colors.white,
foregroundColor: Colors.black,
child: const Icon(Icons.my_location),
onPressed: () {
setState(() {
this.maptype=MapType.satellite;
});
},
),
);
}
}
Just keep in mind that this reloads the map, thus probably counts as additional API calls and costs money on web.
@d0n.key could you explain more please?
@d0n.key is this is related to your comment I/Counters(11854): exceeded sample count in FrameTime
Create a MapType variable:
MapType _currentMapType = MapType.normal;
Reference this variable when calling your Google Map widget:
googleMap = new GoogleMap(
mapType: _currentMapType,
//etc
Create a floating button widget to toggle map types:
floatingActionButton: FloatingActionButton(
child: Icon(Icons.layers),
onPressed: ()=>
{
setState(() {
_currentMapType = (_currentMapType == MapType.normal) ? MapType.satellite : MapType.normal;
});
},
heroTag: null,
),
| 1,897 |
https://salesforce.stackexchange.com/questions/354406 | StackExchange | Open Web | CC-By-SA | 2,021 | Stack Exchange | English | Spoken | 112 | 242 | SalesForce Formula <> 1 OR -1
I wasn't able to find any documentation on this but basically, I am trying to make a Validation rule that runs when a certain thing is not correct, in my case I have 2 numbers subtracting one another the result should be either 1 or -1.
Here is the Code:
ISCHANGED(StageName) && (
CASE(StageName,
"Case",1,
"Case",2,
"Case",3,
"Case",4,
"Case",5,
6)
-
CASE(PRIORVALUE(StageName),
"Case",1,
"Case",2,
"Case",3,
"Case",4,
"Case",5,
6)
<>1 OR -1) // This is returning Error of Missing " )"
How do I compare the calculated value against 2 numbers I tried using the In(1,-1) method but the same error.
Just use ABS.
ABS(/*calculation*/) <> 1
| 49,366 | |
https://arz.wikipedia.org/wiki/%DA%86%D8%A7%D9%83%D9%88%D8%A8%20%D8%A7%D9%8A%D8%B3%D8%A7%D9%83%20%DA%A4%D8%A7%D9%86%20%D9%88%D8%A7%D9%86%D9%8A%D9%86%D8%AC | Wikipedia | Open Web | CC-By-SA | 2,023 | چاكوب ايساك ڤان وانينج | https://arz.wikipedia.org/w/index.php?title=چاكوب ايساك ڤان وانينج&action=history | Egyptian Arabic | Spoken | 35 | 104 | چاكوب ايساك ڤان وانينج كان مهندس من مملكة نيديرلاند.
حياته
چاكوب ايساك ڤان وانينج من مواليد يوم 29 يوليه 1840 فى بليسويچك, مات فى 24 ديسمبر 1917.
لينكات برانيه
مصادر
مهندسين
مهندسين من مملكة نيديرلاند | 45,599 |
https://ceb.wikipedia.org/wiki/Diplazium%20maonense | Wikipedia | Open Web | CC-By-SA | 2,023 | Diplazium maonense | https://ceb.wikipedia.org/w/index.php?title=Diplazium maonense&action=history | Cebuano | Spoken | 82 | 154 | Kaliwatan sa tanom ang Diplazium maonense. sakop sa ka-ulo nga Tracheophyta, ug Una ning gihulagway ni Ren Chang Ching. Ang Diplazium maonense sakop sa kahenera nga Diplazium, ug kabanay nga Athyriaceae.
Kini nga matang hayop na sabwag sa:
Pangmasang Republika sa Tsina
Fujian Sheng
Guangdong Sheng
Republika sa Tsina
Walay nalista nga matang nga sama niini.
Ang mga gi basihan niini
Tanom
Tanom sa Pangmasang Republika sa Tsina
Tanom sa Fujian Sheng
Tanom sa Guangdong Sheng
Tanom sa Republika sa Tsina
Diplazium | 34,470 |
https://en.wikipedia.org/wiki/1927%20in%20poetry | Wikipedia | Open Web | CC-By-SA | 2,023 | 1927 in poetry | https://en.wikipedia.org/w/index.php?title=1927 in poetry&action=history | English | Spoken | 1,274 | 2,361 | Nationality words link to articles with information on the nation's poetry or literature (for instance, Irish or France).
Events
June 29 – T. S. Eliot enters the Church of England; in November he takes British citizenship.
July 7 – James Joyce's collection Pomes Penyeach is published by Shakespeare and Company in Paris.
August – T. S. Eliot's poem Journey of the Magi is published in Faber and Gwyer's Ariel poems series (London) illustrated by E. McKnight Kauffer.
Works published
Canada
Alfred Bailey, Songs of the Saguenay and other poems.
Wilson MacDonald, An Ode On The Diamond Jubilee Of Confederation. Toronto: W. MacDonald.
E. J. Pratt, The Iron Door: An Ode, Toronto: Macmillan.
Charles G.D. Roberts, The Vagrant of Time. (Toronto: Ryerson).
India in English
Swami Ananda Acharya:
Sara and other poems (Poetry in English), Roros, Norway: Odegards Trykkeri 106 pages
Arctic Swallows (Poetry in English)
Harindranath Chattopadhyaya, Collected Plays and Poems, 44 sonnets Madras: printed at Hogarth Press
Joseph Furtado, A Goan Fiddler (Poetry in English)
Peroze P. Meherjee, Poems in Prose (Poetry in English), London: Luzac and Co., posthumously published (died 1925)
Gwendoline Goodwin, editor, An Anthology of Modern Indian Poetry, London: John Murray; anthology (Poetry in English), published in the United Kingdom
Ireland
James Joyce, Pomes Penyeach, published in Paris
W.B. Yeats:
October Blast, including "Among School Children", published in the United Kingdom
Stories of Red Hanrahan and the Secret Rose, poetry and fiction
United Kingdom
G. K. Chesterton, Collected Poems
Joe Corrie, The Image o' God and Other Poems, Scottish poet
W. H. Davies, A Poet's Calendar
T. S. Eliot
Journey of the Magi
"Salutation" (later to become part II of Ash Wednesday, published in 1930) is published in December in Saturday Review of Literature; also published in January 1928 in Eliot's own Criterion magazine
Gwendoline Goodwin, editor, An Anthology of Modern Indian Poetry, London: John Murray; anthology; Indian poetry in English, published in the United Kingdom
Robert Graves, Poems 1914–26
Teresa Hooley, Songs of All Seasons
Violet Jacob, The Northern Lights and other poems, Scottish poet
A. A. Milne, Now We are Six
William Plomer, Notes for Poems
Edith Sitwell, Rustic Elegies
Osbert Sitwell, England Reclaimed
Iris Tree, The Traveller and other Poems
Humbert Wolfe
Cursory Rhymes
Requiem
W.B. Yeats
October Blast, including "Among School Children", Irish poet published in the United Kingdom
Stories of Red Hanrahan and the Secret Rose, poetry and fiction
United States
Sherwood Anderson, A New Testament
Countee Cullen, Copper Sun
Donald Davidson, The Tall Men
Langston Hughes, Fine Clothes to the Jew
Robinson Jeffers, The Women at Point Sur
James Weldon Johnson:
God's Trombones
God's Promises
Amy Lowell, Ballads for Sale
John Livingston Lowes, The Road to Xanadu, a book on the composition of Samuel Taylor Coleridge's "Kubla Khan" (scholarship)
Don Marquis, archy and mehitabel, presented fictionally as a collection of vers libre poems typed by a former-poet-turned-cockroach who jumps on the keys of a typewriter
Alice Dunbar Nelson, Caroling Dusk - a collection of African-American poets
Charles Reznikoff, Five Groups of Verse self-published in 375 copies and containing material from his earlier "Uriel Accosta: A Play" and A Fourth Group of Verse (1921)
Other in English
Shaw Neilson, New Poems, Sydney, Bookfellow, Australia
Works published in other languages
France
Guillaume Apollinaire, pen name of Wilhelm Apollinaris de Kostrowitzky, Julie; ou, La Rose, posthumously published (died 1918)
Jean Cocteau, Opéra, Oeuvres poétiques
Robert Desnos, La liberté ou l'amour! ("Liberty or Love!")
Henri Michaux, Qui je fus("Who I Was"), Paris: N.R.D.
Charles Vildrac, Prolongements, France
Indian subcontinent
Including all of the British colonies that later became India, Pakistan, Bangladesh, Sri Lanka and Nepal. Listed alphabetically by first name, regardless of surname:
Bengali
Jibanananda Das, Jhara Palak, the author's first book of poems; Bengali
Mohitlal Majumdar, Bismarani, Bengali
Yatindranath Sengupta, Marusikha, Bengali
Other Indian languages
Bhai Vir Singh, Bijalian De Har, short poems, mostly lyrical and didactic, Punjabi
Muhammad Iqbal, Zabur-i-Ajam ("Persian Psalms") including the poems "Gulshan-i Raz-i Jadid" ("New Garden of Secrets") and "Bandagi Nama" ("Book of Slavery"), India
Yaganab Changezi and Mirza Yas (writing under the pen name "Husain"), Ayat-i Vijdani, Urdu
Keshavlal Dhruv, ed., Pandarma Shatakna Prachin Gurjar Kavyo, compilation of 15th-century Gujarati poems
Ratnahas, Harishchandrakhyan, translated by Keshavlal Dhruv
Spanish language
Peru
Carlos Oquendo de Amat, 5 metros de poemas ("5 Meters of Poems")
Spain
Rafael Alberti, El alba del alheli (1925–1926) ("The Dawn of the Wallflower")
Luis Cernuda, Perfil del aire ("Profile of Air", which later appeared as Primeras poesías ["First Poems"] in the author's complete works, La realidad y el deseo ["Reality and Desire"])
Federico García Lorca, Canciones ("Songs")
Miguel de Unamuno, Romancero del destierro ("Ballads of Exile")
Other languages
Vladislav Khodasevich, European Night, Russian poet published in Germany
Hendrik Marsman, Paradise Regained, Netherlands
Awards and honors
Newdigate Prize: G. E. Trevelyan, Julia, Daughter of Claudius (first female winner)
Pulitzer Prize for Poetry: Leonora Speyer, Fiddler's Farewell
Births
Death years link to the corresponding "[year] in poetry" article:
January 8 – Charles Tomlinson (died 2015), English poet, translator, academic and artist
February 1 – Galway Kinnell (died 2014), American poet
February 16 – Pearse Hutchinson (died 2012), Scottish-born Irish poet, broadcaster and translator
April 7 – Giampiero Neri, born Giampietro Pontiggia (died 2023), Italian poet
April 8
Judson Jerome (died 1991), American poet
Phyllis Webb, Canadian poet and radio broadcaster
April 12 – Don Coles (died 2017), Canadian poet
June 7 – Martin Carter (died 1997), Guyanese poet
June 8 – George Lamming (died 2022), Barbadian poet
June 20 – Simin Behbahani (died 2014), Persian poet
June 26 – Robert Kroetsch (died 2011), Canadian poet and novelist
July 9 – David Diop (died 1960), French Senegalese poet
July 22 – John Tripp (died 1986), Anglo-Welsh poet in whose memory the annual John Tripp Spoken Poetry Award is presented
July 28 – John Ashbery (died 2017), American poet, chancellor of the American Academy of Arts and Letters and winner of the Pulitzer Prize for Poetry
August 6 – Richard Murphy, Irish-born poet
August 7 – Larry Eigner (died 1996), American poet, early in his career associated with the Black Mountain poets; later recognized as precursor to other poetic movements, e.g., Language poetry
August 15 – Patrick Galvin (died 2011), Irish poet and dramatist
September 7 – Molly Holden (died 1981), English poet
September 20 – Elisabet Hermodsson (died 2017), Swedish poet and artist
September 30 – W. S. Merwin (died 2019), American poet, winner of the Pulitzer Prize for Poetry
October 16 – Günter Grass (died 2015), German author and poet, winner of the Nobel Prize in Literature
October 19 – Edwin Brock (died 1997), English poet
October 20 – Oskar Pastior (died 2006), Romanian-born German poet and translator
November 20 – Kikuo Takano (died 2006), Japanese poet and mathematician
December 3 – James Wright (died 1980), American poet
Deaths
Birth years link to the corresponding "[year] in poetry" article:
January 4 – Süleyman Nazif, سلیمان نظیف (born 1870), Turkish poet and politician, pneumonia
April 6 – Florence Earle Coates (born 1850), American poet, dies in Hahnemann Hospital, Philadelphia
June 9 – Adolfo León Gómez (born 1857), Colombian poet
July 5 – Lesbia Harford (born 1892), Australian poet
July 7 – Charles Mair (born 1838), Canadian poet
September 14 – Hugo Ball (born 1886), German Dada author and poet
September 15 – Herman Gorter (born 1864), Dutch poet and socialist
October 8 – Ricardo Güiraldes (born 1886), Argentine-born novelist and poet
October 26 – Yagi Jūkichi, 八木重吉 (born 1898), Japanese poet (surname: Yagi)
See also
Poetry
List of poetry awards
List of years in poetry
New Objectivity in German literature and art
Generation of '27 in Spanish poetry
Notes
20th-century poetry
Poetry | 19,779 |
https://ca.wikipedia.org/wiki/Batalla%20de%20Kosovo | Wikipedia | Open Web | CC-By-SA | 2,023 | Batalla de Kosovo | https://ca.wikipedia.org/w/index.php?title=Batalla de Kosovo&action=history | Catalan | Spoken | 25 | 53 | Batalla de Kosovo Polje (28 de juny del 1389), entre els exèrcits serbis i aliats, i l'imperi Otomà prop de Pristina
Batalla de Kosovo (1448) | 3,952 |
https://ru.wikipedia.org/wiki/NGC%206823 | Wikipedia | Open Web | CC-By-SA | 2,023 | NGC 6823 | https://ru.wikipedia.org/w/index.php?title=NGC 6823&action=history | Russian | Spoken | 116 | 374 | NGC 6823 (другие обозначения — OCL 124, LBN 135) — рассеянное скопление в созвездии Лисичка.
Этот объект входит в число перечисленных в оригинальной редакции «Нового общего каталога».
Скопление (имеющее поперечник около ) является ядром ассоциации и области звездообразования (поперечник около ), звёзды которой существующая точность наблюдений не позволяет уверенно отделить от звёзд скопления, поэтому исследование физических параметров последнего затруднено. Звёзды ранних классов O-B3 в скоплении проявляют аномальное покраснение, связанное, вероятно, с существованием тёмных пылевых облаков в составе ассоциации. Расстояние до скопления оценивается в . Скопление окружено эмиссионной туманностью NGC 6820.
Примечания
Литература
В. И. Кузнецов. // Кинематика и физика небесных тел. — Т.4. — № 4. — 1988. — С. 80—87.
6823
Лисичка (созвездие)
Рассеянные скопления | 39,143 |
https://nl.wikipedia.org/wiki/Mionochroma%20rufescens | Wikipedia | Open Web | CC-By-SA | 2,023 | Mionochroma rufescens | https://nl.wikipedia.org/w/index.php?title=Mionochroma rufescens&action=history | Dutch | Spoken | 29 | 56 | Mionochroma rufescens is een keversoort uit de familie van de boktorren (Cerambycidae). De wetenschappelijke naam van de soort werd voor het eerst geldig gepubliceerd in 1895 door Gahan.
rufescens | 42,311 |
https://stats.stackexchange.com/questions/560887 | StackExchange | Open Web | CC-By-SA | 2,022 | Stack Exchange | Vincent, https://stats.stackexchange.com/users/347000 | English | Spoken | 192 | 280 | Compare proportions with unknown sample size in one group
I would like to compare the proportion of an outcome (overweight yes/no) in my dataset for different age groups with normative population data that I found publicly available online. I have overweight prevalence for age groups 20-30y, 30-40y, 40-50y and 50-55y for men and women for my data and the control data.
The challenge is that for the control data I only have an estimation of the total sample size (it's based on four yearly questionnaires that were completed by 9000-9500 each year, so in total about 37000 subjects, that's all they published, so it's unknown how large the separate age groups are). I do have frequency, standard error and confidence interval for each data point.
Is there a way to perform a chi square test (or another test) to compare two proportions with unknown exact sample size, but known SE/CI in one group?
Thank you for your suggestions,
Best wishes,
Vincent
Given that you have the standard error of each proportion, you should be able to infer the respective sample size
$SE = \sqrt{p(1-p)/n}$
$n = \frac{p(1-p)}{SE^2}$
Great, thank you very much!
| 19,027 |
https://cs.stackexchange.com/questions/143095 | StackExchange | Open Web | CC-By-SA | 2,021 | Stack Exchange | English | Spoken | 227 | 362 | Coming up with an adversary strategy for a clique of maximum size
I’m having trouble coming up with a good adversary strategy for this problem:
Input: a graph G
Output: the maximum size of any clique in G
Where the algorithm asks each time, “are vertices x and y adjacent?” and it could ask about any random pair of vertices in the graph.
So, I need an adversary strategy to force the algorithm to work for as long as possible. Here’s what I have so far:
for any graph with n vertices, there exists n(n-1)/2 unique vertex pairs the algorithm can ask about
Adversary could use a grid to keep track of questions asked? Through an adjacency matrix?
I’m kind of stumped on a possible strategy, any help? Would it be better for the adversary to answer “no” to the algorithm, or “yes”?
Following is a simple adversary strategy that makes the algorithm make $\frac{n(n-1)}{2}$ queries:
For every pair $(x,y)$, adversary answers "no", i.e., $x$ and $y$ are
not adjacent.
Proof: Since the adversary is maintaining an empty graph, the answer is trivially a clique of size $0$. However, if the algorithm says "$0$" before making all $\frac{n(n-1)}{2}$ queries, then for any non-queried vertex pair $(x,y)$ the adversary can make $x$ and $y$ adjacent; hence forming a clique of size $2$, and thus proving the algorithm wrong.
| 24,749 | |
https://tt.wikipedia.org/wiki/%D0%9C%D0%BE%D0%BD%D1%82%D0%B5%D2%97%D0%B0%D0%BD%D0%BE%20%28%D0%9F%D0%B5%D0%B7%D0%B0%D1%80%D0%BE%20%D0%B8%20%D0%A3%D1%80%D0%B1%D0%B8%D0%BD%D0%BE%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Монтеҗано (Пезаро и Урбино) | https://tt.wikipedia.org/w/index.php?title=Монтеҗано (Пезаро и Урбино)&action=history | Tatar | Spoken | 112 | 345 | Монтеҗано — Италиянең Марке төбәге өязендә урнашкан торак пункт.
Географиясе
Монтеҗано Апеннин ярымутравының урта өлешендә, Италия башкаласы Римнан көнчыгышка таба урнашкан.-->
Климаты
Биредәге җирләргә Урта диңгез климаты хас, җәй чагыштырмача коры һәм кызу, эссе, ә кыш — йомшак.
Халкы
Искәрмәләр
Әдәбият
Gino Moliterno, ур. (2003). Encyclopedia of Contemporary Italian Culture. Routledge; Routledge World Reference. ISBN 0415285569.
Catherine B. Avery, ур. (1972). The New Century Italian Renaissance Encyclopedia. Simon & Schuster. ISBN 0136120512.
Италия // Италия — Кваркуш. — М. : Советская энциклопедия, 1973. — (Большая советская энциклопедия : [в 30 т.] / гл. ред. А. М. Прохоров ; 1969—1978, т. 11).
Марке төбәге торак пунктлары
Италия торак пунктлары
Әлифба буенча торак пунктлар | 12,203 |
https://stackoverflow.com/questions/71207091 | StackExchange | Open Web | CC-By-SA | 2,022 | Stack Exchange | Compo, Domenico Tatone, Gerhard, https://stackoverflow.com/users/11384988, https://stackoverflow.com/users/6738015, https://stackoverflow.com/users/7818749 | English | Spoken | 399 | 944 | I want to find specific characters from txt file
Good morning, I want to find specific characters from txt file and create a new txt file. The file contain this lines:
Server: http://esv5.net:80/c/
MAC: 00:1a:79:17:52:ae
Vence:February 28, 2022, 11:35 pm
http://mag.abcdxyz.one/c
00:1a:79:d6:3f:2a;January 4, 2023, 3:17 pm
00:1a:79:2e:e7:e1;July 30, 2022, 12:18 pm
....
....
I want this output in same order:
http://esv5.net:80/c/
00:1a:79:17:52:ae
http://mag.abcdxyz.one/c
00:1a:79:d6:3f:2a
00:1a:79:2e:e7:e1
My batch code is:
@echo off
FIND "http://" "C:\Users\dom19\Downloads\file.txt"
FIND "00:1a:79" "C:\Users\dom19\Downloads\file.txt"
TYPE C:\Users\dom19\Downloads\file.txt > C:\Users\dom19\Downloads\Newfile.txt
pause
I add thiss command to save results bat not save:
> C:\Users\dom19\Desktop\results.txt
it just works like that
C:\Users\dom19\Desktop\script.bat >> "C:\Users\dom19\Desktop\file.txt"
Look at for /? from cmd specifically at delims
Please take a look at the output from findstr /? too.
here is a quick example @for /f "usebackq delims=" %%i in (file.txt) do @for %%a in (%%i) do @echo %%a | findstr "http 00:1a:79"
thanks a lot, today all day to learn new code
@ECHO OFF
SETLOCAL
rem The following settings for the source directory & filenames are names
rem that I use for testing and deliberately include names which include spaces to make sure
rem that the process works using such names. These will need to be changed to suit your situation.
SET "sourcedir=u:\your files"
SET "filename1=%sourcedir%\q71207091.txt"
FOR /f "usebackqtokens=1*delims=: " %%b IN ("%filename1%") DO (
IF "%%b"=="Server" ECHO %%c
IF "%%b"=="MAC" ECHO %%c
IF "%%b"=="http" ECHO %%b:%%c
IF "%%b"=="00" ECHO %%c|FINDSTR /b "1a:79:" >NUL &IF NOT ERRORLEVEL 1 FOR /f "delims=;" %%e IN ("%%c") DO ECHO %%b:%%e
)
GOTO :EOF
Read each line, using both spaces and colons as delimiters, selecting the first token (to %%b) and the rest of the line (token *) to %%c.
For the lines Server and MAC, echo %%c only
for lines starting http, echo both %%b and %%c, re-inserting the colon.
for lines that start 00, check whether the remainder of the line starts 1a:79: and if it does, then retokenise the rest-of-line using ; as a delimiter. Select the first token only (default), and echo the 00, a colon and the part of the line that precedes the ;.
I'm sorry, but I'm not clear on the requirement for the output file. The data will simply be echoed to the screen. You've not provided any information on how to tell when the data you want is complete, so I can't provide you with code to terminate the batch.
| 34,732 |
https://stackoverflow.com/questions/22160702 | StackExchange | Open Web | CC-By-SA | 2,014 | Stack Exchange | https://stackoverflow.com/users/3376438, titaniumshovel | English | Spoken | 641 | 1,752 | Can't reference an ASP button in script - The name 'xxx' does not exist in the current context
I am very new to ASP.NET so I used their Log-In template in VS2013 so I wouldn't need to set that up myself. This also included a Site Master page with everything looking good, so I just used that. I have not been coding in the ".aspx.cs" file, but rather the Source section in the ".aspx" file, so I can quickly look at the Design section and see how it looks. Here's my code for the ".aspx" file:
<%@ Page Title="Create Schedule" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="false" CodeFile="CreateSchedule.aspx.cs" Inherits="Members_CreateSchedule" %>
<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
<script runat="server">
// I am just experimenting at the moment so I copied some code from Microsoft to see if I can get some kind of response
void Page_Load(Object sender, EventArgs e)
{
Button1.Click += new EventHandler(this.GreetingBtn_Click);
}
void GreetingBtn_Click(Object sender,
EventArgs e)
{
Button clickedButton = (Button)sender;
clickedButton.Text = "...button clicked...";
clickedButton.Enabled = false;
}
</script>
<hgroup class="title">
<h1>Create a Schedule.</h1>
<h2> </h2>
</hgroup>
<section class="create">
<asp:LoginView ID="LoginView1" runat="server" ViewStateMode="Disabled">
<AnonymousTemplate>
<p>You are not logged in so you cannot view this page.</p>
<p><b><a href="../Account/Login.aspx">Click here to log in!</a></b></p>
</AnonymousTemplate>
<LoggedInTemplate>
<header>
This is where you can create a schedule.
<br />
</header>
<p>Create an ID for your employees to find your schedule: <asp:TextBox ID="scheduleID" runat="server" Width="150px"></asp:TextBox></p>
<asp:Table ID="Table1" runat="server" CellPadding="10" GridLines="Both" HorizontalAlign="Center">
<asp:TableHeaderRow Width="80px" HorizontalAlign="Center">
<asp:TableCell Width="80px">
 
</asp:TableCell>
<asp:TableCell Width="80px">
<b>Sunday</b>
</asp:TableCell>
<asp:TableCell Width="80px">
<b>Monday</b>
</asp:TableCell>
<asp:TableCell Width="80px">
<b>Tuesday</b>
</asp:TableCell>
<asp:TableCell Width="80px">
<b>Wednesday</b>
</asp:TableCell>
<asp:TableCell Width="80px">
<b>Thursday</b>
</asp:TableCell>
<asp:TableCell Width="80px">
<b>Friday</b>
</asp:TableCell>
<asp:TableCell Width="80px">
<b>Saturday</b>
</asp:TableCell>
</asp:TableHeaderRow>
<asp:TableRow>
<asp:TableCell>
<b>8:00 AM</b>
</asp:TableCell>
<asp:TableCell>
<asp:Button ID="Button1" Text="" runat="server" style="width:100%" BackColor="White" />
</asp:TableCell>
<asp:TableCell>
<asp:Button ID="Button2" Text="" runat="server" style="width:100%" BackColor="White" />
</asp:TableCell>
<asp:TableCell>
<asp:Button ID="Button3" Text="" runat="server" style="width:100%" BackColor="White" />
</asp:TableCell>
<asp:TableCell>
<asp:Button ID="Button4" Text="" runat="server" style="width:100%" BackColor="White"/>
</asp:TableCell>
<asp:TableCell>
<asp:Button ID="Button5" Text="" runat="server" style="width:100%" BackColor="White" />
</asp:TableCell>
<asp:TableCell>
<asp:Button ID="Button6" Text="" runat="server" style="width:100%" BackColor="White" />
</asp:TableCell>
<asp:TableCell>
<asp:Button ID="Button7" Text="" runat="server" style="width:100%" BackColor="White" />
</asp:TableCell>
</asp:TableRow>
</asp:Table>
<br />
<br />
</LoggedInTemplate>
</asp:LoginView>
</section>
This is the code for my ".aspx.cs" file:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class Members_CreateSchedule : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
The purpose of this page is for an employer to create a custom calendar for the employees to join and add shifts, so I am allowing them to select which times on which days they want to offer. My end goal is to be able to click the button and have the color turn green, and later log which buttons were pressed in my database.
Button1 gives the error "The name 'Button1' does not exist in the current context. I'm not sure what I need to be doing in order to get the ASP button to respond to the script at the top.
I think I just need a little clarification on what I'm doing wrong and how I should be going about this. Thanks in advance.
The buttons are inside the LoggedInTemplate of the LoginView. The controls inside the template are not accessible directly.
Button Button1 = (Button)LoginView1.FindControl("Button1");
The buttons will only be available when a user is logged in, otherwise the AnonymousTemplate is used. So it's best to check if a button was retrieved by the previous code before doing anything to it to avoid a null reference error.
if(Button1 != null)
{
//Do your stuff
}
Thank you for your response. I am still unsure where the code you wrote should be pasted. I placed it like this:
`void Page_Load(Object sender, EventArgs e)
{
Button Button1 = (Button)LoginView1.FindControl("Button1");
if (Button1 != null)
{
Button1.Click += new EventHandler(this.GreetingBtn_Click);
}
}`
But nothing has changed on my site. Is there anything else I need to do to make it work?
| 6,386 |
https://en.wikipedia.org/wiki/Kypria%20festival | Wikipedia | Open Web | CC-By-SA | 2,023 | Kypria festival | https://en.wikipedia.org/w/index.php?title=Kypria festival&action=history | English | Spoken | 216 | 307 | Kypria is an annual festival staged at various venues across Cyprus in September and October. It is organised by the Cyprus Ministry of Education and Culture. The festival brings to Cyprus some of the world's best artists in the fields of music, dance and performance art. Art and photography exhibitions, opera and ballet are included in a richly varied programme. The festival has been running since 1990 and is considered the premier cultural event of the year, with each new edition eagerly awaited.
Kypria Festival 2010
Kypria 2010 begins on September 3 with contemporary dance and continues with music followed by theater performances and philharmonic concerts. The international festival's highlights are dedicated to the commemoration of the 50 years since the founding of the Republic of Cyprus organized and coordinated by the Ministry of Culture. Planned activities can be seen on websites linked below.
Past performances have included Complexions New York Contemporary Ballet, Béjart Ballet, Joaquín Cortés, Eifman Ballet of St Petersburg, National Theatre of Greece, Alkinoos Ioannidis, Dulce Pontes with George Dalaras, Mario Frangoulis, Milva, Oxford Philomusica, opera performances of The Barber of Seville, Madama Butterfly and many other concerts, plays and performances by local and international artists.
References
External links
Festival's Official Programme 2010
Festival's Media Gallery
Festivals in Cyprus
Autumn events in Cyprus | 655 |
https://stackoverflow.com/questions/72977674 | StackExchange | Open Web | CC-By-SA | 2,022 | Stack Exchange | Thekatsman, https://stackoverflow.com/users/16496420 | English | Spoken | 552 | 1,038 | JEST- some of the tests are not running when I run "npm run jest" in async methods
I am testing a service that saves data in REDIS, in my describe I have several "it" tests , the "it" tests are testing a variable that is given a value by an async function, I noticed that when I run the tests the "describe" cant see the test suites ("it") inside of it.
I'm getting an error like this: " Your test suite must contain at least one test".
I noticed when I'm removing the line of the variable that gets data from an async function it does see the tests but they are not relevant because they test the value of the variable that gets his data from the async function, I leaving the piece of code to help you understand better what I'm talking about.
describe("some testing", ()=>{
describe("redisProcessor", ()=>{
console.log("---------------------------debug2")
aisListenerSpec.run("123456")
aisListenerSpec.redisProcessor(JSON.stringify(validMessage));
let isOkay = true
aisListenerSpec.redisSetter.client.hgetall("________someString______",(err, result)=>{
console.log("---------------------------debug3")
for (const key in result) {
if(validMessage[key]!==undefined)
if(JSON.stringify(validMessage[key])!==result[key]) isOkay = false;
}
console.log("---------------------------debug4")
it("________someString______${missionId} should be 2 another fields: messageTime and missionId", ()=>{
expect(result["messageTime"]).toBeTruthy();
expect(result["missionId"]).toBe("123456");
})
it("________someString______${missionId} should be the same the validMessage", ()=>{
console.log("---------------------------debug5")
expect(isOkay).toBeTruthy();
})
console.log("---------------------------debug6")
})
})
here is the cli outputs
here is the cli outputs
It seems like that jest finished before getting to the tests.
thank ahead!
Asynchronous code is hard to think about. A common gotcha is not realizing that the moment you call anything asynchronous, the function you are in immediately goes to the next line of code. Then, at some future and indeterminate time, the callback is invoked. Maybe.
This is what's happening in you code when you call aisListenerSpec.redisSetter.client.hgetall. All of the calls to it are inside of the callback and aren't called in the describe. They are called sometime later, after the describe has already returned.
Also, a lot of you setup code should probably be in a call to beforeEach and not inside of the describe. This gives you better control over when the setup code in invoke and by running it for each test, helps reduce side effects in your test suite.
Jest has a fairly complete page describing how to test code like this. I've synthesized a couple of quick examples that should help if you just want a quick solution. But I do recommend you go and read the link and familiarize yourself with the ways to handle this in Jest.
Option one. Use done. The set up will not return until done is called. If done is never called, you'll get a timeout error and the test will fail:
describe("test async thing", () => {
let results
beforeEach(done => {
processWithCallback("foo", (err, result) => {
if (err) {
done(err)
} else {
results = result
done()
}
}
}
it("did a thing", () => {
expect(result.foo).toBe('foo')
})
})
Option two. Use and return a Promise. If the Promise never resolves, you will get a timeout error:
describe("test async thing", () => {
let results
beforeEach(() => {
return new Promise((resolve, reject) => {
processWithCallback("foo", (err, result) => {
if (err) {
reject(err)
} else {
results = result
resolve()
}
}
}
}
it("did a thing", () => {
expect(result.foo).toBe('foo')
})
})
Thank you very much, I used the first option and it worked for me.
| 40,586 |
https://en.wikipedia.org/wiki/Bostan%20Rural%20District%20%28Dasht-e%20Azadegan%20County%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Bostan Rural District (Dasht-e Azadegan County) | https://en.wikipedia.org/w/index.php?title=Bostan Rural District (Dasht-e Azadegan County)&action=history | English | Spoken | 91 | 156 | Bostan Rural District () is in Bostan District of Dasht-e Azadegan County, Khuzestan province, Iran.
At the National Census of 2006, its population was 1,859 in 267 households. There were 2,240 inhabitants in 454 households at the following census of 2011. At the most recent census of 2016, the population of the rural district was 2,671 in 664 households. The largest of its 24 villages was Am Dabs, with 890 people.
References
Dasht-e Azadegan County
Rural Districts of Khuzestan Province
Populated places in Khuzestan Province
Populated places in Dasht-e Azadegan County | 21,146 |
https://stackoverflow.com/questions/33883717 | StackExchange | Open Web | CC-By-SA | 2,015 | Stack Exchange | https://stackoverflow.com/users/5369878, mmttato | English | Spoken | 106 | 238 | How to generate .deb package from a repository
How to get a .deb package from a not yet installed program. for instance when installing transmission I type sudo apt-get install transmission, how to get a deb package with something like apt-get deb transmission /root/Downloads.
to use for off line installs.
I apologize for my English. Thank you all for you time :)
The ~40,000 packages.deb can just be downloaded.
Search : https://packages.debian.org/jessie/transmission → all → https://packages.debian.org/jessie/all/transmission/download
Download : $ wget http://ftp.au.debian.org/debian/pool/main/t/transmission/transmission_2.84-0.2_all.deb
Easier : Buy the 13 DVDs https://www.osdisc.com/products/debian/v82
Good information right there, thank you. Sorry if it was a silly question,I'm still a newbie here :)
| 19,928 |
https://ceb.wikipedia.org/wiki/Mo%C3%9Fbach | Wikipedia | Open Web | CC-By-SA | 2,023 | Moßbach | https://ceb.wikipedia.org/w/index.php?title=Moßbach&action=history | Cebuano | Spoken | 25 | 65 | Ang Moßbach ngalan niining mga mosunod:
Alemanya
Moßbach (kapital sa munisipyo), Thuringia,
Moßbach (munisipyo), Thuringia,
Pagklaro paghimo ni bot 2016-01
Pagklaro paghimo ni bot Alemanya | 35,114 |
https://ceb.wikipedia.org/wiki/Antepipona%20laevigata | Wikipedia | Open Web | CC-By-SA | 2,023 | Antepipona laevigata | https://ceb.wikipedia.org/w/index.php?title=Antepipona laevigata&action=history | Cebuano | Spoken | 51 | 97 | Kaliwatan sa insekto ang Antepipona laevigata. Una ning gihulagway ni Blüthgen ni adtong 1951. Ang Antepipona laevigata sakop sa kahenera nga Antepipona, ug kabanay nga Eumenidae.
Kini nga matang hayop na sabwag sa:
Turkeya
Walay nalista nga matang nga sama niini.
Ang mga gi basihan niini
Insekto
Insekto sa Turkeya
Antepipona | 50,662 |
https://stackoverflow.com/questions/51897394 | StackExchange | Open Web | CC-By-SA | 2,018 | Stack Exchange | DevGe, Vasim Shaikh, https://stackoverflow.com/users/10227197, https://stackoverflow.com/users/5212418 | English | Spoken | 251 | 418 | Why I Getting 403 Forbidden after an hour (Laravel)
I have a project, a content management system (CMS) using Laravel.
Then after all I've done in the project, I upload it to Linux (Centos7). After I uploaded it, all the function was working and all the data was in there.
Note: After an hour all my images turning to
Failed to load resource: the server responded with a status of 403 (Forbidden)
I have website for production and for development
Production has SSL and HTTPS
however the development has no SSL and HTTPS
Take a look at my website that I've created
below.
All the images turning to 403 forbidden
however my development website the data is in there.
https://hiflyer.ca/index
http://www.hi-flyer.ca/index
Thanks. I hope somebody can help me because the bug took almost 3 weeks already.
uIt may be problem with permission of image direcotry of image file
[https://hiflyer.ca/public/storage] in your application
Permissions Issue with Laravel on CentOS
this is the problem by turning off selinux with the command
setenforce 0
This should allow writing, but you've turned off added security server-wide. That's bad. Turn SELinux back
setenforce 1
Then finally use SELinux to allow writing of the file by using this command
chcon -R -t httpd_sys_rw_content_t storage
And you're off!
so i need to follow that command. to make the issue solved @Vasim Vanzara
had you experience this vasim in centos 7 laravel project?
I am not frequently used few of my friend have same issue. We apply above solution.
| 30,604 |
https://stackoverflow.com/questions/63451146 | StackExchange | Open Web | CC-By-SA | 2,020 | Stack Exchange | LeGEC, Lou, https://stackoverflow.com/users/1256452, https://stackoverflow.com/users/262211, https://stackoverflow.com/users/3001761, https://stackoverflow.com/users/86072, jonrsharpe, torek | English | Spoken | 473 | 1,035 | Access older Git commits after accidentially pulling from remote repo with different commit history
I have a local Git repo with existing commits spanning several months. I have created a fresh repo on GitLab, initialized with a README file, so it has one commit.
After adding the origin to my local repo, I pulled, and now I see only that one commit from origin and all the other ones in the history of my local repo are gone.
The .git folder is still 6GB though.
What is the right approach to remove the commit that came from origin and get access to my original commits again?
What does git reflog show you?
What command did you type, which showed you this one commit long history ?
git pull from an empty repository should have no effect at all. Showing your exact commands here will help others diagnose what really went wrong.
@jonrsharpe shows all the commits before the pull, thanks.
@LeGEC git log
@torek not exactly empty, I initialized the new remote repo with a README, so it had 1 commit. And that's all that was shown on my local repo after pulling.
OK, yes, that's definitely not an empty repository. But the result of git merge should have been an error ("refusing to merge unrelated histories") unless your Git is very old. If your Git is old enough, perhaps you hit one of those nasty little git pull bugs that I hit back in the late 2000s or early 2010s, that is one of the reasons I almost never actually run git pull at all. :-)
Partial success:
How to get invisible commits back: https://megakemp.com/2017/10/19/the-invisible-commits-part-one/
List all commits: git reflog
We see all the commits, and pos 3 would be our local repo before pulling from empty remote repo:
9518fc7 (HEAD -> master, origin/master, origin/HEAD) HEAD@{0}: reset: moving to HEAD
9518fc7 (HEAD -> master, origin/master, origin/HEAD) HEAD@{1}: rebase finished: returning to refs/heads/master
9518fc7 (HEAD -> master, origin/master, origin/HEAD) HEAD@{2}: pull: checkout 9518fc7b174ce9cfc87124e510128b1b0f8883d8
f468053 HEAD@{3}: checkout: moving from b894f7ca01f8d1418d9b83bc22e7f728e42e16ba to master
b894f7c HEAD@{4}: checkout: moving from master to b894f7ca01f8d1418d9b83bc22e7f728e42e16ba
f468053 HEAD@{5}: rebase: updating HEAD
f468053 HEAD@{6}: rebase: aborting
bd4c2c6 HEAD@{7}: rebase: checkout origin/master
f468053 HEAD@{8}: rebase: updating HEAD
f468053 HEAD@{9}: rebase: aborting
bd4c2c6 HEAD@{10}: rebase: checkout origin/master
f468053 HEAD@{11}: checkout: moving from f468053e2a1c646b0406868b900c180d974b1bc7 to master
f468053 HEAD@{12}: checkout: moving from bd4c2c6c5e7b5e9fc385f582df3bf0bd2028de11 to f468053e2a1c646b0406868b900c180d974b1bc7
bd4c2c6 HEAD@{13}: checkout: moving from master to bd4c2c6c5e7b5e9fc385f582df3bf0bd2028de11
f468053 HEAD@{14}: commit (amend): - release 0.8.33
bd4c2c6 HEAD@{15}: commit: - release 0.8.33
This failed: git reset --hard master~3 --
With error: fatal: Failed to resolve 'master~3' as a valid revision.
This worked: git reset --hard @{3}
Well kinda. It got the old history back, but doesn't end up at the commit that should be pos 3 according to the list above. But at least I can see all my commits again.
| 44,860 |
https://es.wikipedia.org/wiki/Hugo%20Miguel%20Fernandes%20Vieira | Wikipedia | Open Web | CC-By-SA | 2,023 | Hugo Miguel Fernandes Vieira | https://es.wikipedia.org/w/index.php?title=Hugo Miguel Fernandes Vieira&action=history | Spanish | Spoken | 77 | 155 | Hugo Miguel Fernandes Vieira (Lisboa, Portugal, 11 de agosto de 1976), conocido como Hugo, es un futbolista portugués. Juega como defensa y su actual equipo es el S. C. Beira-Mar de la Primera División de Portugal.
Clubes
Enlaces externos
Ficha en Fora de Jogo
Nacidos en Lisboa
Futbolistas de Portugal
Futbolistas del Sporting Clube de Braga
Futbolistas de la Unione Calcio Sampdoria
Futbolistas del Sporting de Lisboa
Futbolistas del Vitória Futebol Clube
Futbolistas del Sport Clube Beira-Mar | 33,348 |
https://fi.wikipedia.org/wiki/Sairaalaneuvos | Wikipedia | Open Web | CC-By-SA | 2,023 | Sairaalaneuvos | https://fi.wikipedia.org/w/index.php?title=Sairaalaneuvos&action=history | Finnish | Spoken | 36 | 103 | Sairaalaneuvos on Suomessa tasavallan presidentin myöntämä arvonimi, joka kuuluu 6. ryhmään. Arvonimestä maksettavan veron määrä on joko .
Arvonimi myönnettiin ensimmäisen kerran vuonna 1999. Vuosien 1999–2017 aikana sairaalaneuvoksen arvonimi on myönnetty 14 henkilölle.
Lähteet
Suomalaiset arvonimet | 13,577 |
https://stackoverflow.com/questions/23806259 | StackExchange | Open Web | CC-By-SA | 2,014 | Stack Exchange | Eeji, https://stackoverflow.com/users/3125357, https://stackoverflow.com/users/3615703, user3615703 | English | Spoken | 472 | 912 | Enable IF Statements in External PHPBB Pages
I'm using if statements in my PHPBB template, for example
<!-- IF S_USERNAME eq 'Stoker' -->Some content here<!-- ENDIF -->
This works great and really well. However, I have added some additional pages, and in order to ensure I can still call values such as their username, I've had to add this code to each header of the new pages.
define('IN_PHPBB', true);
define('ROOT_PATH', "../");
if (!defined('IN_PHPBB') || !defined('ROOT_PATH')) {
exit();
}
$phpEx = "php";
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : ROOT_PATH . '/';
include($phpbb_root_path . 'common.' . $phpEx);
$user->session_begin();
$auth->acl($user->data);
This works great, and I can call and echo the username for example.
However, If statements are just not working, so if I did try
<!-- IF S_USERNAME eq 'Stoker' -->Some content here<!-- ENDIF -->
It just doesn't work, "some content here" is displayed, but I know the if statement isn't working. Am I missing some code in the header so that I can use if statements in PHPBB?
Are you trying to use the IF statements inside the .php file or in a separate .html template file?
Correct Eeji, I was trying to use them inside a PHP File, but quote it in HTML. Unfortunately I've been told it's just not going to work, so resorting to native PHP.
If you are using raw PHP, then you can use something like this:
if ($user->data['username'] == 'Stoker') {
// Do whatever needs doing
}
or, to make the end code look a little cleaner assign $user->data['username'] to a less cluttered looking variable, eg:
$username = $user->data['username'];
if ($username == 'Stoker') {
// Do whatever needs doing
}
Alternatively, you can make your extra pages use the templating system to look exactly like they 'belong' to the same site as the forum.....
extrapage.php would sit in the same directory as your root index.php and look like this:
(if you want it in a subfolder, just change $phpbb_root_path to suit)
<?php
define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();
page_header('Title Here'); // this is used in the page title
$template->set_filenames(array(
'body' => 'extrapage.html',
));
// Any PHP you need to use goes here, including assigning any additional template variables etc
make_jumpbox(append_sid("{$phpbb_root_path}viewforum.$phpEx"));
page_footer();
?>
Then in /styles/your_style/template/ you would have your template file extrapage.html...
<!-- INCLUDE overall_header.html -->
<p>Your HTML goes here, you can use any global template variable in addition to variables declared in the above PHP file</p>
<!-- INCLUDE overall_footer.html -->
As there has been no progress here, Upon Analysing and Communicating with the Support
Team, it's confirmed its just not possible to do this as the engine only supports
its own template files.
External Pages must use native PHP If Statements, and cannot use template If Statements.
| 45,325 |
https://nl.wikipedia.org/wiki/Piesarthrius%20reticulaticollis | Wikipedia | Open Web | CC-By-SA | 2,023 | Piesarthrius reticulaticollis | https://nl.wikipedia.org/w/index.php?title=Piesarthrius reticulaticollis&action=history | Dutch | Spoken | 29 | 60 | Piesarthrius reticulaticollis is een keversoort uit de familie van de boktorren (Cerambycidae). De wetenschappelijke naam van de soort werd voor het eerst geldig gepubliceerd in 1940 door McKeown.
reticulaticollis | 44,563 |
https://pt.wikipedia.org/wiki/Voo%20Air%20Ontario%201363 | Wikipedia | Open Web | CC-By-SA | 2,023 | Voo Air Ontario 1363 | https://pt.wikipedia.org/w/index.php?title=Voo Air Ontario 1363&action=history | Portuguese | Spoken | 490 | 854 | O Voo Air Ontario 1363 (ICAO: MDA1363) foi um voo regular de passageiros da Air Ontario que caiu perto de Dryden, Ontário, em 10 de março de 1989, logo após a decolagem do Aeroporto de Dryden. A aeronave envolvida no acidente era um Fokker F-28-1000 Fellowship. A aeronave caiu após apenas 49 segundos pois não foi capaz de atingir altitude suficiente para limpar as árvores além do final da pista, devido ao gelo e neve nas asas.
Um acidente semelhante aconteceu em 1992, quando o Voo USAir 405 caiu no Flushing Bay na decolagem no Aeroporto LaGuardia, depois que o gelo se acumulou nas asas durante o táxi.
Investigação
Conclusão
A investigação do acidente foi incluída em um inquérito judicial sob o juiz Virgil P. Moshansky. Seu relatório mostrou que as pressões competitivas causadas pela desregulamentação comercial prejudicam os padrões de segurança e que muitas das práticas desleixadas e procedimentos questionáveis da indústria colocam o piloto em uma situação muito difícil. O relatório também afirmou que a aeronave não deveria ter sido programada para reabastecer em um aeroporto que não tivesse equipamento adequado, e que nem o treinamento nem os manuais haviam alertado suficientemente o piloto sobre os perigos do gelo nas asas. Moshansky culpou a Transport Canada por permitir que a Air Ontario se expandisse para a operação de aeronaves maiores e mais complicadas sem detectar as deficiências de suas aeronaves existentes.
Após o acidente do voo 1363 da Air Ontario, muitas mudanças significativas foram feitas nos Regulamentos de Aviação Canadense. Estes incluíram novos procedimentos relativos ao reabastecimento e degelo, bem como muitos novos regulamentos destinados a melhorar a segurança geral de todos os voos futuros no Canadá. Especificamente, eles se referiam à eficácia de certos fluidos de degelo ao longo do tempo e ao aumento do uso de fluido Tipo II. Esta mistura inclui agentes polimerizantes, que prolongam o efeito de degelo.
Outra causa do acidente do voo 1363 foram atrasos nas mudanças nos procedimentos de degelo do relatório dissidente do Canadian Aviation Safety Board (CASB) sobre o acidente de 1985 do Voo Arrow Air 1285, que também pode ter envolvido gelo, mas um relatório minoritário separado afirmou que ocorreu uma explosão. Ambos os acidentes minimizaram a confiança nas investigações do CASB e levaram o governo canadense a fechar o CASB um ano após o acidente do voo 1363. O CASB foi substituído pelo Transportation Safety Board of Canada (TSB), uma agência de investigação mais independente e multimodal.
Memorial
Um memorial para o acidente está localido no MacArthur Road.
Na cultura popular
A série de TV canadense Mayday apresentou o incidente em um episódio da 9ª temporada intitulado "Cold Case". TLC também exibiu um segmento sobre o acidente no especial de 1990 chamado Terror in the Sky. Ele apresentava entrevistas com passageiros e imagens da audiência de investigação.
Ver também
Lista de acidentes aéreos em 1989
1989 no Canadá
Air Ontario 1363
Air Ontario 1363
Air Ontario 1363 | 9,518 |
https://sv.wikipedia.org/wiki/Ludwig%20W%C3%A5hlberg | Wikipedia | Open Web | CC-By-SA | 2,023 | Ludwig Wåhlberg | https://sv.wikipedia.org/w/index.php?title=Ludwig Wåhlberg&action=history | Swedish | Spoken | 284 | 570 | Ludwig Wåhlberg, zai, född 5 augusti 1997, är en svensk professionell Dota 2-spelare som spelar för Team Liquid.
Karriär
Wåhlberg började sin karriär i spelet Heroes of Newerth där han spelade för lag som Trademark eSports och compLexity Gaming. Redan 14 år gammal vann Wåhlberg DreamHoN 2012. Året efter flyttade Wåhlberg över till Dota 2 och bildade ett lag med andra professionella HoN-spelare. I slutet av januari 2014 bytte Wåhlberg till support-rollen och blev upplockad av Evil Geniuses kort därefter.
Vid årsskiftet mellan 2014 och 2015 lämnade Wåhlberg Evil Geniuses för Team Secret, samtidigt bytte han från support-rollen till offlane-rollen.
Efter en 7-8 plats vid The International 2015, lämnade Wåhlberg Team Secret för att göra klart sina gymnasiestudier. Kort efter introducerade Valve nya regler till Dota 2-scenen som gjorde det möjligt för lag att ha en inhoppare redo vid varje turnering. Wåhlberg blev då upplockad av Evil Geniuses igen som inhoppare under tiden han gick klart gymnasiet. Efter Wåhlberg tog studenten blev han upplockad av Kaipi medan han fortfarande agerade inhoppare för Evil Geniuses.
Den 12 juni 2016 offentliggjordes det att Wåhlberg kom tillbaka till Evil Geniuses som aktiv spelare.
Efter dåligt resultat vid The International 2017 lämnade Wåhlberg Evil Geniuses för att bilda ett lag med PPD. Detta laget kom senare till att plockas upp av OpTic Gaming. Efter en 7-8 plats på The International 2018 valde OpTic Gaming att lägga ner sitt Dota 2 lag. Wåhlberg blev upplockad av Team Secret samma dag i september 2018. Wåhlberg spelade mellan 2018 och 2021 för Team Secret.
Den 3 november 2021 lämnade Wåhlberg Team Secret för att gå med i Team Liquid.
Referenser
Födda 1997
Levande personer
Män
Svenska e-sportpersonligheter
Svenska idrottare under 2000-talet | 36,162 |
https://stackoverflow.com/questions/77817840 | StackExchange | Open Web | CC-By-SA | null | Stack Exchange | Theodor Zoulias, derpirscher, https://stackoverflow.com/users/11178549, https://stackoverflow.com/users/3776927 | English | Spoken | 337 | 593 | Trying to learn cancellation tokens. Not sure why this does not work
So, I'm learning Cancellation tokens and I'm trying this example. The writeline is never working even if I cancel this method from the outside.
So how this works, is the initializeAsync, if it takes too long, I have another method that cancels this task and then needs to alert the end user it was cancelled. However, the writeline never happens when it is cancelled from an outside method. _cancelTask is shared on the other method as well.
internal static async Task<bool> SimConnectInitAsync()
{
_cancelTask = new CancellationTokenSource();
await Task.Run(async ()=>
{
await InitializeAsync();
}, _cancelTask.Token);
Debug.WriteLine("Cancelled");
_cancelTask.Cancel();
_cancelTask.Dispose();
return true;
}
Never get writeline to trigger. Cancels the entire method.
The InitializeAsync doesn't take a CancellationToken as argument. Do you want to cancel this method in a non-cooperative fashion? Short answer, you can't. Regarding the effect of the CancellationToken on the Task.Run method, see the "You keep using" meme in this blog post by Stephen Cleary.
Calling _cancelTask.Cancel(); from outside will raise an exception in SimConnectInitAsync You are not handling that exception, thus, the Debug.WriteLine will never happen ...
I think that your confusion is about the cancellation token that you pass in into the Task.Run method.
This token is only used if the task hasn't started yet. See the documentation at https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.task.run?view=net-8.0#system-threading-tasks-task-run(system-func((system-threading-tasks-task))-system-threading-cancellationtoken)
A cancellation token that can be used to cancel the work if it has not yet started.
This token can only be used in the few milliseconds between where you call the method Task.Run and that the inner task has found a thread to start it's work on. Once the inner task has started, then this cancellation token is no longer used.
Also, errors that are thrown inside of the method passed to Task.Run are thrown again when you await the result of Task.Run. This means that if you have an OperationCancelledException thrown inside the InitializeAsync, this will cause the await Task.Run to rethrow this exception, skipping the rest of this method.
| 3,921 |
https://stackoverflow.com/questions/39619557 | StackExchange | Open Web | CC-By-SA | 2,016 | Stack Exchange | English | Spoken | 141 | 344 | How to insert string list to listbox in matlab GUI
I have small question concerning gui in matlab.
I don't know exactly how to insert/apply list of string to listbox?
I don't want to specify fixed list of string in property inspector.
strList = {'aaaa', 'yes', 'no', 'maybe', 'sure'};
or
strList = ['aaaa', 'yes', 'no', 'maybe', 'sure'];
a) To add the item at the end of your list (strList = {'aaaa', 'yes', 'no', 'maybe', 'sure'};):
strList{end+1} = 'add';
strList =
'aaaa' 'yes' 'no' 'maybe' 'sure' 'add'
b) To insert the item at, for example, n=3:
strList = [strList(1:n-1), 'insert', strList(n:end)];
strList =
'aaaa' 'yes' 'insert' 'no' 'maybe' 'sure' 'add'
To set the strings into the listbox:
hListBox = uicontrol('Style','List', 'String',strList);
set(hListBox, 'String', strList)
% to get string from ListBox
strList = get(hListBox, 'String');
where hListBox is the handle for your listbox.
| 27,706 | |
https://en.wikipedia.org/wiki/Boulder%20frog | Wikipedia | Open Web | CC-By-SA | 2,023 | Boulder frog | https://en.wikipedia.org/w/index.php?title=Boulder frog&action=history | English | Spoken | 55 | 113 | Boulder frog may refer to:
Black Mountain boulder frog (Cophixalus saxatilis), a frog in the family Microhylidae endemic to Australia, now severely reduced to the "Black Mountains" 25 km south-west of Cooktown, Queensland
Blotched boulder-frog (Cophixalus petrophilus), a frog in the family Microhylidae from the Cape York Peninsula, Queensland, Australia
Animal common name disambiguation pages | 2,644 |
https://stackoverflow.com/questions/55206059 | StackExchange | Open Web | CC-By-SA | 2,019 | Stack Exchange | Nick Parsons, charlietfl, deblocker, https://stackoverflow.com/users/1175966, https://stackoverflow.com/users/4845566, https://stackoverflow.com/users/547262, https://stackoverflow.com/users/5648954, merlin | English | Spoken | 363 | 708 | How to exchange all options within select field with jQuery
I have two select fields in a form - make and model. My goal is to change the options of field "model" upon selecting another make. E.g. Select BMW, show all BMW models.
Therefore I am doing an ajax call to retrieve those values and then I want to build the other form.
The code for building the options:
obj = JSON.parse(json);
$.each(obj.item, function(key,valueObj){
Object.keys(valueObj || {}).forEach(function(k) {
$('#filter_model').append(
$('<option></option>').val(k).html(valueObj[k])
);
})
This works by appending new options. But of course as I keep on changing the make, it will just add new models to the select fields. I would either need to remove all existing ones or somehow rebuild the entire field. The later one would be my preference as I later want to only show the model field upon selecting the make.
How could this be acchieved?
Sounds like all you need is to call $('#filter_model').empty() before the loop that appends new options
Thank you! That fixed it with some additions: $('#filter_model').empty();
$('#filter_model').append('Auswählen');
$('#filter_model').selectmenu("refresh", true);
Appending within a loop isn't a good idea as it is an expensive operation to run. Instead, you could build a string of HTML within your loop and then set that as your content for #filter_model using the .html() method (thus only modifying the DOM once):
obj = JSON.parse(json);
var strHTML = "";
$.each(obj.item, function(key,valueObj) {
Object.keys(valueObj || {}).forEach(function(k) {
strHTML += '<option value="' + k +'">' + valueObj[k] +'</option>';
});
});
$('#filter_model').html(strHTML);
Or, alternatively, as suggested by @charlietfl, you could instead build an array of your jQuery objects and then use .html() on that array:
obj = JSON.parse(json);
var options = [];
$.each(obj.item, function(key,valueObj) {
Object.keys(valueObj || {}).forEach(function(k) {
options.push($('<option></option>').val(k).html(valueObj[k]));
});
});
$('#filter_model').html(options);
you are concatenating jQuery objects to string inside the loop
@charlietfl thanks, I believe I've fixed the issue now
Can also pass array of objects to html()
@charlietfl oh, I wasn't aware you could do that. Thanks for informing me :)
@NickParsons nice answer, I didn't realized until now that the .html is also clearing data and event handlers like .empty does! I believe this need to be emphasized in Your answer.
| 38,191 |
https://bg.wikipedia.org/wiki/Pseudotropheus%20macrophthalmus | Wikipedia | Open Web | CC-By-SA | 2,023 | Pseudotropheus macrophthalmus | https://bg.wikipedia.org/w/index.php?title=Pseudotropheus macrophthalmus&action=history | Bulgarian | Spoken | 20 | 73 | Pseudotropheus macrophthalmus е вид лъчеперка от семейство Цихлиди (Cichlidae).
Разпространение
Видът е разпространен в Малави, Мозамбик и Танзания.
Източници
Tropheops | 3,606 |
https://mk.wikipedia.org/wiki/%D0%A0%D0%B5%D0%B4%D0%B5%20%28%D0%BF%D0%BE%D1%98%D0%B0%D1%81%D0%BD%D1%83%D0%B2%D0%B0%D1%9A%D0%B5%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Реде (појаснување) | https://mk.wikipedia.org/w/index.php?title=Реде (појаснување)&action=history | Macedonian | Spoken | 27 | 81 | Реде може да се однесува на следниве места во Германија:
Реде — град во округот Боркен, Северна Рајна-Вестфалија
Реде (Емс) — општина во округот Емсланд, Долна Саксонија | 32,375 |
https://math.stackexchange.com/questions/1649612 | StackExchange | Open Web | CC-By-SA | 2,016 | Stack Exchange | Bhaskara-III, Mildfire, barak manos, https://math.stackexchange.com/users/131263, https://math.stackexchange.com/users/246676, https://math.stackexchange.com/users/312429 | English | Spoken | 238 | 436 | Summation Problem?
It's been a while since I've had to do anything like this so my skills are super rusty. Someone at the office asked me if I knew a formula and I came back empty.
I have $115$ numbers ($n$) that sum to $935$. Each number is less than the previous by a percentage ($x$).
$x$ never changes.
$n > n -1$.
The problem is what are these $155$ numbers.
Is this solvable. I feel like either the max or min number is needed before it can be solved.
What is the question (what has to be solved)???
yeah sry. What are the 115 numbers
Let $y$ denote the initial (largest) number, then: $\sum\limits_{n=0}^{114}y\cdot\left(\frac{100-x}{100}\right)^n=935$. This would be possible if either the value of $x$ or the value of $y$ were known.
Your second sentence says that your sum is
$$S=\sum_{k=0}^{114} a \left ( 1-\frac{x}{100} \right )^k$$
for unknown numbers $a,x$. This is a so-called geometric series, and there is a formula for it:
$$S=a \frac{1-\left ( 1-\frac{x}{100} \right )^{115}}{\frac{x}{100}}$$
Now your first sentence says $S=935$. This is not enough information to find both $a$ and $x$, at least if you only assume they are real numbers. Basically any additional piece of information (the first number, the last number, the 37th number, whatever) would allow you to solve the problem, but this alone does not.
OK. I thought so, though the formula needed escaped me. Thank you.
nice.........+1
| 21,749 |
https://uk.wikipedia.org/wiki/%D0%A1%D1%83%D0%BF%D0%B5%D1%80%D0%B2%D1%96%D0%B2%D1%82%D0%BE%D1%80%D0%BE%D0%BA | Wikipedia | Open Web | CC-By-SA | 2,023 | Супервівторок | https://uk.wikipedia.org/w/index.php?title=Супервівторок&action=history | Ukrainian | Spoken | 98 | 326 | У США Супервівторок () — зазвичай назва вівторка на початку лютого або березня року президентських виборів в США, коли найбільша кількість штатів проводить праймеріз задля обрання делегатів на національні конвенції Демократичної і Республіканської партій США котрі, своєю чергою, обирають кандидатів на посаду Президента США.
Супервівторок 2012 року
У 2012 році Супервівторок припав на 6 березня; у республіканців він відбувся у 10 штатах: Джорджія, Айдахо, Массачусетс, Північна Дакота, Огайо, Оклахома, Теннессі, Вірджинія, Вермонт і Аляска. Кандидатами були Мітт Ромні, Рік Санторум і Ньют Гінгріч.
Посилання
Супервівторок у США: Республіканці десяти штатів підуть на праймеріз
Президентські вибори в США
Вівторок | 24,411 |
https://meta.stackexchange.com/questions/308431 | StackExchange | Open Web | CC-By-SA | 2,018 | Stack Exchange | Alexander Mikhalchenko, Cklim7518, Edgar Hover, Glorfindel, Hashhh s, Robert Longson, halldk, https://meta.stackexchange.com/users/1355567, https://meta.stackexchange.com/users/1355568, https://meta.stackexchange.com/users/1355569, https://meta.stackexchange.com/users/1355579, https://meta.stackexchange.com/users/1355581, https://meta.stackexchange.com/users/158100, https://meta.stackexchange.com/users/188189, https://meta.stackexchange.com/users/295232, https://meta.stackexchange.com/users/370654, https://meta.stackexchange.com/users/387089, n8te, rene, runfan wen | English | Spoken | 768 | 1,036 | Where to discuss which (email) provider to choose?
I started a post about which mail provider to use in (the community) webapps. This was flagged off-topic because webapps does not allow questions for recommendations. They sent me over to softwarerecs but as I expected that is off-topic over there because its not about finding a software but about finding a provider. Now again someone at softwarerecs recommends to use stackexchange - but stackexchange is for developing own software, the the wrong place again. So which community is teh right place to ask this? I cannot believe that nobody ever asked for recommending a service provider of any kind (mail, ftp, vServer, ISP ...)
webapps-post:
Looking for a webmail provider that allows email aliases and does not enforce giving a (mobile) phone number
https://quora.com ? Recommendation questions don't work well on Stack Exchange's Q&A format.
"I cannot believe that nobody ever asked for recommending a service provider of any kind" - They have, and they've always been told that it's off-topic.
Well, If I ask for a provider matching specific criteria (Q) and someone recommend one (A) this does fit Q&A ?! Its not about discussing pros and cons of different providers. I don't see any conceptional difference to e.g. how to implement XYZ.
I dont know anything about quora.com , but accoring to wikipedia, it is a Q&A site, just as SE is. The advantage of the a SE network is obviously the focus on IT/Technology so its probably more likely to get a good and correct answer.
@EdgarHover nope it's still a recommendation, it's still not allowed and it would still get closed as off-topic.
quora claima being about exchanging knowledge but when you visit the website it seems that you have to register before even being able to see the structure or any of the other's people's Q&As. Weird concept.
@Robert Longson the entire softwarerecs community is about recommendations so it seems to work in the Q&A format. SE itself consists of recommendations of implementation techniques. So how can anyone claim that recommendations do not fit the SE Q&A format (and recommend an other website using the same format of discussion)
softwarerecst is very low volume and suffers badly from poor quality questions even so. SE contains examples, not recommendations. Recommendations were tried on a site called programmers, it didn't end well.
Beyond the two recommendations sites, Software Recommendations and Hardware Recommendations, there are no other sites that are open for that type of questions.
In general those type of questions are at best valuable for the OP but not for the feature visitors, the answers go stale quickly, often the recommendation is opinion based and is a honey pot for spam.
These experiences from the past lead to the general rule to declare recommendation questions off-topic. See Why are "shopping list" questions bad? and Q&A is Hard, Let’s Go Shopping!
To answer your question:
So which community is the right place to ask : "Where to discuss which (email) provider to choose?"
There are no sites within the Stack Exchange network that will take that question. One of the more traditional forums are better suited for what you're looking for.
Well, which one? Its not that I never asked this (or similar) question in "traditional" forums. But it seems that many of those lack the experience and knowledge of the SE communities or the spirit to share the information. ----- If HW and SW recommendations are welcome and have own communities, why is there no "provider recommendations" community? I understand why to distinguish between hardware, software and providers - but I dont understand why HW and SW fit the Q&A format and providers dont ?!
They only fit because they have a very strict protocol to maintain their question quality. You might want to try to start something on Area51 but do search for earlier failed attemtps because IIRC there was at least one that never made it to beta. As for Which one: I'm already glad I can work out what goes where with in the SE network. Don't expect me to also get up to speed with the numerous fora out in the wild.
So SE network does not want this kind of question, got it. But I would be great if anyone could recommend a tech-focussed place to ask. I'd really like to avoid to google "email provider", (try to) register at dozens of those in the end maybe overseeing the essential feature(s) of the request in the WebUI in the end.
Quora, Reddit, msdn social, and if you have to: Experts-Exchange
| 14,702 |
https://af.wikipedia.org/wiki/Aloe%20betsileensis | Wikipedia | Open Web | CC-By-SA | 2,023 | Aloe betsileensis | https://af.wikipedia.org/w/index.php?title=Aloe betsileensis&action=history | Afrikaans | Spoken | 26 | 96 | Aloe betsileensis is 'n aalwyn wat endemies aan sentraal Madagaskar is.
Sien ook
Lys van aalwynspesies
Bron
http://plantsoftheworldonline.org/taxon/urn:lsid:ipni.org:names:529254-1
Aalwyne
Flora van Madagaskar
Endemiese plante van Madagaskar | 12,569 |
https://en.wikipedia.org/wiki/List%20of%20modern%20infrastructure%20failures | Wikipedia | Open Web | CC-By-SA | 2,023 | List of modern infrastructure failures | https://en.wikipedia.org/w/index.php?title=List of modern infrastructure failures&action=history | English | Spoken | 171 | 260 | Infrastructure includes the basic physical and organizational structures needed for the operation of a society or enterprise, or the services and facilities necessary for an economy to function. This entry aggregates articles on and lists of modern infrastructure failures by category (type of infrastructure).
Structural
List of structural failures and collapses
:Category:Collapsed buildings and structures
List of bridge failures
List of dam failures
:Category:Dam failures
Levee failures and breaches
List of catastrophic collapses of radio masts and towers
Electrical and utility
Power outages
2007 New York City steam explosion
Electric power blackouts
Transportation
Lists of rail accidents
Accidents and incidents involving commercial aircraft
Airship accidents
Accidents and disasters by death toll
Road accidents
Airliner accidents and incidents caused by in-flight structural failure
Airliner accidents and incidents caused by mechanical failure
Nuclear
Nuclear accidents
Nuclear and radiation accidents
Military nuclear accidents
Civilian nuclear power accidents
Nuclear accidents and incidents
Space
Space Shuttle: Columbia disaster, Challenger disaster
Space accidents and incidents
Other
Engineering failures
Collapsed oil platforms
References
Lists of events
Infrastructure-related lists | 48,067 |
https://stackoverflow.com/questions/46942323 | StackExchange | Open Web | CC-By-SA | 2,017 | Stack Exchange | Robert, https://stackoverflow.com/users/1431720 | Dutch | Spoken | 123 | 357 | Unity To xcode Error
[Here's the Errors][1]
i'm Getting this Message Everytime with every code i export from unity
#if UNITY_CAN_USE_METAL
#import <Metal/Metal.h>
#import <QuartzCore/CAMetalLayer.h>
#else
typedef NSUInteger MTLPixelFormat;
enum
{
MTLPixelFormatBGRA8Unorm,
MTLPixelFormatBGRA8Unorm_sRGB,
};
......................
#endif
Always paste the text of your errors in here, do not use graphics for text. Make sure your posted example code is complete, i.e., add the missing #endif.
I lack the reputation to comment above, so:
In Unity-iPhone/Classes/Unity/UnityMetalSupport.h, lines 20-25:
typedef NSUInteger MTLPixelFormat;
enum
{
MTLPixelFormatBGRA8Unorm,
MTLPixelFormatBGRA8Unorm_sRGB,
};
Xcode 9.0.1 gives the following errors:
Line 20: Typedef redefinition with different types ('NSUInteger' (aka 'unsigned long') vs 'enum MTLPixelFormat')
Line 23: Redefinition of enumerator 'MTLPixelFormatBGRA8Unorm'
Line 24: Redefinition of enumerator 'MTLPixelFormatBGRA8Unorm_sRGB'
My xcodeproj was generated by Unity 5.5.2f1.
| 28,948 |
https://zh.wikipedia.org/wiki/%E9%98%BF%E5%85%8B%E8%8F%B2%E7%88%BE%E5%BE%B7 | Wikipedia | Open Web | CC-By-SA | 2,023 | 阿克菲爾德 | https://zh.wikipedia.org/w/index.php?title=阿克菲爾德&action=history | Chinese | Spoken | 6 | 114 | 阿克菲爾德(Uckfield)是英國英格蘭東南部東薩塞克斯郡的一個城鎮,屬於威爾登區。2001年時,阿克菲爾德有人口13,697人。
參考資料
外部連結
東薩塞克斯郡城鎮
東薩塞克斯郡民政教區
威爾登區 | 34,679 |
https://stackoverflow.com/questions/34694237 | StackExchange | Open Web | CC-By-SA | 2,016 | Stack Exchange | Iwavenice, John B, avandeursen, https://stackoverflow.com/users/165292, https://stackoverflow.com/users/5687130, https://stackoverflow.com/users/905762 | English | Spoken | 196 | 279 | How to delete rows from H2 table with commited changes after each Junit test
I am using H2 in-memory DB for unit testing interaction with a database.
I need to clean commited changes in @After so that tables stay but all rows get wiped away (thus I cannot just drop tables). My database also has many foreign keys which makes even wiping objects one by one cumbersome as I have to do it in certain order.
Is there any way to clean rows in a database without dropping tables and preferably without deleting objects one by one?
Would a combination of truncate and temporarily disabling referential integrity do the trick?
@Avandeursen Oh yes it does, thank you! And I think that I can batch truncate the tables too. What I needed is disabling referential integrity.
Another option might be to use @DirtiesContext with "after each test"
Glad it worked @AlexandraCohen. I have turned my comment into a real answer: Feel free to accept it if it worked for you.
To clean the rows, you can use the H2 TRUNCATE TABLE data definition command.
You can temporarily disable checking foreign key constraints by using H2's SET REFERENTIAL_INTEGRITY.
| 20,005 |
https://pnb.wikipedia.org/wiki/%DA%A9%D9%88%D9%BE%D9%85%D8%A8%DB%8C%DA%A9%D8%A7 | Wikipedia | Open Web | CC-By-SA | 2,023 | کوپمبیکا | https://pnb.wikipedia.org/w/index.php?title=کوپمبیکا&action=history | Western Punjabi | Spoken | 157 | 617 | کُوپمبیکا ( ;) اک تیلگو شاعر سن۔ اوہ راجا اتے شاعر گونا بڈا ریڈی دی دھی سی، جس نے تیلگو وچ 'رنگیتیم رامائنم ' لکھی سی۔ اوہ گونا گنا ریڈی دی چھوٹی بھین اتے ملیالا گندادان دیدیشیدو دی بیوی سن۔
اوہناں دے شوہر دی موت دے بعد، کپمبکا نوں اک شو مندر گوندیشورلایم دی اساری بڈھاپرم وچ کیتا۔ اسنے 13 ویں صدی وچ بدھپرم دے شلالیکھ جاری کیتے سن۔ شلالیکھاں وچ اوہ پہلی تیلگو شاعر سن۔ اک مشہور شاعر، ایالاراجو رامابھدردُ ، اس نوں لوکاں اتے راجا کرشندیورائے دے سامنے پڑھدا سی۔
جویں کہ ایالراجو رامبھدردُو نے اپنیاں رچناواں وچ ذکر کیتا ہویا اے۔ اوہناں نے کپمبکا ولوں تیلگو ساہت وچ ہیٹھ لکھی شاعری لتی۔ ایہہ اک لڑکی دیاں بھاوناواں دا ذکر کردا اے جو کشور وچ تبدیل ہو گئی اے۔
వనజాతాంబకుడేయు సాయకములన్ వర్జింపగా రాదు، నూ
తన బాల్యాధిక యౌవనంబు మదికిన్ ధైర్యంబు రానీయద
త్యనురక్తిన్ మిముబోంట్లకున్ దెలుప నాహా! పా పా
వన వంశంబు స్వతంత్రమీయదు చెలీ! తుదల్ముట్టునే తుదల్ముట్టునే
حوالے
تیلگو بولیشاعر | 43,796 |
https://af.wikipedia.org/wiki/Aloidendron%20eminens | Wikipedia | Open Web | CC-By-SA | 2,023 | Aloidendron eminens | https://af.wikipedia.org/w/index.php?title=Aloidendron eminens&action=history | Afrikaans | Spoken | 46 | 109 | Aloidendron eminens (voorheen Aloe eminens) is 'n boomaalwyn en vetplant wat tot die familie van aalwyne (Asphodelaceae) behoort. Die plant is endemies aan die noorde van Somalië.
Sien ook
Lys van aalwynspesies
Bron
Plants of the World Online
Aloidendron
Flora van Somalië
Endemiese plante van Somalië | 11,436 |
iL58mbQWbI0_1 | Youtube-Commons | Open Web | CC-By | null | MULAMWAH: EDDIE BUTITA IS THE PACE SETTER, WE ARE LEARNING FROM HIM | None | English | Spoken | 171 | 285 | Mulash Karibu Nime Karibia Eh mula mwa Leu me pigalu ku Ime kuteku how long ku decide kichuna wale Eh Villain list kia kuna show Edi ya kani ambiya Lazima kuna show So ni kwa onani nijpange mapeema So ni kwa call designer kachezaki e So iliku aniki tu ili panguwa tu tangu kitam Buju show iliku inakam Illi anazi wama peema Nani kulize Nuing butita as a friend Una filie aje kumek Like a show It's a big show So this is the first edition of Love Central Like you as a friend Una filie aje Na fil po sana niki tu kubo enya na fanya Because hizi platform mingiaz exist na Ni one of the people enya Onatengneza new platforms And ni niki tu po amifanya Kusbabu sisi kama yanga comedians Tuna learn from apu Tuna kuja kuona enya na fanyu aje As much as tu na support But pierciti na atakakulani na fanyu aje And do pierciti tu ki Rezeshwa better in future To eza kufanya kituka ayo.
| 17,349 |
https://ceb.wikipedia.org/wiki/El%20Buey%20%28suba%20nga%20anhianhi%20sa%20Mehiko%2C%20Estado%20de%20Zacatecas%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | El Buey (suba nga anhianhi sa Mehiko, Estado de Zacatecas) | https://ceb.wikipedia.org/w/index.php?title=El Buey (suba nga anhianhi sa Mehiko, Estado de Zacatecas)&action=history | Cebuano | Spoken | 100 | 164 | Alang sa ubang mga dapit sa mao gihapon nga ngalan, tan-awa ang El Buey.
Suba nga anhianhi ang El Buey sa Mehiko. Nahimutang ni sa estado sa Estado de Zacatecas, sa sentro nga bahin sa nasod, km sa amihanan-kasadpan sa Mexico City ang ulohan sa nasod.
Ang klima bugnaw nga ugahon. 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 Hulyo, sa milimetro nga ulan, ug ang kinaugahan Abril, sa milimetro.
Ang mga gi basihan niini
Mga suba sa Estado de Zacatecas | 5,585 |
https://be.wikipedia.org/wiki/%D0%9F%D1%81%D0%B0%D0%BB%D0%BE%D0%BC%2039 | Wikipedia | Open Web | CC-By-SA | 2,023 | Псалом 39 | https://be.wikipedia.org/w/index.php?title=Псалом 39&action=history | Belarusian | Spoken | 65 | 247 | Псалом 39 (40 паводле масарэцкай нумарацыі) ўваходзіць у 6-ю кафізму. Аўтарства прыпісваецца Давіду. Галоўная тэма гэтага псалма — дзякаванне і просьба.
Спасылкі
39 псальма — Пераклад Васіля Сёмухі
Кніга псальмаў у перакладзе Лукаша Дзекуць-Малея і Антона Луцкевіча
39 псалом у перакладзе Яна Станкевіча і Майсея Гітліна
Катызма 6 (Псалмы 37-45) у перакладзе Аляксандра Надсана
Кафісма 6 у перакладзе Міхаіла Астапчыка
Гл. таксама
Псалмы
Псалтыр
Псалмы | 12,074 |
https://en.wikipedia.org/wiki/Robert%20A.%20Wolf | Wikipedia | Open Web | CC-By-SA | 2,023 | Robert A. Wolf | https://en.wikipedia.org/w/index.php?title=Robert A. Wolf&action=history | English | Spoken | 334 | 539 | Robert A Wolf (born Oct 6, 1961) is an American electronic musician and independent film composer from Evansville, Indiana. He has been President and CEO of Wolfymusic recording label and Wolfymusic studios. Robert's first film score in 1992 won him second place in the World fest film awards. Other awards include the Miller High Life Rock to Riches compilation record made for WYER radio in Mt. Carmel Il. two years in a row (1982)(1983) And first place in the Ambient category for August 2009 Our Stage.com song contest for his song 'No Horizon' from his 2009 'Krakatoa' album.
Robert's albums Sanctuary(1993), Paradox(1999), and Krakatoa(2009) all released on the Wolfymusic label.
Much of Robert's music from his 'Krakatoa' album has been featured on The Weather Channel's Local on the 8's segment.
Robert works extensively with director James Arnett and A.I.A. Motion Picture company in Tucson Arizona.
Robert has written and recorded the music score for several of James Arnett's films such as The Tell Tale Heart(1992), Mary Shelley's The Last Man(2008), and Blocked(2011). Robert's work can also be heard in the film Dead on Site(2008), Overcoming Lives Trauma(2011),and Love a La Carte(2012).
Discography
Sanctuary 1993
Paradox 1999
Krakatoa 2009
Pangea 2015
Film Scores
The Tell Tale Heart 1992
Just Another Box 2006
Mary Shelley's The Last Man 2008
Dead on Site 2008
Blocked 2011
Overcoming Life's Trauma 2011
Love a La Carte 2012
Aliens from Uranus 2012
The Z 2015
References
A.I.A. Productions
Robert A. Wolf Internet Movie Data Base
Evansville Courier Press (art beat)
Evansville Courier Press CD review
MTV Artists
Krakatoa CD review by Matthew Forss
YouTube film score sample reeel
Press release for the film 'Blocked' going to Cannes film market April 30, 2011
Press release for The Weather Channel music July 3, 2009
Press release for Overcoming Life's Trauma Nov. 28, 2011
Wiki Local on the 8's music
The Weather Channel on Last FM
Youtube Krakatoa promo
Post production The Last Man A.I.A. Productions
American electronic musicians
Living people
1961 births | 30,823 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.