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://stackoverflow.com/questions/36218526
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,016
|
Stack Exchange
|
Raj550, https://stackoverflow.com/users/5018490, https://stackoverflow.com/users/5751430, khaja firoz
|
English
|
Spoken
| 160
| 322
|
Display value of the radio button once it is selected in jsp
I have three radio buttons in my JSP page, once selected I would like to show the value of the selected button in div below the radio buttons. find the code below. Based on the selection, I would like to display the value in display.
<div>
<div class="service">
<input type="radio" name="Service" value="Service1 Selected" Checked> <b>Service-1</b></input>
<input type="radio" name="Service" value="Service2 Selected"><b>Service-2</b></input>
<input type="radio" name="Service" value="Service3 Selected"><b>Service-3</b></input>
</div>
<div class="display"></div>
link check this link might be helpful to you.
Thanks, but my requirement is different from the link shared. I don't want to show the value unless it is selected and the value will shown in a div based on the selection
try this code
$('input[name="Service"]').on( "click", function() {
$('.display').text($('input[name=Service]:checked').val());
});
Thanks, Its working as expected. Intially one of the radio button is cheked,I would like to display it once page loads. Later it will change based on the selection.
| 44,529
|
https://ce.wikipedia.org/wiki/%D0%90%D0%B2%D0%B3%D3%80%D0%B5%D1%88%D0%B8
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
АвгӀеши
|
https://ce.wikipedia.org/w/index.php?title=АвгӀеши&action=history
|
Chechen
|
Spoken
| 22
| 98
|
АвгӀеши () — Францин гӀала-коммуна, лаьтта О-де-ФгӀанс регионехь. Коммунан департамент — Уаза.
Географи
.
Бахархойн статистика
Билгалдахарш
Уаза департаментан коммунаш
Францин гӀаланаш
| 45,576
|
https://ceb.wikipedia.org/wiki/Shu%E2%80%98bat%20Nutaysh%C4%AByah
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Shu‘bat Nutayshīyah
|
https://ceb.wikipedia.org/w/index.php?title=Shu‘bat Nutayshīyah&action=history
|
Cebuano
|
Spoken
| 75
| 127
|
Wadi ang Shu‘bat Nutayshīyah sa Libya. Nahimutang ni sa sentro nga bahin sa nasod, km sa habagatan-sidlakan sa Tripoli ang ulohan sa nasod.
Ang klima init nga kamadan. Ang kasarangang giiniton °C. Ang kinainitan nga bulan Agosto, sa °C, ug ang kinabugnawan Enero, sa °C. Ang kasarangang pag-ulan milimetro matag tuig. Ang kinabasaan nga bulan Disyembre, sa milimetro nga ulan, ug ang kinaugahan Hulyo, sa milimetro.
Ang mga gi basihan niini
Mga suba sa Libya
| 49,295
|
https://sv.wikipedia.org/wiki/2186%20Keldysh
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
2186 Keldysh
|
https://sv.wikipedia.org/w/index.php?title=2186 Keldysh&action=history
|
Swedish
|
Spoken
| 66
| 167
|
2186 Keldysh eller 1973 SQ4 är en asteroid i huvudbältet som upptäcktes den 27 september 1973 av den ryska astronomen Ljudmila Tjernych vid Krims astrofysiska observatorium på Krim. Den har fått sitt namn efter Mstislav Keldysj (1911–1978), vetenskapsman och president för Sovjetunionens vetenskapsakademi 1961–1975.
Asteroiden har en diameter på ungefär tolv kilometer.
Referenser
Huvudbältesasteroider
Småplaneter namngivna efter personer
Astronomiska upptäckter av LI Tjernych
Astronomiska upptäckter 1973
| 16,908
|
https://ru.wikipedia.org/wiki/%D0%9A%D0%B0%D0%BB%D0%B0%D0%BD%D0%B4%D0%B0%D1%80%D0%B8%D1%88%D0%B2%D0%B8%D0%BB%D0%B8%2C%20%D0%9D%D0%B5%D1%81%D1%82%D0%BE%D1%80%20%D0%90%D0%BB%D0%B5%D0%BA%D1%81%D0%B0%D0%BD%D0%B4%D1%80%D0%BE%D0%B2%D0%B8%D1%87
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Каландаришвили, Нестор Александрович
|
https://ru.wikipedia.org/w/index.php?title=Каландаришвили, Нестор Александрович&action=history
|
Russian
|
Spoken
| 795
| 2,411
|
Нестор Александрович Каландаришвили (; , Кутаисская губерния — 6 марта 1922, Якутск) — революционный деятель, анархист, один из руководителей партизанского движения в Восточной Сибири во время гражданской войны.
Биография
До 1892 года учился в Кутаисской гимназии, потом в Тифлисской учительской семинарии. С 1895 года по 1897 год служил в Русской императорской армии. После армии продолжал учёбу в семинарии.
С 1903 года состоял в партии эсеров, некоторое время — в Революционной партии социалистов-федералистов Грузии. Участвовал в первой русской революции, в том числе в Гурийском крестьянском восстании 1905—1906 годов. В 1907-м был арестован, в 1908 году направлен в ссылку в Сибирь. Бежал, в 1912 году был арестован и вновь сослан в Сибирь. Освобождён во время революции в феврале 1917 года. В 1917 году примыкал к партии анархистов-коммунистов. Создал в Иркутске эскадрон анархистов.
Участник установления советской власти и подавления восстания юнкеров в Иркутске в декабре 1917 года.
С февраля по июль 1918 года командовал отрядами войск Центросибири. Партийная кличка — Дед. В начале октября 1918 года был разгромлен под Троицкосавском (Кяхтой). С отрядом в 800 человек с 12 пулеметами двинулся вдоль границы с Монголией к Хатвылу (монгольское поселение в 300 верстах от границы).
В марте 1919 года Иркутский комитет РКП(б) установил связь с Каландаришвили и предложил ему сотрудничество. Сначала Дед отказывался, но комитет предложил обеспечение отряда средствами, вооружением и людьми. Каландаришвили согласился с предложенными условиями. Отряду был предложен план действий на участке железной дороги от Байкала до станции Зима.
Весной и летом 1919 года отряд Каландаришвили базировался в 70 верстах западнее Иркутска и действовал в бассейне реки Китой. Летом 1919 года отряд пустил под откос 8 эшелонов и уничтожил железнодорожный мост через реку Китой. Колчаковцы назначили за голову Каландаришвили награду в 40 тысяч рублей.
В сентябре 1919 года отряд переместился на север от Иркутска, на правый берег Ангары. Партизаны освободили часть заключенных Александровского каторжного централа. С декабря 1919 года по февраль 1920 года командовал отрядами Верхоленского партизанского фронта. В начале января 1920 года участвовал в установлении советской власти в Иркутске. В марте-апреле 1920 года командовал Верхоленской группой советских войск, с мая 1920 года командовал кавалерийскими частями в НРА ДВР.
В августе 1920 года был представителем МИД ДВР при Китайской военной миссии в Москве. С декабря 1920 года — командующий войсками Якутской области и Северного края. В марте 1921 года был создан Корейский революционный военный совет, который возглавил Каландаришвили. Однако Каландаришвили не стал тогда командовать всеми корейскими партизанами. В марте 1921 года в Дальневосточной военной республике съезд партизан избрал Корейский военный совет. Подчиненный Корейскому военному совету Объединенный сахалинский партизанский отряд во главе с Ильей Харитоновичем Паком отказался подчиниться Корейскому революционному военному совету. Народно-революционная армия пыталась разоружить партизан и в результате Амурского инцидента 28 июня 1921 года погибло от 118 до 400 партизан (многие утонули в Зее).
В 1921 году вступил в Коммунистическую партию. В январе 1922 года с отрядом в 300 человек выехал на ликвидацию отрядов якутских повстанцев, попал в засаду на Хахсытской протоке и был убит в 33 км от Якутска.
Похоронен 2 апреля 1922 года в Якутске. 17 сентября 1922 года был перезахоронен в Иркутске на Иерусалимском кладбище. Могила Нестора Каландаришвили является памятником истории местного значения.
Существует гипотеза, что засада на штаб Каландаришвили была организована проякутски настроенными местными большевиками.
Награды
Орден Красного Знамени (6.10.1921).
Память
Именем Каландаришвили названы улицы в городах: Барнаул, Вихоревка, Зима, Иркутск, Канск, Киренск, Кяхта, Ленск, Улан-Удэ, Усолье-Сибирское (в ошибочном написании — улица Каландарашвили), Усть-Кут, Якутск, в посёлке Чернышевский (Якутия), в поселке городского типа Усть-Ордынский. В селе Кырен. В пгт. Качуг, р.п. Жигалово
Памятник в Якутии на дороге Покровск — Якутск.
Памятник в посёлке Кырен (Республика Бурятия, Тункинский район).
Один из порогов ущелья Орхо-Бом на реке Ока Саянская называется — «Скала Каландаришвили».
Один из горных хребтов в Восточном Саяне назван именем Каландаришвили
Лагерь «Каландарашвили» (г. Якутск)
В искусстве
Отряд Каландаришвили описывается в повести «Потомок Чингисхана» Ивана Новокшонова (1896—1943), а также в романе «На краю океана» Андрея Алдан-Семёнова (1908—1985).
В 1928 году по мотивам повести Ивана Новокшонова режиссёром Всеволодом Пудовкиным был снят художественный фильм «Потомок Чингисхана».
В 1932 году художник Василий Семёнович Сварог создал картину «Гибель т. Каландаришвили в Якутии».
В 1973 году киностудия Грузия-фильм сняла художественный фильм «Сибирский дед». В роли Каландаришвили - Давид Абашидзе.
Примечания
Литература
Атлас офицера. — : Изд-во Генштаба Вооруженных Сил СССР, 1947. — С. 176.
Шли дивизии вперед (1919—1921): НРА в освобождении Забайкалья: Сборник документов. — Иркутск, 1987. — Т. 3.
Василевский В. И. Революция и Гражданская война в Забайкалье: Краткий биографический указатель. — Чита, 1989.
Выдающийся руководитель сибирских партизан. // Военно-исторический журнал. — 1962. — № 3. — С.126—127.
Солодянкин А. Г. Коммунисты Иркутска в борьбе с колчаковщиной. — Иркутск, 1960.
Полонский И. В. Безначальцы и чернознаменцы. Анархисты начала XX века против Российской империи. — 2017. — ISBN 978-5-4485-8026-0
Анархисты России
Участники Гражданской войны в России (красные)
Персоналии:Дальневосточная республика
Эсеры
Члены РКП(б)
Похороненные на Иерусалимском кладбище
Перезахороненные
Анархо-коммунисты
| 15,947
|
https://stackoverflow.com/questions/14975745
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,013
|
Stack Exchange
|
English
|
Spoken
| 152
| 305
|
Queue asynchronous task in Play! - correct way
I have a little Play! application(2.1, scala) which acts as a RESTful front-end for a Java library. This web app queues tasks for background processing using:
Akka.system.scheduler.scheduleOnce(Duration(0, SECONDS)) {
new TaskWorker().run(batchId)
}
in Tasks controller.
The goal is to immediately start heavy processing by the Java library, but in the background.
In advent of Scala 2.10 and its futures and promises, will it make more sense to refactor the queuing to leverage this new API?
In general, I'm looking for a way to be able to perform background processing as currently implemented by Resque Ruby library, but perhaps having an in-process memory queue.(Redis-backed queue would be fine too).
use Akka actor
case class BatchTask(id: Int)
class TaskActor extends Actor {
def receive = {
case BatchTask(batchId) => new TaskWorker().run(batchId)
}
}
val taskWorker = context.actorOf(Props[TaskActor])
taskWorker ! BatchTask(batchId1)
taskWorker ! BatchTask(batchId2)
taskWorker ! BatchTask(batchId3)
| 6,504
|
|
https://ceb.wikipedia.org/wiki/Neckarboo%20Range
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Neckarboo Range
|
https://ceb.wikipedia.org/w/index.php?title=Neckarboo Range&action=history
|
Cebuano
|
Spoken
| 110
| 183
|
Neckarboo Range maoy mga bungtod sa Ostralya. Nahimutang ni sa estado sa State of New South Wales, sa habagatan-sidlakang bahin sa nasod, km sa amihanan-kasadpan sa Canberra ang ulohan sa nasod.
Hapit nalukop sa [[kalibonan ang palibot sa Neckarboo Range. Kunhod pa sa 2 ka tawo kada kilometro kwadrado sa palibot sa Neckarboo Range. Ang klima init nga ugahon. Ang kasarangang giiniton °C. Ang kinainitan nga bulan Enero, sa °C, ug ang kinabugnawan Hunyo, sa °C. Ang kasarangang pag-ulan milimetro matag tuig. Ang kinabasaan nga bulan Pebrero, sa milimetro nga ulan, ug ang kinaugahan Oktubre, sa milimetro.
Ang mga gi basihan niini
Mga bungtod sa State of New South Wales
| 23,480
|
https://mathematica.stackexchange.com/questions/219776
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,020
|
Stack Exchange
|
High Performance Mark, https://mathematica.stackexchange.com/users/519
|
English
|
Spoken
| 108
| 183
|
How to Return All Mathematica Functions in a Domain
We know that Names["System*"] and WolframLanguageData[] both return the list of all System or "native" functions.
Is there a more advanced command we could use to return a list like this, but for only a relevant subdomain of these functions such as just the mathematical functions (Sin, Cos, etc.), excluding others such as list operation or visualization functions?
This - https://mathematica.stackexchange.com/questions/191142/how-to-find-the-list-of-all-the-elementary-functions-in-mathematica/191149 - by no means provides a complete solution to your question. But it's not clear how you would define a subdomain of functions, some of the topic pages in the document might be a good place to start.
| 20,596
|
https://ru.wikipedia.org/wiki/%D0%94%D0%B6%D0%BE%D1%88%D1%8B%D0%B1%D0%B0%D0%B5%D0%B2%2C%20%D0%A1%D0%B5%D0%B9%D1%82%D1%85%D0%B0%D0%BD%20%D0%94%D0%B6%D0%BE%D1%88%D1%8B%D0%B1%D0%B0%D0%B5%D0%B2%D0%B8%D1%87
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Джошыбаев, Сейтхан Джошыбаевич
|
https://ru.wikipedia.org/w/index.php?title=Джошыбаев, Сейтхан Джошыбаевич&action=history
|
Russian
|
Spoken
| 509
| 1,789
|
Сейтхан Джошыбаевич Джошыбаев (род. 9 июня 1939 г , Жамбылская область, Казахская ССР) — кардихирург, (1981), . академик Академии профилактической медицины Казахстана. отличник здравоохранения СССР и Казахстана.
Биография
Джошибаев Сейтхан, 9 июня 1939 г. рождения, уроженец Т.Рыскуловского района Жамбылской области Республики Казахстан.
1962 г — закончил Кыргызский государственный медицинский институт
Трудовая деятельность
В 1962—1967 гг. работал общим хирургом в гг. Нарын и Талас(Кыргызстан).
В 1967—1970 гг. обучался в целевой аспирантуре в Институте сердечно-сосудистой хирургии им. А. Н. Бакулева АМН СССР (г. Москва) и защитил кандидатскую диссертацию по протезированию митрального клапана. Затем работал в Республиканской клинической больнице в г. Бишкек (Кыргызстан) — ассистентом кафедры общей хирургии, заведующим отделении торакальной хирургии.
В 1976 г. организовал Республиканский кардиохирургический центр и по 1984 год был руководителем этого центра (г. Бишкек,Кыргызстан).
В 1981 году, без отрыва от производства, защитил докторскую диссертацию по протезированию аортального клапана сердца.
В 1984—1992 гг. работал руководителем кардиохирургического отдела Научно-исследовательского института клинической и экспериментальной хирургии им. А. Н. Сызганова (Алматы, Казахстан).
В 1992 г. вернулся в Кыргызстан (Бишкек), работал руководителем отдела кардиохирургии Национального центра кардиологии.
В 2004 г. организовал и в течение 2х лет руководил НИИ хирургии сердца и трансплантации органов.
Научно-клинический центр кардиохирургии и трансплантологии
В 2007 г. переехал на родину(Казахстан) и организовал ТОО «Научно-клинический центр кардиохирургии и трансплантологии» в г. Тараз, где работает по настоящее время директором Центра.
Центр удостоился премии Президента Казахстана «Алтын сапа»(2010г) и Лауреат Международной имиджевой программы «Лидеры ХХ1 века» с присвоением «Европейское качество» (2011 г. Оксфорд, Великобритания), «Европейский гран при за качество», «Лидер в сфере медицины»(2013), «Лидер в сфере медицины»(2014)
Научные, литературные труды
Сейтхан Джошыбаевич подготовил 9 кандидатов и 1 доктора медицинских наук. Имеет 9 патентов на изобретение и 17 рационализаторских предложений. Опубликованы более 210 научных работ, 2 монографии.
С научными докладами и по обмену опытом посетил кардиохирургические центры Англии, США, Польши, Чехии, Венгрии, Германии, Индии, Монголии, Турции, Сирии, Малайзии, Пакистан, Китая, Сингапур и стран СНГ (Казахстана, Узбекистана, Грузии, Армении, России, Украины, Белоруссии), Литвы, Латвии и Эстонии, Нью-Йорка, Вашингтона, Таиланда.
Во главе бригады врачей по оказанию организационно-методической и практической помощи выезжал и проводил операции на сердце в городах Казахстана: Алматы(6), Караганда (4), Семипалатинск (2) и Кокшетау(3 раз).
Учёное звание
1981 —
профессор медицинских наук
член-корреспондент Национальная академия наук Киргизской Республики
действительный член Академии профилактической медицины Республики Казахстан
член Ассоциации сердечно-сосудистых хирургов РФ
председатель Ассоциации сердечно-сосудистых хирургов Казахстана
член Европейской ассоциации кардиоторакальных хирургов
член Международного общества мининвазивных кардиохирургов
член Азиатской ассоциации сердечно-сосудистых хирургов
член Al Bassel Heart Society, Сирия
заслуженный врач Киргизской ССР
Почетный член Общества сердечно-сосудистых хирургов имени И. К. Ахунбаева,Кыргызстан
Награды и звания
отличник здравоохранения СССР
отличник здравоохранения Республики Казахстана
заслуженный врач Киргизской ССР
2001 — Медаль «За трудовое отличие» (Казахстан)
2008 — Орден Парасат
2011 — Медаль «20 лет независимости Республики Казахстан»
2014 — Орден «Барыс» ІІ степени из рук президента РК
2019 — Орден «Достук»
Медаль «Данк»
1997 — Почётный гражданин города Караганды
1999 — Почётный гражданин Рыскуловский район
2012 — Почётный гражданин Жамбылская область
Документальный фильм «Всем сердцем своим…»
2021 (2 декабря) — Орден «Барыс» ІІІ степени;
Примечания
Медики Казахстана
Кардиологи Казахстана
Сосудистые хирурги
Кардиохирурги
Отличники здравоохранения Казахстана
Хирурги Казахстана
| 27,525
|
https://ceb.wikipedia.org/wiki/Mitostemma%20glaziovii
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Mitostemma glaziovii
|
https://ceb.wikipedia.org/w/index.php?title=Mitostemma glaziovii&action=history
|
Cebuano
|
Spoken
| 65
| 120
|
Kaliwatan sa tanom nga bulak ang Mitostemma glaziovii. Una ning gihulagway ni Maxwell Tylden Masters. Ang Mitostemma glaziovii sakop sa kahenera nga Mitostemma, ug kabanay nga Passifloraceae.
Kini nga matang hayop na sabwag sa:
habagatan-sidlakang Brasil
Rio de Janeiro
Guyana
Walay nalista nga matang nga sama niini.
Ang mga gi basihan niini
Tanom
Tanom sa Brasil
Tanom sa Rio de Janeiro
Tanom sa Guyana
Mitostemma
| 46,037
|
fH-FDL3lHRs_1
|
Youtube-Commons
|
Open Web
|
CC-By
| null |
Sitting of the Senate
|
None
|
English
|
Spoken
| 11,678
| 14,332
|
Honourable Senators, may I remind you that when the House rules, the question in the debate was that Parliament authorize the Minister for Finance to guarantee a loan in the amount of 100 million US dollars from the Export-Import Bank of the Republic of China, Taiwan by the St. Lucia Air and Seaport Authority for the purpose of financing the Hewanore International Airport Redevelopment Project. Senator Gideon. Thank you, Madam President. I want to join in what was said before in terms of being the end of the year and I do want to extend lifelong blessings to each and every one of us sitting here this afternoon. The workers of the Parliament and by extension the people of Denrisal, I want to extend which has blessings to them and hope that by God's grace we continue to live and to be and see when the time comes that the correct decisions are made. Madam President, I also want to join with those who have spoken before, in particular the two independent Senators and to air concerns with what we are dealing with this afternoon. I want to make it categorically clear that I don't think anyone is opposed to the development of HIA. What from my sitting down and listening, what I have understood is that is the condition, the condition of the money borrowed and what it speaks of that is where the problem is. At no point that I have heard anyone saying that they opposed to the redevelopment of the airport. We have at this point in time Madam President, borrowings that have been simply considered has been overboard. Whether it is we coming here to guarantee a loan or we borrowing money, it has been unprecedented. To date this amount of money that we are sitting on this afternoon, we have heard before and I will reiterate that it is a very large sum. A hundred million when we convey or convert to our eastern Caribbean dollars, it amounts to 270 million and when we look at what it is for, most of it has been spoken of even in the lower house. It is basically for more so the terminal. I heard the Prime Minister echoing saying that the money is 100 million. If it is not enough, they are going to look for other sources of revenue. Now when we look at St. Lucia, Madam Speaker and Madam President, not too long ago, just recently, government offered citizens working class some what do you call a bonus and from reports, lots of bargaining bodies have rejected it. And the case is most persons are saying when I speak to people, they are saying if government can borrow so much, they should be able to do better in offering its citizens, the citizens of the country, a better deal. Now I am not one to speak high words, high terms and look for all ways of trying to make things that are not possible, possible, use all kinds of illustrations to justify. The point is persons on the road, persons out there, citizens are saying that if they can do for one, they should be able to do for all or they should be able to do for them. And so, here lies the problem. You have minibus drivers, minibus drivers were promised, they have not received what they were promised. And the list goes on. Madam President, I sat back and I started reasoning with myself. I said if government wants to guarantee, they put it in terms of guarantee, let's give guarantee, the term guarantee, $100 million, $270 million to Slasper for the renovation of the international airport. More persons would be coming in, they said, that is going to give them a chance to build on tourism arrivals. Now, we cannot look for things in isolation or we cannot talk about things in isolation. We cannot. I don't think it is appropriate to talk about a hotel airport development and our healthcare is not up to par. Our health institutions, more persons are coming in, what if, God forbid, there should be a plane crash, what is going to happen? We can borrow money, but things that are more important, I think, that are more important, we pay blind to it. The question is why? Why? Why is this happening? Why would I have citizens and tourists come into my island? The healthcare, they have said it is not 100%, but we have a sprung new terminal rehabilitated everything. Something happens, we are in a crisis. What happens? St. Jude is not there to accommodate anybody. The situation is terrible at St. Jude. We want to spend $100 million, we rehabilitated the airport. We recently took $13 million diversion road and more critical things, important things, things that I think that are important and not me, they should see it as important is left undone, is left undone. We are coming here, give us just the skeleton. We are dealing with just a skeleton of a loan, the skeleton, but where is the meat? The meat is hidden from us. We don't know. We have to be asking, asking questions because it is not there. So personally, I am of the view that while the airport is needed, we have no problem with this, but the terms and agreement and arrangement as spoken before of this loan, I think is very, very careless. And I think for me, if I were to support this borrowing, did not want to use the term borrowing, if I have to support this, I need more information. I need more information that I could read through or more has to be explained to me to give me an understanding that when a layman on the road meets me and tells me, ask me a question about this loan, I would have everything in my hand to explain to them, give them the understanding that they likewise could support it. I think for too long, this parliament has been treated as like some robust mechanism that we come with things have given, hidden, and that we just have to support. And if we don't, then they come out, oh, we oppose everything. It's not everything we oppose. When we look, we read the fine prints, most of what we are looking for is not there. And so we have a right to question. So if you are coming with something that is good for the country, which is needed, put it on the table, don't hide things, don't come with part of it and the rest is hidden. For example, after the five years, how do we pay the loan? How much do we pay back? We don't know. We don't know that. What will the interest rates be? We don't know that. We have a fixed interest rate where we pay 2 million plus every six months. During the five-year grace period, then what happens after? What happens thereafter? Is it for me to figure out? Do I have to figure it out? I can't. It has to be given in black and white that I could understand it and share it with other persons so that they themselves could join in and say, yes, they support. Yes, we think. So I believe, Madam President, as I said, I have to share my five cents on this, that the loan arrangement as written is not clear enough. And for this reason, I will not sit here and blindly sign on or blindly say yes to something that tomorrow, when it is rifting problems that I have to go back and say, had I known better, I wouldn't have signed or I wouldn't have said yes. So I think this parliament is not a robust mechanism. It's not a robust parliament. It's a parliament that has to deal with matters in its fullness as given. It has to be given. We need to understand everything that has been done so that we can say yes or we can say no. It was actually in the lower house. And I'm still asking, and it has been asked before, what are the terms of it? Is it just the 2.5? What more? After the five-year period, the grace period, what happens? What goes on? So Madam President, I think with the amount of problems we have in Saint Lucia right now, with health care, with education, and so on, with our young persons, I think better should be done and better can be done. And if this government is a listening government, as they claim that they are listening government, if they are listening government, they would go back, sit down and come back and tell us the truth so that we can sit and say yes, we agree to the loan arrangements, or no, we don't agree, and why? And so as things can happen in Saint Lucia in a clearer and more ethical manner. Thank you. Honourable Minister in the Ministry of Tourism, Information, Broadcasting, Culture and Creative Industries, Responsible for Culture and Creative Industries. Thank you Madam President. Madam President, I think on this side of the house we have provided all the information. But sitting and listening to the opposition, I understand why the people of Saint Lucia elected this government in 2016. You see, listening, I hear a mentality of doubt about our people's capabilities. I hear a mentality that deflits our people. And I hear a mentality that does not believe that we can. This is why we are here on this side. And this is why I'm happy to be a part of this team. So I want to laud the government for this decision to guarantee, to guarantee, to give slasper that support, to enable it to deliver for us. As a citizen of this country, when it comes to public debt, I'm always concerned. We all are concerned, particularly when we reflect on guarantees given to Rochamel and the failed attempt at the Hellenei one. When we reflect on those things, we are just happy that we have a team of people here now who consider all the risk factors before a decision is made. So managing the airport with its present capacity has become exceptionally difficult due to a lack of capacity on all sides. And we've said so. The airside, the terminal side, and the land side. So we want to make it different. And Madam President, I heard my colleague, independent senator, talk about the fact that people come to your country not to see your airport. But the airport is the first and last impression that they would have of your country. And I think anything we can do, you understand, to improve that, you know, should be done. And it's significant. So slasper, Madam President, has already paid a high price, you understand, for this venture that we're going into with them. And not only slasper, but the people of St. Lucia have paid a high price because you've had some leaders that do not understand money and how things work. You know, millions of dollars has been spent on consultancies and feasibility studies. They also have been spent, well hundreds of hours have been spent by professionals, by experienced persons, you know, on the development of this project. So, Madam President, we are confident that given the support that we've committed to giving to slasper, that they will be able to do the work that is required of them. We see the investment in the airport as an ability or an opportunity for us to significantly improve our capacity to deliver on a lot more things for our country. In executing it, it will give us the economic space to breathe and to make things happen. And the difference here is that I want my opposition senators to understand there is economics and there is social development. And there are things that you must do to be able to expand your economy. And this is one of the things that we're doing to be able to realize that. The hospital is a social project. It will not have the returns, it will not have the level of returns that an investment in the airport, the heroine or international airport will have. And that's why we're making that investment here. So, having reviewed all the options around this and we had debates, constant debates, even if there have been debates from 2009 on this, the best fit for our country is to guarantee slasper that loan. And you know, Madam President, slasper has displayed the competence and you heard the eloquence of my colleague this morning on this. But for me, as a citizen of this country, on Friday last, we walked through the gallery, the gallery that was organized with the experts from Malaysia who were working with our team to prepare our vision plan with us. We walked through with the slasper representative. And yes, the vision 2022, that's right, you have it right. Vision 2022 plan, which included the new airport and not just included a new airport, but the completion of the new airport. What was blatantly glaring to me as a citizen is the fact that all the professionals in that room who are excited about the project, they wanted it to happen. And we as leaders have a responsibility, you understand, to listen to our people and not only listen, but believe in them, you know, because again, my colleague minister picked up, my colleague senator picked up the tactful suggestions and innuendos by the opposition, the former prime minister of this country that slasper was not capable, you know, an organization such as slasper is not capable. But yet this was a government was in office for 15 years with slasper. And you say after 15 years of your involvement, your encouragement, your efforts to develop our people that an organization like slasper was not capable. That was a sad cry for me. And the question for me is why? Why after so many years, you do not have the confidence in an institution that has never required one cent from the government to facilitate its operations? Why? We need to look deeper into that. And that's why I always say we need to look at those people who claim to be leaders, you know. It is a known fact that slasper has well qualified and experienced personnel in aviation, Madam President. As a result, it would be incomprehensible for me to believe that a foreign entity would be superior in managerial capability. That's why I'm a proud solution. And I would hope that as we continue to invest in our people, that more and more, we would give them that latitude to work and operate in areas that they are great at, you know. We remain confident that slasper, given the skillsets we've been, will continue to find solutions. And so that after the years of guarantee of this loan, not years of guarantee, and there will come a time story when this guarantee will be a thing of the past. As a government, we believe in our people. That's why we made the investment. And the last time we were here, we were talking about the 13 million dollars that we borrowed to invest in the people of this country to invest in the professionals so that they can give us what we want as a society. We have to do this. Nobody will do it for us. We must take the investment. We must make our people feel that they belong in this society. We must not doubt them, but we must encourage them. It's not conveniently. The convenience comes when you look to stop the airport project or stop the DSH project because you think that you're threatened. We want our society to be better. We want our people to be capable. We want them to be less dependent on us as politicians. We want that because if our society is functioning well, our people will know what it is to go out and get their own way. We must release them. Talking about release will come later. But that's how countries like Taiwan and Singapore went ahead. That's how they went ahead of the rest of the world. They invested in their people. They took the time to do the training, to prepare them, to shift the mindsets, to change the mindsets of the people so that they can achieve the goals that they want. So we will not give our assets away as your position is proposing, but we'll focus on building. Another issue with the mindset, too, is that this project, Madam President, when I calculate, I saw $1.7 billion would be realized at the end of this project. And for me, the decision of the den opposition to go in the other direction was because, again, of the mentality that they do not believe that solutions deserve this. Because the mentality, the mentality den of the leadership was $5 can block a hole. So if it's too lucrative for us, then we can't get it. And that's the mentality. And so, Madam President, Madam President, I want to endorse this project. And it's a guarantee to a group of individuals and agencies that has demonstrated the capability, the skill sets, and, you know, to be able to make it happen for our people. Madam, I will continue my discourse in the next round. Thank you. Senator Fudiman. Thank you, Madam President. I want to begin by extending best wishes to all parliamentarians, yourself and staff of parliament, and, of course, to all sentlosions for the next few weeks. I hope that each one of us finds some time to celebrate and enjoy some good cheer with all of those during this festive season. Madam President, we are here today to deliberate on the resolution to borrow US$100 million, EC$270 million, as worded in the resolution from the Export-Import Bank of the Republic of China, Taiwan by the St. Lucia A&C Post Authority for the purpose of financing the Huanora International Airport. And, of course, as we've heard, that loan that will be guaranteed through the government or by the government of St. Lucia. When I listened earlier on to the leader of government business, incidentally, he seemed to have almost forgotten that he had to give some kind of briefing on the resolution after it was read. I am not surprised why he actually took a seat, because he probably knew that there was nothing to be briefed on, or he didn't have much substance. So he spent the next hour also trying to find an explanation. And having listened to the rest of the colleagues who have gone before me, particularly the two independent senators, my colleague Senator Mangal, and just listened to Senator Belrose, the minister for, well, these days, I don't want to say too much there. So just see my colleague Senator Belrose. It is very clear that there are quite a few reasons why he may have been concerned about giving us a bit of a brief on the significance or the reason why we should borrow. I also listened to my dear former schoolmate and Senator Mangal in his very pumped-up and energetic discourse earlier. I was reminded of an SLP candidate on the platform of the Southeast two elections ago. And the only thing, Madam President, is this time he was speaking from the other side of his mouth. And I had to wonder why some of those things that were being said to be reminded me so much of that time. But let's leave that and let's move on. We are here to borrow 100 million US dollars. And in the low house, I think it was very deliberate that everybody who spoke on the government side continued to say 100 million dollars. But I want to remind all of us and anybody who is paying attention to this debate that it is 270 or 270 there about million EC dollars. And perhaps from time to time somebody who's tuning in keeps hearing 100 million and they don't realize it's US dollars. This is very important. That just goes to show that there is a very significant sum of money. And because of that, there are certain things that we expect any responsible government, any responsible ministry or minister of finance to provide justification, detail and information that will not have every speaker except those on the government side today to be asking all the questions that have been asked. I believe that that significant sum of borrowing that has been referred to as almost record borrowing in one sitting of the house required a lot better from the government than what we have heard so far. So, Madam President, I want to ask, I want to also say that with all the noise that we've heard this morning, all the tapping of the table and all this, you know, I am no bit wiser as far as the information, the critical information that is required about this borrowing. Thankfully, we have an independent part or segment of this honorable house and the independent senators raised some pertinent questions and issues that enlightened us and allowed for probably a more constructive discourse thereafter. But without that, it would have been a sad day for the parliament that we would have come here and approved borrowing of so much money without proper discourse on the terms and information that is required. Going forward, Madam President, I want to say that the airport development as we've heard before in our country has never been an issue of whether or not it should happen. I think all of us have understood that we must develop our ports, both seaports and airports. And it must be improved. There must be improvement. Where we part in terms of our opinion is how it's been done. Before this government came into office in 2012, the previous government had embarked on a method that has been ventilated. I don't want to spend much time on the PPP argument. There was a method that was being approached or taken to achieve this. But we both agree that the goal of developing the airport was important. We have issues with the manner in which it is being done. And I think that it is very clear from all the discussion that has taken place, whether you're a layman or you're an informed economist, it is very clear that there is something about this method that the government is taking that is more than meets the eye. Why is it that we talk about best practices? The best practices by countries like England, where you have the Heathrow International Airport run entirely by a private entity. You have Jamaica just entering a PPP agreement, a partnership to build the airport. You have the Bahamas and we heard about Barbados. I don't want to go too much into Barbados because they have their own issues. But there are models in the region that have suggested to us that there is merit in using the public-private partnership. There is merit. It's not just a fancy term that we're just brandishing around. Why is it that our government refuses to consider this method? And is hell-bent on going out there to borrow $270 million guaranteeing slasper to do this project? Madam President, that is why we have the issue. And I want to ask, what about the, because of the sum of money, and I think one of the senators who had spoken before made reference to it, with that sum of money being borrowed, why isn't there any evidence of competitive bidding? We're not hearing anything about that. Is it going to be a direct award? And is there somebody making a fresh start again or something like that? What is it about this thing that we must go and borrow? We have to ask because we're becoming very suspicious of this. Madam President, I have asked these questions before, and let me ask them again. What is our focus and priority? Our overall focus and priority as a government? We have two ministers in this honorable house who are members of the Senate who are responsible for very sensitive, significant ministry departments, government departments, where we have seen serious concerns being raised. The Ministry of National Security responsible for crime or prevention of crime and other related matters. The Ministry of Health are headed by two of my colleagues in this honorable house. Madam President, what is the priority? We are borrowing all this money that is going into infrastructure, building things, building things, building structures, and throughout the entire debate. I don't know if anybody picked it up, but I have followed this debate in the Senate from the lower house and up to today. We have not heard one single pronouncement made with reference to crime or healthcare. Let me put it this way, alleviation in this specific borrowing move. Madam President, I would want to think that if we're going to make that move and go out there in a single sitting of the house to borrow all that money, I would have liked to know that I cannot speak for them because it's their responsibility to do so in the cabinet, that my colleagues responsible for those two departments would have had a bit of a bite from this spy. Whereas, yes, it is specifically for one project, but before you go and borrow all that money and raise your debt to the GDP ratio, you would have to look at other areas of priority that need to be looked at. But it seems that these things are not priority, and so we have other things that we prefer to do. I also want to ask, Madam President, what about the situations that we have been lamenting about or we've been complaining about that need immediate attention? Upon assuming office, the government did give its assurance that there are certain things that would be getting immediate attention, immediate relief would be coming in certain areas. And one of them, of course, was in the reduction of value added tax and a few others in healthcare and education. Well, Madam President, instead of going out there and giving priority to making that, we call it an investment, but I think it's really a disaster of borrowing that sum of money, how about taking care of the situation at Arthur Lewis? We now have a situation where students writing the exams are now finding that they've been robbed when they get off the bus and being told that there is no money to increase security at Arthur Lewis. Madam President, how about taking care of the mold situation at Barbano Secondary for our teachers and students to feel more comfortable? How about the repair of the or the construction of the Form 3 block at Miku Secondary that has been there for the last year and a half? And the Prime Minister in his deliberation last week mentioned the situation at Tirushig where there was a fire. And you have lots of other examples where we could have made priority. But we prefer to focus on borrowing monies where some people are happy smiling and continue to enjoy part of the benefit. Madam President, despite the, and I want to come to one of the points I made about issues in this country that should be priority, despite the issues that we've heard in the last few weeks, we've had a spike in the increases in the number of homicides, we've had concerns, even the police commissioner has called all officers of leave immediately to try to deal with the social problem, the crime problem that we have. And it definitely tells us that there is a problem. We can't hide from it. I think these are areas that need attention immediately. Of course we can develop our efforts. I will never say that we shouldn't and we shouldn't spend money to do so. But these things can be done strategically over a period of time. There are certain things that need immediate attention right now. And instead of the panic that people have to deal with and hearing of people, you know, on the floors in hospitals and those things, what is it we're doing in terms of priority? So Madam President, I think it is time for us to decide what is priority in this country and pay attention to things that are more urgent, that are more critical. I'll move on Madam President and make a point regarding the relationship between trying to grow an economy through borrowing. As we have all agreed, every government will borrow. We know that. Every government will borrow. This government has said that there will be revenue streams. Well, let's wait to see that. But one thing is for sure. If you want to grow your economy by borrowing, what we have found at this formula has been showed to fail. It does not work. Eventually what you have is that you plunge your country into debt and even if you have some nice projects to show up front, it redounds to continuous burdens on your taxpayers over a period of time. So that formula clearly does not work. You want to grow your economy, you go ahead and you borrow a heap of money and you show up front. But then in the next two decades, you are saddled with burdens of debt. Now, I remembered early on in the set when I say the set I mean after the government, the new government came in that we decided that we were going to cut that by two and a half percent. And immediately, Madam President, we did that and we had to find ourselves going back to borrow $55 million within the first year. And it's exactly the same amount that we give up. And here we come again. Perhaps if we had kept that $55 million, we would have had to borrow $55 million less in this specific motion. But we're giving up money to fulfill promises that we made on platforms. And now we come back to the House to borrow huge sums of money to try to save face and do big projects. And I think I heard that the previous government couldn't manage big projects. Madam President, we have a situation where we have a government that has found itself strapped because of the commitments that it has tried to make and cannot fulfill that all it has left to do is to go out there and try to impress the electorate by breaking ground and starting some new projects. Just making sure that some big things are said. You know, we're going to build an airport and we're going to do those big things and we're going to bring investment to the South, right? In the middle of the second year of government. Before it's too late to try to create an impression in the mind of the electorate that we are going to deliver something big. And to do so, we have forgotten about the terms and conditions. And I think that was alluded to earlier. We have a number of conditions that we have not paid attention to in this borrowing that have not come out. I heard the leader of government business and we're still waiting for that information. I hope it comes in his rebuttal. We have not gotten information regarding the repayment terms as we have heard. We don't know about the cash flow and other critical issues related to the borrowing. But we're going out there to create this big impression that we can manage big projects. We can manage large sums of borrowing and large sums of money that the previous government couldn't do. But what we have not told the people of St. Lucia is that our grandchildren, our great-grandchildren will be saddled with that debt. And as we heard in the repayment terms, there is a lot of information that has not been divulged in this honorable house and that the average St. Lucia does not know when it comes to the terms of this borrowing. And I think it is important and incumbent upon us, particularly the government, to provide that information to the people, to this honorable house, to allow the house and the members here to speak to it and to provide solutions with the critical information that we require. So, Madam President, while I would have liked to have something like we did with the Child Protection Bill and some other bills, unlike what the government has tried to suggest, that the opposition opposes for opposing sake, that is not true, Madam President. I have sat in this honorable house and said, I, and the eyes I've had it, and we have supported motions and bills in this honorable house. So that is not true. The Child Protection Bill, we supported it, just recently we did. And we know we support certain things because we can see the merit in it and the benefit for our country. So we're not a government, an opposition that comes here to oppose for opposing sake. That's not true. But Madam President, when it comes to situations where you have, you're going to land your country in that kind of predicament, that you are coming to the house to get approval to take in one go to borrow $270 million. And there are so many questions being asked about the conditions, the terms, the repayment of this loan. We must, we must be careful. We cannot just sit there and agree. No. That will be very irresponsible of us as an opposition. And so, Madam President, having said that, I want to echo the sentiments of my colleagues and see that this opposition will not be giving support to this bill as to this resolution as presented. We support development. We support any airports being improved in any country, but not under these terms that are presented to us. And not with the limited amount of information that this government has come to present. That is sketchy, that is suspicious, that is fishy, and we shall not stand here and just support it blindly. No. So, Madam President, I want to wrap up because I know we're going to have a long day. I want to wrap up by saying this. We have a government that is in panic mode, a government that does not have the answers, no clear policy as to where we're going, and so we are now frantically and recklessly borrowing money, unprecedented sums of money with all kinds of questions to be asked about the terms to try to appease the electorate of St. Lucia in the middle of a term of office with all kinds of fairy tale ideas to see whether people will believe once more. But people, I can tell our members once beaten twice shy. Our people have learned, and they have learned very quickly. And so, Madam President, while we do this, we are only plunging our country into further debt. And as we heard from a previous speaker this morning, after all of this is done, St. Lucia's will have to be plunged into a debt burden of about 850 or so million dollars that will be paid or will have to be paid by my grandchildren, your grandchildren, and generations to come. And for this reason, this opposition will not support this motion, this resolution, and we hope that in rebuttal, we will at least get some further details, pertinent information about the terms and conditions of this irresponsible act of the government. I thank you, Madam President. Thank you, Madam President. I rise to echo the sentiments that you expressed earlier, and some of my fellow senators were spoken before me, that I wish all senators and the citizens of St. Lucia a merry Christmas and a happy new year. Although it may not be merry for me at Christmas, but the Lord is good, and I accept how it has been played out. Madam President, I was not going to speak on this motion, because I think it is quite clear what's the intention of the government and what it means for the people of St. Lucia. I must say that I was very impressed with the contributions of the two independent senators, and like I told my fellow senator, I got a lesson in business management and banking, and I'm very appreciative of this. But in her presentation, she made a number of points, character, ability to pay, collateral conditions, capital, and so on. And one of these main things that the first one she mentioned was the character of government, that government has never, never reneged on its ability or defaulted on its repayments and loans, and I think that is a very, very important point that you made. Senator Opposite talked about the increase in crime and the homicides and that some money should have been placed with the Ministry of Home Affairs and national security. I want to tell the senator that a lot of studies have been done on persons' attribute crime to lack of housing, lack of employment, and a number of other issues, poverty, and so on. But there it is, this government is going into a project where a number of solutions will be employed, gainfully employed. We will try to change the drift where persons are leaving their districts and coming to castries and overcrowding castries, and thereby causing this malaise of housing, especially the central castries area. So persons are now going to be gainfully employed and moving back to their residence in Viewfort, Sozel, Labry, and the environment, and the environments. But there's one point that the Honourable Senator failed to talk about when we talk about homicides, and it's the impact report. And we must go back to the genesis of this impact report. Yeah. What caused it? The ORC, yes. There was the police doing a fantastic job on persons' commission crime, and police got St. Lucia to a stage where St. Lucia was safe to walk the streets of castries and the environments. They were safe, they were happy. But what did you do? Just as you are doing today, trying to show the government in a bad light, went out there and said so many things about United Workers' Party. And then the Commissioner of Police came out in his book and said, this was not a government-organised project. It was a project of the police. That was the technique to deal with it. Now today our police officers are afraid to even take action because of persons on the other side. So don't blame anybody. You must take some of the blame for what is happening in this country, for your reckless statements. You must take... So at the end of the day, we will learn, we will know. You also talked about a government not following through on projects that have been made. We talked about, we paid for a fire appliance in Vifort, 1.5 million. Yes, the St. Lucia Labour Party did in fact put 1.5 million and we put the extra 1.5 million because it was necessary to have that fire tender at the UNR international airport. Water treatment plant in Dennery. We paid it, we continued. It's now operational and we have now come to the house to borrow more money to do the second phase. But you all took the praise for it, but we are doing it. The Bridging Canaries, Madam President, the Bridging Canaries, we completed it. It's a good project, we completed it. Water treatment in Canaries. Only last week we opened that water treatment. We are now going to Souffre to give water. Okay? The square, we can answer the square. There it was that you were doing a square. There was money allocated for the square. Poses worked for six or seven months and never got paid. Never got paid. Obviously, they caught track of it. Come to an end. It had to come to an end. But we are going to continue the square. The square will be finished. And that is the problem that you have because come the next, come 2020, all the projects, Madam President, will be completed. Minister, remember that you are speaking to me and not the opposition. Yes, Madam President, I think I do mention the... So, there it is, Madam President. We had a previous government that borrowed over 30 million US dollars for a fly-by-night company called Frenwell. Did Saint-Russians know about it? You didn't ever come to the house of Assembly for Guarantee? That company did not even have assets in Saint-Russia. Didn't even have assets, Madam President, but yet still a government could come and give them 30 million US, a Trinidad company. Today, we have been very transparent. We are coming to the house and we are telling you this is what we are going to be doing with the money. Where we got the money from? Who is going to be managing the money? Slasper has proven over the years to be a viable entity. They have proven it. We borrowed money to do the extension of the... The both. Again, when we came to borrow the money, they said it was reckless spending. Today, we have the mega-ships buffing at our point, sir, of it. That is progress because we know when we take those loans, we can manage it and at the end of the day, Madam President, it becomes the benefit of solutions. But, Madam President, this opposition do not want this government to succeed and any project that we bring here, they will oppose it. Even if it means, even if it means Madam President, and if you notice what is happening, this government has Saint-Russia at heart. We are not doing things in the constituencies of the government. We are doing things which is represented by three members of the opposition because we recognize this is the new frontier. This is where Saint-Russia has to go. So it doesn't matter whether it has been represented by the opposition members. We know for a fact that the people in the south of this island have suffered enough and we must give them some relief. Madam President, let them beat me because every time they make a point, I will respond because we have the answers. They have no answers. Madam President, when you listen to Senator Gibyan from Mikud putting on, every day, if you take hands out, every day he comes out molding the school as if mold comes overnight. And if he is studying his papers, he will see that there is money that we are going to borrow later on to fix schools. To fix schools. The Labour Party was in power, Madam President, and asked them how much money they used to give to the renovation of schools. Nothing, nothing. Every year. Thank you Madam President. I really don't need any protection. I can handle myself. Even the A-Level College, Sir Arthur Lewis Community College, if you look at the allocations made to that entity every year by the Saint-Russia Labour Party, it was going down and down and down. All what they were doing was just paying for salaries. That's all they were doing and in two years you expect us to come there and transform Sir Arthur Lewis. But we are going to do it because our young people will be taken care of. So we're going to do it. You talk about St. Jude's. You will see St. Jude's finished in 2019. You will see that. And according to the people when we were at our campaign, you'll pay. That's going to happen. It will happen. To go anywhere, Madam President, you must be bold in the things that you're going to do. You must be bold. Sir Bronson is now going to space and going to be paying, people, persons are paying 60,000 US just to go to space. That is innovation. That is the way you make money. That's why he has so much money because he thinks out of the box. But we want to do everything the same little way. Tiputik mentality. That's what we have. So that is why they can never finish any project they start. None at all. None at all. And we have to come and fix it for them. So we're going to show them, Madam President, that we're going to start UNR international report. We're going to finish it. We're going to start St. Jude's. We're going to finish it. You will see the road that work as the independent senator talked about castries is now clogged. And we are going to be doing the bypass road from Grosily to January. So you will see these things happening. A new solution, a new vision. Okay. Kenningomics doesn't work. That is why we have Dr. Ubalas in the Ministry of Finance. New thinking. New energy. You know, and the senator of leader of government opposition business is correct. That PPP is good. But let's not fool ourselves. Why is it good for one set of people or one project? It's not good for another project. If you are going into a PPP, you should analyze, Madam President, what our leader talked about. You do a sort analysis, your strength, your weaknesses, your opportunities and so on. Okay. And then you look at it. Why do you want to give away your airport for 30 years in this era of terrorism? That you as a police officer in charge of your national security that you can go into the airport. You have to beg somebody permission to go and arrest a criminal on your airport. What are we saying, Madam President? What are you saying? We have, we have places in St. Lucia that I'm like, but I do know the police can just go in there. They have to get permission to go in there. And then you have thousands of people coming into our country. Point of order, Madam President. Well, we're going to have almost half a million people coming from our day. We don't even know it is. For the 6A, Madam President, the member is misrepresenting the house. No such PPP will restrict any police officer from going on to the police, going on to the airport. That is implied in the contribution from the member. He needs to provide evidence without his funds and that is not the case. But Madam President, I've given examples. We have the free zone at V4. Police officers can't just go in there. You must get permission to go in there. They cannot prevent you from going. But you have to advance notice, must be given if you give a private entity to run your airport before you can enter that airport. Even now, where is being run by Slasper. When I as a minister, Madam President has to go in there. Slasper has to give me permission to go inside of there. What are you talking about? Senator Henry, it seems to me that the minister is providing live examples. And anything else has been a suggestion. But he's definitely giving live examples. And so I will let him proceed. Thank you very much, Madam President. And most of the ministers and persons who travel and are able to go into the VIP lounge will tell you that only Slasper can allow you to go up there. They have the key. As a minister, you cannot go into there. Again, Minister, you've made the point several times and I'd like us to continue with the substance of the debate. Thank you very much, Madam President. So again, I stand here to support the motion. And I can guarantee solutions that I have been fortunate as a minister to travel to Antigua. We just came from Matnik, Guadalupe. And if you see the standard of the airports that are there compared to Saint Lucia, I feel ashamed when I land at the airport. I'm ashamed. I'm ashamed. And we need to get to that standard if Antigua can do it without a PPP, because they recognize the national importance of that airport. We in Saint Lucia can do it. And I guarantee the solutions that we are going to deliver a brand new sparkling airport for them in the future. I thank you. Honorable Minister for Health and Wellness. Thank you, Madam President. I want to wish every one of us, my fellow senators, a very merry Christmas and a happy New Year. I would also like to extend that to the entire country. And I do sincerely hope that we have a wonderful Christmas. I too did not intend to say anything. But I will send a challenge, Madam President, from the senators on the other side. Of course, I fully support this bill and I cannot wait this motion. And I cannot wait for us to fix our airport so that I will stop being so ashamed of this facility that we have there that we call an airport. Madam President, I do not know. I know that my fellow leader of government business spoke about its the Christmas season. I am starting to wonder about that because I'm starting to think this is the silly season of all that I have heard from the lower house on this bill. And in this house today, I'm starting to think we are in the silly season because I cannot believe that anyone would not understand the terms and conditions in this bill. It is clearly stated, although I think that people are getting confused by the fact that it is saying at the end that the terms and conditions proposed by the Export-Import Bank of the Republic of China Taiwan are accepted. But these are the terms and conditions proposed and people are asking for them. They are right there. These are the terms and conditions proposed. Do you all want me to read it for you all? You all cannot read it. Madam President, it is clearly stated here that terms and conditions are here. And I believe we can all read. Yes. There is a semicolon after each. And as you keep going down, you see these are the same terms and conditions. Okay. So, Madam President, but I find it very difficult to accept that the same people who would accept to borrow $1.6 billion over a 30-year period are now struggling and saying they are not going to support this government borrowing $100 million to put towards our airport. I am baffled, Madam President. I am really baffled. Now, I heard my fellow Senators speak about we are not putting money in healthcare. This morning, Madam President, one of the statutory instruments presented here, number 98 of 2018, speaks to us borrowing $20 million U.S. dollars to put into primary care. It's right here today. Leader of government business presented it. So, I do not know SI number 98. I do not know, Madam President, whether this is mischief or whether it is that some people cannot read or they do not listen. Because we read it this morning. It is right there, healthcare. Number 98. So, Madam President, I must say that this is mischief. These are people who are hell bent on creating mischief. And every minute it is always health, health, healthcare. Is it today that you all realize St. Jude Hospital was not finished? We found it that way and we are going to finish it. We will finish it. Yes, we will do it. Madam President, OKEU, when this government took office, Madam President, OKEU was not completed as yet. The kitchen was not done. There was no kitchen. There was no cafeteria incomplete. And the laundry room had not even started. That is the OKEU that I keep hearing people talking and talking about how OKEU was ready. Why can't you all open it? Can you open a hospital without a laundry room? Can you open it without a kitchen, Madam President? So, we came in and we are doing it. We have opened it, although we have not completely opened it. Out of care services is offered right now at OKEU. If you have to go and see a doctor at the hospital now, you go to OKEU. It is open. I do not know how you can see a doctor in it if it's not open. If you want to go to dialysis, all our dialysis patients have been dialized, Madam President, at OKEU. Physiotherapy. It is at OKEU. So, what is it we are talking about? The government is not opening OKEU. You all made a big fanfare to name the hospital. I'm President Daira. That is the point of order 37E, 371. Whereas, yes. I have not heard your order, Ms. Stani. Point of order 37E, the contents of the speech. Yes, 37E, 371. This is not an E. I am looking at it. This is 37E. Madam President, I am saying whereas in my deliberations I did mention healthcare, but I think for the last five minutes I have been listening to a lecture at OKEU, which is not part of the motion. I think the point was made that there was a healthcare focus and now the member is going on with OKEU and it's not a health lecture. Minister, you've made your point. Please proceed with the substantive debate. Thank you, Madam President. I'm guided by you, but when people say that we are not spending money on healthcare, this is all about spending money. Building the kitchen, finishing OKEU, that is about spending money on healthcare. That is the point I was trying to make. And we are spending more money. This year we have spent more money on giving medical assistance, Madam President, than any other year. This year and the year isn't, we still have a few more days to go. So I do not know where it is coming from when people talk about healthcare, healthcare not spending money on healthcare. So I want to say, Madam President, that sometimes we may suffer amnesia, but then again with our healthcare services and us beefing up healthcare, we will take care of all of these issues as well. I wish to say, Madam President, that the little bit of money that we are borrowing here, 100 million dollars, to me, should be absolutely no issue because our Prime Minister has guaranteed and of course we made the statements over and over in our campaign. This is a campaign promise. We will not borrow money unless there is a revenue stream. And Madam President, we as Senbushan people, we have to try and be more honest with ourselves. It is not good enough that we repeat statements and put it the way that we want it to sound without saying the statement and keeping it in context. We always kept saying, we are going, we will not borrow money unless there is a revenue stream. And in the case of the airport, the revenue streams are clear. Leader of government business has explained it. It has been explained to deaf in the lower house. The revenue streams are very, very clear. So, Madam President, without further ado, I want to say that I support this bill, this motion, 100 percent. I know that my cabinet, my government is doing everything they can to develop the south. We know that that place was like a desert. And now we are starting to see activity in the south. The saddest thing, Madam President, is about this bill is that this is activity that we are creating in the former prime minister's constituency in Viewfort, for the people of Viewfort, for the people of the south. And you find that there is so much opposition that causes you to ask, why? Is it that we have designed, this former government has designed programs to keep the people in the south poor? And because we are coming now and changing the modus operandi, changing the investments that you are seeing in the south, not little handouts like before. Big projects, Madam President, projects that will make a difference in the lives of the people of St. Lucia. Is that why we are getting so much opposition that we still believe only one set of people should be rich and well off? That is going to make the people of the south too comfortable? And therefore, we are afraid. The begging mentality, Madam President, is what this motion is going to address. We have to help our people to stand up on their own two feet, help our country to grow, to develop. And this is what this motion is about, Madam President. Therefore, in wishing everybody again Merry Christmas, Happy New Year, I stand 100% behind this motion. Honourable Leader of Government Business. Madam President, when we came here this morning, my fellow Senators on this side came up to with almost an agreement that we would not prolong the Senate today. We believe, Madam President, that the motion before us would have at least given the supports of the opposition. But in the usual style, the usual style, Madam President, of opposing everything that is good, they oppose. Madam President, we have not come into this house for 2017 and 2018 and part of 2016 to present any motion where the opposition has supported. Not one motion. Motion. I am talking about money bills, money stuff. Madam President, it's a very sad day that we are here today to guarantee, Madam President, boring by the St. Lucia A&C Authority. We are guaranteeing, that's the key word here, Madam President, we are guaranteeing, which means, Madam President, that although the liability, it is contingent liability on the books of government, it's contingent, in other words, Madam President, if slasher fails, which is very unlikely, Madam President, if the default and the loan, therefore the liability is on the, becomes that of the government. But it makes it look, the opposition makes it look like the government is the one boring the money. We are not boring money, Madam President, we are guaranteeing, this is as far as I will say, and as far as this is concerned, Madam President, because it seems to be echoed on the opposition side that we are boring money. We are not boring money, not boring money. Now, Madam President, in terms of the rebots, in fact, this morning, again, I, the leader of opposition business, I actually made a joke of him and I said to him that it's my understanding that he's, he's closer home, he's coming home, and he pretended that he doesn't understand what I'm saying and I say, which home are you referring to? I refer to him as the, I refer to him to the story in the Bible that speaks of the prodigal son, who wanted a way, things were nice at his home, Madam President, but he decided to wander away and and it is my understanding that he is coming back home. So I'm not to show Madam President by telling him that, he believed that he was already home, because he spoke like he was home, because like he was on the government side, Madam President, because the things that we push and we say and we talk about on this side as far as privatization is concerned, Madam President, he spoke of these things. I was very surprised, Madam President. So he gave a lot of support to a lot of the things that we have said in the past, Madam President, as far as the privatization of entities that can do the work that government is doing. Basically, and of course, Madam President, there was talk about the PPP and how he praised the PPP, Madam President, conveniently, conveniently. So I'm waiting for the time when we will be coming to talk about OKEU or any PPP project. All I have to do, Madam President, for presentation for the Senate, is to go to Hansard and quote everything the Leader of Opposition Business have said, because he seems to be an advocate for PPP. Madam President, in support of PPPs now, the opposition looks to other jurisdictions that have undertaken the PPP or the privatization of the airports. And interestingly, Madam President, the Leader of Opposition Business, he spoke of Barbados as the example of a country that is undertaking the privatization of the airports. But, Madam President, Barbados has absolutely no choice. Barbados is currently under an IMF program. And that's one of the conditions that was placed on them, and they had to agree to it. And thankfully, Madam President, that we won the elections in 2016 or else would have been just like Barbados with no choice but to privatize our airports. But we are in a position now, Madam President, where we don't have that, we have an option, and that option is to run and operate our own international airports. Madam President, it is very sad also, Madam President, that the last administration of the United Workers Party had put in place the collection of an airport development tax, or airport development or airport departure tax. I think it took effect around 2010, 2010, thereabouts. And as soon as the Labour Party came in, right after a few months, less than a year, that ADT tax was repealed. And in the coffers of government, Madam President, in a lockbox, we already had in the region about $53 million to $54 million, Madam President. I have absolutely no idea why the Minister of Finance, the former Prime Minister of St Lucia, at that time, did that. Because, Madam President, it was money being collected without affecting, I mean, we increased the taxes, the departure taxes, it had absolutely no effect on visitor arrivals. But yet still, Madam President, you went ahead and removed it. And if we had done so, Madam President, we would have not been in the house today, borrowing such, the 100 million US dollars for the redevelopment of the Euronewra International Airport. Now, Madam President, I did a little research. And there are about 17,678 international airports worldwide, 17,678 international airports. Out of this amount, only 15 percent are privatized. 15 percent, Madam President. If it is so good, why only 15 percent? If it is so good, why only 15 percent of the 17,678 international airports are privatized? And, Madam President, and mind you, most of these that are privatized, privatized, Madam President, is because they were under certain control and they had absolutely no choice. I don't know of any, and going back to what my fellow senators said earlier, because of high security concerns. I don't believe that there is one privatized airport in the United States, not one. So, Madam President, I know a lot was asked by the two senators, independent senators, and the questions and the questions they asked, very, very good questions. And excellent questions. But, Madam President, I need to remind the two senators, independent senators, that there is a process by which such questions that they ask can come to the Senate. They can ask questions, but you can forward the questions to the Clerk of Parliament, which will be forwarded to me as the leader of government business, and then I'll provide these answers at the sitting of the Senate. Because we are here, Madam President, we are here to present this resolution, this resolution, and asking for terms and conditions of the loan and stuff like that. That's not for the parliament. That's not for the Senate. We don't talk about this here. Finance, acts, resolution of parliament, to authorize, to authorize the Minister for Finance to guarantee, boring, by the St. Lucia A&C for the Authority to finance the Euronoa International Airport Development. So, coming here, Madam President, and asking about who would be the contractor, who would be beating. Madam President, this is not the place for this, the Senate. It's not. The only responsibility of the government here is to guarantee the boring. So, if, Madam President, if these questions had, had, were sent to the Clerk and the Clerk sent it to me, I would have made it my duty to ensure that these answers or the questions would have been answered and be presented to the Senate today. So, that's the process, Madam President, and I'm hoping that the independent senators and some of the questions that the opposition Senate also ask do require such process. So, Madam President, independent, the independent Senator Francis, she spoke about we have, we have boring, no, we have unprecedented boring, unprecedented. And she quoted a number, Madam President, of a one billion dollars. She said, we have come in this house so far for the year and borrow over a billion dollars. Madam President, I need to correct this. I need to correct this. I need to correct this. Not this time around, I said over this period. Over a billion. Let me tell you why, Madam President, this is not the case because this, the current budget in which we operate is a 1.4 something or 1.5 billion dollar budget, 1.5 billion dollar budget. And out of that 1.5 billion dollar budget, Madam President, the recurrent revenues, the recurrent revenues is 1.1 billion dollars, 1.4, 1.1 billion dollars, which means, Madam President, the difference between the recurrent revenues and that of the total budget is what we have to go out to seek. And there are various ways of funding the difference. And that difference, Madam President, most times is through loans. So the maximum amount we can actually, we came, in fact, I believe we, in terms of grants and loans and bonds, it amounted to about the 400 million dollars, Madam President. So there's no way we have come to this house to borrow beyond what we were appropriated for in the budget. No way, Madam President. If we do so, we have to do it through a supplementary budget, but we have not come to this house to seek additional borrowings beyond what we were authorized through the appropriations bill. So it's no way, Madam President. There are times we come here, madam, we, there are times we come here to, to authorize the rule of our debt. We come here sometime, Madam President, for the, to, to, to renew our overdraft facility. So I'm not to show, Madam President, if the independent senator added these numbers and make it look like we have come to this house and borrow over a hundred, a one billion dollars. So I wanted to make this clear, this is not the case. Madam President, I will not answer or respond to every comment that was made or contribution of the, the members opposite. For example, when Senator Gideon spoke about, he tried to relate borrowing with salary increase. I don't know what, what, what class he learned this from, Madam President. Where, because we're borrowing more, we have to give increased salaries. I don't know that, I don't know what relationship is. I don't know how to relate these two. And there seems to be, Madam President, a common theme emanating from the opposition. Whenever we come to borrow money here for something, they speak of something else. And interestingly, Madam President, they spoke of healthcare. And I'm happy that the, my fellow senator was able to address that, that, that, that concern that it was raised. But going back, Madam President, to the, to the contribution of the leader of opposition business, where he praised the PPP model. And as I've said, Madam President, this morning, that there are times when the government must go through a PPP, must. But in this case here, Madam President, when we can operate our own international airport, when we are able to finance or contribute to the financing of the airport, we don't see the need for it. But the last administration believed that there was a need for that. And therefore, Madam President, based on the report that was prepared by the IFC, that's a briefing of their assessment. I want to read, Madam President, I'll make this a document on how it's, Madam President. I just want to show you, Madam President, where they gave some scenarios, or two scenarios. The scenario for, if we do not go through a PPP, or on a serious scenario, if we go with a PPP. Just some highlights, Madam President. And before you do so, could you tell me from what you're citing? It's a Renewer International Airport PPP Reserve Pride Determination, and that is May 2016. And it was actually written by the International Finance Corporation World Bank Group. So, Madam President, if... It should be made up a document of the House before you quote from it, unless there is consensus that it can be quoted now. So, Madam President, I can make it a document of the House if they agreed after the presentation.
| 48,308
|
https://stackoverflow.com/questions/77003833
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,023
|
Stack Exchange
|
Brian Litzinger, cmgchess, https://stackoverflow.com/users/13583510, https://stackoverflow.com/users/16425
|
English
|
Spoken
| 173
| 433
|
Algolia React InstantSearch: How to filter based on 2 similar parameters?
Hopefully the title is clear, but I have a scenario where I have 2 price range slider fields that a user can search on, Sale Price and Lease Price. I need to return results in which the item can fall in between either price range. I've defined the operator="or" but it doesn't seem to do anything. It appears to be doing an AND selection, so items from Algolia that are within both price ranges return.
What do I need to do to get this to work?
I have two of these components on the page, one for Sale Price and one for Lease Price.
<ReactSlider
className="price-slider"
value={[range.min, range.max]}
disabled={disabled}
markClassName="slider-mark"
min={min}
max={max}
operator="or"
pearling
minDistance={minDistance}
withTracks
snapDragDisabled={false}
ariaLabel={['Lower thumb', 'Upper thumb']}
ariaValuetext={state => `Slider value ${state.valueNow}`}
thumbClassName="slider-thumb"
trackClassName="slider-track"
renderThumb={renderThumb}
onAfterChange={onChange}
onSliderClick={onSliderClick}
/>
Each one outputs a slider:
The request query that it generates:
shop?page=1&configure[hitsPerPage]=18&range[sh_sale_price][min]=14680&range[sh_sale_price][max]=119012&range[sh_lease_price][min]=7347&range[sh_lease_price][max]=49972
do you have a logic for building the query?
Nothing custom, the instantsearch components are building the query.
| 10,743
|
https://stackoverflow.com/questions/44392430
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,017
|
Stack Exchange
|
Eugene, https://stackoverflow.com/users/2056178, https://stackoverflow.com/users/453596, kamaci
|
English
|
Spoken
| 105
| 159
|
AtomicInteger as Column at Hibernate
I use Spring Data JPA and has an entity which has a counter:
@JsonIgnore
@Transient
private AtomicInteger accessCounter = new AtomicInteger(0);
It is a counter an accessed by multi threads. I want to save its int value at DB when I save that entity. How can I do it?
At first glance, you definitely should remove @Transient for that. Second, you should explain Hibernate how to persist AtomicInteger type to some database column, e.g. int.
I've marked it as @Transient because Hibernate tries to create a tinyblob column. I thought that I can use another int field for such purpose.
| 38,873
|
https://stackoverflow.com/questions/38678253
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,016
|
Stack Exchange
|
Halnex, Qevo, https://stackoverflow.com/users/3479566, https://stackoverflow.com/users/5816643
|
English
|
Spoken
| 234
| 539
|
How to convert this short if statement in Laravel into a long one?
I have a short if else statement that I'm having trouble converting into a full one.
The reason is I would like to include some html inside instead of just text.
Auth::user()->likes()->where('status_id', $status->id)->first() ? Auth::user()->likes()->where('status_id', $status->id)->first()->like == 1 ? 'You like this post' : 'Like' : 'Like'
Please note that I am doing this inside a blade template.
It should translate to:
if(Auth::user()->likes()->where('status_id', $status->id)->first()){
if(Auth::user()->likes()->where('status_id', $status->id)->first()->like == 1){
$var = 'You like this post';
}else{
$var = 'Like';
}
}else{
$var = 'Like';
}
Added $var to save the value, without it it doesn't make much sense.
Also, as it is, you could combine the if constructs via and
if(Auth::user()->likes()->where('status_id', $status->id)->first()
&& Auth::user()->likes()->where('status_id', $status->id)->first()->like == 1){
$if = 'You like this post';
}else{
$if = 'Like';
}
I am doing this inside a blade template, the second snippet works but I have to reload the page to view the results. I guess I need to modify my javascript as well to get the results without page reload.
$likes = Auth::user()->likes()->where('status_id', $status->id)->first();
if ($likes && $likes->like == 1) {
$text = 'You like this post';
}
else {
$text = 'Like';
}
This is returning a json array {"id":39,"user_id":14,"status_id":21,"created_at":"2016-07-30 20:49:35","updated_at":"2016-07-30 20:49:35","like":1} You like this post
@Halnex You must provide more context in your questions or it will be impossible to help you.
| 27,186
|
https://ar.wikipedia.org/wiki/%D8%A7%D9%84%D8%B3%D8%B1%D8%A8%D8%A9%20%28%D9%83%D8%B9%D9%8A%D8%AF%D9%86%D8%A9%29
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
السربة (كعيدنة)
|
https://ar.wikipedia.org/w/index.php?title=السربة (كعيدنة)&action=history
|
Arabic
|
Spoken
| 30
| 98
|
السربة هي إحدى قرى عزلة أسلم ناشر بمديرية كعيدنة التابعة لمحافظة حجة، بلغ تعداد سكانها 65 نسمة حسب تعداد اليمن لعام 2004.
مراجع وروابط خارجية
المركز الوطني للمعلومات باليمن
السربة
| 33,510
|
https://pl.wikipedia.org/wiki/Janusz%20Batugowski
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Janusz Batugowski
|
https://pl.wikipedia.org/w/index.php?title=Janusz Batugowski&action=history
|
Polish
|
Spoken
| 229
| 589
|
Janusz Batugowski (ur. 2 lutego 1948 w Opatowie, zm. 4 września 2022) – polski piłkarz występujący na pozycji obrońcy, trener piłkarski.
Życiorys
Był piłkarzem OKS Opatów, Stara Starachowice i Błękitnych Kielce. Ukończył Akademię Wychowania Fizycznego w Warszawie, ukończył także kurs na trenera I klasy.
Był trenerem Błękitnych, z którymi w 1991 roku uzyskał awans do II ligi. W maju 1992 roku Batugowskiego zastąpił Ireneusz Adamus. Batugowski ponownie objął stanowisko trenera Błękitnych w październiku tego samego roku, zastępując Władysława Mroza. Ogółem na poziomie drugiej ligi prowadził kielecki klub przez trzy sezony.
W 1994 roku został zatrudniony przez KSZO Ostrowiec Świętokrzyski. W 1995 roku uzyskał z KSZO awans do II ligi. Rok później odszedł z klubu i objął funkcję trenera Błękitnych Kielce.
W latach 2001–2002 prowadził Pogoń Staszów. W kwietniu 2002 roku został szkoleniowcem pierwszoligowego wówczas KSZO. W maju prowadzeni przez niego piłkarze wygrali baraż o utrzymanie z Górnikiem Łęczna. Szkoleniowcem KSZO Batugowski był do października 2002 roku, kiedy to zastąpił go Włodzimierz Małowiejski. Ogółem prowadził klub w 15 meczach I ligi, z których jego piłkarze wygrali cztery.
W latach 2003–2004 ponownie był trenerem Pogoni Staszów. Był także szkoleniowcem oldbojów KSZO.
Zmarł 4 września 2022 roku.
Przypisy
Polscy piłkarze
Polscy trenerzy piłkarscy
Piłkarze Stara Starachowice
Piłkarze Błękitnych Kielce
Trenerzy piłkarzy KSZO Ostrowiec Świętokrzyski
Absolwenci Akademii Wychowania Fizycznego Józefa Piłsudskiego w Warszawie
Ludzie urodzeni w Opatowie
Urodzeni w 1948
Zmarli w 2022
| 20,579
|
https://meta.stackexchange.com/questions/267925
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,015
|
Stack Exchange
|
Gabriela M, Janewit.J, MB96, Tessaract, https://meta.stackexchange.com/users/1038390, https://meta.stackexchange.com/users/1038391, https://meta.stackexchange.com/users/1038392, https://meta.stackexchange.com/users/1088830, https://meta.stackexchange.com/users/1088831, https://meta.stackexchange.com/users/158100, https://meta.stackexchange.com/users/174091, ivan_pozdeev, lucas zhang, rene
|
English
|
Spoken
| 139
| 197
|
Prevent profiler pane from obstructing the view
As the profiler pane grows, it starts obstructing the edit area:
There doesn't seem to be any way to prevent this save for deleting it from DOM by hand.
The ideas are: make it collapsible, cleanable or semi-transparent.
Personally, I can hide it with an ad blocker, but I wish to rather have it fixed for everyone.
Transparency doesn't seem a good idea - it will still make it harder to read the code.
This is only the case for screens sizes below 1024px, right?
My screen is 1024x768. I tried on a larger resolution and found out: the page content is limited to 980px width, and the profiler pane is 64px wide. So, it obscures the content if the browser window is less than 1108px wide since the content is centered.
| 49,499
|
https://fa.wikipedia.org/wiki/%D8%AA%D9%88%D8%AA%E2%80%8C%D9%81%D8%B1%D9%86%DA%AF%DB%8C%20%DA%86%DB%8C%D9%86%DB%8C
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
توتفرنگی چینی
|
https://fa.wikipedia.org/w/index.php?title=توتفرنگی چینی&action=history
|
Persian
|
Spoken
| 172
| 513
|
توت فرنگی چینی که به زبان محلی با نام یانگمی شناخته میشود، میوه آن با رنگ قرمز یا ارغوانی مایل به قرمز شبیه به توپ کوچک کرک دار خیلی زیبا بوده. درختان یانگمی عمدتاً در پارکها و باغها جنبهٔ زینتی داشته و میوههای قرمز رنگ آنها دارای طعمی دوست داشتنی هستند. هسته بزرگ یانگمی حدود نیمی از کل حجم میوه را به خود اختصاص میدهد.
شرح
این درخت همیشه سبز بین ارتفاع ۰ الی ۲۰ متر رشد دارد پوست تنه آن صاف. رنگ میوهها از سفید تا قرمز و قرمز و ارغوانی فرق میکند.
توت فرنگی چینی :بیشترین کاربرد این درخت نوع زینتی آن بوده که واقعاً زیبا و دیدنی خصوصاً وقتی میوه میدهد. در کاربرد دیگر میتوان خشک شده میوه آن که بومیها با نام Yumberry از آن نام میبرند. طعم دهند ههای ماست، نوع ترشی بسیار خوشمزه و آن، مربا، آب میوه بسیار لذیذ آن، تزیین شیرینی و …
منابع
توتفرنگیها
درختان زینتی
گیاگان چین جنوبی-مرکزی
گیاهان باغی آسیا
گیاهان بومی جمهوری خلق چین
مقالههای دارای واژگان به زبان ژاپنی
| 21,935
|
https://ru.wikipedia.org/wiki/%D0%9F%D0%B8%D1%80%D0%B0%D1%82%D1%8B%20XXI%20%D0%B2%D0%B5%D0%BA%D0%B0
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Пираты XXI века
|
https://ru.wikipedia.org/w/index.php?title=Пираты XXI века&action=history
|
Russian
|
Spoken
| 186
| 661
|
«Пираты XXI века» — шестой студийный альбом ска/панк-рок-группы «Ленинград».
«Пираты XXI века» стал одним из самых успешных альбомов группы.
Песня «WWW» вывела Ленинград на вершину хит-парада «Чартова дюжина», на неё был снят анимационно-коллажный клип. Другой клип был снят на песню «Мне бы в небо».
Список композиций
Участники записи
Сергей «Шнур» Шнуров — вокал, бас-гитара, гитара, акустическая гитара, шумы
Роман «Ромэро» Фокин — саксофон
Александр «Сашко» Привалов — труба
Василий «Кузнечик» Савин — тромбон
Алексей «Микшер» Калинин — ударные, перкуссия
Александр «Пузо» Попов — большой барабан, вокал
Дмитрий «Антенна» Мельников — ударные
Дэн Калашник — гитара
Григорий «Зонтик» Зонтов — саксофон
Роман «Шухер» Парыгин — труба, гитара
Михаил Гопак — тромбон
Владислав «Владос» Александров — тромбон
Андрей «Дед» Кураев — бас-гитара
Денис «Кащей» Купцов — барабаны
Константин «Лимон» Лимонов — гитара
Максим «Макс» Темнов — бас-гитара, контрабас
Денис «Дэнс» Можин — барабаны
Всеволод «Казаться Рада» Андреев — бэк-вокал
Света Колiбаба — подпевки
Ссылки
«Пираты XXI века» на сайте Discogs.com
«Пираты XXI века» на сервисе «Яндекс.музыка»
Журналы
Play 2002 № 4 (№ 16), стр. 52. Алексей Мажаев — Пираты XXI века
Альбомы группы «Ленинград»
Альбомы в стиле ска
| 22,223
|
https://pl.wikipedia.org/wiki/Ksi%C4%85%C5%BC%C4%99cy%20Las
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Książęcy Las
|
https://pl.wikipedia.org/w/index.php?title=Książęcy Las&action=history
|
Polish
|
Spoken
| 31
| 86
|
Książęcy Las – osada leśna w Polsce położona w województwie wielkopolskim, w powiecie leszczyńskim, w gminie Święciechowa.
W latach 1975–1998 miejscowość administracyjnie należała do województwa leszczyńskiego.
Przypisy
Bibliografia
TERYT
Święciechowa (gmina)
| 17,746
|
https://ru.wikipedia.org/wiki/%D0%A7%D0%B5%D0%BC%D0%BF%D0%B8%D0%BE%D0%BD%D0%B0%D1%82%20%D0%90%D0%B7%D0%B8%D0%B8%20%D0%BF%D0%BE%20%D1%81%D0%B0%D0%BC%D0%B1%D0%BE%202016
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Чемпионат Азии по самбо 2016
|
https://ru.wikipedia.org/w/index.php?title=Чемпионат Азии по самбо 2016&action=history
|
Russian
|
Spoken
| 42
| 134
|
Чемпионат Азии по самбо 2016 года прошёл в городе Ашхабаде (Туркменистан) 26 — 30 мая.
Медалисты
Мужчины
Женщины
Боевое самбо
Ссылки
2016
самбо
самбо
Международные спортивные соревнования в Ашхабаде
2016 год в самбо
Май 2016 года в Азии
Чемпионаты Азии в Туркменистане
| 6,488
|
https://stackoverflow.com/questions/73752738
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,022
|
Stack Exchange
|
Huthaifa Muayyad, https://stackoverflow.com/users/13558035
|
Slovenian
|
Spoken
| 359
| 1,051
|
How to convert model type of list to array in flutter?
I have model type of list, That list is used to collect id and speciality of user.
specialityList is a list.
var specialityList = <SpecialityDatum>[].obs;
SpecialityDatum is Model,
class SpecialityDatum {
SpecialityDatum({
this.id,
this.speciality,
this.status,
this.createdAt,
this.updatedAt,
this.deletedAt,
});
int? id;
String? speciality;
int? status;
DateTime? createdAt;
DateTime? updatedAt;
dynamic deletedAt;
factory SpecialityDatum.fromJson(Map<String, dynamic> json) => SpecialityDatum(
id: json["id"]??0,
speciality: json["speciality"]??"",
status: json["status"]??"",
createdAt: json["created_at"] != null ? DateTime.parse(json["created_at"]) : null,
updatedAt: json["updated_at"] != null ? DateTime.parse(json["updated_at"]) : null,
deletedAt: json["deleted_at"],
);
Map<String, dynamic> toJson() => {
"id": id,
"speciality": speciality,
"status": status,
"created_at": createdAt,
"updated_at": updatedAt,
"deleted_at": deletedAt,
};
String toStringView(){ // what ever you name it
return '$speciality'; // if you want to show id and speciality as string
}
}
I want to convert that model list into array, like below,...
Output : [{"speciality_id":12,"speciality_name":"orthopedic"},{"speciality_id":13,"speciality_name":"hyoerthing"}]
Usex a for loop to iterate over the items in output and add them to a list.
Try this:
var result = specialityList.map((e) => e.toJson()).toList();
result would be a list of map that contain Speciality like id, status and other.
there is an easy and short way to do this is:
spouse you have out put in list of map:
var output=[{"speciality_id":12,"speciality_name":"orthopedic"},{"speciality_id":13,"speciality_name":"hyoerthing"}]
var listofObj= output.map((e) => e.toJson()).toList();
Try this
class SpecialityDatum {
SpecialityDatum({
this.id,
this.speciality,
this.status,
this.createdAt,
this.updatedAt,
this.deletedAt,
});
int? id;
String? speciality;
int? status;
DateTime? createdAt;
DateTime? updatedAt;
dynamic deletedAt;
factory SpecialityDatum.fromJson(Map<String, dynamic> json) => SpecialityDatum(
id: json["id"]??0,
speciality: json["speciality"]??"",
status: json["status"]??"",
createdAt: json["created_at"] != null ? DateTime.parse(json["created_at"]) : null,
updatedAt: json["updated_at"] != null ? DateTime.parse(json["updated_at"]) : null,
deletedAt: json["deleted_at"],
);
Map<String, dynamic> toJson() => {
if(id != null) "speciality_id": id, // changed
if(speciality != null) "speciality_name": speciality, // changed
if(status != null) "status": status, // changed
if(createdAt != null) "created_at": createdAt, // changed
if(updatedAt != null) "updated_at": updatedAt, // changed
if(deletedAt != null) "deleted_at": deletedAt, // changed
};
String toStringView(){ // what ever you name it
return '$speciality'; // if you want to show id and speciality as string
}
}
and then you need to map it to new list like:
var mapedSpecialityList = specialityList.map((e) => e.toJson()).toList();
| 8,470
|
https://en.wikipedia.org/wiki/Leping
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Leping
|
https://en.wikipedia.org/w/index.php?title=Leping&action=history
|
English
|
Spoken
| 65
| 133
|
Leping () is a county-level city in the northeast of Jiangxi province, China. It is under the administration of the prefecture-level city of Jingdezhen.
Administrative divisions
Leping City has 2 subdistricts, 14 towns and 2 townships.
2 subdistricts
Jiyang ()
Tashan ()
14 towns
2 townships
Luci ()
Shiligang ()
Transportation
Rail
Leping is served by the Anhui–Jiangxi Railway.
Climate
References
Administrative subdivisions of Jiangxi
| 15,144
|
https://stackoverflow.com/questions/71133957
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,022
|
Stack Exchange
|
Alian Nadeem, D Malan, Eljan Mahammadli, Mohammed, https://stackoverflow.com/users/13454016, https://stackoverflow.com/users/14779443, https://stackoverflow.com/users/16968977, https://stackoverflow.com/users/3486675
|
English
|
Spoken
| 445
| 982
|
scraper returning empty when trying to scrape in beautiful soup
Hi so i want to scrape domain names and their prices but its returning null idk why
from bs4 import BeautifulSoup
url = 'https://www.brandbucket.com/styles/6-letter-domain-names?page=1'
response = requests.get(url)
soup = BeautifulSoup(response.text,'html.parser')
names = soup.findAll('div', {'class': "domainCardDetail"})
print(names)
If you print the response, you'll see it says something about a Cloudflare CAPTCHA. You could use something like Selenium or cloudscraper to try and bypass it.
You should use playwright iphone webdriver because this website is protected by cloudflare
Try the following approach to get domain names and their price from that site. The script currently parses content from the first page only. If you wish to get content from other pages, make sure to use the desired page number here page=1 which is located within link.
import requests
from bs4 import BeautifulSoup
link = 'https://www.brandbucket.com/styles/6-letter-domain-names?page=1'
url = 'https://www.brandbucket.com/amp/ga'
payload = {
'__amp_source_origin': 'https://www.brandbucket.com'
}
with requests.Session() as s:
s.headers['User-Agent'] = 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36'
res = s.get(link)
soup = BeautifulSoup(res.text,'html.parser')
payload['dp'] = soup.select_one("amp-iframe")['src'].split("list=")[1].split("&")[0]
resp = s.get(url,params=payload)
for key,val in resp.json()['triggers'].items():
if not key.startswith('domain'):continue
container = val['extraUrlParams']
print(container['pr1nm'],container['pr1pr'])
Output are like (truncated):
estita.com 2035
rendro.com 1675
rocamo.com 3115
wzrdry.com 4315
prutti.com 2395
bymodo.com 3495
ethlax.com 2035
intezi.com 2035
podoxa.com 2430
rorror.com 3190
zemoxa.com 2195
Check the status code of the response. When I tested there was 403 from the Web Server and because of that there is no such element like "domainCardDetail" div in response.
The reason for this is that website is protected by Cloudflare.
There are some advanced ways to bypass this.
The following solution is very simple if you do not need a mass amount of scraping. Otherwise, you may want to use "clouscraper" "Selenium" or another method to enable JavaScript on the website.
Open the developer console
Go to "Network". Make sure ticks are clicked as below picture.
https://i.stack.imgur.com/v0KTv.png
Refresh the page.
Copy JSON result and parse it in Python
https://i.stack.imgur.com/odX5S.png
thanks man i got the json result you said but where do i put it in? i'm really noob thanks again
You can treat this as a Python dictionary and parse the information you need.
hey man in this i only want data-domain and data-price what should i do? this is the code titles = soup.find_all("a", class_="toggle-fav toggle-fav-thumbnail-icon")
In the solution, I provided you do not need to use soup selectors. You can just copy and paste response and access values using dictionary keys.
yeah bro i got that but that query is from another website i almost got it but don't know how to print the data-domain and data-price within class. really appreciate your help tho
| 1,067
|
https://war.wikipedia.org/wiki/Entodesmium%20niesslianum
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Entodesmium niesslianum
|
https://war.wikipedia.org/w/index.php?title=Entodesmium niesslianum&action=history
|
Waray
|
Spoken
| 61
| 119
|
An Entodesmium niesslianum in uska species han Fungi in nahilalakip ha divisio nga Ascomycota, ngan nga syahan ginhulagway ni Gottlob Ludwig Rabenhorst ngan Gustav Niessl von Mayendorf, ngan ginhatag han pagkayana nga asya nga ngaran ni Lennart Holm hadton 1957. An Entodesmium niesslianum in nahilalakip ha genus nga Entodesmium, ngan familia nga Lophiostomataceae. Waray hini subspecies nga nakalista.
Mga kasarigan
Entodesmium
| 40,112
|
https://sk.wikipedia.org/wiki/Majstrovstv%C3%A1%20Eur%C3%B3py%20v%20basketbale%20mu%C5%BEov%202013
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Majstrovstvá Európy v basketbale mužov 2013
|
https://sk.wikipedia.org/w/index.php?title=Majstrovstvá Európy v basketbale mužov 2013&action=history
|
Slovak
|
Spoken
| 271
| 748
|
Majstrovstvá Európy v basketbale mužov 2013 boli v poradí 38. majstrovstvá Európy v basketbale mužov, ktoré organizuje Európska basketbalová federácia (FIBA Europe). Konali sa v piatich slovinských mestách: Ľubľana, Koper, Novo mesto, Jesenice a Ptuj od 4.22. septembra 2013, za účasti 24 tímov. Naposledy sa ME mužov konali v Juhovýchodnej Európe v roku 2005, keď ich hostilo Srbsko a Čierna Hora. Svoj prvý titul získali hráči Francúzska, ktorí vo finále zdolali Litvu. Obhajcovia titulu zo Španielska skončili bronzoví.
Majstrovstvá tiež slúžili ako kvalifikácia na Majstrovstvá sveta 2014, ktoré sa uskutočnia v Španielsku. Kvalifikovalo sa na ne 6 najlepších družstiev.
Voľby
O organizáciu ME 2013 sa uchádzalo 6 krajín: Bosna a Hercegovina, Česko, Chorvátsko, Nemecko, Slovinsko a Taliansko. Iba 2 krajiny, Slovinsko a Taliansko, však poslali do FIBA Europe oficiálne prihlášky. Taliansko ale v októbri 2010 svoju kandidatúru stiahlo. Rozhodnutie o pridelení organizácie Slovinsku padlo v decembri 2010 v Mníchove, v sídle FIBA Europe.
Kvalifikácia
Arény
Nasadenie do výkonnostných košov
Pozn: V zátvorke je uvedené aktuálne umiestnenie v medzinárodnom rebríčku FIBA v roku 2012.
Výsledky
Základné skupiny
Skupina A
Ľubľana (Hala Tivoli)
Skupina B
Jesenice
Skupina C
Celje
Skupina D
Koper
Nadstavbové skupiny
Ľubľana (Arena Stožice)
Skupina E
Skupina F
Play-off
Ľubľana (Arena Stožice)
Štvrťfinále
Stretnutia o 5.8. miesto
Stretnutie o 7. miesto
Stretnutie o 5. miesto
Semifinále
Stretnutie o 3. miesto
Finále
Konečné poradie
Referencie
Iné projekty
Externé odkazy
Oficiálna stránka ME 2013
Neoficiálna stránka ME 2013
Zdroje
ME 2013 na archívnej stránke FIBA
ME 2013 na stránke todor66.com
ME 2013 na stránke eurobasket.com
ME 2013 na stránke linguasport.com
Basketbal v 2013
Majstrovstvá Európy v basketbale mužov
Basketbal
2013 v Slovinsku
| 20,346
|
https://askubuntu.com/questions/856891
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,016
|
Stack Exchange
|
Kyle H, anubhav, https://askubuntu.com/users/606053, https://askubuntu.com/users/626963
|
English
|
Spoken
| 880
| 1,451
|
Unable to connect to smb share over USB
I need little help here.
I have a Blackberry Z10, and I am not able to access its storage through smb via USB on Ubuntu 16. The feature works well on Ubuntu 14 though.
Here is what I have found out -
(On my Ubuntu 16 installation)
$ dpkg -l | egrep 'smb|samba'
ii libsmbclient:amd64
ii python-samba
ii samba-common
ii samba-common-bin
ii samba-libs:amd64
ii smbclient
$ diff lsmod_before_bb_connect.txt lsmod_after_bb_connect.txt
1a2,5
> cdc_mbim 16384 0
> cdc_wdm 20480 1 cdc_mbim
> cdc_ncm 32768 1 cdc_mbim
> usbnet 45056 2 cdc_mbim,cdc_ncm
99c103
< mii 16384 1 r8169
---
> mii 16384 2 r8169,usbnet
$ sudo nmap MY_USBNET_IP
Starting Nmap 7.01 ( https://nmap.org ) at 2016-12-02 19:15 IST
Nmap scan report for MY_USBNET_IP
Host is up (0.0020s latency).
All 1000 scanned ports on MY_USBNET_IP are filtered
Nmap done: 1 IP address (1 host up) scanned in 21.68 seconds
(On Ubuntu 14 live session)
$ sudo nmap MY_USBNET_IP
Starting Nmap 6.40 ( http://nmap.org ) at 2016-12-02 14:40 UTC
Nmap scan report for MY_USBNET_IP
Host is up (0.0021s latency).
Not shown: 994 closed ports
PORT STATE SERVICE
80/tcp open http
139/tcp open netbios-ssn
443/tcp open https
445/tcp open microsoft-ds
1111/tcp open lmsocialserver
8443/tcp open https-alt
Nmap done: 1 IP address (1 host up) scanned in 76.95 seconds
Firewall status says it's inactive on my computer.
I have no clue how to fix this, can anyone here help me?
Thanks.
I have already enabled 'Access via Wifi' in my phone settings.
Are you trying to access the usb over the network, or attached to your localhost? nmap is for seeing open ports on networked devices, not usb ports. English overloading the word 'port'... However, I do see a tutorial online saying that blackberry provides ip network access over usb though that can be used by ubuntu to connect to it's internal smb storage. Do you have samba installed and the ntfs-3g package for ntfs support (this may not be needed) installed?
My device emulates itself as a usb ethernet interface (actually 2 interfaces, one for debugging), or at least that's how it appears to me. It then connects using that interface, and assigns an IP address to the pc. I passed the phone's IP address to nmap in the test above.
I have Samba installed, and I can access the smb share on my phone through WLAN, but not through USB.
Would you please share the link of the tutorial you referred to?
I believe this is the one I found yesterday. http://atodorov.org/blog/2013/07/17/tip-how-to-enable-usb-networking-between-blackberry-z10-and-red-hat-enterprise-linux-6/
Yes that's the procedure I follow. What's different though is that with the new update we don't need to manually select 'Windows' or 'Mac' on phone, infact no such option exists now.
The problem I could make out is that ports 445 and 139 appear to be filtered to Ubuntu. Might be a problem with the driver. In desperation I even replaced the usbnet kernel module binary with the one installed with Ubuntu14(4.4.0.39) but that won't load. Could you suggest me something that might work?
If those are filtered ports, and they were open before the update, it is possible that you just need to open up those ports using ufw, the ubuntu firewall program. Try turning off the ufw service when accessing the device, that will tell if it is the firewall.
Does it present you any options at all when connecting with it like 'Windows' or 'Mac'?
I actually was referring to the phone OS update, BB10.2.1 did not have this Win/Mac option ever since its arrival AFAIR. Regarding ufw, I already had checked it and ufw reported that it's disabled(as I had stated in original post). Moreover I can access smb shares using WLAN, so my understanding removes firewall from the list of potent causes of the issue. BTW I have zero experience with ufw. . . . The USB host OS detection is now automated in BB10. With mass storage turned off, when I connect my Z10 to linux, 2 new network interfaces show up. Windows -> few options apear 'Install driver' etc
I wonder if there is a kernel module you need to install in linux to support this new network since windows prompts about it on connect? Maybe check the bb website for drivers for linux? You could try the live distro of arch or openSuse that have the most up to date drivers since they are rolling releases. Both worth a check. Does audacity or ragnarok recognize this device? If you run 'udevadm monitor' while plugging in the device, does udev recognize it and do any automated actions?
I just found a workaround brother! :) Ubuntu 16 was adding 3 new entries in the routing table against 1 entry in 14, when the phone was connected. Of these 3, I deleted the entry named <Z10_hostname>.local which had flags UGH set and genmask all ones. The other extra entry did not appear to cause any trouble. Nautilus can happily connect to my device now :). Thanks for bearing with me, I appreciate it.
great to hear! I was hoping you would find a way to get this working, was an interesting problem to troubleshoot. I am always happy to help, feel free to post again. Have a great day!
| 6,629
|
https://sv.wikipedia.org/wiki/Ceratobaeus%20haqi
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Ceratobaeus haqi
|
https://sv.wikipedia.org/w/index.php?title=Ceratobaeus haqi&action=history
|
Swedish
|
Spoken
| 35
| 68
|
Ceratobaeus haqi är en stekelart som beskrevs av Muhammad Iqbal och Austin 2000. Ceratobaeus haqi ingår i släktet Ceratobaeus och familjen Scelionidae. Inga underarter finns listade i Catalogue of Life.
Källor
Externa länkar
Steklar
haqi
| 37,873
|
https://stackoverflow.com/questions/29723430
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,015
|
Stack Exchange
|
https://stackoverflow.com/users/4510197, ikanyu
|
English
|
Spoken
| 411
| 740
|
Mark as Sold Ruby rails
I am trying to implement a button 'Sold' for user if he/she sold the item. What I have in mind on trying to implement this is to add a new column to my product's table. And if it is sold, I will then need to update attribute of the data. If referring to this link, http://apidock.com/rails/ActiveRecord/Base/update_attributes
This is something that I should do? Am I right?
model/product
class Product < ActiveRecord::Base
attr_accessible :sold
end
product controller
def sold
@product = Product.find(params[:product_id])
@product.sold = 'true'
save
redirect_to product_path
end
views/products/show
<button type="button" class="btn btn-default"><%= link_to 'Sold', idontknowwhatotputhere %></button>
This also relate to what I am unsure with. What should I put at the link_to? and also how do I tell my application to relate to the def sold I have stated earlier?
Well, a couple things here.
Don't do special actions in the controller unless you have a good reason to do so. All you are doing is updating a product. So name the route 'update'. And then in the link just do a put request with the sold=true. Keeps things RESTful and conventional.
Once you do that, in your controller you will want to do validation and such.
def update
if product && product.update(product_params)
redirect_to product_path
else
redirect_to edit_product_path
end
end
private
def product
@product ||= Product.find(params[:id])
end
def product_params
params.require(:product).permit(:sold)
end
3.To add the link in your application to update it will be something like this.
<%= link_to 'Mark as sold', product_path(@product, product: {sold: true} ), method: :put %>
Okay.. I know this sounds stupid. How do I actually at the link do a put request with sold = true? Can you give an example of it? Sorry for my questions because I just recently learned RoR on my own. Actually by referring to your codes above, currently I do have the products#update because it is generated by scaffold. So Product has a edit page separately to update the price and so on. But I want the button to update automatically without having to direct to the product edit page i mentioned earlier.
Your first need to declare the route, something like this in routes.rb :
resources :products do
get :sold, on: :member
end
then that route should generate a path helper like 'sold_product' and you can use it like:
<button type="button" class="btn btn-default"><%= link_to 'Sold', sold_product(@product.id) %></button>
you can check the helpers using 'rake routes'
about update the attribute, you can use:
@product.update_attribute(:sold, true)
| 12,566
|
https://stackoverflow.com/questions/45228170
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,017
|
Stack Exchange
|
https://stackoverflow.com/users/6220679, skrx
|
English
|
Spoken
| 225
| 526
|
Pygame Not Responding
I'm learning pygame, and I just entered a few basic lines to try to move a ball across my window, but after displaying the image, the window will just freeze.
import pygame
pygame.init()
screen = pygame.display.set_mode((640, 480))
ball = pygame.image.load("ball.png").convert()
ball_rect = ball.get_rect()
white = (255,255,255)
frames = 100
for x in range(frames):
screen.blit(ball, ball_rect) # display player
ball_rect.move(2, 2) # move player
pygame.display.update()
pygame.time.delay(100)
screen.fill(white) # erase player
The window is not freezing, it's just refreshing the same image at the same place during the 10 seconds you have set.
This is mostly caused by the method used to move the image, you should use move_ip instead of move as a quick fix (doc).
Another change you can do is replace the for loop by a while, to let the player quit when he wants :
import pygame
pygame.init()
clock = pygame.time.Clock()
screen = pygame.display.set_mode((640, 480))
ball = pygame.image.load("ball.png").convert()
ball_rect = ball.get_rect()
white = (255,255,255)
looping = True
while looping:
for event in pygame.event.get():
if(event.type is pygame.QUIT):
looping = False
screen.fill(white) # erase player
screen.blit(ball, ball_rect) # display player
ball_rect.move_ip(2, 2) # move player
pygame.display.update()
clock.tick(10) # to keep the same FPS, better increase !
# Thanks skrx !
Better instantiate a clock clock = pygame.time.Clock() and then call clock.tick(desired_frame_rate) each frame to limit the frame rate. pygame.time.delay makes games unresponsive.
| 16,864
|
https://az.wikipedia.org/wiki/Can%20Az%C9%99rbaycan%20%28mahn%C4%B1%29
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Can Azərbaycan (mahnı)
|
https://az.wikipedia.org/w/index.php?title=Can Azərbaycan (mahnı)&action=history
|
Azerbaijani
|
Spoken
| 105
| 384
|
Can Azərbaycan — azərbaycanlı müğənni Aygün Kazımova və rusiyalı müğənni Filipp Kirkorovun duetidir. Mahnı "SS Production" tərəfindən hazırlanıb. Bu layihə ilə tarixdə ilk dəfə əcnəbi müğənni Azərbaycana mahnı həsr edib. Layihənin təşəbbüskarı isə Aygün Kazımova olmuşdur.
Mahnı haqqında
Sözləri Oleg Vladi-yə, musiqisi Alişer-ə aiddir. Layihənin musiqi prodüseri Alişerdir.
Klip haqqında
Klip Filipp Kirkorovun 30-31 oktyabr tarixlərində Bakı Konqres Mərkəzində baş tutan solo konserti zamanı lentə alınıb. Mahnıya klipi bəstəkar-rejissor Alişer çəkmişdir.
Yaradıcı heyəti
Söz: Oleg Vladi
Musiqi: Alişer
Rejissor: Alier
Prodüser: "SS Production"
Hit parad
İstinadlar
Xarici keçidlər
Rəsmi Musiqi Videosu
Həmçinin bax
Aygün Kazımova mahnıları
Azərbaycan dilində mahnılar
2019-cu ilin mahnıları
Rus dilində mahnılar
| 23,672
|
https://ceb.wikipedia.org/wiki/Phyllanthus%20papenooensis
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Phyllanthus papenooensis
|
https://ceb.wikipedia.org/w/index.php?title=Phyllanthus papenooensis&action=history
|
Cebuano
|
Spoken
| 68
| 121
|
Kaliwatan sa tanom nga bulak ang Phyllanthus papenooensis. Una ning gihulagway ni Jacques Florence, ug gihatagan sa eksakto nga ngalan ni Warren Lambert Wagner ug David H. Lorence. Ang Phyllanthus papenooensis sakop sa kahenera nga Phyllanthus, ug kabanay nga Phyllanthaceae.
Kini nga matang hayop na sabwag sa:
Society Islands
Walay nalista nga matang nga sama niini.
Ang mga gi basihan niini
Tanom
Tanom sa Society Islands
Phyllanthus (Phyllanthaceae)
| 21,918
|
https://sh.wikipedia.org/wiki/Werlte
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Werlte
|
https://sh.wikipedia.org/w/index.php?title=Werlte&action=history
|
Serbo-Croatian
|
Spoken
| 123
| 323
|
Verlte () je opština u njemačkoj saveznoj državi Donja Saksonija. Jedno je od 60 opštinskih središta okruga Emsland. Prema procjeni iz 2010. u opštini je živjelo 9.407 stanovnika. Posjeduje regionalnu šifru (AGS) 3454057.
Geografski i demografski podaci
Verlte se nalazi u saveznoj državi Donja Saksonija u okrugu Emsland. Opština se nalazi na nadmorskoj visini od 32 metra. Površina opštine iznosi 63,8 km². U samom mjestu je, prema procjeni iz 2010. godine, živjelo 9.407 stanovnika. Prosječna gustina stanovništva iznosi 148 stanovnika/km².
Međunarodna saradnja
Reference
Literatura
Vidi još
Njemačka
Njemačke pokrajine
Popis gradova u Njemačkoj
Nemački jezik
Nemci
Institucije Savezne Republike Nemačke
Vanjske veze
Zvanični sajt opštine
Nem. Savezni zavod za statistiku
Stalna konferencija gradova i opština
KommOn - Informacioni sistem gradova, opština i okruga.
| 23,533
|
https://electronics.stackexchange.com/questions/531672
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,020
|
Stack Exchange
|
https://electronics.stackexchange.com/users/103831, https://electronics.stackexchange.com/users/22244, user1584421, user4574
|
English
|
Spoken
| 287
| 389
|
KiCAD - Symbol for power connector
I am trying to create what is to be my first pcb, and also my first arduino shield.
The circuit requires the power connector (power jack) that the arduino has.
I am sure i can find that footprint inside KiCAD.
But what do i select for schematic symbol?
Can you put the connector part number in your question. That would make it much easier to construct detailed answers.
@user4574 Hmmm i don't know the connector part number, and neither do i know where to find this infomation.
If you tell me which Arduino board model you are plugging into then you or myself can look up the mating part numbers from its schematic.
FOR THE SYMBOL:
The symbol for a connector is typically just a rectangle with a line of pins on it. The specifics of the symbol don't really matter. The only thing that matters is that you have the right number of pins on it and that the pin names on the symbol match the pin names in the footprint.
a) You can use the KI-CAD symbol editor to make the connector symbol.
b) You can look for any other connector symbol that has the same number of pins and use that.
FOR THE FOOTPRINT:
a) You can see if one is in the library.
b) If you have the part number for the connector you can get a datasheet for it. Using the datasheet you can use the KI-CAD footprint editor to make what you need. Making a footprint usually only takes a few minutes.
Since KiCAD doesn't care: any connector symbol with the same number of pins will do. Make sure that the numbering stays the same.
| 8,051
|
https://ar.wikipedia.org/wiki/%D8%A7%D9%84%D9%82%D8%A7%D8%B9%D8%AF%D8%A9%20%D8%A7%D9%84%D8%B9%D9%84%D9%8A%D8%A7%20%28%D8%A3%D9%81%D9%84%D8%AD%20%D8%A7%D9%84%D8%B4%D8%A7%D9%85%29
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
القاعدة العليا (أفلح الشام)
|
https://ar.wikipedia.org/w/index.php?title=القاعدة العليا (أفلح الشام)&action=history
|
Arabic
|
Spoken
| 32
| 103
|
القاعدة العليا هي إحدى قرى عزلة بني حفيظ والمكارمة بمديرية أفلح الشام التابعة لمحافظة حجة، بلغ تعداد سكانها 183 نسمة حسب تعداد اليمن لعام 2004.
مراجع
المركز الوطني للمعلومات باليمن
القاعدة العليا
| 32,725
|
https://stackoverflow.com/questions/4411280
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,010
|
Stack Exchange
|
Carlo Ninobla, Navid, OMG Ponies, Pratyush Raj, https://stackoverflow.com/users/135152, https://stackoverflow.com/users/9304599, https://stackoverflow.com/users/9304600, https://stackoverflow.com/users/9304601, https://stackoverflow.com/users/9306702, https://stackoverflow.com/users/9306877, https://stackoverflow.com/users/9307315, sobczi, webwart, yerzp
|
English
|
Spoken
| 230
| 327
|
How are inserts into a temp table reported in a SQL Server trace
CREATE TABLE #names (
[name] nvarchar(max)
);
INSERT INTO #names ([name])
SELECT CustomerName from CustomerInformation
Where status=3
Will the INSERT INTO #names... show up in a SQL Server trace as an INSERT to a table in tempdb or a select from CustomerInformation. Or will both show up in the trace?
Basically, will the trace show the statement as a insert or a select?
You can't specify an existing table if you use SELECT ... INTO - there's no need for the CREATE TABLE statement.
Depends what event you're actually looking for in the Trace:
SQL:StmtCompleted and SP:StmtCompleted will show the statement that executed: INSERT INTO ... SELECT FROM ...
SQL:BatchCompleted will show the complete SQL batch (request) that executed: CREATE TABLE ...; INSERT INTO ... SELECT FROM ....
Other events enabled in the Trace will show up accordingly (locks, security audits, query plans etc etc). But the gist of your question is: INSERT INTO ... SELECT ... FROM ... is one single statement, not two statements.
Your statement will appear in the trace once, exactly as you enter it. The database associated with the statement will be the current database when the command is executed. Since you don't specify a database in the FROM clause, the current database will be the database where the CustomerInformation table resides.
| 4,357
|
https://de.wikipedia.org/wiki/Ernst-August-Stra%C3%9Fe%20%28Hannover%29
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Ernst-August-Straße (Hannover)
|
https://de.wikipedia.org/w/index.php?title=Ernst-August-Straße (Hannover)&action=history
|
German
|
Spoken
| 316
| 603
|
Ernst-August-Straße in Hannover war der Name einer historisch gewachsenen Straße, die über die ehemalige Leineinsel Klein-Venedig führte. Der Straßenzug mit einigen ehemals denkmalgeschützten Fachwerkhäusern, die zum Teil im 16. Jahrhundert errichtet worden waren, wurde nach den Luftangriffen auf Hannover im Zweiten Weltkrieg und im Zuge der Anlage des Leibnizufers in der Calenberger Neustadt 1956 aufgehoben und Teil der heutigen Schloßstraße, die vom Holzmarkt und am Leineschloss im hannoverschen Stadtteil Mitte vorbei über die Leine zum Leibnizufer führt.
Geschichte
Die Straße, die anfänglich als Auf der Brücke bekannt geworden war, querte schon um das 14. Jahrhundert die Leine über zwei anfänglich hölzerne Brücken: Die seinerzeit sogenannte „Alte Brücke“ am Leintor und eine über den später zugeschütteten Leinearm zur Calenberger Straße als Teil der alten Stadtbefestigung Hannovers führende Zugbrücke.
1830 wurde der Verkehrsweg Brückstraße benannt. Hier hatte zur Zeit des Königreichs Hannover beispielsweise der städtische Lohgerberamtsmeister Hermann Theophilus Söhlmann das Gebäude mit der Hausnummer 6 für seinen Sohn Johann Christoph erworben, dem das Gebäude als Lohgerberei an der Leine diente.
1845 wurde die Straße nach dem in der Residenzstadt des Königreichs Hannover regierenden König Ernst August in Ernst-August-Straße umbenannt. Ab demselben Jahr wurde die Straße für den Verkehr verbreitert, die Fassaden der bisherigen Gebäude jedoch zum Teil nur zurückversetzt.
So blieb die Substanz von zum Teil mehrere Jahrhunderte alten Gebäude bis in die erste Hälfte des 20. Jahrhunderts erhalten, von denen der Denkmalpfleger Arnold Nöldeke in den 1920er Jahren die Bürgerhäuser mit den Hausnummern 2, 3 (abgebrochen im Jahr 1903), 8 und 10 als Kunstdenkmäler beschrieb.
Literatur
Arnold Nöldeke: Liste der Bürgerhäuser, in ders.: Die Kunstdenkmale der Stadt Hannover, Teil 1 und 2: Denkmäler des "alten" Stadtgebietes Hannover, in: Die Kunstdenkmäler der Provinz Hannover Bd. 1, H. 2, Teil 1, Hannover, Selbstverlag der Provinzialverwaltung, Schulzes Buchhandlung, 1932, S. 454–639; hier: S. 496; Digitalisat über archive.org
Weblinks
Einzelnachweise
Innerortsstraße in Hannover
Abgegangenes Bauwerk in Hannover
Calenberger Neustadt
Mitte (Hannover)
| 44,523
|
https://judaism.stackexchange.com/questions/105773
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,019
|
Stack Exchange
|
DanF, Guy, Kazi bácsi, Loewian, chortkov2, https://judaism.stackexchange.com/users/11501, https://judaism.stackexchange.com/users/1362, https://judaism.stackexchange.com/users/15256, https://judaism.stackexchange.com/users/16622, https://judaism.stackexchange.com/users/17563, https://judaism.stackexchange.com/users/19497, https://judaism.stackexchange.com/users/2840, https://judaism.stackexchange.com/users/5275, https://judaism.stackexchange.com/users/9431, larry909, mbloch, rosends, יהושע ק
|
English
|
Spoken
| 321
| 519
|
How to make a personal siddur/birchon/bentsher as a wedding present
I'm looking for a convenient software that allows me to create and design a personal siddur/birchon/bentcher to give as a wedding present. In particular, I would like to have a convenient way to position the text in its right spot, use different Hebrew fonts, add instructions, etc.
Any recommendations?
How do regular publishers do it?
Thanks!
Welcome to Mi Yodeya. Could the Open Siddur project be of help?
Thanks! I have already looked at their website but haven't managed to find such tool. Is there one and I just missed it?
Related (with some very useful links) https://judaism.stackexchange.com/questions/97409/mac-or-pc-computer-file-bencher-in-hebrew-and-english/97412?r=SearchResults#97412
Possible duplicate of Mac or PC computer file Bencher in Hebrew and English
This is not a duplicate. He is asking specifically about designing, not just looking for digital siddur texts.
https://judaism.stackexchange.com/questions/56866/explicit-shaimos-printed-in-prayer-books
@chortkov2 You are right, I am looking for a desining tool
Honestly, I don't see the point for developing a bentscher design tool. If you're not familiar with such software, can't you do in MS Word?
If you already have the text and you're just looking for a software to use, this sounds like a software recommendation question, not a Judaism question. InDesign or Publisher might be the program to use.
I used Word and then printed it to a pdf setting the preferences to print it backwards.
Not to discourage you, but unless you're really seeking to make a fancy design or you just want to try doing this for your own fun and learning, I can vouch from personal experience, that you will find it cheaper and quicker in the long-term to purchase benchers. I found a few places on-line that make colorful small benchers for about $1 each if you order a minimum of 100. Between the time you spend, the ink cost, laminated paper / plastic etc., I think it would cost you more doing this yourself.
| 8,856
|
https://stackoverflow.com/questions/48483157
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,018
|
Stack Exchange
|
Lily, https://stackoverflow.com/users/9245649
|
English
|
Spoken
| 547
| 1,468
|
How can I convert the C# code to python?
I am trying to read a large data file. I have the following code in C#, which can pick up the rows meet the requirement and save them into a separate file. The whole code takes about 20mins to run.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace ConsoleApplication1 {
public class CSVFileConverter {
public string FilePath { get; set; }
public string OutputDirectory { get; set; }
public int numStartLine { get; set; }
public string strFeature { get; set; }
public string[] colNames {get;set;}
private string strcolNames;
private int maxNumOfFiles;
private int m_numofLines = -1;
public int numofLines {
get {
return this.m_numofLines;
}
}
private int colIndex;
private Dictionary<int, StreamWriter> dictSW = new Dictionary<int, StreamWriter>();
public CSVFileConverter(string filepath, string output, string feature, int numstartline) {
this.FilePath = filepath;
this.OutputDirectory = output;
this.strFeature = feature;
this.numStartLine = numstartline;
this.GetColNames();
this.Converter();
this.CloseStreams();
}
private void GetColNames() {
try {
var strline = ReadCSVLines(this.FilePath).First();
strcolNames = strline;
colNames = strline.Split(',');
if (!colNames.Contains(this.strFeature)) {
throw new Exception(string.Format("The File doesn't have this specified feature: {0}", this.strFeature));
} else {
this.colIndex = Array.IndexOf(colNames, this.strFeature);
}
}catch (Exception ex){
Console.WriteLine(ex);
Environment.Exit(0);
}
}
private void OpenFiles() {
for (int i = 0; i <= this.maxNumOfFiles; i++) {
}
}
private void Converter() {
foreach (var strline in ReadCSVLines(this.FilePath)) {
m_numofLines++;
if (m_numofLines < this.numStartLine) continue; //skip lines;
string[] strsplit = strline.Split(',');
int id = 0;
try {
id = Convert.ToInt32(strsplit[this.colIndex]);
} catch {
Console.WriteLine("Line {0} is invalid input: {1} = {2}.",m_numofLines, this.strFeature, strsplit[this.colIndex]);
continue;
}
if (dictSW.ContainsKey(id)) {
var sw = dictSW[id];
sw.WriteLine(strline);
sw.Flush();
} else {
string filename = OutputDirectory + "file"+ id.ToString() + ".csv";
StreamWriter sw = new StreamWriter(filename);
dictSW.Add(id, sw);
sw.WriteLine(this.strcolNames);
sw.WriteLine(strline);
sw.Flush();
}
if (id < 0 || id > 100) {
Console.WriteLine("Line {0} is invalid input: {1} = {2}.", m_numofLines, this.strFeature, id);
continue;
}
if ((m_numofLines % 10000) == 0) {
Console.WriteLine("numLines = {0}", m_numofLines);
}
}
}
private void CloseStreams() {
foreach (var sw in dictSW.Values) {
sw.Dispose();
}
}
private static IEnumerable<string> ReadCSVLines(string filepath) {
using (StreamReader sr = new StreamReader(filepath)) {
while (!sr.EndOfStream) {
string strline = sr.ReadLine();
yield return strline;
}
}
}
}
}
namespace ConsoleApplication1 {
class Program {
static void Main(string[] args) {
//Dictionary<int, List<double>> dict = new Dictionary<int, List<double>> ();
string csvpath = @"D:\data\train.csv";
string folderpath = @"D:\data\processedfiles\";
CSVFileConverter csv_conv = new CSVFileConverter(csvpath, folderpath, "a", 1);
Console.ReadKey();
}
}
}
I wrote something in python that can achieve the same function using chunksize, but it will take 25 hours to run. I am wondering if there is a way to write the similar code in python based on the C# code above.
My python code is below. The command to convert the rows to DataFrame takes the most time.
for chunk in iter_csv:
df=[]
df1=[]
for i in range(0,55):
a_list=[]
df.append(a_list)
for index, row in chunk.iterrows():
i = row['a']
row1 = pd.DataFrame(row)
row1 = row1.transpose()
df[i].append(row1)
j=0
for df1 in df:
if len(df1)>0:
dfnew = pd.concat(df1)
if not os.path.isfile('dfnew' + str(j) + '.csv'):
dfnew.to_csv('dfnew' + str(j) + '.csv')
else: # else it exists so append without writing the header
dfnew.to_csv('dfnew' + str(j) + '.csv',mode = 'a',header=False)
j=j+1
Thank you.
No one can answer this? Please help.
| 45,962
|
https://ta.wikipedia.org/wiki/%E0%AE%87%E0%AE%B0%E0%AF%81%E0%AE%AE%E0%AF%86%E0%AE%A4%E0%AF%8D%E0%AE%A4%E0%AE%BF%E0%AE%B2%E0%AF%8D%204-%28%E0%AE%AE%E0%AF%86%E0%AE%A4%E0%AF%8D%E0%AE%A4%E0%AE%BF%E0%AE%B2%E0%AF%8D%E0%AE%A4%E0%AE%AF%E0%AF%8B%29%E0%AE%AA%E0%AF%80%E0%AE%A9%E0%AF%88%E0%AE%B2%E0%AF%8D%20%E0%AE%AA%E0%AE%BE%E0%AE%9A%E0%AF%81%E0%AE%AA%E0%AF%87%E0%AE%9F%E0%AF%8D%E0%AE%9F%E0%AF%81
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
இருமெத்தில் 4-(மெத்தில்தயோ)பீனைல் பாசுபேட்டு
|
https://ta.wikipedia.org/w/index.php?title=இருமெத்தில் 4-(மெத்தில்தயோ)பீனைல் பாசுபேட்டு&action=history
|
Tamil
|
Spoken
| 61
| 581
|
இருமெத்தில் 4-(மெத்தில்தயோ)பீனைல் பாசுபேட்டு (Dimethyl 4-(methylthio)phenyl phosphate) C9H13O4PS என்ற மூலக்கூற்று வாய்ப்பாட்டால் விவரிக்கப்படும் ஒரு கரிமச் சேர்மமாகும். நிறமற்ற இந்நீர்மம் அகாரிசைடு எனப்படும் மென்னுண்ணிக் கொல்லியாகவும் பூச்சிக் கொல்லியாகவும் பயன்படுத்தப்படுகிறது.
சூடுபடுத்தினால் சிதைவடைந்து நச்சுத்தன்மை மிக்க கந்தக மற்றும் பாசுபரசு ஆக்சைடுகளை வெளியிடுகிறது.
வாய்வழியாகச் சென்றாலோ அல்லது தோலில் அதிக வெளிப்பாடு கண்டாலோ அதிக நச்சுத்தன்மையை உண்டாக்கும். நரம்பு மண்டலம் பாதிக்கப்படலாம் சுவாசச் சிக்கல் ஏற்பட்டு மரணத்தையும் ஏற்படுத்தக்கூடும். (EPA, 1998)
மேற்கோள்கள்
மெத்தில் எசுத்தர்கள்
பாசுபேட்டு எசுத்தர்கள்
தயோயீத்தர்கள்
கரிமச் சேர்மங்கள்
பூச்சிக்கொல்லிகள்
| 7,799
|
https://ko.wikipedia.org/wiki/%EB%B8%94%EB%9F%AC%EB%93%9C%20%EC%98%A8%20%EB%8D%94%20%EC%84%A0
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
블러드 온 더 선
|
https://ko.wikipedia.org/w/index.php?title=블러드 온 더 선&action=history
|
Korean
|
Spoken
| 109
| 477
|
블러드 온 더 선(Blood On The Sun)은 미국에서 제작된 프랭크 로이드 감독의 1945년 액션, 드라마, 전쟁, 스릴러, 멜로/로맨스 영화이다. 제임스 카그니 등이 주연으로 출연하였고 William Cagney 등이 제작에 참여하였다.
출연
주연
제임스 카그니
실비아 시드니
조연
포터 홀
존 에머리
로버트 암스트롱
월리스 포드
로즈메리 드캠프
존 핼로랜
레오나드 스트롱
제임스 벨
마빈 밀러
리스 윌리엄스
프랭크 푸글리아
필립 안
휴 보몬트
그레고리 가에
아서 로프트
이멧 보겐
Charlie Wayne
제작진
미술: 위어드 이넨
의상: 마이클 울프
외부 링크
1945년 영화
영어 영화 작품
미국의 영화 작품
아카데미 미술상 수상작
유나이티드 아티스츠 배급 영화
언론인을 소재로 한 영화
일본을 배경으로 한 영화
미국의 흑백 영화
미국의 전쟁 드라마 영화
| 46,443
|
https://cs.wikipedia.org/wiki/Thrasyb%C3%BAlos%20%28rozcestn%C3%ADk%29
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Thrasybúlos (rozcestník)
|
https://cs.wikipedia.org/w/index.php?title=Thrasybúlos (rozcestník)&action=history
|
Czech
|
Spoken
| 65
| 196
|
Thrasybúlos (Θρασύβουλος, novořecky Thrasyvoulos) je řecké mužské jméno. Známými nositeli byli:
Thrasybúlos (asi 440-388 př. n. l.) – válečník, obnovitel demokracie v Athénách po Peloponéské válce
Thrasybúlos Milétský (7. století př. n. l.) – tyran v Milétu
Thrasybúlos Syrakúský (5. století př. n. l.) – tyran v Syrakusách
Thrasyvoulos Zaimis (1822–1880) – řecký premiér
další význam
Thrasyvoulos FC – řecký fotbalový klub
Rozcestníky - jméno
| 46,720
|
https://sv.wikipedia.org/wiki/Talldungen%20%28naturreservat%29
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Talldungen (naturreservat)
|
https://sv.wikipedia.org/w/index.php?title=Talldungen (naturreservat)&action=history
|
Swedish
|
Spoken
| 43
| 117
|
Talldungen är ett naturreservat i Oskarshamns kommun i Kalmar län.
Området är naturskyddat sedan 1955 och är 5 hektar stort. Reservatet består av tallar på Misterhultsåsen (som är en del av Hjortedsåsen)
Källor
Länsstyrelsen naturreservatet Talldungen
Naturreservat i Oskarshamns kommun
Naturskyddsområden bildade 1955
| 44,152
|
https://stackoverflow.com/questions/55093115
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,019
|
Stack Exchange
|
John Balvin Arias, Sergio Tulentsev, https://stackoverflow.com/users/125816, https://stackoverflow.com/users/8682074
|
English
|
Spoken
| 557
| 1,149
|
Select from slice of channels(sending to a free channel)?
I'm making multiples http request:
type item struct{
me []byte
}
items := getItems()
for _, me := range items {
me.save()
}
In order to do it efficiently I'm doing it with go rutines, my first approach was to make it like a pool of go rutines:
items := getItems()
var wg sync.WaitGroup
wg.Add(len(items))
for _, me := range items {
go func(me item) {
me.save()
wg.Done()
}(me)
}
wg.Wait()
But they all try to make http request at the same time and some of them fail because of my bandwidth can't handle them all.
So I try channels along with select instead :
channel1 := make(chan item)
channel2 := make(chan item)
channel3 := make(chan item)
var wg sync.WaitGroup
items := getItems()
wg.Add(len(items))
go func() {
for me := range channel1 {
me.save()
wg.Done()
}
}()
go func() {
for me := range channel2 {
me.save()
wg.Done()
}
}()
go func() {
for me := range channel3 {
me.save()
wg.Done()
}
}()
for _, me := range items {
select {
case channel1 <- me:
case channel2 <- me:
case channel3 <- me:
}
}
But adding more go rutines to find the max go rutines my bandwidht can handle, my code gets larger and larger, and I try to do this:
max:=7
var channels []chan item
for i:=0;i<max;i++{
channel=make(chan item)
channels=append(channels,channel)
}
for _, me := range items {
select {
//???????????????
}
}
but I'm not prety sure how to do it as the last approach
Also take in mind that "Select from slice of channels" was a question already asked, but their answers were only when select is listening which channel arrive first, in my case I want Select to send any free channel, so it's different
That's an... unusual way of implementing a worker pool. Why not the "standard" way: a task queue which is a [buffered] channel and several worker goroutines?
I tried that way but I was not able to do it, could you provide an example?
Yeah, I'm trying to find a good blog post on the topic I read a while back.
Ah, here it is, check it out: http://marcio.io/2015/07/handling-1-million-requests-per-minute-with-golang/. The author does get carried away with channels, it seems, but there are some good tips in the comments too.
https://gobyexample.com/worker-pools
you are right, it's a great article, thanks !
I had a wrong approach and the answer was easy with
worker pools
type item struct {
me []byte
}
func worker(canalFiles <-chan item, wg *sync.WaitGroup) {
for file := range canalFiles {
file.save()
wg.Done()
}
}
func main() {
var wg sync.WaitGroup
items := getItems()
wg.Add(len(items))
canalFiles := make(chan item)
for i := 0; i < 8; i++ {
go worker(canalFiles, &wg)
}
for _, file := range items {
canalFiles <- file
}
fmt.Printf("waiting.....")
wg.Wait()
}
You can use reflect.Select, creating a slice of SelectCase structs with Dir=SelectSend, like this:
max:=7
var channels []chan item
for i:=0;i<max;i++{
channel=make(chan item)
channels=append(channels,channel)
}
for _, me := range items {
cases := make([]reflect.SelectCase, max)
for j := 0; j < max; j++ {
cases[j] = reflect.SelectCase{
Dir: reflect.SelectSend,
Chan: reflect.ValueOf(channels[j]),
Send: reflect.ValueOf(me)
}
}
reflect.Select(cases)
}
I was looking something like that but it turns out I had a wrong approach and I ended up doing a worker pool
| 49,645
|
bvI2Mq91Pbc_1
|
Youtube-Commons
|
Open Web
|
CC-By
| null |
GIS Midday News Brief (March 28, 2019)
|
None
|
English
|
Spoken
| 354
| 434
|
Coming to you from RGIS Studios, I am Anisia Antoine and this is your Mayday News Brief. The new Larry Shoe's Road is approximately 95% complete with current paving of the finished surface as part of the final phase. The project consisted construction of 1.6km of road, dual carriageway construction, construction of drainage systems and utility transfer work. Federal experts from the Department of Infrastructure were on site recently for a first-hand update and assessment of progress. Permanent Secretary Mr. Ivor Daniel says from all indications, the newly completed paved surfaces as well as other aspects of construction appears to be up to standard. It is scheduled for completion within four weeks. Dialysis services offered to renal patients in the south of the island is expected to be enhanced as the St. Jude Hospital recently installed three new states of the at-dialysis machine. Chairman of the St. Jude Hospital Board, Wayne Harrow, says that he is very pleased that the dialysis machines will assist the hospital in facilitating kidney patients amid the increasing numbers. The St. Jude Hospital now has a total of nine dialysis machines available to the public. The St. Lucia Bureau of Standards has launched a committee to spare head and participate in work on the adoption of international standards for cannabis. This committee brings together representatives of educational and research institutions, states and non-state actors. Representative of the Cannabis Movement of St. Lucia, Randall Bain, said that the move provided comfort that there will be structure when St. Lucia is ready to get on board the cannabis train. The committee is expected to meet four times annually to review the standards for development that are under the work plan. The Department of Sustainable Development, through the increased St. Lucia's capacity to monitor multilateral environmental agreements, implementation and sustainable development project, continues to build the competence of the public and private sector to facilitate the coordination of environmental information. A training workshop recently concluded sought to further greater institutional, systemic and individual level understanding of environmental issues among non-governmental stakeholders. This has been your media news brief. Thank you for watching..
| 63
|
https://nl.wikipedia.org/wiki/Uitsmijter
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Uitsmijter
|
https://nl.wikipedia.org/w/index.php?title=Uitsmijter&action=history
|
Dutch
|
Spoken
| 72
| 143
|
Portier van een uitgaansgelegenheid, zie uitsmijter (beroep).
Brood met spiegelei en kaas en/of ham, zie uitsmijter (gerecht).
Het laatste muziekstuk bij een concert (of op een grammofoonplaat), waarvoor meestal iets vrolijks wordt gekozen.
Het kan ook een andere afsluiter zijn, bijvoorbeeld bij een optocht, als toegift of als het einde van een tentoonstelling.
Een laatste zin als afsluiting van een tekst, bedoeld als grapje of om nog verder over na te denken.
| 19,310
|
https://de.wikipedia.org/wiki/Y%C5%ABsuke%20Higa
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Yūsuke Higa
|
https://de.wikipedia.org/w/index.php?title=Yūsuke Higa&action=history
|
German
|
Spoken
| 166
| 387
|
Yūsuke Higa (; * 15. Mai 1989 in Nago) ist ein ehemaliger japanischer Fußballspieler.
Karriere
Higa erlernte das Fußballspielen in der Schulmannschaft der Ryutsu Keizai University Kashiwa High School sowie in der Universitätsmannschaft der Ryūtsū-Keizai-Universität. Seinen ersten Vertrag unterschrieb er 2012 bei den Yokohama F. Marinos. Der Verein spielte in der höchsten Liga des Landes, der J1 League. 2013 gewann er mit dem Verein den Kaiserpokal. 2014 wurde er an den Zweitligisten Kyoto Sanga FC ausgeliehen. Für Kyoto absolvierte er 18 Ligaspiele. 2015 kehrte er zu den Marinos zurück. 2016 unterzeichnete er einen Vertrag beim Zweitligisten JEF United Chiba. Für JEF stand er 17-mal auf dem Spielfeld. 2018 wechselte er zum Ligakonkurrenten Tokyo Verdy. Ende 2018 beendete er seine Karriere als Fußballspieler.
Erfolge
Yokohama F. Marinos
J1 League
Vizemeister: 2013
Kaiserpokal
Sieger: 2013
Weblinks
Fußballspieler (Yokohama F. Marinos)
Fußballspieler (Kyōto Sanga)
Fußballspieler (JEF United Ichihara Chiba)
Fußballspieler (Tokyo Verdy)
Teilnehmer an den Asienspielen (Japan)
Universiadeteilnehmer (Japan)
Teilnehmer der Sommer-Universiade 2009
Asienspielesieger (Fußball)
Japaner
Geboren 1989
Mann
| 42,361
|
https://ro.wikipedia.org/wiki/Muzeul%20%E2%80%9EAdy%20Endre%E2%80%9D%20din%20comuna%20C%C4%83ua%C8%99
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Muzeul „Ady Endre” din comuna Căuaș
|
https://ro.wikipedia.org/w/index.php?title=Muzeul „Ady Endre” din comuna Căuaș&action=history
|
Romanian
|
Spoken
| 255
| 558
|
Muzeul Memorial Ady Endre este un muzeu din satul Ady Endre, Comuna Căuaș, satul natal al lui Ady Endre, numit odinioară Mecențiu (Eriu-Mețenț, colocvial Mețenț).
Așezământul cultural se compune dintr-o căsuță modestă acoperită cu stuf - locul unde s-a născut poetul, construită la începutul sec. al XIX-lea, precum și o clădire mai mare, construită de familie în anul 1908, în față aflându-se o mare curte, cu multă vegetație peste care stăpânește bustul din bronz al poetului. În căsuța mică, moștenită de mama poetului - Pásztor Mária, tavanul este realizat din scânduri și bârne, iar pereții sunt încărcați de mobilier țărănesc și scoarțe. Ulterior, tatăl poetului, Ady Lőrinc, a adăugat clădirii o încăpere. În zona centrală, este expusă ceramică populară, creând atmosfera din vremea poetului.
Muzeul principal este organizat în corpul de clădire mai nou. Sunt expuse numeroase fotografii și documente. Camera în care a lucrat Ady Endre este plină de mobilier, cărți, picturi, fotografii, iar în mijlocul camerei se găsește un vas cu pământ adus de la mormântul său de la Budapesta.
Casa în care s-a născut poetul maghiar Ady Endre este clasată ca monument istoric, cu . În anul 1953 casa originală a fost incendiată, ea fiind restaurată în forma originală, pe care o putem vedea azi, 4 ani mai târziu, la inițiativa pictorului Aurel Popp, prieten de o viață al poetului, acesta realizând mai multe schițe pentru basorelieful din piatră amplasat pe fațada clădirii, alături de care o placă comemorativă dă indicații minimale.
Note
Muzee din județul Satu Mare
Case memoriale din România
| 5,120
|
https://zh.wikipedia.org/wiki/%E5%B8%82%E6%9D%91%E8%8B%B1%E5%BD%A6
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
市村英彦
|
https://zh.wikipedia.org/w/index.php?title=市村英彦&action=history
|
Chinese
|
Spoken
| 677
| 1,891
|
市村英彦(,),是日本知名经济学家,专长为计量经济学,現任亚利桑那大学教授,东京大学教授。计量经济学会终身会士、国际应用计量经济学会会士、日本经济学会前任会长。
生平
1981年3月,市村英彦从大阪大学经济学部经济学科毕业。1988年1月获得麻省理工学院经济学博士学位。
1987年9月 美国明尼苏达大学经济学部 助理教授
1996年9月 美国匹兹堡大学经济学部 助理教授
1998年9月 美国匹兹堡大学经济学部 副教授
1999年7月 英国伦敦大学学院经济学部
1999年7月 英国伦敦大学学院经济学部 教授
2005年4月 东京大学公共政策大学院 教授
2005年4月 东京大学大学院经济学研究科 教授
2018年8月 美国亚利桑那大学经济学部 教授
著作
共同著作
現代経済学の潮流2007, 小川和夫, 二神孝一, 伊藤秀史 共著 東洋経済新報社 2007年8月 ISBN 978-4492313794.
現代経済学の潮流2008, 池田新介, 浅子和美, 伊藤秀史 共著 東洋経済新報社 2008年8月1日 ISBN 978-4492313930.
現代経済学の潮流2009, 池田新介, 伊藤秀史 共著, 東洋経済新報社, 2009年9月4日 ISBN 978-4492314012.
論文
"Estimation of Polynomial Errors-in-Variables Models," Journal of Econometrics, 50, (December 1991), pp. 273-295, (with Jerry Hausman, Whitney Newey, and James Powell)
"Semiparametric Estimation of Multiple Index Models: Single Equation Estimation," International Symposia in Economic Theory and Econometrics, edited by William A. Barnett, James L. Powell, and George Tauchen, Cambridge University Press, (1991), pp. 3-49, (with Lung-Fei Lee)
"Optimal Smoothing in Single-Index Models," Annals of Statistics, 21, (March 21, 1993), pp. 157-178, (with Wolfgang Haerdle and Peter Hall)
"Semiparametric Least Squares (SLS) and Weighted SLS Estimation of Single-Index Models," Journal of Econometrics, 58(1–2), (June 1993), pp. 71-120
"Sources of Selection Bias in Evaluating Social Programs: An Interpretation of Conventional Measures and Evidence on the Effectiveness of Matching as a Program Evaluation Method," Proceedings of the National Academy of Sciences, 93, (November 1996), pp. 13416-13420, (with James Heckman, Jeffrey Smith and Petra Todd)
"Performance of Matching as an Econometric Estimator: Application to the JTPA Program," Review of Economic Studies, 64, (1997), pp. 605-654, (with James Heckman and Petra Todd)
"Matching as an Econometric Estimator," Review of Economic Studies, 65, (1998(2)), pp. 261-294, (with James Heckman and Petra Todd)
"A Revealed Preference Theory for Non-Expected Utility on “Certain × Uncertain” Consumption Pairs," The Japanese Economic Review, 49, (1998), pp. 54-76, (First author Kazuya Kamiya)
"Maximum Likelihood Estimation of a Binary Choice Model with Random Coefficients of Unknown Distribution," Journal of Econometrics, 86, (1998), pp. 269-295, (with T. Scott Thompson)
"Characterization of Selection Bias Using Experimental Data," Econometrica, 66(5), (1998), pp. 1017-1098, (with James Heckman, Jeffrey Smith, and Petra Todd)
"Propensity Score Matching with Instrumental Variables," American Economic Review, Papers and Proceedings, (2001), pp. 119-124, (with Chris Taber)
"Semiparametric Reduced-Form Estimation of Tuition Subsidies," American Economic Review, Papers and Proceedings, (2002), pp. 286-292, (with Chris Taber)
"Implementing Nonparametric and Semiparametric Estimators," Handbook of Econometrics, Vol. 6B (2007), pp. 5369-5468, E. E. Leamer and J. J. Heckman, eds., Amsterdam: Elsevier, (with Petra Todd)
"Changes in the Distribution of Male and Female Wages Accounting for Employment Composition Using Bounds," Econometrica, Vol. 75, (2007), pp. 323-363, (with Richard Blundell, Amanda Gosling, Costas Meghir)
"Characterization of the asymptotic distribution of semiparametric M-estimators," Journal of Econometrics, 159(2), (2010), pp. 252-266, (with Simon Lee)
"Retirement Process in Japan: New Evidence from the Japanese Study on Aging and Retirement (JSTAR)," Aging in Asia: Findings from new and emerging data initiatives, edited by James P. Smith and Malay Majmundar, National Research Council of the National Academies, The National Academies Press, Washington D.C., pp. 173-204, (with Satoshi Shimizutani)
"Estimating Derivatives in Nonseparable Models with Limited Dependent Variables," Econometrica, 80(4), (2012), pp. 1701-1719, (with Joseph Altonji and Taisuke Otsu)
"The matching method for treatment evaluation with selective participation and ineligibles," Journal of the American Statistical Association, Vol. 108, No. 502, (2013), pp. 441-455, DOI:10.1080/01621459.2013.795447, (with Monica Costa Dias and Gerald van den Berg)
"The educational upgrading of Japanese youth, 1982-2007 Are all Japanese youth ready for structural reforms?" Journal of the Japanese and International Economies, 37, (2015), pp. 100-126, (with Arai, Yoichi and Kawaguchi, Daiji)
"Optimal Bandwidth Selection for the Fuzzy Regression Discontinuity Estimator," Economic Letters, 141, (2016), pp. 103-106, (with Arai, Yoichi)
"Simple Estimators for Invertible Index Models," Journal of Business and Economic Statistics, with discussion, 36(1), (2018), pp. 1-10, (with Hyungtail Ahn, James Powell, Paul Ruud)
"Describing the impacts of COVID-19 on the labor market in Japan until June 2020," The Japanese Economic Review, 72(3), (2021), pp. 439-470, (with T. Fukai, and K. Kawata)
"Simultaneous Selection of Optimal Bandwidths for the Sharp Regression Discontinuity Estimator," Quatitative Economics, 9(1), (2018), pp. 441-482, (with Yoichi Arai)
"The Influence Function of Semiparametric Estimators," Quantitative Economics, 13(1), (2022), pp. 29-61, (with Whitney Newey)
外部链接
市村英彦 東京大学大学院経済学研究科・経済学部
Hidehiko Ichimura CV
日本经济学家
美国经济学家
计量经济学家
大阪大学校友
麻省理工学院校友
亚利桑那大学教师
东京大学教师
经济计量学会会士
日本裔美国学者
| 36,772
|
iLRmX-XcuQo_1
|
Youtube-Commons
|
Open Web
|
CC-By
| null |
Members' Business: Programme Promoting the Benefits of Shared Parenting - 10 January 2023
|
None
|
English
|
Spoken
| 6,603
| 7,656
|
I ask those members who are leaving. The chamber to please do so quickly and quietly. As the final item of business is a member's business debate on motion 6610, in the name of Fulton MacGregor, on programme promoting the benefits of shared parenting. The debate will be concluded without any questions being put, and I would ask those members who wish to speak in the debate to please press the request-to-speak buttons. I call Fulton MacGregor to open the debate up to seven minutes, please, Mr MacGregor. I am delighted to bring this member's debate on shared parenting to the chamber this evening, and I have brought this debate here this evening in my capacity as a convener for the cross-party group on shared parenting. I am pleased to see colleagues from all political parties here to in support of it, and I know that it has been another long day in the chamber where we have ran on, so I do appreciate every day staying on. The cross-party group's secretariat is run by shared parenting Scotland, and I would like to thank them for their support to the cross-party group and to members generally, and particularly John Forsyth, who is in the gallery today, and his colleague Ian Maxwell. I would like to thank them for their support in preparing today's speech as well. Since 2010, shared parenting Scotland continued to support well over 1,000 parents across the country in a number of ways, including through monthly local support meetings, authoring policy papers and other publications, and of course running a helpline. Shared parenting is a concept that is pretty straight forward. In Scotland today, it is estimated that up to 30,000 parents separate every year. Research has also indicated that up to 33 per cent of Scottish children will experience a family separation during their childhood. The notion of shared parenting asserts that the interest of the child is the most important consideration when separated parents make arrangements for their parenting. Although traditionally it has been observed that mothers are much more likely to be the main carer for their children post-separation, shared parenting Scotland has noted that the number of fathers with equal shared care is increasing. Shared parenting Scotland also help those involved with separations that have occurred with same-sex couples too. There is a wealth of research that supports the notion that a child's development is positively impacted if their separated parents are present during their upbringing. For example, the Millennium cohort study was a longitudinal cohort study of around 19,000 children across the UK, which began at the turn of the century. One of the findings of that study was that among children of separated parents, more contact with the non-resident parent was associated with better outcomes for children at the age of 11. Likewise, in a recent study commissioned by Shared Parent in Scotland, which analysed the views and experiences of young people whose parents separated at some point during their childhood, it found that almost all contributors stated that they would have liked to have seen the parent they did not live with more often during their childhood. That all backs up previous debates that I was involved in around shared parental leave in the last session. I have long argued that we need to move away from the outdated notion that the mother should be the primary caregiver and the father, the breadwinner, for want of a better term. Countries with better shared parental leave policies tend to be happier, with more gender barriers, particularly in the workplace, broken down. Those early days of parental involvement can set the groundwork for any decisions that may need to be made regarding shared parenting at a later date. In essence, it stands to reason that the more involved both parents are at the early stage, the more likely that will be sustained, whatever the circumstances might be. In short, when parents separated, it is in the best interest of the child that both parents remain present and involved during the child's development. However, I should stress that there will, of course, be times when shared parenting will not work for every family or may be detrimental to the child and that this approach should only be encouraged when appropriate. The motion that I submitted reasserted this need for separated parents to work together, if appropriate, for the benefit of their children. The motion also highlighted a lack of support for those wanting to engage in shared parenting and that public policy should be introduced to help remedy this issue. It is with these matters in mind that I want to praise a pilot programme that shared parenting Scotland has launched. The new ways for families programme is the first of its kind to be introduced in Europe. At its core, it teaches and reinforces conflict resolution skills for parents going through separation or divorce. That is a key principle as it helps separated parents with conflict management, joint decision making, respectful communication and stress alleviation. Those issues are so often the cause for the breakdown in post-separation parenting. The 12-module online course also includes three one-to-one coaching sessions delivered by experts across the therapeutic, legal and mediation disciplines, all of whom have been trained by the High Conflict Institute. The programme is completed upon the passing of a final examination and this is in order to ensure that participants have understood the content of the 12 modules. I can stand here and praise the goals of the programme, Presiding Officer and the law that is in production, but the most important question is, is it effective? Most recent figures show that just under 30 parents in Scotland have now fully completed the course, shared parenting have an honestly collected feedback and the following quotes from those who have completed the course really underline how beneficial a programme like this can be. One participant said, new ways for families benefits from being online, therefore giving a degree of flexibility to co-parents to complete their online modules when it best suits their lifestyles. Another said, really useful information, I expect I'll use what I've learned regularly as I progress through my parenting journey, have learned some really helpful techniques and tips that will help me with what I'm going through, and a final quote, my coach was beyond excellent, experienced, patient, knowledgeable, the sessions really changed how I relate to my ex-partner and his relationship with our child. Similar programmes have been introduced in North America and I've seen comparable levels of its success. A Canadian version of the programme resulted in 75% of parents maintaining and improving their joint decision making around major decisions for their children and their overall involvement with their children. The programme also resulted in significant decreases in behavioural issues and stress and anxiety levels for the children of the separated parents. Shared parenting in Scotland will launch the new ways for families online training and coaching programme in spring this year for widespread use across Scotland and that was one of the main purposes for bringing this debate to the chamber Presiding Officer, because I wanted to make sure that members are aware of it going forward for their constituents. The pilot programme was funded by the Scottish Government along with the national lottery and a trust fund. Further funding is hoped to be sourced in order to help support the upcoming spring launch. Once established, the programme fees have been projected to cover the costs of providing the online training and coaching as well as the administration costs associated with the programme. Shared parenting in Scotland have also voiced their desire to ensure that free or low-cost places will be offered to parents on benefit or low-income after the launch. I want to thank Shared Parenting Scotland for that commitment. I thank Fulton MacGregor and congratulate him on bringing a debate. He will recall the work that we did in the previous session of Parliament. I brought forward an amendment proposing a presumption of shared parenting and I think that he is absolutely right about the benefits that were seen internationally from that as well as some of the concerns that were expressed about the need to always have the rights of the child at the centre of any decision. Does he believe that through the work of this pilot and the further international evidence that we are perhaps closer to being in a position where that presumption of shared parenting may be safely introduced in a Scottish context? I thank the member for that intervention and I am glad that he took the chance to intervene because he did come up and say to me earlier that it had not been for other commitments he would have been here to participate in the debate. I know that he is a strong advocate of that and in answer to his question I think that we are moving in the right direction but I think that there is so much more to be done. I again want to thank Liam McArthur for his intervention and work in this area. To conclude, I commend Shared Parenting Scotland on their initiative in developing, sorry, piloting and launching this programme. The programme complements other such courses available in Scotland such as parenting apart sessions that are available through local family mediation organisations across the country. This three-hour group session is another resource that separated parents might consider as they transition to living apart while still wanting to remain part of their children's lives. Presiding Officer, when possible, shared parenting should be encouraged and supported. Adulthood relationships do not always work out as people might want. However, the breakdown of a relationship should never mean that the child's wellbeing must suffer. A shared parenting approach can help alleviate the stresses and anxieties that children face during a separation and is beneficial for the parents, children and wider family as a whole. I want to thank you again and thank everybody here in the chamber. I'm grateful for everybody who's going to participate tonight and I'm looking forward to hearing their contributions. Thank you. Thank you, Mr Beggar. I call Bill Kidd to be followed by Stephen Kerr up to four minutes, please, Mr Kidd. Thank you very much, Presiding Officer. Sorry for everybody leaving as I stood up but there you go. Thank you to Fulton MacGregor MSP for raising this debate today and for his important work as convener of the cross-party group on shared parenting. I have followed the issues that are raised by shared parenting Scotland with interest because Glasgow has the highest number of lone parent families out of all the local authority areas in the country with four in 10 families being lone parent led. 91 per cent of children in these cases are only being raised by their mother. That sadly means that a lot of children are growing up in Glasgow without a father figure if we can put it that way in their lives. Avoiding unnecessary relationship breakdown between parents and their children can be complex to navigate especially of course when there has been relationship breakdown between the parents themselves. In these situations it is helpful to have friends, family or support networks in place like neutral third-party organisations that can offer support. Often it is the outside perspective of an organisation like shared parenting Scotland that can facilitate mediation or meeting in neutral areas where a new way forward can be established. That is incredibly important as the impact of having no father or mother in the home can be devastating for children. Sadly in the UK 76 per cent of children and young people in custody grew up in homes without a father. We also know that there are many other poor statistical outcomes involving emotional and behaviour problems, neglect, teen pregnancy, alcohol and substance abuse and poor school performance when there is parental breakdown in the home. Programs that end cycles of the withdrawal of fathers particularly as that is the majority from their families are absolutely pivotal in improving outcomes for children. Wherever possible joint parenting must be at the heart of shared parenting. I would like to highlight a unique initiative taking place in America which is working to combat generational cycles of fatherless homes and criminalisation of children growing up without a father. This initiative is run by a Christian organisation, God Behind Bars, where they work to reunify incarcerated parents with their children so that new memories can be created and relationships built. One in four children over 18.4 million children in the USA are growing up in homes without a father present. As is the case in Scotland, these children are statistically more likely to live in poverty and potentially end up in prison. Statistically 85 per cent of the children in the USA who have a parent incarcerated will end up in prison. The reunification initiative is aimed at combating the generational cycles of incarceration and fatherless homes. Christmas they run the All Is Bright project, where the dads and moms pick out and wrap five or so presents that have been bought by volunteers for each child they have. They also get a new outfit to wear for the day so they do not have to wear prison clothing. They then enjoy a Christmas celebration with their full family, a full Christmas meal, gingerbread house building and games for their children for the whole day. That gives lasting positive memories for little boys and girls, giving their parents an environment where they can build relationships with their children again and an opportunity to start again. As one of the dads said, let me explain something to you. This is the true definition of what hope is. Look at all of what you see, what all these people give us. This is the only definition of hope that any of us need to see. For guys like us who have been down for such a long time, this is it. This kind of work, which puts restoration and transformation at the heart of parenting, is tremendous in its ability to restore relationships and break cycles of fatherless homes. I welcome initiatives like this and share parenting models, which value the role of both parents. As we do more to support this change here in Parliament, we will hopefully begin to see a growing positive impact on social outcomes for children reunified with their fathers and mothers both in their lives. Parenting is likely to be the most important role that many of us will ever have in life, and I have no hesitation in supporting any initiative, whether public or private, to maintain and strengthen the role of parents and the central place of the family as the fundamental unit of society. It is a wonderful gift and blessing to be a parent, to be able to see your child grow and develop new skills and ultimately, wherever it is possible, become self-sufficient. It fills you as a parent with no small measure of feeling of pride in them, something that is actually quite difficult to explain. Make no mistake, a child needs the living example of parents, as has been said by Bill Kidd. No effort should be spared to encourage separated parents to work together for the good of their children. The enduring love of a family is like nothing else in all the world, and it is a huge responsibility to be a parent. You do not get any formal training for one of the greatest roles that you might ever be called upon to play. In those first few years of life, a tiny, helpless person who is wholly dependent on you enters your life. Your mindset must reframe around their needs and make no mistake. It can sometimes feel overwhelming. I know that feeling. I think that every parent does, and when you have more than one child having time and money to send them to all the activities that they become involved with and help them in their schoolwork and give them the love and support that they need is itself a full-time job. Those responsibilities come at a point in life, usually, when both time and money feel like scarce resources. It is quite a job of co-ordination, so every parent who is honest with themselves will tell of times when they feel overwhelmed when the pressure is on and it feels like there is nowhere to turn. What can we do to help? What can we do as parliamentarians to support and provide support to parents in these situations? Is it to remove responsibility, to transfer children's upbringing to an agency or a system determined by a faceless bureaucratic state? Is it to empower parents, as we have been hearing, including supporting separated parents, and to let them fulfil the responsibilities that they have for their child that will make their children feel like the gift they are? The answer is clear, as has been said by previous speakers. It is to empower parents, and every public policy and every piece of proposed legislation should be made to pass the test of family friendliness. Does that support the family? Children must never feel that they are a burden to their parents when they are growing up, if they do. If they do, they will likely experience issues of personal confidence, which will impact on their relationships and the direction of the course of their lives. Every effort that we make to support good parenting—again, as has been highlighted by Fulton MacGregor's motion—is, to me, a solid gold social good. Families in Scotland are gloriously diverse. Every family is unique, and there are circumstances that are fashioned around the people who are in them. I will give way. I thank the member for giving way, and I am enjoying his speech. Mr Kerr mentioned good parenting. As a father of two, there is no such thing as perfect parenting. In the context of this book, we should all accept that we are allowed to make mistakes and that it is not a clear black-and-white issue. We can be the best parents. We seek to be, but there is no such thing as perfect parenting. I completely agree with Bob Doris. It is a work in progress, and we are learning all the time from our children—indeed, in my case, our grandchildren—about how to be a better parent and grandparent. In principle, any status attempt to categorise families or to homogenise families is at odds with the reality of family life in all its varieties. A Government that believes that the answer to everything is to increase its own powers is a Government that is in denial of the nature of the root causes of many of the problems that we face as a society. When more Government is the answer, it is always worth looking to see if it was not the Government that caused the problem in the first place. We must recognise that a one-size-fits-all out-of-the-box solution, which often the state reaches for, rarely works. We must not always reach for the power of the state as if it was the only responsible available to us, because it is, as has been illustrated by that motion. It is why the Scottish Conservatives reject the idea of the state empowering itself at the expense of parents. It is not an ideological position. It is a position that acknowledges that love is the key ingredient in all of our lives, but especially in the lives of children. Ideally, love is added through a family. The family is best supported when the state is working to enable parents and lets families live their lives and pursue happiness in their own way. I now call Roderick Grant, as we follow up by Jeremy Balfour, up to four minutes. I want to congratulate Fulton MacGregor for securing this debate. I also want to acknowledge like him the work of shared parents in Scotland who help parents to work together, despite their differences, to share the care and responsibility of their children and to provide them with the stability that they require. It is inevitable that children face difficulty when their parents part, and there can be a great deal of animosity between parents when a relationship breaks down. The children can feel that they are being pulled in different directions because of this. Therefore, sensitive handling can ease the distress and reassure young people. It is therefore important to support parents to make the right decisions for their children and to help them to reach amicable solutions that put their children first. We have all seen cases where parents have put aside their personal hurt and anger to ensure that the children's relationship with the other parent continues. We need services to recognise the importance of shared parenting. Things like access to housing. Both parents need to have access to adequate housing to provide a home for their child. Too often we see the mother being given access to adequate housing while the father is not housed adequately to allow the children to come and live with him if they are shared parenting. In the majority of cases, both parents being involved in a child's life and future is the best outcome for that child. However, there are exceptions. I am very clear that abusive parents should not have automatic rights of access to their children. Far too often we see family courts being used to continue to perpetrate domestic abuse by one parent to the other. I have many cases where abusive fathers use access to their children to identify where the mother is living in order that they may continue that physical abuse. That is absolutely unacceptable. Neither is it acceptable to place the onus on the child to keep that information secret. I also have constituency cases where abusive fathers use the system to continue control even where there is no physical abuse present. They make arrangements to see the child only to cancel at the last minute. If they become aware that their ex-partner is doing something else while they have the child, they cancel the arrangement or return the child early in order to scupper those plans and exercise their continuing control over their ex-partner. Parents who use their children as weapons should not have access to those children. Neither should parents have access to their children when they cause damage in an abusive relationship. We know that the life chances of children who are brought up in abusive households are severely impacted. It impacts on their ability to learn, on their self-esteem, which goes on to impact on significant aspects of their lives. Those problems are a direct result of domestic abuse. Abusive parents should not have access to children until they can prove that they are no longer abusive and that the well-being of their children comes first. I hope that the Minister will address those concerns and advise how she will prevent abusive parents from continuing to damage their lives of young people even when that relationship has broken up. I would like to see a system where that parent goes through a process of training and acknowledgement of their wrongdoing, a process that ensures that they will no longer continue to perpetrate abuse, a process that they must complete before they can have access to their child. That way we protect young people for far too long. I have seen in my casework the impact of domestic abuse on families and how children are abused and used in that situation. We should not allow it to happen. I look forward to a day where the family court no longer allows themselves to be used as a weapon in domestic abuse cases. I am happy to speak during this member's debate on an important subject that I believe deserves more consideration than often gets. I first of all thank Fulton MacGregor for securing time for his debate. It has been my pleasure to sit on the cross-party group for said parenting. I look forward to continuing the important discussions that take place in that forum. I also wholeheartedly agree with the previous speaker and hope that the minister will address the comments that she made there a few moments ago. Our children deserve to be brought up in a safe, loving and supportive environment, regardless of who they are or where they come from. Without that, their opportunities in life can be severely limited. As my good friend Stephen Kerr said, parenting is a great gift. I can say from personal experience that children can bring a lot of joy into a home. That will certainly be my experience with my twin girls. However, it is also a huge responsibility. It requires us to put others before ourselves and sacrifice for their sake. We often have to put our child's best interests before our own comfort or preference, and that extends to life after family breakdown or appearance separation. There is now a substantial body of research that underlines the benefits of said parenting for children whose parents no longer live together. Outcomes are significantly better for those who have regular contact with both parents, including the one who no longer lives in the home. We are lawmakers, and we should be doing everything that we can do to provide incentives for parents to work together for the benefit of their child. We must support all efforts to support shared parenting, be it from Governments or third sex organisations to ensure that children are being brought up in the best environment possible. That is why I am pleased to support today's motion and praise of shared parenting Scotland for piloting the new ways for families programme, which endeavours to give parents the skills that they need to manage their shared parenting responsibilities. Valuable skills such as emotional management and behaviour to cool things down, to help dialogue between parents and age decisions to be made outside a court. I know from personal experiences being a solicitor and being brought up by a father who did family law all his life, that court is the last place that you want to have to decide on parenting skills and who gets parenting rights. I am pleased that a number of constituents have contacted me regarding the scheme, whose first-hand experience with the course is very complementary of the service. They have told me that it has helped dealing with the situation without letting emotions run high in addition to teaching them the benefits of healing themselves. They describe the coaches as compassionate, brutally honest and attentive. Deputy Presiding Officer, I want to thank again shared parenting Scotland for the real positive difference that they have made in the life of my constituents and others across Scotland and wish for them continued success in the future. I ensure that my children receive the support and nurture that they require and deserve to be fundamental priority for this Parliament. I hope that we can continue to support the valuable work that is going forward. Thank you, Mr Balfour. I now call Bob Doris, who will be the last speaker before I ask the minister to respond up to four minutes. Presiding Officer, I thank you for forwarding the right to speak. I had not intended to speak, but it is a higher quality debate and I want to play my part within those discussions. I start by congratulating Fulton MacGregor, who has been a committee champion on shared parenting issues within his time in this Parliament. That is to commend you on your work in doing that, Fulton. I can also welcome the positivity and dedication of shared parenting Scotland to engage with the legislative process in this place constructively and positively and to engage openly about how to nurture and develop a child's relationship with both parents when there has been a relationship breakdown between those parents, and that is vitally important. As MSPs, we often only hear of parenting issues when things go badly wrong. I think that Rhoda Grant was loading to some of that within her contribution. We will have examples of controlling coercive behaviour, domestic abuse and, of course, being used as a tool and a lever and a power control within the embers of a dying relationship between parents. I know from my experience how contact centres have not been of a required standard, and I am pleased that they will now be regulated, but the Scottish Government and those preparing reports within contact centres back to family courts will now have the skillset that they should have always had in doing that to make informed decisions in relation to childcare orders, and I am pleased to work in partnership with the Government in relation to that. We should say clearly that, in all the examples that I gave, it is not always but predominantly men who have been controlling and coercive behaviour, predominantly but not always men who are involved in domestic abuse and abusing the court system. However, we cannot demonise men. Most dads are great dads, and they are good fathers, and they want to be better fathers. We have to make sure that the structures that we have in society are there for dads as well as mums, but we should put on record that all those negative issues that we talk about impact women on society. I would not do my job properly as a constituency MSP if I did not put that on record. Positive parenting before and after a special breakdown is vital and important. Who was to say, mum and dad, that we are doing a great job or a skilled job in bringing their children up before the relationship breakdown is a difficult job as we have heard, made even more difficult with a relationship breakdown? It is positive parenting before and after a relationship breakdown in new ways for families programmes. It is an innovative approach after that relationship breakdown in relation to that. I wish it every success, and I think that Fulton MacGregor put some of those successes on record, and I look forward to hearing more about that. I was reluctant to intervene because it is quite an awkward thing to intervene on, but I wonder whether the member agrees with me that part of the issue that we are talking about here comes back to something that I said in the debate about. It is a societal issue in terms of whether there is an expectation that mothers, as I said about parental leave, do the main caring, and when people separate, it is the mother who does all the caring. That is a barrier to gender equality. Does the member agree with that? We need a societal and a cultural change around that, and I agree with what Stephen Kerr said that it should not all be about Governments intervening? I thank Fulton MacGregor for that intervention, and I absolutely agree with that. It might be in relation to that. It is an equalities issue, so we have to make sure that dads are doing a sheer parenting role whilst they are still within that relationship. Some of the issues that we have to find is that dads do not pull their weight within the relationship prior to a breakdown. You can understand the indignation of some mums when dads then demand all the rights that they were not exercising before that relationship broke down. You can get the idea of tensions, which is why I think that I am taking those tensions out with that in new ways for families programme as an innovative way. I am dealing with some of that. I want to talk a little bit about how we make sure that we empower dads irrespective of whether there is a relationship breakdown or otherwise. We know very well dads rocks, who are good friends of this Parliament and what they do, but I also hope that that Glasgow North and North Lanarkshire constituency has a dads group. I am also reminded that dads sometimes feel alienated from anti-natal classes within the NHS. I was lucky enough that I could pay for an NCT 2D class in a small group interactive real quality. What does sheer parenting look like for mum and dad? Maybe that is the kind of thing that all parents, when they are starting a family, should be aware of, rather than waiting to talk about sheer parenting when relationships inevitably break up in some circumstances. It is really innovative work from sheer parenting Scotland. I am really pleased that Fulton MacGregor has brought that to the chamber today, but I would really like to hear more about the positive work that we can do before relationships go wrong, because that will empower people to do the right thing once relationships fragment. I now call on the minister, Elena Whitham, to respond to the debate up to seven minutes. I congratulate Fulton MacGregor on securing this important debate, which is actually my first chance as a minister to respond to a debate. What a wonderful debate to do that. That debate is looked at fresh perspectives and initiatives on an area that can often be difficult and challenging. How to bring up children when separating parents do not agree. The debate has raised a number of issues about parents who separate, including support for the children involved and support for the parents. It is in our collective best interest that the rights of children are seen as power mount, and those rights are hugely important when parents do separate. The Scottish Government is pleased to work with Shared Parenting Scotland, and I welcome members to the chamber today. In this financial year, we have provided financial support to them from the children and families portfolio and the justice portfolio. Our total financial support in 2022-23 for Shared Parenting Scotland is 77,574, including some money towards supporting the new ways of families programme mentioned in the motion in the debate. Following my recent appointment as a minister for community safety, I will be meeting with Shared Parenting Scotland on 2 February to learn more about their work and future plans. I am already aware of the valuable work that they carry out through their helpline, their publications, their training, their group meetings, their WhatsApp groups, which is a fantastic thing to allow parents to be able to access them at any of the time that they need. In all of this work support separating parents through what is a stressful, emotional and difficult time. Research published by the Scottish Government notes that the stress that separating parents are going through and the stress and trauma that are regularly raised in the correspondence that we receive from parents going through this situation. This stress and trauma can of course impact on how the parents speak to their children about what is happening and in any disputes or disagreements between separating parents and how to bring up their children, the welfare of the children has to be paramount. The underlying principle is the key in the legislation of the Children's Scotland Act 1995. We need to follow that principle when disputes or disagreements between separating parents about bringing up their children are being resolved outside of courts as well as within the court system. The research carried out by Jamie Wark, who is a Robertson scholar, which is mentioned in the motion, raises how best to support children when parents separate. I congratulate him on carrying out this research and on raising this very important point. The research shows that the separation of parents can have a direct impact on an individual's perception of relationships in their own life, so there can be longer lasting generational impacts as we have heard from members this evening. The Scottish Government has recognised that having separated parents can be one of the adverse childhood experiences or ACEs that we talk about. Jamie Wark's research shows that children may not always have enough support and advice when their parents are separated. Belk had also outlined how this trauma can have lasting effects in his very eloquent contribution. When we think about parents that are apart, especially if incarceration is involved, we need to remember the generational impact that that can have. The Scottish Government plans to consult in 2023 on how best to implement the provisions of the Children's Scotland Act 2020 on child advocacy services. We will include in that consultation some discussion on how best to support children when parents separate whilst recognising that parents, along with other trusted family members, will always be the key source of information for their children. I think that that speaks to some of what Stephen Kerr and others have mentioned. We need, of course, to make it as easy as possible for parents to communicate with their children. One of the aims of the New Ways for Families project, which Fulton has mentioned in his motion and members also, is to make family separation less traumatic and stressful for parents and their children. The aim of the project is to provide and enhance skills in a range of areas such as managing emotions, flexible thinking, moderating behaviour and developing empathy and respect, with the aim to provide parents with the skills and insight to find solutions and to put their children first, which is not always easy at a time when resilience is low and positions can become really entrenched. As Stephen Kerr pointed out rightly, as parents, we do not get a manual when our children are born and this project helps to equip parents in the greatest of endeavours. I think that the skills are transferred into lots of other things within their lives as well, so those skills are really important. The evaluation that North America has, as Fulton mentioned, showed positive results for the New Ways for Families. I am aware that initial feedback from parents who have gone through the pilot in Scotland has also been positive. We have heard some of those experiences brought to life today by Derby, a Balfour's contribution of his constituent and Fulton himself when he has quoted some of the parents who have gone through the pilot. Clearly, the full evaluation of the Scottish pilot is crucial to enable both funders and shared parents in Scotland to consider next steps in this area. I welcome to your parent in Scotland's commitment to evaluate the pilot and look forward to hearing its final results. It will be interesting to see whether that mirror the positives that we have heard from the evaluation of the project in Medicine, Heart and Canada. The reduction in children's experiences of stress and anxiety and stomach aches and headaches and them acting out. I am keen to see that evaluation as it goes forward. The Scottish Government will continue to work with shared parents in Scotland, Scottish Women's Aid, children's organisations and others to improve our family justice system and where possible to encourage resolution of disputes outside of court. I was struck by Rhoda Grant's contribution for a number of reasons, but one of the first ones was roundabout the surrounding housing issues.
| 4,037
|
https://mk.wikipedia.org/wiki/%D0%9F%D0%BE%D0%B4%D0%B3%D0%BE%D1%80%D0%B0%20%D0%BA%D0%B0%D1%98%20%D0%9B%D0%BE%D0%B6
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Подгора кај Лож
|
https://mk.wikipedia.org/w/index.php?title=Подгора кај Лож&action=history
|
Macedonian
|
Spoken
| 34
| 106
|
Подгора кај Лож (словенечки: Podgora pri Ložu) — населба во Општина Лошка Долина во западна Словенија. Областа е дел од историскиот регион Нотрањска. Населбата сега е вклучена во Приморско-нотрањскиот статистички регион.
Општина Лошка Долина
| 1,985
|
https://sv.wikipedia.org/wiki/Mellby%20landskommun
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Mellby landskommun
|
https://sv.wikipedia.org/w/index.php?title=Mellby landskommun&action=history
|
Swedish
|
Spoken
| 59
| 147
|
Mellby landskommun kan avse:
Mellby landskommun, Småland – en tidigare kommun i Jönköpings län 1863–1951
Mellby landskommun, Västergötland – en tidigare kommun i Skaraborgs län 1863–1951
Norra Mellby landskommun – en tidigare kommun i Kristianstads län 1863–1951
Södra Mellby landskommun – en tidigare kommun i Kristianstads län 1863–1951
Stora Mellby landskommun – en tidigare kommun i Älvsborgs län 1863–1951
| 8,699
|
https://hr.wikipedia.org/wiki/NGC%206036
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
NGC 6036
|
https://hr.wikipedia.org/w/index.php?title=NGC 6036&action=history
|
Croatian
|
Spoken
| 52
| 153
|
NGC 6036 je spiralna galaktika u zviježđu Zmiji.
Izvori
Vanjske poveznice
Hartmut Frommert: Revidirani Novi opći katalog
Izvangalaktička baza podataka NASA-e i IPAC-a
Astronomska baza podataka SIMBAD
VizieR
DSS-ova slika NGC 6036
Auke Slotegraaf: NGC 6036 Deep Sky Observer's Companion
DSO-tražilica
Courtney Seligman: Objekti Novog općeg kataloga: NGC 6000 - 6049
6036
| 3,254
|
https://fr.wikipedia.org/wiki/R%C3%A9servoir%20Billings
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Réservoir Billings
|
https://fr.wikipedia.org/w/index.php?title=Réservoir Billings&action=history
|
French
|
Spoken
| 298
| 530
|
Le réservoir Billings (en portugais Represa Billings) est un lac artificiel brésilien situé au sud de l'agglomération de São Paulo. C'est l'un des plus grands réservoirs d'eau de l'État de São Paulo, avec un volume total de près d'un milliard de mètres cubes.
Localisation
Le réservoir Billings s'étend sur au sud et au sud-est de l'agglomération de São Paulo, à cheval sur les municipalités de Santo André, São Bernardo do Campo, Diadema, Ribeirão Pires et São Paulo. Il se présente comme un grand lac aux multiples branches, à une altitude de , au pied de la Serra do Mar et à l'est du réservoir Guarapiranga. Il draine un bassin de . Ses principaux affluents sont le Rio Grande, le Ribeirão Pires, le rio Pequeno, le rio Pedra Branca, le rio Taquacetuba, le Ribeirão Cocaia, le Ribeirão Bororé et le Ribeirão Guacuri.
Le réservoir est traversé par la rodovia dos Imigrantes et la rodovia Anchieta, qui relient São Paulo au littoral.
Histoire
Imaginé en 1923 par l'ingénieur américain Asa White Kenney Billings, employé de l'entreprise São Paulo Tramway, Light and Power, le réservoir a d'abord eu comme fonction d'alimenter l'usine hydroélectrique de Cubatão à partir des eaux du Rio Grande (ou Jurubatuba). Les travaux de commencèrent en 1925 avec la construction d'une première digue.
Le réservoir a été agrandi et rebaptisé Billings en 1949. La prise d'eau potable par la Sabesp a commencé en 1958.
Au début des années 1980, un barrage a été construit pour séparer le corps principal du réservoir du bras di Rio Grande.
Écologie
Les eaux du réservoir Billings sont polluées par le rejet d'égouts domestiques et industriels. Seuls les bras Taquecetuba et Riacho Grande sont utilisés comme sources d'eau potable.
La pêche est très pratiquée: tilapias, carpes, hoplias, astyanax, etc.
Notes et références
Billings
| 46,520
|
https://stackoverflow.com/questions/61672972
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,020
|
Stack Exchange
|
Not A Bot, Philippe, https://stackoverflow.com/users/11926970, https://stackoverflow.com/users/2125671
|
English
|
Spoken
| 651
| 1,772
|
Bash Scripts Are Not Executing From Production Build of Electron App
UPDATE: index.js file content added.
I have this electron app that is executing some bash scrips(*.sh) files to perform some task.
Everything is working absolutely fine in the development environment but when building the production build for deb installer for Ubuntu platform, everything is working, like opening on the app, other NodeJS stuff, but bash scripts are not executing.
Problem Statement: How to execute shell scripts in the production build of an electron app for Linux(Ubuntu OS). Getting this error
app/terminal_scripts/timer.sh Not Found
Below are the detailed explanation for the app.
**Project Directory Setup**:
ProjectName
|
app > css | images | js | renders
terminal_scripts
node_modules
package.json
package-lock.json
Where inside the app directory, I have all CSS, images, js, HTML, and terminal scripts.
package.json:
{
"name": "timer",
"productName": "Timely",
"version": "1.0.25",
"description": "This desktop app shows you system clock",
"main": "app/js/main/index.js",
"scripts": {
"start": "electron .",
"test": "echo \"Error: no test specified\" && exit 1",
"watch": "nodemon --exec 'electron .'",
"dist": "electron-builder"
},
"homepage": ".",
"keywords": [
"Electron",
"Desktop App"
],
"author": "NotABot Ltd <contact@notabot.com>",
"contributors": [
{
"name": "Not A Bot",
"email": "nab@notabot.com"
}
],
"license": "ISC",
"dependencies": {
"desandro-matches-selector": "^2.0.2",
"electron-context-menu": "^1.0.0",
"electron-is": "^3.0.0",
"fix-path": "^3.0.0",
"isotope-layout": "^3.0.6",
"jquery": "^3.5.0",
"jquery-bridget": "^2.0.1"
},
"build": {
"appId": "com.test.timely",
"productName": "Timely",
"linux": {
"target": "deb",
"category": "System"
}
},
"devDependencies": {
"electron": "^8.1.1",
"electron-builder": "^22.6.0"
}
}
HTML:
<html>
<head>
<title>Timely</title>
</head>
<body>
<button onclick="displayTime()">Display Time</button>
<textarea rows="20" cols="90" id="command-output" disabled="true"></textarea>
<script>
const {app} = require('electron');
function displayTime(){
console.log("button clicked");
let cmd = `bash app/terminal_scripts/timer.sh`;
let completeMessage = 'This is the message';
backgroundProcess(cmd, completeMessage);
}
function getCommandOutput() { return document.getElementById("command-output"); };
function getStatus() { return document.getElementById("status"); };
function appendOutput(msg) { getCommandOutput().value += (msg+'\n'); };
function setStatus(msg) { getStatus().innerHTML = msg; };
function backgroundProcess(cmd, completeMessage){
const process = require('child_process');
var child = process.execFile(cmd, [] , {shell: true} );
appendOutput("Processing......");
child.on('error', function(err) {
appendOutput('stderr: '+err );
});
child.stdout.on('data', function (data) {
appendOutput(data);
});
child.stderr.on('data', function (data) {
appendOutput(data );
});
return new Promise((resolve, reject) => {
child.on('close', function (code) {
console.log(`code is: ${code}`);
if (code == 0){
setStatus(completeMessage);
resolve(1);
}
else{
setStatus('Exited with error code ' + code);
resolve(-1);
}
});
});
}
</script>
</body>
</html>
Bash Script:
#!/bin/bash
timer="$(date)"
echo "$timer"
Permission is set 777 for this shell file
Platform Information:
OS: Ubuntu 18.04.4 LTS
NodeJS: 13.6.0
NPM: 6.14.5
Electron: 8.1.1
Electron Builder: 22.6.0
index.js
const {app, BrowserWindow, Menu, Tray, ipcMain, MenuItem} = require('electron');
const path = require('path');
const contextMenu = require('electron-context-menu');
let splashWindow;
function createMainWindow(){
mainWindow = new BrowserWindow({
minHeight: 700,
minWidth: 800,
webPreferences: {
nodeIntegration: true,
webviewTag: true
},
show: false
});
//For dev only
// mainWindow.webContents.openDevTools();
mainWindow.loadFile('app/renderer/index.html');
mainWindow.maximize();
}
app.on('ready', () =>{
createMainWindow();
});
Maybe you can paste a sample of app/js/main/index.js which is in you package.json.
@Philippe I have added index.js file, you can have a look, but I don't think this file is linked with the execution of the shell scripts.
Are you sure app/terminal_scripts/timer.sh is included in production build ? How did you make production build ?
@Philippe Using electron-build. As you can see in my index.html files I am executing the shell files using process.execFile but in production build it is showing app/terminal_scripts_timer.sh is not found.
I have created a new directory alongside the app directory called the termainal_scripts.
Inside this, I have my bash file timer.sh.
I figured out how to execute shell scripts, in production by using process.resourcesPath inside path.join().
So, let the fixed path be as:
let fixedURL = path.join(process.resourcesPath, '/terminal_scripts/');
Then the command to execute will be:
let cmd = `${fixedURL}timer.sh`
Another way is to move flies to a new directory outside app directory and call it as extraResources.
Inside that directory you can add all your bash files and for production you can use below method.
let urlPath = path.join(process.resourcesPath, '/extraResources/')
and then use let cmd = `${urlPath}timer.sh`;
| 48,868
|
https://stackoverflow.com/questions/2687179
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,010
|
Stack Exchange
|
Adrian Grigore, Akim John, Mahfuz Mahfuz, Pete Stensønes, Richard Seese, Sam Warwick, https://stackoverflow.com/users/3873, https://stackoverflow.com/users/5511692, https://stackoverflow.com/users/5511693, https://stackoverflow.com/users/5511694, https://stackoverflow.com/users/5518103, https://stackoverflow.com/users/59301, https://stackoverflow.com/users/595787, https://stackoverflow.com/users/736079, jessehouwing, yb wu
|
English
|
Spoken
| 232
| 420
|
Do I need Team foundation server in order to use CodedUI?
I'd like to write some basic tests for our web and Winforms applications.
I already own Visual Studio 2010 Ultimate. Do I also need TFS in order to use the new CodedUI tests?
No you don't need to have TFS in order to use Coded UI tests. You can create your tests in Visual Studio and run them direct from there, or via mstest. The main benefit TFS will add is the ability to execute tests across multiple physical and virtual tests machines via Test Manager. You will also get central collation of test results in the TFS repository.
How do you edit tests after you have created them? Changing UIMap.uitest by hand is a nightmare there seems to be no ide support in Visual Studio for that.
You edit tests with the Coded UI Test Builder in Visual Studio, you dont have to edit the .uitest file by hand. Check out the Hands-On Lab 'Introduction to Coded UI Tests with Visual Studio 2010 Ultimate'. Its included with the VS2010 RC VM (http://blogs.msdn.com/briankel/archive/2010/03/18/now-available-visual-studio-2010-release-candidate-virtual-machines-with-sample-data-and-hands-on-labs.aspx).
This is a good resource for all-things Coded UI: http://blogs.msdn.com/mathew_aniyan/pages/content-index-for-coded-ui-test.aspx
You might want to check out CUITe It provides a great alternative to UIMaps. http://cuite.codeplex.com/
No, you don't need TFS. Visual Studio 2010 Ultimate is quite enough to record and launch codedUI tests.
Or Premium from 2012 onwards.
| 30,959
|
https://ceb.wikipedia.org/wiki/Morakele%20North
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Morakele North
|
https://ceb.wikipedia.org/w/index.php?title=Morakele North&action=history
|
Cebuano
|
Spoken
| 85
| 139
|
Administratibo nga balangay ang Morakele North sa Sri Lanka. Nahimutang ni sa lalawigan sa North Western Province, sa kasadpang bahin sa nasod, km sa amihanan sa Colombo ang ulohan sa nasod.
Ang klima tropikal nga kasalupan. Ang kasarangang giiniton °C. Ang kinainitan nga bulan Marso, sa °C, ug ang kinabugnawan Hulyo, sa °C. Ang kasarangang pag-ulan milimetro matag tuig. Ang kinabasaan nga bulan Oktubre, sa milimetro nga ulan, ug ang kinaugahan Hulyo, sa milimetro.
Ang mga gi basihan niini
Mga subdibisyon sa North Western Province
| 33,258
|
https://stackoverflow.com/questions/75505932
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,023
|
Stack Exchange
|
Soroosh Noorzad, https://stackoverflow.com/users/4688639
|
Swedish
|
Spoken
| 235
| 870
|
Fail to import excel file
I was trying to import excel file into python, here is my code :
import pandas as pd
df = pd.read_excel('Sales.xlsx')
print(df)
somehow, i get a list of error and i have no idea how to fix it
Traceback (most recent call last):
File "C:\Users\wongs\AppData\Local\Programs\Python\Python311\Lib\site-packages\pandas\compat\_optional.py", line 141, in import_optional_dependency
module = importlib.import_module(name)
File "C:\Users\wongs\AppData\Local\Programs\Python\Python311\Lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
File "<frozen importlib._bootstrap>", line 1142, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'openpyxl'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\wongs\OneDrive\Desktop\utar\y2s3\data mining\P2 TASK 3.py", line 3, in <module>
df = pd.read_excel('Sales.xlsx')
File "C:\Users\wongs\AppData\Local\Programs\Python\Python311\Lib\site-packages\pandas\util\_decorators.py", line 211, in wrapper
return func(*args, **kwargs)
File "C:\Users\wongs\AppData\Local\Programs\Python\Python311\Lib\site-packages\pandas\util\_decorators.py", line 331, in wrapper
return func(*args, **kwargs)
File "C:\Users\wongs\AppData\Local\Programs\Python\Python311\Lib\site-packages\pandas\io\excel\_base.py", line 482, in read_excel
io = ExcelFile(io, storage_options=storage_options, engine=engine)
File "C:\Users\wongs\AppData\Local\Programs\Python\Python311\Lib\site-packages\pandas\io\excel\_base.py", line 1695, in __init__
self._reader = self._engines[engine](self._io, storage_options=storage_options)
File "C:\Users\wongs\AppData\Local\Programs\Python\Python311\Lib\site-packages\pandas\io\excel\_openpyxl.py", line 556, in __init__
import_optional_dependency("openpyxl")
File "C:\Users\wongs\AppData\Local\Programs\Python\Python311\Lib\site-packages\pandas\compat\_optional.py", line 144, in import_optional_dependency
raise ImportError(msg)
ImportError: Missing optional dependency 'openpyxl'. Use pip or conda to install openpyxl.
remove the question, then install the library first. use this command: pip install openpyxl
Your code is fine but there is openpyxl package missing.
Install it using command : !pip install openpyxl
run the above command in your command prompt and then run your code hope it will work fine.
| 21,487
|
https://stackoverflow.com/questions/8762984
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,012
|
Stack Exchange
|
JordanFireStar, Lun Siah, Nappy, Purcell Deal, ahmad ooqolii, anderson, cp-21jap, https://stackoverflow.com/users/1131025, https://stackoverflow.com/users/19760593, https://stackoverflow.com/users/19760594, https://stackoverflow.com/users/19760595, https://stackoverflow.com/users/19794106, https://stackoverflow.com/users/19802578, https://stackoverflow.com/users/19849660, https://stackoverflow.com/users/395148, nsiderTalon
|
English
|
Spoken
| 535
| 1,705
|
Custom preference broken in Honeycomb/ICS
I'm using a custom preference that I use the title, summary, and an icon in. The pref is used to select an item (skin, app, etc.), then the it will summarize the current choice. Here's the preference working correctly (top) and my issue on Honeycomb/ICS:
http://imgur.com/vKPOu
http://imgur.com/EiMBr
Space is being made for the preference, but even the default title/summary aren't showing up, and the intent for item selection isn't firing off either. Here's the preference layout:
<?xml version="1.0" encoding="UTF-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+android:id/widget_frame"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:minHeight="?android:attr/listPreferredItemHeight"
android:gravity="center_vertical"
android:paddingRight="?android:attr/scrollbarSize">
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="16dip"
android:layout_marginRight="6dip"
android:layout_marginTop="6dip"
android:layout_marginBottom="6dip"
android:layout_weight="1">
<TextView
android:id="@+android:id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="true"
android:textAppearance="?android:attr/textAppearanceLarge"
android:ellipsize="marquee"
android:fadingEdge="horizontal" />
<TextView
android:id="@+android:id/summary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@android:id/title"
android:layout_alignLeft="@android:id/title"
android:textAppearance="?android:attr/textAppearanceSmall"
android:maxLines="2" />
</RelativeLayout>
<ImageView
android:id="@+id/icon"
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_gravity="center" />
</LinearLayout>
And the custom preference itself:
import android.content.Context;
import android.content.pm.PackageManager;
import android.content.pm.PackageManager.NameNotFoundException;
import android.graphics.drawable.Drawable;
import android.preference.Preference;
import android.util.AttributeSet;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
public class SelectedAppPreference extends Preference {
private Drawable mIcon;
public SelectedAppPreference(Context context, AttributeSet attrs, int defStyle) {
super(context, attrs, defStyle);
final PackageManager pm = context.getPackageManager();
String packageName = context.getSharedPreferences("appPrefs", Context.MODE_PRIVATE).getString("selected_app_package", null);
this.setLayoutResource(R.layout.icon_pref);
try {
this.mIcon = pm.getApplicationIcon(packageName);
} catch (NameNotFoundException e) {
e.printStackTrace();
}
}
public SelectedAppPreference(Context context, AttributeSet attrs) {
super(context, attrs);
final PackageManager pm = context.getPackageManager();
String packageName = context.getSharedPreferences("appPrefs", Context.MODE_PRIVATE).getString("selected_app_package", null);
this.setLayoutResource(R.layout.icon_pref);
try {
this.mIcon = pm.getApplicationIcon(packageName);
} catch (NameNotFoundException e) {
e.printStackTrace();
}
}
@Override
protected void onBindView(final View view) {
super.onBindView(view);
final ImageView imageView = (ImageView)view.findViewById(R.id.icon);
if ((imageView != null) && (this.mIcon != null)) {
imageView.setImageDrawable(this.mIcon);
}
}
public void setIcon(final Drawable icon) {
if (((icon == null) && (this.mIcon != null)) || ((icon != null) && (!icon.equals(this.mIcon)))) {
this.mIcon = icon;
this.notifyChanged();
}
}
public Drawable getIcon() {
return this.mIcon;
}
}
Nothing too exciting in the preference itself. I have a feeling that the issue is in the preference layout xml, but I'm not sure what exactly is not working correctly. I can confirm that the preference works fine on Android 2.1, 2.2, and 2.3 devices, and I've had issues on 3.2 and 4.0. Any suggestions?
I had similar problem with a third party custom preference and fixed it by making the widget frame visible. It was invisible by default in ICS. Dont' know how it maps to your custom preference.
// This line was in the original code.
LinearLayout widgetFrameView = ((LinearLayout) mView
.findViewById(android.R.id.widget_frame));
...
// This line fixed the visibility issue
widgetFrameView.setVisibility(View.VISIBLE);
Also had to realign the view to make it consistent with the rest of ICS controls.
Beautiful, that was the problem. Do you happen to remember what you changed to realign the view?
Google, why do you make breaking changes like this?
The third party custom preference I fixed is taken from this site
https://github.com/attenzione/android-ColorPickerPreference/tree/master/src/net/margaritov/preference/colorpicker
My code (in ColorPickerPreference.setPreviewColor()) looks like
widgetFrameView.setVisibility(View.VISIBLE);
final boolean preApi14 = android.os.Build.VERSION.SDK_INT < 14;
final int rightPaddingDip = preApi14 ? 8 : 5;
widgetFrameView.setPadding(
widgetFrameView.getPaddingLeft(),
widgetFrameView.getPaddingTop(),
(int)(mDensity * rightPaddingDip),
widgetFrameView.getPaddingBottom()
);
where
float mDensity = getContext().getResources().getDisplayMetrics().density;
This is with minSdkVersion = 8 and no targetSdkVersion. If you set targetSdkVersion to 14 or more you may need to change the '5' to something else until the custom preference element on the right aligns nicely with the standard ones (e.g. check boxes).
| 21,086
|
https://sr.wikipedia.org/wiki/%D0%9B%D0%B0%20%D0%A4%D0%B0%D0%BB%D0%B4%D0%B8%D1%82%D0%B0%20%D0%B4%D0%B5%D0%BB%20%D0%9C%D0%BE%D1%80%D0%BE%20%28%D0%A1%D0%B0%D0%BB%D0%B0%D0%BC%D0%B0%D0%BD%D0%BA%D0%B0%29
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Ла Фалдита дел Моро (Саламанка)
|
https://sr.wikipedia.org/w/index.php?title=Ла Фалдита дел Моро (Саламанка)&action=history
|
Serbian
|
Spoken
| 58
| 184
|
Ла Фалдита дел Моро () насеље је у Мексику у савезној држави Гванахуато у општини Саламанка. Насеље се налази на надморској висини од 1850 м.
Становништво
Према подацима из 2005. године у насељу је живело 6 становника.
Хронологија
Попис
Види још
Савезне државе Мексика
Референце
Спољашње везе
Мексичка насеља
Насеља у општини Саламанка (Гванахуато)
Википројект географија/Насеља у Мексику
| 30,933
|
https://cs.stackexchange.com/questions/125809
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,020
|
Stack Exchange
|
Juho, Xenya Syrbulova, Yuval Filmus, greybeard, https://cs.stackexchange.com/users/121231, https://cs.stackexchange.com/users/19966, https://cs.stackexchange.com/users/472, https://cs.stackexchange.com/users/683
|
English
|
Spoken
| 202
| 261
|
Best way to find and store difference between two strings
I want to implement my version of the Codeshare service. Now I'm thinking of an implementation where all users have access to one string that can change (if you already have a better option here - please write about it).
What algorithms and data models are suitable to find the difference between two strings and to compactly store this difference, as well as to implement this difference in a string?
If my question isn't clear enough, please say so.
I voted to close your question as I believe it needs more focus. The SE platform is not suitable for open-ended discussion, but instead we like focused questions that have a clear concise answer. Could you describe more clearly what the problem is? What's the input, what's the desired output? What kind of distance are you thinking of - Hamming distance? How long are the strings?
Thank you, i will specify my question!
This looks an application/service/product/market definition question. When asking an appropriate audience, consider if just dropping the name Codeshare is enough to describe what you are after. You may be looking for Edit distance and diff.
@greybeard Sounds like an answer.
| 12,196
|
https://zh-yue.wikipedia.org/wiki/Montpellier-de-M%C3%A9dillan
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Montpellier-de-Médillan
|
https://zh-yue.wikipedia.org/w/index.php?title=Montpellier-de-Médillan&action=history
|
Cantonese
|
Spoken
| 8
| 97
|
Montpellier-de-Médillan係法國嘅一個市鎮,位置喺濱海沙藍特。
睇埋
法國嘅市鎮一覽
濱海沙藍特嘅市鎮一覽
連出去
Gazetteer Entry
濱海沙藍特嘅市鎮
| 30,936
|
iu8pcG3fF0A_1
|
Youtube-Commons
|
Open Web
|
CC-By
| null |
WE’RE MARRIED!
|
None
|
English
|
Spoken
| 4,026
| 4,693
|
Welcome back to our channel. We are officially husband and wife. This is my wife This is my wife y'all. So I'm only wearing my wedding band. We are obviously in Jamaica Yes, we are on our honeymoon as we are filming this video as we're filming this This is actually our last day on our honeymoon, but we are looking out to the ocean right now The sunset is about to happen. We're about to eat some dinner But we're looking at the island of Jamaica and it's freaking gorgeous We feel like a lot of you guys had a lot of questions and we just wanted to give you guys an updated Q&A and what is going on when it's YouTube video being posted of our wedding and all so far just so y'all know And on top of that when is a better time to do this other than on our freaking honeymoon like we've been enjoying this trip I've been enjoying this. How have you been my wife? Yeah, like I think it's just been like one of the most relaxing trips We haven't gone out and did anything crazy all we've been doing is going out for dinners and just enjoying The time together the time alone on a country that we've never even been out of the u.s So it's just it's freaking insane and we love it so much. I'm sad it's gonna end We're gonna start off the first question strong when is the YouTube video going to be posted of your wedding? And we're talking about like the main the main wedding video. So our delivery date is March 15th Now it could be sooner. I'm not gonna make any promises, but what day is March 15th on a Friday actually Oh, that'll be perfect if it is. Yeah Friday. Oh, so literally like two weeks or actually probably less than two weeks by Time this is posted. I don't even know because today is 28. We don't exactly know when we're gonna be posting this Yeah, but we're figuring out as you go. Yeah, so like March 15 for sure We're gonna have the video and we're gonna post it for you guys. We have a full-on series We're gonna do our wedding video our vows our first dance and also exchanging gifts. So that was I forgot about that one Yeah, we did huge wedding gifts. We did everything So we have a bunch of videos coming But this one is basically like we want to give you a heads up on our schedule now We will post the wedding video the day it comes in whenever it comes in But we were told by our videographer like Mariah stated it's not gonna come in until latest the 15th Yeah, hopefully sooner But we also don't want to rush her because this video is gonna be a movie I honestly wasn't planning to post tiktoks as soon as I did but I got to give you guys a little bit of teasers I'm gonna obviously wait to post the rest of the tiktoks until we get the professional footage back So we might be a little MIA on tiktok. I'm gonna try to still post like once or twice a week I don't want to go back to normal content until after our wedding. We want to we want to like Space out our wedding content because it means so much to us and I know it means so much to y'all So we want to really ramp up our wedding content once it does become available Yeah, the thing is like she said until March 15th That's when we might start getting a lot of tiktoks. Yeah of the wedding stuff But we're still gonna be posting it's just gonna be not as maybe frequent or just depending on what we do We might find videos that we want to do in the moment But yeah, so don't think that we're going MIA We really are honestly like posting a little less to ramp up and post more than we ever have Like I feel like we're gonna be posting twice a day. Yeah, so some people want to know why the date to 23 24 So the reason we chose that date was we originally wanted to 24 2024 but that date was unavailable So we wanted to 23rd and we also did it on that date because February is one of the best months in Florida No rain. It's like always sunshine. Like I feel like it's like one of the best months of the year Yeah, so February the weather if you don't know in florida is probably the best you will ever get We're talking mid 70s and no rain. So on our wedding day. We tweaked about mariah was tweaking about like two weeks prior That's when it started We didn't like know if it was gonna rain or not because like, you know, that's of course something scary It was literally the wedding weather gods came down and blessed us with the most perfect day It couldn't have been any better. That's what we're gonna get into next. I want to explain that But it was like one of the other questions was how were you both feeling during the whole day before and after the wedding? I was very excited. Honestly, the nurse did not hit me until about an hour before I walked down the aisle That's when the nerves hit me But the second those doors opened and I saw bill. I'm not kidding nerves went away I just locked into him to look at anybody in the crowd nobody and I just I felt better Like I felt good and it's crazy because like I'm the same way I literally did not have any nerves the night before nothing Everyone was asking me like oh like how are you feeling and all this and that and I'm like I honestly feel like this is just another family gathering. It doesn't even feel any nerves No, nothing. It doesn't even feel like my wedding's happening. I know it's like my wedding's happening It's amazing, but it doesn't nervously feel like that until an hour or two before I was like Nervous my stomach was hurting. I needed to drink water. I was overheating in my soup I literally had to crack open the door and the guy's sweet and like have air come because I was so nervous So it literally hit me the last second But like Mariah said the moment that it was time for me to walk out and say hi to everyone and stand up on the altar Waiting that's when the nerves went away. That's when I was more emotional than anything. Oh you guys he cried So hard the entire wedding. I'm not kidding. Stay tuned. Stay tuned for the video because I was I was a little cry ball I I had to hold it together for him And I I got emotional. I I did but I didn't cry as much as you did. I'm just so emotional. I'm sorry I don't know y'all. It's been such a long freaking week But I've been emotional wrecked that whole day and I can't wait for y'all to see because you're literally gonna see a different side of me It's it's the most sweetest moment of my entire life. We got like this golden our sun Glow going away. The sun's going down. I started filming this by the way I don't know if you want to answer this bill or how we want to answer this A lot of people are asking and which we can lead into talking about the whole setup and how everything went and all that How much did the wedding cost? Oh my god, let me just say it wasn't it wasn't cheap. It was not cheap Here's the thing we've never done a wedding before we've barely ever been I think I've been in one wedding since I could remember I know I went to more as a kid But like from what I could remember being an adult one wedding given this financial situation that we are in We are blessed to be able to afford the wedding of our dreams Honestly, I feel like we didn't even go all out compared to some people Compared to the things that they were offering at our wedding. We could have spent way more I'll tell you should we tell them the venue Yeah, okay. How about is it higher or lower than 50,000? It's higher. It's higher than 50,000 So I don't like you don't like talking money or saying anything like that We just want to be transparent honest because a lot of you guys were asking and I'd be like, you know Some people are just genuinely curious because they're planning a wedding or they want to do something It's expensive So given like the the venue that we were at the floral that we had the oh my gosh every single Inch of the place had memorabilia of mariah and bill we had custom signs We had custom Wall art custom napkins custom place our our seating chart was literally like I it's insane Our seating chart was huge ring for bill ring for mariah It was it was as big as a wall. It was as big as this wall is our seating chart insane because it interrogated a drink and Seating chart and awesome bell thing that people can use you'll see it in our video and stuff But we went over the top. We really did we had food during cocktail hour We had a custom saxophone guy that came We had cotton candy and gelato and we had amazing cakes. We had after party food After party we had after party we had after party food Like, you know, oh my gosh. There were so many little things that went into this wedding It definitely did catch up. We had a dj There there's just so many. Oh, we rented tables. We went to chairs. We rented the silverware, which was gold Yeah, we picked out every color like there's a lot, but let me let me just say this wedding was the wedding of ours It went like I don't know what happened behind the scenes. Thankfully no one told us but from what we've seen It was the most Stunning thing I've ever seen in my life if you haven't seen the instagram peak video that we posted Y'all could see a sneak peek of what the venue and everything looked like together and we have been posting Instagram photos Oh my gosh, this wedding looks like it was a million dollars. Yeah, it honestly does for what we spent like I am so Happy with because it was a lot of money. But like we said you only get one wedding I honestly feel like with everything in costs of everything going up our wedding planner said the average wedding these days are like Around 40 50k. Yeah ours was more than 50. It was way more It was the wedding of our dreams. I'm gonna get it once and honestly when I look back at it We hired the best of the best videographer. Yeah, oh, that's another thing Like we had three videographers and two photographers that alone was expensive I also want to because we wanted to invest into our videos and for you You are guys are going to see the best of the best for video This wedding video is I feel like it'd be so different than all the other videos you guys have seen We actually did a unique twist two hours and I seem to feel like you're watching a reality TV show Like no joke. It's gonna be crazy Like we wanted to put money into our video Because we want y'all have the same experience as we have like we want you guys to watch our video And see like dang. I feel like I'm there. I feel the emotion We hired the best of the best for y'all and honestly for ourselves as well because like we're gonna be able to Show our kids this and show our grandkids this and it's just it's beautiful So don't want you to think that you have to spend a lot of money to have a wedding these days because you really don't Okay, there's a lot of things that we did differently and and way more grand than a lot of people typically do But gosh, it was the wedding of our dreams. It was a Cinderella story and we got married Which is this perfect question. What was the wedding venue? We finally share it. Oh, yeah The club at the Strand in Naples, Florida. Naples, Florida was the wedding venue. It was super dope. Super awesome Yes, the food we had a medley of filet mignon and then um cod fish filet Oh my gosh, so good the food was amazing. It was worth it Okay, this is a good question. Did everything go as planned or was right? That went wrong I feel like to me I'm I'm gonna go into what went wrong. I feel like the stuff that went wrong Honestly was not the big of a deal for me so minimal. I feel like everything was so perfect And I'm not even trying to be like not But we'll tell you we'll tell you there's two things right now that I think we could tell you that we know for sure Was different than what we planned. So the first thing we when we said, oh, I do we kiss the bride Whatever and we're we're we're married now and we're walking back down the aisle celebrating The song they used was not right. It was supposed to be electric love like um So that was the song that we were supposed to use they they put a different song I don't remember the song because there's just so much going on But I know it wasn't that song and then the second thing which is not the gj's fault because I think it's the same name But just so before I get into the first dance. This is where something else happened I feel like my dress was in bustle, right? And I feel like my dress was very hard to like move in. Yeah, it was it was a very big dress Probably should have practiced bustle. Well, I did I did but they it just fell out And it was it was everything was going so quick and this dress had so much freaking maneuvering It didn't we didn't have time so we just bustled it super quick. We nailed our first dance We did but there was one part we missed that we missed a step on Messed up towards the end of the dance. But everything else we nailed it and then we nailed the finale of the dance Yeah, but that that was one thing that messed up or second thing My mom and I messed up our dance just one step You can't even tell us because we walked through it. You could tell more of ours than anything But apparently our wedding planner has a bunch of stuff behind the scenes that was last minute mess ups Stuff going wrong that they have to figure out last minute and we're gonna hear all that once we get back home Which I'm glad I didn't know anything about it because I'm scared I am scared because like I'm intrigued what happened Usually they won't tell the bride and groom because they don't want to stress us on the day of which I'm glad that they didn't But I'm like what what could have gone wrong like I'm so Curious, you know, but everything else like nothing went wrong. It was like the perfect wedding I missed the wedding so much But I would never want to do it over again because I would not want to change a thing Is there anything you would change about your wedding? Would you change anything? No, I wouldn't I wouldn't change a thing. I honestly think the whole day was amazing It was this is actually a good question. I want to ask you because I feel like I never really got to hear your answer on this What were your thoughts when you saw mariah for the first time in her dress? Like what was your reaction? So like the anticipation that first of all you're beautiful first of all I was like in shock. I was in awe. I'm like that girl. That's mariah. I literally turned to Jordan I think and I was like it's just so funny like that's mariah in the dress right there Like it's just so weird thinking that's that's my little mariah walking down the stairs I just thought you were beautiful. It was so much anticipation I'm like I could finally see the dress and look at it without having to like hide And it was just so weird and like I was just so happy I love the dress. I love the dress. You look beautiful in the dress. Honestly, the dress was just amazing And I love how big and poofy it was like there was nothing that I would change about that The dress was freaking stunning. Yeah, I just thought you were just like You did. You look so cute. You wear all white tux. Oh my god. You look a little off white Oh my god, it was so good. I would recommend that tux to anyone. Oh my gosh Oh, and I get to keep it forever. It was not a rental because they don't rent tuxes like that at all So I had to customize it and everything. Ooh in the vest. Don't you like that? I had the vest for after party Yeah, because I took my my jacket off which also all you guys were asking I know I said a lot that I wasn't going to change under my white dress. You did that dress was so heavy I was constantly stepping on it and I was like, you know what? I want to be able to enjoy my wedding. I want to just like I got all my pictures in You wouldn't have to sit down and like you I feel like you wouldn't have been up and dancing No, I decided to change. I'm really glad that you changed during the reception, right? No at the end of the reception I like wait like before the after party like right before Yeah, and I'm really glad that I did because it was just it was a lot the dress was heavy It was big and I try to be able to have a good time and like, you know party I also didn't want to ruin my dress like I feel like I had my dress on for most of the time And I really wanted it to be on and the dress already had like that thing the piece of metal fell out So you didn't want to wear that big baggy thing the whole time you're trying to dance and get down Yeah, else we want to know did y'all write y'all's phone vows? Yes. Yeah, I actually I wrote my vows I finished my vows two nights before right? Oh, I wrote them two nights before I finished it a night before And then our wedding player never even read it until the morning of mine I had done for like she had it done like two weeks before yeah Yeah, I know for me. I can't be in a spot like that like I need time to think but my your vows were amazing Oh, that was another thing I did that that messed up. Um, I lost my place when I was waiting in the beginning And you're like, oh wait, sorry, and you like restarted and I remember what I said last And I'm like frick, but it's cute. It's me. It literally that is me. That's literally Mariah reading Yeah, it meant a lot. No, it does. It's special because it's me like it symbolizes me And my vows like turned out amazing better than I thought when I was writing them I knew they were going to be good, but like they turned out really good. So I'm happy last question How does it feel to be husband and wife? Oh, that's a good one. That's a great one I told bill the second we said I do I was like I feel closer to you Like I feel this love that I never not that I didn't feel it before But I just feel this love I never felt before and I think it's because the title husband and wife like Interlocked like we're in this together. Do you still feel like that? Yeah Don't I don't even remember saying I do what I remember the moment But it was such a blur because I just remember like putting the ring on yeah I do yeah, and then we put the rings on because I squeezed it. I was right. I was waiting and I squeezed it Yeah, and then for me it feels amazing It feels so weird because like you say right before I turned this camera on today I texted our butler for the bungalow that we're at and I said like oh for my wife And that was the first time I ever said my wife to somebody else I call you my wife for the past like five days four days But I've never said it to somebody else. So I was like, oh shoot. This is my wife Like that's legit Like that's what people are gonna think when they say like oh your wife your wife So it feels so weird so different, but I love it so much and I wouldn't change of the world Honestly mariah you you felt like my wife for the past yeah Yeah, like it felt like we were husband and wife and now the fact like that we tied the knot and like we actually are Married legally now. It's like But you guys I feel like I wanted to explain more, but I don't want to give a lot of away either There's so much coming so stay tuned marking your calendar march 15 That is when I'm praying that is when we post a video it might be after or sooner But just get ready that's when all the content is about to go down Regardless, we need every one of y'all to turn on all your post notifications for our channel And turn on your notifications for youtube so you get notified when we do post to your phone And y'all can be one of the first people to comment like and watch our wedding video It's coming up in two weeks, but prior to that we're gonna have so much stuff and content coming It's gonna be more once all the videos come out, but we're still gonna be posting a lot We've been posting on tiktok. We're posting on snapchat behind the scenes of our days and stuff So make sure all around keeping up with all our social medias like we appreciate all y'all's patience and Love throughout this process. Like we literally are married. Yeah, we've been watching love is blind We're watching people get married and like it's sad because it's like oh, we did that a week ago And oh, we just saw someone get married the other day here.
| 30,330
|
https://nl.wikipedia.org/wiki/Annette%20Roozen
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Annette Roozen
|
https://nl.wikipedia.org/w/index.php?title=Annette Roozen&action=history
|
Dutch
|
Spoken
| 722
| 1,318
|
Annette Roozen (Utrecht, 11 maart 1976) is een Nederlands atlete, die zich heeft gespecialiseerd in de sprint en het verspringen.
Biografie
Operatie en begin sportcarrière
Toen Annette Roozen bijna zestien jaar was, moest haar rechterbeen door het kniegewricht heen worden geamputeerd wegens botkanker (osteosarcoom). Annette: "Een week voor mijn zestiende verjaardag. Een leuk cadeau... Ik huilde, behoorlijk. Maar op een gegeven moment kon ik niet eens meer huilen. Was het op." Ze onderging toen al een chemokuur, die na de operatie nog een tijdje voortduurde. "Na de chemokuren probeerde ik zo snel mogelijk weer te leren lopen. Ik was puur bezig met de praktische kant, niet met de geestelijke. De arts noemde mij een wonderkind, vanwege de snelheid waarmee ik het lopen met prothese oppakte. Ik dacht dat hij dat tegen iedereen zei, maar begreep later dat ik behoorlijk rap was."In 1997, op een speciale sportdag voor beenprothesegebruikers, met Amerikaanse atleten en georganiseerd door bedrijven die protheses maken, werd haar looptalent ontdekt. Na het uitproberen van een prothese mocht zij een beenprothese met sprintvoet proberen, en dat voelde fantastisch. Aan het einde van deze dag mocht zij deze sprintvoet houden en begon haar atletiekcarrière. Doordat ze haar eigen kniebuigpunt niet meer heeft, behoort ze tot de klasse van bovenbeenprothese (T/F 42, T = Track, de sprintnummers, F = Field, de veldnummers, zoals verspringen). Annette Roozen is lid van Atletiekvereniging U-Track te Utrecht. Regelmatig is zij in haar vrije tijd terug te vinden op de atletiekbaan van sportcomplex Maarschalkerweerd te Utrecht. Haar trainers Juul Acton, Toine vd Goolberg (meervoudig Nederlands kampioen op de 400m (1970 - 1974)), Frank Dik, Egbert vd Bol zijn hierbij vaak aanwezig om haar bij de trainingen te begeleiden, maar Annette traint ook vaak alleen.
Prestaties
Tijdens de tiende editie van de Nelli Cooman Games op 17 juni 2007 liep Roozen op de 100 m een nieuw wereldrecord van 16,57 s in haar klasse. Ook nam zij op dit evenement voor het eerst deel aan de 200 m en liep een nieuw wereldrecord van 34,46. Annette kreeg hiervoor de Bronzen Nelli Cooman. Tevens werd zij in september 2006 ook wereldkampioene op de 100 m sprint en op het onderdeel verspringen.
In 2007 werd Annette Roozen, tezamen met Marion Nijhof (blinde zwemster), uitgeroepen tot beste gehandicapte sporter.
Winst en verlies
In 2008 verbeterde Roozen tijdens het Open NK in Emmeloord op 1 juni haar eigen wereldrecord op de 100 m uit 2007 met bijna een tiende seconde tot 16,48. Zij kwalificeerde zich voor de Paralympische Spelen van 2008 in Peking). De Nederlandse paralympiërs, waaronder ook Annette Roozen, vertrokken op 29 augustus 2008 naar Peking, waar de Spelen op 7 september 2008 van start gingen, nadat de openingsceremonie een dag eerder had plaatsgevonden.Op 8 september 2008 sprong Annette 3,63 m bij het onderdeel verspringen. Dit was goed voor een zilveren medaille en een nieuw PR. Op 13 september 2008 liep zij op de 100 m in de klasse T42 een tijd van 17,13 en behaalde daarmee haar tweede zilveren medaille. Terwijl ze, achteraf erop terugkijkend, van haar verspringprestatie vindt dat ze die zilveren plak heeft gewonnen (ze zat in een soort 'flow' en steeg die dag boven zichzelf uit), heeft ze voor haar gevoel op de 100 m goud verloren. Een valse start bracht haar mentaal uit evenwicht. Bij de herstart leek Roozen vervolgens niet weg te komen. "Ik had knikkende knieën. Toch de druk misschien, die je voelt en die je jezelf oplegt." Daarna was ze een tijdje kapot van verdriet. "Als iemand nu nog durft te zeggen dat dit geen topsport is. Bij het terugzien van de beelden, zag ik dat ik verkrampt liep. Lelijk liep. Het duurde wel even voordat ik bij zinnen kwam in Peking." Een herkansingsmogelijkheid was er niet. Helaas voor haar werd er ditmaal geen 200 m gelopen in de klasse T42, waarvan Annette Roozen deel uitmaakt. In 2012 wist Roozen zich wel voor de Paralympische Zomerspelen 2012 in Londen te nomineren maar Nederland mocht maar 11 atleten meenemen naar de Spelen en er hadden zich 14 genomineerd uiteindelijk behoorde Roozen samen met Wheeler Bart Pijs bij de afvallers voor de spelen.
Annette Roozen woont in Utrecht en is van beroep journaliste. Ze werkt bij RTV Utrecht als redacteur/verslaggever.
Titels
Prestatie-ontwikkeling
Palmares
100 m
200 m
verspringen
Nederlands paralympisch deelnemer
Nederlands atleet
Sprinter (atletiek)
Verspringer
| 32,428
|
https://es.wikipedia.org/wiki/Derolus%20discicollis
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Derolus discicollis
|
https://es.wikipedia.org/w/index.php?title=Derolus discicollis&action=history
|
Spanish
|
Spoken
| 47
| 112
|
Derolus discicollis es una especie de escarabajo longicornio del género Derolus, tribu Cerambycini, subfamilia Cerambycinae. Fue descrita científicamente por Gahan en 1906.
Descripción
Mide 18 milímetros de longitud.
Distribución
Se distribuye por India y Pakistán.
Referencias
discicollis
Insectos descritos en 1906
Insectos de Asia
Fauna de Asia
| 30,987
|
https://war.wikipedia.org/wiki/Penicillium%20griseofulvum
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Penicillium griseofulvum
|
https://war.wikipedia.org/w/index.php?title=Penicillium griseofulvum&action=history
|
Waray
|
Spoken
| 43
| 98
|
An Penicillium griseofulvum in uska species han Fungi in nahilalakip ha divisio nga Ascomycota, ngan nga ginhulagway ni Dierckx hadton 1901. An Penicillium griseofulvum in nahilalakip ha genus nga Penicillium, ngan familia nga Trichocomaceae. Nag-uusahan nga subspecies: P. g. dipodomyicola.
Mga kasarigan
Penicillium
| 32,078
|
https://de.wikipedia.org/wiki/Sagay%20City
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Sagay City
|
https://de.wikipedia.org/w/index.php?title=Sagay City&action=history
|
German
|
Spoken
| 341
| 629
|
Sagay City ist eine Stadt auf der Insel Negros in der Provinz Negros Occidental. Sie ist eine Stadt der dritten Einkommensklasse in den Philippinen. Die Stadt liegt etwa 84 km von der Provinzhauptstadt Bacolod City in östlicher Richtung entfernt und ist in rund 2 Stunden Fahrzeit von dort erreichbar. Die Reisezeit von Cebu City beträgt ca. vier Stunden, inklusive 1 Stunde Fahrzeit mit der Schnellfähre via Toledo City.
Geographie
Das Territorium des Stadtgebietes hat die Form eines Kegels, welches Silay den Spritznamen „Eiscremhütchen“ einbrachte. Sie liegt im nördlichsten Zipfel der Insel Negros und ihre Fläche bedeckt ein Gebiet von 33.034 Hektar. Ihre Einwohnerzahl beträgt (Zensus ). Die Stadt teilt sich in 25 Barangays ein. Sie grenzt im Norden an die Visayas-See, im Westen an Cadiz City und Silay City, im Osten an Escalante City und die Municipality Toboso, im Süden an Talisay City und die Municipality Calatrava.
Geschichte
Sagay war ursprünglich bekannt als Siedlung Arguelles, die im Jahr 1860 von den Spaniern Teniente Francisco Rodriguez und Basiliio Cordova in der Mündung des Bulanon River gegründet wurde. Am 11. Juni 1996 wurde die Municipality zur Stadt erhoben; Grundlage hierfür war der Republik Act 8192, welcher am 10. August ratifiziert wurde. Der damalige Präsident Fidel Ramos proklamierte die siebte Großstadt in der Provinz Negros Occidental.
Sehenswürdigkeiten
Die Kirche im Barangay Vito wurde während der 1850er Jahre errichtet, in ihr steht der Schrein von San Vicente de Ferrer.
Das Sagay City Garden & Living Tree Museum ist eine Landschaftsausstellung mit den verschiedenartigsten Blumen, Büschen und Bäumen. Es befindet sich im Sitio Chloe, welches dem Barangay Rizal zugehörig ist.
Das Museo Sang Bata sa Negros ist ein aktives Kindermuseum, das mit Hilfe von 3-D-Anwendungen das Potenzial der Kinder fördern soll. Es ist die erste Lerneinrichtung dieser Art außerhalb von Metro Manila auf den Philippinen.
Entlang der Küstenlinie wurde das Meeresschutzgebiet Sagay Marine Reserve eingerichtet. Es umfasst ein Gebiet von 320 km² und umfasst das Carbin-Riff, das Panal-Riff und das Macahulom-Riff, die eine erstaunliche Artenvielfalt präsentieren.
Barangays
Quellen
Sagay bei Negros Inside
Weblinks
Sagay bei Wikipilipinas
| 33,601
|
https://wordpress.stackexchange.com/questions/308818
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,018
|
Stack Exchange
|
Jacob Peattie, JronCh, https://wordpress.stackexchange.com/users/147013, https://wordpress.stackexchange.com/users/39152
|
English
|
Spoken
| 185
| 328
|
Change link of taxonomy when get_the_term_list( is used?
Currently I have custom taxonomy terms from posts being posted to the front end with this code:
$package_category = get_the_term_list( $post->ID, 'package-category', '', ', ' , '' );
if(!empty($package_category)){
echo '<div class="package-info">';
echo '<span class="head">Categories: </span>';
echo $package_category;
echo '</div>';
}
The problem is they are returned the taxonomy terms in strange urls such as /package-category/category1/
Is it possible to remove the /package-category/ in the links so it just goes to /category1/ respectively?
They're not strange. They're based on whatever arguments you used when registering the taxonomy. The default behaviour is the taxonomy name. It can be changed, but not removed. Without it WordPress can't tell whether a URL is looking for a post with that name or one of your package categories.
@JacobPeattie I see, I used the wrong wording, I guess it was strange for me as when I first did 'rewrite' => / when i registed taxonomy it worked, but thats only because i didnt refresh peralinks. Is there any way of redirecting to the corresponding /category1/ in the example?
Try solutions suggested here.
| 49,036
|
https://softwareengineering.stackexchange.com/questions/359520
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,017
|
Stack Exchange
|
AxelH, Ewan, Sebastian Redl, https://softwareengineering.stackexchange.com/users/167417, https://softwareengineering.stackexchange.com/users/177980, https://softwareengineering.stackexchange.com/users/78254
|
English
|
Spoken
| 475
| 763
|
To inherit or to override?
Imagine that I am writing a game where tanks fight with each other.
A generic Tank class is created and has the method fire() which fires a cannon, looks like this Tank::fire() { /* fires a cannon */ }
And then there is a class for BossTank which fire() fires a cannon and also a missile.
A senior advised me to do something like:
Tank::fire() { fireProjectile(); }, and create a new function:
Tank::fireProjectile() { /* fire a cannon */ }
Then in BossTank we can do inherit:
BossTank::fireProjectile() {
parent::fireProjectile();
/* fire a missile */
}
I don't know why, I do not feel good about this. Maybe because the line parent::fire() looks inconsistent with more elementary lines for /* fire a missile */
Another coworker suggested this:
Tank::fire() { fireCannon(); } and Tank::fireCannon() { /* fire a cannon */ }
Then BossTank::fire() { fireCannon(); fireMissile(); } with BossTank::fireMissile { /* fire a missile */ } (this is a method only in this class)
I would like to go along these lines:
Tank::fire() { fireCannon(); fireAdditionalProjectiles(); } with Tank::fireAdditionalProjectiles() empty.
Then in BossTank we can override fireAdditionalProjectiles() to fire missiles.
So here are 3 ways to implement the "same" thing:
Senior: Inheritance - extracting fire cannon so no duplication.
Coworker: Override fire() and implement a new function only in BossTank
Me: Implement new function fireCannon() for no duplication, and fireAdditionalProjectiles() for overriding in BossTank
Is this a personal preference or there are standards regarding this situation?
This is still firing from the tank, but a tank HAVE waepon. Just need to think about some aggregation. This has the advantage to not need to inherit each time you need to define a new type of tank. See decorator pattern to add weapons to a tank easily.
If you have a variety of tanks with different weapons, then it makes sense of compose your tank class
class Tank
{
List<Weapon> weapons;
void Fire()
{
foreach(var w in weapons) {w.Fire();}
}
}
If all Tanks always have a Cannon, which always fires then overriding the Fire method and then calling the base class Fire plus some extras makes sense.
But I believe the current trend is towards composition, as people find that with multiple layers of inheritance the logic becomes too hard to follow.
For example, if you have a SuperBossTank which fires two missiles but no cannon you would have to introduce a new BaseTank with no weapon
I would unconditionally go with the list of weapons, even if all tanks have a cannon. No need for extra logic if you already have something generic in place.
its tricky because of the example, but you can imagine if it was Move() all tanks might have treads and boss tanks might have extra smoke that needs to come out of the exhaust
| 2,465
|
https://de.wikipedia.org/wiki/Zeche%20Helena
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Zeche Helena
|
https://de.wikipedia.org/w/index.php?title=Zeche Helena&action=history
|
German
|
Spoken
| 1,265
| 2,220
|
Die Zeche Helena in Heven ist ein ehemaliges Steinkohlenbergwerk. Die Zeche war auch unter den Namen Zeche Helene und Zeche Helena Stollen bekannt. Mit dem Übergang zum Tiefbau wurde sie auch Zeche Helene Tiefbau genannt. Das Bergwerk gehörte zum Märkischen Bergamtsbezirk.
Geschichte
Die Anfänge
Am 11. Juni des Jahres 1791 erfolgte die allgemeine Belehnung, die Verleihung der einzelnen Flöze musste gesondert erfolgen. Am 29. Mai des Jahres 1793 wurde ein Vertrag zum Anlegen des Gesellschafts Erbstollens geschlossen. Im Jahr 1800 wurde aus dem Gesellschafts Erbstollen ein Querschlag in südlicher Richtung vorgetrieben. Der Querschlag wurde ab Flöz Billigkeit beginnend vorgetrieben und erreichte nach 30 Metern das Flöz Helena. Beide Flöze hatten eine Mächtigkeit von 40 Zoll. Im Anschluss daran wurde mit dem Abbau begonnen. Im August des darauf folgenden Jahres wurde die Zeche Helena stillgelegt. Ab Mai des Jahres 1831 wurde die Zeche wieder in Betrieb genommen und im Flöz eine Strecke in Richtung Westen aufgefahren. Im Jahr 1834 wurde die Mutung für die Flöze Helena, Helena II und Helena III eingelegt. Im Jahr 1835 wurde die Mutung für das Flöz Helena IV eingelegt. Am 5. Oktober desselben Jahres wurde ein Längenfeld verliehen, jedoch fand in diesem Jahr nur wenig Abbau statt. In der Zeit vom 26. März bis zum 24. April des Jahres 1838 erfolgte die Konsolidation zur Zeche Vereinigte Königskrone. Die Konsolidation diente dem Abbau unterhalb der Stollensohle. Im Jahr 1840 fand nur geringer Abbau statt, die Kohlen wurden zu einer Kohlenniederlage an der Ruhr transportiert.
Die weiteren Jahre
Ab dem Jahr 1845 fanden wieder Ausrichtungsarbeiten auf dem Bergwerk statt. Um die Wetter zu verbessern, wurde vor dem östlichen Ort ein Überhauen weiter aufgefahren. Die im östlichen Ort gewonnenen Kohlen waren zur Zeit unrein und unbrauchbar. Um wieder auf bessere Kohlen zu stoßen, war geplant eine übertägige markscheiderische Vermessung durchzuführen. Im Ort Bo. 1 nach Osten und im Ort No. 1 nach Westen wurde ein verschmälertes Flöz angefahren. Auf Antrag der Gewerkschaft wurde der weitere Betrieb der beiden Örter gestundet. Der Querschlag nach Norden wurde weiter aufgefahren um das 40 zöllige Flöz weiter auszurichten. Am 30. März des Jahres 1848 wurden drei Geviertfelder verliehen, es waren die Geviertfelder Helena I bis III. Am 21. März des Jahres 1852 konsolidierten die Zeche Helena mit den Geviertfeldern Helena I und Helena II. Im selben Jahr wurde auch noch der Helena Erbstolln übernommen und das Erbstollenrecht des Helena Erbstollens gelöscht. Im Jahr 1855 wurde ein 170 Lachter langer Schienenweg erstellt. Der Schienenweg begann am Erbstollen und führte zum Kohlenmagazin an der Ruhr und zum Landabsatzpunkt an der Herbeder Brücke. Im selben Jahr wurde der Übergang zum Tiefbau vorbereitet. Das Bergwerk gehörte zu dieser Zeit zum Geschworenenrevier Hardenstein.
Die letzten Jahre bis zur Konsolidation
Im Jahr 1856 wurde damit begonnen, den Tiefbauschacht Helena zu teufen. Der Ansatzpunkt des Schachtes befand sich beim heutigen Sportplatz nördlich vom Hellweg. Der Schachtansatzpunkt war so gewählt worden, damit er direkt an die geplanten Eisenbahnlinie Witten-Bochum angeschlossen werden konnte. Durch die Lage des Schachtansatzpunktes war auch ein direkter Anschluss an die Bergisch-Märkische Eisenbahn möglich. Die Stollensohle lag bei einer Teufe von 44 Metern ab Schachtansatzpunkt, somit bei +81 Metern NN. Die Schachtscheibe hatte die lichten Abmessungen von 22 mal 14 11/12 Fuß. Im Jahr 1857 wurde bei einer Teufe von 74 Metern (+50 Meter NN) die erste Sohle angesetzt. Der Schacht war im oberen Bereich mittlerweile ausgemauert worden. Über Tage wurden in diesem Jahr mehrere Maschinen installiert. Im Jahr 1858 wurde der Schacht tiefer geteuft. Für die Förderung und die Wasserhaltung wurde ein Dampfhaspel eingesetzt. Im darauffolgenden Jahr wurde bei einer Teufe von 147 Metern (−23 Meter NN) die 2. Sohle angesetzt. Noch im selben Jahr wurde mit dem Bau der Füllörter begonnen. Um die geförderten Kohlen ins weitere Umland transportieren zu können, plante man den Bau einer Pferdebahn bis zum Wittener Bahnhof der Bergisch-Märkischen Eisenbahn zu erstellen. Im Jahr 1860 waren die Querschläge nach Norden und nach Süden auf der Wettersohle und auf der ersten Tiefbausohle in Betrieb. Es wurde mit der Auffahrung der Sohlenstrecken für die bereits aufgeschlossenen Flöze Hammerbank, Roman, Laberne I. und Laberne II. begonnen. Im Jahr 1861 wurde oberhalb der Stollensohle noch einige Zeit im Flöz Laberne I. abgebaut. Im Laufe des Jahres wurde der Abbau über der Stollensohle beendet. Auf der ersten Tiefbausohle wurden die Querschläge weiter aufgefahren. In den Flözen Laberne I. und Hammelbeck wurde mit den Vorrichtungsarbeiten begonnen. Über Tage wurde in diesem Jahr ein Eisenbahnanschluss erstellt. Das Bergwerk gehörte zu dieser Zeit zum Bergrevier Witten.
Im darauffolgenden Jahr erreichte der, auf der ersten Tiefbausohle aufgefahrene, Hauptlösungsquerschlag nach Norden eine Auffahrungslänge von 203½ Lachter. Bei der Auffahrung wurde eine Sandsteinschicht durchörtert, die überwiegend wasserführend war. Mit dem südlichen Querschlag der gleichen Sohle wurde das Flöz Friedrich durchfahren. Der Querschlag erreichte eine Länge von 139¾ Lachter. Das Flöz war im vorderen Bereich stark zerdrückt, allerdings wurde das Flöz im Verlauf der Auffahrung nach Westen stetig besser, sodass es bald eine Mächtigkeit von 40 Zoll hatte. Außerdem wurde mit diesem Querschlag das Flöz Carl aufgeschlossen, welches eine Mächtigkeit von 47 Zoll reiner Kohle hatte. Im Jahr 1863 kam es im Westfeld zu einem Flözbrand. Der Abbau in diesem Feldesteil musste im Flöz Hammerbank komplett eingestellt werden. Außerdem musste das ganze Westfeld abgedämmt werden. Auf der ersten Tiefbausohle wurde der Querschlag nach Norden, der zur Lösung des Flözes Billigkeit dienen sollte, weiter aufgefahren. Der Querschlag, der zur Lösung des Flözes No. 4 begonnen worden war, konnte in diesem Jahr das Flöz noch nicht durchfahren. Im selben Jahr wurde das Grubenwasser der Zeche Billigkeit gelöst und die auf der Zeche Billigkeit abgebauten Kohlen gefördert. Außerdem wurden in diesem Jahr die Sohlenstrecke nach Osten im Flöz Friedrich weiter aufgefahren. Das Flöz war weiterhin stark gestört. Nach Westen hatte das Flöz eine Mächtigkeit von 40 Zoll. Im Flöz Carl waren beide Sohlenstrecken belegt. Im Jahr 1865 gehörte zur Berechtsame auch die Zeche Laterne, die einen tonnlägigen Schacht besaß, der sich 200 Meter nördlich von Schacht Helena befand. Im Jahr 1868 wurde dem Bergamt von den Gewerken der Zeche Helena der Gewerkschaftsstatus der Zeche gemeldet. Im Jahr 1868 wurden vorwiegend Ausrichtungsarbeiten getätigt. Im darauffolgenden Jahr kam es zur Konsolidation zur Zeche Helene Tiefbau.
Förderung und Belegschaft
Auf dem Bergwerk wurden backende Kohlen abgebaut. Die ersten bekannten Förderzahlen stammen aus dem Jahr 1832, damals wurde eine Förderung von 3929 Scheffeln Steinkohle erbracht. Im Jahr 1834 stieg die Förderung an auf 14.252 Scheffel Steinkohle. Im Jahr 1840 sank die Förderung drastisch auf 1618 Scheffel. Fünf Jahre später Anstieg der Förderung auf 4877 Scheffel Steinkohle. Die ersten Belegschaftszahlen stammen aus dem Jahr 1847, es waren zwischen 18 und 36 Bergleute auf dem Bergwerk beschäftigt, die eine Förderung von 31.083 Scheffeln erbrachten. Im Jahr 1855 wurden mit 69 Bergleuten 46.998¼ preußische Tonnen Steinkohle gefördert. Im Jahr 1858 wuchs die Belegschaft auf 130 Bergleute. Die letzten bekannten Belegschaftszahlen stammen aus dem Jahr 1865, damals waren 174 Bergleute auf dem Bergwerk beschäftigt, die eine Förderung von 40.174 Tonnen Steinkohle erbrachten. Die letzten bekannten Förderzahlen des Bergwerks stammen aus dem Jahr 1868, in diesem Jahr wurden 25.898 Tonnen Steinkohle gefördert.
Was geblieben ist
Von der Zeche Helena ist nur die Fläche der ehemaligen Kohlenniederlage an der Ruhr erhalten geblieben. Diese befindet sich in Heven südlich der Ruhrbrücke in der Nähe der Straße „In der Lake“.
Einzelnachweise
Weblinks
Der frühe Bergbau an der Ruhr: Zeche Helena / Helene Tiefbau (zuletzt abgerufen am 30. Oktober 2012)
Der frühe Bergbau an der Ruhr: Historische Karte um 1840 (zuletzt abgerufen am 30. Oktober 2012)
Der frühe Bergbau an der Ruhr: Karte der Situation um 2000 (zuletzt abgerufen am 30. Oktober 2012)
Helena
Helena
| 15,693
|
https://stackoverflow.com/questions/47702221
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,017
|
Stack Exchange
|
https://stackoverflow.com/users/2953647, https://stackoverflow.com/users/322642, https://stackoverflow.com/users/5241486, https://stackoverflow.com/users/599346, ligi, parkgrrr, tccpg288, tyczj
|
English
|
Spoken
| 672
| 3,593
|
Floating Action Button Not Rendering on API < 21
EDIT: I have updated to the latest Android Support library and am still receiving the error.
I know this question is redundant and I have researched all questions on SO, but I am still unable to determine why my FAB is not rendering on API 19. I understand there were considerable changes with API 21, and backwards compatibility is resolved with the AppCompat libraries. I also understand a critical change required is changing
android:backgroundTint="@color/actionRed"
to
app:backgroundTint="@color/actionRed"
which I have done.
It may have to do with my themes, as I am still learning the basics of Android themes and material design. Below is all of the relevant code depicting my libraries, XML, and the errors I am receiving:
Manifest (I was previously using NoActionBar theme, tried changing to Theme.AppCompat):
<application
android:name="android.support.multidex.MultiDexApplication"
android:allowBackup="true"
android:icon="@drawable/xxxxxxxx"
android:label="@string/app_name"
android:theme="@style/Theme.AppCompat">
XML:
<android.support.v4.widget.DrawerLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.design.widget.FloatingActionButton
android:visibility="visible"
android:id="@+id/myFAB"
android:clickable="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:backgroundTint="@color/actionRed"
android:layout_gravity="bottom|end"
android:layout_marginEnd="6dp"
android:layout_marginRight="6dp"
android:layout_marginBottom="6dp"
app:srcCompat="@drawable/ic_add_white_24dp"
app:elevation="4dp"
/>
App-Level Gradle:
android {
compileSdkVersion 26
buildToolsVersion '26.0.2'
defaultConfig {
vectorDrawables.useSupportLibrary = true
applicationId "xxxxxxxxxxxx"
minSdkVersion 16
targetSdkVersion 26
versionCode 1
versionName "1.0"
multiDexEnabled true
}
// Support library
compile "com.android.support:design:$supportLibVersion"
compile "com.android.support:cardview-v7:$supportLibVersion"
compile "com.android.support:support-v4:$supportLibVersion"
compile "com.android.support:appcompat-v7:$supportLibVersion"
Root Gradle:
ext {
supportLibVersion = "27.0.2"
playServicesVersion = "11.4.2"
}
Drawable (is it because I am using my own FAB image? I want the red button with a white "+" sign):
Error:
1:28.981 3807-3807/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: xxxxxxxxxxxxx, PID: 3807
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.troychuinard.fanpolls/com.troychuinard.fanpolls.HomeActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class android.support.design.widget.FloatingActionButton
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2184)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)
at android.app.ActivityThread.access$800(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5001)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.view.InflateException: Binary XML file line #13: Error inflating class android.support.design.widget.FloatingActionButton
at android.view.LayoutInflater.createView(LayoutInflater.java:620)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:758)
at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
at android.view.LayoutInflater.inflate(LayoutInflater.java:353)
at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:287)
at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:139)
at com.troychuinard.fanpolls.HomeActivity.onCreate(HomeActivity.java:66)
at android.app.Activity.performCreate(Activity.java:5231)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2148)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)
at android.app.ActivityThread.access$800(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5001)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at android.view.LayoutInflater.createView(LayoutInflater.java:594)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:758)
at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
at android.view.LayoutInflater.inflate(LayoutInflater.java:353)
at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:287)
at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:139)
at com.troychuinard.fanpolls.HomeActivity.onCreate(HomeActivity.java:66)
at android.app.Activity.performCreate(Activity.java:5231)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2148)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)
at android.app.ActivityThread.access$800(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5001)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NoSuchMethodError: android.support.v4.content.res.ConfigurationHelper.getScreenWidthDp
at android.support.design.widget.FloatingActionButton.getSizeDimension(FloatingActionButton.java:442)
at android.support.design.widget.FloatingActionButton.getSizeDimension(FloatingActionButton.java:434)
at android.support.design.widget.FloatingActionButton$ShadowDelegateImpl.getRadius(FloatingActionButton.java:819)
at android.support.design.widget.FloatingActionButtonGingerbread.setBackgroundDrawable(FloatingActionButtonGingerbread.java:92)
at android.support.design.widget.FloatingActionButton.<init>(FloatingActionButton.java:181)
at android.support.design.widget.FloatingActionButton.<init>(FloatingActionButton.java:153)
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at android.view.LayoutInflater.createView(LayoutInflater.java:594)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:758)
at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
at android.view.LayoutInflater.inflate(LayoutInflater.java:353)
at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:287)
at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:139)
at com.troychuinard.fanpolls.HomeActivity.onCreate(HomeActivity.java:66)
at android.app.Activity.performCreate(Activity.java:5231)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2148)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)
at android.app.ActivityThread.access$800(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5001)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
at
dalvik.system.NativeStart.main(Native Method)
12-06 23:41:28.981 569-870/? W/ActivityManager: Force finishing
activity xxxxxxxxxxxx/.HomeActivity
Any help, resources with material design, AppCompat, backwards compatibility, or any associated advice would be appreciated.
You are several major versions behind on the support library and I believe there were bug fixes related to background tint's
Thanks I will update the support library and take it from there
Is there an issue with me using my own drawable? I am assuming the built-in Android drawable is what I should be using as well.
You can use whatever image you want in the button
I was also going to suggest using support lib version 26.1.0 to match your compile sdk version.
Why not increase the compileSDK so that I can use the latest support library? It appears my problem is I am using outdated libraries.
You must replace:
android:src
with:
app:srcCompat
still not appearing, appreciate the help; updated my XML
do you see it when removing the tint?
just tried, I still do not see it without the tint. Quite odd. Tempted to try a third-party library but thought AppCompat would have resolved this. What is the difference between v4 and v7?
| 45,640
|
https://stackoverflow.com/questions/73695979
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,022
|
Stack Exchange
|
bn_ln, https://stackoverflow.com/users/10535824
|
English
|
Spoken
| 88
| 163
|
Find all elements with specified xpath rather than just the first
Currently I have
XPATH = "//*[contains(@id, 'id__')]/div[3]/div/div"
elem = driver.find_element("xpath", XPATH)
The XPATH uses contains as the id in the xpath is randomized, there is multiple elements with this same structure so it picks the first one it finds and ignores the rest. How can I make it so it grabs every element with this?
The selenium docs can be helpful here. But find_elements should return you a list of matching candidates
elem = driver.find_elements("xpath", XPATH)
print(elem[0])
| 5,678
|
https://cy.wikipedia.org/wiki/Alma%20De%20Sant%20Pere
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Alma De Sant Pere
|
https://cy.wikipedia.org/w/index.php?title=Alma De Sant Pere&action=history
|
Welsh
|
Spoken
| 208
| 485
|
Ffilm ddrama gan y cyfarwyddwr Jarmo Lampela yw Alma De Sant Pere a gyhoeddwyd yn 2016. Fe'i cynhyrchwyd yn y Ffindir. Lleolwyd y stori yn Barcelona. Sgwennwyd y sgript yn wreiddiol yn Sbaeneg a Chatalaneg a hynny gan Jarmo Lampela a chyfansoddwyd y gerddoriaeth gan Pekka Lehti. Mae'n ffilm a ddosbarthwyd drwy fideo ar alw.
Y prif actor yn y ffilm hon yw Laura Birn. Cafodd ei ffilmio mewn lliw.
Fel y nodwyd, cyhoeddwyd y ffilm yn 2016. Ffilm fwyaf poblogaidd y flwyddyn honno oedd Fantastic Beasts and Where to Find Them sef ffilm ffantasi gan J. K. Rowling. Hyd at 2022 roedd o leiaf 11,800 o ffilmiau Sbaeneg wedi gweld golau dydd.
Aarne Tapola oedd sinematograffydd ('cyfarwyddwr ffotograffi') y ffilm hon.
Cyfarwyddwr
Ganwyd y cyfarwyddwr ffilm Jarmo Lampela ar 9 Hydref 1964 yn Rovaniemi. Derbyniodd ei addysg ym Mhrifysgol Aalto yn y Celfyddydau a Phensaerniaeth.
Derbyniad
Gweler hefyd
Cyhoeddodd Jarmo Lampela nifer o ffilmiau gan gynnwys y canlynol:
Cyfeiriadau
Ffilmiau gan gyfarwyddwyr ffilm gwrywaidd Sbaeneg
Ffilmiau lliw
Ffilmiau lliw o'r Ffindir
Dramâu o'r Ffindir
Ffilmiau Sbaeneg
Ffilmiau Catalaneg
Ffilmiau o'r Ffindir
Dramâu
Ffilmiau 2016
Ffilmiau gyda llai na 10 o actorion lleisiol
Ffilmiau a ddosbarthwyd drwy fideo ar alwad
Ffilmiau sydd a'u stori wedi'i lleoli yn Barcelona
| 38,313
|
https://fr.wikipedia.org/wiki/Federico%20Ricca
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Federico Ricca
|
https://fr.wikipedia.org/w/index.php?title=Federico Ricca&action=history
|
French
|
Spoken
| 225
| 397
|
Federico Ricca, né le à Tarariras en Uruguay, est un footballeur international uruguayen. Il évolue au poste d'arrière gauche à Oud-Heverlee Louvain.
Biographie
Carrière en club
Avec l'équipe du Danubio FC, il joue quatre matchs en Copa Libertadores, et également quatre rencontres en Copa Sudamericana.
Le 20 avril 2016, il inscrit avec le Málaga CF son seul et unique but en première division espagnole, lors de la réception du Rayo Vallecano (score : 1-1).
Le Club Bruges KV officialise son arrivée le 14 août 2019 où il paraphe un contrat de quatre ans. Il devient le premier uruguayen à porter les couleurs du club belge. Pour sa première saison en Belgique, il ne prend part qu'à huit rencontres de championnat, en débutant sept. Il participe également à la phase de groupe de Ligue des champions, apparaissant à 5 reprises, dont 4 titularisations.
Ne convaincant pas lors de sa première saison, Bruges cherche à se renforcer à son poste lors du mercato estival 2020, s'intéressant notamment à Núrio Fortuna et Michał Karbownik.
Carrière en équipe nationale
Il reçoit sa première sélection en équipe d'Uruguay le 4 juin 2017, en amical contre l'Irlande (défaite 3-1).
Références
Liens externes
Footballeur international uruguayen
Joueur du Danubio FC
Joueur du Málaga CF
Joueur du Club Bruges KV
Joueur d'Oud-Heverlee Louvain
Naissance en décembre 1994
Naissance dans le département de Colonia
| 18,781
|
https://stackoverflow.com/questions/27218642
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,014
|
Stack Exchange
|
Eric Barr, Lucas NN, https://stackoverflow.com/users/1313642, https://stackoverflow.com/users/3543871, https://stackoverflow.com/users/3782904, https://stackoverflow.com/users/4309680, thi gg, walton
|
English
|
Spoken
| 356
| 534
|
Find and count integers from an array larger than a specific number?
I have an array that is holding various numbers and what I want to do is find any number that is greater than 200 and count each time a number has been found. I am thinking a For Each loop would be suitable, but am a little lost on the implementation.
Dim intCount As Integer
For Each Index In _intCholesterolLevel
If Index > 200 Then
intCount += 1
End If
Next
Currently you are checking if the index is >200
Don't you need assign an initial value to intCount? Like intCount = 0;
Your code is correct, but has some confusing parts as mentioned in the comments. The "For Each" loop returns the value for each element of the array, NOT the array index. The word "index" refers to the position of the array, so it isn't a good variable name to use. And you should also initialize intCount to 0.
So again, your code works, but here is a more clear example that produces a correct intCount value of 3
Dim intCount As Integer = 0
Dim _intCholesterolLevel() As Integer = {50, 100, 150, 200, 250, 300, 350}
For Each cholesterolValue In _intCholesterolLevel
If cholesterolValue > 200 Then
intCount += 1
End If
Next
Thanks for the explanation! How would I go about collecting the index of those numbers and comparing it another array that holds names? Like "Bob 201". My other array is named _strPatientName
If you need the array index for the values over 200, then you probably want to switch to using a "For" loop instead of a "For Each". You can run the loop as For cholesterolIndex = 0 to _intCholesterolLevel.Length - 1 and if _intCholesterolLevel(cholesterolIndex) > 200, then get the name for _strPatientName(cholesterolIndex)
I have used you example, thanks. However when I try to write the name to a line in the text file, nothing is written. I added "strPatientsName = (_strPatientName(intCholesterolIndex))" and "objWriter.WriteLine(strPatientsName)" in the loop so that the name can be written every time the number is higher then 200. Any ideas?
Solution, use " objWriter.Close()"
| 7,715
|
https://ceb.wikipedia.org/wiki/Lake%20Kertiecacoora
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Lake Kertiecacoora
|
https://ceb.wikipedia.org/w/index.php?title=Lake Kertiecacoora&action=history
|
Cebuano
|
Spoken
| 136
| 224
|
Lanaw ang Lake Kertiecacoora sa Ostralya. Nahimutang ni sa estado sa State of South Australia, sa sentro nga bahin sa nasod, km sa amihanan-kasadpan sa Canberra ang ulohan sa nasod. metros ibabaw sa dagat kahaboga ang nahimutangan sa Lake Kertiecacoora. Ang kinahabogang dapit sa palibot dunay gihabogon nga ka metro ug km sa habagatan sa Lake Kertiecacoora.
Hapit nalukop sa [[kalibonan ang palibot sa Lake Kertiecacoora. Kunhod pa sa 2 ka tawo kada kilometro kwadrado sa palibot sa Lake Kertiecacoora. Ang klima init nga kamadan. Ang kasarangang giiniton °C. Ang kinainitan nga bulan Enero, sa °C, ug ang kinabugnawan Hunyo, sa °C. Ang kasarangang pag-ulan milimetro matag tuig. Ang kinabasaan nga bulan Marso, sa milimetro nga ulan, ug ang kinaugahan Oktubre, sa milimetro.
Saysay
Ang mga gi basihan niini
Mga lanaw sa State of South Australia
| 10,029
|
https://stackoverflow.com/questions/76319151
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,023
|
Stack Exchange
|
Arpita Shrivastava, guillaume blaquiere, https://stackoverflow.com/users/11372593, https://stackoverflow.com/users/21302428
|
English
|
Spoken
| 159
| 322
|
Error of exporting a table by its partition from bigQuery to google cloud platform storage bucket
I would like to export a table (~ 100GB) from GCP BigQuery to GCP storage bucket.
I have add a column to the table with export_id based on the example at
https://cloud.google.com/bigquery/docs/exporting-data#limit_the_exported_file_size
The total partition is 128.
Now, I need to export each partition as a single parquet file (which is < 1GB) to a GCS bucket.
FOR loop_variable_name IN (SELECT export_id FROM `project.dataset.my_table`)
DO
EXPORT DATA OPTIONS(
uri='gs://my_gcp_bucket/my_folder/*',
format='PARQUET',
overwrite=true)
AS
(
SELECT * EXCEPT(export_id)
FROM `project.dataset.my_table`
WHERE export_id = loop_variable_name
)
END FOR; -- error: syntax error: expected ";" but got "END"
Could anybody let me know what I missed out ? thanks
I have tried this Loop in BigQuery (SQL - GOOGLE CLOUD)
but I got the above error.
add a ; after your latest parenthesis )
Hi @mtnt, did the above comment help you in resolving the issue ?
| 29,620
|
https://ceb.wikipedia.org/wiki/Ctenomys%20yolandae
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Ctenomys yolandae
|
https://ceb.wikipedia.org/w/index.php?title=Ctenomys yolandae&action=history
|
Cebuano
|
Spoken
| 67
| 136
|
Kaliwatan sa mangungutkut ang Ctenomys yolandae. Una ning gihulagway ni Julio R. Contreras ug Berry ni adtong 1984. Ang Ctenomys yolandae sakop sa kahenera nga Ctenomys, ug kabanay nga Ctenomyidae. Giklaseklase sa IUCN ang kaliwatan sa kapos sa datos.
Kini nga matang hayop na sabwag sa:
Habagatang Amerika
Walay nalista nga matang nga sama niini.
Ang mga gi basihan niini
Mangungutkut
Mangungutkut sa Habagatang Amerika
Ctenomys (Ctenomyidae)
| 44,111
|
https://math.stackexchange.com/questions/1534223
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,015
|
Stack Exchange
|
Eric Wofsey, https://math.stackexchange.com/users/86856
|
English
|
Spoken
| 697
| 1,262
|
Trying to understand the slick proof about the dual space
In this famous MO question, a beautiful proof is given of the fact $V\cong V^\ast\iff V$ is finite dimensional.
I'm trying to go through it and I'm having some trouble. First of all, I know the in the infinite dimensional case, $|V^\ast|=|k|^{\dim V}$ and $|V|=\max (|k|,\dim V)$. Now, the assumption in the first claim says $\dim V$ is at least $|k|$. If this means a loose inequality, then I don't understand how we can conclude $\dim V< \dim V^\ast$, since the only result on cardinal exponentiation I know of which gives a strict inequality is:
If $\kappa$ is infinite with $\mathrm{cf}(\kappa)\leq \lambda$ then $\kappa ^\lambda >\kappa$.
If we do assume a strict inequality, then I still don't know why our inequality follows, but even worse, I don't understand why knowing that each field contains a coutnable subfield finishes the proof. So I'm pretty sure we only need to assume a loose inequality, but I just don't understand the cardinal arithmetic.
The second part of my question is about which parts of the proof fail when generalizing to free non-finitely generated modules over commutative rings. It seems the problem can only arise in proposition 2, since the first one involves cardinality games alone, and the last fact seems to be true for most algebraic structures (having a countable substructure).
In the final paragraph, do you mean "free non-finitely generated modules"?
Yes, sorry. I'll edit the question.
I have updated my answer to address the second part of your question.
For any $V$, we have $|V^*|=|k|^{\dim V}\geq 2^{\dim V}>\dim V$. The point of the assumption $\dim V\geq |k|$ is that it implies (via $|V|=\max(|k|,\dim V)$) that $\dim V=|V|$, so we get $|V^*|>|V|$, which then clearly implies $\dim V^*>\dim V$.
The case of arbitrary commutative rings actually follows more or less immediately from the field case. If $A$ is a (nonzero) commutative ring, choose any maximal ideal $m$, with residue field $A/m=k$. If $F=A^{\oplus S}$ is a free module with basis $S$, then $F^*$ is the infinite product $A^S$. Note that $F/mF$ can naturally be identified with $k^{\oplus S}$, and $F^*/mF^*$ has a natural surjection to $k^S$, and in particular, $\dim_k F^*/mF^*\geq\dim k^S$. If $F$ is isomorphic to $F^*$, then $F/mF$ must be isomorphic to $F^*/mF^*$ as a $k$-vector space. This means $|S|=\dim_k F^*/mF^*\geq \dim k^S$. By the field case, this implies $S$ must be finite.
The second part of your answer shows $F\cong F^\ast\implies$ $F$ f.g.
How does the second part settle with Qiaochu Yuan's last comment on this answer? Is all well because free f.g $\not\implies$ $F\cong F^\ast$?
Also, I'm wondering about the proof itself - which parts of it are simply not true for modules? Seems you can still extends functionals and all that..
The second part of my answer shows that if $F$ is free and $F\cong F^$, then $F$ is finitely generated. If $F$ isn't free, it doesn't tell you anything. I think the entire original proof should actually just work directly for any commutative ring, but I haven't checked every detail. Again, assuming it does work, it only tells you about free modules, not arbitrary modules that might satisfy $F\cong F^$.
Oh, actually, a possibly serious problem with applying the proof to a general ring is that you don't know that $W^$ has to be free. So you can't just take a basis of $W^$ and extend it to a linearly independent subset of $V^*$ for the last step of the proof.
So we can weaken our assumptions to $M$ is free and $M^{\ast}$ is free? Also, in the proof, why does $|S|\geq \dim k^S$ yield the result? I think $k^S$ is not a dual space. Can't we just say $\dim (F^\ast /mF^\ast)\geq \dim (F/mF)$ and then use $V\cong V^\ast \cong V^{\ast\ast}$? Then if we take $V=F^\ast /mF^\ast$ we get $\dim V \geq \dim V^\ast$ which implies $V$ is f.d.
I don't understand what you mean in the first question. The vector space $k^S$ is the dual of $k^{\oplus S}$, a vector space of dimension $S$. In this situation, you don't know that $V\cong V^$ (for $V=F/mF$); all you know is that $F\cong F^$.
| 14,674
|
https://no.wikipedia.org/wiki/Lars%20Simonsen
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Lars Simonsen
|
https://no.wikipedia.org/w/index.php?title=Lars Simonsen&action=history
|
Norwegian
|
Spoken
| 289
| 617
|
Lars Simonsen (født 19. september 1963) er en dansk skuespiller.
Han er utdannet fra Aarhus Teater i 1990. Utover roller på dette teater, har han også opptrådt på blant annet Odense Teater, Rialto Teatret, Gladsaxe Teater, Husets Teater og Betty Nansen Teatret.
Blant de forestillinger han har medvirket i kan nevnes Snart kommer tiden, Den gerrige, Hagbard og Signe, Maskerade, Pinocchios aske, Helligtrekongers aften og Primadonnaer på prøve.
Lars Simonsen har mottatt Robertprisen for beste mannlige hovedrolle i 1985 og 1998 for henholdsvis filmene Tro, håb og kærlighed og Barbara.
Fra TV huskes han nok spesielt fra serien Landsbyen, men han har også hatt en rolle i Mordkommisjonen.
Filmografi (utvalg)
2011 – Broen
2009 – Lærkevej (TV-serie)
2007 – Forbrydelsen – Peter Lassen (2 episodes) (TV)
2003 – Forsvar – Professor Estrup (1 episode) (TV)
2003 – Afgrunden – Grigori Chmara (TV)
2003 – Livsforsikringen – O.P. Vademand
2002 – Mordkommisjonen – Flemming, Faren (1 episode) (TV)
2001 – Mit liv som Bent (mini) TV mini-series .... Frank Lands
2001 – Skjulte spor .... Carsten Hansen (1 episode) (TV)
2001 – Gem et smil, Katrine
1999 – Klinkevals – Simon Berggren
1999 – Manden som ikke ville dø – Adrian Palmberg
1997 – Barbara – Poul Aggersoee
1996 – Bella, min Bella – Bellas far
1996 – Tøsepiger – Michael
1992 – Mørklægning – Lydmand (mini-TV-serie)
1991 – De Nøgne træer – Kjeld
1991 – Landsbyen – Thomas (TV-serie)
1987 – Pelle Erobreren – Niels Køller
1985 – Når engle elsker – Mortensens sønn
1985 – Jane Horney (mini) TV mini-series .... Jonas
1985 – Den kroniske Uskyld
1984 – Tro, håb og kærlighed – Erik
Referanser
Eksterne lenker
Danske skuespillere
Robertprisen for årets mannlige hovedrolle
Personer fra Odense
| 31,641
|
https://ro.wikipedia.org/wiki/Clar%C3%ADn
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Clarín
|
https://ro.wikipedia.org/w/index.php?title=Clarín&action=history
|
Romanian
|
Spoken
| 591
| 1,069
|
Clarín (în ) este cel mai mare ziar din Argentina, publicat de grupul media Grupo Clarín. A fost înființat de Roberto Noble la 28 august 1945 în Buenos Aires. Directorul său din 1969 a fost Ernestina Herrera de Noble.
Clarín face parte din Asociația Ziarelor din America Latină, o organizație a celor mai importante paisprezece ziare de top din America de Sud.
Istoria
Clarín a fost creat de Roberto Noble, fost ministru al provinciei Buenos Aires, la 28 august 1945. A fost unul dintre primele ziare argentiniene publicate în format tabloid. A devenit cel mai vândut ziar argentinian din 1965 și cel mai vândut ziar de limbă spaniolă în 1985. A fost și primul ziar argentinian care a vândut o revistă împreună cu ediția de duminică din 1967. În 1969, știrile au fost împărțite în mai multe suplimente după subiect. În 1976, imprimarea în culori a beneficiat de crearea AGR.
Pentru mai mulți ani, ziaristul argentinian Horacio Estol a fost corespondentul de la New York al lui Clarin, scriind despre aspectele vieții americane de interes pentru argentinieni.
Roberto Noble a murit în 1969, iar văduva lui Ernestina Herrera de Noble i-a succedat în calitate de director. Ziarul a cumpărat Papel Prensa în 1977, împreună cu La Nación și La Razón. În 1982, sa alăturat unui grup de alte 20 de ziare pentru a crea agenția de știri „Diarios y Noticias”. Revista de duminică a fost redenumită în 1994 în "Viva", un nume care există și azi. Ziarul a creat un conglomerat media în 1999, după o reformă a legii care i-a permite să adune mai multe suporturi media, conglomerat numit după ziar, Grupo Clarín. Acest grup media include radio, televiziune, internet, alte ziare în alte domenii decât Clarín.
La data de 27 decembrie 1999, grupul Clarín și firma americană de investiții Goldman Sachs au încheiat un contract de investiții în care un consorțiu, administrat de Goldman Sachs, a făcut o investiție directă în grupul Clarín. Operațiunea a presupus o creștere a capitalului grupului Clarin și includerea Goldman Sachs în calitate de partener minoritar, cu o participație de 18% din acțiuni.
Clarín a lansat clarin.com, site-ul pentru ziar, în martie 1996. În aprilie 2011, site-ul a avut aproape 6 milioane de vizitatori unici zilnici în Argentina, ceea ce l-a făcut al cincilea cel mai vizitat site web din țară în acea lună și cel mai vizitat site cu sediul în Argentina.
Din 2008 până în 2015, A existat un conflict între guvernul lui Fernández de Kirchner și grupul Clarín pe o varietate de probleme. Grupul Clarín este cea mai mare companie de media din Argentina, care nu numai că publică ziarul Clarín, ci deține și cel mai important operator de televiziune prin cablu, Cablevisión, un important canal de televiziune Canal 13, o serie de rețele de cablu și sute de licențe radio.
Tiraj
Clarín tipărește și distribuie în jur de 330.000 de exemplare pe întreg teritoriul țării, dar până în 2012, tirajul a scăzut la 270.444 exemplare, iar Clarín a reprezentat aproape 21% din piața ziarelor argentiniene, față de 35% în 1983. Clarín are o cotă de piață de 44% în Buenos Aires.
Potrivit furnizorilor de servicii de analiză web, Alexa și SimilarWeb, site-ul Clarín este al 10-lea, respectiv al 14-lea, cel mai vizitat site web în Argentina, în august 2015. SimilarWeb notează site-ul ca fiind al treilea site de știri cel mai vizitat în Argentina, atrăgând aproape 32 de milioane de vizitatori pe lună.
Referințe
Legături externe
- Site web oficial
Ziare din Argentina
Ziare în limba spaniolă
Fondări în 1945
| 28,468
|
https://en.wikipedia.org/wiki/Gabrielle%20Wittkop
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Gabrielle Wittkop
|
https://en.wikipedia.org/w/index.php?title=Gabrielle Wittkop&action=history
|
English
|
Spoken
| 328
| 509
|
Gabrielle Wittkop (née Ménardeau; 27 May 1920 – 22 December 2002) was a French writer and translator.
Life and career
Gabrielle Wittkop was born on 27 May 1920 in Nantes. During the Nazi occupation of Paris, she met a German deserter, Justus Wittkop, whom she hid from the Nazis. He was homosexual and twenty years older than her, but they married in a union she called an “intellectual alliance.” In 1946, after the end of the Second World War she moved with him to Frankfurt where she would stay for the rest of her life.
Her first book on the German writer E.T.A. Hoffmann was published in German in 1966. Her first novel, a transgressive erotic drama about a necrophiliac antique dealer, Le Nécrophile (The Necrophiliac, 1972), was published in 1972 by Régine Desforges when she was 52. She wrote several highly regarded novels and travelogues, as well as translating works by Theodor Adorno, Uwe Johnson, Wolfgang Hildesheimer and Peter Handke into French. She also contributed to the art pages of the Frankfurter Allgemeine Zeitung.
Her husband committed suicide in 1986 after he was diagnosed with Parkinson's disease and she wrote an account of it in Hemlock (1988). In 2002, she herself committed suicide in Frankfurt at the age of 82, after she was diagnosed with lung cancer.
Although popular in France and Germany, Wittkop's works were not widely available in English until recent years. The Necrophiliac was translated in a Canadian edition by Don Bapst in 2011, and in a Danish edition by Christina Ytzen in 2018. English translations of Les Départs exemplaires (Exemplary Departures, 1995) and Sérénissime Assassinat (Murder Most Serene, 2001) were published by Wakefield Press in 2015.
English translations
The Necrophiliac, published by ECW Press.
Exemplary Departures, published by Wakefield Press.
Murder Most Serene, published by Wakefield Press.
References
1920 births
2002 suicides
2002 deaths
20th-century French novelists
20th-century French translators
20th-century French women writers
Suicides in Germany
Writers from Nantes
Writers from Frankfurt
| 20,198
|
https://stackoverflow.com/questions/22919658
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,014
|
Stack Exchange
|
Arup Rakshit, Uri Agassi, https://stackoverflow.com/users/1120015, https://stackoverflow.com/users/128421, https://stackoverflow.com/users/244128, https://stackoverflow.com/users/2767755, https://stackoverflow.com/users/3498196, maerics, scottcorvus, the Tin Man
|
Venetian
|
Spoken
| 813
| 2,170
|
Parsing XML into CSV using Nokogiri
I am trying to figure out how to get Make and Model out of XML returned from a URL and put them into a CSV. Here is the XML returned from the URL:
<VINResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://basicvalues.pentondata.com/">
<Vehicles>
<Vehicle>
<ID>131497</ID>
<Product>TRUCK</Product>
<Year>1993</Year>
<Make>Freightliner</Make>
<Model>FLD12064T</Model>
<Description>120'' BBC Alum Air Cond Long Conv. (SBA) Tractor w/48'' Sleeper Air Brakes & Power Steering 6x4 (SBA - Set Back Axle)</Description>
</Vehicle>
<Vehicle>
<ID>131497</ID>
<Product>TRUCK</Product>
<Year>1993</Year>
<Make>Freightliner</Make>
<Model>FLD12064T</Model>
<Description>120'' BBC Alum Air Cond Long Conv. (SBA) Tractor w/48'' Sleeper Air Brakes & Power Steering 6x4 (SBA - Set Back Axle)</Description>
</Vehicle>
</Vehicles>
<Errors/>
<InvalidVINMsg/>
</VINResult>
Here is the code I have so far:
require 'csv'
require 'rubygems'
require 'nokogiri'
require 'open-uri'
vincarriercsv = 'vincarrier.csv'
vindetails = 'vindetails.csv'
vinurl = 'http://redacted/LookUp_VIN?key=redacted&vin='
CSV.open(vindetails, "wb") do |details|
CSV.foreach(vincarriercsv) do |row|
vinxml = Nokogiri::HTML(vinurl + row[1])
make = vinxml.xpath('//VINResult//Vehicles//Vehicle//Make').text
model = vinxml.xpath('//VINResult//Vehicles//Vehicle//Model').text
details << [ row[0], row[1], make, model ]
end
end
For some reason the URL returns the same data twice but I only need the first result. So far my attempts to grab the Make and Model from the XML has failed...any ideas?
I believe my issues are around this line: make = vinxml.xpath('//VINResult//Vehicles//Vehicle//Make').text
Yes, It is there. Do vinxml.xpath('//VINResult//Vehicles//Vehicle//Make').map(&:text).. vinxml.xpath('//VINResult//Vehicles//Vehicle//Make') gives you NodeSet, you need to iterate through it to collect the text of each Node.
Note that there is a difference between / and // in XPath - double check your usage.
I don't think I want to iterate through the whole thing. I just want the first Make and Model returned...What code would I need to include to get just that text?
vinxml.xpath('//VINResult//Vehicles//Vehicle//Make').map(&:text).first
Here's how to get at the make and model data. How to convert it to CSV is left to you:
require 'nokogiri'
doc = Nokogiri::XML(<<EOT)
<VINResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://basicvalues.pentondata.com/">
<Vehicles>
<Vehicle>
<ID>131497</ID>
<Product>TRUCK</Product>
<Year>1993</Year>
<Make>Freightliner</Make>
<Model>FLD12064T</Model>
<Description>120'' BBC Alum Air Cond Long Conv. (SBA) Tractor w/48'' Sleeper Air Brakes & Power Steering 6x4 (SBA - Set Back Axle)</Description>
</Vehicle>
<Vehicle>
<ID>131497</ID>
<Product>TRUCK</Product>
<Year>1993</Year>
<Make>Freightliner</Make>
<Model>FLD12064T</Model>
<Description>120'' BBC Alum Air Cond Long Conv. (SBA) Tractor w/48'' Sleeper Air Brakes & Power Steering 6x4 (SBA - Set Back Axle)</Description>
</Vehicle>
</Vehicles>
<Errors/>
<InvalidVINMsg/>
</VINResult>
EOT
vehicle_make_and_models = doc.search('Vehicle').map{ |vehicle|
[
'make', vehicle.at('Make').content,
'model', vehicle.at('Model').content
]
}
This results in:
vehicle_make_and_models # => [["make", "Freightliner", "model", "FLD12064T"], ["make", "Freightliner", "model", "FLD12064T"]]
If you don't want the field names:
vehicle_make_and_models = doc.search('Vehicle').map{ |vehicle|
[
vehicle.at('Make').content,
vehicle.at('Model').content
]
}
vehicle_make_and_models # => [["Freightliner", "FLD12064T"], ["Freightliner", "FLD12064T"]]
Note: You have XML, not HTML. Don't assume that Nokogiri treats them the same, or that the difference is insignificant. Nokogiri parses XML strictly, since XML is a strict standard.
I use CSS selectors unless I absolutely have to use XPath. CSS results in a much clearer selector most of the time, which results in easier to read code.
vinxml.xpath('//VINResult//Vehicles//Vehicle//Make').text doesn't work, because // means "start at the top of the document". Each time it's encountered Nokogiri starts at the top, searches down, and finds all matching nodes. xpath returns all matching nodes as a NodeSet, not just a particular Node, and text will return the text of all Nodes in the NodeSet, resulting in a concatenated string of the text, which is probably not what you want.
I prefer to use search instead of xpath or css. It returns a NodeSet like the other two, but it also lets us use either CSS or XPath selectors. If your particular selector was ambiguous and could be interpreted as either CSS or XPath, then you can use the explicit form. Likewise, you can use at or xpath_at or css_at to find just the first matching node, which is equivalent to search('foo').first.
so would this return the first value for the first instance of Make in the XML? vinxml.search('Make').first
No, it would return the first matching Node, not its "value". You should use at('Make') if that's your intent. Add text if you want its "value". Remember, a Node is a location in the document. It's not the content of the node itself.
Thanks! I was also opening the URL incorrectly but your patient responses got me to the finish line!
You could also do the following which will place all of the vehicles in an Array and all of the vehicle attributes into a Hash
require 'nokogiri'
doc = Nokogiri::XML(open(YOUR_XML_FILE))
vehicles = doc.search("Vehicle").map do |vehicle|
Hash[
vehicle.children.map do |child|
[child.name, child.text] unless child.text.chomp.strip == ""
end.compact
]
end
#=>[{"ID"=>"131497", "Product"=>"TRUCK", "Year"=>"1993", "Make"=>"Freightliner", "Model"=>"FLD12064T", "Description"=>"120'' BBC Alum Air Cond Long Conv. (SBA) Tractor w/48'' Sleeper Air Brakes Power Steering 6x4 (SBA - Set Back Axle)"}, {"ID"=>"131497", "Product"=>"TRUCK", "Year"=>"1993", "Make"=>"Freightliner", "Model"=>"FLD12064T", "Description"=>"120'' BBC Alum Air Cond Long Conv. (SBA) Tractor w/48'' Sleeper Air Brakes Power Steering 6x4 (SBA - Set Back Axle)"}]
Then you can access all the attributes for an individual vehicle i.e.
vehicles.first["ID"]
#=> "131497"
vehicles.first["Year"]
#=> "1993"
etc.
| 47,553
|
https://min.wikipedia.org/wiki/Megaselia%20sulfurella
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Megaselia sulfurella
|
https://min.wikipedia.org/w/index.php?title=Megaselia sulfurella&action=history
|
Minangkabau
|
Spoken
| 33
| 98
|
Megaselia sulfurella adolah langau dari famili Phoridae. Spesies ko juo marupokan bagian dari ordo Diptera, kelas Insecta, filum Arthropoda, dan kingdom Animalia.
Langau ko biasonyo panjangnyo sekitar 0,5–6 mm (1⁄64–1⁄4 in).
Rujuakan
Phoridae
| 49,457
|
https://fr.wikipedia.org/wiki/Miction
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Miction
|
https://fr.wikipedia.org/w/index.php?title=Miction&action=history
|
French
|
Spoken
| 797
| 1,375
|
La miction (du latin , « uriner »), l'action d'uriner, désigne l'élimination d'urine par la vidange de la vessie.
Description
Les observations des mictions de mammifères d'une équipe du Georgia Institute of Technology ont mis en évidence en 2013 une loi expérimentale : la majorité des mammifères, quelle que soit leur taille et leur masse, mettent approximativement 21 secondes pour vider leur vessie. L'explication de ce phénomène est que la miction chez ces animaux est essentiellement dominée par la gravité : l'augmentation du mammifère en taille et en masse se traduit par un volume de vessie plus important et donc un volume d'urine qui devrait être plus long à évacuer, mais cela se traduit aussi par un urètre plus large et plus long qui permet d'augmenter proportionnellement le débit urinaire, d'où un temps de miction qui reste pratiquement identique. Cette loi ne s'applique pas à de petits mammifères (au poids inférieur au kg) qui urinent en moins d'une seconde, la gravité n'exerçant alors pas d'influence sur le débit qui est plus déterminé par la viscosité de l'urine et sa tension de surface, ce qui explique pourquoi leur urine est libérée sous forme d'un flux de petites gouttes d'urine individuelles plutôt que le jet continu des grands mammifères.
Fréquence
En fonction de l'apport de liquides et des conditions d'hygrométrie et de température extérieures, une personne saine produit en environ 1 à d'urine (diurèse), éliminée de 2 à 6 fois par jour.
La production d'urine n'est pas constante au cours de la journée. L'homme produit le plus d'urine vers six heures du matin (voir Chronobiologie).
Anomalies
Si l'on n'élimine pas d'urine ou si l'on en élimine moins de en 24 heures, on parle d'anurie.
On parle d'oligurie pour un sujet qui élimine moins de par jour.
On appelle pollakiurie une fréquence excessive des mictions.
Si le volume quotidien dépasse les 2 ou 3 litres, on parle de polyurie.
On parle également d'urine « anormale » lorsque celle-ci contient des quantités significatives de glucose (glucosurie), de protéines sanguines (protéinurie), de globules rouges (hématurie).
Aspects socioculturels
Posture
Hommes, femmes et enfants peuvent uriner (et déféquer) en position accroupie. Les hommes peuvent uriner debout.
Femmes
Avant la généralisation du port du slip dans la première moitié du , la miction en position accroupie pouvait s'effectuer rapidement, une jupe longue pouvant faire écran lorsque les femmes devaient se soulager à l'extérieur.
En Occident, depuis la généralisation du siège de toilette, les femmes urinent en position assise, le plus fréquemment. Par la suite, beaucoup d’entre elles n'apprennent pas la façon de diriger le jet d’urine qui leur permettrait d’uriner debout. La miction en position debout est facilitée par le recours à une urinette. Toutefois cette position ne permet pas une vidange optimale de la vessie.
Les femmes prennent une position semi-accroupie dans les toilettes publiques lorsque celles-ci ne sont pas propres, ce qui risque d'aggraver le problème.
Elles prennent une position accroupie ou semi-accroupie dans la nature.
Hommes
En Occident, beaucoup d'hommes préfèrent uriner debout ; les autres préfèrent uriner assis (diminution des projections) ou accroupis.
Au Moyen-Orient et en Asie, la position accroupie est plus répandue.
Uriner sous la douche
Uriner sous la douche est un acte écoresponsable (économie d’eau ou de papier). Toutefois cette pratique appelle deux réserves :
pour les femmes, la position accroupie est anatomiquement préférable pour détendre le plancher pelvien et mieux vidanger la vessie ;
éviter l'association mentale entre miction et bruit de l'eau : celle-ci pourrait conduire à une incontinence conditionnée par ce bruit.
Représentations artistiques
La représentation de l'acte d'uriner est relativement rare chez les artistes non consacrés à l'art érotique.
Rembrandt a gravé en 1631 La Femme qui pisse. Ce thème a été repris par Pablo Picasso dans un grand tableau datant du , La Pisseuse.
La représentation la plus connue est sans doute celle du Manneken-Pis bruxellois. Le Manneken-Pis a une petite sœur, Jeanneke Pis, et a inspiré d'autres représentations du même ordre (voir l'article sur le Manneken-Pis).
Un empereur romain dans le besoin
D'après Suétone, vers 69, Vespasien, qui souhaitait restaurer les finances de l'État mises à mal par Néron, décida de taxer les latrines publiques (qui fournissaient l'urine nécessaire lors des travaux de tannage des peaux et de foulage de la laine). Son fils Titus exprima des réserves quant à ce nouvel impôt. Après sa mise en place, Vespasien convoqua Titus, lui mit sous le nez des pièces d'or ainsi collectées, en lui demandant s'il était importuné par l'odeur. Titus répondit non, et s'attira une réplique restée célèbre : Bien sûr, "l'argent n'a pas d'odeur !" (Pecunia non olet !).
Les premières vespasiennes furent appelées ainsi en souvenir de cette innovation fiscale.
Notes et références
Voir aussi
Articles connexes
Urine
Incontinence urinaire
Dysurie, anurie, oligurie
Troubles de la prostate
Toilettes
Urinal
Urine
| 38,045
|
https://hu.wikipedia.org/wiki/Wikivoyage
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Wikivoyage
|
https://hu.wikipedia.org/w/index.php?title=Wikivoyage&action=history
|
Hungarian
|
Spoken
| 114
| 336
|
A Wikivoyage a Wikimédia Alapítvány ingyenes internetes útikönyve. A neve a Wiki és a francia voyage () szóból áll. Az új wikiprojekt 2013. január 15-én, a Wikipédia alapításának 12. évfordulója évében, napra a születésnapján startolt. 24 nyelven érhető el: angolul, németül, hollandul, oroszul, svédül, olaszul, portugálul, franciául, spanyolul, kínaiul, finnül, görögül, héberül, perzsául, lengyelül, románul, ukránul, vietnámiul, törökül, japánul, hindiül, pastuul, bengáliul és eszperantóul.
Előzmények
A Wikivoyage kezdeti változata 2006. szeptember 30-án nyílt meg, amikor az olasz és német Wikitravel úgy döntött, hogy a szerkesztéseket és a tartalmat átmozgatják egy új helyszínre. Élesben 2006. december 10-én indult el a honlap, amely szolgáltatója akkor még a német Wikivoyage e.V. volt.
Jegyzetek
Wikipédia-típusú weboldalak
Turisztikai információk
| 18,895
|
https://ja.wikipedia.org/wiki/%E3%82%BD%E3%83%AD%E3%83%A2%E3%83%B3%20%28%E3%83%94%E3%82%A2%E3%83%8B%E3%82%B9%E3%83%88%29
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
ソロモン (ピアニスト)
|
https://ja.wikipedia.org/w/index.php?title=ソロモン (ピアニスト)&action=history
|
Japanese
|
Spoken
| 14
| 1,098
|
ソロモン(Solomon、本名:ソロモン・カットナー,Solomon Cutner,1902年8月6日 - 1988年2月2日)は、イギリスのピアニスト。活躍した時期が長くなく、脳梗塞によってキャリアを中断されたことから伝説的なピアニストと言われることがある。
経歴
ロンドンのイーストエンドに7人兄弟の末っ子として生まれる。5歳でクララ・シューマンの弟子、マチルダ・ヴェルンに師事する。1912年10歳でデビューを飾った。この時のプログラムはベートーヴェン作曲ピアノ協奏曲第3番であり、指揮はヘンリー・ウッドであった。その後チャイコフスキーのピアノ協奏曲第1番でロンドンでのデビューを果たした。これらのコンサートの成功から「神童ソロモン」と呼ばれ、以後ファーストネームのソロモンで活動した。ファーストネームのままで活躍したケースは非常に珍しい。
イギリスでの演奏活動での成功にもかかわらず、ソロモンは演奏活動を中断することを決心する。彼はパリに渡り、マルセル・デュプレとラザール・レヴィについて学んだ。ラザール・レヴィはクララ・ハスキルの師でもある。その後19歳で演奏活動を再開し、1929年には初めての録音を行う。
ソロモンは古典派からロマン派にかけて広範なレパートリーを誇っていた。だが、彼の名を高からしめたのは何よりベートーヴェンの演奏であった。ソロモンは優れた技巧と高い暗譜の能力を基礎とした深い楽曲への洞察に基づく、格調高く古典的、構築的な演奏で知られた。故国イギリスを中心に欧米では偉大なベートーヴェン弾きの一人と考えられている。日本には1953年に来日したが、あまり話題にはならなかった。しかし音楽評論家の吉田秀和は彼を高く評価し、最高のベートーヴェン弾きとしてその著作で言及している。ソロモンはEMIと契約を結び、1951年からベートーヴェンのピアノソナタ全集の録音に取り組んだ。だが1956年夏、脳梗塞のために左手の薬指および小指が自由に動かないことに気づいた。このためピアノソナタ31番の終楽章では指が滑り、一部が欠落して修正されないままであった。結局彼は脳梗塞のために引退を余儀なくされ、全集は未完に終わった。
演奏スタイル
潔癖なマナーが印象的で、轟音はほとんど用いられない。スタジオ録音とライブ演奏にほとんど差がなかったとも言われており、いくつかの演奏では潔癖すぎるあまり、やや退屈な印象を与えることもある。後期ベートーヴェン演奏は彼の十八番であったようで、フガート構造が綺麗に透けて見えるほど、多声の弾き分けが上手かった。作品を汚すような音を一切用いないと言う意味では、ブリティッシュ・ピアニズムの正統な継承者の1人でもある。
脚注
イングランドのクラシック音楽のピアニスト
1902年生
1988年没
| 25,313
|
https://ceb.wikipedia.org/wiki/Lac%20Charlie%20%28lanaw%20sa%20Lanaudi%C3%A8re%29
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Lac Charlie (lanaw sa Lanaudière)
|
https://ceb.wikipedia.org/w/index.php?title=Lac Charlie (lanaw sa Lanaudière)&action=history
|
Cebuano
|
Spoken
| 134
| 213
|
Alang sa ubang mga dapit sa mao gihapon nga ngalan, tan-awa ang Lac Charlie.
Lanaw ang Lac Charlie sa Kanada. Nahimutang ni sa kondado sa Lanaudière ug lalawigan sa Québec, sa habagatan-sidlakang bahin sa nasod, km sa amihanan-sidlakan sa Ottawa ang ulohan sa nasod. metros ibabaw sa dagat kahaboga ang nahimutangan sa Lac Charlie. Ang kinahabogang dapit sa palibot dunay gihabogon nga ka metro ug km sa habagatan-kasadpan sa Lac Charlie. Hapit nalukop sa lasang nga sagolsagol ang palibot sa Lac Charlie.
Ang klima hemiboreal. Ang kasarangang giiniton °C. Ang kinainitan nga bulan Hulyo, sa °C, ug ang kinabugnawan Pebrero, 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
Mga lanaw sa Québec (lalawigan)
| 45,495
|
https://sv.wikipedia.org/wiki/Hyptia%20oblonga
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Hyptia oblonga
|
https://sv.wikipedia.org/w/index.php?title=Hyptia oblonga&action=history
|
Swedish
|
Spoken
| 33
| 61
|
Hyptia oblonga är en stekelart som beskrevs av Henry Keith Townes, Jr. 1949. Hyptia oblonga ingår i släktet Hyptia och familjen hungersteklar. Inga underarter finns listade i Catalogue of Life.
Källor
Hungersteklar
oblonga
| 11,903
|
https://sv.wikipedia.org/wiki/Ocotea%20ottoschmidtii
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Ocotea ottoschmidtii
|
https://sv.wikipedia.org/w/index.php?title=Ocotea ottoschmidtii&action=history
|
Swedish
|
Spoken
| 29
| 72
|
Ocotea ottoschmidtii är en lagerväxtart som beskrevs av Macbride. Ocotea ottoschmidtii ingår i släktet Ocotea och familjen lagerväxter. Inga underarter finns listade i Catalogue of Life.
Källor
Lagerväxter
ottoschmidtii
| 13,853
|
https://en.wikipedia.org/wiki/Bill%20Tanner
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Bill Tanner
|
https://en.wikipedia.org/w/index.php?title=Bill Tanner&action=history
|
English
|
Spoken
| 585
| 813
|
William Tanner is a fictional character in the James Bond film and novel series. Tanner is an employee of the Secret Intelligence Service (MI6) who acts as M's chief of staff.
Novels
In Ian Fleming's novels, Bill Tanner is MI6's chief of staff. He appears infrequently in the novels, but is a regular character in the later continuation series by John Gardner.
In 1965, Kingsley Amis wrote The Book of Bond or Every Man His Own 007, a tongue-in-cheek manual for prospective secret agents, illustrated with examples from Fleming's novels. For this work, Amis used the pseudonym "Lt. Colonel William ('Bill') Tanner".
Film appearances
In The Man with the Golden Gun, Bill Tanner is only seen briefly in the film and is not mentioned by name until the end credits. He appears in M's office with M and Colthorpe, discussing Francisco Scaramanga, who has sent a bullet to MI6 printed with Bond's ID number. He explains Scaramanga's fingerprints on the bullet were verified by the CIA, and that Scaramanga is attempting to provoke a battle with MI6. This leads to Bond being sent to find Scaramanga.
In For Your Eyes Only, Bill Tanner (now played by James Villiers due to Michael Goodliffe's death in 1976) is given a bigger role, as Bernard Lee, who played M, had died. Tanner is shown wearing an Old Wykehamist tie. He gives Bond his assignment (along with Sir Fredrick Gray), which sends him to find Hector Gonzales. Bond is unable to get information from Gonzales later on because Melina Havelock kills him after Bond is captured. Tanner then gets upset at Bond for not getting any information and letting Melina murder Gonzales. Tanner is last seen at the end of the film, when he connects the Prime Minister and Bond by phone. Unknown to Tanner and the Prime Minister, Bond is not there and it is merely a talking parrot that ends up "flirting" with the Prime Minister. In Octopussy, the role of M was recast with Robert Brown, so Tanner did not appear.
In GoldenEye, Tanner is only briefly seen in the Situation Room when the GoldenEye weapon is set off. Tanner calls the new M "the Evil Queen of Numbers," unaware that she is right behind him. As Michael Kitchen was unable to reprise his role for Tomorrow Never Dies, the character of Charles Robinson was created in his stead.
In The World Is Not Enough, Tanner is seen at the Scotland MI6 building debriefing the agents on the murder of Sir Robert King, father of Elektra King. When Bond comes to the conclusion that the terrorist Renard is behind the murder, Tanner is seen talking about what Renard can do or is planning to do. He is only seen again twice, when Elektra, the true mastermind of her father's murder, contacts M to draw her in to be kidnapped, and finally at the end of the film as R is attempting to find Bond.
Tanner had never been considered a regular cinematic character until 2008's Quantum of Solace where was played by a different actor, Rory Kinnear who reprised the role of Tanner in Skyfall, Spectre, and No Time to Die. Kinnear also voices Tanner and provides his likeness for the 2010 remake of the GoldenEye game and the original games James Bond 007: Blood Stone and 007 Legends.
References
James Bond characters
Characters in British novels of the 20th century
Literary characters introduced in 1953
Fictional Australian people
Fictional Chiefs of Staff
Fictional MI6 agents
| 7,879
|
https://zh.wikipedia.org/wiki/%E9%99%88%E6%80%9D%E6%96%AF
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
陈思斯
|
https://zh.wikipedia.org/w/index.php?title=陈思斯&action=history
|
Chinese
|
Spoken
| 5
| 99
|
陈思斯,浙江宁波人,演员。本科毕业于中央戏剧学院表演系。2011年被監製提拔在《後宮甄嬛傳》中飾演曹贵人一角。
参考文献
浙江女演员
陈姓
中央戲劇學院校友
| 43,439
|
https://en.wikipedia.org/wiki/Carlos%20Mor%C3%A1n%20%28baseball%29
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Carlos Morán (baseball)
|
https://en.wikipedia.org/w/index.php?title=Carlos Morán (baseball)&action=history
|
English
|
Spoken
| 108
| 185
|
Carlos "Chino" Morán Benavides (1878 - death date unknown) was a Cuban baseball third baseman and outfielder in the Cuban League and Negro leagues.
A native of Matanzas, Cuba, Morán was the older brother of fellow ballplayer Francisco Morán. He played from 1902 to 1914 with several ballclubs, including the Fe club, Habana, Carmelita, and the Cuban Stars (West). He was elected to the Cuban Baseball Hall of Fame in 1945.
References
External links
1878 births
Cuban League players
Club Fé players
Habana players
Carmelita players
Cuban Stars (West) players
San Francisco Park players
Punzo players
Year of death missing
Cuban expatriate baseball players in the United States
| 1,348
|
https://ko.wikipedia.org/wiki/%EA%B3%B5%EC%9E%90%EC%B6%98%EC%B6%94%EC%A0%84%EA%B5%AD%EC%8B%9C%EB%8C%80
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
공자춘추전국시대
|
https://ko.wikipedia.org/w/index.php?title=공자춘추전국시대&action=history
|
Korean
|
Spoken
| 78
| 375
|
공자춘추전국시대(孔子, Confucius)는 중국에서 제작된 후메이 감독의 2010년 액션, 드라마 영화이다. 주윤발 등이 주연으로 출연하였고 최보주 등이 제작에 참여하였다.
출연
주연
주윤발
저우쉰
젠빈천
조연
야오루
왕반
루이
임천
유봉초
장카이리
제작진
출품인: 한싼핑
출품인: 잠건훈
출품인: 유영
프로듀서: 한싼핑
프로듀서: 최보주
프로듀서: 유영
프로듀서: 왕위민
미술: 임조상
미술: 모회청
의상: 해중문
각주
외부 링크
Confucius at the Chinese Movie Database
2010년 영화
관화 영화 작품
중국의 영화 작품
기원전 5세기를 배경으로 한 영화
기원전 6세기를 배경으로 한 영화
| 5,020
|
https://stackoverflow.com/questions/21175190
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,014
|
Stack Exchange
|
Elliott Frisch, https://stackoverflow.com/users/2970947
|
English
|
Spoken
| 184
| 253
|
How do I view my old wordpress site, after having redirected to Squarespace
I recently pointed my 1&1 registered domain, masonsmn.com, away from justhost where I had a wordpress site built toward my new site constructed using squarespace.
I would like to view a few pages of the old site as they were previously (i.e. I messed up. In hindsight a few screenshots then would have been a good idea).
Does anyone know how I can access those wordpress pages at this point?
Thanks,
archive.internet.org - aka the way back machine
You can add a hosts entry to your computer to force it to go to the old IP address. See google for instructions for your operating system. Don't forget to remove it later! :-)
The old site is on justhost. Do you still use them for hosting? If so, just download your old wordpress files via ftp. If you already cancelled your hosting, but it wasn't long ago, they may have your files backed up still. If this is the case I would give them a call and see what they can do.
| 28,685
|
https://zh.wikipedia.org/wiki/%E7%9F%AD%E5%85%89%E6%B0%B4%E8%9A%A4
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
短光水蚤
|
https://zh.wikipedia.org/w/index.php?title=短光水蚤&action=history
|
Chinese
|
Spoken
| 4
| 46
|
短光水蚤(学名:)为光水蚤科光水蚤屬下的一个种。
参考文献
D
D
| 29,438
|
https://it.wikipedia.org/wiki/72834%20Guywells
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
72834 Guywells
|
https://it.wikipedia.org/w/index.php?title=72834 Guywells&action=history
|
Italian
|
Spoken
| 40
| 93
|
72834 Guywells è un asteroide della fascia principale. Scoperto nel 2001, presenta un'orbita caratterizzata da un semiasse maggiore pari a 2,6899239 UA e da un'eccentricità di 0,1490198, inclinata di 11,94120° rispetto all'eclittica.
Collegamenti esterni
Guywells
Corpi celesti scoperti nel 2001
| 18,940
|
https://uk.wikipedia.org/wiki/%D0%9C%D0%B0%D0%B9%D0%BA%D0%BB%20%D0%A1%D1%82%D1%96%D0%BD
|
Wikipedia
|
Open Web
|
CC-By-SA
| 2,023
|
Майкл Стін
|
https://uk.wikipedia.org/w/index.php?title=Майкл Стін&action=history
|
Ukrainian
|
Spoken
| 145
| 431
|
Майкл Френсіс Стін (; 4 вересня 1953) — англійський шаховий гросмейстер, автор шахових книг і податковий консультант.
Життєпис
У період 1977—1981 допомогав Віктору Корчному як тренер-секундант. У 1978 році разом із Реймондом Кін i Яківом Мурей був секундантом Корчного під час його матчу за звання чемпіона світу 1978 року проти Анатолія Карпова. Стін був секундантом Корчного також під час його матчу за звання чемпіона світу 1981 року.
У 1982 році, у віці 29 років і більш-менш у розквіті гри в шахи, Майкл Стін пішов із шахів, щоб стати податковим консультантом; рішення, про яке він, схоже, не шкодував, оскільки в наступні роки не було жодних спроб повернутися до гри в шахи. Він приєднався до податкових консультантів «Casson Beckman» на початку 1984 року. Проте Стін деякий час був менеджером Найджела Шорта.
Примітки
Джерела
Посилання
Статистика шахіста у складі збірної Англії на шахових Олімпіадах
Шахові гросмейстери
Британські шахісти
| 41,560
|
https://ru.stackoverflow.com/questions/1219760
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,020
|
Stack Exchange
|
Brgerg30879, https://ru.stackoverflow.com/users/308911
|
Russian
|
Spoken
| 130
| 526
|
Чтобы меню всегда было одинакового расстояния слева по отношению к левому блоку - кнопке
Я бы хотел чтобы менюшки всегда были одинакового расстояния слева по отношению к слову -- Магазин (на всех экранах минимум 981px). Чего я хочу добиться - это чтобы слово -- Магазин -- было как будто частью меню, то есть менюшкой по виду. Я в хроме чего только не тыкал. На точки после слова -- Магазин -- не смотрите, я их на десктопе уберу. Сайт вот - https://brightbottle.ru/. Это Вордпресс.
.container {
width: auto;
margin: 0;
}
#et-top-navigation {
margin-left: 120px;
}
Спасибо! Работает. Только теперь лого по середине нужно чтобы было, оно съехало, но вы уже мне очень помогли.
Если просто маргин сделать то он не на всех экранах норм
Тут ещё продолжается тема -- https://ru.stackoverflow.com/questions/1220128/%d0%9f%d0%be%d1%81%d0%b5%d1%80%d0%b5%d0%b4%d0%b8%d0%bd%d0%b5-%d0%bb%d0%be%d0%b3%d0%be-%d0%b2%d1%8b%d1%81%d1%82%d0%b0%d0%b2%d0%b8%d1%82%d1%8c-%d0%bd%d0%b0-%d0%b2%d1%81%d0%b5%d1%85-%d1%8d%d0%ba%d1%80%d0%b0%d0%bd%d0%b0%d1%85
| 48,734
|
https://stackoverflow.com/questions/69393890
|
StackExchange
|
Open Web
|
CC-By-SA
| 2,021
|
Stack Exchange
|
English
|
Spoken
| 266
| 543
|
Force line break for long text
Is there a way to automatically break lines of text in the following scenario, when Text does not fit on the screen?
Row(
children: [
SizedBox(width: 40, height:40),
Container(
child: Text("Long text without explicit line breaks, but still long.")
)
SizedBox(width: 40, height:40)
]
)
You've two ways to make that.
1. Wrap your Widget Text in a Container, and set a width for him, like:
final mediaQuery = MediaQuery.of(context);
return Container (
padding: const EdgeInsets.all(10.0),
width: mediaQuery.size.width * 0.05,
child: new Column (
children: <Widget>[
new Text ("Long text without explicit line breaks, but still long.", textAlign: TextAlign.left)
],
),
);
OBS: I used mediaQuery for reponsivity, but you can set a fix value
2. You can wrap with the Flexible widget:
But Flexible needs to be used with Row, Column or Flex widget, or a exception with be raised.
new Container(
child: Row(
children: <Widget>[
Flexible(
child: new Text("Long text without explicit line breaks, but still long."),
),
],
),
);
first solution in your code
Row(children: [
SizedBox(width: 40, height: 40),
Expanded(
child: Text(
"Long text without explicit line breaks, but still long.")),
SizedBox(width: 40, height: 40)
])
you use the sized box for padding and margin and that's why you used row as a parent, lets make it simple.
Container(
margin: EdgeInsets.only(top: 40, bottom: 40),
child: Padding(
padding: const EdgeInsets.all(40),
child:
Text("Long text without explicit line breaks, but still long."),
),
),
You can wrap the Text in an Expanded widget instead of wrapping it with a container.
read more about it here: Flutter- wrapping text
| 20,526
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.