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://wordpress.stackexchange.com/questions/180100
StackExchange
Open Web
CC-By-SA
2,015
Stack Exchange
Krzysiek Dróżdż, https://wordpress.stackexchange.com/users/34172
English
Spoken
124
257
Exclude child comments in get_comments() or WP_Comment_Query? How do I only get the first level of comments in get_comments() or WP_Comment_Query? I want to query the comments which have 'comment_parent' => 0, and exclude all the child comments. $args = array( 'number' => 10, 'order' => 'DESC', 'status' => 'approve', 'meta_key' => 'comment_parent', 'meta_value' => 0 ); $comments = get_comments( $args ); This should do the trick, I guess: $args = array( 'number' => 10, 'order' => 'DESC', 'status' => 'approve', 'parent' => 0 ); $comments = get_comments( $args ); You can find full list of arguments in Codex. Yes - and as all of such WP functions, if you pass 0 as parent, it means to get only first level objects (without parent)
7,635
https://en.wikipedia.org/wiki/Adam%20Badeau
Wikipedia
Open Web
CC-By-SA
2,023
Adam Badeau
https://en.wikipedia.org/w/index.php?title=Adam Badeau&action=history
English
Spoken
1,561
2,223
Adam Badeau (December 29, 1831 – March 19, 1895) was an American author, Union Army officer, and diplomat. He is most famous for his service on the staff of Ulysses S. Grant during the American Civil War and his subsequent three-volume biography of Grant. Badeau enjoyed a successful career as a writer and assisted Grant with the research, fact checking, and editing when Grant authored Personal Memoirs of Ulysses S. Grant. A native of New York City, Badeau was raised and educated in Tarrytown and Sleepy Hollow, and became clerk in the New York City Street Department while studying law. In addition to practicing after he was admitted to the bar, Badeau became a writer, and his early work as a theater critic was carried by Noah's Sunday Times. Badeau joined the Union Army during the American Civil War, and his abilities as a writer led to his prominence as a staff officer, first for Thomas W. Sherman, and later for Ulysses S. Grant. He took part in several campaigns, and rose from captain to brevet brigadier general. After the war, Badeau became the longtime U.S. Consul in London (1870-1881), and turned down appointments as a U.S. Minister in order to remain in England. From 1882 to 1884, he was the U.S. Consul in Havana, Cuba. Badeau continued to work as a writer, and was a prolific contributor of essays and articles to newspapers and magazines, in addition to being the author of several books, both fiction and non-fiction. In the mid-1880s, he worked with Grant during the preparation of Grant's memoirs, but left the project before it was complete after a dispute about how much Badeau would be paid, and how he would be credited in the book for his research, fact-checking, editing, and proofreading. Before the book had even released, Badeau spread false rumors that the memoirs were ghostwritten by Mark Twain (who was, in actuality, helping Grant publish and advertise them) and later successfully sued Grant's heirs to obtain payment. Badeau died in Ridgewood, New Jersey, and was buried in the churchyard of the Old Dutch Church of Sleepy Hollow. Early life Adam Badeau was born in New York City on December 29, 1831. He was first educated by private tutors before he moved to Tarrytown, where he attended boarding schools. Later he moved to North Tarrytown, now Sleepy Hollow, and became a clerk in New York City's Street Department. He also studied law, and attained admission to the bar in 1855. In addition, Badeau was a writer, and his work as an essayist and theater critic was published in Noah's Sunday Times. Family Badeau was married on April 29, 1875, to Marie Ely Niles. Her father, Nathaniel Niles (1791-1869) was a prominent physician who served as secretary of the U.S. legation and acting chargé d'affaires in Paris, special diplomatic agent to the Austrian Empire, and chargé d'affaires in Sardinia. Her grandfather, Nathaniel Niles (1741-1828) was a member of Congress from Vermont. Her cousin, also named Nathaniel Niles (1835-1917), served as Speaker of the New Jersey General Assembly in 1872. Civil War In 1862, Badeau joined the Union Army during the American Civil War and was commissioned as a captain. As a member of the staff of Thomas W. Sherman, he took part in the Siege of Corinth, Mississippi, the defense of New Orleans, and the Siege of Port Hudson. where he was severely wounded. After his recovery, in March 1864, on the personal recommendation of Grant's adjutant, General John A. Rawlins, Badeau joined the staff of Ulysses S. Grant as a brevet lieutenant colonel and military secretary. During this time Badeau and Grant became close friends. Badeau took part in the Wilderness and Appomattox campaigns, and received promotion to brevet colonel. He remained on Grant's staff until 1869, and left the Army for disability caused by his Port Hudson wound; he held the permanent rank of captain and the brevet rank of brigadier general. Post-Civil War Badeau, still on the staff of General Grant, began the first volume of a military history of the general, who vetted the manuscript as it was being written. Soon after Grant assumed the Presidency, General Badeau was sent to London and served as Secretary of Legation in the United States embassy in London, England, from May to December 1869, where he could continue working on Grant's military history. Early in the next year he was made bearer of government dispatches to Madrid, then in May he was returned to London as Consul in 1870 and served in that capacity until September, 1881. and U.S. During that time he was granted a leave of absence from 1877 to 1878, when he accompanied Grant on a portion of Grant's trip around the world. While Badeau lived in England, he received Grant as a visitor on several occasions during the trip. In 1875 Badeau was nominated as Minister to Belgium, and in 1881 he received appointment as Minister to Denmark, but he declined both. From 1882 to 1884 he was U.S. Consul in Havana, Cuba. Badeau resigned this appointment after alleging that officials in the State Department were corrupt in their dealings with Cuba and Spain, and stating that the department took no action after he made his charges. Badeau then aided Grant in the preparation of Grant's memoirs, but Grant dismissed him before the book was finished after they argued over the details of the legal agreement specifying how much Badeau would be paid and how he would be credited for his editing, research and fact checking. A bitter quarrel lay behind the creation of this agreement – one that would continue even after Grant's death. Grant was surprised when Badeau expressed his complaints and made demands of Grant. Among other concerns, Badeau had two main points of contention with Grant. The first, having committed much of his time and effort in assisting Grant, Badeau maintained that he had been detained from many of his other involvements for several months. The second, realizing that Grant's memoirs was going to be a monumental success, he feared that his multi-volume work on Grant would be obscured in the wake of their publication and release. Grant had earlier thought that it would be unfair to publish anything that would detract from Badeau's work. Grant signed on 7 February 1885. A month later Badeau added his signature, and recorded the receipt of Grant's first payment: "Received of Genl. U. S. Grant $250, my share of $1,000 received by him this day on account of his book. 3 East 66th St. New York. March 2, 1885." As Grant's Memoirs approached completion, having benefited from Badeau's extensive rewriting and additions to its earlier sections, he became convinced that sales would likely go far higher than the $30,000 envisioned in this agreement. With Grant failing badly, Badeau proposed a new arrangement in April 1885: he would complete the work at the price of $1,000 a month, plus 10% of the profits. Grant thought the offer too advantageous to Badeau and was additionally annoyed by press leaks that painted Badeau as the true author of the forthcoming work. Grant broke off relations with his long-time aide and refused to pay him the $10,000 called for in their agreement. When the sales of the Memoirs skyrocketed past $30,000—they eventually brought $450,000—Badeau sued to get his money. Eventually Mrs. Grant paid him the originally agreed upon $10,000 plus interest of $1,200 (see Brooks D. Simpson article on Badeau in American National Biography). (He subsequently settled with Grant's son Frederick for $10,000, or about $250,000 in 2012 dollars.) Author and editorialist Badeau was acquainted with many famous people and celebrities of his day, including Ulysses S. Grant and Edwin Booth. He was a prolific author of both fiction and non-fiction, and besides newspaper columns and magazine articles, his works included: The Vagabond (1859); a three volume Military History of Ulysses S. Grant (1881);  Aristocracy in England (1885);  Conspiracy: A Cuban Romance (1885); and Grant in Peace: From Appomattox to Mount McGregor (1887); It was subtitled A Personal Memoir, a work that covered Grant's political and social involvements with such notable people as General Philip Sheridan, Secretary of War Edwin M. Stanton, Secretary of State Hamilton Fish, and others. Badeau wrote for the New York Sunday Times under the assumed name, "The Vagabond". Final years In his final years Badeau continued writing, frequently contributing to various magazines and periodicals and chronicled the various war time events he participated in. His frequent involvement as a writer caused strain on his eyes and he soon developed cataracts during the winter of 1894-1895 where he subsequently underwent successive operations for their removal, which undermined his physical strength. He finally succumbed to apoplexy, and died suddenly on March 19, 1895, in Ridgewood, New Jersey, at the age of 63 and was buried at the Old Dutch Church of Sleepy Hollow, Section D, Lot 65. See also Bibliography of the American Civil War Bibliography of Ulysses S. Grant List of Union generals Notes References Bibliography External links 1831 births 1895 deaths American male writers 19th-century American diplomats Grant administration personnel People from Ridgewood, New Jersey People from Tarrytown, New York People of New York (state) in the American Civil War Union Army officers 19th-century American writers New York (state) Republicans Burials at Sleepy Hollow Cemetery Writers from New York City
40,959
https://ceb.wikipedia.org/wiki/W%C4%81d%C4%AB%20Mar%E2%80%98ah
Wikipedia
Open Web
CC-By-SA
2,023
Wādī Mar‘ah
https://ceb.wikipedia.org/w/index.php?title=Wādī Mar‘ah&action=history
Cebuano
Spoken
79
135
Wadi ang Wādī Mar‘ah sa Yemen. Nahimutang ni sa distrito sa As Sayyani ug lalawigan sa Ibb, sa habagatan-kasadpang bahin sa nasod, km sa habagatan sa Sanaa ang ulohan sa nasod. Ang kasarangang giiniton °C. Ang kinainitan nga bulan Abril, sa  °C, ug ang kinabugnawan Enero, sa  °C. Ang kasarangang pag-ulan milimetro matag tuig. Ang kinabasaan nga bulan Agosto, sa milimetro nga ulan, ug ang kinaugahan Disyembre, sa milimetro. Ang mga gi basihan niini Mga suba sa Ibb (lalawigan)
44,066
https://ceb.wikipedia.org/wiki/K%C5%ABh-e%20Qezel%20%28kabukiran%29
Wikipedia
Open Web
CC-By-SA
2,023
Kūh-e Qezel (kabukiran)
https://ceb.wikipedia.org/w/index.php?title=Kūh-e Qezel (kabukiran)&action=history
Cebuano
Spoken
114
216
Alang sa ubang mga dapit sa mao gihapon nga ngalan, tan-awa ang Kūh-e Qezel. Kabukiran ang Kūh-e Qezel (Pinulongang Persiyano: کوه قزل) sa Iran. Nahimutang ni sa lalawigan sa Ostān-e Khorāsān-e Raẕavī, sa amihanan-sidlakang bahin sa nasod, km sa sidlakan sa Tehrān ang ulohan sa nasod. Ang klima bugnaw nga ugahon. Ang kasarangang giiniton °C. Ang kinainitan nga bulan Hulyo, sa  °C, ug ang kinabugnawan Enero, sa  °C. Ang kasarangang pag-ulan milimetro matag tuig. Ang kinabasaan nga bulan Marso, sa milimetro nga ulan, ug ang kinaugahan Agosto, sa milimetro. Ang mga gi basihan niini Kabukiran sa Ostān-e Khorāsān-e Raẕavī Kabukiran sa Iran nga mas taas kay sa 1000 metros ibabaw sa dagat nga lebel
13,993
https://uk.wikipedia.org/wiki/%D0%9F%D0%B0%D0%BB%D0%B0%D0%B3%D0%B0%D0%B9
Wikipedia
Open Web
CC-By-SA
2,023
Палагай
https://uk.wikipedia.org/w/index.php?title=Палагай&action=history
Ukrainian
Spoken
63
211
Палага́й (, ) — присілок у складі Юкаменського району Удмуртії, Росія. Населення — 457 осіб (2010; 459 в 2002). Національний склад (2002): татари — 69 % В 1960-их роках існувало 2 населених пункти — Великий Палагай та Малий Палагай. Пізніше вони були об'єднані. В присілку діє середня школа, садочок, клуб, бібліотека, фельдшерсько-акушерський пункт. Примітки Посилання На Вікімапії Населені пункти Юкаменського району Присілки Удмуртії
47,003
https://it.wikipedia.org/wiki/FC%20Lantana%20Tallinn
Wikipedia
Open Web
CC-By-SA
2,023
FC Lantana Tallinn
https://it.wikipedia.org/w/index.php?title=FC Lantana Tallinn&action=history
Italian
Spoken
308
592
Il FC Lantana Tallinn, meglio noto come Lantana Tallinn, fu una società calcistica estone con sede nella città di Tallinn. Attiva dal 1994 al 1999, ha vinto per due volte il campionato estone e per una volta la Supercoppa di Estonia. Storia La società nacque nel 1994 nel momento in cui la famiglia Belov rilevò la società Nikol Tallinn. La società venne subito iscritta in Meistriliiga, la massima serie del campionato estone di calcio. Dopo aver concluso la prima stagione al secondo posto, vinse il campionato estone per due stagioni consecutive: sia nel 1995-1996 che nel 1996-1997 concluse al primo posto sia la prima fase sia la fase finale per il titolo. Concluse al terzo posto finale le due stagioni consecutive, finché al termine della stagione 1999, dopo un sesto posto finale, la società venne sciolta. Nei cinque anni di attività il Lantana raggiunse la finale della coppa d'Estonia in tre occasioni senza riuscire a vincerla. Vinse una Supercoppa di Estonia nel 1998, sconfiggendo in finale il . Grazie ai successi in campionato e in coppa nazionale, il Lantana partecipò ai preliminari delle tre competizioni UEFA: Champions League, Coppa delle Coppe e Coppa UEFA. Nelle cinque stagioni venne eliminato sempre al primo turno di qualificazione, eccetto che nell'edizione 1996-1997 della Coppa UEFA quando raggiunse il secondo turno preliminare: nel primo turno eliminò gli islandesi dell'ÍBV Vestmannaeyjar grazie al successo per 2-1 in casa e al pareggio a reti bianche in trasferta, mentre nel secondo turno venne eliminato dagli svizzeri dell' con una sconfitta per 4-0 in trasferta, parzialmente recuperata con la vittoria casalinga per 2-0. Cronistoria Palmarès Competizioni nazionali 1995-1996, 1996-1997 Supercoppa di Estonia: 1 1997 Altri piazzamenti Secondo posto: 1994-1995 Terzo posto: 1997-1998, 1998 Finalista: 1994-1995, 1996-1997, 1997-1998 Semifinalista: 1995-1996 Finalista: 1996 Statistiche e record Partecipazione ai campionati Note Collegamenti esterni Lantana Tallinn Calcio a Tallinn Lantana
12,473
https://ta.wikipedia.org/wiki/%E0%AE%AE%E0%AF%87%E0%AE%B2%E0%AF%82%E0%AE%B0%E0%AF%8D%20%E0%AE%B5%E0%AE%9F%E0%AF%8D%E0%AE%9F%E0%AE%AE%E0%AF%8D
Wikipedia
Open Web
CC-By-SA
2,023
மேலூர் வட்டம்
https://ta.wikipedia.org/w/index.php?title=மேலூர் வட்டம்&action=history
Tamil
Spoken
100
753
மேலூர் வட்டம் , தமிழ்நாட்டின் மதுரை மாவட்டத்தில் உள்ள 11 வட்டங்களில் ஒன்றாகும். இந்த வட்டத்தின் தலைமையகமும், வட்டாட்சியர் அலுவலகமும் மேலூர் நகரத்தில் உள்ளது. இவ்வட்டத்தில் அரிட்டாபட்டி பல்லுயிர் சூழலியல் பாரம்பரியத் தளம் உள்ளது. இந்த வட்டத்தின் கீழ் 8 உள்வட்டங்களும், 84 வருவாய் கிராமங்களும் உள்ளது. இதனையும் காண்க அரிட்டாபட்டி பல்லுயிர் சூழலியல் பாரம்பரியத் தளம் மக்கள்தொகை பரம்பல் 2011-ஆம் ஆண்டு மக்கள் தொகை கணக்கெடுப்பின்படி இவ்வட்டம் 74,851 வீடுகளும், 2,91,398 மக்கள்தொகையும் கொண்டது. மக்கள்தொகையில் ஆண்கள் 1,46,711 ஆகவும்; பெண்கள் 1,44,687 ஆகவும் உள்ளனர். இவ்வட்டத்தின் எழுத்தறிவு 76.57% மற்றும் பாலின விகிதம் 1,000 ஆண்களுக்கு, 986 பெண்கள் வீதம் உள்ளனர். 6 வயதிற்குட்பட்ட குழந்தைகள் பாலின விகிதம், 1000 ஆண் குழந்தைகளுக்கு, 886 பெண் குழந்தைகள் வீதம் உள்ளனர். பட்டியல் சாதியினரும் பட்டியல் பழங்குடியினரும் முறையே 48,121 மற்றும் 371 ஆகவுள்ளனர். மேற்கோள்கள் மதுரை மாவட்ட வட்டங்கள்
31,550
https://fr.wikipedia.org/wiki/Anton%20Ausserer
Wikipedia
Open Web
CC-By-SA
2,023
Anton Ausserer
https://fr.wikipedia.org/w/index.php?title=Anton Ausserer&action=history
French
Spoken
268
530
Anton Ausserer est un naturaliste autrichien spécialiste des araignées, né le à Bozen dans le Tyrol et mort le à Graz d'une bronchite. Biographie Passionné dès son jeune âge par l'histoire naturelle mais orphelin à 15 ans, il réussit à continuer ses études en donnant des cours particuliers. En 1863, il devient le protégé du professeur Heller qui l'incite à étudier les araignées. Il remporte un concours d'histoire naturelle, ce qui lui permet de poursuivre un peu plus confortablement ses études. Il devient professeur à Feldkirch en 1867 puis, en 1869, à Innsbruck. Là, il participe à la vie de la société d'histoire naturelle de la ville et devient son secrétaire. En 1872, il obtient son titre de docteur et enseigne, deux ans plus tard, à Graz. Il fait deux voyages, l'un en Sicile en 1880-1881 et en Égypte en 1886-1887. Il se marie l'année suivante mais meurt brutalement en 1889. Il étudie les araignées du Tyrol et se spécialise sur les mygales ; il est l'auteur de nombreux genres et de nombreuses espèces. Publications sélectionnées 1867. "Die Arachniden Tirols nach ihrer horizontalen und verticalen Verbreitung, 1." Verhandlungen der kaiserlich-königlichen zoologisch-botanischen Gesellschaft. Wien, 17:137–170. 1871. "Beiträge zur Kenntniss der Arachniden-Familie der Territelariae Thorell (Mygalidae Autor)". Verhandlungen der kaiserlich-königlichen zoologisch-botanischen Gesellschaft. Wien, 21:184-187. 1875. "Zweiter Beitrag zur Kenntnis der Arachniden-Familie der Territelariae Thorell (Mygalidae Autor)". Verhandlungen der kaiserlich-königlichen zoologisch-botanischen Gesellschaft. Wien, 25:169. Bibliographie Pierre Bonnet (1945). Bibliographia araneorum, Les frères Doularoude (Toulouse). Liens externes Arachnologiste autrichien Naturaliste autrichien du XIXe siècle Naissance en juillet 1843 Décès en juillet 1889 Naissance à Bolzano Décès à Graz Décès à 46 ans
30,477
https://stackoverflow.com/questions/39253010
StackExchange
Open Web
CC-By-SA
2,016
Stack Exchange
Akash Dubey, BigNick, Sudip Podder, https://stackoverflow.com/users/2619136, https://stackoverflow.com/users/4711153, https://stackoverflow.com/users/5502638, https://stackoverflow.com/users/5829624, manuelvsc
English
Spoken
285
945
Android Camera2 - Remove black space between camera and bottom bar I'm trying to develop an application that uses Camera 2 API, but I have a problem when I try to edit the height of the bottom bar. I would like to remove the black space between the camera and bottom bar. Moreover, I would like to extend the camera height. I followed the Google Camera2Basic example. Could I fix this problem? Thanks. activity_camera.xml <?xml version="1.0" encoding="utf-8"?> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/container" android:layout_width="match_parent" android:layout_height="match_parent" android:background="#000" tools:context=".CameraActivity" /> fragment_camera2.xml <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:foreground="?selectableItemBackground" > <widgets.AutoFitTextureView android:id="@+id/texture" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_alignParentLeft="true" android:layout_alignParentStart="true" android:layout_alignParentTop="true" /> <FrameLayout android:id="@+id/control" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:layout_alignParentLeft="true" android:layout_alignParentStart="true" android:elevation="4dp" android:paddingBottom="12dp" android:paddingLeft="16dp" android:paddingRight="16dp" android:paddingTop="12dp" android:background="@color/white" > <ImageButton android:id="@+id/picture" android:layout_width="@dimen/ic_camera" android:layout_height="@dimen/ic_camera" android:layout_gravity="center" android:background="@drawable/cam_circle_selector" android:contentDescription="@string/description_info" android:scaleType="fitXY" app:srcCompat="@drawable/ic_action_capture" /> </FrameLayout> </RelativeLayout> please provide the xml code. I just added the XML code. adjust the padding_top in the FrameLayout Thanks, but I don't want to add more padding I was actually asking you to decrease padding. set it to 2 dp and see if it helps. cant compile your code, as i am without android studio right now. If I decreased it, I have a higher black space. any solution for this!! You can add the Actionbar back which will cause your camera_view getting a little lower and remove the black divider. In styles.xml, replace this line <style name="MaterialTheme" parent="android:Theme.Material.Light.NoActionBar.Fullscreen" /> with <style name="MaterialTheme" parent="android:Theme.Material.Light" /> If you don't want to add Actionbar, you may have to modify AutoFitTextureView or Camera2BasicFragment class. Thank you for your answer, but I prefer to modify Camera2BasicFragment class. what to modify but!! @BigNick Did you manage to find a solution for this? Can you please share how to do it?
14,949
https://pl.wikipedia.org/wiki/Gabriel%20%28B%C4%83nulescu-Bodoni%29
Wikipedia
Open Web
CC-By-SA
2,023
Gabriel (Bănulescu-Bodoni)
https://pl.wikipedia.org/w/index.php?title=Gabriel (Bănulescu-Bodoni)&action=history
Polish
Spoken
793
2,041
Gabriel, imię świeckie Grigorie Bănulescu-Bodoni (ur. 1746 w Bystrzycy, zm. w Kiszyniowie) – rumuński biskup prawosławny, służący w jurysdykcji Patriarchatu Konstantynopolitańskiego, a następnie Rosyjskiego Kościoła Prawosławnego. Pierwszy prawosławny biskup kiszyniowski w tejże jurysdykcji. Święty Mołdawskiego Kościoła Prawosławnego. Życiorys Pochodził z rodziny szlacheckiej z Mołdawii. Początkową edukację odebrał w rodzinnej Bystrzycy, następnie uczył się w Siedmiogrodzkiej szkole normalnej, gdzie poznał łacinę i język cerkiewnosłowiański. W 1771 podjął studia na Akademii Mohylańskiej i studiował na niej prawosławną teologię przez dwa lata. Następnie wrócił do rodzinnej Mołdawii, jednak szybko wyjechał z niej ponownie, uznawszy, że nie zna dostatecznie dobrze języka greckiego. Po trzyletniej nauce w szkołach na terenie Grecji wrócił do Mołdawii i podjął pracę nauczyciela, od 1777 do 1779 uczył łaciny w książęcej szkole w Jassach. Dzięki rekomendacji metropolity mołdawskiego Gabriela Grigorie Bănulescu-Bodoni wyjechał na dalszą naukę do Konstantynopola. W szkole na wyspie Patmos doskonalił znajomość języka greckiego, jak również nauczył się francuskiego. Wstąpił do monasteru, przyjmując imię mnisze Gabriel. 31 sierpnia 1781 przyjął święcenia diakońskie z rąk metropolity Gabriela, ten sam hierarcha 1 września wyświęcił go na hieromnicha i mianował głównym kaznodzieją metropolii jasskiej. Rok później, na zaproszenie biskupa słowiano-chersońskiego Nikifora wyjechał do Połtawy w charakterze nauczyciela języka greckiego w . W 1783 został jego inspektorem i wykładowcą filozofii. W 1784 wrócił do Jass i otrzymał godność archimandryty, zaś w 1786 został przedstawiony jako kandydat na ordynariusza eparchii Romanu, po przyjęciu chirotonii biskupiej. Z powodu odrzucenia jego kandydatury w 1787 zdecydował się na wyjazd do Rosji. Za zgodą Świątobliwego Synodu Rządzącego został wykładowcą języka greckiego i rektorem seminarium duchownego w Jekaterynosławiu. 26 grudnia 1791 w Jassach przyjął chirotonię biskupią i objął katedrę benderską i białogrodzką, wikariusza metropolii mołdawsko-wołoskiej. W lutym 1792 został ordynariuszem tejże metropolii, jednak już w czerwcu tego samego roku, za odmowę rezygnacji z katedry, został aresztowany i uwięziony w Konstantynopolu, gdzie przebywał cztery miesiące. Zwolniony dzięki interwencji dyplomacji rosyjskiej, udał się do Rosji i w maju 1793 został metropolitą jekaterynosławskim i chersońsko-taurydzkim, z rezydencją w Połtawie. W 1798, w związku ze zmianą granic administracyjnych, jego tytuł uległ zmianie na metropolita noworosyjski i dniepropietrowski, zaś rezydencję metropolitalną umieszczono w Nowomyrhorodzie. Błogosławił powstanie Odessy, działał na rzecz budowy nowych świątyń, odnowy życia monastycznego i poprawy poziomu intelektualnego i umysłowego duchowieństwa. W 1799 został metropolitą kijowskim, zaś w 1801 – stałym członkiem Świątobliwego Synodu Rządzącego. W 1803 został przeniesiony w stan spoczynku z wyznaczeniem miejsca zamieszkania w Odessie, a następnie w Dubosarach. W 1808 ponownie został mianowany członkiem Świątobliwego Synodu Rządzącego i egzarchą Mołdawii, Wołoszczyzny i Besarabii. Metropolita Gabriel zreformował strukturę eparchii, dotąd w jurysdykcji Patriarchatu Konstantynopolitańskiego, na wzór rosyjski. Polecił wprowadzenie języka rosyjskiego do obowiązkowego programu nauczania w szkołach duchownych eparchii. W 1811 udał się do Petersburga w celu złożenia raportu z przeprowadzonych działań. Przedstawił również program dalszej działalności, jednak z powodu zmiany sytuacji politycznej nie mógł przystąpić do jego realizacji – w 1812 Mołdawia i Wołoszczyzna zostały wcielone do Turcji, podczas gdy do Rosji włączono Besarabię. W jurysdykcji metropolity Gabriela pozostał jedynie ten ostatni region. W Kiszyniowie zaczął organizować nową eparchię kiszyniowską i chocimską, oficjalnie powołaną do życia przez Synod w 1813. Hierarcha zainicjował budowę ok. 200 nowych cerkwi, domu metropolitalnego i seminarium, które sam współfinansował. W 1814 otworzył w Kiszyniowie, przy katedralnym soborze Świętych Archaniołów Gabriela i Michała, drukarnię. Do 1870 r. publikowała ona książki w języku rumuńskim (mołdawskim). W 1812 stanął na czele delegacji mołdawskiej szlachty, która wystąpiła do cara Aleksandra I z prośbą o zachowanie autonomii Besarabii w granicach Imperium Rosyjskiego i ustanowienie dla regionu samorządu funkcjonującego w oparciu o lokalne prawo zwyczajowe. Szczególną autonomią miała cieszyć się również prawosławna eparchia kiszyniowska. Żądania Mołdawian znalazły swoje odzwierciedlenie w statucie nadanym Besarabii w 1818, w którym zapisano m.in., że język mołdawski (rumuński) miał być używany w miejscowej administracji na równi z rosyjskim. Metropolita Gabriel do śmierci w 1821 był nie tylko największym autorytetem duchowym w Besarabii, ale i jednym z politycznych liderów miejscowej elity. Zmarł 30 marca 1821 po krótkiej chorobie i zgodnie ze swoim życzeniem został pochowany w monasterze Căpriana. Po jego śmierci Besarabia była stopniowo pozbawiana zapisanych w statucie z 1818 praw, nie znalazł się bowiem nowy przywódca gotów tak jak Gabriel się o nie upominać, a Cerkiew w Besarabii została sprowadzona do rangi zwykłej eparchii Rosyjskiego Kościoła Prawosławnego i stała się ośrodkiem rusyfikacji. W 2012 został kanonizowany przez Mołdawski Kościół Prawosławny. W Kiszyniowie znajduje się ulica jego imienia oraz poświęcona mu tablica pamiątkowa. Dom metropolity, pełniący po jego śmierci funkcje muzeum historii Cerkwi, został zburzony w 1955 r. razem z soborem Świętych Archaniołów Gabriela i Michała i dawną drukarnią. Obecnie na miejscu tym, przy bulwarze Grigore Vieru, znajduje się teatr im. Ionesco. Uwagi Przypisy Urodzeni w 1747 Zmarli w 1821 Biskupi kiszyniowscy (Patriarchat Moskiewski) Rumuńscy biskupi prawosławni Święci prawosławni Ludzie urodzeni w Bystrzycy (Rumunia) Pochówki w Mołdawii
18,524
https://eu.wikipedia.org/wiki/T%C3%BDni%C5%A1%C5%A5ko
Wikipedia
Open Web
CC-By-SA
2,023
Týnišťko
https://eu.wikipedia.org/w/index.php?title=Týnišťko&action=history
Basque
Spoken
35
104
Týnišťko Txekiar Errepublikako udalerri bat da. 161 biztanle ditu eta 4,1 kilometro koadroko azalera. Ústí nad Orlicíko barrutian dago. Historia Udalerriaren lehen aipamen idatzia 1450 urtean egin zen. Kanpo estekak Ústí nad Orlicíko barrutiko udalerriak
12,871
https://avk.wikipedia.org/wiki/Julayek%20%28Lagonosticta%29
Wikipedia
Open Web
CC-By-SA
2,023
Julayek (Lagonosticta)
https://avk.wikipedia.org/w/index.php?title=Julayek (Lagonosticta)&action=history
Kotava
Spoken
124
349
Julayek (Lagonosticta) tir tani oxi ke Estrildidae yasa vey Passeriformes veem. Gan Cabanis bak 1851 taneon zo pimtayar. Vexala dem katceem Sedme vuestesa pulara ke Walvedeyafa Zveriopafa Aba ( 2.2 siatos, 2009 ), 11 katca zo vertokad, don : Lagonosticta nitidula Lagonosticta rhodopareia Lagonosticta rubricata Lagonosticta sanguinodorsalis Lagonosticta senegala Pulasa vuestexa is xantaza (en) vuest- : Walvedeyafa Zveriopafa Aba : Lagonosticta is Passeriformes (en) vuest- : Alan P. Peterson : Lagonosticta is Passeriformes (en) vuest- : UICN : Lagonosticta (Cabanis, 1851) (en) vuest- : Fauna Europaea : Lagonosticta (en) vuest- : Animal Diversity Web : Lagonosticta (en) vuest- : Catalogue of Life : Lagonosticta (en) vuest- : NCBI : Lagonosticta (fr+en) vuest- : CITES : Lagonosticta Julayek (Lagonosticta) Julayek (Lagonosticta) Julayek (Lagonosticta) Julayek (Lagonosticta)
50,877
https://ru.wikipedia.org/wiki/%D0%9A%D1%8B%D0%BD%D0%BD%D1%83
Wikipedia
Open Web
CC-By-SA
2,023
Кынну
https://ru.wikipedia.org/w/index.php?title=Кынну&action=history
Russian
Spoken
159
405
Кы́нну () — деревня в волости Куусалу уезда Харьюмаа на севере Эстонии. География и описание Расположена в 46 км к востоку от Таллина. Высота над уровнем моря — 57 метров. Официальный язык — эстонский. Почтовый индекс — 74702. Население По данным переписи населения 2021 года, в деревне проживали 89 человек, из них 83 (94,3 %) — эстонцы. Численность населения деревни Кынну по данным переписей населения: История В письменных источниках 1290 года упоминается Kundis, 1637 года — Kondo, 1699 года — Kondo (мыза). В XIII веке здесь находился монастырь, затем эти земли стали частью мызы. Скотоводческая мыза Кёндо (, Кынну, ) образовалась до 1637 года, в конце XVII века она стала cамостоятельной (мыза Кенда). В 1920 году на мызных землях образовалось поселение. В 1977 году Кынну получила официальный статус деревни. В 1977–2002 годах к ней были присоединены деревни Кимбалу и Соосила. В 1977–1997 годах частью деревни Кынну была деревня Муркси. См. также Муркси Кенда Примечания Населённые пункты Эстонии Куусалу (волость)
30,395
https://stackoverflow.com/questions/3278364
StackExchange
Open Web
CC-By-SA
2,010
Stack Exchange
Anthony Kennedy, Manikandan P, Meelis Hynninen, Vianna Hochstrasser, https://stackoverflow.com/users/6806372, https://stackoverflow.com/users/6806373, https://stackoverflow.com/users/6806374, https://stackoverflow.com/users/6806396
English
Spoken
136
302
jQuery - string disapearing from a variable Hey, I'm doing a search box and when I want the page to redirect, something strange heppens. Here is the script: $('#search_form').submit(function(ev) { var searchTerm = $("input[name = search_term]").val(); var search_location = conf_fullSiteAddress + "search/" + searchTerm + "/"; alert(search_location); window.location.replace( search_location ); }); Now what I want is the user to be redirected to http://www.myaddress/search/searchTerm/. It is even what I get through the alert(); function, but I get redirected to http://www.myaddress/search// and it totally ignores the searchTerm and it is in the string, because it gets alerted! Anyone knows what's going on? Thanks, Mike. $('#search_form').submit(function(ev) { ev.preventDefault() /* add this */ var searchTerm = $("input[name = search_term]").val(); var search_location = conf_fullSiteAddress + "search/" + searchTerm + "/"; window.location = window.location.replace( search_location ); /* and mod this */ });
30,367
https://ceb.wikipedia.org/wiki/Tryglahaug%20%28bungtod%20sa%20Noruwega%2C%20Odda%29
Wikipedia
Open Web
CC-By-SA
2,023
Tryglahaug (bungtod sa Noruwega, Odda)
https://ceb.wikipedia.org/w/index.php?title=Tryglahaug (bungtod sa Noruwega, Odda)&action=history
Cebuano
Spoken
171
303
Alang sa ubang mga dapit sa mao gihapon nga ngalan, tan-awa ang Tryglahaug. Bungtod ang Tryglahaug sa Noruwega. Nahimutang ni sa munisipyo sa Odda ug lalawigan sa Hordaland Fylke, sa habagatan-kasadpang bahin sa nasod, km sa kasadpan sa Oslo ang ulohan sa nasod. metros ibabaw sa dagat kahaboga ang nahimutangan sa Tryglahaug. Ang yuta palibot sa Tryglahaug kabukiran sa sidlakan, apan sa kasadpan nga kini mao ang kabungtoran. Ang kinahabogang dapit sa palibot dunay gihabogon nga ka metro ug km sa kasadpan sa Tryglahaug. Dunay mga ka tawo kada kilometro kwadrado sa palibot sa Tryglahaug may kaayo gamay nga populasyon. Ang kinadul-ang mas dakong lungsod mao ang Odda, km sa habagatan sa Tryglahaug. Hapit nalukop sa lasang nga dagomkahoy ang palibot sa Tryglahaug. Sa rehiyon palibot sa Tryglahaug, busay, mga bungtod, ug yelo talagsaon komon. Ang klima boreal. Ang kasarangang giiniton °C. Ang kinainitan nga bulan Hulyo, sa  °C, ug ang kinabugnawan Pebrero, sa  °C. Saysay Ang mga gi basihan niini Mga bungtod sa Hordaland Fylke sv:Tryglahaug (kulle i Norge, Odda)
16,908
https://stackoverflow.com/questions/12855661
StackExchange
Open Web
CC-By-SA
2,012
Stack Exchange
Jocelyn, Xaver, https://stackoverflow.com/users/1409082, https://stackoverflow.com/users/454979
Dutch
Spoken
362
796
Calculate count of rows in MySQL query Possible Duplicate: COUNT() and DISTINCT can i use together? I have this sql statement: SELECT * FROM wp_posts INNER JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) WHERE ( wp_term_relationships.term_taxonomy_id IN (4,3) ) AND wp_posts.post_type = 'post' AND (wp_posts.post_status = 'published') and I get two rows with the same ID => expected adding GROUP BY wp_posts.ID will reduce the count of rows to one Now I would like to get the number of rows with and SQL query SELECT COUNT(*) AS cnt FROM wp_posts INNER JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) WHERE ( wp_term_relationships.term_taxonomy_id IN (4,3) ) AND wp_posts.post_type = 'post' AND (wp_posts.post_status = 'published') GROUP BY wp_posts.ID I'll get as result "2" instead of "1", even with the "GROUP BY". What is the correct statement to get the numbers of rows from the first statement? Why are you expecting a result of 1? Try this: SELECT count(DISTINCT wp_posts.ID) as cnt FROM wp_posts INNER JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) WHERE ( wp_term_relationships.term_taxonomy_id IN (4,3) ) AND wp_posts.post_type = 'post' AND (wp_posts.post_status = 'published') This will give you the count of unique IDs in result rows. Thanks! exactly what I was searching for! Since the first query displays 2 rows, the second query should return 2, and it does. This is working as it should. Yep the first query returns two rows but if I add "GROUP BY ID" I get a single row. If I add GROUP BY to the second query I still get two rows Having that GROUP BY there makes no real logical sense. A simple fix would be to use your original sql as a subselect and do the count based on that:- SELECT COUNT(*) AS cnt FROM (SELECT wp_posts.ID FROM wp_posts INNER JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) WHERE ( wp_term_relationships.term_taxonomy_id IN (4,3) ) AND wp_posts.post_type = 'post' AND (wp_posts.post_status = 'published') GROUP BY wp_posts.ID) Sub1 Or the folowing might be OK, depending on the relationships between the tables (and so how unique wp_posts.ID is). SELECT COUNT(DISTINCT wp_posts.ID) FROM wp_posts INNER JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) WHERE ( wp_term_relationships.term_taxonomy_id IN (4,3) ) AND wp_posts.post_type = 'post' AND (wp_posts.post_status = 'published')
17,344
https://stackoverflow.com/questions/49920309
StackExchange
Open Web
CC-By-SA
2,018
Stack Exchange
Kathy Lori, https://stackoverflow.com/users/540180
English
Spoken
73
106
variable scope within Angular module A newbie question here: I'm working with Angular modules that are using dependency injection. If I inject $scope in module A and I do something like $scope.myVariable = 5, will $scope.myVariable be defined in module B? No, scope are limited to a controller. So they will not reflect in another module. Read more about it here: Scopes in angularJs Thank you for your quick reply. I appreciate it.
48,912
https://zh-classical.wikipedia.org/wiki/%E5%AF%8C%E5%B2%A1%E5%B8%82
Wikipedia
Open Web
CC-By-SA
2,023
富岡市
https://zh-classical.wikipedia.org/w/index.php?title=富岡市&action=history
Classical Chinese
Spoken
10
181
富岡市者,在日本群馬縣。 沿革 昭和廿九年,甘樂郡:富岡町、一之宮町、小野村、黑岩村、高瀨村、額部村合,而爲富岡市。 平成十八年,藤岡市、甘樂郡妙義町合,而爲富岡市。 地理 東臨高崎市,南至甘樂郡甘樂町,西伴甘樂郡下仁田町,北接安中市。 據 它典 富岡市政府 關東地方區劃‎
19,024
https://de.wikipedia.org/wiki/Codex%20Leicester
Wikipedia
Open Web
CC-By-SA
2,023
Codex Leicester
https://de.wikipedia.org/w/index.php?title=Codex Leicester&action=history
German
Spoken
649
1,293
Der Codex Leicester (auch als Codex Hammer bekannt) ist eine gebundene Sammlung von Blättern mit wissenschaftlichen Schriften, Notizen, Skizzen und Zeichnungen Leonardo da Vincis (1452–1519). Bill Gates bezahlte 1994 bei einer Auktion 30,8 Millionen US-Dollar für das Manuskript und machte es zum teuersten aller Zeiten. Name Den Namen Codex Leicester erhielt die Handschrift durch den Earl of Leicester, der sie im 18. Jahrhundert erwarb. Inhalt Der Kodex enthält 18 Blätter, die jeweils in der Mitte gefaltet und beidseitig beschrieben das 72-seitige Manuskript bilden, im Format von etwa 22 cm × 28 cm. Der Text wurde von Leonardo in den Jahren 1506 bis 1510 in der für ihn charakteristischen Spiegelschrift verfasst und mit zahlreichen Zeichnungen und Skizzen versehen. Das Manuskript enthält Abhandlungen zu Themen der Eigenschaften des Wassers, Astronomie, Gesteins- und Gebirgsbildung, Fossilien, Luft und Licht. Hauptthema des Kodex ist die Natur, die Eigenschaften und die Bewegung des Wassers. Leonardo befasst sich darin auch mit dem Bau von Kanälen und wasserbetriebenen Maschinen. Im Hinblick auf eine spätere Veröffentlichung seiner Aufzeichnungen entwirft er darüber hinaus eine strukturelle Gliederung seiner im Kodex großteils ungeordneten Notizen. Leonardo setzt sich ausführlich mit der Frage auseinander, warum Fossilien von Meerestieren auf Bergen zu finden sind, und verwirft die damals weitgehend anerkannte Behauptung, dass dieses Phänomen eine Folge der Sintflut sei. Der Künstler liefert im Codex Leicester eine erste korrekte Deutung des „aschgrauen Mondlichts“ (lumen cinereum) und erklärt es als von der Erde reflektiertes Sonnenlicht, das auf die von der Sonne unbeleuchtete Fläche des Mondes geworfen wird. Dieser sogenannte Erdschein ist von der Erde aus, besonders gut kurz vor und kurz nach Neumond, auch mit bloßem Auge sichtbar. Geschichte Über die frühe Geschichte des Kodex ist wenig bekannt. Nach Leonardos Tod im Jahr 1519 gingen alle seine Aufzeichnungen in die Hände seines Schülers Francesco Melzi (um 1491/92 – um 1570) über. Dessen Erben lösten den Nachlass Leonardos auf. Die Manuskripte wurden verkauft, auch als einzelne Blätter, und das wertvolle Material wurde verstreut. Im Jahr 1717 wurde die Handschrift von Thomas Coke, 1. Earl of Leicester (1697–1759) erworben. Der Kodex wurde im Jahr 1980 durch den Industriellen und Kunstsammler Armand Hammer (1898–1990) von der Leicester-Sammlung gekauft und in Codex Hammer umbenannt. Am 11. November 1994 ersteigerte der Unternehmer Bill Gates das Manuskript bei einer Auktion des Auktionshauses Christie’s für 30,8 Millionen US-Dollar. Anschließend wurde das Buch in Codex Leicester zurückbenannt. Damit ist der Kodex die teuerste jemals verkaufte Handschrift der Welt, vor dem Evangeliar Heinrichs des Löwen, das 1983 einen Preis von 32,5 Millionen D-Mark erzielte. In Deutschland war das Objekt erstmals vom 15. Oktober 1999 bis 9. Januar 2000 im Münchner Haus der Kunst und vom 30. Januar bis 12. März 2000 im Museum der Dinge, Martin-Gropius-Bau, Berlin ausgestellt, gemeinsam mit dem 96 Zeichnungen umfassenden Zyklus Zeichnungen zu den beiden 1965 wiederentdeckten Skizzenbüchern „Codices Madrid“ von Leonardo da Vinci von Joseph Beuys (1921–1986). Das Manuskript wurde digitalisiert und liegt als Digitalisat in einer Online-Version auf den Internetseiten der Corbis Corporation vor. Literatur Emma Dickens (Hrsg.): Das da Vinci Universum – Die Notizbücher des Leonardo. Ullstein Verlag, Berlin 2006, ISBN 3-548-36874-3, ab 2007: ISBN 978-3-548-36874-0 Martin Kemp: Leonardo, C. H. Beck, München 2005, ISBN 978-3-406-53462-1 Theodor Lücke (Hrsg.): Leonardo da Vinci: Tagebücher und Aufzeichnungen. 3. Aufl., Paul List Verlag, Leipzig 1953 Kaus Mangold (Vorw.): Leonardo da Vinci Der Codex Leicester. Haus der Kunst, München, 15. Oktober 1999 bis 9. Januar 2000; Museum der Dinge, Berlin, 30. Januar bis 12. März 2000, Richter Verlag Düsseldorf, München/Berlin 1999 Charles Nicholl: Leonardo da Vinci – Die Biographie. S. Fischer, Frankfurt am Main 2006, ISBN 978-3-10-052405-8 Jean Paul Richter (Hrsg.): The Notebooks of Leonardo da Vinci. 2 Bände, Dover Publications Inc., Dover 1970, Band 1: ISBN 0-486-22572-0, Band 2: ISBN 0-486-22573-9. Online-Version der Erstausgabe 1883 bei www.gutenberg.org, englisch Thereza Wells (Hrsg.): Leonardo da Vinci – Notebooks. Oxford University Press, Oxford 2008, ISBN 978-0199299027, englisch Weblinks Einzelnachweise Bilderhandschrift (16. Jahrhundert) Leicester Codex
37,357
https://de.wikipedia.org/wiki/Razali%20Ismail
Wikipedia
Open Web
CC-By-SA
2,023
Razali Ismail
https://de.wikipedia.org/w/index.php?title=Razali Ismail&action=history
German
Spoken
481
892
Tan Sri Razali Ismail (* 14. April 1939 in Alor Setar, Kedah, heute Malaysia) ist ein malaysischer Diplomat und UN-Politiker. Der Begriff Tan Sri ist ein Titel, der vom malaysischen Staat verliehen wird. Ismail trat 1962 in den diplomatischen Dienst Malaysias ein. Nach verschiedenen Positionen im Ausland, u. a. in London und Paris sowie im Außenministerium, wurde er malaysischer Botschafter in verschiedenen Staaten, so von 1978 bis 1982 in Polen, Ungarn, der DDR und der Tschechoslowakei, von 1982 bis 1985 in Indien und von 1988 bis 1998 in Kuba, Jamaika, St. Lucia, Barbados sowie Trinidad und Tobago. Von 1988 bis 1998 vertrat er Malaysia als ständiger Vertreter bei den Vereinten Nationen. 1989/90 saß er für sein Land im Weltsicherheitsrat, dem er als Präsident für ein Jahr vorstand. 1992 leitete er die malaysische Delegation beim ersten Weltklimagipfel in Rio de Janeiro. Am 17. September 1996 wählte die Generalversammlung der Vereinten Nationen Ismail zu ihrem Präsidenten, er leitete bis zum Ende seiner Amtszeit am 16. September 1997 52 reguläre Sitzungen, die 10. Notsitzung sowie die 19. Sondersitzung der Versammlung. Vom 4. April 2000 bis Anfang Januar 2006 war Razali Ismail Sonderbotschafter der Vereinten Nationen für Myanmar, das ehemalige Birma. Er vermittelte zwischen der birmanischen Militärjunta und der Opposition um die Friedensnobelpreisträgerin Aung San Suu Kyi. Nach anfänglichen Erfolgen, die im Mai 2002 zur Entlassung Aung San Suu Kyis aus dem Hausarrest führten, behinderte die Staatsführung Myanmars nach dem Überfall auf Suu Kyis Wagenkolonne am 30. Mai 2003 seine Arbeit immer mehr. Schließlich verweigerte sie ihm nach seinem letzten Besuch in Rangun Anfang März 2004 die weitere Einreise. Da er damit seine von den Vereinten Nationen übertragene Aufgabe 22 Monate lang nicht mehr wahrnehmen konnte, verzichtete er auf eine Verlängerung seines Vertrags, als dieser am 3. Januar 2006 auslief. Neben diesen Tätigkeiten lehrte Ismail als Gastprofessor Internationale Studien an der Michigan State University, USA (1993–1995), sowie an den Universitäten Kebangsaan und Putra, Malaysia. Razali Ismail ist verheiratet und hat drei Kinder. Razali-Plan Der Begriff „Razali-Plan“ bezeichnet einen von Razali ausgearbeiteten Entwurf zur Reform des UN-Sicherheitsrats. Eckdaten des Entwurfes sind: Erweiterung um neun weitere Mitglieder (5 ständige und 4 nicht-ständige) ständige Sitze sollen folgend besetzt werden: je ein Sitz an Afrika, Asien und Lateinamerika/Karibik, zwei weitere Sitze sollen durch Industriestaaten besetzt werden nicht-ständige Sitze sollen auf Regionen verteilt werden (Afrika, Asien, Osteuropa und Lateinamerika/Karibik) neue ständige Mitglieder erhalten kein Vetorecht, Alte sollen vom Vetorecht nur noch in Fällen von Kapitel VII der UN-Charta Gebrauch machen es besteht ein Quorum von 15 Stimmen die Charta-Änderungen sollen durch eine Konferenz nach 10 Jahren überprüft werden Weblinks Biographie auf der Homepage der Vereinten Nationen (Stand September 1996) (englisch) Lebenslauf mit Foto auf der Homepage von Kedah (englisch) Präsident der UN-Generalversammlung Malaysischer Botschafter in Polen Botschafter in Ungarn Botschafter in der DDR Botschafter in der Tschechoslowakei Botschafter in Kuba Botschafter in Jamaika Botschafter in Indien Malaysier Geboren 1939 Mann
15,043
https://stackoverflow.com/questions/50725009
StackExchange
Open Web
CC-By-SA
2,018
Stack Exchange
Flink, Mike Diglio, Sergey Kalinichenko, https://stackoverflow.com/users/335858, https://stackoverflow.com/users/4059412, https://stackoverflow.com/users/7700042
English
Spoken
156
360
Why Bootstrap 4 carousel auto crop image in height? I'm use Bootstrap 4 carousel, and I need the carousel show the full height of image . I do not know why boostrap is cuting it in height The dimensions are 1920 x 700 and the carousel adjust the image 1900 x 595 I see the same image in curvy-slider (wordpress) and this plugin dont' do this. <div id="carousel-area"> <div id="carousel-slider" class=" slide" data-ride="carousel"> <div class="carousel-inner"> <div class="carousel-item active"> <img class="img-responsive" src="/data/1.jpg" alt="" > </div> </div> </div> </div> Some one can helpe me? Please see this link and update your question - https://stackoverflow.com/help/mcve Without the code nobody can help Bootstrap should accommodate varying heights of images unless there is a specific height been set somewhere for the carousel. #myCarousel img { width: auto; height: 225px; max-height: 225px; } from: https://forums.adobe.com/thread/2413998 you can see here to : https://bootstrapcreative.com/create-full-width-bootstrap-4-responsive-carousel/ The second link is very helpful, thank you very much!
17,982
https://stackoverflow.com/questions/23533084
StackExchange
Open Web
CC-By-SA
2,014
Stack Exchange
JB Nizet, https://stackoverflow.com/users/3608233, https://stackoverflow.com/users/571407, user3608233
English
Spoken
467
628
make a standalone independent application out of a dynamic web project in eclipse So, I've made a dynamic web project in Eclipse.It uses Jsp and servlets. Now I am told to make a standalone independent application for the same. I tried to google as to how it can be done. Most of them pointed me to use Export->Runnable jar file. But on doing so I can't find my dynamic web project in the Launch Configuration. Now how to make the standalone independent application ? You can't create a standalone app out of a Java EE web app. A Java EE webapp needs a Java EE web container to run. The only thing you could do is to use an embeddable Java EE container. You should ask the person who told you to do that, without more information, what he wants and why. It seems he/she doesn't understand the technology you're using. @JB Nizet: Okay ! Just tell me one thing. If I have just 1 page say JSP/HTML so now how can I make it as a standalone independent application. It doesn't have a Java class file. Is it possible ? A JSP needs a JSP container to be executed. An HTML page can be served by any web server. If you just want to serve a static web page, using a Java EE container is overkill. What are you trying to achieve? @JB Nizet: So basically I have to make a standalone application for a search utility. It can be achieved using a Jsp page or Html page. Now how to do that ? What should this standalone application do with this static HTML page? @JB Nizet: Basically I've used datatables for search utility.Now I've embedded it in an Html page or even a JSP page. Now how to make it as a .exe file or standalone application with attractive GUI ? I'm really naive to this kind of stuff and really confused as to how to do it. @JB Nizet: Also considering the noobnesss of the question, can it be done in an alternate way say with swings etc. ?? I still don't understand what you're trying to achieve. To me, a search utility that only consists in a single, static HTML page is not a search utility. It's a static web page. Okay, so how to make a standalone independent application for a search functionality having an attractive GUI. ? In Java, using JavaFx or Swing. Read tutorials. Thanks for the help ! Just 1 last naive question..is it possible to make a runnable jar out of a web application having jsp and servlets? Yes. See my first comment. I've done a similar thing using embedded Jetty which means the application jar provides the web service without having to rely on a web server.
23,931
https://hu.wikipedia.org/wiki/Bonob%C3%B3
Wikipedia
Open Web
CC-By-SA
2,023
Bonobó
https://hu.wikipedia.org/w/index.php?title=Bonobó&action=history
Hungarian
Spoken
424
1,262
A bonobó (Pan paniscus) az utolsóként felfedezett emberszabású majomfaj. 1929-ben bukkant maradványaikra egy német kutató egy belga múzeumban. Eleinte a közönséges csimpánz (Pan troglodytes) alfajának gondolták, és ezért törpe csimpánznak nevezték, de azóta kiderült, hogy ez egy külön csimpánzfaj, amely mintegy 2,5 millió éve vált külön a közönséges csimpánztól. Előfordulása A bonobók szabadon már csak a Kongó-medencében, a Kongói Demokratikus Köztársaságban élnek, azon belül is főként a 36 ezer négyzetkilométeres Salonga Nemzeti Parkban. Az elmúlt két évtizedben létszámuk az orvvadászat eredményeként mintegy negyedére (kb. tízezer egyedre) csökkent. Állatkertben is keveset tartanak. A nőstények körülbelül 9 éves korukban, amikor ivaréretté válnak, elhagyják családjukat, és új csapatba költöznek: így elkerülik a vérfertőzést és növelik a faj genetikai diverzitását. Napjainkban a Kongó-medence bonobói olyan kevesen maradtak, hogy egymástól teljesen elkülönült közösségekben élnek, és ez már a faj fennmaradását veszélyezteti. Megjelenése, életmódja Nappal kisebb csoportokban járkálnak, és így gyűjtenek élelmet, de sötétedéskor megint összegyűlnek, és az éjszakát a fák között épített fészkeikben töltik. Főként növényekkel táplálkoznak, de kisebb gerinceseket, férgeket és rovarokat is esznek. Súlyuk és magasságuk nem különbözik lényegesen a csimpánzokétól, de kecsesebb alkatuk miatt kisebbnek tűnnek. A csimpánzokhoz hasonlóan sok hímből, sok nőstényből és kölyökből álló (akár százfős), szétváló-egyesülő csoportokban élnek, azonban a csimpánzoktól eltérően a bonobóknál a nőstények a dominánsok. A hímek között a domináns nőstény fiai tartanak rendet. Főként szaporodási viselkedésük hasonlít az emberéhez. A bonobók nem pusztán a szaporodás érdekében élnek szexuális életet: az örömszerzés és a társas kötelék erősítése is fontos hajtóerő. A nőstények folyamatosan készek a párzásra, szemben például a csimpánzzal, ahol a nőstény erre csak termékeny napjain hajlandó. Párosodás előtt a bonobó hím megkörnyékezi a nőstényt – de nem agresszíven, erejét fitogtatva, hanem ajándékot (például ételt) kínál neki. A nőstény elutasíthatja a közeledést. Ha két bonobócsapat találkozik, nem kezdenek el harcolni, hanem üdvözlik egymást, ételt cserélnek, és szexuálisan is közelednek egymáshoz. A bonobók konfliktusaikat nem agresszíven, hanem szexszel oldják fel. Ezzel függhet össze az, hogy a nőstény bonobók genitáliája nem csak havonta egyszer duzzad meg, hanem a szoptatás néhány évét kivéve állandóan duzzadt. A csapatba felvételét kérő nőstény kiválaszt egy domináns nőstényt, éjjel-nappal követi őt, és gyakran összedörgölik genitáliáikat. Ezek után nem meglepő, hogy a homoszexuális közösülés is gyakori a köreikben. Pár hét után a többiek teljes értékű csapattagnak fogadják el a jövevényt, aki 1–2 évvel a csatlakozás után szüli első utódját. A szülő és a kölyök kapcsolata az első 3–4 évben nagyon szoros, ez alatt a nőstény nem is szül újabb utódokat. Jegyzetek Források További információk Emberszabásúak Kihalás veszélyezteti a törpecsimpánzokat Emberfélék Emlősfajok A Kongói Demokratikus Köztársaság endemikus emlősei
39,705
https://stackoverflow.com/questions/5054406
StackExchange
Open Web
CC-By-SA
2,011
Stack Exchange
Arnaud Leymet, Jacek, MrYeske, Paul, Wish Codex, https://stackoverflow.com/users/10749031, https://stackoverflow.com/users/10749032, https://stackoverflow.com/users/10749033, https://stackoverflow.com/users/10751852, https://stackoverflow.com/users/10755564, https://stackoverflow.com/users/10757848, https://stackoverflow.com/users/1990451, https://stackoverflow.com/users/346005, muzzywoman, smnbbrv, zhou yushen
English
Spoken
184
328
Read parent location from within a frame (different domains) How could an iframe read its parent location URL, the domains of the parent window and the iframe being different? I know that the "common" answer to this question is that because of the domains conflict, browsers don't allow cross-domain accesses. So the following won't work: parent.location.href But maybe someone could think out of the box here and propose something similar to the Cross-document messaging hack? I got it!! My solution is the following: 1. Use the onload attribute with the frame <iframe src="http://website.com/" onload="src+='#'+document.location"></iframe> 2. Monitor hash changes in the frame var referrer = '?'; window.onhashchange = function() { var ref = document.location.hash; if(ref && ref.length > 1) { var t = ref.split('#'); ref = t[1]; } referrer = ref; }; And "voilà" :-) By the way, you'll find some more details about the onhashchange event. Perhaps you could check document.referrer? Of course, that will only work if the user has not yet clicked a link inside the iframe. Nope, it returns nothing from within the frame. @PleaseStand this really helped a lot. Thanks!
19,783
https://tex.stackexchange.com/questions/250674
StackExchange
Open Web
CC-By-SA
2,015
Stack Exchange
Andrey Tyukin, Au101, Manuel, Mico, Steven B. Segletes, barbara beeton, egreg, https://tex.stackexchange.com/users/16968, https://tex.stackexchange.com/users/21930, https://tex.stackexchange.com/users/25858, https://tex.stackexchange.com/users/4427, https://tex.stackexchange.com/users/5001, https://tex.stackexchange.com/users/579, https://tex.stackexchange.com/users/80270
English
Spoken
1,465
2,298
How to get rid of "c-cedilla" in math mode? This code: \documentclass{scrartcl} \providecommand{\c}{\mathrm{c}} \begin{document} Complement of $A$: $A^\c$. \end{document} Produces the following error: ! Missing { inserted. <to be read again> \begingroup l.6 Complement of $A$: $A^\c $. ! ==> Fatal error occurred, no output PDF file produced! The problem is that the command \c already exists (denotes a "c-cedilla"). However, I would rather like to use \c to denote set complements in math mode. It seems that for some reason LaTeX cannot switch from text mode to math mode. How can I get rid of "c-cedilla" and get a normal 'c' in math mode? If you have to define over a command use \renewcommand, but in the words of egreg, never redefine a command you don't fully understand. Could you not define a command that doesn't already exist. Something like \myc. Another alternative, of course, is to get an editor with good autocomplete functions, so that you don't have to define lots of new short commands to save yourself the typing. This is generally better as you don't get these problems and others can use your code safely, without the risk that your new definitions will break something or clash I do understand the command: it appends a funny squiggle to 'c', and I'm pretty sure that I will never need it. It's less about typing, more about reading, I don't want to clutter up too much space by writing out \complement every time. And myc is just a very bad name for a command. If the "c-cedilla" is so fundamental to LaTeX that one cannot deactivate it, I guess I better switch to using just c without \mathrm. Thanks anyway. The macro \c is already defined, as a macro that puts a cedilla below its argument. Hence, the instruction \providecommand{\c}{\mathrm{c}} won't do anything. You need \renewcommand instead of \providecommand. Of course, redefining \c will make it impossible to use the macro to insert cedillas elsewhere in your document. Ouch... Thank you very much Mico, that explains everything... I've just mixed up \renewcommand and \providecommand (I somehow got the wrong idea that \providecommand either creates or overrides the previous definition). I would use A^\complement and then may be redefine \complement (I usually use a \mathsf{c}) or even change the definition to \complement{A} so you can change the output completely at the end. This redefines it for math mode only, retaining its original use in text mode. EDITED , per egreg's recommendation, to use \DeclareRobustCommand in lieu of \def. The \expandafter in the definition allows the following \fi to be absorbed, so that the text version of \c can operate on the actual argument that follows. \documentclass{book} \let\svc\c \DeclareRobustCommand\c{\ifmmode\mathrm{c}\else\expandafter\svc\fi} \begin{document} This is a \c complicated test. Complement of $A$: $A^\c$. \end{document} Please, use \DeclareRobustCommand\c{...} instead of \def\c{...}. Steven, is this the correct way? I do something similar to add a “math definition” to the \d accent and I use \expandafter\let\expandafter\originald\csname\encodingdefault\string\d\endcsname and then \AtBeginDocument{\DeclareRobustCommand*\d{\ifmmode\mathop{}\!d\else\expandafter\originald\fi}} is this really necessary, or what you do is enough? @Manuel I am no expert on the potential pitfalls of the fix I offer. However, since we know that egreg has read the answer and not pointed out the added issue you raise, it gives some measure of confidence. @egreg Is there an easy answer to Manuel's query? StevenB.Segletes Same here, that's why I'm a bit confused. This works here, and I don't remember where did I get that code from, but I think it tries to emulate LetLtxMacro or something like that. Let's see if @egreg has something to say. I'd simply avoid redefining kernel commands such as \c and \d. @egreg Well, fault is on the kernel for having such nice names taken, with no possibility to extend them to math mode. The easiest is \renewcommand but since I didn't want to alter it's meaning, I had to go the hard way to tweak it correctly, so now \d behaves like always, but inside math mode instead of an error, I get a differential \int f(x) \d x, and I like it. Thou shalt not eat of the tree of "redefining kernel commands", @Manuel. But if you do, you will be like egreg himself. Go ahead, take a bite. The problem is that the global namespace is polluted by extremely short, yet almost useless commands. In Java or C#, they would have called it \org.groupname.internationalization.turkish.language.atuturkreformed.ccedilla{} instead of just \c{} in order to avoid unnecessary name clashes. @AndreyTyukin Perhaps your comment was directed at Manuel, but to answer what is \d, it places a diacritical dot under the following argument. Yes, thanks again Steven, I've found it myself after a while... I guess I better stop asking questions in the comment section. It already feels a bit as if I've accidentally unearthed an old source of an ongoing eternal online battle between people who like \d in integrals and people who don't like to override kernel commands. @AndreyTyukin Questions are fine. Better asked than unasked. As you have rightly observed you are having problems because \c is already provided. Its purpose is to provide the cedilla diacritic, which can actually be added to a number of letters. The letter it is to be added to should appear as an argument of \c, e.g. \c{c} produces ç. Accordingly, if you want to define an alternative \c macro, you must issue \renewcommand like so: \renewcommand{\c}{\mathrm{c}} Your code will now work. This, however, is not necessarily a very good idea. If you ever need to write about limaçons you may regret doing this. Steven B. Segletes provides a superb compromise for this case. All the same, conventional wisdom is to be very careful about redefining basic LaTeX commands, unless you're confident you know what you're doing with them. Otherwise you may end up breaking things. The weirdest error I ever got was when I thought I'd be very clever and write a little package called trig, to provide commands like \arccsc. Little did I know that there actually already exists a trig package, which is used for some definitions required in the pdflscape package. Oh I had fun when I tried to render a document with one landscape page. Anyway, even if you don't need \c, by redefining basic commands, you make your code unlikely to work well for anybody else. This is fine if you're just doing your maths homework, but beware of getting too used to your definition of \c if you then collaborate with someone else. You may also find that some editors' syntax highlighting will go awry with some redefinitions. A nicer alternative is to simply use a similar definition which isn't already defined. I recommended \newcommand{\myc}{\mathrm{c}} Which will give you no such problems, but it doesn't matter if this isn't to your taste. Anything you fancy. But you will have fewer problems if you're cautious about overwriting LaTeX's definitions. It's your code, though, just maybe add a comment to remind yourself if you do redefine \c? An alternative that may help other people is to think about finding an editor with good autocomplete functionality, or which can input long commands if you find them too cumbersome. Have a look through this list and see what might work for you. I now know that you yourself are not so concerned about input but others may find this a better alternative. limacons... I think it's the first time ever that I see this symbol in mathematical context. That's actually somewhat surprising (at least to me): it seems that there aren't too many French mathematicians with this symbol in their surname, there are a few people whose name is " François", but that's about it. And I've never seen anyone using "ç" in a mathematical formula. Indeed! And I doubt you'll use limaçons in the same document as you use complements, it was just an example. Just for the record, I don't mean to insist that you do not redefine \c - of course you can write your code however you want. But I wanted to put you on your guard and let you know of the potential problems you may run into if you follow the advice I gave and use \renewcommand. I think it'd be irresponsible for me to say "just use \renewcommand{\c}{...}" and not warn you that you might break something! @AndreyTyukin -- the cedilla can also be used on other letters, and can easily occur in a bibliographic reference without your noticing. if a manuscript with such a combination reaches the production department of a publisher, it will wreak havoc, and raise the cost of producing the publication. the diacritics were given "nice" definitions by knuth, creator of tex, because in his work he cites publications by authors from all around the world, and needed these symbols frequently.
34,613
https://stackoverflow.com/questions/43338147
StackExchange
Open Web
CC-By-SA
2,017
Stack Exchange
English
Spoken
241
329
Is UCWA event channels suitable for subscribing to large amounts of users? I'm developing a service application with the purpose of keeping track of users presence in S4B. When the users presence change, the application will forward this event to consumers of the service, eg. other service apps. The strategy used so far is to log in as a system user and use event channels and subscribe to a distribution list. The application will be used in organizations with up to 10 000 users, so there will be a lot of events. Is there any limitations in UCWA that prevents me from doing this? There is no documented limit, or experience provided by someone, to be used as reference, to reply your question. From the documentation you can expect to run into some limitation, but what is the boundary is indeed lacking: Forbidden 403 LimitExceeded The user has reached the maximum number of subscriptions that can be created. and Conflict 409 TooManyGroups The too many groups error. From: PresenceSubscriptions resource If you have previous experience with UCMA and its RemotePresenceView, you may know that there is a defined limit of subscribed users since when performance may degrade, and a limit on the maximum subscribers a user can have (defined by server policy), but there are experiences where UCMA has worked reliably for a scenario as you describe, and with high number of users. See also this answer, related to UCMA: https://stackoverflow.com/a/16734244/2359892
6,457
https://en.wikipedia.org/wiki/Michal%20Obro%C4%8Dn%C3%ADk
Wikipedia
Open Web
CC-By-SA
2,023
Michal Obročník
https://en.wikipedia.org/w/index.php?title=Michal Obročník&action=history
English
Spoken
379
652
Michal Obročník (born 4 June 1991) is a Slovak professional footballer who currently plays for Petržalka. Career ViOn Zlaté Moravce He made his debut for ViOn Zlaté Moravce against Ružomberok on 14 July 2012. Slovan Liberec In January 2014, Obročník came to Czech club Slovan Liberec. Pohronie On 31 January 2020, Pohronie has announced that signing of Obročník, along with the signing of Jacy. In a later interview, Obročník explained that his early departure from Polish Chojniczanka Chojnice was caused by club's financial troubles and delayed wage payments. He returned to Slovakia as the contract with Chojniczanka forbade him from signing with another Polish club. Obročník made his debut in the Fortuna Liga in the first round of the spring half of the season. On 15 February 2020, at pod Zoborom, Obročník was fielded in the starting line-up of a goal-less tie against Nitra. Despite making a couple of minor erroneous decisions in the play, particularly during the first half, he completed the entirety of the match. On 8 March 2020, in an away fixture against Zemplín Michalovce (0:1 loss), Obročník had suffered a leg injury and had to be replaced by Richard Župa in the first half. The injury had ruled him out of play for just one game of the relegation group fixtures, as the season was delayed and shortened due to the coronavirus pandemic. However he remained benched all the remaining games of the season. After the season, Obročník had departed from Pohronie, recording a total of four appearances. However, he resigned later during the autumn of 2020 and recorded 8 further appearances in the 2020–21 season before being released again in January 2021. External links Eurofotbal.cz profile Ligy.sk profile References 1991 births Living people Sportspeople from Rimavská Sobota Footballers from the Banská Bystrica Region Slovak men's footballers Slovak expatriate men's footballers Men's association football midfielders MŠK Rimavská Sobota players FC ViOn Zlaté Moravce players FC Slovan Liberec players SK Sigma Olomouc players FK Železiarne Podbrezová players Chojniczanka Chojnice players FK Pohronie players FC Petržalka players Slovak First Football League players 2. Liga (Slovakia) players Czech First League players I liga players Slovak expatriate sportspeople in the Czech Republic Slovak expatriate sportspeople in Poland Expatriate men's footballers in the Czech Republic Expatriate men's footballers in Poland
410
https://cs.wikipedia.org/wiki/K%C3%A5re%20Kivij%C3%A4rvi
Wikipedia
Open Web
CC-By-SA
2,023
Kåre Kivijärvi
https://cs.wikipedia.org/w/index.php?title=Kåre Kivijärvi&action=history
Czech
Spoken
276
756
Kåre Kivijärvi (23. dubna 1938, Hammerfest – 20. listopadu 1991) byl norský fotograf finského původu známý díky fotožurnalistické práci v severním Norsku. Životopis Kivijärvi se narodil v rodině národa Kvenů a vždy se hlásil ke svému etnickému dědictví ve Finsku. Poté, co pracoval jako fotografický učeň v novinách Finnmark Dagblad, byl v roce 1959 přijat na Folkwangschule für Gestaltung v Essenu, Německu, kde studoval u Otty Steinerta. Poté, co sloužil v královské norské letecké síly jako letecký fotograf, přijal pozici jako zaměstnaný fotograf pro Helsingin Sanomat zpravodajský týdeník Viikkosanomat, díky kterému pracoval v Grónsku, v Sovětském svazu, Afghánistánu, Indii a Nepálu. Kivijärviho dílo bylo vystaveno na hlavní výroční umělecké výstavě v Norsku, takzvané Podzimní výstavě (Høstutstillingen). V tomto ohledu lze říci, že v Norsku přispěl k uznání fotografie jako samostatné umělecké formy. Fotografický styl Kivijärviho je známý svými černobílými ostrými a kontrastními snímky. Jeho fotografická esej o příznivcích luteránského hnutí Laestadianismu v severním Norsku v roce 1962 je známým příkladem tohoto stylu, stejně jako jeho zobrazení pusté krajiny a drsného klimatu. Odkazy Reference Související články Fotografie v Norsku Seznam norských fotografů Literatura Eli Høydalsnes: Kåre Kivijärvi : fotografier; Bonytt, 2001 (norsky) Flor, Harald „Klokt om Kivijärvi“. Dagbladet, 28. 12. 2001. (norsky) Løberg, Morten M. „Nordic Light hedrer Kåre Kivijärvi (1931–1991): 'Min verden er en annen'. Fotografi, 24. 5. 2007. (norsky) Externí odkazy Poem:“Homage to Kare Kivijarvi„ by Scottish writer John Burnside, including “The Inspiration Behind the Poem„, published by Scottish Arts Council Vintage prints: http://www.galleribalder.com/portfolio91752.html Norští fotografové Finští fotografové Norští novináři Fotožurnalisté Lidé z Hammerfestu Narození v roce 1938 Úmrtí v roce 1991 Narození 23. dubna Narození v Hammerfestu Úmrtí 20. listopadu Úmrtí na Kypru Muži
46,207
https://nl.wikipedia.org/wiki/Luke%20Walter%20jr.
Wikipedia
Open Web
CC-By-SA
2,023
Luke Walter jr.
https://nl.wikipedia.org/w/index.php?title=Luke Walter jr.&action=history
Dutch
Spoken
122
225
Luke Walter jr., echte naam Luk Renneboog (Antwerpen, 22 november 1947 – New York, 18 juni 1996), was een Belgisch blueszanger en muzikant. Biografie In 1986 richtte hij samen met beeldhouwer Albert Szukalski de groep Blue Blot op. Met hun tweede album Bridge to your heart braken ze in 1990 door bij het grote publiek. In 1993 bleek hij te lijden aan leukemie. Net voor zijn dood bracht hij het soloalbum Back to normal uit. Luke Walter jr. overleed in 1996 op 48-jarige leeftijd. Discografie Met Blue Blot: Shopping for love (1987) Bridge to your heart (1991) Where do we go (1992) Live (1993) Yo yo man (1994) Blue Blot (1996) Blunk (2000) Solo: Back to normal (1996) Vlaams zanger Belgisch blueszanger
37,462
https://stackoverflow.com/questions/29483870
StackExchange
Open Web
CC-By-SA
2,015
Stack Exchange
English
Spoken
521
1,175
Custom Route Handler (for OPTIONS) if registered before config.MapHttpAttributeRoutes() not working I am trying to fully implement a true RESTful Web API. As part of this, I'm trying to expose OPTIONS through the Web API. I'm using ASP.NET 5.2.0 (Web Api 2.2) Here's the setup: In my Application_Start, I register by Attribute Routing as the first line GlobalConfiguration.Configure(WebApiConfig.Register) The WebApiConfig is simple: public static class WebApiConfig { public static void Register(HttpConfiguration config) { // Web API routes config.MapHttpAttributeRoutes(); } } I then call a method that loops through all the routes that were registered and adds a new route per unique route template with an HttpMethodConstraint. Here's what that class looks like public class HTTPOptionsVerbMessageHandler : DelegatingHandler { #region Class Variables /// <summary> /// The different supporting route actions for a specific route /// </summary> private IEnumerable<ApiDescription> _routeInfo = new ApiDescription[0]; #endregion #region Class Constructor /// <summary> /// Initializes the handler to return information based on the list of route information provided /// </summary> /// <param name="routeInfo">A list of <see cref="ApiDescription"/> containing information about the different actions supported by a template</param> private HTTPOptionsVerbMessageHandler(IEnumerable<ApiDescription> routeInfo) { _routeInfo = routeInfo; } #endregion #region Class Methods private static void AddOptionsRouteHandler(HttpRouteCollection routeTable, string routeTemplate, IEnumerable<ApiDescription> routeInfo) { //Define the handler for this particular route template and limit it to OPTIONS HTTP verb HTTPOptionsVerbMessageHandler handler = new HTTPOptionsVerbMessageHandler(routeInfo); HttpRouteValueDictionary constraints = new HttpRouteValueDictionary(); constraints.Add("httpMethod", new System.Web.Http.Routing.HttpMethodConstraint(HttpMethod.Options)); //Create the route and add it to the route table IHttpRoute route = routeTable.CreateRoute(routeTemplate, null, constraints, null, handler); routeTable.Add(string.Format("OPTIONS-{0}", routeTemplate), route); } /// <summary> /// Registers this handler on all defined routes in configuraiton /// </summary> /// <param name="config"></param> public static void Register(HttpConfiguration config) { HttpRouteCollection route_table = config.Routes; if (!route_table.Any()) return; //Get the unique list of route templates IEnumerable<string> route_templates = route_table.Select<IHttpRoute, string>(route => route.RouteTemplate.ToLower()).Distinct().ToList(); //Using the API Explorer, find all the supporting information for these routes IApiExplorer explorer = GlobalConfiguration.Configuration.Services.GetApiExplorer(); IEnumerable<ApiDescription> apis = explorer.ApiDescriptions; foreach (string route_template in route_templates) { IEnumerable<ApiDescription> route_info = apis.Where(api => string.Equals(api.Route.RouteTemplate, route_template, StringComparison.OrdinalIgnoreCase)); AddOptionsRouteHandler(route_table, route_template, route_info); } } protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) { return Task.Factory.StartNew<HttpResponseMessage>(() => { return request.CreateResponse(HttpStatusCode.OK, "Everything is ok"); }); } #endregion } So the first 2 lines in Application_Start are: GlobalConfiguration.Configure(WebApiConfig.Register); GlobalConfiguration.Configure(HTTPOptionsVerbMessageHandler.Register); Now when I try to check it out, expecting a 200 OK response with content of "Everything is OK", everything is not OK. I'm getting the 405 METHOD NOT ACCEPTED response. I switched the 2 lines in Application_Start so that HTTPOptionsVerbMessageHandler.Register is called first. Also added a quick hack to register a route template of "" and then exit out because HTTPOptionsVerbMessageHandler.Register requires there to be routes, which of course there aren't any since WebApiConfig.Register hasn't been called yet. In this case, OPTIONS "" as well as my Attribute Based route of GET "" both work as expected. So what am I doing wrong in the creation of my route where it's not being detected? Do I need to add or create routes differently? It's not the web.config because when I switch the order, it works correctly. It has something to do with how I'm registering these custom routes, but can't figure out what.
29,863
https://en.wikipedia.org/wiki/Reconstruction%20of%20attosecond%20beating%20by%20interference%20of%20two-photon%20transitions
Wikipedia
Open Web
CC-By-SA
2,023
Reconstruction of attosecond beating by interference of two-photon transitions
https://en.wikipedia.org/w/index.php?title=Reconstruction of attosecond beating by interference of two-photon transitions&action=history
English
Spoken
107
161
Reconstruction of attosecond beating by interference of two-photon transitions, more commonly known as RABBITT or RABBIT for short, is a widely used technique for obtaining the relative phase and amplitude of attosecond pulses. This technique involves the interference of two-photon interband transitions in solids. It is especially suited for diagnostics on the temporal structure of XUV pulses. The reconstruction of attosecond beating by interference of two-photon transitions is a valuable tool for studying ultrafast processes in materials and can provide insight into the dynamics of electrons in solids. History RABBITT was invented by Pierre Agostini, Harm Geert Muller and colleagues in 2001. References Experimental physics Ultrafast spectroscopy
50,340
https://tt.wikipedia.org/wiki/%D0%A4%D0%B0%D1%82%D0%B8%D2%BB%20%D0%A1%D1%83%D0%BB%D1%82%D0%B0%D0%BD%20%D0%9C%D0%B5%D2%BB%D0%BC%D0%B5%D1%82%20%28%D0%9A%D1%83%D0%BB%D1%83%29
Wikipedia
Open Web
CC-By-SA
2,023
Фатиһ Султан Меһмет (Кулу)
https://tt.wikipedia.org/w/index.php?title=Фатиһ Султан Меһмет (Кулу)&action=history
Tatar
Spoken
61
219
Фатиһ Султан Меһмет () — Төркия Җөмһүриятенең Эчке Анатолия бүлгесе Конья иле Кулу илчесенә караган бер мәхәллә (). Географиясе Халык саны Искәрмәләр Сылтамалар Турция // Большая российская энциклопедия : [в 35 т. / гл. ред. Ю. С. Осипов. — М. : Большая российская энциклопедия, 2004—2017.] Mahalle Nedir? Kısaltmalar Dizini Кулу илчесе мәхәлләләре Әлифба буенча торак пунктлар Төркия торак пунктлары Төркия мәхәлләләре
20,565
https://de.wikipedia.org/wiki/Picard%20%28Insel%29
Wikipedia
Open Web
CC-By-SA
2,023
Picard (Insel)
https://de.wikipedia.org/w/index.php?title=Picard (Insel)&action=history
German
Spoken
253
569
Picard Island (auch: Ile Picard, West Island) ist eine Insel der Republik der Seychellen im Atoll Aldabra. Picard ist flächenmäßig die drittgrößte Insel und durch die Forschungsstation Aldabra Research Station (La Gigi) die Hauptinsel des Atolls. Geographie Die Insel liegt im äußersten Nordwesten des Atolls. Pointe dans Nord ist der westlichste Punkt des Atolls. Von der Insel Grand Terre im Süden und den anderen kleinen Inseln Ilot Parc, Ilot Emili u. a. ist die Insel durch den Passe Femme getrennt. Am südwestlichen Ende (West Point Flagstaff, Pointe Passe Femme) befindet sich auch die Forschungsstation. Von Polymnieli im Osten trennt sie der Grand Passe. Der Südöstlichste Punkt ist Point Tanguin weit im Innern der Lagune. Welterbe 1982 wurde Aldabra von der UNESCO zum Weltnaturerbe erklärt. Berühmt sind vor allem die Aldabra-Riesenschildkröten (Aldabrachelys gigantea). Auf dem Aldabra-Atoll wurden 97 Vogelarten bestimmt, darunter neben vielen Seevögeln auch 13 Landvogelarten wie die Weißkehlralle (Dryolimnas cuvieri aldabranus), der Malegassen-Nektarvogel (Cinnyris sovimanga), der endemische Aldabradrongo (Dicrurus aldabranus) und der Seychellenweber (Foudia sechellarum), sowie bis zu seinem Aussterben der endemische Aldabrabuschsänger (Nesillas aldabranus). Auch der selten gewordene Dickschnabelreiher brütet hier. Die Aldabra-Schnecke war seit 1997 verschollen, wurde jedoch 2014 bei einer Bestandsaufnahme wiedergefunden. Aldabra ist bis auf wenige Menschen, die zum Schutze des Atolls dort leben, unbewohnt. Es ist möglich, von vorbeifahrenden Kreuzfahrtschiffen aus Tagesausflüge zu unternehmen. Außerdem bieten einige wenige Seychellen-Spezialanbieter Kabinen- und Vollcharters von der Hauptinsel der Seychellen, Mahé, nach Aldabra an. Einzelnachweise Weblinks Official Long Island Guide Mahe Map 2015 Insel (Seychellen) Insel (Afrika) Insel (Indischer Ozean)
43,143
https://en.wikipedia.org/wiki/ASE%20Essaouira
Wikipedia
Open Web
CC-By-SA
2,023
ASE Essaouira
https://en.wikipedia.org/w/index.php?title=ASE Essaouira&action=history
English
Spoken
60
121
Amal Sportive d'Essaouira, also known as Amal Essaouira or ASE, is a Moroccan basketball club. The club plays in the Nationale 1, the top tier competition in Morocco. In 2014, ASE participated in the Arab Club Competition. Players Notable players Jeremy Kendle Stéphane Konaté (2008–2010) Head coaches Milan Škobalj (2013–2014) References Basketball teams established in 1920 Basketball teams in Morocco
6,724
https://es.wikipedia.org/wiki/Absolutismo
Wikipedia
Open Web
CC-By-SA
2,023
Absolutismo
https://es.wikipedia.org/w/index.php?title=Absolutismo&action=history
Spanish
Spoken
4,420
7,042
Absolutismo es la denominación de un régimen político, una parte de un periodo histórico, una ideología y un sistema político (el 'estado absoluto'), propios del llamado Antiguo Régimen, y caracterizados por la pretensión teórica (con distintos grados de realización en la práctica) de que el poder político del gobernante no estuviera sujeto a ninguna limitación institucional, fuera de la ley divina. Es un poder único desde el punto de vista formal, indivisible, inalienable e intrascendente. Los actos positivos del ejercicio de los poderes (legislación, administración y jurisdicción) se apoyaron en la última instancia de decisión, la monarquía. Del monarca emanaban todos los poderes del estado, no estando por encima sino por debajo del mismo; lo que implica la identificación de la persona del rey absoluto con el propio Estado: No debe confundirse con el totalitarismo, concepto propio de la Edad Contemporánea. En el régimen del totalitarismo el poder se concentra en el Estado como organización, siendo que a su vez dicho Estado es dominado y manejado en todos sus aspectos por un partido político; este a su vez impone a la comunidad una ideología muy definida que penetra en todas las actividades sociales (el arte, las ciencias, la economía, los hábitos de conducta). En el absolutismo no hay un «Estado» propiamente dicho (y menos aún un partido político) sino que el Estado se identifica con un individuo que ejerce autoridad sin necesidad de ideología alguna; de hecho al absolutismo no le interesa imponer su control e influencia sobre todos los aspectos de la vida social sino que le basta fijar una autoridad omnímoda a quien los gobernados solo deben obedecer y jamás cuestionar. El oscuro origen etimológico del término «absolutismo» incluye (además de su relación con el verbo absolver) la expresión latina princeps legibus solutus est (‘el príncipe no está sujeto por la ley’), original de Ulpiano, que aparece en el Digesto, y que fue utilizado por los juristas al servicio de Felipe IV de Francia «el Hermoso» para fortalecer el poder real en el contexto de la recepción del derecho romano durante la Baja Edad Media. Algo más tarde, el jurisconsulto Balde (Baldo degli Ubaldi, discípulo de Bártolo), usa la expresión poder supremo y absoluto del príncipe en contraposición al poder ordinario de los nobles. La utilización del término se generalizó en todas las monarquías, independientemente de su poder efectivo, como ocurría en la débil monarquía castellana de Enrique IV «el Impotente», cuya cancillería emitía documentos redactados de forma tan pretenciosos como esta: E yo de mi propio motu é ciencia cierta é poderío real absoluto... Según Bobbio, en términos kantianos, el poder absoluto consiste en que «el soberano del Estado tiene con respecto a sus súbditos solamente derechos y ningún deber (coactivo); el soberano no puede ser sometido a juicio por la violación de una ley que él mismo haya elaborado, ya que está desligado del respeto a la ley popular (populum legis)». Esta definición sería común a todos los iusnaturalistas, como Rousseau o Hobbes. A pesar de que la autoridad del rey está sujeta a la razón, y justificada en último extremo por el bien común, explícitamente se niega la existencia de ningún límite externo ni ningún tipo de cuestión a sus decisiones; de modo similar a como la patria potestad se ejerce por el pater familias (el rey como «padre» de sus «súbditos» —paternalismo—). Tales justificaciones imponen de hecho el carácter ilimitado del ejercicio del poder por el rey: cualquier abuso puede entenderse como una necesidad impuesta por razón de Estado. El absolutismo se caracteriza por la concentración de poderes; no hay ninguna división de poderes como la que definirá la monarquía limitada propia de las revoluciones liberales. El poder legislativo, el poder judicial y el poder ejecutivo son ejercidos por la misma autoridad: el rey como supremo magistrado en todos los ámbitos. Rex, lex (o, en francés le Roi, c'est la loi, a veces expresado como ‘la palabra del rey es la ley’); sus decisiones son sentencias inapelables, y al rey la hacienda y la vida se ha de dar. El poder tiene un carácter divino, tanto en su origen como en su ejercicio por el propio rey, que queda sacralizado. La teoría del derecho divino del poder real (monarquía de derecho divino o absolutismo teológico) nació en el último cuarto del sigloXVI, en el ambiente de las guerras de religión de Francia. Aunque en Europa la divinización del monarca nunca llegó tan lejos como en el despotismo oriental (que identificaba al rey con el mismo Dios), el rey siempre tuvo cierto poder sobre las iglesias nacionales; no solo en las surgidas de la Reforma protestante, sino en las monarquías católicas, que supeditan en gran medida a la propia Iglesia católica a través del regalismo, aunque las relaciones ente Iglesia y Estado son altamente complejas. Temporalmente, la época del absolutismo es la del Antiguo Régimen, aunque no puedan identificarse totalmente como monarquías absolutas las de finales de la Edad Media y comienzos de la Edad Moderna, para las que la historiografía utiliza el concepto de monarquía autoritaria. El modelo más acabado de absolutismo regio fue el definido en torno a Luis XIV, rey de Francia a finales del sigloXVII y comienzos del sigloXVIII. La Ilustración del sigloXVIII convivió con un absolutismo que fue definido como despotismo ilustrado. El absolutismo sobrevivió a las revoluciones burguesas o revoluciones liberales de finales del sigloXVIII y comienzos del sigloXIX, hasta que la revolución de 1848 acabó con la Santa Alianza que desde el Congreso de Viena (1814) había impuesto la continuidad de los reyes «legítimos» restaurándolos en sus tronos incluso contra la voluntad de sus propios pueblos («Restauración» del absolutismo). El Imperio ruso mantuvo la autocracia zarista hasta la Revolución de febrero de 1917. Teóricos del absolutismo Jean Bodin (1531 -1596) sostenía que un rey debía gobernar sin necesidad de ningún consentimiento ajeno. Jacobo Estuardo, rey de Escocia e Inglaterra, consideraba al monarca como lugarteniente de Dios (Verdadera ley de las monarquías libres, 1598). Thomas Hobbes (1588-1679) propuso en su obra Leviatán que las naciones prosperan bajo una Monarquía, no porque tienen un príncipe, sino porque le obedecen (Leviathan). Jacques Bossuet (1627-1704) consideraba que la monarquía era la forma de gobierno más natural, sobre todo si es hereditaria. Era «sagrada» y absoluta. Para él, el rey representa a la Majestad divina: En los reyes… estáis viendo la imagen de Dios (Política sacada de las Sagradas Escrituras). Evolución del absolutismo El absolutismo tuvo un largo proceso de evolución ligado al surgimiento de los Estados modernos. Desde principios del sigloXV hasta la primera mitad del sigloXVI existió una primera fase o período de absolutismo en formación, caracterizada por la tendencia a la concentración progresiva del poder en manos del monarca, aunque todavía existían unas limitaciones muy claras, especialmente el poder religioso. La Iglesia era la rectora de la vida intelectual y moral; pero el papado había salido de su enfrentamiento con el Sacro Imperio Romano Germánico y del Cisma de Occidente sometido a un gran desprestigio, que (a pesar de, o precisamente a causa de los esfuerzos por evitarlo de los papas renacentistas) explica en buena parte la Reforma Protestante y la reacción de la denominada Contrarreforma católica. Incluso el naciente capitalismo comercial se veía sometido a limitaciones éticas en torno a la legitimidad del préstamo con interés (pecado de usura) interiorizadas en la preocupación moral de los mismos comerciantes y financieros. Las monarquías feudales, en un limitado número de casos (el reino de Portugal, la Monarquía Católica —España—, el reino de Francia, el reino de Inglaterra) se habían convertido en monarquías autoritarias, fortaleciéndose frente a la decadencia de los poderes universales, y habían conseguido un alto grado de centralización del poder en sus manos, haciendo surgir un nuevo espacio político, lo que se ha denominado naciones-Estado de la Europa Occidental. Frente al absolutismo pleno que caracteriza, al menos como pretensión, a las monarquías de la Edad Moderna, surgieron todo tipo de resistencias y contestaciones, incluso en la forma de revueltas o verdaderas revoluciones (la Guerra de las Comunidades de Castilla, las alteraciones aragonesas y la crisis de 1640 en España -independencia de Portugal, revuelta de los catalanes, revuelta de Masaniello-, la Fronda francesa, la Revolución inglesa, etc.). El absolutismo real o maduro no llegó hasta la segunda mitad del sigloXVII, con el reinado de LuisXIV en Francia. Monarquía teocrática La principal consecuencia de la monarquía teocrática era que, al ser la voluntad de Dios la que elegía al monarca, este se hallaba legitimado para asumir todos los poderes del Estado sin más limitación que la propia ley de Dios. De acuerdo con Richelieu, que teorizó sobre el absolutismo durante una época plagada de disturbios, los súbditos del monarca, incluyendo a los nobles, debían limitarse a obedecer los designios del mismo, concibiendo las relaciones entre el poder y el pueblo como unas relaciones verticales, de total subordinación. Richelieu argumentaba que sólo así podía el monarca garantizar el bienestar del pueblo, y asumía la teoría platónica de que la justicia del Estado se basaba en que cada parte se dedique únicamente a su cometido y evite mezclarse en los asuntos de las demás. En la práctica, no obstante, esta opinión tan extrema fue irrealizable: en el contexto europeo, la monarquía absoluta había evolucionado desde el feudalismo, por lo que en la práctica sobre la voluntad del monarca pesaban multitud de limitaciones de índole feudal, como privilegios nobiliarios y eclesiásticos, estatutos seglares y territoriales, fueros. Así, en la teoría absolutista europea, tal y como la analiza Montesquieu, aunque el monarca dictaba todas las leyes de acuerdo a sus intereses, que se confundía con los del Estado, los grupos privilegiados, esto es, los nobles, se erigían en consejeros y ayudantes directos del rey en sus decisiones. Los tribunales de justicia (los «parlamentos» en Francia), aparecían como una administración relativamente independiente, y el Estado absolutista se concebía como un Estado de leyes, lo que lo distinguía de una tiranía. El manejo de la religión En principio, de acuerdo con la teoría absolutista el Rey debía manejar los hilos de la iglesia y ser el jefe temporal de la misma. En la práctica, de nuevo, el poder de la iglesia era demasiado grande como para tomar sus riendas de manera tan radical, y aunque algunos monarcas, como Enrique VIII de Inglaterra, consiguieron hacerse con el control absoluto sobre la misma, si bien la mayoría de las monarquías europeas mantuvo su influencia sobre la Iglesia de una forma mucho más venal y sutil. En el caso de las naciones católicas, reconociendo tácitamente la supremacía del papado en cuestiones religiosas. No obstante, monarcas católicos como Carlos V habían obtenido el Patronato Regio, lo que les permitía el manejo, supervisión (e incluso nombramientos) en la Iglesia de su jurisdicción imperial. Economía y sociedades Las estructuras económicas, esencialmente preindustriales, mantenían la continuidad del modo de producción feudal o régimen señorial en el campo, verdadero centro de la producción. El capitalismo, que había nacido en las ciudades medievales continuaba en una fase inicial (o transición del feudalismo al capitalismo) que, a pesar de la era de los descubrimientos que había permitido la creación de una economía mundo, se restringía a circuitos comerciales y financieros. Aunque la relación de intereses y apoyos mutuos que pudiera haberse dado entre monarquía absoluta, feudalismo y capitalismo (o entre los distintos actores sociales: reyes, burgueses, señores y campesinos) ha sido objeto de notables polémicas histo-gráficas; en lo que sí hay consenso es el denominar como mercantilismo al pensamiento económico identificable con el periodo del absolutismo. El tamaño de la economía de cuyos recursos dependía la monarquía se identificó con el de un naciente mercado nacional, es decir, un mercado cuyas dimensiones coincidieran con el territorio de la monarquía, limitado por sus fronteras políticas, sometido a sus impuestos y legislación comercial, y en el que circulara su moneda y se aceptaran pesos y medidas comunes; todo ello mediante avances limitados, pretensiones que no se lograron de forma efectiva hasta el Nuevo Régimen posterior a las revoluciones liberales. Según la interpretación bullonista (de bullion, lingote de oro), la riqueza del Estado estaba respaldada por las reservas materiales de metales preciosos (el oro y la plata); según la interpretación colbertista (de Colbert, el ministro de LuisXIV), de una balanza comercial positiva estimulada por una inteligente política arancelaria que forzara la sustitución de importaciones por una producción interior controlada por el rey de todo tipo de productos, pero especialmente de los productos de lujo y estratégicos (manufacturas reales). Todas las medidas económicas deberían tener como fin aumentar la riqueza interior para así garantizar el incremento de los ingresos del Estado. El intervencionismo multiplicaba regulaciones y controles, e ignoraba cualquier concepto de mercado libre. Los privilegios y monopolios de origen feudal o los de nueva creación por arbitrio del rey, tenían un importante papel en el sistema económico: exenciones fiscales estamentales (nobleza y clero) monopolios de los gremios tradicionales o de las nuevas compañías comerciales y manufacturas reales, etc. La sociedad estamental más cerrada incluso que en la Edad Media, daba pocas oportunidades para la movilidad o el ascenso social, entre las que destacaban las carreras eclesiástica, universitaria y burocrática (nobleza de toga) y la venalidad de los cargos o la compra de títulos de nobleza. La atracción de la nobleza hacia la corte regia, además de acabar con la descentralización y ruralización propias de la Edad Media, la sometía a patrones de emulación en el lujo, la forma de vida y el servicio al rey, cuyo modelo más acabado fue el palacio de Versalles. Las revueltas interiores, fruto de las resistencias particularistas y del descontento social incrementado en las coyunturas críticas, fueron relativamente frecuentes. Interpretaciones historiográficas Para el historiador Roland Mousnier, la monarquía absoluta es el resultado de la rivalidad de dos clases: la burguesía y la nobleza. El rey arbitraba el conflicto, apoyando a la burguesía y domesticando a la nobleza, conduciendo ese conflicto a un equilibrio que aseguró su poder personal y la unidad, el orden y la jerarquía en el gobierno y en el Estado; lo que llevó a la sumisión total y a la obediencia sin límites. Por el contrario, según Perry Anderson, el estado absolutista nunca fue el árbitro entre la aristocracia y la burguesía, ni mucho menos, un instrumento en la naciente burguesía contra la aristocracia. El absolutismo fue en su esencia un aparato reorganizado y potenciado de dominio feudal, el nuevo instrumento de una nobleza amenazada, a la que permitió seguir ostentando el dominio del poder político, manteniendo a las masas campesinas en la base de la jerarquía social y a la burguesía emergente fuera de las clases dominantes. Paradójicamente, según este historiador, si bien el estado absolutista fue un instrumento para la protección de la propiedad y los privilegios de la aristocracia feudal, los medios que empleó favorecieron simultáneamente los intereses básicos de las nacientes clases mercantiles y manufactureras, posibilitando el desarrollo de las estructuras capitalistas. Algunos apartados de Anderson tomados del texto El Estado absolutista en Occidente: El absolutismo fue esencialmente eso: un aparato reorganizado y potenciado de dominación feudal, destinado a mantener a las masas campesinas en su posición social tradicional. El señor Anderson también cita en su texto a Althusser: El régimen político de la monarquía absoluta es tan solo la nueva forma política necesaria para el mantenimiento del dominio y explotación feudal en un periodo de desarrollo de una economía de mercado. Los estados monárquicos del renacimiento fueron, ante todo y sobre todo, instrumentos modernizados para el mantenimiento del dominio nobiliario sobre las masas rurales. P.Anderson. Instituciones Hacienda, burocracia, diplomacia y ejército profesional, todos ellos servidos por funcionarios o militares que deban a su formación y profesionalidad, y a la voluntad del rey (y no a su propia riqueza o nobleza) el mantenimiento de su posición; fueron los instrumentos más importantes de los que se valió la monarquía absoluta para afianzar y aumentar su poder, tanto hacia el interior como hacia el exterior. Los enormes costes de una marina de guerra y un ejércitos permanentes de mercenarios equipados con armas de fuego cada vez más modernas, implicaba la desaparición de las mesnadas feudales, reclutadas por fidelidad vasallática. El poder militar pasó de estar disperso en la nobleza a estar centralizado en el rey. La fiscalidad necesaria para sostener todos los gastos del Estado y del monarca, entre los que los que destacaban los gastos militares, los salarios públicos y los lujos de la corte, incluía todo tipo de impuestos, directos e indirectos, ordinarios y extraordinarios, además del recurso a la deuda pública, cuyos crecientes intereses terminaban convirtiéndose en un problema insoluble que llevaba a periódicas quiebras. Un cuerpo de embajadores se ocupaban de los cada vez más complejos tratados militares, comerciales y matrimoniales (todas las casas reales europeas se emparentaban para formar o mantener alianzas y conjuntos territoriales). A partir de la Paz de Westfalia (1648), el nuevo concepto de relaciones internacionales basado en el equilibrio de potencias dio un nuevo impulso a los ministerios de asuntos exteriores, y las embajadas dejaron de ser enviados informales para adquirir auténtica relevancia dentro de los regímenes absolutistas. Límites del poder absoluto El modelo político de la monarquía absoluta tiene como rasgo central la concentración de todo el poder en el rey sin control o límites de cualquier tipo. No deberían de subsistir poderes ni «cuerpos intermedios» que obstaculizaran la relación directa entre el rey y cada uno de sus súbditos. A pesar de estos principios, tanto las condiciones materiales propias de la época (que imposibilitan la existencia real de un poder ejercido de forma continua en un territorio inabarcable, sin comunicaciones eficientes -especialmente en los imperios coloniales, donde las leyes se obedecen pero no se cumplen-), como el incontestable poder ideológico, económico y social de la Iglesia y la pervivencia del régimen señorial y de costumbres e instituciones particularistas (aduanas interiores, multiplicidad de lenguas, monedas, pesos y medidas, privilegios forales, Cortes de los distintos reinos peninsulares en España, Parlaments judiciales en Francia, Parlamento en Inglaterra), determinaron que, de hecho, el poder de los reyes absolutos tuviera límites; se expresaran o no de forma explícita. En términos jurídicos, las limitaciones al absolutismo son tres: La ley divina, a la que el rey, al igual que todos los cristianos, está sometido. Las partes del Derecho que no pueden ser objeto de legislación por el rey, sino que se consideran de derecho natural y se determinan por especulación teórica de los juristas, como el derecho de gentes, que regula tanto los derechos de pueblos ajenos, a los que el rey tiene que atenerse cuando entabla relaciones internacionales (incluso en caso de guerra); o determinadas cuestiones del derecho privado de validez interna, como cuestiones relativas a la propiedad, la herencia, el mayorazgo, etc. Aquellas que se vinculan al ejercicio directo del gobierno, fueron desplazadas por los monarcas en el proceso de consolidación del absolutismo, como el recurso a cortes o parlamentos para la definición de ciertas medidas (en Francia los Estados Generales dejaron de ser citados en 1614, y solo volvieron a sesionar en 1789). Las leyes fundamentales del Reino: un conjunto de normas relativas al fundamento del Estado que no dependen de la voluntad del rey, sino que se basan en la tradición, en una suerte de «Constitución histórica» (cuya difuso reconocimiento posteriormente justificará la redacción de textos constitucionales liberales, como la Constitución de 1812). Dentro de estos principios, no necesariamente escritos, se cuentan: El principio de legitimidad, consecuencia de la necesidad de una noción de continuidad del Estado, que aunque se identifique con la persona del rey no puede dejar de ser independiente de su persona física: cuando el rey muere, la corona debe pasar a su sucesor (lo que implicaba complejas ritualizaciones: el doble cuerpo del rey, las proclamaciones del tipo El rey ha muerto, viva el rey). El rey no podía modificar la ley de sucesión que le había legitimado a sí mismo para acceder al trono. A pesar de ello, algunas sí se cambiaron, como la ley sálica que regía tradicionalmente en la monarquía francesa y, tras la llegada de los Borbones, en la española. La necesidad de establecer una regencia en casos como la minoría de edad o incapacidad del rey. El principio de religión; que no es esencialmente un rasgo del absolutismo. La confesionalidad del Estado implica que el jefe del Estado tiene la confesión del Estado. Esto era especialmente cierto para las monarquías católicas, fueran absolutas o no. La conversión de Enrique IV de Francia para poder ser rey dio un claro ejemplo (París bien vale una misa). Por el contrario, en Alemania la guerra de Esmalcalda había imposibilitado la formación de cualquier tipo de monarquía absoluta (o ningún tipo de Estado centralizado); y se estableció el principio opuesto cuius regio eius religio (la religión del rey es la del reino). En el caso del reino de Inglaterra, la posibilidad de que un católico accediera al trono era vista como una amenaza de absolutismo; con lo que la identificación del rey con la cabeza de la Iglesia anglicana suponía uno de los rasgos más de la monarquía parlamentaria. Exponentes del absolutismo Luis XIV de Francia El cardenal Richelieu, ministro principal de Luis XIII de Francia Felipe V de España Carlos XII de Suecia Jacobo II de Inglaterra Carlos II de Inglaterra Federico Guillermo I de Prusia Pedro I de Rusia Fernando VII de España Gustavo III de Suecia Carlos VI de Austria María I de Escocia El ejemplo francés El ejemplo más característico de una monarquía absoluta es el de la monarquía francesa, que demuestra asimismo cómo lograr hacer caer el régimen feudal no fue tan sencillo. La frase L'état, c'est moi (‘El Estado soy yo’), es la frase célebre de Luis XIV, uno de los más famosos monarcas absolutos de Francia. La Francia en el era un mosaico de regiones con distintas tradiciones, privilegios y regímenes legales. La tendencia de la monarquía francesa a centralizar el poder aparece sobre todo tras el fin de la Guerra de los cien años. Tras la invasión inglesa y la derrota de la vieja nobleza en la batalla de Agincourt, su prestigio queda seriamente dañado, algo que es aprovechado por los monarcas franceses para incrementar su influencia y poder. Hasta entonces, los reyes de Francia habían sido considerados como un primus inter pares por parte del resto de la nobleza francesa, y su influencia real se limitaba a los territorios patrimoniales de la casa Capeto, esto es, la Île de France. El primer monarca en desarrollar la tendencia centralista fue Luis XI, que se sirvió de múltiples intrigas para extender su autoridad por todos aquellos territorios que conformaban la Francia del sigloXVI. Sus sucesores continuaron esta política, que pasó con reducir la potestad de los nobles en sus señoríos jurisdiccionales y el desarrollo de una administración centralizada. Sin embargo, esta tendencia chocaba con importantes problemas de comunicaciones: comúnmente, las órdenes reales no llegaban en tiempo y forma a todos los rincones de Francia, y por lo tanto el poder en los señores locales se veía favorecido. El nombramiento de gobernadores locales y el control férreo sobre el nombramiento de cargos públicos tendió a reducir la influencia de los nobles locales a favor de la del Rey, aunque generó toda una casta de nobles de toga que compraban cargos públicos para luego beneficiarse de ellos a costa del Rey. En cuanto a la economía, como en cualquier régimen absolutista, era mercantil y el monarca intervenía en ella activamente. En lo que a la sociedad se refiere, esta estaba dividida en órdenes o estamentos, entendidos como la condición social y política de índole colectiva que se define por un conjunto de libertades. A lo largo del sigloXVI los sucesivos monarcas incrementaron su influencia, pero de ellos se esperaba que actuaran siguiendo la ley divina y el derecho natural, esto es, que respetaran las costumbres feudales. A lo largo del sigloXVII o de los Ministerios, como es llamado en Francia ya que gobernaron dos primeros ministros en vez de un rey, Richelieu y Mazarino, la autoridad real tiende hacia el centralismo, y el absolutismo se apuntala: se uniformizan impuestos, se restringe la autonomía de los Parlamentos provinciales, se integran en Francia territorios hasta entonces independientes como Navarra, la Lorena y el Bearn, se desarrolla la administración central, se reforma el ejército y se profesionaliza. Sumida en una profunda crisis económica y en medio de grandes revueltas tales como la rebelión campesina de los Croquants o la rebelión aristocrática de La Fronda, que debilitaron en apariencia la autoridad del Rey, a la larga el triunfo de este sobre los rebeldes apuntaló el absolutismo, y para cuando LuisXIV alcanza la mayoría de edad, la autoridad del monarca es indiscutible. Luego de la muerte de Mazarino, LuisXIV instaura su gobierno personal y pasa por arriba de todo lo existente y se impone nombrando a los ministros de su preferencia para que realicen las funciones vitales, que acompañados por un pesado sistema burocrático sin pocas innovaciones, hacen de lo que será la vida de Francia en aquel entonces. En cuanto a su plan económico, se tiene una economía basada eminentemente en la agricultura, con predominio del sistema de origen feudal, con aduanas y con altos impuestos que pueden ser pagados en especias o en diezmos según lo cosechado por los campesinos. Cuando hay malas cosechas, el país pasa hambre, pero los muchos impuestos no se reducen pues deben sufragar las continuas guerras del monarca así como el lujoso estilo de vida del este y de la corte. Para sostener en parte los gastos de la corte se crean las manufacturas reales de la mano de Colbert, destinadas a satisfacer la demanda de productos de alto lujo por parte de la nueva burguesía y las demás casas reales. Sin embargo, los trabajadores siguen ordenados en gremios según el oficio y con escasa conciencia capitalista. En lo social, Francia contaba con una sociedad altamente estratificada en la época y con privilegios solo para los nobles y los clérigos, que los distinguían en cuanto a la ley y a los tributos. Los no privilegiados, entre los que se incluían los campesinos y el Tercer Estado, estaban sometidos a todos los gravámenes y se encontraban bajo el imperio de una ley mucho menos benevolente. De ellos se esperaba que obedecieran y respetaran a los otros dos estamentos, a los que en realidad sostenían económicamente. Referencias Enlaces externos El esplendor del absolutismo. Absolutismo en Francia. Pensamiento político absolutista. La restauración del absolutismo (España). Formas de monarquía Formas de gobierno Edad Moderna
18,778
https://stackoverflow.com/questions/73492228
StackExchange
Open Web
CC-By-SA
2,022
Stack Exchange
English
Spoken
117
240
How to find elements based on computed style I wanted to find all element having specific font color in my selenium automation project. but as the font color style is not inline it will not be visible in DOM. Is there anyway to find elements based on their computed style? may be using xpath or css or finding such elements using JavaScript? try this, const color = 'rgb(255, 0, 0)' // use rgb color codes. const elements = Array.from(document.body.getElementsByTagName("*")); const specificFontColoredElements = elements.filter(elm => { const style = getComputedStyle(elm) return style?.color === color }) console.log(specificFontColoredElements) h2 { color: red; } .greencolor { color: green } <h2>I'm red</h2> <p>I do not have user styled color!</p> <h2 class="greencolor">I'm green</h2>
45,223
https://math.stackexchange.com/questions/4737247
StackExchange
Open Web
CC-By-SA
2,023
Stack Exchange
NDB, https://math.stackexchange.com/users/1198684, https://math.stackexchange.com/users/979693, syphracos
English
Spoken
109
163
function with two complex variables I have a project regarding analyticity of functions with two complex variables. My question is, what would be some interesting/special functions in $\mathbb C^2$? Maybe something like the complex gamma function $\Gamma(z)$ but extended to $\mathbb C^2$ (if possible) ? And where could I find more about it? Thanks in advance! If you find Krantz's book Function theory of several complex variables, that's a good place. As replacement you can find notes online. I don't know which functions you will find interesting, but I would not skip talking about Hartogs' phenomenon, 2.8.3 in the first link. @NDB thank you! I will look into it
40,064
https://ro.wikipedia.org/wiki/Electrica%20Banat
Wikipedia
Open Web
CC-By-SA
2,023
Electrica Banat
https://ro.wikipedia.org/w/index.php?title=Electrica Banat&action=history
Romanian
Spoken
144
305
Electrica Banat este o fostă filială a Electrica S.A. a cărei obiect de activitate este distribuția și furnizarea de curent electric. Electrica Banat a fost privatizată în anul 2005, când grupul italian ENEL a preluat 24% din acțiuni și a majorat capitalul până la 51% pentru o sumă totală de 69,1 milioane Euro Compania furnizează curent electric în 4 județe: Timiș, Arad, Caraș-Severin și Hunedoara. În anul 2006 a distribuit o cantitate de energie electrică de 3,7 TWh. Numărul de clienți în anul 2007: 850.000 Număr de angajați în 2007: 1.530 Rezultate financiare Cifra de afaceri: 2006: 285 milioane Euro 2005: 280 milioane Euro 2004: 220 milioane Euro Profitul net: 2006: 51 milioane Euro 2005: 19,7 milioane Euro 2004: 32,3 milioane Euro 2003: - 110 mii Euro 2002: 47 mii Euro Legături externe www.enel.ro - Sit web ENEL Note Distribuitori de electricitate din România
12,938
https://nl.wikipedia.org/wiki/Neyssa%20Etienne
Wikipedia
Open Web
CC-By-SA
2,023
Neyssa Etienne
https://nl.wikipedia.org/w/index.php?title=Neyssa Etienne&action=history
Dutch
Spoken
70
151
Neyssa Etienne (Port-au-Prince, 31 oktober 1983) is een tennisspeelster uit Haïti. Etienne begon op vijfjarige leeftijd met het spelen van tennis. Sinds 1998 kwam zij dertienmaal uit voor Haïti op de Fed Cup. In 2000 nam zij deel aan de olympische zomerspelen van Sydney, in het damesenkelspel. In 2001 speelde ze samen met de Duitse Annette Kolb in de meisjesdubbelspelfinale van Roland Garros. Externe links Haïtiaans tennisser Haïtiaans olympisch deelnemer
3,423
https://judaism.stackexchange.com/questions/66333
StackExchange
Open Web
CC-By-SA
2,015
Stack Exchange
Double AA, Emet v'Shalom, Isaac Kotlicky, SAH, https://judaism.stackexchange.com/users/1516, https://judaism.stackexchange.com/users/7102, https://judaism.stackexchange.com/users/759, https://judaism.stackexchange.com/users/8899
English
Spoken
412
649
Is it forbidden to embarrass a non-Jew? The prohibition to embarrass another and its sources are discussed here and at more length here, with the stipulation that the mitzvah--and related issues of onaat devarim--apply to men and women in all times and places. However, would these technically apply to the issue of embarrassing non-Jews, too? (I have little question about what is right, or what would be a better demonstration of middos, but I am wondering about Torah law.) Motivation: Have had the temptation to say some snide things online about a certain politician, and I don't mean Bernie Sanders. It is clear to me that it is a Torah prohibition. If tzar baalei chayim applies to humans (as a Torah law), then it is forbidden. Also, the second article you referenced quotes Rav Shlomo Aviner who says that since embarrassing others may shorten their lifespan, it is forbidden to do so under the category of murder. Also, if it is not subjectively 'right' because the custom of most nations around the world today is that humans do not embarrass each other, then besides for being a chillul Hashem, it would fall under the Torah category of doing what is 'straight and good' (Deuteronomy 6:18). ת"ר: מפרנסים עניי נכרים עם עניי ישראל, ומבקרין חולי נכרים עם חולי ישראל, וקוברין מתי נכרים עם מתי ישראל, מפני דרכי שלום. תלמוד בבלי, גיטין סא. Would this lesson about treating Jews and non-Jews equally apply here? We sustain the non-Jewish poor with the Jewish poor, visit the non-Jewish sick with the Jewish sick, and bury the non-Jewish dead with the Jewish dead, for the sake of peace. Seems like a reasonable Kol VaHomer @DoubleAA Counter to the Kol VaHomer - those are all positive actions about helping groups of poor and visiting groups of sick indiscriminately. We're discussing the reverse case - targeted negative acts. The logic of the (well formed) KvH may not apply. @IsaacKotlicky That just supports it. It's more of a Chiddush that Darkei Shalom obligates us to go out and do something, than for it to tell us not to be mean. @user11615 If you could translate the quote, that would be great. The other thing is: there are a lot of areas of Jewish law that apply very differently to Jews than to non-Jews--loshon hara and usury, for example. These hold stricter standards about how to treat Jews than non-Jews. I don't like them at all, but such is the law.
34,833
https://es.wikipedia.org/wiki/Fernando%20Batiste
Wikipedia
Open Web
CC-By-SA
2,023
Fernando Batiste
https://es.wikipedia.org/w/index.php?title=Fernando Batiste&action=history
Spanish
Spoken
415
751
Fernando Nicolás Batiste (Tacural, Provincia de Santa Fe; 11 de marzo de 1984) es un futbolista argentino. Se formó en las divisiones inferiores de Rosario Central. Juega como centrocampista en El Fuensalida de la primera Autonómica de España Trayectoria Bolivia Se inició en las divisiones inferiores de Rosario Central, en 2004 fue transferido al Club San José de Oruro de Bolivia donde logró debutar profesionalmente en esa temporada, para 2007 es cedido al Aurora de Cochabamba y regresa al club en 2008. En total en suelo Boliviano disputaría 113 partidos y anotaría 8 goles en los cinco años en los que estuvo allí. Colombia 2009 Llega al país cafetero en 2009 para jugar con el América de Cali donde pasa sin pena ni gloria ; al finalizar la temporada demanda al club escarlata por incumplimiento de su contrato. 2010 En 2010 cuando jugaba para el Atlético Bucaramanga denunció que los jugadores del Deportivo Pasto lo intentaron sobornar. El jugador dijo en una entrevista para varios medios de comunicación que cuando estaban haciendo el calentamiento previo al partido el jugador boliviano Diego Aroldo Cabrera lo llamó y le ofreció $1.000.000 de pesos COP. A cada uno de los jugadores del Bucaramanga, los cuales no aceptaron y salió la noticia a todos los medios deportivos del país. Renunciaría al equipo santandereano un mes después por problemas personales. 2011 Llega en enero a territorio antioqueño para jugar con el Itagui Ditaires (Actual Rionegro Águilas) donde hace su pretempora, pero no se destaca, así que no es inscrito para jugar en la liga y sale de la institución siendo contratado meses después por el Fortaleza C.E.I.F de Zipaquirá. 2012 Llega al equipo matecaña donde se destaca y a la temporada siguiente regresá a Bogotá para jugar con La Equidad. 2013-2014 Con La Equidad juega la Copa Sudamericana en 2013, al cuminar su contrato disputaría más de 70 partidos con el equipo Bogotano. 2015-2017 Regresó al Deportivo Pereira donde estuvo aportas de ascender en dos oportunidades. 2018 Ficha con Unión Magdalena logrando el ascenso a la máxima categoría del FPC. Clubes Estadísticas Referencias Ficha en BDFA Ficha en ESPN Deportes Ficha en Goal.com Ficha en Football Database Futbolistas de Argentina Futbolistas nacionalizados en Colombia Futbolistas de las inferiores del Club Atlético Rosario Central Futbolistas del Club San José Futbolistas del Club Aurora Futbolistas del América de Cali Futbolistas del Atlético Bucaramanga Futbolistas del Fortaleza Fútbol Club Futbolistas del Deportivo Pereira Futbolistas del Club Deportivo La Equidad Futbolistas del Unión Magdalena
40,493
https://stackoverflow.com/questions/43346203
StackExchange
Open Web
CC-By-SA
2,017
Stack Exchange
djv, https://stackoverflow.com/users/832052
Swedish
Spoken
423
913
How to I add the total of a particular column in a list view and add it into a text box? Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAdd.Click If txtCode.Text = "" Or txtName.Text = "" Or txtUnit.Text = "" Or txtPrice.Text = "" Then MsgBox("Please fill in all fields") Else Dim str(3) As String Dim itm As ListViewItem str(0) = LSet(txtName.Text, 8) str(1) = LSet(txtCode.Text, 3) str(2) = LSet(txtUnit.Text, 6) str(3) = LSet(txtPrice.Text, 20) itm = New ListViewItem(str) ListView1.Items.Add(itm) lblTotalItems.Text = ListView1.Items.Count txtCode.Text = "" txtName.Text = "" txtUnit.Text = "" txtPrice.Text = "" End If End Sub I currently have this code for my list view, with more code in my global variables, I'm wanting to add up one column and place them in the Total text box, I know you have to loop through it and add them but i'm not sure how. Here is the image for the form Your business logic should be performed off of the UI. See, your number is entered as a string to a textbox, then put in a listview, then converted from a string to a number, all on the UI. If you handle the number validation when it's entered (you should either way), then you can store it in an object, and then display the results on the UI. Here is an example of the type of loop you could use. Const col As Integer = 3 'this adds the price column Dim total As Integer = 0 Dim lvsi As ListViewSubItem For i As Integer = 0 To ListView1.Items.Count - 1 lvsi = ListView1.Items(i).SubItems(col) total += Integer.Parse(lvsi.Text) Next A lot simple than a ListView use a DataGridView Just initialize it on Form.Load() with: DataGridView1.Columns.Add("Name", "Name") DataGridView1.Columns.Add("Code", "Code") DataGridView1.Columns.Add("Unit", "Unit") DataGridView1.Columns.Add("Price", "Price") DataGridView1.AllowUserToAddRows = False Then on Add button: If txtCode.Text = "" Or txtName.Text = "" Or txtUnit.Text = "" Or txtPrice.Text = "" Then MsgBox("Please fill in all fields") Else DataGridView1.Rows.Add(txtName.Text, txtCode.Text, txtUnit.Value, Decimal.Parse(txtPrice.Text, System.Globalization.CultureInfo.InvariantCulture) * txtUnit.Value) DataGridView1.Refresh() End If Here I did the Price column = the Unit times the price you entered. I also handled decimals partly but you would need to check that price is 2.00 and not 2 Then for total button: Dim MyTotal As Decimal = 0.00 'For each row in the gridd For Each row As DataGridViewRow In DataGridView1.Rows 'invcrement total with column 3 equal to the price (index start = 0) MyTotal = MyTotal + Decimal.Parse(row.Cells(3).Value, System.Globalization.CultureInfo.InvariantCulture) Next txtTotal.Text = MyTotal I'll let you figure out the rest
35,724
https://stackoverflow.com/questions/46594185
StackExchange
Open Web
CC-By-SA
2,017
Stack Exchange
Gordon Linoff, SE1986, Super Hans, https://stackoverflow.com/users/1144035, https://stackoverflow.com/users/6032137, https://stackoverflow.com/users/7031900
English
Spoken
248
411
How to write SQL query using a join on 3 tables? I have created a hypothetical scenario with some dummy data. Below are 3 basic tables and I'm looking to write a query to find what property/properties Mary has viewed. In this scenario Mary has viewed 1 property a flat in Glasgow. Table 1: Client ===================== ID Name ===================== 5 Tom 6 Mary 7 John Table 2: Property ===================== ID CITY TYPE ===================== 14 Aberdeen House 16 Glasgow Flat 21 Glasgow House 94 London Flat Table 3: Viewing ======================== Client Property Date ======================== 5 14 01-12-2016 5 21 08-12-2016 6 16 10-10-2016 INNER JOIN would be my first thought, particularly for someone learning SQL. What are you trying to show? SEarle1986 I was just trying to see how I would go about seeing what property Mary viewed Sorry, missed that bit! The question has answers now but I agree with them that JOIN (Or INNER JOIN) is the way to go Thanks SEarle1986 I see them, i'm just looking at the two answers now and trying figure them out as one uses join and the other inner Join Definitely use inner joins for this, a quick example of this could be SELECT c.Name, p.Type, p.City, v.Date FROM Viewing v JOIN Client c ON v.client = c.ID JOIN Property p ON v.property = p.ID WHERE c.Name = 'Mary' That should show you who view what and when. I've used aliases on the table names just to keep it neat.
15,211
https://stackoverflow.com/questions/64804629
StackExchange
Open Web
CC-By-SA
2,020
Stack Exchange
Carlos Cordoba, ML85, Ozgeozcn, https://stackoverflow.com/users/11341120, https://stackoverflow.com/users/14625975, https://stackoverflow.com/users/438386
English
Spoken
356
570
Anaconda-Spyder is not working in Windows 10 I installed anaconda but after, when I click on the navigator symbol it can not launch anaconda. I tried just click on spyder but it didn't work either. I uninstalled and installed a couple of times and tried every solution I found here also. But non of them worked. When I try to open spyder with anaconda prompt, I get following error. ImportError: DLL load failed while importing error: Belirtilen modül bulunamadı. Can anyone has any ideas? Which version of spyder with which python? because spyder has issues with pyqt5 if it doesnot matches, the spyder is not able to work. I have downloaded directly from anaconda.com and I didn't make any changes like downloading python or spyder seperately. It downloaded python 3.8 but I dont know what is the spyder version try Spyder 3.2.2 with pyqt5==5.11.2 and see if this works. You mean, I should type on the anaconda prompt screen? Sorry, I am very new No, it is different version from the current one. you have to type >> pip install Spyder==3.2.2 and than, after this installation type >> pip install PyQt5==5.11.2 try these in combination and let me know. thank you very much for your help. I did all and installed successfully but unfortunately it still doesnt work which anaconda package you are using now and python inside? it is anaconda 1.7.2 and python 3.8.3 can you please install https://repo.anaconda.com/archive/Anaconda3-2020.07-Windows-x86_64.exe and see if still issue. thank you I will try and comment about it as soon as possible I have found a proper internet connection and installed but it is still the same. I can not open navigator. I tried to open it as administrator too (Spyder maintainer here) Please see our video to understand how to bring Spyder back to life again. open cmd or anaconda prompt,input spyder return ,see what the mistake is . If it is a package version problem, try to uninstall and install the library of the specified version. I encountered a similar problem. I unloaded the library that reported errors. Finally, I reduced the version of pyqt5. Finally, I succeeded
33,754
https://stackoverflow.com/questions/40888672
StackExchange
Open Web
CC-By-SA
2,016
Stack Exchange
Nick Barnes, chenson42, hanshenrik, https://stackoverflow.com/users/1104979, https://stackoverflow.com/users/246873, https://stackoverflow.com/users/6303323
English
Spoken
605
1,038
SymmetricDS Postgres target gives "Failed to read table" for all sym_* tables I'm trying to setup a simple replication from MySQL to Postgres. Identical schemas. After following the steps in the Demo Tutorial with a slight change (using MySQL and Postgres drivers) I am still unable to get the replication working. A few changes were needed based on complaints after running bin/sym SET GLOBAL show_compatibility_56 = ON needed to be set in the MySQL DB For Postgres I needed to use protocolVersion=3 instead of 2 which was set in the example. The weird thing is that SymmetricDS is able to create the sym_* tables, but complains about not being able to read them. I have verified that the tables do not exist before bin/sym is run, but do exist after. Here is an excerpt from the log // Successful creation of table [store-001] - PostgreSqlSymmetricDialect - DDL applied: CREATE TABLE "sym_notification"( "notification_id" VARCHAR(128) NOT NULL, ... PRIMARY KEY ("notification_id") ) ... // Unable to read from created table [store-001] - PostgreSqlDdlReader - Failed to read table: sym_notification [store-001] - PostgreSqlDdlReader - Failed to read table: sym_notification [store-001] - AbstractDatabaseWriter - Did not find the sym_notification table in the target database [store-001] - PostgreSqlDdlReader - Failed to read table: sym_monitor [store-001] - PostgreSqlDdlReader - Failed to read table: sym_monitor [store-001] - AbstractDatabaseWriter - Did not find the sym_monitor table in the target database The same error apply for all the sym_* tables. The databases are running in Docker, but since SymmetricDS is not complaining about being unable to connect, and is able to create the tables, I assume it is not related to Docker. The database in the Postgres DB is created by the same user as specified in engines/store-001.properties. Could this still have something to do with roles and access privileges? Any error messages in the Postgres server log? Yes, before each STATEMENT it logs, there is an error message: ERROR: column am.amcanorder does not exist at character 427 @NickBarnes Looks like SymmetricDS doesn't support your version of Postgres. The pg_am.amcanorder column was there in 9.5, but was removed in 9.6. Wait, is this error coming from the SymmetricDS session? That column name doesn't seem to be mentioned in their codebase. It might be caused by something unrelated. Awesome, thanks! Replication works using Postgres 9.5.5 instead of 9.6.1 (latest tag on Docker). But the Postgres server log says ERROR: relation "gp_id" does not exist at character 20 STATEMENT: select gpname from gp_id for all 9.x versions, so I guess this could potentially cause trouble in the future. Yes, the error is triggered when I run bin/sym, which initiates replication from the MySQL source to the Postgres target. The gp_id error doesn't look like a problem. Judging by the source, it's just testing to see if you're running Greenplum (a Postgres fork). If you upgrade to the latest JDBC driver from Postgres it will work. Replace the existing Postgres driver from the lib directory from the latest from here: https://jdbc.postgresql.org/download.html The driver will be updated in 3.8.11. https://www.symmetricds.org/issues/view.php?id=2926 Try to connect to the postgres database with the same username/password used by symmetric-ds from some DB navigator, for example Jetbrain's Datagrip and then try inserting, updating, selecting something from sym_* tables. Assign access rights to the user if necessary. This works fine, so there must be something else that is wrong. When using Postgres 9.6.1 (current latest release) the following error is logged on the server when running bin/sym ERROR: column am.amcanorder does not exist at character 427 The problem was resolved by using Postgres 9.5.5 instead thanks to Nick Barnes pointing this out in a comment.
6,319
https://stackoverflow.com/questions/74379743
StackExchange
Open Web
CC-By-SA
2,022
Stack Exchange
Alexis, TheNickster, https://stackoverflow.com/users/13986485, https://stackoverflow.com/users/19991177
English
Spoken
318
1,025
Google Contact Form Animation? How would I go about implementing the onclick animation seen on this Google login form? As you click the button box, the placeholder text shrinks and moves to the top left and the button border forms around the text. https://accounts.google.com/v3/signin/identifier?dsh=S906398310%3A1668018211534020&flowName=GlifWebSignIn&flowEntry=ServiceLogin&ifkv=ARgdvAv8SiraKrw6QlE0WDM_jQ_IMyyYjxsvr8JLQ_L2BGzFth9-H3ZsW5aunSdhTVq1iMWqAgCTtg You should look at this codepen, doing what you asked. I'll check it out. With pure CSS I would approach it like that: <style> input:focus ~ .floating-label, input:not(:focus):valid ~ .floating-label{ top: -6px; left: 0.5rem; padding: 0.5rem; font-size: 11px; opacity: 1; } .inputText { font-size: 14px; width: 200px; height: 35px; outline: 1px!important; } .floating-label { position: absolute; pointer-events: none; left: 1rem; transform: translateY(-50%); top: 50%; background: white; transition: 0.2s ease all; } </style> <div style="position:relative; display:inline;"> <input type="text" class="inputText" required/> <span class="floating-label">Your email address</span> </div> That isn't a placeholder. Its just a label sitting absolute above an input field. There are 2 options. First one is only html and css. But it only works if all input fields are required. So you cant send the formular if one is empty. <style> .wrapper { width: 100%; height: 50vh; display: flex; justify-content: center; align-items: center; } .wrapper .your-label { position: absolute; } #input:focus ~ .your-label, #input:valid ~ .your-label { background-color: yellow; color: blue; transform: translateY(-1rem); scale: 0.8; } </style> <body> <div class="wrapper"> <input id="input" type="text" required /> <label class="your-label" for="input">Your Text</label> </div> </body> Second one would be with js and you are able to send also forms that are empty. <style> .wrapper { width: 100%; height: 50vh; display: flex; justify-content: center; align-items: center; } .wrapper .your-label { position: absolute; } .your-label.active { background-color: yellow; color: blue; transform: translateY(-1rem); scale: 0.8; } </style> <body> <div class="wrapper"> <input id="input" type="text" /> <label class="your-label" for="input">Yourt Text</label> </div> </body> <script> const form_input = document.querySelectorAll("#input"); form_input.forEach((e) => { e.addEventListener("focus", () => { e.nextElementSibling.classList.add("active"); }); e.addEventListener("blur", () => { if (e.value === "") { e.nextElementSibling.classList.remove("active"); } else { e.nextElementSibling.classList.add("active"); } }); }); </script>
2,723
https://no.wikipedia.org/wiki/Internrente
Wikipedia
Open Web
CC-By-SA
2,023
Internrente
https://no.wikipedia.org/w/index.php?title=Internrente&action=history
Norwegian
Spoken
41
112
Internrente er et bedriftsøkonomisk nøkkeltall som brukes for å vurdere ulike alternative investeringer mot hverandre. Internrenten er den renten som gir en nåverdi av fremtidige kontantstrømmer lik 0. Formelen for nåverdi er: Se også Diskontert kontantstrømsmetoden Paybackmetoden Nåverdimetoden Finans Bedriftsøkonomiske nøkkeltall
51,116
https://stackoverflow.com/questions/40913097
StackExchange
Open Web
CC-By-SA
2,016
Stack Exchange
ADyson, Rajshekar Reddy, https://stackoverflow.com/users/2592042, https://stackoverflow.com/users/5015238, https://stackoverflow.com/users/5947043, https://stackoverflow.com/users/7236655, jdweng, sonik
English
Spoken
259
323
Find "Collection" from subobject Is there a method to understand if a generic C# Object is part of a collection? And is there a way to retrieve said collection? I know an Object is not aware of being part of another (no references stored anywhere about parents) but maybe one could use reflection on generic collections. do you mean that you don't know which collection it might be part of? Or would you have a particular collection in mind and simply want to find out if the object is contained within it? You can't get a parent (collection) from an item in the collection unless a property exists in the child. In most cases you need to enumerate through the collection to find children with properties using a search. @jdweng: I supposed that as well...storing a new prop seems the best way to achieve such result. @sonik let me know if my answer fits your problem .. To answer original question : no, you're not supposed to be able to find parent collection of an object, and reflection probably won't help. But you may be able to achieve what you need by modifying behavior of ICollection.Add() by using extension methods and storing in each added objects a reference to their common container. Putting additional data in objects seems to be achievable, as it is stated here : How can additional data be associated with existing objects using extension methods? There may be other solutions to achieve what you need, but on my self I'd go with something like that.
29,760
https://fr.wikipedia.org/wiki/Tigaon
Wikipedia
Open Web
CC-By-SA
2,023
Tigaon
https://fr.wikipedia.org/w/index.php?title=Tigaon&action=history
French
Spoken
22
39
Tigaon est une municipalité de la province de Camarines Sur, aux Philippines. Notes et références Municipalité dans la province de Camarines Sur
4,857
https://vi.wikipedia.org/wiki/Daemonorops%20loheriana
Wikipedia
Open Web
CC-By-SA
2,023
Daemonorops loheriana
https://vi.wikipedia.org/w/index.php?title=Daemonorops loheriana&action=history
Vietnamese
Spoken
38
72
Daemonorops loheriana là loài thực vật có hoa thuộc họ Arecaceae. Loài này được Becc. mô tả khoa học đầu tiên năm 1909. Tham khảo Liên kết ngoài Chi Mây đang Thực vật được mô tả năm 1909
46,487
https://pl.wikipedia.org/wiki/Rebel%20Yell
Wikipedia
Open Web
CC-By-SA
2,023
Rebel Yell
https://pl.wikipedia.org/w/index.php?title=Rebel Yell&action=history
Polish
Spoken
295
724
Rebel Yell – drugi album brytyjskiego artysty rockowego Billy’ego Idola, wydany w 1983 roku. Do utworów „Eyes Without a Face” oraz „Flesh for Fantasy” zostały stworzone teledyski emitowane później w MTV. W pracy nad albumem brali udział Steve Stevens i Keith Forsey, współpracujący wcześniej z Idolem nad jego debiutanckim solowym albumem. W roku 1999 wydawnictwo EMI ponownie wydało album z kilkoma dodatkowymi utworami. Lista utworów Pierwsze wydanie „Rebel Yell” (Idol/Stevens) – 4:45 „Daytime Drama” (Idol/Stevens) – 4:02 „Eyes Without a Face” (Idol/Stevens) – 4:58 „Blue Highway” (Idol/Stevens) – 5:05 „Flesh for Fantasy” (Idol/Stevens) – 4:37 „Catch My Fall” (Idol) – 3:57 „Crank Call” (Idol/Stevens) – 3:56 „(Do Not) Stand in the Shadows” (Idol/Stevens) – 3:10 „The Dead Next Door” (Idol/Stevens) – 3:45 Dodatkowe utwory na wydaniu z 1999 roku „Rebel Yell” (Session Take) – 5:27 „Motorbikin'” (Session Take) – 4:16 „Catch My Fall” (Original Demo) – 4:11 „Flesh For Fantasy” (Session Take) – 5:09 „Blue Highway” (Original Demo) – 5:00 Single „Rebel Yell” „Eyes Without a Face” „Flesh for Fantasy” „Rebel Yell (re-release)” „Catch My Fall” Twórcy Billy Idol – wokal, gitara, aranżacja, teksty Steve Stevens – instrumenty klawiszowe, bas, gitara, aranżacja Keith Forsey – produkcja Sal Cuevas – gitara basowa Judi Dozier – instrumenty klawiszowe Michael Frondelli – obsługa techniczna, miksowanie Gregg Gerson – perkusja Brian Griffin – fotografie Gary Hellman – obsługa techniczna Perri Lister – wokal Michael MacNeil – projekt okładki George Marino – mastering Thommy Price – perkusja Steve Rinkoff – obsługa techniczna Jack Waldman – instrumenty klawiszowe Steve Webster – bas Mars Williams – saksofon Dave Wittman – obsługa techniczna, miksowanie Pete Thea – obsługa techniczna Kevin Flaherty – kompilacja Stephanie Tudor – koordynacja produkcji Linki zewnętrzne Okładka Albumy Billy’ego Idola Albumy muzyczne wydane w roku 1983 Albumy Chrysalis Records
8,600
https://fr.wikipedia.org/wiki/S%C3%A1muel%20J%C3%B3sika%20%28homme%20politique%29
Wikipedia
Open Web
CC-By-SA
2,023
Sámuel Jósika (homme politique)
https://fr.wikipedia.org/w/index.php?title=Sámuel Jósika (homme politique)&action=history
French
Spoken
444
703
Baron Sámuel Jósika von Branyicska (-) est un homme politique hongrois qui est Ministre des Affaires étrangères de Hongrie de 1895 à 1898. Il est également de la Chambre des Magnats de 1912 à 1917. Biographie Sámuel Jósika nait à Salzbourg du baron et de la comtesse Adél Bethlen. Il fait donc partie de la famille Jósika de Branyicska, famille noble hongroise ayant fourni de nombreux hommes politiques à la Hongrie. Il étudie à Nagyszeben (Sibiu en roumain) puis à Paris et enfin au Stonyhurst College en Angleterre. Il étudie ensuite le droit à Pozsony (Bratislava en slovaque) en 1867-68 puis à Kolozsvár (Cluj en roumain). À la fin de ses études, il rentre à son domaine familial de Transylvanie pour le gérer. En 1870, il devient notaire honoraire du comitat de Hunyad puis de celui de Kolozs. Il participe alors aux vies politiques, économiques et religieuses de la Transylvanie. En 1879, il est élu vice-président de l’. Le , il est nommé főispán du comitat de Kolozs. En septembre de la même année, il devient vice-président du conseil d’administration du . En 1887, il est nommé chambellan impérial et royal puis est décoré de l’Ordre impérial de Léopold en tant que chevalier en 1888. La même année, il démissionne de son poste de notaire honoraire pour être élu de la circonscription de Kolozsvár à la chambre des magnats dont il devient membre à vie. Le , il devient secrétaire d’État à l'Intérieur mais démissionne en pour voter les propositions de séparation de l’Église et de l'État et notamment le mariage civil obligatoire. Il subit des attaques de l’Église du fait de ce vote mais la maison régnante continue de lui faire confiance et, le , il devient Ministre auprès de la personne du roi dans le de Dezső Bánffy. En 1910, il est élu vice-président de la chambre des magnats. Le , il en devient le président. Il le restera jusqu’au . En 1916, le roi Charles IV lui décerne l’Ordre de la Toison d'or. À côté de sa carrière politique, Sámuel Jósika a été un collaborateur régulier du (le Fermier de Transylvanie), un journal édité à Kolozsvár/Cluj. En 1919, il se retire dans son domaine qui, depuis le traité de Trianon, est situé en Roumanie. Il participe alors à la vie politique roumaine en présidant le Parti magyar de la création du parti le jusqu’à son décès le . Voir aussi Articles connexes Ministre des Affaires étrangères (Hongrie) Liens externes Personnalité politique hongroise Naissance en août 1848 Décès en juin 1923 Décès à 74 ans Ministre hongrois des Affaires étrangères Président de la Chambre des Magnats Naissance à Salzbourg Décès à Cluj-Napoca
33,500
https://stackoverflow.com/questions/58120786
StackExchange
Open Web
CC-By-SA
2,019
Stack Exchange
Andreas, Dan Harms, DroidT, https://stackoverflow.com/users/1196031, https://stackoverflow.com/users/3166846, https://stackoverflow.com/users/5221149
English
Spoken
347
632
StringIndexOutOfBoundsException after formatting BigDecimal We are getting the following error while attempting to retrieve the dollar amount without the cents: Caused by java.lang.StringIndexOutOfBoundsException length=6; regionStart=0; regionLength=-1 Here is the code: public static String findDollarAmount(@Nullable BigDecimal fullAmount) { if (fullAmount == null || fullAmount.compareTo(BigDecimal.ZERO) == 0) { return "0"; } DecimalFormat df = new DecimalFormat("#,##0.00;-#,##0.00"); //This value is returned as some string value that doesn't contain a '.' String amountStr = df.format(fullAmount); //The crash happens on this line return amountStr.substring(0, amountStr.indexOf('.')); } We are not able to print out the values in production and we aren't able to recreated this scenario during testing. Any help would be greatly appreciated. The question I have is: why not format to what you need instead of taking a substring? It can be your application Locale. If the application's Locale has as its currency representation the decimal separator "," as in PT-BR (R$ 1.000,00) will cause exception when performing. Another hand, sample , the Locale being set to US Locale.setDefault(Locale.US) will have decimal separator "." like $1,000.00 and no problem. Thank you. We do use different Locales in the app. I'll check this out. maybe your format is wrong, in a simulation it seems to return something like "10,00" and you are instead trying to find a dot ".". Check it out by inserting a System.out.println(amountStr); just before the second return and you will be able to see what's the String's formatting. Just like this: 10,00 Exception in thread "main" java.lang.StringIndexOutOfBoundsException: begin 0, end -1, length 5 Although true, it doesn't explain why the decimal point is a , comma, not a . period, since the format string has . period. (already answered) Could be related to this fact about the Java .substring method: The substring begins at the specified beginIndex and extends to the character at index endIndex – 1 Found here Based off of this, you may need to do something like... return amountStr.substring(0, amountStr.indexOf('.') - 1); The problem is that indexOf returned -1, and substring(0, -1) is invalid. Subtracting 1 doesn't fix anything, because substring(0, -2) is also invalid.
11,824
https://stackoverflow.com/questions/12938877
StackExchange
Open Web
CC-By-SA
2,012
Stack Exchange
English
Spoken
349
752
How to convert a PHP array to a specific Javascript format I know this must be very basic but I really don't know how to solve this. I want to turn a php array to the following notation to be used inside a javascript script. These are countries which are passed to the js script in the initialization. Source notation (PHP) array(3) { [0]=> array(1) { ["code"]=> string(2) "AR" } [1]=> array(1) { ["code"]=> string(2) "CO" } [2]=> array(1) { ["code"]=> string(2) "BR" } } Desired outcome (JS) [ "AR", "FK","CO", "BO", "BR", "CL", "CR", "EC", "GT", "HN", "LT", "MX", "PA", "PY", "PE", "ZA", "UY", "VE"] I can reformat the origin PHP array as desired, what I need to know is how to format it to get the desired outcome. I am using the following code to pass the array to js: echo "<script>var codes = " . json_encode($codes) . ";</script>"; Looks like the following would work for you: <?php $arr[0]['code'] = 'AR'; $arr[1]['code'] = 'CO'; $arr[2]['code'] = 'BR'; print_r($arr); function extract_codes($var) { return $var['code']; } print_r(array_map('extract_codes', $arr)); echo json_encode(array_map('extract_codes', $arr)); ?> Output: Array ( [0] => Array ( [code] => AR ) [1] => Array ( [code] => CO ) [2] => Array ( [code] => BR ) ) Array ( [0] => AR [1] => CO [2] => BR ) ["AR","CO","BR"] It works by mapping each of the two-letter codes down to a normal one-dimensional array, then passing it to json_encode. Going with array_reduce: $output = array_reduce($array, function($result, $item){ $result[] = $item['code']; return $result; }, array()); echo json_encode($output); You need to loop through your PHP associative array and set the appropriate variables. Like this: $item = ''; // Prevent empty variable warning foreach ($php_array as $key => $value){ if (isset($key) && isset($value)) { // Check to see if the values are set if ($key == "code"){ $item .= "'".$value."',"; } // Set the correct variable & structure the items } } $output = substr($item,'',-1); // Remove the last character (comma) $js_array = "[".$output."]"; // Embed the output in the js array $code = $js_array; //The final product
4,325
https://stackoverflow.com/questions/59755647
StackExchange
Open Web
CC-By-SA
2,020
Stack Exchange
Alex Howansky, DontStopLearn, Greg Schmidt, Salines, https://stackoverflow.com/users/1127933, https://stackoverflow.com/users/12637149, https://stackoverflow.com/users/453002, https://stackoverflow.com/users/4987673
English
Spoken
382
844
How to set a non working timezone in Cake Hi so I'm trying to change the timezone in my project but, it doesn't seem to be working. I've tried this code and left the timezone => 'UTC' in the app.php: date_default_timezone_set(Configure::read('Europe/Paris')); And having this error: Notice: date_default_timezone_set(): Timezone ID '' is invalid in.... EDIT 1: app.php: 'App' => [ 'namespace' => 'App', 'encoding' => env('APP_ENCODING', 'UTF-8'), 'defaultLocale' => env('APP_DEFAULT_LOCALE', 'en_US'), 'defaultTimezone' => env('APP_DEFAULT_TIMEZONE', 'Europe/Paris'), bootstrap.php: date_default_timezone_set(Configure::read('App.defaultTimezone')); This would suggest that Configure::read('Europe/Dublin') is returning an empty string. I imagine you want something more like Configure::read('timezone') instead. @AlexHowansky but I need to change the time since by default is wrong in my chase.. Configure::read($key) presumably returns the configuration value associated with the key $key. Your config file doesn't have a key named Europe/Dublin. You need to either use the correct key and set its value to Europe/Dublin, or hardcode date_default_timezone_set('Europe/Dublin'). The former would be preferred. I.e., why would you leave timezone => 'UTC' in the config and then try to change it to something else later? Just change it to timezone => 'Europe/Dublin'. @AlexHowansky because when declaring timezone => 'Europe/Paris' it's giving me an error: General error: 1298 Unknown or incorrect time zone: 'Europe/Paris'' That error is coming from your database, not from PHP. See this question. @AlexHowansky in the database (phpmyadmin) the time is in the correct format.. If you run SET time_zone = 'Europe/Paris'; in phpmyadmin, does it work? @GregSchmidt Nope, it results in Unknown or incorrect time zone. In phpmyadmin the timezone is good, the only problem is with the Cake If that statement fails when run in phpmyadmin, then the problem is not with Cake, but with your MySQL installation. Check this. Got to config/app.php and edit /change defaultTimezone: 'App' => [ 'namespace' => 'App', 'encoding' => env('APP_ENCODING', 'UTF-8'), 'defaultLocale' => env('APP_DEFAULT_LOCALE', 'en_US'), 'defaultTimezone' => env('APP_DEFAULT_TIMEZONE', 'Europe/Berlin'), // <---- set your and config/bootstrap.php date_default_timezone_set(Configure::read('App.defaultTimezone')); Doesn't work for me, still with the same error: General error: 1298 Unknown or incorrect time zone: 'Europe/Paris' postin in question part of your app.php like mine, also date_default_timezone_set Server, php version ?? I've tried this code and left the timezone => 'UTC' in the app.php: ???? No, I changed everything but as I said it gave me that error. I'm using CakePHP 3.8 with phpmyadmin
38,676
https://ru.stackoverflow.com/questions/1439344
StackExchange
Open Web
CC-By-SA
2,022
Stack Exchange
MBo, Mister_Jesus, NoSkill, https://ru.stackoverflow.com/users/238395, https://ru.stackoverflow.com/users/291659, https://ru.stackoverflow.com/users/392917
Russian
Spoken
459
1,219
Использование WM_COPYDATA только между процессами одного и того-же приложения Я изучаю программирование под Win32. Хочу написать приложение которое может обмениваться сообщениями WM_COPYDATA между собственными экземплярами. Ниже приведен примерный код, как это делается исходя из многочисленных примеров. Объявляем комманды: enum COMMANDS { COMMAND1, COMMAND2, COMMAND3 }; Посылаем команду: HWND hWnd = FindWindow(...); if (hWnd != NULL) { COPYDATASTRUCT cds = {0}; cds.dwData = COMMAND1; SendMessage(hWnd, WM_COPYDATA, (WPARAM)hwnd, (LPARAM)(LPVOID)&cds); CloseHandle(hWnd); } Обрабатываем команды: LRESULT Wndproc(HWND hWnd, UINT uMsg, WPARAM WPARAM wParam, LPARAM lParam) { switch (uMsg) { ... case WM_COPYDATA: COPYDATASTRUCT* pcds = (COPYDATASTRUCT*)lParam; switch (pcds->dwData) { case COMMAND1: ... ; break; case COMMAND2: ... ; break; case COMMAND3: ... ; break; } return TRUE; ... } return FALSE; } Однако есть один вопрос. На этапе посылки команды другому экземпляру приложения требуется знать HANDLE его окна. Для нахождения его в примерах используется функция FindWindow. Но как я понимаю, этот вариант не гарантирует уникальности. В связи с этим у меня несколько вопросов: Правильно ли я понимаю, что теоретически, в системе могут существовать окна сторонних приложений с тем же классом и именем, если другой разработчик использовал схожие имена. И в таком случае FindWindow теоретически может вернуть описатели окон сторонних праложений и WM_COPYDATA отправится к сторонним приложениям. Конечно я понимаю, что вероятность не велика, но теоретически это же может приводить к сбоям, если и стороннее ОДНОИМЕННОЕ приложение как-то обрабатывает сообщения WM_COPYDATA. Каким образом можно сделать, чтобы приложение находило только свои собстенные экземпляры запущенные в системе и гарарнтированно посылало сообщение WM_COPYDATA лишь только им. Ввести протокол опознавания свой-чужой - например, послать запрос "?" и ожидать ответа "!". Так вопрос в том как именно это сделать? Я не хочу, чтобы сторонние приложения вообще каким то образом получали любые сообщения из моего приложения. Нужно идентифицировать только группу запущенных процессов моего приложения и отослать сообщение только им. А то, что должен быть некий протокол это я и сам знаю. ОК. Тогда вы можете создать скрытое окно для приёма сообщений, назначив ему имя на основe предварительно сгенерированного GUID. Этот гуид - практически точно ваш и не повторится. Не уверен, что это универсальное решение. А если приложение вообще без окон? вы же wm_copydata посылаете окну. Даже в консольном приложении можно завести скрытое окно.Однако способов IPC немало - вы можете использовать MMF, пайпы, сокеты - но во всех случаях нужна некая идентификация. В общем-то, GUID и придумали, чтобы был универсальный метод получения уникальной комбинации. WM_COPYDATA на мой взгляд не лучшее решение для IPC. Я не нашел как отвечает RegisterClass при вводе существующего названия, но скорее всего он вернет ошибку. Но также я уверен, что можно создать много окон с одним и тем же классом и именем. Выше правильно написали, либо GUID использовать, либо людой другой способ коммуникации. Т.е. при использовании своего FindWindow по классу вы всегда будете получать только свои окна.
6,980
https://ceb.wikipedia.org/wiki/Tin%20Cup%20Creek%20%28suba%20sa%20Tinipong%20Bansa%2C%20Montana%2C%20Ravalli%20County%29
Wikipedia
Open Web
CC-By-SA
2,023
Tin Cup Creek (suba sa Tinipong Bansa, Montana, Ravalli County)
https://ceb.wikipedia.org/w/index.php?title=Tin Cup Creek (suba sa Tinipong Bansa, Montana, Ravalli County)&action=history
Cebuano
Spoken
79
112
Alang sa ubang mga dapit sa mao gihapon nga ngalan, tan-awa ang Tin Cup Creek. Suba ang Tin Cup Creek sa Tinipong Bansa. Nahimutang ni sa kondado sa Ravalli County ug estado sa Montana, sa sentro nga bahin sa nasod, km sa kasadpan sa Washington, D.C. Ang Tin Cup Creek mao ang bahin sa tubig-saluran sa Columbia River ang ulohan sa nasod. Ang mga gi basihan niini Columbia River (suba sa Tinipong Bansa) tubig-saluran Mga suba sa Montana (estado)
38,514
https://stackoverflow.com/questions/62244113
StackExchange
Open Web
CC-By-SA
2,020
Stack Exchange
BambinoUA, Lambda Fairy, Maadhav Sharma, Mayur Agarwal, Rody Davis, Subair K, https://stackoverflow.com/users/13829291, https://stackoverflow.com/users/1798328, https://stackoverflow.com/users/617159, https://stackoverflow.com/users/6484719, https://stackoverflow.com/users/7260220, https://stackoverflow.com/users/7303311, https://stackoverflow.com/users/9558020, nathanfranke
English
Spoken
972
2,591
Can I change right click action in flutter web application? Like Google Drive, can I create custom menu in Flutter Web application?. There is an open GitHub issue to add that. So I don't think there's an easy way right now. GestureDetector's onSecondaryTapUp event works as long as document.onContextMenu.listen((event) => event.preventDefault()); is run. Below the instruction how to implement working context menu called via mouse right button in flutter web app: import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart'; import 'package:universal_html/html.dart'; void main() => runApp(MyApp()); class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( home: MyHomePage(), ); } } class MyHomePage extends StatefulWidget { @override _MyHomePageState createState() => _MyHomePageState(); } class _MyHomePageState extends State<MyHomePage> { @override void initState() { super.initState(); // Prevent default event handler document.onContextMenu.listen((event) => event.preventDefault()); } @override Widget build(BuildContext context) { return Scaffold( resizeToAvoidBottomInset: false, body: Center( child: Listener( child: Icon( Icons.ac_unit, size: 48.0, ), onPointerDown: _onPointerDown, ), ), ); } /// Callback when mouse clicked on `Listener` wrapped widget. Future<void> _onPointerDown(PointerDownEvent event) async { // Check if right mouse button clicked if (event.kind == PointerDeviceKind.mouse && event.buttons == kSecondaryMouseButton) { final overlay = Overlay.of(context).context.findRenderObject() as RenderBox; final menuItem = await showMenu<int>( context: context, items: [ PopupMenuItem(child: Text('Copy'), value: 1), PopupMenuItem(child: Text('Cut'), value: 2), ], position: RelativeRect.fromSize( event.position & Size(48.0, 48.0), overlay.size)); // Check if menu item clicked switch (menuItem) { case 1: ScaffoldMessenger.of(context).showSnackBar(SnackBar( content: Text('Copy clicked'), behavior: SnackBarBehavior.floating, )); break; case 2: ScaffoldMessenger.of(context).showSnackBar(SnackBar( content: Text('Cut clicked'), behavior: SnackBarBehavior.floating)); break; default: } } } } The only thing is to do is correct positioning of left top corner of context menu. Can you share a full example? There are some errors with this code But with this solution, we'll surely face problem while changing the screen size of the browser. The menu will be not be at it's correct position. How can we avoid that ? @MayurAgarwal, did you test? I replaced Center with Container(align: Alignment.bottomRight) and it looks fine. Prevent default contextmenu Add an oncontextmenu attribute to <html> tag in web/index.html: <!DOCTYPE html> <html oncontextmenu="event.preventDefault();"> <head> ... See also: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes#event_handler_attributes This has the same effect as https://stackoverflow.com/a/64779321/16613821 (window.document is just the <html> tag), but without triggering "Avoid using web-only libraries outside Flutter web plugin packages." warning or using universal_html package. NOTE: Hot reload won't work for this kind of change, but you can simply refresh(F5) browser. Add your custom contextmenu https://github.com/flutter/flutter/pull/74286 doesn't work well for your usecase This should show up by default on desktop, but only when right clicking on EditableText-based widgets. Right clicking elsewhere does nothing, for now. This is also purposely not customizable or reusable for now. It was a temporary solution that we plan to expand on. In general, you can use GestureDetector.onSecondaryTap to detect user's right click. Until the open issue is resolved, you can do the following in your main(): import 'dart:html'; void main() { window.document.onContextMenu.listen((evt) => evt.preventDefault()); // ... } Thanks. Now, I could disable right click. How can I customize with custom menu on right click? Here is the open issue for it: https://github.com/flutter/flutter/issues/31955 You can disable it for a webpage like this: How do I disable right click on my web page? You can also listen for Pointer Signal events and render the popup in Flutter: https://medium.com/@crizantlai/flutter-handling-mouse-events-241108731537 Basically on web for example you would disable the default context menu, and show an Overlay in flutter when you receive the right click pointer signal. You can use this class: https://api.flutter.dev/flutter/gestures/PointerSignalEvent-class.html And use this widget Listener to have the callback onPointerSignal: https://api.flutter.dev/flutter/widgets/Listener-class.html Thanks doe the info, could u pls send a small example in which something gets printed if the use right clicks? Thanks for the inspiration BambinoUA. I decided to make my own cross platform class for this. Works on iOS/Android/Web/Windows/Mac & Linux. Tested. import 'package:bap/components/splash_effect.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart'; import 'package:universal_html/html.dart' as html; class CrossPlatformClick extends StatefulWidget { final Widget child; /** * Normal touch, tap, right click for platforms. */ final Function()? onNormalTap; /** * A list of menu items for right click or long press. */ final List<PopupMenuEntry<String>>? menuItems; final Function(String? itemValue)? onMenuItemTapped; const CrossPlatformClick({Key? key, required this.child, this.menuItems, this.onNormalTap, this.onMenuItemTapped}) : super(key: key); @override State<CrossPlatformClick> createState() => _CrossPlatformClickState(); } class _CrossPlatformClickState extends State<CrossPlatformClick> { /** * We record this so that we can use long-press and location. */ PointerDownEvent? _lastEvent; @override Widget build(BuildContext context) { final listener = Listener( child: widget.child, onPointerDown: (event) => _onPointerDown(context, event), ); return SplashEffect( isDisabled: widget.onNormalTap == null, borderRadius: BorderRadius.zero, onTap: widget.onNormalTap!, child: listener, onLongPress: () { if (_lastEvent != null) { _openMenu(context, _lastEvent!); return; } if (kDebugMode) { print("Last event was null, cannot open menu"); } }, ); } @override void initState() { super.initState(); html.document.onContextMenu.listen((event) => event.preventDefault()); } /// Callback when mouse clicked on `Listener` wrapped widget. Future<void> _onPointerDown(BuildContext context, PointerDownEvent event) async { _lastEvent = event; if (widget.menuItems == null) { return; } // Check if right mouse button clicked if (event.kind == PointerDeviceKind.mouse && event.buttons == kSecondaryMouseButton) { return await _openMenu(context, event); } } _openMenu(BuildContext context, PointerDownEvent event) async { final overlay = Overlay.of(context)!.context.findRenderObject() as RenderBox; final menuItem = await showMenu<String>( context: context, items: widget.menuItems ?? [], position: RelativeRect.fromSize(event.position & Size(48.0, 48.0), overlay.size), ); widget.onMenuItemTapped!(menuItem); } } The class for standard splash effect touches import 'package:flutter/material.dart'; class SplashEffect extends StatelessWidget { final Widget child; final Function() onTap; final Function()? onLongPress; final BorderRadius? borderRadius; final bool isDisabled; const SplashEffect({ Key? key, required this.child, required this.onTap, this.isDisabled = false, this.onLongPress, this.borderRadius = const BorderRadius.all(Radius.circular(6)), }) : super(key: key); @override Widget build(BuildContext context) { if (isDisabled) { return child; } return Material( type: MaterialType.transparency, child: InkWell( borderRadius: borderRadius, child: child, onTap: onTap, onLongPress: onLongPress, ), ); } } And how to use it: return CrossPlatformClick( onNormalTap: onTapped, menuItems: [ PopupMenuItem(child: Text('Copy Name', style: TextStyle(fontSize: 16)), value: "copied"), ], onMenuItemTapped: (item) { print("item tapped: " + (item ?? "-no-item")); }, child:
7,770
https://stackoverflow.com/questions/58124946
StackExchange
Open Web
CC-By-SA
2,019
Stack Exchange
English
Spoken
338
906
how do I integrate Tinymce 4 with kcfinder? I cannot integrate tinymce editor with kcfinder web file manager. Editor loads fine, and I can upload, browse and rename images from kcfinder. But when I want to select image nothing happens, url is not set on field. I cannot select image. There are not errors on console log. Editor: Nothing happens when I select image: Versions Tinymce 4.9.6 Kcfinder 3.12 HTML code <!doctype html> <html lang='es' > <head> <meta charset="utf-8"> <script src="./js/tinymce/tinymce.min.js"></script> <script src="./js/default_tinymce.js"></script> </head> <body> <form method="post" action="content-edit.php"> <textarea name="content" class="tinymce"></textarea><br> <input type="submit"> </form> </body> </html> javascript js/default_tiymce.js tinymce.init({ selector:'.tinymce', convert_urls: false, // default 1 remove_script_host: false, // default 1 browser_spellcheck: true, plugins: [ "advlist autolink lists link image charmap print preview anchor", "searchreplace visualblocks code fullscreen", "insertdatetime media table contextmenu paste", "emoticons template paste textcolor colorpicker textpattern imagetools" ], file_picker_callback: function(field, url, type, win) { tinyMCE.activeEditor.windowManager.open({ file: './kcfinder/browse.php?opener=tinymce&field=' + field + '&type=' + type, title: 'Kcfinder', width: 700, height: 500, inline: true, close_previous: false }, { window: win, input: field }); return false; }, toolbar: "insertfile undo redo | styleselect | forecolor backcolor emoticons | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image ", paste_data_images: true }); Expected result: when double click on image it should be selected and populate field with image url. Actual result: nothing happens when image is double clicked. Help Please!!! OK, finally I found solution I replaced tinymce integration code by javascript js/default_tiymce.js this:tinymce.init( { selector:'textarea', menubar: false, plugins: [ "advlist autolink lists link image charmap print preview anchor", "searchreplace visualblocks code fullscreen", "insertdatetime media table contextmenu paste" ], toolbar: "undo redo | insert | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image ", file_browser_callback: function(field, url, type, win) { tinyMCE.activeEditor.windowManager.open({ file: './kcfinder/browse.php?opener=tinymce4&field=' + field + '&type=' + type, title: 'KCFinder', width: 700, height: 500, inline: true, close_previous: false }, { window: win, input: field }); return false; } }); Hope it can help someone else
2,064
https://sv.wikipedia.org/wiki/Svenska%20Fotobokspriset
Wikipedia
Open Web
CC-By-SA
2,023
Svenska Fotobokspriset
https://sv.wikipedia.org/w/index.php?title=Svenska Fotobokspriset&action=history
Swedish
Spoken
721
1,549
Svenska Fotobokspriset (tidigare Bästa Fotobok) är ett pris som instiftades 1996 och delas ut av Fotoförfattarna inom Svenska Fotografers Förbund. Vinnande fotograf tilldelas 40 000 svenska kronor. De nominerade får 10 000 kronor vardera. Ny jury utses varje år. 2021 fyllde priset 25 år och delades ut till tre fotografer som fick 40 000 kronor vardera, inga böcker nominerades 2021. Pristagare 1996 – Anders Petersen för Ingen har sett allt; förlag: Legus; text av Göran Odbratt; form: Greger Ulf Nilson och Fredrik Preisler 1997 – Lars Sundh för Ajax & Kingston; förlag: Koala Press; form: Lars Sundh 1998 – Jan Henrik Engström för Härbärge; Bokförlaget DN; text av Robert Frank, översatt av Einar Heckscher; form: Lars Pedersen 1999 – Kent Klich för El Niño. En berättelse om gatubarn i Mexico; förlag: Journal; text av Elena Poniatowska, översatt av Eva Sjöblom; form: Tina Enghoff 2000 – Per Skoglund för Stockholms Satelliter; Byggförlaget; text av Jerker Söderlind i samarbete med Per Skoglund; form: Nina Ulmaja 2001 – Ewa Stackelberg för Berättelse för levande; förlag: Journal; text av John Berger, översatt av Einar Heckscher; form: Christer Jonson 2002 – Bertil Quirin för Bohuslän i svartvitt. Fotografier och berättelser från det gångna seklet; Quirin Förlag; text och form: Bertil Quirin 2003 – Anders Krisár för Chords No. 1-17; förlag: Journal; form: Greger Ulf Nilson 2004 – Nina Korhonen för Anna, Amerikan mummu; förlag: Journal; text: Nina Korhonen; översättning till engelska: Aisling O'Neill, översättning till franska: Gunilla de Ribaucourt; form: Nina Korhonen, Patric Leo 2005 – Lennart af Petersens och Åke Hedström för Ljuset och rummet; förlag Wahlström och Widstrand; text av Jesper Svenbro form: Christer Strandberg 2006 – Anna Clarén för Holding; förlag: Journal; form: Anna Clarén, Ola Carlson 2007 – Sune Jonsson för Och tiden blir ett förunderligt ting; förlag: Acta Botniensia Occidentalis; text av Gunnar Balgård; bildkommentarer av Per-Uno Ågren; form: Göran Carlsson 2008 – Trinidad Carillo för Naini and the Sea of Wolves; förlag: Farewell Books; text av Sara Hallström 2009 – Kent Klich för Picture Imperfect; förlag: Journal; texter av Fred Ritchin, Kim Fupz Aakeson; översättning till engelska: Einar Heckscher, Sören Holm; översättning till svenska: Ulrika Jakobsson, Gösta Flemming, Einar Heckscher; form: : Tina Enghoff; filmen Beth´s Diary av Beth R, Mikkala Krogh och Kent Klich följer med boken 2010 – Hannah Modigh för Hillbilly Heroin, Honey; förlag: Journal; texter till Coal tattoo: Billy Edd Wheeler, Words West LLC, Sony/ATV Music; form: Johan Lindberg/John the Fisherman, Hannah Modigh 2011 – Maria Miesenberger för Sverige/Schweden; förlag: Steidl; text av Elfriede Jelinek, Jan-Erik Lundström; form: Greger Ulf Nilson, Björn Kusoffsky 2012 – Inka Lindergård och Niclas Holmström för Watching Humans Watching; förlag: Kehrer; texter av Alexxa Gotthardt, Jonas Larsen, Dr. Matthias Harder, Camilla Årlin, översättning av Helen Carter; form: H-T Nilsson & Rasmus Svensson 2013 – Björn Larsson för Brandplats 3; förlag: Dokument Press; översättning av nyhets- och myndighetstexter: Marianne Clark; form: Sebastian Wadsted 2014 – Anna Strand för Nagoya Notebook; förlag: Sailor Press; text: Anna Strand; översättning till japanska: Miho Hellén-Halme; form: Matilda Plöjel 2016 – Martina Hoogland Ivanow för Satellite + Circular Wait + Second Nature; förlag: Livraison Books och Art and Theory; form: Sandberg & Timonen 2017 – Kalle Assbring för Fadern, Sonen och Göran; förlag: Dokument Press; text av Kalle Assbring, översättning av Jan Salomonsson handskrift av Medhanie Gebregziabher; form: Sebastian Wadsted 2018 – Jenny Rova för Älskling – A self-portrait through the eyes of my lovers; förlag: b.frank books; form: Alexandra Bruns 2019 – Mikael Jansson för Witnesses. Överlevande från Förintelsen; förlag: Bonniers; form: Greger Ulf Nilson 2020 – Maja Daniels för Elf Dalia; förlag: Mack Books; text av Andrea Lundgren; översättning till älvdalska av Inga-Britt Petersson; form: Maja Daniels, Leo Favier 2021 – priset delades ut till tre fotografer: Xenia Nikolskaya för The House My Grandfather Built; förlag: Nikolskaya-Lund; form: Amparo Baquerizas; text: Xenia Nikolskaya Martin Bogren för Hollow; förlag: Adamanthea Publishing; form: Laure Gilquin; text: Caroline Bénichou Nadja Bournonville för A worm crossed the street; förlag: Fotohof edition; form: Joachim Bartsch; text: dikten Alfabet av Inger Christensen 2022 - Erik Berglin för The Bird Project 2006-2017; förlag: LL’Editions; form: Lundgren+Lindqvist 2023 - Cato Lein för Northern Silence; förlag: André Frère Éditions; form: João Lineu och Fernanda Fajardo; text av Sophie Allgårdh Fotnoter Externa länkar Webbplats för Svenska fotobokspriset Svenska litteraturpriser Fotopriser Priser och utmärkelser instiftade 1996
42,045
https://bar.wikipedia.org/wiki/38%20v.%20Kr.
Wikipedia
Open Web
CC-By-SA
2,023
38 v. Kr.
https://bar.wikipedia.org/w/index.php?title=38 v. Kr.&action=history
Bavarian
Spoken
58
134
Des is a Iwablick iwas Joar 38 v. Kr.. Kuitua Auf da iberischen Hoibinsl fongt de Zeidrechnung da Era o. af d Wäid kema 14. Jenna: Nero Claudius Drusus († 9 v. Kr.) Lucius Volusius Saturninus, remischa Politika († 56 n. Kr.) Gstoam Orodes II., parthisch Kini um 38 v. Kr.: Iulia, Muada vom Marcus Antonius Im Netz
42,843
https://stackoverflow.com/questions/73465705
StackExchange
Open Web
CC-By-SA
2,022
Stack Exchange
Jonas Wilms, Jünge alles, Suncatcher, https://stackoverflow.com/users/5260024, https://stackoverflow.com/users/911419, https://stackoverflow.com/users/9549767
English
Spoken
263
705
BTP - GET_USER_ALIAS returns empty value Hi I made my first Hello World in BTP and it didn't show my user alias... Why? CLASS zpo_hello_world DEFINITION PUBLIC FINAL CREATE PUBLIC. PUBLIC SECTION. INTERFACES if_oo_adt_classrun. PROTECTED SECTION. PRIVATE SECTION. ENDCLASS. CLASS zpo_hello_world IMPLEMENTATION. METHOD if_oo_adt_classrun~main. out->write( |Hello World ! ({ cl_abap_context_info=>get_user_alias( ) })| ). ENDMETHOD. ENDCLASS. do your user have an alias? have a look in su01 There should be a fiori application maintain business users for maintaining users in an ABAP cloud system, including setting the users alias. do you run your console app in the productive BTP? Trial one does not support SU01 fiori tile Some of the methods in cl_abap_context_info can only be used in a cloud environment. cl_abap_context_info=> New Method Old Environemnt ET_SYSTEM_DATE SYST-DATUM GET_SYSTEM_TIME SYST-UZEIT GET_USER_TECHNICAL_NAME SYST-UNAME GET_USER_LANGUAGE_ABAP_FORMAT SYST-LANGU GET_USER_LANGUAGE_ISO_FORMAT ISO format for language GET_USER_TIME_ZONE SYST-TZONE GET_USER_ALIAS Alias of user master data (Cloud) GET_SYSTEM_URL URL of the system (Cloud) GET_USER_FORMATTED_NAME BAPI_USER_GET_DETAIL GET_USER_DESCRIPTION BAPI_USER_GET_DETAIL GET_USER_BUSINESS_PARTNER_ID Business-Partner-ID of the user (Cloud) (see here) Thus means if you run On-Premise those methods will not return any value as far as I know. But I just saw that you are using the BTP abap cloud example. I've also tested it here it seems that there no alias is set for the users. You can verify your user with the get_user_business_partner_id-method which is only valid in cloud. METHOD if_oo_adt_classrun~main. TRY. out->write( |Hello World { cl_abap_context_info=>get_user_business_partner_id( ) }| ). CATCH cx_abap_context_info_error. ENDTRY. ENDMETHOD. I'm not sure weather you can set a user alias with transaction SU1 due there is no SAP Gui support I guess.
30,613
https://serverfault.com/questions/437239
StackExchange
Open Web
CC-By-SA
2,012
Stack Exchange
8o8inCodes, Flo, Jerome Jaglale, Mike, Niharika Kejriwal, Progist Solutions, Remove and Haul Technologies, Spammer, Steve H, gks, https://serverfault.com/users/125706, https://serverfault.com/users/139584, https://serverfault.com/users/234052, https://serverfault.com/users/23818, https://serverfault.com/users/996163, https://serverfault.com/users/996164, https://serverfault.com/users/996165, https://serverfault.com/users/996166, https://serverfault.com/users/996167, https://serverfault.com/users/996168
English
Spoken
417
765
Run mysqld under a different user (linux) I've been trying to start mysqld under a different user as well as with a different data path. I've done so by modifing the my.cnf file as follows: [mysqld] datadir=/bob/database socket=/bob/database/mysql.sock user=bob # Disabling symbolic-links is recommended to prevent assorted security risks symbolic-links=0 [mysqld_safe] log-error=/bob/mysqld.log pid-file=/bob/mysqld.pid Whenever I try to start the mysql daemon by running service mysqld start two things happen I get the following error ERROR: 1005 Can't create table 'db' (errno: 13) 121010 13:39:46 [ERROR] Aborting 121010 13:39:46 [Note] /usr/libexec/mysqld: Shutdown complete The folder /bob/ and everything in it has mysql:mysql permissions which makes me think the user option in my.cnf did not work and because I run the service start command as root it can just chown the dir as mysql:mysql without running into any problems. At the same time when I run that command I get the following warning: 121010 13:39:46 [Warning] Ignoring user change to 'mysql' because the user was set to 'bob' earlier on the command line Any help would be greatly appreciated. ***UPDATE If instead of having the bob user, I put the mysql user and change the permissions of the bob folder to mysql everything works fine. So this is a problem with changing the user not a different data path. Make sure the /bob/ folder has the permissions to read and write @Stranger it does. Permissions are 777 for testing purposes. if you use centos/redhat it could be a selinux issue.. if you use ubuntu it might be apparmour. You may want to check init script, like /etc/init.d/mysqld or something like that, to see if it initialize mysql database with mysql user. Yes: in /etc/init.d/mysql, su - mysql -s /bin/bash -c "mysqld_safe > /dev/null &" should be changed to su - bob -s /bin/bash -c "mysqld_safe > /dev/null &" i think changing the user in the mysql-config has only effect when the mysqld is started during the boot process - see here I think what they were trying to say was that if you wanted mysqld to automatically run as that user on startup you would have to change the mysql-config file. Regardless if I restart it, mysql doesn't care if its during boot process or not, it will follow the same steps. As Jerome explained we have to change one more file etc/init.d/mysql su - mysql -s ... become su - bob -s ... but with Ubuntu 18.04 we also need to change this one... /etc/systemd/system/multi-user.target.wants/mysql.service user=mysql become user=bob
24,839
https://uk.wikipedia.org/wiki/%D0%9A%D0%BE%D0%BD%D1%81%D1%82%D0%B0%D0%BD%D1%82%D0%B8%D0%BD%D0%B0%20%28%D0%9B%D0%BE%D0%B4%D0%B7%D0%B8%D0%BD%D1%81%D1%8C%D0%BA%D0%B5%20%D0%B2%D0%BE%D1%94%D0%B2%D0%BE%D0%B4%D1%81%D1%82%D0%B2%D0%BE%29
Wikipedia
Open Web
CC-By-SA
2,023
Константина (Лодзинське воєводство)
https://uk.wikipedia.org/w/index.php?title=Константина (Лодзинське воєводство)&action=history
Ukrainian
Spoken
17
68
Константина () — село в Польщі, у гміні Жґув Лодзький-Східного повіту Лодзинського воєводства. Примітки Села Лодзького-Східного повіту
41,685
https://en.wikipedia.org/wiki/Cryptolectica%20euryphanta
Wikipedia
Open Web
CC-By-SA
2,023
Cryptolectica euryphanta
https://en.wikipedia.org/w/index.php?title=Cryptolectica euryphanta&action=history
English
Spoken
31
67
Cryptolectica euryphanta is a moth of the family Gracillariidae. It is known from Namibia, the Seychelles and South Africa. References Acrocercopinae Moths of Africa Insects of Namibia Moths described in 1911
38,796
https://an.wikipedia.org/wiki/Douglas%20MacArthur
Wikipedia
Open Web
CC-By-SA
2,023
Douglas MacArthur
https://an.wikipedia.org/w/index.php?title=Douglas MacArthur&action=history
Aragonese
Spoken
128
277
Douglas MacArthur, naixito de Little Rock (Arkansas) o 26 de chinero de 1880 y muerto o 5 d'abril de 1964 en Washington, DC, estió un militar estausunidense que partecipó con l'Exercito estausunidense en as prencipals guerras d'o suyo país mientres o sieglo XX dica la suya muerte, dende as intervencions estausunidenses en Mexico mientres la Revolución mexicana dica la Guerra de Corea, encluyindo-ie a Primera Guerra Mundial y a Segunda Guerra Mundial. En ista zaguera, MacArthur esdevenió uno d'os prencipals chefes militars d'os Aliatos en o Teatro d'operacions d'o Pacifico. Vinclos externos Militars d'Estaus Unius d'a Primera Guerra Mundial Militars d'Estaus Unius d'a Segunda Guerra Mundial Militars d'Estaus Unius d'a Guerra de Corea Militars condecoraus con a Medalla d'Honor Muertos en Washington Naixius d'Arkansas 1880 (naixencias) 1964 (muertes)
51,372
https://ru.wikipedia.org/wiki/%D0%A1%D0%B8%D0%B7%D1%91%D0%B2%D0%BE%20%28%D0%9A%D0%B8%D1%80%D0%BE%D0%B2%D1%81%D0%BA%D0%B0%D1%8F%20%D0%BE%D0%B1%D0%BB%D0%B0%D1%81%D1%82%D1%8C%29
Wikipedia
Open Web
CC-By-SA
2,023
Сизёво (Кировская область)
https://ru.wikipedia.org/w/index.php?title=Сизёво (Кировская область)&action=history
Russian
Spoken
97
213
Сизёво — деревня в Слободском районе Кировской области в составе Каринского сельского поселения. География Находится на расстоянии примерно 14 км по прямой на юго-восток от районного центра города Слободской. История Известно с 1678 года, когда здесь было учтено 9 дворов. В 1764 году отмечено 14 жителей. В 1873 году учтено дворов 21 и жителей 116, в 1905 41 и 336, в 1926 64 и 385 (382 удмурты), в 1950 59 и 241, в 1989 году оставалось 62 человека. Население Постоянное население составляло 35 человек (удмурты 100%) в 2002 году, 16 в 2010. Примечания Населённые пункты Слободского района
14,898
https://ca.wikipedia.org/wiki/Oculudentavis%20khaungraae
Wikipedia
Open Web
CC-By-SA
2,023
Oculudentavis khaungraae
https://ca.wikipedia.org/w/index.php?title=Oculudentavis khaungraae&action=history
Catalan
Spoken
349
735
Oculudentavis és un gènere extint de dinosaures avialats (aus en sentit ampli) amb una única espècie coneguda, Oculudentavis khaungraae. Descripció El gènere es coneix a partir d'un crani complet conservat en ambre birmà. El crani té només 1,4 cm de longitud i pesa uns 2 grams, cosa converteix l'Oculudentavis en el dinosaure mesozoic més petit conegut, de grandària pròxima als colibrís moderns. Tenia un musell esvelt i la part superior el crani bulbosa, a més d'una llarga fila de 23 dents. Presentava unes òrbites molt grans i amb un gruixut anell escleròtic format a partir d'ossicles escleròtics amb una forma inusual de cullera. Això indica que probablement es tractava d'un animal diürn, actiu principalment durant el dia. La posició dels ulls, que es trobaven a ambdós costats segons una jugal inclinada cap a fora (pòmul), indicava la manca de visió binocular. Tenia una dieta especialitzada en petits invertebrats gràcies a les seves afilades dents. L'Oculudentavis presentava un conjunt de trets primitius, així com trets avançats en comparació amb altres avialats mesozoics. Per exemple, conservava els ossos frontals, parietals, postorbitals i escatosos separats, que es fusionen o es perden en els ocells moderns. L'extensa fila de dents també s'assemblava als teròpodes no aviaris. D'altra banda, la finestra antorbitària estava en confluència amb l'òrbita, mentre que els ossos del musell eren allargats i fusionats; característiques més comunes en les aus modernes. Alguns trets, com la implantació de dents d'acrodont o pleurodont i els ossos escleròtics en forma de cullera no tenen precedents per als dinosaures en general i, en canvi, són habituals entre les sargantanes modernes. Filogènia Les especialitzacions provocades per la petita mida dOculudentavis comporten dificultats per treure conclusions precises sobre la seva classificació. Una anàlisi filogenètica proposa la inclusió del gènere Oculudentavis dins d'Avialae, només una mica més a prop de les aus modernes que lArchaeopteryx. Això suggereix que hi ha un llinatge fantasma de més de 50 milions d'anys entre el Juràssic superior i el Cretaci mitjà. Altres estudis suggereixen la inclusió dins el fílum Enantiornithes, com la resta d'ocells conservats a l'ambre birmà. Referències Dinosaures del Cretaci
33,799
https://physics.stackexchange.com/questions/324276
StackExchange
Open Web
CC-By-SA
2,017
Stack Exchange
Allure, InfiniteLooper, Kenshin, Kyle Kanos, SRS, Thriveth, https://physics.stackexchange.com/users/12350, https://physics.stackexchange.com/users/133525, https://physics.stackexchange.com/users/17556, https://physics.stackexchange.com/users/177855, https://physics.stackexchange.com/users/25301, https://physics.stackexchange.com/users/36793
English
Spoken
1,747
2,407
How did Hubble come to the conclusion that the Universe is expanding? Edited version From Hubble's measurement, the only thing that he can conclude, in my opinion, is that the galaxies move away from Earth with their speeds proportional to their distances from the Earth. But without making observations from other points in the Universe i.e. other galaxies, how did Hubble (or we) conclude that every galaxy recedes away from every other? Was it just based on the hypothesis that there is no center of the universe and hence, whatever observed from Earth is nothing special and will be the same for any other observer in any other galaxy? In short, doesn't the argument of expanding the Universe require both Hubble's measurement from earth + the fact that there is no preferred center? If we can map the position of two galaxies A and B moving away from us, can we not also see that A and B are moving away from each other? There is no center of the universe. @KyleKanos I think you're missing the point. Did Hubble need to invoke the assumption/fact that there was no centre of the universe, or was he able to directly observe that galaxies are moving away from each other too (not just from the Earth.) @kenshin: the phrase ...we are not in the center of the universe... suggests that OP believes that there is a center and that we are not located there, not that there is no center at all. It is important to clear up that at the onset, rather than let it dwell. @KyleKanos I know there is no centre of the Universe. Well. If it confuses you then I would like to phrase it as follows. Did Hubble need to invoke the hypothesis that there is no centre of the universe, and therefore, whatever is observed from Earth must also be true from any other point in the Universe? Does it make sense? It's not a hypothesis. @KyleKanos Why do you say that? After all, all observations by Hubble are made from Earth not from Jupiter or some other galaxy. Then how did he claim that objects will also recede in the same way as they do from Earth? I don't know whether I'm being able to convey my point. I say that the lack of a center of the universe isn't a hypothesis because it isn't a hypothesis (kinda of a tautological response). Also, on the scale of megaparsecs ($10^{22},{\rm m}$), what is a few million kilometers for the Earth-Jupiter distance? Jupiter is not the point. That was an arbitrary (poorly chosen) example of any other point of observation rather than Earth. My point is unless you measure from different points in the Universe how can you claim the universe is expanding? From the observations of Earth, I can equally say, it's not the expansion but simply the motion of galaxies away from Earth. Okay, using your lack of expansion as an assumption, explain why there is motion of galaxies away from earth. As an aside, have read Hubble's paper? No. I haven't read his original paper. Do you mean that since the velocities of the galaxies are not random but systematic (being proportional to the distance from the point of observation) it must be due to expansion? That one of the two conclusions Hubble arrives at: http://www.pnas.org/content/15/3/168.full.pdf @KyleKanos At the time, the Universe having no center pretty much was a hypothesis, wasn't it? Only a few years earlier, it was established that there even existed objects outside the Milky Way, and the Milky Way definitely does have a center. Also, do we have any solid evidence that the UNiverse has no center today, rather than just being very much larger than our horizon distance? There is a short answer involving Newtonian ideas and flat space, and a longer answer involving General Relativity. On a historical note, let's also recall that both Lemaitre and Hubble deserve mention when thinking about the early work here; Lemaitre first clearly enunciated the idea we now call Hubble's law, and estimated a value for the constant we now call Hubble's constant. Hubble contributed greatly to the experimental methods and observations and making the idea take hold. Now let's present the Newtonian argument. Suppose an observer at one place finds that galaxies are moving away from him with a velocity whose size is some sort of function of distance away, but we don't say what function yet. So we have $$ {\bf v} = v(r) \hat{\bf r} = \frac{v(r)}{r} {\bf r} $$ where $\bf r$ is the vector from the observer to the galaxy. In particular, for two galaxies A and B we get $$ {\bf v}_A = \frac{v(r_A)}{r_A} {\bf r}_A, \;\;\;\;\;\; {\bf v}_B = \frac{v(r_B)}{r_B} {\bf r}_B $$ It follows that the relative velocity of galaxy B with respect to galaxy A is $$ {\bf v}_B = \frac{v(r_B)}{r_B} {\bf r}_B - \frac{v(r_A)}{r_A} {\bf r}_A, $$ For most functions $v(r)$ this has no simple expression. But suppose the function is $$ v(r) = k r $$ for some constant $k$. In that case we find $$ {\bf v}_B = k {\bf r}_B - k{\bf r}_A = k ({\bf r}_B - {\bf r}_A) = k {\bf r}_{AB} $$ and this applies for all galaxies B. The vector ${\bf r}_{AB}$ here is the vector from A to B. Therefore we have found that an observer on galaxy A finds that he too observes the same effect: other galaxies are moving directly away from him, and with a speed proportional to their distance away. In this way observations from a single location can be used to infer what would be observed from other locations, and in the case of a linear relationship between $v$ and $r$ the whole situation has this uniformity with respect to position. Other relationships would not be so simple. In the case of a bomb exploding, for example, if some material moves away quickly and some more slowly, then typically the front material begins to slow as it encounters air resistance and the relationship between speed and distance away at any one time is not any simple function. The Hubble expansion is not like a bomb exploding, and indeed, as we have seen by the above derivation, there is no unique centre. All positions can equally well serve as the centre, which is the same as saying there is not really any centre. Many other examples of this sort of expansion can be found in thermal physics: think of a loaf of bread expanding in the oven, for example, or more generally practically any uniform solid undergoing a thermal expansion. That is the "short" answer. The longer answer is that similar ideas apply in a full treatment employing General Relativity. The main difference is that you can no longer obtain relative velocities just by subtracting one galaxy's velocity from another. Instead the typical way to proceed is to propose a model in which there is a global expansion of a homogeneous fluid, and then show that this is consistent with observations. The "fluid" here is the whole universe; "particles" in the fluid are galaxies or galaxy clusters. Finally, note that the proportionality constant $k$ is a constant in the sense that it is the same for the whole universe at any given time, but it can in principle change with time, and the expansion would still have the same uniform quality, but now it would proceed more rapidly at some times than at others. This is why the proportionality factor is called the Hubble parameter rather than the Hubble constant, when we want to consider the long-term evolution of the universe. This is a nice explanation. Do we find this kind of reasoning in any book? @AndrewSteane You don't actually need the idea that there is no preferred center. Take a look at this diagram, where each arrow refers to a galaxy: Let's say you are at the center of the diagram, and at $t=0$ five galaxies are piled up at the origin. After some time, all the galaxies have moved to the tip of their respective arrows. From your perspective at the origin, all the other galaxies are receding. Now imagine you're on the galaxy that's moving directly towards the right (galaxy A). Note you also observe all the other galaxies are receding. At $t=0$, the distance between you and the other four galaxies is zero, but the distance between you and the other galaxies (as illustrated by the red arrows) increase with time. It doesn't matter which way the other galaxies are moving, the distance between you and all the others increases with time. Edit: found the proof, see slide 21/49 of these notes. If we observe the Hubble law, so do all other observers. Instead of moving every galaxy in your drawing you could have you center point move in a direction perpendicular to the plane of your screen. Of course this geometry is no longer Euclidean. You are implicitly assuming that our universe is euclidean. Is this assumption more or less costly than the one preffering no center ? @InfiniteLooper pretty sure the idea that the Universe is flat is empirically testable (and has been observed, which is a major reason behind cosmic inflation theory). Thinking that Hubble law $$ v=H_{0}\,D $$ applies only from our own Milky Way galaxy, makes our galaxy somewhat unique, which brakes standard cosmological view postulating spatial isotropy and homogeneity in a universe. Albeit, there are small inhomogeneities in CMB as can be seen Due to these inhomogeneities in a primordial universe, galaxies were borned, thanks to that. However, CMB radiation root mean square variations are only $18~\mu K$, so this anisotropy is very very tiny. In the sense that at a global structure view universe still can be considered a homogenic one as can be seen from a computer simulated cosmic web, a large-scale cosmos structure, of 50 million light-years across HISTORICAL PERSPECTIVE Before 1920 astronomers and people thought that there are no other galaxies in universe apart our own. Hubble discovered it's law in 1929. So it's only 9 years has passed after people start to believe that there are other galaxies in universe at all. And it's partly thanks to Hubble, who raised a debate on this issue on 1925. So as for me, this question doesn't make much sense cause in any case Hubble had to push-through a lot of "common-sense" of that time.
14,290
https://stackoverflow.com/questions/55660554
StackExchange
Open Web
CC-By-SA
2,019
Stack Exchange
Jon Spring, https://stackoverflow.com/users/6851825
English
Spoken
114
151
R: Export a series of plots that can be flipped through using arrow keys I want to export a series of plots (either plotly, or rAmCharts or some other package) that can be flipped through quickly using arrow keys, instead of saving down multiple files or having all the plots in sequence in an rmarkdown doc. Is there a standard way of doing this in R? Can you describe more what is deficient if you have them in sequence in an rmarkdown doc? A slide deck with rmarkdown's Presentation-PowerPoint option, or officer's output to PowerPoint, or an html format like xaringan would give you the ability to move through slides using the arrow keys.
1,481
https://es.wikipedia.org/wiki/Are%20You%20There%20God%3F%20It%27s%20Me%2C%20Margaret
Wikipedia
Open Web
CC-By-SA
2,023
Are You There God? It's Me, Margaret
https://es.wikipedia.org/w/index.php?title=Are You There God? It's Me, Margaret&action=history
Spanish
Spoken
540
904
Are You There God? It's Me, Margaret es una película de comedia dramática estadounidense escrita y dirigida por Kelly Fremon Craig, basada en la novela de 1970 del mismo nombre de Judy Blume. Es protagonizada por Abby Ryder Fortson como el personaje principal de Margaret Simon y Rachel McAdams como su madre Barbara. La película fue estrenada en cines el 28 de abril de 2023 por Lionsgate. Sinopsis Margaret Simon, estudiante de sexto grado, y su familia se mudan de la ciudad de Nueva York a los suburbios de Nueva Jersey. Dado que uno de sus padres es cristiano y el otro judío, emprende una búsqueda para descubrir su identidad religiosa. Reparto Abby Ryder Fortson como Margaret Simon Rachel McAdams como Barbara Simon Elle Graham como Nancy Wheeler Benny Safdie como Herb Simon Kathy Bates como Sylvia Simon Echo Kellum como Mr. Benedict Isol Young como Laura Danker Amari Alexis Price como Janie Loomis Katherine Kupferer como Gretchen Potter Aidan Wojtak-Hissong como Moose Freed Kate MacCluggage como Mrs. Jan Wheeler Zack Brooks como Phillip Leroy Mia Dillon como Mary Hutchins Gary Houston como Paul Hutchins Producción Después de rechazar varias ofertas para adaptar su libro en los 49 años desde su publicación, la autora Judy Blume vendió los derechos cinematográficos a James L. Brooks y Kelly Fremon Craig, quienes trabajaron juntos en The Edge of Seventeen, con Craig seleccionado para escribir y dirigir. Lionsgate ganó una guerra de ofertas de estudio por los derechos de distribución. En febrero de 2021, se anunció que Abby Ryder Fortson interpretaría a Margaret, con Rachel McAdams como su madre. Kathy Bates se agregó al elenco en marzo. En abril, Benny Safdie se unió al elenco. El rodaje comenzó el 1 de abril de 2021 en Charlotte, Carolina del Norte. El rodaje también tuvo lugar en Concord, Carolina del Norte, a fines de mayo. El 1 de julio de 2021, Deadline informó que Lionsgate había terminado la producción. Estreno El estreno de la película fue el 28 de abril de 2023 por Lionsgate. Originalmente estaba programada para ser estrenada el 16 de septiembre de 2022. Recepción Are You There God? It's Me, Margaret recibió reseñas positivas de parte de la crítica y de la audiencia. En el sitio web especializado Rotten Tomatoes, la película posee una aprobación de 99%, basada en 182 reseñas, con una calificación de 8.5/10 y un consenso crítico que dice "Efervescente y refrescantemente franca sobre las tribulaciones de la pubertad, esta esperada adaptación hace justicia a la novela seminal de Judy Blume." De parte de la audiencia tiene una aprobación de 88%, basada en más de 500 votos, con una calificación de 4.3/5. El sitio web Metacritic le dio a la película una puntuación de 84 de 100, basada en 49 reseñas, indicando "aclamación universal". Las audiencias encuestadas por CinemaScore le otorgaron a la película una "A" en una escala de A+ a F, mientras que en el sitio IMDb los usuarios le asignaron una calificación de 7.7/10, sobre la base de más de 4500 votos. En la página web FilmAffinity la cinta tiene una calificación de 6.8/10, basada en 38 votos. Referencias Enlaces externos Películas de Lions Gate Entertainment Películas basadas en novelas estadounidenses Películas de 2023 Películas sin estrenar
37,998
https://uz.wikipedia.org/wiki/Kosmos%20%28ma%CA%BCnolari%29
Wikipedia
Open Web
CC-By-SA
2,023
Kosmos (maʼnolari)
https://uz.wikipedia.org/w/index.php?title=Kosmos (maʼnolari)&action=history
Uzbek
Spoken
29
92
Kosmos: Kosmos — koinotning ikkinchi nomi Kosmos (kompleks dastur) - "KOSMOS" - 1) SSSRning Yer sunʼiy yoʻldoshlari (YESY) seriyalari, shuningdek kompleks dasturlar nomi. Noziknihol, kosmos, kosmeya () — gul
49,410
https://cstheory.stackexchange.com/questions/21792
StackExchange
Open Web
CC-By-SA
2,014
Stack Exchange
Chad Brewbaker, Chandra Chekuri, Eric Lippert, Jeffε, Juho, Noam, Sasho Nikolov, https://cstheory.stackexchange.com/users/111, https://cstheory.stackexchange.com/users/17493, https://cstheory.stackexchange.com/users/176, https://cstheory.stackexchange.com/users/2021, https://cstheory.stackexchange.com/users/42, https://cstheory.stackexchange.com/users/4896, https://cstheory.stackexchange.com/users/5693, https://cstheory.stackexchange.com/users/7884, https://cstheory.stackexchange.com/users/8243, usul, vzn
English
Spoken
2,191
2,845
What do you do when you cannot make progress on the problem you have been working on? I am a 2nd year graduate student in theory. I have been working on a problem for the last year (in graph theory/algorithms). Until yesterday I thought I am doing well (I was extending a theorem from a paper). Today I realized that I have made a simple mistake. I realized that it will be much harder than I thought to do what I intended to do. I feel disappointed so much I am thinking about leaving grad school. Is this a common situation that a researchers notices that her idea is not going to work after considerable amount of work? What do you do when you realized that an approach you had in mind is not going to work and the problem seems too difficult to solve? What advice would you give to a student in my situation? Most people go through the same crisis at about the same time. If you work hard on your failures, they're teaching you more than you realize. If you don't spend almost all of your time feeling like an idiot, you're not really doing research. Don't underestimate the value of life-work balance --- taking a break to do something fun with friends or spend time on a hobby or so on. See How should I deal with discouragement as a graduate student? Write code to enumerate your complexity exactly. The mere act of writing the code leads you to formalize everything you may have hand waived. Something else: keep talking to people about your research, and work on a few things at a time, so that you can switch gears when you get stuck with something. try formulating it as a stackexchange question! win/win either way, if theres an answer it could be a research lead & if there are no answers then you can confirm your intuition its hard... also have found that empirical research can lead to many ideas/insights... and by the way like any other field research is not for everyone and its not a unmitigated disaster to admit that... It is generally a good idea to work on a couple of things at the same time. Second, even if the main project fails it may be possible to salvage some thing out of the ideas. It comes more easily with experience and you should not hesitate to ask your advisor for help. "What do you do when you realized that an approach you had in mind is not going to work and the problem seems too difficult to solve?" Repeat 100 times: try another approach. If that fails, then Repeat 100 times: try another problem. Hope that you can see how important "fast fail" is. Learning why the hard problem is actually hard is valuable knowledge. Also, note that your situation doesn't go away if you, say, go into industry instead of academia; it gets far worse. Whole teams of people working for years on software that never ships is common. Its discouraging, but part of taking risks is being willing to suffer setbacks. Just make your repository public. See Brent's: https://github.com/byorgey/thesis Or mine: https://github.com/chadbrewbaker/endoscope Ask those in your area to look it over. Feel free to pick my brain about your project (that goes for anybody). Combinatorialist by trade, I often see algebraic data structures where others see algorithms. Might give you a fresh point of view. Is this a common situation that a researchers notices that her idea is not going to work after considerable amount of work? Yes. But as you get more experienced, you're able to "fail fast" - learn how to test the idea quickly to see if it passes a 'smell test'. What do you do when you realized that an approach you had in mind is not going to work and the problem seems too difficult to solve? It depends. Sometimes the best thing to do is put the problem away for a while and work on something else. Sometimes the failure suggests a different question. What advice would you give to a student in my situation? This is very common, and certainly frustrating. Here is my advice: Don't wait until you have a complete result to start writing. Maintain a TeX document with formal descriptions of your problem, proofs of preliminary lemmas, etc. as you go. It is easy to convince yourself that something is true and overlook simple mistakes if you are holding the argument only in your head, but the process of writing something down formally forces you to find these mistakes. If you wait to write until the end, you might not find the mistake until you have already expended a lot of effort; if you write as you go, you can find the errors more quickly. In How to Solve It, Pólya advises: "If you can't solve a problem, then there is an easier problem you can solve: Find it." There are some nice answers by others. I just want to add a few points: Don't panic! Usually, you expect to be graduated sooner than the average students because you think that you are smarter than most of them. Fast graduation doesn't mean you are better than others. Longer graduation time doesn't mean you are weaker that others. You are working on totally different problems. In some areas of computer science, this is enough to do a couple of experiment and write down the result, whatever it is, as a thesis. This is not true about the theory of CS. Describe your problem and what you know about it in details to others. Ever if the audiences are not experts in your area, they may ask questions that turns on a light in your mind. Describing your problem forms a better understanding for yourself. Attend various seminars, conferences, and courses, even if they look unrelated to your topic. Read related papers frequently. They will give you new ideas and clues to tackle the problem. Sometimes, it is difficult or impossible to solve the problem with the tools/methods that you have in mind. You need to find a new tool or idea to solve it. Try to solve a simpler version of your problem first. Add new assumptions to simplify your problem or consider a special case. Once you solved the special case of the problem, you can relax the assumption or generalize the problem. If you think that a portion of the problem is solvable, but you couldn't solve it, concentrate on that portion. Go to the library or somewhere that nobody disturbs you. Close your laptop. Turn off your cell phone. Focus on the problem for a few hours. Try it for a few times. Don't panic. Take a brief "vacation" from the problem to help clear any anxieties. Read How to Solve It. Decide what will make you happier: retackle the problem or moving on to something new. Whichever #4 fork you choose, remember you can always change your mind later. What do you do when you cannot make progress on the problem you have been working on? I go for a walk in the woods, or focus on something else for a while, and come back to the problem later. Is this a common situation that a researchers notices that her idea is not going to work after considerable amount of work? Yes. But as the accepted answer says, learn to test early and fail fast. What do you do when you realized that an approach you had in mind is not going to work and the problem seems too difficult to solve? Talk to others about your work. Get suggestions from them for other approaches you could pursue. Primarily: talk to your supervisor, other lecturers, and peers in your department. But beyond that, there are lots of other places to ask questions: newsgroups, mailing lists, web forums, and of course stackexchange sites. What advice would you give to a student in my situation? Learn from your mistake, so that you won't make a similar mistake in the future. Also share what you have learned with others, so they won't do the same! I am sure it is very disappointing to be in this situation, but be encouraged by the knowledge that lots of other researchers have been here too, and have gone on to make progress with the problem. Good luck to you! The higher quality the scientific research, the harder it is but also realize that early in ones career, one cannot realistically expect earth-shattering results (and not even later also!) You don't mention how you arrived at the problem you were given. Was it from an advisor? Did you come up with it yourself? If it came from elsewhere it's a lesson on fine-tuning/adjusting your personal discrimination/ parameters/ boundaries. Problem selection is critical. Don't "put all your eggs in one basket". If you are focused on one topic, look at multiple ways to work on it and multiple open problems in that area. Realize that some problems cannot be solved and a big part of the game is developing a personal intuition on which ones can/can't. Scientific research is fundamentally about the unknown. Especially in TCS even experts routinely admit there are vast swathes of important unknown aspects & even admit to personal frustration/disappointment on that. Look at the "big picture". Despite over a century old, TCS is still a rather young science. In many ways one could build a case and realize that TCS is one of the hardest scientific fields in existence among all scientific fields. Try reading books/biographies about the historical greats in the field, they all struggled with serious research hardships and setbacks throughout their careers. We also are very lucky to have a very good picture of most of their lives. As Einstein said (in a letter to a child, but widely quoted & taken to heart!) Do not worry about your problems with mathematics, I assure you that mine are far greater. And of course there are highly accomplished experts/leaders who are alive right now and writing or even blogging about their research practices and careers! Blogs give an amazingly candid/ personal/ visceral snapshot of research-in-progress/motion that has never before been seen in scientific history. Again we're very lucky to have blogs and brilliant researchers who are willing to spend substantial time on them (this was not the case years ago and many scientists and professionals were justifiably reluctant to go into blogging). Two standouts in particular in TCS, RJLipton and Fortnow blogs which both cover great behind-the-scenes verisimilitude. Another remarkable/inspiring story circulating recently is that of Zhang. Make sure to socialize with your academic peers at conferences & elsewhere (even somewhat on the internet if possible). You won't feel so alone, you'll see that struggle is an inherent part of the picture. Research is a fundamentally different activity than what precedes it in education, it's about a difficult/challenging shift from the known to terra incognita. The old adage written on centuries-old map regions prior to discovery of the "New World" still applies: here there be dragons. Maybe somewhat synchronistically, here is a neat paper that has been circulating through many scientific blogs lately, it has caused quite an impact/stir, do a search to see all the reactions to it along the lines, "wow isn't it great someone said that, how I've been feeling". Also am including some other refs that can be helpful in describing the picture. The importance of stupidity in scientific research Schwartz. By a biologist but written in a general way such that other scientists from all fields are finding it insightful/compelling. Idea factory: learning to think at MIT by grad student White at MIT (mechanical engineering masters). At the end he describes his choice not to do a Phd based on his experiences/challenges. A PhD is not enough: a guide to survival in science Feibelman. Shows an accurate picture of building a career and how the Phd degree is really just the very beginning. Some describe it as a "union card/ work permit"! Here's a question to ponder: why turn to a public forum composed of people who know nothing about the specifics of your situation when you're supposed to have an academic adviser precisely to handle such questions! Don't get me wrong, you got some great tips here (and meta-tips), but ultimately it's precisely during such crises that one turns to one's mentor for guidance. The real question at this point, I think, is not whether or not to leave grad school, but rather: Is this still a good problem for a PhD student? Should I seek a less challenging result at this point? Or perhaps change directions? These are the substantive questions I'd be posing -- and not to unfamiliar (even if good-intentioned) strangers, but rather to people better acquainted with my specific case (such as, ahem, the adviser!). PS I understand that not everyone is blessed with an approachable, supportive adviser. I would invest serious effort in trying to find one. This PhD journey is hard enough with good guidance.
45,505
https://en.wikipedia.org/wiki/Belorusskaya%20Delovaya%20Gazeta
Wikipedia
Open Web
CC-By-SA
2,023
Belorusskaya Delovaya Gazeta
https://en.wikipedia.org/w/index.php?title=Belorusskaya Delovaya Gazeta&action=history
English
Spoken
370
555
Belorusskaya Delovaya Gazeta (, BDG; English: "Belarusian Business Newspaper", ) was a business-oriented daily Russian-language newspaper based in Minsk, Belarus, known for its criticisms of President Alexander Lukashenko's government. Kalinkina's editorship In 2003, its editor was Svetlana Kalinkina. The paper began to publish reports and features critical of Lukashenko's government, including a series on the trial of Viktor Kazeko, former director of the state food company, a story on the corruption trial of former Minsk Tractor Works director Mikhail Leonov, and a poll asking readers whether Lukashenko should be allowed to have his presidential plane for personal use. Reporter Iryna Khalip's articles on official corruption led to a brief suspension of the newspaper's printing rights for "insulting the honor and dignity of the president". Soon the paper was reportedly subject to a campaign of official harassment, including "politically motivated tax inspections, death threats and detentions". Belarus's Information Ministry began to harass any printer that agreed to work with the paper, forcing BDG to print in Smolensk, Russia. The print edition of BDG had largely disappeared from Belarus by September 2004, leaving only the website. Kalinkina then took a leave of absence from the paper to work against a national referendum that would eliminate presidential term limits, allowing Lukashenko to serve indefinitely. The referendum passed, and Kalinkina took a new position at Narodnaya Volya. In 2004, the Committee to Protect Journalists awarded Kalinkina its International Press Freedom Award, "an annual recognition of courageous journalism", for her work with BDG. The award citation praised her "critical reporting on various government abuses" in the face of "years of legal and bureaucratic harassment from Belarusian authorities". Print run cancellation On 13 March 2006, a week before the presidential election that would usher in Lukashenko's third term, BDG, Narodnaya Volya, and Tovarishch had their print runs abruptly cancelled by their Smolensk supplier. Kalinkina told The New York Times that she believed Belarusian government pressure to be responsible, saying, "When, a week before the election, someone refuses to print three papers, it is clear there are political reasons." Shortly after, increasing financial pressures forced the paper's closure. References Defunct newspapers published in Belarus Business newspapers Mass media in Minsk Business in Belarus Free Media Awards winners
17,948
https://id.wikipedia.org/wiki/Onagraceae
Wikipedia
Open Web
CC-By-SA
2,023
Onagraceae
https://id.wikipedia.org/w/index.php?title=Onagraceae&action=history
Indonesian
Spoken
128
413
Onagraceae adalah salah satu suku anggota tumbuhan berbunga. Menurut sistem klasifikasi APG II suku ini termasuk ke dalam bangsa Myrtales, klad euRosidae I. Daftar genus Subfamili Ludwigioideae Ludwigia L. Subfamili Onagroideae Tribus Circaeeae Circaea L. Fuchsia L. Tribus Epilobieae Chamaenerion Ség. Epilobium L. Tribus Gongylocarpeae Gongylocarpus Schltdl. & Cham. Tribus Hauyeae Hauya DC. Tribus Lopezieae Lopezia Cav. Megacorax Elizondo et al. Tribus Onagreae Calylophus Spach Camissonia Link Camissoniopsis W.L.Wagner & Hoch Chylismia (Torr. & A.Gray) Raim. Chylismiella (Munz) W.L.Wagner & Hoch Clarkia Pursh Eremothera (P.H.Raven) W.L.Wagner & Hoch Eucharidium Fisch. & C.A.Mey. Eulobus Nutt. ex Torr. & A.Gray Gaura L. Gayophytum A.Juss. Neoholmgrenia W.L.Wagner & Hoch Oenothera L. Taraxia (Torr. & A.Gray) Raim. Tetrapteron (Munz) W.L. Wagner & Hoch Xylonagra Donn.Sm. & Rose Referensi Onagraceae Myrtales Tumbuhan berbunga
13,330
https://en.wikipedia.org/wiki/Jack%20Hughes%20%28footballer%2C%20born%201866%29
Wikipedia
Open Web
CC-By-SA
2,023
Jack Hughes (footballer, born 1866)
https://en.wikipedia.org/w/index.php?title=Jack Hughes (footballer, born 1866)&action=history
English
Spoken
102
156
Jack Hughes (1866 – after 1890) was an English professional footballer who played in the Football Alliance for Small Heath. Born in Birmingham, Hughes played football for Birmingham Unity before joining Small Heath in August 1890. He played only once in the Football Alliance, in the opening game of the 1890–91 season, deputising at centre half for Caesar Jenkyns; Small Heath lost 5–2 away to Walsall Town Swifts. References 1866 births Year of death missing Footballers from Birmingham, West Midlands English men's footballers Men's association football defenders Birmingham City F.C. players Date of birth missing Place of death missing Football Alliance players
11,373
https://stackoverflow.com/questions/57282595
StackExchange
Open Web
CC-By-SA
2,019
Stack Exchange
Aaron3219, Grim, arnonuem, https://stackoverflow.com/users/10401043, https://stackoverflow.com/users/11657446, https://stackoverflow.com/users/7543162, https://stackoverflow.com/users/843943, oldboy
English
Spoken
823
1,152
Quality of order I do like to replace a HTML by an different HTML dynamically while the page displays. At the moment, I do old.innerHTML = new.innerHTML but this has the counterparts that: a <input> having text editing will lose the text the user writes. a <input> having text editing will lose the focus. each CSS keyframe animations will restart, even if the node remains unchanged. So I finally have to update every node step-by-step. That shouldnt be that hard if I divide the DOMTree into nodes and compare every nodes childs recursievly. In Pseudocode I do this method recursive Remove nodes from the current that not exists in new (working) Add nodes to the current that exists only in new (working) Order nodes in the current to match the order in new (I stock here) Repeat for every child-node if exists. To know what current-structure-child match the new-strucure-child the best, I use a function elementEquality(a,b) calculating a score. After step 1 and step 2 I have nodes that: have the same nodeType have the same child-node-count do not have the same order So in example starting with step 3 I have nodes like this: current new | elementEquality(a,b)-result --------+------------+------ <!---> | #text b | 0 <div> | <div> | 50 #text b | <!---> | 0 --------+------------+------ 50 total quality points I mean we see that the current-structure must swap the first and the 3rd element to match the order of new. The result would be like this: -- solution is current new | elementEquality(a,b)-result --------+------------+------ #text b | #text b | 10 <div> | <div> | 50 <!---> | <!---> | 5 --------+------------+------ 65 total quality points We can do this with our mind but Id like to do this programatically. My question is now, how to decide: That the quality can be improoved. What elements should be swapped. One approach is to qualify every possible solution the brute-force way. But having 1 node makes 1 possible solution, having 2 nodes makes 2 possible solutions, 3 nodes makes 7 possible solutions (you see, it is exponential). I find it kind of hard to understand exactly what you mean by replace a HTML by an different HTML. You want to change all nodes inside a container? And your problem is that, if you would just copy & paste it, the input fields would lose focus, the CSS animations start again, and so on...? Btw, is it possible that you have a example of code? It doesn't have to be working exactly as it should, but it would provide more details. for me it sounds like an XY problem here http://xyproblem.info you could try using HTML templates which would make it better than what youre doing right now @BugWhisperer Its not working in InternetExplorer. Seems like you're aiming to reinvent the wheel - morphDOM does exactly what you're trying to do: https://github.com/patrick-steele-idem/morphdom From the readme: Lightweight module for morphing an existing DOM node tree to match a target DOM node tree. It's fast and works with the real DOM—no virtual DOM needed! This module was created to solve the problem of updating the DOM in response to a UI component or page being rerendered. One way to update the DOM is to simply toss away the existing DOM tree and replace it with a new DOM tree (e.g., myContainer.innerHTML = newHTML). While replacing an existing DOM tree with an entirely new DOM tree will actually be very fast, it comes with a cost. The cost is that all of the internal state associated with the existing DOM nodes (scroll positions, input caret positions, CSS transition states, etc.) will be lost. Instead of replacing the existing DOM tree with a new DOM tree we want to transform the existing DOM tree to match the new DOM tree while minimizing the number of changes to the existing DOM tree. This is exactly what the morphdom module does! Give it an existing DOM node tree and a target DOM node tree and it will efficiently transform the existing DOM node tree to exactly match the target DOM node tree with the minimum amount of changes. morphdom does not rely on any virtual DOM abstractions. Because morphdom is using the real DOM, the DOM that the web browser is maintaining will always be the source of truth. Even if you have code that manually manipulates the DOM things will still work as expected. In addition, morphdom can be used with any templating language that produces an HTML string. The transformation is done in a single pass of both the original DOM tree and the target DOM tree and is designed to minimize changes to the DOM while still ensuring that the morphed DOM exactly matches the target DOM. In addition, the algorithm used by this module will automatically match up elements that have corresponding IDs and that are found in both the original and target DOM tree.
7,455
https://nl.wikipedia.org/wiki/SV%20Urk
Wikipedia
Open Web
CC-By-SA
2,023
SV Urk
https://nl.wikipedia.org/w/index.php?title=SV Urk&action=history
Dutch
Spoken
560
1,162
SV Urk is een op 29 juli 1940 opgerichte amateurvoetbalvereniging uit Urk, Flevoland, Nederland. De clubkleuren zijn blauw-wit. De thuiswedstrijden worden op sportpark “De Vormt” gespeeld. Het standaardelftal is na Almere City FC het hoogst spelende voetbalteam van de provincie Flevoland. Geschiedenis Het begin Op 29 juli 1940 vond de officiële oprichting plaats van de “Sportvereniging Urk”. De club ontstond uit het samengaan van de voetbalverenigingen, U.S.V. (opgericht op 16 september 1932) en S.G.O. (opgericht op 1 maart 1933). In de beginjaren speelde SV Urk op wisselende locaties. Op 31 augustus 1957 werd het “Wilhelmina-Sportpark” in gebruik genomen. Hier werd op 16 april 1983 de laatste wedstrijd gespeeld. Vanaf 1983 vormt Sportpark "De Vormt" de thuisbasis van de vereniging. 1990-heden In 1990 promoveerde Urk naar het hoogste (zaterdag)amateurniveau. Na een aantal gewenningsjaren moest de club zelfs aan het einde van het seizoen 1992/93 tegen Heerenveense Boys in een promotie-degradatiewedstrijd het vege lijf redden. De blauw-witten werden in het seizoen 1995/96 voor het eerst kampioen van de hoogste klasse in het zaterdagvoetbal. In de strijd om de algehele zaterdagtitel moest Urk het afleggen tegen SVV Scheveningen. In de drie daaropvolgende seizoenen legde de club respectievelijk beslag op een tweede, derde en weer tweede plaats, om in het seizoen 1999/2000 wederom beslag te leggen op de titel. Urk haalde een recordaantal punten van 65 en wist 85 keer het doel van de tegenstander te vinden (beide zijn een Hoofdklasse-record). Ook de twintig overwinningen is een gedeeld Hoofdklasse-record. In de strijd om de zaterdagtitel moest Urk in de allerlaatste wedstrijd de eer laten aan v.v. Katwijk. De daaropvolgende seizoenen moest Urk langzamerhand wat terrein prijsgeven op de top van het zaterdagvoetbal, om ten slotte in 2007 te degraderen naar de Eerste klasse. De bewuste keuze om te kiezen voor eigen jeugd en om niet over te gaan tot betaling van spelers is mede oorzaak van het stapje terug. In het seizoen 2010/11 werd Urk kampioen in de Eerste klasse waardoor ze terugkeerden in de Hoofdklasse (toen inmiddels het tweede amateurniveau). Het was niet van lange duur, want na een seizoen Hoofdklasse ging Urk via promotie/degradatiewedstrijden weer terug naar de Eerste klasse. Middels het kampioenschap in 2013/14 (1E) keerde Urk weer terug in de Hoofdklasse. In het seizoen 2014/2015 speelde Urk in de KNVB Beker een thuiswedstrijd tegen regerend landskampioen Ajax, deze wedstrijd ging met 0-4 verloren. Het duurde tot en met 2022 eer SV Urk weer een stap kon maken in de voetbalpiramide. Toen werden de blauw-witten kampioen van de Hoofdklasse B en promoveerde het na een concurrentieslag met SC Genemuiden en RKAV Volendam voor het eerst in de geschiedenis naar de Derde divisie. De club speelde altijd al op zaterdag en tekende het convenant dat opgesteld was tussen de KNVB en de Belangenvereniging Zaterdagvoetbal (BZV) om te kunnen garanderen dat wedstrijden op zaterdag gespeeld kunnen worden. Erelijst Hoofdklasse kampioen in 2000 * kampioen in 2022 Eerste klasse kampioen in 1996 * kampioen in 2011 kampioen in 2014 Districtsbeker Oost Winnaar in 1985 * destijds het hoogste amateurniveau Klasse niveau Het eerste elftal deed voor het eerst mee aan de competitie in het seizoen 1947/48. Van 1990/91-2006/07 speelde Urk op het hoogste (zaterdag)amateurniveau. Competitieresultaten 1958–2023 | | | | | | |} Bekende (ex-)spelers Pieter Bijl Harmen Kuperus Jan Ras Bekende (ex-)trainer Hennie Spijkerman Externe link Officiële website Urk, SV Sport in Urk
32,106
https://stackoverflow.com/questions/28628467
StackExchange
Open Web
CC-By-SA
2,015
Stack Exchange
Anton Zujev, Lukasz Gornicki, https://stackoverflow.com/users/2088167, https://stackoverflow.com/users/998974
English
Spoken
710
1,157
How do I setup the Date URLs Plugin for DocPad? I've recently converted from Octopress to Docpad and couldn't be happier. I like everything, but one thing bothers me. At the moment all paths on my site are built directly from the filename, e.g. www.site.com/posts/yyyy-mm-dd-title/. What I want to get is www.site.com/posts/yyyy/title. I found the Date URLs plugin, but cannot understand how to set it up. I tried inserting the relevant part into docpad.coffee as follows: docpadConfig = plugins: dateurls: cleanurl: true trailingSlashes: true collectionName: 'posts' dateFormat: '/YYYY' templateData: site: But nothing seems to change. The collection is defined as follows: posts: -> @getCollection("html").findAllLive({relativeOutDirPath:'blog'},[date:-1]).on "add", (model) -> model.setMetaDefaults({layout:"post"}) -- EDIT (in response to Lukasz Gornicki) A sample of metadata from the blog folder: --- title: "Les Sapeurs" date: 2014-09-25 07:39 comments: false language: english tags: video keywords: anton zujev, antzoo, zujev, sapeurs, style, congo description: Les Sapeurs are fashionistas from Congo, whose style is a political and social outcry. --- A sample of metadata from the cast folder: --- title: "Utan 7" date: 2015-02-27 06:52 podfeed: utan comments: true --- I didn't try the debug mode before. Now I did, but I don't see anything special in the log. Here's the log file. any info on console? did you run in in the debug mode (-d)? provide a sample metadata from your posts I've installed the plugin on my blog to check it out. I think there is a bug in documentation or it is just supper misleading. Documentation doesn't explicitly say that the url is build against the date metadata with dateFormat configuration and file basename without the date. I copied your configuration use it agains my blog with post 2015-02-16-test-test.html.md with metadata: date: 2014-09-25 9:49. result url: http://localhost:9778/2014/test-test/ So the plugin works. Do you think that docpad doesn't pick up any configuration for the plugin? If you are configuring docpad with docpad.coffee I suggest you to validate the file, if it is created according to coffeescript rules and you have right indentation. Some time ago I had a situation that my config file grew a lot and some of the config was not picked up because of indentation. Or just give access to the project so I can see and tell you what is wrong. MORE DETAILS TO THE ANSWER AFTER CHECKING THE PROJECT: Filename can have a date. The plugin uses regex to take just the string out of the filename - basename. Locally I've commented out your hook into the renderBefore event, installed the plugin, added your config and all works as expected if it comes to the urls. So I get a URL like /2014/movie-quotes/ On the other hand it works when the server is started, but when I look on the out dir and try to generate the static content, it looks like the plugin doesn't work. Is this what you mean when saying that plugin doesn't work? I guess I just gave you the address in an answer to an other comment, but here it is, anyway. So, the filename should not have a date? That wouldn't stop it from forming the correct address, right? Or not? just extended my answer Yes, that's what I mean, I am generating a static site and uploading it via rsync. When I last tried installing the plugin, it somehow messed up everything and on the localhost pages stopped regenerating altogether (that was before I added the renderBefore event). This is a normal dateurl plugin behaviour. Collection is modified on the fly, but the change is not persisted on filesystem. Other plugin for cleanurl had an individual flag to persist it https://github.com/docpad/docpad-plugin-cleanurls. Anyway, your renderBefore injection is almost doing what you need, the only thing you need to modify is to modify the out path a bit more. clean url works in the way that title of the document becomes a folder name, and the content becomes and index.html inside this folder. In other words to get cleanurl from 2015-02-16-test-test.html.md you need to have url like 2015/test-test/index.html. Try and let me know if you need help with it Thanks a lot, today you've solved both my problems that I had so much trouble with! :) Just modified my renderBefore and at last everything works as I want.
1,798
https://kk.wikipedia.org/wiki/%D0%96%D0%B5%D1%80%20%D0%B0%D1%81%D1%82%D1%8B%20%D2%9B%D0%B0%D0%B7%D1%83%20%D0%B6%D2%B1%D0%BC%D1%8B%D1%81%D1%82%D0%B0%D1%80%D1%8B%D0%BD%D1%8B%D2%A3%20%D2%9B%D0%B0%D1%83%D1%96%D0%BF%D1%82%D1%96%20%D3%99%D1%81%D0%B5%D1%80%D1%96%D0%BD%D1%96%D2%A3%20%D0%B0%D0%B9%D0%BC%D0%B0%D2%93%D1%8B
Wikipedia
Open Web
CC-By-SA
2,023
Жер асты қазу жұмыстарының қауіпті әсерінің аймағы
https://kk.wikipedia.org/w/index.php?title=Жер асты қазу жұмыстарының қауіпті әсерінің аймағы&action=history
Kazakh
Spoken
48
203
Жер асты қазу жұмыстарының қауіпті әсерінің аймағы — жер астында кен қазу жұмыстары үйлер, ғимараттар және табиғи объектілер (су қоймасы, орман және басқалар) үшін қауіпті. Кені алынған кеңістіктің үстіне тікелей орналасқан тау жыныстары өзгеріске түседі, тау жыныстарында қозғалу процесі пайда болады.. Дереккөздер Физика Терминология Металлургия Тау-кен ісі Химия
37,970
https://stackoverflow.com/questions/31906775
StackExchange
Open Web
CC-By-SA
2,015
Stack Exchange
English
Spoken
292
491
Best practice for ion tags I am a bit confused about tag usage in the ionic framework. If you check their docs under CSS components, you'll see they use existing tags (particularly div) with a specific class choice to achieve formatting, just like you'd expect from something like bootstrap. Example: <div class="bar bar-header bar-light"> <h1 class="title">bar-light</h1> </div> If you go by their code samples, however, you see that they use custom ion tags instead. Example: <ion-header-bar class="bar-assertive"> <h1 class="title">Left Menu</h1> </ion-header-bar> The same practice of using custom ion tags is used in their guide as well as a pluralsight tutorial I found on ionic. So what's going on here? If both approaches accomplish the same thing, which one is considered best practice? Ionic Framework, as stated in their site, is: Ionic is both a CSS framework and a Javascript UI library. Many components need Javascript in order to produce magic, though often components can easily be used without coding through framework extensions such as our AngularIonic extensions. Using CSS Components you're simply applying CSS styling to your HTML page. When using the Ionic directives you're using a fully-featured JavaScript component and you have access to the APIs provided by the framework. To better understand the difference you should dig into AngularJs directives. Take the list for example. You could create a simple list using an HTML ul li: <ul class="list"> <li class="item"> ... </li> </ul> but if you use the directive: <ion-list> <ion-item ng-repeat="item in items"> Hello, {{item}}! </ion-item> </ion-list> you have access to the extended features provided by the framework (see the API at the bottom of the page). I tend to use directives most of the times unless I know I don't want any kind of interaction with the interface.
14,468
https://pl.wikipedia.org/wiki/Talpo%C8%99
Wikipedia
Open Web
CC-By-SA
2,023
Talpoș
https://pl.wikipedia.org/w/index.php?title=Talpoș&action=history
Polish
Spoken
22
54
Talpoș – wieś w Rumunii, w okręgu Bihor, w gminie Batăr. W 2011 roku liczyła 1719 mieszkańców. Przypisy Wsie w okręgu Bihor
37,022
https://it.wikipedia.org/wiki/Volo%20Capital%20Airlines%2067
Wikipedia
Open Web
CC-By-SA
2,023
Volo Capital Airlines 67
https://it.wikipedia.org/w/index.php?title=Volo Capital Airlines 67&action=history
Italian
Spoken
282
537
Il volo Capital Airlines 67 era un volo passeggeri interno operato dalla Capital Airlines che si schiantò durante l'avvicinamento finale a Freeland, Michigan, durante una forte tempesta di neve il 6 aprile 1958. Il volo era in rotta dall'aeroporto di Flint-Bishop al Freeland- Tri City (ora Aeroporto Internazionale MBS) quando cadde al suolo. Il volo 67 fu il primo di quattro incidenti mortali nell'arco di due anni che coinvolsero i Vickers Viscount della Capital; gli altri erano il volo Capital Airlines 300 (maggio 1958), il volo Capital Airlines 75 (maggio 1959) e il volo Capital Airlines 20 (gennaio 1960). Le condizioni di avvicinamento verso Freeland erano pessime a causa del meteo; la visibilità era limitata e le condizioni erano mature per la formazione di giaccio atmosferico. Apparentemente i piloti dell'aereo tentarono una virata ripida per allineare il velivolo con la pista. Tutto ciò portò l'aereo in uno stallo aerodinamico, seguito da una perdita di controllo con conseguente avvitamento. L'equipaggio non riuscì a riprendersi dallo stallo, causando lo schianto. La causa ufficiale dell'incidente fu indicata come un accumulo non rilevato di ghiaccio sullo stabilizzatore orizzontale che, insieme alla velocità dell'aria e al design dell'aereo, fece perdere il controllo all'equipaggio. Inoltre, il dispositivo di avviso dello stallo sul Viscount non era operativo. Nel 2001 si inaugurò un memoriale alle vittime dell'incidente in un cimitero locale. Note Voci correlate Volo Air Ontario 1363 Volo American Eagle 4184 Incidenti aerei di voli commerciali Vickers Viscount Capital Airlines Collegamenti esterni Incidenti e disastri aerei di Vickers Viscount Incidenti e disastri aerei di Capital Airlines Incidenti e disastri aerei negli Stati Uniti d'America Incidenti e disastri aerei nel 1958 Incidenti e disastri aerei causati da formazione di ghiaccio
28,761
https://stackoverflow.com/questions/70003028
StackExchange
Open Web
CC-By-SA
2,021
Stack Exchange
h-sifat, https://stackoverflow.com/users/15236761, https://stackoverflow.com/users/17437240, https://stackoverflow.com/users/4679320, kuhriboh, prasad_
English
Spoken
176
414
add a user into collection in Mongodb I have a collection named users and I'm trying to add a user to the collection the code I'm using is var user1 = { Username: "joonyoftv", Password: "joon123", Email: "joony@bmail.com", Birthday: { new Date: ( "2000-08-02") }, FavoriteMovies: [ 61942e53b8d3d951230f0980, 61943aabb8d3d951230f0983 ] } but i keep on getting an error that says SyntaxError: missing : after property id : @(shell):6:7 What should i do? It is about the JavaScript object you are creating - the Birthday field. Also, note that string values are enclosed within single or double quotes. Where are you running this query? In the mongo shell or some other program? @h-sifat im running it in the mongo shell It's just a simple JavaScript syntax error! The new Date: ( "2000-08-02")" should not be in curly braces and ids in FavoriteMovies array should be enclosed in string literals. Object with correct syntax: var user1 = { Username: "joonyoftv", Password: "joon123", Email: "joony@bmail.com", Birthday: new Date("2000-08-02"), // corrected FavoriteMovies: ["61942e53b8d3d951230f0980", "61943aabb8d3d951230f0983"], //String ^ ^ ^ ^ };
48,505
https://it.wikipedia.org/wiki/Persone%20di%20cognome%20Powell
Wikipedia
Open Web
CC-By-SA
2,023
Persone di cognome Powell
https://it.wikipedia.org/w/index.php?title=Persone di cognome Powell&action=history
Italian
Spoken
1,087
3,013
__EXPECTED_UNCONNECTED_PAGE__ Allenatori di calcio (5) Ivor Powell, allenatore di calcio e calciatore gallese (Bargoed, n.1916 - † 2012) Chris Powell, allenatore di calcio e ex calciatore inglese (Lambeth, n.1969) Magnus Powell, allenatore di calcio e ex calciatore svedese (Örnsköldsvik, n.1974) Barry Powell, allenatore di calcio e ex calciatore inglese (Kenilworth, n.1954) Ted Powell, allenatore di calcio e calciatore inglese (Sheffield, n.1940 - † 2005) Attori (14) Charles Edwin Powell, attore statunitense (Houston, n.1964) Nosher Powell, attore, stuntman e pugile britannico (Camberwell, n.1928 - Londra, † 2013) Glen Powell, attore statunitense (Austin, n.1988) Isaac Cole Powell, attore, cantante e ballerino statunitense (Greensboro, n.1994) William Powell, attore statunitense (Pittsburgh, n.1892 - Palm Springs, † 1984) Addison Powell, attore, produttore televisivo e produttore teatrale statunitense (Belmont, n.1921 - Shelburne, † 2010) Clifton Powell, attore e doppiatore statunitense (New York, n.1956) David Powell, attore scozzese (Glasgow, n.1883 - New York, † 1925) Dick Powell, attore, regista e cantante statunitense (Mountain View, n.1904 - Los Angeles, † 1963) Drew Powell, attore statunitense (Noblesville, n.1976) Esteban Powell, attore statunitense (Houston, n.1976) Keith Powell, attore statunitense (Filadelfia, n.1979) Randolph Powell, attore statunitense Robert Powell, attore britannico (Salford, n.1944) Attrici (5) Eleanor Powell, attrice e ballerina statunitense (Springfield, n.1912 - Beverly Hills, † 1982) Eline Powell, attrice belga (Lovanio, n.1990) Jane Powell, attrice, cantante e ballerina statunitense (Portland, n.1929 - Wilton, † 2021) Jemma Powell, attrice britannica (n.1980) Shezwae Powell, attrice, cantante e insegnante statunitense (Riverside) Avvocate (1) Sidney Powell, avvocato statunitense (Durham, n.1955) Avvocati (1) Jerome Powell, avvocato e banchiere statunitense (Washington, n.1953) Batteristi (2) Cozy Powell, batterista britannico (Cirencester, n.1947 - Bristol, † 1998) Don Powell, batterista britannico (Bilston, n.1946) Calciatori (9) Joe Powell, calciatore inglese (Bristol, n.1870 - Londra, † 1896) Nick Powell, calciatore inglese (Crewe, n.1994) Alvas Powell, calciatore giamaicano (Danvers Pen, n.1994) Abednico Powell, ex calciatore botswano (n.1983) Conor Powell, calciatore irlandese (Dublino, n.1987) Darryl Powell, ex calciatore giamaicano (Londra, n.1971) Frank Powell, calciatore e allenatore di calcio inglese (Cardiff, n.1883 - † 1946) Jack Powell, calciatore gallese (Ffrwd, n.1860 - † 1947) Steve Powell, ex calciatore e allenatore di calcio inglese (Derby, n.1955) Calciatrici (1) Hope Powell, ex calciatrice e allenatrice di calcio inglese (Lewisham, n.1966) Canottieri (1) Eric Powell, canottiere britannico (Hornsey, n.1886 - Piz Roseg, † 1933) Cantanti (2) Alan Powell, cantante e attore statunitense (Tennessee, n.1985) Don Powell, cantante, compositore e attore statunitense (Los Angeles, n.1936 - Udine, † 1995) Cantautori (1) Jesse Powell, cantautore statunitense (Gary, n.1971 - Los Angeles, † 2022) Cavallerizze (1) Caroline Powell, cavallerizza neozelandese (Lower Hutt, n.1973) Cestiste (2) Nicole Powell, ex cestista e allenatrice di pallacanestro statunitense (Sierra Vista, n.1982) Elaine Powell, ex cestista e allenatrice di pallacanestro statunitense (Monroe, n.1975) Cestisti (9) Cincy Powell, cestista statunitense (Baton Rouge, n.1942 - Dallas, † 2023) Kasib Powell, ex cestista e allenatore di pallacanestro statunitense (Teaneck, n.1981) Dwight Powell, cestista canadese (Toronto, n.1991) Norman Powell, cestista statunitense (San Diego, n.1993) Myles Powell, cestista statunitense (Trenton, n.1997) Carlos Powell, cestista statunitense (Florence, n.1983) Jim Powell, cestista statunitense (Huntingburg, n.1933 - New Orleans, † 2017) Josh Powell, ex cestista e allenatore di pallacanestro statunitense (Charleston, n.1983) Marshawn Powell, ex cestista statunitense (Newport News, n.1990) Chitarristi (1) Andy Powell, chitarrista e cantante britannico (Stepney, n.1950) Compositori (1) John Powell, compositore britannico (Londra, n.1963) Conduttori televisivi (1) Chris Powell, conduttore televisivo statunitense (Phoenix, n.1978) Conduttrici televisive (1) Jenny Powell, conduttrice televisiva inglese (Ilford, n.1968) Costumiste (1) Sandy Powell, costumista britannica (Londra, n.1960) Costumisti (1) Anthony Powell, costumista britannico (Chorlton-cum-Hardy, n.1935 - Londra, † 2021) Discoboli (1) John Powell, discobolo statunitense (San Francisco, n.1947 - Las Vegas, † 2022) Fisici (1) Cecil Frank Powell, fisico britannico (Tonbridge, n.1903 - Casargo, † 1969) Generali (1) Colin Powell, generale e politico statunitense (New York, n.1937 - Bethesda, † 2021) Geologi (1) John Wesley Powell, geologo, esploratore e militare statunitense (Mount Morris, n.1834 - Brooklin, † 1902) Gesuiti (1) John Powell, gesuita e scrittore statunitense (Chicago, n.1925 - Clarkston, † 2009) Giocatori di baseball (1) Landon Powell, ex giocatore di baseball statunitense (Raleigh, n.1982) Giocatori di football americano (10) Craig Powell, ex giocatore di football americano statunitense (Youngstown, n.1971) Art Powell, giocatore di football americano statunitense (Dallas, n.1937 - San Diego, † 2015) Bilal Powell, ex giocatore di football americano statunitense (Lakeland, n.1988) Brandon Powell, giocatore di football americano statunitense (Deerfield Beach, n.1995) Christian Powell, giocatore di football americano statunitense (Loma Linda, n.1994) Zachary Whitehead, giocatore di football americano statunitense (Hockessin, n.1996) Marvin Powell, giocatore di football americano statunitense (Fort Bragg, n.1955 - † 2022) Ronald Powell, ex giocatore di football americano statunitense (Moreno Valley, n.1991) Ty Powell, giocatore di football americano statunitense (Marina, n.1988) Walt Powell, giocatore di football americano statunitense (St. Louis, n.1991) Golfisti (1) George Powell, golfista statunitense (Baltimora, n.1869 - St. Louis, † 1927) Lunghisti (1) Mike Powell, ex lunghista statunitense (Filadelfia, n.1963) Matematici (1) Baden Powell, matematico e religioso britannico (Stamford Hill, n.1796 - Londra, † 1860) Modelle (1) Susan Powell, modella e conduttrice televisiva statunitense (Elk City, n.1959) Musicisti (1) Billy Powell, musicista statunitense (Corpus Christi, n.1952 - Orange Park, † 2009) Parolieri (1) Peter Powell, paroliere e traduttore statunitense Pianisti (1) Bud Powell, pianista e compositore statunitense (New York, n.1924 - New York, † 1966) Politici (1) Enoch Powell, politico britannico (Birmingham, n.1912 - Londra, † 1998) Rapper (1) Big Pokey, rapper statunitense (Houston, n.1977 - Beaumont, † 2023) Registi (3) Frank Powell, regista, attore e sceneggiatore canadese (Hamilton, n.1877 - New York, † 1957) Michael Powell, regista e sceneggiatore inglese (Bekesbourne, n.1905 - Avening, † 1990) Paul Powell, regista, sceneggiatore e produttore cinematografico statunitense (Peoria, n.1881 - Pasadena, † 1944) Sciatori alpini (1) Doug Powell, ex sciatore alpino statunitense (Peru, n.1957) Sciatrici alpine (1) Caroline Powell, sciatrice alpina britannica (n.1994) Scrittori (5) Arthur E. Powell, scrittore statunitense (Newtown, n.1882 - Los Angeles, † 1969) Anthony Powell, scrittore britannico (Londra, n.1905 - Frome, † 2000) Gareth L. Powell, scrittore britannico (n.1970) Richard Powell, scrittore, giornalista e pubblicitario statunitense (Filadelfia, n.1908 - Fort Myers, Florida, † 1999) Padgett Powell, scrittore statunitense (Gainesville, n.1952) Scrittrici (3) Cynthia Powell, scrittrice e saggista britannica (Blackpool, n.1939 - Calvià, † 2015) Dawn Powell, scrittrice statunitense (Mount Gilead, n.1896 - New York, † 1965) Julie Powell, scrittrice e blogger statunitense (Austin, n.1973 - Olive, † 2022) Tastieristi (1) Martin Powell, tastierista inglese (Sheffield, n.1973) Velocisti (1) Asafa Powell, ex velocista giamaicano (Saint Catherine, n.1982) Violiniste (1) Maud Powell, violinista statunitense (Peru, n.1867 - Uniontown, † 1920) Violinisti (1) Andrew Powell, violinista, tastierista e produttore discografico britannico (Londra, n.1949) Powell
42,614
https://fr.wikipedia.org/wiki/Creamery%20Kings%20de%20Renfrew
Wikipedia
Open Web
CC-By-SA
2,023
Creamery Kings de Renfrew
https://fr.wikipedia.org/w/index.php?title=Creamery Kings de Renfrew&action=history
French
Spoken
439
682
Les Creamery Kings de Renfrew étaient une équipe de hockey sur glace professionnel fondée en 1907 à Renfrew en Ontario au Canada. Histoire Le club est fondé en 1907 dans la Ligue fédérale amateur de hockey. Il est la propriété du Sénateur Michael John O'Brien. Dès sa première saison, le club se voit refuser un match pour la Coupe Stanley. En 1909, lorsque le Sénateur sent un nouveau refus, il envoie alors son fils, John Ambrose O'Brien, à Montréal pour rencontrer les dirigeants de l' afin de plaider la cause de l'équipe de l'Ontario. O'Brien a le soutien de Jimmy Gardner joueur et représentant de Doran pour les Wanderers mais avec la dissolution de l'ECHA, il voit ses projets s'effondrer. O'Brien a le soutien de Jimmy Gardner joueur et représentant des Wanderers de Montréal mais dans le même temps les propriétaires des autres équipes de l'ECHA, décident d'arrêter l'association afin d'en exclure les Wanderers. Les O'Brien voient alors leurs projets s'effondrer. Gardner et John Ambrose O'Brien se rencontrent à la sortie de la réunion de dissolution de l'ECHA et décident de créer leur propre organisation, l'Association nationale de hockey. Ils forment officiellement la nouvelle ligue le avec les équipes suivantes : les Wanderers, Renfrew, Cobalt et Haileybury, connue depuis 2004 sous le nom de Temiskaming Shores. Une guerre au plus offrant se déroule alors afin de s'assurer les meilleurs joueurs en activité. Ainsi, Frank Patrick rejoint Renfrew pour la somme de et il impose que l'équipe signe également son frère, Lester, pour . La vedette Frederick « Cyclone  » Taylor des Sénateurs d'Ottawa se fait désirer : dans un premier temps, il est annoncé que Taylor ne s'entend plus avec la direction des Sénateurs et quelque temps plus tard, la direction de l'équipe de Renfrew affirme lui avoir fait signer un contrat. Une semaine plus tard, Taylor contredit l'annonce et déclare qu'il a décidé de rester à Ottawa. Il faut encore attendre une semaine pour que Taylor annonce avoir changé une nouvelle d'avis et signé un contrat de pour une saison d'une douzaine de matchs. Il est alors le joueur le mieux payé de toute la ligue et même le sportif canadien le mieux payé – sa paye étant supérieure à celle du premier ministre Canadien qui touche alors par année. Avec tous ses talents et surtout les salaires allant avec, la petite équipe des Creamery Kings est vite surnommée les Millionnaires de Renfrew. L'équipe est vendue en 1911 et devient les Blueshirts de Toronto. Temple de la renommée Newsy Lalonde Lester Patrick Frank Patrick Didier Pitre Alf Smith Cyclone Taylor Références Bibliographie Club sportif fondé en 1907 Renfrew
41,628
https://stackoverflow.com/questions/25242699
StackExchange
Open Web
CC-By-SA
2,014
Stack Exchange
Allen S, Marcus Adams, VMai, ZeroOne, https://stackoverflow.com/users/1333157, https://stackoverflow.com/users/168493, https://stackoverflow.com/users/1775598, https://stackoverflow.com/users/1827742, https://stackoverflow.com/users/3501730, ro0ter
English
Spoken
1,051
1,544
MySql: Quickest way to append to current value in DB I have a table with 32,000 entries. Each entry has a JSON blob against it: { "property1": "someValue", "property2": "AnotherValue" } I now need to append another property to this blob for every entrant so that we have: { "property1": "someValue", "property2": "AnotherValue", "property3": "YetAnotherValue" } Because someValue and AnotherValue will be different for different entries I cannot just replace the old records with the new one. Instead (I'm guessing) I'm supposed to parse JSON, add property3 and return it to DB for each of the 32,000 records. What is the best way to achieve this? I have a MySql database which I interact with through PhpMyAdmin. I tried writing a PHP script which will basically select and loop through every row, parse and append to my JSON blob and put it back up for every record. However after I run this in a browser it simply times out on me because it takes too long to execute (I suspect it's the wait time between pulling the blob and uploading it back up for every record). Any help is greatly appreciated! what about YetAnotherValue? Is this different for every row too? suppose you can get the value for YetAnotherValue by row in table form, then this could be performed by a single SQL statement with the help of REPLACE(). No for the purposes of adding it to DB it will be the same for each record. Later on it will change but when adding it can be the same for every record The simplest way (not having to use command line php or to change the apache/php configuration file) is to parse maximum 1000 records at once (that is refresh the page 32 times) and have the script automatically find the continuation point of last run (the records that do not have "property3" in the json blob). So, it would be nice to get a closure for this case. Did you use any of the suggested methods? If so, please mark one of them as accepted. If you came up with something else, please post a new answer and accept that answer of yours. I would question the need to save JSON into a MySQL DB directly. Let's say your table with the JSON blob is called my_table and it has an id field. I'd create another table, say, my_json_properties. There, I'd create three columns: my_table_id, property_name and property_value. Then just populate that table with the JSON properties, and adding new properties is trivial. Also remember to delete the blob column and of course to update your data access objects. Note: use the InnoDB storage engine so you get to make the my_json_properties.my_table_id into a foreign key that references my_table.id. MySQL also automatically creates an index with the foreign key columns, so it's very effective to query the properties when you just know the id in the original table. Hi @ZeroOne - wouldn't I need a new row for each of the 32,000 records in the db? The JSON blob should be able to be unique per each record. If I do have it as a unique entry, then I will end up with two tables - one containing all my current data with 32,000 entries and another table with 32000 entries just for the corresponding JSON blobs. Will this really speed things up? You'd end up with the original table of 32000 entries and another with 3x32000=96000 entries. You wouldn't store any JSON text in the database anymore, just key-value -pairs. When you require the data that used to be in the JSON blob, you just query all rows from the other table that match the id of your original table, then generate the JSON piece on the fly. 32000 is not that much, I don't think performance would be an issue. Also, I don't know about the characteristics of your data, but if you ever need to query all items where, say, property1 has a given value, then with you current schema it's very, very inefficient, whereas my schema would make it much more efficient. You could use an UPDATE statement to add this new property to your json blob, if the json is regular, i.e. there's no blank after the last property and the } has got a fixed position in the next line. Building on your example and assuming \n as end of line you could do it like that: UPDATE example SET json = REPLACE( json, '"\n}', '",\n "property3": "some value"\n}'); Demo(http://sqlfiddle.com/#!2/db972/1) A more robust approach would be by the suggestions of Marcus Adams: UPDATE example SET json = CONCAT( TRIM( TRAILING FROM TRIM( TRAILING '\n' FROM TRIM( TRAILING FROM SUBSTRING_INDEX(json, '}', 1) ) ) ), ',\n "property3": "some value"\n}' ); This will work independently of trailing spaces after the last property and leading spaces before the }, but it's still relying on the \n as end of line. Note: Such statements are usually much faster than row by row updating with a script. REPLACE() is probably a good enough solution, but it might be better to use a function that doesn't have to search through the entire string. Perhaps SUBSTR() + CHAR_LENGTH() + CONCAT() or TRIM(TRAILING...) + CONCAT(). @MarcusAdams I think you're right that my approach is not the fastest one. I assume this is a one time job. If it's not then I think storing of the json blob in a column isn't a good idea at all. It depends on use case. If this is a one time task, it would be MUCH better to run your script from the shell and not from browser to avoid web server and browser timeouts. php -f my_update_script.php If you cannot run script from the shell for whatever reason you can try to fool the browser and web server as follows: set_time_limit(3600*2); // two hours should be enougth? // turn off output buffering while (ob_end_flush()); ob_implicit_flush(); // Your mysql fetch..update loop here // begin loop echo 'Something useful every iteration to let them know your script is alive :)'; // end loop However this approach may fail if there is caching reverse proxy in front of your web server. MariaDb has native support for JSON format (since version 10), you may consider to switch to MariaDb.
41,062
https://stackoverflow.com/questions/66563639
StackExchange
Open Web
CC-By-SA
2,021
Stack Exchange
English
Spoken
217
256
How can I compute orthographical projection image from perspective projection image? My goal is to transform an image captured by a camera and transform that image to orthographical image without effects of perspective. I have a few objects of known size on a surface. I have a camera, placed above and directed to those objects, as exemplified in the scene. The camera is capturing images as in image captured by the camera. I want to get an orthographical image of the environment as in orthographical image I want to get. I have read few posts, but did not really understand their relevance to my problem, as I am not expert on these transforms. The answer from this question made me think it is possible, although I did not get how. I would appreciate a clear explanation or pointing a clear tutorial, using Python or Lua if possible. Any help is appreciated. This was not possible without distorting the image. A straightforward explanation is that the perspective causes some parts of the image to be not visible, for example the white line in the marked area is not visible, and there could be something small that we are not able to observe. For those parts, the algorithm is supposed to produce some kind of prediction based on heuristics.
31,708
https://sk.wikipedia.org/wiki/%CE%9CClinux
Wikipedia
Open Web
CC-By-SA
2,023
ΜClinux
https://sk.wikipedia.org/w/index.php?title=ΜClinux&action=history
Slovak
Spoken
411
1,004
μClinux skracuje názov "MicroController Linux" a podľa oficiálnej webstránky je vyslovovaný ako "you see Linux" (teda nie so správnou výslovnosťou písmena μ). Je odnožou Linuxového kernelu pre microcontrollery bez MMU. Od verzie 2.5.46 integrovaný do hlavnej vývojovej vetvy. Projekt pokračuje vo vyvíjaní patchov a nástrojov pre microcontrollery. Vývoj Pôvodne ho vytvorili D. Jeff Dionne a Kenneth Albanowski v roku 1998. Spočiatku bol cielený na Motorola Freescale DragonBall procesory na Linux kerneli 2.0.33. Po vydaní ich pôvodnej práce vznikla komunita vývojárov, rozširujúca μClinux pre novšie kernely a iné architektúry mikroprocesorov. Začiatkom roku 1999 bola pridaná podpora pre sériu procesorov Motorola Freescale ColdFire. Neskôr v tom roku tiež pribudla podpora procesorov s architektúrou ARM. Dnes sú k dispozícii porty pre kernely Linux 2.4 a Linux 2.6. μClinux nikdy nebol portovaný pre kernel 2.2. Od verzie Linux kernelu 2.5.46 boli značné časti μClinuxu začlenené do hlavnej línie kernelov. Greg Ungerer, ktorý pôvodne μClinux portoval pre ColdFire procesory, pokračoval v údržbe a snažil sa zabezpečiť podporu 2.6 kernelu. V tomto ohľade μClinux už v podstate nie je oddelenou odnožou. Projekt pokračuje vo vyvíjaní patchov a nástrojov pre využitie Linuxu na microcontrolleroch. Podporovaných je mnoho architektúr, a je na ňom založených mnoho produktov, ako routery, DVD a mp3 prehrávače, bezpečnostné kamery alebo VoIP telefóny. Podporované architektúry K momentálne podporovaným patria Altera NIOS ADI Blackfin ARM ETRAX CRIS Freescale (vrátane DragonBall, ColdFire, PowerQUICC a iných) Fujitsu FR-V Hitachi H8 Intel i960 MIPS NEC Xilinx MicroBlaze Súčasný stav Kvalita podporu je rôzna. Niektoré porty už nie sú aktívne vyvíjané. Vývoj pre niektoré architektúry sa odohral mimo komunity, väčšinou v komerčnom prostredí. Preto aj unifikované zdroje, ako napríklad uclinux.org, neposkytujú informácie o všetkých architektúrach. V rámci projektu vznikla aj C knižnica nazvaná uClibc a "userland" (časť operačného systému, ktorá nepatrí ku kernelu). Tieto spolu môžu byť použité ako úplný operačný systém, zvaný "μClinux-dist". Balík "μClinux-dist" obsahuje knižnice, aplikácie a nástroje. Prvýkrát bol vydaný Gregom Ungererom v roku 1999 pod menom "μClinux-coldfire". Utility userlandu obsahujú minimalistický HTTP server a shell. Tiež obsahuje mnohé open source balíky ako Samba a FreeS/WAN. Napríklad iPodLinux používa kernel μClinuxu, tak isto aj Matellom vyrábaný multimediálny prehrávač Juice Box, alebo známy port pre Nintendo DS, DSLinux, menej známy PlayStation port Runix a PlayStation Portable port. Tiež bol použitý v miniatúrnych počítačoch Pictouxe a na Blackfine založený Minotaur BF537 Externé odkazy domovská stránka μClinuxu ucdot - fórum pre μClinux a Embedded Linux The μClinux Directory μClinux - Príprava vývojového prostredia Začíname s μClinuxom Vstavané operačné systémy
27,666
https://uk.wikipedia.org/wiki/%D0%9A%D1%83%D1%80%D0%B3%D0%B0%D0%BD%D0%BE%D0%B2%20%D0%9E%D0%BB%D0%B5%D0%BA%D1%81%D0%B0%D0%BD%D0%B4%D1%80%20%D0%AF%D0%BA%D0%BE%D0%B2%D0%B8%D1%87
Wikipedia
Open Web
CC-By-SA
2,023
Курганов Олександр Якович
https://uk.wikipedia.org/w/index.php?title=Курганов Олександр Якович&action=history
Ukrainian
Spoken
481
1,512
Олександр Якович Курганов (, місто Єнакієве, Бахмутський повіт, Катеринославська губернія, тепер Донецької області — , місто Донецьк) — радянський комсомольський та партійний діяч, 2-й секретар ЦК ЛКСМ України. Кандидат у члени ЦК КП(б)У в листопаді 1927 — червні 1930 р. Біографія Народився в робітничій родині. У 1915 році закінчив заводську школу в місті Єнакієве. У жовтні 1915 — січні 1920 року — підручний слюсаря залізничного цеху Єнакіївського металургійного заводу. У 1920 році вступив до комсомолу. У січні — серпні 1920 року — секретар комсомольського осередку Єнакіївського металургійного заводу. У серпні 1920 — січні 1921 року — студент короткотермінового курсу Комуністичного університету імені Свердлова у Москві. У січні 1921 — січні 1922 року — секретар комсомольського осередку Єнакіївського металургійного заводу. У січні 1922 — лютому 1923 року — секретар Єнакіївського міського комітету комсомолу (КСМУ). Член РКП(б) з лютого 1922 року. У лютому — серпні 1923 року — секретар кущового комітету комсомолу (КСМУ) у місті Горлівці Донецької губернії. У серпні 1923 — серпні 1924 року — завідувач організаційного відділу Донецького губернського комітету комсомолу (ЛКСМУ). У серпні 1924 — березні 1926 року — відповідальний секретар Луганського окружного комітету ЛКСМУ. У березні 1926 — жовтні 1928 року — 2-й секретар ЦК ЛКСМУ. У жовтні 1928 — лютому 1930 року — відповідальний секретар Сибірського крайового комітету ВЛКСМ. У лютому 1930 — жовтні 1932 року — 1-й секретар Анжеро-Судженського міського комітету ВКП(б) Західно-Сибірського краю. У жовтні 1932 — лютому 1937 року — 1-й секретар Прокоп'євського міського комітету ВКП(б) Західно-Сибірського краю. З лютого по червень 1937 року — відповідальний інструктор ЦК ВКП(б) у Москві. У червні — серпні 1937 року — 2-й секретар Орджонікідзевського крайового комітету ВКП(б). У вересні — листопаді 1937 року — в розпорядженні Донецького обласного комітету КП(б)У. У листопаді 1937 — березні 1938 року — секретар виконавчого комітету, заступник голови виконавчого комітету Донецької обласної ради. У квітні 1938 року заарештований органами НКВС. Засуджений до виправно-трудових таборів. До березня 1947 року — начальник слюсарно-механічного цеху виправно-трудової колонії № 6 у місті Томську. У березні 1947 — грудні 1949 року — начальник механічно-монтажного цеху Єнакіївського коксохімічного заводу Сталінської області. 10 грудня 1949 року Особливою нарадою при МДБ СРСР засуджений на вічне поселення у Красноярському краї РРФСР. До березня 1955 року — начальник бази Орловської експедиції у селищі Тура Красноярського краю. Реабілітований, а 23 березня 1955 року відновлений у членах КПРС. Повернувся у місто Єнакієве, де проживав до серпня 1955. У серпні 1955 — червні 1957 року — начальник відділу робітничих кадрів Міністерства вугільної промисловості УРСР у місті Сталіно. З червня 1957 року — на пенсії у місті Сталіно (Донецьку). Нагороди ордени; медалі. Джерела Филиппов С. Г. Территориальные руководители ВКП(б) в 1934-1939 гг.: справочник / Под общ. ред. А. Б. Рогинского. — М.: Политическая энциклопедия, 2016. — 679 с. X з'їзд Комуністичної партії (більшовиків) України 20-29 листопада 1927 року. Стенографічний звіт — ДВУ, 1928. Персоналії за алфавітом Члени КПРС Уродженці Єнакієвого Комуністичні діячі Реабілітовані Другі секретарі ЦК ЛКСМУ
43,824
https://simple.wikipedia.org/wiki/Don%20Payne%20%28writer%29
Wikipedia
Open Web
CC-By-SA
2,023
Don Payne (writer)
https://simple.wikipedia.org/w/index.php?title=Don Payne (writer)&action=history
Simple English
Spoken
133
199
William Donald "Don" Payne (May 5, 1964 – March 26, 2013) was an American writer and producer. He wrote several episodes of The Simpsons after 2000, many of these with John Frink. He met Frink at the University of California, Los Angeles. He also wrote the movies My Super Ex-Girlfriend (2006), Fantastic Four: Rise of the Silver Surfer (2007), Thor (2011) and Thor: The Dark World (2013). He was born in Wilmington, North Carolina. Payne died from bone cancer on March 26, 2013 at his home in Los Angeles, California. He was 48 years old. He was outlived by his wife and children. References Other websites 1964 births 2013 deaths American screenwriters American television writers Cancer deaths in Los Angeles Deaths from bone cancer Writers from North Carolina People from Wilmington, North Carolina
47,588
https://ru.wikipedia.org/wiki/%D0%9A%D0%B8%D0%BB%D1%8C%D0%BC%D0%B0%D0%BD%D1%81%D0%B5%D0%B3%D0%B3%2C%20%D0%A4%D0%B5%D1%80%D0%B4%D0%B8%D0%BD%D0%B0%D0%BD%D0%B4%20%D1%84%D0%BE%D0%BD
Wikipedia
Open Web
CC-By-SA
2,023
Кильмансегг, Фердинанд фон
https://ru.wikipedia.org/w/index.php?title=Кильмансегг, Фердинанд фон&action=history
Russian
Spoken
542
1,482
граф Фердинанд Ганс Лудольф фон Кильмансегг (; 14 февраля 1777, Ратцебург — 19 августа 1856, Ганновер) — ганноверский генерал от кавалерии (1855) и военный министр (1840—1847). Биография Фердинанд граф фон Кильмансегг был сыном высокопоставленного юриста из Ратцебурга графа Фридриха фон Кильмансегга (1728-1800). Его старшими братьями были генерал-майор, затем обер-шталмейстер Людвиг фон Кильмансегг и генерал от инфантерии Фридрих фон Кильмансегг. Кильмансегг вступил в службу в ганноверскую лейб-гвардию в 1791 году, и в следующем году был произведен во вторые лейтенанты. В 1793 году, во время Войны первой коалиции против революционной Франции он попал в плен в бою при Фамаре. К 1813 году, то есть 20 лет спустя, Фердинанд фон Кильмансегг был только майором в недавно сформированном Королевском гусарском полку в Люнебурге. Этот полк в 1815 году в составе ганноверского контингента (Ганновер находился в личной унии с Великобританией) был включён в состав британской армии и принял участие битве при Ватерлоо. Во главе ганноверской бригады в битве участвовал и старший брат Фердинанда, Фридрих фон Кильмансегг. В начале мая 1817 года Фердинанд стал полковником и командиром ганноверского Гвардейского кирасирского полка. В 1826 году он был повышен до генерал-майора, с февраля по октябрь 1831 года был командиром 2-й кавалерийской бригады. Несколько позже он возглавил единственную кавалерийскую дивизию ганноверской армии, и в этом качестве 17 марта 1836 года был произведен в генерал-лейтенанты. С образованием 2-й кавалерийской дивизии, дивизия Кильмансегга в январе 1838 года была переименована в 1-ю кавалерийскую. С 1840 по 1847 год Кильмансегг был военным министром Ганноверского королевства. После выхода в отставку, 26 мая 1855 года он получил звание генерала от кавалерии. Брак и дети Сначала Кильмансегг был женат на графине Августе Шарлотте фон Шёнберг (1777—1863). Однако, личные и политические разногласия (граф был решительным противником Наполеона, тогда как графиня — столь же решительной сторонницей) привели уже в 1809 году к разрыву отношений между супругами, а ещё четыре года спустя — к разводу. В браке у них родились сын Альфред (1804—1862), который женился на Луизе Циммерман (1818—1887), и дочь Натали (1803—1883), которая перешла из протестантизма в католичество и стала монахиней. В 1818 году Кильмансегг женился повторно, на Давиде фон Хедеманн (1787—1878). От брака с Давидой у Кильмансегга родились ещё два сына и три дочери, из которых до взрослого возраста дожили два сына и одна дочь: Адольф (1819–1873), женившийся на Матильде Шарлотте Августе Каролине фот Ботмер (1832—1919) Юлия (1822–1881), которая вышла замуж за своего родственника графа Карла Эрнста Августа Фридриха фон Кильмансегга (1816—1899). и Евгений (1830–1868), который женился на графине Каролине Арц фон Арц фон унд цу Арцио Васегг (род. 1832). Награды Ганноверская медаль Ватерлоо. Орден Святой Анны I степени (). Орден Святого Владимира IV степени (). Орден Красного Орла 1-ого класса (Пруссия). Большой крест Королевского Гвельфского ордена ( Великобритания — Ганновер). Литература Bernhard von Poten: Die Generale der Königlich Hannoverschen Armee und ihrer Stammtruppen. Beiheft zum Militär-Wochenblatt. Mittler & Sohn, Berlin 1903, S. 299–300. Wilhelm Rothert: Kielmansegg, Ferdinand Graf von. In: Allgemeine Hannoversche Biografie. Band 2: Im Alten Königreich Hannover 1814–1866. Sponholtz, Hannover 1914, S. 548. Klaus Mlynek: Kielmannsegg, Ferdinand Graf von. In: Dirk Böttcher, Klaus Mlynek, Waldemar R. Röhrbein, Hugo Thielen: Hannoversches * Biographisches Lexikon. Von den Anfängen bis in die Gegenwart. Schlütersche, Hannover 2002, ISBN 3-87706-706-9, S. 198. Genealogisches Taschenbuch der deutschen gräflichen Häuser auf das Jahr 1844. Siebzehnter Jahrgang, Justus Perthes, Gotha 1843, S. 302. Примечания
19,190
https://fr.wikipedia.org/wiki/Whitbourne
Wikipedia
Open Web
CC-By-SA
2,023
Whitbourne
https://fr.wikipedia.org/w/index.php?title=Whitbourne&action=history
French
Spoken
24
70
Whitbourne est une communauté canadienne située sur l'île de Terre-Neuve dans la province de Terre-Neuve-et-Labrador. Municipalités limitrophes Références Article connexe Terre-Neuve Ville à Terre-Neuve-et-Labrador
34,024
https://tridion.stackexchange.com/questions/11980
StackExchange
Open Web
CC-By-SA
2,015
Stack Exchange
Bjørn van Dommelen, Hiren Kaku, Nickoli Roussakov, Raimond, Vinod Bhagat, https://tridion.stackexchange.com/users/1041, https://tridion.stackexchange.com/users/159, https://tridion.stackexchange.com/users/220, https://tridion.stackexchange.com/users/414, https://tridion.stackexchange.com/users/628
English
Spoken
439
631
CP2013SP1 Import Fails to read IF Package We have SDL Tridion 2013 SP1 HR1, CP 2013 SP1, Windows 2012 R2 Server ( here Running the CP client , first installed via the IE...) Error = "File Path/TESTOneItem.zip is not a package or package file is corrupted. We had CMS up and running for a while 2013sp1 HR1. All works. Installed the CP client and exported from DEV into IF format (zip) While trying to IMPORT the IF package into TEST environment CP gave error that Package is corrupted Any idea why CP doesnt like the IF package? The same package works on CP on another instance(not part of this env ) Much appreciated for your positive response. Thanks Vin did you check the CP logs? Is destination CM where you are trying to import also 2013 sp1 hr1 or some other version? Can you apply the reverse test as well? So verify that this CM can import ANY package (other than this one ofc.)? It might also be that you copied the zip file from server A to server B and the server B has blocked it. Right-click the ZIP, get the properties and check whether that is the case. @Rai, it wasnt the lockign across server issue. It was with the VC++ version issue. Across server all works fine after correcting it. More details added in my below response. Have manged to resolve the issue The CMS server(x64bit) had Microsoft Visual C++ 2010 x64 Redistributable - 10.0.40219 Installed For CP 2013SP1 it needs Microsoft Visual C++ 2010 x86 else CP on the server gives above noted error. After installing the VC++ x86 it works like a charm. Sharing here for the rest of the CP lovers :) Thanks Vin http://www.microsoft.com/en-us/download/confirmation.aspx?id=5555 You can download the VC++ 2010 x86 version from above link The only issues I have seen with imports not working (in my case the import actually did succeed, but it corrupted some of the imported multimedia Components) was due to a temp file corruption. After clearing the temporary files in C:\Program Files (x86)\Tridion\ImportExport\Temp, running the import again worked for me. It seemed to be bound to only one server which maybe had some bad spots on its harddrive. It happened a few times on that server but everytime deleting the temp files was the solution. Another possibility I can think of is that your zip file might have been corrupted on upload of the server. In that case it should work fine when you use Content Porter from a different location, preferably from the original location or the one where the import did work on another environment.
43,026
https://stackoverflow.com/questions/63923025
StackExchange
Open Web
CC-By-SA
2,020
Stack Exchange
ArnauOrriols, Dzintars, Nivethan, Rajesh N, Rigotti, convers39, https://stackoverflow.com/users/12719767, https://stackoverflow.com/users/13540132, https://stackoverflow.com/users/1657165, https://stackoverflow.com/users/2623340, https://stackoverflow.com/users/62937, https://stackoverflow.com/users/6651080, https://stackoverflow.com/users/996787, markerikson
English
Spoken
699
1,100
How to fix circular dependencies of slices with the RootState? I recently started using redux-toolkit and started writing my reducers using the createSlice following their docs. One reducer, let's call it reducerA, imports customAsyncFunction to handle its callback, this function is created through createAsyncThunk which in turn reads the RootState when it calls thunkApi.getState(), the problem now is that when RootReducer is imported, reducerA will be imported generating a circular reference. Basically: RootReducer -> reducerA -> actions -> RootReducer -> ... Below I attempt to simplify the problem. // actions.ts file import { RootState } from "./RootReducer"; export const customAsyncAction = createAsyncAction("myaction", async (_, thunkApi) => const state = thinkApi.getState() as RootState; ... ); // reducerA.ts file import { customAsyncAction } from "./actions"; const slice = createSlice({ ... extraReducers: { [customAsyncAction.fulfilled.toString()]: ... // handles fulfilled action } }); export default slice.reducer; // RootReducer.ts file import reducerA from "./reducerA" import reducerB from "./reducerB" const reducers = combineReducers({ reducerA, reducerB }); export type RootState = ReturnType<typeof reducers>; // complains about circular reference In this section of the documentation it's mentioned the likelihood of this happening and there are vague suggestions of splitting the code in files. However from all my attempts I can't seem to find a way to fix this problem. After reading the following docs section on how to use createAsyncThunk with TypeScript, I've changed the implementation of extraReducers to use the builder pattern instead of passing a key value object and the error vanished. // before const slice = createSlice({ ... extraReducers: { [customAsyncAction.fulfilled.toString()]: ... // handles fulfilled action } }); // after const slice = createSlice({ ... extraReducers: builder => { builder.addCase(customAsyncAction.fulfilled, (state, action) => ...) } }); I must admit I can't pinpoint exactly why under the first condition it doesn't works, while in the second one it does. TS thinks the import is a module, and don't know it's a type and it's totally fine to import it. In order to tell it's a type import Try importing it as a type: import type { RootState } from "./RootReducer"; Note the type keyword after import . This way ts/babel/eslint know you import a type, not a module and will exclude it from dependency map, thus resolving the issue. This should be the accepted answer, worked for me thanks! cannot be used as a value because it was imported using 'import type' what is solution for that? Works like a charm! bravo! Type-only circular references are fine. The TS compiler will resolve those at compile time. In particular, it's normal to have a slice file export its reducer, import the reducer into the store setup, define the RootState type based on that slice, and then re-import the RootState type back into a slice file. Circular imports are only a potential issue when runtime behavior is involved, such as two slices depending on each other's actions. Unfortunately, the ESLint rule for catching circular dependencies can't tell that what's being imported is just a type, as far as I know. Yes, apparently this is no problem. However now RootState does not get the correct auto completion for me and as far I can see the problem is sent from typescript and not from eslint Came there when trying to setup pretty incremental Bazel setup where every Redux Feature is in separate Bazel package/module. As Bazel requires to list all the dependencies i should declare that Root depends on Slice and the Slice depends on Root which is not allowed in Bazel. If I would build the whole app in the single build, I would not have this problem. It might not be a runtime issue but it still is a design issue that hinders maintainability No. It's not a design issue, and in fact it's a recommended pattern. As I said, a typical example is that a slice file exports its own slice reducer, which is then used to define the total RootState type (either explicitly or by inferring from the root reducer). The slice file then imports the RootState type for additional use, such as declaring const selectThing = (state: RootState) => state.some.value. This works as expected at compile time, and does not affect any runtime behavior.
49,217
https://it.wikipedia.org/wiki/Filippo%20Cecchi
Wikipedia
Open Web
CC-By-SA
2,023
Filippo Cecchi
https://it.wikipedia.org/w/index.php?title=Filippo Cecchi&action=history
Italian
Spoken
398
821
Biografia Dopo aver studiato presso le Scuole Pie di Firenze, entrato nell'ordine degli Scolopi, studiò scienze fisiche e matematiche nel collegio fiorentino di S. Giovannino e fu compagno di studi di Alessandro Serpieri. Le sue occupazioni erano l'insegnamento e la ricerca che si estese dall'elettromagnetismo, alla telegrafia e specialmente alla meteorologia e sismologia. Diresse l'Osservatorio Ximeniano a Firenze dal 1872 al 1887 sviluppando quella stazione meteorologica e favorendo la nascita di altre in Toscana (a Fiesole, Lugliano, Pescia, La Verna). Cecchi inoltre dotò l'Osservatorio di un importante centro sismologico. Cecchi ideò e realizzò personalmente vari tipi di sismografi, progettò il grande termometro e barometro che fu collocato nella Loggia dell'Orcagna a Firenze e che oggi si trova esposto nel Museo Galileo, apportò migliorie agli apparecchi telegrafici e nel 1854 costruì una nuova elettrocalamita. In occasione della Prima Esposizione Italiana svoltasi a Firenze nel 1861, Cecchi presentò un nuovo tipo di motore elettrico; egli inoltre restaurò lo gnomone installato nel Duomo di Firenze da Leonardo Ximenes, ripetendo in quell'occasione le esperienze di Foucault (pendolo di Foucault). Filippo Cecchi fu membro non residente a Roma della Accademia Nazionale dei Lincei e venne eletto vicepresidente della Società Meteorologica Italiana (da lui fondata insieme a Francesco Denza) che, nel 1885, tenne il suo primo Congresso a Firenze. Morì a Firenze il 1º maggio 1887 e fu sepolto nel cimitero di Ponte Buggianese. Il 20 novembre 1977 i suoi resti furono traslati nella Propositura di San Michele Arcangelo. Opere e bibliografia Terremoti di Firenze del 23 dicembre e del 12 marzo 1878, di Cecchi F., in "Bullettino del Vulcanismo Italiano", A.V (1878), fasc. VI-VIII, p.63, Roma 1878 Sismografo elettrico a carte affumicate scorrevoli, di Cecchi F., in "L'Elettricista", A.I (1877), N.1º gennaio, Firenze 1877 Bibliografia Presentazione di un istrumento sismografico del P.Cecchi, di De Rossi M.S., in "Atti della Pontificia Accademia de' nuovi Lincei", Roma 1883 La corrispondenza meteorologica italiana alpina-appennina, di Denza F., Roma 1877 Il P. Filippo Cecchi, in "Bullettino Mensuale della Società Meteorologica Italiana", di Denza F., Moncalieri 1887 Il sismografo analizzatore del P. Filippo Cecchi, di Giovannozzi G. in "Memorie della Pontificia Accademia de' Nuovi Lincei", , Roma 1888 Per la commemorazione del P. Filippo Cecchi delle Scuole Pie, in Ponte Buggianese, Giovannozzi G., Firenze 1906 I sismografi del P. Cecchi, di Roberto G. in "Bullettino della Società Meteorologica Italiana", Moncalieri 1887 Fonti Altri progetti Collegamenti esterni Meteorologi italiani
6,798
https://en.wikipedia.org/wiki/International%20Olympic%20Academy
Wikipedia
Open Web
CC-By-SA
2,023
International Olympic Academy
https://en.wikipedia.org/w/index.php?title=International Olympic Academy&action=history
English
Spoken
735
1,005
The International Olympic Academy (IOA) is the main educational and cultural institution for the International Olympic Committee. Established in 1961, the IOA is located near the archeological site of ancient Olympia, Greece. The goal of the IOA is to educate young people, college students, educators, Olympic athletes and sports journalists about the Olympic Ideals and show how to promote them in society. Facilities The IOA is located near Ancient Olympia in the Peloponnese region of Greece. Its facility includes a 500-seat Auditorium, a 250-seat presentation room, five classrooms, a library with more than 16.000 book titles, a restaurant, accommodation rooms for one and two persons and dormitories for eight persons . History The founder of the modern Olympic Games, Pierre de Coubertin, had expressed the need for an Olympic educations center: "I have not been able to carry out to the end what I wanted to achieve. I believe that a center of Olympic Studies would contribute, more than anything else, to the preservation and continuation of my work and would protect it from the deviations, which I am afraid will happen". De Coubertin believed that institution would be responsible for the research, the philosophy and the principles of Olympism, the study of the means and methods for the realization and the application of its ideas in our continuously progressing contemporary world. He wanted an institution that would teach the Olympic principles and ideals to young people. Additionally, the center would educated staff on furthering the Olympic movement without deviating from the Olympic ideals and the aims as expressed by de Coubertin. In 1938, Carl Diem, a leading figure in the German sports movement, and Ioannis Ketseas, Member of the IOC, proposed establishing this center in Greece. It would be based on the Institute of Olympic Studies in Berlin. However, the onset of World War II stopped any further action. In 1949, the IOC approved Ketseas' proposal for the IOA. The IOA finally acquired its first legal personality as an HOC Commission in 1955. After approval by the General Assembly of the IOC, the IOA began its first Session in 1961. In 2001, the IOA became a private legal entity, acquiring an operational autonomy, with the financial support of the Greek government and the IOC. Setting as its milestone the 2004 Olympic Games, the Academy adopted a different pace; opening the doors of its facilities to events with an Olympic objective, while still maintaining a conservative approach with respect to its true potential. National Olympic Academies Under President Juan Antonio Samaranch, the IOC encouraged the foundation of National Olympic Academies (NOAs) around world to promote the cultural and educational development of the Olympic Movement. Many people who had attended IOA session returned home and started spreading what they learned in Olympia. They organized meetings, published their impressions and delivered speeches on the subjects. These meetings and other activities became the foundations of the National Olympic Academies. Otto Simitzek, Dean of the IOA for over 30 years, wrote in one of his articles some time ago: "I believe implicitly that the National Olympic Academies can and will accomplish a task of great import and consequence, especially so if they are in touch with the parent International Olympic Academy and they coordinate their activities accordingly". IOA programs In 1961, the IOA inaugurated its first program, the International Session for Young Participants, the only IOC Session by that time. It was hosted under tents. In later years, the program had 210 participants. In 1986, the "International Seminar for Sports Journalists" was first held. In 1987, the IOA started the "International Session for NOA Directors" In 1992, the "Joint International Session for Presidents or Directors of NOA's and Officials of NOC's" was started In 1993 the IOA started the "International Session for Educators and Officials of Higher Institutes of Physical Education" a;pmg with the "International Seminar on Olympic Studies for Postgraduate Students" In 2007, the "International Session for Olympic Medalists" was started Over 80,000 people have attended the IOA sports and scientific Congresses and Seminars, including 20.000 participants in the official Sessions. The IOA in cooperation with the University of Peloponnese and the sponsorship of the John Latsis Foundation organizes an International Postgraduate Program for Olympic Studies (Master's Degree Program) that lasts two years. External links International Olympic Academy Official Website International Olympic Academy Participants' Association Official Website Olympic Academy Sports Camps International sports organizations Olympic organizations Olympia, Greece
14,568
https://electronics.stackexchange.com/questions/334283
StackExchange
Open Web
CC-By-SA
2,017
Stack Exchange
Chu, Mike, Verbal Kint, https://electronics.stackexchange.com/users/141599, https://electronics.stackexchange.com/users/43172, https://electronics.stackexchange.com/users/66771
English
Spoken
1,053
1,907
Calculating transfer function of second order high pass filter I'm struggling with calculating the transfer function H(s) of a highpass filter, calculating a transfer function of a first order filter is no problem but I haven't mastered second order filters yet. I assume I should use KCL to do it as efficient as possible? Best regards This is a 3rd-order filter as you have 3 energy-storage elements having independent state variables. KCL and KVL will get you there (considering a Thévenin generator involving $R$ and $L_1$) but good luck to factor this out in a meaningful low-entropy expression. I am computing this transfer function using fast analytical circuits techniques, stay tuned. Let V the voltage at the junction of \$R\$, \$C\$ and \$L_1\$. Use KCL at this junction and the output. This will give the following two equations. \$ \frac{u_1-V}{R}=C s \left(V-u_2\right)+\frac{V}{L_1 s}\$ \$C s \left(V-u_2\right)=\frac{u_2}{L_2 s}\$ These two equations have 2 unknowns \$V\$ and \$u_2\$. In this case you are interested only in \$u_2\$. You can solve for \$V\$ in terms of \$u_2\$ from the second equation and substitute that in the first, to get the solution for \$u_2\$. I always use an algebra system to deal with these cumbersome and error-prone calculations. They will return the answer in a blink. I will apply the fast analytical circuits techniques or FACTs described here to determine this transfer function. The principle is to find the circuit time constants when the excitation (\$V_{in}\$) is reduced to 0 V (replaced by a short circuit). The schematic is below: The story behind the FACTs is to alternatively set the energy-storing elements in their dc or high-frequency state: respectively open- and short-circuited for a cap, respectively short- and open-circuited for an inductor. We first start by determining the resistance when all elements are observed in dc: you disconnect the selected energy-storing element and you find the resistance offered by its connecting terminals while the other elements remain in their dc state. When the resistance is infinite, we adopt a finite value \$R_{inf}\$ and when it is 0, we adopt also a finite value equal to \$R_{small}\$. We do that to avoid indeterminacies. When this done, we continue by setting one of the three elements in its high-frequency state while we determine the resistance from another energy-storing element. \$\tau_{12}\$ for example means that we set \$L_1\$ in its high-frequency state and we determine the resistance offered by \$L_2\$'s terminals while \$C_3\$ remains in its dc state (open circuited). Finally, we set two elements in their high-frequency state and determine the resistance offered by the 3rd one. Then, you can assemble the denominator as: \$D(s)=1+s(\tau_1+\tau_2+\tau_3)+s^2(\tau_1\tau_{12}+\tau_1\tau_{13}+\tau_2\tau_{23})+s^3\tau_2\tau_{23}\tau_{321}\$ The determination of the numerator can be done either using a null double injection (NDI) or via the calculation of simple gains. In this approach, the energy-storing elements are now alternatively set in their high-frequency state and you can reuse the time constants already determined in the denominator to form \$N(s)\$. You end-up with slightly more complicated terms than with a NDI but it is often perceived as a much simpler exercise. Also, as in this case, a lot of these gains are 0 which truly simplifies the approach. The circuits are shown below: For instance, the notation \$H^1\$ means that \$L_1\$ is in its high frequency state (open circuited) while the two other elements are in their dc state. What is the gain in this mode? 0 as the cap. is open-circuited. \$H^{12}\$ means elements 1 and 2 are in their high-frequency state while element 3 is in its dc state: what is the gain? 0. If you do the exercise ok, you can assemble the numerator as follows: \$N(s)=H_0+s(\tau_1H^1+\tau_2H^2+\tau_3H^3)+s^2(\tau_1\tau_{12}H^{12}+\tau_1\tau_{13}H^{13}+\tau_2\tau_{23}H^{23})+s^3\tau_2\tau_{23}\tau_{321}H^{321}=s^3b_3H^{321}\$ Here, the dc gain \$H_0\$ is equal to 0 (two inductors are shorted, the cap is open). The final transfer function is obtained by combining the above numbers and rearranging the result under a nice polynomial form as shown in the below Mathcad sheet. You can see that I have determined the reference transfer function using Thévenin as suggested in my comment. If you develop this expression by hand, you may make mistakes and find it difficult to factor it properly. With the techniques that I shown, if you spot a mistake, go back to the small intermediate sketches and fix the guilty one in a snapshot. As you can see, I did not write a single line of algebra to determine this transfer function which is kind of cool. This is the power of the FACTs that I encourage students to learn and acquire. I think you accedently wrote denominator twice @Mike, hello, what do you mean? In the text or in the sheet? see here: "The determination of the denominator involves calculating simple gains..." did you mean the nominator? Oh I see, good catch. I meant the numerator of course and I slightly updated the text. Thanks for pointing this out to me. This can be derived by 'normal' methods in a few lines. What's the advantage of this method? The power of the method lies in several advantages: 1) inspection: you can derive a transfer function just by "looking" at the drawing 2) when you use KVL and KCL, you work on the $a_i$ and $b_j$ coefficients. So the result is already well ordered, in a so-called low-entropy form from which you infer poles and zeros. 3) If you make a mistake, you can fix the individual coefs and not re-start from scratch. Check http://cbasso.pagesperso-orange.fr/Downloads/PPTs/Chris%20Basso%20APEC%20seminar%202016.pdf for a quick intro on the subject. @Chu, hello, coming back on your comment regarding the advantage of the method, please have a look at the FACTs applied to a 3-cell cascaded $RC$ network here: https://electronics.stackexchange.com/questions/333957/transfer-function-of-three-cascaded-rc-filters If you apply the classical approach, the resulting equation becomes quickly intractable, not talking about factoring it properly. Let me know what you think. I think, the most simple method is to use - as a first step - general impedances Z and to apply the known rules of voltage division. Therefore: Let`s rename R>>Z3 , C>>Z4, L1>>Z1 and L2>>Z2. Now - use the voltage divider rule for finding the transfer function at the node between Z3 and Z4. Obviously, we find: V34/V1=[Z1||(Z2+Z4)]/[Z3+Z1||(Z2+Z4)]. To get V2/V1, this expression is to be multiplied with (voltage division Z2-Z4): Z4/(Z2+Z4). As a last step, introduce the appropriate expressions for Z1...Z4. That`s all.
41,899
https://stackoverflow.com/questions/54019137
StackExchange
Open Web
CC-By-SA
2,019
Stack Exchange
Pyt Leb, https://stackoverflow.com/users/9404771
English
Spoken
493
1,321
how to change the row color in jquery dataTable based on the value I am using the DataTable in javascript and jquery in order to setup a interactive table. I want to change the row color based on cell value. I tried to use the fnRowCallback function and i tried to use rowCallback function. in both functions are not working and the page is not displaying the table. if i remove these functions the table is displayed and all data are available. $(function(){ var destsData=[ ] var sections={} var theTable = $('#SearchT2chiraTable').DataTable({ language: { search: 'ﺑﺤﺚ : ', lengthMenu:'ﻣﺸﺎﻫﺪﺓ _MENU_ ﺑﻴﺎﻧﺎﺕ', paginate: { first: "اﻻﻭﻝ", previous: "اﻟﺴﺎﺑﻖ", next: "اﻟﺘﺎﻟﻲ", last: "اﻻﺧﻴﺮ" } }, select: 'single' }) var destsTable = $('#DestsTable').DataTable({ "fnRowCallback": function(nRow, aData, iDisplayIndex, iDisplayIndexFull){ if ( aData[2] == "DEFAULT VALUE" ) { $('td', nRow).css('background-color', 'red' ); } else { $('td', nRow).css('background-color', 'white'); } language: { search: 'ﺑﺤﺚ : ', lengthMenu:'ﻣﺸﺎﻫﺪﺓ _MENU_ ﺑﻴﺎﻧﺎﺕ', paginate: { first: "اﻻﻭﻝ", previous: "اﻟﺴﺎﺑﻖ", next: "اﻟﺘﺎﻟﻲ", last: "اﻻﺧﻴﺮ" } }, select: 'single', data: destsData, columns: [ { "data": "destination_id","title":'اﻟﺮﻣﺰ' }, { "data": "te2chira_id_id","title":'ﺭﻣﺰ اﻟﺘﺄﺷﻴﺮﺓ' }, { "data": "opinion", "title": 'اﻻﻗﺘﺮاﺡ' }, { "data": "destination_date","title":'اﻟﺘﺎﺭﻳﺦ' }, { "data": "section","title":'اﻟﻘﻄﻌﺔ' , "render":function(val,type,row,meta){ console.log('the Value is ',val) if (type == 'set'){ console.log('doing here ') row.section = val row.section_display=sections[row.section] row.section_filter=sections[row.section] return }else if (type === 'display',val) { console.log('display') return sections[val]; } else if (type === 'filter') { console.log('filter',val) return row.section_filter; } // 'sort', 'type' and undefined all just use the integer return row.section; } } ] } }); or the second function. "rowCallback": function( row, data, index ) { if ( data.opinion == "DEFAULT VALUE" ) { $('td', row).css('background-color', 'Red'); } else { $('td', row).css('background-color', 'white'); } } } i expect to display the data in the destTable and where the opinion has a value equal to DEFAULT VALUE to make the row color red else to keep it white. fnRowCallback feels like the right way to do this, but I notice you're missing a closing curly brace and a comma - which will cause your code to break and not render the table. "fnRowCallback": function(nRow, aData, iDisplayIndex, iDisplayIndexFull){ if ( aData[2] == "DEFAULT VALUE" ) { $('td', nRow).css('background-color', 'red' ); } else { $('td', nRow).css('background-color', 'white'); } }, // Make sure you add the closing brace and a comma language: { ... this was the error thank you. but i needed to specify the field name and the index of the field. You can this in another way {% for q in queryset %} {% if q.id == 1 %} <tr style="background: #fff;> {% else %} <tr style="background: #000;> {% endif %} <td></td> </tr> {% endfor %} i tried your answer where i add it inside the created table above the javascript code but it did not work. code: ` {% for row in tableItems %} {% if row.opinion == "DEFAULT VALUE" %} <tr style="background: #fff;> {% else %} <tr style="background: #000;> {% endif %} <td></td> </tr> {% endfor %} `
37,822
https://ru.wikipedia.org/wiki/%D0%90%D0%BB%D1%8C%D1%84%D0%B5%D0%BB%D1%8C%D0%B4%2C%20%D0%98%D0%BE%D0%B3%D0%B0%D0%BD%D0%BD%20%D0%A4%D1%80%D0%B8%D0%B4%D1%80%D0%B8%D1%85
Wikipedia
Open Web
CC-By-SA
2,023
Альфельд, Иоганн Фридрих
https://ru.wikipedia.org/w/index.php?title=Альфельд, Иоганн Фридрих&action=history
Russian
Spoken
235
658
Иога́нн Фри́дрих А́льфельд (; 1 ноября 1810, Меринген — 4 марта 1884, Лейпциг) — немецкий проповедник и педагог. Иоганн Фридрих Альфельд родился 1 ноября 1810 в Мерингене, в Ангальтском княжестве. С 1823 по 1830 год учился в гимназии в Ашерслебене и Дессау, в 1830—33 году изучал богословие в Галле, где слушал Гезениуса, Вегшейдера, Ульмана, Толука и Лео. С 1834 году назначен учителем гимназии в Цербсте, с 1837 г. — ректором в Вёрлице; с 1838 году состоял пастором в Дорф-Альслебене, с 1847 года в Галле, оттуда в 1851 году перешел в Лейпциг. Везде отличался как проповедник; в 1881 году оставил занятия. Его проповеди затрагивают практические темы, обнаруживают большое знание человеческого сердца и жизни и отличаются теплым чувством. В отношении догматов Альфельд держится строго учения церкви. Иоганн Фридрих Альфельд скончался 4 марта 1884 года в Лейпциге. Библиография Собрания проповедей: «Predigten über die evangelischen Perikopen» (Галле, 1848—49; 10 изд. 1880 г.); «Bausteine zum Aufbaue der Gemeinde» (3 тома, Лейпциг, 1851—54; 4 изд. 1862); «Katechismuspredigten» (3 тома, Галле, 1852—53; 3 изд. 1859); «Zeugnisse aus dem innern Leben» (3 тома, Лейпциг, 1856; 2 изд. 1863); «Das Leben im Lichte des Wortes Gottes» (2 тома, Галле, 1860—61; 6 изд. 1879); «Die Ruhe der Kindes Gottes in dem Herrn» (3 тома, Лейпциг, 1859—61); «Ein Kirchenjahr in Predigten» (Галле, 1874). Другое: «Erzählungen für das Volk» (Галле, 1854; 4 изд. 1872), «Das Alter des Christen» (Галле, 1876; 3 изд. 1880). Примечания Источники Проповедники Германии
5,399