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://mathematica.stackexchange.com/questions/255604 | StackExchange | Open Web | CC-By-SA | 2,021 | Stack Exchange | Hugh, PeaceEverybody, https://mathematica.stackexchange.com/users/12558, https://mathematica.stackexchange.com/users/78054 | English | Spoken | 418 | 879 | multi-dimensional interpolating function evaluation and extract dimension
I have an interpolating function which output dimension is greater than 1, so it's a vector. I get it as the result of a NDSolveValue. The problem is that I'm not able to Evaluate it. I would obtain from a single interpolating function which output is a vector a vector containing interpolating function which output is a scalar.
I'll show a simple code:
x0 = {1, 3, 6};
eqns = {x'[t] == -x[t], x[0] == x0};
t0 = 0;
tfin = 5;
xsol[s_] = NDSolveValue[eqns, x[s], {t, t0, tfin}]
Plot[Evaluate@xsol[t], {t, t0, tfin}]
z[t_] = {x1[t], x2[t], x3[t]};
eqns2 = {z'[t] == -z[t], z[0] == x0};
zsol[s_] = NDSolveValue[eqns2, z[s], {t, t0, tfin}]
Plot[Evaluate@zsol[t], {t, t0, tfin}]
What to should I do to get from x[t] the same result of z[t] ? Delaware contain the same information
The question is not clear to me. Is this correct? You want to put a value of t into your output expression and get one list of three numbers?
@Hugh In that way all the two methods work. The fact is that I have a differential equation more complex than this one written in vectorial form, but in this way I'm not able to evaluate the solutions so the program is slower when I apply functions to them
You can use Indexed:
Plot[Evaluate @ Table[Indexed[xsol[t], i], {i, 3}], {t, t0, tfin}]
your solution work pretty well and is what I need. Indexed allow to evaluate the solution in vectorial form. Thank you, have a nice day !
Perhaps this is what you want:
x0 = {1, 3, 6};
eqns = {x'[t] == -x[t], x[0] == #} &;
t0 = 0;
tfin = 5;
xsol[s_] = NDSolveValue[eqns@#, x[s], {t, t0, tfin}] & /@ x0
Plot[Evaluate@xsol[t], {t, t0, tfin}]
If the plot is the main goal, then this is simplest:
xsol = NDSolveValue[eqns, x, {t, t0, tfin}] (* N.B. x, not x[s] *)
ListLinePlot@xsol
See also
Easy way to plot ODE solutions from NDSolve?
Thanks, I alredy read it, but I didn't need to plot the solution, just the reorganize them in another form in such way mathematica allows me to evaluate them and speed up further calculations i'm gonna do with them. Thanks ! I've never thought ListLinePlot for these situations
You can use a Table:
With[{x0 = {1, 3, 6}, t0 = 0,tfin = 5},
solx[s_] = Table[NDSolveValue[{x'[t] == -x[t], x[0] == x0[[i]]}, x[s],
{t, t0, tfin}], {i, 1, Length[x0]}];
Plot[Evaluate[solx[t]], {t, 0, 5}]]
| 41,816 |
https://vi.wikipedia.org/wiki/%C4%90%E1%BA%A3ng%20C%E1%BB%99ng%20s%E1%BA%A3n%20Armenia%20%28Li%C3%AAn%20X%C3%B4%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Đảng Cộng sản Armenia (Liên Xô) | https://vi.wikipedia.org/w/index.php?title=Đảng Cộng sản Armenia (Liên Xô)&action=history | Vietnamese | Spoken | 259 | 600 | Đảng Cộng sản Armenia (, ) là một đảng trực thuộc Đảng Cộng sản Liên Xô trong phạm vi nước Cộng hòa Xã hội chủ nghĩa Xô viết Armenia. Như vậy, đây là đảng cầm quyền duy nhất ở Armenia Xô viết.
Lịch sử
Liên minh Dân chủ Xã hội Armenia được thành lập năm 1902 và bị chia tách thành các phe Bolshevik và Menshevik. Phe Bolshevik sau này trở thành Đảng Cộng sản Armenia năm 1920. Nhiều nhà lãnh đạo đảng đã bị buộc tội là người theo chủ nghĩa Trotsky hoặc Dashnak và bị xử tử vào năm 1937.
Giải thể và kế tục
Đảng Cộng sản Armenia giải thể năm 1991, và sự lãnh đạo của nó đã thành lập Đảng Dân chủ Armenia. Cùng năm đó, Đảng Cộng sản Armenia mới được thành lập dưới sự lãnh đạo của Serge Badalyan, người tự coi mình là người kế thừa của Đảng Cộng sản Xô viết Armenia.
Lãnh đạo
Chức danh lãnh đạo của đảng hầu như luôn luôn là "Bí thư thứ nhất Ban Chấp hành Trung ương Đảng Cộng sản Armenia".
Ấn phẩm
Đảng này đã xuất bản tờ nhật báo Sovetakan Hayastan (Armenia Xô viết) và tạp chí hàng tháng Leninyan Ugiov (Con đường Lenin).
Tham khảo
Cộng hòa Xã hội chủ nghĩa Xô viết Armenia
Đảng phái trong hệ thống đơn đảng
Đảng trực thuộc Đảng Cộng sản Liên Xô
Đảng cộng sản ở Armenia
Đảng cộng sản ở Liên Xô
Đảng phái chính trị không còn tồn tại ở Armenia | 34,889 |
https://tt.wikipedia.org/wiki/%D0%9C%D0%BE%D0%BB%D0%B8%D0%BD%D0%BE%20%D0%9D%D1%83%D0%BE%D0%B2%D0%BE%20%28%D2%96%D0%B5%D0%BD%D0%BE%D0%B2%D0%B0%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Молино Нуово (Җенова) | https://tt.wikipedia.org/w/index.php?title=Молино Нуово (Җенова)&action=history | Tatar | Spoken | 114 | 346 | Молино Нуово — Италиянең Лигурия төбәге өязендә урнашкан торак пункт.
Географиясе
Молино Нуово Апеннин ярымутравының урта өлешендә, Италия башкаласы Римнан көнчыгышка таба урнашкан.
Климаты
Биредәге җирләргә Урта диңгез климаты хас, җәй чагыштырмача коры һәм кызу, эссе, ә кыш — йомшак.
Халкы
Искәрмәләр
Әдәбият
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).
Лигурия төбәге торак пунктлары
Италия торак пунктлары
Әлифба буенча торак пунктлар | 40,649 |
https://ka.wikipedia.org/wiki/%E1%83%99%E1%83%94%E1%83%9C%E1%83%A2%E1%83%94%E1%83%A0%E1%83%91%E1%83%94%E1%83%A0%E1%83%98%E1%83%A1%20%E1%83%9B%E1%83%94%E1%83%9B%E1%83%99%E1%83%95%E1%83%98%E1%83%93%E1%83%A0%E1%83%94%E1%83%9D%E1%83%91%E1%83%98%E1%83%A1%20%E1%83%9B%E1%83%A3%E1%83%96%E1%83%94%E1%83%A3%E1%83%9B%E1%83%98 | Wikipedia | Open Web | CC-By-SA | 2,023 | კენტერბერის მემკვიდრეობის მუზეუმი | https://ka.wikipedia.org/w/index.php?title=კენტერბერის მემკვიდრეობის მუზეუმი&action=history | Georgian | Spoken | 711 | 4,233 | კენტერბერის მემკვიდრეობის მუზეუმი — ყოფილი კენტერბერის მუზეუმი სტურის ქუჩაზე, კენტერბერში, სამხრეთ-აღმოსავლეთ ინგლისში, რომელიც მოგვითხრობს ქალაქის ისტორიას. იგი განთავსებული იყო XII საუკუნის ღარიბთა მღვდლების საავადმყოფოში, მდინარე სტურის გვერდით. მუზეუმში გამოიფინა კენტერბერის ჯვარი და შეიცავდა გალერეა “რუპერტ დათვს“, რომლის შემქმნელი მერი ტურტელი იყო, იგი ცხოვრობდა კენტერბერში. ის ატარებდა რეგულარულ ღონისძიებებს და გამოფენებს, ადგილობრივი და ეროვნული ინტერესებიდან გამომდინარე. მუზეუმი დაიხურა 2018 წელს. მას შემდეგ იგი კვლავ გაიხსნა, როგორც: მარლოუს ნაკრები, გაქცევის ოთახი, გამოფენა და შემოქმედებითი სივრცე.
ისტორია
უილიამ მასტერსი
მუზეუმი დააარსა უილიამ მასტერსმა, ადგილობრივი მაცხოვრებელი, რომელიც სპეციალიზირებული იყო ეგზოტიკურ მცენარეებში, კურატორი 1823 წლიდან, 1846 წლამდე.
ღარიბი მღვდლების საავადმყოფო
მუზეუმი შუასაუკუნეების ღარიბთა მღვდელმთავართა საავადმყოფოში იყო, ორი მიმდებარე შენობა, მდინარე სტურზე. 1174 წლიდან, 1207 წლამდე სტურის ქუჩის პარალელურად, გრძელი, დაბალი, ბლოკით აშენებული შენობა იყო, მდიდარი მეშახტისა და მეშახტის შვილის, ალექსანდრეს ქვის სახლი, რომელმაც შენობა, ძველი და ღარიბი მღვდლების ღვთისმშობლის სახელობის საწყობად აქცია. მღვდლები სახლს იყენებდნენ როგორც დარბაზს, საცხოვრებლად, საჭმელად და დასაძინებლად. 1373 წელს “solar“-ის და “undercroft“-ის საფარი დაემატა დღევანდელი კარიბჭის მოპირდაპირედ, რათა ზედა სართულზე კონფიდენციალურობა მიეცა საავადმყოფოს ოსტატს. თავდაპირველი დარბაზის ბოლოში იყო მომსახურების კვარტალი, სამზარეულოთი და საკუჭნაოთი. “solar“-ის გვერდით არის წმინდა მარიამის სამლოცველო, რომელიც შეიქმნა როგორც ერთი ღია სივრცე უკანა სამზარეულოთი. ორი ზედა სართული მოგვიანებით დაადგეს, ფანჯრებითა და ბუხრით. შენობების ეს ნაკრები საერთო გახდა 1575 წელს, გაერთიანდა: სკოლა, ღარიბული სახლი, სამუშაო სახლი და კლინიკა. მუზეუმი ადრე იყო “Beaney“-ში, როგორც მემკვიდრეობის მუზეუმი, შემდეგ შეიქმნა “Stour Street“–ში 1987 წელს, ადგილობრივი ისტორიის აღსანიშნავად. შენობა აღდგენილია შიდა გვირგვინის გადახურვის საჩვენებლად.
მუზეუმის დახურვა და ხელახლა გახსნა
მუზეუმი დაიხურა 2018 წელს, ადგილობრივი ინსტიტუტების, მათ შორის, კანტერბერის არქეოლოგიური ტრესტის კამპანიის გამო, რათა ის ღია ყოფილიყო. 2019 წლის 6 აპრილს მუზეუმი ხელახლა გაიხსნა ერთწლიანი გამოფენით სახელწოდებით “მარლოუს ნაკრები“.
ექსპონატები
კანტერბერის მემკვიდრეობის მუზეუმი
გამოფენები გალერეებში და ჩვენებები წინა რომაული დროიდან დღემდე, მოეწყო როგორც ადრეულიდან უახლესამდე, ისე პრეისტორიული და ანგლო-საქსური ჩვენებით, შუასაუკუნეების აღმოჩენების გალერეით, მარლოუს უოდუნისტების ჩვენებით, ომის დროს ბლიცის გამოცდილებით, ჯოზეფ კონრადის გალერეით, ჩანთებისა და კლენჯერების ჩვენებით, რუპერტის დათვის მუზეუმით და საგამოფენო გალერეით. იყო ინტერაქტიული ჩვენებები, რომლებიც მოიცავდა მიკროსკოპს, საგანძურს და მეორე მსოფლიო ომის თვითმფრინავების ჩვენებას. ასევე იყო ვიქტორიანული კოლექცია “1900 House's wing“.
იყო გამოფენა “გობელენი“, იგი ფარავდა სამ კედელს, რომელიც აჩვენებდა თომას ბეკეტის ცხოვრების ისტორიას. იქ იყო ძვლების ჩვენება, ნაპოვნი ადგილობრივად, სასამართლო ექსპერტიზის და რეკონსტრუქციული სახეების შეხვედრების დროს, “Mec the Ancestors“ შოუდან. საქსონურ გალერეაში დაფასებული ექსპონატი იყო, კენტერბერის ჯვარი (850 წელი), რომელიც აღმოაჩინეს წმინდა ჟორჟის ქუჩაზე, 1867 წელს. ის არის ტრადიციულად ერთ–ერთი თორმეტი ჯვარიდან, რომელიც აღინიშნება ეკლესიის კედლებზე.
ასევე იყო ავეჯი, საყოფაცხოვრებო ნივთები, იარაღი და ჯავშანი, ასევე კენტერბერის გულსაკიდი: საქსური ვერცხლის პორტატული საათი, რომელიც 2009 წელს, კენტერბერის საკათედრო ტაძარს გამოფენისთვის გადაეცა. იგი გაკეთდა გულსაკიდის სახით, მიეკუთვნება ვერცხლისმცოდნე წმინდა დუნსტანს. იგი გამოიყენებოდა, ლოცვის დროის გასაზომად. იგი 1948 წელს, გათხრების დროს, საკათედრო ტაძარში აღმოაჩინეს. “ინკვიქტა ლოკომოტივი“-ის ექსპონატები აქ იყო განთავსებული. 2009 და 2012 წლებში, კენტერბერის მემკვიდრეობის მუზეუმმა, “Beaney“-ის განახლების დროს მრავალი ექსპონატი გამოიტანა, მათ შორის სერ ბასილ დიქსუელმა ვან დიკმა იყიდა 1 მილიონი ფუნტი სტერლინგით შეფასებული ნივთი, 2004 წელს. სერ ბასილი ცხოვრობდა ბრუმის პარკში, კენტერბერის მახლობლად.
რუპერტის დათვის მუზეუმი
რუპერტის დათვის მუზეუმი გაიხსნა 2003 წელს, მემკვიდრეობის ლატარიის ფონდის გრანტით 500,000 ფუნტი სტერლინგით. რუპერტ დათვის შემქმნელი, მერი ტურტელი გაიზარდა და დაესწრო ხელოვნების სკოლას კენტერბერში. რუპერტის დათვის მუზეუმი მოიცავს აქტივობებს ბავშვებისთვის თამაშის, გართობისა და განათლების თემაზე. იგი მოიცავს “Bagpuss and Clangers“ ჩვენებას ორიგინალური სატელევიზიო შოუების ნივთებით, როგორიცაა ემილის ვიტრინა “Bagpuss“–ის გახსნის სცენა, მისმა შემქმნელებმა პიტერ ფირმინმა და ოლივერ პოსტგეიტმა, გადაიღეს პროგრამები ფირმინის სახლში, კენტერბერისთან ახლოს.
მუზეუმს მხარი დაუჭირა მემკვიდრეობის ლატარიის ფონდმა და ექსპრეს გაზეთებმა.
გამოფენები, ღონისძიებები და ხელმისაწვდომობა
დაგეგმილი იყო რეგულარული საოჯახო ინტერაქტიული ღონისძიებები. 2008 წლის ივნისში იყო ორდღიანი ზეიმი, იან ფლემინგის დაბადებიდან ასი წლის იუბილესა და ჯეიმზ ბონდის ფილმებზე. 2008 წლის ნოემბერში იყო რუპერტის დათვების დღე, მულტფილმის ახალმა ილუსტრატორმა, სტიუარტ ტროტერმა, ხელი მოაწერა რუპერტის წიგნებს. 2009 წლის ივლისში, მუზეუმმა აღნიშნა, 1969 წელს ნილ არმსტრონგის პირველი მთვარეზე ფეხის დადგმა. ეს იყო ინტერაქტიული ღონისძიება საზოგადოებასთან, ასტრონომებთან საუბრისას. ასტროდომი, რომელიც აჩვენებს ღამის ცისა და მზის სისტემის 3D ტურს. 2009 წელს, მუზეუმმა აღნიშნა გამოფენა და “Clangers TV“-ის შოუს 40 წლის იუბილე ორი ინტერაქტიული ღონისძიებით, რომელიც მოიცავდა შეხვედრას შოუს დამფუძნებელთან, პიტერ ფირმინთან. ოლივერ პოსტგეიტი, “Bagpuss and Clangers“–ის შემქმნელი, ცხოვრობდა ადგილობრივად და გარდაიცვალა 2008 წელს, მაგრამ მისი შემოქმედება მუზეუმს გადაეცა მისი სიცოცხლის განმავლობაში.
მუზეუმი ღია იყო სეზონურად, მარტიდან-სექტემბრამდე და ასევე ღია იყო სკოლის არდადეგების დროს, შეზღუდული შესაძლებლობის მქონე პირებისთვის.
რესურსები ინტერნეტში
Photo of Canterbury Pendant (portable silver Saxon sundial)
Photo of Canterbury Cross
Photo of Sir Basil Dixwell by Van Dyck, 1638
სქოლიო
მუზეუმები
გაერთიანებული სამეფოს მუზეუმები
ინგლისის მუზეუმები
კენტერბერის მუზეუმები
მემკვიდრეობის მუზეუმები | 35,154 |
https://stackoverflow.com/questions/25573009 | StackExchange | Open Web | CC-By-SA | 2,014 | Stack Exchange | heliosk, https://stackoverflow.com/users/3469588, https://stackoverflow.com/users/748858, mgilson | Maltese | Spoken | 396 | 780 | Python/MySQL - LOAD DATA LOCAL INFILE
I am using the mysql connector for Python and I'm trying to run the following SQL statement via Python (Windows) - It's a .csv file:
sql1 = ('SET GLOBAL local_infile = "ON";')
cursor.execute(sql1)
sql2 = ('LOAD DATA LOCAL INFILE "' + path[1:-1] + '" INTO TABLE mytable COLUMNS TERMINATED BY "," LINES TERMINATED BY "\\r\\n" (COL0, COL1, COL2, COL3, COL4, COL5, COL6) SET COL7 = "'some_data'";')
cursor.execute(sql2)
but when I try to execute I receive the following exception:
1148 (42000): The used command is not allowed with this MySQL version
If I try to execute LOAD DATA LOCAL INFILE on mysql console, everything runs fine.
which command is the problem? sql1 or sql2?
Load Data Infile is disabled by default with Connector/Python
while creating the connection set LOCAL_FILES client flag like this:
from mysql.connector.constants import ClientFlag
conn = mysql.connector.connect(...., client_flags=[ClientFlag.LOCAL_FILES])
It did work. I tried this once, but I forgot to add the import.
You could iterate through each line of the file, inserting each as a row. This would be easy since you already mentioned each column is delineated by , and each row is delineated by newlines.
For example, assuming your table mytable had 8 string columns, (COL0 to COL7):
input_file = open(path[1:-1], 'r')
#Loop through the lines of the input file, inserting each as a row in mytable
for line_of_input_file in input_file:
values_from_file = line_of_input_file.split(',', 1) #get the columns from the line read from the file
if(len(values_from_file) == 7): #ensure that 7 columns accounted for on this line of the file
sql_insert_row = "INSERT INTO mytable VALUES (" + values_from_file[0] + "," + values_from_file[1] + "," + values_from_file[2] + "," + values_from_file[3] + "," + values_from_file[4] + "," + values_from_file[5] + "," + values_from_file[6] + "," + some_data + ");"
cursor.execute(sql_insert_row)
input_file.close()
Doing the INSERT takes a long time. I have to insert thousands of registers. That's why I choose LOAD DATA.
There are a lot of security issues with LOAD DATA, so the server is really picky. Are you logging in to localhost, not the public IP of the server? Often one IP will be granted LOAD DATA, but the other won't.
See the fine manual
With the MySQLdb driver:
import MySQLdb
from MySQLdb.constants import CLIENT
then along with other arguments to MySQLdb.connect() , pass client_flag=CLIENT.LOCAL_FILES
Discovered by studying the source, and then trying it out.
| 40,891 |
https://math.stackexchange.com/questions/4477818 | StackExchange | Open Web | CC-By-SA | 2,022 | Stack Exchange | Calvin Khor, abcdmath, https://math.stackexchange.com/users/474713, https://math.stackexchange.com/users/80734 | English | Spoken | 165 | 363 | $\theta$ is real if and only if $e^{i\theta}$ is in circle
Let us define $e^z = \displaystyle \sum_{k=0}^{\infty} \frac{z^n}{n!},$ where $z$ is a complex number. I want to show that, $\theta$ is real if and only if $e^{i\theta}$ is in circle.
That is, I want to show $\theta \in \mathbb R$ iff $\left| e^{i\theta}\right| =1.$
First of all I know that, if $\theta$ is real then we have
$$\left| e^{i\theta}\right|=\sin^2\theta +\cos^2 \theta =1.$$
But I am unable to prove the other direction, that is, if $\left| e^{i\theta}\right|=1$ then how can I show that $\theta \in \mathbb R?$
Thank you for your time and help. Please help me to solve this.
suppose $\theta=a+ib$ was not real. Then...
@CalvinKhor Then $|e^{i\theta}|=e^{-b}$ and this will be $1$ only if $b=0$, hence $\theta =a $ is real. Am I correct?
yes. A minor point: you don't need to use a contradiction. (not B) implies (not A) is the same as proving A implies B (see https://en.wikipedia.org/wiki/Proof_by_contrapositive)
@CalvinKhor Thank you.
| 3,886 |
https://fr.wikipedia.org/wiki/Multimatic%20Motorsports | Wikipedia | Open Web | CC-By-SA | 2,023 | Multimatic Motorsports | https://fr.wikipedia.org/w/index.php?title=Multimatic Motorsports&action=history | French | Spoken | 187 | 330 | Multimatic Motorsports est une écurie de sport automobile canadienne fondée en 1992. Elle est la division sportive de l'entreprise Multimatic. Elle a participé à des championnats tels que le Firestone Firehawk Series, la Motorola Cup, le Championnat IMSA GT, l'American Le Mans Series, la Grand-Am Cup, la Rolex Sports Car Series, le Michelin Pilot Challenge, le Championnat du monde d'endurance, ainsi qu'aux 24 Heures du Mans. Multimatic Motorsports a célébré son anniversaire en 2017.
En 2015, Multimatic Motorsports a mis en place en tant que base autonome Multimatic Motorsports Europe à Greatworth Park, au Royaume-Uni, de fait de son implication dans la catégorie LMGTE Pro du Championnat du monde d'endurance, faisant concourir les Ford GT sous le nom du Chip Ganassi Racing UK.
En 2019, à la suite de l'arrêt du programme Ford GT, Multimatic Motorsports Europe a déménagé à Arrow Park, au sein de la Motorsport Valley près de Brackley.
Histoire
Résultats en compétition automobile
Résultats aux 24 Heures du Mans
Résultats en Championnat du monde d'endurance
Résultats en WeatherTech SportsCar Championship
Pilotes
Notes et références
Lien externe
Écurie de sport automobile au Canada
Écurie d'endurance | 4,972 |
https://ja.wikipedia.org/wiki/%E5%AD%9F%E6%9D%91%E5%9B%9E%E6%97%8F%E8%87%AA%E6%B2%BB%E7%9C%8C | Wikipedia | Open Web | CC-By-SA | 2,023 | 孟村回族自治県 | https://ja.wikipedia.org/w/index.php?title=孟村回族自治県&action=history | Japanese | Spoken | 11 | 208 | 孟村回族自治県(もうそん-かいぞく-じちけん)は中華人民共和国河北省滄州市に位置する自治県。
歴史
1955年、黄驊県・滄県・塩山県の一部に分割設置された。1958年には廃止とされ塩山県に編入されたが、1962年に再設置され現在に至る。
行政区画
鎮:孟村鎮、新県鎮、辛店鎮、高寨鎮
郷:宋荘子郷、牛進荘郷
関連項目
浮水県
滄州市の行政区画
中華人民共和国の民族自治県
回族 | 44,588 |
https://lij.wikipedia.org/wiki/Palestrina | Wikipedia | Open Web | CC-By-SA | 2,023 | Palestrina | https://lij.wikipedia.org/w/index.php?title=Palestrina&action=history | Ligurian | Spoken | 37 | 140 | Palestrina o l'è 'n comûne inta Çittæ metropolitann-a de Romma Capitâle.
Giögrafîa
Stöia
Pòsti de interèsse
Architetûe religiôze
Architetûe civîli
Economîa
Coltûa
Manifestaçioîn
Fèste e fêe
Comunicaçioîn
Aministraçión
Âtri progètti
Comûni da çittæ metropolitann-a de Romma Capitâle | 8,916 |
https://sv.wikipedia.org/wiki/Heteronyx%20pellucida | Wikipedia | Open Web | CC-By-SA | 2,023 | Heteronyx pellucida | https://sv.wikipedia.org/w/index.php?title=Heteronyx pellucida&action=history | Swedish | Spoken | 31 | 65 | Heteronyx pellucida är en skalbaggsart som beskrevs av Hermann Burmeister 1855. Heteronyx pellucida ingår i släktet Heteronyx och familjen Melolonthidae. Inga underarter finns listade i Catalogue of Life.
Källor
Skalbaggar
pellucida | 17,809 |
https://zh-min-nan.wikipedia.org/wiki/S%C4%85dzia-Cegielnia | Wikipedia | Open Web | CC-By-SA | 2,023 | Sądzia-Cegielnia | https://zh-min-nan.wikipedia.org/w/index.php?title=Sądzia-Cegielnia&action=history | Min Nan Chinese | Spoken | 25 | 98 | Sądzia-Cegielnia sī chi̍t ê tī Pho-lân Kiōng-hô-kok Tōa Pho-lân Séng Leszno Kūn Włoszakowice Kong-siā ê chng-thâu.
Chham-oa̍t
Pho-lân ê chng-thâu
Chham-khó
Leszno Kūn ê chng-thâu | 45,638 |
https://stackoverflow.com/questions/35530724 | StackExchange | Open Web | CC-By-SA | 2,016 | Stack Exchange | Andrew Willems, Dominik, https://stackoverflow.com/users/5218951, https://stackoverflow.com/users/5957215 | Norwegian Nynorsk | Spoken | 787 | 1,969 | Animating SVG polygons
I wrote a code to drawing polygons:
var svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg');
svg.setAttribute('width', '100%');
svg.setAttribute('height', window.innerHeight);
document.querySelector('#bg').appendChild(svg);
for(var x = 0; x < polygons.length; x++){
var polygon = document.createElementNS(svg.namespaceURI, 'polygon');
polygon.setAttribute('points', polygons[0 + x]);
polygon.setAttribute('fill', polygons[0 + x][1]);
svg.appendChild(polygon);
}
My full code with polygon points:
http://codepen.io/anon/pen/WrqrbB
I would like to animate this polygons similar to this animation:
http://codepen.io/zessx/pen/ZGBMXZ
How to animate my polygons?
You can
call an animation function to manipulate your coordinate values as desired,
convert them to a string, e.g. using .join(),
send the resulting string back to the polygon as its points attribute value, redrawing the shape (as you were already doing when you initially created your shapes), and
have the animation function, when it is finished, call itself again at a reasonable built-in time-delay using requestAnimationFrame.
The following snippet gives a basic idea of what can be done.
(Note that I've redefined the array polygons in my example so that it is different from what you had, but that was done for the sake of simplicity in this example.)
var svg = document.getElementsByTagName("svg")[0];
var polygons = [], numSteps = 100, stepNum = 0;
var coords = [
[40, 20, 80, 20, 80, 60, 40, 60],
[140, 20, 180, 20, 160, 50]
];
for (var x = 0; x < coords.length; x++) {
polygons[x] = document.createElementNS(svg.namespaceURI, 'polygon');
polygons[x].setAttribute('points', coords[x].join());
svg.appendChild(polygons[x]);
}
function anim() {
for (var x = 0; x < coords.length; x++) {
coords[x] = coords[x].map(function(coord) {
return coord + 4 * (Math.random() - 0.5);
});
polygons[x].setAttribute('points', coords[x].join());
stepNum += 1;
}
if (stepNum < numSteps) requestAnimationFrame(anim);
}
anim();
<svg></svg>
UPDATE The above snippet shows generally how to animate a polygon. In your case, however, there is a further issue. On your codepen demo, it is clear that you have hard-coded the point coordinates for each polygon separately. Thus, if you want to move one point, you're going to have to update coordinates in at least 2 if not more places, for every polygon that touches that point.
A better approach would be to create a separate array of all points and then define each polygon with respect to that array. (This is similar to how things are sometimes done in 3D graphics, e.g. WebGL.) The following code snippet demonstrates this approach.
var svg = document.getElementsByTagName("svg")[0];
var polyElems = [], numSteps = 100, stepNum = 0;
var pts = [[120,20], [160,20], [200,20], [240,20], [100,50], [140,50], [180,50], [220,50], [260,50], [120,80], [160,80], [200,80], [240,80]];
var polyPts = [[0,1,5], [1,2,6], [2,3,7], [0,4,5], [1,5,6], [2,6,7], [3,7,8], [4,5,9], [5,6,10], [6,7,11], [7,8,12], [5,9,10], [6,10,11], [7,11,12]];
for (var x = 0; x < polyPts.length; x++) {
polyElems[x] = document.createElementNS(svg.namespaceURI, 'polygon');
polyElems[x].setAttribute('fill', '#'+Math.floor(Math.random()*16777215).toString(16));
// random hex color routine from http://www.paulirish.com/2009/random-hex-color-code-snippets/
drawPolygon(x);
}
function anim() {
pts = pts.map(function(pt) {
return pt.map(function(coord) {
return coord + 3 * (Math.random() - 0.5); // move each point
});
});
for (var x = 0; x < polyPts.length; x++) {drawPolygon(x);}
stepNum += 1;
if (stepNum < numSteps) requestAnimationFrame(anim); // redo anim'n until all anim'n steps done
}
anim(); // start the animation
function drawPolygon(x) {
var ptNums = polyPts[x];
var currCoords = [pts[ptNums[0]], pts[ptNums[1]], pts[ptNums[2]]].join();
// creates a string of coordinates; note that [[1,2],[3,4],[5,6]].join() yields "1,2,3,4,5,6"
polyElems[x].setAttribute('points', currCoords);
svg.appendChild(polyElems[x]);
}
<svg></svg>
I tried animate my points but i don;t know how to declare my points: http://codepen.io/anon/pen/gPNgzv can you help me ?
I wonder if the key thing is for you to realize which points are duplicated. In any case, change the following: var pts = [[1365.6,93.9],[1304.1,-8.7],[1926.8,-4.7],[1570.1,237.9],[1824.2,158.8],[1491.3,299.6],[1926.8,267.9]]; var polyPts = [[0,1,2],[3,2,0],[3,2,4],[3,0,5],[2,4,6]]; And change the html to <svg width="300" height="100" viewBox="1000 -100 1200 400"></svg> altho you'll have to change this to add more shapes. I think it might be hard for you to do this all manually. Can you create your points and shapes programmatically, e.g. randomly? That's a whole different problem tho'.
I would like to animate this image: http://codepen.io/anon/pen/adgLdK Do you have any idea how to animate this easily ?
Animate? Yes. Easily? Well...You are going to have to do the same thing that I did in my most recent comment to you, above. i.e. You are going to have to go through your polygon points, remove all duplications, put all those unique points in the pts array, go back through your polygons, figure out which points in the pts array are required by each polygon, and put those point reference numbers in the polyPts array. Then you can just use the routine I showed in my answer. That may be a fair bit of work, but it's the only way I can think of, starting from the polygons you currently have.
Ohh I don't know how to make :(( Can you animate 3-4 polygons in my example please ? http://codepen.io/anon/pen/adgLdK
| 25,331 |
https://stackoverflow.com/questions/70382088 | StackExchange | Open Web | CC-By-SA | 2,021 | Stack Exchange | Tanika Garg, eDonkey, https://stackoverflow.com/users/17599922, https://stackoverflow.com/users/7558856 | English | Spoken | 400 | 762 | Exporting logs using journald / rsyslogd
I am trying to export kernel logs (/var/log/messages) to remote Syslog servers. Till now, most of the system logs are stored in journald currently and rsyslogd is disabled.
So, I am planning to use rsyslogd to export logs (By configuring the rsyslog.conf file). Firstly, I will pass those kernel logs from journald to rsyslogd and then export them.
Can someone suggest if this is the right path to proceed or I can use directly journald to achieve the same?
Systemd can collect and store logs, but it doesn’t have a built-in method of logging to remote locations such as log management systems. Instead, it relies on the device’s syslog service to relay messages between journald and a remote syslog server.
However, syslog is text-based and the journald uses a binary format,
so your logs need to be converted before they can be transferred. You
can do this by using either systemd’s ForwardToSyslog configuration
setting, or by using rsyslog’s imjournal module.
/etc/systemd/journald.conf has a ForwardToSyslog=yes option that would allow you to forward the logs to syslog, which seems like a pretty inelegant way to me.
In rsyslog you can add the module imjournal, to get the journal logs. To use it, add the following to your /etc/rsyslog.conf file. The mmjsonparse module lets ryslog parse journald messages:
module(load="imjournal")
module(load="mmjsonparse")
Kernel messages can be logged with the standard the imklog module. Just add: module(load="imklog") to the configuration file /etc/rsyslog.conf. With the standard rsyslog configuration, this should log kernel messages to /var/log/messages and /var/log/syslog.
The forwarding can be done over UDP or TCP.
Forwarding:
*.* action(type="omfwd" target="10.0.2.1" port="514" protocol="udp") # UDP
*.* action(type="omfwd" target="10.0.2.1" port="10514" protocol="tcp") # TCP
Obsolete Legacy Format
*.* @10.0.1.1:514 # UDP -> one @
*.* @@10.0.1.1:514 # TCP -> two @s
After adding this, your rsyslog client should start forwarding the messages to your remote syslog server.
Hi, thank you for your response! ForwardToSyslog=yes will only enable forwarding logs from journald to rsyslogd? However, my aim is to export them to remote servers so I guess I need to use "imklog" solution only right?
@TanikaGarg I've updated my answer, I hope this answers your questions.
Hi, do you know how to forward logs using rsyslog according to standards RFC3164, RFC3339 & RFC5124?
Please post this as a new question so other users can benefit as well. Then I'll be happy to answer it.
https://stackoverflow.com/questions/72389726/export-logs-using-rsyslog-in-various-formats
| 4,760 |
https://ce.wikipedia.org/wiki/%D0%A1%D1%82%D0%B0%D1%86%D0%B8%D0%BE%D0%BD%D0%B5%20%D0%B4%D0%B8%20%D0%A1%D0%BA%D1%83%D1%80%D0%BA%D0%BE%D0%BB%D0%B0%20%28%D0%9B%27%D0%90%D0%BA%D0%B2%D0%B8%D0%BB%D0%B0%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Стационе ди Скуркола (Л'Аквила) | https://ce.wikipedia.org/w/index.php?title=Стационе ди Скуркола (Л'Аквила)&action=history | Chechen | Spoken | 97 | 265 | Стационе ди Скуркола () — Италин Абруццо регионан коммунера эвла.
Географи
Климат
Кхузахь климат йу Лаьттайуккъера хӀордан, барамехь йекъа а, йовха, Ӏа шийла ца хуьйла.
Бахархой
Билгалдахарш
Литература
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).
Абруццо регионан нах беха меттигаш
Италин нах беха меттигаш | 385 |
https://en.wikipedia.org/wiki/James%20Thomas%20Bailey | Wikipedia | Open Web | CC-By-SA | 2,023 | James Thomas Bailey | https://en.wikipedia.org/w/index.php?title=James Thomas Bailey&action=history | English | Spoken | 330 | 502 | James Thomas Bailey is artistic director of CSz Los Angeles and founder and director of ComedySportz Los Angeles.
Bailey has produced more than 50 shows in Los Angeles, including Kitty Carlisle Hart in her one-woman show, My Life on the Wicked Stage and the west coast premiere of Robert Fulghum's All I Really Need to Know I Learned in Kindergarten. He has appeared on The Drew Carey Show and Tuesdays with Morrie, a film based on the best-selling novel. He was also a regular on the nationally syndicated television show Quick Witz and currently appears on World Cup Comedy on the PAX network. Bailey has served as a creative consultant and trainer for Universal Studios, Walt Disney Feature Animation, ABC and Coca-Cola, and others. Bailey also serves as a cultural specialist for the U.S. Department of State, and has consulted in Cyprus in conjunction with the American Embassy and State Theatre of Cyprus (THOC).
Bailey has served on the boards of the Los Angeles Stage Alliance (Theatre LA), the California Educational Theatre Association (CETA), the West Coast Ensemble Theatre and the advocacy committee of the California Alliance for Arts Education (CAAE). He also received the Professional Artist Award from the California Educational Theatre Association and the CETA Medallion for distinguished service to the organization. He was inducted into the California Thespians Hall of Fame. Bailey is currently the director of theatre for Justin-Siena High School in Napa and his high school league program is the largest teen improvisational program in the United States. Bailey also served as a guest artist for the Donna Reed Foundation for many years.
References
Fein, G. "Sporting Shots", Pasadena Weekly, September 15, 1989
Patterson, D. "With honors in humor", Los Angeles Times, June 3, 2004.
Berkowitz, L. "Improv is their game", Houston Chronicle, January 25, 2005.
Carson, L.P. "Justin-Siena students, pros team up in ‘ComedySportz’", Napa Valley Register, 2012.
External links
Year of birth missing (living people)
Living people
American male comedians
21st-century American comedians | 17,575 |
https://ru.wikipedia.org/wiki/95-%D0%B9%20%D0%BC%D0%B5%D1%80%D0%B8%D0%B4%D0%B8%D0%B0%D0%BD%20%D0%B2%D0%BE%D1%81%D1%82%D0%BE%D1%87%D0%BD%D0%BE%D0%B9%20%D0%B4%D0%BE%D0%BB%D0%B3%D0%BE%D1%82%D1%8B | Wikipedia | Open Web | CC-By-SA | 2,023 | 95-й меридиан восточной долготы | https://ru.wikipedia.org/w/index.php?title=95-й меридиан восточной долготы&action=history | Russian | Spoken | 60 | 179 | 95-й меридиан восточной долготы — линия долготы, отстоящая от Гринвичского меридиана на 95 градусов к востоку, проходящая от Северного полюса через Северный Ледовитый океан, Азию, Индийский океан, Антарктический океан к Южному полюсу и образующая ортодромию с 85-м меридианом западной долготы.
Начиная с Северного полюса и в южном направлении к Южному полюсу 95-й меридиан восточной долготы проходит через:
См. также
Долгота | 2,724 |
https://uk.wikipedia.org/wiki/HD210139 | Wikipedia | Open Web | CC-By-SA | 2,023 | HD210139 | https://uk.wikipedia.org/w/index.php?title=HD210139&action=history | Ukrainian | Spoken | 71 | 270 | HD210139 — хімічно пекулярна зоря спектрального класу A2, що має видиму зоряну величину в смузі V приблизно 7,1.
Вона розташована на відстані близько 620,1 світлових років від Сонця.
Див. також
Перелік HgMn-зір
Ртутно-манганова зоря
Перелік хімічно пекулярних зір (22h-24h)
Хімічно пекулярна зоря
Перелік хімічно пекулярних зір з пониженим вмістом гелію
Хімічно пекулярна зоря з пониженим вмістом гелію
Перелік Am-зір
Am-зоря
Джерела
Хімічно пекулярні зорі
Зорі головної послідовності спектрального класу A2
1 | 6,915 |
https://stackoverflow.com/questions/10536029 | StackExchange | Open Web | CC-By-SA | 2,012 | Stack Exchange | Asneroll, https://stackoverflow.com/users/1374371 | English | Spoken | 676 | 1,560 | problems with integer declaration and Array count instruction
I am programming an application in which I have a list of users received from server in format JSON. Later I extract from that JSON the data of each user and I have created an object called UsersController with four fields (I don't know if this is the adequate word) called prod_id, userName, userThumb and createTime. In my ViewController I have an object of UsersController and an array for store all the users.
The code of the class UsersController is:
//UsersController.h
#import <UIKit/UIKit.h>
@interface UsersController : NSObject{
NSInteger *prof_id;
NSString *createTime;
NSString *fullName;
NSString *thumb;
}
@property (nonatomic) NSInteger *prof_id;
@property (nonatomic, retain) IBOutlet NSString *createTime;
@property (nonatomic, retain) IBOutlet NSString *fullName;
@property (nonatomic, retain) IBOutlet NSString *thumb;
@end
//UsersController.m
#import "UsersController.h"
@implementation UsersController
@synthesize prof_id;
@synthesize fullName;
@synthesize createTime;
@synthesize thumb;
@end
And in ViewController.m I have the following code:
-(void)connectionDidFinishLoading:(NSURLConnection *)connection
{
NSAutoreleasePool *pool=[[NSAutoreleasePool alloc] init];
NSArray *array_webdata=[[NSArray array] init];
NSString *searchStatus = [[NSString alloc] initWithData:webData encoding:NSUTF8StringEncoding];
array_webdata = [parsedata objectWithString:searchStatus error:nil];
//String with all data of each user
NSString *usersList = [array_webdata valueForKey:@"results"];
NSLog(@"\n usersList =\n %@ \n", usersList);
//extract data from the JSON data received from the server
NSArray *userName = [usersList valueForKey:@"fullname"];
NSArray *userID = [usersList valueForKey:@"prof_id"];
NSArray *userThumb = [usersList valueForKey:@"thumb"];
NSArray *userCreateTime = [usersList valueForKey:@"createTime"];
NSMutableArray *arrayUsuarios = [[NSMutableArray alloc] initWithCapacity: [userID count]];
int i;
UsersController *usuarioSimple;
UsersController *usuarioAuxiliar;
for (int i=0; i<[userName count]; i++) {
usuarioSimple = [[UsersController alloc] init];
usuarioAuxiliar= [[UsersController alloc] init];
//I store in the object called usuario the extracted data from JSON userName, userID, userThumb y userCreateTime
usuarioSimple.prof_id = [userID objectAtIndex:i];
usuarioSimple.fullName = [userName objectAtIndex:i];
usuarioSimple.thumb = [userThumb objectAtIndex:i];
usuarioSimple.createTime = [userCreateTime objectAtIndex:i];
[arrayUsuarios addObject:usuarioSimple];
usuarioAuxiliar = [arrayUsuarios objectAtIndex:i];
NSLog(@"pruebaConsulta.prof_id[%@]: %@",i, usuarioAuxiliar.prof_id);
NSLog(@"pruebaConsulta.fullName[%@]: %@",i, usuarioAuxiliar.fullName);
NSLog(@"pruebaConsulta.thumb[%@]: %@",i, usuarioAuxiliar.thumb);
NSLog(@"pruebaConsulta.createTime[%@]: %@\n",i, usuarioAuxiliar.createTime);
[usuarioSimple release];
[usuarioAuxiliar release];
}
[searchStatus release];
[connection release];
[webData release];
[pool drain];
}
And here I have two problems. The first is the declaration of i used in bucle for. I don't know why but when I execute, when it has to show the value of i, displays (null).
The second problem is when I use [userID count], [userName count], [userThumb count] or [userCreateTime count]. This instructions doesn't work because if I write this line:
NSLog(@"userid count: %@", [userID count]);
the execution crashes and says EXC_BAD_ACCESS.
I proved a lot of possible solutions but always fails, please I need your help. Thanks.
ps: sorry for my english!
You have to use %i or %d to include integers in a formatted string. See String Format Specifiers.
I was looking for it but I didn't found anything, Thank you!!. Now displays the value of i and makes the full bucle but the problem with count instruction continues if I make a NSLog and I don't know why
count will return you an primitive integer.
%@ is used to print Strings or any Object's String description.
as DrummerB has said use %i or %d for integers.
NSLog(@"userid count: %d", [userID count]);
You get EXC_BAD_ACCESS because NSLog thinks you have passed a pointer to an object which turns out to be a bad access for you.
NSInteger is not an object, it is a type and you declare prof_id as an NSInteger*,this means a pointer to an integer, not an object.
You cannot pass messages to an NSInteger or it's pointer since it is not an object. You also cannot add it to an array or dictionary. You want to use NSNumber, which encapsulates a number (such as an integer). You can then pass aroun the NSNumber as an object but retrieve the integer value by sending it the integerValue message.
NSInteger myInt = myNumber.integerValue;
Few things:
1.When you do this: NSLog(@"userid count: %@", [userID count]);
use %d instead of %@.
when you do this :
[arrayUsuarios addObject:usuarioSimple]; //you add object at the last index .
usuarioAuxiliar = [arrayUsuarios objectAtIndex:i]; //here you access object at index i, if i> [arrayUsuarios count], it will crash.
In this situation, you call this method: [arrayUsuarios lastObject];
Don't worry, I understand. Thanks!!
| 33,952 |
https://ceb.wikipedia.org/wiki/Coprinellus%20pallidus | Wikipedia | Open Web | CC-By-SA | 2,023 | Coprinellus pallidus | https://ceb.wikipedia.org/w/index.php?title=Coprinellus pallidus&action=history | Cebuano | Spoken | 51 | 101 | Kaliwatan sa uhong ang Coprinellus pallidus. sakop sa ka-ulo nga Basidiomycota, ug Una ning gihulagway ni L. Nagy, Házi, Papp ug Vágvölgyi ni adtong 2012. Ang Coprinellus pallidus sakop sa kahenera nga Coprinellus, ug kabanay nga Psathyrellaceae. Walay nalista nga matang nga sama niini.
Ang mga gi basihan niini
Abungawg-uhong
Coprinellus | 15,399 |
https://pl.wikipedia.org/wiki/C%C3%A1rdenas | Wikipedia | Open Web | CC-By-SA | 2,023 | Cárdenas | https://pl.wikipedia.org/w/index.php?title=Cárdenas&action=history | Polish | Spoken | 75 | 181 | Cárdenas – zatoka u wybrzeża Kuby
Miejscowości i gminy:
Cárdenas – gmina w Hiszpanii
Cárdenas – miasto na Kubie
Cárdenas – miasto w Nikaragui, w departamencie Rivas
Cárdenas – miasto w Meksyku, w stanie San Luis Potosí
Cárdenas – gmina w Meksyku, w stanie San Luis Potosí, z siedzibą w powyższym mieście
Cárdenas – miasto w Meksyku, w stanie Tabasco
Cárdenas – gmina w Meksyku, w stanie Tabasco, z siedzibą w powyższym mieście
Zobacz też | 17,093 |
https://ca.wikipedia.org/wiki/Xah%20Sultan | Wikipedia | Open Web | CC-By-SA | 2,023 | Xah Sultan | https://ca.wikipedia.org/w/index.php?title=Xah Sultan&action=history | Catalan | Spoken | 32 | 66 | Xah Sultan (filla de Selim I), princesa otomana del s. XVI
Xah Sultan (filla de Selim II), princesa otomana del s. XVI
Xah Sultan ben Abu Bakr, príncep muzaffàrida del segle XIV | 25,389 |
https://eu.wikipedia.org/wiki/Entomocorus%20benjamini | Wikipedia | Open Web | CC-By-SA | 2,023 | Entomocorus benjamini | https://eu.wikipedia.org/w/index.php?title=Entomocorus benjamini&action=history | Basque | Spoken | 24 | 94 | Entomocorus benjamini Entomocorus generoko animalia da. Arrainen barruko Actinopterygii klasean sailkatzen da, Auchenipteridae familian.
Banaketa
Erreferentziak
Ikus, gainera
Entomocorus
Auchenipteridae
Kanpo estekak
FishBase.org
Auchenipteridae | 7,960 |
https://nl.wikipedia.org/wiki/Polyrhaphis%20papulosa | Wikipedia | Open Web | CC-By-SA | 2,023 | Polyrhaphis papulosa | https://nl.wikipedia.org/w/index.php?title=Polyrhaphis papulosa&action=history | Dutch | Spoken | 29 | 55 | Polyrhaphis papulosa is een keversoort uit de familie van de boktorren (Cerambycidae). De wetenschappelijke naam van de soort werd voor het eerst geldig gepubliceerd in 1795 door Olivier.
papulosa | 35,439 |
https://stackoverflow.com/questions/24723846 | StackExchange | Open Web | CC-By-SA | 2,014 | Stack Exchange | gprathour, https://stackoverflow.com/users/1055241, https://stackoverflow.com/users/1322642, https://stackoverflow.com/users/1885868, moskito-x, user1885868 | English | Spoken | 222 | 392 | Applet class not found NetBeans
I am new at applets and Netbeans.
I tried to run an applet from an HTML file but it gives me this error message :
This is the architecture I made for the project :
As you can see in line 15, the code I used for calling the applet is :
<applet codebase="classes" code="com/gephi/test/AppletTest.class" width="500" height="500" ></applet>
I googled a little bit and I have found some suggestions saying that I should call the jar file corresponding to the class.
I am new at NetBeans so can you please tell me where I can find ".jar" and ".class" files?
Thanks!
look at my answer here call applet. May be it can help you.
When you are writing the <applet> tag then in this you don't need to write .class with the class name.
Just write,
code="com/gephi/test/AppletTest"
EDIT
What one more thing you can try is, try writing,
code="com/gephi/test/AppletTest.java"
or better
code="com.gephi.test.AppletTest"
Thanks bro, but the problem is still there!
I still have the same error message!
@user1885868 What you are trying to do is, creating an HTML page in Desktop application, I am not sure if it will work. Why don't you try it with a web application? I believe that will be a better option. Check this link https://netbeans.org/kb/docs/web/applets.html
Thanks @GPRathour that tuto was helpful!
| 36,557 |
https://fr.wikipedia.org/wiki/T%C3%B5lli%20%28L%C3%A4%C3%A4ne-Saare%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Tõlli (Lääne-Saare) | https://fr.wikipedia.org/w/index.php?title=Tõlli (Lääne-Saare)&action=history | French | Spoken | 25 | 46 | Tõlli est un village de la commune de Lääne-Saare du comté de Saare en Estonie.
Au , il compte 37 habitants.
Références
Village en Estonie | 20,203 |
https://stackoverflow.com/questions/8881974 | StackExchange | Open Web | CC-By-SA | 2,012 | Stack Exchange | Ekrem Kuş, Hamza Chairi, Keith L., Melby Thomas, Salman Khan, guowu wu, https://stackoverflow.com/users/1053868, https://stackoverflow.com/users/20062759, https://stackoverflow.com/users/20062760, https://stackoverflow.com/users/20062761, https://stackoverflow.com/users/20063197, https://stackoverflow.com/users/20068553, https://stackoverflow.com/users/20126048, user20063197 | English | Spoken | 269 | 401 | asp.net: IE 7 & 8 closes automatically (not trusted site)
in my asp.net application I'm calling a site, which is producing a .pdf file of the content of the viewed page.
In IE 9 everything is fine - the browser opens a new window and there the pdf file which has been created can be opened or saved.
In IE 7 and 8 the window opens, but after a second the window closes automatically and the result is, that the pdf file cannot be viewed.
This occurs only in secure internet (with https), not intranet.
If I add my site to "trusted sites" in the IE properties, then everything works fine.
Can i manage this problem with some code?
(I cannot simply tell my users to add the page to trusted sites)
I've read about 10-20 threads with the same problem as I had.
Most answers are to try something like "Cache-Control: private", to clear the headers correctly, to end the response correctly, to set the "Content-Type" to "application/download" or "application/octet-stream" and other Response.ApendHeader configurations.
The solution of my problem was, that I've created the link to the pdf-generating site with javascript. I changed it to a asp.net redirection and now it is working!
<asp:Button id="myButton" runat="server" PostBackUrl="~/myPDFcreatingSite.aspx" Text="Create PDF"/>
You may want to run fiddler or firebugs or whatever to capture your response header.
My guess is this is an issue with IE and how it handles expiration headers.
Check out this link
Here is a similar (if not the exact same) issue I had myself. Link
thank you for your suggestions, led me in the right direction
| 35,721 |
https://pl.wikipedia.org/wiki/Jan%20Antoni%20Mi%C4%85czy%C5%84ski | Wikipedia | Open Web | CC-By-SA | 2,023 | Jan Antoni Miączyński | https://pl.wikipedia.org/w/index.php?title=Jan Antoni Miączyński&action=history | Polish | Spoken | 179 | 473 | Jan Baptysta Antoni Julian Miączyński herbu Suchekomnaty (ur. 20 lutego 1906 we Lwowie, zm. 21 kwietnia 1960 w Warszawie) – doktor historii sztuki.
Życiorys
Był najmłodszym synem hr. Antoniego Miączyńskiego oraz Julii Miączyńskiej z d. Trzeciak, jego prapraprapapradziadkiem był Piotr Michał Miączyński. W kwietniu 1938 roku wziął ślub z hr. Urszulą Tarnowską, jednak po niecałym pół roku nastąpiła separacja.
Po II wojnie światowej (1947) współtworzył Muzeum Mikołaja Kopernika we Fromborku, wchodząc w skład Komitetu Fromborskiego pod patronatem Muzeum Narodowego.
Autor przewodnika Poznaj Muzeum Mikołaja Kopernika we Fromborku, wyd. nakł. Związku Historyków Kultury i Sztuki, Warszawa 1949.
Autor artykułów w kwartalniku „Biuletyn Historii Sztuki”.
Rodzeństwo
Maria de Pourbaix z Miączyńskich – właścicielka dóbr Włodzimierzec, żona Kamila de Pourbaix,
Antonina Miączyńska – żona Aleksandra Kobylańskiego – właściciela majątku Snowidów pow. Buczacz, oraz Janowiec pow. tarnowski
Jerzy Miączyński – kapitan WP, obrońca Lwowa, dr prawa, wiceburmistrz Jarosławia, zginął w Oświęcimiu.
Przypisy
Bibliografia
Polski Słownik Biograficzny 17770: t. 20 s. 558
Drzewo Genealogiczne
Jan Antoni Miączyński
Polscy historycy sztuki
Urodzeni w 1906
Zmarli w 1960
Pochowani na cmentarzu przy ulicy Lipowej w Lublinie | 7,227 |
https://ceb.wikipedia.org/wiki/Selemiin%20Uula | Wikipedia | Open Web | CC-By-SA | 2,023 | Selemiin Uula | https://ceb.wikipedia.org/w/index.php?title=Selemiin Uula&action=history | Cebuano | Spoken | 166 | 279 | Bukid ang Selemiin Uula sa Monggoliya. Nahimutang ni sa lalawigan sa Ömnögovi Province, sa habagatang bahin sa nasod, km sa habagatan sa Ulaanbaatar ang ulohan sa nasod. metros ibabaw sa dagat kahaboga ang nahimutangan sa Selemiin Uula.
Ang yuta palibot sa Selemiin Uula kasagaran patag. Ang kinahabogang dapit sa palibot dunay gihabogon nga ka metro ug km sa kasadpan sa Selemiin Uula. Kunhod pa sa 2 ka tawo kada kilometro kwadrado Hapit nalukop sa desiyerto ug kamingawan ang palibot sa Selemiin Uula. Walay lungsod sa palibot. Sa palibot sa Selemiin Uula.
Ang klima bugnaw nga kamadan. Ang kasarangang giiniton °C. Ang kinainitan nga bulan Hulyo, sa °C, ug ang kinabugnawan Enero, sa °C. Ang kasarangang pag-ulan milimetro matag tuig. Ang kinabasaan nga bulan Hunyo, sa milimetro nga ulan, ug ang kinaugahan Pebrero, sa milimetro.
Saysay
Ang mga gi basihan niini
Kabukiran sa Ömnögovi Province
Kabukiran sa Monggoliya nga mas taas kay sa 1000 metros ibabaw sa dagat nga lebel
Mga artikulo sa posisyon itarong ni bot | 12,694 |
https://stackoverflow.com/questions/11466899 | StackExchange | Open Web | CC-By-SA | 2,012 | Stack Exchange | Destralak, Roberto Adarve, deceze, https://stackoverflow.com/users/1010796, https://stackoverflow.com/users/373622, https://stackoverflow.com/users/476 | English | Spoken | 420 | 679 | Is there a way to check if a property has been overloaded?
I have a property that I use to define a set of fields that are used on the class.
Eventually, when the class is extended, PHP allows you to redefine this property, but I don't want to allow that, because fields available on parent may be lost on overloading.
This is an example:
class A {
protected $_fields = array('a', 'b');
}
class B extends A {
protected $_fields = array('c', 'd'); // I'm loosing 'a' and 'b' fields
}
Can I check at construction time if the property has been overloaded? Maybe by using a reflection method?
Did you try preventing the overload by using the magic method __set() in the parent class?
Yes, you could figure that out using reflection in the constructor, but the constructor may as well be overridden. So that's kinda moot if you want to prevent someone from overriding it. You cannot make people not shoot their own foot. I'd understand if you were wanting to do that to automatically merge the two to get a superset...
@deceze How could I figure out that using reflection?
Using ReflectionClass to getProperties and check on the properties the declaringClass. I'll let you figure out the details using the manual... :)
@deceze Thank you! Good tip! I'll have a look at the manual for more details :-)
If you don't want to allow the extending class to redefine the property, define the property as private. A private property is only accessible inside the defining class, and any redefinition of the property in the class that extends the parent will not change the value the parent class accesses.
class A {
private $_fields = array('a', 'b');
function foo() { var_dump($this->_fields); }
}
class B extends A {
protected $_fields = array('c', 'd'); // I'm loosing 'a' and 'b' fields
function foo2() { var_dump($this->_fields); }
}
$b = new B();
$b->foo();
$b->foo2();
Will output:
array(2) {
[0]=>
string(1) "a"
[1]=>
string(1) "b"
}
array(2) {
[0]=>
string(1) "c"
[1]=>
string(1) "d"
}
.. since the first access will read the property in the parent class (which can't be overridden in the class inheriting the value), and the extender will still be able to get the value of any local property, regardless of the naming in the parent class.
Thanks! I didn't know that behavior. In fact, I thought that you couldn't do something like that: define a property as private and "re-declare" it on a child's class.
| 41,447 |
https://fa.wikipedia.org/wiki/%D8%A7%DA%A9%D8%AA%D9%88%D8%B1%20%DA%86%D9%88%D9%85%D9%BE%DB%8C%D8%AA%D8%A7%D8%B3 | Wikipedia | Open Web | CC-By-SA | 2,023 | اکتور چومپیتاس | https://fa.wikipedia.org/w/index.php?title=اکتور چومپیتاس&action=history | Persian | Spoken | 131 | 427 | اکتور چومپیتاس (؛ زادهٔ ) بازیکن و مربی فوتبال اهل پرو بود.
از باشگاههایی که در آن بازی کردهاست میتوان به باشگاه فوتبال اونیورسیتاریو ده دپورتس، باشگاه فوتبال اطلس، باشگاه فوتبال دپورتیوو مونیسیپال، و باشگاه فوتبال اسپورتینگ کریستال اشاره کرد.
وی همچنین در تیم ملی فوتبال پرو بازی کردهاست.
منابع
پیوند به بیرون
افراد زنده
اهالی منطقه لیما
بازیکنان باشگاه اطلس
بازیکنان برنده کوپا آمریکا
بازیکنان تیم ملی فوتبال پرو
بازیکنان جام جهانی فوتبال ۱۹۷۰
بازیکنان جام جهانی فوتبال ۱۹۷۸
بازیکنان دسته برتر فوتبال مکزیک
بازیکنان فوتبال اهل پرو
بازیکنان فوتبال دور از وطن در مکزیک
بازیکنان فوتبال مهاجر اهل پرو
بازیکنان کوپا آمریکا ۱۹۷۵
بازیکنان لیگ برتر فوتبال پرو
زادگان ۱۹۴۴ (میلادی)
کلوپ سده فیفا
مدافعان فوتبال
مربیان باشگاه فوتبال اسپورتینگ کریستال
ورزشکاران دور از وطن اهل پرو در مکزیک | 14,342 |
https://en.wikipedia.org/wiki/Francis%20Fane | Wikipedia | Open Web | CC-By-SA | 2,023 | Francis Fane | https://en.wikipedia.org/w/index.php?title=Francis Fane&action=history | English | Spoken | 121 | 279 | Francis Fane may refer to:
Francis Fane, 1st Earl of Westmorland (1580–1629), Member of Parliament and English peer
Francis Fane of Fulbeck (disambiguation)
Sir Francis Fane (Royalist) (c. 1611–1681?), son of Francis Fane, 1st Earl of Westmorland
Sir Francis Fane (dramatist) (died 1691), grandson of Francis Fane, 1st Earl of Westmorland, English Restoration dramatist
Francis Fane, 12th Earl of Westmorland (1825–1891), British soldier and racehorse owner
Francis Fane of Brympton (died 1757), MP for Taunton 1727–1741, Petersfield 1741–1747, Ilchester 1747–1754 and Lyme Regis 1754–1757
Francis Fane of Spettisbury (1752–1813), MP for Lyme Regis 1777–1780 and Dorchester 1790–1807
Francis Fane (Royal Navy officer) (1778–1844), Royal Navy officer
Francis Fane (soldier) (1824–1893), English officer in the British Army
Frank Fane (1897–1980), Canadian politician | 28,270 |
https://en.wikipedia.org/wiki/Holmes%20%28surname%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Holmes (surname) | https://en.wikipedia.org/w/index.php?title=Holmes (surname)&action=history | English | Spoken | 1,686 | 3,130 | Holmes is an English-language surname with several origins.
The name can be a variant of the surname Holme. This surname has several etymological origins: it can be derived from a name for someone who lived next to a holly tree, from the Middle English holm; it can also be derived from the Old English holm and Old Norse holmr. Another probable origin of Holmes is from a placename near Dundonald, or else a place located in the barony of Inchestuir. The surname is also sometimes an Anglicised form of the Gaelic Mac Thomáis; similarly, Holmes can also be a variant of Cavish, derived as an Anglicised form of Mac Thámhais.
People
A
Alan Holmes, Welsh musician and record producer
Albert Holmes (footballer, born 1885) (1885–?), English footballer
Albert Holmes (footballer born 1942), English-born footballer
Alex Holmes (born 1981), American football player
Alexander Holmes, crewman of the ship William Brown, convicted of manslaughter in 1841 for forcing passengers out of an overloaded lifeboat
Alexander Holmes, pseudonym of Hans Habe
Alfred Holmes (1931–1994), sergeant of the Gibraltar Regiment
Alfred Holmes (composer) (1837–1876), violinist and composer
Alice Waring Holmes (1872 – 1939), dentist and suffragette
Alvin Holmes (1939–2020), American politician
Andre Holmes (born 1988), American football player; brother of Jason Holmes (see below)
Andrew Holmes (disambiguation), multiple people
Anthony Holmes, British author and businessman
Anthony D. Holmes (born 1945), Australian plastic and reconstructive surgeon
J. Anthony Holmes, American diplomat
Arthur Holmes (1890–1965), British geologist
Arthur F. Holmes (1924–2011), American professor of philosophy
Ashton Holmes (born 1978), American film and TV actor
Augusta Holmès (1847–1903), French composer
B
Barry Holmes (1928–1949), Anglo-Argentinian rugby union player
Ben Holmes (1890–1943), American film director
Benjamin Holmes (disambiguation)
Besby Holmes (1917–2006), American World War II fighter pilot
Bill Holmes (disambiguation)
Brad Holmes (born 1979), American football executive
Bruce Holmes (born 1965), American football player
Burton Holmes (1870–1958), American traveller, photographer and filmmaker
C
Catherine Holmes, Australian judge
Charles Holmes (disambiguation)
Charlie Holmes (1910–1985), American jazz saxophonist
Chris Holmes (disambiguation)
Christian Holmes (born 1997), American football player
Christian R. Holmes II (1896–1944), decorated American soldier and zoo owner
Chuck Holmes (ice hockey) (1934–2019), Canadian hockey player
Clarence Holmes (born 1968), also known as Ready Rock C, American musician
Clay Holmes (born 1993), American baseball player
Clent Holmes (1917–?), American guitarist
D
Daniel Henry Holmes (1816–1898), American businessman
Danny Holmes (born 1989), English footballer
Darnay Holmes (born 1998), American football player
Darren Holmes (baseball) (born 1966), American baseball player and coach
Dave Holmes (actor) (born 1971), American television personality
Dave Holmes (sportscaster), American sportscaster
David Holmes (disambiguation)
Derek Holmes (born 1978), Scottish footballer
Derek Holmes (ice hockey) (born 1939), Canadian ice hockey player, coach, and administrator
Diane Holmes (born 1935), Canadian politician
Don Holmes (born 1959), Australian rules football player
Don Holmes (American football) (born 1961), American former National Football League player and college coach
Donald F. Holmes (1910–1980), American inventor
Donald Grahame Holmes, Australian electrical engineer
E
Eamonn Holmes (born 1959), Northern Irish journalist and broadcaster
Earl Holmes, American football player
Edmond Holmes (1850–1936), English writer and poet
Edward Morell Holmes (1843–1930), British botanist
Edwin Holmes (disambiguation)
Elizabeth Holmes, American businesswoman, founder of Theranos
Emma Holmes, American Civil War diarist
Eric Holmes (racing driver) (born 1974), American race car driver
Eric Holmes (video game designer), Scottish writer, creative director and videogame designer
Eric Leighton Holmes, British chemist
Ernest Holmes (1887–1960), founder of the movement known as Religious Science, also known as "Science of Mind," a part of the New Thought Movement
Ernie Holmes (1948–2008), American football player
Errol Holmes (1905–1960), English cricketer
F
Frank Holmes (disambiguation)
Fred Holmes (1878–1956), American baseball player
Frederic L. Holmes (1932–2003), American historian of science
Frederick Hale Holmes (1812–1875), British professor of chemistry, pioneer of electric lighting and inventor
Frederick William Holmes (1889–1969), English soldier awarded the Victoria Cross
G
Gabriel Holmes (1769–1829), American politician
Gavrielle Holmes, American politician
Genta Hawkins Holmes (born 1940), American foreign service officer
George Holmes (professor) (1927–2009), Chichele Professor of Medieval History Emeritus at the University of Oxford
George Frederick Holmes (1829–1897), American educator
George M. Holmes (1929–2009), U.S. politician
Gordon Morgan Holmes (1876–1965), British neurologist
Greg Holmes (cricketer) (born 1993), Welsh cricketer
Greg Holmes (rugby union) (born 1983), Australian rugby union player
Greg Holmes (tennis) (born 1963), American former tennis player
H
Hamilton E. Holmes (1941–1995), American physician who helped desegregate the University of Georgia as one of the first two African-American students
Hap Holmes (1889–1940), Canadian ice hockey goalie
Harold Holmes (disambiguation)
Harry Holmes (disambiguation)
Harvey Holmes (1873–1948), American college football player and coach of football, baseball and track
Helen Freudenberger Holmes (1915–1997), American journalist, historian, teacher, politician and Women's Army Corps officer
Helen Holmes (actress) (1893–1950), American actress
Henry Holmes (disambiguation)
H. H. Holmes (1861–1896), American con man, killer and bigamist
Howdy Holmes (born 1949), American racing driver
Hugh Holmes (1840–1916), Irish politician
I
Ian Holmes (disambiguation)
J
J. Anthony Holmes, American diplomat
Jacob Holmes (born 1983), Australian basketball player
Jackie Holmes (1920–1995), American Formula One driver
Jake Holmes (born 1939), American folk-pop singer/songwriter
Jalyn Holmes (born 1996), American football player
James Holmes (disambiguation)
Jason Holmes (born 1989), American Australian rules footballer; brother of Andre Holmes
Jennifer Holmes (disambiguation), multiple people
Jerome Holmes (born 1961), American federal judge
Jessica Holmes (born 1973), Canadian comedian and actor
Jimmy Holmes (born 1953), Irish former professional footballer
Joan Holmes (born 1935), founding president of The Hunger Project
Joe Holmes (born 1963), American heavy metal guitarist
Joe Holmes (singer) (1906–1978), Irish singer
Joe Holmes (rugby league), rugby league footballer
Joel Holmes (1821–1872), English soldier awarded the Victoria Cross
John Holmes (disambiguation)
Jon Holmes (born 1973), British comedy writer and broadcaster
Jonathan Holmes (disambiguation)
Joseph Holmes (disambiguation)
Josh Holmes (rugby union) (born 1987), Australian rugby union player
Josh Holmes (video game designer) (born 1973), Canadian game producer and video game designer
Julie Lynn Holmes, American former figure skater
K
Katie Holmes (born 1978), American actress
Keith Holmes (palaeobotanist) (born 1933), Australian palaeobotanist
Keith Holmes (boxer) (born 1969), American boxer
Kelda Holmes (born 1970), English actress
Kelly Holmes (born 1970), British middle-distance athlete
Kenneth Holmes (1934–2021), British scientist
King K. Holmes (born 1937), American physician, medical researcher, and medical school professor
Kris Holmes (born 1950), American type designer
L
Larry Holmes (born 1949), American boxer
La'Shanda Holmes (born 1985), American Coast Guard helicopter pilot
Laura Holmes (1932–2016), American NSA career cryptanalyst
Lee Holmes (born 1987), English footballer
Len Holmes, Australian rugby league footballer
Linda Holmes (born 1959), American politician
Lindsey Holmes (born 1973), American politician
Lizzie Holmes (1850–1926), American anarchist and editor
Louis Holmes, American football player
Lucy Holmes (born 1979), British-born Australian TV presenter and performer
M
Mackenzie Holmes (born c. 2001), American basketball player
Margaret Holmes (1909–2009), Australian peace activist
Margaret Holmes (ecumenist) (1886–1981), Australian refugee resettlement officer
Margaret Flagg Holmes (1886–1976), co-founder of Alpha Kappa Alpha sorority
Mark Holmes (disambiguation)
Martha Holmes (photographer) (1923–2006), American photographer
Martha Holmes (broadcaster), British marine biologist, TV journalist and producer
Mary Holmes (disambiguation)
Matt Holmes (actor) (born 1976), Australian actor
Matthew Holmes (engineer) (1844–1903), chief mechanical engineer of the North British Railway
Maurice Holmes (cricketer), English cricketer and barrister
Michael Holmes (disambiguation)
Michelle Holmes (born 1967), English actress
Mike Holmes (born 1963), Canadian professional contractor and host of Holmes on Homes
Mike Holmes (born 1948), British electrical engineer
Mike Holmes (wide receiver) (born 1950), Canadian Football League receiver
N
Nancy Holmes (born 1959), Canadian poet and educator
Nick Holmes (disambiguation)
O
Obadiah Holmes (1610–1682), early Rhode Island settler and Baptist minister
Oliver Holmes (rugby league) (born 1992), Canadian rugby player
Oliver Wendell Holmes Sr. (1809–1894), poet and essayist
Oliver Wendell Holmes Jr. (1841–1935), justice of the Supreme Court of the United States
Oscar Holmes (1916–2001), first African-American Naval Aviator and air traffic controller
P
Paul Holmes (disambiguation)
Pehr G. Holmes (1881–1952), US Representative from Massachusetts
Percy Holmes (1886–1971), English cricketer
Pete or Peter Holmes (disambiguation)
Philip Holmes (born 1945), American engineering professor
Phillips Holmes (1907–1942), American film actor
Priest Holmes (born 1973), American football player
R
Ray Holmes (1914–2005), British Second World War fighter pilot
Rand Holmes, (1942–2002), Canadian comic artist
Reggie Holmes (born 1987), American basketball player
Richard Holmes (disambiguation)
Richaun Holmes (born 1993), American basketball player
Robert Holmes (disambiguation)
Rupert Holmes, British-American composer, singer-songwriter and dramatist
Ruth Bradley Holmes (1924–2021), American linguist, educator, and polyglot
S
Samuel Jackson Holmes (1868–1964), American zoologist
Santonio Holmes (born 1984), American footballer and Super Bowl XLIII MVP
Sharon Holmes (1950–2015), Canadian artist nee Sharon Christian
Simon Hugh Holmes (1831–1919), Nova Scotia politician, publisher and lawyer
Stanley Holmes, 1st Baron Dovercourt (1878–1961), British politician
Steve Holmes (actor) (born 1961), Romanian-born German pornographic film actor
Susan Holmes (disambiguation)
T
Taylor Holmes (1878–1959), American stage actor
Terry Holmes (born 1957), former Welsh international rugby union player
Theophilus H. Holmes (1804–1880), Confederate Civil War lieutenant general
Thomas Holmes (disambiguation)
Tim Holmes (artist) (born 1955), American sculptor, filmmaker and musician
Tim Holmes (actor) (born 1967), American actor
Timothy Holmes (1825–1907), English surgeon
Tina Holmes (born 1973), American television and film actress
Tom Holmes (born 1979), contemporary American artist
Tom Holmes (born 1930s), current chairman of the far-right British political party the National Front
Tommy Holmes (1917–2008), American baseball player
V
Valentine Holmes (born 1995), Australian-born American football player and rugby player
Valerie Susan Holmes (born 1946), English beauty pageant contestant
Victoria Holmes, English novelist
W
William Holmes (Australian general) (1862–1917), Australian Army Major General during World War I
William Holmes (British general)
William Edgar Holmes (1895–1918), English soldier and VC recipient
William Holmes (1779–1851), British politician
William Holmes (British Army officer) (1892–1969), British general during the Second World War
William Henry Holmes (1846–1933), American anthropologist, archaeologist, geologist and museum director
William Henry Holmes (musician) (1812–1885), English musician
Fictional characters
Enola Holmes (character), sister of Sherlock Holmes created by Nancy Springer
Hemlock Holmes, a character from UPA's Dick Tracy cartoon
Mycroft Holmes, brother of Sherlock Holmes
Sherlock Holmes, fictional detective
References
See also
Justice Holmes (disambiguation)
Safiya Henderson-Holmes (1950–2001), African-American poet
Holmes à Court, a surname
Derek St. Holmes (born 1953), American musician
Holm (surname)
English-language surnames
Surnames of English origin
Surnames of Scottish origin
Toponymic surnames | 42,866 |
https://stackoverflow.com/questions/65181280 | StackExchange | Open Web | CC-By-SA | 2,020 | Stack Exchange | English | Spoken | 181 | 260 | Can I create multiple virtual devices from multiple GPUs in Tensorflow?
I'm using Local device configuration in Tensorflow 2.3.0 currently, to simulate multiple GPU training, and it is working. If I buy another GPU, will I be able to use the same functionality to each GPU?
Right now I have 4 virtual GPUs and one physical GPU. I want to buy another GPU and want to have 2x4 virtual GPUs. I haven't found any information about it, and because I don't have another GPU right now, I can't test it. Is it supported? I'm afraid, it's not.
Yes, you can have additional GPU, since there is no restriction in the number of GPU's you can make use of all the GPU devices you have.
As you can see in the document also which says,
A visible tf.config.PhysicalDevice will by default have a single
tf.config.LogicalDevice associated with it once the runtime is
initialized. Specifying a list of tf.config.LogicalDeviceConfiguration
objects allows multiple devices to be created on the same
tf.config.PhysicalDevice
You can follow this documentation for more details on usage of multiple GPU's.
| 13,363 | |
https://ka.wikipedia.org/wiki/%E1%83%9B%E1%83%90%E1%83%A2%E1%83%A0%E1%83%98%E1%83%A1-%E1%83%93%E1%83%98-%E1%83%99%E1%83%90%E1%83%9B%E1%83%90%E1%83%A0%E1%83%90%E1%83%9F%E1%83%98%E1%83%91%E1%83%98 | Wikipedia | Open Web | CC-By-SA | 2,023 | მატრის-დი-კამარაჟიბი | https://ka.wikipedia.org/w/index.php?title=მატრის-დი-კამარაჟიბი&action=history | Georgian | Spoken | 40 | 278 | მატრის-დი-კამარაჟიბი () — მუნიციპალიტეტი ბრაზილიაში, ალაგოასის შტატში. მიეკუთვნება აგრესტი-ალგოანუს მეზორეგიონს.
2010 წლის მონაცემებით, მოსახლეობა 23 785 ადამიანს შეადგენდა. ფართობი 330 061 კმ²-ია. მოსახლეობის სიმჭიდროვე 72.06 კმ²-ზე.
რესურსები ინტერნეტში
ბრაზილიის გეოგრაფიისა და სტატისტიკის ინსტიტუტი ,
მოსახლეობის აღწერის მონაცემები
ალაგოასის შტატის მუნიციპალიტეტები | 28,449 |
https://fa.wikipedia.org/wiki/%D8%AE%D8%A7%DA%86%DB%8C%DA%A9%20%D8%AE%D8%A7%DA%86%D8%B1 | Wikipedia | Open Web | CC-By-SA | 2,023 | خاچیک خاچر | https://fa.wikipedia.org/w/index.php?title=خاچیک خاچر&action=history | Persian | Spoken | 352 | 1,147 | خاچیک خاچر (؛ زادهٔ ۲۱ دی ۱۳۲۴)، نویسنده، شاعر و مترجم ارمنیتبار اهل ایران بود.
زندگینامه
وی با نام اصلی خاچاطور گالوستانیان () در ۲۱ دی ۱۳۲۴ (ژانویه ۱۹۴۶) در تهران به دنیا آمد. خاچر برای ادامه تحصیلات عالی به آلمان نقل مکان نمود و در بین سالهای ۱۹۶۶ تا ۱۹۷۸ در آخن تحصیل نمود.
کتابشناسی
خاچر تاکنون بیش از ۲۰ عنوان کتاب را به رشته تحریر درآورده است و به چهار زبان انگلیسی، فارسی، آلمانی و ارمنی مسلط است و به این زبانها آثاری را ترجمه کردهاست. دو کتاب آنتولوژی داستانهای کوتاه فارسی؛ کتابهای «راه ابریشم» شامل ۳۲ داستان از ۳۲ نویسنده ایرانی و کتاب ۴۲، مجموعه داستانهای نویسندگان آلمانی زبان را که شامل ۵۵ داستان است، به زبان ارمنی نام برد
کتاب پرواز با درنا به تازگی در مجموعه شعر معاصر جهان نشر ثالث به چاپ رسیدهاست. پرواز با درنا را شامل شعرهایی از شاعران ارمنی به فارسی ترجمه کردهاست. او با بیان این که آنتولوژی حاضر شعرهای ۶۵ شاعر ارمنی را در بر میگیرد.
از خاچیک خاچر پیشتر مجموعههای داستان اشک ششم و حال و هوایی به پسند کلاغها در ایران منتشر شدهاست. او دو مجموعه داستان کوتاه دیگر با نامهای آدمهای شفاف و چهارراه ژنرالها را به زبان ارمنی نوشته و در ایروان منتشر کردهاست. ترجمه ارمنی «زنده بهگور» صادق هدایت هم که به سه زبان ارمنی، انگلیسی و زبان اصلی است از دیگر آثار منتشرشده اوست. او همچنین جاده ابریشم را با آثاری از ۳۲ نویسنده معاصر ایران، از محمدعلی جمالزاده تا علی خدایی، در ارمنستان منتشر کردهاست.
آثار
تالیفات به ارمنی
' () (۱۹۸۲)
' () (۱۹۹۷)
چهارراه ژنرالها () (۲۰۰۴)
' () (۲۰۱۵)
ترجمهها به ارمنی
جاده ابریشم
'
'' تالیفات به فارسی
اشک ششم (۲۰۰۵)
حال و هوایی به پسند کلاغها'' (۲۰۰۶)
جوایز
خاچر تاکنون برنده نشان دستاوردهای ادبی ارمنستان، جایزه ادبی گِوُرگ مِلیتِنِتسی (لبنان، بیروت) شدهاست، تقدیر نامههای متعددی هم از وزارت فرهنگ و ارشاد اسلامی، وزارت فرهنگ ارمنستان و همچنین وزارت دیاسپورای ارمنستان دریافت کردهاست.
جستارهای وابسته
فهرست نویسندگان ارمنی
منابع
فارسی
شماره
ارمنی
اهالی تهران
زادگان ۱۳۲۴
زادگان ۱۹۴۶ (میلادی)
شاعران مرد اهل ایران
نویسندگان اهل ایران
شاعران ارمنیزبان اهل ایران | 31,881 |
https://vi.wikipedia.org/wiki/Humata%20nephrodioides | Wikipedia | Open Web | CC-By-SA | 2,023 | Humata nephrodioides | https://vi.wikipedia.org/w/index.php?title=Humata nephrodioides&action=history | Vietnamese | Spoken | 51 | 102 | Humata nephrodioides là một loài dương xỉ trong họ Davalliaceae. Loài này được Alderw. mô tả khoa học đầu tiên năm 1909.
Danh pháp khoa học của loài này chưa được làm sáng tỏ.
Chú thích
Liên kết ngoài
Humata
Thực vật được mô tả năm 1909
Unresolved names
es:Humata nephrodioides | 19,651 |
https://ko.wikipedia.org/wiki/%EC%8A%A4%EB%B2%A0%ED%8B%80%EB%9D%BC%EB%82%98%20%ED%82%A4%ED%8B%B0%EC%B9%98 | Wikipedia | Open Web | CC-By-SA | 2,023 | 스베틀라나 키티치 | https://ko.wikipedia.org/w/index.php?title=스베틀라나 키티치&action=history | Korean | Spoken | 136 | 692 | 스베틀라나 키티치(, , 1961년 4월 26일~)는 유고슬라비아와 보스니아 헤르체고비나의 핸드볼 선수이다. 유고슬라비아 여자 국가대표팀 선수로 활약하여 1980년 하계 올림픽 은메달, 1984년 하계 올림픽 금메달 획득에 기여했다.
외부 링크
스베틀라나 키티치 - 유럽 핸드볼 연맹
스베틀라나 키티치 - Sports Reference.com
1961년 출생
살아있는 사람
20세기 세르비아 사람
21세기 세르비아 사람
20세기 보스니아 헤르체고비나 사람
21세기 보스니아 헤르체고비나 사람
유고슬라비아의 여자 핸드볼 선수
보스니아 헤르체고비나의 여자 핸드볼 선수
유고슬라비아 여자 핸드볼 국가대표팀 선수
보스니아 헤르체고비나 여자 핸드볼 국가대표팀 선수
유고슬라비아의 올림픽 금메달리스트
유고슬라비아의 올림픽 은메달리스트
올림픽 핸드볼 메달리스트
1980년 하계 올림픽 메달리스트
1984년 하계 올림픽 메달리스트
유고슬라비아의 올림픽 핸드볼 참가 선수
1980년 하계 올림픽 핸드볼 참가 선수
1984년 하계 올림픽 핸드볼 참가 선수
투즐라 출신
세르비아계 보스니아 헤르체고비나인
보스니아 헤르체고비나계 세르비아인
세르비아에 거주한 보스니아 헤르체고비나인
독일에 거주한 보스니아 헤르체고비나인
이탈리아에 거주한 보스니아 헤르체고비나인
1979년 지중해 게임 참가 선수 | 20,221 |
https://zh.wikipedia.org/wiki/%E5%89%8D%E9%87%8E%E5%BF%A0%E5%BA%B7 | Wikipedia | Open Web | CC-By-SA | 2,023 | 前野忠康 | https://zh.wikipedia.org/w/index.php?title=前野忠康&action=history | Chinese | Spoken | 10 | 353 | 前野忠康()是日本安土桃山時代武將。一般通稱舞野兵庫助,遂以「舞兵庫」之名廣為人知。
生平
其妻乃是前野長康之女,因此入仕豐臣秀次成為若江八人眾之一於各地轉戰,以武勇聞名。於文祿3年(1593年)秀次受到豐臣秀吉責難處置時依然高稱「秀次公無罪」,最後感謝不斷為秀次助命請願的石田三成,所以以後在秀次死後投入三成麾下。
前田利家死後,石田三成受到加藤清正等七人襲擊,他被三成任命護衛保護,在關原之戰中擔任石田三成隊的前衛部隊,與黑田長政、田中吉政激戰,但因為小早川秀秋倒戈,西軍大敗,舞兵庫為盡忠死力作戰陣亡。
日本战争身亡者
戰國武將
坪內氏
1560年出生
1600年逝世
前野氏 | 25,095 |
https://stackoverflow.com/questions/15029947 | StackExchange | Open Web | CC-By-SA | 2,013 | Stack Exchange | Chris Bence, El Hocko, Fenton, Green Black, hjpotter92, https://stackoverflow.com/users/1190388, https://stackoverflow.com/users/2032712, https://stackoverflow.com/users/2100306, https://stackoverflow.com/users/42139, https://stackoverflow.com/users/5763937, https://stackoverflow.com/users/75525, jeroen | English | Spoken | 536 | 845 | Save HTML from php
Let's say I want to use php to generate dynamic data on my website, but I don't want users to go to any .php page.
Rather, I'd like to run the php scripts once each night and save a .html file so that when browsing my website users just see static html.
The way I'm picturing this is that for every page that needs dynamic data, there is a .html and a .php for it. For example:
newsAndInformation.html
newsAndInformation.php
Is this common practice? Are there good tutorials out there for things like this?
You can edit .htaccess.
Thats called static caching. You can use ob_start and ob_get_contents to get your generated code and put it into a static file. You could use a htaccess to check if there is a static file, and serve the static file if it is there and younger than xx days.. this is just a simple example.
Is this because you want to cache something or just because you want to make it look like an html page?
Because with url-rewriting, you could make the url /anypage.html
point to anypage.php without anyone ever realize it.
I'm interested in doing this for caching.
You can speed up your site with static pages by using a clever mod_rewrite rule in your .htaccess file.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^Example/ index.php [L,NC,QSA]
This rule does the following...
Checks that a file doesn't already exist for the requested URL
Checks that a directory doesn't already exist for the requested URL
If YES - shows the static file / directory (directory would need an index.html file)
If NO - redirects to your PHP file, which can run and then save the appropriate file for the next request
Your PHP file would spit out the response:
<?php
ini_set('zlib.output_compression', 'On');
ob_start();
// Logic to create your content...
// use ob_get_contents() to get the response and save it
ob_end_flush();
?>
A rough example would be...
yoursite/Example/Test/
On the first visit, this would hit your PHP page. You would then save the file to /Example/Test/index.html and the second request would serve the static page without using PHP.
+1 Nice! You would need to add something like a cron job to clean out the html files once a day to meet the OP's refresh requirement.
I normally delete the folder automatically when I edit the page, so it will only regenerate the static file if I have actually made a change. For pages that need to be genuinely dynamic (i.e. automatic publishing based on future dates) I handle the cache with a smaller PHP file that checks the date and time of the cached item.
Just found out that my Yahoo Small Business hosting does not allow me to upload my own .htaccess file. Womp womp. I'm changing hosts soon enough, so I'll try this then. Thanks again!
You could create a simple class that uses fwrite to do this.
If you have enough data that requires a more complex solution, you could find a more extensive cache system.
add the following in your .htaccess file
RewriteEngine on
RewriteRule ^(.*)\.html $1\.php
This will make http://www.domain.com/myPage.html really point to http://www.domain.com/myPage.php but the users see the .html
| 44,604 |
https://kk.wikipedia.org/wiki/%D0%A1%D0%B0%D0%BD%D0%B4%D1%83%D2%93%D0%B0%D1%88%D1%82%D0%B0%D1%80 | Wikipedia | Open Web | CC-By-SA | 2,023 | Сандуғаштар | https://kk.wikipedia.org/w/index.php?title=Сандуғаштар&action=history | Kazakh | Spoken | 198 | 904 | Сандуғаштар () - торғайтәрізділер отрядының 73 тұқымдастарының біреуі. Кішкене өте кішкене денелі (6-40 г) бунақденежегіш, ағаш бұталарда көбірек өмір сүретін құстар. Сыртқы кейпі сандуғашқа, шырылдаққа және айқабаққа тән; денесі сымбатты, басы онша үлкен емес және тұмсығы жіңішке, екі жағынан қысыңқы болып келеді. Қауырсын жабыны - жұмсақ, тегіс. Реңінде қарапайым, онша ашық емес - сүр, қоңырқай, қоңырлау, ақшыл, жасылдау және сарғыш реңктер басымырақ болады. Аталығы мен аналығының өңдері бірдей, сондай-ақ тіпті жас сандуғаштардың реңі ересектерінен ажырату оңай емес.
Өмір сүру дағдысы
Көбінесе бұталарда, сирек те болса ормандарда, биік өскен шөптесін қалың шалғындарда мекендейтін жылпос, ширақ құстар. Кейбіреулері тропиктік қалың жыныста өмір сүруге бейімделген. Моногамиялы, әдетте бір маусымға жеке-дара жүп түзіп, орын тебеді. Тіпті жылыстау кезеңінде үлкен топқа жиналмайды. Жыл құстары және тек қана нағыз оңтүстікте таралған - көшпенді немесе отырықшы құстар.
Жалпы таралуы
Әр түрлі маман-жіктеушілердің пікірі бойынша сандуғаш тұқымдастарда 83-93 туысқа жататын 400-425 түр бар. Бұлар өз кезегінде үш тұқымдас тармағына: Ескі Дүние сандуғаштары (55-65 туыстан 330- 332 түр), австралиялық сандуғаштар (25 туыстан 80-82 түр) және комарольдық сандуғаш (Оңтүстік және Орталық Америкада мекендейтін 10-11 түр) тұқымдастар тармағына жатады.Қазақстанда сандуғаш тұқымдастардың 8 туыстан 41 түрінің өкілдері (сандуғаштар, сарықастар, айқабақтар, жалпаққұйрық бұлбұлшалар, шырылдақтар, әжуандар, шитұмсық айқабақтар) кездеседі.
Дереккөздер
Жануарлар
Сандуғаштар | 7,571 |
https://ru.stackoverflow.com/questions/903914 | StackExchange | Open Web | CC-By-SA | 2,018 | Stack Exchange | Eugene Krivenja, https://ru.stackoverflow.com/users/177345, https://ru.stackoverflow.com/users/184031, pavlofff | Russian | Spoken | 1,076 | 2,706 | Android, SDK и API. Что это и зачем?
Пытаюсь разобраться в теме. Вот как я нашел-вижу (поправляйте, если что не так понял / прочитал). Буду показывать и задавать вопросы на основе своего приложения.
minSdkVersion = 14. Созданное приложение будет работать на API >=14. Даже на самых последних андроидах. Выставляется при создании проекта и целесообразно задавать самый минимальный API, потому что больше охват устройств.
compileSdkVersion = 26. Версия API с которой компилируется приложение. Т.е. раз стоит 26 и оно работает, значит на версиях ниже оно тоже будет работать 100%. Значит наше приложение будет работать в пределах от 14 до 26 API
targetSdkVersion = 26. Это как рецензия, что я протестировал это приложение на API 26 и оно работает корректно. Никакого функционала в себе не несет.
Вопросы:
Я верно все понял?
Почему compileSdkVersion и targetSdkVersion выставилось 26, если у меня скачана API 27, 28? стоит ли в build.gradle менять значения с 26 на 27/28 ?
Через некоторое время выходит телефон с API 30. приложение будет работать на нем?
Где посмотреть разрядность приложения х32 / х64 ? на что это вообще влияет?
Я во всех этих тонкостях не понимаю. Всё что адекватное нашел и понял - написал. остальное - темный лес.
№3 - Да, №4 - разрядность важна только для нативных библиотек, байткод не имеет такого параметра.
minSdkVersion - минимальная версия API, на которой может быть запущена ваша программа. Этот параметр не только расширяет охват устройств, но и обязывает вас использовать возможности только этого (и ранее вышедших) API. Указав данный параметр = 1, вы вынужденны будете писать свой код, как будто андроид только вышел и 27 обновлений апи как будто и не было, включая все те новые классы и методы, что появились за эти 27 обновлений - это изощренное издевательство над собой и на практике доступно единицам.
Однако, любому разработчику хотелось бы и "покрыть" как можно больше устройств и использовать все возможности последнего апи. На помощь тут приходят библиотеки поддержки (support library), которые подключаются в виде отдельного модуля и дублируют некоторые возможности новых апи, чтобы разработчик мог их использовать в более ранних версиях. Таких библиотек довольно много (смотрите ссылку) и каждая решает определенную задачу (например AppCompat позволяет использовать интерфейс Material на апи ниже 21).
На сегоняшний день библиотеки поддержки сами имеют ограничение по минимальной версии до апи 14 (что соответствует android 4.0), так что для наибольшего и сравниельно безболезненного охвата устройств значение minSDKversion можно устанавливать равным 14 (при этом мы теряем 0.2% устройств, что вполне разумная плата). На практике данное значение можно увеличить и до 16 (android 4.1) без существенных потерь.
ps: в настроящее время происходит миграция support-библиотек в пакеты androidX и JetPack, это нужно учесть в дальнейшем.
targetSDKversion указывает "совместимость" с определенным апи. Данный параметр оказывает такое влияние, что указав его, к примеру = 1, вы получите интерфейс (вид виджетов) первого андроида, даже если запустите такое приложение на последней версии или указав значение меньше 23, ваша программа не будет запрашивать runtime permision, на устройствах с апи больше 23 (будет работать в режиме эмуляции таких разрешений). Частично эффект такой, что программа будет считать, что она выполняется в указанном данным параметром апи, даже если на реальном устройстве другое апи (но здесь есть нюансы, как всегда). Параметр рекомендуется указывать по последнему релизному апи (сегодня это 28) во избежании трудностей, непонятного поведения и тех самых нюансов.
compileSDKversion указывает с помощью какого апи будет компилироваться ваша программа (из какого апи брать классы для компиляции кода). Указав данный параметр, например, равным 23, классы и методы более поздних апи будут недоступны (впрочем, они все равно будут недоступны по ограничению minSDKversion). Данный параметр так же рекомендуется указывать по последней релизной версии апи (сегодня это 28). Так же существует такая связь, что мажорная версия библиотеки поддержки не может быть больше значения compileSDKversion (если вы хотите использовать библиотеки версии 28.х.х, то данный параметр не может быть меньше 28-ми)
Указав эти три параметра какими то цифрами, ваше приложение будет запускаться на всех устройствах, от указанного в minSDKversion до текущего актуального, то есть указывая compileSDKversion = 26 ваше приложение будет работать и на апи 30, когда оно выйдет (ограничить устройства "сверху" можно только параметорм maxSDKversion, но он обычно не указывается вовсе)
разрядность процессора в "классическом" андроид-приложении не учитывается от слова совсем. Данный параметр будет актуален, когда вы решите использовать нативный С/С++ код в вашем приложении и нужно будет определяться с подключаемыми компиляторами С (для каждой архитектуры процессоров он свой)
"будут недоступны по ограничению minSDKversion" - вот тут только не согласен. Пример: minSdkVersion = 14, спокойно вызываю новый FingerprintDialog на Android 9, если выставить правильно остальные два параметра.
@EugeneKrivenja не думаю, что то о чем вы пишите возможно (вызов классов/методов, которые добавлены после указанного минимального апи) без дополнительных аннотаций в коде, как @RequiresApi или там @TargetApi или иных проверок в самом коде, только указанием "остальных двух параметров", иначе указывать минимальный апи было бы вообще незачем ...
Возможно, аннотации используются для того чтобы помечать код, но и без них возможно. Когда-то же не было этих аннотаций и все работало через 'if (Build.VERSION.SDK_INT >=...)'
@pavlofff написал верно, но очень много :)
Постараюсь войти в пару предложений.
minSdkVersion говорит компилятору какой генерить байткод, чтобы он работал на прошивке с таким минимальным уровнем API; говорит компилятору какие показывать ошибки и предупреждения, чтобы программист не пытался тупо вызвать API новее указанного; говорит устройству, совместимо ли приложение с его прошивкой.
targetSDKversion говорит компилятору, какой максимальный уровень API доступен (новые недоступны вообще); говорит устройству, в каком "режиме совместимости" приложение запускать (если он выше, запускать как свое родное).
compileSDKversion указывает, какой набор тулзов из Android SDK использовать. Рекомендуют использовать всегда последние.
Остальное - производные из этих правил.
Еще одно важное правило: minSdkVersion<=targetSDKversion<=compileSDKversion
1) minSdkVersion = 14 - Верно что будет работать с версии 14 и выше, но выставлять минимальный API нецелесообразно, т.к. android версий 2.х.х менее 1%. Используя API версии 14, ты лишаешься возможностей доступных в версии скажем 4.х. ВАЖНО! Все зависит от конкретных требований к ПО. Чем ниже версия API тем сложнее разработка и поддержка. История версий Android.
По вопросам:
3) Новые API поддерживают старые, Java и если я верно понял Android придерживаются обратной совместимости.
4) Откуда необходимость в такой информации? Разрядность ОС или поддержка приложением 64 архитектуры? Я это к тому, что иногда при обучении несет не в ту сторону, и много времени может уйти на изучение не совсем ценной информации.
По остальным вопросам воздержусь отвечать, т.к. не уверен что смогу корректно и понятно объяснить.
P.S. Лично мое мнение. "Темный лес" освещается практикой. Придумай себе проект, поставь задачи (конкретные, а не все возможные фичи и технологии сразу) и постепенно обучаясь реализуй проект. Темных мест будет становиться меньше.
| 21,448 |
https://de.wikipedia.org/wiki/Worthington%20Presbyterian%20Church | Wikipedia | Open Web | CC-By-SA | 2,023 | Worthington Presbyterian Church | https://de.wikipedia.org/w/index.php?title=Worthington Presbyterian Church&action=history | German | Spoken | 96 | 181 | Die Worthington Presbyterian Church ist eine historische Kirche in Worthington, Ohio, Vereinigte Staaten. Die 1805 gegründete Kirchengemeinde besteht aus 1.900 Mitgliedern.
Geschichte
Unter dem Namen Worthington United Presbyterian Church wurde die Kirche am 17. April 1980 in den National Register of Historic Places (dt. Nationales Verzeichnis historischer Stätten) eingetragen.
Das Gebäude wurde 1930 von den Architekten Orr und Martin Martin erbaut.
Weblinks
Offizielle Website der Worthington Presbyterian Church (englisch)
Einzelnachweise
Kirchengebäude in Ohio
Denkmal im National Register of Historic Places (Ohio)
Erbaut in den 1930er Jahren
Bauwerk im Franklin County (Ohio)
Worthington (Ohio)
Kirchengebäude in Nordamerika | 29,940 |
https://sv.wikipedia.org/wiki/Svartbr%C3%B6stad%20vakteltrast | Wikipedia | Open Web | CC-By-SA | 2,023 | Svartbröstad vakteltrast | https://sv.wikipedia.org/w/index.php?title=Svartbröstad vakteltrast&action=history | Swedish | Spoken | 146 | 411 | Svartbröstad vakteltrast (Cinclosoma castanotum) är en fågel i familjen vakteltrastar inom ordningen tättingar.
Utseende och läte
Svartbröstad vakteltrast är en kraftigt tecknad trastliknande fågel. Den har vitt ögonbrynsstreck och mustaschstreck, vit buk, djupt kastanjebrun rygg och intrikat tecknade vingar. Honan har grått bröst, hanen grå flanker och svart på bröst och stripe. Kanelvakteltrast och brunbröstad vakteltrast har varmbruna kroppsidor. Lätet är en utdragen och ljus vissling, "seeeep".
Utbredning och systematik
Svartbröstad vakteltrast förekommer i sydöstra South Australia, intill nordvästra Victoria och sydvästra New South Wales. Tidigare ansågs kopparryggig vakteltrast (C. clarum) vara en del av svartbröstade vakteltrasten och vissa gör det fortfarande.
Levnadssätt
Svartbröstad vakteltrast hittas i öppen mallee och buskmarker. Där ses den vanligen promenera omkring på marken.
Status
IUCN kategoriserar arten som livskraftig men inkluderar kopparryggig vakteltrast i bedömningen.
Referenser
Externa länkar
Läten på xeno-canto.org
Vakteltrastar
Fåglar i australiska regionen
Endemiska fågelarter i Australien | 49,019 |
https://arz.wikipedia.org/wiki/%D8%BA%D8%B1%D8%AF%20%D9%83%D9%88%D9%84%D8%A7%D9%86 | Wikipedia | Open Web | CC-By-SA | 2,023 | غرد كولان | https://arz.wikipedia.org/w/index.php?title=غرد كولان&action=history | Egyptian Arabic | Spoken | 30 | 95 | غرد كولان ( بالفارسى گرد کولان ) قريه فى ايران و هيا تابعه لـ محافظه اذربيجان الغربيه ( بالفارسى استان آذربایجان غربی ).
وصلات
مصادر
تجمع سكان
مقاطعات اذربيجان الغربيه | 18,578 |
https://ceb.wikipedia.org/wiki/Hamzakot | Wikipedia | Open Web | CC-By-SA | 2,023 | Hamzakot | https://ceb.wikipedia.org/w/index.php?title=Hamzakot&action=history | Cebuano | Spoken | 41 | 83 | Kanal ang Hamzakot (Ininggles: Hamzakot (Canal)) sa Pakistan. Nahimutang ni sa lalawigan sa Khyber Pakhtunkhwa Province, sa amihanan-sidlakang bahin sa nasod, km sa amihanan-kasadpan sa Islamabad ang ulohan sa nasod.
Ang mga gi basihan niini
Mga kanal sa Khyber Pakhtunkhwa Province | 3,078 |
https://ell.stackexchange.com/questions/301257 | StackExchange | Open Web | CC-By-SA | 2,021 | Stack Exchange | Kate Bunting, Lambie, Michael Harvey, gomadeng, https://ell.stackexchange.com/users/104866, https://ell.stackexchange.com/users/127513, https://ell.stackexchange.com/users/33113, https://ell.stackexchange.com/users/46805 | English | Spoken | 684 | 968 | an angel of a girl ([an angel of / a girl] or [an angel / of a girl]) or [an angel / of / a girl]
an angel of a girl
You know, the phrase above means a girl is like an angel: angel-like
So I wonder if 'an angel of', especially 'of', includes the meaning of 'like'.
Q1. If it's not, which word or a group of words includes the meaning of 'like'?
There are also similar expressions: a lion of a man, a mountain of a wave, etc.
Q2. Can we use the structure (a noun(A) of a noun(B) to make an (A)-like B phrase without any specific restrictions or can we use only idiomatic expressions already firmed and accepted?
Q3. Are the following phrases idiomatic: a paint of a house(nice house), a stone of a head(low IQ), a snake/fox of a woman(cunning), a puppy of a boy(cute, lovely), an ice of a teacher(strict), a parasite of a man(idle)
It has the sense of 'a girl with the qualities of an angel'. Your examples are not idiomatic and not all of them make sense. You can call a person a parasite without needing to add 'of a man'. A female fox is a vixen; you could say a vixen of a woman.
Which part makes 'like'?
@KateBunting I once said to a couple I met on a train that Michael Gove was a 'toad of a man', which really annoyed them.
@Michael Harvey and KateBunting What's this: a girl of an angel
We can use an expression like this to say someone or something is very much like something else in a significant way:
[a person or thing] is a [thing 1] of a [thing 2]
[thing 1] is what we are saying the person or thing is like.
[thing 2] is what the person or thing really is.
Usually [thing 1] is an unreal thing:
John is a bull of a man. A bull is a big strong animal which can be difficult to obstruct or divert, and can be clumsy and cause damage. John is a man who is big and strong and can be difficult to obstruct or divert physically or figuratively and may be clumsy. He is not a bull really (a bull is an animal).
Mary is an angel of a girl. An angel is a mythical being which is entirely good, beautiful, etc. Mary is especially good, virtuous, kind, beautiful, etc. She is not really an 'angel' (angels are mythical beings).
My teenage son lives in a pigsty of a room. A pigsty is a farm building where pigs are kept. It can be offensively dirty and smelly. My son's room is very dirty. It is not really a pigsty (there are no pigs in it).
"Bliss" is a train wreck of a movie.
A train wreck is a situation where there is a great deal of noise and chaos, and nothing good results. "Bliss" is a very bad film in which a lot of chaotic things happen, but nothing good is provided to the viewer. There are no trains wrecked in the film.
Native speakers will very often omit the last part (of a [thing 2]) like this
John is a bull.
Mary is an angel.
My son lives in a pigsty.
"Bliss" is a train wreck.
The statement is so unreal that the hearer immediately understands that a comparison is being made.
To reverse the statement, e.g. John is a man of a bull, Mary is a girl of an angel, my son lives in a room of a pigsty, will be heard as a nonsensical utterance and will be, most often, meaningless. '"Bliss" is a movie of a train wreck' would be grammatical but completely untrue.
And this is a helluva answer. [Note to learner: hell of a] :) Why don't the commenters upvote what is a perfectly good answer??
@Lambie - thank you for your kind words.
No worries, mate. This kind of answer with concrete examples that show exactly how something works is my favorite kind of answer. No mucking about.
| 42,671 |
https://math.stackexchange.com/questions/3561958 | StackExchange | Open Web | CC-By-SA | 2,020 | Stack Exchange | English | Spoken | 110 | 168 | Clique in a certain $18$-regular graph of order $35$
I am studying a certain graph below.
An $18$-regular graph $G$ on $35$ vertices has a property that:
Every adjacent vertices have $9$ common neighbors
Can I conclude that there is a clique (complete subgraph) of order 7?
My questions (and guesses):
$G$ is not necessarily a strongly regular graph, is it? As far as I know, we need one more parameter for $G$ to be strongly regular.
What is a general/known method to tackle this type of problem? I believe Turan's theorem cannot be used here. Do we need probabilistic techniques?
Thank you very much for the guidance and responses.
| 11,051 | |
https://vi.wikipedia.org/wiki/Final%20Cut%20Pro | Wikipedia | Open Web | CC-By-SA | 2,023 | Final Cut Pro | https://vi.wikipedia.org/w/index.php?title=Final Cut Pro&action=history | Vietnamese | Spoken | 284 | 575 | Final Cut Pro là một loạt các chương trình phần mềm chỉnh sửa video phi tuyến tính được phát triển đầu tiên bởi Macromedia Inc. và sau đó là Apple Inc. Phiên bản mới nhất, Final Cut Pro X 10.4.8, chạy trên các máy tính Mac dựa trên Intel được cung cấp bởi macOS Mojave 10.14.6 hoặc một lát sau. Phần mềm cho phép người dùng đăng nhập và chuyển video vào ổ cứng (bên trong hoặc bên ngoài), nơi có thể chỉnh sửa, xử lý và xuất ra nhiều định dạng khác nhau. Bản Final Cut Pro X được viết lại hoàn toàn đã được Apple giới thiệu vào năm 2011, với phiên bản cuối cùng của bản Final Cut Pro kế thừa là phiên bản 7.0.3.
Kể từ đầu những năm 2000, Final Cut Pro đã phát triển một cơ sở người dùng rộng lớn và mở rộng, chủ yếu là những người có sở thích video và các nhà làm phim độc lập. Nó cũng đã xâm nhập với các biên tập viên điện ảnh và truyền hình, những người có truyền thống sử dụng Nhà soạn nhạc truyền thông của Avid Technology. Theo một nghiên cứu SCRI năm 2007, Final Cut Pro chiếm 49% thị trường chỉnh sửa chuyên nghiệp của Hoa Kỳ, với Avid là 22%. Một cuộc khảo sát được công bố vào năm 2008 bởi Hiệp hội Biên tập Điện ảnh Hoa Kỳ đã đặt người dùng của họ ở mức 21% Final Cut Pro (và phát triển từ các cuộc khảo sát trước đây của nhóm này), trong khi tất cả những người khác đều thuộc hệ thống Avid.
Tham khảo
Phần mềm chỉnh sửa video | 20,764 |
https://stackoverflow.com/questions/71229490 | StackExchange | Open Web | CC-By-SA | 2,022 | Stack Exchange | Robert Longson, https://stackoverflow.com/users/1038015 | English | Spoken | 417 | 515 | Office 365 Licesncing Query
I am looking to migrate some of our business practices to the cloud and streamline the process of transferring information from field engineers to our office and vice versa.
As an example, at the moment when one of our engineers visits a customers site, they fill out a site visit report using pen and paper. This is then handed in to the office the next day for processing for invoice, follow up quotation etc. Our idea is to provide the field engineers with a celluar tablet and have the site visit report completed digitally and sent straight to the office for processing.
A bit of research indicates office365 / sharepoint / power apps would be a suitable environment for this, and so we are planning on creating a fairly simple PowerApp to collect this data and store this in either a sharepoint list or CDS table. The PowerApp would have access to existing customer information and systems and would offer the engineer drop down menues populated using lookups of the data. We would look to implement a pen input to allow customers to sign the site visit report and when completed our office would receive a notification to inform them a site visit report has been submitted.
My query, assuming the above idea is viable, is what licensing would we require to implement this? We are a small business with <10 employees and we have 2 subscriptions to Office 365 business premium for myself and my business partner - and this gives us access to all of the applications and services I think we need to make this happen. But what licenses are required for the field engineers who would need to have access to the power app and its back end out in the field, and the office staff who would need access to the data and basic office apps like excel/word along with sharepoint? Is there additional licensing required on top of the office365 business premium to run the PowerApp?
Any help would be greatly appreciated.
I’m voting to close this question because questions about licencing are off topic per https://stackoverflow.com/help/on-topic
E3 license gives access to PowerApps non-premium stuff, I.e. share point connector, office365, the Shabang.
If you really need fancy stuff, for smaller tenants, $ 10 per user per app are the minimum operating costs, so get a license per app per engineer is the cheapest route.
If you operate from teams, F3 gives for example Project Oakdale/Dataverse for teams.
| 17,009 |
https://arz.wikipedia.org/wiki/%D8%A8%D9%8A%D8%B1%D8%B9%D8%B2%D9%8A%D8%B2 | Wikipedia | Open Web | CC-By-SA | 2,023 | بيرعزيز | https://arz.wikipedia.org/w/index.php?title=بيرعزيز&action=history | Egyptian Arabic | Spoken | 29 | 88 | بيرعزيز ( بالفارسى پیرعزیز ) قريه فى ايران و هيا تابعه لـ تشارواماق الشرقيه الريفيه ( بالفارسى دهستان چاراویماق شرقی ).
لينكات برانيه
مصادر
تجمع سكان
قرى ايران
قرى | 33,266 |
https://arz.wikipedia.org/wiki/%D8%A8%D9%8A%D8%AA%D8%B1%20%D8%A8%D9%84%D8%A7%D9%86%D9%83%20%28%D9%85%D8%AE%D8%AA%D8%B1%D8%B9%20%D9%85%D9%86%20%D8%A7%D9%84%D9%86%D8%B1%D9%88%D9%8A%D8%AC%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | بيتر بلانك (مخترع من النرويج) | https://arz.wikipedia.org/w/index.php?title=بيتر بلانك (مخترع من النرويج)&action=history | Egyptian Arabic | Spoken | 45 | 125 | بيتر بلانك () مخترع من النرويج.
حياته
بيتر بلانك من مواليد يوم 7 مارس سنة 1936 فى اوسلو.
جوايز
وسام القديس اولاف
لينكات
مصادر
ناس
مخترع من النرويج
ناس من النرويج
مخترع من اوسلو
ناس من اوسلو
مواليد 1936
مواليد 7 مارس
ناس لسا عايشين | 30,681 |
https://ru.stackoverflow.com/questions/906428 | StackExchange | Open Web | CC-By-SA | 2,018 | Stack Exchange | Russian | Spoken | 378 | 1,179 | Помогите перекодировать json в utf8
Проблема следующая. Есть подрядчик, который шлет на наш сервер к скрипту json запрос. Пример запроса следующий:
{"internal_id":"2", "name" :"Партнер", "logo" :"тестовые данные"}
Шлет его подрядчик через какую то прикладную программу на windows 7, Уверяет что json запрос в utf-8. Во время пересылки вручную прописывает все хедеры с utf-8
Я принимаю запрос с помощью php
Вот скрипт:
include $_SERVER['DOCUMENT_ROOT']."/api/config.php";
header('Content-type: text/html; charset=utf-8');
$data = file_get_contents('php://input');
$result = mysql_query("INSERT INTO test3 (id, rek) VALUES ('', '$data')");
В результате, в бд я получаю
{"internal_id":"2", "name" :"???????", "logo" :"????????"}
То есть, кирилица в бд не записывается.
В моей БД таблица типа MyISAM, поле rek имеет кодировку utf8_general_ci
Вот что я пробовал:
Я попросил сгенерировать json файл с этой программы, и затем я попытался открыть у себя в саблайме. При открытии у меня редактор не распознает кирилицу, виджу кряки. Я вручную через саблайм пробовал переоткрыть файл и он открывается корректно в windows-1251.
В результате этого теста я понимаю что его запрос приходит в windows-1251 на наш сервер, и игнорирует все его хедеры видимо и не кодируется на его стороне в утф8.
Я пробую с помощью php перекодировать вручную и сохранить:
$data = file_get_contents('php://input');
$test1 = mb_convert_encoding($data, "utf-8", "cp1251");
$text2 = iconv('cp1251', 'UTF-8', $data);
$result = mysql_query("INSERT INTO test3 (id, rek) VALUES ('', 'test1')");
В результате у меня даже с принудительной перекодировкой на моей стороне кирилица в БД не отображается, а показывается либо ???? либо другие кряки. Я пробовал две выше представленные функции, результата положительно нет.
Затем я попробвал в бд создать таблицу test3 но уже с cp1251_general_ci
Результат положительный. Все в бд сохраняется корректно.
Вопрос, как мне все таки перекодировать json, что еще можно попробовать, так как мне надо БД сохранить в utf8 что бы не иметь потом проблем.
Попробуйте использовать mb_detect_encoding для выяснения в какой кодировке приходят данные.
$convert_data = mb_convert_encoding($json, 'utf8', mb_detect_encoding($json));
И как я понимаю у Вас соединение с БД осуществляется через устаревший драйвер mysql.
Установливается ли при коннекте к БД кодировка соединения?
mysql_query("SET NAMES utf8", $link);
Я так понял, вы кодируете json на стороне клиента. А ві попробуйте раскодировать и снова закодировать. PHP кодирует UTF-8 символы и вы получите что-то типа {"internal_id":"2","name":"\u041f\u0430\u0440\u0442\u043d\u0435\u0440","logo":"\u0442\u0435\u0441\u0442\u043e\u0432\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435"}
include $_SERVER['DOCUMENT_ROOT']."/api/config.php";
header('Content-type: text/html; charset=utf-8');
$data = file_get_contents('php://input');
$data = json_encode(json_decode($json));
$result = mysql_query("INSERT INTO test3 (id, rek) VALUES ('', '$data')");
| 20,364 | |
https://eu.wikipedia.org/wiki/Anhingidae | Wikipedia | Open Web | CC-By-SA | 2,023 | Anhingidae | https://eu.wikipedia.org/w/index.php?title=Anhingidae&action=history | Basque | Spoken | 42 | 118 | Anhingidae Suliformes ordenako hegaztien familia da. Egun familia monofiletikoa da, izan ere bere barnean Anhinga generoa besterik ez dago sailkatuta. Eozenon, eta agian baita Pleistozenoan ere, beste genero batzuk bizi ziren.
Espeziea
Anhinga anhinga
Anhinga melanogaster
Anhinga rufa
Anhinga novaehollandiae
Kanpo estekak | 25,700 |
https://ar.wikipedia.org/wiki/%D8%A8%D9%8A%D9%83%D8%AA%D9%88%D8%B1%D9%8A%D9%88%20%D9%85%D8%A7%D8%AA%D8%B4%D9%88 | Wikipedia | Open Web | CC-By-SA | 2,023 | بيكتوريو ماتشو | https://ar.wikipedia.org/w/index.php?title=بيكتوريو ماتشو&action=history | Arabic | Spoken | 389 | 1,170 | بيكتوريو ماتشو نحات إسباني ومُمهد فن النحث الإسباني المعُاصر، وُلد في بالنثيا في 23 ديسمبر عام 1887. ويبرز من بين أشهر أعماله كل من المسيح من أوتيرو وتمثال سانتياغو رامون إي كاخال وتمثال بينيتو بيريث جالدوس بحديقة الريتيرو. حصل على وسام الصليب الأكبر من وسام إيزابيلا الكاثوليكية. وتُوفي في طليطلة في 13 يوليو عام 1966.
حياته
وُلد بيكتوريو في بالنثيا عام 1887 في عائلة فقيرة لأب يعمل نجارًا. قرر والده تسجيله في مدرسة الفنون الجميلة والحرف في سانتاندير، حيث تعلم فن النحت. وفي سن السادسة عشر، وعقب حصوله على منحة من مجلس بالنثيا عام 1903، انتقل إلى مدريد، مواصلًا مسيرته الدراسية في الأكاديمية الملكية للفنون الجميلة في سان فرناندو. كان يتم تجاهل عمله ومجهوداته طيلة خمسة عشر سنة إلى أن تلقى رسميًا مسئولية مقبرة الدكتور يورنتي. ثم حقق شهرة كبيرة مع تمثاله الأول الذي خصصه لجالدوس، وخُصص لمعرض متحف الفن الحديث عام 1921.
خرج من إسبانيا إبان ديكتاتورية بريمو دي ريبيرا واستقر في آندي في فرنسا، حيث نحت تمثالي الفيلسوف والشاعر ميجل ديه أونامونو والطبيب رامون إي كاخال. وفي عام 1936، عُين أستاذ في الأكاديمية الملكية للفنون الجميلة في سان فرناندو. وخرج من مدريد عقب اندلاع الحرب الأهلية الإسبانية مع حكومة الجمهورية الإسبانية الثانية إلى بلنسية. وقد اقتادته نتائج الحرب إلى المنفى في فرنسا وروسيا وبعد ذلك في أمريكا طيلة ثلاثة عشر عامًا. وبعد أن عاش ستة أشهر في كولومبيا، بدأ إقامة مطولة في ليما عاصمة بيرو، حيث تزوج من ثويلا باروس كونتي. وعاد إلى إسبانيا عام 1952، بعد أن أسس بيتًا وورشة في طليطلة، وفي نفس المبنى منذ عام 1967 تحول إلى متحف بيكتوريو ماتشو (روكا تاربييا)، والذي تم إنشاءه لإيواء إرثه الذي أهداه إلى الدولة الإسبانية.
وفي عام 1964، حصل على وسام الصليب الأكبر من وسام إيزابيلا الكاثوليكية. وتُوفي بعد ذلك بعامين في طليطلة بداء السحار السيليسي، الذي شُخص به عام 1952؛ وتم نقل رفاته إلى بالنثيا، وفق وصيته الأخيرة، وقد دفن أسفل محبسة تم حفرها عند سفح المسيح من أوتيرو، والذ عُؤف أيضًا باسم .
معرض صور
انظر ايضًا
خواكين دي تشوريجيرا
خوسيه دي إيرموسييا
ألبرتو دي تشوريجيرا
خوسيه بينيتو دي تشوريجيرا
روابط خارجية
مصادر
أشخاص من بالنثيا
أكاديميو الأكاديمية الملكية للفنون الجميلة في سان فرناندو
حاصلون على وسام إيزابيلا الأولى ملكة قشتالة
خريجو الأكاديمية الملكية للفنون الجميلة في سان فرناندو
مواليد 1887
مواليد في بالنثيا
نحاتون إسبان في القرن 19
نحاتون إسبان في القرن 20
نحاتون إسبان
نحاتون ذكور إسبان
وفيات 1966
وفيات في طليطلة | 49,893 |
lh_1yj7JNwc_1 | Youtube-Commons | Open Web | CC-By | null | Basic Notions Seminar on mean Curvature Flow of closed Hypersurfaces | None | English | Spoken | 7,042 | 8,011 | I cannot see. Did you make me, do you want me to be a co-host just for safety reasons or? You are a co-host. I'm a co-host. Yes. Absolutely. Okay, so I think if everybody's ready, let's start. So welcome everybody to this basic notion seminar that we are having. And I'm very happy to introduce today Professor Giovanni Bellettini from the University of Siena and of course also ICTP, who will speak today about a very nice piece of differential geometry, namely the mean curvature flow of closed hypersurfaces. So the floor is yours. Thank you. Thank you a lot for the introduction. So this is a basic notion seminar. So I will try to be as elementary as possible and keeping the notation and the technicalities to a minimum. So let me first define what is mean curvature flow. And then I will discuss some examples. So the definition can be given in various ways. I will use the definition without the parametrizations, which may be simpler. So let ET be a family of solid sets contained in a REN. So for any T, which is a parameter, which is time ET is a solid set. And solid means say the closure of an open set. And I say that we say that T in ET or say T in the boundary of T is the same. I will somehow speak about evolution of hypersurfaces. These hypersurfaces are boundary of something. So for T say in some time interval, zero capital T, we say that this is a smooth mean curvature flow, which means that at the end the surface is the hypersurface will move by mean curvature if we define the following function. So this is the distance function with the sign is negative inside the solid set and positive outside. So this is my set, this is ET at fixed time. If this function is smooth, is smooth in a neighborhood in an open set containing all the boundaries. So which means essentially that the flow as a function of time is smooth and then also each boundary is smooth. So this is the following equation holds for any time. This is the PDE. This is the time derivative. This is function. This function is defined everywhere actually is smooth in an open set containing all boundaries. This is the gradient in a REN. This is the Laplacian in a REN. So this is say if you want the heat equation, this term here equal to this, but for the distance function with the sign and the gradient of D is the unit outward normal on the boundary. This is called mean curvature. Sometimes denoted also by H is a scalar mean curvature and is equal to the sum of the principal curvatures. Notice that this is a PDE, which is however valid on an hypersurface and this hypersurface is moving. Okay. So this is just valid on the boundary. So this is, this is called the normal velocity. So at the end, I'm saying that the normal velocity at each point is equal to the mean curvature. The mean curvature vector. So which means that if I have an initial set, say initial curve, so this is the interior, this is the boundary. It means that it means that at each point, the velocity here, the convention is that the velocity is where the curve shrinks if I am locally convex and here instead expands locally. So the evolution here, the normal velocity here must be proportional to the mean curvature here. Okay. And this must be valid at all, at all points of the curve. Okay, why I have given this definition. Well, this definition is you see there are no parametrizations. This is convenient in some sense. But there are other ways to define. So this is a remark. So there is a remark here, which says that there are other ways in particular. The flow can be defined and studied describing the manifolds instead that set of points using the maps immersion or embeddings of a given manifold using parametrizations. So I will not use probably here. This language, which is very convenient. For at least two reasons. Because it can be useful to treat immersions, not only embedding. So this means that my flowing manifold could self intersect. I will avoid here this case, but in general using immersions. This can be done. And another reason for which it is very convenient because it takes advantage of the covariant differential of the covariant language, covariant derivatives. Okay, so there are at least two ways to describe that this is maybe, maybe simpler, but maybe not not always the most convenient way actually. Okay. Why this, this problem. So another remark. This is this evolution is the fastest way to decrease area of the moving manifolds. So this means that in a sense, this flow, try to evolve this curve, say, as time is moving is going on. This tries to reduce the area of the flowing surface as fast as possible. This is not so easy to not so easy to make rigors, because typically, I mean, people says that this, this is the gradient flow of the area functional, which essentially would mean that this is sort of generalization of in. If I had the system of ordinary differential equations. This is the gradient flow of F, which goes trying to go towards a minimum of F in the fastest way. In this case, this is the analog of this but the difficulty are several because here we don't have say a vector structure. Maybe, and it's almost it's very difficult also to say what does it mean gradient of the area functional in difficult to make rigors also what is this for F area of some surface. This can be made rigorous and if you want to take to to have really a rigorous way to to understand this, this can be for instance, obtained from an algorithm by Algren Taylor and one in 1993, which is a sort of, which makes somehow, which gives a sense to this idea for when F is the area and uses a sort of implicit Euler scheme for the mean curvature flow. Okay. Examples it is always bad, very good to have several examples here in mind. So let me give you the basic examples. First example is is suppose that this is a minimal surface, which means a smooth hyper surface with zero mean curvature. So this is a static solution of mean curvature flow starting from Sigma is from this itself, because this is a zero mean curvature so zero velocity doesn't move it remains fixed and this is a solution which doesn't move. This is a very trivial example but very interesting because it could give barriers. Example to here suppose that you have an initial set, which is the interior of a solid ball in a rain. Okay. The solution a posteriori I mean a solution but at the end the solution is still given by shrinking sphere where r of t. So this is called where r of t is this radius here so this this fear as constant mean curvature. So it shrinks remains a sphere remaining the same shape and shrinks to a point here. You see, this is interesting because shrinking to a point can be considered an example of singularities. Of course a singularity should be defined but this is a moment in which the curvature blows up. And this moment is when t is equal to r square divided two minus one. So let me call this T max. So this, this evolution is defined up to T max actually. So T is from zero to T max actually from minus infinity to T max but for the moment, think that we started from our zero. And then we shrink up to T max and this T max. So the third expression of the T max here you get that and you compute the length of the second fundamental form, which is the sum of the, in this case they are all the same. If you compute this, this turns out to be a constant. T max minus T. So the length of the second fundamental form that is the square root of the sum of the squares of the old curvatures and this constant is one of a square root of two. In any case, you see that this blows up when T goes to the T max with a certain rate. Example two, example three is cylinder. So you say S one times R. So suppose that you start from say B or zero times R or more generally by you start from S M times R and minus one minus M. So you have a cylinder and the cylinder shrinks. This is non-compact by the way. So there is a serious difference between surfaces which are compact and many forms which are not compact. This is a non-compact case. One has to be very careful treating non-compact initial conditions. But at the end, if you have a cylinder, this shrinks remaining a cylinder and you have that this evolves with RT and this RT is the same as here and you just substitute this with M. And you get the same. So at some time there is a singularity and what you see is sort of the cylinder collapse to align to its axis. At some time and you have for similarly a blow up of the length of the second from the mental form. There are other important examples here. Other important example, there are very many other solutions. So example. For So these are graphs. They on R and minus one. So you can suppose that your initial condition is unbounded. So you have a graph over an entire graph over R and minus one. So you are still in the non-compact case. It's delicate, but you can at least have a you can at least say what model this using just one parabolic PDE non-linear PDE. And then you have with your graph initial. So the boundary of the initial condition is the graph 0 say given and this can be studied and it can be proven that under some conditions. There exists a solution and it remains a graph. So the property of being a graph is not destroyed by by the the the mean curvature flow. Okay. This is another geometric factor. Next, the next examples. Next examples are given by the so called the homothetically shrinking solutions. For example, five homothetically shrinking solutions. I don't want to enter here in the details. So this is a very big subject. Let me tell you that the sphere is a motetic why is a motetic because its shape remains same up to a rescaling and the same for the cylinder. So you can try to look for special solutions of. So you mean you have this PDE and you look for say special solution with time and space maybe independent. So special solutions. Solution where specials mean which are say is an homothetical a given initial condition. Several, there are several solutions. Actually, this is an important subject because understanding. Let me tell you one thing. So understanding how these solutions is strictly related on how this singularize. I have to define what does it mean but I as T that goes to T max in some sense. So this is for the moment, not rigorous because I have not defined what is the max yet. I don't have not tell you that there are singularities but that we just point out that the study of this special homothetically shrinking solutions is interesting by itself and also because it gives you information on how possible singularities may form for time slightly smaller than capital than T max. For instance, here, this shrinks to a point like a sphere this shrinks to a line, etc. In particular, there is an interesting solution here. Interesting solution. Similarity which is called the Anganand. Taurus, which is sort of so you have your. This is your the solid torus is your smooth initial condition. And there is a special torus, which remains, which is has the same shape and this shrinks. Remaining torus. Okay. Notice that for fat torus somehow or a torus of the sort to one can imagine that here. Maybe the door is so fat that this whole whole maybe closes before that the torus disappear at all. Maybe at some time there should be something strange here on this point. And for a thin torus one could expect that instead here you see in torus means that here the mean curvature is very, very high toward the inside. And so this means that one can expect a normal velocity very quick toward the inside. So one could expect that before, if the torus is long but thin, one could expect that this total could collapse somehow to a to a curve here before disappearing. Okay, so all this kind of studies related to this to this could be related also to this to this problem here. So let me tell you now some result here. So the first theorem obviously, which is not trivial at all is the local existing. Say, if is smooth and compact, then there exists a unique mean coverage of flow, starting from, from this initial condition is smooth mean coverage of flow, starting from this initial condition. There is a positive time for some positive time. And actually, we can say also that we can we can arrange things so that there exists a maximal on a maximal time interval. So here means that you cannot go on after the max that you are you're not smooth anymore, I will be more precise in a minute. What happens to the second fundamental form as when I go to team max but this at least allows to start to the flow. So we are sure that there is a unique solution or smooth up to some maximal time. So here's the theorem is not trivial the first proof maybe is. I don't know, but I think it's gauge Hamilton 86. Then there is a proof by Evans. Prack, using a completely different proof of a completely different language 92 then there is another proof by whiskey. I think. Okay, so this is the first local in time existence result. Let me tell you a remarkable property of this flow. Which is which I will try to describe remarkable property of comparison property of comparison. Suppose that you have an initial solid set smooth with bound say compact with the compact boundary. Suppose that you want to do to smooth initial solid set so one inside the other say one is this, which is inside the big sphere I don't know so. So this is the one at the initial time this is two solid sets one inside the other, and then take their unique mean curvature flow. So for all these times these capital T is positive this is what it starts from me one this is more than starts from me to they are uniquely defined by this previous theorem one. Okay, then if initially one is inside the other. The same is preserved. For all. Times. This is actually very strong and important comparison principle is an important tool. And it's called comparison principle. So let me try to tell you why this this should be expected to be true. I will not do a proof because there is no time enough but I can at least tell you something which could suggest why this is true. Which could suggest. Why this is true. So let me draw a P and it's a simple picture suppose that we did we are in the case of the plane so we have the one and we have say it to and the one initially time zero is contained in it to suppose for simplicity. And the boundary of the one is at the positive distance from the boundary of it to just for simplicity. So we are not actually in this picture but we have say something like this. Okay, so you want. For simplicity. Now. We have a number of compact curves close the curve send. So that there are at least a pair. Maybe many pairs, but in this picture just probably one pair, which minimize the distance between the two boundaries along the flow. Take suppose this is one T to T for they they are once in its initially there they are one strictly inside the other the flow is smooth so for small time there, of course, still one inside the other. But what happens for larger times. So take a point a couple of points here, which realize the minimal distance between the boundary of. So let me call the of T distance. So this D of T is the distance so it may be realized by several pairs here in this picture. We have just two pairs probably. And the idea is to show that actually a statement stronger than this, not only they are remain inside about the distance is non decreasing. The idea is to show that the T. Is non decreasing, which means that for larger times these shrinks and this for this this quantity is maybe larger. Okay. Now, we have to be careful because this is a very simple picture but you have to imagine something more complicated with those torus inside the other. So I mean, this is just a very simplified picture. So the idea to show that this this is not increasing is to find a different I mean to show that the prime where it exists. Supposing it exists. To show that the prime is larger equal than zero and two and one actually one shows that if you complete the prime. I mean it's not actually the prime because this the prime could not exist but this is sort of right derivative, but essentially the prime. One can show that, essentially, this is given by the difference. I mean this is these are two points which realize the minimal distance is not difficult to show that the tangent plane here and tangent plane here must be parallel. So this means that the normal is the same parallel they are parallel the normal. It is possible to show that this is equal to be one minus V two very one say V. I for I equal one two. So this is the difference of the two velocities. So but this is actually h one minus h two because they have the evolution equation so the velocity is equal h one and this is equal to h two. So why this should be positive or negative say. Well, the idea is that you think that now this is a point of this minimize the distance or if I make a translation here, rigid translation of this set and they put in contact. Let me translate this rigidly and put it in contact. So they have the same normal. So actually what I see locally here around this point is the following situation. There is a manifold here and another one which touches and locally. This is the largest and this is the smaller. Now, if I, I mean, the mean curvature is invariant under rotation and translation so I can do I can put arranged things that this such that this is horizontal. So this is somehow horizontal this point. And then and then if I compute the mean curvature at the point where I'm locally the graph horizontal graph like this I compute the curvature here. I mean curvature turns out to be the Laplacian of the function which described locally this is a graph. So at the end I have Laplacian of you one minus Laplacian of you to this only at the points where I am where the tangent plane is horizontal. And then this is a local I mean if I take the difference. This is the Laplacian of the difference and this is a local minimum and it's immediate to check that using minimality for a function that should be non non negative definite and you are done. So this shows that so this should be expected this is not the proof but maybe the idea of the proof. And at the end is that we can compare them in cover show of the set with the big with the mean cover cover show what another set which is inside at the contact point. Okay, so this is an important thing and then let me tell you. First, remarkable, I would say a difficult theorem. This is split into two because historically it splits into two. So, let me tell you your M three. This is gauge Hamilton. X. So suppose that you have you are in two dimensions so this is mean this is curvature flow shortening flow, a curvature flow of curves. If you have a convex say smooth suppose that the this is smooth and convex and bounded. And then, then its evolution flow exists and remains is convex remain convex for all time. So the max and at the max. At the max. The curve shrinks curve shrinks to a point. So nothing can happen before then shrinking to a point like in the case of the sphere, the curve shrinks to a point and once rescaled. It is close to a circle. The start from a convex curve what I see of course the evolution is not explicit so but it remains convex there is a magic point where it must shrinks and nothing strange happens before and here. What I really see is sort of almost a circle which shrinks and the circle is remember is a self similar solution. Okay. The theorem. Has been improved by remarkable. Theorem by Grayson now I don't remember exactly the year. Come here later. Grayson, who shows that actually. Grayson was able to remove this assumption. Suppose that now your curve is compact as mood. But not convex. So, this means that my initial curve. Can be very embedded, of course, but very embedded sorry maybe this picture makes not so clear it is embedded. So this zero. So what happens here is able to show that it remains smooth. Remains smooth. Of course the max is finite and all these cases are. So it remains smooth. And at some time at some tea. This is becoming convex. And so, once it becomes convex. So it's able to prove a say global existence theorem in the sense that. If I start for any smooth compact embedded curve. This doesn't do any, any nice, any nasty thing. I mean, it remains smooth at some moment becomes convex, then it remains convex, then it shrinks to a point that becoming a once rescale the circle. This is really remarkable because you see, you can imagine that the curve. Can be initially pass very close to itself, even if not self intersecting but. Can pass very close to itself. But still and one could imagine that at some moment that could be self intersections and this cannot happen by the theorem of Grayson so it is embedded remains and bad that nothing stage happens and this is the first. Now for this theorem there are more than one proofs. There is what the original proof of Grayson then there is a there is a proof by whiskey, which for proving this passes through some classification of singularities. So also this proof is difficult. I mean in some sense. Also this is not easy at all and then there is a more simple proof I think by Ben Andrews. Another proof. Okay, now let me tell you another remarkable theorem here. Another remarkable theorem. So this is what concerns so you see in two dimensions for cursor actually singularities is the singularity of the of the sphere of the circle. In some sense. To see more complicated singularities in the plane one should start with the, as immersed and not embedded curves. So one should start with something like this say, or something like this. Of course if I want to flow this I have to abandon the distance function I should go into the language of parametrizations looking at the maps this is not a singular point anymore for the map. And it is, it can be proven this has been done by Angon and that this is so small if you if you arrange thing that this is sufficiently small then it shrinks very quickly and forms a cask. The cask and another kind of singularity but I cannot discuss this here. Second theorem. This is a remarkable theorem. The four. This is whiskey. 1984. Now suppose that I have in larger dimension and suppose that by initial boundary. My solid set is smooth and strict and strict and strict to convex. And then again. Exist is smooth. Quickly convex and again it leaves up to. Some T Max and after rescaling again properly scaling, which means that one keep keeps the area of this boundary constant essentially here after rescaling. And then it approaches to the it's very close to the to a to the ball. This one. So again what we see here we start from a convex set convex body say the theorem of which can say is that this shrinks it remains convex it does not do anything strange. And that's a moment. This is singularity. Time. Now the proof of this is different. Of course a strictly convex body surface as also is also mean convex clearly. Not only I mean strictly complex much more than, than this. And to show that this condition is preserved is not difficult. If I start. This condition to show that this is this is preserved is not difficult because it follows by some evolution equation. Some evolution equation for the mean curvature itself. And using this parabolic PD. This is sort of Laplace. This is called the plus Beltrami operator on the moving manifold. But in any case is sort of it equation for the mean curvature plus a nasty sort of term here. Um, but it's much more difficult to show that strictly convex it is preserved because this is the positive definiteness of the second fundamental format only its trace should be remain positive but all the second fundamental form should remain a positive definite. So to show that. The second fundamental form. Remains. Positive definite. This is more delicate one has to show one has first of all to find the. The evolution equation for the old elements of the second fundamental form which is a sort again is a sort of is a sort of something like this then there is minus. Sort of equation like this. So not only one has to find this which is ending down by whiskey. But also one possible way to prove is then once you have the PDE solved by the second fundamental form and all covariant derivative of the second fundamental form you have to show that you have to implement the maximum principle for 10 source by Hamilton. This is one possible proof. So it's, it's, it requires a lot of work. It's, it's whiskey 984. Yes. So these are various remarkable theorems. And now let me show you that the singularities in general appears singularity can appear. So, oh, let me tell you an example convincing example. Which has been proved in various ways. Now I tell you the idea. But this is an example due to. Gray zone. So, you see, we start from a convex object. This does not single a rise in the sense that it's singularized at the max, but at the max also the surface disappears. So it's a sort of not too complicated singularity. And the same for curves, even if they are not embedded, but not, but not not convex initially. But now Gray's on argued that suppose that you have they in three dimensions. So this is a sort of dumbbell. We're here. This neck is very, very thin. So here the the mean cover sure is very, very positive. Here is positive, but maybe not not large. But they have two balls essentially almost joined by a long and thin neck. And the idea of Gray's on was the following was that I want to show that this what could it mean this? Well, I could show that we have there is some time at some positive time. So let me call T max at the max. One possible way to say is to say this is that say the linear for as T grows to T max of the volume of the solid set. So this evolves in some way. But if I arrange things to be this very long and to be this very large this very long and this very large, maybe he's able to prove that at the max the surface is not disappearing. Something remains in the sense that the volume inside is positive. And the idea is the following. The idea is that here I can put a big sphere somehow inside and this sphere evolves with its evolution law. And we know by comparison that as soon as the flow is smooth the sphere and of the object outside the dumbbell this must remain inside. So it cannot happen. I mean this this dumbbell must leave for it for some somehow for a time sufficiently enough that this is still leaving. On the other hand I can put, well here there is some argument different from Grayson. Here I could put say an Anganon torus around here. Okay. So I surround I surround the neck with the torus the Anganon torus which I know that it shrinks to something but maybe to a point but it does not synchronize before and then he has some time. So if I arrange things so that this this you see this neck must remain inside the hole of the torus as soon as everything is smooth. And so now you can morally intuitively believe this takes some time to shrink and if these balls are sufficiently large it takes more time to shrink and so this cannot disappear. And so what happens here at the end there should be some some some similarity before. So at the max before that the the wall dumbbell has disappeared and this can be made rigorous in various ways and it's been done by Grayson himself. So singularities appear. Okay. There is an interesting theorem here theorem by whiskey theorem. I don't maybe five or six five. And suppose that this is mood. Compact then we can detect some out in max in the sense that so T max is maximal time of of existence then the limit be converges to T max of the infinity norm of the second fundamental form of the manifold close up. So we can detect T max in the sense that the max necessarily something strange happens in the sense that if I compute the sum of the square of the principal curvatures then as soon as T converges to the max from the left this sum blows up. So this is quite I mean it's not easy at all. I mean it's not an easy proof it inspects the the various PDE sold by the in the sense in a sense why this should be true. Well if the second fundamental form does not blow up if say remains remains bounded somehow it is possible to show that not only it remains bounded but also all covariant derivatives also remain bounded in the same interval and then once you know that all derivatives of the second fundamental form remain bounded it is possible to take the limit of the manifold as T goes to the max you can go take the limit of the manifold you have a limit manifold this requires some work but there is a limit manifold for which you can restart the flow after start the flow on a small time interval T max say T max plus delta some positive delta and then this contradicts the definition of T max which was the maximal time of existence so and indeed I mean this is a starting point I mean then the story goes on a lot still big work by Wiskon and others but so the rate say the rate of the rate of so how quickly the norm of the second fundamental form one looks at the rate of blow up of the length of the second fundamental form as T goes to T max and then this through the allows to start to start the study of singularity formation like in the the Grayson example of the dumbbell study of singularity formation allows together with the so called Wiskon with the Wiskon monotonicity formula I cannot tell you what it is now I have two ingredients to start the study of singularity formation and try to classify how singularities look like and their relation with the homothetical shrinking special solutions that we have discussed in example three or four okay so now this is a very interesting subject let me tell you now I have three minutes to conclude by saying that singularities are maybe the most interesting phenomenon here so but in singularity here one has to invent the notions of weak solutions which means that solutions which are global defining time so they go beyond the first singularity time second singularity time etc so they are globally defined look for weak solutions so called weak solutions globally defined also in the presence of a singularity so where the Nincor Vashur is not defined point-wise say for instance globally defined for all times okay and of course coinciding with the smooth solution as long solution as long as it exists so there is a sort of extension of notion of flow which for times before the Tmax is of course the same as the classical flow but after Tmax it is still defined and it goes on the process goes on and of course I mean this is another subject which is quite huge try to so there are I think at least maybe 8, 9 or maybe also 10 different notions of weak solutions weak solutions what was given by Braque historically is first one is given by Braque 78 so the subject it's an interesting thing probably is to study how this the property of this weak solution and how these solutions are related one each other because they do not coincide in general after the formation of singularities so how do they relate each other unique I mean and so sort of things like this okay I think that my time is over and thank you okay so thank you very much for an excellent talk it was very interesting and also very nice to see an actual Blackboard talk first time for me in a few months so let's see if there are any questions you can write either in the chat or you can raise your hand in the participant list and they will call up on you one by one so let's see are there any questions okay so while I have a question? yeah okay so we have a question so Shal Faisal yes you're welcome to ask your question please so in the initial remark about the torus the defending on the initial picture the genus of the torus can disappear so what happens to the genus of the general genealogy surface what happens in general to a genus of the now this I don't know what happens in general to a genus I don't know I think well of course you again you need the notion of weak solution because if you imagine that the holes now disappear in a sense that if you have a fat torus say then this singularized at some moment here and then maybe after now here you need the notion of weak solutions because you want to go on in order to answer to your question so what happens depending on which solution you choose maybe okay this becomes a sphere and then it shrinks so I think that here you need the notion of solution this so in general I cannot tell you there is a there is a study on this but I'm not completely sure so I studied by Brian White which I don't know I don't remember now the results but as far as I know maybe it's Brian White which studied the partially maybe this problem but of course you have to select the notion of weak solution so for this maybe he was using sort of set theoretic solution or also viscosity solutions maybe but I cannot tell you more than that right second question you define this distance function I think in theorem 3 can you please draw some picture to show that it is not in general smooth yes the distance function has a sign in general the distance function from a manifold of course is not smooth exactly on the boundary of the manifold and this is a problem no so if you take just the distance just the distance of the point so f of tx just the distance then this is of course say you have this curve here so this positive here this zero here but the point is that I want a PD exactly on this manifold here where this distance is not differentiable you see because locally here what you see locally here your positive here your positive and locally you have a corner the graph of these exactly a corner on your curve so exactly there where I want to have a PD exactly on the moving manifold the distance is not smooth but now so this is no I cannot use it but I suppose that this part here make it negative okay make it negative this means that instead of having distance positive everywhere I have negative positive and zero and now it is now it is possible to show that here in a neighborhood of the curve the this sign distance function which is now positive and negative and zero on the manifold is smooth as smooth enough in a sense that smoothness of local smoothness of a manifold here is equivalent to say that this distance function now with the sign you see when I am inside this is this is zero so the distance is negative when I am outside this is zero so the distance is positive it is zero on the boundary so it is possible to show that a manifold is smooth if and only if this function here now fixed take a fixed for a moment there is a neighborhood of your of the of your boundary in which this is smooth so this is equivalent and so this is essentially a way to describe your manifold without parametrization just as a level set the single level set of a single function globally and this function is very very nice because it is a distance function so where it is smooth so in the neighborhood of the manifold you have the a-icon equation and so this a-icon equation is essentially a way to extend the normal vector field keeping length one not only on the move on the manifold but also in a small neighborhood and once you have this extension of the normal vector field in an open neighborhood all curvature invariance all curvatures can be described instead of using parametrization using the derivative of the distance function for instance this is equal to this is a theorem so on the boundary the mean curvature is the Laplacian and the advantage of this that this Laplacian is a standard Laplacian in a so what do you do you do the Laplacian in an open neighborhood and then you restrict on the manifold and the restriction is equal to this stage and so on second fundamental form can be described by the action of the distance etc etc right thank you okay thank you so there are two other people who have questions so the first question is from Sog Gatumov so if you can unmute please and ask your question let's see if he is here okay otherwise maybe we wait for that and I will let Hamza our own diploma student Hamza honestly ask a question please okay thank you for the talk can you hear me yes sure okay so my question is whether we are these results obtained are considered only for manifolds embedded in the acridian space or the results are still valid when changing the metric and the second question is in this case whether changing the metric I mean whether there is a surface of R3 that may shrink to a singularity for a specific metric but not for another one I mean whether changing the metric may let us avoid singularities in some way okay what I know is that this so first of all differential geometers usually do not use often do not use the distance function they prefer to use parameterizations so they look at the whole map instead of just the image of points but this is an advantage that they can treat also the self-intersected case the mean differential flow has been studied by whisker and others also sitting in a Riemannian manifold so and there are there are a whole literature on short time existence singularity time, team max, etc. | 9,991 |
https://war.wikipedia.org/wiki/Peristeria%20elata | Wikipedia | Open Web | CC-By-SA | 2,023 | Peristeria elata | https://war.wikipedia.org/w/index.php?title=Peristeria elata&action=history | Waray | Spoken | 39 | 70 | An Peristeria elata in uska species han Liliopsida nga ginhulagway ni William Jackson Hooker. An Peristeria elata in nahilalakip ha genus nga Peristeria, ngan familia nga Orchidaceae. Waray hini subspecies nga nakalista.
Mga kasarigan
Mga sumpay ha gawas
Peristeria | 48,361 |
https://en.wikipedia.org/wiki/Victor%20Kahu | Wikipedia | Open Web | CC-By-SA | 2,023 | Victor Kahu | https://en.wikipedia.org/w/index.php?title=Victor Kahu&action=history | English | Spoken | 1,176 | 1,622 | Dr. Victor Katea Kahu is a fictional character on the New Zealand soap opera Shortland Street who was portrayed by Calvin Tuteao from late 2000 to Christmas Day 2004.
Upon arrival Victor was the representation of the Māori people on the show and subsequently, his storylines often focused on his emphasis towards Māori healthcare. However, despite his primarily ethical storylines, Victor soon became a central character dealing with large story arcs that consisted primarily of melodramatic storylines. These included helping his girlfriend overcome rape, becoming involved with gangs, being framed for murder twice, launching a euthanasia cover up scandal and losing his wife to his young son. By 2001, producers had introduced a family unit for Victor, with the Hudsons, headed by Victor's sister - Te Hana (Vanessa Rare) arriving. His son and daughter - Nelson (Quinton Hita) and Jay Copeland (Jaime Passier-Armstrong) arrived in 2002 and 2004 respectively. The character departed on Christmas Day 2004 with girlfriend - Donna Heka (Stephanie Tauevihi) following his nephews wedding.
The character, his storylines and relationships received a generally mixed response. Victor's marriage with Anne (Emmeline Hawthorne) got a lukewarm reception, with the wedding episode receiving praise whilst the actual partnership got negative criticism.
Creation and casting
Calvin Tuteao was cast as Victor and made his debut in 2000. Tuteao stated, "Acting's not work to me. I always have fun on set. You get looked after, meet some good people and have a laugh," and was pleased to be playing a "good guy". One of the purposes of the character was to portray community health and Māori based healthcare on the medical based programme. The character survived the show's revamp throughout 2000 to 2001 and his onscreen family was introduced in 2001, with sister Te Hana and her family arriving. Victor's own children, Nelson and Jay Copeland later arrived as part of the core cast. Victor departed the show on Christmas Day 2004.
Storylines
Victor was employed by the clinic in 2000 and started to date Sofia Martinez (Lena Cruz). However the two broke up and Victor started to date Kate (Rebecca Hobbs) who was raped shortly into the relationship by her obsessive friend - Eamon (Neill Rea). Victor stopped Kate from suicide and helped her recover from the traumatizing event however Kate left him and Victor started sleeping with Donna Heka (Stephanie Tauevihi). The romance with Donna didn't last and Victor became CEO. Victor briefly dated Mere Jonhnson (Caroline McLaughlin) before leaving her for young nurse, Anne Greenlaw (Emmeline Hawthorne). The two soon got engaged and Victor saved his niece - Mihi (Quantrelle King) from a gang led by Kurt Matakoare (Gordon Hatfield). Victor and Anne married but the ceremony was ruined when Victor was arrested for a murder Kurt committed. He was eventually released and Kurt was arrested.
Victor and Anne decided to adopt the baby of Victor's teenage nephew - Tama (David Wikaira-Paul) but Victor discovered Anne was having an affair with his son Nelson Copeland (Quinton Hita) and the marriage was over. He started a short lived affair with Li Mei Chen (Li Ming Hu). Victor resigned as CEO following the revelation he had covered up Geoff's (Andrew Laing) frequent use of euthanasia, however found himself a suspect when Geoff was murdered. He turned back to Donna for support and the two started a relationship following Anne's tragic death. Victor's estranged daughter - Jay (Jaime Passier-Armstrong) arrived and the two finally reconciled however Victor was arrested for Geoff's death and was found guilty by a jury despite evidence proving he was with Li Mei at the time of Geoff's death. The true killer - Dominic Thompson (Shane Cortese) eventually confessed to the murder as he died and Victor was released. He departed with Donna to live in Australia following Tama's wedding on Christmas Day 2004. Victor phoned Jay in 2006 to decline the invitation to her civil union as he did not believe it was a real wedding. In 2007 Chris (Michael Galvin) phoned Victor to tell him of Jay's murder. In 2008 Donna and Victor sent Chris a card to express their sadness that they could not attend Toni's (Laura Hill) funeral.
Character development
Relationship with Anne Greenlaw
In 2002 Victor and Anne Greenlaw embarked on a relationship. There was huge contrast between the middle aged head of hospital and the young nurse, but Tuteao praised the relationship saying; "Love knows no age, no colour ... She sort of makes him want to be a better man. Or try to be." The two got engaged despite Anne developing feelings for Victor's son Nelson, who was the same age. Despite not acting on her feelings, Anne continued to grow attracted to Nelson as the wedding drew closer. The filming of the wedding meant three days of filming in cold conditions whilst onscreen it was to be a picturesque ceremony that was to be the soap's biggest wedding since Gina and Leonard's in 1993. Tuteao enjoyed the experience saying; "Had loads of extras, making heaps of noise out here — the place was rocking." The two married but after the vows Victor was arrested for murder after being framed by nemesis Kurt (Gordon Hatfield). However Anne did end up having an affair with Nelson and when Victor found out, he was infuriated and ended the relationship. When Anne was crushed by a collapsing building in the 2003 cliffhanger, Tuteao agreed that the two were too different, stating; "They're not really compatible, I suppose. They're totally different. Maybe he just wanted a younger woman, a trophy wife. But I think Victor would miss her, too, if she dies." When Anne died, despite having moved on to Donna, Victor was devastated and was forced to reevaluate his life.
Reception
Victor has been described as a "favourite" character. His wedding to Anne was labelled "memorable". Frances Grant of The New Zealand Herald was critical of the character and his storylines, calling the romance storyline with Anne; silly and hoping Kahu would be revealed as the murder of Geoff so that he would be written off. She later called Victor "immensely unlikeable" and criticized his facial hair. The arrival of Victor and his son Nelson was praised in relation to Māori presence, with Nelson's portrayer Quinton Hita stating; "I have to tip my hat to the show. It's gone a long way down the track in trying to present Māori in a positive light. And also, I suppose, trying to naturalise the contribution that Māori make to our society." The storyline that saw Dominic Thompson frame Victor as Geoff's murderer has gone down as iconic. Michael Galvin (Dr. Chris Warner) highlighted the episode where Chris and Victor participated in a hospital musical as the lowlight of his career on the soap. The episode aired on September 12, 2001 and was subsequently the lowest rated episode to ever air. Victor and Anne's relationship was also criticized, being called "bizarre" and "not right".
References
Shortland Street characters
Television characters introduced in 2000
Fictional Māori people
Fictional business executives
Male characters in television | 11,987 |
https://fa.wikipedia.org/wiki/%D8%B2%D9%86%D8%A7%D9%86%20%D8%AF%D8%B1%20%D8%A7%D8%B1%D8%AF%D9%86 | Wikipedia | Open Web | CC-By-SA | 2,023 | زنان در اردن | https://fa.wikipedia.org/w/index.php?title=زنان در اردن&action=history | Persian | Spoken | 1,680 | 4,634 | در طول تاریخ، زنان در اردن در وضعیت سیاسی، اجتماعی و اقتصادی بسیار متنوع بر ارزش حقوقی، سنتی، فرهنگی و مذهبی در آن زمان است. چارچوب قانونی فعلی که مبتنی بر قانون مدنی اروپا است، همراه با سنت اسلامی است و قانون شرع، حقوق و آزادیهایی را که به طور قانونی به زنان اعطا شدهاست، تعیین میکند.
سیاسی
چارچوب عاملهای فعلی برای حقوق زنان در اردن شامل قانون اساسی اردن، یک کد وضعیت مدنی، وضعیت شخصی قانون و قانون در خصوص بینالمللی حقوق بشر میشود. آرمانهای سنتی و فرهنگی زنانگی نیز بر نحوه مشاهده و رفتار زنان در اردن تأثیر میگذارد. اما زنان در اردن تا سال ۱۹۷۴ حق رأی را دریافت نکردند. این برای منطقه بسیار دیر بود، زیرا اسرائیل، سوریه، لبنان، مصر، یمن، ترکیه و ایران همگی تا سال ۱۹۶۷ به زنان حق رای داده بودند.
قانون اساسی اردن در سال ۱۹۵۲ نگاشته شدهاست و میگوید که همه "اردنیها برابر قانون برابر هستند. در مورد حقوق و وظایف آنها به دلیل نژاد، زبان یا دین هیچ تبعیضی وجود نخواهد داشت. " مفاد قانون اساسی بسیاری وجود دارد که حقوق اساسی و نمایندگی سیاسی را برای همه تأیید میکند. به عنوان مثال، در ماده ۲۲ آمدهاست که هر اردنی از فرصت برابر برای انتصاب به منصوب و مشاغل عمومی برخوردار است، زیرا این قرارها "براساس شایستگی و صلاحیتها انجام میشود". اصلاحیه ای در ۲۸ ژانویه ۲۰۰۳ سیستم سهمیه بندی را در پارلمان اردن به اجرا گذاشت و در حالی که پیشینه مذهبی برای کرسیهای پارلمان در قانون اساسی وجود دارد، اختصاص صندلی برای زنان امری جدید است و نشان میدهد که دولت به رسمیت میشناسد و در تلاش است تا موانع مختلف زنان را تجزیه کند. برای اداره شدن قانون مجازات موقت مجازات مجازات مردانی را که مرتکب اعمال خشونت آمیز علیه زنان در متن "افتخار" میشوند، کاهش میدهد. در دهه گذشته اما اصلاح شدهاست. در حالی که کد اصلی به مردان این امکان را میداد که خود قانون را پیاده کنند، اما این اصلاحیه جدید مجازات و مجازات را به سیستم قضایی کشور منتهی میکند. بعلاوه، طبق قانون کار یا مجازات مقررات برای محافظت از زنان در برابر آزار و اذیت جنسی وجود ندارد . این فقدان قانون صریحاً برای حمایت از زنان، آنها را در معرض آزار و اذیت در خانه و محیط کار قرار میدهد. اردن یک عضو از بسیاری است سازمانهای بینالمللی است که تضمینهای اساسی حقوق بشر به زنان است.
کمیسیون ملی اردن برای زنان
مأموریت کمیسیون ملی اردن برای زنان (JNCW) شامل حمایت از اصلی سازی چشم انداز برابری جنسیتی در همه زمینههای سیاست و محدود کردن شکاف بین تصدیق رسمی حقوق زنان به تفصیل توسط قانون و نگرشهای واقعی جامعه نسبت به زنان از طریق بهبود وضعیت زنان و تقویت نقش آنها در توسعه ملی میباشد. آنها با پیشنهاد قانون و مطالعه سیاستهای موجود در مورد حقوق زنان در اردن برای تساوی وضعیت زنان - از نظر اجتماعی، سیاسی و اقتصادی در اردن تلاش میکنند. JNCW همچنین با همکاری مؤسسات مختلف دولتی و سازمانهای غیر دولتی به امید انشعاب و توسعه سازمان خود همکاری نزدیکی دارد. در سال ۱۹۹۶، کابینه اردن JNCW را به عنوان "مرجع" رسمی دولت در مورد همه موضوعات مربوط به زنان قرار داد و اکنون مستقیماً به نخست وزیر گزارش میشود . JNCW به یک مؤسسه شبه دولتی تبدیل شدهاست که بخش عمده ای از آن را برای تهیه سیاستهای ملی در مورد حقوق زنان و پیشرفت اقتصادی مسئولیت پذیر است.
بازنمای اجتماعی
تحصیلات
طبق مفاد اصلی قانون اساسی یکی از حقوق مسلم زنان اردنی وجود آموزش و پرورش میباشد. در ماده ۲۰ قانون اساسی، آموزش ابتدایی برای کلیه اردنیها و بهصورت رایگان در مدارس دولتی، لازم است. این قانون در قانون آموزش و پرورش توضیح داده شده و تقویت شدهاست. دولت اردن هر سال بیش از ۵ درصد در آموزش و پرورش هزینه میکند و نتایج مثبتی داشتهاست. از سال ۱۹۸۰، میزان سواد در اردن از ۶۹٫۲ درصد به ۹۱ درصد در سال ۲۰۰۲ افزایش یافتهاست. با میزان سواد زنان ۸۵٫۹٪، اردن بالاترین میزان سواد زنان را در خاورمیانه دارد . بنابراین، در حالی که اکثر زنان اردنی سواد و تحصیلات خوبی دارند، تفاوت انتظارات شغلی مبتنی بر جنسیت ناشی از شیوههای فرهنگی است و نه این واقعیت است که زنان به اندازه مردان توانایی ندارند.
ثبت نام خانمها در تمام سطوح مدرسه زیاد است و زنان اردنی بالاترین میانگین سالهای تحصیل را در مقایسه با زنان در کویت و بحرین دارند. در حالی که مردان در اردن ۱٫۷ سال تحصیلات بیشتری را که زنان در اردن دریافت میکنند، دریافت میکنند، تفاوت این منطقه برای منطقه بسیار کم است. نرخ ترک تحصیل بیش از حد نیست، اما زنان ادعا میکنند دلیل اصلی آنها برای ترک تحصیل (در سطوح مختلف) ازدواج و مسئولیتهای آنها در خانه است در حالی که مردان ادعا میکنند که در درجه اول برای ترک شغل و کمک به خانواده خود درآمد دارند.
تصویب خانواده از آموزش زن بسیار مهم است. وقتی خانواده فقیر نتوانند بیش از یک کودک را از طریق مدرسه بگذرانند، پسر آموزش میگیرد و از دختر انتظار میرود روی مهارتهای خانه داری تمرکز کند. در حالی که زنان به آموزش مقدماتی دسترسی دارند، دسترسی به آموزش فناوری محدود است زیرا انتظار میرود زنان موضوعاتی را مطالعه کنند که به طور مستقیم با نقشهای غالب آنها به عنوان همسران و مادران مرتبط باشد - مانند هنر، علوم انسانی و تدریس. گرچه زنان در مدرسه نسبتاً مساوی هستند، اما کلیشههای بیش از حد جنسیت در کتب درسی اردن وجود دارد.
وضعیت استخدام
مقررات قانون اساسی وجود دارد که حقوق اساسی شهروندان اردنی را برای کار و استخدام تأیید میکند و هیچ چیزی در اسلام وجود ندارد که زنان را از انجام این کار منع کند. در قانون اساسی آمدهاست: "کار حق همه شهروندان است"، "مشاغل براساس توانایی" و "همه اردنیها برابر قانون برابر هستند. هیچ تبعیضی بین اردنیها درمورد حقوق و وظایف مبتنی بر نژاد، زبان یا دین وجود نخواهد داشت. قانون کار این گونه است که هر شخص باید در ازای دستمزدش یک کار را انجام میدهد. قانون اساسی ادعا میکند که دولت "باید در محدوده امکانات خود کار و آموزش را تضمین کند، و آرامش و فرصتهای برابر را برای همه اردنیها تضمین کند." کار "حق هر شهروند" است و "دولت باید با هدایت اقتصاد ملی و بالا بردن استانداردهای خود، فرصت کار را برای همه شهروندان فراهم کند." قوانین کار اردن از زنان در از دست دادن شغل خود در دوران بارداری محافظت میکند و به آنها در زمینه مراقبت از کودکان کمک میکند. در حالی که خود قوانین، عدالت و برابری را ترویج میکنند، آرمانهای سنتی مردانگی و زنانه و "ماهیت مردسالاری نظام حقوقی " به عدم حضور چشمگیر زنان از محل کار و نابرابریهایی که یک بار در آنجا با آنها روبرو هستند کمک میکند.
نابرابریهای جنسیتی در اردن امروز نیز ناشی از نقشهای جنسیتی سنتی است که خود را در فرهنگ اردن جاسازی کردهاند. "در ریشه موانع به منظور مشارکت نیروی کار زنان نگرش سنتی که ارزش بالا در نقش زنان در حوزه خصوصی و در درون خانواده در جامعه اردن مهم این است که هستند." این کلیشهها مبتنی بر این عقیده هستند که: (الف) زن و مرد از نظر بیولوژیکی با یکدیگر تفاوت دارند و این تفاوتهای بیولوژیکی عملکرد اجتماعی آنها را تعیین میکند. (ب) زن و مرد مسئولیتهای مختلف و مکمل خود را در خانواده دارند. و (ج) آنها دارای حقوق متفاوتی اما عادلانه در ارتباط با آن مسئولیتها هستند.
الگوی سنتی" جنسیت اردنی انتظار دارد که زنان زود ازدواج کنند و به عنوان خانه دار، همسر و مادر در خانواده سهیم باشند. فرض بر این است که این مرد مسئولیت خانه را عهده دار میشود و خانواده خود را از نظر مالی تأمین میکند. زنان، به عنوان همسران و مادران، به عنوان آسیب پذیر و نیازمند محافظت از سوی شوهر درک میشوند. مسئولیت مردان برای حمایت از همسران و فرزندان، توجیه کافی برای اعمال اقتدار در برابر زنان در همه زمینههای تصمیمگیری در حوزههای عمومی و خصوصی است. با توجه به این الگوی سنتی، تعامل زنان با و نمایندگی در سیاست و جامعه توسط واسطه شوهرش انجام میشود. در حالی که این الگوی تا حدی در سراسر جهان وجود دارد، به ویژه در اردن برجسته میشود زیرا نهادینه شده و چارچوب قانونی را فرا گرفتهاست.
حقوق خانوادگی
ازدواج
همسران اردنی توانایی همسران خود را در استفاده از حقوق تضمین شده مشروطه خود برای کار و سایر فعالیتهای عمومی تعیین میکنند. قانون و فرهنگ اردن نشان میدهد که مردان کنترل خاصی بر همسایگان خود دارند تا تعامل خود را با مردم انجام دهند. آقایان انتظار دارند که همسرانشان مطیع باشند زیرا برای حمایت مالی از خانواده کار میکنند. برخی اصلاحات این "مالکیت" را برای دختران جوان به تعویق انداخت. به عنوان مثال، پارلمان اردن سن قانونی ازدواج را برای پسران و دختران به ۱۸ افزایش داد، زیرا قانون قبلی سن قانونی ازدواج را برای پسران ۱۶ و ۱۵ را برای دختران تعیین میکرد که این امر باعث ترویج ازدواجهای زودرس و پس از آن ترک تحصیل مدرسه برای ازدواج میشود.
طلاق
قانون طلاق تقریباً کاملاً مبتنی بر قانون شرع اسلامی است که "اقتدار غیرقابل انکار" تلقی میشود. با این وجود، انواع مختلفی از تفسیر و کاربرد در بین دادگاههای اسلامی در خاورمیانه وجود دارد. خصوصاً طلاق در اردن، حقوق زنان را نادیده میگیرد و در صورت عدم حمایت خانوادههایشان، زنان را از هیچ چیز رها نمیکنند. در سالهای اخیر دولت برای تغییر این مشکل با تغییر سیستم قضایی تلاش کردهاست . به عنوان مثال، "قانونی جدید تهیه شدهاست که مردان را مجبور می کند به جای شش ماه به مدت سه سال نفقه بپردازند، که قبلاً چنین بود." از آنجا که مردان در صورت "نافرمانی" از طلاق آزاد هستند و از حمایت از همسران خود متوقف میشوند، قانون دیگری صندوق اجباری را برای زنان مطلقه ایجاد کرد و آنها را برای تسویه حساب از همسر سابق خود تضمین کرد.
فرزندان
پدر مسئولیت فنی، دارایی و نگهداری و آموزش فرزندان را بر عهده داشت، در حالی که مادر مسئولیت "مراقبت جسمی و پرورش" فرزندان را بر عهده داشت. در حالی که پدر " سرپرست طبیعی" محسوب میشد، اگر والدین طلاق بگیرند، مادر حضانت میگرفت.
جستارهای وابسته
زن در اسلام
منابع
پیوند به بیرون
زنان در اردن
زنان بر پایه کشور
فرهنگ در اردن
ویکیسازی رباتیک | 35,269 |
https://stackoverflow.com/questions/60107082 | StackExchange | Open Web | CC-By-SA | 2,020 | Stack Exchange | English | Spoken | 296 | 798 | How to catch psycopg2.DataError and psycopg2.errors.BadCopyFileFormat without collision
I have an script to copy csv to my database in postgresql. The csv comes from different sources, so I have to manage different errors regarding to the format of csv.
The essentially the basic block of code is something like that
import psycopg2
...
connection = psycopg2.connect(
host=host, database=database, user=user, password=password)
try:
file_object = open(cleaned_file)
cur = connection.cursor()
copy_sql = """
COPY %s"""+headers_tostring + """FROM stdin WITH CSV HEADER
DELIMITER as E'""" + delimiter + "'"
copy_sql = (copy_sql + " QUOTE E'" + quote + "'") if quote != '' else copy_sql
copy_sql = copy_sql + " NULL AS ''"
cur.copy_expert(sql=copy_sql % schema_table, file=file_object)
connection.commit()
cur.close()
except psycopg2.ProgrammingError as e:
print ('psycopg2.ProgrammingError')
print(("Unexpected error:", sys.exc_info()[0]))
#do something
connection.rollback()
except psycopg2.DataError as e:
print ('psycopg2.DataError')
print (e)
print(("Unexpected error:", sys.exc_info()[0]))
#do something
connection.rollback()
except psycopg2.errors.BadCopyFileFormat as e:
print ('psycopg2.errors.BadCopyFileFormat')
print (e)
print(("Unexpected error:", sys.exc_info()[0]))
#do something
connection.rollback()
finally:
connection.close()
My main issue was that when I got an error of type psycopg2.errors.BadCopyFileFormat this error is catching like psycopg2.DataError.
I assumed that psycopg2.errors.BadCopyFileFormat is subclass of psycopg2.DataError and for this reason that happened.
Checking the documentation i got that BadCopyFileFormat is a SQLSTATE exception classes and the base class is DataError, and that could explain that.
I solve my issue now changing the order of the block exception I put before psycopg2.errors.BadCopyFileFormat and after psycopg2.DataError
except psycopg2.errors.BadCopyFileFormat as e:
print ('psycopg2.errors.BadCopyFileFormat')
print (e)
print(("Unexpected error:", sys.exc_info()[0]))
#do something
connection.rollback()
except psycopg2.DataError as e:
print ('psycopg2.DataError')
print (e)
print(("Unexpected error:", sys.exc_info()[0]))
#do something
connection.rollback()
By now that solve my current problem, but I'm not sure if this is the best option or I can get another problem with other inputs.
Is this the best way to manage this exceptions?
| 12,459 | |
https://ceb.wikipedia.org/wiki/Camponotus%20adami | Wikipedia | Open Web | CC-By-SA | 2,023 | Camponotus adami | https://ceb.wikipedia.org/w/index.php?title=Camponotus adami&action=history | Cebuano | Spoken | 41 | 78 | Kaliwatan sa murag-sulom ang Camponotus adami. Una ning gihulagway ni Auguste-Henri Forel ni adtong 1910. Ang Camponotus adami sakop sa kahenera nga Camponotus, ug kabanay nga murag-sulom. Walay nalista nga matang nga sama niini.
Ang mga gi basihan niini
Murag-sulom
Camponotus | 19,501 |
https://stackoverflow.com/questions/49449818 | StackExchange | Open Web | CC-By-SA | 2,018 | Stack Exchange | English | Spoken | 447 | 1,127 | Call F# function from C# passing function as a parameter
I have the following F# function
let Fetch logger id =
logger "string1" "string2"
// search a database with the id and return a result
In my C# class I want to call the Fetch F# function mocking out the logger function.
So I have the following C# function as the mocker.
void Print(string x, string y) { // do nothing }
I'm trying to call the F# function from a C# class with the following.
var _logger = FuncConvert.ToFSharpFunc<string, string>(Print);
var _result = Fetch(logger, 3);
The problem with FuncConvert.ToFSharpFunc is that takes only one type argument.
When I change the Fetch F# logger function to the following it works fine when I use ToFSharpFunc(Print) where the C# Print function also takes in one string.
let Fetch logger id =
logger "string1"
// search a database with the id and return a result
Anyone got ideas?
Short Version
var tupleLogger = FuncConvert.ToFSharpFunc<Tuple<string,string>>(t=>Print(t.Item1,t.Item2));
var logger = FuncConvert.FuncFromTupled(tupleLogger);
MyOtheProject.MyModule.Fetch(logger, 3);
Long Version
F# functions only accept one argument. Multiple arguments essentially create nested functions. You need to do the same on C#'s side.
Check the type of the logger parameter in C# with Intellisense. It's
Microsoft.FSharp.Core.FSharpFunc<string, Microsoft.FSharp.Core.FSharpFunc<string, a>>
FuncConvert.ToFSharpFunc can't create this. FuncFromTupled though can create this from an FSharpFunc that takes a Tuple with multiple fields as an argument.
That's something that can be created by ToFsharpFunc :
FSharpFunc<Tuple<string,string>,Unit> tupleLogger = FuncConvert.ToFSharpFunc<Tuple<string,string>>(
t=> Print(t.Item1,t.Item2));
or
var tupleLogger = FuncConvert.ToFSharpFunc<Tuple<string,string>>(t=> Print(t.Item1,t.Item2));
As FuncFromTupled's description says, it's A utility function to convert function values from tupled to curried form.. tupleLogger is a tupled form that we need to convert to a curried form:
var logger = FuncConvert.FuncFromTupled(tupleLogger);
The resulting code looks like:
var tupleLogger = FuncConvert.ToFSharpFunc<Tuple<string,string>>(t=>Print(t.Item1,t.Item2));
var logger = FuncConvert.FuncFromTupled(tupleLogger);
MyOtheProject.MyModule.Fetch(logger, 3);
You could create a utility function to combine the two conversions :
public static class MyFuncConvert
{
public static FSharpFunc<T1, FSharpFunc<T2, Unit>> ToFSharpFunc<T1, T2>(Action<T1, T2> action)
{
var tupled = FuncConvert.ToFSharpFunc<Tuple<T1, T2>>(
t => action(t.Item1, t.Item2));
var curried = FuncConvert.FuncFromTupled(tupled);
return curried;
}
}
Which would allow you to write :
var logger = MyFuncConvert.ToFSharpFunc<string,string>(Print);
F# functions can have only one argument. When you have for example: logger "string1" "string2" the expression logger "string1" creates another function with "string1" inside it which then can take "string2" as an argument. So to convert this you can create such helper method:
public static class FuncConvertExt
{
public static FSharpFunc<T1, FSharpFunc<T2, Unit>> Create<T1, T2>(Action<T1, T2> action)
{
Converter<T1, FSharpFunc<T2, Unit>> conv = value1 =>
{
return FuncConvert.ToFSharpFunc<T2>(value2 => action(value1, value2));
};
return FSharpFunc<T1, FSharpFunc<T2, Unit>>.FromConverter(conv);
}
}
Then you can do this:
var func = FuncConvertExt.Create<string, string>(Print);
func.Invoke("aaa").Invoke("bbb");
More info: https://blogs.msdn.microsoft.com/jaredpar/2010/07/27/converting-system-funct1-tn-to-fsharpfuncttresult/
| 41,090 | |
https://sr.wikipedia.org/wiki/%D0%A1%D1%82%D0%BE%D0%BF%D0%B5%20%D1%83%20%D0%BF%D0%B5%D1%81%D0%BA%D1%83 | Wikipedia | Open Web | CC-By-SA | 2,023 | Стопе у песку | https://sr.wikipedia.org/w/index.php?title=Стопе у песку&action=history | Serbian | Spoken | 457 | 1,390 | Стопе у песку јесте књига сабраних политичких есеја, писама и телеграма Борислава Пекића.
Опис
Пекић је од гимназијски дана био политички ангажован, а у позним годинама је то нарочито чинио, посебно кроз активности у обнови Демократске странке. У свом политичком раду, оставио је много есеја, писама и телеграма.
Пекићеве рукописе су приредиле супруга Љиљана Пекић и кћерка Александра, а први пут их је објавио Службени гласник 2012. године. На промоцији су говорили Добрица Ћосић и Александар Јерков. Друго издање се појавило 2017. године у издању Лагуне.
Садржај
Опроштајни телеграм
Мотиви за приступ Демократској странци
Телеграм Добрици Ћосићу
Позив на дијалог
О идеално рђавој држави
Quo vadis, Југославијо
У демократску будућност – здрава ума, чиста срца и мирне савести
Два Мота и једно признање
Политичка нужност на први поглед некорисна
О демократији као лудници
Ко је и зашто против демократије
Предлог за употребу језика
Нација и демократија, а не нација или демократија
Папучићи националкомунистичке ренесансе
Бирмингемска шесторица и хиљаде голооточана, у реду, али шта је с осталима
Позив на одмор од историје
Ванбрачни живот нације и демократије
Наша демократија и црна магија
Мимикрије и метаморфозе тестаментарних наследника царства
У чему је опасност од савременог „националсоцијализма“
О важности форме у парламентарној демократији
„Источно“ српско питање и госпођа Тревисан
Кратка повест пада српске демократије (од октобра 1944 до новембра 1945)
Чему добровољни затвор
Затворске карактеристике социјалистичке слободе
Сива боја разума
О јубиларној години новологике
„Оне имају своје мишљење, ја своје, не обазирем се на њих“
О смртној казни и логици
Будите мршави, чувајте се људождера!
Једна врло краљевска двомисао
Несрећа која се једноставно није могла догодити
Зелена интернационала и зелена нада
Једно домаће беснило
Град у облаку очајања
Како променити нечије мишљење
Једно старо беснило или Черчил о Ковентрију
Главосеци и робовласници
Прича о ацидним хуманистима Европе
Види Сицилију и умри насилно
Реклама: трговина, поезија или судбина?
Стандардни минимум човечности
Свет на бесан начин
Видео-настиес
Прича која је закаснила
Антхонy Бургесс и 1984 или шта је травестија
Да ли сте на клупи у парку да сазнате за судбину или да се од ње одморите?
Због других и за друге
Ово није похвала веку
Морални аспекти демократије
Беседа о демократији, цивилизацији и култури
Не изневеримо звездано небо
Бити родољуб – није срамота
За престанак крађе наше душе и историје
Жеља за Европом
Према навикама поноћних духова и јутарњих петлова
Програм за будућност СКС, а шта ћемо с прошлошћу?
Не гледати увек у часовник 249 Носталгија и батине
За рестаурацију монархије
Време чуда
Историја нас није проклела
Леви и десни фанатизам
Говор на додели награде „Јаков Игњатовић“ у Будимпешти 1990. године
Говор на отварању свечаности „Бранково коло“ у Сремским Карловцима септембра 1991. године
Данило или живот као бол
Историјски роман и историјска реалност
Види још
Борислав Пекић
Референце
Књиге 2015.
Борислав Пекић | 37,801 |
https://stackoverflow.com/questions/28987129 | StackExchange | Open Web | CC-By-SA | 2,015 | Stack Exchange | https://stackoverflow.com/users/800492, raddevon | English | Spoken | 221 | 352 | Can't issue Vim's :q on execution
I've got a handy function that makes it easy for me to install plugins via Vundle in the spf13 distribution of Vim.
function vimp() {
for plugin in "$@"
do
echo Bundle \"$plugin\" >> ~/.vimrc.bundles.local
done
vim --cmd "BundleInstall!" --cmd "BundleClean" --cmd "q"
echo "Plugin installation complete"
}
Unfortunately, the q command never runs. My hope is to do the bundle installation and cleanup before exiting the editor, but that doesn't seem to be working. The other commands do work best I can tell.
Until just recently, I was using this command:
vim +BundleInstall! +BundleClean +q
Which should do roughly the same thing (running the commands after opening files vs. before), but again the q doesn't fire. Any ideas how I can make this work, or can anyone explain why it doesn't work?
Use +qa or --cmd qa instead of just +q or --cmd quit. Usually this has to do with multiple open buffers (try using +q +q or +q +q +q to verify).
Thank you for the response. Unofrtunately, it doesn't seem to fix the problem in my case. Whether I try +qa or several +qs, vim stays open. Any other ideas? I can manually quit with :q.
Disregard. I forgot to source my config after making the changes. Works like a charm. Thanks!
| 50,730 |
https://stackoverflow.com/questions/6284881 | StackExchange | Open Web | CC-By-SA | 2,011 | Stack Exchange | Blessed Boy, Chidananda Das, Estate Planning Lawyer Queens, Jesus Castillo, Naftis, Taylor Atkins, buskibar, https://stackoverflow.com/users/13649119, https://stackoverflow.com/users/13649120, https://stackoverflow.com/users/13649121, https://stackoverflow.com/users/13649383, https://stackoverflow.com/users/13651636, https://stackoverflow.com/users/13694511, https://stackoverflow.com/users/632116 | English | Spoken | 395 | 632 | MEF: metadata seem to override interface when using GetExports
I'm building a MEF-based plugin-centric WPF application and I'm facing an issue with GetExports, maybe it's just my ignorance but I find an odd behaviour. I have a number of exported parts, all derived from 2 different interfaces (let's name them A and B), but all marked with the same metadata attribute X. So I have code like:
[Export(typeof(A))]
[TheXAttributeHere...]
public class SomePart1 : A { ... }
for each part, and the same for classes implementing B:
[Export(typeof(B))]
[TheXAttributeHere...]
public class SomePart2 : B { ... }
Now, when I try getting all the parts implementing A and decorated by attribute X with some values, MEF returns not only the A-implementing parts, but ALSO the B-implementing parts. So, when I expect to deal with A-objects I get a B, whence a cast exception.
In the real world, interfaces are named IItemPartEditorViewModel and IItemPartEditorView, while their common attribute is named ItemPartEditorAttribute and exposes a PartType string property on which I do some filtering. My code to get parts is thus like e.g.:
var p = (from l in container.GetExports<IItemPartEditorViewModel, IItemPartEditorMetadata>()
where l.Metadata.PartType == sPartType
select l).FirstOrDefault();
When looking for IItemPartEditorViewModel whose PartType is equal to some value, I get the IItemPartEditorView instead of IItemPartEditorViewModel implementing object. If I comment out the attribute in the IItemPartEditorView object instead, I correctly get the IItemPartEditorViewModel implementing object.
Update the suggested "templated" method was used, but I mistyped it here as I forgot to change lessthan and greaterthan into entities. Anyway, reviewing the code I noticed that in the attribute I had "ViewModel" instead or "View" for the interface type, so this was the problem. Shame on me, sorry for bothering :)!
I think I'd need to see more of the code to know for sure what's going on. However, I'd suggest you call GetExports like this:
// Get exports of type A
container.GetExports<A>();
// Get exports of type B
container.GetExports<B>();
Then do your filtering on the list returned. This will probably fix the cast issues you are having. I'd also be interested in seeing the code for the custom metadata attribute. If it derives from ExportAttribute for example, that might be part of the problem.
Thanks, I already use GetExports as you say, I just made a mistake in my sample code above, sorry. Now I'm updating my post.
| 2,299 |
https://hu.wikipedia.org/wiki/Stazione%20di%20Chivasso | Wikipedia | Open Web | CC-By-SA | 2,023 | Stazione di Chivasso | https://hu.wikipedia.org/w/index.php?title=Stazione di Chivasso&action=history | Hungarian | Spoken | 42 | 160 | Stazione di Chivasso vasútállomás Olaszországban, Chivasso településen.
Vasútvonalak
Az állomást az alábbi vasútvonalak érintik:
Kapcsolódó állomások
A vasútállomáshoz az alábbi állomások vannak a legközelebb:
Kapcsolódó szócikkek
Piemont vasútállomásainak listája
További információk
Források
Bottal létrehozott olasz vasútállomás cikkek
Piemont vasútállomásai
1856-ban megnyílt vasútállomások | 17,988 |
https://cy.wikipedia.org/wiki/When%20Men%20Are%20Tempted | Wikipedia | Open Web | CC-By-SA | 2,023 | When Men Are Tempted | https://cy.wikipedia.org/w/index.php?title=When Men Are Tempted&action=history | Welsh | Spoken | 173 | 371 | Ffilm fud (heb sain) gan y cyfarwyddwr William Wolbert yw When Men Are Tempted a gyhoeddwyd yn 1917. Fe'i cynhyrchwyd yn Unol Daleithiau America; y cwmni cynhyrchu oedd Vitagraph Studios. Sgwennwyd y sgript wreiddiol gan George H. Plympton.
Cafodd ei ffilmio mewn du a gwyn, gyda gwedd gymharol (aspect ratio) o 4:3. Gan fod y ffilm wedi ei chyhoeddi dros 95 mlynedd yn ôl, mae yn y parth cyhoeddus.
Fel y nodwyd, cyhoeddwyd y ffilm yn 1917. Ffilm fwyaf poblogaidd y flwyddyn honno oedd The Immigrant sef ffilm fud o Unol Daleithiau America a gyfarwyddwyd gan Charlie Chaplin.
Cyfarwyddwr
Ganwyd y cyfarwyddwr ffilm William Wolbert ar 18 Tachwedd 1883 yn Petersburg a bu farw yn Los Angeles ar 14 Ebrill 2018.
Derbyniad
Gweler hefyd
Cyhoeddodd William Wolbert nifer o ffilmiau gan gynnwys y canlynol:
Cyfeiriadau
Ffilmiau gan gyfarwyddwyr ffilm gwrywaidd
Ffilmiau du a gwyn
Ffilmiau du a gwyn o Unol Daleithiau America
Ffilmiau mud o Unol Daleithiau America
Ffilmiau o Unol Daleithiau America
Ffilmiau mud
Ffilmiau 1917
Ffilmiau a gynhyrchwyd gan Vitagraph Studios | 45,526 |
https://ceb.wikipedia.org/wiki/Retusa%20agulhasensis | Wikipedia | Open Web | CC-By-SA | 2,023 | Retusa agulhasensis | https://ceb.wikipedia.org/w/index.php?title=Retusa agulhasensis&action=history | Cebuano | Spoken | 77 | 181 | Kaliwatan sa dawhilahila ang Retusa agulhasensis. Una ning gihulagway ni Thiele ni adtong 1925. Ang Retusa agulhasensis sakop sa kahenera nga Retusa, ug kabanay nga Retusidae. Walay nalista nga matang nga sama niini.
Ang mga gi basihan niini
<references>
<ref name = "col54475812">Barnardhipidoglossa, K. H. R.; Docoglossa Tectibranchiata Polyplacophora Solenogastres Scaphopoda (1963) Contributions to the knowledge of South African marine Mollusca. Part IV. Gastropoda: Prosobranchiata , i>Annals of the South African Museum</i. 47(2): 201-360</ref>
</references>
Dawhilahila
Retusa | 19,241 |
https://hu.wikipedia.org/wiki/F%C3%A9y%20%28egy%C3%A9rtelm%C5%B1s%C3%ADt%C5%91%20lap%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Féy (egyértelműsítő lap) | https://hu.wikipedia.org/w/index.php?title=Féy (egyértelműsítő lap)&action=history | Hungarian | Spoken | 11 | 48 | Franciaország
Féy, település Franciaországban, Moselle megyében
Fey-en-Haye, település Franciaországban, Meurthe-et-Moselle megyében | 38,248 |
https://zh.wikipedia.org/wiki/%E6%9D%B1%E5%8C%97%E9%A2%A8%E8%99%9F%E9%A9%85%E9%80%90%E8%89%A6 | Wikipedia | Open Web | CC-By-SA | 2,023 | 東北風號驅逐艦 | https://zh.wikipedia.org/w/index.php?title=東北風號驅逐艦&action=history | Chinese | Spoken | 172 | 7,595 | 東北風號驅逐艦(Grecale,RM GR、MM D552/F556),是一艘隸屬義大利皇家海軍(Regia Marina,RM)的驅逐艦(義大利文:),為西北風級驅逐艦(Maestrale-class)2號艦。它是義大利海軍第二艘以「東北風」命名的軍艦,繼承1916年從挪威交付至義大利海軍的「東北風」之名。第二次世界大戰後義大利進入共和國時代,東北風號繼續服役於義大利共和國海軍(Marina Militare,MM),並擔任過海軍旗艦。
該艦於馬凱大區(Marche)安科納造船廠(Cantiere navale di Ancona)建造,1931年9月25日開工,1934年6月17日下水,同年11月15日服役。1953年,義大利加入北大西洋公約組織(North Atlantic Treaty Organization,NATO,簡稱:北約),舷號因此從艦名縮寫「GR」改為「D552」。1958年,被重新分類為反潛護衛艦。同年8月1日,它繼承雷擊艦(義大利文:)林仙(Aretusa)的舷號「F556」。1960年,成為義大利共和國海軍旗艦。
1964年,東北風號除籍。隨後艦體被放置數年,才出售解體。
「Grecale」一詞語源為「greco(希臘)」,意指從地中海東部、東北部吹來的強風。
早年服役
1936年到1939年,東北風號在地中海巡邏,並參與各種任務。
西班牙內戰期間,它在地中海和大西洋活動,包括1936年8月在比利時(Belgium)、1939年7月在葡萄牙里斯本(Lisbon)的行動。
從宣戰到義大利投降(1940年到1943年上半)
與同為西北風級驅逐艦的姊妹艦們組成第10驅逐隊。第二次世界大戰期間,曾加入主力艦隊一同作戰,也有參與往返利比亞(Libya)的護衛艦隊。在這段期間,多是擔任船團的護衛艦船。
1940年7月2日,一支船團從的黎波里(Tripoli)開往那不勒斯(Napoli),東北風號加入了間接護航,協助4艘雷擊艦護送2艘運輸船抵達目的地。
7月6日,第10驅逐隊參加護送一支大型船團前往利比亞的任務「TCM行動」。晚上7點45分,船團從那不勒斯出發。7月8日,船團安全抵達班加西(Benghazi)。隨後第10驅逐隊返回西西里島(Sicily)東岸、港(Augusta),剛好趕上7月9日的斯蒂洛角海戰(,英方稱為卡拉布里亞海戰/),迎戰英國皇家海軍(Royal Navy),但在此戰中並未發揮重要的作用。
7月27日,東北風號與姊妹艦們跟隨船團離開卡塔尼亞(Catania),加入保護那不勒斯──的黎波里(Napoli-Tripoli)航線的護衛艦隊。過程中,英國皇家海軍潛水艇「奧斯華(HMS Oswald)」發現了護衛艦隊,並試圖以魚雷將東北風號擊沉,但沒有成功。8月1日,船團安全入港。
8月9日,第10驅逐隊在潘泰萊里亞(Pantelleria)沿海鋪設水雷。
1941年
4月,東北風號護送一支德國船團(Alicante、Maritza、Procida、Santa Fe),將物資送給「沙漠之狐」隆美爾率領的「非洲軍團」(Afrika Korps)。
5月11日,護送一支大型船團從那不勒斯出航。14日,船團抵達的黎波里。
5月26日,再度護送一支船團從那不勒斯開往的黎波里。
6月19日,東北風號與西北風號、東南風號加入間接護航,護送一支開往的黎波里的船團。20日,即將安全抵達的黎波里時,英國皇家海軍潛水艇「獨特(HMS Unique)」發射的魚雷命中運輸船Esperia號,該船沉沒在北緯33度3分,東經13度3分(33°03' N e 13°03' E)。
7月7日,包含東北風號在內的4艘輕巡洋艦和8艘驅逐艦,合力在西西里海峽(Strait of Sicily)鋪設水雷。7月間,再度護送船團。過程中,運輸船Tembien號、Wacthfels號被飛機炸傷。
8月,加入「馬可波羅船團」。
9月24日,與東南風號、西北風號與輕巡洋艦阿布魯齊公爵號、穆奇奧‧亞特多羅號一同離開巴勒莫(Palermo),會同第3戰隊、第12驅逐隊一起襲擊英國皇家海軍船團,但英軍搶先一步逃離了。
11月8日上午,東北風號護送德國籍貨輪杜伊斯堡號等7艘運輸船的船團從那不勒斯出發,護衛艦隊指揮官為喬凡尼‧迪‧格羅佩洛()。
雙方陣容:
義軍
德國籍貨輪2艘:杜伊斯堡號(Duisburg)、San Marco號
義大利籍貨輪3艘:Sagitta號、Maria號、Rina Corrado號
油輪2艘:Conte di Misurata號、Minatitlan號
共搭載34473噸彈藥、389台車輛、223名士兵、17281噸燃料
近接護航
驅逐艦6艘:東北風號、西北風號、西南風號、雷鳴號(Fulmine)、歐洲風號(Euro)、奧蘭尼號(Oriani)
間接護航
重巡洋艦2艘:塔蘭托號、第里雅斯特號
驅逐艦4艘:山地步兵號、福西利埃勒號、格蘭納蒂埃爾號(Granatiere)、貝塞格利厄號(Bersagliere)
英軍
K艦隊(Force K,馬爾他島守備艦隊)
輕巡洋艦2艘:曙光女神號(Aurora,或譯:奧羅拉。為該艦隊之旗艦)、佩內洛珀號(Penelope)
驅逐艦2艘:長矛號(Lance)、活潑號(Lively)
9日夜間,「K艦隊」利用雷達的優勢展開夜襲,義軍運輸船全軍覆沒,雷鳴號被當場擊沉。戰鬥開始時,曙光女神號向東北風號開火,並朝著船團打出3輪齊射。東北風號徒勞無功地發射2次魚雷,並在開火反擊前挨了152mm與120mm共8枚砲彈,造成23人陣亡、35人重傷、21人輕傷。有幾枚砲彈命中機艙,造成輪機停止與艦上發生火災。東北風號失去行動能力後,奧蘭尼號將它拖回特拉帕尼(Trapani),11月11日再曳航至塔蘭托(Taranto)入渠修理。「K艦隊」離去之後,西南風號停下來搭救落水者,此時英國皇家海軍潛水艇「支持者(HMS Upholder)」趁機發射魚雷偷襲,西南風號遭炸斷艦艉後沉沒。
東北風號入渠期間,先前與東南風號一起鋪設的水雷,重創再度前來夜襲的英國皇家海軍艦隊。英軍輕巡洋艦曙光女神號、佩內洛珀號觸雷受損,輕巡洋艦海王星號、驅逐艦坎大哈號當場被炸沉。
1942年
1941年11月到1942年3月,除了維修,東北風號還接受現代化改修,將2座20mm/65機槍換成2座12cm榴彈砲,用來發射照明彈,這2座榴彈砲擺在艦體中間(魚雷管之間)。也更換艦橋的連裝機槍與其他各處的單裝機槍,另增設2座德製深水炸彈投射機。
1942年3月16日,參與天狼星行動(operazione Sirio)。途中,英國皇家海軍潛水艇「不敗(HMS Unbeaten)」發射魚雷命中運輸船「Vettor Pisani」,但這發魚雷是啞彈。最終行動圓滿達成,全員在18日安然抵達利比亞。
3月21日午夜,東北風號、東南風號離開塔蘭托,偕同第11驅逐隊擔任戰艦利托里奧號(Littorio)的隨伴艦,參加第二次錫爾特灣海戰()。本次作戰,東北風號由於途中舵機失靈,被迫返回港口。
8月3日到8月5日,東北風號護送一支船團。船團的第一個目的地是托布魯克(Tobruk),第二個目的地是班加西。儘管途中遭遇多次空襲,船團仍到達目的地。這也是美國軍機B-24首度空襲義大利皇家海軍艦隊。
11月4日,它擔任護航艦,離開那不勒斯,前往的黎波里。儘管途中遭遇多次空襲,船團仍安然抵達利比亞。
11月30日,東北風號、西北風號、阿斯卡里號一起在西西里海峽鋪設水雷,任務完成回港後,第10驅逐隊又接到命令,加入從那不勒斯前往突尼斯(Tunis)的B船團。
雙方陣容:
義軍
汽船5艘:Arlesiana、Achille Lauro、Campania、Menes、Lisboa
雷擊艦5艘:Sirio、Orione、Groppo、Pallade、Uragano
驅逐艦2艘:東北風號、西北風號
英軍
Q艦隊(Force Q)
輕巡洋艦3艘:曙光女神號、天狼星號(Sirius)、阿爾戈號(Argonaut)
驅逐艦2艘:基伯龍號(HMCS Quiberon)、昆汀號(HMCS Quentin)
航行途中,B船團接到英軍Q艦隊出動的消息,立即返航回港。
12月2日深夜,H船團航行途中遭Q艦隊截擊,運輸船全滅,1艘驅逐艦沉沒。
在12月期間,東北風號共參加3次前往突尼斯的運輸行動。
1943年上半
1943年1月3日,東北風號停泊在巴勒莫時,該港遭5具英國人操魚雷「戰車」()奇襲,造成汽船Viminale號大破,建造中的輕巡洋艦圖拉真皇帝號(Ulpio Traiano)沉沒,東北風號的艦體也遭安裝雷頭,所幸在爆炸前就被發現並移除了。
衝撞雷擊艦熱心號(Ardente)
1月12日凌晨,護衛艦隊長官路易吉‧加斯帕里尼(Luigi Gasparrini)指揮東北風號離開巴勒莫時,意外在聖維托角()衝撞從比塞大(Biserta)返航回到巴勒莫的雷擊艦熱心號。5時45分,熱心號因損傷過重沉沒,造成118人喪生。東北風號也遭重創,艦艏到艦橋前方的區塊折斷,8名乘員死亡、102人失蹤。事故發生後,東北風號被迫立即回港入渠修理。
該事故是源於進、出港的船的航路是相同的,只是行進方向相反。而當時天候惡劣,影響導航燈的辨識,才導致這起事故的發生。事後,埃加迪群島(Egadi)指揮部便要求進、出港的艦船必須要走不同的航路。由於東北風號當時的任務是將德軍的增援從巴勒莫載去比塞大,因此死亡或失蹤的102人,多為德國士兵。
因為這起事故,東北風號入渠重建失去的艦艏,並將艦體中央的榴彈砲換成37mm/54機槍,艦艉魚雷管換成2座20mm/65單裝機槍。前述工作一直持續到該年8月才完成。
義大利與盟軍停戰後(1943年下半)
1943年9月8日,義大利與同盟國秘密進行之和平談判成功,巴多格里奧政權發表了與盟軍停戰之佈告。海軍參謀長決定將艦隊交付給同盟國的軍隊。
9月9日,提督率領以戰艦羅馬號為旗艦的義大利主力艦隊,從拉斯佩齊亞出港,開往馬爾他島將艦隊交付給同盟國的軍隊。這支主力艦隊陣容為戰艦3艘、輕巡洋艦3艘、驅逐艦8艘、雷擊艦6艘,路經科西嘉島。途中與從熱那亞出港的3艘輕巡洋艦會合,另有2艘驅逐艦在拉马达莱娜接應。
主力艦隊陣容:
戰艦3艘:羅馬號(Roma)、義大利號(Italia)、維內托號(Vittorio Veneto)
輕巡洋艦3艘:歐根親王號(Eugenio di Savoia)、奧斯塔公爵號(Emanuele Filiberto Duca d'Aosta)、拉依蒙多‧蒙特庫科利伯爵號(Raimondo Montecuccoli)
驅逐艦8艘:東北風號、阿蒂格利埃爾號(Artigliere)、福西利埃勒號、米特拉格利亞號(Mitragliere)、卡拉比尼埃爾號、萊格納里奧號、瓦利特號、奧蘭尼號
雷擊艦6艘:Impetuoso號、Pegaso號、Libra號、Orsa號、Ardimentoso號、Orione號
輕巡洋艦3艘(熱那亞):阿布魯齊公爵號、加里波第號、阿蒂利奥‧萊戈洛號(Attilio Regolo)
驅逐艦2艘(拉马达莱娜):安東尼奧‧達諾利號、烏戈里諾‧維瓦爾迪號
9月11日,痛失貝爾加米尼提督、戰艦羅馬號、驅逐艦安東尼奧‧達諾利號、烏戈里諾‧維瓦爾迪號後,主力艦隊抵達馬爾他島,停泊在馬爾薩什洛克()。
9月12日,東北風號到瓦萊塔加油。9月14日,隨義大利主力艦隊離開馬爾他島,前往埃及亞歷山大,並於16日時抵達。
陣容:
戰艦2艘:義大利號、維內托號
輕巡洋艦4艘:歐根親王號、奧斯塔公爵號、拉依蒙多‧蒙特庫科利伯爵號、路易吉‧卡多爾納號
驅逐艦4艘:東北風號、達雷科號、阿蒂格利埃爾號、瓦利特號
從完工服役到義大利投降,東北風號共執行155次任務,航行441天、總計47646英里(約76678.8公里)。期間遭受11次潛水艦襲擊、5次轟炸機空襲、2次魚雷機空襲。
義大利與英國共同作戰期間(1944-1945年)
在此期間,東北風號參與眾多任務,包括哨戒、護航,以及承載蛙人部隊發動奇襲。
QWZ行動
1944年6月21到22日,東北風號參與QWZ行動(Operation QWZ,或稱:拉斯佩齊亞奇襲)。
21日,東北風號載著義大利精英蛙人部隊戰隊(又名 戰隊),偕同英國蛙人麥爾坎‧理查德‧考澤(Malcolm Richard Causer)、哈里‧史密斯(Harry Smith)、庫克‧康拉德‧貝里(Cook Conrad Berey)、肯‧勞倫斯(Ken Lawrence)從科西嘉島、巴斯提亞(Bastia)出擊。義大利蛙人的領袖,是在亞歷山大奇襲時,率領6人小隊炸沉2艘戰艦(伊莉莎白女王號、勇士號)、1艘油輪(Sagona號)的海軍英雄,擁有公爵爵位的。義大利與盟軍停戰後,澤拉‧潘尼等人從戰俘營回到義大利海軍,與昔日之敵英國皇家海軍一起行動。
途中,東北風號與裝載2具人操魚雷「戰車」的魚雷快艇MS74號會合,開往目標位置。奇襲目標是墨索里尼的傀儡政權:義大利社會共和國(Repubblica Sociale Italiana)海軍基地,拉斯佩齊亞港內停泊的改塔蘭托級重巡洋艦波札諾號(Bolzano)與扎拉級重巡洋艦戈里齊亞號(Goriza)。換言之,就是對以前的同伴下手。
作戰目的是防止德軍藉著鑿沉波札諾號與戈里齊亞號,阻擋拉斯佩齊亞的航道。在義大利宣布停戰時,就停止修復波札諾號、戈里齊亞號,而德軍沒打算繼續修理。在作戰中,Xª MAS戰隊蛙人搭乘綽號「火雞」的動力橡皮艇,英國蛙人分成兩組搭乘2具「戰車」。
作戰內容是由Xª MAS戰隊切開3張防潛網,並移走沉船、打通水路,讓英國蛙人駕著「戰車」潛入拉斯佩齊亞港內。
靠著義大利蛙人協助,考澤隊成功將雷頭設置於波札諾艦底,將它炸沉在港內。由於花太多時間,行動完成時已快天亮,「戰車」剩餘電量不足以送2人到回收點,遂拋棄機體在港口的防波堤上岸,再從那裡游泳到附近的礁石。當天下午,一對義大利漁夫父子發現他們。經過商量,義大利人讓給他們1艘小船,而得以登上義大利。
另一方面,貝里隊在出入口發現「戰車」故障,無法繼續攻擊,也無法折返,遂拋棄機體在義大利上岸。透過當地義大利人的協助,2人成功與考澤、史密斯和游擊隊會合。
接下來6週,4名英國蛙人與義大利游擊隊並肩作戰,直到該游擊隊遭德軍擊敗。4人兩兩一組往南方的盟軍陣地逃跑,但只有貝里成功抵達,其餘3人在陣地前方的阿爾諾河(Arno)遭德軍俘虜。由於被懷疑與波札諾號的沉沒有關,3人在收容所內遭嚴加審訊,但他們堅稱自己是潛水艇沉沒後的倖存者,將身分隱瞞到同盟國軍隊解放收容所為止。
第二次世界大戰結束後與成為海軍旗艦
戰爭結束後,按和平條約規定,東北風號可以留在義大利。1946年,義大利進入共和國時代,皇家海軍也改組為共和國海軍,而它繼續服役於共和國海軍。
1947到1949年間,它接受翻新,這是拉斯佩齊亞兵工廠在戰後執行的第一件現代化改修工作。
1953年,義大利加入北大西洋公約組織(North Atlantic Treaty Organization,NATO,簡稱:北約),東北風號的舷號因此從艦名縮寫「GR」改為「D552」。
1954年10月26日,第里雅斯特自由區(Free Territory of Trieste)的市區與A區正式回歸義大利。東北風號是第一艘駛入第里雅斯特港的艦船,緊隨在後的是驅逐艦格蘭納蒂埃爾號、阿蒂格利埃爾號,輕巡洋艦阿布魯齊公爵號。民眾熱烈歡迎義大利海軍回到這座城市。
1955年,該艦接受新一輪改造,成為高速護衛艦。
1958年4月10日發布的總統令,將它重新分類為反潛護衛艦。同年8月1日,繼承了雷擊艦林仙(Aretusa)的舷號「F556」。
1959到1960年,經過進一步改建工程,東北風號成為義大利共和國海軍旗艦。因為當時阿布魯齊公爵號已解除武裝退役,加里波第號正在改建,以搭載北極星彈道飛彈發射裝置,因此東北風號獲任成為海軍旗艦。
結局與榮譽
1964年5月30日,驅逐艦東北風號、輕巡洋艦拉依蒙多‧蒙特庫科利伯爵號最後一次在塔蘭托降下軍艦旗。
5月31日,東北風號除役。
6月1日,解除武裝。
1965年,塔蘭托兵工廠拆走可用零組件。隨後艦體被出售解體。
在東北風號30年的服役期間,參與了相當多類型的任務,為第二次世界大戰義大利皇家海軍排名第2的武勳艦。
今日,義大利共和國海軍,西北風級巡防艦2號艦(F751),繼承「東北風」這個名字,而為第三代同名艦。
參考資料
西北風級驅逐艦
意大利军舰 | 22,801 |
https://stackoverflow.com/questions/28173947 | StackExchange | Open Web | CC-By-SA | 2,015 | Stack Exchange | English | Spoken | 197 | 425 | Multidimensional key array push
What I have is:
<?php
$keys = array('a', 'b', 'c', ..., ...);
$value = 'blah';
?>
What I want to achieve is:
<?php
$someArr['a']['b']['c'][...][...] = $value;
?>
What would be the smartest way to achieve this?
// EDIT
I do not know how many elements there's in $keys, that's why I added dots in there
This asks for recursion:
<?php
function array_md_push($keys, &$pushto, $value) {
if ($keys == array()) { // no keys left - put value
$pushto = $value;
} else { // keys left - recursion!
$key = array_shift($keys); // take the first element
array_md_push($keys, $pushto[$key], $value); // call with one key less
}
}
$keys = array('a', 'b', 'c');
$value = 'blah';
$pushto = array();
array_md_push($keys, $pushto, $value);
var_dump($pushto);
Result:
array(1) {
["a"]=>
array(1) {
["b"]=>
array(1) {
["c"]=>
string(4) "blah"
}
}
}
array_md_push() takes the keys as the first argument, the array to push the value to as the second, and the value as the third. If the keys array is empty, it just stores the value in the array to push to. If not, it calls itself, with one key less, and $pushto expanded to that key.
| 30,690 | |
https://zh.wikipedia.org/wiki/%E5%A5%88%E7%BB%B4%E4%B9%8C%E6%96%AF | Wikipedia | Open Web | CC-By-SA | 2,023 | 奈维乌斯 | https://zh.wikipedia.org/w/index.php?title=奈维乌斯&action=history | Chinese | Spoken | 4 | 134 | 奈维乌斯(),(),古罗马文学家,他凭借喜剧作品而闻名于世。早年参加過对外战争,后來因为触怒古罗马权贵而多年身处逆境,他的作品取材广泛,独具匠心,针砭时弊,但是罕有传世。
参考
外部链接
古罗马剧作家 | 48,363 |
https://stackoverflow.com/questions/23864899 | StackExchange | Open Web | CC-By-SA | 2,014 | Stack Exchange | Shadow Wizard Love Zelda, https://stackoverflow.com/users/447356 | English | Spoken | 232 | 433 | html source path with variable
I write a PHP - HTML project and a have to be able to depict some videos. Thus, I store the same of the video like this:
$myVideoName = "Video1.mp4" //video in local host
and I wrote a simple video script to embed it to a browser:
<div style="text-align:center">
<video id="Video1" width='500' height='500' controls >
<source src='.\MyProject\Video1.mp4' type='video/mp4'>
</video>
</div>
Now I want to embed the variable of the video to the source path code like this:
<source src='.\MyProject\'.$myVideoName type='video/mp4'>
What is the right way to do so?
Obviously you just took the code here and never even bothered to read it. So read the code, learn what it does and you'll have your answer here as well. People should not always give you everything on a silver plate.
Assuming the page which contains the video tag is of .php extension, to use variables inside a string, you can do something like this:
<source src=".\MyProject\<?php echo $myVideoName; ?>" type="video/mp4">
If $myVideoName is not changing say $myVideoName = "Video1.mp4" then you will do like this :
<source src=".\MyProject\<?php echo $myVideoName;?>" type="video/mp4">
if the videos data is in some table then you have to fetch the data from that table to this variable $myVideoName
You have to save this file with extension .php otherwise it won't work
You could do it like this.
<?php
echo '<source src="\MyProject\'.$myVideoName.'" type="video/mp4">';
?>
| 26,584 |
https://stackoverflow.com/questions/62614157 | StackExchange | Open Web | CC-By-SA | 2,020 | Stack Exchange | Always Helping, Woobie, https://stackoverflow.com/users/13669048, https://stackoverflow.com/users/13824554 | English | Spoken | 394 | 746 | JQuery Dynamic Transition over Multiple Div Height with Decreased/Increased Contents
Hi anyone, To my question;
The ".section," each may get dynamically added or removed content(s) via manual click interactions, while height:auto keeps to brought sudden changes (there’s no transition at all. The CSS max-height smooth-transition trick doesn’t worked while each of them will also have unknown height variants). Each of ".section" is unique in height (as a container which height does in depend to ones’ childs). This maybe can be done using some lines of jQuery. Is anyone know how to realise this dynamic height transition for each ".section"?
Mixing script from here and there i did learnt from this site, i’ve done this before. But it was suddenly didn’t worked anymore, don’t know where’s the wrong. Combined with the page changing (still in same one html—that create another forced-adapting for the script to worked, since the page changing is using another script, jQuery base, i was giving up but now i’ve come up with idea for directly input my question right here).
<span class="PAGE-1" style="min-height: 100vh;width: 100vw;overflow: hidden">
<div class="section">
<p><cap>A</cap> long paragraph</p>
<p>(Another paragraph)</p>
<hr/>
<span class="panel-with-contents"><button>One from many</button></span>
</div>
<div class="section">
<span>(A lot more of mixed contents)</span>
</div>
<div class="section">(And yet another)</div>
</span>
Neither this works. This doesn’t. The one that was worked it has if( ==0){ or something but it did not even slide the height to zero, but to auto that still containing the childs. I lost it since i tried for other ones because it was not also perfect. I’m just a dumb in this.
$('s').each(function(){
var currentHeight = $(this).css('height');
$(this).css('height','auto');
var animateHeight = $(this).css('height');
$(this).css('height', currentHeight);
$(this).animate({height: animateHeight}, 600);
});
Just wondering - any reason you are wrapping all your divs and content in a span element ?
I did even unaesthetically wrap them in tag to make it far shorter, rather than using span or div class="page-410". The div/span .page does covering the whole screen.
Neither this works. This doesn’t. The one that was worked it has if( ==0){ or something but it did not even slide the height to zero, but to auto that still containing the childs. I lost it since i tried for other ones because it was not also perfect. I’m just a dumb in this.
$('s').each(function(){
var currentHeight = $(this).css('height');
$(this).css('height','auto');
var animateHeight = $(this).css('height');
$(this).css('height', currentHeight);
$(this).animate({height: animateHeight}, 600);
});
| 1,301 |
https://ceb.wikipedia.org/wiki/Trikhni%20Four%20L%20Distributary | Wikipedia | Open Web | CC-By-SA | 2,023 | Trikhni Four L Distributary | https://ceb.wikipedia.org/w/index.php?title=Trikhni Four L Distributary&action=history | Cebuano | Spoken | 40 | 65 | Kanal ang Trikhni Four L Distributary sa Pakistan. Nahimutang ni sa lalawigan sa Punjab, sa sidlakang bahin sa nasod, km sa habagatan sa Islamabad ang ulohan sa nasod.
Ang mga gi basihan niini
Mga kanal sa Punjab (lalawigan sa Pakistan) | 11,601 |
https://vec.wikipedia.org/wiki/La%20Puebla%20de%20Castro | Wikipedia | Open Web | CC-By-SA | 2,023 | La Puebla de Castro | https://vec.wikipedia.org/w/index.php?title=La Puebla de Castro&action=history | Venetian | Spoken | 35 | 80 | el xe on comun de ła Spagna, situà inte ła provinsa de Huesca, che ła fa parte de ła comunità autònoma de Aragona.
Evołusion demogràfega
Altri projeti
Linganbi foresti
Comuni de ła provinsa de Huesca | 30,189 |
https://mathematica.stackexchange.com/questions/256290 | StackExchange | Open Web | CC-By-SA | 2,021 | Stack Exchange | Frunobulax, https://mathematica.stackexchange.com/users/10552, https://mathematica.stackexchange.com/users/18625, jose | English | Spoken | 149 | 439 | TensorExpand ignores assumptions?
Here's a minimal example to demonstrate my problem:
TensorWedge[e[i_], e[i_]] ^= 0;
TensorExpand[TensorWedge[3*e[1], 4*e[1]]]
TensorExpand[TensorWedge[x*e[1], y*e[1]]]
Assuming[Element[(x|y), Reals],
TensorExpand[TensorWedge[x*e[1], y*e[1]]]]
I get zero as result for the first and third tensor expansion, but not for the second. This works as expected. But now:
Assuming[Element[Indexed[da,{_,_}], Reals],
TensorExpand[
TensorWedge[Indexed[da,{1,2}]*e[1], Indexed[da,{2,3}]*e[1]]]]
I expected zero here as well, but that's not what I get. The pattern is obviously right as the difference between the following two expressions demonstrates:
Simplify[Sqrt[Indexed[da,{2,3}]^2]]
Assuming[Element[Indexed[da,{_,_}], Reals],
Simplify[Sqrt[Indexed[da,{2,3}]^2]]]
So, what's the problem with TensorExpand that I'm missing?
Use Element[(Indexed[da, {1, 2}] | Indexed[da, {2, 3}]), Reals] instead of Element[Indexed[da,{,}], Reals]. TensorExpand is not yet able to infer information from patterned Element assumptions.
@jose Thanks, that works for me, although it's a bit clumsy. If you make this an answer, I'll accept it. (I'm suprised to learn that different functions in Mathematica use assumptions in different ways.)
| 41,902 |
https://stackoverflow.com/questions/42044890 | StackExchange | Open Web | CC-By-SA | 2,017 | Stack Exchange | English | Spoken | 370 | 529 | Automatically count DB records by interval and write result periodically to aggregation table
I have a SQLITE3 DB with following 3 column layout
typ (1=gas or 0=electrical power) | time (seconds since epoch) | value (float)
In there, I document events from a gas meter which fires every 10 liter of consumed gas. This is (when the gas heating is active) once every ~20 seconds. The value written together with the timestamp is 0 (zero).
I want to automatically fill an aggregaton table with the count of all records within an interval of 10 minutes.
I had success with this query to get the counts within the intervals:
select time/600*600+600 _time, count(*) _count
from data
where typ = 1 and value = 0
group by _time
order by _time
But how would I achive the following:
run this query regularely every 10 minutes (or at every INSERT with a TRIGGER?) at xx:10 / xx:20 / xx:20 / ...
write the resulting count of only the last 10 minutes to an aggregation table together with the interval end time.
I of course could do this with a program (e.g. PHP) but I'd prefer a DB-only solution if possible.
Thanks for any help.
This trigger will run for every inserted row, and tries to insert a corresponding row in an aggregate table if one does not already exist. Then it increments the counter value in the aggregate table for the timespan of the newly inserted row.
create trigger after insert on data
begin
insert or ignore into aggregateData(startTime, counter) values ((new.time / 600) * 600, 0);
update aggregateData set counter = counter + 1 where startTime = (new.time / 600) * 600;
end;
I think that I found an easier solution which in the end creates the same result:
Just turn my aggregate query into a view:
CREATE VIEW _aggregate as
select time/600*600+600 _time, count(*) _count
from data
where typ = 1 and value = 0
group by _time
order by _time
This gives me exactly my desired result if I do a:
select * from _aggregate
It's good enough to have the aggregated values at runtime and not to store them. Or do you see a substantial difference to your solution?
| 50,395 | |
https://ceb.wikipedia.org/wiki/P%C3%BCchersreuth | Wikipedia | Open Web | CC-By-SA | 2,023 | Püchersreuth | https://ceb.wikipedia.org/w/index.php?title=Püchersreuth&action=history | Cebuano | Spoken | 29 | 79 | Ang Püchersreuth ngalan niining mga mosunod:
Alemanya
Püchersreuth (kapital sa munisipyo), Bavaria, Upper Palatinate,
Püchersreuth (munisipyo), Bavaria, Upper Palatinate,
Pagklaro paghimo ni bot 2016-01
Pagklaro paghimo ni bot Alemanya | 20,305 |
https://stackoverflow.com/questions/60071014 | StackExchange | Open Web | CC-By-SA | 2,020 | Stack Exchange | Mysterious_android, Saeed Entezari, Somesh Kumar, https://stackoverflow.com/users/2757664, https://stackoverflow.com/users/4587527, https://stackoverflow.com/users/5533795 | English | Spoken | 256 | 489 | What does the of() method mean? Kotlin Android
Sorry for the stupid question but upon reading about ViewModel i came across
randomViewModel = ViewModelProviders.of(this).get(RandomViewModel::class.java)
I just want to know what the of() is in general. Is it just a function used by the providers? Or is it a special operator?
Thanks
It's a function in ViewModelProviders class which takes fragment or FragmentActivity as its parameter.
https://developer.android.com/reference/android/arch/lifecycle/ViewModelProviders#of_1
@Deprecated
@NonNull
@MainThread
public static ViewModelProvider of(@NonNull Fragment fragment) {
return new ViewModelProvider(fragment);
}
As we can see by viewing the source code of ViewModelProviders, of() is basically an extension function of ViewModelProvider that returns a new NonNull ViewModelProvider object with the parameter fragment/activity and locks it on the MainThread. Basically it's a fancy way of writing ViewModelProvider(fragment) with extra steps.
But be aware that of() is deprecated, you now initialise a ViewModel like this:
ViewModelProvider(requireActivity(),ViewModelFactory(Database.getDatabase(requireActivity()))).get(ViewModelClass::class.java)
i see “of” being used everywhere especially in flutter providers. So i thought it was an operator. Thank you for helping me understand and learn.
ViewModelProviders.of(this).get(RandomViewModel::class.java)
ViewModelProviders.of(this)
It is a static function that takes current context to retain the ViewModel scope. In this case Current activity is gonna be the context for which ViewModel scope will be retained.
.get(ViewModel::class)
It does two things
If the ViewModel is available it will return the ViewModel instance.
Otherwise, it will create and return the new instance.
The of() method here is a method inside the ViewModelProviders class which just creates a ViewModelProvider object, which retains ViewModels while the scope you have given eg Activity, Fragment is alive.
| 18,378 |
https://sv.wikipedia.org/wiki/Fagankommissionen | Wikipedia | Open Web | CC-By-SA | 2,023 | Fagankommissionen | https://sv.wikipedia.org/w/index.php?title=Fagankommissionen&action=history | Swedish | Spoken | 270 | 554 | Fagankommissionen var en sydafrikansk kommission tillsatt 1946 av premiärminister Jan Smuts och ledd av domaren Henry Allan Fagan (senare Sydafrikas chefsdomare), med syfte att undersöka och presentera förslag rörande relationerna mellan landets då så kallade rasgrupper och vilken politik som skulle tillämpas i samspelet mellan dessa, framförallt på ekonomiska och sociala områden. Då andra världskriget ökat migrationen av svart arbetskraft till städerna och bort från de svartas huvudsakliga hemvist på landsbygden, särskilt de så kallade hemländerna (som under 1930-talet utökats men fortfarande bestod av under 20 procent av landets totala areal) uppstod frågor kring om arbetsmarknaden skulle regleras eller om en ökad svart produktivitet var önskvärt för den dominerande vita befolkningsgruppen. Hos de senare, och i synnerhet hos majoriteten, afrikaanerna, fanns upplevelsen att ökad svart invandring till städerna skulle konkurrera ut och pressa lönerna för särskilt afrikaaner, vars medelinkomst under 1940-talet var knappt hälften av engelskspråkiga vita sydafrikaners. Fagankommissionen menade att ökad ekonomisk integration, så länge den gällde relevant och kvalificerad arbetskraft, hade en i huvudsak positiv inverkan och borde ökas, och reglerna som begränsade svartas rörlighet och anställning borde minskas.
Mot Fagan stod Sauerkommissionen, som tillsatts på eget initiativ av oppositionsledaren Daniel Malan under juristen Paul Sauer, en afrikaan. Sauers slutsatser gick i stark polemik med Fagans och menade att ökad integration på sikt skulle leda till en relativ förlust för vita arbetare, då särskilt afrikaaner, och påskynda en destruktiv social och kulturell integration. Sauer föreslog därför en ytterligare skärpning av arbetsmarknadsregleringar i syfte att skydda och stärka afrikaanernas ställning, vilket kom att bli ett huvudinslag i Malans valplattform 1948, då hans NP besegrade Smuts under valplattformen apartheid.
Apartheid | 12,590 |
https://ceb.wikipedia.org/wiki/Pointe%20Thibaudeau | Wikipedia | Open Web | CC-By-SA | 2,023 | Pointe Thibaudeau | https://ceb.wikipedia.org/w/index.php?title=Pointe Thibaudeau&action=history | Cebuano | Spoken | 159 | 278 | Punta ang Pointe Thibaudeau sa Kanada. Nahimutang ni sa lalawigan sa Québec, sa habagatan-sidlakang bahin sa nasod, km sa sidlakan sa Ottawa ang ulohan sa nasod.
Ang yuta sa Pointe Thibaudeau daghan kaayong patag. Ang kinahabogang dapit sa palibot dunay gihabogon nga ka metro ug km sa habagatan-kasadpan sa Pointe Thibaudeau. Dunay mga ka tawo kada kilometro kwadrado sa palibot sa Pointe Thibaudeau medyo gamay nga populasyon. Ang kinadul-ang mas dakong lungsod mao ang Dollard-Des Ormeaux, km sa amihanan sa Pointe Thibaudeau. Hapit nalukop sa kaumahan ang palibot sa Pointe Thibaudeau. Sa rehiyon palibot sa Pointe Thibaudeau, mga luuk, mga lapyahan, kapuloan, ug mga lawis talagsaon komon.
Ang klima hemiboreal. Ang kasarangang giiniton °C. Ang kinainitan nga bulan Hulyo, sa °C, ug ang kinabugnawan Enero, sa °C. Ang kasarangang pag-ulan milimetro matag tuig. Ang kinabasaan nga bulan Hunyo, sa milimetro nga ulan, ug ang kinaugahan Marso, sa milimetro.
Saysay
Ang mga gi basihan niini
Mga lawis sa Québec (lalawigan) | 9,817 |
https://stackoverflow.com/questions/66074976 | StackExchange | Open Web | CC-By-SA | 2,021 | Stack Exchange | Abra, Boris the Spider, Jagruuti, Joakim Danielson, arch2be, https://stackoverflow.com/users/11002, https://stackoverflow.com/users/12843029, https://stackoverflow.com/users/15123946, https://stackoverflow.com/users/2071828, https://stackoverflow.com/users/2164365, https://stackoverflow.com/users/2281961, https://stackoverflow.com/users/9223839, tgdavies, tomeszmh | English | Spoken | 591 | 1,011 | How I can split a word without a delimiter and perform operations over the split string in Java 8?
This is the code that I have created. I want to Split a word - "UUDDUUDD". I want to perform an operation on every character that I receive from this word. So, I tried using the below code.I'm getting the error as
error: incompatible types: String cannot be converted to String[]
If I'm not using an array i.e String[] newPath and just write as String newPath, I would not be able to perform iteration operation over the string. Can you help me to know how can I iterate over the new array?
for (String[] newPath: path.split(""))
for (char[] newPath: path.split("")
{
if (newPath[i]=="U")
{
count++;
}
else
{
count= count-1;
}
}
If you want an array of char, why not call method toCharArray?
Think about it this way: What is the return type of split? What is the type of the variable which is used to iterate over each member of a String[]?
There are many options, did you read the documentation? toCharArray is one, charAt in a for loop is another.
@Joakim Danielson Your edit has changed the code and does not match what the OP is running
@JoakimDanielson No, it was added in edit 3, which is yours. My edit 2 just removed a couple of tags.
@tgdavies this is the code that was there from the start. I removed my previous comment since it was incorrect
You have to use toCharArray() that's convert String into char[].
Remeber for char use 'U' not "U".
Here is a correct code:
public static void main(String[] args) {
String path = "UUDDUUDD";
int count = 0;
for (char newPath: path.toCharArray()) {
if (newPath == 'U') {
count++;
} else {
count--;
}
}
}
What about doing count— instead?
Why do you use ++ and not — - it’s a little confusing.
This guy use count - 1, that Im not changed, but you right, I will fixed it.
You didn’t fix it.
Yeah sorry, no its ok
Hi @arch2be, I was using "U" even while verifying with a char. After changing to 'U', it has worked out. Thanks!
Split function returns a String array. In your for loop you should iterate over these values by using a simple String, so newPath is a String, not a String array.
If you want just count 'U' chars in String:
public static void main(String[] args) {
String path = "UUDDUUDD";
long count = path.chars()
.filter(ch -> ch == 'U')
.count();
System.out.println("number of Us: " + count);
}
Increment count if char is 'U' and decrement otherwise:
public static void main(String[] args) {
String path = "UUDDUUDD";
long countResult = path.chars()
.reduce(0, (i, j) -> j == 'U' ? i + 1 : i - 1);
System.out.println(countResult);
}
This will not generate the correct result since OP counts down when the character is not U.
Can you give me an example?
" I want to perform an operation on every character". You just filter 'U' character and count it. What if He want to add five to the count on 'D' occurrence?.
well an example is the code (if/else) in the question
OK! I missed that, I thought that It's only a count related question.
The return type of String.split() is String[].
So if we are iterating over the result of String.split() we use a String:
class Test {
public static void main(String[] args) {
for (String c : "ABCD".split("")) {
System.out.println(c);
}
}
}
| 17,531 |
https://ce.wikipedia.org/wiki/%2816789%29%201997%20AU3 | Wikipedia | Open Web | CC-By-SA | 2,023 | (16789) 1997 AU3 | https://ce.wikipedia.org/w/index.php?title=(16789) 1997 AU3&action=history | Chechen | Spoken | 135 | 351 | (16789) 1997 AU3 — Мелхан системан коьрта асанан астероид.
Истори
ДӀайиллина 1997 шеран 3 январехь Т. Урата цӀе йолу Ӏилманчо Симидзу обсерваторехь. Йуьхьанца дуьйна йолу цӀе - «1997 AU3» саналган.
Хьосташ
Lutz D. Schmadel. Dictionary of Minor Planet Names. — Fifth Revised and Enlarged Edition. — B., Heidelberg, N. Y.: Springer, 2003. — 992 p. — ISBN 3-540-00238-3.
Lutz D. Schmadel. Dictionary of Minor Planet Names. — Springer Science & Business Media, 2012-06-10. — 1458 с. — ISBN 9783642297182
Chapman, C. R., Morrison, D., & Zellner, B. Surface properties of asteroids: A synthesis of polarimetry, radiometry, and spectrophotometry// Icarus : journal. — Elsevier, 1975. — Vol. 25. — P. 104—130.
Kerrod, Robin. Asteroids, Comets, and Meteors (неопр.). — Lerner Publications Co., 2000. — ISBN 0585317631.
Билгалдахарш
Хьажа иштта
(16790) Yuuzou
Коьрта асанан астероидаш
Астероидаш абатца | 43,468 |
https://fa.wikipedia.org/wiki/%D9%88%D9%88%D9%85%DB%8C%D9%86 | Wikipedia | Open Web | CC-By-SA | 2,023 | وومین | https://fa.wikipedia.org/w/index.php?title=وومین&action=history | Persian | Spoken | 58 | 180 | وُوُمین (؛ ) شهرکی در شهرستان وومین واقع در استان ماسوویان لهستان است. این شهر در ۲۰ کیلومتری شرق ورشو و در مجاورت خط راهآهن منتهی به بیاویستوک قرار دارد. جمعیت وُوُمین در حدود ۳۶٬۰۰۰ است و ۱۴ کیلومتر مربع مساحت دارد.
منابع
استان ورشو (۳۹–۱۹۱۹)
شهرستان وومین
شهرها و شهرکها در استان ماسوویان
مکانهای هولوکاست در لهستان | 25,525 |
https://stackoverflow.com/questions/38793342 | StackExchange | Open Web | CC-By-SA | 2,016 | Stack Exchange | Amom Mendes, Josh, Whothehellisthat, https://stackoverflow.com/users/1086525, https://stackoverflow.com/users/4834965, https://stackoverflow.com/users/5538259 | Yoruba | Spoken | 270 | 752 | Create Parent and Child from JSON
I need to implement one collapsible diagram using d3. But first, it is necessary to parse my json file in order to create correct hierachies.
This is my json file example which I need transform:
{"likes":[{"_id":null,"category":"Music","link":"https://www.facebook.com/Brum","name":"Brum"},
{"_id":null,"category":"Music","link":"https://www.facebook.com/pan", "name":"Pan FM"},
{"_id":null,"category":"Music","link":"https://www.facebook.com/Example","name":"Example"},
{"_id":null,"category":"Books","link":"https://www.facebook.com/foo","name":"Foo"},
{"_id":null,"category":"Movies","link":"https://www.facebook.com/Titanic","name":"Titanic"}]}]}
And this the structure that I need extract from my json file:
var Data = [{
"name": "SocialProfiles",
"parent": "null",
"children": [{
"name": "Likes",
"parent": "SocialProfiles",
"children": [{
"name": "Music",
"parent": "Likes",
"children": [{
"parent": "Music",
"name": "Brum"
}, {
"parent": "Music",
"name": "Pan FM"
}, {
"parent": "Music",
"name": "Example"
}]
},
{
"name": "Books",
"parent": "Likes",
"children": [{
"parent": "Books",
"name": "Foo"
}, {
"parent": "Books",
"name": "Foo"
}]
}, {
"name": "Movies",
"parent": "Likes",
"children": [{
"parent": "Movies",
"name": "Titanic"
}]
}
]
}]
}];
I can't figure out what you need to do. Are you trying to analyse the original data, and reorganise it to be in the structure of the second snippet? How would you decide what goes where? And where do the extra things like "SocialProfiles" come from?
properly indenting your data in your second box would make it possible to see what the structure should actually look like
@Whothehellisthat, I edited the question, I hope that is more comprehensible. In short, I need transform my source json file in the structure that was exemplified...
Okay. Thanks. The thing, is I still don't know where "SocialProfiles" comes from (it's not anywhere in the input JSON). Is that just hardcoded in, and the rest added?
@Whothehellisthat, thanks by comments. And yes, "SocialProfiles" is just a label hardcoded...
| 39,585 |
https://pl.wikipedia.org/wiki/Buchholz%20%28Nordhausen%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Buchholz (Nordhausen) | https://pl.wikipedia.org/w/index.php?title=Buchholz (Nordhausen)&action=history | Polish | Spoken | 36 | 89 | Buchholz – dzielnica miasta Nordhausen w Niemczech, w kraju związkowym Turyngia, w powiecie Nordhausen. Do 5 lipca 2018 jako samodzielna gmina wchodziła w skład wspólnoty administracyjnej Hohnstein/Südharz..
Bibliografia
Thüringer Landesamt für Statistik, Erfurt
Przypisy
Powiat Nordhausen | 44,904 |
https://ce.wikipedia.org/wiki/%2816063%29%201999%20NV36 | Wikipedia | Open Web | CC-By-SA | 2,023 | (16063) 1999 NV36 | https://ce.wikipedia.org/w/index.php?title=(16063) 1999 NV36&action=history | Chechen | Spoken | 135 | 350 | (16063) 1999 NV36 — Мелхан системан коьрта асанан астероид.
Истори
ДӀайиллина 1999 шеран 14 июлехь LINEAR проект цӀе йолу Ӏилманчо Сокорро обсерваторехь. Йуьхьанца дуьйна йолу цӀе - «1999 NV36» саналган.
Хьосташ
Lutz D. Schmadel. Dictionary of Minor Planet Names. — Fifth Revised and Enlarged Edition. — B., Heidelberg, N. Y.: Springer, 2003. — 992 p. — ISBN 3-540-00238-3.
Lutz D. Schmadel. Dictionary of Minor Planet Names. — Springer Science & Business Media, 2012-06-10. — 1458 с. — ISBN 9783642297182
Chapman, C. R., Morrison, D., & Zellner, B. Surface properties of asteroids: A synthesis of polarimetry, radiometry, and spectrophotometry// Icarus : journal. — Elsevier, 1975. — Vol. 25. — P. 104—130.
Kerrod, Robin. Asteroids, Comets, and Meteors (неопр.). — Lerner Publications Co., 2000. — ISBN 0585317631.
Билгалдахарш
Хьажа иштта
(16064) Дэвидхарви
Коьрта асанан астероидаш
Астероидаш абатца | 31,233 |
https://war.wikipedia.org/wiki/Taeniophyllum%20latipetalum | Wikipedia | Open Web | CC-By-SA | 2,023 | Taeniophyllum latipetalum | https://war.wikipedia.org/w/index.php?title=Taeniophyllum latipetalum&action=history | Waray | Spoken | 33 | 66 | An Taeniophyllum latipetalum in uska species han Liliopsida nga ginhulagway ni Schltr.. An Taeniophyllum latipetalum in nahilalakip ha genus nga Taeniophyllum, ngan familia nga Orchidaceae. Waray hini subspecies nga nakalista.
Mga kasarigan
Taeniophyllum | 14,882 |
https://tt.wikipedia.org/wiki/%D0%9C%D0%BE%D0%BD%D1%82%D0%B5%20%D0%9C%D0%B5%D1%80%D0%B5%D1%83%20%28%D0%9A%D0%B0%D0%BB%D1%8C%D1%8F%D1%80%D0%B8%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Монте Мереу (Кальяри) | https://tt.wikipedia.org/w/index.php?title=Монте Мереу (Кальяри)&action=history | Tatar | Spoken | 102 | 296 | Монте Мереу — Италиянең Сарденья төбәге өязендә урнашкан торак пункт.
Географиясе
Климаты
Биредәге җирләргә Урта диңгез климаты хас, җәй чагыштырмача коры һәм кызу, эссе, ә кыш — йомшак.
Халкы
Искәрмәләр
Әдәбият
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).
Сарденья төбәге торак пунктлары
Италия торак пунктлары
Әлифба буенча торак пунктлар | 33,403 |
https://stackoverflow.com/questions/64280883 | StackExchange | Open Web | CC-By-SA | 2,020 | Stack Exchange | Koushik Roy, Lars Berger, Maciej Los, forpas, https://stackoverflow.com/users/10498828, https://stackoverflow.com/users/14420521, https://stackoverflow.com/users/2142028, https://stackoverflow.com/users/6430523 | English | Spoken | 259 | 486 | How do I order by year instead of by day?
I need to order by year on sqlite, but if I do the following:
select naam, achternaam, geboortedatum
from persoon
order by geboortedatum
then I get the following output:
Piet Jurring 06-03-1992
Linda Platvoet 10-11-2001
Jan Jenting 14-03-1988
Lisa Petersen 17-05-2000
Annemijn Van groenen 24-07-1998
Henk Geritssen 28-01-1993
How do I order by the year instead of day?
Change the format of your dates to YYYY-MM-DD and your code will work fine.
But isn't is possible to sort by year in this format?
By year only? This means that the dates of each year, say 1988 will be arbitrary ordered.
If it's SQLite database and geboortedatum is stored in a dd-MM-yyyy format, you have convert that "date" into proper ISO format (yyyy-MM-dd).
You can use this -
if geboortedatum is date then-
order by CAST(strftime('%Y',geboortedatum) as decimal);
else if its a string -
order by CAST(strftime('%Y',date(geboortedatum)) as decimal)
Pls note you need to convert to decimal/integer so order by works perfectly.
strftime() and date() return NULL if the date string is not in the format YYYY-MM-DD.
in such case you can use substr order by cast(substr (geboortedatum,6) as decimal)
Fixed your data model! Don't store dates as strings. If you do, use YYYY-MM-DD.
In any case, you can order by the last four characters using:
order by substr(geboortedatum, -4)
In SQLite dates are stored as strings.
@LarsBerger if you have more than 1 rows for a year they will not be ordered correctly because you order only by year.
| 50,640 |
https://is.wikipedia.org/wiki/Karl%20Sch%C3%BCtz | Wikipedia | Open Web | CC-By-SA | 2,023 | Karl Schütz | https://is.wikipedia.org/w/index.php?title=Karl Schütz&action=history | Icelandic | Spoken | 192 | 594 | Karl Schütz var þýskur rannsóknarlögreglumaður á eftirlaunum sem áður starfaði hjá þýsku alríkislögreglunni (BKA). Hann stýrði rannsókn Geirfinnsmálsins 1976–1977. Talið er að yfirheyrsluaðferðir BKA sem Karl innleiddi við rannsóknina svo sem löng einangrunarvist, vatnspyndingar, lyfjagjafir og dáleiðingar hafi leitt til falskra játninga.
Í svari þýskra stjórnvalda við fyrirspurnum nokkurra þýskra þingmanna kemur fram að Pétur Eggerz óskaði eftir aðstoð BKA við rannsóknir morðmála á Íslandi. BKA taldi ekki heppilegt að hafa beina aðkomu að málinu en benti á Karl sem var nýkominn á eftirlaun og var í kjölfarið samið við hann. Bréfaskipti sýna að íslenska ríkisstjórnin óskaði eftir að réttarmeinarannókn á rannsóknarstofu BKA og var fallist á það.
Karl Schütz beitti svonefndri indíánaaðferð við yfirheyrslur en nafnið vísar til vagnalestar í hring þar sem indjánar eru á þeysireið utan skotlínu. Sólarhringur eða tímaröð atburða var skírskotun til vagnalestahringsins. Ekki var spurt um atriði í tímaröð.
Karl Schütz hélt blaðamannafund um lausn Geirfinnsmáls árið 1977 og taldi sig hafa leyst málið. Hann var sæmdur hinni íslensku fálkaorðu.
Tenglar
Fátt er vitað um aðkomu Schütz
Justice scandal in Iceland was led by German commissioner (Matthias Monroy)
Tilvísanir
Handhafar stórriddarakross Hinnar íslensku fálkaorðu
Þýskir lögreglumenn | 30,929 |
https://en.wikipedia.org/wiki/Dick%20Merrill | Wikipedia | Open Web | CC-By-SA | 2,023 | Dick Merrill | https://en.wikipedia.org/w/index.php?title=Dick Merrill&action=history | English | Spoken | 1,953 | 2,910 | Henry Tyndall "Dick" Merrill (February 1, 1894 – October 31, 1982) was an early aviation pioneer. Among his feats he was the highest-paid air mail pilot, flew the first round-trip transatlantic flight in 1936, was Dwight D. Eisenhower's personal pilot during the 1952 presidential elections, set several speed records, and would go on to be Eastern Air Lines' most experienced pilot with over 36,000 hours until his retirement in 1961. In total, Merrill flew over 45,000 hours as pilot in command, covering over eight million miles.
At a time when record-breaking pilots were treated as celebrities, pioneer aviators like Dick Merrill gained a unique status. His most famous flight was a 1936 round-trip transatlantic flight that has gone down in the annals of flight as the "Ping Pong Flight." The following year, Merrill also completed the first commercial trans-Atlantic flight.
Early years
Born February 1, 1894, at Iuka, Mississippi, "Dick" Merrill was born into a family that prided itself as being descended from the famous frontier pioneer, Daniel Boone. Although his full name was Henry Tyndall, the name "Dick" was a childhood moniker that stuck with him for life. Brought up as a devout Catholic, he was a teetotaler in an age when the "hard-drinking" "fun-loving" aerial adventurer was seen as the norm. Considered very easy-going yet serious, his one foible, however, was that he was an inveterate gambler throughout his life.
Merrill had from an early age been intrigued by the exploits of the first flyers and when he enlisted in World War I, he began learning to fly while stationed in France but returned home to work on the Illinois Central Railroad as a fireman.
Flying career
Merrill began his aviation career in earnest when he purchased a war-surplus Curtiss JN-4 Jenny in Columbus, Georgia, in 1920 for $600, flying it at air shows through the 1920s briefly appearing with the Ivan Gates Air Circus in the mid-1920s. He eventually turned this into a career as an air mail pilot, flying the Richmond to Atlanta night route. By 1930, Merrill held the record for flying the longest cumulative distance and became the highest-paid airmail pilot, earning $13,000 in 1930 at ten cents per mile. Eddie Rickenbacker later called him the "best commercial pilot" in the United States. Unlike some of his peers, Merrill was a deliberate and careful pilot, so well regarded that many celebrities (his friend Walter Winchell and even General Eisenhower during his 1952 presidential campaign) specifically requested him as a personal pilot. Merrill always would chalk up his successful flights more to luck than skill.
A later compatriot, Merton Meade, related an anecdote that summed up Merrill's flying "luck." "Dick often said he'd rather be lucky than good. When Eddie Rickenbacker owned Eastern he always insisted on Dick flying the airplane whenever he had to travel. Dick always told this story: 'But Captain, you've got a hundred pilots on the line better than me.' 'I know, Merrill, but you're the luckiest son of a bitch I've got, and I'd rather fly behind a lucky pilot than a good one any day!' Typical self-effacing comment by Dick… I doubt there ever WAS a better airline pilot than Dick Merrill."
The "Ping Pong Flight"
He had planned his transatlantic flight for some time but was unable to finance it on his pay as an Eastern Air Lines (EAL) pilot. Things changed when he met millionaire singer Harry Richman, famed for Puttin' on the Ritz. After taking in the singer's show in Miami, Merrill "planted" the idea for a round-trip flight of the Atlantic. He brazenly declared that they "take the plane to Europe… then we'll gas her up and fly her back. It's never been done."
Richman, who had recently gained his pilot's license, had been able to secure a Vultee V-1A capable of making the flight. The aircraft, NC13770, had originally been built for Lieutenant Colonel George R. Hutchinson's proposed all-freight New York-London-Moscow airline, which never started up. Since then it had served a number of pilots in various record setting flights; in 1935 Jimmy Doolittle used the aircraft to make a record 11-hour-59-minute transcontinental flight, and six weeks later Leland Andrews repeated the flight, then used it to set a long-distance speed record between Los Angeles and Mexico City.
Merrill and Richman extensively modified the Vultee V-1A for the flight. Using Eastern Air Lines mechanics, Merrill had extra fuel tanks installed and a Wright Cyclone with a two-blade constant-speed prop fitted. The most modern equipment was sought out including the Hooven Radio Direction Finder (licensed to Bendix). It was Richman's idea to fill empty spaces in the wings and fuselage with 41,000 ping pong balls, which it was hoped would allow the aircraft to float if it was forced down in the ocean.
After modifications were carried out, they took off for London on September 2, 1936. The two aviators were a "odd couple" with Richman flamboyant while Merrill was always the studied professional. In a later interview, Merill revealed a peculiar predilection to perfume. When flying, he usually had a vial of Surrender or Evening in Paris in his pocket, stealing an occasional sniff over the Atlantic.
When they were off the coast of England, the pair ran into bad weather and eventually decided to put down in Llandilo (now spelled Llandeilo), Wales, about west of London. The flight took 18 hours and 36 minutes, the fastest Atlantic crossing to date. The next day Merrill and Richman completed their flight to London. While in England, Richman, ever the showman, christened the Vultee, the Lady Peace.
On September 14, they began the return flight from Southport, England. During the flight, while bucking headwinds, Richman decided to dump 500 gallons of fuel, leaving them with insufficient fuel to make New York City. Furious that Richman had panicked, Merrill was forced to put down on a soft bog at Musgrave Harbour in the Dominion of Newfoundland. After minor repairs and refueling, a week later they landed in New York. The usually easy-going relationship between the two pilots had been strained but they ended up as friends again.
The round-trip flight cost Richman $360,000, and is known in aviation history as the "Ping Pong Flight." Richman sold autographed ping pong balls from the flight for years after.
Other flights
In 1937 Merrill was hired by Hearst Publishing to repeat the flight (co-piloted by 27-year-old Jack Lambie) in a Lockheed Model 10E Electra dubbed Daily Express. The flight from New York to London May 8–14, 1937, known as The "Anglo-American Goodwill Coronation Flight", was also recognized as the first commercial transatlantic round trip flight. Hearst wanted to scoop other American newspapers by acquiring photos of the May 10, 1937, coronation of King George VI after the abdication of his brother, King Edward VIII. Merrill carried photos (not newsreels, as often claimed) of the Hindenburg disaster, which occurred shortly before the flight. Hearst papers on both sides of the Atlantic published the first pictures of each event, and Merrill earned the Harmon Trophy for 1937 for his achievement. Footage from this flight was used to make the 1937 Monogram movie, Atlantic Flight.
Both Dick Merrill and Jack Lambie, his real-life "Coronation Flight" co-pilot and co-star in the film, received $2,500 for their roles in this movie. Dick had not taken the filming seriously but gladly accepted the windfall. Ever the inveterate gambler, Merrill blew his entire salary at Santa Anita the weekend after shooting wrapped.
Merrill made two more transatlantic flights, the last of these, on May 14, 1937, set the new record at 24 hours, 25 seconds.
Private life
Now famous, Merrill thoroughly enjoyed his celebrity and loved the nightlife and hobnobbed with both the famous and infamous. Although earning a good salary, he habitually was broke due to gambling. He had become a fixture at the parties of the rich and famous, and it was at one of these that he met Toby Wing, a chorus girl who became a movie star, appearing in 52 features and shorts. The two married in Tijuana in 1938, but her parents objected to this sort of marriage, so they were married a second time at the home of Sidney Shannon, an early Eastern Air Lines investor. His marriage finally turned around his financial woes and he became devoted to his new wife. Merrill was 22 years Wing's senior, and shortly after their marriage she met Bob Hope who joked, "Toby it's nice to see you and I'm glad to see you brought your father along." According to Wing, Merrill never forgave Hope for the insult.
After a Broadway run, Toby retired from show business the next year, and the couple moved to Miami, where Merrill flew the Eastern Air Lines Miami to New York runs with occasional flights to South America.
World War II
Merrill was too old to be commissioned during World War II, and instead signed on as a civilian pilot and flew the China-Burma-India (CBI) "Hump" in DC-3/C-47 Skytrains and C-46 Commandos. "Flying the Hump" (over the Himalaya Mountains) to transport desperately needed supplies to troops in China from bases in India and Burma, was extremely dangerous. CBI crews faced severe adverse conditions at "the top of the world" coupled with unpredictable weather, lack of radio aids/direction finders and Japanese fighter opposition. On the ground, engineering and maintenance nightmares resulted due to a shortage of trained air and ground personnel and poorly equipped airfields that were often wiped out by monsoon rains.
Later life
He returned to Eastern Air Lines after the war, becoming a senior pilot with the airline. In 1948, at off the Florida coast, Merrill's calm and skillful management of an in-flight emergency was evident when a propeller on an EAL Constellation tore through the fuselage and killed a steward instantly. Merrill was credited with saving the lives of 69 people on board. In 1953, he piloted an Eastern Airlines Super Constellation in an aviation promotional movie called Flying with Arthur Godfrey, with Godfrey as narrator. He would officially retire from Eastern Air Lines on October 3, 1961, after flying a Douglas DC-8 from New York to Miami. At retirement, he reputedly had flown the longest cumulative distance of any pilot in commercial aviation history, and ranked as the second most senior pilot with the airline after 36,650 hours flown over a period of 33 years.
Merrill continued flying for pleasure into his 80s, setting several additional records. In 1966 he flew his actor friend Arthur Godfrey in an around-the-world flight, set a speed record delivering a Lockheed L-1011 from California to Miami at an average ground speed in 1978, and flew the Concorde on one occasion. In 1970, he was awarded the FAI Gold Air Medal.
After retirement from active flying, Merrill managed the Shannon Air Museum in Fredericksburg, Virginia until his death in 1982. He is buried at Christ Church Kingston Parish Cemetery, Mathews, Virginia.
Wing would spend the remainder of her life actively promoting her husband's rightful place in the annals of aviation history.
See also
Virginia Aviation Museum
Eastern Air Lines
References
Notes
Bibliography
Backstreet, Jack. "Don Dwiggins, Mini Biography." IMDb.com. Retrieved: January 3, 2008.
Davis, John M., Harold G. Martin and John A. Whittle. The Curtiss C-46 Commando. Townbridge, Kent, UK: Air-Britain (Historians) Ltd., 1978. .
Dwiggins, Don. "Don Dwiggins." aerofiles.com. Retrieved: January 3, 2008.
King, Jack. Wings of Man: The Legend of Dick Merrill. Seattle: Aviation Book Co., 1981. .
External links
Atlantic Flight (1937)
Time article: 21 Hours
A Strange Airplane Story: The Ping Pong Flight
Aviation pioneers
United States airmail pilots
Aviators from Mississippi
People from Fredericksburg, Virginia
People from Iuka, Mississippi
1894 births
1982 deaths
American aviation record holders | 44,858 |
https://nl.wikipedia.org/wiki/Ko%C5%9Bcierzyna%20%28gemeente%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Kościerzyna (gemeente) | https://nl.wikipedia.org/w/index.php?title=Kościerzyna (gemeente)&action=history | Dutch | Spoken | 191 | 587 | De gemeente Kościerzyna is een landgemeente in het Poolse woiwodschap Pommeren, in powiat Kościerski.
De gemeente bestaat uit 35 administratieve plaatsen solectwo : Czarlina, Częstkowo, Dębogóry, Dobrogoszcz, Gostomie, Grzybowo, Juszki, Kaliska Kościerskie, Kłobuczyno, Korne, Kościerska Huta, Kościerzyna-Wybudowanie, Loryniec, Łubiana, Małe Stawiska, Mały Klincz, Mały Podleś, Niedamowo, Nowa Kiszewa, Nowa Wieś Kościerska, Nowy Klincz, Nowy Podleś, Puc, Rotembark, Sarnowy, Skorzewo, Stawiska, Sycowa Huta, Szarlota, Wąglikowice, Wdzydze Kiszewskie, Wielki Klincz, Wielki Podleś, Wieprznica, Zielenin
De zetel van de gemeente is in Kościerzyna.
Op 30 juni 2004 telde de gemeente 12 957 inwoners.
Oppervlakte gegevens
In 2002 bedroeg de totale oppervlakte van gemeente Kościerzyna 310,15 km², waarvan:
agrarisch gebied: 38%
bossen: 46%
De gemeente beslaat 26,6% van de totale oppervlakte van de powiat.
Demografie
Stand op 30 juni 2004:
In 2002 bedroeg het gemiddelde inkomen per inwoner 1559,35 zł.
Plaatsen zonder de status sołectwo
Będominek, Czarne Pustkowie, Debrzyno, Dąbrówka, Fingrowa Huta, Garczyn, Gołuń, Gościeradz, Grzybowski Młyn, Kania, Kruszyna, Kula Młyn, Lizaki, Ludwikowo, Nowa Karczma, Owśnice, Owśniczka, Plon, Rybaki, Skoczkowo, Smolniki, Szenajda, Szludron, Wawrzynowo, Wygoda, Wętfie, Zabrody, Złotowo.
Aangrenzende gemeenten
Dziemiany, Karsin, Kościerzyna, Liniewo, Lipusz, Nowa Karczma, Somonino, Stara Kiszewa, Stężyca, Sulęczyno
Gemeente in Pommeren | 31,616 |
https://stackoverflow.com/questions/8887820 | StackExchange | Open Web | CC-By-SA | 2,012 | Stack Exchange | Isaac Ayomidotun, Nakul Nagekar, Shashank, https://stackoverflow.com/users/20077251, https://stackoverflow.com/users/20077252, https://stackoverflow.com/users/20077253, https://stackoverflow.com/users/20077344, user20077252 | Danish | Spoken | 171 | 503 | Attaching an image to my email contact form, but image says 'File is empty' C#
Here is the code...
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Net.Mail;
using System.IO;
public partial class TestAttachSend : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void btnSend_Click(object sender, EventArgs e)
{
if (fuImage.HasFile && fuImage.PostedFile.ContentType == System.Net.Mime.MediaTypeNames.Image.Jpeg)
{
SmtpClient emailClient = new SmtpClient();
MailMessage EmailMsg = new MailMessage();
EmailMsg.To.Add(txtEmail.Text.Trim());
EmailMsg.From = new MailAddress(txtEmail.Text.Trim());
EmailMsg.Subject = "Attached Image";
EmailMsg.Body = "Image is attached!";
MemoryStream imgStream = new MemoryStream();
System.Drawing.Image img = System.Drawing.Image.FromStream(fuImage.PostedFile.InputStream);
string filename = fuImage.PostedFile.FileName;
img.Save(imgStream, System.Drawing.Imaging.ImageFormat.Jpeg);
EmailMsg.Attachments.Add(new Attachment(imgStream, filename, System.Net.Mime.MediaTypeNames.Image.Jpeg));
emailClient.Send(EmailMsg);
lblSent.Visible = true;
}
}
}
This code sort of works. But When you open the attached image in the email it says "File is empty"
can anyone see where i have gone wrong???
Also i would like to use multiple image formats (gif, png). but i'm not sure how to do this.
Try to do
imgStream.Seek(0L, SeekOrigin.Begin);
before passing imgStream to the Attachment constructor.
| 22,278 |
https://hi.wikipedia.org/wiki/%E0%A4%AA%E0%A5%82%E0%A4%B0%E0%A5%8D%E0%A4%B5%20%E0%A4%AC%E0%A5%8A%E0%A4%AE%E0%A5%8D%E0%A4%AE%E0%A5%87%E0%A4%AA%E0%A4%B2%E0%A5%8D%E0%A4%B2%E0%A5%86%20%28%E0%A4%95%E0%A4%A1%E0%A4%AA%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | पूर्व बॊम्मेपल्लॆ (कडप) | https://hi.wikipedia.org/w/index.php?title=पूर्व बॊम्मेपल्लॆ (कडप)&action=history | Hindi | Spoken | 49 | 240 | पूर्व बॊम्मेपल्लॆ (कडप) में भारत के आन्ध्रप्रदेश राज्य के अन्तर्गत के कडप जिले का एक गाँव है।
बाहरी कड़ियाँ
आंध्र प्रदेश सरकार का आधिकारिक वेबसाइट
आंध्र प्रदेश सरकार का पर्यटन विभाग
NIC की वेबसाइट पर आंध्र प्रदेश पोर्टल
आंध्र प्रदेश राज्य पुलिस की सरकारी वेबसाइट
आन्ध्र प्रदेश
कडप जिला | 34,971 |
https://math.stackexchange.com/questions/3560896 | StackExchange | Open Web | CC-By-SA | 2,020 | Stack Exchange | Batominovski, J. W. Tanner, Jeija, https://math.stackexchange.com/users/615567, https://math.stackexchange.com/users/72152, https://math.stackexchange.com/users/734511 | English | Spoken | 445 | 858 | Prove that $\left\{ 1 + i l ~ | ~ i \in 0, ..., p - 1; i \neq \frac{p - 1}{l} \right\}$ is a multiplicative subgroup of $\mathbb Z / (pl) \mathbb Z$
I have a prime number $p$ and another number that divides $p - 1$, let's call it $l ~ | ~ (p - 1)$. Define their product as $q = l \cdot p$.
Moreover, I have a set $S = \left\{ 1 + i l ~ | ~ i \in 0, ..., p - 1; i \neq \frac{p - 1}{l} \right\}$.
I want to show that $(S, \cdot)$ is a multiplicative, cyclic subgroup of the multiplicative group of integers modulo $q$, $(\mathbb Z / q \mathbb Z)^\times$.
Example: Choose $p = 19$, $l = 9$, so $q = 19 \cdot 9 = 171$, then $S = \{1, 10, 28, 37, 46, 55, 64, 73, 82, 91, 100, 109, 118, 127, 136, 145, 154, 163\}$ with multiplication modulo $q$ is a cyclic multiplicative subgroup of $(\mathbb Z / q \mathbb Z)^\times$ with generators $g \in \{ 10, 91, 109, 127, 136, 154 \}$.
Any hints are greatly appreciated! Showing that $S$ is a subset is fairly straightforward, but I'm struggling to show that it is closed under multiplication and cyclic.
It should be straightforward (by multiplication) to show that $(1+il)(1+jl)=1+kl$ for some $k$
Are you sure about $i\ne \frac{p-1}{2}$ in the definition of $S$? Shouldn't it be $i\ne \frac{p-1}{l}$? Your example seems to omit the term $1+il$ with $i=\frac{p-1}{l}$, rather than $i=\frac{p-1}{2}$.
With $S$ properly defined, I think this solves the problem. Let $\gamma$ be any generator of the group $(\mathbb{Z}/p\mathbb{Z})^\times$. Using the Chinese remainder thm, there exists a unique $g\in\mathbb{Z}/q\mathbb{Z}$ such that $g\equiv 1\pmod{l}$ and $g\equiv \gamma\pmod{p}$. Then $S$ is a cyclic subgroup of $(\mathbb{Z}/q\mathbb{Z})^\times$ generated by $g$.
Thank you very much, @WETutorialSchool! Of course you're right about it being $i \neq \frac{p - 1}{l}$, I fixed that typo.
What you're saying is probably correct, but I'm maybe a bit slow to understand the answer you gave that uses the Chinese Remainder Theorem. So the theorem says that a solution for $g$ exists, but what is it finally that makes $g$ generate the subgroup $(S, \cdot)$?
I think I might get it now. For $g$ to generate $S$, all of its elements $1 + i l$ must be representable as $1 + il \equiv g^k \pmod q$ for some $k$. So it has to be both $1 + il \equiv g^k \pmod l$ and $1 + il \equiv g^k \pmod p$, which are obviously true because $1 \equiv 1^k \pmod l$ and $1 + il \equiv \gamma^k \pmod p$ have solutions.
| 5,445 |
https://hr.wikipedia.org/wiki/Lara%20Mitrakovi%C4%87 | Wikipedia | Open Web | CC-By-SA | 2,023 | Lara Mitraković | https://hr.wikipedia.org/w/index.php?title=Lara Mitraković&action=history | Croatian | Spoken | 38 | 117 | Lara Mitraković (Split, 1992.), hrvatska pjesnikinja i članica Književne grupe 90+. Studentica kroatistike i sociologije, odrasla u Komiži na Visu.
Djela
Brojanje pogrešaka (2016.)
Dva puta za jug (2019.)
Izvori
Hrvatski pjesnici
Hrvatski književnici
Životopisi, Vis
Životopisi, Komiža | 1,091 |
https://br.wikipedia.org/wiki/Sainte-Foy%20%28Vande%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Sainte-Foy (Vande) | https://br.wikipedia.org/w/index.php?title=Sainte-Foy (Vande)&action=history | Breton | Spoken | 126 | 315 | Sainte-Foy a zo ur gumun e departamant Vande, e Bro-C'hall .
Douaroniezh
Dezougen
Armerzh
Istor
Dispac'h Gall
Melestradurezh: savet e voe ar gumun e 1790 ; lakaet e voe e Kanton La Mothe-Achard da gentañ hag e Kanton Les Sables-d’Olonne e 1801. E Bann Les Sables-d'Olonne e oa. Lakaet e voe kumun Sainte-Foy en Arondisamant Les Sables-d’Olonne bet krouet e 1800 .
Brezel-bed kentañ
Mervel a reas 41 gwaz eus ar gumun, da lavaret eo 5,82% eus ar boblañs e 1911, abalamour d'ar brezel hervez monumant ar re varv.
Eil Brezel-bed
Mervel a reas tri den ag ar gumun abalamour d'ar brezel hervez monumant ar re varv.
Monumantoù ha traoù heverk
Iliz katolik Sainte Foy.
Monumant ar re varv, luc’hskeudenn.
Tud
Daveoù ha notennoù
Kumunioù Vande | 23,067 |
https://ar.wikipedia.org/wiki/%D9%82%D9%84%D8%B9%D8%A9%20%D9%85%D9%88%D8%AA%D8%B1%D9%86%D8%AF%D9%88%D8%B1%D9%81 | Wikipedia | Open Web | CC-By-SA | 2,023 | قلعة موترندورف | https://ar.wikipedia.org/w/index.php?title=قلعة موترندورف&action=history | Arabic | Spoken | 406 | 1,296 | قلعة موترندورف هي قلعة في بلدية موترندورف، في ولاية سالزبورغ النمساوية. تقع على ارتفاع 1138 متراً من مستوى سطح البحر.
تاريخ
الحصن الروماني
يعتقد أنه بُنيت قلعة ماوترندورف في موقع حصن روماني قديم يعود تاريخه إلى عام 326 بعد الميلاد أو قبل ذلك. وكانت القلعة تحمي الطريق الجبلي الروماني من تيرنيا عبر ممر رادستادتر تاورن إلى إيوفافوم ( سالزبورغ حاليًا) وكانت بمثابة سكن للمسؤول الروماني في مقاطعة نوريكوم. دُمر الحصن الأصلي خلال عصر الهجرات.
القلعة في القرون الوسطى
مُول بناء القلعة في السنوات اللاحقة ودعمها من خلال نظام ضريبي يدعى "ماوت" والذي يعني "جمع الرسوم" بالإلمانية. اُستدل على ذلك من صك صادر عن الإمبراطور الروماني المقدس هنري الثاني في عام 1002.
كلمة "دورف" في اسم القلعة هي لاحقة ألمانية تعني قرية أو مستوطنة. والقلعة نفسها لم تذكر في السجلات التاريخية حتى عام 1253. وُسعت القلعة، عندما كان يديرها أمير أساقفة سالزبورغ، بشكل ملحوظ في ظل حكم رئيس الأساقفة بوركهارد ويسبرياخ بين عامي (1423-1466) وليونهارد فون كيتشاخ بين عامي (1442-1519) خلال القرن الخامس عشر، لتصل إلى شكلها الحالي الذي لا يزال لديها اليوم.
الفترة الحديثة
في عام 1894، اُشتريت قلعة ماوتندورف من قبل هيرمان إبنشتاين (1851-1934)، وهو مسيحي من أصل يهودي، عمل كطبيب جراح في الجيش البروسي في برلين. قام بتجديد وترميم القلعة المتحللة بجهد كبير لاستخدامها كسكن. وفي عام 1908 حصل على لقب ريتر فون موترنبورغ من الإمبراطور النمساوي فرانز جوزيف الأول لخدماته الجليلة وتبرعه للتاج.
خلال خدمة ابنشتاين في جنوب غرب إفريقيا الألمانية في أواخر ثمانينيات القرن التاسع عشر، أصبح إبنشتاين صديقًا للمفوض هاينريش إرنست جورينج. وعند عودته إلى ألمانيا، أصبح الطبيب المعالج (وعاشقًا سرياً) لزوجة غورينغ فرانزيسكا، وكذلك الأب الروحي ومعلم أطفاله. غالبًا ما أقامت عائلة غورينغ، ومن بينهم الأبناء الأصغر هيرمان وألبرت، في قلعة موترندورف كضيوف على إبنشتاين. أصبح إبنشتاين فيما بعد مواطنًا نمساويًا متجنسًا وتقاعد بعد الحرب العالمية الأولى ليعيش في موترندورف. في عام 1923 استقبل هيرمان جورينج الذي فر من ألمانيا بعد فشل انقلاب بير هول للتهرب من الملاحقة الجنائية.
القلعة متحفًا ومكانًا ثقافيًا
منذ عام 1968، أصبح المبنى مملوكًا لولاية سالزبورغ، وأُنشأ متحف القلعة في عام 2003. ويدار المبنى من قبل عدد من الشركات الخاصة بالإضافة الى هيئة إدارة المواقع التراثية في الولاية، ويضم الموقع عدداً من المرافق السياحية بما في ذلك مطعم محلي شهير وخدمة لتقديم الطعام داخل القلعة. كما أُستخدم المبنى التاريخ ليكون بمثابة مقر لاجتماع المؤتمرات العلمية ذات المكانة الدولية وكمكان للفعاليات الثقافية المختلفة. افتتح متحف لونجاو الإقليمي في القلعة في مايو 2007 تحت إشراف المنسقة هيلجا جابماير.
مراجع
متاحف في زالتسبورغ (ولاية)
حصون في زالتسبورغ (ولاية) | 47,668 |
https://en.wikipedia.org/wiki/Birmi | Wikipedia | Open Web | CC-By-SA | 2,023 | Birmi | https://en.wikipedia.org/w/index.php?title=Birmi&action=history | English | Spoken | 68 | 125 | Birmi is a village located in the Ludhiana West tehsil, of Ludhiana district, Punjab.
Administration
The village is administrated by a Sarpanch who is an elected representative of village as per constitution of India and Panchayati raj (India).
Villages in Ludhiana West Tehsil
Air travel connectivity
The closest airport to the village is Sahnewal Airport.
External links
Villages in Ludhiana West Tehsil
References
Villages in Ludhiana West tehsil | 29,527 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.