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://ceb.wikipedia.org/wiki/Myriellina%20imperatae | Wikipedia | Open Web | CC-By-SA | 2,023 | Myriellina imperatae | https://ceb.wikipedia.org/w/index.php?title=Myriellina imperatae&action=history | Cebuano | Spoken | 69 | 147 | Kaliwatan sa uhong ang Myriellina imperatae. sakop sa ka-ulo nga Ascomycota, ug Una ning gihulagway ni Brian Charles Sutton ug K.V. Sankaran ni adtong 1991. Ang Myriellina imperatae sakop sa kahenera nga Myriellina, ka-ulo nga Ascomycota, ug kaginharian nga abungawg-uhong.
Kini nga matang hayop na sabwag sa:
Nugini sa Papua
Walay nalista nga matang nga sama niini.
Ang mga gi basihan niini
Abungawg-uhong
Abungawg-uhong sa Nugini sa Papua
Myriellina | 49,768 |
https://de.wikipedia.org/wiki/Eddy%20Curry | Wikipedia | Open Web | CC-By-SA | 2,023 | Eddy Curry | https://de.wikipedia.org/w/index.php?title=Eddy Curry&action=history | German | Spoken | 354 | 613 | Eddy Anthony Curry Jr. (* 5. Dezember 1982 in Harvey, Illinois) ist ein ehemaliger US-amerikanischer Basketballspieler, der im Verlauf seiner Karriere unter anderem bei den Chicago Bulls, New York Knicks und Miami Heat unter Vertrag stand.
Karriere
Curry wurde 2001 im NBA-Draft an vierter Stelle von den Chicago Bulls ausgewählt. Von den vier ersten Draft-Picks kamen damit im Jahr 2001 mit Curry neben Kwame Brown und Tyson Chandler drei Spieler direkt von der Highschool. Curry spielte ab der Saison 2001/02 in der NBA für jene Bulls. Er wurde zu Beginn seiner Karriere mit Superstar Shaquille O’Neal verglichen, konnte dieser Erwartungshaltung jedoch nicht gerecht werden.
Im Laufe seiner Karriere hatte Curry bereits mit vielen Verletzungen und sogar leichten Herzproblemen zu kämpfen, was ihn immer wieder zurückwarf. Seine einzige Playoffteilnahme verbuchte er in der NBA-Saison 2004/05 mit den Bulls. Im darauf folgenden Sommer wurde Curry zusammen mit Antonio Davis für den Stammspieler Tim Thomas und Mike Sweetney von den Bulls zu den Knicks transferiert. In der NBA-Saison 06/07 hatte er sein stärkstes Jahr, als er 19,5 Punkte und 7,0 Rebounds pro Spiel erzielen konnte. In den darauf folgenden Jahren konnte er aufgrund von Verletzungen nicht mehr an diese Statistiken anknüpfen.
Während der NBA-Saison 2010/11 wurde er nach Minnesota zu den Timberwolves transferiert und nach ein paar Tagen entlassen.
Im Dezember 2011 unterschrieb Curry einen Vertrag bei den Miami Heat. Für sein Comeback nahm Curry bis zu 30 kg an Gewicht ab. Mit den Heat gewann Curry die NBA-Meisterschaft 2012.
Zur NBA-Saison 2012/2013 erhielt der Center keinen neuen Vertrag mehr von den Heat und spielte während der Saisonvorbereitung 2012/13 für die San Antonio Spurs. Bei den Spurs erhielt er jedoch im Oktober keinen endgültigen Vertrag für die Saison und verließ das Team wieder. Kurz darauf wurde er von den Dallas Mavericks verpflichtet, verlor jedoch aufgrund der Nachverpflichtung von Troy Murphy nach lediglich zwei Spielen wieder seinen Platz im Mavericks-Kader.
Im Dezember 2012 unterschrieb er in China bei den Zhejiang Golden Bulls. Er absolvierte 29 Spiele und erzielte dabei 23,0 Punkte und 10,1 Rebounds pro Spiel.
Weblinks
Einzelnachweise
Basketballspieler (Miami Heat)
Basketballspieler (Chicago Bulls)
US-Amerikaner
Geboren 1982
Mann | 42,712 |
https://drupal.stackexchange.com/questions/126627 | StackExchange | Open Web | CC-By-SA | 2,014 | Stack Exchange | David Thomas, https://drupal.stackexchange.com/users/35091, https://drupal.stackexchange.com/users/7153, user3835779 | English | Spoken | 299 | 493 | Editing the 'default front page' base URL
I rebuilt a new server from another server's image. And I want to use it for a new domain, but I'm finding that the new server continues to redirect to the original server's domain.
Going to the new server's drupal admin console, I see that the domain (ie, https://mysite.com/) is uneditable under Configuration > System > Site Information > Front Page > Default Front Page.
I tried setting the 'base_url' in /etc/drupal/7/sites/default/settings.php to my new domain and flushed the cache, but that didn't resolve the problem (and the old domain still persists in the console).
Have you tried the below changes in your settings.php and .htaccess?
/sites/default/settings.php
$base_url = 'http://www.example.com'; // NO trailing slash!
and
.htaccess
# Modify the RewriteBase if you are using Drupal in a subdirectory and
# RewriteBase /drupal
Try using this.
Have a closer look at settings.php the value may be hardcoded there
In particular: $conf['site_frontpage'] or $base_url
You may also just need to flush all caches at Admin > Config > Performance
the $base_url is set to the new domain and setting $conf['site_frontpage'] and flushing the cache didn't resolve the issue. any other suggestions?
It sounds like something else might be hardcoding the $base_url value. Have a grep/find-in-files search for base_url in your site module / theme files
did a grep on the module and didn't find anything that would be pointing to the old domain =(
This could be set in a lot of places.
You should try searching all your code for mention of the previous domain and go from there.
grep -irn "example.com" .
Where example.com is the old domain.
This will list all matches of example.com. At the beginning you'll see the files. Then the line numbers. Then the string that it matched.
| 33,589 |
https://ca.wikipedia.org/wiki/Acerra | Wikipedia | Open Web | CC-By-SA | 2,023 | Acerra | https://ca.wikipedia.org/w/index.php?title=Acerra&action=history | Catalan | Spoken | 263 | 500 | Acerra és un municipi italià, situat a la regió de Campània i a la Ciutat metropolitana de Nàpols. L'any 2007 tenia 52.403 habitants.
Evolució demogràfica
Història
Acerrae (en ) era una ciutat de l'interior de Campània a uns 12 km al nord-est de Nàpols.
Apareix a la història durant la guerra que els campanis i els llatins van fer conjuntament contra Roma. L'ant 332 aC, al final de la guerra, els habitants de la ciutat i d'altres ciutats properes van obtenir la ciutadania romana però sense dret a sufragi. Aquest dret el van obtenir més tard, però no se sap quan.
Durant la Segona Guerra Púnica es va mantenir fidel a Roma, i per això Anníbal la va atacar l'any 216 aC. Els habitants no hi van poder fer front i van fugir, i els cartaginesos van saquejar la ciutat i la van cremar. Després de la guerra, l'any 210 aC, els acerrans, amb el permís del senat romà, la van reconstruir, diu Titus Livi.
Durant la guerra social, la va assetjar el general samnita Papi Mutil (Papius Mutilus), però segons Apià, va oferir una gran resistència i els samnites van abandonar el setge. Virgili parla de la fertilitat del territori, però al seu temps Acerrae havia patit freqüents inundacions del proper riu Clanius, que estava gairebé deserta. En temps d'August, va rebre una colònia romana. Estrabó en parla, juntament amb Nola i Nuceria, i diu que eren llocs d'una certa importància. No devia de conservar el seu rang colonial, perquè Plini el Vell l'esmenta només com un municipi.
Referències
Municipis de Nàpols | 41,422 |
https://ceb.wikipedia.org/wiki/Stachylina%20chironomidarum | Wikipedia | Open Web | CC-By-SA | 2,023 | Stachylina chironomidarum | https://ceb.wikipedia.org/w/index.php?title=Stachylina chironomidarum&action=history | Cebuano | Spoken | 48 | 99 | Kaliwatan sa uhong ang Stachylina chironomidarum. sakop sa ka-ulo nga Zygomycota, ug Una ning gihulagway ni Robert W. Lichtwardt ni adtong 1972. Ang Stachylina chironomidarum sakop sa kahenera nga Stachylina, ug kabanay nga Harpellaceae. Walay nalista nga matang nga sama niini.
Ang mga gi basihan niini
Abungawg-uhong
Stachylina | 24,877 |
https://tex.stackexchange.com/questions/247576 | StackExchange | Open Web | CC-By-SA | 2,015 | Stack Exchange | Chris H, Gettingtiredofthis, Heiko Oberdiek, Ilmari Karonen, Manuel, Torbjørn T., Ulrike Fischer, blaze, https://tex.stackexchange.com/users/16967, https://tex.stackexchange.com/users/21930, https://tex.stackexchange.com/users/2388, https://tex.stackexchange.com/users/28808, https://tex.stackexchange.com/users/586, https://tex.stackexchange.com/users/76090, https://tex.stackexchange.com/users/79166, https://tex.stackexchange.com/users/8167 | English | Spoken | 1,322 | 3,089 | Scandinavian letters (ä and ö)
I've been working on my thesis with MikTex, and I've had a problem for some time now. Every Ä and Ö letter is marked a black box of sort or as ?. I've looked around the internet and I know that you need to have
\usepackage[ansinew]{inputenc}
before you start writing. However when I try to use that, it gives me this error:
! LaTeX Error: Command \textcurrency unavailable in encoding T1.
I'm using my university's template for the thesis, which has all the settings premade. For example:
\documentclass[a4paper, 12pt]{article}
\usepackage[T1]{fontenc}
\usepackage{setspace}
\usepackage[dvips]{epsfig}
are all set.
Any clue or idea what is wrong?
Thank you.
edit:
\documentclass[a4paper, 12pt]{article}
\usepackage[T1]{fontenc}
\usepackage{setspace}
\usepackage[dvips]{epsfig}
% ====== ASETETTAVIA PARAMETREJA / ALKAA ==========================
% ----------- K?ytt?j?rjestelm?st? riippuvat:
% UNIX:ia k?ytett?ess?:
% \usepackage[latin1]{inputenc}
% DOS-ymp?rist?ss?:
% \usepackage[cp850]{inputenc}
% Windows-ymp?rist?ss?:
\usepackage[ansinew]{inputenc}
% K?ytett?v?t makropakkaukset:
\usepackage[finnish]{babel} % Kieli: Suomi
\usepackage{times} % Kirjasin: Roman Times
\usepackage[dvips]{graphics} % Postscript-kuvat kelpaavat
\usepackage[]{vmargin} % Tarkempi marginaalien asettelu
\usepackage{url} % Oikea tavutus URLeihin
\usepackage[]{longtable} % Kun taulukko on pitk?
% Kappaleiden ulkoasu:
\setlength{\parindent}{0pt}
\setlength{\parskip}{2ex}
\linespread{1.3}
\sloppy
\setpapersize{A4} % Paperikoon valinta ja
% Tarkka marginaalien asetus vmargin paketilla
\setmarginsrb{35mm}{30mm}{30mm}{20mm}{0pt}{0mm}{12pt}{13mm}
\begin{document}
% ----------------- Tiivistelm? ------------------------------
% 150-200 sanaa pitk? tiivistelm?, jonka tulee mahtua yhdelle
% sivulle
Ohjelmistotuotanto pitää sisällään monen tyyppisiä ihmisiä. Ihmisillä on erilaiset persoonallisuustyypit, joita voidaan saada selville muun muassa MBTI:n avulla. MBTI:llä selvitetään, millaisia persoonallisuuspiirteitä ihmisellä on. Nämä piirteet voidaan jakaa neljään osaan: energisyys, tiedon saanti, päät?ksen teko sekä elämäntyyli. Ohjelmistotuotanto vetää puoleensa sellaisia ihmisiä, joiden persoonallisuustyyppi on sopiva kyseiselle alalle. Erityisesti ajatteluun perustuvat päätöksen tekijät ovat yleisiä yksilöitä ohjelmistotuotannossa, kun taas näiden vastakohdat ilmenevät ohjelmistotuotannossa harvemmin. Tietyn persoonallisuustyypin ihmiset sijoittuvat useimmiten tietynlaisille aloille ja työtehtäviin. Myös eri persoonallisuuspiirteet voivat joko heikentää tai parantaa sopivuutta tietynlaiseen työtehtävään. Tästä huolimatta, ohjelmistotuotanto vaatii monia erilaisia persoonallisuuspiirteitä omaavia henkilöitä työryhmiin, sillä eri näkökulmat ja monipuolisuus parantavat ohjelmiston laatua.
\end{document}
Welcome to TeX.SX! You should provide us with more information. epsfig is really, really outdated. And as a German I would say, that Ä,Ö,Ü are not restricted to Scandinavian languages ;-)
The encoding you select for inputenc depends on which encoding your editor uses, they should match. TeXworks for example, which is included in MikTeX, uses utf8 as the default encoding (IIRC).
Have you tried setting the file manually to a different encoding (eg. Unicode)? I had a similar problem with cyrillic characters compiled with XeLaTeX, and fixed it by changing the default file encoding to unicode. I'm using Windows though, so I'm not sure how relevant this is if you're a Linux user.
I'm using Windows as well. Could you explain how to set file manually to different encoding?
The fact that this compiles to me means that there's something more going on.
If you have your editor configured to use utf8 this works perfectly.
\documentclass{scrartcl}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[finnish]{babel} % Kieli: Suomi
\begin{document}
Ohjelmistotuotanto pitää sisällään monen tyyppisiä ihmisiä. Ihmisillä on
erilaiset persoonallisuustyypit, joita voidaan saada selville muun muassa
MBTI:n avulla. MBTI:llä selvitetään, millaisia persoonallisuuspiirteitä
ihmisellä on. Nämä piirteet voidaan jakaa neljään osaan: energisyys, tiedon
saanti, päät?ksen teko sekä elämäntyyli. Ohjelmistotuotanto vetää puoleensa
sellaisia ihmisiä, joiden persoonallisuustyyppi on sopiva kyseiselle
alalle. Erityisesti ajatteluun perustuvat päätöksen tekijät ovat yleisiä
yksilöitä ohjelmistotuotannossa, kun taas näiden vastakohdat ilmenevät
ohjelmistotuotannossa harvemmin. Tietyn persoonallisuustyypin ihmiset
sijoittuvat useimmiten tietynlaisille aloille ja työtehtäviin. Myös eri
persoonallisuuspiirteet voivat joko heikentää tai parantaa sopivuutta
tietynlaiseen työtehtävään. Tästä huolimatta, ohjelmistotuotanto vaatii
monia erilaisia persoonallisuuspiirteitä omaavia henkilöitä työryhmiin,
sillä eri näkökulmat ja monipuolisuus parantavat ohjelmiston laatua.
\end{document}
Wait a moment...Now if I changed it to \usepackage[utf8]{inputenc} and checked the first section (where I retyped all ä's and ö's) it shows them properly! I just have to retype every ä and ö letter now I guess? Will see if it works.
Yes, it does work now. I just have to retype every single ä and ö letter. But in all honesty, I'll gladly do that if it now works. Thank you so much for the help everyone. This has been bugging me so much while trying to work on the thesis.
Don't, just use find and replace, copy an ä and replace with a letter ä written by you (it seems silly, but the same happens if you compile, copy from the pdf and recompile).
@Gettingtiredofthis: Looks like your file contains a mix of UTF-8 and some other text encoding (most likely ISO-8859-1 or -15). There are tools to fix such messes (like, say, the Encoding::FixLatin Perl module), but if your editor is showing both of them correctly, you may find that simply copy-pasting the text into another program (say, the Stack Exchange editor) and back again will fix it.
The letter, which causes the error message
! LaTeX Error: Command \textcurrency unavailable in encoding T1.
is neither Ä nor Ö but ä:
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[ansinew]{inputenc}
\begin{document}
Ä Ö ä ö
\end{document}
And the output something like this
The reason is, that your input file is not encoded in ansinew, but UTF-8. If you want to continue with UTF-8, then use
\usepackage[utf8]{inputenc}
For an automatic encoding detection, see package selinput.
Like i said, utf8 doesn't work either. edit: apologies, didn't answer this post that I've tried utf8. :)
@Gettingtiredofthis What's the result of using selinput?
Not sure if I used it correctly. I just wrote: \usepackage{selinput}
\SelectInputMappings{
adieresis={ä},
} and it still gives the same error: ! Package inputenc Error: Unicode char \u8:� not set up for use with LaTeX.
@Gettingtiredofthis Then your input is UTF-8. The error message is a complete different error, maybe even unrelated to Scandinavian letters. For example, it can be caused by an non-break characters (fixed by \DeclareUnicodeCharacter{A0}{ } or \DeclareUnicodeCharacter{A0}{~}). Try to identify the problematic line and character. The error message shows the error line and a hex viewer might help in finding the problematic characters.
@Gettingtiredofthis: Perhaps some invisible char like a non-breaking space crept in, or perhaps you are inputing a file with another encoding.
The error seems to be at line 196, which has the first ä letter in the sentence.
Perhaps the ä is not an ä but an "a + combining accent". Delete it and retype it.
I retyped every word that had ä's or ö's in the first section, and it still gives the error on line 196.
@Gettingtiredofthis If I had your file, then I could check line 196.
@Gettingtiredofthis: You can use an editor like BabelPad to check for unusual chars.
@Gettingtiredofthis You should post a proper minimal (may be non) working example.
For the \textcurrency thing (it looks like a sputnik: ¤) you also need the package
\usepackage{textcomp}
in addition to the already mentioned packages
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc} % or \usepackage[latin1]{inputenc} when using 8bit encoding
EDIT: Addendum: From the conversation I oversee that your encoding might be messed up (utf8 reinterpreted as latin1 or Windows encoding). This situation is known as "mojibake" and there is a python codec to fix this on PyPI here: https://pypi.python.org/pypi/mysql-latin1-codec/2.0
This works for me under Emacs/Linux with utf8 encoding. If ansinew does not work for you, then utf8 is perhaps the correct option.
If the editor uses a different encoding this most be specified. I can't test ansinew, since none of my editors on Linux support this (or I just don't know how to change it) and I don't use Windows.
\documentclass[a4paper, 12pt]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{setspace}
\begin{document}
Der schnelle braune Fuchs springt über den faulen Hund
Äpfel -- apples
Öl -- oil
\end{document}
I've tried utf8 instead of ansinew.
@Gettingtiredofthis: And what was the result?
! Package inputenc Error: Unicode char \u8:� not set up for use with LaTeX.
@Gettingtiredofthis: Well, in this case, I assume, there is even more issue in your document
You might want to have a look at my answer to inputenc Error: Unicode char \u8: not set up for use with LaTeX -- the � looks like a generic failure/substitute symbol.
You can also produce umlauts without any additional packages by using the control sequence \". For example Universit\"at for 'Universität'.
| 28,893 |
https://stackoverflow.com/questions/73454096 | StackExchange | Open Web | CC-By-SA | 2,022 | Stack Exchange | CLR, FaneDuru, FunThomas, MarkAKE, Solar Mike, Storax, https://stackoverflow.com/users/15191265, https://stackoverflow.com/users/2233308, https://stackoverflow.com/users/4961700, https://stackoverflow.com/users/6600940, https://stackoverflow.com/users/7446760, https://stackoverflow.com/users/7599798 | English | Spoken | 968 | 2,143 | if-statement with two conditions is ignored
It´s probably a too easy question for a forum, but I´m kinda hard stuck and my prog skills are very limited. After submitting a userform in vba, I want the program to check if the user made a logic mistake. There are several CheckBoxes and a combination of selections is possible, but not all combinations are allowed. So I have written the following code to prevent the user from submitting the form with selecting two specific CheckBoxes.
But the program completely ignores this if-statement and no matter what CheckBoxes are selected, nothing changes.
If userform1.CheckBoxOption3.Value = True And userform1.CheckBoxOption7.Value = True Then
MsgBox "This Combination is not possible!", vbCritical
Exit Sub
End If
Am I missing something obvious?
Edit: Additional Code:
Private Sub CmdFertig_Click()
Worksheets("sheets1").Range("I22").Value = userform1.TextBox1.Value & "°"
Worksheets("sheets1").Range("I13").Value = userform1.TextBox2.Value & "°"
Worksheets("sheets1").Range("E17").Value = userform1.TextBox3.Value & "°"
If userform1.CheckBox1.Value = True Then
Worksheets("sheets1").Range("g24").Value = userform1.TextBox1.Value & "°"
End If
If userform1.CheckBox2.Value = False Then
Worksheets("sheets1").Range("f24").Value = ""
Worksheets("sheets1").Range("f25").Value = ""
End If
If userform1.CheckBox3.Value = True Then
Worksheets("sheets1").Range("g25").Value = "Wechselseitig"
End If
If userform1.CheckBox5.Value = True Then
Worksheets("sheets1").Range("g25").Value = "Einseitig"
End If
If userform1.CheckBox7.Value = True Then
Worksheets("sheets1").Range("h25").Value = "Im UZ voreilend"
End If
If userform1.CheckBox3.Value = True And userform1.CheckBox7.Value = True Then
MsgBox "This Combination is not possible!", vbCritical
Exit Sub
End If
userform1.Hide
Worksheets("sheets1").ExportAsFixedFormat _
Type:=xlTypePDF, _
Quality:=xlQualityStandard, _
IncludeDocProperties:=True, _
IgnorePrintAreas:=False, _
Filename:=userform1.Text1.Value & ".pdf", _
OpenAfterPublish:=True
Dim sPath As String
sPath = "O:\F1\completed\"
With Worksheets("sheets1")
.ExportAsFixedFormat _
Type:=xlTypePDF, _
Filename:=sPath & userform1.TextBox1.Value & ".pdf", _
Quality:=xlQualityStandard, _
IncludeDocProperties:=True, _
IgnorePrintAreas:=False, _
OpenAfterPublish:=False
End With
SetAttr sPath & userform1.TextBox1.Value & ".pdf", vbReadOnly
End Sub
is it still userform1 ?
yes, the entire program is based only on userform1
Then perhaps you should show the complete code. Or what values are actually in the checkboxes...
By default the CheckBox values are "false" so they are un-checked when starting the form.
How the above code is called? 1. Are you sure that the code is somehow called? Inside an event code? I mean, are you sure that it runs when you think it should? 2. Please, place a breakpoint on the first code line you show and run the code. If it stops on the breakpoint, move the cursor over the two involved chec boxes. What does it show for each of them? If not, check the way of calling, running the calling code line by line (pressing F8) and see what it does/does not...
Let me guess: You are using the infamous unload me-statement to close the form?
@FunThomas nope
But the user closes the userform by clicking the x on the top right, doesn't he?
@Storax no, the form is closed by the click of a button which, besides closing the form, puts values into excel cells depending on the checked boxes and filled textboxes
We need to see more of the code (the full sub, ideally). There must be a reason your code isn't running, as the test itself seems correct.
Ok, how do you instantiate the userform? It seems you do use the default instance what is normally a bad idea. You need to show more of your code.
@SolarMike I have posted the code. I still tried to answer the other questions. no need to be unfriendly
How do you call the userform?
Was being factual, good that you have added the code. Have you tried adding the breakpoints as suggested?
@Storax userform1. or do you mean something else?
If you use userform1 in the code of the userform1 itself it will call the default instance.
Userform1 is a userform. So, you could do sth like that Dim f as new Userform1 and then f.show. So, how do you call your userform? I strongly recommend not to use the default instance and especially do not refer to the default instance in userform code itself.
I have changed the term userform1 to an other name but nothing changed.
@SolarMike didnt work
As a first step like suggestd in my comments I would remove the references to the default instance in the code itself. Like written here
A UserForm is essentially a class module with a designer and a
VB_PredeclaredId attribute. That PredeclaredId means VBA is
automatically creating a global-scope instance of the class, named
after that class.
UserForm1.Show at the call site, where UserForm1 isn’t a local
variable but the “hey look it’s free” default instance, which means
you’re using an object without even realizing it (at least without
New-ing it up yourself) – and you’re storing state that belongs to a
global instance, which means you’re using an object but without the
benefits of object-oriented programming.
So removing all references to the default instance in the code might already help. For the posted code
Private Sub CmdFertig_Click()
Worksheets("sheets1").Range("I22").Value = TextBox1.Value & "°"
Worksheets("sheets1").Range("I13").Value = TextBox2.Value & "°"
Worksheets("sheets1").Range("E17").Value = TextBox3.Value & "°"
If CheckBox1.Value = True Then
Worksheets("sheets1").Range("g24").Value = TextBox1.Value & "°"
End If
If CheckBox2.Value = False Then
Worksheets("sheets1").Range("f24").Value = ""
Worksheets("sheets1").Range("f25").Value = ""
End If
If CheckBox3.Value = True Then
Worksheets("sheets1").Range("g25").Value = "Wechselseitig"
End If
If CheckBox5.Value = True Then
Worksheets("sheets1").Range("g25").Value = "Einseitig"
End If
If CheckBox7.Value = True Then
Worksheets("sheets1").Range("h25").Value = "Im UZ voreilend"
End If
If CheckBox3.Value = True And CheckBox7.Value = True Then
MsgBox "This Combination is not possible!", vbCritical
Exit Sub
End If
Hide
Worksheets("sheets1").ExportAsFixedFormat _
Type:=xlTypePDF, _
Quality:=xlQualityStandard, _
IncludeDocProperties:=True, _
IgnorePrintAreas:=False, _
Filename:=Text1.Value & ".pdf", _
OpenAfterPublish:=True
Dim sPath As String
sPath = "O:\F1\completed\"
With Worksheets("sheets1")
.ExportAsFixedFormat _
Type:=xlTypePDF, _
Filename:=sPath & TextBox1.Value & ".pdf", _
Quality:=xlQualityStandard, _
IncludeDocProperties:=True, _
IgnorePrintAreas:=False, _
OpenAfterPublish:=False
End With
SetAttr sPath & TextBox1.Value & ".pdf", vbReadOnly
End Sub
I also suggest to read about
VBA Userform
Addvanded Tips on Userform
This solved the problem, now the if-statement works. THANK YOU
| 344 |
https://stackoverflow.com/questions/66548184 | StackExchange | Open Web | CC-By-SA | 2,021 | Stack Exchange | Kevin Lu-MSFT, Max Morrow, The Vanilla Thrilla, WaitingForGuacamole, https://stackoverflow.com/users/1078251, https://stackoverflow.com/users/13464420, https://stackoverflow.com/users/14289654, https://stackoverflow.com/users/14450954 | English | Spoken | 602 | 1,146 | Azure Pipelines - Packages are using versioning from pre-release task rather than release task despite pre-release task not running
Basically, I have a pipeline that is pushing packages to a feed. I have it set to use environment variables to create a pre-release package version if the source is development branch. Otherwise, it should read the versioning from the .csproj file if the source branch is master. According to the logs, the correct steps are running. However, when I get to the push step, I notice in the logs that it's pushing a pre-release rather than the release to the feed despite the pre-release task not even running. What's going on and how can I fix this? Here are the tasks in question:
variables:
buildConfiguration: 'Release'
isDev: $[eq(variables['Build.SourceBranch'], 'refs/heads/development')]
isMain: $[eq(variables['Build.SourceBranch'], 'refs/heads/master')]
- task: DotNetCoreCLI@2
displayName: "Dotnet Pack"
condition: eq(variables.isMain, true)
inputs:
command: 'pack'
arguments: '--configuration $(buildConfiguration)'
packagesToPack: '**/*.csproj'
nobuild: true
versioningScheme: 'off'
- task: DotNetCoreCLI@2
displayName: "Dotnet Pack (pre-release)"
condition: eq(variables.isDev, true)
inputs:
command: 'pack'
arguments: '--configuration $(buildConfiguration)'
packagesToPack: '**/*.csproj'
nobuild: true
versioningScheme: byEnvVar
versionEnvVar: PackageVersion
- task: NuGetCommand@2
displayName: 'Nuget Push to Feed'
inputs:
command: 'push'
feedsToUse: 'select'
packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg'
nuGetFeedType: 'internal'
publishVstsFeed: '*cleared*'
versioningScheme: 'off'
allowPackageConflicts: true
I can't see how isMain and isDev are calculated. It would seem based on your pipeline that for this to work, those values have to be mutually exclusive. Is it possible that you're running into a condition where there's not the case? If you add a pwsh or script task above this that dumps out the values of those variables, are you running into a case where they're both true?
I added the variables.
It might be useful to see the log output for the push?
Based on the logs, it's skipping the pre-release task and executing the Dotnet Pack task but when I go to the Nuget Push to Feed step, I can clearly see it says that's it's pushing the pre-release version of the .nupkg.
Understood, it's just that I can't offer too much more insight without actually seeing the log output (might not even then, but I'm flying blind at the moment).
@TheVanillaThrilla That's interesting. I can't quite tell what the issue is yet. Would you be kind enough to post your logs and your full YAML pipeline?
Hi @TheVanillaThrilla. I have tested your yaml sample and reproduce the same issue. This issue is related with the variable name. Please refer to my answer. Feel free to let me know if it could solve your issue.
when I get to the push step, I notice in the logs that it's pushing a pre-release rather than the release to the feed despite the pre-release task not even running.
Based on my test, I could reproduce this issue when I run the pipeline with your Yaml Pipeline sample.
The root cause of this issue is the name of the environment variable PackageVersion.
When the environment variable name is PackageVersion, this issue will exist.
To solve this issue, you could change the environment variable name.
- task: DotNetCoreCLI@2
displayName: "Dotnet Pack (pre-release)"
condition: eq(variables.isDev, true)
inputs:
command: 'pack'
arguments: '--configuration $(buildConfiguration)'
packagesToPack: '**/*.csproj'
nobuild: true
versioningScheme: byEnvVar
versionEnvVar: Package1
Then it will work fine.
Sorry Kevin, just saw this response. I haven't had a chance to test this, but why would the name of the environment variable matter? Is it a pre-defined variable name or something?
@TheVanillaThrilla According to my test, this variable name will force to override the version number in the file. You could try my solution in the answer. If you change the variable name, it will work fine.
| 38,177 |
https://da.wikipedia.org/wiki/Martin%20Johs.%20M%C3%B8ller | Wikipedia | Open Web | CC-By-SA | 2,023 | Martin Johs. Møller | https://da.wikipedia.org/w/index.php?title=Martin Johs. Møller&action=history | Danish | Spoken | 63 | 173 | Martin Johannes Møller (født 19. oktober 1982 i Odense) er en dansk forfatter og lydbogsindlæser.
Søn af skuespilleren og indlæser-kollegaen Troels Møller Pedersen.
Bibliografi
Martin Johannes Møller har udgivet følgende bøger:
"Kill your darlings : (el portræt af en ung mand der elsker)" 2005
Flytning, s.m Christian Bjoljahn, 28/6, (2009)
Skuespilleren der forsvandt, Gyldendal (2010)
Referencer
Romanforfattere fra Danmark
Lydbogsindlæsere
Personer fra Odense | 36,635 |
https://tex.stackexchange.com/questions/250771 | StackExchange | Open Web | CC-By-SA | 2,015 | Stack Exchange | Sam Mason, egreg, https://tex.stackexchange.com/users/16433, https://tex.stackexchange.com/users/4427 | English | Spoken | 366 | 941 | handling of `--` in minted
I'm using minted for pretty printing console output and have just noticed that double hyphens, i.e. --, for program options are getting turned in en-hyphens, i.e. –. A MWE is:
\documentclass{memoir}
\usepackage{minted}
\usepackage{fontspec}
\defaultfontfeatures{Ligatures=TeX}
\setmonofont{Courier}
\begin{document}
\begin{minted}{bash}
0-1--2---3
\end{minted}
\end{document}
and I see:
rather than what I'd hope for, a number of individual hyphens.
While making the MWE, I've realised that it's probably to do with an interaction with the fontspec option Ligatures=TeX, but I can't find a reliable way to selectively disable the option—I can do it inside XeLaTeX, but not luaLaTeX. Is it best just to ensure the mono font is loaded without Ligatures=TeX?
Your conjecture is true:
\documentclass{memoir}
\usepackage{minted}
\usepackage{fontspec}
% disable the default 'Ligatures=TeX' option
\defaultfontfeatures{}
\setmonofont{Courier}
\begin{document}
\begin{minted}{bash}
0-1--2---3
\end{minted}
\end{document}
If you want to have ligatures in running text also for the monospaced font, but not in minted, use a new font family. A small hack is necessary for retrieving the correct font family name.
\documentclass{memoir}
\usepackage{minted}
\usepackage{fontspec}
\setmainfont{TeX Gyre Termes}
\setmonofont{Courier}[Ligatures=TeX]
\defaultfontfeatures{}
\newfontfamily\noligsmonofamily[NFSSFamily=noligsmonofamily]{Courier}
\setminted{fontfamily=noligsmonofamily}
\begin{document}
This---has---ligatures
\texttt{This---has---ligatures}
\begin{minted}{bash}
0-1--2---3
\end{minted}
\end{document}
Yes, I know it's true. I really wanted to be able to have Ligatures=TeX everywhere for compatibility.
@SamMason Just issue \defaultfontfeatures{} before defining \setmonofont; the fonts already loaded will respect the \defaultfontfeatures options in force at definition time; the option Ligatures=TeX is implicit at startup, with the most recent version of fontspec.
I was hoping I could have the option on most of the time and just have it disabled selectively within minted blocks. Maybe I should just create a version of the mono font with TeX ligatures off and just have minted specifically use it?
@SamMason That would indeed be the best choice. I'll add some code later.
@SamMason Solution on line
wow, that's a bit more fiddly than I expected, but thanks!
@SamMason I wish fontspec provided a hook for the allocated family name after doing \newfontfamily. Unfortunately, fancyvrb (which manages the key fontfamily) only accepts an explicit family name as value, so a hypothetical fontfamily=\noligsmono would issue errors.
I've just had a play, and seen you can do: \newfontfamily\mintedfont{Courier}[NFSSFamily=mintedfamily] \setminted{fontfamily=mintedfamily}
@SamMason Interesting; although it's the reverse of what I did.
| 47,414 |
https://sv.wikipedia.org/wiki/Tamopsis%20brisbanensis | Wikipedia | Open Web | CC-By-SA | 2,023 | Tamopsis brisbanensis | https://sv.wikipedia.org/w/index.php?title=Tamopsis brisbanensis&action=history | Swedish | Spoken | 30 | 59 | Tamopsis brisbanensis är en spindelart som beskrevs av Baehr 1987. Tamopsis brisbanensis ingår i släktet Tamopsis och familjen Hersiliidae. Inga underarter finns listade i Catalogue of Life.
Källor
Spindlar
brisbanensis | 39,085 |
https://serverfault.com/questions/434891 | StackExchange | Open Web | CC-By-SA | 2,012 | Stack Exchange | Especially Yours, Hennes, Krish R, Nic, RPost Inc, Taki Jeden, apack, bitsentinel-cell, heno72, https://serverfault.com/users/139669, https://serverfault.com/users/91359, https://serverfault.com/users/989385, https://serverfault.com/users/989386, https://serverfault.com/users/989387, https://serverfault.com/users/989389, https://serverfault.com/users/989462, https://serverfault.com/users/989816, https://serverfault.com/users/989884, https://serverfault.com/users/991198, https://serverfault.com/users/994331, jay, pareshverma91 | English | Spoken | 582 | 790 | List all devices of system
In my understanding linux can list only those devices which it can understand, i.e. for which the drivers have been installed. I think lspci is the command for that.
But how can one figure out if there exists some device in the system for which the drivers are not installed and perhaps some hint about what that device is for and what driver would suffice for it.
I would like to know this info so as to be able to recompile my linux kernel to a minimum and would like to avoid a hit and trial approach.
No. lspci shows all devices. Regardless of drivers.
@Hennes So how is it able to output the device name string, if it can't talk to the device in the absence of driver?
Your computer does not need a specific driver just to 'ask' a device for its ID. There is a standarised way for the OS to do this query. Once it knows which device it is it can select a driver to talk to it. No such driver means no working hardware, but it is still able to list which hardware you got.
lspci will do the trick as said by several others.
Some additional clarification:
Every modern bus-interface (Vesa Local Bus, PCMCIA, CardBus, PCI, PCI-X, PCI-e, Thurderbolt, IDE, ATAPI, SATA, USB, Firewire, just to name a few that come to mind) defines a set of low-level probe commands so the OS can detect which devices (if any) are present on that bus.
Such commands return a device-id to the OS. The OS then compares this id with the id's that the drivers "advertises" as id's that they feel capable of handling.
This is a necessity as otherwise the OS would have no way to determine what is present in the machine. If the OS can't tell what is there, it has no way of matching a device with the required driver.
(The above is true for any modern OS. Linux, Windows and OSX do exactly the same thing.)
Back to Linux:
The drivers for the OS to do this are part of the core-drivers for the various interface-buses that need to be present in the kernel (or as a loadable module).
Of course: Any bus-interface/device-drivers required to boot and load the root file-system need to be in the kernel at boot-time. Anything else can be a module if you want to keep the size of the kernel down, or omitted altogether if such hardware isn't in the system at all.
Typical first-time mistake is to make ALL file-sytem drivers modules. You will need at least 1 of them to be able to load the root-filesystem.
lspci -v will show the connected devices, even if there's no corresponding driver.
So how is it able to output the device name string, if it can't talk to the device in the absence of driver?
It gets a long number from the device. Part of that it manufacturer ID (e.g. all intel PCI devices start with 8086 as their ID), part of it is the type of card. This last number can be looked up in a table. This table is just a list of numbers, nothing more.
I also like the lshw on those distributions to offer it.
Lots of good information about your CPUs, memory slots, USB slots, disks, and more.
If you want extended information of all hardware, you can use dmidecode command. It dumps the DMI table contents.
| 30,524 |
https://stackoverflow.com/questions/69990149 | StackExchange | Open Web | CC-By-SA | 2,021 | Stack Exchange | Anand Sowmithiran, Peter Bons, https://stackoverflow.com/users/14973743, https://stackoverflow.com/users/932728 | English | Spoken | 306 | 400 | Getting time discrepancy in Application Insight and Postman
Context: During performance evaluation we have noticed that there is a discrepancy in the response time between Postman and Application Insight.
During debugging we found that the response time given obtained from Postman Vs Application Insight are different for the same transaction. We noticed is for different transactions. Why it is so?
Current Configuration: We have application insight for an application which is running within an app service and "Adaptive Sampling" is enabled for Application insight.
Note: We are tracing the transaction with tracing ID.
Comparisions Chart:
Smaller Evaluation:
Medium Evaluation:
When the system is under stress the response time goes to min on postman, but in application insight the response time are change drastically.
May be the difference in the response time is lesser but when the number of transactions is more and when we see the 95th (refer the example below) and 99th percentile the game completely changed. Any suggestion on this? Am I missing something?
For example:
Postman Result:
Application Insight:
AI doesn't take into account the actual latency of sending the request to the api and getting the response back. It can only measure the time it takes the api to create a response.
As @PeterBons mentioned, the time you'd see in App Insight is the total execution time on the azure side, it does not include the time taken for the response to reach over the network to a client side app like Postman
Posting the suggestion provided by Peter-Bonsas an answer so that it will be helpful for other community members.
From the below screenshot application insights won't take the actual latency of sending the request to the api and getting the response back. The time which we will be seeing in app insights is total execution time on the azure side
| 27,353 |
https://sh.wikipedia.org/wiki/Nueva%20Independencia%2C%20Jiquipilas | Wikipedia | Open Web | CC-By-SA | 2,023 | Nueva Independencia, Jiquipilas | https://sh.wikipedia.org/w/index.php?title=Nueva Independencia, Jiquipilas&action=history | Serbo-Croatian | Spoken | 56 | 153 | Nueva Independencia je naselje u Meksiku, u saveznoj državi Chiapas, u opštini Jiquipilas.
Prema proceni iz 2013. godine u naselju je živelo 450 stanovnika. Naselje se nalazi na nadmorskoj visini od 607 m.
Vidite još
Meksiko
Administrativna podjela Meksika
Popis gradova u Meksiku
Reference
Literatura
Vanjske veze
Naselja u opštini Jiquipilas, Čijapas
Wikiprojekat geografija/Naselja u Meksiku | 35,448 |
https://zh.wikipedia.org/wiki/%E6%B2%B3%E5%8E%9F%E7%94%BA%E7%AB%99%20%28%E5%AE%AE%E5%9F%8E%E7%B8%A3%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | 河原町站 (宮城縣) | https://zh.wikipedia.org/w/index.php?title=河原町站 (宮城縣)&action=history | Chinese | Spoken | 30 | 407 | 河原町站()是一個位於日本宮城縣仙台市若林區河原町一丁目,屬於仙台市地下鐵南北線的鐵路車站。車站編號是N13。
歷史
1987年(昭和62年)7月15日:仙台市地下鐵南北線開通,地下鐵河原町站開業。
2009年(平成21年)11月14日:設立月台閘門。
車站構造
島式月台1面2線的地底車站。
月台配置
使用情況
2017年度(平成29年度)
1日平均上車人數:5,260人
若林區內中乘客人數最多。
一日平均上車人次(單位:人次)
相鄰車站
仙台市交通局(仙台市地下鐵)
■南北線
愛宕橋(N12)-河原町(N13)-長町一丁目(N14)
仙台市電(廢線)
長町線
舟丁-河原町-廣瀨橋
參考資料
外部連結
河原町站 - 仙台市交通局
若林區鐵路車站
waramachi
南北線車站 (仙台市地下鐵)
1987年啟用的鐵路車站
長町線車站 | 45,262 |
https://ceb.wikipedia.org/wiki/Mycosylva%20reticulata | Wikipedia | Open Web | CC-By-SA | 2,023 | Mycosylva reticulata | https://ceb.wikipedia.org/w/index.php?title=Mycosylva reticulata&action=history | Cebuano | Spoken | 53 | 115 | Kaliwatan sa uhong ang Mycosylva reticulata. sakop sa ka-ulo nga Ascomycota, ug Una ning gihulagway ni Robert Archibald Samson ug Hintikka ni adtong 1974. Ang Mycosylva reticulata sakop sa kahenera nga Mycosylva, ka-ulo nga Ascomycota, ug kaginharian nga abungawg-uhong. Walay nalista nga matang nga sama niini.
Ang mga gi basihan niini
Abungawg-uhong
Mycosylva | 24,243 |
https://en.wikipedia.org/wiki/Pauline%20Guichard | Wikipedia | Open Web | CC-By-SA | 2,023 | Pauline Guichard | https://en.wikipedia.org/w/index.php?title=Pauline Guichard&action=history | English | Spoken | 77 | 148 | Pauline Guichard (born 14 November 1988, in Colombes) is a French chess player and an International Master. She won the Women's section of the 2018 and 2019 French Chess Championship.
She participated in the 2010 Chess Olympiad in Khanty-Mansiysk, the 2014 Chess Olympiad, and the 2018 Chess Olympiad.
References
External links
Pauline Guichard chess games at 365Chess.com
Chess woman grandmasters
1988 births
Living people
Sportspeople from Colombes
Chess Olympiad competitors
French female chess players
French chess players | 14,066 |
https://ceb.wikipedia.org/wiki/Hillene%20%28bungtod%20sa%20Noruwega%2C%20Sogn%20og%20Fjordane%20Fylke%2C%20Naustdal%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Hillene (bungtod sa Noruwega, Sogn og Fjordane Fylke, Naustdal) | https://ceb.wikipedia.org/w/index.php?title=Hillene (bungtod sa Noruwega, Sogn og Fjordane Fylke, Naustdal)&action=history | Cebuano | Spoken | 191 | 323 | Alang sa ubang mga dapit sa mao gihapon nga ngalan, tan-awa ang Hillene.
Bungtod ang Hillene sa Noruwega. Nahimutang ni sa munisipyo sa Naustdal ug lalawigan sa Sogn og Fjordane Fylke, sa habagatan-kasadpang bahin sa nasod, km sa amihanan-kasadpan sa Oslo ang ulohan sa nasod. metros ibabaw sa dagat kahaboga ang nahimutangan sa Hillene.
Ang yuta palibot sa Hillene kasagaran kabungtoran, apan sa kasadpan nga kini mao ang kabukiran. Ang kinahabogang dapit sa palibot dunay gihabogon nga ka metro ug km sa kasadpan sa Hillene. Dunay mga ka tawo kada kilometro kwadrado sa palibot sa Hillene may kaayo gamay nga populasyon. Ang kinadul-ang mas dakong lungsod mao ang Førde, km sa habagatan sa Hillene. Hapit nalukop sa durowan ug kabugangan ang palibot sa Hillene. Sa rehiyon palibot sa Hillene, mga bungtod, busay, ug mga kalapukan talagsaon komon.
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 Sogn og Fjordane Fylke
Kabukiran sa Noruwega nga mas taas kay sa 500 metros ibabaw sa dagat nga lebel
sv:Hillene (kulle i Norge, Sogn og Fjordane fylke, Naustdal) | 35,776 |
https://stackoverflow.com/questions/66554052 | StackExchange | Open Web | CC-By-SA | 2,021 | Stack Exchange | Agney, axtck, gustavomm19, https://stackoverflow.com/users/12378923, https://stackoverflow.com/users/14199654, https://stackoverflow.com/users/4374566 | English | Spoken | 130 | 171 | React is compiling VERY slow in Visual Studio Code
I am working on a React project on Visual Studio Code and it hasn't been working well since a week ago. It takes literally between 5 to 15 minutes to compile when I make changes. Not every time I make a changes, but it happens VERY often. Also, it takes like 15 minutes or more to start the development server.
I am using VSC version 1.54.1 and Node.js version 15.4.0.
I just can't work like that. Please somebody help me :(
It would require more information on how to reproduce your problem and what your current setup is
Do you have auto save on?
What information do you need? I dont have auto save on, I manually save with ctrl G
| 47,908 |
https://eo.wikipedia.org/wiki/%2831881%29%202000%20FL15 | Wikipedia | Open Web | CC-By-SA | 2,023 | (31881) 2000 FL15 | https://eo.wikipedia.org/w/index.php?title=(31881) 2000 FL15&action=history | Esperanto | Spoken | 47 | 135 | {{DISPLAYTITLE: (31881) 2000 FL15}}
(31881) 2000 FL15 estas marsrenkonta asteroido, malkovrita la far'de la teamo de la astronomia kampanjo "LINEAR" (Lincoln Near-Earth Asteroid Research) elde la situejo de Socorro de la Laboratorio Lincoln (Nov-Meksiko, Usono).
Eksteraj ligiloj
Marsrenkontaj asteroidoj
Malkovrita de LINEAR
Astronomiaj objektoj malkovritaj en 2000 | 4,736 |
https://cs.wikipedia.org/wiki/Vojensk%C3%A9%20vzdu%C5%A1n%C3%A9%20s%C3%ADly%20Rusk%C3%A9%20federace | Wikipedia | Open Web | CC-By-SA | 2,023 | Vojenské vzdušné síly Ruské federace | https://cs.wikipedia.org/w/index.php?title=Vojenské vzdušné síly Ruské federace&action=history | Czech | Spoken | 1,364 | 4,346 | Vojenské vzdušné síly Ruské federace () jsou součástí Ozbrojených sil Ruské federace. Vznikly v roce 1992 rozdělením Vojenských vzdušných sil SSSR. S přibližně 4150 letadly jde o druhé největší vzdušné síly na světě. V současné době jsou pod vedením generálporučíka Sergeje Dronova.
Letectvo bylo vytvořeno z částí bývalého sovětského letectva po rozpadu Sovětského svazu v letech 1991-92. Ustanovení ruského ministerstva obrany Borisem Jelcinem 7. května 1992 může být prakticky považováno jako den založení nového letectva.
Ruské námořnictvo má svou vlastní leteckou odnož - ruské námořní letectvo, což je dědic bývalého sovětského námořního letectva.
1. srpna 2015 se Vojenské vzdušné síly Ruské federace spolu se silami protivzdušné a protiraketové obrany a takzvanými kosmickými vojsky sloučily do jedné armádní složky, nazvané Vzdušně-kosmické síly Ruské federace. Ministr obrany, generál Sergej Šojgu, jako důvody pro sloučení zdůraznil potřebu vyšší účinnosti a logistické podpory. Velitelství se nachází v Moskvě.
Struktura leteckých jednotek
6. armáda vzdušných sil a protivzdušné obrany (Petrohrad)
105. smíšená letecká divize:
47. samostatný smíšený letecký pluk - Su-24MR, Su-34, An-30
14. gardový stíhací letecký pluk - MiG-29SMT, MiG-29UB ()
159. gardový stíhací letecký pluk - Su-27P, Su-27UB (Besovec, Karélie)
98. samostatný gardový smíšený letecký pluk - Su-24M, Su-24MR, MiG-31BM (), Murmanská oblast)
790. stíhací letecký pluk - MiG-31BM, MiG-31BSM, MiG-31DZ, Su-27S, Su-27P, Su-27UB (, Tverská oblast)
33. samostatný transportní smíšený letecký pluk - An-12, An-26, An-30, An-72, Tu-134, Mi-8, L-39 (), Petrohrad)
378. letecká základna armádního letectva (2. kategorie) - Mi-8AMTŠ, Mi-24, Mi-28N (Vjazma, Smolenská oblast)
549. letecká základna armádního letectva - Mi-8AMTŠ, Mi-24 (Puškin, Petrohrad)
Letecká skupina 549. letecké základny armádního letectva - Mi-35, Mi-8 (Pribylovo, Leningradská oblast)
800. letecká základna (2. kategorie) - Il-76, An-12, Tu-134, Tu-154, Mi-8 (Moskva / Čkalovskij)
15. brigáda armádního letectva - Mi-8AMTŠ, Mi-28N, Mi-35M, Ka-52 (Veretie, Pskovská oblast)
1080. smíšená letecká základna - Mi-8, An-24, An-26, An-30, An-72 (, Leningradská oblast)
14. armáda vzdušných sil a protivzdušné obrany (Jekatěrinburg)
21. gardová smíšená letecká divize (Čeljabinsk):
2.smíšený letecký pluk - Su-24M, Su-24MR (Šagol)
764. smíšený letecký pluk - MiG-31, MiG-31B, MiG-31DZ (Bolšoje Savino)
712. stíhací letecký pluk - MiG-31BM (Dalnyj, Krasnojarský kraj)
390. samostatný dopravní smíšený letecký pluk - Tu-134, Tu-154, An-12, An-26, Mi-8AMTŠ, Il-18 (Jekatěrinburg)
999. letecká základna - Su-25, Su-25SM, Mi-8, Orlan-10 (Kant, Kyrgyzstán)
48. letecká základna armádního letectva (2. kategorie) - Mi-8, Mi-26, Mi-24 (Kamensk-Uralskij, Sverdlovská oblast)
Letecká skupina 48. letecké základny armádního letectva - Mi-8, Mi-26 ()
562. letecká základna armádního letectva (2. kategorie) - Mi-8AMTŠ, Mi-24P (Novosibirsk)
11. armáda vzdušných sil a protivzdušné obrany (Chabarovsk)
303. smíšená letecká divize (Komsomolsk na Amuru / Churba, Chabarovský kraj):
22. stíhací letecký pluk - Su-27SM, MiG-31BS, MiG-31DZ, Su-30M2 (Centralnaja Uglovaja, Přímořský kraj)
23. stíhací letecký pluk - Su-27SM, Su-30M2, Su-35 (Komsomolsk na Amuru / Dziomgi, Chabarovský kraj)
277. bombardovací letecký pluk - Su-24M (Komsomolsk na Amuru / Churba, Chabarovský kraj)
257. samostatný smíšený letecký pluk - An-12, An-26, Il-18 / Il-20 / Il-22 (Chabarovsk)
18. gardový útočný letecký pluk - Su-25SM (Černigovka, Přímořský kraj)
120. smíšený letecký pluk - MiG-29, Su-25SM, Su-30SM (Domna, Zabajkalský kraj)
439. letecká základna armádního letectva - Mi-24/35, Mi-8 (Čita, Zabajkalský kraj)
573. letecká základna armádního letectva (2. kategorie) - Mi-24/35, Mi-8AMTŠ, Mi-26, Ka-52 (Chabarovsk)
Samostatný vrtulníkový roj 573. letecké základny armádního letectva - Mi-26, Mi-8 (Garovka, Chabarovský kraj)
575. letecká základna armádního letectva (2. kategorie) - Ka-52, Mi-8AMTŠ (Černigovka, Přímořský kraj)
4. armáda vzdušných sil a protivzdušné obrany (Rostov nad Donu)
1. gardová smíšená letecká divize:
31. stíhací letecký pluk - MiG-29, Su-30SM (Millerovo, Rostovská oblast)
3. gardový stíhací letecký pluk - Su-27SM3, Su-27S, Su-27P, Su-30M2, Ka-27 (Krymsk, Krasnodarský kraj)
559. bombardovací letecký pluk - Su-34 (Morozovsk, Rostovská oblast)
368. útočný letecký pluk - Su-25, Su-25SM (Buďonnovsk, Stavropolský kraj)
30. samostatný dopravní smíšený letecký pluk - An-12BK, An-26, Il-20M, Mi-26T3, Mi-26T, Mi-26 (Rostov na Donu. Rostovská oblast)
4. smíšená letecká divize
11. samostatný smíšený letecký pluk - Su-24MR (Marinovka, Volgogradská oblast)
960. útočný letecký pluk - Su-25, Su-25SM (Primorsko-Achtarsk, Krasnodarský kraj)
27. smíšená letecká divize (Sevastopol):
37. smíšený letecký pluk - Su-24M, Su-25 (Gvardejskoje, Krym)
38. stíhací letecký pluk - Su-27SM, Su-27P, Su-30M2 (Belbek, Sevastopol)
39. vrtulníkový pluk - Mi-8, Mi-35, Mi-24, Mi-26 (Džankoj, Krym)
3624. letecká základna - Mig-29, Mig-29UB, Mi-24P, Mi-8, Mi-8MTP1 (Erebuni, Arménie)
55. samostatný vrtulníkový pluk - Mi-28N, Mi-35M, Mi-8AMTŠ (Korenovsk, Krasnodarský kraj)
16. brigáda armádního letectva - Mi-8AMTŠ, Mi-26, Mi-28, Mi-8MTPR-1 (Zernograd, Rostovská oblast)
535. samostatný transportní smíšený letecký pluk - Tu-134, An-12, An-26, L-410 (Rostov na Donu)
487.samostatný vrtulníkový pluk - Mi-8, Mi-24, Mi-28N, Mi-35M (Buďonnovsk, Stavropolský kraj)
3661. letecká základna (Mozdok, Republika Severní Osetie)
45. armáda vzdušných sil a protivzdušné obrany (Severomorsk)
98.samostatný smíšený letecký pluk - Su-24M, Su-24MP, Mi-24, Mig-31BM (Mončegorsk, Murmanská oblast)
letecká komandatura letiště Amderma-2 (Rogačevo, souostroví Nová země)
letecká komandatura letiště Nagurskoje (ostrov Alexandřina země, souostroví Země Františka Josefa)
letecká komandatura letiště Srednij (ostrov Srednij, souostroví Sedova)
letecká komandatura letiště Temp (ostrov Kotělnyj, Novosibiřské ostrovy)
Velitelství vojenského transportního letectva (Moskva)
12. vojenská transportní letecká divize - An-124, An-124-150, Il-76MD, An-22 (Migalovo, Tverská oblast):
196. vojenský transportní letecký pluk - Il-76, Il-78, An-22, An-26, An-12 (Migalovo, Tverská oblast)
117. vojenský transportní letecký pluk - Il-76MD, An-12 (Orenburg)
144. letecký pluk letadel včasné výstrahy - A-50, Il-76MD (Ivanovo)
334. vojenský transportní letecký pluk - Il-76MD, Il-78 (Pskov)
708. vojenský transportní letecký pluk - Il-76MD (Taganrog, Rostovská oblast)
566. vojenský transportní letecký pluk - An-124, Il-76MD (Sesča, Brjanská oblast)
Velitelství dálkového letectva (Moskva)
22. gardová těžká bombardovací letecká divize
gardový těžký bombardovací letecký pluk - Tu-160, Tu-95MS (Engels, Saratovská oblast)
52. gardový těžký bombardovací letecký pluk - Tu-22M3 (Šajkovka, Kalužská oblast)
326. těžká bombardovací divize
těžký bombardovací letecký pluk - Tu-95MS (Ukrajinka, Amurská oblast)
těžký bombardovací letecký pluk - Tu-22M3 (Bělaja,Irkutská oblast)
40. smíšený letecký pluk - Tu-22M3 (Olenyja, Murmanská oblast)
203. gardový letecký pluk tankovacích letadel - Il-78 (Ďagilevo, Rjazaňská oblast)
43. gardové centrum bojové přípravy a přeškolování letového personálu dálkového letectva (Rjazaň, Rjazaňská oblast)
27. smíšený letecký pluk - Tu-134UBL, An-26, An-12 (Tambov, Tambovská oblast)
Velitelství vojenských vzdušných sil (Moskva)
17. samostatná transportní letka (Mirnij, Archangelská oblast)
929. státní letové testovací centrum Ministerstva obrany (Achťubinsk, Astrachaňská oblast)
3. letka 929. státního letového testovacího centra Ministerstva obrany (Čkalovskij, Moskevská oblast)
4. státní centrum bojové přípravy a přeškolování letového personálu Vojenských vzdušných sil Ruské federace (Lipeck, Lipecká oblast)
Letecká skupina 4. státního centra bojové přípravy a přeškolování letového personálu Vojenských vzdušných sil Ruské federace (Tambov, Tambovská oblast)
Výzkumná a instruktorská smíšená letecká skupina (Lipeck, Lipecká oblast)
Oddíl ochrany letecké techniky (Lipeck, Lipecká oblast)
Gardová letka 4. státní centrum bojové přípravy a přeškolování letového personálu Vojenských vzdušných sil Ruské federace (Savaslejka, Nižněnovgorodská oblast)
Gardové centrum ukázek letecké techniky (Kubinka, Moskevská oblast)
344. centrum bojové přípravy a přeškolování letového personálu (Toržok, Tverská oblast)
92. výzkumná a instruktorská vrtulníková letka zvláštního určení (Klin, Moskevská oblast)
Letecká skupina 344. centra bojové přípravy a přeškolování letového personálu (Toržok, Tverská oblast)
Letecká skupina "Berkuty" (Toržok, Tverská oblast)
610. centrum bojové přípravy a přeškolování letového personálu vojenského transportního letectva (Ivanovo, Ivanovská oblast)
Centrum bojové přípravy a bojového použití Vojenských vzdušných sil (Ašuluk, Astrachaňská oblast)
2. centrální výzkumný ústav Ministerstva obrany Ruské federace (Tver, Tverská oblast)
30. centrální výzkumný ústav Vojenských vzdušných sil Ruské federace (Šelkovo, Moskevská oblast)
Výzkumné centrum údržby a oprav letecké techniky (Ljubercy, Moskevská oblast)
Vojenské vzdělávací a vědecké centrum Vojenských vzdušných sil (Voroněž, Voroněžská oblast)
Krasnodarská větev Vojenského vzdělávacího a vědeckého centra Vojenských vzdušných sil (Krasnodar, Krasnodarský kraj)
Syzraňská větev Vojenského vzdělávacího a naučného centrum Vojenských vzdušných sil (Syzraň, Samarská oblast).
Centrum leteckého výcviku (Voroněž, Voroněžská oblast)
357. výcvikové centrum Vojenských vzdušných sil (Bělgorod)
116. výcvikové centrum bojové přípravy (Ašuluk, Astrachaňská oblast)
221. výcvikové letecká základna (Šagol, Čeljabinská oblast)
339. výcviková letecká základna (Sokolskij, Saratovská oblast)
Krasnodarské vyšší vojenské letecké učiliště letců (Krasnodar, Krasnodarský kraj)
195. výcviková letecká základna (Kušjovskaja, Krasnodarský kraj)
213. výcviková letecká základna (Kotelnikovo, Volgograrská oblast)
192. gardová výcviková letecká základna (Tichoreck, Krasnodarský kraj)
200. výcviková letecká základna (Armavir, Krasnodarský kraj)
272. výcviková letecká základna (Majkop, Krasnodarský kraj)
209. výcviková letecká základna (Borisoglebsk, Voroněžská oblast)
219. výcviková letecká základna (Mičurinsk, Tambovská oblast)
205. výcviková letecká základna (Balašov, Saratovská oblast)
217. výcviková letecká základna (Rtiševo, Saratovská oblast)
Seznam letadel
Odkazy
Reference
Externí odkazy
Neoficiální web
Fotky
Vojenská letectva
Vojenské letectvo Ruské federace
Vojenské jednotky založené roku 1992 | 21,516 |
https://stackoverflow.com/questions/31125357 | StackExchange | Open Web | CC-By-SA | 2,015 | Stack Exchange | Shadow, https://stackoverflow.com/users/524695 | English | Spoken | 378 | 811 | NW JS - Download and Save a File from URL
I recently started developing Desktop Apps using NW.JS and I need to download a file from a URL (http://someurl.org/file.zip) and I manage to save the file but it seems corrupted or malformed and I can't open the zip or unzip it.
I'm using jQuery to download the file and the 'fs' module from Node.JS to save it.
Here is the ajax request:
module.exports.download = function (jQuery, url) {
return jQuery.ajax({
url : url,
timeout : 1000000
});
};
Here is the rest:
$('#btnUpdateClient')
.click(function () {
ClientDownload
.download($, addresses.CLIENT_URL)
.complete(function (xhr, status) {
console.log(xhr);
fs.writeFile('./files/staClient.zip', xhr.responseText, function (err) {
if(err) {
alert('error!');
console.log(err);
} else {
alert('file Saved!');
}
});
});
});
Something is clearly missing, AND the .zip file is 3.8 MB but when I fs.writeFile() the file ends up being 7.3 MB
I'm fairly new to NW.JS, any advice?
If the progress of download is important for you, Use this:
var http = require('http');
var fs = require('fs');
var req = http.get('http://someurl.org/file.zip', function (res) {
var fileSize = res.headers['content-length'];
res.setEncoding('binary');
var a = "";
res.on('data', function (chunk) {
a += chunk;
document.getElementById('percent').innerHTML = Math.round(100*a.length/fileSize) + "";
});
res.on('end', function() {
fs.writeFile('D:\\file.zip', a, 'binary', function (err) {
if (err) throw err;
console.log('finished');
});
});
});
Just wanted to add a note for anyone having "memory leak" problems with files larger than 260mb, the a += chunk method is responsible for this, the best fix to prevent memory leak (and eventual app crash) is to calculate the opposite, start with a = filesize instead of a = "", decrease with a -= chunk.length and change the progress calculation to the respective inverse method Math.round((1-(a/fileSize))*100).
If I didn't make this change and used Sam's code as it was then my app always crashed, now it can download with success files as big as 1GB without significant memory impact.
Nevermind, I just realized I didn't even need to use jQuery, I simply used NodeJS like so:
$('#btnUpdateClient')
.click(function () {
var file = fs.createWriteStream('./files/staClient.zip');
var request = http.get(addresses.CLIENT_URL, function (response) {
response.pipe(file);
});
});
All these methods require you to write your own Save as dialog window. I would recommend to call Chrome Extension API for file downloading
chrome.downloads.download({url: 'https://ya.ru'});
| 26,122 |
https://stackoverflow.com/questions/66573117 | StackExchange | Open Web | CC-By-SA | 2,021 | Stack Exchange | Cesar Castillo, Tiny Wang, https://stackoverflow.com/users/12816561, https://stackoverflow.com/users/14574199 | English | Spoken | 220 | 302 | azure app insights alert to monitor health in a azure bot framework project
I need to configure an alert for an azure appservice resource where I have a bot created from the Microsoft bot framework, this is integrated into azure app insights.
My question is what parameter should I take to configure an azure app insights alert so that I can measure the health of my bot application properly and that it is within good practices?
I think you can choose to use heartbeat sir.
In my opinion, if you wanna alert on machines that are not available, you can set application insights in your code and it will send heartbeat by default. And you can follow this tutorial to add telemetry to your bot.(Mainly add Microsoft.Bot.Builder.Integration.ApplicationInsights.Core NuGet package and modify ConfigureServices() method in Startup.cs and some other settings)
After that, your bot program will send heartbeat, you can see details in app insights custom metrics via customMetrics | where name == "HeartbeatState". Then you can create alert rules on yourself.
exactly @Tiny-wa, I was seeing some filters to detect WaterfallStart, but this one that you mention to me is the one that resolved me to be able to measure the availability in the bot resource, which was what I was looking for.
That's great, thanks for your response sir!
| 24,118 |
https://stackoverflow.com/questions/47425666 | StackExchange | Open Web | CC-By-SA | 2,017 | Stack Exchange | Cyrus, Daein Park, Jonathon Reinhart, TheAdminsHereAreFags, etopylight, ghoti, https://stackoverflow.com/users/1072112, https://stackoverflow.com/users/119527, https://stackoverflow.com/users/3776858, https://stackoverflow.com/users/5965338, https://stackoverflow.com/users/6245078, https://stackoverflow.com/users/8891738 | English | Spoken | 475 | 1,563 | Need help converting a list of CIDR to network ranges. SED/AWK or anything
Ok, so I am trying to convert a list of CIDR formatted ip data into netranges
192.168.1.0/24 I need that, converted to 192.168.1.0-255
In fact, a whole list of addresses. Like this.
101.192.0.0/14
101.202.0.0/16
101.203.128.0/19
101.248.0.0/15
101.252.0.0/15
103.16.76.0/24
103.194.8.0/22
103.197.8.0/22
103.205.84.0/22
103.207.160.0/22
103.210.12.0/22
103.215.80.0/22
103.229.36.0/22
103.229.40.0/22
103.230.144.0/22
103.232.136.0/22
103.232.172.0/22
103.236.32.0/22
Is there any tools readily available that do this? I did some searching before posting this, but nobody else seems to be going for the specific output that I am trying to get here.
You could write some simple Python 3 code using the ipaddress library.
The goal is that you add some code of your own to show at least the research effort you made to solve this yourself.
What should your sample input produce as output, and what barriers are you experiencing with your own code? Show your code, please. We can't help you fix it unless we see it.
What would be your expected output with this inpout: 101.192.0.0/14?
Just tried without external commands or libraries.
perl -pe '
m#^(\d+)\.(\d+)\.(\d+)\.(\d+)/(\d+)#;
$_ = "$1.$2.$3.$4-" . join(".", map(hex, sprintf("%X", ($1 << 24) + ($2 << 16) + ($3 << 8) + $4 | (1 << (32 - $5)) - 1) =~ /.{2}/g)) . "\n";
' iplist.txt
Nice, I think this is the most native way to do it by using bit shifting and masking.
I provide the sample script using ipaddress.(Thank you for the instructions, @Jonathon Reinhart )
The prerequisite task is just installing ipaddress module.
# pip install ipaddress
script code: the cidr.list file is including above cidr list.
#!/usr/bin/env python
import ipaddress
file_path='/tmp/cidr.list'
with open(file_path,'r') as cidr_list:
for cidr in cidr_list:
tmp = ipaddress.ip_network(unicode(cidr[:-1]))
print "%s-%s" % (tmp[0],tmp[-1])
output:
101.192.0.0-101.195.255.255
101.202.0.0-101.202.255.255
101.203.128.0-101.203.159.255
101.248.0.0-101.249.255.255
101.252.0.0-101.253.255.255
103.16.76.0-103.16.76.255
103.194.8.0-103.194.11.255
103.197.8.0-103.197.11.255
103.205.84.0-103.205.87.255
103.207.160.0-103.207.163.255
103.210.12.0-103.210.15.255
103.215.80.0-103.215.83.255
103.229.36.0-103.229.39.255
103.229.40.0-103.229.43.255
103.230.144.0-103.230.147.255
103.232.136.0-103.232.139.255
103.232.172.0-103.232.175.255
103.236.32.0-103.236.35.255
I hope this will help you.
101.192.0.0/14 absolutely does not match 101.192.0.0-255 In fact, all your results appear to assume /24.
Ouch! You're right @ghoti. But it's a issue based on a wrong output format. The logic is no problem calculating IP range. I modified the answer.
I agree that this is a failure with the question. Does he want what you've posted (which now produces the same as what etopylight posted), or does he want, for example, 101.192-195.0-255.0-255? Who can say?
Update (thanks @TheAdminsHereAreFags for pointing out sipcalc)
If you have the sipcalc package installed
sipcalc - < iplist.txt | awk '/Network range/{print $4 $5 $6}'
Output
101.192.0.0-101.195.255.255
101.202.0.0-101.202.255.255
101.203.128.0-101.203.159.255
101.248.0.0-101.249.255.255
101.252.0.0-101.253.255.255
103.16.76.0-103.16.76.255
103.194.8.0-103.194.11.255
103.197.8.0-103.197.11.255
103.205.84.0-103.205.87.255
103.207.160.0-103.207.163.255
103.210.12.0-103.210.15.255
103.215.80.0-103.215.83.255
103.229.36.0-103.229.39.255
103.229.40.0-103.229.43.255
103.230.144.0-103.230.147.255
103.232.136.0-103.232.139.255
103.232.172.0-103.232.175.255
103.236.32.0-103.236.35.255
That is a magnificent solution. I installed sipcalc and found another way, which is not as sexy, But works.
@TheAdminsHereAreFags Thanks for mentioning sipcalc, what a great tool, now the solution can be much cleaner :)
| 24,793 |
https://biology.stackexchange.com/questions/49224 | StackExchange | Open Web | CC-By-SA | 2,016 | Stack Exchange | Jesvin Jose, NVZ, SeanR, Wayne Werner, https://biology.stackexchange.com/users/1799, https://biology.stackexchange.com/users/19191, https://biology.stackexchange.com/users/21898, https://biology.stackexchange.com/users/9418 | English | Spoken | 285 | 470 | What spider is this? Is it dangerous to humans?
What is the species? Is it dangerous to humans?
I chanced upon this beautiful one near our water well. It stood at a height where an adult could accidentally walk through the web and the spider would land on one's face.
As a test, I dropped a piece of leaf onto its web, and the spider jumped to action, checking what it was and it took out the leaf from its web.
Size: Web, almost circular 50 cm diameter. Spider, about 8cm.
Location: Malabar region, Kerala state, south of India
Most spiders are harmless (unless you're a bug). Here are the medically significant ones.
Im in Kochi (same state in India) and I was told it would sting, so stay away. I also remember them as they appear to have only four legs (with claws) and jokes that they defy their very name, which means 8-legs in Malayalam.
This is most likely a spider from the genus Argiope, which has a few members native to India. See here for a list, I think this is most likely
Argiope pulchella, see the image from the Wikipedia:
Wikipedia also says that these spiders hunt insects, but are not dangerous for humans.
What are your thoughts about @Thomo's answer?
Its definitely an Argiope pulchella - Native to India, rather than an Argiope keyrselingii (Australian species). Either way, its completely harmless to humans, as are most spiders...
It's a St. Andrews Cross Spider (Argiope keyrselingi), and quite common in Australia too.
Thankfully, one of the non-toxic non aggressive spiders. Here are some good sites for further information on them:
A Spider Identification site:
http://www.spiders.com.au/st-andrews-spider.html
And the Australian Museum site:
http://australianmuseum.net.au/st-andrews-cross-spider
| 25,867 |
https://bg.wikipedia.org/wiki/%D0%95%D0%B2%D0%BE%D0%BB%D1%8E%D1%86%D0%B8%D1%8F%20%D0%BD%D0%B0%20%D0%B2%D0%B8%D1%80%D1%83%D1%81%D0%B8%D1%82%D0%B5 | Wikipedia | Open Web | CC-By-SA | 2,023 | Еволюция на вирусите | https://bg.wikipedia.org/w/index.php?title=Еволюция на вирусите&action=history | Bulgarian | Spoken | 98 | 256 | Еволюция на вирусите е етап в еволюцията на живата материя, чийто произход до днес остава неизяснен.
Според класическите хипотези има два основни начина за възникването на вирусите:
чрез катаморфоза – вирусите произлизат от клетки, които са опростили своето развитие в хода на еволюцията;
чрез „избягалия ген“ – молекулярен механизъм, който е позволил възникването на ген, способен да навлиза в чужди клетки и да ги „инфектира“.
Нито една от хипотезите не е научно доказана. В практиката изследването на еволюцията на вирусите среща непреодолими трудности, напр. липсата на „изкопаеми форми“, с които да се докаже или опровергае дадена хипотеза.
Еволюция | 2,579 |
https://stackoverflow.com/questions/11975492 | StackExchange | Open Web | CC-By-SA | 2,012 | Stack Exchange | Nick Dima, https://stackoverflow.com/users/311778 | English | Spoken | 109 | 132 | Publish an event with Backbone Mediator from a model
Is it a good practice / pattern to publish events from Backbone models?
I'm just getting some data by doing an ajax request inside the model and I want to publish an event as soon as its ready to trigger some actions in my views.
Sort answer: yes
Long answer: This is a very good approach to use events: Model is changed by some component and some other is listen to this change and execute a proper action.
This is a very good way of communication between components that have not any relation with each other but a common Model.
| 35,491 |
https://id.wikipedia.org/wiki/Fritz%20Kampers | Wikipedia | Open Web | CC-By-SA | 2,023 | Fritz Kampers | https://id.wikipedia.org/w/index.php?title=Fritz Kampers&action=history | Indonesian | Spoken | 671 | 1,423 | Fritz Kampers () adalah seorang pemeran film Jerman. Ia tampil dalam 261 film antara 1913 dan 1950.
Filmografi pilihan
The War of the Oxen (1920)
Lola Montez, the King's Dancer (1922)
Yellow Star (1922)
The Circle of Death (1922)
Shame (1922)
Monna Vanna (1922)
The Stone Rider (1923)
Man by the Wayside (1923)
William Tell (1923)
Arabella (1924)
The Path to God (1924)
Nanon (1924)
Lord Reginald's Derby Ride (1924)
The Voice of the Heart (1924)
Wallenstein (1925)
People of the Sea (1925)
Curfew (1925)
Reveille: The Great Awakening (1925)
Semi-Silk (1925)
In the Valleys of the Southern Rhine (1925)
Comedians (1925)
Goetz von Berlichingen of the Iron Hand (1925)
The Man Without Sleep (1926)
The Circus of Life (1926)
Our Daily Bread (1926)
Nanette Makes Everything (1926)
The Mill at Sanssouci (1926)
We'll Meet Again in the Heimat (1926)
Give My Regards to the Blonde Child on the Rhine (1926)
Marriage Announcement (1926)
Tea Time in the Ackerstrasse (1926)
The Hunter of Fall (1926)
The Captain from Koepenick (1926)
The Priest from Kirchfeld (1926)
The Prince and the Dancer (1926)
Superfluous People (1926)
The Pride of the Company (1926)
We Belong to the Imperial-Royal Infantry Regiment (1926)
Radio Magic (1927)
Forbidden Love (1927)
The Curse of Vererbung (1927)
A Serious Case (1927)
German Women - German Faithfulness (1927)
The Pink Slippers (1927)
Weekend Magic (1927)
A Girl of the People (1927)
His Late Excellency (1927)
The Imaginary Baron (1927)
The Lady with the Mask (1928)
Mariett Dances Today (1928)
It Attracted Three Fellows (1928)
Marriage (1928)
The House Without Men (1928)
Under Suspicion (1928)
Robert and Bertram (1928)
Sir or Madam (1928)
Almenrausch and Edelweiss (1928)
The Page Boy at the Golden Lion (1928)
A Better Master (1928)
Lemke's Widow (1928)
Darling of the Dragoons (1928)
The Lady and the Chauffeur (1928)
The Women's War (1928)
Miss Chauffeur (1928)
Autumn on the Rhine (1928)
Mary Lou (1928)
The Mistress and her Servant (1929)
The Right of the Unborn (1929)
The Woman Everyone Loves Is You (1929)
Foolish Happiness (1929)
Tragedy of Youth (1929)
Tempo! Tempo! (1929)
Marriage in Trouble (1929)
The Circus Princess (1929)
Katharina Knie (1929)
Somnambul (1929)
Gentlemen Among Themselves (1929)
Kohlhiesel's Daughters (1930)
Westfront 1918 (1930)
The Widow's Ball (1930)
Rag Ball (1930)
The Three from the Filling Station (1930)
Pension Schöller (1930)
Dreyfus (1930)
Die Bräutigamswitwe (1931)
Shooting Festival in Schilda (1931)
Gloria (1931)
Schubert's Dream of Spring (1931)
Peace of Mind (1931)
Kameradschaft (1931)
The Blue of Heaven (1932)
Spoiling the Game (1932)
Mrs. Lehmann's Daughters (1932)
The Rebel (1932)
The Pride of Company Three (1932)
Scandal on Park Street (1932)
Three from the Unemployment Office (1932)
The Heath Is Green (1932)
Three Bluejackets and a Blonde (1933)
The Judas of Tyrol (1933)
A City Upside Down (1933)
The Master Detective (1933)
A Woman Like You (1933)
Two Good Comrades (1933)
The Emperor's Waltz (1933)
Little Man, What Now? (1933)
The Double Fiance (1934)
The Sun Rises (1934)
Love and the First Railway (1934)
The Four Musketeers (1934)
The Gypsy Baron (1935)
City of Anatol (1936)
The Three Around Christine (1936)
The Violet of Potsdamer Platz (1936)
The Beggar Student (1936)
White Slaves (1937)
Meiseken (1937)
Legion Condor (1939)
The Scoundrel (1939)
In the Name of the People (1939)
Robert and Bertram (1939)
The Girl from Barnhelm (1940)
The Fire Devil (1940)
Left of the Isar, Right of the Spree (1940)
Above All Else in the World (1941)
Attack on Baku (1942)
Bravo Acrobat! (1943)
Kohlhiesel's Daughters (1943)
Gabriele Dambrone (1943)
The War of the Oxen (1943)
The Second Shot (1943)
The Master Detective (1944)
Marriage of Affection (1944)
Peter Voss, Thief of Millions (1946)
Everything Will Be Better in the Morning (1948)
Nothing But Coincidence (1949)
Friday the Thirteenth (1949)
Abundance of Life (1950)
Referensi
Pranala luar
Aros (das ist: Alfred Rosenthal): Fritz Kampers. Ein Schauspielerleben (= Illustrierte Filmbücher. Bd. 12). Scherl, Berlin 1932.
Hans-Michael Bock (Hrsg.): CineGraph. Lexikon zum deutschsprachigen Film. Edition Text + Kritik, München 1984 ff. (Loseblattausgabe).
Pemeran film laki-laki Jerman | 10,025 |
https://stackoverflow.com/questions/4146105 | StackExchange | Open Web | CC-By-SA | 2,010 | Stack Exchange | Amin Asus0, Andre C. Sousa, Borian, Cascabel, Dima Medvedev, Kamal, Menyell Pake, Suraj Doiphode, https://stackoverflow.com/users/119963, https://stackoverflow.com/users/232855, https://stackoverflow.com/users/439352, https://stackoverflow.com/users/8728180, https://stackoverflow.com/users/8728181, https://stackoverflow.com/users/8728182, https://stackoverflow.com/users/8728714, https://stackoverflow.com/users/8747705, https://stackoverflow.com/users/8752149, https://stackoverflow.com/users/8755607, mohammad amin packatchian fard, shahrukh hussain | Finnish | Spoken | 369 | 751 | segfaults when compiling on newer version of glibc ( 2.3 -> 2.10 )
I try to modify ssh session logging patch to sshd from kdvelectronics site.
Code hasn't changed much from openssh 4.x to 5.x , but now sshd segfaults when script_open function calls ( as gdb says )
Core was generated by `sshd: root [priv] '.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f687910ae69 in vfprintf () from /lib/libc.so.6
(gdb) bt
#0 0x00007f687910ae69 in vfprintf () from /lib/libc.so.6
#1 0x00007f68791a98c2 in __fprintf_chk () from /lib/libc.so.6
#2 0x000000000044ed03 in script_open ()
#3 0x000000000040ad2c in main ()
The code that crashes is:
strftime(logname, sizeof(logname), "%F.%T", gmtime(&tvec));
or
snprintf(fname, sizeof(fname), "%s/openssh.%s.%08x.typescript", SCRIPTDIR, username, rnd);
Full script.c listing is here http://pastebin.com/48B39K8s , I've commented line 50 and removed logname variable from line 53 .
I just wanna know, what changed in glibc since 2.3 that these functions cause segfault or where to read about it.
Segfaulting inside glibc doesn't mean that it's glibc's fault. If you pass in an invalid pointer/string, bad things can happen.
Yeah, I understand that, seems that something changed, but it's difficult to find because glibc changelog is huge to say the least.
Ok, it turned out to be pretty simple. I've changed mentioned strings to
strftime(logname, FILENAME_MAX+1, "%F.%T", gmtime(&tvec));
snprintf(fname, FILENAME_MAX+1, "%s/openssh.%s.%08x.typescript", SCRIPTDIR, username, rnd);
Ofc it's dirty, but works.
I do not think that substituting FILENAME_MAX+1 for sizeof(logname) should make any difference. You can verify that those values will be the same given the way you've declared logname. I suspect that simply un-commenting-out the line 50 strftime() that loaded logname was the actual fix, not the change to FILENAME_MAX+1.
I've returned it back, removed all my comment signs and changed sizeof(...) to their respective FILENAME_MAX+1 defines. Yeah, their values shall be identical, but somehow FILENAME_MAX+1 makes a difference and now sshd works as intended.
I believe that the reason your code crashes is that (with line 50 commented out) you have left logname with undefined contents when you use it at line 60. You mentioned that you removed the logname reference from line 53 along with commenting out line 50 -- perhaps you just forgot to also remove it from line 60 in that case?
| 34,997 |
https://stackoverflow.com/questions/51561009 | StackExchange | Open Web | CC-By-SA | 2,018 | Stack Exchange | English | Spoken | 176 | 476 | How to configure a Dockerized GitLab CE on Ubuntu which is proxied with HTTPS by Apache2?
I am trying to configure my docker GitLab CE (latest) instance that works with an integrated letsnecrypt that is part of the docker, in order to authenticate it as HTTPS under a sub-domain that is proxied by an Apache 2.4.
The reason i want it to go through Apache is that In this environment there is a web page running which claims port 80, 443 etc. So, in order for me to have both, i have mapped docker's ports to 443:444 and 80:3000.
And via apache's virtual host naming i have the following configuration:
<VirtualHost domain.com:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
</VirtualHost>
<VirtualHost gitlab.domain.com:80>
ServerAdmin webmaster@localhost.com
ProxyPreserveHost On
ProxyPass "/" "http://public-ip:3000/"
ProxyPassReverse "/" "http://public-ip:3000/"
ServerName gitlab.domain.com
</VirtualHost>
<VirtualHost gitlab.domain.com:443>
ServerAdmin webmaster@localhost.com
RewriteEngine On
RewriteCond %{HTTPS} on
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI}
ProxyPreserveHost On
ProxyPass "/" "http://public-ip:3000/"
ProxyPassReverse "/" "http://public-ip:3000/"
ServerName gitlab.domain.com
</VirtualHost>
What do you think is the best approach?
| 22,239 | |
https://stackoverflow.com/questions/66562049 | StackExchange | Open Web | CC-By-SA | 2,021 | Stack Exchange | Nathan Phillips, https://stackoverflow.com/users/740378 | English | Spoken | 197 | 262 | Azure IoT Hub is unable to retrieve devices (Shared policy is disabled)
I created a new resource group as well as a new IOT hub.
The next logical step would be to create a new IoT device inside the IoT hub.
However the create button in "Explorers/IoT devices" is disabled because of the following error message:
Unable to retrieve devices. Please ensure a Shared access policy is enabled with necessary permissions [Registry Write Service Connect].
Shared access policies:
Looks like something that's happened recently - this was working before but I got this when I tried today. The solution below worked.
Happened to me to. Check if you are the registered as the owner.
Go to your resource group, "Access Control (IAM)" and click on "Add role assignments". Then select "owner" and add yourself.
Worked for me.
In order to enable this option you need to set yourself as the hub owner. Go to Access control (IAM) tab and add a role assignment which will grant access to the selected resource. Grant access tab
Set yourself as a owner and go back to the Explorers => IoT devices view, You can now create a new IoT device.
| 42,851 |
https://fr.wikipedia.org/wiki/La%20Prunelle | Wikipedia | Open Web | CC-By-SA | 2,023 | La Prunelle | https://fr.wikipedia.org/w/index.php?title=La Prunelle&action=history | French | Spoken | 272 | 556 | La Prunelle est une série télévisée française en 13 épisodes de , créée par Guillaume Hanoteau, réalisée par Edmond Tyborowski et diffusée en 1968 sur la deuxième chaîne de l'ORTF.
Synopsis
Ce feuilleton télévisé met en scène les enquêtes d'une détective amateur, assistée dans ses recherches par sa nièce Rosette.
Distribution
Armande Navarre : Reine-Claude, alias la Prunelle
Claude Jade : Rosette
Mag-Avril : l'habilleuse
Lucien Raimbourg : le régisseur
Eric Vander: Ludovic, fiancé de Rosette
Daniel Emilfork :
Annick Allières : vendeuse de chiens
Howard Vernon : psychiatre
Florence Musset :
Ginette Garcin : Danseuse
Karin Petersen : Danseuse
Jean Franval :
Albert Michel : machiniste
André Valtier : homme vieux couple
Cécile Grandin : copine
Colette Régis : patronne
Colette Teissèdre : copine au chien
Denise Péron : infirmière
Eve Francis : voisine
Marc Eyraud : joaillier
Épisodes
Prune et Prunelle - 10/09/1968 - 26min
Prune et X 25 - 17/09/1968 - 24min
Prune et le double Nelson - 24/09/1968 - 26min
Prune et l'idole - 01/10/1968 - 25min
Prune et l'électronique - 08/10/1968 - 26min
Prune et la maison hantée - 15/10/1968 - 25min
Prune et Pigalle - 22/10/1968 - 26min
Prune et Freud - 29/10/1968 - 25min
Prune et le Chakra-Ajna - 05/11/1968 - 26min
Prune et le commando - 12/11/1968 - 26min
Prune et le maître - 19/11/1968 - 25min
Prune et le diadème - 26/11/1968 - 26min
Prune et Royal of Siam - 03/12/1968 - 26min
Liens externes
Fiche de La Prunelle sur Annuséries
Série télévisée créée en 1968
Série télévisée française des années 1960
Série télévisée policière française
Comédie policière française
Série télévisée de l'ORTF | 26,293 |
https://stackoverflow.com/questions/36824187 | StackExchange | Open Web | CC-By-SA | 2,016 | Stack Exchange | Bobby Jack, Casimir et Hippolyte, Jonathan Leffler, Keith Thompson, Tejendra, Todd A. Jacobs, https://stackoverflow.com/users/112968, https://stackoverflow.com/users/1301972, https://stackoverflow.com/users/15168, https://stackoverflow.com/users/2255089, https://stackoverflow.com/users/5058, https://stackoverflow.com/users/730537, https://stackoverflow.com/users/827263, knittl | English | Spoken | 781 | 1,511 | why different output of ' grep "*.h" ' and ' grep -E "*.h" ' on the same file
Suppose the file content is as below:
abc.h
hello world
the output of grep "*.h" file and grep -E "*.h" file are different. From my understanding, they should be the same. * is a regular expression meta-character. The output should both be abc.h.
Output with
grep "*.h" file # ==> No output
grep -E "*.h" file # ==> abc.h
Please help clarifying this issue!
So ... what IS the output?
Regular expressions work differently than wildcard patterns.
I think that (strangely) the ERE seems to allow a kind of orphan quantifier (a quantifier for an empty token) when BRE doesn't allow that. Whatever the explanation, the dot must be escaped to figure a literal dot.
What do you expect *.h to match?
POSIX defines the behaviour of (POSIX) regular expressions and defines Basic Regular Expressions (BREs) and Extended Regular Expressions (EREs). Using grep -E requires EREs; without the -E, you get BREs (with -F you get no regular expressions).
The POSIX definition of * in a BRE says:
*
The <asterisk> shall be special except when used:
In a bracket expression
As the first character of an entire BRE (after an initial '^', if any)
The POSIX definition of * in an ERE says:
*+?{
The <asterisk>, <plus-sign>, <question-mark>, and <left-brace> shall be special except when used in a bracket expression (see RE Bracket Expression). Any of the following uses produce undefined results:
If these characters appear first in an ERE, or immediately following a <vertical-line>, <circumflex>, or <left-parenthesis>
In the question:
Using grep '*.h' is using a BRE and the * appears first so it is not a special character; it matches a * followed by any character followed by h.
This would be matched *Zh because the * and the h are separated by one character
This would not be matched because the * and the h are not separated by one character
Using grep -E '*.h' invokes undefined behaviour. Any result is valid.
To reliably match abc.h and other alphanumeric file names ending with .h, you'd use something like:
grep '[[:alnum:]]\.h'
There's no particular need to use the * in this context; if you did, you might write one of these:
grep '^[[:alnum:]][[:alnum:]]*\.h$'
grep '^[[:alnum:]]\{1,\}\.h$'
These look for lines that consist of one or more alphanumerics, followed by . and h and end-of-line. If you don't like the character class expression notation (the [:alnum:] part), you can write this instead:
grep '^[a-zA-Z0-9][a-zA-Z0-9]*\.h$'
grep '^[a-zA-Z0-9]\{1,\}\.h$'
You can add underscores if you like:
grep '^[[:alnum:]_][[:alnum:]_]*\.h$'
grep '^[a-zA-Z0-9_][a-zA-Z0-9_]*\.h$'
And you can use extended regular expressions like:
grep '^[[:alnum:]_]+\.h$'
grep '^[a-zA-Z0-9_]+\.h$'
Etcetera. The options are legion!
*.h shouldn't match either line. If it does, it's because your particular grep's extended regular expression engine handles boundaries or quantifiers differently. You may see this odd behavior with GNU grep, but BSD grep correctly reports grep: repetition-operator operand invalid instead.
You probably meant .*h, which will match both lines whether you use the BRE or ERE engine. If you only want to match abc.h from the provided corpus, then you need:
grep '\.h' /tmp/foo
This will match any line with a literal period followed by the letter h. You might even want to anchor it at the end of the line to be sure you don't capture text like foo abc.h bar by mistake. For example:
grep '\.h$' /tmp/foo
I think the output is different with ERE, outputs abc.h
@Tejendra Only with GNU grep, and that's probably because its ERE interprets boundaries differently. You'd have to look at the source to be sure. BSD sed will correctly report grep: repetition-operator operand invalid instead.
@CodeGnome...I was trying on Debian Jessie
Why do you mention sed?
-E - extended regular expression, where * means The preceding item will be matched zero or more times
-G (default) - basic regular expression, where * means just the * character
-P - Perl regular expression, where * means the same as in -E, but *.h fails to compile because there is nothing to repeat(no characters before *). Uses libpcre:
ldd /bin/grep
linux-vdso.so.1 (0x00007ffefddd4000)
libpcre.so.1 => /lib64/libpcre.so.1 (0x0000003bd8a00000)
libc.so.6 => /lib64/libc.so.6 (0x0000003bd6a00000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003bd7200000)
/lib64/ld-linux-x86-64.so.2 (0x0000003bd6600000)
So grep -E "*.h" will match any string having .h sequence;
grep -G "*.h" will match any string having *.h sequence; grep -P "*.h" will fail to compile.
* generally means the same thing in basic and extended regular expressions. Any difference, as we're seeing here, applies only when the * isn't preceded by anything.
In BRE, * means 'the preceding item will be matched zero or more times' when there is a preceding item.
| 22,331 |
https://new.wikipedia.org/wiki/%E0%A4%8E%E0%A4%A9%E0%A5%8D%20%E0%A4%AA%E0%A5%8A%E0%A4%A3%E0%A5%8D%E0%A4%9F%E0%A4%BE%E0%A4%9F%E0%A5%8D%E0%A4%9F%E0%A4%BF%20%E0%A4%A8%E0%A4%B2%E0%A5%8D%E0%A4%B2%E0%A4%B5%20%28%E0%A4%B8%E0%A4%A8%E0%A5%8D%20%E0%A5%A7%E0%A5%AF%E0%A5%AF%E0%A5%AB%E0%A4%AF%E0%A4%BE%20%E0%A4%B8%E0%A4%82%E0%A4%95%E0%A4%BF%E0%A4%AA%E0%A4%BE%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | ऎऩ् पॊण्टाट्टि नल्लव (सन् १९९५या संकिपा) | https://new.wikipedia.org/w/index.php?title=ऎऩ् पॊण्टाट्टि नल्लव (सन् १९९५या संकिपा)&action=history | Newar | Spoken | 45 | 259 | ऎऩ् पॊण्टाट्टि नल्लव (तमिल भाषा:என் பொண்டாட்டி நல்லவ) छगू तमिल भाषाया नांजागु संकिपा खः। थ्व संकिपा सन् १९९५य् पिहांवगु खः।
बाखँ
थ्व छगू कथानक संकिपा खः।
मू पात्र
संकिपा देकिपिं
निर्देशक :
निर्माता :
सिरपा
स्वया दिसँ
तमिल संकिपातेगु धलः
पिनेयागु स्वापू
तमिल विकिपिडिया
तमिल संकिपा | 46,802 |
https://ar.wikipedia.org/wiki/%D8%AF%D8%A7%D9%86%D9%8A%D8%A7%D9%84%20%D8%B3%D9%85%D9%8A%D8%AB%20%28%D9%83%D8%A7%D8%AA%D8%A8%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | دانيال سميث (كاتب) | https://ar.wikipedia.org/w/index.php?title=دانيال سميث (كاتب)&action=history | Arabic | Spoken | 53 | 154 | دانيال سميث هو كاتب أمريكي، ولد في 7 أكتوبر 1977 في بلينفيو في الولايات المتحدة.
مراجع
وصلات خارجية
صحفيو النيويوركر
أشخاص من بلينفيو (نيويورك)
خريجو جامعة براندايس
كتاب مذكرات أمريكيون
كتاب مذكرات في القرن 21
كتاب مقالات أمريكيون في القرن 21
كتاب من ولاية نيويورك
مواليد 1977
كتاب مذكرات أمريكيون في القرن 21 | 10,527 |
https://ro.wikipedia.org/wiki/Anopheles%20whartoni | Wikipedia | Open Web | CC-By-SA | 2,023 | Anopheles whartoni | https://ro.wikipedia.org/w/index.php?title=Anopheles whartoni&action=history | Romanian | Spoken | 29 | 65 | Anopheles whartoni este o specie de țânțari din genul Anopheles, descrisă de Reid în anul 1963. Conform Catalogue of Life specia Anopheles whartoni nu are subspecii cunoscute.
Referințe
Anopheles | 15,764 |
https://stackoverflow.com/questions/54865250 | StackExchange | Open Web | CC-By-SA | 2,019 | Stack Exchange | English | Spoken | 177 | 382 | Replace object value into an Array
Hello i'm trying to replace an object value into array in php but I can't access to the object while using foreach or other php method.
Here is the array and I would like to go inside the WP_Term object to change the taxonomy value
array (
0 =>
array (
'text' => 'Accueil',
'url' => 'http://docker.localhost:8004',
'allow_html' => true,
),
1 =>
array (
'term' =>
WP_Term::__set_state(array(
'term_id' => 113,
'name' => 'Animation séminaire',
'slug' => 'animation-seminaire',
'term_group' => 0,
'term_taxonomy_id' => 113,
'taxonomy' => 'decouvrir',
'description' => '',
'parent' => 0,
'count' => 123,
'filter' => 'raw',
)),
10715 =>
array (
'taxonomy' => 'test',
),
),
2 =>
array (
'id' => 396,
),
)
Thank you in advance for your help
You can do this by getting the array key in a variable and then assign the property:
$term = $array[1]['term']; # get the obj in arr
$term->taxonomy = 'foo'; # set obj property
echo '<pre>'. print_r($array, 1) .'</pre>'; # print arr - will show updated val
| 29,510 | |
https://ceb.wikipedia.org/wiki/Kenyentulus%20anmashanus | Wikipedia | Open Web | CC-By-SA | 2,023 | Kenyentulus anmashanus | https://ceb.wikipedia.org/w/index.php?title=Kenyentulus anmashanus&action=history | Cebuano | Spoken | 55 | 108 | Kaliwatan sa insekto ang Kenyentulus anmashanus. Una ning gihulagway ni Chao, Lee ug Chen ni adtong 1998. Ang Kenyentulus anmashanus sakop sa kahenera nga Kenyentulus, ug kabanay nga Acerentomidae.
Kini nga matang hayop na sabwag sa:
habagatang Asya
Walay nalista nga matang nga sama niini.
Ang mga gi basihan niini
Daghagtiil
Daghagtiil sa Asya
Kenyentulus | 2,768 |
https://de.wikipedia.org/wiki/Martensit | Wikipedia | Open Web | CC-By-SA | 2,023 | Martensit | https://de.wikipedia.org/w/index.php?title=Martensit&action=history | German | Spoken | 2,324 | 5,204 | Martensit ist ein metastabiles Gefüge in Metallen und auch Nichtmetallen, das diffusionslos und athermisch durch eine kooperative Scherbewegung aus dem Ausgangsgefüge entsteht. Dabei muss das Material von der Temperatur einer Hochtemperaturphase (bei Stahl: γ-Phase, Austenit) unter die Gleichgewichtstemperatur zu einer Niedertemperaturphase (bei Stahl: α-Phase, Ferrit) abgekühlt (meist abgeschreckt) werden. Die Unterkühlung unter die Gleichgewichtstemperatur muss tief genug sein, um die notwendige Triebkraft für die athermische Phasenumwandlung zu erzeugen (siehe Abbildung 3), muss aber auch schnell genug erfolgen, um Diffusionsvorgänge zu verhindern (siehe Zeit-Temperatur-Umwandlungsschaubild). Die notwendige Unterkühlung und Abkühlgeschwindigkeit sind stark vom betrachteten Material (bei Stahl: von den Legierungselementen) abhängig und variieren über einen weiten Bereich, so dass manchmal ein rasches Abschrecken in Wasser und evtl. anschließendes Tiefkühlen in flüssigem Stickstoff (wegen des Leidenfrost-Effekts ist ein direktes Abschrecken mit flüssigem Stickstoff nicht möglich) notwendig ist, manchmal genügt auch ein langsames Abkühlen an Luft oder im Warmbad.
Wird die Hochtemperaturphase bei Raumtemperatur metastabil konserviert, kann sie sich spannungs- oder dehnungsinduziert in Martensit umwandeln (siehe Restaustenitumwandlung bei Stählen). Reversible martensitische Umwandlungen als Grundphänomen des Form-Gedächtnis-Effektes gehören ebenfalls in diese Kategorie.
Martensitische Umwandlungen kommen sowohl bei unlegierten und legierten Stählen, als auch bei vielen Nichteisen-Metallen, Keramiken und Polymeren vor und sind kein rein auf Metalle beschränktes Phänomen. Für Stähle ist die martensitische Umwandlung eine häufig genutzte Möglichkeit der Eigenschaftsbeeinflussung (siehe Härten und Anlassen).
Das Gefüge ist nach dem deutschen Metallurgen Adolf Martens (1850–1914) benannt.
Im Eisen-Kohlenstoff-System
Im Stahl entsteht Martensit durch einen diffusionslosen Umklappvorgang aus dem kubisch-flächenzentrierten Gitter des Austenits in ein tetragonal raumzentriertes Gitter, während der raschen Abkühlung auf eine Temperatur unterhalb der Martensitstarttemperatur MS (martensite start). Die Umwandlung hört auf, wenn die Abkühlung gestoppt wird. Ist die Martensitfinishtemperatur MF (martensite finish) erreicht, dann vergrößert sich mit weiterer Abkühlung der Volumenanteil des Martensits nicht weiter.
Dieser Umklappvorgang bzw. diese kooperative Scherbewegung bedeutet, dass das Martensitgitter nur durch geordnete Winkel- und Lageänderungen aus dem Ausgangsgitter entsteht. Die einzelnen Atome bewegen sich dabei nur um Bruchteile des Atomabstands. Die Mittelrippe jeder entstandenen Martensitplatte, die sogenannte invariante Habitusebene, nimmt am Umklappen nicht teil (siehe Abbildung 8).
Je nach Anteil des eingelagerten Kohlenstoffs wird immer ein Teil des Austenits nicht umgewandelt. Dieser Restaustenit ist durch die hohen Verzerrungsspannungen zu erklären, welche die zuletzt entstandenen Martensitplatten auf die davor entstandenen Martensitplatten ausüben und sie dadurch am weiteren Wachstum hindern. Die Martensitplatten weisen einen linsen- oder nadelförmigen Querschnitt auf und durchziehen sich beim Anfang der Martensitbildung von einer Seite des Korns zur anderen, siehe Abbildung 1. Weitere Platten wachsen dann unter verschiedenen Winkeln, aber meist senkrecht zu den schon im Korn vorhandenen.
Der im Austenit gelöste Kohlenstoff bleibt durch die rasche Abkühlung beim Abschrecken auch im Mischkristall zwangsgelöst. Dadurch wird das umgeklappte kfz-Gitter tetragonal verzerrt, wobei ein sehr hartes Gefüge entsteht. Die Abkühlgeschwindigkeit, bei der erste Anteile von Martensit (neben Ferrit, Perlit, Bainit) entstehen, heißt untere kritische Abkühlgeschwindigkeit. Entsteht bei der Abkühlung erstmals nur Martensit, ist die obere kritische Abkühlgeschwindigkeit erreicht.
In Stählen wird Martensit verwendet, um einen erheblichen Härteanstieg zu erzielen. Je höher der Kohlenstoffgehalt des Martensits ist, desto höher ist die Härte (bis ca. 0,6 % C; dann jedoch stark abfallende Härte, falls keine Tiefkühlung – z. B. in flüssigem Stickstoff – zur Umwandlung der ansteigenden Restaustenitmenge erfolgt). Eigentliche Ursache für die ansteigende Restaustenitmenge und die damit verbundenen Härteverluste sind die mit steigendem Kohlenstoffgehalt abfallenden Martensitstart- und Martensitfinishtemperaturen bis weit unter Raumtemperatur, siehe Abbildung 2. Die Wärmebehandlung zum Herstellen von Martensit heißt Härten (Austenitisieren und Abschrecken mit Martensitbildung). Das Härten wird mit dem Anlassen kombiniert (erste Anlassstufe bis 200 °C zur Entfernung der Glashärte. Dabei spricht man noch nicht von Vergüten, welches erst ab der 3. Anlassstufe 400–600 °C beginnt.). Die Härtbarkeit eines Stahles kann durch den idealkritischen Durchmesser angegeben werden.
Martensitstarttemperatur
Die Temperatur, bei der die martensitische Umwandlung einsetzt, liegt unterhalb der Gleichgewichtstemperatur T0, bei der Austenit und Martensit gleicher Zusammensetzung identische freie Enthalpien G besitzen. Dieser Sachverhalt ist unter Annahme eines linearen G-T-Zusammenhanges schematisch in Abbildung 3 dargestellt.
Die Unterkühlung unter T0 liefert die freie Enthalpie ΔG(T0-MS) für die auftretenden Gitterscherungen, für die neu entstehenden Grenzflächen und die erzeugten Gitterstörungen. Die Austenit-Martensit-Umwandlung stoppt bei Erreichen der Martensitfinishtemperatur Mf. T0 und damit auch MS sowie Mf hängen stark von den Legierungselementen ab.
Da der energetisch günstigere Zementit (Fe3C) wegen der fehlenden Diffusion nicht entstehen kann, beginnt die Bildung des energiereicheren Martensits, sobald MS unterschritten wird. Bei weiterer Abkühlung entsteht eine zur Unterkühlung proportionale Martensitmenge, die bei Mf 100 % erreicht. Anschaulich gesehen wird der nicht umgewandelte Austenit durch die Martensitbildung immer stärker verformt, so dass eine immer höhere Triebkraft und damit Unterkühlung notwendig ist, um die Umwandlung fortzusetzen. Dann wird auch erklärbar, dass sofern Mf unter Raumtemperatur liegt, eine entsprechende Restaustenitmenge verbleibt, die nur durch Tiefkühlung weiter umgewandelt werden kann. Ab etwa 1,5 % C lässt sich der Restaustenit auch durch Tiefkühlen in flüssigem Stickstoff nicht mehr umwandeln. Dahingegen ist eine diffusionsgesteuerte Umwandlung durch Anlassen immer möglich.
Die folgende Tabelle gibt einen Überblick über angewandte Verfahren zur Berechnung von MS. Die meisten Ansätze gehen von einem linear-additiven Einfluss der Legierungselemente auf die Martensitstarttemperatur aus. Tatsächlich liegt ein gekoppelter Einfluss der Legierungselemente vor, wie Ansatz 8 in der Tabelle für Kohlenstoff berücksichtigt.
Restaustenitgehalt
Abbildung 2 zeigt die Abhängigkeit von MS und Mf vom Kohlenstoffgehalt unlegierter Stähle. Unterschreitet Mf die Abschrecktemperatur Tu (z. B. Raumtemperatur), so verbleibt im Umwandlungsgefüge Restaustenit, der sich mit der empirischen Beziehung
beschreiben lässt. B ist eine temperaturabhängige Konstante: B(20 °C) = 1,1 · 10−2 (°C)−1 und B (-196 °C) = 7,5 · 10−3 (°C)−1. In Wirklichkeit ist MS, wie Abbildung 4 zeigt, auch von der Abkühlgeschwindigkeit abhängig.
Mikrostruktur
Die martensitische Umwandlung der kubisch flächenzentrierten (kfz) Hochtemperaturphase Austenit (γ-Mischkristall) in die tetragonal raumzentrierte metastabile Martensitphase erfolgt über koordinierte Gitterscherung, wobei die Atome sich im Vergleich mit dem Atomabstand nur über geringe Strecken bewegen und ihre Nachbarschaftsverhältnisse beibehalten. Dieser Vorgang lässt sich formal nach anhand von Abbildung 5 erklären. In benachbarten Elementarzellen des Austenitgitters, mit der Gitterkonstanten cA existieren virtuelle Martensitzellen mit den Abmessungen cM'=cA und aM'=cA√2/2. Um die korrekten Gitterkonstanten des Martensits cM und aM zu erhalten, muss cM' um etwa 20 % verkleinert und aM' um etwa 12 % vergrößert werden.
Bei der Martensitbildung gehen die Oktaederlücken des Austenits in Oktaederlücken des Martensits über, so dass keine Diffusion der in diesen Lücken aufgenommenen Kohlenstoffatome notwendig ist. Die Besetzung der sogenannten Z-Lagen des Martensitgitters führt zu tetragonaler Verzerrung. Das Verhältnis aM/cM zeigt nach die in Abbildung 6 dargestellte ausgeprägte Abhängigkeit vom Kohlenstoffgehalt. Nach gilt quantitativ
und
Die Tetragonalität des Martensits wird durch Legierungsatome in charakteristischer Weise beeinflusst.
Abbildung 5 legt nahe, dass bei der martensitischen Umwandlung die Orientierungsbeziehung
{111}A → {110}M
<110>A → <111>M
besteht. Diese „Kurdjumow-Sachs-Beziehung“ wird bei Kohlenstoffgehalten über 0,5 Masseprozent experimentell bestätigt. Da die durch die Umwandlung an den Austenit-Martensit-Grenzflächen entstehenden Spannungen durch Anpassungsverformungen abgebaut werden, lässt sich die Orientierung der Habitusebene nicht anschaulich aus Abbildung 5 entnehmen. Nach Christian werden je nach Kohlenstoffgehalt die Habitusebenen {111}A, {225}A und {259}A beobachtet.
Da der kfz-γ-Mischkristall atomar dichter gepackt ist als der krz-α-Mischkristall bzw. der trz-Martensit, erfolgt die γ→α-Umwandlung mit einer Volumenzunahme, die die in Abbildung 7 dargestellte Abhängigkeit vom Kohlenstoffgehalt aufweist. Diese Volumenzunahme resultiert aus einer Längenänderung senkrecht zur Habitusebene und einer zu ihr parallelen Scherung. Der makroskopische Scherwinkel kann, wie in Abbildung 8 erläutert, anhand von Oberflächenreliefs, die an polierten Oberflächen entstehen, bestimmt werden. Er beträgt etwa 10°.
Die erwähnten Anpassungsverformungen bestimmen die sich ausbildende Martensitmorphologie. Die Tabelle fasst die bei unterschiedlichen Kohlenstoffgehalten beobachteten Habitusebenen, Orientierungsbeziehungen und Feinstrukturen für unlegierte Stähle zusammen. Der bei kleinen Kohlenstoffgehalten entstehende Massivmartensit besteht aus Paketen paralleler Latten innerhalb ehemaliger Austenitkörner. Bei größeren Kohlenstoffgehalten bilden sich neben den Latten mehr und mehr plattenförmige Bereiche aus, die Restaustenitgebiete einschließen.
Wenn die Martensitbildung über klassische homogene oder heterogene Keimbildung erfolgen würde, dann wäre dazu nach Pitsch ein so großer Energiebetrag erforderlich, wie er bei den tiefen MS-Temperaturen aus den vorhandenen thermischen Atombewegungen nicht gewonnen werden kann. Eine thermisch aktivierte Keimbildung des Martensits ist also nicht möglich. Man nimmt daher an, dass im Austenit schon sog. präformierte Keime vorliegen. Diese können mit einer kleineren als der kritischen Größe durch thermische Fluktuation schrittweise wachsen. Nach Erreichen der kritische Größe erfolgt ungebremstes Wachstum mit Geschwindigkeiten bis zu 5000 m/s.
Ein weiterer Umwandlungsmechanismus, bei dem sich die Kohlenstoffgehalte von Austenit und Ferrit nicht ändern, ist die massive Umwandlung. Sie tritt bei sehr kleinen Kohlenstoffgehalten auf und beruht auf der raschen Bewegung inkohärenter Grenzflächen. Nach heterogener Keimbildung verläuft das Wachstum diffusionsgesteuert, wobei auch Austenitkorngrenzen überschritten werden können. Dabei sind für die Gitteratome Diffusionswege von ein bis zwei Atomabständen erforderlich. Die Bildungstemperaturen des massiven Ferrits liegen über denen des Martensits. Eine Erhöhung der Abkühlgeschwindigkeit führt zu einer Unterdrückung der massiven Umwandlung zugunsten der Martensitbildung. Abhängig von der Bildungstemperatur kann man eine schnelle und eine langsame massive Umwandlung unterscheiden. Nahe der Gleichgewichtstemperatur tritt eine Diffusion der Interstitonsatome in die sich bewegenden Grenzfläche auf und bestimmt damit deren Geschwindigkeit. Bei tieferen Temperaturen nimmt die Diffusionsfähigkeit der Interstitionsatome so weit ab, dass die Umwandlungsgeschwindigkeit nur noch von der Beweglichkeit der Grenzflächen beschränkt wird.
Gefügemodifikationen
Abhängig von der Temperatur und dem Legierungsgehalt (insbesondere dem Kohlenstoffgehalt) entstehen unterschiedliche Gefügemodifikationen des
Martensits im Werkstoff.
Lanzettmartensit
Der Lanzettmartensit (auch Latten-, Block- oder kohlenstoffarmer Massivmartensit genannt, im englischen lath martensite) entsteht bei höheren Temperaturen (an Temperaturen näher an der Martensitstarttemperatur) und geringeren Kohlenstoffgehalten von etwa 0,4–0,5 % C, in untereutektoiden Stählen. Er besteht aus abgeflachten Lanzetten, die dicht nebeneinander zu Schichten und dann schichtweise zu massiven Blöcken gepackt sind. Er ist vorherrschend in unlegierten und niedriglegierten Stählen mit weniger als 0,4 % C zu finden, aber auch in Legierungen aus Eisen mit < 25 % Nickel. Charakteristisch ist die Ausbildung in Form von Paketen aus parallelen < 1 µm breiten Lanzetten, ohne Restaustenit zurückzulassen. Ein Gefüge aus 100 % Lanzettmartensit entsteht nur, wenn der Kohlenstoffgehalt unter maximal 0,3 % liegt.
Lanzettmartensit weist eine hohe Versetzungsdichte auf (bis zu 1012 cm−2) und ist deutlich besser verformbar als der Plattenmartensit, da er bei höheren Temperaturen entsteht und damit die durch das Gitterumklappen entstandenen elastischen Verspannungen durch Gleit- und Erholungsmechanismen besser abbauen kann.
Plattenmartensit
Der Plattenmartensit (auch nadelförmiger, nadeliger, verzwillingter Martensit genannt, im englischen plate martensite oder twinned martensite), entsteht bei niedrigeren Temperaturen und höheren Kohlenstoffgehalten von etwa 0,8–1 % C, also beispielsweise in übereutektoiden Stählen. Der Martensit wächst hier nicht in Lanzett-, sondern in Plattenform, bei der die Platten nicht parallel aufgeschichtet, sondern unter verschiedenen Winkeln zueinander stehen. In den Zwischenräumen verbleibt Restaustenit.
Die Platten werden einerseits durch die Korngrenzen des Austenits, und andererseits durch die schon bei höheren Temperaturen entstandenen Platten am Wachstum gehindert, so dass die neu entstehenden Platten mit der Zeit immer kürzer werden, und den Raum immer dichter benetzen. Die mittlere Länge der Platten bewegt sich dabei zwischen einem Viertel und einem Drittel der ursprünglichen Austenitkorngröße.
Der Plattenmartensit ist weniger gut verformbar als der Lanzettmartensit, weil bei tieferen Temperaturen der primäre Mechanismus der plastischen Umformung nicht Gleit- und Erholungsvorgänge sind, sondern die Bildung von Zwillingen.
Mischmartensit
Im Bereich zwischen dem Lanzett- und dem Plattenmartensit, also zwischen etwa 0,5–0,8 % C, entsteht eine Zwischenform, der Mischmartensit.
In Chrom-Nickel-Stählen
Bei der martensitischen Umwandlung von CrNi-Stählen sind die folgenden Wege möglich:
a) Austenit γ → Martensit α′ (krz)
b) Austenit γ → Martensit ε (hdp)
c) Austenit γ → Martensit ε (hdp) → Martensit α′ (krz)
Im Fall a) entsteht der Martensit wie bei den reinen Kohlenstoffstählen beschrieben, durch eine kooperative Gitterscherung.
Im Fall b) wird das krz-Gitter durch die Scherung einzelner Atomlagen in das hdp-Gitter umgewandelt. Die Orientierungsbeziehung der beiden Gitter ist:
Für den Fall c) schließt sich dann noch eine Scherung Richtung normalen Martensit-Gitter an.
Zwischen dem ε und dem α'-Gitter besteht die folgende Orientierungsbeziehung:
Maurer-Diagramm
Für Chrom-Nickel-Stähle wird das nach Lösungsglühen abgeschreckte Gefüge durch das Maurer-Diagramm beschrieben (Abbildung 9). Bei steigenden Chrom- und Nickel-Gehalten wird das Gefüge zunächst Perlitisch-Ferritisch, dann Martensitisch-Perlitisch, anschließend Austenitisch-Martensitisch und schließlich rein austenitisch.
Schaeffler-Diagramm
Bei höheren Chrom-Gehalten tritt Delta-Ferrit auf, der ein, besonders beim Schweißen, unerwünschtes Gefüge darstellt, dessen mögliche Bildung im Schaefflerdiagramm beurteilt werden kann (Abbildung 10). Hier wird auch die stabilisierende Wirkung anderer Legierungselement auf den Ferrit bzw. Austenit berücksichtigt, indem sie, je nach ihrer Wirkung, zu Cr- oder Ni-Äquivalenten zusammengefasst werden.
Cr-Äquivalent = % Cr + % Mo + 1,5 % Si + 0,5 % Nb + 2 % Ti
Ni-Äquivalent = % Ni + 30 % C + 0,5 % Mn
Steigende Cr-Äquivalente führen zunächst zu einem austenitisch-martensitischen Gefüge und anschließend zu Austenit mit sehr hohen Anteilen von Delta Ferrit. Steigende Ni-Äquivalente wirken entgegengesetzt und vermindern den Delta-Ferrit bis sich ein rein austenitisches Gefüge ausbildet.
In Titan und Titanlegierungen
Reines Titan (Element) kann in zwei verschiedenen Kristallmodifikationen vorliegen. Oberhalb 882 °C als Hochtemperaturphase β-Titan im krz Kristallgitter und unterhalb 882 °C als hexagonales (hdp) α-Titan. Beim Zusatz von Legierungselementen bildet sich ein Mischkristallbereich, wobei man Elemente unterscheidet, die den α-Bereich stabilisieren (Al, Sn, Zr, O, N) und solche, die den β-Bereich stabilisieren (Mo, Fe, V, Cr, Nb). Siehe dazu Abbildung 11.
Bildung von Ti-Martensit
Beim Abschrecken aus dem β-Gebiet in Wasser oder Öl auf Temperaturen des α-Gebietes, kann es zur martensit-typischen diffusionslosen Gitterscherung kommen. Da der Titanmartensit, im Gegensatz zum Stahl, keine zwangsgelösten Legierungselemente enthält, kommt es zu keiner Verfestigung. Die Werkstoffeigenschaften der Titanlegierungen können aber über die Einstellung der Gefügeausbildung beeinflusst werden. Zum Beispiel kann aus dem α+β-Gebiet abgeschreckt werden und durch anschließendes Anlassen eine feine Struktur mit abgerundeten β-Lamellen eingestellt werden, die günstige Festigkeitswerte aufweist.
Anwendungsbeispiele
Heute werden auch im Automobilbau Bleche eingesetzt, die Martensit enthalten. Allgemein spricht man hier von Mehrphasenstählen. Konkret sei hier auf die Dualphasenstähle, TRIP-Stähle und die Martensitischen Stähle verwiesen. Diese zeichnen sich durch hohe Festigkeit aus und lassen sich trotzdem verhältnismäßig gut umformen.
Weitere Anwendung findet Martensit in Werkzeugstählen, insbesondere in Maraging-Stählen.
Die Bildung von Martensitstrukturen lässt sich sehr schön beim Differentialhärten von japanischem Tamahagane-Stahl bei Katanas beobachten.
Weblinks
"Hochfrequenzkinematographische Aufnahmen bei hohen und tiefen Temperaturen." (1966) - Aufnahme aus der Sammlung des Bundesinstituts für den Wissenschaftlichen Film (ÖWF) im Onlinearchiv der Österreichischen Mediathek
Einzelnachweise
Gefüge (Werkstoffkunde)
Metallkunde
Stahl | 49,157 |
https://fr.wikipedia.org/wiki/Cheval%20de%20sport%20canadien | Wikipedia | Open Web | CC-By-SA | 2,023 | Cheval de sport canadien | https://fr.wikipedia.org/w/index.php?title=Cheval de sport canadien&action=history | French | Spoken | 872 | 1,375 | Le cheval de sport canadien () est un stud-book de chevaux de sport, géré au Canada. Ces chevaux proviennent de croisements entre des étalons Pur-sang et des juments locales, de race canadienne. La société gérant la sélection est ouverte en 1926, pour enregistrer ces chevaux alors nommés Hunter canadiens (). La race prend son nom actuel en 1984, accompagnant le développement de l'élevage du cheval de sport.
Le cheval de sport canadien est destiné aux compétitions de sports équestres, notamment de saut d'obstacles et de dressage.
Dénomination
Malgré la similarité de nom, le cheval de sport canadien ne doit pas être confondu avec la race du cheval canadien. Le nom est utilisé à équivalence avec celui de , de même sens. La base de données DAD-IS référence cette race de chevaux sous le nom de . L'ancien nom est .
Histoire
Les origines de la race sont européennes, ses plus anciennes traces remontant au d'après la base de données DAD-IS. D'après Bonnie Lou Hendricks (université de l'Oklahoma), la sélection d'une race de chevaux de sport remonte à la fin du , puisque le lieutenant anglais Dan Lysons mentionne dès 1893 l'habileté au saut des chevaux canadiens. La sélection de ces chevaux représente la première expérience d'élevage du cheval de sport en Amérique du Nord.
Au début du , de nombreux sujets sont vendus aux États-Unis, où ils sont montés en saut d'obstacles et équitation hunter, tant en Europe qu'en Amérique du Nord. D'autres sont envoyés en Europe dans le cadre de la Première Guerre mondiale. En 1920, le gouvernement fédéral du Canada s'implique dans la sélection équine, dans le but d'obtenir un type uniforme de chevaux pesant environ .
Le cheval de sport canadien provient de croisements de type demi-sang, entre le cheptel de juments locales canadiennes et des étalons Pur-sang, notamment 16 sujets importés depuis l'Angleterre par la Canadian Racing Association, vers l'Ontario.
En 1926 est créée la Canadian Hunter, Saddle and Light Horse improvement Society (société canadienne pour l'amélioration du cheval de chasse, de selle et léger). Un stud-book est ouvert en 1928 pour l'enregistrement des juments fondatrices. En 1933, la Canadian Hunter Society est fusionnée, et obtient le maintien du stud-book du Hunter canadien.
Ce stud-book est rebaptisé en 1984 pour y inclure la dénomination Sport Horse (cheval de sport), en raison de l'usage de ces chevaux dans les sports équestres, la sélection ayant évolué du cheval militaire vers le cheval de sport. Ce changement de nom est enregistré l'année suivante dans le journal officiel des marques de commerce. La race est re-nommée Canadian Sport Horse. En 2007, le stud-book du Canadian Sport Horse compte 546 sujets inscrits.
Description
La taille doit être supérieure à pour permettre l'enregistrement dans le stud-book. DAD-IS indique une taille moyenne de pour un poids médian de .
Ce cheval est proche des Hunters anglais et irlandais, montrant une nette influence du Pur-sang, avec une construction solide et des mouvements fluides. Les yeux sont grands, l'encolure d'une longueur proportionnelle au corps. La poitrine est large et l'épaule inclinée.
Ses besoins alimentaires sont plus importants que ceux du cheval canadien.
Robes
Toutes les robes sont autorisées, à l'exception de la robe tachetée. Aussi, la robe est unie, généralement baie (dont le bai-brun), alezane, noire ou grise. D'après Judith Dutson, le pie et le gène Crème sont possibles, et donc les robes palomino et cremello.
Sélection
La sélection est gérée par la , qui décrit le cheval de sport canadien comme une race , dont l'existence est étroitement liée aux objectifs de sélection. L'enregistrement des chevaux s'effectue sur inspection. Les jeunes chevaux sont présentés en concours de modèle et allures, y compris lors du prestigieux The Royal Horse Show, où un expert (par exemple, un vétérinaire) est chargé de les évaluer. Les sujets sont recherchés puissants et dotés d'un bon coup de saut, aptes aux trois sports équestres olympiques. Une attention particulière est portée aux allures, qui doivent montrer de l'équilibre et de l'impulsion. la sélection des étalons est particulièrement rigoureuse.
L'association gérant le stud-book, le Canadian National Live Stock records, est domiciliée à Ottawa, en Ontario. Les juments qui n'appartiennent pas au registre du Canadian Sport Horse peuvent être enregistrées sur une liste appendix.
Utilisations
C'est un cheval de sport, utilisé sous la selle et en sports équestres. La race est montée en compétitions de saut d'obstacles, de dressage, de concours complet d'équitation, et de hunter, mais aussi pour la chasse au renard. Elle est présente en attelage de compétition.
Diffusion de l'élevage
Ce stud-book est propre au Canada, et plus particulièrement présent en Ontario. Le guide Delachaux avance que les effectifs de la race sont en croissance en 2014, mais la base de données DAD-IS (2021) ne signale que 241 chevaux appartenant à cette race en 2020, avec une décroissance continue du cheptel entre 2015 et 2020, ce qui place le parmi les races de chevaux locales en danger critique d'extinction. L'étude menée par l'université d'Uppsala, publiée en pour la FAO, signale le comme race locale Nord-américaine, dont le niveau de menace est inconnu.
Notes et références
Annexes
Articles connexes
Liste de races chevalines
Cheval de sport
Cheval au Canada
Lien externe
Bibliographie
Cheval de sport
Race chevaline originaire du Canada
Statut FAO critique | 4,465 |
https://ja.wikipedia.org/wiki/%E7%A5%9E%E9%96%80%E9%83%A1 | Wikipedia | Open Web | CC-By-SA | 2,023 | 神門郡 | https://ja.wikipedia.org/w/index.php?title=神門郡&action=history | Japanese | Spoken | 196 | 2,654 | 神門郡(かんどぐん)は、島根県(出雲国)にあった郡。
郡域
1879年(明治12年)に行政区画として発足した当時の郡域は以下の地域にあたる。
出雲市の一部(西谷町・佐田町須佐・佐田町朝原・佐田町原田・佐田町反邊・佐田町大呂・多伎町神原を除く斐伊川以西かつ武志町、稲岡町、里方町、日下町、矢尾町、大社町各町より南西)
大田市の一部(山口町佐津目・山口町山口)
歴史
古代
律令制の施行により制定されたと考えられる。『出雲国風土記』によれば、伊加曾然(いかそね)という者がこの地に神門を奉ったことにより神門臣の姓を賜り、その神門臣が定住したのでその地を「神門」と呼ぶようになったとされる。郡家は古志郷にあった。
郷里
天平5年(733年)2月30日に成立したとされる『出雲国風土記』には8の郷と22の里があったとされ、以下の郷の記載がある。また天平11年(739年)の『出雲国大税賑給歴名帳』によって里の名前もいくつか判明している。
朝山郷 - 稗原里、加夜里の2里があった。現在の出雲市宇那手町、朝山町、馬木町、馬木北町、稗原町、野尻町辺り。
日置郷 - 荏原里、桑市里、細田里の3里があった。現在の出雲市上塩冶町辺り。
鹽冶郷 - 3里あった(里名は不明)。現在の出雲市今市町、大津町、武志町、高岡町辺り。
八野郷 - 3里あった(里名は不明)。現在の出雲市矢野町、小山町、白枝町、高松町辺り。
高岸郷 - 3里あった(里名は不明)。現在の出雲市塩冶町、塩冶有原町、渡橋町、今市町辺り。
古志郷 - 3里あった(里名は不明)。現在の出雲市知井宮町、古志町、下古志町、芦渡町、塩冶町南側、天神町南側辺り。
滑狭郷 - 阿禰里、池井里の2里があった。現在の出雲市知井宮町、東神西町、西神西町、平成町および湖陵町二部、三部、常楽寺、畑村辺り。
多伎郷 - 国村里、山田里の2里があったとされ、もう1里の名は不明。現在の出雲市多伎町、湖陵町差海辺り。
餘戸里 - 現在の出雲市乙立町、佐田町一窪田、高津屋、上橋波、下橋波、吉野、佐津目および大田市山口町辺り。
狭結驛 - 古志郷にあった。
多伎驛 - 多伎郷にあった。
神戸里 - 現在の出雲市所原町辺り。
狭結駅家
多伎駅家
式内社
『延喜式』神名帳に記される郡内の式内社。
近世以降の沿革
「旧高旧領取調帳データベース」に記載されている明治初年時点での支配は以下の通り。●は村内に寺社領(出雲大社領)が存在。(1町85村4浦)
明治4年
7月14日(1871年8月29日) - 廃藩置県により松江県の管轄となる。
11月15日(1871年12月26日) - 第1次府県統合により島根県の管轄となる。
明治6年(1873年) - 宮内村、越峠村、大土地村、赤塚村、中村、仮宮村、市場村、修理免村が合併して杵築村となる。
明治8年(1875年)(1町77村5浦)
杵築村のうち、旧修理免村の大部分が分立して修理免村となる。
西園村の一部が分立して外園浦となる。
9月5日
茅原村・荒木村・古荒木村が合併して荒茅村となる。
下荘村・横引村が合併して下横村となる。
粟津村・堀江村が合併して平野村となる。
荻原村・杼島村が合併して荻杼村となる。
大津村・石塚村・朝倉村が合併して大石村となる。
中ノ島村・上ノ郷村が合併して上島村となる。
明治12年(1879年)1月12日 - 郡区町村編制法の島根県での施行により行政区画としての神門郡が発足。郡役所が今市町に設置。
明治14年(1881年) - 杵築村が分割して杵築西村・杵築北村・杵築東村・杵築南村となる。(1町80村5浦)
明治22年(1889年)4月1日 - 町村制の施行により、下記の各村が発足。特記以外は全域が現・出雲市。(2町28村)
窪田村 ← 一窪田村、毛津村
山口村 ← 吉野村、高津屋村、上橋波村、下橋波村(現・出雲市)、佐津目村(現・出雲市、大田市)、山口村(現・大田市)
乙立村 ← 乙立村、八幡原村、東村
田儀村 ← 奥田儀村、口田儀村
田岐村 ← 小田村、多岐村
久村(単独村制)
江南村 ← 畑村、常楽寺村、二部村、三部村
西浜村 ← 大池村、板津村、差海村
神西村 ← 大島村、神西村沖分、神西村東分、神西村西分
知井宮村 ← 知井宮本郷、知井宮沖
布智村 ← 蘆渡村、下古志村
古志村 ← 上古志村、古志町
高松村 ← 松枝村、白枝村、松寄下村、下横村
園村 ← 東園村、西園村、外園浦
荒茅村(単独村制)
荒木村 ← 中荒木村、北荒木村、修理免村
杵築村 ← 杵築西村、杵築北村
杵築町 ← 杵築東村、杵築南村
日御碕村 ← 日御碕、宇竜浦
遙堪村 ← 浜村、入南村、菱根村、遙堪村
鵜鷺村 ← 鷺浦、鵜峠浦
高浜村 ← 矢尾村、日下村、里方村、平野村、常松村、八島村、江田村
四纏村 ← 矢野村、小山村、大塚村、渡橋村
川跡村 ← 武志村、中野村、荻杼村、稲岡村、高岡村
今市町 ← 今市村、今市町
塩冶村 ← 上塩冶村、下塩冶村、天神村
朝山村 ← 馬木村、上朝山村、所原村、見々具村
稗原村 ← 稗原村、野尻村、宇那手村
上津村 ← 上島村、船津村
大津村 ← 大石村、大津町
明治29年(1896年)4月1日 - 郡制の施行のため、出雲郡・楯縫郡・神門郡の区域をもって簸川郡が発足。同日神門郡廃止。
行政
歴代郡長
脚注
注釈
出典
参考文献
沖森卓也、佐藤信、矢嶋泉 編著『出雲国風土記』 2005年 山川出版社 ISBN 978-4-634-59390-9
関和彦『『出雲国風土記』註論』 2006年 明石書店 ISBN 4-7503-2376-4
旧高旧領取調帳データベース
島根県内市町村その他情報
関連項目
消滅した郡の一覧
島根県の郡 (消滅)
出雲国の郡
旧こうと
出雲市の歴史 | 46,321 |
https://stackoverflow.com/questions/64806712 | StackExchange | Open Web | CC-By-SA | 2,020 | Stack Exchange | Luca Jungla, Marek R, Vaughn Cato, https://stackoverflow.com/users/1387438, https://stackoverflow.com/users/8967790, https://stackoverflow.com/users/9123683, https://stackoverflow.com/users/951890, justapony | Sardinian | Spoken | 1,048 | 2,164 | c++ member function template specialization on class non-type template parameter
Starting with the following example:
#include <cstdio>
template<int X, int Y>
struct C {
template<int Z> void bar() {printf("Generic %d/%d\n",X,Y);}
void foo() {bar<Y>();}
};
int
main(int argc, char *argv[])
{
C<0,0> c0;
c0.foo();
C<0,1> c1;
c1.foo();
}
I'd like to now define additional "bar()" functions specialized on the value of "Y". Specifically something like the inserted lines below (sorry I don't know how to otherwise highlight them):
#include <cstdio>
template<int X, int Y>
struct C {
template<int Z> void bar() {printf("Generic %d/%d\n",X,Z);}
template<> void bar<1>() {printf("Special %d/1\n",X);}
void foo() {bar<Y>();}
};
template<int X> template<> C<X,2>::bar<2>() {printf("Special %d/2\n",X);}
int
main(int argc, char *argv[])
{
C<0,0> c0;
c0.foo();
C<0,1> c1;
c1.foo();
}
Sadly, neither of those approaches seems to be valid/compile (gcc/9.3.0, -std=c++11). ex:
tempspec.cpp:94:12: error: explicit specialization in non-namespace scope ‘struct C<X, Y>’
94 | template<> void bar<1>() {printf("Special %d/1\n",X);}
| ^
tempspec.cpp:94:26: error: template-id ‘bar<1>’ in declaration of primary template
94 | template<> void bar<1>() {printf("Special %d/1\n",X);}
| ^
tempspec.cpp:97:33: error: expected initializer before ‘<’ token
97 | template<int X> void C<X,2>::bar<2>() {printf("Special %d/2\n",X);}
| ^
I know I can't partially specialize a function (which is what I really want to do) but I thought here I was partially specializing the struct, and fully specializing the function.
So the question is, how do I define additional specifications of "bar()" as a member function?
(As for why, say that "bar()" is a stencil computation and "Y" is the size of the stencil. Based on "Y" I may have different implementations optimized for certain sizes.)
I think you are misunderstanding template. Specialization of a template parameter does not mean use a value, but a type. Template allows you to define function/class for different type. They are more likely a recipe for building a user-defined type or a function. https://www.cplusplus.com/doc/oldtutorial/templates/
@LucaJungla it is possible to provide value as template parameter. It is limited to specific simple types. https://en.cppreference.com/w/cpp/language/template_parameters
@justapony can you provide more details (more requirements). What are you trying to achieve? Maybe there is a better solution for your problem.
Not a whole lot of extra details. My "stencil" example generically illustrates the use case: specialized/optimized versions of member function(s). It just seems like a natural use of templates and I want to understand what I'm doing wrong syntactically and/or understand why using templates in this way is unreasonable from a C++ language point of view. I'm less interested in hacks to make it work (after all I could just write "bar" as a big case statement, #ifdef, compile time if, etc... ;^)); more interested in understanding why this isn't the "right" approach.
@justapony: I've extended my answer to try to get at the "why" a little more. Let me know if more detail would be helpful.
So it sounds as if my error in thinking is that I thought I was partially specializing the struct (allowed), and fully specializing the function (allowed). However, the two are not separable. Not the way I was reading things, but I can see how that's the case.
Right. If you partially specialize the struct, you need a new struct definition. You can't partially specialize just one member of a struct. It is all or nothing.
As for why, say that "bar" is a stencil computation and "Y" is the size of the stencil. Based on "Y" I may have different implementations optimized for certain sizes.
So my suggestion is: avoid specialization and use overloading with tag-dispatching.
A template bar() for generic case a some non-template bar() for special cases
#include <iostream>
template <int X, int Y>
struct C
{
template <typename T>
void bar (T const &)
{ std::cout << "Generic " << X << '/' << Y << '\n'; }
void bar (std::integral_constant<int, 1> const &)
{ std::cout << "Special " << X << '/' << 1 << '\n'; }
void bar (std::integral_constant<int, 2> const &)
{ std::cout << "Special " << X << '/' << 2 << '\n'; }
void bar (std::integral_constant<int, 4> const &)
{ std::cout << "Special " << X << '/' << 4 << '\n'; }
void foo ()
{ bar(std::integral_constant<int, Y>{}); }
};
int main ()
{
C<0,0>{}.foo();
C<0,1>{}.foo();
C<0,2>{}.foo();
C<0,3>{}.foo();
C<0,4>{}.foo();
C<0,5>{}.foo();
}
Directly doing what you want isn't allowed. Explicit specialization requires that you specify explicit values for all template parameters. This means both the class template parameters and the member function template parameters. For example, this would be legal:
template<>
template<>
void C<1,1>::bar<1>() { printf("Special %d/1\n",1); }
But if you don't use template<>, then you are either defining a previously declared member, or you are in the land of partial specialization, but partial specialization is only allowed for class templates and for variable templates due to conflicts between function overloading and partial specialization.
Note that an explicit specialization is not a template (despite the template<> syntax). Which is why is it important that it not occur inside the class template.
However, these kinds of issues can be worked around by deferring to a separate class template that you can partially specialize:
#include <cstdio>
template<int X, int Y> struct C;
template <int X, int Y, int Z>
struct CBar {
static void bar(C<X,Y> &) {
printf("Generic %d/%d\n",X,Z);
}
};
template <int X, int Y>
struct CBar<X,Y,1> {
static void bar(C<X,Y> &) {
printf("Special %d/%d\n",X,1);
}
};
template <int X>
struct CBar<X,2,2> {
static void bar(C<X,2> &) {
printf("Special %d/%d\n",X,2);
}
};
template<int X, int Y>
struct C {
template<int Z> void bar() { CBar<X,Y,Z>::bar(*this); }
void foo() {bar<Y>();}
};
int main(int , char *[])
{
C<0,0> c0;
c0.foo();
C<0,1> c1;
c1.foo();
C<0,2> c2;
c2.foo();
}
Program stdout
Generic 0/0
Special 0/1
Special 0/2
You've changed problem to solve. He has template method in template class and you transformed problem to class template. Also he needs full specialization of method of partially specialized class. Here is similar problem https://stackoverflow.com/a/4995094/1387438 which was solved.
@MarekR: I don't see what you are saying. I am solving the problem using another class template, but I don't see how that is changing the problem.
@MarekR: I do see that I specialized the wrong thing though. I'll fix that.
@MarekR: Actually, it seems like the intent of the OP was to specialize foo, and deferring to bar was an attempt at that.
| 2,152 |
https://stackoverflow.com/questions/26896030 | StackExchange | Open Web | CC-By-SA | 2,014 | Stack Exchange | arman1991, https://stackoverflow.com/users/1951380, https://stackoverflow.com/users/4064237, jimmy | English | Spoken | 506 | 917 | angular combobox with ui-select
I'm looking for a way to create a combobox (text input and dropdown select in one). The textbox should be linked to a model value as if it was a normal text input, but at the same time it should be possible to select a value from the dropdown which will be set as the text.
I've tried angular-ui-select (https://github.com/angular-ui/ui-select) but was not able to get the required functionality. It's either only textfield or only allows to select from the dropdown. My user should be able to enter a custom text OR select from the dropdown.
I've tried with the code below which of course doesn't work, as my model element.customType is only set once a value from the dropdown is selected. Anyone aware of how this could be achieved with ui-select or maybe another directive?
<ui-select ng-model="element.customType" theme="bootstrap" ng-disabled="disabled" style="min-width: 300px;">
<ui-select-match placeholder="Enter customType...">{{$select.selected}}</ui-select-match>
<ui-select-choices repeat="type in CUSTOM_TYPES">
<div ng-bind-html="trustAsHtml(type)"></div>
</ui-select-choices>
</ui-select>
Any help is appreciated.
I had also very similar problem before few months with that.
Jimmy, please take look on following documentations http://ivaynberg.github.io/select2/ and
https://github.com/angular-ui/ui-select2
Why don't you use provenselect tag?
For combining select2 library and Angular js, you have to include css and js libraries as here https://github.com/angular-ui/ui-select2#usage
Note that you must include 2 DIFFERENT SELECT2 libraries: PLAIN select2 library AND select2 library from ANGULAR-UI-SELECT2
If you have the correct configuration, controller and service for getting your data, the HTML part is very simple, for an example:
<select ui-select2 ng-model="selectedSingle" data-placeholder="-- Select One --">
<option></option>
<option ng-repeat="item in items" value="{{item.id}}">{{item.name}}</option>
</select>
More details on https://github.com/angular-ui/ui-select2#working-with-dynamic-options
I also used the same references, hope you will solve it very quickly :)
Thanks for the reply. I'm not entirely sure as how this would help in my case. Seems to be a similiar solution thatn ui-select with the downside that it's deprecated and they point to the ui-select project instead. I've just implemented a typeahead solution for now from angular bootstrap (http://angular-ui.github.io/bootstrap).
My opinion is that this typehead solution is not powerful enough. The reason why I gave you this suggestion is that with the mentioned select2 libraries you can have single- and multiple selection, with search of course. Have look on this example: http://www.bootply.com/vHj8Tv7uJu . Is that what you need?
I agree, the typeahead is of course not optimal but will suffice for now. I was rather looking for a way to merge a text input AND a select input in one. At least in my book that's what the definition of a combobox is. All the solutions I found only allow you to use the textfield as a search to select (single/multiple) items from the select input but won't allow you to also have a user enter custom text.
Honestly @jimmy, I'm wondering that example in my previous comment (especially the 'Tag Picker') can't help you. You can always play with css, because if I understand you correctly, the Tag Picker is the combination that you are searching for. I really don't have more ideas to help you :D
| 34,507 |
https://da.wikipedia.org/wiki/Pave%20Lando | Wikipedia | Open Web | CC-By-SA | 2,023 | Pave Lando | https://da.wikipedia.org/w/index.php?title=Pave Lando&action=history | Danish | Spoken | 74 | 139 | Pave Lando (også kendt som Landus, død 914) var pave fra juli eller november 913 til sin død i 914. Hans korte tid som pave skete på et kaotisk tidspunkt i den katolske kirke og Roms historie kaldet Saeculum obscurum (904–64). Han var den sidste pave, der bruge et nyt navn som pavenavn (i dette tilfælde hans fødenavn), som ikke var brugt før, indtil Pave Frans blev valgt i 2013.
Referencer
Paver i middelalderen | 23,720 |
https://fi.wikipedia.org/wiki/Alfred%20Robb | Wikipedia | Open Web | CC-By-SA | 2,023 | Alfred Robb | https://fi.wikipedia.org/w/index.php?title=Alfred Robb&action=history | Finnish | Spoken | 128 | 358 | Alfred Arthur Robb tai Alfred A. Robb (18. tammikuuta 1873 – 14. joulukuuta 1936) oli brittiläinen fyysikko.
Opiskelu
Robb opiskeli Queen's Collegessa Belfastissa ja St John's Collegessa Cambridgessa. Sen jälkeen hän haki Göttingenin yliopistoon, missä hän teki tutkielmansa Zeemanin ilmiöstä. Hän myös työskenteli J. J. Thomsonille Cavendishin laboratoriossa. Hänelle myönnettiin Croix de Guerre, minkä jälkeen hänestä tuli brittiläisen tiedeakatemian Royal Societyn jäsen.
Työ
Robb tunnetaan hänen neljästä artikkelistaan, jotka koskevat erityistä suhteellisuusteoriaa, joissa hän johti aika-avaruuden formalismin aksiomaattisen geometrian avulla. Robbia kutsuttiin joskus sen johdosta nimellä "Suhteellisuuden Eukleides". Näistä töistä ensimmäisessä hän käyttää hyperbolista kulmaa esitelläkseen rapiditeetin konseptin, joka selvensi nopeuden lisäämisen kaavan. Hän osoitti myös että kinemaattinen nopeuksien avaruus on hyperbolinen.
Katso myös
Hyperbolinen geometria
Lähteet
Brittiläiset fyysikot
Royal Societyn jäsenet
Vuonna 1873 syntyneet
Vuonna 1936 kuolleet | 41,509 |
https://pl.wikipedia.org/wiki/Thorame-Haute | Wikipedia | Open Web | CC-By-SA | 2,023 | Thorame-Haute | https://pl.wikipedia.org/w/index.php?title=Thorame-Haute&action=history | Polish | Spoken | 56 | 167 | Thorame-Haute – miejscowość i gmina we Francji, w regionie Prowansja-Alpy-Lazurowe Wybrzeże, w departamencie Alpy Górnej Prowansji.
Demografia
Według danych na rok 1990 gminę zamieszkiwało 206 osób, a gęstość zaludnienia wynosiła 2 osoby/km². W styczniu 2015 r. Thorame-Haute zamieszkiwało 235 osób, przy gęstości zaludnienia wynoszącej 2,2 osób/km².
Bibliografia
Francuski Urząd Statystyczny
Miejscowości w departamencie Alpy Górnej Prowansji | 5,168 |
https://br.wikipedia.org/wiki/Ursula%20%28santez%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Ursula (santez) | https://br.wikipedia.org/w/index.php?title=Ursula (santez)&action=history | Breton | Spoken | 287 | 708 | Santez Ursula zo ur santez vrezhon, hervez ar vojenn, daoust d'hec'h anv latin, hag a dalv kement hag arzhezig, lidet d'an 21 a viz Here. Stag eo hec'h anv eus mojenn an unnek mil gwerc'hez.
Yezhoù all
Sainte Ursule, e galleg
Sant'Orsola en italianeg
Ar vojenn
Priñsez e oa, merc'h da Donaut, roue Dumnonia (Dyfnaint). Mont a reas da Vreizh da glask danvez he fried Konan Meriadeg, gant 11 000 gwerc'hez, he mitizhien. Ur mell korventenn a c'hoarvezas ha treizhañ a reas en un ober un devezh. Pan erruas war aod Galia e tivizas mont da berc'herinañ e-lec'h mont da zimeziñ, hag he mitizhien d'he heul. Mont a reas da Roma, gant he c'hoskor. Eno e reas d'ar pab Cyriacus (dianav evel pab), ha da Sulpicius, eskob Ravenna, dont d'he heul. Eus Roma ez ejont da g-Köln, da Alamagn, a oa etre daouarn an Huned. Dibennet e voe ar mitizhien ha merzheriet Ursula, a voe lazhet a saezhadoù gant Attila. Kement-se a vije bet c'hoarvezet e 383.
Buhez
Ur buhezskrid latin a voe savet er Grennamzer, hag a voe troet e kembraeg er XVvet kantved gant ar barzh Huw Pennant eus Sir y Fflint, breur Thomas Pennant, abad Dinas Basing. Emañ ar skrid en dornskrid Llansteffan 34.
Lec'hioù
Iliz-veur Santez Ursula, e Köln en Alamagn.
En Iliz Llangwyryfon e Sir Ceredigion, e Kembre, eo enoret ar gwerc'hezed.
An Inizi Gwerc'h zo bet anvet gant Kristof Kolomb abalamour da Ursula hag he gwerc'hezed.
Arz
Poltredet eo bet gant un toullad arzourien brudet: Memmling, Holbein, Rubens.
Levrlennadur
Oskar Schade: Die Sage von der Heiligen Ursula und den elftausend Jungfrauen: Ein Beitrag zur Sagenforschung. 3. Auflage. Rümpler, Hannover 1854 (Digitalisat)
http://br.wikisource.org/wiki/Buhez_ar_Sent/1913/Ursula
Pennad kar
Iliz Santez Ursula
Liammoù diavaez
Sentezed brezhon | 48,692 |
https://it.wikipedia.org/wiki/Charles%20Compton%2C%20I%20marchese%20di%20Northampton | Wikipedia | Open Web | CC-By-SA | 2,023 | Charles Compton, I marchese di Northampton | https://it.wikipedia.org/w/index.php?title=Charles Compton, I marchese di Northampton&action=history | Italian | Spoken | 177 | 324 |
Biografia
Era il figlio di Spencer Compton, VIII conte di Northampton, e di sua moglie, Jane Lawton.
Carriera
È stato eletto alla Camera dei comuni per Northampton nel 1784, un posto che ha mantenuto fino al 1796, quando successe al padre alla contea ed è entrato nella Camera dei lord. Suo cugino Spencer Perceval, poi il primo ministro, lo ha sostituito come membro del Parlamento per Northampton. Lord Northampton è stato anche Lord luogotenente del Northamptonshire. Nel 1812 fu creato barone Wilmington, Conte Compton e Marchese di Northampton.
Matrimonio
Sposò, il 18 agosto 1787, Maria Smith (?-14 marzo 1843), figlia di Joshua Smith. Ebbero due figli:
Spencer Compton, II marchese di Northampton (2 gennaio 1790-17 gennaio 1851);
Lady Frances Elizabeth Compton (?-1873), sposò Charles Scrase Dickens, ebbero quattro figli.
Morte
Morì il 24 maggio 1828, all'età di 68 anni.
Bibliografia
Kidd, Charles, Williamson, David (editors). Debrett's Peerage and Baronetage (1990 edition). New York: St Martin's Press, 1990
Collegamenti esterni
Charles Compton, 01 marchese di Northampton
Charles Compton, 01 marchese di Northampton
Charles Compton, 01 marchese di Northampton | 9,607 |
https://ceb.wikipedia.org/wiki/Gorgomyces | Wikipedia | Open Web | CC-By-SA | 2,023 | Gorgomyces | https://ceb.wikipedia.org/w/index.php?title=Gorgomyces&action=history | Cebuano | Spoken | 32 | 76 | Kahenera sa mga uhong ang Gorgomyces. Ang Gorgomyces sakop sa ka-ulo nga Ascomycota, ug kaginharian nga abungawg-uhong.
Ang kladogram matud sa Catalogue of Life mao:
Ang mga gi basihan niini
Abungawg-uhong
Gorgomyces | 25,533 |
https://fr.wikipedia.org/wiki/Ana%20Mart%C3%ADn | Wikipedia | Open Web | CC-By-SA | 2,023 | Ana Martín | https://fr.wikipedia.org/w/index.php?title=Ana Martín&action=history | French | Spoken | 779 | 1,332 | Ana Martín (née le à Mexico) est une actrice mexicaine de cinéma et de telenovelas.
Elle a joué dans plusieurs telenovelas célèbres, telles que Gabriel y Gabriela, La pasión de Isabela, El pecado de Oyuki, La culpa, Gente bien, Ángela, Alma rebelde, Navidad sin fin, Atrévete a olvidarme, Amor Real.
Carrière
En 2004, elle a un rôle important dans Rubí, remake de la telenovela de 1968 et 1970, où elle interprète la mère de l'héroïne. En 2005, elle joue dans La Madrastra, puis en 2006 dans Duelo de pasiones et en 2007 dans Destilando amor.
En 2009, elle apparaît dans Un gancho al corazón, remake de la telenovela argentine Sos mi vida. En 2010, elle est à nouveau dans l'adaptation mexicaine d'un feuilleton argentin, avec Los exitosos Pérez.
Elle a aussi tourné pour le cinéma, notamment dans Fin de fiesta (1972) et El lugar sin límites en 1977.
Filmographie
Telenovelas
1969 : Tú eres mi destino
1973 : Mi primer amor : Baby
1974 : El manantial del milagro : Blanca
1975 : El milagro de vivir : Jenny Gordon
1976 : Mundos opuestos : Mónica de la Mora
1979 : La llama de tu amor
1979 : Muchacha de barrio : Laura
1982 : Gabriel y Gabriela : Gabriela de Reyes/Gabriela Reyes/Gabriel
1984 : La pasión de Isabela : Isabela Hernández Gallardo
1988 : El pecado de Oyuki : Oyuki Oguino
1996 : La culpa : Cuquita Leon de Mendizábal
1997 : Gente Bien : Alicia Dumas de Klein
1998-1999 : Ángela : Delia Bellati Roldán
1999 : Alma rebelde : Clara Hernández
2001 : Atrévete a olvidarme : Sabina
2002 : Navidad sin fin : Teófila
2003 : Amor real : Rosario Aranda
2003-2004 : Amar otra vez : Yolanda Beltrán
2004 : Rubí : Refugio Ochoa vda. de Pérez
2005 : La madrastra : Socorro de Montes
2006 : Duelo de pasiones : Luba López
2007 : Destilando amor : Clara García Vda. de Hernández
2008-2009 : Un gancho al corazón : Nieves Ochoa
2009 : Mañana es para siempre : Mujer en la Boda
2009-2010 : Los exitosos Pérez : Renata Mansilla de la Cruz « Rosa »
2010 : Soy tu dueña : Benita Garrido
2011-2012 : La que no podía amar : María Gómez
2012-2013 : Amores verdaderos : Candelaria Corona
2013-2014 : Por siempre mi amor : Maria « Tita » Alverde Vda. de Escudero
2014-2015 : Hasta el fin del mundo : Dolores
2015-2016 : Simplemente María : Felicitas Nuñez Vda. de Cervantes "Doña Feli"
2017-2018 : Sin tu mirada : Angustias Gálvez
Séries télévisées
2008 : La Rosa de Guadalupe : Yoya
2003-2004 : Desde Gayola : La Chata
Mujer, casos de la vida real
Cinéma
2012 : Canela
2005 : Me han destrozado la vida
2005 : Molinos de viento : Interviews
2004 : Las viudas
2001 : En el tiempo de las mariposas : Mamá
2001 : Corazones rotos : Celina
1998 : Un boleto para soñar
1996 : Dulces compañías : Nora
1981 : Ángela Morante, ¿crimen o suicidio? : Rosa Solórzano
1980 : Vivir para amar : Marina
1980 : Verano salvaje
1979 : Cadena perpetua : Criada
1979 : Los indolentes : Rosa
1978 : Ratas del asfalto
1978 : El lugar sin límites d'Arturo Ripstein : La Japonesita
1977 : Mil caminos tiene la muerte : Claudia
1976 : El pacto : Teresa
1974 : La mujer del diablo
1974 : El primer paso... de la mujer
1973 : El profeta Mimí : Rosita
1973 : Lágrimas de mi barrio
1972 : Trío y cuarteto
1972 : Hoy he soñado con Dios : Rita Linares
1972 : Victoria
1972 : Tacos al carbón : Lupita
1972 : Fin de fiesta : Raquel
1972 : Trampa mortal
1971 : En esta cama nadie duerme
1971 : Siempre hay una primera vez : (Episode Rosa) Rosa
1971 : Los corrompidos : Luz María
1970 : La rebelión de las hijas
1970 : ¿Por qué nací mujer? : Santa
1970 : Faltas a la moral : Consuelo "Chelo" Godínez
1969 : El golfo
1969 : Romance sobre ruedas
1968 : Blue Demon contra las diabólicas
1968 : Blue Demon contra cerebros infernales
1968 : Corona de lágrimas : Consuelito
1967 : Return of the Gunfighter : Anisa
1967 : La muerte es puntual
1967 : Acapulco a go-go : Rita
1967 : Amores prohibidos
1966 : El ángel y yo
1966 : Marcelo y María
1966 : Pánico
1965 : El gángster
Notes et références
Liens externes
Actrice mexicaine de cinéma
Actrice mexicaine de telenovela
Naissance en mai 1946
Naissance à Mexico
Participante à Miss Monde 1963 | 31,248 |
https://ar.wikipedia.org/wiki/%D9%85%D9%88%D9%85%D9%88%D8%AF%D9%88%20%D8%A8%D8%A7%D9%85%D8%A7 | Wikipedia | Open Web | CC-By-SA | 2,023 | مومودو باما | https://ar.wikipedia.org/w/index.php?title=مومودو باما&action=history | Arabic | Spoken | 65 | 205 | مومودو باما (توفي في 14 أغسطس 2013) والمعروف أيضًا باسم أبو سعد كان الرجل الثاني في قيادة جماعة بوكو حرام المتشددة. قبل وفاته في أغسطس 2013 قدمت الحكومة النيجيرية 155.000 دولار مكافأة للقبض عليه. كان مجال معرفته الرئيسي هو إدارة المدافع المضادة للطائرات. كان ابن أباتشا فلاتاري. قبل مقتله صادر الجيش النيجيري عدة عبوات ناسفة محلية الصنع بالإضافة إلى قذائف صاروخية.
المراجع
أعضاء بوكو حرام | 45,942 |
https://ceb.wikipedia.org/wiki/Rema%20costimacula | Wikipedia | Open Web | CC-By-SA | 2,023 | Rema costimacula | https://ceb.wikipedia.org/w/index.php?title=Rema costimacula&action=history | Cebuano | Spoken | 45 | 87 | Kaliwatan sa alibangbang ang Rema costimacula. Una ning gihulagway ni Achille Guenée ni adtong 1852. Ang Rema costimacula sakop sa kahenera nga Rema, ug kabanay nga Noctuidae. Usa ka matang nga nahiubos niini atong makita R. c. avisignata.
Ang mga gi basihan niini
Insekto
Rema | 2,260 |
https://stackoverflow.com/questions/8520243 | StackExchange | Open Web | CC-By-SA | 2,011 | Stack Exchange | Adam Arold, LuisLiu, MartinZ, Muhamad Fathurudin bin zaini, hellooooo, https://stackoverflow.com/users/1051580, https://stackoverflow.com/users/19134559, https://stackoverflow.com/users/19134560, https://stackoverflow.com/users/19134561, https://stackoverflow.com/users/19135121, https://stackoverflow.com/users/19135533, https://stackoverflow.com/users/485337, lqs000, namhoctamanh | English | Spoken | 336 | 880 | Is there a non-commercial Hibernate query checker?
We are using Hibernate at my workplace on some project and I had to modify some queryes recently. I found it really cumbersome to modify a query, run an ant smart or ant refresh and see whether my query works. When I asked one of my colleagues he told me that it is the way we use it.
Do you have any idea how can I speed up this process? I'm looking for a tool which can connect to a database (we are using PGSQL) and run my Hibernate query there and show the results without touching ant.
For example I would be able to try this:
@Query(query = "SELECT DISTINCT l FROM Line l, IN(l.workplaces) w WHERE w.workshop.sid=:wsid", params = "wsid")
Hibernate is in no way linked to ant. It can be used in any JSE application. You can make such an application yourself very easily.
I know it is not linked but our application is built using ant. I don't want to run ant every time i want to try a query.
JBoss Tools for eclipse has a HQL editor that you can open from the hibernate perspective, you can test hql queries there.
We have a junit-Test for hibernate which uses the derby database as a in-memory databse. This will create the database in derby with all tables and you should be able to execute the query, to see if it is valid.
We have all queries in the orm.xml, so those queries are already checked when creating the EntityManager.
setup
private static EntityManagerFactory emf;
private static EntityManager em;
@BeforeClass
public static void before()
{
emf = Persistence.createEntityManagerFactory("persistenztest");
em = emf.createEntityManager();
}
test
@Test public void test()
{
Query q = em.createQuery(YOUR_QUERY_HERE);
List<?> list = q.getResultList();
}
Persistence.xml
<?xml version="1.0" encoding="UTF-8"?>
<persistence version="1.0"
xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
<persistence-unit name="persistenztest" transaction-type="RESOURCE_LOCAL">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<mapping-file>orm.xml</mapping-file>
<properties>
<property name="hibernate.hbm2ddl.auto" value="create"/>
<property name="hibernate.connection.driver_class" value="org.apache.derby.jdbc.EmbeddedDriver" />
<property name="hibernate.connection.url" value="jdbc:derby:memory:sa;create=true;territory=de_DE;collation=TERRITORY_BASED:SECONDARY;"/>
<property name="hibernate.cache.provider_class" value="org.hibernate.cache.HashtableCacheProvider"/>
<property name="hibernate.cache.use_query_cache" value="false"/>
<property name="hibernate.cglib.use_reflection_optimizer" value="false" />
</properties>
</persistence-unit>
</persistence>
| 38,711 |
https://ru.wikipedia.org/wiki/%D0%9B%D1%83%D1%80%D1%8C%D0%B5%2C%20%D0%9C%D0%B0%D0%BA%D1%81 | Wikipedia | Open Web | CC-By-SA | 2,023 | Лурье, Макс | https://ru.wikipedia.org/w/index.php?title=Лурье, Макс&action=history | Russian | Spoken | 22 | 78 | Макс Лурье:
Лурье, Макс Израилович (род. 1957) — советский и израильский журналист, редактор.
Лурье, Макс Леонард (1920—2009) — американский психиатр и психофармаколог. | 48,255 |
https://ja.wikipedia.org/wiki/E31T | Wikipedia | Open Web | CC-By-SA | 2,023 | E31T | https://ja.wikipedia.org/w/index.php?title=E31T&action=history | Japanese | Spoken | 147 | 1,866 | ビジネスケータイ E31T(ビジネスケータイ イーさんいちティー)は、東芝が開発・製造し、富士通東芝モバイルコミュニケーションズ(現・FCNT)によって発売された、auブランドを展開するKDDIおよび沖縄セルラー電話のCDMA 1X WIN対応ストレート式フィーチャー・フォン型スマートフォンである。メーカー型番はSS11-J01(えすえす いちいち じぇい ぜろいち)。
概要
auブランドのスマートフォンは法人向けとして2代目にあたる機種で、当初から個人(一般)ユーザー向けとしての発売の予定は検討されておらず、ヤマト運輸において2011年1月現在使用されているE03CAを置き換える形で、同社のセールスドライバー向けに導入される。オリジナルUIを除く基本プラットフォーム(OS)、およびCPUなどの各種デバイスに関しては個人ユーザー向けとして発売されている既存のdynapocket IS02(TSI01・RP8-J01)にほぼ準拠しているが、形状はNTTドコモのハンディーターミナル型スマートフォンの、F-05Bなどと同等に防水ストレートでタッチパネルに対応し、キーボードに関してはQWERTYキーではなく、テンキーパッドが採用されている。なお、バッテリーパックに関しては本機専用の大容量タイプのもの(1880mAh)が使用されている。
本機種は旧・東芝モバイルコミュニケーション社が最後に単独で開発・製造したスマートフォンでもある。また、2011年のTOSHIBAブランドのスマートフォン(IS11T、およびIS12Tが該当)に関しては富士通東芝名義での開発・製造となる。
2011年夏モデルの法人向けスマートフォンのEIS01PT(PT01E)以降の機種より新型番ルールが採用されたため、旧型番ルールを用いたau向けの法人向けスマートフォンとしては最後の機種となった。
歴史
2010年(平成22年)7月14日 - ワイヤレスジャパン2010にて、本機が公開される。
2010年8月6日 - 連邦通信委員会(FCC)を通過。
2011年(平成23年)1月以降 - ヤマト運輸へ5万台を納入。
2011年4月以降 - 全国にて法人向けとして発売。
2011年10月18日 - Microsoft My Phoneのサービスが終了。
2012年(平成24年)5月17日 - Windows Mobile 6.x Marketplace のサービスが終了。
2012年7月22日 - L800MHz(旧800MHz帯・CDMA Band-Class 3)帯によるサービスの停波によりそれ以降はN800MHz(新800MHz帯・CDMA Band-Class 0)帯および2GHz(CDMA Band-Class 6)帯の各サービスで利用する事となる。
2012年9月 - 法人向けの販売を終了。
2022年3月31日 - 同キャリアにおける3Gサービスの完全終了・停波により、当機種は全て使用不可となる。
主な機能・サービス
Microsoft® My Phone
Internet Explorer Mobile6
Outlook Mobile(連絡先、予定、仕事)
Office Mobile(Word Mobile、Excel Mobile、PowerPoint Mobile)
Mail、Messenger(Windows Live Messenger Windows Live メール Outlookメール等)
Windows Media Player Mobile(WMA(WMA9を含む)・WMV(ASFを含む)・MP3・MP4・AAC・M4A・M4A・H.264・AMR対応)
自動ログイン機能
電卓
世界時計
天気予報アプリ
ActiveSync®(アプリケーションのインストールのほかに、PC上のMicrosoft OutlookとE31TのPIM(メール、予定表、連絡先、仕事)との同期ができる。企業利用であれば、Microsoft Exchange Serverとのリモートでの同期が図れる。その他に、音楽、動画、WordやExcelなどのファイルのPCとの共有などができる)
Adobe Reader LE
Bluetooth
ボイスレコーダー
タスクマネージャ
伝言メモ
RSS・Hub
ボイス短縮ダイヤル
SIMマネージャ
手書きメモ
名刺OmCR
スマートフォンアドレス帳移行ツール
SPB Backup
Cyber-SIGN
PCメール
PCデータ通信機能
Cメール
KDDIオリジナルランチャ(個人向けスマートフォンであるIS02の「NX!UI」に相当するUI)
関連項目
東芝
富士通モバイルコミュニケーションズ
東芝製のスマートフォン
ヤマト運輸
E03CA
E05SH
E06SH
E30HT
dynapocket IS02(TSI01・K01-KDDI)
F-05B - 同端末と同様、大型のバーコードスキャナー、Windows Mobile 6.5を搭載した、佐川急便が採用をしているNTTドコモ提供の富士通製、防水・防塵対応のスマートフォン。佐川急便以外の法人向けにも一般販売されている。
H-21 Business SmartPhone - 同端末と同様大型のバーコードスキャナーWindows Mobile 6.5を搭載した、オプトエレクトロニクス製の防水・防塵対応のスマートフォン。10キーのタイプのほかにQWERTYキーのタイプもある。
注・出典
*1 - 色表示の意味は左からフロントパネル、サイド、背面パネル
外部リンク
E31T(KDDI)(リンク切れ)
携帯電話端末 (au 第三世代)
携帯電話端末 (東芝)
スマートフォン
国際ローミング対応機種
防水機種
Windows CE端末 (東芝)
2011年のハードウェア | 27,386 |
https://askubuntu.com/questions/1309635 | StackExchange | Open Web | CC-By-SA | 2,021 | Stack Exchange | Rinzwind, https://askubuntu.com/users/15811 | English | Spoken | 114 | 222 | Ubuntu offline autoinstall ISO
I am migrating an offline autoinstall ISO from Ubuntu 16.04 to 20.04.
Previously I used the debian-installer preseed file. To disable online mirrors and force an offline install I could use the following line:
d-i apt-setup/no_mirror boolean true
Now I use the cloud-init/autoinstall system and my autoinstall/user-data YAML file is working fine so far:
#cloud-config
autoinstall:
version: 1
interactive-sections:
- network
- keyboard
ssh:
install-server: true
The following link describes the apt section, but nothing is mentioned on offline installations (using only the CD as installation repository): https://curtin.readthedocs.io/en/latest/topics/apt_source.html
Thank you very much for any hint.
Would not defining a sources section for apt other then "cd" imply an offline install?
| 7,825 |
https://zh-min-nan.wikipedia.org/wiki/Rendufinho | Wikipedia | Open Web | CC-By-SA | 2,023 | Rendufinho | https://zh-min-nan.wikipedia.org/w/index.php?title=Rendufinho&action=history | Min Nan Chinese | Spoken | 15 | 66 | Rendufinho sī Phû-tô-gâ Póvoa de Lanhoso chū-tī-thé ê chi̍t ê kàu-khu (freguesia).
Phû-tô-gâ ê kàu-khu | 22,074 |
https://stackoverflow.com/questions/49929998 | StackExchange | Open Web | CC-By-SA | 2,018 | Stack Exchange | Charles Duffy, Martin R, Pintang, Sumit Jha, frostshoxx, https://stackoverflow.com/users/14122, https://stackoverflow.com/users/5317459, https://stackoverflow.com/users/567647, https://stackoverflow.com/users/6050429, https://stackoverflow.com/users/8478552 | English | Spoken | 307 | 568 | 'What is magic about __len__()?
So a list object does not have a simple length attribute len but rather the "magic" __len__(). Why is it preferred to use the function len() on a list rather than its attribute? Does the function len() not simply query __len__()? Why that detour and not have my_list.len()?
See https://stackoverflow.com/questions/496009/is-there-any-case-where-lensomeobj-does-not-call-someobjs-len-function/497096#497096
Possible duplicate of Is there any case where len(someObj) does not call someObj's __len__ function?
https://stackoverflow.com/questions/16249418/how-to-python-count-list-length
You should only ask practical, answerable questions based on actual problems that you face. "Why?" questions on language design do not fit this criteria.
It might be helpful to think of __len__ as a method you can customize for any object. Part of the reason for the len function vs using .__len__() or .len() is that python was intended to be a language that is easy to learn. For a beginner programmer, understanding that you use the length function to get the length of a list seems very intuitive to me.
For example:
class MyObject:
def __len__(self):
return 100
a = MyObject()
assert len(a) == 100
So it's just a construct of all python objects that you can set how length is calculated. This example isn't useful, but perhaps if you had a Circle object, you might want length to be it's Circumference, ie.
class Circle:
def __init__(self, radius):
self.radius = radius
def __len__(self):
return 3.14 * self.radius * 2
A benefit of having len as a function as well as a method is the ability to map-filter-reduce len onto arrays. It is very easy to write:
map(len, [[1, 2], [4, 5, 6]])
However, if you really think that .len() is an attractive way to present the length of an object, you could just add a method.
class MyObject:
def __len__(self):
return 10
def len(self):
return len(self)
Thank you, Rob. Spot on, that was really helpful!
| 36,789 |
jthHZEwOM7Y_1 | Youtube-Commons | Open Web | CC-By | null | Are You REQUIRED to do Field Sobriety Tests in Florida? | None | English | Spoken | 299 | 382 | Look, nobody wants to be in this situation. You got behind the wheel of your car, maybe you had a few drinks earlier in the night. I'm not saying you're intoxicated. I'm not even saying you broke the law, because there is a legal limit of .08, and if you're underneath that legal limit, you might be entitled to drive your car safely. But the cop stops you. The cop has suspicions. Maybe there is alcohol in your breath. So what does the cop do? They want to have you perform maneuvers. They want to check you out. They'll tell you whatever they want to tell you in order to get you to cooperate with doing various things like walking down a straight line, standing with one leg raised, maybe staring into a light while they look at your eyes. I'm here to tell you you do not have to do those tests. Those are called field sobriety tests or field sobriety exercises. And when the cops ask you to do those, they're asking you to agree to a voluntary test. I'm here to tell you that once they've done that, they already have a basis to believe you're intoxicated, regardless of whether you are or not. And when they're asking you to do those tests, they're just looking for additional evidence. My suggestion? Don't do those tests, because you don't have to do those tests. Allow your lawyers to deal with the case after the fact. Don't give the cops additional evidence. Most people can't walk a straight line without stumbling a little bit. The cops are going to assume it's because you're intoxicated. Don't give them that opportunity to get that on video. Let's use your lawyers instead. Carlson Meisner, Hardin Hazlet, protecting your rights since 1971..
| 28,328 |
https://pl.wikipedia.org/wiki/La%20Corbi%C3%A8re | Wikipedia | Open Web | CC-By-SA | 2,023 | La Corbière | https://pl.wikipedia.org/w/index.php?title=La Corbière&action=history | Polish | Spoken | 54 | 133 | La Corbière – miejscowość i gmina we Francji, w regionie Burgundia-Franche-Comté, w departamencie Górna Saona.
Według danych na rok 1990 gminę zamieszkiwało 95 osób, a gęstość zaludnienia wynosiła 30 osób/km² (wśród 1786 gmin Franche-Comté La Corbière plasuje się na 648. miejscu pod względem liczby ludności, natomiast pod względem powierzchni na miejscu 949.).
Bibliografia
Corbière | 40,628 |
https://tr.wikipedia.org/wiki/Liz%20Friedlander | Wikipedia | Open Web | CC-By-SA | 2,023 | Liz Friedlander | https://tr.wikipedia.org/w/index.php?title=Liz Friedlander&action=history | Turkish | Spoken | 444 | 1,013 | Liz Friedlander Amerikalı müzik videosu ve televizyon yönetmeni ve televizyon yapımcısıdır.
Müzik videoları
1996
Leah Andreone - "It's Alright, It's OK"
Babyface featuring Mariah Carey & Kenny G - "Every Time I Close My Eyes"
Maxwell - "Ascension (Don't Ever Wonder)"
Alanis Morissette - "You Learn"
1997
Alana Davis - "32 Flavors"
Chantal Kreviazuk - "Surrounded" (Versiyon #2)
Billy Lawrence featuring MC Lyte - "Come On"
Megadeth - "Trust"
Porno for Pyros - "Hard Charger"
1998
G. Love & Special Sauce - "I-76"
Harvey Danger - "Flagpole Sitta"
Steve Poltz - "Silver Lining"
Save Ferris - "The World Is New"
1999
Paula Cole - "I Believe in Love"
Celine Dion - "That's the Way It Is"
Shawn Mullins - "What Is Life?"
R.E.M. - "The Great Beyond"
Janice Robinson - "Nothing I Would Change"
Seal - "Lost My Faith"
Duncan Sheik - "That Says It All"
Taxiride - "Get Set" (Versiyon #1)
2000
blink-182 - "Adam's Song"
Tracy Bonham - "Behind Every Good Woman"
Deftones - "Change (In the House of Flies)"
Dido - "Here with Me" (Versiyon #2)
Celine Dion - "I Want You to Need Me" (Versiyon #2)
Celine Dion - "If Walls Could Talk"
k.d. lang - "Summerfling"
Nine Days - "Absolutely (Story of a Girl)"
3 Doors Down - "Loser"
2001
Anastacia - "Paid My Dues"
Blaque - "Can't Get It Back"
Michelle Branch - "Everywhere"
Natalie Merchant - "Just Can't Last"
Semisonic - "Chemistry"
Tantric - "Mourning"
3 Doors Down - "Be Like That"
U2 - "Walk On" (ABD versiyon)
The Wallflowers - "Letters From the Wasteland"
2002
Michelle Branch - "All You Wanted"
Faithless featuring Dido - "One Step Too Far"
Jennifer Love Hewitt - "BareNaked"
Jennifer Love Hewitt - "Can I Go Now"
Meshell Ndegeocello - "Pocketbook"
2003
Kelly Clarkson - "Miss Independent"
Counting Crows featuring Vanessa Carlton - "Big Yellow Taxi"
Avril Lavigne - "Losing Grip"
LeAnn Rimes - "We Can"
Simple Plan - "Perfect"
2004
The Calling - "Our Lives"
Alanis Morissette - "Eight Easy Steps"
Avril Lavigne - "Don't Tell Me"
Toby Lightman - "Devils and Angels"
Ashlee Simpson - "Shadow"
2005
Joss Stone - "Right to Be Wrong"
2006
John Mayer - "Waiting on the World to Change" (Versiyon #1)
+44 - "When Your Heart Stops Beating"
2007
Colbie Caillat - "Bubbly"
Che'Nelle - "I Fell in Love with the DJ"
2008
Jessica Simpson - "Come On Over"
2009
Michelle Branch - "Sooner or Later"
Kaynakça
Dış bağlantılar
Liz Friedlander MVDBase.com
Amerikalı video klip yönetmenleri
Amerikalı televizyon yönetmenleri
Carnegie Mellon Üniversitesi Güzel Sanatlar Fakültesinde öğrenim görenler
Yaşayan insanlar
New York doğumlu sanatçılar
UCLA Film School'da öğrenim görenler
Kaliforniya Üniversitesi, Santa Cruz'da öğrenim görenler | 38,877 |
https://stackoverflow.com/questions/29483795 | StackExchange | Open Web | CC-By-SA | 2,015 | Stack Exchange | Michael, Uchiha Madara, https://stackoverflow.com/users/1524450, https://stackoverflow.com/users/3687080 | English | Spoken | 580 | 1,140 | How to use many variables in assembly
In c or c++ or other mid or high level language we can use as many variables as possible. What about assembly?
Suppose i did this code.
.model small
.stack 100h
.data
lf equ 0ah
cr equ 0dh
crlf db cr,lf,'$'
.code
main proc
;initialize database
mov ax, @data
mov ds, ax
mov bx,01
fop:
mov cx, bx
mov ah,2
mov dl,'*'
top:
int 21h
loop top
inc bx
lea dx, crlf
mov ah, 9
int 21h
cmp bl, 05
jg _end_this
loop fop
_end_this:
main endp
end main
The result is...
*
**
***
****
*****
Now I want to do something like below.
.
*
**
***
****
*****
I am trying to do that by using another variable to create a loop for the spaces. With decreasing spaces such a pattern would be possible. But all the main registers seems booked. ax,bx,cx,dx. What to do now. What if I needed more variables.
"But all the main registers seems booked. ax,bx,cx,dx". cx is only used within the top loop, so adding another loop that also uses cx won't be a problem. By the way, jg _end_this / loop fop can be replaced by jle fop.
Suppose there was another register i could use.. say ex
mov bx,01
mov ex,04
fop:
mov cx,ex
mov ah,2
mov dl, ' ' ; space
gop:
int 21h
end gop
mov cx, bx
mov ah,2
mov dl,'*'
top:
int 21h
loop top
inc bx
dec ex
You don't need any additional registers. You can just use cx as I said in my previous comment. The fact that you're using a register somewhere in your program doesn't mean that that register is used everywhere in the program.
but how can I use cx to initialize cx for loop
mov cx, cx
And also what if I needed more ,like 10 variables (not this program)
The number of spaces you want to print is 5 - bx, so that's simple to calculate. If you really had run out of registers you would've had to spill one or more of them to memory temporarily. Either to the stack with push/pop or to some variable declared in the .data section.
Another approach would be NOT to use spaces but to use screen coordinates. The asterisks you want to display are going down (Y coordinate increases) while the beginning of every line moves to the left (X coordinate decreases). Next program applies this concept. It was made with EMU8086 and it is full of comments to help you understand. Just copy, paste and run :
.model small
.stack 100h
.data
x db 5 ;X COORDINATE ON SCREEN.
y db 1 ;Y COORDINATE ON SCREEN.
ast db '*$'
len dw 1 ;LENGTH OF EVERY ASTERISKS LINE.
.code
;INITIALIZE DATA SEGMENT.
mov ax, @data
mov ds, ax
display_lines:
;GOTOXY.
mov dl, x
mov dh, y
mov ah, 2 ;SERVICE TO SET CURSOR POSITION.
mov bh, 0 ;PAGE.
int 10h ;BIOS SCREEN SERVICES.
mov cx, len ;HOW MANY ASTERISKS TO DISPLAY.
display_asterisks:
;DISPLAY ONE ASTERISK.
mov ah, 9
mov dx, offset ast
int 21h
loop display_asterisks
;PREPARE FOR NEXT LINE.
inc len ;NEXT LINE HAS ONE MORE ASTERISK.
inc y ;NEXT LINE GOES DOWN.
dec x ;NEXT LINE MOVES TO THE LEFT.
jnz display_lines ;IF X != 0 : REPEAT.
;FINISH PROGRAM.
mov ax, 4c00h
int 21h
With screen coordinates we no longer need line breaks.
Let me know if it worked for you.
| 18,408 |
https://ce.wikipedia.org/wiki/%D0%90%D0%BB%D0%B5%D1%88%D0%B8%D0%BD%D0%BE%20%28%D0%A1%D0%B0%D1%81%D0%BE%D0%B2%D0%B0%D0%BD%20%D0%BA%D3%80%D0%BE%D1%88%D1%82%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Алешино (Сасован кӀошт) | https://ce.wikipedia.org/w/index.php?title=Алешино (Сасован кӀошт)&action=history | Chechen | Spoken | 129 | 475 | Алешино () — Российн Федерацин Рязанан областан Сасован кӀоштара эвла.
Бахархойн дукхалла
Климат
Кхузахь климат барамера континенталан йу, йовхачу аьхкенца а, барамера шийлачу Ӏаьнца а. ГӀоронаш йоцу муьран йукъара бохалла 130-149 де ду. Кхузахь сих-сиха тӀехьара бӀаьстен а, хьалхара гуьйренан а гӀоролаш хуьлу. Эвла лаьтта тоьушйолчу йочанийн зонехь. Йочанийн шеран барам кхузахь 500 мм кхоччуш бу. ДогӀнаш аьхкенан заманехь стигал къекъаш чӀогӀа догӀу, наггахь къора а тухуш. ХӀоьттина лайн чкъор хуьлу ноябрь чекхболуш – декабрь болалуш, деша март чекхболуш – апрель болалуш. Ло лаьтта денош - 135-145 шарахь. Климатан хьолаш дика ду йуьртабахамна. Йуьззина кхочу йовхо а, тӀуналла а гуьйренан йалташна, бӀаьстенан йалташна, техникин а, докъаран культурашна.
Сахьтан аса
Кхузахь сахьт Москохца нийса лелаш ду. Сахьтан аса йу UTC+3.
Билгалдахарш
Хьажоргаш
Сасован кӀоштан индексаш
Сасован кӀоштан нах беха меттигаш | 50,994 |
https://stackoverflow.com/questions/35958657 | StackExchange | Open Web | CC-By-SA | 2,016 | Stack Exchange | Ronin, code Zero, https://stackoverflow.com/users/2816475, https://stackoverflow.com/users/4562474 | Danish | Spoken | 380 | 1,001 | How to create json like a tree structure using id and parentid from other json object
I have a json like:
[{
"id": 11865,
"parentid": null,
"levelid": 63,
"name": "Total"
},
{
"id": 10143,
"parentid": 11865,
"levelid": 19,
"name": "Productive"
},
{
"id": 11873,
"parentid": 10143,
"levelid": 20,
"name": "Regular"
},
{
"id": -852,
"parentid": 11873,
"levelid": 255,
"name": "801-REGULAR"
},
{
"id": -888,
"parentid": 11873,
"levelid": 255,
"name": "888-Regular 2"
}]
And I need to change it some thing like that
[{
"id":11865,
"levelid":63,
"parentid": null,
"name": "Total",
"children":[{
"id":10143,
"parentid":11865,
"level":19,
"name": "Productive"
"children":[{
"id": 10144,
"parentid":10143,
"levelid":20,
"name": "Other",
"children":[{......}]
}];
This new json is based on parent child relation. Also I am implementing this on sever side in node js. Can Any one help on this ?
Possible duplicate of Convert parent-child array to tree
Ya look a like I will try that. thank!
A proposal which creates a tree and takes a given parentid as a root for the tree. This solution works for unsorted data.
How it works:
Basically for every object in the array it takes as well the id for building a new object as the parentid for a new object.
So for example
{ "id": 6, "parentid": 4 }
it generates first with id this property
"6": {
"id": 6,
"parentid": 4
}
and then this property with parentid
"4": {
"children": [
{
"id": 6,
"parentid": 4
}
]
},
and while all object treated like this, we finally get a tree.
If parentid === root the root node is found. This is the object for the later return.
var data = [{ "id": 11865, "parentid": null, "levelid": 63, "name": "Total" }, { "id": 10143, "parentid": 11865, "levelid": 19, "name": "Productive" }, { "id": 11873, "parentid": 10143, "levelid": 20, "name": "Regular" }, { "id": -852, "parentid": 11873, "levelid": 255, "name": "801-REGULAR" }, { "id": -888, "parentid": 11873, "levelid": 255, "name": "888-Regular 2" }],
tree = function (data, root) {
var r, o = {};
data.forEach(function (a) {
a.children = o[a.id] && o[a.id].children;
o[a.id] = a;
if (a.parentid === root) {
r = a;
} else {
o[a.parentid] = o[a.parentid] || {};
o[a.parentid].children = o[a.parentid].children || [];
o[a.parentid].children.push(a);
}
});
return r;
}(data, null);
document.write('<pre>' + JSON.stringify(tree, 0, 4) + '</pre>');
| 33,118 |
https://superuser.com/questions/1436663 | StackExchange | Open Web | CC-By-SA | 2,019 | Stack Exchange | J Collins, Jeff Zeitlin, https://superuser.com/users/108473, https://superuser.com/users/603073, https://superuser.com/users/675220, spikey_richie | English | Spoken | 96 | 131 | How to get window controls back for document in Excel 2007
I have a document, one in particular, that tends to be edited by a lot of contributors with varying versions of Office. This document when opened in Excel 2007 does not open into an MDI window with the full set of controls, but is instead in a fixed size window. How can this be resolved?
See screenshot, ignore the blacked out content:
Which version of Office are you using? Looks like 2010.
No, that's 2007, as the title says.
Agreed, that's my answer, cheers Jeff!
| 25,835 |
https://kk.wikipedia.org/wiki/%D0%90%D1%83%D1%8B%D1%80%20%D0%B0%D1%82%D0%BB%D0%B5%D1%82%D0%B8%D0%BA%D0%B0%D0%B4%D0%B0%D0%BD%20%D3%99%D0%BB%D0%B5%D0%BC%20%D1%87%D0%B5%D0%BC%D0%BF%D0%B8%D0%BE%D0%BD%D0%B0%D1%82%D1%8B%201911 | Wikipedia | Open Web | CC-By-SA | 2,023 | Ауыр атлетикадан әлем чемпионаты 1911 | https://kk.wikipedia.org/w/index.php?title=Ауыр атлетикадан әлем чемпионаты 1911&action=history | Kazakh | Spoken | 38 | 153 | Ауыр атлетикадан әлем чемпионаты 1911 - төрт кезеңнен тұрды. Алғашқы үш кезең Германияның Штутгард, Берлин және Дрезден қалаларында, ал төртінші кезеңі Австриядағы Вена қаласында өтті.
Командалық есеп
Аустриядағы ауыр атлетика
Ауыр атлетикадан әлем чемпионаттары
1911 жылғы ауыр атлетика | 18,060 |
https://stackoverflow.com/questions/19152173 | StackExchange | Open Web | CC-By-SA | 2,013 | Stack Exchange | Anuj Aneja, https://stackoverflow.com/users/1463072, https://stackoverflow.com/users/1786250, monda | English | Spoken | 256 | 588 | HQL : subtract days form Date to get new Date
I have a field called ebOpenUptoDays and StartDate in my domain class called Training
now lets say
ebOpenUptoDays = 10 (Days)
StartDate = 30 Oct 2013
i want to get the date called ebExpiryDate from my HQL with following calculation
ebExpiryDate = StartDate - ebOpenUptoDays
ebExpiryDate = 20 Oct 2013 (need in this format)
trainingList = Training.executeQuery("SELECT ........... as ebExpiryDate from Training as t)
You can use formula for ebExpiryDate in your domain
is it not possible from HQL?
you can use the three possible solutions:
1) Try using DATE(DATE_SUB(StartDate, INTERVAL '${ebOpenUptoDays}' DAY)) in formula in grails domain class
2) Try using projection in createCriteria e.g.
//Supported in grails 2.1.0 or above i guess.
Training.createCriteria.list{
projections{sqlProjection("DATE(DATE_SUB(start_date, INTERVAL 'eb_Open_Up_to_days DAY))",DATE)}
}
3) Try use native sql
EDIT: For supporting hql you need to create you own dialect and use this in you datasource.groovy (Not tested though)
public class MyDialect extends MySQLInnoDBDialect{
public myDialect() {
super();
registerFunction("date_add_interval", new SQLFunctionTemplate(Hibernate.DATE, "date_sub(?1, INTERVAL ?2 ?3)"));
}
}
then, DATE(DATE_SUB(StartDate, INTERVAL 'ebOpenUptoDays' DAY)) should work for you in hql.
Hope this helps!!!
Thanks
I have filed called ebOpenUptoDays in my database
I am sorry DATE_SUB is not supported by hql Updating my answer now
so where i need to create this MyDialect class?? inside datasource.groovy??
No, Better way of doing would be if you can create it in src/groovy/pakage/MyDialect.groovy and specify this class as dialect in dataSource.groovy e.g. http://stackoverflow.com/questions/12850955/configuring-postgres-in-grails
@monda was the answer helpful....please.....accept the answer if it solves your problem...Thanks
| 9,204 |
https://de.wikipedia.org/wiki/H%C3%B2a%20Ph%C3%A1t | Wikipedia | Open Web | CC-By-SA | 2,023 | Hòa Phát | https://de.wikipedia.org/w/index.php?title=Hòa Phát&action=history | German | Spoken | 34 | 92 | Hòa Phát steht für:
Hòa Phát (Unternehmen), vietnamesischer Mischkonzern mit dem Schwerpunkt Stahlerzeugung
Hòa Phát, Stadtviertel im Bezirk Cẩm Lệ der Stadtprovinz Đà Nẵng
Siehe auch:
Hòa Phát Hà Nội, ehemaliger Fußballverein aus Hanoi | 4,637 |
https://zh.wikipedia.org/wiki/%E5%90%95%E7%9B%B8 | Wikipedia | Open Web | CC-By-SA | 2,023 | 吕相 | https://zh.wikipedia.org/w/index.php?title=吕相&action=history | Chinese | Spoken | 5 | 270 | 吕相(),中国春秋时期政治人物,魏氏、吕氏。魏犨的孙子,魏錡之子。在华元弭兵之后,晋厉公决定讨伐秦国。周簡王八年(前578年)四月初五戊午日,晋厉公派吕相(魏相)作为使者,正式宣布与秦绝交。吕相作《绝秦书》,文章华美,措辞激昂。成语勠力同心、痛心疾首、惟利是视就出自《绝秦书》。前573年,晋悼公为了褒扬吕相的功劳,封吕相为下军将。前570年十二月,吕相去世,谥号吕宣子。
参考文献
《春秋左氏传》
春秋战国政治人物
晋卿 | 24,642 |
https://de.wikipedia.org/wiki/Sandemanianer | Wikipedia | Open Web | CC-By-SA | 2,023 | Sandemanianer | https://de.wikipedia.org/w/index.php?title=Sandemanianer&action=history | German | Spoken | 160 | 319 | Die Sandemanianer, auch Glassisten genannt, waren eine kleine christliche Gemeinschaft, die von John Glas (* 1695, † 1773) und seinem Schwiegersohn Robert Sandeman (* 1718, † 1771) in Schottland gegründet wurde.
Geschichte
Die Sandemanianer bildeten Gemeinden nach dem Vorbild der neutestamentlichen Urgemeinde. Die Gemeindeleitung lag in den Händen von Lehrern, Ältesten und einem Bischof. Der Schwerpunkt der Gottesdienste war die Abendmahlsfeier, wobei Fußwaschen und Liebesmahl mit Bruderkuss integrative Bestandteile waren. Neben der Abendmahlfeier gehörte die Auslegung der Schrift zu den Gottesdiensten, die sonntags mehrere Stunden lang dauerten. Die Sandemanianer legten dabei die Bibel wörtlich aus.
Die Gemeinde finanzierte sich durch Spenden, die in die Gemeindekasse eingezahlt wurden. Vergnügungen wie Glücksspiele waren verboten. Es gab Gemeinden in England, Schottland und USA, die meist nicht mehr als 100 Mitglieder aufwiesen. Mit dem Tod des letzten Ältesten 1999 in Edinburgh gilt die Gemeinschaft als erloschen.
Bekannte Mitglieder
Michael Faraday
William Godwin
James Baynes
Einzelnachweise
Historische christliche Bewegung
Christentumsgeschichte (Schottland)
Gegründet 1730
Aufgelöst 1999 | 12,014 |
https://stackoverflow.com/questions/27740400 | StackExchange | Open Web | CC-By-SA | 2,015 | Stack Exchange | Prakash Kuma, advocateofnone, https://stackoverflow.com/users/2437292, https://stackoverflow.com/users/3553836, https://stackoverflow.com/users/4404042, user3553836 | English | Spoken | 546 | 805 | Maximum weight of an edge in a cycle in graph
I am trying to modify the minimum spanning tree if the weight of an edge in the graph not belonging to MST is decreased.I read on stackoverflow that first connect the edge to the MST
now there is exactly one cycle in MST and by cycle property the edge whose weight is maximum in cycle can be deleted from MST? How to find the max weight edge in that cycle?
Do you need to do this only once ?
i have to decrease the weight of an edge only once..
Which algorithm have u used for finding MST. Also which data structure have you used. I need to know this since if you have used union-find datastructure then i think i have a better solution
i havent implemented it yet but i will use kruskal and union find data structure.
Ok once u have the MST saved in the union find data structure. Suppose the edge connecting node I and J has it's weight decreased. Now start with node I move towards root of the MST and check if an edge has weight greater than weight of node(I,J). if yes then u are done. Otherwise do the same for Node J. I think it's a good solution
Let the new edge added be between node i and j.There will be exactly one cycle containing all nodes between node i and j, including them. Also as before it was a tree only one path is there from node i to j. So you can use DFS/BFS to traverse the graph and calculate the maximum weight of any edge occurring in the path from i to j.If the maximum weight is less than that of new edge weight, don't add the new one.Else remove the previous one and add this one.The complexity would
be O(V).
Following is the pseudo code , here ans[k][0],ans[k][1] store the nodes such that the edge between these nodes is of maximum weight if the source node is i and destination k and ans[k][2] as weight of that edge.
for all nodes
mark them unvisited
mark ans[node][2] as -1
/*i is the node which is one of the nodes of two of the new edge (i--j) */
Push node i in queue Q
mark node i visited
while Q is not empty
assign current_node as front element of Q
pop Q
for all neighbors of current_node
if neighbor is unvisited
mark neighbor visited
assign w to be maximum of weight of edge (current_node---neighbor) and ans[current_node]
if w is greater than ans[neighbor]
ans[neighbor][2] = w
##Depending on which was max in the the if condition
ans[neighbor][0] = current_node/ans[current_node][0]
ans[neighbor][1] = neighbor/ans[current_node][1]
push neighbor in Q
if weight of edge (i--j) is greater than ans[j][2]
don't add the new edge
else
remove edge (ans[j][0]---ans[j][1]) and add edge (i--j)
by using bfs i have to keep track of the parent of each vertices than only i can get the path from a vertex to another.am i correct?
i meant to say that do i need to backtrack once i reach vertex j from i using bfs to get maximum weight of edge in that path?
no you only need to know what was maximum edge uptill then
| 27,356 |
https://pt.wikipedia.org/wiki/Apodemus%20draco | Wikipedia | Open Web | CC-By-SA | 2,023 | Apodemus draco | https://pt.wikipedia.org/w/index.php?title=Apodemus draco&action=history | Portuguese | Spoken | 44 | 93 | Apodemus draco é uma espécie de roedor da família Muridae.
Pode ser encontrada nos seguintes países: China, Índia e Myanmar.
Baillie, J. 1996. Apodemus draco. 2006 IUCN Red List of Threatened Species. Dados de 9 de Julho de 2007.
Apodemus
Mamíferos descritos em 1900 | 38,988 |
https://hr.wikipedia.org/wiki/Hrastje%20pri%20Mirni%20Pe%C4%8Di | Wikipedia | Open Web | CC-By-SA | 2,023 | Hrastje pri Mirni Peči | https://hr.wikipedia.org/w/index.php?title=Hrastje pri Mirni Peči&action=history | Croatian | Spoken | 43 | 105 | Hrastje pri Mirni Peči je naselje u slovenskoj Općini Mirnoj Peči. Hrastje pri Mirni Peči se nalazi u pokrajini Dolenjskoj i statističkoj regiji Jugoistočnoj Sloveniji.
Stanovništvo
Prema popisu stanovništva iz 2002. godine naselje je imalo 72 stanovnika.
Izvor
Naselja u Općini Mirna Peč | 32,170 |
https://es.wikipedia.org/wiki/Teatro%20Apolo%20%28Patras%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Teatro Apolo (Patras) | https://es.wikipedia.org/w/index.php?title=Teatro Apolo (Patras)&action=history | Spanish | Spoken | 88 | 158 | El Teatro Apolo o Teatro Apolo Patras (en griego: Θέατρο Απόλλων Πάτρας) es un teatro situado en Patras, Grecia al este de la plaza Georgiou I, una de las plazas más populares de esa ciudad griega. Fue terminado en 1872 y fue diseñado por el famoso arquitecto alemán Ernst Ziller. Es una micrografía de la Scala de Milán y es el escenario principal del teatro regional y municipal de Patras Municipal desde 1988.
Véase también
Cultura de Grecia
Teatro
Referencias
Apolo (Patras)
Arquitectura de Grecia del siglo XIX | 46,330 |
https://math.stackexchange.com/questions/1244560 | StackExchange | Open Web | CC-By-SA | 2,015 | Stack Exchange | P Vanchinathan, https://math.stackexchange.com/users/142293, https://math.stackexchange.com/users/28915, xxx | English | Spoken | 129 | 252 | Diagonalization of an endomorphism
Let $K$ be a field of characteristic $0$ and $K[X,Y]$ be the polynomial ring in two variables.
Consider the endomorphism $\Delta \in End_K (K[X,Y]$,
$\Delta : f \mapsto X \cdot \delta_X (f) + Y \cdot \delta_Y (f)F$,
where $\delta_X$ is the derivation to $X$.
Can somebody answer the question, whether $\Delta$ is diagonalizable or not and if, what is it's eigenspace decomposition?
And what is for $K= \mathbb Z / p \mathbb Z$, where $p$ is prim?
The set consisting of $X^mY^n$ for various powers, $m,n$ is a basis. Can you check what is $\Delta (X^mY^n)$?
So that's $(n+m) X^m Y^n$. But I still do not see how to go on..
Your question was if it is diagonalizable; what you have calculated should answer that.
| 42,075 |
https://uk.wikipedia.org/wiki/%D0%9F%D0%B0%D1%81%D0%B5%D1%80%D1%83%D0%B2%D0%B0%D0%BD%D0%BD%D1%8F | Wikipedia | Open Web | CC-By-SA | 2,023 | Пасерування | https://uk.wikipedia.org/w/index.php?title=Пасерування&action=history | Ukrainian | Spoken | 132 | 428 | Пасерува́ння — техніка приготування їжі, що полягає в легкому обсмажуванні продукту з жиром або без нього перед наступною тепловою обробкою з періодичним помішуванням.
Пасерують ароматичне коріння, томат, пшеничне борошно; при цьому ароматичні речовини розчиняються в жирі, а внаслідок пасерування томату й моркви в жир переходять барвні речовини. Пасерування пшеничного борошна згущує супи та соуси, робить їх однорідними й еластичними. При цьому видаляється сирий запах борошна, і воно набуває приємного горіхового аромату.
Особливо часто пасерують харчі, коли треба підготувати їх для приготування соусів та інших страв. Продукт пасерування має назву засмажка (запражка, пасеровка).
Див. також
Сотеювання
Примітки
Література
Л. Я. Старовойт, М. С. Косовенко, Ж. М. Смирнова, Кулінарія — Київ — Вища школа 1992 р. — с. 65
О. Франко. Практична кухня, Львів — Каменяр — 1993 — с. 203
Обробка продуктів харчування | 47,704 |
https://ceb.wikipedia.org/wiki/Laguna%20El%20Oasis | Wikipedia | Open Web | CC-By-SA | 2,023 | Laguna El Oasis | https://ceb.wikipedia.org/w/index.php?title=Laguna El Oasis&action=history | Cebuano | Spoken | 119 | 190 | Lanaw ang Laguna El Oasis sa Kolombiya. Nahimutang ni sa departamento sa Departamento de Tolima, sa sentro nga bahin sa nasod, km sa kasadpan sa Bogotá ang ulohan sa nasod. metros ibabaw sa dagat kahaboga ang nahimutangan sa Laguna El Oasis. Ang kinahabogang dapit sa palibot dunay gihabogon nga ka metro ug km sa habagatan-sidlakan sa Laguna El Oasis. Hapit nalukop sa lasang ang palibot sa Laguna El Oasis.
Ang kasarangang giiniton °C. Ang kinainitan nga bulan Pebrero, sa °C, ug ang kinabugnawan Hunyo, sa °C. Ang kasarangang pag-ulan milimetro matag tuig. Ang kinabasaan nga bulan Abril, sa milimetro nga ulan, ug ang kinaugahan Hulyo, sa milimetro.
Saysay
Ang mga gi basihan niini
Mga lanaw sa Departamento de Tolima | 17,280 |
https://de.wikipedia.org/wiki/Rohrreinigungsspirale | Wikipedia | Open Web | CC-By-SA | 2,023 | Rohrreinigungsspirale | https://de.wikipedia.org/w/index.php?title=Rohrreinigungsspirale&action=history | German | Spoken | 500 | 1,020 | Die Rohrreinigungsspirale oder auch Abflussspirale ist ein Werkzeug zum Reinigen von Abflussrohren (der Rohrreinigung), ohne diese abschrauben zu müssen. Der Begriff ist irreführend, da es sich technisch nicht um eine Spirale, sondern um eine wendelförmige biegsame Welle handelt. Daher ist auch der Begriff Rohrreinigungswelle im Sprachgebrauch üblich.
Anforderung
Theoretisch könnten mit dem Werkzeug auch Trinkwasserrohre gereinigt werden; jedoch stellt sich bei diesen das Verschmutzungsproblem in der Praxis nicht (die dazu führenden Verunreinigungen wären bei Trinkwasser nicht akzeptabel); ähnlich bei Rohrleitungen in der Verfahrenstechnik. Trinkwasserleitungen werden daher vorrangig durch Spülen mit Hochdruck gereinigt.
Abwasser dagegen ist mit Fett, Fäkalien und auch mit Abfall aus Spülbecken oder Toiletten belastet; auch Urin führt durch Urinstein zu Ablagerungen, die den Durchfluss behindern können. Solche Hindernisse bilden sich typischerweise in Rohrbögen. Dort sind sie ohne Spezialwerkzeug nicht erreichbar, zumal wenn die Rohre in einer Mauer liegen.
Eigenschaften
Die Spirale ist entweder am Ende offen gewickelt und somit ein eigenständiges Werkzeug, oder sie bringt das eigentliche Werkzeug (Bohrer, Fräse oder ähnliches), das an der Spitze der Spirale angebracht wird, an den Einsatzort. Für die Verwendung mit getrennten Werkzeugen verfügen Rohrreinigungsspiralen über unterschiedliche Kupplungssysteme. Von der Spirale trennbare Werkzeuge zur Rohrreinigung, auch Spiralwerkzeuge genannt, haben den Vorteil, dass je nach vorliegender Rohrverstopfung ein geeignetes Werkzeug verwendet werden kann.
Durch die Bauart der Spirale kann sie zwar Druck und Drehung übertragen, jedoch keinerlei Querkräfte. Die Spirale folgt dem Rohrverlauf bis zum Hindernis im Rohr.
Größe
Spiralen gibt es in verschiedenen Dimensionen: Spiralen für den Heimwerker haben oft 6 mm oder 9 mm Durchmesser, für größere Rohre wie Regenrinnen auch 10 mm, 12 mm oder 15 mm. Professionelle Rohrreinigungsspiralen verfügen meist über Durchmesser von 16 mm, 22 mm oder 32 mm. Daneben gibt es kleinere Profi-Spiralen mit 6,4 mm, 8 mm oder 10 mm, die je nach Rohrdimension und Bogengängigkeit eingesetzt werden. Die Spiralen sind 2 bis 10 m lang und können über Kupplungen nahezu beliebig verlängert werden. Für sogenannten Trommelmaschinen, also Rohrreinigungsmaschinen mit Magazinen, sind auch längere Spiralen üblich.
Bedienung und Werkzeuge
Einfache Spiralen bis 10 m werden manuell (mit einem Knauf oder einer Handkurbel) bedient. Professionelle Ausführungen sind für elektrische Antriebe ausgelegt. Dieser erfolgt über Rohrreinigungsmaschinen, teilweise aber auch durch Anschluss einer Bohrmaschine. Bei diesen Profi-Spiralen können die Spiral-Werkzeuge gewechselt werden: Bohrer für festsitzende, harte Verstopfungen, Fräsen für Wurzeleinwuchs sowie Kettenschleudern für Verkrustungen an den Rohrwandungen. Daneben existiert eine Vielzahl weiterer Spezialwerkzeuge.
Die Arbeit wird – zumindest beim Bohren – durch eine Kombination von Drehung, Druck und Schlagen erreicht. Der Druck wird dabei fast immer manuell ausgeführt, da so über die (mechanische) Rückmeldung der Spirale auf die Art der Verstopfung und den Grad der Beseitigung geschlossen werden kann. Geräte mit automatischem Vorschub der Spirale sind die Ausnahme.
Je nach Verstopfung kann es notwendig werden, eine Rohrinspektionskamera (Kanalkamera) zu verwenden. Reinigungsspiralen müssen allerdings auch mit einer gewissen Vorsicht eingesetzt werden, damit die Rohrleitung nicht beschädigt wird. Die könnte z. B. bei stark korrodierten Gussrohren oder generell bruchempfindlichem Material (z. B. Rohren aus Eternit) geschehen.
Weblinks
Einzelnachweise
Werkzeug
Kanalisation | 20,667 |
https://tex.stackexchange.com/questions/251581 | StackExchange | Open Web | CC-By-SA | 2,015 | Stack Exchange | English | Spoken | 126 | 467 | Beamer dynamics with tcolorbox
How can I make a box of the tcolorbox-package appear in a beamer presentation? For exemple I want the box to appear together with point 3...
\documentclass[10pt,xcolor={usenames,dvipsnames},graphics]{beamer}
\usetheme{Frankfurt}
\usecolortheme{seahorse}
\setbeamercovered{transparent}
\usepackage{tcolorbox}
\usepackage{xcolor}
\begin{document}
\begin{frame}{A slide}
\begin{itemize}
\item<1-> Point 1
\item<2-> Point 2
\item<3-> Point 3
\begin{tcolorbox}
A box with text
\end{tcolorbox}
\begin{itemize}
\item<4-> Point 4
\end{itemize}
\end{frame}
\end{document}
Either you've missed an \end{itemize}... or the first \begin{itemize} was unintended.
You have a spurious \begin{itemize}. Removing that allows the code to compile and the box appears with the third point, as desired.
\documentclass[10pt,xcolor={usenames,dvipsnames},graphics]{beamer}
\usetheme{Frankfurt}
\usecolortheme{seahorse}
\setbeamercovered{transparent}
\usepackage{tcolorbox}
\usepackage{xcolor}
\begin{document}
\begin{frame}{A slide}
\begin{itemize}
\item<1-> Point 1
\item<2-> Point 2
\item<3-> Point 3
\begin{tcolorbox}
A box with text
\end{tcolorbox}
\item<4-> Point 4
\end{itemize}
\end{frame}
\end{document}
| 45,538 | |
https://stackoverflow.com/questions/6804213 | StackExchange | Open Web | CC-By-SA | 2,011 | Stack Exchange | Amit, Mischa, Shaheen Mulla, Yanakorn Student, https://stackoverflow.com/users/14884585, https://stackoverflow.com/users/14884586, https://stackoverflow.com/users/14884587, https://stackoverflow.com/users/14884888, https://stackoverflow.com/users/796490, https://stackoverflow.com/users/84631, joseph_jarng, tvalent2 | English | Spoken | 242 | 461 | Getting NoMethodError, undefined method for nil:NilClass
I'm a beginner and am trying to show tag names associated to books (through taggings) in my book index view. The problem is that for some reason I get undefined method "tags" for nil:NilClass when I run:
<% for book in @books %>
<div id="book">
<div class="bookHeader">
<h5 class="bookTitle"><%= link_to book.title, book %></h5>
<div class="bookTags">
<ul class="tags">
<li>
<% for tag in @book.tags %>
<%= link_to @tag.name %>
<% end %>
</li>
</ul>
...
<% end %>
In the index file I have:
def index
@books = Book.all
respond_to do |format|
format.html # index.html.erb
format.xml { render :xml => @books }
end
end
In console, it shows that I do have associated tags:
>> @book = Book.find(12)
>> @book.tags.count
>> 3
Now I'm wondering if I need to construct a statement for if the books have tags or something like that. Anyone have any ideas? If I need to provide more code let me know.
The problem on your code is that you have <% for tag in @book.tags %>, which @book doesn't exist. What you need is <% for tag in book.tags %>.
Well spotted. He should also change <%= link_to @tag.name %> to <%= link_to tag.name %>.
Thanks Thiago and mischa. I tried this earlier I think and didn't see results. But that's because the book I had tags on was buried in the list and I hadn't called .reverse on the index. Whoops!
| 29,060 |
https://ka.wikipedia.org/wiki/%E1%83%A9%E1%83%90%E1%83%99%E1%83%9D%E1%83%9C%E1%83%90 | Wikipedia | Open Web | CC-By-SA | 2,023 | ჩაკონა | https://ka.wikipedia.org/w/index.php?title=ჩაკონა&action=history | Georgian | Spoken | 51 | 295 | ჩაკონა (, ) — 1. ძველებური ცეკვა. შეიქმნა XVI საუკუნის ბოლოს ესპანეთში. სრულდებოდა ცოცხალ ტემპში. მუსიკალური ზომა 3/4. XVII საუკუნის დასაწყისში გავრცელდა საფრანგეთში, მიიღო ნელი, მდოვრე ხასიათი. 2. XVII-XVIII საუკუნის დასავლეთ ევროპის მუსიკაში ჩაკონა საკრავიერი პიესაა, ბანში უცვლელად გამეორებადი თემით. მუსიკალური ზომა 3/4. ახლოსაა პასაკალიასთან.
ლიტერატურა
ძველი ცეკვები
ბაროკოს ეპოქის ცეკვები | 5,500 |
https://ja.wikipedia.org/wiki/%E6%81%8B%E3%81%99%E3%82%8B%E6%83%B3%E3%81%84%E3%80%9CFall%20in%20love%E3%80%9C | Wikipedia | Open Web | CC-By-SA | 2,023 | 恋する想い〜Fall in love〜 | https://ja.wikipedia.org/w/index.php?title=恋する想い〜Fall in love〜&action=history | Japanese | Spoken | 56 | 426 | 「恋する想い〜Fall in love〜」(こいするおもい フォール・イン・ラヴ)は、1998年6月17日にマーキュリー・ミュージックエンタテイメントからリリースされた松田聖子の47枚目のシングル。
解説
日本テレビ系『スーパーテレビ情報最前線』のエンディング・テーマ。
本来、アルバム『Forever』からの先行シングルとして発売予定であったが、諸事情によりアルバムリリース後のシングルカット扱いとなった。
収録曲
全作詞:Seiko Matsuda 作曲:Seiko Matsuda・小倉良
恋する想い〜Fall in love〜[4:46]
編曲:鳥山雄司
I love you[5:02]
編曲:小倉良・栗尾直樹
恋する想い〜Fall in love〜(Original Backing Track)[4:48]
関連作品
恋する想い~Fall in love~
Forever
Seiko '96-'98
Seiko Smile Seiko Matsuda 25th Anniversary Best Selection
We Love SEIKO -35th Anniversary 松田聖子究極オールタイムベスト50Songs-
I Love You
Forever
脚注
松田聖子の楽曲
松田聖子が制作した楽曲
1998年のリカット・シングル
ユニバーサルミュージックジャパンのシングル
いするおもいふおおるいらふ | 11,955 |
https://ceb.wikipedia.org/wiki/Wae%20Larang%20%28suba%20nga%20anhianhi%20sa%20Indonesya%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Wae Larang (suba nga anhianhi sa Indonesya) | https://ceb.wikipedia.org/w/index.php?title=Wae Larang (suba nga anhianhi sa Indonesya)&action=history | Cebuano | Spoken | 95 | 166 | Alang sa ubang mga dapit sa mao gihapon nga ngalan, tan-awa ang Wae Larang.
Suba nga anhianhi ang Wae Larang sa Indonesya. Nahimutang ni sa lalawigan sa Provinsi Nusa Tenggara Timur, sa habagatan-sidlakang bahin sa nasod, km sa sidlakan sa Jakarta ang ulohan sa nasod.
Ang kasarangang giiniton °C. Ang kinainitan nga bulan Septiyembre, sa °C, ug ang kinabugnawan Enero, sa °C. Ang kasarangang pag-ulan milimetro matag tuig. Ang kinabasaan nga bulan Disyembre, sa milimetro nga ulan, ug ang kinaugahan Septiyembre, sa milimetro.
Ang mga gi basihan niini
Mga suba sa Provinsi Nusa Tenggara Timur | 18,603 |
https://hi.wikipedia.org/wiki/%E0%A4%B8%E0%A5%87%E0%A4%B5%E0%A4%BE%E0%A4%B0%E0%A4%BE%E0%A4%AE%E0%A4%AA%E0%A5%81%E0%A4%B0%20%E0%A4%97%E0%A4%BE%E0%A4%81%E0%A4%B5%2C%20%E0%A4%B8%E0%A4%B9%E0%A4%95%E0%A5%81%E0%A4%82%E0%A4%A1%20%28%E0%A4%AD%E0%A4%BE%E0%A4%97%E0%A4%B2%E0%A4%AA%E0%A5%81%E0%A4%B0%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | सेवारामपुर गाँव, सहकुंड (भागलपुर) | https://hi.wikipedia.org/w/index.php?title=सेवारामपुर गाँव, सहकुंड (भागलपुर)&action=history | Hindi | Spoken | 12 | 63 | सेवारामपुर सहकुंड, भागलपुर, बिहार स्थित एक गाँव है।
भागलपुर जिला के गाँव | 12,870 |
https://math.stackexchange.com/questions/2206227 | StackExchange | Open Web | CC-By-SA | 2,017 | Stack Exchange | Bram28, JMoravitz, https://math.stackexchange.com/users/179297, https://math.stackexchange.com/users/256001 | English | Spoken | 138 | 692 | Prove using simple induction
Prove by induction for each integer $n$ greater or equal to $1$, we have
$$7 + 7^2 + 7^3 +···+ 7^n = \frac{7^{n+1}-7}{6}.$$
$7+7^2+\dots+7^n+7^{n+1}=(7+7^2+\dots+7^n)+7^{n+1}=\dots$
This exact same question was asked two days ago, under 'Proving $7 + 7^2 + 7 ^3' .. $ ' Someone please find this and provide a link ... I can't with my limited device
The statement is clear at $n=1$. Assume that the statement holds for $n=k$. Then
$$7+7^2+7^3+\dots+7^k=\frac{7^{k+1}-7}{6}.$$ Now
$$\begin{align}7+7^2+7^3+\dots+7^\color\red{{k+1}}&=(7+7^2+7^3+\dots+7^k)+7^{k+1}\\
&=\frac{7^{k+1}-7}{6}+7^{k+1}\\
&=\frac{1(7^{k+1})-7+6(7^{k+1})}{6}\\
&=\frac{7(7^{k+1})-7}{6}\\
&=\frac{7^{(\color\red{k+1})+1}-7}{6}.
\end{align}$$
Hence, the statement holds at $n=k+1$. Hope it helps.
First, prove the base case, that is, $n=1$:
$7^1=\frac{7^2-7}{6}=7$
Then, rewrite for inductive case (i.e. for $n=k$):
$7+7^2+...+7^k=\frac{7^{(k+1)}-7}{6}$
We then form the inductive hypothesis (i.e. $n=k+1$):
$7+7^2+...+7^k+7^{k+1}=\frac{7^{(k+2)}-7}{6}$
This gives us the following:
$\frac{7^{(k+1)}-7}{6}+7^{k+1}=\frac{7^{(k+2)}-7}{6}$
Simplify:
$\frac{7^{k+1}-7+6\bullet7^{k+1}}{6}=\frac{7^{(k+2)}-7}{6}$
Factor out $7^{k+1}$:
Giving us the final answer,
$\frac{7^{(k+2)}-7}{6}=\frac{7^{(k+2)}-7}{6}$
| 43,838 |
https://en.wikipedia.org/wiki/Public%20Accounts%20Commission | Wikipedia | Open Web | CC-By-SA | 2,023 | Public Accounts Commission | https://en.wikipedia.org/w/index.php?title=Public Accounts Commission&action=history | English | Spoken | 149 | 191 | The Public Accounts Commission is a UK body created under the National Audit Act 1983 to audit the National Audit Office, i.e., to watch the watchers.
Composition
The Commission comprises nine MPs, including the Leader of the House of Commons and the Chair of the Public Accounts Select Committee, who serve ex officio. The remaining seven, who may not be Ministers of the Crown, are chosen by the House of Commons. The Commission elects its chair from among its numbers. Members continue to serve despite a dissolution of Parliament, but—excepting the Chair of the Public Accounts Committee—are required to resign if they are not standing or are defeated for re-election. A list of current members is available on the UK Parliament website. , the membership consists of 9 MPs.
See also
List of committees of the United Kingdom Parliament
References
Committees of the British House of Commons
Government audit | 24,929 |
https://es.wikipedia.org/wiki/Trio%20%281987%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Trio (1987) | https://es.wikipedia.org/w/index.php?title=Trio (1987)&action=history | Spanish | Spoken | 234 | 512 | Trio es un álbum de estudio que lanzaron en 1987 tres de las más exitosas cantantes de música country de la historia:Dolly Parton, Linda Ronstadt y Emmylou Harris.
Canciones
"The Pain of Loving You" (Dolly Parton, Porter Wagoner) – 2:32
"Making Plans" (Johnny Russell, Voni Morrison) – 3:36
"To Know Him Is to Love Him" (Phil Spector) – 3:48
"Hobo's Meditation" (Jimmie Rodgers) – 3:17
"Wildflowers" (Dolly Parton) – 3:33
"Telling Me Lies" (Linda Thompson, Betsy Cook) – 4:26
"My Dear Companion" (trad., arranged by Jean Ritchie) – 2:55
"Those Memories of You" (Alan O'Bryant) – 3:58
"I've Had Enough" (Kate McGarrigle) – 3:30
"Rosewood Casket" – 2:59
"Farther Along" (Emmylou Harris) – 4:10
Créditos
Linda Ronstadt - voz
Emmylou Harris - voz, guitarra acústica
Dolly Parton - voz
Ry Cooder - guitarra
Kenny Edwards - bajo eléctrico
Steve Fishell - guitarra
Russ Kunkel - tambor
Albert Lee - guitarra acústica
David Lindley - guitarra acústica
Mark O'Connor - guitarra acústica
Bill Payne - piano
Herb Pedersen - banjo
Leland Sklar - bajo
John Starling - acoustic guitar (4,8), musical consultant
David Campbell - dirección de orquesta
Charles Veal - primer violín
Dennis Karmazyn - violonchelo
Jodi Burnett - violonchelo
Marty Krystall - clarinete
Brice Martin - flauta
Ilene "Novi" Novog - viola
Producción
George Massenburg
Sharon Rice
Doug Sax
Enlaces externos
Trio en Dolly Parton On-Line
Álbumes de 1987
Álbumes de Dolly Parton | 18,558 |
https://en.wikipedia.org/wiki/Compendium%20of%20postage%20stamp%20issuers%20%28Ca%E2%80%93Ce%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Compendium of postage stamp issuers (Ca–Ce) | https://en.wikipedia.org/w/index.php?title=Compendium of postage stamp issuers (Ca–Ce)&action=history | English | Spoken | 1,469 | 2,873 | Each "article" in this category is a collection of entries about several stamp issuers, presented in alphabetical order. The entries are formulated on the micro model and so provide summary information about all known issuers.
See the :Category:Compendium of postage stamp issuers page for details of the project.
Cabinda
Formerly Portuguese Congo, this territory had protectorate status since 1883 and was separate from Portuguese West Africa. As part of various independence movements in the 1960s a group called Front for the Liberation of the Enclave of Cabinda (FLEC) established a government-in-exile in Kinshasa. FLEC made a unilateral declaration of independence on 1 August 1975 but it was not recognised by Portugal or internationally.
In November 1975, Angolan troops of the MPLA occupied Cabinda which was annexed into the newly independent Angolan state. Angola calls the territory Cabinda Province. Since then, FLEC and other factions within Cabinda have struggled for full independence and seek to form the Republic of Cabinda.
Various organizations have issued stamps for Cabinda (widely regarded as cinderellas). These include:
The Cabinda National Philatelic Bureau, which issued a set of eleven overprints on Angolan stamps, all with a denomination of 500 Central African francs, with designs showing fauna and mushrooms on 27 October 2006. These stamps have seen some use as paquebot mail in Barbados.
The Federation of Free States of Africa, which issued thirty one designs showing the coat of arms and flag as well as ships, fauna, planes, natives and a map of Africa from 2010 to 2012.
Other stamps and miniature sheets for thematic collectors appeared on eBay, Delcampe and other websites from sellers in Belarus, France, Israel and the United States.
Refer Angola;
Portuguese Congo
Caicos Islands
Separate issues by the Caicos part of the Turks & Caicos Islands, which are in the Caribbean
north of Hispaniola. The Caicos are not politically independent of the Turks and there remains
some controversy about the validity of the stamps, although they have been accepted for postal
use.
Dates 1981 – 1985
Currency 100 cents = 1 dollar
Refer Turks & Caicos Islands
Calchi
Refer Khalki
Calimno
Refer Kalimnos
Calino
Refer Kalimnos
Calymnos
Refer Kalimnos
Cambodge
Refer Cambodia
Cambodia
Dates 1951–1975; 1980 –
Capital Phnom Penh
Currency (1951) 100 cents = 1 piastre
(1955) 100 cents = 1 riel
Main Article
Postage stamps and postal history of Cambodia
Includes Kampuchea;
Khmer Republic
See also Indochina
Cambodia (Indochina)
One issue in 1936 when part of French Indochina.
Dates 1936
Currency 100 cents = 1 piastre
Refer Indochina Territories
See also Annam (Indochina)
Cameroons (British Occupation)
British and French forces occupied the country during World War I and issue German Kamerun Yacht types with overprint of CEF and British currency value. The British section became Southern Cameroons and was administered as part of Nigeria until 1960 when it rejoined Cameroun (the former French section) after a plebiscite.
Dates 1915 only
Currency 12 pence = 1 shilling; 20 shillings = 1 pound
Refer British Occupation Issues
See also Southern Cameroons
Cameroun
The German colony of Kamerun was occupied by French and British forces during World War I. Southern Cameroons became part of Nigeria but the remainder was administered by France until 1960 as Cameroun.
During the World War I occupation period, the French issued stamps of Gabon overprinted Corps Expeditionnaire Franco–Anglais CAMEROUN; and stamps of Middle Congo overprinted CAMEROUN Occupation Française. After the war, the Middle Congo stamps were simply overprinted CAMEROUN. The first issues specifically for Cameroun were produced in 1925.
Cameroun became an independent republic in 1960 and, following a plebiscite, Southern Cameroons was reunited with it.
Dates 1915 –
Capital Yaoundé
Currency 100 centimes = 1 franc
Main Articles
Postage stamps and postal history of Cameroon
Postage stamps and postal history of British Cameroons
See also Kamerun
Canada
Dates 1851 –
Capital Ottawa
Currency (1851) 12 pence = 1 shilling; 20 shillings = 1 pound
(1859) 100 cents = 1 dollar
See also Canadian Provinces
Canadian Provinces
Main article
Includes British Columbia;
British Columbia & Vancouver Island;
New Brunswick;
New Carlisle (Gaspé);
Newfoundland;
Nova Scotia;
Prince Edward Island;
Vancouver Island
See also Canada
Canal Zone
Now uses stamps of Panama.
Dates 1904–1979
Capital Balboa
Currency 100 cents = 1 balboa
Main article
Postage stamps and postal history of the Canal Zone
Canary Islands
Overprinted airmail stamps were used during the Spanish Civil War.
Dates 1936–1938
Capital Las Palmas
Currency 100 centimos = 1 peseta
Main article
See also Spain
Candia
Refer Kandia
Canea
Refer Khania (Italian Post Office)
Canouan
Unauthorised issues only. Canouan is one of the islands of the Grenadines of St Vincent.
Refer Grenadines of St Vincent
Canton (Indochinese Post Office)
Indochinese PO in China.
Dates 1901–1922
Currency (1901) 100 centimes = 1 franc
(1919) 100 cents = 1 piastre
Refer China (Indochinese Post Offices)
Cape Colony
Refer Cape of Good Hope
Cape Juby
Cape Juby became part of Spanish Sahara in 1950 and is now in Morocco.
Dates 1916–1950
Currency 100 centimos = 1 peseta
Refer Spanish West Africa
Cape of Good Hope
Dates 1853–1910
Capital Cape Town
Currency 12 pence = 1 shilling; 20 shillings = 1 pound
Main article
Includes British Bechuanaland;
Griqualand West;
Mafeking;
Stellaland Republic;
Vryburg
Cape Province
Refer Cape of Good Hope
Cape Verde Islands
Dates 1877 –
Capital Praia
Currency 100 centavos = 1 escudo
Main article needed Postage stamps and postal history of Cape Verde
See also Africa (Portuguese Colonies)
Carchi
Refer Khalki
Caribbean Netherlands
Dates 2010-
Currency 100 cents = 1 gulden (florin) (until 1-1-2011)
100 cents = 1 dollar (from 1-1-2011)
Issuing authority is the Netherlands
See also
Curaçao (Curaçao and Dependencies);
Netherlands Antilles;
Netherlands;
Carinthia
Austrian and Yugoslav overprints used during a plebiscite. Carinthia remained in Austria.
Dates 1920 only
Currency 100 heller = 1 krone (Austrian series);
100 paras = 1 dinar (Yugoslav series)
Refer Plebiscite Issues
Carnaro Regency
Refer Arbe;
Fiume;
Veglia
Caroline Islands (Karolinen)
A group of islands in the western South Pacific of which the main ones are Palau, Yap, Truk, Ponape and Kosrae.
They were a Spanish colony from 1885 but there was no postal service as such until 1899 when the islands were purchased by Germany as the protectorate of Karolinen.
Karolinen was administered from Rabaul in German New Guinea. Issues of standard German Colonies types were inscribed KAROLINEN. These were in use 1899–1914. On the outbreak of World War I in 1914, the islands were seized by Japan which retained control until driven out by American forces in WW2. American occupation continued after WW2 and the islands became a UN Trust Territory under USA administration 1947–83. Palau became independent in 1981; the remainder became Federated States of Micronesia in 1983.
Used stamps of Japan 1914–46; used stamps of USA 1946–83.
Dates 1899–1914
Capital Truk
Currency 100 pfennige = 1 mark
Refer German Colonies
See also Micronesia;
Palau
Carpathos
Refer Karpathos
Caso/Casos
Refer Kasos
Castelrosso (Kastellórizo)
Formerly a Turkish island, Castelrosso (Kastellórizo) was occupied by France 1915–20 and then became one of Italy's Dodecanese colonies. Used own stamps and the general EGEO issues. Part of Greece since 1947 and now called Kastellórizo, which is also the name of the only village.
Dates 1920–1932
Capital Kastellórizo
Currency 100 centesimi = 1 lira
Refer Aegean Islands (Dodecanese)
See also French Occupation Issues
Castelrosso (French Occupation)
Former Turkish island occupied by the French navy in 1915. It was awarded to Italy as part of the Dodecanese in 1921 and, like the rest, was unified with Greece in 1947. It is now called Kastellórizo.
During the French occupation, stamps of France and French Levant were issued with overprints such as
ONF CASTELLORIZO.
Dates 1920–1921
Currency French (100 centimes = 1 franc)
used concurrently with Turkish (40 paras = 1 piastre)
Refer French Occupation Issues
See also Aegean Islands (Dodecanese);
Castelrosso (Kastellórizo)
Castelrosso (Italian Occupation)
Refer Castelrosso (Kastellórizo)
Cauca
Dates 1886 only
Currency 100 centavos = 1 peso
Refer Colombian Territories
Cavalla/Cavalle
Refer Kavalla (French Post Office)
Cayes of Belize
Unofficial issues only.
Refer Belize
Cayman Islands
Dates 1900 –
Capital George Town
Currency (1900) 12 pence = 1 shilling; 20 shillings = 1 pound
(1969) 100 cents = 1 dollar
Main Article
Postage stamps and postal history of the Cayman Islands
CEF
These initials have been used in two entirely separate spheres. They refer to the international
China Expeditionary Force sent to China in 1900; also to the British forces which occupied German Kamerun
in 1915 (i.e., Cameroons Expeditionary Force).
Refer Cameroons (British Occupation);
China Expeditionary Force
References
Bibliography
Stanley Gibbons Ltd, Europe and Colonies 1970, Stanley Gibbons Ltd, 1969
Stanley Gibbons Ltd, various catalogues
Stuart Rossiter & John Flower, The Stamp Atlas, W H Smith, 1989
XLCR Stamp Finder and Collector's Dictionary, Thomas Cliffe Ltd, c.1960
External links
AskPhil – Glossary of Stamp Collecting Terms
Encyclopaedia of Postal History
Cabinda | 28,137 |
https://stackoverflow.com/questions/76115864 | StackExchange | Open Web | CC-By-SA | 2,023 | Stack Exchange | L Tyrone, https://stackoverflow.com/users/2530121 | English | Spoken | 193 | 362 | Model Achieves 100% Accuracy Incorrectly
I'm building an SVM prediction model in R and the dataset isn't supposed to lend itself to models with great accuracy/beta so I'm supposed to end with a poorly optimized model and spend time optimizing it. But it predicts at 100% accuracy with a Kappa of 1. I split it in half for training/testing and then run ksvm on it:
spor <- read.csv("spor.csv")
set.seed(12345)
idx <- sample(nrow(spor), 0.5*nrow(spor))
spor_train <- spor[idx,]
spor_test <- spor[-idx,]
spor_test_lab <- spor_test$alc
svm <- ksvm(as.factor(spor_train_lab) ~., data = spor_train, kernel = "vanilladot")
svm_pred <- predict(svm, spor_test)
confusionMatrix(svm_pred, as.factor(spor_test_lab))
I tried changing the ratio of train/test, testing on the whole dataset, whatever I do the model responds with 100% accuracy. I know there has to be a bug in here somewhere but I have no idea what it could be.
Welcome to SO. It's much easier to answer questions that have a minimum reproducible example. You can run dput(spor) and copy the result into your question so we can see your dataset. If your dataset is large, run dput(head(spor, n)) where n is the minimum number of rows required to reproduce your issue. Thanks.
| 16,148 |
https://pl.wikipedia.org/wiki/Mi%C5%82osna%20szko%C5%82a%20przetrwania | Wikipedia | Open Web | CC-By-SA | 2,023 | Miłosna szkoła przetrwania | https://pl.wikipedia.org/w/index.php?title=Miłosna szkoła przetrwania&action=history | Polish | Spoken | 191 | 454 | Miłosna szkoła przetrwania (Tough Love, 2009) – amerykański program typu reality show, wyprodukowany przez stację VH1. Pomysłodawcą show jest Steven Ward, pewny siebie ekspert w dziedzinie randek oraz jego matka Joann Ward.
Opis fabuły
8 dziewczyn zostaje zamkniętych w jednym domu na czas trwania programu aby Steven Ward mógł zmienić podejście tych kobiet do randkowania. Uczy je jak mają się zachowywać, co mówi żeby randka się udała a po pewnym czasie by znalazła swoją miłość. Oprócz wskazówek Steven ujawnia prawdę o tym, co faceci naprawdę myślą o randkach i kobietach.
W każdym odcinku dziewczyny wykonują określone zadania, egzaminy mające na celu wyeliminowanie złych nawyków czy ruchów.
Uczestniczki
Kobiety uczestniczące w "Miłosnej szkoły przetrwania" są zdesperowanymi singielkami, które nie potrafią zrozumieć dlaczego nie potrafią znaleźć kogoś na stałe. Są wśród nich typowe archetypy samotnych kobiet: romantyczka usilnie poszukująca męża, silna, dojrzała indywidualistka czy imprezowa dziewczyna bez zahamowań.
Seria I
Abiola Abrams 32 lata
Jody Green 39 lat
Stasha Kravljanac 33 lata
Natasha Malinsky 28 lat
Arian Mayer 27 lat
Taylor Royce 26 lat
Jessa Faye Settles 24 lata
Jacklyn Watkins 22 lata
Spis odcinków
Linki zewnętrzne
Oficjalna strona
Programy typu reality show | 21,634 |
https://war.wikipedia.org/wiki/Clypearia%20duckei | Wikipedia | Open Web | CC-By-SA | 2,023 | Clypearia duckei | https://war.wikipedia.org/w/index.php?title=Clypearia duckei&action=history | Waray | Spoken | 35 | 60 | An Clypearia duckei in uska species han Hymenoptera nga ginhulagway ni Richards hadton 1978. An Clypearia duckei in nahilalakip ha genus nga Clypearia, ngan familia nga Vespidae. Waray hini subspecies nga nakalista.
Mga kasarigan
Clypearia | 12,961 |
https://ja.wikipedia.org/wiki/%E7%8E%8B%E5%8D%A0%E5%85%83 | Wikipedia | Open Web | CC-By-SA | 2,023 | 王占元 | https://ja.wikipedia.org/w/index.php?title=王占元&action=history | Japanese | Spoken | 27 | 2,021 | 王 占元(おう せんげん)は、清末民初の軍人。北京政府、直隷派の有力者で、湖北省を統治した。李純、陳光遠と共に「長江三督」の1人とされる。字は子春。
事績
清末から辛亥革命まで
淮軍の劉銘伝部隊の兵士から軍歴を開始し、1886年(光緒12年)、天津武備学堂第1期で学んだ。1890年(光緒16年)に卒業する。宋慶の毅軍に加わり、日清戦争に参戦した。1895年(光緒21年)、天津小站で袁世凱の新建陸軍に加わり、工程営隊官となった。1902年(光緒28年)、北洋常備軍歩兵隊第7営管帯となり、翌年、歩兵隊第1標統帯に昇進した。
1904年(光緒30年)に袁世凱・鉄良が北洋陸軍6個鎮を編制すると、王占元は第2鎮歩兵隊第3協統領に昇進した。その後も順調に昇進し、1911年(宣統3年)4月、陸軍協都統位を授与されている。同年10月、武昌起義が勃発すると、王の第3協は第1軍に編入され、馮国璋指揮下で革命軍鎮圧に従事した。11月末には、王の部隊は李純の部隊と協力して漢陽を革命軍から奪回する。この軍功により、王は第2鎮統制に昇進し、副都統銜を授与された。
直隷派の中心人物に
1912年(民国元年)、中華民国が成立すると、鎮は師に改められ、王占元率いる第2師は保定に駐屯した。1913年(民国2年)、二次革命(第二革命)が勃発すると、王は革命派の鎮圧に従事した。この軍功により、陸軍上将銜などを授与されている。1914年(民国3年)3月、豫南剿匪総司令を兼任して、白朗討伐に従事した。4月には湖北軍務幇弁となった。1915年(民国4年)、袁世凱の皇帝即位を支持し、10月、壮威将軍の位を授与された。12月、袁の皇帝即位とともに、王は一等侯に封じられている。同月、護国戦争(第三革命)が勃発すると、王は襄武将軍督理湖北軍務(いわゆる湖北将軍)に任命された。
袁世凱が1916年(民国5年)6月に死去すると、翌7月に王は湖北督軍兼民政長に任命された。府院の争いでは国務総理段祺瑞を支持し、他省の督軍たちと国会の解散を要求するなど、総統黎元洪に圧力をかけた。しかし、馮国璋率いる直隷派と段率いる安徽派の争いでは、王は直隷派の重要人物となる。護法戦争を起こした南方政府への対応をめぐって、「武力統一」を唱える段に対抗し、「和平統一」を唱える馮を補佐した。
段祺瑞が湖南省に南方政府討伐軍を派兵しようとすると、王占元は、江蘇督軍李純、江西督軍陳光遠と共にこれを阻止する姿勢をみせる。結局、段は湖南征伐を断念した。これ以降、李・王・陳の3督軍は、「長江三督」として国政で注目を受けるようになる。1919年(民国8年)12月に馮国璋が病没すると、曹錕が直隷派の指導者となった。王は引き続き、その有力支持者となる。1920年(民国9年)6月、王は両湖巡閲使に任命された。翌月の安直戦争では、安徽派の長江上游総司令呉光新を逮捕して、その軍を没収している。これにより王の勢威は拡大された。
湖北統治の失敗、その後
しかし、王占元の湖北統治は苛酷で、省内の各階層から不評であった。また、部下の兵士たちも給料遅配等から繰り返し反乱を起こし、湖北社会を混乱に陥れている。その結果、1921年(民国10年)6月、湘軍(湖南軍)の趙恒惕と連合した湖北省有力者の蔣作賓や、李書城らが、倒王運動を開始した(湘鄂戦争)。8月5日、通城を奪われた王は曹錕と呉佩孚に救援を求めた。しかし、曹らは王を見捨て(援鄂不援王)、河南省駐屯の蕭耀南の第25師および靳雲鶚の第8混成旅を湖北省に介入。抵抗し得なかった王は、翌日下野を表明して天津に逃亡した。
これ以降も、王占元は直隷派の一員として活動を続けた。しかし、湖北統治の失敗により軍事的・政治的力量は大きく損なわれ、国政への影響は限定的なものでしかなかった。1926年(民国15年)9月、五省聯軍司令孫伝芳の檄に応じ、王は訓練総監に任命され、中国国民党の北伐を阻止しようとする。また、1928年(民国17年)4月、王は張作霖から陸軍検閲使に任命された。しかし、それからまもなく、北京政府は北伐軍により倒されてしまった。
国民政府時代になると、王占元は実業界に転進した。王は、それまで貯蓄していた莫大な資産を不動産、各種工場、銀号(銀行)などに投資して、大きな利益を上げている。1934年(民国23年)9月14日、天津にて死去。享年74(満73歳)。
注
参考文献
張振鶴「王占元」
清代の人物
う せんけん
19世紀の軍人
20世紀の軍人
直隷派の人物
聊城出身の人物
1861年生
1934年没 | 305 |
https://et.wikipedia.org/wiki/Minamata%20haigus | Wikipedia | Open Web | CC-By-SA | 2,023 | Minamata haigus | https://et.wikipedia.org/w/index.php?title=Minamata haigus&action=history | Estonian | Spoken | 375 | 1,084 | Minamata haigus (jaapani keeles 水俣病 Minamata-byō) oli 20. sajandil Jaapanis Kumamoto prefektuuris Minamata linnas alguse saanud epideemia, mille põhjustajaks oli elavhõbedamürgistus.
RHK-10 klassifikatsioonis ei ole Minamata haigust eraldi välja toodud. Kirjanduses viidatakse sellele kui elavhõbeda ja selle ühendite toksilise toime tagajärjele – kood RHK-10 järgi T56.1, sõltumata elavhõbeda päritolu allikast.
Eellugu
Chisso kontsern avas Minamatas oma esimese keemiatehase juba 1908. aastal. 1932. aastal hakati seal etanaali tootmiseks kasutama katalüsaatorina metüülelavhõbedat. Kuni sellise tootmisviisi lõpetamiseni 1968. aastal laskiski Chisso oma reoveed Minamata lahte.
21. aprillil 1956 uuriti ühes Chisso kontserni tehase haiglas viieaastast tüdrukut, kellel olid tekkinud kõndimis- ja kõnelemisraskused ning konvulsioonid. Kahe päeva pärast ilmnesid ka tüdruku nooremal õel sarnased sümptomid. Tüdrukute ema teatas, et ka naabrite tütrel olid sarnased sümptomid. Teostati majast-majja uuring, ning leiti kaheksa sarnaste sümptomitega haiget. 1. mail teatas haigla peaarst, et on puhkenud "tundmatu kesknärvisüsteemi haiguse epideemia", mida hakati nimetama Minamata tõveks.
Haigust hakkas uurima Kumamoto ülikool, ning sümptomid selginesid: patsientidel oli tekkinud jäsemete tuimus, häälemuutus ning nägemis-, kuulmis- ja neelamisraskused. Hiljem aga asendusid sümptomid konvulsioonide, kooma ja surmaga. Oktoobriks 1956 oli kindlaks tehtud 40 patsienti, kellest 14 oli surnud.
Ohvrid olid kõik elanud Minamata lahe äärsetes kalurikülades, kus põhitoiduks oli kala. Kassidelgi oli avastatud sarnane haigus. Siis hakati arvama, et haiguse põhjustajaks on mõni raskmetall, mis vette sattudes reostas kalu. Chisso tehase reovesi sisaldas pliid, elavhõbedat, mangaani, arseeni, seleeni, talliumi ja vaske. Algul peeti põhisüüdlaseks mangaani, kuid märtsis 1958 saabus Minamatasse inglise neuroloog Douglas McAlpine, kes teatas, et Minamata tõve sümptomid ühtivad elavhõbedamürgistuse omadega. Minamata lahest avastatigi palju elavhõbedajääke.
Chisso sai kiiresti Jaapanis vihatud kontserniks. Pärast aastaid kestnud võitlust esitas 1968. aastal Jaapani valitsus Minamata haiguse kohta lõpliku otsuse: "Minamata haiguse korral on tegu kesknärvisüsteemi kahjustusega, mida põhjustab pikaajaline mürgistus Minamata lahe kalade ja rannakarpidega. Kahjustavaks aineks on metüülelavhõbe. Minamata haiguse viimased patsiendid registreeriti aastal 1960 ning selle põhjuseks on tõenäoliselt 1957. aastal lahest pärinevate toodete söömiskeeld ning tehase uus heitvete puhastussüsteem."
Lõpuks, 1973. aastal, sundis Jaapani kohus Chisso kontserni maksma iga ohvri eest 18 miljonit jeeni kompensatsiooni.
Minamata haigusse oli 2001. aasta märtsi seisuga haigestunud 2265 inimest, kellest 1784 (78,8%) oli surnud.
Minamata haiguse epideemia kuulub nelja Jaapani keskkonnareostuse katastroofi hulka.
Jaapanis kordus Minamata haigus uuesti 1965. aastal Niigata prefektuuris Niigata Minamata haigusena.
Viited
Keskkonnareostus
Haiguspuhangud
Jaapani ajalugu | 30,756 |
https://vi.wikipedia.org/wiki/Dysmachus%20olympicus | Wikipedia | Open Web | CC-By-SA | 2,023 | Dysmachus olympicus | https://vi.wikipedia.org/w/index.php?title=Dysmachus olympicus&action=history | Vietnamese | Spoken | 31 | 72 | Dysmachus olympicus là một loài ruồi trong họ Asilidae. Dysmachus olympicus được Janssens miêu tả năm 1958. Loài này phân bố ở vùng Cổ Bắc giới.
Chú thích
Tham khảo
Dysmachus | 44,315 |
https://stackoverflow.com/questions/57283936 | StackExchange | Open Web | CC-By-SA | 2,019 | Stack Exchange | Alexandr Kolesnik, Mohamed Elgharbawy, PGDev, https://stackoverflow.com/users/11077258, https://stackoverflow.com/users/1226963, https://stackoverflow.com/users/4275140, https://stackoverflow.com/users/5716829, https://stackoverflow.com/users/8589566, rmaddy, steveSarsawa | English | Spoken | 644 | 1,063 | scheduledTimer not firing if I navigate to two viewcontrollers
I have a weak scheduledTimer:
weak var timer = Timer.scheduledTimer(timerInterval: 2.0, target: self, selector: #selector(fire), userInfo: ["id",id], repeats: false)
If I begin this timer and navigate to only one viewController, it will fire in the background with no issue. However, if I navigate to a second viewController before the timer fires, it will never go off. Any idea why this is happening?
maybe because it's weak?
I tried removing weak, but that caused it to not clear after navigating to only one viewController. Making it weak makes sense though, right? It clears from memory more easily?
Didn't understand the navigation hierarchy you're following here. Kindly clarify.
tasksTableVc ---> TaskInfoVc ----> EditTaskInfoVc
Assuming the timer is weak, I can navigate to TaskInfoVc and they will fire no problem. The issue is when I go to EditTaskInfoVc before the timers fire. They will no longer do so.
remove weak, implement deinit in ViewController with timer, inside timer?.invalidate()
In which controller are you having the Timer?
@PGDev tasksTableVc
Add more code when and where you're firing the timer.
@AlexandrKolesnik The use of weak is not a problem. Please read the first paragraph of the Timer documentation.
To define
class viewController: UIViewController
{
var timer = Timer()
use in other function
func one()
{
timer = Timer.scheduledTimer(timeInterval: 2.0, target: self, selector: #selector(backClick), userInfo: ["id"], repeats: false)
}
func two()
{
timer = Timer.scheduledTimer(timeInterval: 2.0, target: self, selector: #selector(backClick), userInfo: ["id"], repeats: false)
}
inValidate() timer
override func viewDidDisappear(_ animated: Bool) {
super.viewDidDisappear(animated)
timer.fire()
}
I'm using Main.storyboard, so I'm not seguing programatically. Also, the timer wouldn't be in the scope of whatever function I would need to do that in anyways.
How do I access the timers if I created them in a different function?
define timer in class function globally
So you can access it anywhere in the class
If I define it globally I cannot run it after a delay later though, as I can only use timer.fire() which does it immediately
If you define it globally in the class then you can fire or invalidate whenever you want in class function, or when class did load or class desappear.
I understand that I can fire or invalidate it whenever I want in the class, but if I want to run it with a timeInterval delay, I can no longer do that, right?
You can use it with interval and delay multiple times in multiple function whenever you want
Okay, when I define it globally, what do I write? weak var timer: ???
Also, how do I do the equivalent of:
weak var timer = Timer.scheduledTimer(timerInterval: 2.0, target: self, selector: #selector(fire), userInfo: ["id",id], repeats: false)
wherever I want?
It did not work. If I do not put weak timer: Timer() it never fires. If I add weak, the first task will fire, but not the others.
But you've to define as timer = Timer() not as timer: Timer()
Tried the updated answer, it causes nothing to get cleared after navigating to the second viewcontroller.
Because of that was weak like @Alexandr Kolesnik 's comment, or may be you invalidated when first one is disappeared.
I tried removing weak, but that caused it to not clear after navigating to only one viewController. Making it weak makes sense though, right? It clears from memory more easily?
From the first paragraph of the Timer documentation: "Timers work in conjunction with run loops. Run loops maintain strong references to their timers, so you don’t have to maintain your own strong reference to a timer after you have added it to a run loop.". From the documentation for the scheduledTimer method: "Creates a timer and schedules it on the current run loop in the default mode.".
How would I fix the issue then? I have been trying @wolverian's method with little luck.
| 49,777 |
https://es.wikipedia.org/wiki/Gustavo%20Contreras%20Montes | Wikipedia | Open Web | CC-By-SA | 2,023 | Gustavo Contreras Montes | https://es.wikipedia.org/w/index.php?title=Gustavo Contreras Montes&action=history | Spanish | Spoken | 66 | 114 | Gustavo Contreras Montes (Tultitlán, Estado de México, 11 de junio de 1980) es un político mexicano. Es miembro de Morena. Actualmente se desempeña como diputado federal en la LXIV Legislatura de la Unión de México (2018-2021) y en la LXV Legislatura de la Unión de México (desde 2021)
Diputados de la LXIV Legislatura de México
Diputados de la LXV Legislatura de México
Miembros del partido Morena | 22,839 |
https://stackoverflow.com/questions/26106635 | StackExchange | Open Web | CC-By-SA | 2,014 | Stack Exchange | Basilevs, NPE, Thoth, cunknown, https://stackoverflow.com/users/125562, https://stackoverflow.com/users/1413395, https://stackoverflow.com/users/16740179, https://stackoverflow.com/users/367273, https://stackoverflow.com/users/696708, https://stackoverflow.com/users/9598207, venki421, πάντα ῥεῖ | English | Spoken | 367 | 697 | How to use std::string as command with the system() call?
I am trying to pass a string into the system() shell command function. I am trying to pass a concatenated string into it like so:
string parameters = "Doug";
system("ps -ef|grep " + parameters);
It keeps giving me error because system() takes a char*. How would I go about having the system() function work. I tried putting parameters.c_str() but doesn't work. Thanks!
Use c_str() with concatenated string (command+parameters) before passing the string to shell
You need to call c_str() on the result of the concatenation:
system(("ps -ef|grep " + parameters).c_str());
(Note the parentheses.)
Why does this work? c_str() returns const char *, not char *.
@Basilevs: c_str() returns a const char* and system() takes a const char*: http://linux.die.net/man/3/system
That's well interesting (and provable). I didn't notice yet, there exists an operator overload for std::string operator+(const char*, std::string).
because system() takes a char*.
Yes system() needs a char* parameter (const char* respectively). You can do it the following way, by constructing the complete command line to pass first
string cmd = "ps -ef|grep ";
cmd += parameters;
system(cmd.c_str());
Well, as it's proven from @NPE's answer there's a overloaded + operator for std::string, that supports the following signature
std::string operator+(const char*, const std::string&);
Thus
system(("ps -ef|grep " + parameters).c_str());
can be resolved by the compiler for having a temporary std::string instance as result of the + operation, and pass that temporary result instance's c_str() value as the const char* parameter required by the system() function.
If you're going to do this very much (at all), I'd consider writing an overload of system that accepts a std::string as its parameter:
void system(std::string const &s) {
std::system(s.c_str());
}
Then the rest of the code can create std::strings and pass them to system without any problems, so your original code:
string parameters = "Doug";
system("ps -ef|grep " + parameters);
...compiles and runs just fine.
string parameters;
parameters += "ps -ef|grep ";
parameters += "Doug";
const char * command = parameters.c_str();
system(command);
Must be using namespace std; be used outside the main function
Please add context and supporting information to your answer.
int system (const char* command);
https://cplusplus.com/reference/cstdlib/system/
const char* c_str() const;
https://cplusplus.com/reference/string/string/c_str/
| 1,958 |
https://war.wikipedia.org/wiki/Camponotus%20thysanopus | Wikipedia | Open Web | CC-By-SA | 2,023 | Camponotus thysanopus | https://war.wikipedia.org/w/index.php?title=Camponotus thysanopus&action=history | Waray | Spoken | 35 | 63 | An Camponotus thysanopus in uska species han Formicidae nga ginhulagway ni Wheeler hadton 1937. An Camponotus thysanopus in nahilalakip ha genus nga Camponotus, ngan familia nga formicidae. Waray hini subspecies nga nakalista.
Mga kasarigan
Camponotus | 6,647 |
https://it.wikipedia.org/wiki/Ecv | Wikipedia | Open Web | CC-By-SA | 2,023 | Ecv | https://it.wikipedia.org/w/index.php?title=Ecv&action=history | Italian | Spoken | 29 | 64 |
Codici
ECV – vecchio codice valutario ISO 4217 dellUnidad de Valor Constante'' (codice per i fondi) (ora abbandonato), ex valuta dell'Ecuador
Auto
Lancia ECV''' prototipo di vettura da rally. | 38,741 |
https://pl.wikipedia.org/wiki/Zyzdrojowa%20Wola | Wikipedia | Open Web | CC-By-SA | 2,023 | Zyzdrojowa Wola | https://pl.wikipedia.org/w/index.php?title=Zyzdrojowa Wola&action=history | Polish | Spoken | 38 | 108 | Zyzdrojowa Wola – część wsi Zyzdrojowy Piecek w Polsce położona w województwie warmińsko-mazurskim, w powiecie mrągowskim, w gminie Piecki. Wchodzi w skład sołectwa Zyzdrojowy Piecek.
W latach 1975–1998 Zyzdrojowa Wola administracyjnie należała do województwa olsztyńskiego.
Przypisy
Zyzdrojowy Piecek | 11,369 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.