identifier stringlengths 7 768 | collection stringclasses 3 values | open_type stringclasses 1 value | license stringclasses 2 values | date float64 2.01k 2.02k ⌀ | title stringlengths 1 250 ⌀ | creator stringlengths 0 19.5k ⌀ | language stringclasses 357 values | language_type stringclasses 3 values | word_count int64 0 69k | token_count int64 2 438k | text stringlengths 1 388k | __index_level_0__ int64 0 57.4k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://stackoverflow.com/questions/11083215 | StackExchange | Open Web | CC-By-SA | 2,012 | Stack Exchange | English | Spoken | 127 | 251 | how to find out the FileType of an audio-file?
i'm using Core-Audio/AudioToolbox (Extended Audio File services) to read audio files on OSX.
for my specific application, i need to find out, whether the file i opened successfully using ExtAudioFileOpenURL() is a CAF-file.
unfortunately i seem to miss how to do this properly, as i cannot retrieve the AudioFileTypeID from an ExtAudioFileRef.
(when writing such a file, i can define the type by passing the AudioFileTypeID to ExtAudioFileCreateWithURL; what about the reverse?
like with my other question, it turned out that i have to use the normal AudioAPI (rather than ExtAudio API)
static bool isCAF(const AudioFileID*file) {
/* trying to read format (is it caf?) */
UInt32 format=0;
UInt32 formatSize=sizeof(format);
AudioFileGetProperty (*file, kAudioFilePropertyFileFormat, &formatSize, &format);
return (kAudioFileCAFType==format);
}
| 45,455 | |
https://cs.wikipedia.org/wiki/Bohov%C3%A9%20Zem%C4%9Bplochy | Wikipedia | Open Web | CC-By-SA | 2,023 | Bohové Zeměplochy | https://cs.wikipedia.org/w/index.php?title=Bohové Zeměplochy&action=history | Czech | Spoken | 288 | 746 | Bohové Zeměplochy uvádí seznam bohů, vyskytujících se v zeměplošské sérii knih britského spisovatele Terryho Pratchetta.
Bohové na ploché Zeměploše sídlí v jejím středu na vrcholu Cori Celesti, nejvyšší hory Plochy. Neustále válčí s obry kvůli půjčenému vysavači a sekačce na trávu, i když už není jasné, kdo od koho si co půjčil. Kromě bohů existují ještě tzv. Oh Bohové.
Seznam
Bast – bůh věcí zanechaných na zápraží nebo napůl ohlodaných postelí
Bibulous – bůh vína a věcí napíchnutých na klacík
Blionýza – bohyně těch, kterým je špatně
Dáma – bohyně, jejíž jméno nesmí být vysloveno. Vystupuje v knihách Barva kouzel, Zajímavé časy a Poslední hrdina
Dotčena – bohyně věcí, které se vzpříčí v zásuvkách.
Glotkin – lokální bůh, patron sponek na papír, správného umístění věcí v kancelářských sadách na psacích stolech a zbytečné kancelářské práce
Libercia – bohyně moře, jablečného koláče, jistých druhů zmrzliny a krátkých provázků
Nachmitakia – bohyně odpoledne
Offler – bůh s krokodýlí hlavou, krokodýlí bůh
Om – Velký bůh Om, omnipotentní, omniprezentní a omni, omni, omni... Bůh Omniánské říše, klidný bůh, tedy velice populární, protože nic nedělá, i kdyby mohl!
Patina – bohyně moudrosti
Slepý Io – hlavní bůh, pán hromů a blesků
Topaxi – bůh jistých druhů hub, velkých nápadů, které si zapomenete napsat a nikdy už si na ně nevzpomenete, a navíc lidí, kteří tvrdí, že slovo hub a bůh je vlastně totéž čteno pozpátku a že to má velké pozadí
Urika – bohyně sauny, sněhu a divadelních představení určených méně než 200 návštěvníkům
Vínopij – bůh vína a hýření (ale nikdy nemá kocovinu , kterou za něj odnáší jeho opak – Žlučoblij)
Vypuďvan – bůh větrů
Žlučoblij – Oh Bůh Kocoviny, vznikl a vystupuje v díle Otec prasátek
Zeměplocha
Fiktivní božstva | 41,066 |
https://en.wikipedia.org/wiki/John%20Killick | Wikipedia | Open Web | CC-By-SA | 2,023 | John Killick | https://en.wikipedia.org/w/index.php?title=John Killick&action=history | English | Spoken | 558 | 828 | Sir John Killick GCMG (18 November 1919 – 12 February 2004) was a British diplomat who was ambassador to the Soviet Union, and later ambassador to NATO.
Career
John Edward Killick was educated at Latymer Upper School, University College, London, and Bonn University. He served in the British Army during World War II, first in the Suffolk Regiment, and later in the 1st Airborne Division in which he commanded the 89th Field Security Section (Intelligence Corps) at Arnhem. He was captured by the Germans, and after release in 1945 he commanded the intelligence corps unit at Siegen.
Kilick joined the Foreign Office in 1946 and served with the Allied High Commission in Germany 1948–51, at Berlin, Frankfurt and Bonn. He was private secretary to the Parliamentary Under-Secretary at the Foreign Office 1951–54, served at the embassy in Addis Ababa 1954–57, then attended the Canadian National Defence College (then located with the Canadian Land Forces Command and Staff College) 1957–58. He served in the Western European department at the Foreign Office 1958–62, attended the Imperial Defence College 1962–63, then was Head of Chancery at the embassy in Washington, D.C., 1963–68, and Assistant Under-Secretary at the Foreign and Commonwealth Office (FCO) 1968–71.
Killick was appointed Ambassador at Moscow in September 1971. Shortly after he arrived, the British government expelled 90 Russian intelligence officers, and Killick had to deal with the difficult Anglo-Soviet relations that followed. He returned to London 1973–75 as deputy to the Permanent Under-Secretary at the FCO, Sir Thomas Brimelow, and also Britain's Permanent Representative on the Council of the Western European Union. He was Permanent Representative to the North Atlantic Council (the governing body of NATO) 1975–79. In March 1979, after the murder of a bank employee near Killick's home in a Brussels suburb, it was reported that Killick had been the intended target of the Irish Republican Army.
Killick was appointed CMG in the New Year Honours of 1966, knighted KCMG in the Queen's Birthday Honours of 1971 and raised to GCMG in the Birthday Honours of 1979.
Sir John Killick Road, built on the former Joint Services School of Intelligence site in Ashford, Kent, is named after him.
References
KILLICK, Sir John (Edward), Who Was Who, A & C Black, 1920–2007; online edn, Oxford University Press, Dec 2012
Obituary: Sir John Killick: High-flying envoy at the heart of Britain's cold-war diplomacy, The Guardian, 16 February 2004
Sir John Killick (obituary), The Telegraph, London, 14 February 2004
Sir John Killick: Ambassador to the Soviet Union whose cool nerves were tested in Cold War diplomatic tit-for-tat, The Times, London, 19 February 2004
Obituary: Sir John Killick, 1919 - 2004, Field Security Officer, 89 (Parachute) Field Security Section
Interview with Sir John Killick, British Diplomatic Oral History Programme, Churchill College, Cambridge, 2002
1st British Airborne Division officers
1919 births
2004 deaths
Graduates of the Royal College of Defence Studies
People educated at Latymer Upper School
Alumni of University College London
University of Bonn alumni
British Army personnel of World War II
Ambassadors of the United Kingdom to the Soviet Union
Permanent Representatives of the United Kingdom to NATO
Knights Grand Cross of the Order of St Michael and St George
Suffolk Regiment soldiers
Intelligence Corps officers
British Army officers
People from Isleworth
British World War II prisoners of war
World War II prisoners of war held by Germany | 20,807 |
https://stackoverflow.com/questions/69997384 | StackExchange | Open Web | CC-By-SA | 2,021 | Stack Exchange | Ken White, Leandro Bardelli, https://stackoverflow.com/users/17389, https://stackoverflow.com/users/62576, https://stackoverflow.com/users/888472, ysth | English | Spoken | 195 | 335 | Having trouble figuring out how to write a straightforward SQL statement
I'm having trouble figuring out how to write an SQL statement...
Let's say I have two tables:
Projects
and Tasks
I'm trying to come up with an SQL statement that returns a unique list of projects and their associated tasks grouped together by commas like this...
If I need to create a separate table (e.g. Projects_Tasks) for a many-to-many relationship, I'm fine with that, but I'm still not sure what SQL statements would generate that final table.
Search this site for [mysql] group_concat.
what determines the order of tasks in "Task 1, Task 4, Task 5"
SELECT t.ProjectId, p.Name, t.Tasks
FROM Projects p
JOIN (
SELECT ProjectId,GROUP_CONCAT(Name) as Tasks
FROM Tasks
GROUP BY ProjectId) as t
ON t.ProjectId = p.ProjectId;
You are welcome. if you need more help please tell me and Ill glad to update the question.
You need to JOIN the Tasks table to the Projects table, then group the results by Project ID. This allows you to use GROUP_CONCAT() to concatenate the task names
SELECT Projects.Name, group_concat(Tasks.Name separator ', ')
FROM Projects
join Tasks
on Projects.id = Tasks.projectId
group by Tasks.projectId
| 35,998 |
https://hu.wikipedia.org/wiki/Kos%C3%A1rlabda%20a%202007.%20%C3%A9vi%20ny%C3%A1ri%20eur%C3%B3pai%20ifj%C3%BAs%C3%A1gi%20olimpiai%20fesztiv%C3%A1lon | Wikipedia | Open Web | CC-By-SA | 2,023 | Kosárlabda a 2007. évi nyári európai ifjúsági olimpiai fesztiválon | https://hu.wikipedia.org/w/index.php?title=Kosárlabda a 2007. évi nyári európai ifjúsági olimpiai fesztiválon&action=history | Hungarian | Spoken | 52 | 169 | A 2007. évi nyári európai ifjúsági olimpiai fesztiválon a kosárlabda mérkőzéseket július 23. és 27. között rendezték Belgrádban. A fesztiválon csak férfi válogatottaknak rendeztek versenyt.
Érmesek
Részt vevő nemzetek
Részt vevő csapatok
Csoportkör
A csoport
B csoport
Elődöntők
Bronzmérkőzés
Döntő
Források
2007. évi nyári európai ifjúsági olimpiai fesztivál
Kosárlabda
2007 a kosárlabdában | 11,691 |
https://en.wikipedia.org/wiki/Zumba%20Fitness%20%28video%20game%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Zumba Fitness (video game) | https://en.wikipedia.org/w/index.php?title=Zumba Fitness (video game)&action=history | English | Spoken | 231 | 364 | Zumba Fitness is a video game developed by Pipeworks Software and published by Majesco Entertainment based on the Zumba program. It is available for Wii, PlayStation 3 with PlayStation Move, and Xbox 360 with Kinect. The Wii and PS3 versions come with a Zumba Belt where the Wii Remote or Move controller is inserted into on the right hip. The game was released in November 2010.
Gameplay
The game supports up to four players on Wii and PlayStation Move, up to two players on Kinect, locally, and up to eight players online on PlayStation Move and Kinect.
Sequel
Due to successful sales of the game, Majesco has scheduled a second game for the Wii which was released on November 15, 2011. The second game adds music tracks by popular artists such as Pitbull and Nicole Scherzinger.
Instructors
Gina, Tanya and Beto are the Zumba Fitness Instructors. Gina for the Beginner Level, Tanya for the Intermediate Levels, and Beto for the Expert Levels and the Zumbathon.
References
External links
Press release
2010 video games
Dance video games
Fitness games
Kinect games
Majesco Entertainment games
Multiplayer online games
Music video games
PlayStation 3 games
PlayStation Move-compatible games
Unreal Engine games
Video games developed in the United States
Wii Balance Board games
Wii MotionPlus games
Wii Speak games
Wii games
Xbox 360 games
Multiplayer and single-player video games
505 Games games
Pipeworks Studios games | 41,885 |
https://ms.wikipedia.org/wiki/Kirari%20Suleman%20Nagar | Wikipedia | Open Web | CC-By-SA | 2,023 | Kirari Suleman Nagar | https://ms.wikipedia.org/w/index.php?title=Kirari Suleman Nagar&action=history | Malay | Spoken | 98 | 225 | Kirari Suleman Nagar ialah sebuah bandar banci ("census town") dalam daerah North West di negeri Delhi, India.
Demografik 2001
Menurut bancian India pada tahun 2001, Kirari Suleman Nagar memiliki bilangan penduduk seramai 153,874. Dari jumlah tersebut, kaum lelaki membentuk 55% dari jumlah keseluruhan populasi dan wanita seramai 45%.
Pendidikan 2001
Menurut bancian India pada tahun 2001 Kirari Suleman Nagar memiliki kadar pendidikan (kebolehan membaca) 59%, di bawah kadar purata kebangsaan 59.5%; dengan 64% lelaki dan 36% wanita mampu membaca. 20% dari populasi berusia di bawah 6 tahun. (2001)
Rujukan
Pautan luar
National Portal of India
Kirari Suleman Nagar | 8,761 |
https://stackoverflow.com/questions/28664250 | StackExchange | Open Web | CC-By-SA | 2,015 | Stack Exchange | Rowan Freeman, https://stackoverflow.com/users/1944400 | English | Spoken | 182 | 292 | Default/Index route clashing with an existing folder causing 403
I have a legacy page that I've just converted to MVC - from "/content/Default.aspx" to "/content/Index". The content folder also contains css files etc.
IIS is attempting to list the folder contents when the default route is requested and returns a 403 response code.
Is there a non-hacky way to get around this. Right now, I'm rewriting the URL in the .htaccess file to use the 'Index' view but would prefer not to do this.
Here's the route:
routes.MapRoute(
"Content",
"content/{action}",
new { controller = "Content", action = "Index" }
);
Here's the hack that I'm currently using:
RewriteRule ^/content/(\?.*)?$ /content/Index$1 [NC,L]
This is a good question, but I don't think the solution exists. The reason being that you probably shouldn't be doing it this way. The whole MVC framework assumes that when a request is made, either a directory, a file or a controller is expected. In this case, /content/ is both a real directory and a controller. For this reason, any "solution" is going to be a bit of a hack.
| 32,361 |
https://ceb.wikipedia.org/wiki/Quebrada%20Molarre%C3%B1a | Wikipedia | Open Web | CC-By-SA | 2,023 | Quebrada Molarreña | https://ceb.wikipedia.org/w/index.php?title=Quebrada Molarreña&action=history | Cebuano | Spoken | 61 | 118 | Suba ang Quebrada Molarreña sa Kolombiya. Nahimutang ni sa departamento sa Departamento de Boyacá, sa sentro nga bahin sa nasod, km sa amihanan sa Bogotá ang ulohan sa nasod. Ang Quebrada Molarreña mao ang bahin sa tubig-saluran sa Río Magdalena.
Ang mga gi basihan niini
Río Magdalena (suba sa Kolombiya, lat 11,10, long -74,85) tubig-saluran
Mga suba sa Departamento de Boyacá | 28,229 |
https://stackoverflow.com/questions/40918557 | StackExchange | Open Web | CC-By-SA | 2,016 | Stack Exchange | Joseph Young, https://stackoverflow.com/users/5699206 | English | Spoken | 243 | 325 | OS-independent parallel for loop in C++
Goal
I am trying to make a multithreaded for loop in C++, something like
std::vector<int> X;
for_parallel ( int& i : X )
{
// The code in here will be run in parallel for each 'i'
}
My confusion
I am getting lost as there seems to have a whole bunch of possible ways of doing such thing and some seem to be system specific. Parallel Patterns Library for example is build by Microsoft so I would expect it to eventually work only on Windows. I still tried to install it via homebrew on my Mac OS but I failed so I suppose it indeed it only work on Windows. I am asking for some help to figure out what method I should be using.
Question
I am planning to run my code on both MAC OS X and Linux, so I would need a solution that would work on both OS (or that is very easy to modify and recompile). Can you please suggest a package that would help me out (and eventually provide a simplistic example of such "for_parallel" loop)?
Have you looked at OpenMP?
OpenMP or Intel TBB. They can work cross-platform and have parallel-for functionality.
I would seriously consider c++11, it is very portable, look at the std::thread reference.
I have used this library on win32 / win64, linux and macOS -- You probably can not get much more portable than that.
| 36,665 |
https://fr.wikipedia.org/wiki/Gaomi | Wikipedia | Open Web | CC-By-SA | 2,023 | Gaomi | https://fr.wikipedia.org/w/index.php?title=Gaomi&action=history | French | Spoken | 73 | 129 | Gaomi () est une ville-district de la province du Shandong en Chine. Elle est placée sous la juridiction administrative de la ville-préfecture de Weifang.
Démographie
La population du district était de en 1999.
Culture
C'est la ville natale de l'écrivain Mo Yan, dont certaines de ses histoires se situent dans la région.
Annexes
Notes et références
Lien externe
Site gouvernemental
Ville dans la province du Shandong
Subdivision administrative dans la province du Shandong | 5,643 |
https://stackoverflow.com/questions/16500818 | StackExchange | Open Web | CC-By-SA | 2,013 | Stack Exchange | Elavarasan Muthuvalavan - Lee, Filippo oretti, SachinGutte, Sudz, The Alpha, https://stackoverflow.com/users/1211980, https://stackoverflow.com/users/1621781, https://stackoverflow.com/users/1850710, https://stackoverflow.com/users/2348670, https://stackoverflow.com/users/741747, https://stackoverflow.com/users/895174, mihajlo | English | Spoken | 518 | 1,076 | Codeigniter : save data to session and display it with Ajax
I ran into issue with sessions and ajax. I have this peace of code:
for ($i=0; $i < count($result); $i++) {
if(in_array($result[$i], $m_lines_arr)) {
echo "<p class='br' style='color: #ffffff'>Match on comb. $i</p>";
$win = 10;
$this->session->set_userdata( array('win' => $win));
}
else {
echo "<p class='br'>No match on comb. $i</p>";
}
}
So, if something is in array, give $win value 10 and save it do session, otherwise just do simple echo.
In my function win I try to echo this session. Here is the sample of function win:
function win() {
$win = $this->input->post('win');
echo $this->session->userdata('win');
}
Function win comes after the for loop, just for you to know.
And here is the Ajax request:
var win = $('#win span').html();
$.ajax({
type: 'POST',
url: 'http://localhost/slots/index.php/game/win',
data: { win: win },
success:function(response) {
$('#win span').html(response);
}
});
The problem is, I can't display data stored in session in real time, I must refresh page to get the result. Any clue?
when does for loop gets executed? Is it script that ajax calls?
every time I press one button, but that loop doesn't matter. I have data stored in session, but ajax retrieve it after refresh. Ajax is in document.ready function
2D array..don't btoher yourself with those data, I'm just trying to get data from session with ajax and present them in real time.
http://stackoverflow.com/questions/3381786/problem-with-session-in-codeigniter
@SheikhHeera Didn't understand his issue well..
var win = $('#win span').html();: is this piece of code fetching value inside span tag correctly???
win must me quoted like this :- data: { 'win' : win }
@elavarasanlee yes, why? It is just taking the number inside span.
@ Sudz can you explain to me why please?
function win() {
echo $win = $this->input->post('win');
// $this->session->userdata('win'); i don't think you need this if it's real time
}
but i prefer usually:
function win() {
$win = $this->input->post('win');
echo json_encode( array('win'=>$win));
}
then in ajax:
$.ajax({
//...
dataType:'json',
success:function(json){
alert(json.win);
}
});
NB, VERY VERY IMPORTANT, the session must be setted BEFORE any output, so here you are setting session after the output:
echo "<p class='br' style='color: #ffffff'>Match on comb. $i</p>";
$win = 10;
$this->session->set_userdata( array('win' => $win));
do this:
$win = 10;
$this->session->set_userdata( array('win' => $win)); //for better performance you must call this out from the loop
echo ."<p class='br' style='color: #ffffff'>Match on comb. $i</p>";
then in ajax:
$.ajax({
//
success:function(response){
alert(response);
}
});
@mihajloWR sure , let me now ;)
ok, so I need to make it in reverse order? And I forgot to mention, in my if(in_array...) I must make output in real time to my html code
Win : 0
I removed that 'for' loop, to make it more simple. I know how it will work, but I don't know how to array form one function to another one, do you know maybe?
Let's say we have an array() with some data in it in function 'one', I dont't know how to pass that array to, let's say, function 'two'?
@mihajloWR well, function a(){ b($array); } function b($array){ //do somenthing with $array }
| 13,264 |
https://uk.wikipedia.org/wiki/%D0%A1%D1%96%D0%BD%D0%B3%D0%B5%D1%80 | Wikipedia | Open Web | CC-By-SA | 2,023 | Сінгер | https://uk.wikipedia.org/w/index.php?title=Сінгер&action=history | Ukrainian | Spoken | 69 | 220 | Ерік Сінгер (при народженні Ерік Дойл Менсінгер, нар. 12 травня 1958, Клівленд, Огайо, США) — хард-рок і хеві-метал барабанщик в гурті Kiss.
Браян Сінгер (англ. Bryan Singer, *17 вересня 1965, Нью-Йорк) — американський кінорежисер.
Джош Сінгер (англ. Josh Singer; нар. 1972) — американський сценарист і продюсер кіно і телебачення.
Джон Сінгер Сарджент (англ. John Singer Sargent; *12 січня, 1856 — †14 квітня, 1925) — американо-європейський художник зламу 19-20 століть. | 16,019 |
https://stackoverflow.com/questions/13797735 | StackExchange | Open Web | CC-By-SA | 2,012 | Stack Exchange | Hephaestus, https://stackoverflow.com/users/1337498 | English | Spoken | 446 | 677 | Order of divs, vs css float left & right
I'm trying to style some HTML (which has been generated by a horrendous PHP script that I don't want to futz with if I can avoid it) that has essentially the following structure.
<div class="outer">
<div class="imageContainer"><img src="image42.png" /></div>
<h1>The Title String</h1>
<div class="description">Lorem ipsum dolor sit amet, ... </div>
<div class="details">These are the details...</div>
</div>
I want the div.imageContainer to float left, and the div.details to float right, with the description text flowing down between them (and then under the image to the left if there's a lot of description text).
The following CSS gets the div.imageContainer and the div.description right, but puts the div.details below and to the right of the description, looking as though it had been given a "clear:left" (in actuality, it falls completely outside the div.outer):
.imageContainer { float: left; }
.description { width: 50%; }
.details { width: 50%;
float: right; }
Following the advice of several other posts I've found here on SO, I tried adding:
.outer { overflow: hidden; }
which lengthens the div.outer so that it encompasses the div.details -- but leaves the div.details in the same position relative to the div.description.
In my example HTML, I find that if I exchange the order of the div.description and div.details tags, I get it looking exactly like I want. Which is great as far as the example goes, but doesn't help me avoid delving into the guts of that egregiously horrible PHP code that's generating the HTML that I really want to style. :-/
Is there any way for me to accomplish this with just CSS?
(I realize I can fiddle the DOM with Javascript/jQuery, but that seems kludgy to me.)
Okay, so, as horrifying as the PHP code is, it wasn't as hard to move the div.description as I initially thought. But as someone whose CSS skills and sensibilities need a lot of development, I'd still like to know if there's a pure CSS solution to this...
I have created a sample in JSBin.com for your request.
In the sample I have applied float:left; style to the div.description element and cleared float for the element div.outer.
Check the updated source here
Sadly, this doesn't do what I want, and in fact prevents the description text from flowing around the image. I've fleshed out the JSBin example a bit to show how it looks when the description text is of realistic length, and also to show how I really want it to look -- although I had to swap the order of the divs, as noted in my OP, to achieve it. (Thanks for creating the example, though! :-)
| 14,171 |
https://stackoverflow.com/questions/7701671 | StackExchange | Open Web | CC-By-SA | 2,011 | Stack Exchange | Edgar Manuel Pérez Cob, Krutal Modi, Lindsey Egelund, Risadinha, TJMcGill47, TOG, https://stackoverflow.com/users/1562811, https://stackoverflow.com/users/17074186, https://stackoverflow.com/users/17074187, https://stackoverflow.com/users/17074188, https://stackoverflow.com/users/17074416, https://stackoverflow.com/users/17082862, https://stackoverflow.com/users/20610535, https://stackoverflow.com/users/621690, https://stackoverflow.com/users/7523752, mz shari, neo master, student1847 | English | Spoken | 300 | 541 | How to boost fields in solr
I already have the boost determined before hand. I have a field in the solr index called boost1 . This boost field will have a value from 1 to 10 similar to google PR rank. This is the boost that should be applied to every query ran in solr. here are the fields in my index
Id
Title
Text
Boost1
The boost field should be apply to every query. I am trying to implement functionality similar to Google PR rank. Is there a way to do this using solr?
This is still (from 2012) informative and helpful: https://nolanlawson.com/2012/06/02/comparing-boost-methods-in-solr/
you can add the boost during query e.g.
q={!boost b=boost1}
How_can_I_boost_the_score_of_newer_documents
However, this may need to be added explicitly by you.
If you are using dismax or edismax with the request handler, The bf (Boost Functions) parameter could be used to boost the documents.
http://wiki.apache.org/solr/DisMaxQParserPlugin#bf_.28Boost_Functions.29
bf=boost1^0.5
This can be added to defaults with the request handler definition, so that they are applied to all the search queries.
you can use function queries to vary the amount of boost FunctionQuery
Hi, How to do a more complex function query to achieve a boost using multiplication.. pls check at http://stackoverflow.com/questions/19874983/use-function-query-for-boosting-score-in-solr
You might want to prefer the boost (multiplicative boost) to the bf (additive boost) parameter in edismax queries. An article that sheds some light on the all the different parameters: https://nolanlawson.com/2012/06/02/comparing-boost-methods-in-solr/
Works for me, great! But I don't understand why. I don't find anything about !boost b=... in the Reference Guide of Solr 8.x or 9.x. Could you give some more explanation about what is going on exactly? The links you provided are not valid anymore.
I think you need to use index time document boosts. See this if you are indexing XML or this if using DataImportHandler.
| 22,605 |
https://zh.wikipedia.org/wiki/%E9%95%B7%E7%B5%B2%E9%BB%91%E9%AE%A1 | Wikipedia | Open Web | CC-By-SA | 2,023 | 長絲黑鮡 | https://zh.wikipedia.org/w/index.php?title=長絲黑鮡&action=history | Chinese | Spoken | 5 | 131 | 長絲黑鮡,為輻鰭魚綱鯰形目鮡科的其中一種,為熱帶淡水魚,分布於亞洲伊洛瓦底江、薩爾溫江及怒江流域,體長可達13公分,棲息在大河底中層水域,生活習性不明。
参考文献
扩展阅读
dolichonema
G | 32,677 |
https://kn.wikipedia.org/wiki/%E0%B2%90%E0%B2%B0%E0%B2%A8%E0%B3%8D%20%E0%B2%AE%E0%B3%8D%E0%B2%AF%E0%B2%BE%E0%B2%A8%E0%B3%8D%20%E0%B3%A8 | Wikipedia | Open Web | CC-By-SA | 2,023 | ಐರನ್ ಮ್ಯಾನ್ ೨ | https://kn.wikipedia.org/w/index.php?title=ಐರನ್ ಮ್ಯಾನ್ ೨&action=history | Kannada | Spoken | 59 | 429 | ಐರನ್ ಮ್ಯಾನ್ ೨ ಅದೇ ಹೆಸರಿನ ಮಾರ್ವಲ್ ಕಾಮಿಕ್ಸ್ ಪಾತ್ರದ ಮೇಲೆ ಆಧಾರಿತವಾದ ೨೦೧೦ರ ಒಂದು ಅಮೇರಿಕಾದ ಸೂಪರ್ಹೀರೊ ಚಿತ್ರ. ಅದು ೨೦೦೮ರ ಐರನ್ ಮ್ಯಾನ್ ಚಿತ್ರದ ಮುಂದಿನ ಪ್ರಕರಣ ಮತ್ತು ಮಾರ್ವಲ್ ಸಿನಮಾ ಪ್ರಪಂಚದ ಭಾಗವಾಗಿ ಬಿಡುಗಡೆಮಾಡಲಾದ ಮೂರನೇ ಚಲನಚಿತ್ರ. ಜಾನ್ ಫ಼ಾವ್ರೊ ನಿರ್ದೇಶಿಸಿದ ಮತ್ತು ಜಸ್ಟಿನ್ ಥರೂ ಬರೆದ ಈ ಚಿತ್ರದ ತಾರಾಗಣದಲ್ಲಿ ರಾಬರ್ಟ್ ಡೌನಿ ಜೂನಿಯರ್, ಗ್ವಿನೆತ್ ಪ್ಯಾಲ್ಟ್ರೌ, ಡಾನ್ ಚೀಡಲ್, ಸ್ಕಾರ್ಲಿಟ್ ಜೋಹ್ಯಾನ್ಸನ್, ಸ್ಯಾಮ್ ರಾಕ್ವೆಲ್, ಮಿಕಿ ರೋರ್ಕ್, ಮತ್ತು ಸ್ಯಾಮುವಲ್ ಎಲ್. ಜ್ಯಾಕ್ಸನ್ ಇದ್ದಾರೆ.
ಚಲನಚಿತ್ರಗಳು | 3,501 |
https://mathoverflow.net/questions/222825 | StackExchange | Open Web | CC-By-SA | 2,015 | Stack Exchange | David E Speyer, Giovanni Moreno, https://mathoverflow.net/users/22606, https://mathoverflow.net/users/297 | English | Spoken | 678 | 1,445 | Is the Veronese variety "enough" to describe all the $SL(V)$-orbits in $\mathbb{P}(\textrm{Sym}^dV)$?
I apologise in advance if the question will look ridicolous to experienced eyes: in this case a good reference will be enough to clarify my doubts.
Let $V$ be a complex vector space of dimension $n$, and $\textrm{Sym}^dV$ the space of homogeneous polynomial of degree $d$ (on $V^*$). Assume also that $SL_n$ acts naturally on $$\mathbb{P}^{M(n,d)}:=\mathbb{P}(\textrm{Sym}^dV)\, .$$
Motivating the prelim. question. If $n=2$ and $d=3$, then $M(n,d)=3$. In this case, there are two special orbits in $\mathbb{P}^{M(n,d)}=\mathbb{P}^3$: a one-dimensional one, given by the twisted cubic $\gamma$, and a two-dimensional one, given by $T\gamma\smallsetminus\gamma$, which is the set of the smooth points of the tangent variety to $\gamma$. I don't know if $\mathbb{P}^3\smallsetminus T\gamma$ is an orbit as well, but surely it is an invariant subset: let me call it the "open cell".
This example can be easily generalised, by replacing the twisted cubic $\gamma$ with the Veronese variety $v_d(\mathbb{P}(V))$ in $\mathbb{P}^{M(n,d)}$, and by noticing that the subsets
$$
X_{i,n,d}:=\textrm{Osc}_i(v_d(\mathbb{P}(V)))\smallsetminus \textrm{Osc}_{i-1}(v_d(\mathbb{P}(V)))\subset \mathbb{P}^{M(n,d)}\quad \quad (^*)
$$
are $SL_n$-invariant (by "$\textrm{Osc}_i$" I mean the $i^\textrm{th}$ osculating variety, i.e., the union of the $i^\textrm{th}$ order osculating spaces).
PRELIM. QUESTION: for which values of $n$ and $d$ all the subsets $X_{i,n,d}$ (possibly discarding the "open cell") are orbits?
The example above (if I did it correctly) shows that $n=2$ and $d=3$ are ok, but what next?
Motivating the main question. Observe that $X_{0,n,d}$ is the Veronese itself, which is always an orbit (as long as $SL_n$ acts transitively on $\mathbb{P}V$). Observe also that the next $X_{i,n,d}$'s are constructed from $X_{0,n,d}$ in a "natural way" (e.g., by taking tangent lines).
Idea. Maybe there are more sophisticated "natural operations" allowing to "enlarge" the Veronese variety $X_{0,n,d}$ in such a way that the difference between subsequent "enlargements" is an orbit.
I call "natural enlargement" the construction of a larger invariant subset out of a smaller one, by means of natural objects associated to the latter (lines/subspaces with a certain tangency, (multi)secant subspaces, sections of natural bundles, etc.).
MAIN QUESTION: Is there any other example of a decomposition of $\mathbb{P}^{M(n,d)}$ into invariant subsets, simliar to $(^*)$, but finer?
By "similar" I mean a formula like $(^*)$ where the osculating varieties are replaced by something else, and by "finer" I mean that the so-obtained invariant subsets are smaller than the $X_{i,n,d}$'s.
If $\dim V = 2$ and $d=4$, then $\mathrm{Sym}^d(V)$ is degree $4$ homegenous polynomials in two variables. Such a polynomial has $4$ roots in $\mathbb{P}^1$. Let $\lambda$ be the cross ratio of these roots (this depends on choosing an order of the roots). Then the $j$-invariant, $\tfrac{256 (1-\lambda+\lambda^2)^3}{\lambda^2 (1-\lambda)^2}$ is independent of the order of the roots and is invariant for the $SL(V)$ action. This gives uncounteably many orbits, if your ground field is uncountable, so I am pessimistic about a simple description of the orbits in general.
@DavidSpeyer Nice remark! However, me neither ever believed in this 'simple description' of the orbits: it is just an idealistic goal I used to clarify what I had in mind. What I'm really interested about is to get to know methods for producing invariant subsets out of the Veronese variety, which 'contain as few orbits as possible'. For instance, these infinite orbits of yours, where do they sit? Certainly outside the Veronese $v_4(\mathbb{P}^1)$, which is made of polynomials with quadruple roots. But how they interact with the tangent/osculating variety? Are they inside/outside/between them??
one can take the secant varieties of the Veronse, where in general
$\sigma_r(X)=\overline{\langle x_1,...,x_r\rangle \mid x_j\in X}$, where
$\langle \rangle$ denotes linear span. These sets are $GL(V)$-invariant, as are the sets constructed by mixing your osculating construction and these (e.g. take $X$ the tangential variety of the Veronese instead of just the Veronese). The cases where they are all orbits are just $d=2$ any $n$ or
$d=3$ $n=2$. Another way to get invariant sets is to take the dual variety
of the Veronese, then its singular locus, then the singular locus of the singular locus etc.. and again one can mix and match constructions.
| 32,192 |
https://tr.wikipedia.org/wiki/Do%C4%9Frusal%20denklem%20dizgesi | Wikipedia | Open Web | CC-By-SA | 2,023 | Doğrusal denklem dizgesi | https://tr.wikipedia.org/w/index.php?title=Doğrusal denklem dizgesi&action=history | Turkish | Spoken | 2,535 | 7,777 | Doğrusal denklem dizgesi, birkaç tane aynı tip değişkenleri içeren birkaç tane doğrusal denklemlerin oluşturduğu topluluktur. Örneğin:
Burada üç çeşit değişken , ile bulunur ve bu üç değişken üç ayrı doğrusal denklem içindedir ve böylece doğrusal denklemler (sistemi) dizge elde edilir.
Bir doğrusal dizgenin çözümü bilinmeyen değişkenlere, tüm doğrusal denklemleri aynı zamanda tatmin eden, reel sayıların tahsis edilmesidir. Yukarıdaki denklemler dizgesi için çözüm kümesi bulunur ve bu
olur.
Doğrusal denklem dizgeleri mühendislik, fizik, kimya, bilgisayar bilimi ve ekonomide pek çok uygulama alanı bulur.
Genel şekil
n bilinmeyen değişkenli m sayıda doğrusal denklemden oluşan bir doğrusal denklen dizgesi genel olarak şöyle yazılabilir:
Burada n-tane bilinmeyen değişkendir. bu değişkenlerin katsayılarıdır. Her katsayının altında bulunan ilk sayı denklem sayısına ve ikincisi değişken tipinin sayısına tekabül eder; örneğin üçüncü denklemdeki birinci değişken 'in katsayısıdır. terimleri ise her denklem için sabit terimleri verir.
Çok kere katsayılar ve bilinmeyen değişkenler reel sayılardır. Fakat ileri matematikte bunlar karmaşık sayılar, tam sayılar, polinomlar ve hatta soyut cebirsel yapılar bile olabilirler.
Vektör denklemi
Bu genel doğrusal denklemler dizgesini uygun bir şekilde ifade edilmesi vektörler halinde olur: Bu ifade şeklinde her bir değişken bir doğrusal bileşimde bir ağırlık olarak bir sütun vektör ile ifade edilmektedir.
Matris denklemi
Vektör denklemine aynen tekabül eden ve matriks kullanılarak ifade edilen genel doğrusal denklemler dizgesi şu şekilde ifade edilir:
burada A m×n matrisi, x içinde n tane ifade bulunan bir sütun vektörü ve b içinde m tane sabit ifade olan bir sütun vektörü olur.
Çözüm kümesi
Bir doğrusal denklem dizgenin çözümü, bilinmeyen değişkenlere (yani değişkenlerine) tüm doğrusal denklemleri aynı zamanda tatmin eden reel sayısal değerler tahsis edilmesidir. Tüm mümkün çözümlerin bir matematiksel kümesine çözüm kümesi adı verilir.
Bir doğrusal denklem dizgesi için üç ve sadece alternatif mümkün sonuç ortaya çıkabilir:
Sistemin sonsuz sayıda çeşitli çözümü bulunur;
Sistemin tek bir çözümü bulunur;
Sistemin hiçbir çözümü bulunmaz.
Geometrik yorum
İki değişkenden ( ve ) oluşan bir dizge için her bir denklem ve eksenli dikdörtgen koordinat sıstemi grafiği içinde bir doğru ile gösterilir. Bir çözüm dizgedeki tüm denklemleri tatmin etmesi gerektiği için, çözüm kümesi bu doğruların kesişme noktasıdır veya tek bir doğru ya tek bir nokta
ya da boş küme olarak görülür.
Üç değişkenli bir dizge için her doğrusal denklem üç boyutlu bir uzayda bir düzlem olurlar ve çözüm kümesi bu düzlemlerin kesişmesidir. Böylece çözüm kümesi ya bir düzlem, ya tek bir doğru, ya tek bir nokta ya da boş küme olur.
n sayıda değişken halinde, her bir doğrusal denklem bir n-boyutlu uzayda bir hiperdüzlem olarak ortaya çıkar. Çözüm kümesi bu hiperdüzlemlerin kesişmeleridir ve n-ye kadar herhangi bir boyutta düzlük olabilir.
Genel sonuç hali
Genel olarak, bir doğrusal denklemler dizgesinin sonucunun ne olabileceği, denklemler sayısı ile bilinmeyen değişkenler sayısı arasındaki bağlantılar tarafından belirlenir:
Genellikle, eğer dizgede denklem sayısı bilinmeyen değişken sayısından daha küçükse ise, dizge için sonsuz sayıda çözüm bulunur. Fakat bazen tek bir "seyrek çözüm" bulma imkânı da vardır. Yani kullandığımız notasyona göre m < n ise, sonsuz çözüm vardır. Bu çeşit dizgelere kararsız dizge (underdetermined system) adı verilir.
Genellikle, eğer dizgede denklem sayısı değişken sayısı ile aynı ise, tek bir tane çözüm bulunur; yani m = n ise tek ve tek bir çözüm bulunur.
Genellikle, eğer dizgede denklem sayısı değişken sayısıdan daha büyük ise hiçbir sçözüm bulunmaz; yani m > n ise hiçbir çözüm bulunmaz.
Aşağıdaki gösterimler iki değişkenli halde ortaya çıkabilmesi mümkün üçlü sonucu göstermektedir:
{| border=0 cellpadding=5
|-
|width="150px" align="center"|
|width="150px" align="center"|
|width="150px" align="center"|
|-
|align="center"| Bir Denklem
|align="center"| İki Denklem
|align="center"| Üç Denklem
|}
Verilen gösterimede; birinci dizgenin sonsuz sayıda çözümü bulunur; yani bunun noktaları mavi renkli doğru üzerindedir. İkinci dizgede tek bir çözüm bulunur; yani iki doğrunun kesişme noktası çözümdür. Üçüncü sistemde bulunan üç doğrunun ortaklaşa hiçbir noktaları bulunmaz.
Fakat şunu unutmamak gerekir; bütün bu sonuçlar sadece genellikle doğrudur. İki denklemeli ve iki değişkenli bir dizgenin hiçbir çözümü olmaması mümkündür; bu hal her iki doğru birbirine paralel ise ortaya çıkar. Üç denklemle iki değişkenli bir dizgenin çözümü olması mümkündür; bu hal eğer üç doğru birbiriyle tek noktada kesişirlerse ortaya çıkar. Genel olarak; bir doğrusal denklemler dizgesi beklenenden değişik davranış göstermesi eğer denklemler "doğrusal olarak bağımlı" iseler veya iki veya daha çok sayıda denklemlerin "tutarsız" olmaları halinde ortaya çıkar.
Nitelikler
Bağımsızlık
Bir doğrusal denklem dizgesinin denklemleri bağımsızlık niteliği, dizgede bulunan denklem eşitliklerinin hiçbiri denklemden cebirsel olarak çıkartılaması halidir. Eğer denklemler bağımsızlarsa, her bir denklem değişkenler hakkında yeni bilgi kapsamaktadır ve bu denklemlerden herhangi birinin ortadan kaldırılması çözüm kümesinin boyutunu artır. Doğrusal denklemler için mantıksal bağımsızlık doğrusual bağımsızlık özelliğiyle ile aynıdır.
Örneğin, şu denklemler
bağımsız değildirler; çünkü ikinci denklem birinci denklemin 2 ile çarpımı ile elde edilmiştir ve eğer bu iki denklem için grafik çizilirse iki doğru üste çakışıp tek bir doğru görüntüsü verirler.
Daha karmsaik bir örneğin için verilen denklemler dizgesi şu olsun:
Bu üç denklem dizgesi bağımsız değildir, çünkü üçüncü denklem ilk iki denklemin birbirine toplkamından elde edilmiştir. Gerçekten bu üç denklemden herhangi ikisinden üçüncü denklem çıkartılabilir ve bu üç denklemden herhangi tek bir tanesi ortadan kaldırılırsa çözüm kümesi hiç değişmeden aynı kalır. Bu üç doğru için grafik üçü de tek bir noktada kesişen üç doğru şeklindedir.
Tutarlılık
Bir doğrusal denklemler dizgesi denklemleri, eğer bir ortak çözüm varsa, "tutarlı" olur; aksi halde "tutarsız" olur. Eğer denklemler tutarlı iseler; denklemlerden bir çelişkilik ortaya çıkartmak imkânı bulunur; örneğin ifadesi gibi.
Örneğin şu denklemler
tutarsızdır. Bir çözüm bulmaya çalışmak için, söylenmeden anlaşılan "bir çözüm vardır" varsayımını yapmaktayız. Diğer bir ifade ile, birinci denklemmde bulunan değerinin ikinci denklemde bulunan değeri ile aynı açıkça olduğunu açıkça söylemeden varsaymaktayız (ve aynı şekilde ve aynı zamanda her iki denklemde de aynı varsayımı yapıyoruz.) ( ıcın ikame ediliebilirlik özelliğini uyguluyarak olarak bir denklem buluruz ve bu da yanlış bir ifadededir. Bu hatalı ifade dizgenin bir çözümü olduğuna dair yaptımız varsayım ile çelişmektedir ve bundan dolayı varsayımımızın yanlış olduğu sonucu çıkmaktadır; yani doğrusal denklemler dizgesinin "hiçbir çözümü bulunmaz". Bu denklemlerin
düzeyindeki grafikleri birbirine parallel iki doğru halindedir.
Üç doğrusal denklemli dizgede, bu dizgedeki herhangi iki denklem birlirleriyle tutarlı olmalarıyla beraber, denklemlerin tutarsız olmaları mümkündür. Örneğin şu denklemler tutarsızdır:
Birinci ile ikinci denklemin birbiriyle toplamaları ile
elde edilir ve bu üçüncü denkelmeden çıkartılırsa sonuç
olur. Dikkat edilirse bu denklemlerden herhangi bir iki denklemli dizgenin bir ortak çözümü vardır. Aynı olgu her türlü sayıda denkelemler dizgesinde de oluşabilir.
Genel bir sonuç olarak, eğer bir doğrusal denklemler dizgesindeki denklemlerin sol tarafındaki ifadeler doğrusal olarak bağımlı olursa ve sabit terimler bağımlılık bağlantısını tatmin etmiyorlarsa, tutarsızlık ortaya çıkar. Eğer bir doğrusal denklemler dizgesinin sol tarafındaki ifadeler doğrusal olarak bağımsızlarsa, bu dizge her zaman tutarlı olur.
Denklik
Aynı değişkenleri kullanan iki değişik doğrusal denklemler dizgesinin birbirleriye denk olması için ikinci dizgede bulunan denklemlerin her birinin, birinci dizgede bulunan denklemlerden cebir kullanılarak hesaplanıp elde edilebilmesi gerekir ve bunun aksinin de doğru olması gereklidir. Birbirine denk dizgeler değişken değerleri hakkında birbirine tıpatıp aynı bilgileri vermektedirler. Özellikle, eğer iki dizgenin tıpatıp aynı çözüm kümesi bulunuyorsa iki doğrusal denklemler dizgesi birbirlerine denktirler.
Doğrusal denklemler dizgesinin çözümü
Bir doğrusal denklem dizgesini çözümlemek için birkaç değişik denklem çözümleme algoritması bulunur.
Çözümü tanımlama
Eğer çözüm kümesi sonsuz değilse, genellikle bu küme olarak ve küme notasyonu kullanarak ifade edilir. Örneğin 2, 3, 4 olan çözüm kümesi
olarak yazılır.
Eğer sonsuz sayıda çözüm bulunuyorsa bunu küme olarak ve küme notasyonu kullanarak ifade etmek çok güç olur. Tipik olarak değişkenlerden bazıları bağımsız (veya özgür veya parametre) olarak kabul edilirler ve herhangi bir değer alabilirler. Geride kalan değişkenler bağımsız değişkenlerin değerlerine bağlı olurlar.
Örneğin şu dizgeye ele alalım:
Bu dizge için çözüm kümesi şu denklemeler ile ifade edilebilir:
Burada bağımsız değişkendir; ve değişkenleri ye bağlıdırlar. Çözüm kümesinde bulunan herhangi nokta önce için herhangi bir değer seçmekle ve sonra da ve için bu seçilen değere tekabül eden değerleri hesaplama şeklinde ortaya çıkartılır.
Her bir bağımsız değişken çözüm kümesine bir serbestlik derecesi verir ve serbestlik derecesi sayısı çözüm kümesinin boyutuna eşittir. Örneğin, yukarıda verilen denklemin çözüm kümesi bir doğru olur; çünkü çözüm kümesi üzerinde bulunan tek bir nokta parametre değişkenin değerini şahsi seçime bağlı olarak belirlemek suretiyle ortaya çıkartılır. Daha yüksek
düzenli sonsuz sayıda çözüm bir düzlemi veya yüksek boyutlu hiperdüzlemi tanımlayabilir.
Bağımsız değişkenler için değişik seçim değerleri, aynı çözüm kümesinin değişik tanımlarını oratay çıkarabilir. Örneğin yukarıda verilen denklemlerin çözümü alternatif olarak şöyle değişik şekilde tanımlanabilir:
Burada bağımsız değişken ve ve bağlı değişkenlerdir.
Değişkenlerin arka arkaya eliminasyonu
Bir doğrusal denklemler dizgesine çözüm kümesi bulmak için en basit yöntem değişkenlerin tekere teker arkaarkaya elimine edilmesidir. Bu çözüm yöntemi şöyle tanımlanabilir:
Birinci denklemdeki tek bir değişkeni (eşit işaretinin solunda) diğer değişkenler ve sabitle (sağda) ifade edilmesini sağlayınız.
Bu değişken için birinci denkelmeden bulunan ifadeyi dizgenin diğer denklemelerinde bulunan ifadeleri içindeki o değişken yerine konulur ve böylece yeni bir denklemler dizgesi bulunur ve bu dizgede bir önce dizgeden bir değişken eksik olur.
Bu yeni dizgeye aynı yöntemi uygulayınız, Böylece tekrar bir değişken eksik yeni bir dizge bulunuz.
Bu yöntemi arkaarkaya uygulayınız ve son bulunan dizge tek bir doğrusal denklem olana kadar bir yöntemi uygulamaya devam ediniz.
Bu son tek değişkenli denklemi çözünüz ve bu son değişkenin çözüm değerini bulunuz.
Bu değeri diğer bir öneceki dizgede geriye koyup bir diğer değişkenin çözüm değerini bulun. Bu geriye koyup çözmeyi tüm değişkenler için çözüm bulana kadar tekrarlayınız.
Örneğin şu 3 değişkenli (x, y ve z) doğrusal denklemeler dizgesini ele alalım :
Birinci deklemi x için çözelim ve şu ifadeyi elde ederiz;
Bu x için ifadeyi ikinci ve üçüncü doğrusal denkleme koyup bunları basitleştirelim ve şu iki değişkenli (y ve z) iki denklem bulunuruz:
Bu yeni iki değişkenli iki denklemli dizgenin birinci denklemini y için çözelim ve şu ifadeyi elde ederiz
,
Bunu yeni dizgedeki ikinci denkleme koyalım. y için çözünce şu ifade elde edilir:
Bunu ikinci denkleme y için koyarsak
ifadesini elde ederiz. Şimdi sadece z ifadeli tek doğrusal denklem dizge elimizde kalmıştır ve bu da z için şu çözümü verir:
Arkaarkaya tek değişken eliminasyonu ile sonuçlar bulmuştuk:
Şimdi çözümünü ikinci denkelem koyarsak y çözümü olarak
elde ederiz; ve ile çözümlerini birinci denkleme koyarsak
olarak x çözümü bulunur.
Böylece, çözüm kümesi olarak tek bir nokta olan elde edilmiş olmaktadır.
Sıra azaltma
a_ij katsayıları rasyonel sayılar, gercek sayılar ya da karmasik sayılar ya da herhangi bir cisimden gelen sayılar olmak üzere
a_11 x_1 + a_12 x_2 + ... + a_1n x_n = b_1
a_m1 x_1 + a_m2 x_2 + ... + a_mn x_n = b_m denklem sistemi,
A m satir ve n sutundan olusan ve değerlerini (bir cisimden alan) bir matris, x n satirlik bir sutun vektoru, b (değerlerini ayni cisimden alan) m satirlik bir sutun vektoru olmak üzere
Ax = b
seklinde yazabiliriz.
Boyle bir sistemin çözümü, x_i degiskenlerinin hangi degerlerinin denklem sistemini sağladığını bulmak anlamina gelmektedir.
Gauss tipi indirgemede temel indirgeme islemleri uygulanir.
Temel satir indirgeme islemleri aşağıdakilerdir. Dikkat edelim ki bu islemler denklem sisteminin çözüm kumesini degistirmezler.
Satir Ekleme
i. satirin herhangi k katini j. satira eklemek. Bu islemi k * Satir_i + Satir_j -> Satir_j, ya da Satir (k*i+j->j) ile gösterelim.
Not: bu islem A matrisini, I+ kE_ji matrisi ile soldan carpmaya karsilik gelmektedir. Burada I kosegen terimleri 1 olan m * m boyutundaki matrisi, E_ji, sadece j. satir ve i. sutundaki terimi 1 olan matrisi göstermektedir. Boylece incelenen doğrusal sistem Ax = b yerine (I+kE_ji)A x = (I+kE_ji)b doğrusal sistemi olmaktadır.
Satir Degistirme
i. satirla j. satiri yer degistirmek. Bu islemi Degistir (i,j) ile gösterelim.
Bu islem i ve j indeksleri haric diğer indekslerde sadece kosegen terimleri 1, diğer durumlarda (i,j) ve (j,i) terimleri 1 olan matris ile A matrisini soldan carpmak ile elde edilir. Boylece incelenen doğrusal sistem Ax = b yerine (I-E_ii-E_jj+E_ij+E_ji)A x = (I-E_ii-E_jj+E_ij+E_ji)b doğrusal sistemi olmaktadır.
Gauss-Jordan Indirgeme yöntemi:
Serbest degisken kavrami:
Eger ilk sutun (ya da herhangi bir j. sutun) sadece sifirlardan olusuyorsa o zaman ilk degisken (ya da j. degisken) aslında denklem sistemi tarafından kısıtlanmamaktadır. Yani bu degiskenin herhangi bir degeri alabilir. Herhangi degeri alabilen degiskenlere serbest degisken denir.
Sifir olmayan ilk sutundan baslamak üzere (bu sutun j_1. sutun olsun)
1. j_1. sutundaki ilk sifirdan farklı sayınn bulunduğu satiri (bu satir i_1. satir olsun) ilk satirla degistir.
Bu adimdan sonra olusan matrisin 1. satir ve j1. sutunundaki sifirdan farklı sayı A olsun. (Matristeki bu tip terimlere pivot ya da eksen terimleri denir. Cozumler bu Ikinci satirdan baslamak üzere j1. sutunda sifir olmayan ilk terim B olsun ve bu terim i_2. satirda yer alsin.
2. Ilk satirin (-B/A) katini i_2. satira ekle. Boylece i_2. satirin j_1. terimi sifira donusecektir.
3. Bu islemi bitirdikten sonra j_1. sutunda hala incelenmemis satir varken bir sonraki satira gecerek 2. adimi tekrarla.
4. j_1. sutundaki islem bittikten sonra yukaridaki adımları degistirilmis A matrisinin j1 den büyük sutunları ve 1den büyük satırlarından olusan matrise uygula.
(Bundan sonraki adimda A matrisi yerine A >= j1, >=1 matrisine uygula.)
Bu işlemlerin sonunda (j_1,1) (j_2,2) (j_k,k) pivot konumları olsun. En son sifirdan farklı satirdan baslayip yukari cikarak doğrusal sistemin çözümune ulasabiliriz.
Islemleri kolaylastirmak için j_v. sutunda v degerinden kucuk satirlardaki sifirdan farklı terimleri yukaridaki 2. adimdaki islemi kullanarak indirgeyebiliriz.
Ayrica pivot degerlerin 1 olmasi kosulunu da ekleyerek, bu çözüm yöntemine degisiklikler yapabiliriz.
Cramer kuralı
Bu kural 1750'de "Introduction à l'analyse des lignes courbes algébriques (Cebirsel eğrilerinin analizine giriş)" adlı eserinde bu teoremi açıklayan Gabriel Cramer (1704–1752) anısına isimlendirilmiştir.
Cramer kuralı aynı sayıda değişken ile denklem bulunan doğrusal denklem dizgesinin çözüm kümesini bulmak için kullanılabilen bir ifade ortaya çıkaran bir doğrusal cebir teoremidir. Bu teorem kullanılarak çözüm tek ve tek bir çözüm kümesi bulunan doğrusal denklem dizgesi için geçerlidir. Bu halde her bir değişken için çözüm iki kare determinantın oranı olarak verilir; bu oranda pay katsayılar matrisinden o değişkene karşıt sütununun, denklemin sağ-tarafında olan sabitler vektörü ile ikame edilmesiyle elde edilen kare matrisin determinantı ve payda ise katsayılar kare matrisi determinantıdır.
Genel olarak açıklamak için aynı sayıda (n) değişkenli ve denklemli bir doğrusal denklemler dizgesinin şu matris ifadesini ele alalım:
Burada matrisi (nxn) seviyeli sonsuz değeri olmayan bir determinanti bulunan bir "katsayılar (kare) matrisi";
(nx1) seviyeli bir "degiskenler (sutun) vektoru"; ve
ise (nx1) seviyeli bir "sabitler (sutun) vektoru" olur.
değişkeni çözümü için Cramer Teoremi şöyle ifade edilir:
Burada matrisi kare matrisinin iinci sütununun yerine sütun matrisinin konulmuş olduğu matrisdir.
İki değişkenli iki doğrusal denklemli dizge örneği
Bu örnekte, determinantların içinde hangi elemanlar bulunduğunun hemen anlaşılması içcin, katsayılar "mavi" renkli; bilinmeyenler "siyah" renkli ve katsayılar "yeşil" renkli yazılmıştır.
Üç değişkenli üç doğrusal denklemli dizge örneği
Diğer yöntemler
Homojen dizgeler
Tanımlama
Bir doğrusal denklemler dizgesinde sabitlerin hepsi 0 iselr, bu doğrsusal denklemler dizgesi homojen dizge olarak tanımlanır:
Matris ifadesiyle bir genel homojen dizge şöyle ifade edilir:
Burada A: (mxn) düzenli katsayılar matrisi;x: (n)-sıralı değişkenler vektörü veya sütun-matrisi ve ;0: (m)-siralı sıfır vektör veya 0 girdili sütun-matris ;
olur.
Çözüm kümesi
Her homojen dizgenin en aşağı bir tane çözümü vardır; bu her değişkenin 0'a eşit olduğu çözüm kümesidir. Bu çözüme sıfır çözümü veya önemsiz (trivial) çözüm adı verilir.
Homoojen dizgelerin önemli olan şu diğer nitelikleri de bulunur:
Eğer u ve v homojen dizgenin iki çözüm vektörü iseler;
vektörler toplamı da homojen dizgenin bir çözümü olur.
Eğer u bir homojen dizgenin bir çözümünü ifade etmekte ise ve z herhangi bir skaler değer ise; o zamanvektör çarpımı da homojen dizgenin bir çözümüdür.
Bu çözüm kümesi nitelikleri, R'''<sup>n</sup> nin bir Euclid-tipi altuzayı için gerekli nitelikler ile tıpatıp aynıdır. Özellikle, bir homojen dizgenin çözüm kümesi buna tekabül eden A'' matrisinin sıfır uzayı ile aynıdır.
Homojen olmayan dizgelerle ilişkiler
Kaynakça
İngilizce Wikipedia "System of linear equations" maddesi
Ayrıca bakınız
Dış bağlantılar
İTÜ Ninova Açık Ders Malzemeleri, Doğrusal cebir
Lineer cebir | 41,351 |
https://he.wikipedia.org/wiki/%D7%90%D7%9C%D7%99%20%D7%9E%D7%95%D7%A8%D7%A0%D7%95 | Wikipedia | Open Web | CC-By-SA | 2,023 | אלי מורנו | https://he.wikipedia.org/w/index.php?title=אלי מורנו&action=history | Hebrew | Spoken | 257 | 881 | אלי מורֶנו (נולד ב-9 במאי 1968) הוא מורה, סופר ופזמונאי ישראלי.
ביוגרפיה
מורנו נולד בתל אביב, גדל בחולון בילדותו ולאחר מכן בנעוריו עבר לרמת גן. למד בתיכון בליך בעיר, והוא בוגר החוג לקולנוע וטלוויזיה באוניברסיטת תל אביב,(1996), ומוסמך בלימודי תרבות (M.A) של האוניברסיטה הפתוחה(2018), ובעל תעודת הוראה בהיסטוריה גם היא מטעם האוניברסיטה הפתוחה. לאלי שתי בנות.
יצירתו
את ספר הביכורים שלו, קובץ סיפורים קצרים בשם "מלחמת הוופלות", פרסם בגיל 29 בשנת 1997.
בשנת 2003 פרסם את ספרו השני בהוצאת גוונים, "חצי ירח וכמה כוכבים לידו"' – אסופה של ארבעה סיפורים: "שמיכת הטלאים של קלואי", "חבר שלי מישל", "מופע הקסמים של ברנרדו", וסיפור הנושא את שם הספר.
בשנת 2006 פרסם את ספרו השלישי – אסופה נוספת של סיפורים תחת השם "אישה מונית", גם כן בהוצאת גוונים.
במקביל לפרסום ספריו החל להשתלב בכתיבה פובליציסטית ברשת באתרי בלוגים וכמו כן בכתיבה פזמונאית.
בין השירים שכתב: "אם תבוא" בביצוע נינט טייב אשר ראה אור באלבומה הראשון "יחפה". מה שלא הספקתי לומר" עבור רן דנקר מתוך האלבום "שווים", ו"סוף העונה", עבור ריטה מתוך האלבום "רמזים" – כולם ללחנים של עילי בוטנר.
כמו כן כתב גם ללחן של שרון חזיז את השיר, "תראי עכשיו" ושיר נוסף עבור מאיה בוסקילה בשם "ולמרות הכול".
ב-2015 פרסם אלי מורנו את ספר הילדים הראשון שלו, "הירח של עמליה".
בשנת 2023 חידש את פעילות הספרותית והוציא לאור את קובץ הסיפורים "קיץ 86".
כיום עובד כמורה לקולנוע, היסטוריה וכמחנך בבית הספר התיכון מקיף יהוד.
קישורים חיצוניים
סופרים ישראלים
פזמונאים ישראלים
בוגרי תיכון בליך
בוגרי החוג לקולנוע וטלוויזיה באוניברסיטת תל אביב
בלוגרים ישראלים
סגל תיכון מקיף יהוד
ישראלים שנולדו ב-1968 | 462 |
https://fa.wikipedia.org/wiki/%D8%AA%D8%B3%D9%84%DB%8C%D9%85%E2%80%8C%D8%B4%D8%AF%D9%87 | Wikipedia | Open Web | CC-By-SA | 2,023 | تسلیمشده | https://fa.wikipedia.org/w/index.php?title=تسلیمشده&action=history | Persian | Spoken | 303 | 966 | "تسلیم شده" یک ترانه از گروه راک آمریکایی لینکین پارک است. این ترانه به عنوان چهارمین تکآهنگ آلبوم دقایقی تا نیمهشب در ۳ مارج ۲۰۰۸ منتشر شد. این ترانه اگرچه نتوانست موفقیتی که انتظار می رفت را کسب کند اما به بالای لیست "برترینهای راک مدرن" و "برترینهای راک جریانی" رسید.
اطلاعات پس زمینه
نسخه ی به کار رفته ی "تسلیم شده" در بازی موزیکال "انقلاب راک" در "ایکس باکس ۳۶۰" ، "پلی استیشن ۳" و "نینتندو Wii" به علت وجود ناسزا به شدت سانسور شدهاست.
این ترانه به دلیل جیغ بلند ۱۸ ثانیهای چستر بنینگتون سنگینترین آهنگ آلبوم دقایقی تا نیمهشب است. در اجراهای زنده ی این ترانه ، این فریاد به دو بخش ۹ ثانیهای تقسیم میشود تا بنینگتون نفس بگیرد اما در بیشتر اجراها سعی شده این فریاد کامل اجرا شود. صدای جرینگ آغاز ترانه ترکیبی از صدای برخورد کلیدهای برد دلسون و کف زدن پی در پی مایک شینودا است. این ترانه برای تبلیغات فیلم کرانک۲:ولتاژ بالا (که چستر بنینگتون هم در آن ایفای نقش میکند) استفاده شدهاست.
موزیک ویدیو
ویدئوی "تسلیم شده" به کارگردانی "Mark Fiore" شامل صحنههایی از اجرای زنده ی این ترانه است. صحنههای این موزیک ویدئو به صورت بریده بریده، ناهموار و همراه با جلوههای ویژه و افکتهای تصویری و تغییر رنگ نشان داده میشوند. علاوه بر گروه در حال اجرا، صحنههای فلش مانند مختلفی همچون قطعاتی از ویدیوهای یک قدم نزدیکتر ، تکه کاغذ ، آنچه من انجام داده ام ، کرخت و شکستن عادت دیده میشود.
رتبه در جدول
از بین ترانههای آلبوم دقایقی تا نیمهشب ، "تسلیم شده" دارای کمترین موفقیت در چارتها بود.
منابع
ویکیپدیای انگلیسی
ترانههای ۲۰۰۷ (میلادی)
ترانههای ۲۰۰۸ (میلادی)
ترانههای آلترنتیو متال
ترانههای سروده شده توسط مایک شینودا
ترانههای لینکین پارک
تکآهنگهای ۲۰۰۸ (میلادی)
تکآهنگهای وارنر برادرز. رکوردز
ترانههای هاردکور پانک
ترانههای هوی متال
ترانههای هوی متال آمریکایی | 3,106 |
https://en.wikipedia.org/wiki/First%20Nedunchezhiyan%20ministry | Wikipedia | Open Web | CC-By-SA | 2,023 | First Nedunchezhiyan ministry | https://en.wikipedia.org/w/index.php?title=First Nedunchezhiyan ministry&action=history | English | Spoken | 86 | 136 | After the demise Chief Minister C. N. Annadurai the Council of Ministers headed by him was dissolved and the Governor appointed V. R. Nedunchezhiyan the Senior most member of the Council of Ministers to act as the Chief Minister till the election of a new leader by the party. He resigned after M. Karunanidhi was elected as party leader, hence the ministry was dissolved.
Cabinet ministers
References
Dravida Munnetra Kazhagam
Tamil Nadu ministries
1960s in Tamil Nadu
1969 establishments in Tamil Nadu
Cabinets established in 1969 | 8,117 |
https://uk.wikipedia.org/wiki/%D0%91%D1%80%D0%B5%D0%BD%D1%82%20%D0%93%27%D1%8E%D0%B7%20%28%D1%85%D0%BE%D0%BA%D0%B5%D1%97%D1%81%D1%82%2C%201943%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Брент Г'юз (хокеїст, 1943) | https://uk.wikipedia.org/w/index.php?title=Брент Г'юз (хокеїст, 1943)&action=history | Ukrainian | Spoken | 91 | 461 | Брент Г'юз (; 17 червня 1943, Кларінгтон) — канадський хокеїст, що грав на позиції захисника.
Ігрова кар'єра
Професійну хокейну кар'єру розпочав 1963 року.
Протягом професійної клубної ігрової кар'єри, що тривала 18 років, захищав кольори команд «Лос-Анджелес Кінгс», «Філадельфія Флаєрс», «Сент-Луїс Блюз», «Детройт Ред-Вінгс», «Канзас-Сіті Скаутс», «Сан-Дієго Марінерс», «Бірмінгем Буллз», «Нью-Гейвен Блейдс», «Міннеаполіс Брюїнс», «Мемфіс Вінгз», «Цинциннаті Стінгерс», «Спрінгфілд Кінгс», «Квебек Ейсес», «Балтімор Кліпперс» та «Бінгемтон Дастерс».
Статистика
Посилання
Канадські хокеїсти
Хокеїсти «Лос-Анджелес Кінгс»
Хокеїсти «Філадельфія Флайєрс»
Хокеїсти «Сент-Луїс Блюз»
Хокеїсти «Детройт Ред-Вінгс»
Хокеїсти «Канзас-Сіті Скаутс»
Хокеїсти АХЛ
Хокеїсти ВХА
Спортсмени Кларінгтона | 37,548 |
https://stackoverflow.com/questions/20880036 | StackExchange | Open Web | CC-By-SA | 2,014 | Stack Exchange | Pierre Arlaud, Smitha, https://stackoverflow.com/users/1146585, https://stackoverflow.com/users/701502 | English | Spoken | 262 | 414 | How to open a pdf on same page using pdf.js
I want to open up a pdf page on a web page on click of an icon and I want that page to be opened on the same page. I tried to use - pdf.js, but I am facing problem in running helloworld of pdf.js. So how do I use odf.js locally?
Link referred: https://github.com/mozilla/pdf.js/tree/master/examples/helloworld
Thanks
Have you imported all the necessary scripts in src and put them in the right location (at ../..)?
i have just downloaded the zip and trying to run - "helloworld" example. That itself is not working for me!
@SurjithSM she wants it embedded. Please read before commenting :P
@Smitha what browser? I downloaded the zip and opened "helloworld/index.html" and it works.
@SurjithSM "opened on the same page". Also that's the whole point of the library, did you check it out?
i have tried opening index.html on chrome and mozilla. It just shows me a canvas.
interesting. It does that for me on IE.
So what's the solution? Is there any other alternative?
it does not work with file://, you need to upload the files to your webserver, because AJAX just works with a webserver and not on the clientside.
Probably not the issue you are experiencing but you will want to turn off web workers if you're using PDF.JS in multiple instances on the same page.
PDFJS.disableWorker = true;
it does not work with file://, you need to upload the files to your webserver, because AJAX just works with a webserver and not on the clientside
| 9,409 |
https://nl.wikipedia.org/wiki/Apiactis%20bengalensis | Wikipedia | Open Web | CC-By-SA | 2,023 | Apiactis bengalensis | https://nl.wikipedia.org/w/index.php?title=Apiactis bengalensis&action=history | Dutch | Spoken | 28 | 52 | Apiactis bengalensis is een Cerianthariasoort uit de familie van de Cerianthidae. De wetenschappelijke naam van de soort is voor het eerst geldig gepubliceerd in 1936 door Panikkar.
Spirularia | 25,722 |
https://ru.wikipedia.org/wiki/%D0%93%D0%B8%D0%BB%D0%BB%D0%B8%D1%81%2C%20%D0%98%D0%B7%D0%B0%D0%B1%D0%B5%D0%BB%D1%8C | Wikipedia | Open Web | CC-By-SA | 2,023 | Гиллис, Изабель | https://ru.wikipedia.org/w/index.php?title=Гиллис, Изабель&action=history | Russian | Spoken | 143 | 445 | Изабе́ль Бо́йер Ги́ллис (; род. 9 февраля 1970, Нью-Йорк) — американская актриса и писательница.
Биография
Изабель Бойер Гиллис родилась 9 февраля 1970 года в Нью-Йорке (штат Нью-Йорк, США) в семье общественных деятелей Арчибальда и Линды Гиллис. Окончила Нью-Йоркский университет со степенью бакалавра.
В 1990—2011 годах Изабель сыграла в 18 фильмах и телесериалах. После окончания кинокарьеры Гиллис занимается писательством, выпустила мемуары «A Year and Six Seconds» в 2011 году и «взрослую» новеллу «Beside Me» в 2013 году.
В 1999—2005 годах Изабель была замужем за профессором ДеСалесом Харрисоном. В этом браке Гиллис родила двух сыновей (род. в декабре 2001 и ~2002—2005).
С 13 октября 2007 года Изабель замужем во второй раз за журналистом Питером Лэттманом, с которым она встречалась 18 месяцев до их свадьбы.
Избранная фильмография
Примечания
Ссылки
Официальный сайт Изабель Гиллис
Выпускники школы Брирли
Выпускники Найтингейл-Бэмфордской школы
Выпускники Школы искусств Тиш
Выпускники Нью-Йоркского университета | 20,197 |
https://stackoverflow.com/questions/47445403 | StackExchange | Open Web | CC-By-SA | 2,017 | Stack Exchange | Marius, Prajwal Acharya, https://stackoverflow.com/users/1222578, https://stackoverflow.com/users/4402365, https://stackoverflow.com/users/4604054, https://stackoverflow.com/users/496803, thelatemail, zacdav | English | Spoken | 258 | 440 | How to retain specific parts of an element in a column and eliminate everything else in R?
I have a column containing the brand and model of cars. How to keep only the brand and remove the model? In the original dataset, the brand and the mode were separated by a space. So I tried this:
carprice$CarName=gsub(pattern = " *", replacement = "",carprice$CarName)
What happened was the space got eliminated and now the brand and the model names are concatenated. I am not able to even undo it.
Essentially the same as https://stackoverflow.com/questions/15895050/using-gsub-to-extract-character-string-before-white-space-in-r
gsub("(.*)\\s.*", "\\1", carprice$CarName)
Your attempt might work if you used " .*" as the pattern. At the moment you're matching zero or more spaces only. Adding . means you match a space followed by zero or more of any character.
@Marius Now I don't think " ." will work because there is no space in the names anymore. As I said the Brand Name and the Model Name are concatenated. I now need only the brand name or a way to undo the change so that I can use the gsub command with " ."
@zacdav Thank you. May I know What your code does? Cause it did not work for me.
Start again then.... My code removes the space and everything after
@zacdav I have come very far. I don't think start over. Any other way where I can just extract the brand names? For example the elements are like this:
[1] "alfa-romerogiulia" "alfa-romerostelvio" "alfa-romeroQuadrifoglio"
[4] "audi100ls" "audi100ls" "audifox". I just need alfa-romero, audi
| 42,861 |
https://stackoverflow.com/questions/28540046 | StackExchange | Open Web | CC-By-SA | 2,015 | Stack Exchange | Fedri Andhika, anubhava, https://stackoverflow.com/users/4567888, https://stackoverflow.com/users/548225 | English | Spoken | 179 | 523 | Rewrite url by htaccess to display question mark
I have a the following url:
Http://localhost/mydomain.com/?a=ax&b=bx&c=cx
I want the url like:
Http://localhost/mydomain.com/ax/bx/?c=cx
Any ideas?
Have you tried anything?
I tried:
RewriteRule ^([a-zA-Z0-9\-]+)\?\([a-zA-Z0-9=]+)$ index.php?a=$1&b=$2
But, question mark '?' is not display :(
You can use this rule in your DOCUMENT_ROOT/.htaccess file:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(\w+)/(\w+)/?$ /?a=$1&b=$2 [L,QSA]
References:
Apache mod_rewrite Introduction
Apache mod_rewrite Technical Details
Apache mod_rewrite In-Depth Details
You have to check your Apache's error.log for this as this code works pretty well for me.
I find a code the following:RewriteRule ^([a-z]+)\/([a-z]+)\/\+([a-z]+)$ index.php?a=$1&b=$2&c=$3
Result: localhost/mydomain.com/a/b/+c
I want to change plus mark "+" to be "?=". But, when I change to question mark is not work. I want such as: localhost/mydomain.com/a/b/?c=cx
You must focus on the originally stated problem in your question. This rule is to support http://localhost/mydomain.com/ax/bx/?c=cx URL, I have tested it and it works well.
Didn't understand your question. What happens when you enter http://localhost/mydomain.com/ax/bx/?c=cx URL in browser?
Object not found!
Error 404
Why?
What is purpose of /mydomain.com/ folder? Is this .htaccess located inside /mydomain.com/?
| 29,470 |
https://sah.wikipedia.org/wiki/%D0%A1%D1%83%D0%BE%D1%85%D0%B0%D0%BF%D1%87%D1%8B | Wikipedia | Open Web | CC-By-SA | 2,023 | Суохапчы | https://sah.wikipedia.org/w/index.php?title=Суохапчы&action=history | Yakut | Spoken | 43 | 201 | Суохапчы — тимиртэн тоһоҕо оҥорорго аналлаах тимир ууһа туттар мала.
Дьоҕус соҕус хаптаҕай тимир буолар. Онно тоһоҕо сэлтэкэтин оҥорор хайаҕастар баар буолаллар. Бу малы итэҕэл үлэһиттэрэ ытык мал дииллэр. Улахан уустар суохапчылара тоҕус хайаҕастаах, орто уус киэнэ сэттэ буолар эбит.
Быһаарыылар
Уһанар сэп-сэбиргэл | 39,043 |
https://ce.wikipedia.org/wiki/%D0%93%D1%83%D1%82%D0%B0%D0%BD%20%28%D0%B3%D3%80%D0%B0%D0%B9%D1%80%D0%B5%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Гутан (гӀайре) | https://ce.wikipedia.org/w/index.php?title=Гутан (гӀайре)&action=history | Chechen | Spoken | 9 | 52 | Гутан — Азербайджанан Каспий-хӀорд чуьра гӀайре.
Билгалдахарш
Азербайджанан гӀайренаш | 12,944 |
https://af.wikipedia.org/wiki/Jan%20Schutte | Wikipedia | Open Web | CC-By-SA | 2,023 | Jan Schutte | https://af.wikipedia.org/w/index.php?title=Jan Schutte&action=history | Afrikaans | Spoken | 1,276 | 2,475 | Dr. Jan Albert Schutte (distrik Fochville, 1903 – 26 Februarie 1998) was tussen 1932 en 1977, toe hy sy emeritaat aanvaar, predikant in drie gemeentes van die Gereformeerde Kerke in Suid-Afrika, naamlik Brakpan (nege jaar), Pretoria (nege jaar) en Johannesburg-Noord (27 jaar).
Herkoms en jeug
Die stamvader van die Schuttes, P.J.W. Schutte (1803–1873), het hom in die 19de eeu op die plaas Buffelsdoorns in die huidige distrik Fochville gevestig. Hy was ’n stigter van die Gereformeerde Kerke en word, saam met oudl. T.F. Dreyer, beskou as "een van die waaragtig grotes uit die dae van die Afskeiding" van die Gereformeerde Kerke in Suid-Afrika. Op Buffeldoorns se werf het ds. Dirk Postma op 7 November 1858 sy eerste erediens die eerste diens in die wyk Mooirivier gehou.
Jan Schutte, ’n kleinseun van vader P.J.W. Schutte, is gebore en getoë in dieselfde rante en was die eerste Schutte wat predikant sou word. Hy wou dit van jongs af word, maar uit armoede het hy hom eers as onderwyser bekwaam en met sy karige onderwysersalaris lank genoeg gespaar vir sy predikantstudie aan die Teologiese Skool Potchefstroom.
Predikant van Brakpan
Ds. Schutte se ontvangs in Brakpan in 1932 was in die hartjie van die Groot Depressie. Daar was baie werkloosheid. Afrikaners wat van die platteland na die stede gestroom het, was brandarm; so ook die dominee. Die kerkraad het nie geld gehad om vir die predikant 'n motor te koop nie; die dominee ook nie. Gevolglik moes ds. Schutte sy gemeentewerk per trapfiets doen. Die arbeidsveld het oor drie Oos-Randse dorpe – Brakpan, Benoni en Springs – gestrek, met 'n string kleinhoewes rondom. Ds. Schutte het op Brakpan gewoon. Na Springs en Benoni het hy die trapfiets op 'n trein gelaai en van die spoorwegstasies af sy werkgebied op sy fiets ingevaar. Heelwat later het die dominee vir hom 'n Baby Ford kon aanskaf, 'n piepklein, potblou motortjie met geel draadspekies.
Onder ds. Schutte se geseënde arbeid het die gemeente gegroei. Volgens prof. P.W. Buys in dr. Schutte se lewensberig in die Almanak van 1999 het dr. Schutte "met woorde geskilder sodat jy die taferele voor jou oë kon sien: die See van Galilea wat soos 'n blou juweel onder die son lê, omstrengel met 'n krans van vissersdorpies. Die woestaard Legio, met sy ongekamde hare en baard. Jakob by Bet-el, Elia op Karmel, die vier perde van Openbaring wat met hoewegedonder oor die aarde voorthol. 'n Preek van hom wat jy eenmaal gehoor het, het jy nooit weer vergeet nie."
Die mense het Sondags kerk toe gestroom. Heel gou was die kerkie in Victorialaan te klein. Hulle moes stoele indra. Dit was dikwels so vol dat die seuntjies op die trappe van die preekstoel moes sit. 'n Hele paar van die seuntjies van Brakpan sou later self op preekstoele staan, volgens prof. Buys moontlik die gevolg van die inspirerende voorbeeld van hul geliefde dominee.
Ds. Schutte was ook 'n uitnemende herder. Prof. Buys skryf: "Huisbesoek deur hom was nie 'n besoeking nie. Hy het vir almal, oud en jonk, 'n opbouende woord gehad. Hy het die mooi gawe gehad om die beste in 'n mens na vore te bring. As hy sy taak afgehandel het, het almal in die huis iets gehad om oor na te dink. Van hom was die spreuk van Spurgeon waar: 'A home going parson makes a church going people.'" Dit was die geval in Brakpan en so ook in sy latere gemeentes, Pretoria en Johannesburg-Noord.
Geaardheid
Dr. Schutte het ’n onverbeterlike humorsin gehad. Op ’n keer op 'n sinode het 'n ernstige ouderling beswaar gemaak teen die dominee met sy ligte pak klere. Ds. Schutte se gevatte antwoord was: "Ek kan die broeder gerusstel: Ek het darem 'n swart onderbroek aan." By 'n ander geleentheid, skryf prof. Buys: "was hy saam met oom Piet Erasmus in Benoni op huisbesoek. Hulle hou toe by 'n huis stil waar 'n briesend kwaai hond hulle by die hekke inwag. Albei, ouderling en predikant, was maar skrikkerig om uit te klim. Naderhand sê oom Piet: Dominee, ek dink u moet maar eerste instap. U is tog 'n predikant en behoort 'n baie sterker geloof as ek te hê. Spontaan kom dit van ds. Schutte: 'Weet die hond dit?' Daar is tientalle staaltjies wat klassiek geword het in ons kerkverband. Ook die kaskenades wat hierdie regte platjie aangevang het, soos die aand toe hy hom soos 'n ou man vermom het en hom aan sy eie weduwee-moeder gaan voorstel het as 'n wewenaar wat vir haar kom kuier!"
Eeufeesbedieningsfonds
Toe die Eeufees van die Gereformeerde Kerk (1959) in sig begin kom, het een van die sinodes die gedagte van ou br. Izak Buys ter harte geneem: die stigting van 'n fonds waardeur veral kerke op strategiese voorpunte gehelp kon word. Dr. Schutte is as organiseerder van die fonds aangewys. Vir dié saak het hy hom geesdriftig beywer. Op elke denkbare meerdere vergadering het hy oor die Bedieningsfonds gaan praat. Hy het honderde briewe geskryf, nog meer telefoonoproepe gedoen en duisende myle gery. Die ideaal was: honderdduisend pond. Sy geloof, visie en ywer het nie beskaam nie: op die Eeufees te Rustenburg het die fonds £154 000 bedra!
In daardie selfde tyd was ds. Schutte besig met sy doktorsproefskrif oor die apostel Paulus. Terwyl hy die land deurkruis het in belang van die Bedieningsfonds, het hy sy studiepaperasse oor sy kamermaat Paulus (soos hy die apostel genoem het) oral met hom saamgeneem. Die proefskrif is met welslae bekroon.
Die sending
Prof. Schutte skryf: "As daar ooit iemand was wat die sendingbevel van die Here Jesus ernstig opgeneem het, was dit J.A. Schutte. Met klemmende erns het hy in preke, toesprake en geskrifte gepleit vir meer aktiwiteit op hierdie gebied." Op ’n keer het hy ’n radiopreek gelewer oor die Masedoniese man wat in die swart stede van Suid-Afrika reusegroot verrys en roep: "Kom oor en help ons!" Lank nadat hy emeritaat aanvaar het, het dr. Schutte op hoë leeftyd in bruin woonbuurte buite Johannesburg aktief voortgegaan met sendingwerk. "Soos dit meermale met profete gaan," skryf prof. Buys, "was hy sy tyd hier so ver vooruit dat dit soms gevoel het of hy kontak verloor het met die massa wat onnadenkend doer ver agter aangeluier kom. Sommige mense het dan ook vir dr. Jan ergerlik geword oor sy knaende profetiese roepstemme in sy radiopreke. Nou (1997), na jare, het baie mense die skuldgevoel: Het ons tog maar meer gedoen toe dit nog die welaangename geleentheid daarvoor was!
Laaste jare
Die heengaan van sy eggenote, Takkie (geb. De Klerk), met wie hy eers op taamlik gevorderde leeftyd getroud is, was vir hom 'n groot slag. Hy het die jare daarna in taamlike afsondering deurgebring. En na die einde toe het hy heeltemal stil geword. Familie wat hom 'n paar weke voor sy oorlye vir oulaas besoek het, het dit vertel. Prof. Buys skryf: "Die spraaksame man van vroeër, wie se lewe byna die hele twintigste eeu oorspan het, praat nie meer 'n woord nie. Hy sit maar net daar soos iemand wat op die tydsame vertrek van 'n trein wag. Hy was nie siek nie. Net geheel en al uitgeleef. En toe het hy, soos die Bybelse aartsvaders, maar net stilweg ontslaap. Ons sal sy welluidende stem en aansteeklike lag nooit weer hoor nie."
Galery: Meerdere vergaderings
Bronne
Buys, prof. P.W. in Van der Walt, dr. S.J. et al. 1998. Die almanak van die Gereformeerde Kerke in Suid-Afrika vir die jaar 1999. Potchefstroom: Administratiewe Buro.
Verwysings
Eksterne skakels
'n Preek deur dr. Schutte in Johannesburg-Noord se kerk in die 1960's.
Gereformeerde Kerke in Suid-Afrika
Suid-Afrikaanse predikante
Geboortes in 1903
Sterftes in 1998 | 40,831 |
https://stackoverflow.com/questions/51559343 | StackExchange | Open Web | CC-By-SA | 2,018 | Stack Exchange | Andre, https://stackoverflow.com/users/7780068 | Estonian | Spoken | 242 | 516 | set_locale in wordpress - woocommerce - stripe
Hello
my locale setting work everywhere except in stripe geteway plugin ( have asked stripe and woocommerce support : no solution )
detail of the probleme/bug here
https://github.com/woocommerce/woocommerce-gateway-stripe/issues/701
new info for this
testing this morning with the hook "wc_stripe_localized_messages"
add_filter("wc_stripe_localized_messages", function($arr_def){
$lang = WPTBASE::$theme_var["lang"];
WPTBASE::init_lang( $lang ); // this init lang and local
$wp_locale = get_locale(); // wp locale val
print "<pre>";
print "theme locale = " . WPTBASE::$theme_var["local"] . "\n";
print "wp locale = " . $wp_locale . "\n";
print $lang . "\n";
print $arr_def["invalid_number"];
print "\n";
print __( 'The card number is not a valid credit card number.', 'woocommerce-gateway-stripe' );
print "</pre>";
return $arr_def;
});
this ouput at the top of the checkout page
https://www.support-rack.com/sr_2018/ca/eng/checkout/
this :
theme locale = en_CA
wp locale = en_CA
eng
Le numéro de la carte de paiement n’est pas un numéro de carte de paiement valide.
Le numéro de la carte de paiement n’est pas un numéro de carte de paiement valide.
the wordpress locale is en_CA
but the __() ouput is french ?
help !
chaged wp general setting language to english, then back to french. Now Stripe label are always in english? This make me belive that this is a reel bug.
Resolve !
Wordpress french locale file is 'fr_CA' / canada
the stripe french locale file is fr_FR / france
I'm using fr_CA .....
details / details / details
this was a friday exercice
| 24,240 |
https://ro.wikipedia.org/wiki/Ildebrando%20D%27Arcangelo | Wikipedia | Open Web | CC-By-SA | 2,023 | Ildebrando D'Arcangelo | https://ro.wikipedia.org/w/index.php?title=Ildebrando D'Arcangelo&action=history | Romanian | Spoken | 217 | 497 | Ildebrando D'Arcangelo (n 14 decembrie 1969, Pescara, Italia) este un bass/bariton. Momentan, locuiește la Paris.
D'Arcangelo și-a început studiile în anul 1985, la conservatorul Luisa D'Annuncio din Pescara. După aceea, a studiat la Bologna.
Din 1989 până în 1991 a participat la Concorso Internazionale Toti Dal Monte la Treviso, debutând în Cosi fan tutte și Don Giovanni ale lui Wolfgang Amadeus Mozart. A interpretat sub bagheta unor dirijori ca Claudio Abbado, Valery Gergiev, Christopher Hogwood, Georg Solti, Bernard Haitink, Riccardo Muti, John Eliot Gardiner, Riccardo Chailly, Myung-Whun Chung, Nikolaus Harnoncourt and Seiji Ozawa. A cântat la Metropolitan Opera din New York, la Royal Opera House Covent Garden din Londra, la Opéra National (Bastille) din Paris, la Lyric Opera din Chicago, la Staatsoper din Viena, la Theater an der Wien și la Salzburger Festspielen.
Repertoriu
Masetto, Leporello și Don Giovanni (Don Giovanni)
Figaro și Contele Almaviva (Le nozze di Figaro)
Colline (La Bohème)
Alidoro (La Cenerentola)
Guglielmo și Don Alfonso (Così fan tutte)
Bartolo (Il barbiere di Siviglia)
Dulcamara (L'elisir d'amore)
Contele Rodolfo (La sonnambula)
Discografie
Antonio Vivaldi: Bajazet
Mozart: Don Giovanni (Leporello)
DVD
L'elisir d'amore (Wiener Staatsoper)
Don Giovanni (Theater an der Wien)
Don Giovanni (Salzburger Festspiele)
Le nozze di Figaro (Salzburger Festspiele)
Nașteri în 1969
Bași italieni
Baritoni italieni
Cântăreți de operă italieni
Italieni în viață | 20,626 |
https://fr.wikipedia.org/wiki/Classe%20Royal%20Oak | Wikipedia | Open Web | CC-By-SA | 2,023 | Classe Royal Oak | https://fr.wikipedia.org/w/index.php?title=Classe Royal Oak&action=history | French | Spoken | 53 | 70 | La classe Royal Oak est une classe de navires de ligne de la Royal Navy construits à la fin du . La classe Alfred est une version plus large de la classe Royal Oak.
Conception
Unités de la classe
Histoire
Bateau des années 1760
Classe de navire de ligne de la Royal Navy | 31,355 |
https://stackoverflow.com/questions/46641419 | StackExchange | Open Web | CC-By-SA | 2,017 | Stack Exchange | Kunvar Singh, Pankaj Parkar, adelriosantiago, https://stackoverflow.com/users/1996066, https://stackoverflow.com/users/2435473, https://stackoverflow.com/users/7948152 | English | Spoken | 260 | 453 | How to get the Angular changing key from $scope.$watch(..., true)
I am deep watching an object in Angular,
$scope.$watch('bigObject', function(newVal, oldVal, scope) { //Watch the whole object
console.log("The key that changed was: " + key);
}, true); //Deep watch
How do I get the key that changed?
Example output: The key that changed was: bigObject.users.john.birthday
I'd think of using Generic deep diff between two objects
Try for this:
$scope.$watch('bigObject', function (newValue, oldValue, scope) {
//Do anything with $scope.letters
if(oldValue.users.john.birthday == newValue.users.john.birthday){
//nothing chages
}
else{
// write your logic here after changinging value
}
console.log(newValue.users.john.birthday);
});
Thanks but I am not trying to get the value itself. I'm trying to get the key that changed.
but it should be insure that your users, object must have john object and john object must have birthday property
What do you mean? The key wouldn't change, the key (birthday in the example) would be the same.
Now i have ediited in my answer so plz try for that
Thanks, but still not what I'm looking for. Imagine it like a logger, I want to log all keys that change. I can't know which key is going to change. In fact I have no information about the object itself.
No problem, $watch is always subscribing to that object, whenever you wiil change in bigObject,
But i think we need to check, what parameter of the object is changing, thats why we wrote condition in our case. otherwise how we can detect,
in case of chaging, it will automatically called. and implement your business logic.
| 17,277 |
https://superuser.com/questions/1439671 | StackExchange | Open Web | CC-By-SA | 2,019 | Stack Exchange | Biswapriyo, Kumar Saptam, Trax, https://superuser.com/users/1007937, https://superuser.com/users/250261, https://superuser.com/users/623918, https://superuser.com/users/627136, https://superuser.com/users/726810, n8te, topshot | English | Spoken | 412 | 620 | Is there any way to increase system volume in windows 10 with Command Line
I am working on a project and I want to increase system volume by using cmd (Command Line). I am running windows 10 is there any way to do this.
I found nircmd.exe as a windows command for Windows XP and 7 but it does not show me on windows 10. It says
'SndVol32.exe' is not recognized as an internal or external command, operable program or batch file.
So it means it only works on Windows XP and 7.
So please give me any method to increase volume in my windows 10 system using Command Line (CMD).
I had tried also:
I am able to increase the system volume in Windows 10 using nircmd.exe. Please [edit] your post and include the exact nircmd.exe command you're using to try to increase the system volume.
You've to download it from nirsoft.
Also, if this PC is connected to the internet (assuming so since you must download this program) Win 10 1511 has been out of support since Oct 10, 2017.
I got my answer through comments thanks to Biswapriyo
So you need to download the nircmd utility from the given link. Just scroll down to the end of the page and you will find the download link. After downloading just open the nircmd.exe and it will ask to add to the directory just press ok and it will work fine.
the download link is here
Download NIRCMD.EXE
I wrote an open-source software adjust-volume.exe to do the task
Usage:
# Set current sound volume to 0.2
./adjust-volume.exe .2
# Get current sound volume
./adjust-volume.exe
Repo:
https://github.com/WingTillDie/adjust-volume
NirCmd System Requirements : This utility can work in all versions of Windows operating system: Windows 9x/ME, Windows NT, Windows 2000, Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7, Windows 8, and Windows 10.
I just tested this utility under Windows 10 and its working without any problem.
Commands that I used :
Increase the system volume by 2000 units (out of 65535)
nircmd.exe changesysvolume 2000
Decrease the system volume by 5000 units (out of 65535)
nircmd.exe changesysvolume -5000
It doesn't work on my PC see my question again.
It gives that error because you are writing nircmd command to a cmd which is at different directory. Before writing volume command you should navigate to directory which has nircmd.exe through cmd using CD command. For example "cd C:\Program Files\Microsoft Office 15"
| 40,904 |
https://stackoverflow.com/questions/2392827 | StackExchange | Open Web | CC-By-SA | 2,010 | Stack Exchange | AertyPS, Andrei Dziahel, Bipul Vaibhav, Fangji Zhang, Henning Waack, Leonid, Panait Ionut, Raise, https://stackoverflow.com/users/15961, https://stackoverflow.com/users/198729, https://stackoverflow.com/users/252622, https://stackoverflow.com/users/4866716, https://stackoverflow.com/users/4866717, https://stackoverflow.com/users/4866718, https://stackoverflow.com/users/4866793, https://stackoverflow.com/users/4875000, https://stackoverflow.com/users/4875030, user198729 | Slovak | Spoken | 532 | 977 | How to deal with m2m relationship(posts and tags) by doctrine(in symfony)?
posts and tags have a many-to-many relationship(pretty much like stackoverflow),so the code to do it without an ORM should be:
$dml = "insert into posts(title,body,created) value($title,'{$_POST['post-text']}',now())";
mysql_query($dml,$con);
$pid = mysql_insert_id($con);
//deal with tags
if(isset($_POST['tagnames']))
{
$tags = preg_split('/\s+/',trim($_POST['tagnames']));
$list = "('".implode("',1),('", $tags)."',1)";
$dml = "insert into tags(name,count) values $list on duplicate key update count=count+1";
mysql_query($dml,$con);
$list = "('" . implode("','", $tags) . "')";
$dml = "insert into post_tags(pid,tagId) select $pid,id from tags where name in $list";
mysql_query($dml,$con);
}
How to do it with by doctrine?
Suppose that the related classes are already generated from schemas
The difficulty lies in the on duplicate key update part.
To step further,it can be more difficult to handle when someone is editing the posts...
Have you considered that it might not be possible with Doctrine? You've asked this question several times and it occurs that instead of aiming for the purity of the SQL you could make the code just actually work. There's a simple solution that requires a few more queries, but maybe that's the tradeoff of using an ORM.
I guess it should be possible,as @Steve pointed out.Can you elaborate the solution you mentioned?Also,I think this is so frequent a usecase that ORM should have no reason to miss,But the related information is really not so much...
Why not just SELECT the existing tags ('SELECT tags.* WHERE tags.name IN ('.implode(",", $tags).');') and compare the submitted tag string with each iteratively, and update/insert accordingly?
Because that's not the style symfony(or maybe ORM) deals with user submitted data.See my second comment @Steve.From the aspect of OOP,insert/update of tags obviously should be dealed in the save methods of tags model.
Instead of managing this relationship yourself you might want to consider using sfDoctrineActAsTaggablePlugin, which will probably make your life easier.
Thanks!But can you briefly describe the principle to deal with such things?As I have to deal with several other similar issues...
I've spent some time reading the code,it uses $post->addTag('toto'); to handle tags,which doesn't take the benefit of sfForm,which uses the bind API to automate lots of stuff,so that we only need to modify the related model classes.Conclusion,behaviors are not the proper tool for user submitted data.It's more applicable for automatically generated stuff like TimeStampable,Versionable
Well, for me it looks pretty easy.
$post = new Post();
$tags = Doctrine_Query::create()->from('Tags t')->whereIn('t.name', $_POST['tags'])->execute();
foreach ($tags as $tag) $post->link($tag->get('id'));
$post->save();
Why not read manual first? Also please consider to generate a module with symfony doctrine:generate-module post Post and carefully read generated code.
Seems you don't understand the usecase I described?In your code there is no logic of inserting new tags into database,where the tags table has a unique index on the column name,and also need to update the count column which denotes the number of times it's used.It's the form processing part of symfony,but the tutos haven't covered such complex usecase so far(I've read through many online resources although..).
Hey, I know these nuances. I just thought you want to handle them by hands, not using someone's plugin.
Yes,you are right,I want to handle them by hands,as there are several other similar cases,which has no related plugins ready cooked.
| 39,941 |
https://sv.wikipedia.org/wiki/Underh%C3%A5llsst%C3%B6d | Wikipedia | Open Web | CC-By-SA | 2,023 | Underhållsstöd | https://sv.wikipedia.org/w/index.php?title=Underhållsstöd&action=history | Swedish | Spoken | 135 | 321 |
Sverige
Underhållsstöd är ett ekonomiskt stöd som betalas ut av Försäkringskassan (FK) till en förälder som är vårdnadshavare och bor ensam med barnet (är folkbokförd med barnet), om den andra föräldern inte betalar underhållsbidrag eller betalar ett underhåll som är lägre än 1 573 kronor per månad. Stödet är högst 1 573 kronor per månad och barn. I och med höstbudgeten hösten 2015 höjdes det med 300 kronor
Den som inte bor med barnet får, utifrån inkomsten, betala tillbaka till Försäkringskassan samhällets kostnader för underhållsstödet.
År 2013 var 133 919 föräldrar bidragsskyldiga. Drygt 87 procent var män.
Finland
Underhållsstöd betalas ut av Folkpensionsanstalten om den underhållsskyldige föräldern inte betalar underhållsbidrag.
Se även
Underhållsbidrag
Referenser
Externa länkar
Lag (1996:1030) om underhållsstöd
FK om Underhållsskyldighet och underhållsbidrag
Råd & Röns årliga bilaga Koll på pengarna
Familjerätt
Socialpolitik | 31,338 |
https://aviation.stackexchange.com/questions/47747 | StackExchange | Open Web | CC-By-SA | 2,018 | Stack Exchange | BobT, Federico, Ron Beyer, Steve Kuo, aAaa aAaa, https://aviation.stackexchange.com/users/11949, https://aviation.stackexchange.com/users/12623, https://aviation.stackexchange.com/users/1467, https://aviation.stackexchange.com/users/1520, https://aviation.stackexchange.com/users/17835, https://aviation.stackexchange.com/users/28385, https://aviation.stackexchange.com/users/753, user, user3528438 | English | Spoken | 1,190 | 1,640 | Are there any failure-proof instruments on commercial airliners?
Let's assume worst case scenario - nighttime over the ocean, complete vacuum failure, perhaps complete electrical failure (in a "fly-by-pulley" plane perhaps), or at least avionics failure.
Is there any instrument on board capable of providing, at very least, horizontal situation indication, so the plane can safely get to a lit area for visual navigation?
Even in my car, I have a 25 cent toy spherical compass in water, that, at very least, can give me such information. Even a handheld phone has good enough gravity sensors for this. for Is there anything available on the flight deck like this?
What is a "horizontal situation indication"? You mean if the aircraft is flying level or not? Then no, a wet compass or phone cannot do that in an airplane. There is no "failure proof" instrument, that is why most commercial aircraft have multiple instruments that do the same thing using different methods.
@RonBeyer a wet compass no, but airliners are equipped with one "old fashioned" version of each instrument, including the artificial horizon.
@Federico I don't believe that is accurate, if you mean vacuum gyro driven by "old fashioned". For example, see the A380 cockpit. Notice an artificial horizon on the left is an LCD screen, no "old fashioned" instruments...
As well, an old-fashioned HSI would fail with vacuum failure, no?
@RonBeyer, yes, some sort of HSI. Why couldn't a phone or wet compass do it?
@aAaaaAaa Because when you bank, you can turn at 1G which means that the "gravity" vector banks with the aircraft. Phones don't sense "gravity", they sense a force vector. Compasses lead/lag turns and have the same "gravity" issues phones have, they don't point down, they align themselves with the force vector pulling them down, which changes in a turn.
@RonBeyer I was more familiar with the older 320, I admit https://airandspace.si.edu/webimages/highres/WEB10778-2007h.jpg
Phone or wet compass won't give you anything but a combination of 'down' and whatever acceleration the aircraft is providing. Assuming that true 'down' is what's pulling you into your seat is a deadly mistake (see Graveyard Spiral).
@RonBeyer couldn't a GPS device calculate groundspeed and altitude, and infer from that, at very least, rate of descent or ascent? Not quite horizontal situation, but if it shows 50knots and descending, pilots could probably infer they are in a descending flat stall....
So which is easier, to make something never fail or to make two thing that never fail at the same time?
"couldn't a GPS device calculate groundspeed and altitude ... if it shows 50knots and descending, pilots could probably infer they are in a descending flat stall" Except when they're not. Stalling is about airspeed and angle of attack, not ground speed. In extreme situations, it's even possible to fly a ground track that moves you backwards, especially in a small plane, and be nowhere near a stall of any kind. Just watch out when the wind shifts... And if you have complete electrical and vacuum failure, how do you propose to power said GPS? What about the flight controls?
Have you ever piloted an aircraft? (Just to say it: being a pilot is not a prerequisite for participating on Aviation SE, but you'll generally be expected to have some idea of aviation matters.) Adding to @RonBeyer's comment above, among the first things you learn when you start flying is to make coordinated turns. In a coordinated turn, the gravity vector points perpendicular to the wings, even though the wings aren't level with the horizon. At that point, a simple sensor won't tell you anything useful; you'll need some kind of inertial reference, typically some kind of gyroscope.
@user3528438 ...or three things.
This video shows why a phone's "gravity" sensor or compass in water won't work https://www.youtube.com/watch?v=V9pvG_ZSnCc
well aware of the fundamental forces of flight. Idevice as simple as a cell phone though has enough accelerometer Hardware that it could probably act as a fairly accurate inertial reference device with the right app, and that would be immune to slip skid or other such aberrations.I know commercials have inertial navigation units but I've never heard of those being used to determine attitude... But I don't see why they couldn't.
as for the ground track, with small planes, maybe, but a commercial jet traveling at 600 miles an hour will still be traveling fairly close to that when measured at Ground speed, even with a 50 knot headwinds. if they are supposed to be going 600 miles an hour but are indicating 50 knots ground speed, I think that would raise some red flags about a stall.
In the cockpit of every plane I am aware of, there is a compass somewhere. It is the simplest form of a magnetic compass, similar to the "compass in water" you described. Due to physics, a compass will lead or lag when an aircraft turns, therefore it is very difficult to achieve a precise heading. But you can use it to point the aircraft in the general direction (within 10~20 degrees I'd say), and that is very helpful when nothing in your cockpit works.
Also, note that the vacuum pump does not require electricity to operate. For this reason, the Horizontal Situation Indicator (HSI) and the Turn Coordinator are usually powered by different sources. Both need a spinning gyroscope to function. One is powered electrically and the other by vacuum. This is intentional: in the event of either a total electric failure or vacuum pump failure, the remaining instrument can provide turn information. Only when you have a failure of both systems (exceptionally rare), will you loose all turn information.
By the same reason, the primary Attitude Indicator is vacuum powered and the backup Attitude Indicator is electrically powered.
The widespread of tablet devices has led to applications which serve as backup instruments as well. The application is not certified by aviation authorities to replace the on board instruments (at the time); however, more than one pilot has claimed that it saved his life by providing crucial situation awareness during an electric failure.
In an advanced aircraft, such as airliners, the systems are not only redundant, but also designed such that a single problem would not affect both systems. For example, the control cables on the captain side and copilot side are routed differently, making a complete failure extremely unlikely.
Voting to close because this question has become a rolling disaster on wheels. NO, a cell phone does NOT have enough sensors to double as an AHRS nor an IRU/INS. Nor does your toy wet compass.
The whole concept of “failure-proof” is pretty loopy... anything much more complicated than a paperweight will have some failure mode. Wet compass: freeze, crack & lose fluid, interference by some large metallic object sitting where it doesn’t belong, etc. Cell phones as failure-proof? Laughable as soon as you say that out loud.
No, I really don’t think that the industry that has turned flying through the stratosphere in a metal tube into the safest activity know to recorded history, has overlooked your phone & toy compass as ways to make things safer.
| 43,152 |
https://vi.wikipedia.org/wiki/Begonia%20asympeltata | Wikipedia | Open Web | CC-By-SA | 2,023 | Begonia asympeltata | https://vi.wikipedia.org/w/index.php?title=Begonia asympeltata&action=history | Vietnamese | Spoken | 77 | 167 | Begonia asympeltata là một loài thực vật thuộc họ Begoniaceae. Đây là loài đặc hữu của Ecuador. Môi trường sống tự nhiên của chúng là rừng ẩm vùng đất thấp nhiệt đới hoặc cận nhiệt đới. Chúng hiện đang bị đe dọa vì mất môi trường sống.
Chú thích
Tham khảo
Quintana, C. & Pitman, N. 2003. Begonia asympeltata. 2006 IUCN Red List of Threatened Species. Truy cập 20 tháng 8 năm 2007.
Thực vật Ecuador
A | 30,315 |
https://war.wikipedia.org/wiki/Odynerus%20trilobus | Wikipedia | Open Web | CC-By-SA | 2,023 | Odynerus trilobus | https://war.wikipedia.org/w/index.php?title=Odynerus trilobus&action=history | Waray | Spoken | 34 | 65 | An Odynerus trilobus in uska species han Hymenoptera nga syahan ginhulagway ni Fabricius. An Odynerus trilobus in nahilalakip ha genus nga Odynerus, ngan familia nga Eumenidae. Waray hini subspecies nga nakalista.
Mga kasarigan
Odynerus | 42,344 |
https://id.wikipedia.org/wiki/Bruniaceae | Wikipedia | Open Web | CC-By-SA | 2,023 | Bruniaceae | https://id.wikipedia.org/w/index.php?title=Bruniaceae&action=history | Indonesian | Spoken | 34 | 83 | Bruniaceae adalah salah satu famili anggota tumbuhan berbunga. Menurut Sistem klasifikasi APG II suku ini belum dapat dimasukkan ke dalam ordo tertentu, tetapi termasuk dalam klad euasterids II (campanulids), bersama-sama dengan Asteraceae dan Campanulaceae. | 6,546 |
https://ar.wikipedia.org/wiki/%D8%A5%D9%8A%D8%B1%D8%A7%20%D8%A3%D9%84%D9%8A%D9%86%20%D9%87%D8%A7%D9%8A%D9%86%D8%B2 | Wikipedia | Open Web | CC-By-SA | 2,023 | إيرا ألين هاينز | https://ar.wikipedia.org/w/index.php?title=إيرا ألين هاينز&action=history | Arabic | Spoken | 57 | 172 | إيرا ألين هاينز هو ضابط أمريكي، ولد في 10 سبتمبر 1859 في كنتاكي في الولايات المتحدة، وتوفي في 24 فبراير 1955 في مينلو بارك في الولايات المتحدة.
مراجع
أشخاص من مينلو بارك (كاليفورنيا)
أفراد عسكريون من كاليفورنيا
أفراد عسكريون من كنتاكي
جنرالات القوات المسلحة الأمريكية في الحرب العالمية الأولى
خريجو الأكاديمية العسكرية الأمريكية
مواليد 1859
وفيات 1955 | 705 |
https://be-x-old.wikipedia.org/wiki/AGM-65%20Maverick | Wikipedia | Open Web | CC-By-SA | 2,023 | AGM-65 Maverick | https://be-x-old.wikipedia.org/w/index.php?title=AGM-65 Maverick&action=history | Belarusian (Taraškievica) | Spoken | 83 | 358 | AGM-65 Maverick ( — «валацуга») — амэрыканская тактычная ракета клясы «паветра-паверхня».
міні|зьлева|300пкс|Самалёт-штурмавік A-10 Thunderbolt II запускае ракету AGM-65
Прызначаная для апэратыўнага нанясеньня высокадакладных удараў па суперніку. Ракета дазваляе зьнішчаць добра браняваныя і рухаючыяся мэты ва ўмовах гарадзкой забудовы.
У 1991 годзе актыўна выкарыстоўваліся амэрыканцамі ў вайне з Іракам.
Баявое ўжываньне
AGM-65 шырока выкарыстоўваўся ВПС ЗША падчас апэрацыяў «Бура ў пустэльні» — па мэтах было выпушчана больш за 5000 ракет варыянтаў AGM-65B/D/G, у асноўным з штурмавікоў A-10A.
міні|зьлева|300пкс|Старт ракеты AGM-65 з самалёта F-20
Катэгорыя:Ракеты | 3,508 |
https://stackoverflow.com/questions/15595697 | StackExchange | Open Web | CC-By-SA | 2,013 | Stack Exchange | English | Spoken | 114 | 163 | Aptana Studio3 debugger not working
I am doing my 2D game project in Aptana Studio3. But when i click the debug button it goes to Aptana's home page. Also it shows the following error.
Socket connection error. Please try shutting down and restarting your web browser, and then run 'debug' again.
Accept timed out
What is the problem .?
Please help ...
If you are using Firefox,The problem may be with the Firebug installation;check the version .For some reason the version should not be the latest.It is better to allow Aptana studio to do the download of Fb and Aptana extension for FF.I had the same problem but was solved after doing as mentioned.
| 11,945 | |
https://ja.wikipedia.org/wiki/%E3%83%95%E3%83%AA%E3%83%BC%E3%83%89%E3%83%AA%E3%83%92%E3%83%BB%E3%82%BA%E3%83%BC%E3%83%94%E3%83%92 | Wikipedia | Open Web | CC-By-SA | 2,023 | フリードリヒ・ズーピヒ | https://ja.wikipedia.org/w/index.php?title=フリードリヒ・ズーピヒ&action=history | Japanese | Spoken | 54 | 1,469 | フリードリヒ・ズーピヒ(Friedrich Suppig、生没年不詳)は、18世紀前半に活動したドイツのバロックオルガン奏者で、音楽理論家、作曲家。
作品
ズーピヒについては、まだほとんどわかっておらず、1722年6月24日にドレスデンで記された2つの写本で知られているのみである。
写本のひとつは『音楽の算法(カルキュルス・ムジクス,Calculus musicus)』である。これは音律と調律法に関する論文であり、1オクターヴあたり19音からなる純正律の一種と、1オクターヴあたり31音からなる平均律(31平均律)を論じている。なお31平均律については、すでにルネサンス以降、イタリアでニコラ・ヴィチェンティーノ、オランダでクリスティアン・ホイヘンスらが言及しており、それらのドイツでの受容というべき論文である。
『音楽の算法』の表紙には、写本の日付と同年に記されたJ.S.バッハの平均律クラヴィーア曲集(ほどよく調律されたクラヴィーアのための曲集)第1巻自筆譜表紙とよく似た手書きの渦巻装飾が記されており、ズーピヒとバッハのどちらかが相手を参照したか、あるいは共通の祖型を参照した可能性が高い。
平均律クラヴィーア曲集は、平均律ではない何らかの音律に基づいて作曲されたが、1999年ドイツの数学者アンドレアス・シュパルシューによって、バッハが曲集の表紙に、渦巻装飾を通じて音律と調律法に対する指示を出していたという説が提出されて以来、渦巻装飾に関する議論が続いており、その関連でズーピヒにも関心が寄せられている。ジョン・チャールズ・フランシスの研究によると、ズーピヒの表紙にはさらなる音律が図式で示されている可能性もあるという。
もうひとつの写本は、『音楽の迷宮(ラビュリントゥス・ムジクス,Labyrinthus musicus)』である。短い序文とファンタジアという題が付いた長い音楽作品からなる。これは、24の調すべてを使用し、1オクターブあたり31の音程を持ち、すべての調で純正な長三度を可能にした(実質的に31平均律の)異名異音の鍵盤を持つオルガンもしくはチェンバロを対象としている。
ヘンデルの友人で、音楽理論家・オペラ歌手・外交官だったヨハン・マッテゾンが、ドイツ最初の音楽批評誌である『音楽批評(Critica musica,1722)』で『音楽の迷宮』について言及し、作者であるズーピヒをドレスデン郊外のオルガン奏者として紹介しているため、そこからバッハはズーピヒが24の調で作曲したこと、それを可能にする音律が存在することを知ったものと考えられる。
2つの写本は、1863年時点で、定期刊行物オイテルペ(Euterpe,1863年22号)でこの作品について言及したケーテンのルイ・キンドシャー(本名ハインリッヒ・カール・ルートヴィヒ・キンドシャー)が所有していた。写本にはドレスデン市政府への献呈が記されている。ドレスデン市に提出されなかったのか、ズーピヒに返還されたのか、複本であるのかは不明である。
2つの写本は、ルドルフ・ラッシュが編集した『調律と音律に関するライブラリー』の第3巻に収録され、1990年オランダのハウテンに本拠を置くディアパソン社から出版、広く知られるようになった。また『音楽の迷宮』の楽譜は、12平均律用の記譜ではあるが、エディション・バロック社からも出版されている。演奏時間1時間ほどの長大な作品である。
脚注
参考文献
Fredrich Suppig, Labyrinthus musicus & Calculus musicus, facsimile of the manuscripts. Tuning and Temperament Library volume 3, edited by Rudolf Rasch. Diapason Press, 1990.
John Charles Francis (2006) Friedrich Suppig's Diagrammatic Tunings.(フリードリヒ・ズーピヒの図形的調律について)
18世紀ドイツの人物
18世紀の音楽家
ドイツの作曲家
ドイツのオルガニスト
バロックの作曲家
音楽理論家 | 6,297 |
https://stackoverflow.com/questions/18086493 | StackExchange | Open Web | CC-By-SA | 2,013 | Stack Exchange | Adriaan Stander, BWS, Declan_K, Xperiaz X, https://stackoverflow.com/users/1311376, https://stackoverflow.com/users/144424, https://stackoverflow.com/users/2324286, https://stackoverflow.com/users/2501263 | English | Spoken | 415 | 650 | Modify MySQL internal date format
A date datatype in mySQL is of the format yyyy-mm-dd. I want it to store a date as dd-mm-yyyy.
All answers showed how to display date in a particular format. However I want to modify the format in which MySQL stores dates.
Is there anyway I can acheive this?
Why would you want to do that. It makes no sense whatso ever.
Why do care how the data is stored?
You cannot change the MSQL date storage format. You can use DATE_FORMAT() for displaying it in your display format.
Edit as per your comment:-
INSERT INTO useless_table (id, date) VALUES(
1, STR_TO_DATE('06/08/2013', '%m/%d/%Y'));
I want to use insert query and type ddmmyyyy rather than doing conversions to yyyymmdd everytime before I insert.
Yes it worked.
Unfortunately it does not answer my original question to change the way MySQL stores date. Because now, I have to do formatting every time I have to insert or read any value everytime. MySQL still storing date as YYYY-MM-DD but I want DD-MM-YYYY to be stored for simplicity
You cannot change the way the DB store date.
Those are are stored as YYYY-MM-DD in order to use lexicographic order to sort date. Any other format would lose that property, and thus the DB server wouldn't be able to efficiently sort dates.
As you apparently already have been told, you might change the date format in the SELECT query. If you really really want store date using some other format, you will probably have to use a CHAR(10) columns.
If you go that way, you will be able to search for equality in that column. But not to sort by date. Neither to find a date in a given range.
Hmm, That explains it.
Dates and times are stored in the SQL database in an internal format native to the SQL engine, the first 4 bytes stores the number of days since SQL Server's epoch (1st Jan 1900). The second 4 bytes stores the number of milliseconds after midnight.
You shouldn't be concerned with how the date is stored. You can retrieve the date (or date/time) in whatever format you like (or need).
Problems arised when trying to use insert query with ddmmyyyy
You need to format it on the insert then ... try this:
http://dev.mysql.com/doc/refman/5.5/en/date-and-time-functions.html#function_str-to-date
Suppose the column's name is time, you can use the following sql
SELECT YEAR(time) as year, MONTH(time) as month, DAY(time) as day FROM table
Then, just do as you wish.
| 34,097 |
https://ceb.wikipedia.org/wiki/Absidia%20fusca | Wikipedia | Open Web | CC-By-SA | 2,023 | Absidia fusca | https://ceb.wikipedia.org/w/index.php?title=Absidia fusca&action=history | Cebuano | Spoken | 49 | 85 | Espesye sa uhong sakop sa division nga Zygomycota, ug nga gihulagway ni Germaine Linnemann ni adtong 1936 ang Absidia fusca. Ang Absidia fusca sakop sa kahenera nga Absidia sa kabanay nga Mucoraceae. Pagka karon wala pay siak nga nalista ubos niini niya.
Ang mga gi basihan niini
Uhong
Absidia | 32,947 |
https://sd.wikipedia.org/wiki/%D8%AC%D8%A7%D9%86%D9%88%D8%B1%D9%8A | Wikipedia | Open Web | CC-By-SA | 2,023 | جانوري | https://sd.wikipedia.org/w/index.php?title=جانوري&action=history | Sindhi | Spoken | 255 | 956 | جانوِرِي هيءَ بلوچن جي هڪ ذات آهي.
شجرو
جلال خان کي ڪل چار پٽ ۽ هڪ ڌيءَ هئي، پٽن ۾ پهريون رند، ٻيو لاشاري، ٽيون هوت، چوٿون ڪورائي هو. سندس ڌيءَ جو نالو ’جتو‘ هو. هوت کي ٻه پٽ ٿيا، هڪ چانڊيو ۽ ٻيو ڪرمتي. جانوري ڪرمتيءَ جي اولاد مان آهن، سندن سردار غلام شاهه ولد دولت خان ڪرمتي هو، جيڪو ميرپورساڪري جو هڪ وڏو زميندار ٿي گذريو آهي. جانوري، چانڊين جي هڪ شاخ آهن، ڌيرڻ خان چانڊيو ۽ سندس هڪ ڀاڻيجو، نواب غيبي خان اول جا خاص ماڻهو هوندا هئا. هن خاندان مان علي بخش ۽ سٻڙ خان ڪلهوڙن جا درٻاري هئا. ميرن جي لشڪر ۾ ڪافي جانوري هئا، جيڪي کرڙي، مياڻي ۽ دٻي جي جنگين ۾ وڙهيا ۽ شهيد ٿيا هئا. شام فقير (اول) چانڊين جي جانوري قبيلي مان هو، جيڪو 800هه/ 1397ع ڌاري گذاري ويو. هن جانوري قبيلي جي سورهيائيءَ جا بلوچي ٻوليءَ ۾ بيت چيا آهن. اتر سنڌ جي ڪاڇي واري علائقي ۾ جانوري چانڊين جو هڪ مقام آهي، جنهن ۾ جانوري چانڊين جي ٻن قبيلن جا ماڻهو دفن ٿيل آهن، جن ۾ زهراڻي قبيلو، رستماڻي قبيلو شامل آهن. وراڻي قبيلو ۽ حملاڻي قبيلو ۽ انهن مان شهلي خان ۽ مبارڪ خان زهراڻي قبيلي جا هئا ۽ مشهور جرنيل ڌيرڻ خان، رستماڻي قبيلي مان هو. رئيس تيجو خان وراڻي قبيلي جو هو، مشهور سگهڙ ۽ شاعر سونا خان فقير حملاڻي قبيلي جو هو.
جانورين جا خاص پاڙا
بلنداڻي
بناڻي
بهاؤالداڻي
جگناڻي
جولياڻي
ڇٽاڻي
حملاڻي
دائوداڻي
دوداڻي
رجياڻي
رحيماڻي
زهراڻي
سوماراڻي
شيراڻي
صادقاڻي
صالمياتي
گلماڻي
گوماڻي
مارفاڻي
معراڻي
ميواڻي
ورياڻي
وليداڻي.
حوالا | 44,886 |
https://stackoverflow.com/questions/22629648 | StackExchange | Open Web | CC-By-SA | 2,014 | Stack Exchange | Ian Droogmans, Robert J. Clegg, https://stackoverflow.com/users/2335142, https://stackoverflow.com/users/735834 | English | Spoken | 202 | 287 | install iOS app with custom config
I'm trying to figure out how to change the config of an iOS app from outside the app or preferably while it is installed. I would like to change the base url of the api for different group of users.
Let's say we have 2 websites (fictive):
bikers.my-app.com
runners.my-app.com
When a biker installs the app from the website, the base api url should be bikers.my-app.com/api/ and runners.my-app.com/api/ for the runners.
From what i've found this is not possible when installing from the AppStore without creating 2 applications.
Is there something like an "app profile" users can install to change app settings?
As you mentioned - this is not possible once the app is in the app store. The easiest solution is creating a settings / profile screen that allows users to choose Running or Biking. Then have the app change the URL based on their selection.
Will wait for other insights otherwise your answer will be accepted.
We wanted to avoid this approach but I'm aware this could be the only option in the end.
Unless you have two different apps. Though that seems like overkill if the URL is the only difference between the two.
| 47,243 |
https://mathoverflow.net/questions/225646 | StackExchange | Open Web | CC-By-SA | 2,015 | Stack Exchange | ACL, Emil Jeřábek, Mikhail Katz, Todd Trimble, https://mathoverflow.net/users/10696, https://mathoverflow.net/users/12705, https://mathoverflow.net/users/28128, https://mathoverflow.net/users/2926 | English | Spoken | 815 | 1,441 | What is the precise relationship between o-minimal theory and Grothendieck's "Esquisse d'un programme"?
I have seen various references in the literature to such a connection but they tend to assume that the reader is familiar with the connection, and limit themselves to providing additional detail. So in broad terms, what is the precise connection between o-minimal models and Grothendieck's programme?
I would simply say that definable sets in o-minimal expansions of the real number field obey the desired properties outlined in the section on tame topology in the Esquisse, and hence could be regarded as the model-theoretic response to that section of the monograph. This is enunciated clearly in van den Dries's book Tame Topology and O-minimal Structures.
I was hoping for some more details, such as relation to semialgebraic and semianalytic sets as well as the status of current research in o-minimality with regard to the esquisse.
To define an o-minimal geometry, one gives oneself a family of functions from $\mathbf R^n$ to $\mathbf R^m$ ($m,n$ not specified), and one considers all definable subsets of $\mathbf R^n$, ie, those which can be defined by a mathematical expression using these basic functions, addition, multiplication, constant functions, the ordering symbol, logical connectives (AND, OR, NOT) and quantifiers (FORALL, EXISTS). A function is called definable if its graph is definable.
The geometry is said to be o-minimal if the only definable subsets of $\mathbf R$ (the real line) are finite unions of intervals.
These geometries are tame in the sense of Grothendieck's Esquisse, but what is remarkable is that the tameness axiom is on subsets of the line, not of higher dimensional $\mathbf R^n$. Here are a few tame properties of o-minimal geometries:
Every definable function $\mathbf R\to\mathbf R$ is piecewise monotone, piecewise $\mathbf C^k$ for every $k$. (No $\sin(1/x)$ curve, etc.)
The closure, the interior of a definable subset is definable (just by using the $\epsilon,\delta$ definition).
There is a cellular decomposition theorem. An open cell is a subset of $\mathbf R^n$ of the form, say,
$$ \{(x,t)\in \mathbf R^{n-1}\times\mathbf R\, ;\,
x\in A, \phi_-(x) < t<\phi_+(x) \}$$
where $A$ is an open cell in $\mathbf R^{n-1}$ and $\phi_-,\phi_+$ are definable functions on $A$ such that $\phi_-(x)<\phi_+(x)$ for every $x\in A$. (Actually, there are other cells similarly defined by replacing strict inequalities by large inequalities, and taking $\phi_-=-\infty$ or $\phi_+=+\infty$.) Then for every finite family $\mathscr A$ of definable subsets of $\mathbf R^n$, there is a finite partition of $\mathbf R^n$ into cells such that each element of $\mathscr A$ is a union of some cells.
A closed definable subset of $\mathbf R^n$ is locally contractible (no hawaiian earring).
There is a nice theory of dimension (Brouwer invariance of domain is not an issue, for example).
As indicated by Todd Trimble, the book of van den Dries, Tame Topology and O-minimal Structures explains this in quite a detail. Also, a remarkable theorem of Peterzil and Starchenko states that a complex analytic subspace of $\mathbf C^n$ which is definable (when you identify $\mathbf C^n$ with $\mathbf R^{2n}$) is automatically complex algebraic.
It is also a fundamental fact that there are many interesting examples of o-minimal geometries. Let's me list some of them:
Semialgebraic geometry (where definable subsets are semialgebraic sets); by Tarki's theorem, every semialgebraic set can be defined without quantifiers, hence you see that semialgebraic subsets of the line are finite union of intervals.
Take for a basic family of functions the restrictions to $[-1,1]^n$ of functions defined by a power series of radius of convergence $>1$. This geometry is o-minimal (Denef, van den Dries). In particular, compact analytic subsets generates an o-minimal geometry which contains real subanalytic sets.
Take only one basic function, namely the exponential function (defined on the whole real line). This geometry is o-minimal (Wilkie).
Combine the two preceding geometries; you still get an o-minimal geometry (van den Dries, Macintyre, Marker) and this was a crucial tool in the recent solution of the André-Oort conjecture (Pila, Tsimerman, Klingler, Ullmo, Yafaev).
Speissegger shows you can add solutions of a definable Pfaff equation, etc.
The commands \[ and \] don't work at MO.
The conclusion of Petezil-Starchenko is real-algebraic?
non, complex algebraic! I'll edit!
I take it the collection of all definable functions between fixed source and target is also definable? This would answer Grothendieck's dream and should probably be mentioned in the answer.
It is not clear to me that this requirement in Grothendieck's esquisse (“passing from $X$ to $\mathop{\rm Aut}(X)$ leaves the world of finite dimensional spaces”, he says) is satisfied by o-minimal geometry. At least not obviously.
Definable functions needn’t be piecewise $C^\infty$. They are piecewise $C^k$ for every finite $k$, but you may need finer and finer pieces as $k$ gets larger. See the comments at http://mathoverflow.net/questions/234337 .
@ACL, I take it you mean to take a complex analytic subset of $\mathbb{C}^n$.
@EmilJeřábek Thanks for the correction. I edited accordingly.
| 30,396 |
https://stackoverflow.com/questions/74383472 | StackExchange | Open Web | CC-By-SA | 2,022 | Stack Exchange | Ben Thul, Dai, Igor, John Cappelletti, Roger Wolf, https://stackoverflow.com/users/1570000, https://stackoverflow.com/users/159145, https://stackoverflow.com/users/3925232, https://stackoverflow.com/users/568209, https://stackoverflow.com/users/945871 | English | Spoken | 465 | 692 | Get non-system DB names
ALL,
I just tried the query found here, but it gave me all names.
How do I filter out system databases names?
TIA!
EDIT:
The suggested solutions contains hardcoded values, either names or hardcoded number.
However, those are different depending on some other parameters.
WHERE name NOT IN ('master', 'tempdb', 'model', 'msdb') ... or ... database_id>4
Does this answer your question? How can I get a list of all of the user databases via t-sql?
@JohnCappelletti, Are there only 4? For all versions of MS SQL?
@Dai, no it doesn't. It uses a hardcoded name or the hardcoded constant
The linked answer is too old for this to be a duplicate.
@Igor - I would invite you to either refute the answer provided by Dai with a reason why it doesn't work or accept that that's the logic that MS uses.
@BenThul, I accepted the answer from Roger as he gave a full and concise explanation of what is happening. Thx.
Until Microsoft will add is_ms_shipped column to the sys.databases system view, there will be no complete answer to your question.
The 4 default system databases have already been mentioned earlier. Their names are locked, so you can hardcode them pretty safely. Other databases not created explicitly by users are (the answer is valid for up to SQL Server 2019, and possibly 2022 versions):
Replication distributor: has sys.databases.is_distributor = 1
SSISDB: there is no simple solution here, as afaik the database name can be changed during SSIS installation. Your best bet is probably hardcoding the default.
Things that are not user databases in the strict sense:
Database shapshots: have sys.databases.source_database_id is not null
Schema and statistics-only copy of a database: the query select databasepropertyex('MyDbName', 'IsClone') returns 1.
NB: Because Microsoft adds new features in every major version of SQL Server, this answer should not be considered 100% complete in the future.
understood. Thx for the explanation. Let's blame MS for not having that column.
There have typically been 4 system databases in a normal sql sever install for the last couple of decades.
These are master, model, msdb and tempdb and they have used IDs 1 through 4.
There are other system databases that you may run into, distribution or SSIDDB for example. These do not follow any particular ID patterns as it can depend on when they were installed, and what may have been created on that server prior to the installation.
For the most part, ignoring IDs 1 though 4 will, on most versions of SQL Server ignore those 4 system databases, but this doesn't mean there are not additional ones installed.
@PatrickHirst, the keyword here is typically and so basically it looks like there is no way to filter out the system DBs reliably without hardcoding anything, right?
| 39,447 |
https://en.wikipedia.org/wiki/ACM%20SIGOPS | Wikipedia | Open Web | CC-By-SA | 2,023 | ACM SIGOPS | https://en.wikipedia.org/w/index.php?title=ACM SIGOPS&action=history | English | Spoken | 319 | 517 | ACM SIGOPS is the Association for Computing Machinery's Special Interest Group on Operating Systems, an international community of students, faculty, researchers, and practitioners associated with research and development related to operating systems. The organization sponsors international conferences related to computer systems, operating systems, computer architectures, distributed computing, and virtual environments. In addition, the organization offers multiple awards recognizing outstanding participants in the field, including the Dennis M. Ritchie Doctoral Dissertation Award, in honor of Dennis Ritchie, co-creator of the C programming language and Unix operating system.
History
In 1965, Henriette Avram started the ACM Special Interest Committee on Time-Sharing (SICTIME), and Arthur M. Rosenberg became the first chair. In 1968, the name was changed to ACM SIGOPS. By 1969, the organization included nearly 1000 members.
Conferences
ACM SIGOPS sponsors the following industry conferences, some independently and some in partnership with industry participants such as ACM SIGPLAN, USENIX, Oracle, Microsoft, and VMWare.
APSYS: Asia-Pacific Workshop on Systems
ASPLOS: International Conference on Architectural Support for Programming Languages and Operating Systems
EuroSys: European Conference on Computer Systems
OSDI: USENIX Symposium on Operating Systems Design and Implementation
PODC: Symposium on Principles of Distributed Computing
SOCC: International Symposium on Cloud Computing
SOSP: Symposium on Operating Systems Principles
SYSTOR: ACM International Systems and Storage Conference
VEE: International Conference on Virtual Execution Environments
Hall of Fame
ACM SIGOPS includes a Hall of Fame Award, started in 2005, recognizing influential papers from ten or more years in the past. Notable recipients include:
Leslie Lamport (2013)
Barbara Liskov (2012)
Richard Rashid
Dennis Ritchie (2002)
Journal
ACM SIGOPS publishes the Operating Systems Review (OSR), a forum for topics including operating systems and architecture for multiprogramming, multiprocessing, and time-sharing, and computer system modeling and analysis.
See also
Cloud computing
Computer engineering
Computer multitasking
Computer science
Computing
Kernel
List of operating systems
Operating system
Timeline of operating systems
Virtual machine
References
Association for Computing Machinery Special Interest Groups
International professional associations | 17,228 |
oebR2Q8vcmI_1 | Youtube-Commons | Open Web | CC-By | null | STM32WL hardware and RF guidelines - 3 - RF matching & filtering | None | English | Spoken | 1,935 | 2,353 | Hello, in this video we will focus on impedance matching and filtering of the RF part of the STN32WL. The RF circuits between the STN32WL and the antenna can be divided into three main parts, transmitter impedance matching and filtering, receiver impedance matching and balloon, and the antenna matching network. There is a lot of information on this topic which has been divided into several shorter videos. This video covers the analytical description. It shows meaning and basic principle of each block. To illustrate the principle, calculations are based on idle components and conditions. Then there is another series of videos showing practical measurement taken on a real board, in this case STN32WL nuclear board. The series contains several videos, each focusing on a different part of RF circuit. Why is this topic about impedance matching and filtering needed? Impedance matching is needed for optimization of working conditions for the selected band. For minimizing power loss due to impedance mismatch, for example in case of transmitter it improves output power and in case of receiver it improves sensitivity. And to optimize overall energy consumption. In case of filtering, the transmitter is based on a highly efficient, non-linear class of RF power amplifier that generates significant harmonic spectral content at the expense of power consumption. These products must be filtered to pass regulatory certification limits. In this slide, we will focus on the transmitter part. The antenna cannot be connected directly to the transmitter output of the STN32WL due to impedance mismatch and spectral content of the signal. The radiated power would be low and can violate regulatory limits due to unwanted spectral content. If we add matching network, it helps with impedance mismatch. The radiated power will be maximized. The spurious and harmonic products remain. To suppress these products, a filter must be added to the signal path. Now the signal has parameters we wanted and can be transmitted by the antenna. STN32WL has two transmitter outputs, one low power and one high power. If both outputs are used in the design, each needs its own impedance matching and filter. In case of receiver part, we cannot also connect the antenna directly. The receiver input is differential and has different impedance than the antenna. We need to implement Balloon, which transforms single-ended signal to differential under impedance matching network. It minimizes impedance mismatch and improves receiver sensitivity. Typical RF circuit, which implements both transmitter and receiver parts, looks like this. We can see the blocks we discussed earlier for isolated transmitter and receiver. What is new is the RF switch which switches the antenna to the transmitter or receiver part. The system is half-tuplex. It means it can transmit or receive but not at the same time. This structure is general, but there are also some variants. One uses IPD, which means Integrated Passive Device. The IPD is a component that implements all passive components like Balloon, matching network and filters in one component. It's smaller and easier to implement that variant with discrete parts. Another variant doesn't use RF switch. Both transmitter and receiver parts are connected in one point. This is cheaper and easy to implement. This advantage is a worse transmitter and receiver performance. The RF switch normally serves also as an isolator, which isolates both parts. Now this isolation is missing. In this video, we will discuss variant with the RF switch. Okay, let's take a closer look at the transmitter path. As we mentioned earlier, spectral content of the transmitter output can be very rich. With the desired signal, there are harmonic frequencies and discrete spurs. These unwanted products must be suppressed. The signal that we want at the antenna may look like this. The desired signal is maximized. This can be achieved by good impedance matching. All harmonics and spurious products are below regulatory limits. The transmitter path can be divided into several smaller parts. Power amplifier biasing and filtering. Transmitter matching network, notch filter, low pass filter, RF switch and the antenna matching network. These C blocks are needed for the RF switch operation. The RF switch and the antenna matching network are shared with the receiver path. Here is a principle scheme of the transmitter output. Internal power regulator powers the power amplifier transistor through the RF choke. Output signal is not harmonic, spectral content is rich. To get the right signal, it must be filtered and matched. STM32WL has two output pins, which differ in output power. Low power output, which has output power up to 15 dBm and high power output, which has output power up to 22 dBm. Impedance of the output pins is not 50 ohm. It is also not a constant value. The impedance depends on many parameters like package, frequency, transmitted output power and also PCB layout. We measured optimal loading or matching impedances of the output pins to simplify design of the matching network. Detailed measurements can be found in the application node AN 5457. Here is the recommended structure of the power amplifier biasing. A voltage from the internal regulator powers the power amplifier through the RF choke. Impedent value depends on the working band, the two capacitors, filter, the voltage. Their value is fixed. The purpose of this block is to match the power amplifier output impedance to 50 ohms. For example, for frequency 868 MHz at 14 dBm, the optimal loading impedance is this value. We can assume power amplifier impedance as complex conjugated value of the optimal loading impedance. Based on this, equivalent circuit of the power amplifier output can be modeled as a series connection of a resistor and a capacitor with these values. In the block diagram, we can see equivalent circuit of the power amplifier output, power amplifier bias circuit and the matching network structure which match the power amplifier impedance to 50 ohms. Values of the matching network components can be calculated in the Smith chart. If this point is impedance of the power amplifier, then if we use these values of a serial inductor and parallel capacitor, we get 50 ohms at the output. If the distance between the RF output pin and the matching network is too long, we must consider also impact of the transmission line. It means that impedance at the beginning of the transmission line is transformed to another impedance at the end. This depends on the length and impedance of the transmission line. Another block is the notch filter which suppresses the second harmonic. Here is the filter structure. Recommended values can be obtained by the following steps. L2 is about three quarters of L1. Resonance frequency of L2 and C2 is around second harmonic frequency. To have a good matching, C1 and C3 might be tweaked. In this chart are ideal return loss and transmission of the notch filter. It's matched for the fundamental harmonic and suppresses the second harmonic. Matching of the filter can be calculated in the Smith chart. The low pass filter filters the higher harmonics. Recommended structure is P-ledder network. Second filter approximation is third order Chebyshev which is matched for the fundamental frequency. Here is an example of the filter and the simulation results. We can see impedance matching and transmission. Black curves are results with ideal components and the red ones are results with S-parameters of real components. Power capacitors of the filter can be affected by adjacent capacitors. In this case, these capacitors must be adjusted. Capacitors between the notch filter and the low pass filter can be combined into one capacitor. The capacitor close to the RF switch is usually lower due to parasitic capacitance of the RF switch. The RF switch switches shared antenna to the transmitter or receiver circuit. It also isolates transmitter and receiver branches. Typical parameters of the RF switch are listed here. For example, the following RF switches can be used in designs with STM32WL. The DC blocks block DC current to the RF switch. They are mandatory for some RF switches. DC block capacitors might have little effect on the parameters of the low pass filter. When fine tuning the low pass filter, the effect of these DC blocking capacitors must be taken into account. Now let's take a closer look at the receiver path. Calls of the receiver circuit are impedance matching to have good receiver sensitivity and single ended to differential signal conversion. Typical structure of the receiver circuit looks like this. A brief, simplified description of the components is as follows. Inductor L5 matches reactive path of the LNA. This inductor is used for impedance matching together with C11, C12 is a path of so-called balloon light circuit, and C13 can be used for impedance matching or reducing of harmonics. This analytical structure can be simplified like this. This structure is implemented in reference designs with STM32WL. Like the transmitter, also receiver impedance is not 50 ohms or a fixed value. This depends on many parameters like package, frequency or PCB. Recommended matching on the impedances were measured and are described in application note 5457. On the right side is the example of the matching in the Smith chart. We assume QFN package and frequency 868 MHz. Compatible impedance for these parameters is 52 plus J102 ohms. We start matching from the receiver side, so we use complex conjugated value. The goal is to set L5 and capacitors C11 and C12 to get as close as possible to 50 ohms in the Smith chart. Differential transmission line between the STM32WL receiver pins and the nearest passive components has also impact to the optimum values of these passive components. The greater the length, the more it transforms the impedance. This must be taken into account when fine-tuning the receiver matching network. Balloon converts single-ended signal to differential. In designs with STM32WL we don't implement real balloon but so-called balloon-like circuit. It consists of three components. Detailed calculation of these components can be found in the application note 5457. This structure has less losses than the real balloon. The main difference between the balloon and this balloon-like circuit is that this circuit has no exact 180° phase difference. An exact 180° phase difference would only exist if the equivalent input resistance of the LNA was very large. This balloon-like circuit is a good compromise between cost, PCB surface, losses, and performance. Now let's discuss the antenna matching network. The antenna matching network matches the antenna impedance to 50 ohms. Typically, it has p-ladder topology on the PCB but only one half is usually used. The values of the components depend on the specific impedance of the antenna. For example, if the antenna has impedance 20 plus J10 ohms, we can use an inductor L4 and capacitor C7 with these values to get to 50 ohms. C8 is unused. If the antenna matching network is in the right configuration, for example CLC structure, it also behaves like a low-pass filter. This additional filter is needed if the high-power output is used. It's because high-power output generates strong harmonics and in regions where this power is allowed are more strict requirements for harmonics level. The matching and filtering properties of the CLC structure must be fine-tuned together. If the high-power output is used and the antenna matching needs a different structure than a low-pass filter, then additional Pi section for low-pass filter is recommended. It can be used also if better margin from the certification level is needed for harmonics and spurious. Adjacent components can be used as one component if they are of the same type. Few words at the end. | 24,302 |
https://mathoverflow.net/questions/224977 | StackExchange | Open Web | CC-By-SA | 2,015 | Stack Exchange | Douglas Zare, Gerhard Paseman, Richard Stanley, https://mathoverflow.net/users/2807, https://mathoverflow.net/users/2954, https://mathoverflow.net/users/3402 | English | Spoken | 180 | 435 | Construction of $n$ makes $s_2(nk)<s_2(n)$
$s_2(n)$ denotes the sum of the standard base-2 digits of $n$.
For a fixed odd number $k>1$, can we construct $n\in \mathbb{Z}^+$, to make $s_2(nk)<s_2(n)$?
To clarify, that's not $s_2(nk) \lt s_2(k)$. For example, if $k=7$, we can take $n=23=10111_2$ and $nk=161=10100001_2$.
If $k=2^m+1$ then we would have to have $nk=2^r$, which is impossible.
For example, if $k=3$, then $s_2(33) = 2 \lt s_2(11)=3$.
Indeed, taking inspiration from both Douglas and Richard: Find r so that k divides 2^r + 1. Gerhard "How Can It Go Wrong?" Paseman, 2015.11.30
Yes, basically because $1/k$ has infinitely many $1$s in its binary expansion.
Let $n=\lceil 2^t/k \rceil$ for $t$ large enough, larger than the length of the period of $1/k$ times (the number of digits of $k$ plus $2$). Then $nk$ is just over $2^t$, $nk \lt 2^t+k$, so $s_2(nk)$ is at most $1$ more than the number of digits of $k$, but $s_2(n)$ is greater than the number of digits plus $2$.
I have a more straightforward solution: Let $m=\lfloor \log_2 k \rfloor +1$, and $n=2^{2m}-2^m-1$.
| 19,304 |
https://stackoverflow.com/questions/74339386 | StackExchange | Open Web | CC-By-SA | 2,022 | Stack Exchange | Dai, https://stackoverflow.com/users/12555726, https://stackoverflow.com/users/159145, rafamaniac | English | Spoken | 175 | 285 | Composite Key with Date Key
I have a Dimension which uses a composite Primary key to identify a single row (3 keys), and one of those keys happens to be the Date from the Source Table. This Date from the Source i do a Left Join join with the Date Dimension to populate the Fact Table. Is it a problem that i would have Date in the Fact table (FK_Date) and also in this Dimension?
CREATE TABLE [dbo].[Dim_Stg_Visitor]
(
[TestCall] INT NOT NULL,
[VisitorTD] INT NOT NULL,
[Date] Date NOT NULL,
[ISP] NVARCHAR(250) NOT NULL,
[Origin] INT NOT NULL,
[SubOrigin] INT NOT NULL,
[Page] INT NOT NULL,
[SubContact] INT NOT NULL,
...
PRIMARY KEY (TestCall, VisitorTD, Date)
);
No, it shouldn't cause any issues - a date is just a simple 3-byte scalar value - what makes you think it might cause issues?
I am just wondering because the date key will be repeating in the fact table and in the dimension. But guess i have no choice here since it’s part of the composite
| 21,728 |
https://ceb.wikipedia.org/wiki/Kenyentulus%20dolichadeni | Wikipedia | Open Web | CC-By-SA | 2,023 | Kenyentulus dolichadeni | https://ceb.wikipedia.org/w/index.php?title=Kenyentulus dolichadeni&action=history | Cebuano | Spoken | 52 | 104 | Kaliwatan sa insekto ang Kenyentulus dolichadeni. Una ning gihulagway ni Yin ni adtong 1987. Ang Kenyentulus dolichadeni 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 | 49,811 |
https://stackoverflow.com/questions/54848223 | StackExchange | Open Web | CC-By-SA | 2,019 | Stack Exchange | greybeard, https://stackoverflow.com/users/3789665 | English | Spoken | 273 | 513 | One hot encoding for ages categorical data
When trying to implement encoding for the below categories using one hot encoder, I got a couldn't convert string to float error.
['0-17', '55+', '26-35', '46-50', '51-55', '36-45', '18-25']
(55 appears twice.) Without the code you were using, it is hard to recommend what to change.
I made something real quick that should work. You will see that I had a really nasty looking one-liner for preconditioning your limits; however, it will be much easier if you just convert the limits directly to the proper format.
Essentially, this just iterates through a list of limits and makes comparisons to the limits. If the sample of data is less than the limit, we make that index a 1 and break.
import random
# str_limits = ['0-17', '55+', '26-35', '46-50', '51-55', '36-45', '18-25']
#
# oneline conditioning for the limit string format
# limits = sorted(list(filter(lambda x: not x.endswith("+"), map(lambda v: v.split("-")[-1], str_limits))))
# limits.append('1000')
# do this instead
limits = sorted([17, 35, 50, 55, 45, 25, 1000])
# sample 100 random datapoints between 0 and 65 for testing
samples = [random.choice(list(range(65))) for i in range(100)]
onehot = [] # this is where we will store our one-hot encodings
for sample in samples:
row = [0]*len(limits) # preallocating a list
for i, limit in enumerate(limits):
if sample <= limit:
row[i] = 1
break
# storing that sample's onehot into a onehot list of lists
onehot.append(row)
for i in range(10):
print("{}: {}".format(onehot[i], samples[i]))
I am not sure about the specifics of your implementation, but you are probably forgetting to convert from a string to an integer at some point.
| 35,425 |
https://stackoverflow.com/questions/66554637 | StackExchange | Open Web | CC-By-SA | 2,021 | Stack Exchange | English | Spoken | 309 | 720 | In gradle, what is the difference betweeen javaexec and a JavaExec task?
For example, I can have a JavaExec task:
task javaExecCaseA(type: JavaExec) {
javaLauncher = javaToolchains.launcherFor {
languageVersion = JavaLanguageVersion.of(11)
}
classpath = files("MySimpleProgram.jar")
}
or, inside a generic task:
task javaExecCaseB {
doLast {
javaexec {
classpath = files("MySimpleProgram.jar")
}
}
}
I haven't figured out how to specify the JavaLanguageVersion in the 2nd case (javaExecCaseB).
The bigger question though, is what is the difference?
I've tried various ways to set the version in javaExecCaseB, but I end up with an error like:
Could not set unknown property 'javaLauncher' for object of type org.gradle.process.internal.DefaultJavaExecAction_Decorated
I have found that the task is the gradle "JavaExec" task.
And the 2nd case, javaexec is a Project method.
I began this quest to find a way to run Java programs using a different JVM than gradle itself is using (set from an environment variable or command line when running gradle).
I was able to get it to work in both cases:
ext {
MyJvmVersion = 11
}
task SampleJavaExec1(type: JavaExec) {
// Example task for using a custom JVM version with a JavaExec task
javaLauncher = javaToolchains.launcherFor {
languageVersion = JavaLanguageVersion.of(MyJvmVersion as int)
}
environment['JAVA_HOME'] = javaLauncher.get().metadata.installationPath.asFile.absolutePath
classpath = files("MySimpleProgram.jar")
}
task SampleJavaExec2 {
// Example task for using a custom JVM version with the javaexec method
doLast {
javaexec {
environment['JAVA_HOME'] = "C:\\Program Files\\AdoptOpenJDK\\jdk-11.0.10.9-hotspot"
executable = "C:\\Program Files\\AdoptOpenJDK\\jdk-11.0.10.9-hotspot\\bin\\java.exe"
classpath = files("MySimpleProgram.jar")
}
}
}
In the 2nd case, javaexec() doesn't appear to have a "javaLauncher".
Instead of hardcoding a path, I also found that I can use javaLauncher to find it for me by adding this code inside the javaexec{} block:
javaLauncher = javaToolchains.launcherFor {
languageVersion = JavaLanguageVersion.of(MyJvmVersion as int)
}
environment['JAVA_HOME'] = javaLauncher.get().metadata.installationPath.asFile.absolutePath
This should invoke the auto download JVM resolution as well, but I've not tested that part.
| 266 | |
https://stackoverflow.com/questions/20931758 | StackExchange | Open Web | CC-By-SA | 2,014 | Stack Exchange | DaSourcerer, Ejaz Karim, Let me see, Lex Bryan, M I, Manquer, https://stackoverflow.com/users/1305280, https://stackoverflow.com/users/1496419, https://stackoverflow.com/users/1900483, https://stackoverflow.com/users/2746474, https://stackoverflow.com/users/2799319, https://stackoverflow.com/users/3012385 | English | Spoken | 613 | 1,077 | Url not resolved on live server, working fine on local
My site was working perfectly on localhost everything was going good. When I uploaded it to the live server it works just again except one controller (UserPersonalityController.php)
All the controllers parsed and resolved perfectly except only one controller.
Before you answer let me tell you that
- My controller is uploaded (Not missing)
- I have checked by changing route but it couldn't resolved the UserPersonalityController.
'urlManager' => array(
'urlFormat' => 'path',
'showScriptName' => false,
'caseSensitive' => false,
'rules' => array(
'signup' => 'Credentials/create',
'signup/<id:\d+>' => 'User/create',
'signup/lookingfor/<id:\d+>' => 'lookingfor/create',
'signup/personality/<id:\w+>' => 'UserPersonality/create',
//checked by commenting above line, still problem occurs
'people' => 'credentials/index',
'people/*' => 'Credentials/index',
....
Do you have any idea why this happens?
I don't know but may be it help. Did you tried it using like 'signup/personality/id:\w+' => 'userPersonality/create',
use user instead of User.
have you enabled rewrite engine on apache ? Either through .htaccess or your httpd.conf ?
Yes I have enabled rewrite engine. All other controllers get called correctly but this one has problem.
does it throw any kind of error or exception??
For Url Management to work, first apache has to pass the url to yii only then yii can run the corresponding controller/action . Normally apache would process these urls as directories, and try to find corresponding files in these locations
You can create .htaccess file like this and place it in your root directory,
RewriteEngine on
# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# otherwise forward it to index.php
RewriteRule . index.php
Note: For this to work you need to have rewrite engine enabled in apache config
You can do so with the following set of commands
In order to use mod_rewrite you can type the following command in the terminal:
a2enmod rewrite
Restart apache2 after
/etc/init.d/apache2 restart
or
service apache2 restart // (Ubuntu/Debian)
The service script is available on RHEL/Fedora as well. OTOH a2enmod is pretty much a speciality of Debian/Ubuntu. Just saying.
Lol!.. i actually meant to say the whole thing is pretty much for debian/Ubuntu..
Thanks for the answer. This is not solution for my problem. All Other Controllers are resolved only this is not resolved.
my apologizes, It wasn't clear from your question if this issue is relevant to only one controller or all. Sometimes I forget to change the config.php when loading classes which are in non standard locations on the server, since config.php is usually gitignored,perhaps check if it is something on that line?
I've now answer of my question. As I have came across with the problems for several days. My local is in windows where files and directories are not case sensitive that's why it was working just fine. When I uploaded my site to the server (linux) it treats all file names and directories as case sensitive.
So controller UserPersonalityController was not same as UserpersonalityController because of the configuration of url manager in app.
'urlManager' => array(
'urlFormat' => 'path',
'showScriptName' => false,
'caseSensitive' => false, //
The simple solution to the problem is to keep lower case names of controllers.
UserPersonalityController.php
UserpersonalityController.php
//Both above files are treated as completely different ones on linux while on windows
//they are same files.
Note Never capitalize any letter between controller names. First letter and letter C of controller must be capital. In between never keep any letter capital as you may run into problems. There might be other solutions to the problem. But I've solved by changing file names to lower case.
Further Reading: http://www.yiiframework.com/forum/index.php/topic/651-controller-file-name-case-sensitive/
took me an hour to debug till I found your post. thanks.
| 20,539 |
https://ar.wikipedia.org/wiki/%D8%AC%D9%88%D9%86%20%D9%84%D9%88%D8%AF%D9%88%D9%86%20%D9%85%D8%A7%D9%83%20%D8%A2%D8%AF%D9%85 | Wikipedia | Open Web | CC-By-SA | 2,023 | جون لودون ماك آدم | https://ar.wikipedia.org/w/index.php?title=جون لودون ماك آدم&action=history | Arabic | Spoken | 80 | 238 | جون لودون ماك أدم هو مهندس اسكتلندي ولد في(21 أيلول / سبتمبر 1756 وتوفي في 26 تشرين الثاني / نوفمبر 1836).
كان المسؤول على الطرق في اسكتلندا ثم بريستول، ويعتبر أول من نفذ نظام تعبيد الطرق بالحجر المكسر الذي لا زال يحمل حتى الآن اسمه.
وأدخله فيما بعد إلى باريس بفرنسا في عام 1849.
روابط خارجية
مراجع
أشخاص من الثورة الصناعية
أشخاص من جنوب أيرشاير
كتاب غير روائيين إسكتلنديون
مخترعون إسكتلنديون
مهندسون إسكتلنديون
مهندسون مدنيون إسكتلنديون
مواليد 1756
وفيات 1836 | 32,121 |
https://ca.wikipedia.org/wiki/Jimmy%20Lai | Wikipedia | Open Web | CC-By-SA | 2,023 | Jimmy Lai | https://ca.wikipedia.org/w/index.php?title=Jimmy Lai&action=history | Catalan | Spoken | 201 | 390 | Lai Chee-Ying (xinès: 黎智英), més conegut com a Jimmy Lai (Guangdong, 1947) és un empresari, emprenedor i activista polític de Hong Kong.
Fundador de l'empresa minorista tèxtil, de roba i complements, Giordano, i també de Next Digital (anteriorment Next Media), una empresa de mitjans de comunicació a Hong Kong i un grup mediàtic en llengua xinesa, és un dels principals col·laboradors del "camp prodemocràcia" a Hong Kong, especialment al Partit Demòcratic.
El febrer del 2020, la policia xinesa el va detenir amb la intenció de presentar càrrecs en contra seva per haver participat en una reunió no autoritzada a favor del sufragi universal l'agost d'aquest mateix any, en plena onada de manifestacions contra el govern de Hong Kong, que es va acabar convertint en un dels dies més agitats de tot el període de les mobilitzacions. Malgrat que Lai està mig retirat de l'activitat pública, encara exercia un paper de guia i mentor per a reporters occidentals i joves opositors. La Xina considera que la seva influència continua essent extraordinària fins al punt d'haver mantingut reunions amb el vicepresident dels Estats Units, Mike Pence.
Referències
Empresaris asiàtics
Activistes xinesos
Persones de Canton
Activistes britànics
Empresaris britànics
Naixements del 1947
Time 100 | 18,720 |
https://ms.wikipedia.org/wiki/Mi%C4%99dzych%C3%B3d | Wikipedia | Open Web | CC-By-SA | 2,023 | Międzychód | https://ms.wikipedia.org/w/index.php?title=Międzychód&action=history | Malay | Spoken | 14 | 34 | Międzychód merupakan sebuah bandaraya yang terletak di wilayah Poland Raya, Poland.
Bandaraya di Poland | 34,489 |
https://stackoverflow.com/questions/40879068 | StackExchange | Open Web | CC-By-SA | 2,016 | Stack Exchange | Chaolong_Liao, Fallenreaper, Tushar Niras, https://stackoverflow.com/users/1404049, https://stackoverflow.com/users/4049331, https://stackoverflow.com/users/4733584, https://stackoverflow.com/users/7062970, https://stackoverflow.com/users/839957, maxymoo, palazzo train | English | Spoken | 387 | 595 | How to release a python program to user
I have developed a python program by anaconda as my development environment. How can I package my python program (let say it is just 1 .py file now) and distribute to user's PC for them to run?
You looking for something like: py2exe?
No, i am thinking how to deliver the python without converting to exe in this question. Is it converting to exe the only way to release to user PC?
pip+github is good if they have a github and can use a terminal
@palazzotrain it depends on how competent the users are. Max said PIP and GITHUB is a great way to get some code in place and create a module or egg file. If you want the entire thing to be self contained in 1 file that is built for non-computationally competent individuals, packaging python and all the dependancies into an exe is a solid approach.
@Fallenreaper, yes i am targeting to non-computationally competent individuals. But another problem is I don't want to install other package like py2exe (if possible) because my company has a very strict control to software installation. I have anaconda installed already on my PC, how can I utilize it and make a simple package ?
If the software (*.py) is for end users and they are non-developers, then it is btter to share your python file with FTP or network share.
what does the program do? it might be possible to host it somewhere (possibly on your own machine) and have the users interact through a web ui. python is not very friendly for distributing/creating self-contained executables unfortuantely, it's one of the major weaknesses of the language.
the program just reads a file (also provide by me) and then output some text.
use pyinstaller:
pip install pyinstaller
and then:
pyinstaller -F mycript.py
this looks very interesting, never seen it
@palazzotrain if you dont want to use py2exe, pyinstaller works too. Granted, pip install does install the pyinstaller but that might be able to circumvent the normal "installing an exe" kind of approach
py2exe only works for windows.as a mac user,I prefer pyinstaller :)
Maybe you can follow the step of the pages:
http://docs.python-guide.org/en/latest/shipping/packaging/
https://python-packaging-user-guide.readthedocs.io/
Make a script in setup.py; upload your package; let your users install by pip
Then use it.
| 15,049 |
https://tex.stackexchange.com/questions/247915 | StackExchange | Open Web | CC-By-SA | 2,015 | Stack Exchange | Guido, Johannes_B, Luca Matteis, Sigur, https://tex.stackexchange.com/users/14757, https://tex.stackexchange.com/users/16895, https://tex.stackexchange.com/users/37907, https://tex.stackexchange.com/users/79267 | English | Spoken | 187 | 328 | LNCS template looks different
I found several papers, such as this, generated through the LNCS template that look different from the ones I'm able to generate. Does anybody know why? How can I generate the former?
Are you using this? ftp://ftp.springer.de/pub/tex/latex/llncs/latex2e/llncs2e.zip
Yes and as you can see even the PDF in that zip is different from the style I'm looking for.
The difference is in the font used. Simplest way is to use the \usepackage{mathptmx} package to load times font. Other alternatives are the newtx packages (i.e., newtxtext and newtxmath)
Not sure that's the only difference. Check for example the difference with the "keywords" section width. I will try the fonts.
You're right the fonts did the trick!
did you put \keyword inside the abstract?
@Guido Wanna write a short answer about the fonts?
@Guido An answer would be nice. I would even upvote it ;-)
The difference is in the font used.The simplest way is to use the \usepackage{mathptmx} package to load times font. Other alternatives are the newtx packages (i.e., newtxtext and newtxmath).
However, recently Springer will revert back all LaTeX papers to Computer Modern.
| 24,720 |
https://es.wikipedia.org/wiki/Eustomias%20achirus | Wikipedia | Open Web | CC-By-SA | 2,023 | Eustomias achirus | https://es.wikipedia.org/w/index.php?title=Eustomias achirus&action=history | Spanish | Spoken | 90 | 165 | Eustomias achirus es una especie de pez de la familia Stomiidae en el orden de los Stomiiformes.
Morfología
• Los machos pueden llegar alcanzar los 16,7 cm de longitud total.
Hábitat
Es un pez de mar y de aguas profundas que vive hasta 200 m de profundidad.
Distribución geográfica
Se encuentra en el Atlántico oriental (desde el Sahara Occidental hasta Angola), el Atlántico occidental (entre 41 ° N-9 ° N y, también, al Golfo de México), el Índico y el Pacífico.
Referencias
Enlaces externos
Catalogue of Life (en inglés)
achirus | 566 |
https://cs.wikipedia.org/wiki/Nick%20Willis | Wikipedia | Open Web | CC-By-SA | 2,023 | Nick Willis | https://cs.wikipedia.org/w/index.php?title=Nick Willis&action=history | Czech | Spoken | 220 | 552 | Nicholas Ian Willis (* 25. dubna 1983, Lower Hutt) je novozélandský atlet, běžec, který se věnuje středním tratím.
Kariéra
V roce 2002 na juniorském mistrovství světa v Kingstonu doběhl ve finále běhu na 1500 metrů na 4. místě. O dva roky později reprezentoval na letních olympijských hrách v Athénách, kde skončil ve druhém semifinálovém běhu na 6. místě a do finále nepostoupil. V roce 2006 získal zlatou medaili na Hrách Commonwealthu v Melbourne a na následujících hrách v roce 2010 v Novém Dillí vybojoval bronz. Na Mistrovství světa v atletice 2007 v japonské Ósace obsadil ve finále 10. místo.
LOH 2008
Největší úspěch své kariéry zaznamenal v roce 2008 na letních olympijských hrách v Pekingu, kde původně vybojoval v čase 3:34,16 bronzovou medaili v běhu na 1500 metrů. Stříbro získal Keňan Asbel Kipruto Kiprop, který byl o pět setin sekundy rychlejší a zlato Rašíd Ramzí z Bahrajnu za 3:32,94.
V dubnu roku 2009 byl však Ramzí kvůli pozitivnímu dopingovému testu na látku CERA diskvalifikován a v listopadu o zlato definitivně přišel. Kiprop získal dodatečně zlato, Willis stříbro a na bronz dosáhl Mehdi Baala z Francie.
Odkazy
Reference
Externí odkazy
Oficiální webové stránky
Novozélandští běžci
Novozélandští stříbrní olympijští medailisté
Stříbrní olympijští medailisté v atletice
Novozélandští olympionici
Narození v roce 1983
Narození 25. dubna
Žijící lidé
Muži
Bronzoví olympijští medailisté v atletice | 21,453 |
https://arz.wikipedia.org/wiki/%D8%B3%D9%8A%D8%A8%D8%A7%D8%B3%D8%AA%D9%8A%D8%A7%D9%86%20%D9%8A%D9%88%D8%B1%D8%AC%D9%86%D8%B3%D9%86 | Wikipedia | Open Web | CC-By-SA | 2,023 | سيباستيان يورجنسن | https://arz.wikipedia.org/w/index.php?title=سيباستيان يورجنسن&action=history | Egyptian Arabic | Spoken | 31 | 88 | سيباستيان يورجنسن لعيب كورة قدم من دنمارك.
حياته
سيباستيان يورجنسن من مواليد يوم 8 يونيه سنة 2000 فى دنمارك.
لينكات
مصادر
لعيب كورة قدم من دنمارك
مواليد 2000
لعيبة كورة قدم | 46,130 |
https://stackoverflow.com/questions/68277661 | StackExchange | Open Web | CC-By-SA | 2,021 | Stack Exchange | English | Spoken | 114 | 158 | What does the -M mean in git branch -M main?
GitHub says to enter git branch -M main as a step for creating a new repository on the command line. What does the -M mean?
-M is a flag (shortcut) for --move --force per the docs page on git branch. It forcefully renames the branch from master (the default branch name for repositories created using the command line is master, while those created in GitHub [starting in Oct. 2020] have a default name of main) to main.
It allows the renaming of the branch even if the new branch name already exists.
git branch -M main
-M automatically renames the master branch to main.
| 11,480 | |
https://stackoverflow.com/questions/49932876 | StackExchange | Open Web | CC-By-SA | 2,018 | Stack Exchange | Dom, Melissa Key, Tianjian Qin, https://stackoverflow.com/users/6406458, https://stackoverflow.com/users/8514292, https://stackoverflow.com/users/9038562 | English | Spoken | 186 | 369 | Import multiple txt datasets in R
I have a folder containing multiple txts, I want to import them as individual datasets, for example:
datasetpaths <- list.files("C:/OneDrive/R Resources/R Books/Mixed Effects Medels/ZuurDataMixedModelling", full.names = TRUE)
datasetnames <- list.files("C:/OneDrive/R Resources/R Books/Mixed Effects Medels/ZuurDataMixedModelling", full.names = FALSE)
datasetnames <- sub("\\..+", "", datasetnames, perl = TRUE)
datasetnames <- lapply(datasetpaths, FUN = read.table, header = TRUE, dec = ".")
But after doing this, I've got a list datasetnames containing multiple datasets. How can I import them individually, as individual variables, in one run?
The problem with importing them individually is that you have to come up with individual names for each of them - so you'd need to define each name and assign the data frame to it. That means 1 run per file. What is wrong with having them in a list?
with purrr::map.
Try:
library(tidyverse)
df <- map_df(list.files("yourPath", full.names = TRUE),
read.table, header = TRUE, dec = '.')
map() returns a list of datasets, it does the same thing as lapply(), I think.
use map_df - I've amended the answer
Also, if you need error handling, see this post: https://github.com/STAT545-UBC/Discussion/issues/398
| 43,906 |
https://ceb.wikipedia.org/wiki/Cephalodochium%20album | Wikipedia | Open Web | CC-By-SA | 2,023 | Cephalodochium album | https://ceb.wikipedia.org/w/index.php?title=Cephalodochium album&action=history | Cebuano | Spoken | 51 | 108 | Kaliwatan sa uhong ang Cephalodochium album. sakop sa ka-ulo nga Ascomycota, ug Una ning gihulagway ni Hermann Friedrich Bonorden ni adtong 1851. Ang Cephalodochium album sakop sa kahenera nga Cephalodochium, ka-ulo nga Ascomycota, ug kaginharian nga abungawg-uhong. Walay nalista nga matang nga sama niini.
Ang mga gi basihan niini
Abungawg-uhong
Cephalodochium | 50,265 |
https://bpy.wikipedia.org/wiki/%E0%A6%B8%E0%A7%8D%E0%A6%9F%E0%A7%87%E0%A6%B0%E0%A7%8D%E0%A6%B2%E0%A6%BF%E0%A6%82%20%E0%A6%95%E0%A6%BE%E0%A6%89%E0%A6%A8%E0%A7%8D%E0%A6%9F%E0%A6%BF%2C%20%E0%A6%9F%E0%A7%87%E0%A6%95%E0%A7%8D%E0%A6%B8%E0%A6%BE%E0%A6%B8 | Wikipedia | Open Web | CC-By-SA | 2,023 | স্টের্লিং কাউন্টি, টেক্সাস | https://bpy.wikipedia.org/w/index.php?title=স্টের্লিং কাউন্টি, টেক্সাস&action=history | Bishnupriya Manipuri | Spoken | 98 | 686 | স্টের্লিং কাউন্টি (ইংরেজি:Sterling County), এহান তিলপারাষ্ট্র বা মার্কিন যুক্তরাষ্ট্রর খা বারার পিছ-খা-হমবুক লয়াগর টেক্সাস ষ্টেইট/রাজ্যর কাউন্টি আহান।
ভৌগলিক উপাত্ত
শহর এহার মাপাহানর অক্ষাংশ বারো দ্রাঘিমাংশ ইলতাই । আয়তনহান (হুকানা বারো পানিহান পুলকরিয়া): ৯২৩.৪৯ বর্গমাইল, অতার মা পানিহান ০.১৩ বর্গমাইল (০.০১%) বারো হুকানাহান ৯২৩.৩৬ বর্গমাইল।
জনসংখ্যার উপাত্ত
তিলপারাষ্ট্রর (যুক্তরাষ্ট্র) ২০০০ মারির মানুলেহা (লোক গননা) অনুসারে স্টের্লিং কাউন্টি-র জনসংখ্যা ইলাতাই ১৩৯৩ গ। ৬৩৩গ ঘরর ইউনিট আসে। হারি বর্গ মাইলে ০.৭গ ঘর পরিসে বারো হারি বর্গ মাইলে ১.৫গ মানু থাইতারা।
ইতিহাসহান
প্রশাসনিক অঞ্চলগি
স্টের্লিং কাউন্টির অধীনর শহরগি
নাংকরা মানু
সাকেই আসে ইকরা
পাসিতা
তিলপারাষ্ট্রর প্রশাসনিক লয়াগি
টেক্সাস রাজ্যর কাউন্টিহানি
টেক্সাস রাজ্য | 7,049 |
https://it.wikipedia.org/wiki/Trapletti | Wikipedia | Open Web | CC-By-SA | 2,023 | Trapletti | https://it.wikipedia.org/w/index.php?title=Trapletti&action=history | Italian | Spoken | 14 | 32 | Giovanni Trapletti (n. 1939) – ex calciatore italiano
Valentina Trapletti (1985) – marciatrice italiana | 35,055 |
https://ja.wikipedia.org/wiki/%E7%AC%AC%E5%8D%81%E6%9D%B1%E4%BA%88%E4%B8%B8%E6%B2%88%E6%B2%A1%E4%BA%8B%E6%95%85 | Wikipedia | Open Web | CC-By-SA | 2,023 | 第十東予丸沈没事故 | https://ja.wikipedia.org/w/index.php?title=第十東予丸沈没事故&action=history | Japanese | Spoken | 24 | 1,259 | 第十東予丸沈没事故(だいじゅうとうよまるちんぼつじこ)は、1945年11月6日に発生した愛媛県史最大の海難事故である。荒天の中、定員210名の3倍を超える乗客を乗せた為、復元力を失って伯方島木浦港沖で転覆沈没し、死者・行方不明397名を出す惨事になった。
事故の概要
1945年11月6日9:30頃、尾道港発今治港行き瀬戸内海汽船の今尾連絡船「第十東予丸」(162トン)が伯方島木浦港六ツ瀬の約2キロの沖合いの海域で突風の為、転覆沈没したもの。遭難時は突風が吹き荒れていた。付近で操業中の漁船や航行中であった「愛媛汽船」の旅客船「鷹島丸」の他、伯方消防団の救助船と今治警察署の警察船「あさぎり丸」が出動して145人を救助したが、死者・行方不明397名を出す惨事になった。
伯方町では、役場内に、救護本部を設置して生存者の救護、収容し、衣類の提供、非常炊出し等、町を挙げての手厚い救護活動を行った。また、町内の砂浜は簡易の遺体安置所となっていた。
事故が起こった時は第二次世界大戦が終わった2ヶ月後であり、済州島からの復員軍人約400人に加えて、一般客約180人が乗船していた。当時は戦前の古い船舶に定員以上の乗客を乗せるのが当たり前のように行われていた背景がある。事故時も定員の3倍の乗客を乗せていた。
この12年後の1957年には、芸予諸島で第五北川丸沈没事故が発生し、その他にも瀬戸内海各地で旅客船の遭難が相次ぎ、本州四国連絡橋架橋運動が盛り上がることになった。いわゆる芸予諸島を通るルート(現:瀬戸内しまなみ海道)は架橋効果が比較的乏しく、立場的に弱い存在であったものの、「芸予諸島島民や四国島民にとって架橋は不可欠である。」として架橋運動が盛り上がり、建設コストや技術的障壁が低いことや、地元選出の越智伊平衆議院議員の尽力もあって1999年5月1日の架橋に至る。来島海峡SAに越智自筆の碑が建立されている。
慰霊祭・慰霊塔・禅興寺
今治市伯方町木浦 曹洞宗禅興寺の裏山墓所に事故の遺族によって慰霊塔が建立されている。また、禅興寺本堂に合同位牌をお祀りしている。事故後70年以上経過しているが、毎年11月に禅興寺にて遺族・親族や、地元関係者が参列し慰霊祭が行われている(2022年は11月3日)。
木浦の六ッ瀬磯には事故海域に向かって慰霊地蔵が建てられている。
禅興寺には、犠牲者名簿が引き継がれ、現在でも、加筆・訂正が続いている。
脚注
関連項目
紫雲丸事故・せきれい丸沈没事故 - 同様に本州四国連絡橋架橋運動が盛んになる切っ掛けとなった海難事故。
日本の海難事故
1945年の日本における災害
1945年の海難事故
占領下の日本
瀬戸内海の交通史
愛媛県の交通史
今治市の歴史
1945年11月 | 5,576 |
https://en.wikipedia.org/wiki/1875%20Scottish%20Cup%20final | Wikipedia | Open Web | CC-By-SA | 2,023 | 1875 Scottish Cup final | https://en.wikipedia.org/w/index.php?title=1875 Scottish Cup final&action=history | English | Spoken | 666 | 964 | The 1875 Scottish Cup Final was the second final of the Scottish Cup and the final of the 1874–75 Scottish Cup, the most prestigious knockout football competition in Scotland. The match took place at Hampden Park on 10 April 1875 and was contested by Queen's Park and Renton.
Queen's Park won the match 3–0 with goals from Angus MacKinnon, Thomas Highet and Billy MacKinnon.
Background
For defending champions Queen's Park, this was their second consecutive appearance in the final following the creation of the competition the previous season. Renton reached the final for the first time.
The teams had met in the Scottish Cup once before. In the 1873–74 semi-final, Queen's Park beat Renton 2–0 at Hampden Park on 13 December 1873.
Route to the final
Both clubs entered the competition in the first round. Neither club won all its matches before the final at the first attempt. Queen's Park needed two replays in the semi-final to eliminate Clydesdale, the team they defeated in the previous final. Renton also required a replay at the semi-final stage to see off Dumbarton.
Queen's Park
Queen's Park began their defence of the cup in the first round on 24 October 1874. In the competition's early years, the first few rounds were regionalised so Queen's had been drawn away to fellow Glasgow club Western and, in a tightly contested match, they won 1–0 at Regent's Park. The second round saw a home tie with West End which was a much easier tie for the defending champions who equalled the tournament record for the largest margin of victory as they won 7–0 at Hampden Park. They then didn't play a match in the quarter-finals as their opponents Rovers, who hadn't played a match in the tournament following a walkover against Hamilton in the first round and a bye in the second round, scratched from the tie meaning Queen's Park advanced to the semi-finals. This set up a replay of the 1874 final against Clydesdale. The first match at Clydesdale's Kinning Park finished scoreless on 20 March 1875 and the replay a week later at Hampden Park also ended in a draw. However, in the second replay on 3 April, the stalemate was finally broken as Queen's Park won 1–0 to reach the final for the second year running.
Renton
After receiving a walkover against Glasgow side Blythswood in the first round, Renton hosted fellow Dunbartonshire club Helensburgh on 21 November 1874 and the home side won 2–0. Renton were then involved in one of just two quarter-final matches as they defeated the Glasgow side Eastern 1–0 at home on Boxing Day. In the semi-finals, they face Dunbartonshire rivals Dumbarton. The first match, played in Renton, finished in a 1–1 draw before Renton eliminated their rivals with a 1–0 away win.
Match
Report
Renton won the toss and elected to play with the slight breeze to their backs. In the first half, Queen's Park soaked up pressure from a Renton side who elected to play the ball long and tackle hard. Despite this, they were unable to breakdown Queen's Park who created chances for Jamie Weir, Harry McNeil and Tom Highet. However, referee A. Campbell ended the half with the game scoreless.
After the interval, a change of ends saw the wind now in Renton's faces. Queen's Park were on the front foot but couldn't find a breakthrough and the spectators had to wait until the last 15 minutes for the three goals. Angus MacKinnon opened the scoring from a Weir corner before, five minutes later, McNeil ran forward and set up Highet for 2–0. Shortly before full time, Billy McKinnon sealed the win with a fine shot.
Edinburgh newspaper The Scotsman reported after the game that the match was "an exceptionally rough one" with "charging which seems to be the speciality of the Renton men".
Detail
{| width="100%"
|valign="top" width="50%"|
References
1875
Cup Final
Queen's Park F.C. matches
Renton F.C. matches
19th century in Glasgow
1875 in sports
April 1875 events | 37,206 |
https://en.wikipedia.org/wiki/2021%20in%20the%20United%20States | Wikipedia | Open Web | CC-By-SA | 2,023 | 2021 in the United States | https://en.wikipedia.org/w/index.php?title=2021 in the United States&action=history | English | Spoken | 13,469 | 18,888 | This article outlines United States-related events which occurred in the year 2021.
Though Donald Trump lost his bid to be re-elected President of the United States to former Vice President Joe Biden, Trump's attempts to overturn the 2020 United States presidential election have continued throughout the year, most violent on January 6, when supporters of Trump stormed the Capitol building and unsuccessfully halted the formal counting of electoral votes in Congress. Much of the year, as well as 2022 in the United States, involved the aftermath of the attack itself (which included Trump's second impeachment, a first for a US president) and criminal trials of those at the Capitol, most of which has been carried out by a special committee in the House of Representatives.
2021 was additionally defined by protests against COVID-19 lockdowns in response to the pandemic, as well as the beginning of a period of high inflation and ongoing protests mostly against police brutality. The year also saw an extremely active Atlantic hurricane season, a destructive California wildfire season, and a power crisis in Texas.
Incumbents
Federal government
President: Donald Trump (R–Florida) (until January 20), Joe Biden (D–Delaware) (since January 20)
Vice President: Mike Pence (R-Indiana) (until January 20), Kamala Harris (D-California) (since January 20)
Chief Justice: John Roberts (New York)
Speaker of the House of Representatives: Nancy Pelosi (D-California)
Senate Majority Leader: Mitch McConnell (R-Kentucky) (until January 20), Chuck Schumer (D-New York) (since January 20)
Congress: 116th (until January 3), 117th (starting January 3)
Ongoing events
COVID-19 pandemic in the United States
2020–2022 United States racial unrest
COVID-19 anti-lockdown protests in the United States
Aftermath of the January 6 United States Capitol attack
Events by month
January
January 1
COVID-19 pandemic in the United States: The United States surpasses 20million cases of COVID-19.
The U.S. Senate votes 81–13 for the National Defense Authorization Act 2021, overriding a veto by President Donald Trump for the only time in his presidency.
Montana Initiative 190 comes into effect, making Montana the 13th state to legalize recreational cannabis.
All books and films published in 1925 enter the public domain in the United States.
January 2 – COVID-19 pandemic: New York becomes the fourth state to surpass one million COVID-19 cases, following Texas, California, and Florida.
January 3 – The Washington Post publishes an audio recording of President Donald Trump urging Georgia Secretary of State Brad Raffensperger to change the state's 2020 presidential election results in his favor.
January 4 – COVID-19 pandemic: Michigan surpasses 500,000 confirmed COVID-19 cases.
January 5
Two runoff elections are held in Georgia to decide U.S. Senate seats, with incumbent Senator Kelly Loeffler facing Raphael Warnock and Senator David Perdue facing Jon Ossoff.
President Donald Trump signs an executive order barring transactions with eight Chinese software applications (including Alipay, WeChat Pay, and Tencent QQ) citing concerns about Chinese access to sensitive data of American citizens.
January 6
Five people die and at least 56 police officers and five civilians are injured after supporters of President Donald Trump storm the United States Capitol, forcing Congress to evacuate. Congress reconvenes and formally certifies Joe Biden as the next president of the United States on the morning of January 7. President Trump formally concedes to an orderly transition of power to Joe Biden.
During the Electoral College vote count, Senator Ted Cruz and Representative Paul Gosar object to Arizona's election results, the first time a vote is forced to accept or reject the objection since 2004. Representative Scott Perry and Senator Josh Hawley subsequently object to Pennsylvania's election results.
January 7
Tesla and SpaceX CEO Elon Musk becomes the world's richest person, with a net worth exceeding $185billion, surpassing Amazon CEO Jeff Bezos.
Facebook indefinitely bans President Donald Trump from all of its platforms, citing his role in the January 6 Capitol riot. Twitter permanently suspends Trump's personal account the next day, January 8.
Betsy DeVos resigns as Education Secretary in protest of President Trump's role in the January 6 Capitol riot.
January 8
Amid an industry crackdown on extremist content following the January 6 Capitol riot, Google removes the mobile app of social networking service Parler from Google Play. Apple suspends the app from its App Store the next day, January 9. Parler goes offline a day later, January 10, when Amazon ceases to provide its cloud computing services.
After 36 years, Alex Trebek's final episode of Jeopardy! airs. Ken Jennings becomes the temporary host on January 11 as the search for a new permanent host continues.
January 9 – The Trump administration lifts longstanding restrictions on contacts between Taiwanese and U.S. officials.
January 11 – Alabama Crimson Tide football head coach Nick Saban surpasses former head coach Bear Bryant for most national titles won in college football history, seven total, following a 52–24 win over the Ohio State Buckeyes in the 2021 CFB National Championship.
January 13
Donald Trump becomes the first U.S. president to be impeached for a second time, following a 232–197 vote in the House of Representatives.
Former Governor of Michigan Rick Snyder is charged with two counts of willful neglect of duty in connection with the Flint water crisis. Former state health director Nick Lyon and many others are also charged.
Lisa Marie Montgomery is executed by the federal government, the first female federal inmate to be executed since 1953.
COVID-19 pandemic: The NHL's shortened 2020–21 season begins, running for 56 games per team and ending on May 8.
January 14 – COVID-19 pandemic: Texas becomes the first state to administer one million doses of the COVID-19 vaccine.
January 15 – The National Rifle Association of America files for Chapter 11 bankruptcy protection and announces plans to reincorporate in Texas.
January 16
Dustin Higgs is executed by the federal government, becoming the 13th and final person to be executed by the Trump administration.
President-elect Joe Biden announces he will elevate the White House Office of Science and Technology Policy to a Cabinet-level position, making its nominated director Eric Lander the first biologist in the Cabinet, if confirmed by the U.S. Senate.
January 17 – Riley June Williams, a 22-year-old woman suspected of stealing House Speaker Nancy Pelosi's laptop during the January 6 Capitol riot, is charged by the FBI with intent to sell the device to Russian foreign intelligence services.
January 18
Vice President-elect Kamala Harris resigns from her U.S. Senate seat. Her chosen successor, former California Secretary of State Alex Padilla, will become the first Latino to represent California in the Senate.
The 1776 Report is released by the 1776 Commission.
January 19
COVID-19 pandemic: Nationwide COVID-19 deaths surpass 400,000.
On his final full day in office, President Trump issues pardons for 144 people.
New York State Office of Court Administration employee Brendan Hunt is arrested by the FBI for encouraging public executions of members of the U.S. Congress on social media.
January 20
Joe Biden is sworn in as the 46th president of the United States. Kamala Harris becomes the first woman, first Asian American, and first African American to become Vice President of the United States. Donald Trump becomes the first outgoing president to boycott his successor's inauguration since Andrew Johnson in 1869.
President Biden signs his first executive orders reversing several Trump administration actions, including rejoining the Paris Agreement and the World Health Organization, repealing the 2017 travel bans, ending funding for the United States–Mexico border wall, and revoking the permit for the Keystone XL pipeline.
January 21 – The Food and Drug Administration (FDA) approves Cabenuva as a complete regimen for the treatment of HIV/AIDS.
January 22 – Recreational cannabis sales begin in Arizona.
January 24
COVID-19 pandemic: Nationwide confirmed COVID-19 cases surpass 25million.
The Tampa Bay Buccaneers advance to Super Bowl LV after a 31–26 victory against the Green Bay Packers, the first time an NFL team will play the Super Bowl on their home field.
January 25
President Biden repeals the Trump administration's ban on transgender personnel in the military.
COVID-19 pandemic: Minnesota reports the first national case of the Lineage P.1 variant of SARS-CoV-2.
Dominion Voting Systems sues former New York City mayor Rudy Giuliani, accusing him of defamation during the 2020 presidential election.
January 26
COVID-19 pandemic: The Biden administration announces it will purchase 200million COVID-19 vaccine doses from Pfizer/BioNTech and Moderna, in addition to the prior order of 400million.
January 27
The U.S. Army announces new personal grooming and appearance standards, relaxing rules regarding makeup and jewelry and allowing for more diverse hairstyles.
President Biden signs a series of executive orders regarding climate change, including halting new oil and gas leases on public lands, procuring an all-electric federal vehicle fleet, and doubling offshore wind power by 2030.
One of the 14 men accused in the Gretchen Whitmer kidnapping plot pleads guilty and agrees to testify against his co-defendants, with sentencing set for July 8.
Investment funds report major losses after video game retailer GameStop's stock prices rise 900 times their record low. The next day, January 28, financial services company Robinhood restricts the trade of stocks of several companies, including GameStop, triggering outrage online.
January 31 – February 3 – A major winter storm strikes the Northeastern United States, bringing nearly of snow to some areas, causing over 575,000 power outages, and killing six people.
February
February 1
Oregon Measure 110 comes into effect, making Oregon the first state to decriminalize the possession of small quantities of all illicit drugs.
Actress Evan Rachel Wood alleges that Marilyn Manson sexually abused and groomed her as a teenager. Four other women make similar claims while Manson denies the allegations. The next day, February 2, Manson is dropped by his record label, Loma Vista Recordings, and removed from two TV shows: American Gods and Creepshow.
February 2
2021 Sunrise, Florida shootout: During the service of a warrant, a suspect kills two FBI agents and injures three others before barricading himself inside his home. He is later found dead, reportedly from a self-inflicted gunshot wound. The shootout was the most violent incident in the FBI's history since 1986.
The United States Senate votes 50–49 to pass a budget resolution that would allow Democrats to pass President Biden's $1.9 trillion relief package without support from Republicans. Three days later, February 5, the Senate passes a $1.9 trillion budget for COVID-19 relief. The 50–50 tie-breaker vote is broken by Vice President Kamala Harris.
Amazon founder and CEO Jeff Bezos steps down after more than 26 years to focus on Blue Origin and names Amazon Web Services CEO Andy Jassy as his successor.
February 4
The United States House of Representatives votes 230–199 to remove Representative Marjorie Taylor Greene (R-GA) from her assignments on the Education and Labor and Budget committees and following controversial comments made about the mass shootings in Parkland and Sandy Hook, as well as calling for violence towards Democrats, and the support of numerous conspiracy theories such as QAnon.
Smartmatic files a $2.7billion defamation lawsuit against the Fox Corporation and its cable news hosts Lou Dobbs, Jeanine Pirro, and Maria Bartiromo as well as frequent guests and ex-President Donald Trump's former lawyers Rudy Giuliani and Sidney Powell, who spread false conspiracy theories about them after the 2020 United States presidential election.
February 5
U.S. Reps Andrew Clyde (R-GA) and Louie Gohmert (R-TX) are fined $5,000 for refusing to go through the metal detectors outside the House chamber.
The U.S. Food and Drug Administration approves Breyanzi to treat large B-cell lymphoma.
February 7
The Tampa Bay Buccaneers win Super Bowl LV, defeating the Kansas City Chiefs 31–9, making them the first wildcard team to win the Super Bowl since the 2010 Green Bay Packers and the first to win it in their home stadium.
U.S. Rep Ron Wright (R–TX) passes away at the age of 67 after contracting COVID-19, making him the first sitting member of Congress to die of the disease.
February 8 – South Dakota Constitutional Amendment A, which would have legalized recreational cannabis in South Dakota on July 1, is struck down as unconstitutional by judge Christina Klinger.
February 9
The second impeachment trial of Donald Trump begins. He is acquitted four days later, February 13 with a 57–43 vote in the Senate, ten votes short of the required two-thirds majority for conviction.
COVID-19 drug development: The FDA issues an emergency use authorization (EUA) for bamlanivimab and etesevimab.
February 11
President Biden terminates the national emergency declaration on the US-Mexico border which President Trump had used to pay for his wall.
In Fort Worth, Texas, at least six people are killed in an accident involving 133 vehicles on Interstate 35W, affected by weather conditions left by a snowstorm system.
February 12
The United States Senate votes by unanimous consent to award United States Capitol Police officer Eugene Goodman the Congressional Gold Medal for keeping rioters away from the Senate chamber during the storming of the United States Capitol.
The U.S. Food and Drug Administration approves Cosela as the first therapy in its class to reduce the frequency of chemotherapy-induced bone marrow suppression.
February 15 – House Speaker Nancy Pelosi announces that Congress will establish a 9/11-styled commission to investigate the January 6 riot at the United States Capitol.
February 13–17 – A major winter storm kills 58 people in the United States (and 12 in Mexico) and causes over 9,724,000 power outages across 13 states in the Midwest and Southwest, with Southwest Power Pool declaring an "energy emergency".
February 17
COVID-19 pandemic: North Dakota confirms their first case of the UK variant of SARS-CoV-2.
The former Trump Plaza hotel in Atlantic City, New Jersey is demolished in a controlled implosion.
The U.S. Food and Drug Administration approves the Patient Specific Talus Spacer 3D-printed talus implant for humanitarian use. The Patient Specific Talus Spacer is the first in the world and first-of-its-kind implant to replace the talus—the bone in the ankle joint.
February 18 – NASA successfully lands its Perseverance rover on Mars, seven months after launching.
February 19 – The U.S. officially rejoins the Paris Agreement, 107 days after leaving.
February 22
New York Rangers winger Artemi Panarin takes a personal leave of absence after the Russian tabloid Komsomolskaya Pravda publishes a story in which former Kontinental Hockey League coach Andrei Nazarov accuses him of sexually assaulting an 18-year old Latvian woman in Riga. The team releases a statement calling the allegations against Panarin a "intimidation tactic" against him after speaking out against "recent political events", most notably expressing his support for Russian opposition leader Alexei Navalny, who was detained upon return to Russia from Germany.
Enabling legislation for New Jersey Public Question 1 is signed into law by governor Phil Murphy, making New Jersey the 14th state to legalize recreational cannabis.
The Supreme Court rejects a last-ditch attempt by Donald Trump to shield his financial records, and issues an order requiring his accountants to turn over his tax and other records to prosecutors in New York.
Dominion Voting Systems sues Mike Lindell for $1.3billion for defamation, claiming he spread false conspiracy theories about them after the 2020 presidential election.
COVID-19 pandemic – The United States surpasses 500,000 deaths from COVID-19. In response, President Biden orders flags to fly at half-mast for five days.
February 23
Golf champion Tiger Woods is seriously injured in a car crash, and undergoes surgery at Harbor–UCLA Medical Center.
February 24 – COVID-19 pandemic: Johnson & Johnson's vaccine candidate receives emergency use authorization from the FDA. The single-shot vaccine is 66% effective in combating the virus and can be stored in regular, unspecialized refrigerators.
February 25
COVID-19 pandemic: The number of vaccines administered in the United States exceeds 50million.
The U.S. Food and Drug Administration approves Amondys 45 for the treatment of Duchenne muscular dystrophy. This is the first FDA-approved targeted treatment for people with the exon 45 skipping mutation.
February 26
Washington's felony drug possession law is struck down as unconstitutional by the Washington Supreme Court, making Washington the 2nd state (after Oregon) to remove criminal penalties for possession of illicit drugs.
Representative Paul Gosar and former Representative Steve King attend The America First Political Action Conference, whose organizer is Nick Fuentes. Gosar's attendance was the subject of controversy.
February 27
The House of Representatives passes the American Rescue Plan Act, President Biden's $1.9 trillion COVID-19 relief package. It will next be sent to the Senate.
Virginia's legislature passes an adult-use cannabis legalization law, though the law (including both retail sales and simple possession) initially did not come into effect until 2024. It is later amended to legalize cannabis possession in Virginia beginning on July 1, 2021, while keeping the original 2024 retail sales start date.
New York Governor Andrew Cuomo is accused of sexual harassment by a second former aide to the governor Charlotte Bennett after alleging that he harassed her late last spring, during the height of the state's fight against the coronavirus.
March
March 2
A major car crash in Imperial County, California kills 13 people and injures 13 others.
COVID-19 pandemic
Against CDC warnings, Texas Governor Greg Abbott lifts the statewide mask requirement and allows businesses to open at 100% capacity beginning March 10.
Oregon reports its first cases of the Lineage P.1 variant in two people from Douglas County who previously traveled to Brazil.
March 5
COVID-19 pandemic
Illinois reports its first case of the Lineage P.1 variant first detected in Brazil in a person from Chicago.
Tennessee reports its first case of the 501.V2 variant first detected in South Africa.
March 6 – The Senate passes the American Rescue Plan Act, President Biden's $1.9 trillion COVID-19 relief package.
March 7 – March 2021 Hawaii floods – Floods in Hawaii leave one missing, destroy six homes, force evacuations, and leave 1,300 without electricity.
March 8
Missouri Senator Roy Blunt announces he will not run for re-election in 2022.
The trial for Derek Chauvin, a former police officer involved in the murder of George Floyd last May, begins with jury selection.
COVID-19 pandemic
Hawaii reports its first case of South Africa's 501.V2 variant in an Oahu resident with no travel history.
Michigan reports its first case of the 501.V2 variant in a child from Jackson County.
March 10
COVID-19 pandemic
Michigan surpasses 600,000 confirmed cases of COVID-19.
New Jersey reports its first case of 501.V2 variant first detected in South Africa.
The United States House of Representatives votes 220–211 to pass the $1.9 trillion American Rescue Plan Act of 2021. The stimulus bill was signed into law by President Biden the next day.
Cannabis in South Dakota
Attorneys defending Amendment A, which would have legalized cannabis in the state on July 1 before being struck down by a lower court judge, submit their arguments to the South Dakota Supreme Court.
An attempt to delay the effective date of South Dakota's medical cannabis law from July 2021 until January 2022 fails due to disagreements between the South Dakota House and Senate on the proposed legislation.
March 11
COVID-19 pandemic
Minnesota reports its first case of the South African 501.V2 variant of COVID-19. The patient is a person from the Twin Cities area who became ill on January 24 and tested positive on January 29.
Washington reports its first case of the Lineage P.1 variant of SARS-CoV-2, which originated in Brazil. The patient is a person from the King County.
South Dakota reports its first case of the Lineage B.1.1.7 variant of SARS-CoV-2, which originated in the United Kingdom.
March 12
The family of George Floyd, the man murdered while in police custody last May, sparking nationwide (and later worldwide) protests against police brutality and systemic racism, settles their lawsuit against the city of Minneapolis for $27million.
COVID-19 pandemic
COVID-19 vaccination in the United States: The U.S. surpasses 100million COVID-19 vaccine doses administered.
Arizona reports its first three cases of the Lineage P.1 variant, which originated in Brazil.
March 14 – Marvin Scott died on March 14, 2021, in police custody at a correctional facility in McKinney, Texas.
March 14–15 – A blizzard in Colorado brings over of snow, passing a record of set in 1982, to become the fourth largest recorded snowfall in Denver history and the largest since 2003 when the city received . It also leaves tens of thousands of people without power and some stranded in their cars after roads are closed. In Wyoming, over were received in Cheyenne, and in the Laramie Range.
March 15 – Three people are killed and one injured when a small plane crashes in Pembroke Pines, Florida.
March 16
COVID-19 pandemic: Massachusetts confirms its first case of the Lineage P.1 variant that originated in Brazil.
2021 Atlanta spa shootings – Eight people are killed and one is injured in a trio of shootings at spas in the Metro Atlanta, Georgia area. A suspect is arrested 150 miles south of Atlanta later that day and charged with eight counts of murder and one count of attempted murder two days later, March 18.
March 17
The IRS announces that the deadline for Tax Day will be postponed to May 17.
COVID-19 pandemic: North Dakota confirms its first four cases of the California variant of SARS-CoV-2. Additionally, seven cases of the UK variant are also confirmed.
March 18–19 – The U.S. and China hold talks in Alaska to discuss relations, with topics ranging from Taiwanese security to Black Lives Matter.
March 19 – COVID-19 pandemic – Mississippi reports its first case of the 501.V2 variant, which was originally detected in South Africa, in a person in Harrison County.
March 20 – A special election is held in Louisiana's 5th congressional district, vacant since Representative-elect Luke Letlow died on December 29, 2020. Letlow's widow Julia Letlow wins with 67,203 of the 103,616 votes cast (64.86%).
March 22 – 2021 Boulder shooting: 10 people are shot dead at a supermarket in Boulder, Colorado. It is the third deadliest mass shooting in the state's history, behind the 1999 Columbine High School massacre which left 13 dead and 24 injured, and the 2012 Aurora theater shooting which left 12 dead and 70 injured. A 21-year-old suspect, Ahmad Al Issa, is arrested after being shot in the leg by police.
March 24
COVID-19 pandemic: Georgia reports its first case of the Lineage P.1 variant, which was originally detected in Brazil. It was found in a resident in Newton County.
COVID-19 pandemic: More than 30million confirmed cases of COVID-19 in the United States.
March 25
Economic impact of the COVID-19 pandemic: The Senate votes 92–7 to pass the Paycheck Protection Program Extension Act of 2021, a bill that would extend the Paycheck Protection Program until May 31. President Biden signed the bill into law on March 30.
Tornadoes in Alabama kill five people, destroy several homes, and cause thousands of power outages.
The North Dakota state senate rejects a bill to legalize recreational cannabis in the state by a 10–37 vote.
March 26
COVID-19 pandemic
Maine reports its first case of the Lineage P.1 variant, which was originally detected in Brazil.
Wisconsin confirms their first cases of the Lineage P.1 and 501.V2 variants of SARS-CoV-2.
Arizona reports its first case of the 501.V2 variant, which was originally detected in South Africa.
New Jersey amends its alcohol and cannabis laws to allow police to notify parents or guardians after a first-time offense by a minor, following strong opposition to the prohibition on first-time notifications implemented when New Jersey legalized cannabis the previous month.
The U.S. Food and Drug Administration (FDA) approves Abecma to treat multiple myeloma. Abecma is the first cell-based gene therapy approved by the FDA for the treatment of multiple myeloma.
March 29
In Minnesota, opening statements begin at the trial of former police officer Derek Chauvin, who is accused of murdering 46-year-old black man George Floyd by kneeling on his neck.
The Arkansas Senate passed, HB1570, a bill that prohibited normally functioning and physically healthy minors from puberty blockers, cross-sex hormones, and genital and non-genital invasive surgical alterations.
A judge orders three men charged with plotting to kidnap Michigan Governor Gretchen Whitmer to stand trial, after a three-day preliminary hearing. Threat of terrorism charges are also dismissed against two of the defendants.
Killing of Adam Toledo – A 13-year-old Latino boy, Adam Toledo, is shot and killed by an officer of the Chicago Police Department.
March 30 – Both houses of the New York State Legislature pass a bill to legalize recreational cannabis in New York, which, upon being signed by governor Andrew Cuomo the following day, made New York the 15th state to legalize recreational cannabis.
March 31
2021 Orange, California office shooting – Four people are killed and two others, including the suspect, are injured in a shooting at an office building.
President Biden unveils a $2 trillion infrastructure plan.
Governor Greg Gianforte signs a bill that bans Sanctuary cities in the state of Montana into law. Montana becomes the 13th state to ban sanctuary cities.
April
April 2
United States Capitol car attack: The Capitol Building in Washington, D.C. is placed under lockdown after a suspect rams a car into a barricade on Constitution Avenue and exits the vehicle holding a knife. Two police officers are injured in the attack and taken to a hospital, where one dies from his injuries. The suspect is killed by Capitol Police.
COVID-19 vaccination – The Centers for Disease Control and Prevention reports that over 100million people have received their first dose of a COVID-19 vaccine.
April 6
COVID-19 pandemic
COVID-19 vaccination – President Biden announces that the deadline for all states to make all adults eligible for the COVID-19 vaccine will be moved up from May 1 to April 19.
Colorado reports their first cases of the Lineage P.1 variant of SARS-CoV-2 in two people from Boulder County.
Transgender discrimination – The state of Arkansas becomes the first state to ban surgery, hormones and puberty blockers for transgender youths.
House Representative for Florida's 20th congressional district Alcee Hasting dies at age 84 from pancreatic cancer.
April 7
COVID-19 pandemic – Oklahoma surpasses 8,000 deaths from COVID-19.
2021 Rock Hill shooting – Six people are killed by gunshots at a house in Rock Hill, South Carolina. The shooter, former NFL cornerback Phillip Adams, later committed suicide.
April 9
President Biden requests Congress to authorize a $1.5 trillion federal spending plan in 2022, which includes an emphasis on public health, as well as major increase in science and research funding.
The U.S. House Ethics Committee announces that they have opened an investigation into Rep. Matt Gaetz (R – FL) over sexual misconducts and federal sex-trafficking.
During his show, Tucker Carlson argued that the Democratic Party "is trying to replace the current electorate, the voters now casting ballots, with new people, more obedient voters from the Third World". He also said, "Everyone wants to make a racial issue out of it, 'Ooh, the white replacement theory.' No, no, no, this is a voting rights question. I have less political power because they are importing a brand-new electorate. Why should I sit back and take that?" The Anti-Defamation League (ADL) and others said that Carlson was endorsing the Great Replacement, a white nationalist conspiracy theory that claims white people are being systemically replaced through declining white birth rates and high rates of immigration. In an open letter to Fox News, ADL CEO Jonathan Greenblatt called for the network to fire Carlson.
April 11
Killing of Daunte Wright – A police officer in Brooklyn Center, Minnesota, a suburb of Minneapolis, killed a black man during an attempted arrest following a traffic stop, leading to rioting and looting in the city in the subsequent days. The protests later spread to the surrounding area and other cities and states, as far away as Portland, Oregon. The suspect, Officer Kim Potter, later resigned and was charged with second-degree manslaughter.
COVID-19 pandemic – California surpasses 60,000 deaths from COVID-19.
April 12
COVID-19 drug development – The U.S. government terminates a deal with Eli Lilly & Co. for 350,856 remaining doses of the single antibody bamlanivimab that were scheduled to be delivered by the end of March. The deal will instead be focused on a supply of combined antibodies with etesevimab.
Microsoft announces the $20billion acquisition of AI firm Nuance Communications, the second largest deal in its history, after LinkedIn in 2016.
April 15
Chicago police release graphic footage of an officer shooting dead 13-year-old Adam Toledo in a dark alley.
Indianapolis FedEx shooting: Nine people are killed, including the shooter, and seven injured, in a mass shooting at a FedEx facility in Indianapolis.
April 16
The media reports that U.S. Republican Representatives Marjorie Taylor Greene and Paul Gosar are forming the America First Caucus. It is scrapped within a day, following criticism from other GOP members.
COVID-19 drug development: The U.S. Food and Drug Administration (FDA) revokes the emergency use authorization (EUA) for bamlanivimab.
COVID-19 pandemic
Virginia reports its first two cases of the Lineage P.1 variant, which was originally detected in Brazil.
Michigan extends their restrictions on gatherings and dining to May 24 amid a rise of cases. The state also expands their mask mandate to children ages 2–4 years.
The number of vaccines administered in the United States exceeds 200million.
April 18 – COVID-19 vaccination: The CDC reports that over 50% of Americans have received at least one dose of a COVID-19 vaccine. At least 130 million adults have received the first dose, while 84 million adults have also received the second dose.
April 20
Trial of Derek Chauvin: Derek Chauvin is found guilty on all counts in the murder of George Floyd.
Killing of Ma'Khia Bryant: A 16 year old in Columbus, Ohio is shot and killed by police officer, Nicholas Reardon.
April 21
COVID-19 pandemic
Michigan surpasses 800,000 confirmed cases and 17,000 confirmed deaths.
South Dakota confirms their first case of the Lineage P.1 variant in Pennington County.
April 22 – President Biden pledges to cut greenhouse gas emissions in half by 2030 compared to 2005 levels.
April 24
A runoff election is held in Louisiana's 2nd congressional district vacant since Representative Cedric Richmond resigned to become the Director of the Office of Public Liaison and an advisor to President Biden. Troy Carter wins with 48,511 of the 87,806 votes cast (55.25%).
A viral Internet meme encourages users named Josh Swain to compete at an event in Lincoln, Nebraska and battle for the right to use the name Josh Swain. The event draws a crowd of several hundred people, and raises over $8,000 in charity.
April 25 – The 93rd Academy Awards, the third in a row with no official host, are held at both Union Station and Dolby Theatre in Los Angeles. Due to the ceremony's delay from February 28 due to the impact of the COVID-19 pandemic on cinema, films from two calendar years were eligible at the same point, with the cut-off date being the intended original Awards date. Chloé Zhao's Nomadland wins three awards, including Best Picture, Best Director and Frances McDormand for Best Actress. David Fincher's Mank leads the nominations with ten, while Anthony Hopkins wins Best Actor for The Father (becoming the oldest winner in an acting category), Daniel Kaluuya Best Supporting Actor for Judas and the Black Messiah and Youn Yuh-jung Best Supporting Actress for Minari. Keeping in line with other award ceremonies reporting viewership declines, the telecast garners 10.4 million viewers according to Nielsen estimates, down 56% from the previous year and making the broadcast by far the lowest-rated in Oscar history.
April 26 – COVID-19 pandemic – The CDC says that fully vaccinated Americans can go outside without wearing a mask unless they are in large crowds.
April 27 – COVID-19 pandemic – Colorado surpasses 500,000 cases of COVID-19.
April 28
2021 Joe Biden speech to a joint session of Congress: On the eve of his 100th day in office, President Biden gives his first address to a joint session of Congress encouraging them to pass $4 trillion worth of spending bills, including the American Jobs Plan and the American Families Plan, both part of his Build Back Better Plan.
The South Dakota Supreme Court hears oral arguments on an appeal of a ruling which struck down South Dakota Amendment A, which would have legalized recreational cannabis in the state on July 1, 2021.
April 30
COVID-19 pandemic
Travel restrictions related to the COVID-19 pandemic – The White House announces the U.S. will begin restricting travel from India starting May 4 due to rising cases of the Lineage B.1.617 which originated in the latter country.
Michigan reports its first case of Lineage B.1.617, first discovered in India, in a person from Clinton County.
May
May 1 – Lubbock, Texas votes to become the largest city in U.S. to ban abortion with the "sanctuary city for the unborn".
May 4 – COVID-19 pandemic – Michigan relaxes several restrictions regarding face mask requirements and outdoor gatherings.
May 5 – South Carolina House votes to add firing squad to execution methods; South Carolina would become the fourth state to use firing squad after Mississippi, Oklahoma and Utah.
May 7
Colonial Pipeline cyberattack: An oil pipeline in Houston is hacked by DarkSide causing the pipeline operator to shut down its entire network, the source of nearly half of the U.S. East Coast's fuel supply.
COVID-19 vaccines – Pfizer/BioNTech seek full approval from the FDA for the Pfizer–BioNTech COVID-19 vaccine.
May 9 – 2021 Colorado Springs shooting: Seven people are shot dead at a birthday party in Colorado Springs, Colorado.
May 10 – COVID-19 vaccination: The FDA authorizes the Pfizer–BioNTech COVID-19 vaccine for adolescents aged 12–15 years old.
May 11 – The Colonial Pipeline shutdown enters its fifth day. Panic buying by motorists causes many eastern seaboard gas stations to begin running dry. U.S. Energy Secretary Jennifer Granholm urges calm and to not hoard.
May 12
Colonial Pipeline begins restarting, but warns that it will take several days for things to return to normal operations.
COVID-19 vaccination – The Centers for Disease Control and Prevention (CDC) adopts the FDA recommendation to provide the Pfizer–BioNTech vaccine to adolescents aged 12–15 years old.
May 13 – COVID-19 pandemic – The Centers for Disease Control and Prevention states that all "fully vaccinated people can resume activities without wearing a mask or physically distancing, except where required by federal, state, local, tribal, or territorial laws, rules, and regulations, including local business and workplace guidance".
May 14
Colonial Pipeline operations return to normal late in the day, but gas outages at retail stations will take several days to clear.
Tennessee Gov. Bill Lee signs public school "bathroom bill", HB1233, into law. The bill specifies that schools must comply to reasonable requests made by students and staff to provide them with access to a reasonably private bathroom that is restricted to occupants of their same sex.
May 17
Former Matt Gaetz associate Joel Greenberg pleads guilty to six charges of sex trafficking.
The U.S. Supreme Court agrees to take up Dobbs v. Jackson Women's Health Organization, a Mississippi case on abortion rights.
May 24
COVID-19 pandemic
The State Department tells Americans not to travel to Japan due to a spike in COVID-19 cases there.
Delaware reports their first case of the Lineage B.1.617 variant that originated in India.
A suspicious package is sent to the home of U.S. Senator Rand Paul (R–KY). The incident is being investigated by the Federal Bureau of Investigation and United States Capitol Police.
May 25
2021 George Floyd protests
New York City Mayoral candidate Shaun Donovan is arrested during a protest near the Holland Tunnel.
Protests break out across the country to mark the first anniversary of the murder of George Floyd.
Manhattan District Attorney Cyrus Vance Jr. announces that he has convened a grand jury in his criminal investigation into former President Trump over his real estate business, as well as the Trump Organization.
COVID-19 pandemic
COVID-19 vaccination – The CDC announces that 50% of the American adult population has been fully vaccinated.
COVID-19 vaccines – Moderna says that their vaccine is 100% effective in teenagers between the ages of 12 and 17 years old. They say that they will seek approval from the FDA in early June.
Michigan surpasses 19,000 confirmed deaths from COVID-19.
May 26 – 2021 San Jose shooting: A mass shooting occurs at a Santa Clara Valley Transportation Authority rail yard in San Jose, California, leaving ten people dead, including the gunman who committed suicide.
May 27 – The Department of Energy launches Perlmutter, the world's fastest AI-specialized supercomputer, with four exaflops of performance.
May 30
2021 Hialeah shooting: A mass shooting in Hialeah, Florida leaves two dead and 20 injured.
JBS S.A. cyberattack: A ransomware cyberattack hits several beef processing plants and slaughterhouses in Utah, Texas, Wisconsin, Nebraska, and Pennsylvania. Russian firm REvil has been accused of being the perpetrators of the attack.
June
June 1
A firefighter is killed and another injured in a shooting at a Los Angeles County Fire Department station in Santa Clarita.
A special election is held in New Mexico to fill a vacancy in its 1st congressional district left by Deb Haaland when she resigned to become President Biden's Secretary of the Interior. Democrat Melanie Stansbury wins with 79,837 of the 132,262 votes cast (60.36%).
COVID-19 pandemic
SARS-CoV-2 Delta variant becomes the dominant strain of COVID-19 in the United States.
COVID-19 vaccines – Moderna seeks full approval from the FDA for the Moderna COVID-19 vaccine.
Michigan lifts several face mask requirements at outdoor gatherings and loosens them at indoor gatherings and businesses. Fully vaccinated people are allowed to not wear masks in public, but unvaccinated and partially vaccinated people are still required to do so.
June 2 – Paul Allard Hodgkins, a Tampa man who was seen in the U.S. Senate chamber during the January 6 riot at the United States Capitol, pleads guilty, making him the second suspect to do so after Jon Schaffer.
June 3 – The FBI announces that it has opened an investigation into Postmaster General Louis DeJoy over campaign fundraising.
June 4
Facebook's Oversight Board announces its ban on former President Donald Trump's personal account will last until January 2023. Trump was originally banned for posting a message supporting the January 6 insurrectionists. It also announces that it will no longer grant blanket immunity to politicians who use its service, especially if their posts are deemed to be deceptive or abusive.
District Judge Roger Benitez overturns California's ban on assault weapons.
A letter to Apple's Tim Cook is made public, in which staff request more flexibility over remote work, following the company's decision to return its 150,000 employees to the office.
The FDA approves the first new medication since 2014, semaglutide (Wegovy), for chronic weight management.
June 5 – Aftermath of the January 6 United States Capitol attack – The Department of Justice says that over 465 people have been arrested since the January 6 attack. It is also seeking information on 250 other suspects.
June 6
Aftermath of the January 6 United States Capitol attack – Rep. Eric Swalwell (D–CA) announces he suied Mo Brooks (R–AL) for being responsible for inciting January 6.
COVID-19 vaccination in the United States: The U.S. surpasses 300 million COVID-19 vaccine doses administered.
Floyd Mayweather fights in an exhibition bout against YouTuber Logan Paul.
The United States defeats Mexico 3–2 after extra time in the final to become the first champions of the CONCACAF Nations League.
June 7
Twitter suspensions: Twitter announces that they have suspended the account of former Florida Department of Health dashboard manager Rebekah Jones for spamming and "platform manipulation" after she paid other users to follow her.
Aducanumab (Aduhelm), the first new medication for Alzheimer's disease in 20 years, is approved by the FDA.
Vice President Kamala Harris visits Guatemala, making it her first oversees trip as vice president. She urges migrants not to come to the United States–Mexico border.
June 9 – President Biden visits the United Kingdom for the 2021 G7 summit, his first international trip as president. Biden also signs the New Atlantic Charter with British Prime Minister Boris Johnson, attends the 2021 Brussels summit with leaders of NATO countries, and meets with Russian President Vladimir Putin in Geneva, Switzerland the next week.
June 10 – The Maine Legislature passes a law mandating the state government completely divest from fossil fuel by 2026. If signed into law, Maine will be the first state to divest from the fossil fuel industry.
June 12 – COVID-19 misinformation: YouTube announces that it has suspended U.S. Senator Ron Johnson (R–WI) for violating their policies about promoting unproven alternative therapies to treat COVID-19.
June 11–13 – List of mass shootings in the United States in 2021 – At least 10 people are killed and another 50 are injured in nine mass shootings in six states.
June 14
American intelligence specialist Reality Winner, who was convicted in 2018 for leaking an NSA report on Russian interference in the 2016 United States elections to news site The Intercept, is released from prison.
COVID-19 pandemic
Hawaii reports their first case of the Lineage B.1.617 Delta variant in an Oahu resident who traveled to Nevada.
Vermont Governor Phil Scott announces that 80% of individuals in his state have received a dose of the COVID-19 vaccine, becoming the first U.S. state to do so. Following the milestone, Scott announced that the state would lift their restrictions.
June 15
COVID-19 pandemic
California authorities remove the mask mandate for outdoor activities.
The nationwide death toll from the virus exceeds 600,000, equal to the annual cancer death toll.
June 16 – Texas Governor Greg Abbott signs Texas House Bill 1927, eliminating the requirement for Texas residents to obtain a license to carry handguns either concealed or openly starting September 1, 2021.
June 17
Politico obtains a recording of William Braddock, GOP candidate in a Florida congressional seat, threatening to send "a Russian and Ukrainian hit squad" to fellow Republican opponent Anna Paulina Luna to make her "disappear."
The House votes, by 268 to 161, to repeal the Authorization for Use of Military Force Against Iraq Resolution of 2002.
President Biden signs a bill making Juneteenth an official federal holiday.
June 18 – 2021 NBA playoffs: The Los Angeles Clippers advance to their first NBA Conference Finals after a 131–119 victory against the Utah Jazz in game 6, in which they will play the Phoenix Suns.
June 19
COVID-19 pandemic: Indiana reports its first case of the Delta variant of COVID-19.
The first Juneteenth under federal holiday status is celebrated.
June 20
2021 Arizona wildfires – An outbreak of wildfires begins in Arizona due to thunderstorms producing dry lightning coming through the state from June 14 to June 20. Due to the outbreak, as well as fire danger, many national forests in the state of Arizona are closed to the public. The only people allowed in the forests are firefighters and people who own property in the forests.
2021 Atlantic hurricane season – Thirteen people are killed in Alabama during Tropical Storm Claudette. Ten of the victims die in a single car crash, nine of whom are children.
An EF3 tornado strikes the Illinois cities of Naperville, Woodridge, and Darien, destroying 12 homes, damaging an additional 100, and injuring six people.
June 21
Las Vegas Raiders defensive end Carl Nassib becomes the first National Football League player to come out as openly gay.
Minnesota Vikings defensive tackle Jaylen Twyman is shot along with three others while visiting his aunt in Washington, D.C.
June 22
2021 New York City mayoral election – Residents of New York City head to the polls to elect a new mayor. This is the first time that a New York City election is determined using rank-choice voting.
2021 Buffalo mayoral election – Community activist and self-avowed socialist India Walton defeats incumbent mayor Byron Brown to win the Democratic primary. As the Democratic candidate is overwhelmingly favored to win the mayoralship in November, this will possibly be the first time that a socialist will be mayor of a major American city since 1960.
COVID-19 pandemic: Michigan lifts its face mask requirements and capacity restrictions on indoor events. Masks are still required for nursing homes, prisons, hospitals, schools, funeral directors, and agricultural workers. Usage at businesses is optional.
June 23 – COVID-19 pandemic – Washington reports their first case of the Lineage P.1 Gamma variant in an unvaccinated Clallam County resident who traveled out of the state.
June 24
Surfside condominium building collapse – A 12-story condominium apartment building in Surfside, Florida partially collapses. At the official end of search on July 23, the death toll is 97, with one further person unaccounted for.
A pedestrian bridge on Interstate 295 collapses in northeastern Washington, D.C., injuring five.
Infrastructure policy of the Joe Biden administration: President Biden announces that he has reached a bipartisan infrastructure deal with Senators.
Aftermath of the January 6 United States Capitol attack – Over 500 suspects have been arrested since the Capitol riot. U.S. Attorney General Merrick Garland announces that the first suspect is arrested for assaulting media during the events of January 6.
The Appellate Division of the New York Supreme Court suspends former New York City Mayor Rudy Giuliani from practicing law over his false claims about the 2020 election.
Microsoft unveils Windows 11, the latest generation of its computer operating system.
The Federal Aviation Administration approves a request to rename McCarran International Airport in Las Vegas, currently the seventh-busiest airport by passenger traffic in the United States, to Harry Reid International Airport.
June 25
Defending Stanley Cup champion Tampa Bay Lightning advance to the Stanley Cup Finals to face the Montreal Canadiens.
Former police officer Derek Chauvin is sentenced to 22.5 years in prison for the murder of George Floyd in Minneapolis in May 2020.
June 26
COVID-19 pandemic – Michigan reports its first case of Lineage B.1.617 Delta variant in a fully vaccinated Ottawa County resident.
In Southeast Michigan, a rainband sets up across Washtenaw County and Wayne County. The local weather radar estimated that some areas in Detroit received of rain. Local highways like I-75, I-94, and I-96 were flooded, and hundreds of cars were left stranded.
2021 Albuquerque hot air balloon crash – Five people are killed when a hot air balloon crashes into power lines in Albuquerque, New Mexico.
June 26–29 — Portland, Oregon experiences a 3-day heat wave, which kills 93 people.
June 29
Recreational cannabis becomes legal in New Mexico.
San Jose becomes the first city in the nation to mandate that gun owners both purchase liability insurance for their firearms and to pay an annual fee to cover costs to the city's services for gun-related injuries and deaths, after the city council unanimously adopted the measures.
June 30
Disgraced entertainer Bill Cosby is prematurely released from prison when the Pennsylvania Supreme Court overturns his sexual assault convictions and sentences on the grounds that his due process rights were violated. In addition to this, the highest judiciary within the Commonwealth of Pennsylvania bars any future prosecution for these crimes.
A grand jury in Manhattan indicts the Trump organization, as well as CFO Allen Weisselberg.
An intentional controlled detonation of illegal fireworks by the Los Angeles Police Department in a busy neighborhood of South Los Angeles does not go as planned, injuring seventeen people, including 10 LAPD officers, and damaging windows, cars, and buildings.
July
July 1
Recreational cannabis becomes legal in Connecticut and Virginia.
Medical cannabis becomes legal in South Dakota.
COVID-19 vaccination – Michigan Governor Gretchen Whitmer announces a month-long vaccination raffle in which residents can win a total of $5 million in cash (one grand prize of $2 million or three prizes of $1 million) and $500,000 total in college scholarships for children ages 12–17 years old (nine prizes of $55,000). The winners were drawn on August 4.
July 2 – Hundreds of businesses are hit by a large-scale cyberattack, linked to the Russian REvil ransomware gang.
July 2–5 – At least 233 people were killed and 618 people were injured in over 500 shootings nationwide during the Independence Day weekend.
July 6 – 2021 New York City mayoral election – Eric Adams was declared the winner of the Democratic primary for mayor of New York City.
July 7 – The Tampa Bay Lightning defeat the Montreal Canadiens (4-1) in the 2021 Stanley Cup Finals to win their second consecutive Stanley Cup.
July 8 – Attorney Michael Avenatti is sentenced to 2.5 years in prison for attempting to extort Nike.
July 9
Twitter suspensions – Twitter announces that they have suspended political commentator and nationalist Nick Fuentes.
President Biden signs a 72-point executive order placing tighter regulations and scrutiny on major corporations in a variety of sectors, including Big Tech companies. Policies outlined include banning non-compete clauses, curbing the ability of manufacturers to restrict the right to repair certain products, granting the Federal Trade Commission the ability to set guidelines on data collection, banning unfair competition practices in online marketplaces, and ordering the Food and Drug Administration to work with states and Native American tribes on procuring cheaper medicines from Canada.
Illinois becomes the first state to teach history about Asian Americans in public schools.
July 11–13 – The 2021 Major League Baseball First-Year Player Draft was held in Denver. Henry Davis was selected first overall by the Pittsburgh Pirates.
July 12
Actor Drake Bell is sentenced to two years of probation for child endangerment.
Ghislaine Maxwell, the long-time friend and partner of Jeffrey Epstein, appears in court in relation to allegations of sex trafficking.
July 13 – The American League defeat the National League (5–2) in the 2021 MLB All-Star Game.
July 16 – Michael Gargiulo (a.k.a. the Hollywood Ripper) is sentenced to death for two murders.
July 17 – A shooting occurs outside of Nationals Park during a game between the San Diego Padres and the Washington Nationals during the sixth inning, causing the game to get postponed until Sunday.
July 19 – Fox News host Sean Hannity urges viewers to take the threat of COVID-19 seriously, as well as urging viewers to receive the COVID-19 vaccine.
July 20
Blue Origin NS-16: On the 52nd anniversary of the Apollo 11 Moon landing, Jeff Bezos successfully launches the Blue Origin rocket New Shepard 4 in Van Horn, Texas, carrying himself, his brother Mark, 82-year-old retired pilot Wally Funk, and 18-year-old college student Oliver Daemen. The rocket lands back on Earth within minutes, completing the first crewed spaceflight with reusable rockets.
Tom Barrack, founder of Colony Capital and an advisor of Donald Trump, is indicted for making false statements to the FBI and being an unregistered agent for the United Arab Emirates. He is found not guilty in 2022.
The Milwaukee Bucks defeat the Phoenix Suns (4–2) in the 2021 NBA Finals to win their first championship since 1971.
July 21
The 2021 NHL Expansion Draft is held at Gas Works Park in Seattle, where the 32nd NHL team, the Seattle Kraken fills out its first ever roster of players.
Santa Monica based video game publisher Activision Blizzard, Inc. is hit with a massive lawsuit from the California Department of Fair Employment and Housing after a two-year investigation reveals a "frat boy" like work environment where female employees face sexual harassment, discrimination, and retaliation for speaking out against the company.
The Tennessee State Building Commission announces that the statue of Nathan Bedford Forrest will be moved from the Tennessee State Capitol to the Tennessee State Museum.
The Missouri Supreme Court unanimously upholds a 2020 amendment to the state's constitution that expanded Medicaid eligibility.
July 23 – Cleveland's Major League Baseball team announces that they will change their name from the Indians to the Guardians, resolving a decades-long controversy.
July 23 – August 8 – The United States compete at the Summer Olympics in Tokyo, Japan and win 39 gold, 41 silver, and 33 bronze medals.
July 25 – 2020 Summer Olympics: American fencer Lee Kiefer wins a gold medal at the women's foil event for fencing, making her the first American woman to do so. Additionally, Anastasija Zolotic becomes the first American woman to win a gold medal in taekwondo.
July 27
A runoff election is held in Texas to fill a vacancy in its 6th congressional district due to the death of Ron Wright on February 7. Republican Jake Ellzey wins with 20,837 of the 39,116 votes cast (53.27%).
Whatcom County, Washington becomes the first state county to ban new fossil fuel infrastructure. The new law also places restrictions on existing fossil fuel facilities, such as a requirement that any greenhouse gases emitted from expansion be offset.
July 28
The Senate votes 67–32 to advance the Infrastructure Investment and Jobs Act, a bipartisan $1.2 trillion infrastructure bill.
Swimming at the 2020 Summer Olympics: Florida swimmer Bobby Finke becomes the first American to win a gold medal at the 800 metre freestyle event at the Olympics.
July 29
Trevor Milton, billionaire and founder of the Nikola electric truck startup, is indicted on three counts of fraud.
Suni Lee wins a gold medal in the gymnastics all-around competition, making her the first Asian American to win a gold medal in gymnastics during the Olympics.
COVID-19 vaccination: Vermont becomes the first U.S. state to vaccinate 70% of children aged 12 to 17 years old.
July 30
The Senate votes 66–28 to allow debates to begin on the Infrastructure Investment and Jobs Act.
Tax returns of Donald Trump: The Department of Justice rules that the U.S. Treasury must hand the tax returns of former President Donald Trump to Congress.
Swimming at the 2020 Summer Olympics: Caeleb Dressel breaks a world record in the 100m butterfly during the Olympics, finishing in 49.45 seconds.
July 31
Florida swimmer Bobby Finke wins a gold medal at the 1500 metre freestyle event at the Olympics, becoming the first American to do so since Mike O'Brien.
COVID-19 pandemic: Florida reports 21,683 cases of COVID-19, a new single-day record.
August
August 2
COVID-19 pandemic
COVID-19 vaccination: Over 70% of adults are reported to have received at least one dose of a COVID-19 vaccine.
U.S. Senator Lindsey Graham announces that he has tested positive for COVID-19, despite receiving the COVID-19 vaccine.
August 3
COVID-19 vaccination: New York City mandates vaccines for indoor dining, gyms, and performances, becoming the first U.S. city to do so.
A report released by New York Attorney General Letitia James says that Governor Andrew Cuomo sexually harassed 11 women.
August 4
Magistrate Judge N. Reid Neureiter of Colorado announces that two lawyers, Gary D. Fielder and Ernest John Walker, will be sanctioned for filing a lawsuit challenging the results of the 2020 election.
COVID-19 pandemic: Louisiana reports 2,247 hospitalizations, a new single-day record.
August 5 – President Biden sets a goal for half of new cars sold to be zero-emission by 2030.
August 6
COVID-19 pandemic
COVID-19 vaccination: The CDC reports that 50% of the U.S. population (including both adults and children) is now fully vaccinated, or about 166 million people.
Florida reports 22,783 new cases of COVID-19, a new single-day record.
Aftermath of the January 6 United States Capitol attack: New Jersey gym owner Scott K. Fairlamb and Washington resident Devlyn D. Thompson pleads guilty to assaulting U.S. Capitol Police officers during the Capitol riot, becoming the first suspects to do so.
Karate at the 2020 Summer Olympics: American karateka Ariel Torres wins a bronze medal in the men's kata event, winning the first United States medal in karate.
2021 California fire season: The Dixie Fire near Chico becomes the largest fire in the history of California.
August 8
Volleyball at the 2020 Summer Olympics – Women's tournament: The United States defeats the two time reigning Olympic Champions Brazil. Becoming the first to win Gold in Tokyo.
August 9
COVID-19 pandemic
COVID-19 vaccination
Secretary of Defense Lloyd Austin announces that all service members will be required to get vaccinated by mid September.
The CDC announces that 60% of Americans have received their first dose of the COVID-19 vaccine.
August 10
New York Governor Andrew Cuomo announces he will resign effective August 24 after an inquiry found he sexually harassed multiple women.
The Senate votes 69–30 to pass the Infrastructure Investment and Jobs Act, a $1.2 trillion bipartisan infrastructure bill.
Dominion Voting Systems sues conservative news channels One America News Network and Newsmax, plus former Overstock.com CEO Patrick M. Byrne, claiming they promoted false conspiracy theories about them after the 2020 presidential election.
August 11
Aubrey de Grey, a leading anti-aging researcher and Chief Science Officer of the SENS Research Foundation, is placed on leave by his company, following sexual harassment allegations by two women in the field.
The Senate votes to pass a $3.5 trillion reconciliation package, a day after the bipartisan infrastructure package passed.
The Senate votes unanimously to confirm former Interior Secretary Ken Salazar as U.S. Ambassador to Mexico, making him the first of Biden's Ambassador nominees to be confirmed.
August 12 – The Census Bureau reports that, per the results of the 2020 census, the population of White Americans declined for the first time in history, and population growth is at its lowest since the Great Depression. Conversely, Hispanic, Asian, and Multiracial Americans saw the largest growth, with the latter seeing an increase of 276%. Hispanics make up the largest group in California for the first time, with whites in Texas barely remaining the largest by 0.4%. The Southern and Western regions also saw the most growth.
August 13
COVID-19 pandemic
Michigan surpasses 20,000 deaths from COVID-19.
In Texas, multiple appeal courts uphold the mask mandates imposed in Bexar, Dallas, Harris, and Travis counties in an effort to override Governor Greg Abbott's ban on them in schools.
The New York State Assembly says that it won't impeach Governor Andrew Cuomo following his announcement that he would resign.
Bob Dylan is accused of sexual assault and related offenses in 1965 by a woman identified as "J.C." who files a lawsuit against the singer. Dylan denies the allegations.
August 14
President Biden authorizes 5,000 U.S. troops to be deployed in Afghanistan, as the Taliban seize all regional capitals except Kabul.
Texas Governor Greg Abbott tests positive for COVID-19. His office says he is fully vaccinated.
Colorado Governor Jared Polis rescinds two proclamations dating from the 1860s that authorized settlers to kill "hostile Indians", which lead to the Sand Creek massacre.
August 18 – R&B singer R. Kelly begins his trial at New York's Eastern District federal court, accused of racketeering, sexual abuse and bribery, all of which he denies.
August 19
The Library of Congress, U.S. Supreme Court, U.S. Capitol, and nearby congressional offices in Washington, D.C. are evacuated due to a bomb threat by the driver of a suspicious vehicle.
Times Square in New York is evacuated due to a suspicious package.
August 20 – The Alameda County Superior Court rules that California Proposition 22 (2020), which exempts app-based transportation and delivery companies like Uber and DoorDash from having to classify their workers as employees, is unconstitutional. The defendants, consisting of a coalition of gig economy companies, say they will appeal.
August 22 – Antifa and the Proud Boys clash at an abandoned Kmart in Portland, Oregon.
August 23 – COVID-19 vaccination: The FDA gives approval to the Pfizer–BioNTech COVID-19 vaccine (Comirnaty) for those aged 16 years and older.
August 24
The U.S. Supreme Court restores the Trump-era Remain in Mexico policy, which requires migrants seeking asylum to remain in Mexico until their US immigration court date.
New York Governor Andrew Cuomo's resignation becomes official at midnight and Kathy Hochul becomes the first female New York Governor.
August 25 – U.S. District Judge Linda Vivienne Parker announces sanctions against Sidney Powell, L. Lin Wood, and other lawyers who were filing a lawsuit seeking to overturn President Biden's victory in Michigan last year. She also orders the lawyers to be referred to their home states for disbarment or suspension of law license.
August 26 – Operation Allies Refuge: President Biden, in an address to the nation, says that the evacuation of American citizens will continue despite the terrorist attacks. He also vows that the U.S. will avenge the deaths of the 13 service members killed in the attacks by "hunting down" those responsible and "making them pay".
August 29
Hurricane Ida makes landfall at 11:55am CDT near Port Fourchon, Louisiana, on the 16th anniversary of Hurricane Katrina.
In high school football, Bishop Sycamore loses to IMG Academy, 58–0, at the Tom Benson Hall of Fame Stadium in Canton, Ohio, which is aired on ESPN. Following the game, the existence of Bishop Sycamore is questioned by fans and the school is accused of running a grift and duping ESPN into airing the game.
August 30 – Operation Allies Refuge: The United States withdraws its remaining 2,500 troops from Afghanistan, ending its 20-year involvement in the War in Afghanistan.
September
September 1
Texas implements the "Heartbeat Act" banning abortions after nine weeks of pregnancy.
Texas residents are allowed to carry handguns without a license or training.
Aftermath of the January 6 United States Capitol attack: The Department of Justice secures its 50th guilty plea in its criminal investigation of the January 6 riot at the Capitol.
A state of emergency is declared New York City after record rainfall and flash flooding shuts down much of the city's transportation system, caused by Tropical Storm Ida.
September 2
Hurricane Ida
More than 54 deaths are reported in New York and the wider northeastern United States amid the ongoing flood emergency, as rescuers continue to search for stranded people.
The Vine Street Expressway in Philadelphia is closed due to massive flooding on portions of the highway. The Park Towne Place residential complex is also evacuated due to flooding.
September 3
Jake Angeli, the so-called "QAnon Shaman" pleads guilty to obstructing a proceeding of Congress during the January 6 attack.
Texas Heartbeat Act: Texas state judge Guerra Gamble blocks the Texas Right To Life from suing Planned Parenthood under the pretext of the abortion law.
September 8 – The Robert E. Lee Monument on Monument Avenue in Richmond, Virginia, a statue of Confederate General Robert E. Lee, is removed.
September 9
COVID-19 vaccination in the United States: President Biden issues new federal vaccine requirements affecting up to 100 million Americans. All employers with more than 100 workers are required to be either vaccinated or test for the virus weekly, while 17 million workers at health facilities that receive federal Medicare or Medicaid are ordered to be fully vaccinated.
Texas Governor Greg Abbott signs a bill that prohibits social media sites from banning or restricting users based on "the viewpoint of the user or another person", whether or not that viewpoint is expressed on the social media platform itself.
September 10 – Trump–Ukraine scandal: Former Rudy Giuliani associate Igor Fruman pleads guilty to one count of soliciting a contribution by a foreign national.
September 11:
Commemorations take place around the country to mark the 20th anniversary of the September 11 attacks. A minute's silence is held at the World Trade Center site at the exact time each hijacked plane crashed.
British tennis player Emma Raducanu defeats Canadian Leylah Fernandez in the Women's singles US Open with a score of 6–4, 6–3, becoming the first player in the Open Era to win a major tournament after coming through qualifiers.
September 13 – COVID-19 pandemic in New York: In New York City, schools reopen to one million children for the first time since the start of the pandemic in March 2020.
September 14 – A recall election is held in California on whether Governor Gavin Newsom should remain in office, and who his successor should be if he is voted out. Newsom defeats the recall and remains in office.
September 16 – Inspiration4, launched by SpaceX, becomes the first all-civilian spaceflight, carrying a four-person crew on a three-day orbit of the Earth.
September 20
Trump Organization CFO Allen Weisselberg makes an appearance at the New York Supreme Court as prosecutors continue their investigation into former President Trump's business dealings.
The death toll from the COVID-19 pandemic surpasses that of the 1918 Spanish flu pandemic, becoming the deadliest disease outbreak in American history.
September 21
President Biden delivers his first speech at the United Nations General Assembly.
Michigan Governor Gretchen Whitmer announces that Michigan will build an electrified road to charge electric vehicles, becoming the first U.S. state to do so.
September 22 – COVID-19 pandemic – Michigan surpasses one million confirmed cases of COVID-19.
September 23
A man shoots 13 people then kills himself in Collierville, Tennessee.
2020 United States presidential election in Arizona: A months-long recount of 2.1 million ballots cast in Maricopa County, Arizona, confirms in a draft report that Joe Biden won that state's 11 electoral votes, with no mass voter fraud designed to "steal" the election from former President Donald Trump.
Aftermath of the January 6 United States Capitol attack: – The January 6 House Committee issues its first subpoenas, which mandate that four advisors and associates to former President Donald Trump turn over records and testimony. The targets of the subpoenas are former White House Chief of Staff Mark Meadows, former White House Deputy Chief of Staff for Communications Dan Scavino, former Defense Department official Kashyap Patel and former Trump adviser Steve Bannon.
September 24
The U.S. House votes to pass the Women's Health Protection Act, an abortion rights bill, in response to the Supreme Court refusing to block the Texas Heartbeat Act from becoming law.
Fox News announces that it has banned Rudy Giuliani and his son Andrew Giuliani from appearing on the channel for three months.
September 25 – A train derails in Montana, killing three people.
September 26 – 2021 NFL season: Baltimore Ravens kicker Justin Tucker kicks a 66-yard field goal during the team's 19–17 victory against the Detroit Lions, making it the longest field goal in National Football League history.
September 27
COVID-19 pandemic
COVID-19 vaccination
In Vermont, registration opens to people aged 75 years and older to receive the booster shot of the Pfizer–BioNTech COVID-19 vaccine.
In Washington, D.C., President Biden receives his third dose of the COVID-19 vaccine.
Grammy Award-winning singer R. Kelly is found guilty in a federal court on all counts of sexually abusing women and children over two decades.
Ford announces an $11.4 billion plan for electric vehicle (EV) production, its largest ever investment in the US, with a major new factory in Tennessee and two battery parks in Kentucky creating nearly 11,000 jobs.
September 29 – The U.S. Fish and Wildlife Service declares 23 species extinct, due to a combination of development, invasive species, logging and pollution.
September 30
Britney Spears' father Jamie Spears is formally suspended as the conservator of her estate.
President Biden signs legislation that would extend funding for the U.S. government through December 3, thereby avoiding a government shutdown. Government funds were due to run out at midnight.
October
October 1 – The Supreme Court announces that Brett Kavanaugh has tested positive for COVID-19.
October 3
A massive oil spill occurs off the coast of Huntington Beach, California, prompting many beach closures, and washing up dead birds and fish.
2021 NFL season – Tom Brady becomes the fourth quarterback to defeat all 32 National Football League teams following the Tampa Bay Buccaneers 19–17 victory against his former team, the New England Patriots. He also surpasses Drew Brees as the NFL's all-time leading passer.
October 5
Windows 11 is launched by Microsoft.
The president of the Sergeants Benevolent Association, a police union representing the sergeants in the New York City Police Department, resigns following an FBI raid on his Long Island home.
The U.S. Senate confirms Damian Williams as Attorney for the Southern District of New York, making him the first African American to lead the office.
October 6
Case Breakers, a group of former law enforcement individuals, claim to have identified the Zodiac Killer as Gary Francis Poste, an individual who died in 2018.
Federal judge Robert L. Pitman blocks the Texas Heartbeat Act from being enforced for a short temporary period.
October 7
The U.S. Senate votes 61–38 to overcome a filibuster and 50–48 to increase the federal debt.
Eighteen former NBA players are charged with healthcare fraud, including Terrence Williams, Tony Allen, Shannon Brown, and Ronald Glen Davis.
October 11
The 2021 Boston Marathon takes place after it was rescheduled from April.
2021 Las Vegas Raiders season: Las Vegas Raiders head coach Jon Gruden resigns after several e-mails between him and Bruce Allen containing racist, sexist, homophobic, and trans-phobic remarks are leaked by The New York Times.
Amazon CEO Andy Jassy announces that the company will drop its return-to-office plan and allow its corporate employees to continue working remotely if they choose.
October 13 – Star Trek actor William Shatner becomes the oldest person to go into space, at age 90, on board the Blue Origin NS-18, launched from Texas.
October 18:
2021–22 NHL season: San Jose Sharks forward Evander Kane is suspended for 21 games for submitting a forged COVID-19 vaccination card.
Murder of Ahmaud Arbery: The state trial of Travis McMichael, his father Gregory McMichael, and William "Roddie" Bryan begins in Georgia.
October 19
The January 6 select committee investigating the riot on the U.S. Capitol votes to hold former Donald Trump White House Chief Strategist Steve Bannon in criminal contempt for refusing to comply with a subpoena issued by the select committee.
The United States Department of Justice announces that U.S. Rep. Jeff Fortenberry has been indicted for making false statements to federal authorities.
The FBI announces that it has raided the house of Russian oligarch and Vladimir Putin ally Oleg Deripaska, who was sanctioned by the U.S. Treasury Department in 2018.
October 20 – The district attorney of Westchester County announces a criminal investigation into The Trump Organization.
October 21 – Rust shooting incident: Film producer Alec Baldwin fatally shoots Halyna Hutchins and wounds Joel Souza during the filming of Rust, when a prop firearm is discharged by accident.
October 22: – Trump–Ukraine scandal: Former Rudy Giuliani associate Lev Parnas is convicted by the SDNY for campaign financing crimes and for illegally funding foreign cash to Republicans during the 2018 midterms. The conviction is announced by Attorney Damian Williams.
October 23 – 2021 NCAA Division I FBS football season: In college football, the Illinois Fighting Illini defeats Penn State 20-18 in nine overtimes, making it the longest football game played in NCAA history.
October 26 – A report comes out revealing that former Chicago Blackhawks coach Brad Aldrich sexually assaulted Kyle Beach, a young prospect on the team during the 2009–10 NHL season. The report also shows that Stan Bowman, Kevin Cheveldayoff, and Joel Quenneville met before the 2010 Stanley Cup Finals and allowed Aldrich to continue working until the end of the season.
October 28 – Mark Zuckerberg announces that Facebook, Inc., owner of Facebook, Instagram, WhatsApp and Oculus, will rebrand itself as Meta Platforms.
October 29
MrBeast and Mark Rober launch #TeamSeas, a project to clean up 30 million pounds of ocean trash by the end of the year.
The U.S. Food and Drug Administration authorizes the emergency use of the Pfizer-BioNTech COVID-19 vaccine for children 5 through 11 years of age.
November
November 1
The U.S. Supreme Court begins its arguments about the Texas Heartbeat Act.
Kenosha unrest shooting: The trial of Kyle Rittenhouse begins in Kenosha.
November 2
New Jersey and Virginia gubernatorial elections are held. Republican Glenn Youngkin wins the Virginia race, while Democrat Phil Murphy wins re-election in the New Jersey race.
Republican Winsome Sears wins the Virginia lieutenant governor's race and will become the first black and first female lieutenant governor of the state of Virginia.
A special election is held in Ohio to fill a vacancy in its 11th congressional district left by Marcia Fudge when she resigned to become President Biden's Secretary of Housing and Urban Development. Democrat Shontel Brown wins with 81,636 of the 103,565 votes cast (78.8%).
Another special election is held in Ohio to fill a vacancy in its 15th congressional district due to the resignation of Steve Stivers effective May 15 to become president and CEO of the Ohio Chamber of Commerce. Republican Mike Carey wins with 93,255 of the 160,012 votes cast (58.3%).
The Atlanta Braves win the 2021 World Series, defeating the Houston Astros.
Las Vegas Raiders wide receiver Henry Ruggs III is involved in an automobile accident where a 23-year-old woman is killed. At the time of the crash, Ruggs was driving . He was also over double the legal intoxication level as well. The Raiders immediately cut him later that day.
November 3
COVID-19 pandemic: In Wisconsin, Green Bay Packers quarterback Aaron Rodgers tests positive for COVID-19 and will miss the team's matchup against the Kansas City Chiefs.
Smartmatic announces that they have sued conservative news channels One America News Network and Newsmax for defamation and false claims about their voting machines during the 2020 election.
November 4
An investigatory hearing is held by the State Bar of Texas to kick off a multi-start process that would decide the fate of attorney Sidney Powell, who spread conspiracy claims after the 2020 presidential election.
The National Basketball Association announces that they have launched an investigation into Phoenix Suns owner Robert Sarver over allegations of sexism and racism.
November 5
The U.S. House of Representatives votes 228–206 to pass the Infrastructure Investment and Jobs Act, a US$1.2 trillion infrastructure package.
A crowd crush during a Travis Scott concert at the Astroworld Festival in Houston kills ten people and injures more than 300.
November 7 – Alabama native Nimblewill Nomad becomes the oldest person to hike on the Appalachian Trail.
November 8
On October 15, the White House announced that it would reopen international borders to non-essential travel from the EU, UK, China, India, South Africa, Iran and Brazil on November 8. The travel restrictions have been in place for 18 months, coming into effect in the early days of the pandemic.
Dominion Voting Systems announces that they have sued Fox Corporation and Fox Broadcasting Company, the parent company of Fox News, for defamation and for failing to preserve documents relating to the role Rupert Murdoch played in spreading false claims about Dominion.
November 9 – The South Dakota Legislature votes to consider the impeachment of Attorney General Jason Ravnsborg.
November 11 – Vice President Harris travels to Paris to deliver a speech at the Paris Peace Forum.
November 12 – United States Attorney General Merrick Garland announces that former White House Chief Strategist Steve Bannon has been charged by the Department of Justice for refusing to testify to the January 6 select committee investigating the Capitol riot and refusing to provide documents requested by the committee. Bannon turned himself in to the FBI three days later.
November 13 – While speaking before a "ReAwaken America" audience in November 2021, Former Trump National Security Advisor Michael Flynn said, "If we are going to have one nation under God, which we must, we have to have one religion. One nation under God, and one religion under God." causing some outrage.
November 15
Radio host and conspiracy theorist Alex Jones is found liable for damages in lawsuits brought by parents of children killed in the Sandy Hook elementary school shooting, over Jones's false claim the massacre was a hoax.
President Biden signs the Infrastructure Investment and Jobs Act into law.
November 16 – Maryland reports their first case of monkeypox in a resident who traveled from Nigeria.
November 17 – The U.S. House of Representatives votes 222–208 to censure Rep. Paul Gosar (R–AZ) after he posted a photo-shopped anime clip of him killing Rep. Alexandria Ocasio-Cortez (D–NY) and threatening President Biden, making him the first lawmaker to be censured since Charlie Rangel in 2010.
November 19
Vice President Harris serves as acting president from 10:10 am to 11:35 am EST, while President Biden undergoes a colonoscopy under anesthesia.
The U.S. House of Representatives votes 220–213 to pass the Build Back Better Act, a US$1.75 trillion social and climate spending package.
State of Wisconsin v Kyle Rittenhouse: Mr. Rittenhouse is found not guilty on five charges of attempted murder, after three weeks of debate, and three days of jury deliberation.
November 21 – Waukesha Christmas parade attack: An SUV is driven through the annual Christmas parade in Waukesha, Wisconsin, killing six people and injuring 62 others. The alleged driver of the vehicle, 39-year-old Darrell E. Brooks, is arrested and charged with five counts of murder.
November 23 – The Biden administration announces a release of 50 million oil barrels from the Strategic Petroleum Reserve to bring down inflation in conjunction with other countries' efforts, the largest release in history. An investigation into oil companies' practices is also announced.
November 24
NASA launches the Double Asteroid Redirection Test (DART), the first attempt to deflect an asteroid for the purpose of learning how to protect Earth.
All three defendants are found guilty of the murder of Ahmaud Arbery.
November 29
Twitter co-founder Jack Dorsey steps down as its chief executive, saying it is "finally time for me to leave". Parag Agrawal is named his successor.
The Attorney General of New York Office releases lengthy documents which prove that CNN host Chris Cuomo abused journalistic ethics in a manner that was much greater than what had been reported earlier in the year. According to the documents, during Andrew Cuomo's sexual harassment scandal, Chris used his connections in the media both to obtain information about his brother's accusers as well as to uncover the possibility that new accusers could come out against the former New York governor.
November 30
Former White House Chief of Staff Mark Meadows announces that he will testify to and cooperate with the January 6 committee.
2021 Oxford High School shooting – Four students are killed and seven other people are injured in a mass shooting at Oxford High School in Oxford Township, Michigan.
CNN announces that it has indefinitely suspended Chris Cuomo while a law firm conducts an independent investigation that the network hired to look into the matter.
December
December 1 – COVID-19 pandemic: In California, the first case of Omicron variant, a highly mutated variant of COVID-19, is reported by the CDC in a San Francisco resident, who had traveled to South Africa.
December 2
Major League Baseball begins a lockout of its players. It is their first lockout since 1990.
COVID-19 pandemic: Minnesota reports their first case of Omicron variant.
Two Georgia election officials, Ruby Freeman and Shaye Moss, file a defamation lawsuit against The Gateway Pundit. The lawsuit is the first to be filed by individual election workers who were targeted during the 2020 presidential election.
December 4 – Chris Cuomo is fired by CNN for his violations of journalistic ethics by aiding his scandal-ridden brother.
December 9
Workers at a Starbucks in Buffalo, New York vote 19–8 to unionize, becoming the first Starbucks in the country to do so.
A virtual summit, Summit for Democracy, was hosted by the United States "to renew democracy at home and confront autocracies abroad".
December 10 – A late season tornado outbreak occurs in the Southern and Midwestern United States, causing major damage and killing at least 94 people.
December 11 – COVID-19 pandemic: North Carolina reports its first case of the Omicron variant in a student at UNC Charlotte.
December 15 – An outbreak of more than 10 wildfires begins in the state of Kansas, scorching an area of more than on the first day they were first reported due to gusty winds and dry grassland. The outbreak leaves the deaths of two people and injures three more.
December 17 – The Ohio Department of Education concludes their investigation into the Bishop Sycamore High School scandal, labeling the school as a scam.
December 20 – COVID-19 pandemic: The CDC reports that Deltacron hybrid variant is now pre-dominant strain in the US, which is combined with Delta and Omicron variants, accounting for three-quarters of cases.
December 29
British socialite Ghislaine Maxwell is convicted in a federal court on five of six charges relating to her recruiting and trafficking young girls to be sexually abused by the late financier Jeffrey Epstein.
COVID-19 pandemic: The U.S. breaks its single-day case record, with over 488,000 new infections, nearly doubling the highest number from the previous winter.
December 30 – Tens of thousands are evacuated as wildfires sweep through Boulder County, fanned by winds of up to . The fires are the most destructive in Colorado's history.
Deaths
See also
2021 in American music
2021 in American soccer
2021 in American television
List of American films of 2021
References
External links
2020s in the United States
United States
United States
Years of the 21st century in the United States | 8,672 |
https://stackoverflow.com/questions/45775494 | StackExchange | Open Web | CC-By-SA | 2,017 | Stack Exchange | Eric, ForceBru, Gabriel, MSeifert, https://stackoverflow.com/users/102441, https://stackoverflow.com/users/293195, https://stackoverflow.com/users/4354477, https://stackoverflow.com/users/5393381 | English | Spoken | 387 | 854 | Extending a numpy.matrix gives __new__ and __class__ issues?
I wanted to quickly write a Points class, where each column of the underlying 2D numpy.matrix is assigned to an attribute
such that I can write stuff like this easily:
points = Points(np.mat(np.ones((2,3))), names=["a","b","c"])
points.a = points.b + points.c
points["a"] = points["b"] + points["c"]
I came up with this kind of "monkey patch"
class Points(np.matrixlib.defmatrix.matrix):
def __new__(cls, *args, names=[], **kwargs):
o = np.matrixlib.defmatrix.matrix.__new__(cls, *args, **kwargs)
o.__class__ = Points
return o
def __init__(self, *args, names=[], **kwargs):
# Set the attribute self.<pointName>
# to a reference of the corresponding column
for i,name in enumerate(names):
self.__setattr__(name, self[:,i])
I was wondering if there is a better method of doing a bruteforce o.__class__ = Points.
I need to do this because the Points.__init__ does not get called since, type(o) != Points.
The whole class is here
https://gist.github.com/gabyx/9392992d11bf8550e44002ac7f1ecaaf
Why not just use pandas DataFrame or NumPys structured arrays? These do have this column and row accessing operations already.
Record arrays (np.rec.array) will give you the dot notation for field access.
I thought so too , but structured arrays are hard to manipulate, lets say easily transform all points by a matrix...
This works for me, with numpy.version.full_version == '1.8.0' in Python 3.5.1:
import numpy
class Points(numpy.matrixlib.defmatrix.matrix):
def __new__(subtype, data, names=[], **kwargs):
tmp = super(Point, subtype).__new__(subtype, data, **kwargs)
for i, name in zip(range(tmp.shape[0]), names):
tmp.__setattr__('point_{}'.format(name), tmp[i])
return tmp
arr = numpy.arange(6).reshape((-1, 3))
a = Points(arr, names='abc')
print(a)
print(a.point_a, a.point_b)
Looks like there's no need for Points.__init__ at all as all the arguments are passed directly to Points.__new__, and then to numpy.matrixlib.defmatrix.matrix.__new__. Moreover, numpy.matrixlib.defmatrix.matrix.__init__ ignores all the arguments provided. However, you could move the __setattr__ logic to Points.__init__ if you want.
Why not for row, name in zip(tmp, names)?
@Eric, right, that looks better, I was just copying from the OP's code
The problem here is that the returned tmp is of type : 'numpy.matrixlib.defmatrix.matrix' which is odd. and I dont understand why
That's not a problem: in order to create an instance of Point, you should initialize numpy.blah.matrix first. And then, after this instance is created, it can be initialized with __init__, which isn't needed here.
sure its a problem, if I define more functions on Points they are not accessible
@Gabriel, they actually are. At least, with my setup... What Python version are you using?
| 32,173 |
https://it.wikipedia.org/wiki/Ivo%20De%20Palma | Wikipedia | Open Web | CC-By-SA | 2,023 | Ivo De Palma | https://it.wikipedia.org/w/index.php?title=Ivo De Palma&action=history | Italian | Spoken | 1,504 | 2,998 |
Biografia
Napoletano di nascita, Ivo De Palma inizia le sue prime esperienze in radio, poi nei primi anni ottanta entra nel mondo del doppiaggio dopo aver seguito corsi di dizione e recitazione. Lavorando tra Torino e Milano, la sua voce ha trovato spazio in doppiaggi di telenovelas e anime giapponesi sacrificando il doppiaggio cinematografico, presente quasi esclusivamente a Roma.
Il personaggio più noto da lui doppiato è Pegasus dei Cavalieri dello Zodiaco, a cui ha dato la voce sia nella serie televisiva che nella serie OAV e nei film. Altri sono Mirko in Kiss Me Licia (solo nella parte parlata), Carey Mahoney in Scuola di polizia (serie animata), Vernon Fenwick in Tartarughe Ninja alla riscossa, Akira Fudo (Devilman OAV: La genesi, L'arpia Silen, Shin Cutie Honey e Amon - Apocalypse of Devilman), Kaede Rukawa (Slam Dunk) e Ronni (Magica magica Emi).
Dal 1992 al 2000 diventa direttore dello Studio P.V.. Più recenti invece le interpretazioni di Souji Mikage in La rivoluzione di Utena, Fuma Mono in X, Ax-Eluder in Cosmowarrior Zero, Jotaro Kujo in Le bizzarre avventure di JoJo, Kazutaka Muraki in Eredi del buio, Shimada Kambei in Samurai 7, Maestro Gai in Naruto, Masaki Kananase in Platinumhugen Ordian, Fernand de Morcerf in Il conte di Montecristo.
Inoltre, De Palma ha prestato la voce anche a vari personaggi in telefilm e soap opera, come George Robinson in Ti presento i Robinson, Mirko in Love me Licia, Licia dolce Licia, Teneramente Licia e Balliamo e cantiamo con Licia (ispirati dall'anime Kiss Me Licia) e Frank Cooper in Sentieri. Come attore, ha interpretato il medico di casa Krueger in CentoVetrine e Alfred Westman in Vivere.
Nel 1997 ha vinto un "Tokimeki Anime Award" per la sua interpretazione di Fuuma Monou nel film d'animazione X. Nell'edizione del 2007 del film di Hayao Miyazaki, Lupin III - Il castello di Cagliostro presta nuovamente la voce al conte di Cagliostro, uscito sul grande schermo il 6 luglio 2007. Attualmente, esercita la professione di docente alla "Eikon Teatro", una scuola di doppiaggio e recitazione, a Torino.
Nella nuova serie de I Cavalieri dello Zodiaco, Hades, andata in onda su Mediaset a partire dall'autunno 2008, è tornato a doppiare Pegasus. In questa produzione ricopre anche il ruolo di direttore del doppiaggio e di dialoghista.
Nel progetto letterario "Spoken Words", sul suo canale ufficiale youtube, ha interpretato opere di William Shakespeare, Pablo Neruda, Italo Calvino, Raymond Carver, Charles Baudelaire, Umberto Saba, Nichita Stănescu, Gherasim Luca, Raymond Carver, Sabatina Napolitano, Cees Nooteboom.
Doppiaggio
Film
Amjad Khan in Dil Hi To Hai
Francis Ng in Valzer finale per un killer
Rahul Dev in Astram
Anupam Kher in Happy New Year
Serie animate
Nick Fury in Wolverine e gli X-Men
Sole Ardente e Pyro in Insuperabili X-Men
Lo Spauracchio in Batman
Gildamer in Aeon Flux
Gai Maito in Naruto e Naruto: Shippuden
Vladimir William "Vlad" Masters/Vlad Plasmius in Danny Phantom
Mahoney in Scuola di polizia
Mouser in Beethoven
Striker in G.I. Joe
Tagg in Dino Riders
Jeff e Craig (2ª voce) in Jem
Principe Adam/He-Man in He-Man
Dott. Donald Blake/Thor in L'incredibile Hulk
Zachery Zach Foxx in I rangers delle galassie
Super Dave Osborne in Super Dave
Vernon Fenwick in Tartarughe Ninja alla riscossa
Nigel Thornberry in Il mondo dei Thornberry
Cap. Dick Courage in Capitan Dick
Kevin in Anthony - Formidabile formica
Orbitron in Una giungla di stelle per capitan Simian
Gaspare in Il mio amico coniglio
Teddy in Un mantello di misteri per Enigma
Pierre in Grandi uomini per grandi idee
Moliere in Bravo Molière
Johnny in Tante fiabe nel cassetto
Attila in Fox Busters - Galline alla riscossa
Ramses in Neteb, la principessa del Nilo
Papà Len in Elvis
Adone in Gladiators Academy
Vittorio in Cupido
Indiano in Storie per bambini
Mirko (parte parlata) in Kiss Me Licia
Ronni in Magica magica Emi
Prof. Sengoku e Rick in Rossana
Manager Ishi in Alé alé alé o-o
Saki Vashtal in Area 88
Sig. Stroud in Bentornato Topo Gigio
Max (parte parlata) in Ciao, Sabrina
John in Rosa Alpina
Charlie Red in Tommy la stella dei Giants
Rocky in Col vento in poppa verso l'avventura
Guardia ninja della famiglia Tammack in Super Pig
Hans Christian Andersen in Flint a spasso nel tempo
Daniel e seconda voce narrante in Dragon Quest
Steve e telecronista in La coppa dei dragoni
Robin Hood/Robert Anthington in Robin Hood
Masato in Miyuki
Principe di Raperonzolo, Principe Franz, personaggi vari in Le fiabe son fantasia
Toki in Ken il guerriero: la leggenda di Raoul il dominatore del cielo
Pegasus in I Cavalieri dello zodiaco e I Cavalieri dello zodiaco - Saint Seiya - Hades
Cameriere, malvivente, capo della polizia, croupier, capo del locale Neko-manma, Robert Harrison, scagnozzo, padre di Tommaso, giornalista A, Ivanov, Jimmy in City Hunter
Narratore in Drawn Together
Roby (1ª voce) in A tutto gas
Philip in Motori in pista
Roberto in Forza campioni
Genio in Transformers (1ª serie)
Zor in Robotech (3ª serie)
Kratos in I cinque samurai
Pegasion in Webdiver
Ax-Eluder in Cosmowarrior Zero
Daryoon in La leggenda di Arslan
Isp. Matsui in Patlabor
Schwarzeneggertaro in Kekko Kamen - La maschera libidinosa
Kozaburo Ushikawa in Il minatore dello spazio
Landon West in SAT Super Adventure Team
Oassis in Wedding Peach DX
Souji Mikage in La rivoluzione di Utena
Akira in Cutey Honey, la combattente dell'amore
Jotaro Kujo in Le bizzarre avventure di JoJo (OVA)
Mikuro Yakushimaru in Proteggi la mia terra
Fuma Mono in X
Regista in Golden Boy
Kaede Rukawa in Slam Dunk
Kazutaka Muraki in Eredi del buio
Kambei Shimada in Samurai 7
Principe Ojin, Howard X. Miller, Lucien Grimley, Gelgo e altri personaggi in Yu-Gi-Oh! GX
Fernand de Morcerf in Il conte di Montecristo
Masaki Kananase in Platinumhugen Ordian
Dorf Azalia in Planetes
Conte di Sandwich in Le Chevalier D'Eon
Choji Suitengu in Speed Grapher
Isaak Fernand Von Kampfer in Trinity Blood
Kuradeel in Sword Art Online
Napapa e Zirloin in Dragon Ball Super
Dottor Keith White in Project Arms
Jirobo Ikkanzaka e Yokochini in Bleach
Shiro in Assassination Classroom
Dialoghi Doppiaggio
Cartoni animati
Samurai 7
X-Men Evolution
Kung-Foot: la squadra delle meraviglie
I Cavalieri dello zodiaco - Saint Seiya - Hades
Legendz - La leggenda dei re draghi
Code Lyoko (s. 2-4)
Dragon Ball Super (ep. 77-131)
A casa dei Loud (ep. 4x15+)
Film d'animazione
Pegasus in I Cavalieri dello zodiaco - La dea della discordia (primo doppiaggio), I Cavalieri dello zodiaco - L'ardente scontro degli dei (primo doppiaggio), I Cavalieri dello zodiaco - La leggenda dei guerrieri scarlatti (primo doppiaggio), I Cavalieri dello zodiaco - L'ultima battaglia (primo doppiaggio), I Cavalieri dello zodiaco - Le porte del paradiso, I Cavalieri dello zodiaco - La leggenda del Grande Tempio.
Akira Fudo/Devilman in Devilman - La genesi (primo doppiaggio), Devilman - L'arpia Silen (primo doppiaggio), Amon - The Darkside of Devilman
Douglas in City Hunter Special: Un complotto da un milione di dollari, Jack Douglas/Jack Knife in City Hunter Special: Arrestate Ryo Saeba!
Conte di Cagliostro in Lupin III - Il castello di Cagliostro (2ª e 3ª edizione)
Gordon in Lupin III - La pietra della saggezza (3ª edizione)
Shiro Sanada in Corazzata spaziale Yamato
Serie televisive
Eros Cristiani in Cri Cri
Kal Penn in How I Met Your Mother
Videogiochi
Maggiore Korbut in Metro: Last Light
Benjamin Travis in Hitman: Absolution
Crociato maschio in Diablo III: Reaper of Souls
Il vescovo in Dante's Inferno
Sentinella in Darksiders
Jamaerah lo Scriba e Radicanera in Darksiders II
Atoq Navarro in Uncharted: Drake's Fortune
Agente Nightingale e Harry Garrett in Alan Wake
Jonah Maiava in Tomb Raider
Hunk in Resident Evil: Operation Raccoon City e Resident Evil: Revelations 2
Il generale Adams in Killzone
Malistar Drake in Wizard101.it
Il capitano Narville in Killzone 2 e Killzone 3
Lord Harkon in The Elder Scrolls V: Skyrim
Cap. Andrew Del Rio in Halo 4
Mattias Nilsson in Mercenaries 2: Inferno di fuoco
James Barrett in Assassin's Creed III
Daud in Dishonored, Il pugnale di Dunwall, Le streghe di Brigmore e Dishonored 2
Garron Paduk in Gears of War: Judgment e Gears 5
Maschera Nera in Batman: Arkham City, Batman: Arkham Knight e Batman: Arkham Origins
Azrael in Batman: Arkham City e Batman: Arkham Knight
Nathan Dawkins in Beyond: Due anime
Avalon Centrifuga in Little big planet 2
Singed in League of Legends
Illidan Grantempesta, Campione di Roccavento, Monaco Shandaren e Ombra del vento in World of Warcraft, Hearthstone
Illidan Grantempesta in Heroes of the Storm
Personaggi vari in Horizon Zero Dawn
Personaggi vari in Far Cry 4
Giornalista, civili vari e Raymond Wolfe in Infamous: Second Son
Carl Stoddard in Battlefield Hardline
Senza Barba e Mercer in Borderlands 2
Zagato in Damnation
Morgan Everett in Deus Ex: Mankind Divided
Von Diakonov e Axel Von Wallenrod in Dragon Lore: The Legend Begins
Sam Becker in Far Cry 3
Tenente Chen e Registrazioni in F.E.A.R. Perseus Mandate
Soldato Pyle in Homefront
Narratore in Sekiro: Shadows Die Twice
Garron Padduk in Gears 5
Note
Altri progetti
Collegamenti esterni
Diego Baratto, Intervista con Ivo De Palma su NonSoloCinema, gennaio, 2011. | 37,660 |
https://uz.wikipedia.org/wiki/Ko%CA%BBrsatkichli%20funksiya | Wikipedia | Open Web | CC-By-SA | 2,023 | Koʻrsatkichli funksiya | https://uz.wikipedia.org/w/index.php?title=Koʻrsatkichli funksiya&action=history | Uzbek | Spoken | 148 | 387 | Koʻrsatkichli funksiya - u = a> koʻrinishdagi funksiya, — °o < x < + °°, 0<>;<oo, a>0, a*\,a> 1 boʻlganda Koʻrsatkichli funksiya monoton oʻsuvchi, 0 < a < 1 boʻlganda monoton kamayuvchi funksiya boʻladi. Koʻrsatkichli funksiyaning muhim holi u = ye funksiyadir. Bu funksiyaning har qanday tartibli hosilasi mavjud boʻlib, bu hosilalar ye ga teng boʻladi. u = ye* Koʻrsatkichli funksiya quyidagi limit bilan aniqlanadi:e = lim (1 H—)Agar bu limitda x haqiqiy oʻzgaruvchi z = x + iy kompleks oʻzgaruvchi bilan almashtirilsa ham bu limit mavjud boʻladi. Bu limitning qiymati har qanday kompleks z uchun ye1 Koʻrsatkichli funksiyaning qiymati deb qabul qilinadi. yeg Koʻrsatkichli funksiya funksiyaning ham har qanday tartibli hosilasi oʻziga teng boʻladi va bu funksiya uchun quyidagi formulalar oʻrinli:e* = cosy + isiny (Eyler formulasi), gi+im — ez yaʼni gj; k f. davriy funksiya boʻladi va uning davri sof mavhum 2da songa teng boʻladi.
Manbalar | 44,837 |
https://sw.wikipedia.org/wiki/Wanyamapori | Wikipedia | Open Web | CC-By-SA | 2,023 | Wanyamapori | https://sw.wikipedia.org/w/index.php?title=Wanyamapori&action=history | Swahili | Spoken | 92 | 267 | Wanyamapori ni wanyama wanaoishi porini na huwa hawafugwi na binadamu kama baadhi ya wanyama wengine.
Wanyama hao ni kama vile Tembo wa Afrika, Simba, Twiga , Pundamilia, Chui, Kongoni, Sitatunga, Fisi na wanyama wengine.
Wanyamapori wanaweza kuwekwa pamoja katika sehemu iliyotengenezwa na kuitwa Zuu au bustani ya wanyama, lakini si eneo rasmi kwa wanyama hao kuishi.
Wanyamapori wamegawanyika katika makundi mbalimbali kulingana na upatikanaji wao. Makundi hao ni kama ifuatavyo:
wanyama waliopotea kama vile dinosauri (mijusi wakubwa), vifaru weupe n.k.
wanyama wanaokaribia kupotea kama vile ndovu au tembo, mbwamwitu duma n.k.
Wanyama | 15,323 |
https://no.wikipedia.org/wiki/Provinsen%20Marb%C3%A1n | Wikipedia | Open Web | CC-By-SA | 2,023 | Provinsen Marbán | https://no.wikipedia.org/w/index.php?title=Provinsen Marbán&action=history | Norwegian | Spoken | 15 | 40 | Marbán er en provins i departementet Beni i Bolivia. Hovedstaden er Loreto.
Referanser
Marbán, provins | 19,201 |
https://hy.wikipedia.org/wiki/%D4%B5%D5%BE%D6%80%D5%B8%D5%BA%D5%A1%D5%B5%D5%AB%20%D5%AF%D5%A1%D5%B4%D5%B8%D6%82%D6%80%D5%BB%20%28%D4%B2%D6%80%D5%A5%D5%B6%D5%B6%D5%A5%D6%80%20%D5%AC%D5%A5%D5%BC%D5%B6%D5%A1%D5%B6%D6%81%D6%84%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Եվրոպայի կամուրջ (Բրեններ լեռնանցք) | https://hy.wikipedia.org/w/index.php?title=Եվրոպայի կամուրջ (Բրեններ լեռնանցք)&action=history | Armenian | Spoken | 264 | 1,270 | Եվրոպայի կամուրջ կամ «Եվրոպա» կամուրջ (Europabrücke), 777 մետր երկարություն ունեցող կամուրջ Ավստրիայի Տիրոլ երկրամասում, Ինսբրուք քաղաքից հարավ, Վիփ հովտում։ Կամուրջն իրար է կապում Սիլլ գետի երկու ափերը, դառնում Ալպյան լեռներով ձգվող Բրեններ A13 ավտոմայրուղու և եվրոպական E45 երթուղու կարևորագույն հատվածներից մեկը։ Այդպիսով՝ կամուրջը հանդիսանում է Ավստրիան իտալական Հարավային Տիրոլին և Հարավարևելյան Գերմանիան Հյուսիսային Իտալիային կապող գլխավոր մայրուղու կարևորագույն մասը։
Հակիրճ տեղեկատվություն
«Եվրոպայի կամրջի» սյուների միջև ամենամեծ թռիչքը 198 մետր երկարություն ունի։ Կամրջի վրա ստեղծվել են անհրաժեշտ հարմարություններ՝192 մետր բարձրությունից էլաստիկ պարանով ներքև ցատկելու՝ Bungee jumping-ի համար. այս առումով «Եվրոպան» աշխարհում նման կարգի հինգերորդ բարձր օբյեկտն է։
Կամրջի երթևեկելի մասը, որ կազմված է երկաթբետոնե հեծաններից (ի դեպ, շինարարության ժամանակ օգտագործվել է 70 հազար խորանարդ մետր բետոն), հենվում է հինգ սյուների վրա, որոնցից ամենաբարձրը 146,5 մետր բարձրություն ունի։ 1984 թվականին իրականացված վերակառուցողական աշխատանքներից հետո կամրջի լայնությունը հասցվել է 24,6 մետրի։ Երկու կողմերով ավտոմեքենաները կարող են երթևեկել երեքական շարքով։
Կամրջի շինարարության ընթացքում զոհվել է քսաներկու շինարար, ընդ որում՝ պաշտոնական տվյալներով՝ նրանցից մեկը, իսկ ըստ տարածված խոսակցությունների՝ երեքը, խեղդվել են հենասյուներից մեկի դեռ չպնդացած բետոնի մեջ ու այդպես մնացել թաղված։ Ի հիշատակ շինարարության և զոհերի՝ մոտակա ավտոկայանատեղիից վեր՝ ժայռի վրա կառուցվել է արդիական ոճով մի մատուռ, իսկ դրանից մի փոքր ցած դիտահարթակ է պատրաստվել։
Ռեկորդ
«Եվրոպայի կամուրջը» կառուցվել է 1959-ից 1963 թվականներին և մեկ տասնամյակից ավելի համարվել է Եվրոպայի ամենաբարձր կամուրջը (բարձրությունը 190 մետր է)՝ գերազանցելով նույնիսկ շվեյցարական Gueuroz-ին։ Բայց 1974 թվականին շահագործման հանձնված Italia Viaduct-ը նրանից վերցրել է առաջատարի տիտղոսը։
Գրականություն
• Der Große ADAC Alpenführer- 1992.ADAC Verlag GmbH, München. ISBN 3-87003-470-X
• Baedecker. Italien. Verlag Karl Baedeker.2002. ISBN 3-8297-1091-7
Ծանոթագրություններ
Արտաքին հղումներ
Europabrücke - Austria
Պատկերասրահ | 46,602 |
https://vi.wikipedia.org/wiki/Richia%20salina | Wikipedia | Open Web | CC-By-SA | 2,023 | Richia salina | https://vi.wikipedia.org/w/index.php?title=Richia salina&action=history | Vietnamese | Spoken | 16 | 36 | Richia salina là một loài bướm đêm trong họ Noctuidae.
Chú thích
Liên kết ngoài
Richia | 6,153 |
https://unix.stackexchange.com/questions/335145 | StackExchange | Open Web | CC-By-SA | 2,017 | Stack Exchange | Franklin Yu, Patrick Artounian, https://unix.stackexchange.com/users/106525, https://unix.stackexchange.com/users/118138, https://unix.stackexchange.com/users/128228, https://unix.stackexchange.com/users/208848, https://unix.stackexchange.com/users/45630, the_velour_fog, thrig, z0r | English | Spoken | 540 | 924 | Using zsh autocompletion for alias
I have created a few aliases for git in zsh. For example: gch = git checkout, grb = git rebase --committer-date-is-author-date and some more complex useful zsh functions for git commands. But how can I allow these aliases to use zsh git autocompletion?
What happens when you remove oh-my-zsh and instead just zsh -f and then autoload -U compinit and then compinit and then create the aliases?
My advise is to replace shell aliases like gch, with Git aliases like g ch. This way you get completion for free; in addition, it works for other shells like Bash, Fish, and PowerShell.
I've had the same issue. You should check whether the option completealiases is set. It prevents aliases from being internally substituted before completion is attempted. In my case, removing setopt completealiases from my .zshrc resolved the issue. You can try unsetopt completealiases if oh-my-zsh sets it.
This also fixed git-together, which works by aliasing git to its own command.
If you open the file which contains the autoloaded function defintion for git completion:
On my ubuntu system, its:
/usr/share/zsh/functions/Completion/Unix/_git
at the top of the file you will see the #compdef declaration
#compdef git git-cvsserver git-receive-pack git-upload-archive git-upload-pack git-shell gitk tig
you can try adding your aliases to the #compdef definition, e.g.
#compdef git git-cvsserver git-receive-pack [...] tig gch grb
^^^ ^^^
Then starting a new shell to get that new directive loaded.
Then try invoking completion.
What is /usr/share/zsh/functions/Completion/Unix/_git?
Its the file that contains the autoloaded "function" defining the completion behaviour for the all the commands defined in the #compdef directive, in this case the git family of commands, it lives in fpath and is autoloaded by compinit when the completion system is initialized.
What is #compdef ?
from man zshcompsys
#compdef name ... [ -{p|P} pattern ... [ -N name ... ] ]
The file will be made autoloadable and the function defined in it
will be called when completing names, each of which is either the
name of a command whose arguments are to be completed or one of a
number of special contexts in the form -context- described below.
Is there a nicer way to make this happen so it can fit into my dotfiles?
yes there are other ways to script this out but did this work for you? I guess there is no point bothering with improving on this solution if it fundamentally didnt work in the first place.
Just tried it and no dice. I apologize for rushing into things.
@patrick oh ok sorry. it works for me with functions, however I dont use aliases anymore so I couldnt test on my system
Piling up on the_velour_frog's answer, if you don't want to modify the original completion file. You can use compdef directly:
compdef <completion_function> <function>
For instance
compdef _git gch
I've done something very similar. Are you using oh-my-zsh? If so, make sure you've enabled the zsh-completions plugin in your .zshrc file. I'd also recommend the zsh-autosuggestions plugin.
Once you've done that, you'll need to add the following to your .zshrc file (if it's not already there)
fpath=(~/.zsh/completions $fpath)
autoload -U compinit && compinit
Yes, I am oh-my-zsh and I also already have that in the zshrc.
| 24,795 |
https://stackoverflow.com/questions/34353626 | StackExchange | Open Web | CC-By-SA | 2,015 | Stack Exchange | BruceyBandit, Cetin Basoz, Lukasz Szozda, Mukund, https://stackoverflow.com/users/1096892, https://stackoverflow.com/users/13302, https://stackoverflow.com/users/2866204, https://stackoverflow.com/users/5070879, https://stackoverflow.com/users/894977, marc_s | English | Spoken | 616 | 1,183 | Create table statement for multiple columns
If I perform a create table like below in T-SQL based on that select statement the previously existed:
create table #CodesToVoid
(
PromotionId int,
PromotionId int,
Code nchar(10),
BookingReference nvarchar(50)
)
INSERT #CodesToVoid
SELECT
p.PromotionId [MasterPromotionID],
pc.PromotionId, pc.Code, pc.BookingReference
FROM
J2H.dbo.Promotions p...
I find it strange to have to promotionID as one is coming from alias p. and the other from alias pc. If in the create table statement I call one of the PromotionId as:
PromotionId [MasterPromotionID] int
It displays a syntax error. Same if I do it as:
PromotionId AS MasterPromotionID int
My question is that I need two promotionId in the create table in this situation because the select statement has two of these?
what is pc aliasing for which table?
@Mukund tables: pc - promotioncode, p - promotions
You cannot have the same idenfitifier for 2 columns. Create your table as:
CREATE TABLE #CodesToVoid(
MasterPromotionID INT,
PromotionId INT,
Code NCHAR(10),
BookingReference NVARCHAR(50));
INSERT INTO #CodesToVoid(MasterPromotionID,PromotionId,Code,BookingReference)
SELECT p.PromotionId, -- aliasing change nothing here
pc.PromotionId, -- data will be inserted to column specified in column list
pc.Code,
pc.BookingReference
FROM J2H.dbo.Promotions p...
Alternatively use SELECT * INTO:
SELECT p.PromotionId [MasterPromotionID],
pc.PromotionId,
pc.Code,
pc.BookingReference
INTO #CodesToVoid
FROM J2H.dbo.Promotions p...
Keep in mind that creating SELECT * INTO ... more than once may return error that table exists for current connection.
My apologies, we are trying to deviate from Select Into clauses (but useful for other users who may see this answer). If I call it 'MasterPromotionID in the create statement' - then does the select statement changes to just 'p.MasterPromotionID' or should it stay as it is?
@BruceyBandit After creation a table column name is constant. When you use INSERT SELECT the name of alias in select column list does not matter. Check my update and always specify column list when doing INSERT SELECT for clarity.
@lad2025: your research dog is upside down :-)
If you do it with "Create Table" first, then the fieldnames in that table has no relation to the fieldNames in your select. They are matched up positionally. ie:
create table #CodesToVoid
(
MasterPromoId int,
PromoId int,
Code nchar(10),
BookingReference nvarchar(50)
);
INSERT #CodesToVoid
SELECT p.PromotionId, pc.PromotionId, pc.Code, pc.BookingReference
from J2H.dbo.Promotions p...
However, for something like this, you wouldn't first create a table. You would just "Select into" a table. It does the "create table" part for you. ie:
SELECT p.PromotionId as [MasterPromotionID],
pc.PromotionId,
pc.Code,
pc.BookingReference
INTO #CodesToVoid
from J2H.dbo.Promotions p...
If you would use Create Table approach, then for locally used tables "a table variable" might be a better choice than a temp table. ie:
declare @CodesToVoid table
(
MasterPromoId int,
PromoId int,
Code nchar(10),
BookingReference nvarchar(50)
);
INSERT @CodesToVoid
SELECT p.PromotionId, pc.PromotionId, pc.Code, pc.BookingReference
from J2H.dbo.Promotions p...
Thank you for this answer Cetin, upvote. Reason not using Select Into is because of reference warnings in error list. So we using the Create Table first, and reason not declaring tables is a lot of testing will have to be done as affects performance and that will be a bugga
I don't understand your comments really :) Maybe there is something you are interpreting wrong for 'select into', if you shared a sample to show what you meant, there could be explanations\corrections. One of the reasons I suggested table variable was performance and easier debugging :)
I did start off using variables but when I showed senior colleague, he says a lot of testing needs to be done because we have to rewrite a lot of script. This will take time and they need to get this deployed very soon so he said keep it to temp tables (hash tag) than variable temp tables for now
| 50,630 |
https://stackoverflow.com/questions/59761045 | StackExchange | Open Web | CC-By-SA | 2,020 | Stack Exchange | English | Spoken | 763 | 2,313 | How to tell what "features" are available per crate?
Is there a standard way to determine what features are available for a given crate?
I'm trying to read Postgres timezones, and this says to use the crate postgres = "0.17.0-alpha.1" crate's with-time or with-chrono features.
When I try this in my Cargo.toml:
[dependencies]
postgres = { version = "0.17.0-alpha.1", features = ["with-time"] }
I get this error:
error: failed to select a version for `postgres`.
... required by package `mypackage v0.1.0 (/Users/me/repos/mypackage)`
versions that meet the requirements `^0.17.0-alpha.1` are: 0.17.0, 0.17.0-alpha.2, 0.17.0-alpha.1
the package `mypackage` depends on `postgres`, with features: `with-time` but `postgres` does not have these features.
Furthermore, the crate page for postgres 0.17.0 says nothing about these features, so I don't even know if they're supposed to be supported or not.
It seems like there would be something on docs.rs about it?
Crates uploaded to crates.io (and thus to docs.rs) will show what feature flags exist. crates.io issue #465 suggests placing the feature list on the crate's page as well.
Beyond that, the only guaranteed way to see what features are available is to look at the Cargo.toml for the crate. This generally means that you need to navigate to the project's repository, find the correct file for the version you are interested in, and read it.
You are primarily looking for the [features] section, but also for any dependencies that are marked as optional = true, as optional dependencies count as an implicit feature flag.
Unfortunately, there's no requirement that the crate author puts any documentation about what each feature flag does. Good crates will document their feature flags in one or more locations:
As comments in Cargo.toml
Their README
Their documentation
See also:
How do you enable a Rust "crate feature"?
For the postgres crate, we can start at crates.io, then click "repository" to go to the repository. We then find the right tag (postgres-v0.17.0), then read the Cargo.toml:
[features]
with-bit-vec-0_6 = ["tokio-postgres/with-bit-vec-0_6"]
with-chrono-0_4 = ["tokio-postgres/with-chrono-0_4"]
with-eui48-0_4 = ["tokio-postgres/with-eui48-0_4"]
with-geo-types-0_4 = ["tokio-postgres/with-geo-types-0_4"]
with-serde_json-1 = ["tokio-postgres/with-serde_json-1"]
with-uuid-0_8 = ["tokio-postgres/with-uuid-0_8"]
You can use the cargo-feature crate to view and manage your dependencies' features:
> cargo install cargo-feature --locked
> cargo feature postgres
Avaliable features for `postgres`
array-impls = ["tokio-postgres/array-impls"]
with-bit-vec-0_6 = ["tokio-postgres/with-bit-vec-0_6"]
with-chrono-0_4 = ["tokio-postgres/with-chrono-0_4"]
with-eui48-0_4 = ["tokio-postgres/with-eui48-0_4"]
with-eui48-1 = ["tokio-postgres/with-eui48-1"]
with-geo-types-0_6 = ["tokio-postgres/with-geo-types-0_6"]
with-geo-types-0_7 = ["tokio-postgres/with-geo-types-0_7"]
with-serde_json-1 = ["tokio-postgres/with-serde_json-1"]
with-smol_str-01 = ["tokio-postgres/with-smol_str-01"]
with-time-0_2 = ["tokio-postgres/with-time-0_2"]
with-time-0_3 = ["tokio-postgres/with-time-0_3"]
with-uuid-0_8 = ["tokio-postgres/with-uuid-0_8"]
with-uuid-1 = ["tokio-postgres/with-uuid-1"]
Note: this only works if the crate is already in Cargo.toml as a dependency.
The list of features are also displayed when using cargo add:
> cargo add postgres
Updating crates.io index
Adding postgres v0.19.4 to dependencies.
Features:
- array-impls
- with-bit-vec-0_6
- with-chrono-0_4
- with-eui48-0_4
- with-eui48-1
- with-geo-types-0_6
- with-geo-types-0_7
- with-serde_json-1
- with-smol_str-01
- with-time-0_2
- with-time-0_3
- with-uuid-0_8
- with-uuid-1
It seems like there would be something on docs.rs about it?
Other people thought so too! This was added to docs.rs in late 2020. You can view the list of features from the crate's documentation by navigating to "Feature flags" on the top bar:
You still won't see the list of features of postgres 0.17.0 though since old documentation isn't regenerated when new functionality is added to the site, but any recently published versions will have it available.
Note: this is only available on docs.rs and not generated when running cargo doc.
As melMass says, run
cargo add postgres --dry-run
and it will print the available/installed features without changing anything.
The feature-set of a dependency can be retrieved programmatically via the cargo-metadata crate:
use cargo_metadata::MetadataCommand;
fn main() {
let metadata = MetadataCommand::new()
.exec()
.expect("failed to get metadata");
let dependency = metadata.packages
.iter()
.find(|package| package.name == "postgres")
.expect("failed to find dependency");
println!("{:#?}", dependency.features);
}
{
"with-time-0_3": [
"tokio-postgres/with-time-0_3",
],
"with-smol_str-01": [
"tokio-postgres/with-smol_str-01",
],
"with-chrono-0_4": [
"tokio-postgres/with-chrono-0_4",
],
"with-uuid-0_8": [
"tokio-postgres/with-uuid-0_8",
],
"with-uuid-1": [
"tokio-postgres/with-uuid-1",
],
"array-impls": [
"tokio-postgres/array-impls",
],
"with-eui48-1": [
"tokio-postgres/with-eui48-1",
],
"with-bit-vec-0_6": [
"tokio-postgres/with-bit-vec-0_6",
],
"with-geo-types-0_6": [
"tokio-postgres/with-geo-types-0_6",
],
"with-geo-types-0_7": [
"tokio-postgres/with-geo-types-0_7",
],
"with-eui48-0_4": [
"tokio-postgres/with-eui48-0_4",
],
"with-serde_json-1": [
"tokio-postgres/with-serde_json-1",
],
"with-time-0_2": [
"tokio-postgres/with-time-0_2",
],
}
This is how other tools like cargo add and cargo feature provide dependency and feature information.
Another quick and dirty (obviously non-standard) way.
Get an error intentionally by running:
$ cargo add postgres -F x
x can be anything not recognized as a feature name.
The error message contains all the available features like this:
Updating crates.io index
Adding postgres v0.19.7 to dependencies.
error: unrecognized feature for crate postgres: x
disabled features:
array-impls, with-bit-vec-0_6, with-chrono-0_4, with-eui48-0_4, with-eui48-1
with-geo-types-0_6, with-geo-types-0_7, with-serde_json-1, with-smol_str-01
with-time-0_2, with-time-0_3, with-uuid-0_8, with-uuid-1
| 16,179 | |
https://ba.wikipedia.org/wiki/%D0%9A%D1%8B%D1%81%D1%81%D0%BA%D0%B0%D1%8F%20%D0%A0%D0%B0%D1%81%D1%81%D0%BE%D1%85%D0%B0 | Wikipedia | Open Web | CC-By-SA | 2,023 | Кысская Рассоха | https://ba.wikipedia.org/w/index.php?title=Кысская Рассоха&action=history | Bashkir | Spoken | 127 | 548 | Кысская Рассоха — Рәсәйҙәге йылға. Архангельск өлкәһе биләмәләрендә аға. Йылға Кысса йылғаһының уң ярына тамағынан 31 км өҫтәрәк ҡушыла. Йылға оҙонлоғо 14 км.
Һыу реестры мәғлүмәттәре
Рәсәй дәүләт һыу реестры мәғлүмәте буйынса йылға Двина-Печора һыу бассейны округында урынлашҡан, һыу хужалығы участкаһы — Мезень йылғаһы башынан Малонистогорская ауылы янындағы һыу үлсәү посына тиклем. Бәләкәй йылға бассейны (йылға эске бассейны) — Өҫтәмә бассейны юҡ, йылға бассейны — Мезень.
Һыу ресурстарының федераль агентлығы тарафынан әҙерләнгән Рәсәй Федерацияһы территорияһын һыу хужалығы буйынса районлау геоинформация системаһы мәғлүмәттәре буйынса:
Дәүләт һыу реестрында һыу объектының коды — 03030000112103000045180
Гидрологик өйрәнеү (ГӨ) буйынса коды — 103004518
Бассейн коды — 03.03.00.001
ГӨ буйынса томы — 03
ГӨ буйынса сығарылыш — 0
Иҫкәрмәләр
Һылтанмалар
Рәсәй Федерацияһы тәбиғәт ресурстары һәм экология министрлығы
Архангельск өлкәһе йылғаларыДвина-Печора бассейны округы йылғалары | 23,773 |
https://movies.stackexchange.com/questions/61129 | StackExchange | Open Web | CC-By-SA | 2,016 | Stack Exchange | cde, https://movies.stackexchange.com/users/23541 | English | Spoken | 92 | 162 | What did the taco say in "Sausage Party"
Okay so the hot Mexican lesbian taco girl said a couple of fast sentences in Spanish at one point maybe 1/2 to 3/4 of the way through the movie. I heard a bunch of Spanish-speaking people laughing, but I didn't get it. What is the Spanish to English translation?
Something something dick joke, probably.
This clip?
The top comment gives a transcription:
"Tómala pinche, Douche de la chingada de mierda pendejo son of a bitch!"
Basic translation:
"Take that, Stupid Asshole Douche Fuck Son-of-a-Bitch!"
| 26,516 |
https://ar.wikipedia.org/wiki/NGC%207374B | Wikipedia | Open Web | CC-By-SA | 2,023 | NGC 7374B | https://ar.wikipedia.org/w/index.php?title=NGC 7374B&action=history | Arabic | Spoken | 26 | 87 | NGC 7374B في الفهرس العام الجديد، هي مجرة، تقع في كوكبة الفرس الأعظم. اكتشفت بواسطة ألبرت مارث.
مراجع
روابط خارجية
اكتشافات ألبرت مارت
الفهرس العام الجديد | 36,868 |
https://ce.wikipedia.org/wiki/%D0%A2%D1%83%D1%80%D1%83%D0%BD%D1%87%D0%BB%D1%83%20%28%D0%A2%D0%BE%D1%80%D0%BE%D1%81%D0%BB%D0%B0%D1%80%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Турунчлу (Торослар) | https://ce.wikipedia.org/w/index.php?title=Турунчлу (Торослар)&action=history | Chechen | Spoken | 40 | 179 | Турунчлу () — Туркойчоьнан Лаьттайуккъера хӀордан регионан Мерсин провинцин (ил) Торосларнан кӀоштара эвла/микрокӀошт ().
Географи
Истори
Бахархой
Билгалдахарш
Хьажоргаш
Мерсин провинцин нах беха меттигаш
Мерсин провинцин микрокӀошташ
Торосларнан микрокӀошташ
Торосларнан кӀоштан нах беха меттигаш
Туркойчоьнан микрокӀошташ
Туркойчоьнан нах беха меттигаш | 15,301 |
https://stackoverflow.com/questions/5013978 | StackExchange | Open Web | CC-By-SA | 2,011 | Stack Exchange | Airaf Ali, Anjum Akhtar, Anriëtte Myburgh, Catlana, Marcello, N.H., NingYang Wang, Shahrukh S., Sidath, SimonDowdles, https://stackoverflow.com/users/104874, https://stackoverflow.com/users/10657341, https://stackoverflow.com/users/10657342, https://stackoverflow.com/users/10657343, https://stackoverflow.com/users/10657419, https://stackoverflow.com/users/10657463, https://stackoverflow.com/users/10657467, https://stackoverflow.com/users/10657468, https://stackoverflow.com/users/10660195, https://stackoverflow.com/users/302341 | English | Spoken | 355 | 582 | Problems in IE without doctype
I have a specific problem by a fixed bar.
I would to use this fixedbar but I sould n't use doctype
This bar in IE have problems. for example bar by scroll is not fixed and move or size of tooltips changed.
In fact, my project owner don't let me to use of doctype
http://ryan.rawswift.com/sandbox/jixedbar-0.0.2/demo/
Edit:
Hi to all , that is right.
but exceptionally, I must start html file whth "html tag" in this project!
It is good that you help me to fixed this bar when scroll change.
Other problems isn't important….
If you are referring to IE6 (are you??), then there would be an issue that is possibly related to the use of the css style position:fixed; because IE6 does not support this css property.
However, if the author has done this in jQuery, one would expect there to possibly be a fix implemented for this.
Onto the topic of doc types, you say that there is an issue in IE without doc types. Generally there would be a problem in many browsers without declaring a doc type. While many will revert to a default doc type, it is common (and very good) practice to specify your doc type based on your code (HTML, XHTML, HTML 5.0 etc etc).
Kind regards,
Simon
IE8 (maybe 7 as well, forget about 6) behaves almost up to standard when you use a STRICT DOCTYPE, so use the XHTML STRICT DOCTYPE:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Haha, thanks, I've noticed that IE6 somewhat behaves as predicted when using XHTML 1.0 Strict, but I don't bargain on it.
@Kyle - I saw a classic quote the other day, sure you'll appreciate it: "...and by the 6th day God had created the earth, it was beautiful, immaculate... and then he tested it in IE!" - Unkown
@webfac: It was a guy on Twitter, who tweeted it almost 10 months ago, but it's still trending. Lol
@Anriëtte LOL that is brilliant. I may have got the phrase a bit wrong, but you get the idea! Funny how those trends keep going!
| 35,175 |
https://stackoverflow.com/questions/2391731 | StackExchange | Open Web | CC-By-SA | 2,010 | Stack Exchange | Henk Holterman, Silverblp, Victor Frank, fane, https://stackoverflow.com/users/231465, https://stackoverflow.com/users/4864219, https://stackoverflow.com/users/4864221, https://stackoverflow.com/users/4864254, https://stackoverflow.com/users/4868048, https://stackoverflow.com/users/60761, uksajja, user9969 | English | Spoken | 383 | 897 | Cannot Get Threading right on wpf UI
I am building a proof of concept application before it gets rollout to the real one.
Scenario
I should be able to stop processing in the middle of it.
Toolbar 2 buttons "Start" & "Stop"
User press start and it process a long running task.
User decides out of the blue to stop the task.
I cannot seem to get threading right!! I cannot press stop as it's waiting for the long running task as if the long running task is actually running on UI thread and not as intented on background thread.
What Am I doing wrong can you spot it? Thanks for your help
public partial class TestView : UserControl
{
private readonly BackgroundWorker _worker;
public TestView
{
InitializeComponent();
_worker = new BackgroundWorker();
_worker.RunWorkerCompleted += RunWorkerCompleted;
_worker.DoWork+=DoWork;
_worker.WorkerReportsProgress = true;
_worker.ProgressChanged+=_worker_ProgressChanged;
_worker.WorkerSupportsCancellation = true;
}
static void RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
{
if (e.Cancelled)
{
MessageBox.Show("The task has been cancelled");
}
else if (e.Error != null)
{
MessageBox.Show("Error. Details: " + e.Error);
}
else
{
MessageBox.Show("The task has been completed. Results: " + e.Result);
}
}
private delegate void SimpleDelegate();
void DoWork(object sender, DoWorkEventArgs e)
{
for (var i = 0; i < 1000000; i++)
{
_worker.ReportProgress(i, DateTime.Now);
// SimpleDelegate simpleDelegate = () => txtResult.AppendText("Test" + System.Environment.NewLine);
//Dispatcher.BeginInvoke(DispatcherPriority.Normal, simpleDelegate);
}
MessageBox.Show("I have done it all");
}
private void _worker_ProgressChanged(object sender, ProgressChangedEventArgs e)
{
DateTime time = Convert.ToDateTime(e.UserState);
txtResult.AppendText(time.ToLongTimeString());
txtResult.AppendText(Environment.NewLine);
}
private void BtnStart_Click(object sender, RoutedEventArgs e)
{
_worker.RunWorkerAsync();
}
private void BtnStop_Click(object sender, RoutedEventArgs e)
{
_worker.CancelAsync();
MessageBox.Show("Process has been stopped!");
}
}
You run a very tight loop inside of DoWork and continuously push Invoked ProgressUpdates to the Main Thread. That will make it sluggish.
But the real problem is that DoWork has to cooperate in Cancellation:
void DoWork(object sender, DoWorkEventArgs e)
{
for (var i = 0; i < 1000000; i++)
{
if (_worker.CancelationPending)
{
e.Cancel = true;
break; // or: return to skip the messagebox
}
_worker.ReportProgress(i, DateTime.Now);
}
MessageBox.Show("I have done it all"); // remove or make depend on Cancelled
}
Hi
Thanks for your reply.
Still not working.Also there is not an e.Cancelled=true.
Not sure what I am doing wrong.
Typo, should have been e.Cancel=true. Your demo will work better if you put a System.Threading.Thread.Sleep(10); inside the for loop.
| 31,604 |
https://pt.wikipedia.org/wiki/Azoia%20%28desambigua%C3%A7%C3%A3o%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Azoia (desambiguação) | https://pt.wikipedia.org/w/index.php?title=Azoia (desambiguação)&action=history | Portuguese | Spoken | 67 | 160 | Azoia ou zauia (do árabe az-zâwiya, significando «canto» ou «ermida»)
É um nome comum a algumas povoações portuguesas:
Azoia de Baixo — freguesia do concelho de Santarém
Azoia de Cima - freguesia do concelho de Santarém
Santa Iria de Azoia - freguesia do concelho de Loures
Ver também
Azoia - antiga freguesia do concelho de Leiria
Azoia (Sesimbra) - localidade do concelho de Sesimbra
Desambiguações de topônimos | 33,568 |
https://kk.wikipedia.org/wiki/%D0%9C%D0%B5%D0%BA%D1%81%D0%B8%D0%BA%D0%B0-%D0%90%D0%BC%D0%B5%D1%80%D0%B8%D0%BA%D0%B0%20%D1%81%D0%BE%D2%93%D1%8B%D1%81%D1%8B | Wikipedia | Open Web | CC-By-SA | 2,023 | Мексика-Америка соғысы | https://kk.wikipedia.org/w/index.php?title=Мексика-Америка соғысы&action=history | Kazakh | Spoken | 32 | 122 | Мексика-Америка соғысы - тағы да Мексикалық соғыстың Алғашқы Америкалық интервенциясы және АҚШ-Мексика соғысы деп те аталады. Бұл соғыс 1846 жылдан 1848 жылға дейінгі АҚШ елімен Мексика аралығындағы қарулы қақтығыс болып есептеледі.
Соғыстар | 6,340 |
https://fi.wikipedia.org/wiki/Hikinen%20iltap%C3%A4iv%C3%A4 | Wikipedia | Open Web | CC-By-SA | 2,023 | Hikinen iltapäivä | https://fi.wikipedia.org/w/index.php?title=Hikinen iltapäivä&action=history | Finnish | Spoken | 162 | 523 | Hikinen iltapäivä (Dog Day Afternoon) on vuonna 1975 ensi-iltansa saanut yhdysvaltalainen Sidney Lumetin ohjaama ja Frank Piersonin käsikirjoittama elokuva, jonka pääosissa näyttelee Al Pacino, John Cazale, Chris Sarandon ja Charles Durning.
Elokuva perustuu pankkiryöstön yritykseen ja kuvailee siihen liittyviä tapahtumia, jotka sijoittuvat vuoteen 1972.
Juoni
Elokuva pohjautuu brooklyniläisen pankin ryöstöyritykseen. Se kertoo pieleen menevästä pankkiryöstöstä, jonka aviomies teki saadakseen rahat transsukupuoliselle vaimolleen sukupuolenkorjausleikkaukseen. Päähenkilöt Sonny (Pacino) ja Sal (Cazale) ovat molemmat surkimuksia. Toinen elää mielikuvitusmaailmassa, toinen on muuten vain yksinkertainen. Media ryntää ryöstöpaikalle ja mullistaa rikoskuvion.
Roolit
Arvioita
Helsingin Sanomien tv-sivulla 1997 Mikael Fränti piti Hikistä iltapäivää Al Pacinon siihen asti hienoimpiin kuuluvana elokuvana, joka syntyi kun tämä oli Kummisetä 2:n jäljiltä hyvin rasittunut ja aikeissa lopettaa Hollywood-uransa. Fränti kehuu tosipohjaisen ja realistisen draaman sisältämiä tragikoomisia ja mustan huumorin piirteitä. Video-oppaassa vuodelta 1994 Asko Alanen antoi elokuvalle neljä tähteä viidestä, mikä vastaa sanallista arviota ”erinomainen”.
Lähteet
Vuoden 1975 yhdysvaltalaiset elokuvat
Yhdysvaltalaiset rikosdraamaelokuvat
Sidney Lumetin ohjaamat elokuvat
Parhaan alkuperäisen käsikirjoituksen Oscar-palkinnon saaneet elokuvat | 14,877 |
https://uk.wikipedia.org/wiki/%D0%91%D0%B0%D0%B9%D0%B2%D0%B5%D0%BB%D1%8C%20%D0%9F%D0%BE%D0%BB%D1%96%D0%BD%D0%B0%20%D0%9B%D0%B5%D0%BE%D0%BF%D0%BE%D0%BB%D1%8C%D0%B4%D1%96%D0%B2%D0%BD%D0%B0 | Wikipedia | Open Web | CC-By-SA | 2,023 | Байвель Поліна Леопольдівна | https://uk.wikipedia.org/w/index.php?title=Байвель Поліна Леопольдівна&action=history | Ukrainian | Spoken | 330 | 1,120 | Поліна Леопольдівна Байвель ( 1966 р.) — британський інженер і вчений українського походження, професор оптичних комунікацій та мережі на кафедрі електроніки і електротехніки в університетському коледжі Лондона. Вона зробила великий внесок в дослідження і розробки з високою пропускною здатністю багатохвильових оптичних мереж.
Навчання
П.Байвель народилася і виросла в Харкові і Ленінграді, де проживала до 1978 року.
Вона отримала освіту в університетському коледжі Лондона, де їй було присуджено ступінь бакалавра технічних наук у 1986 році, потім докторський ступінь у 1990 році.
Також у 1990 році П.Байвель виграла грант наукового стажування у Лондонському королівському товаристві за обміном з оптоволоконною лабораторією Інституту загальної фізики Академії Наук СРСР у Москві.
Наукові дослідження
П.Байвель зосередила всі свої дослідження на збільшення швидкості і ємності волоконно-оптичних систем зв'язку. Також вона проводила фундаментальні дослідження для обмеження ємності оптичних нелінійностей та їх пом'якшення.
Вона була однією з перших, хто науково довів доцільність використання довжини хвилі домену для маршрутизації в оптичних мережах у діапазоні відстаней і часових масштабах. П.Байвель створила застосування цих нових оптичних мережевих архітектурних концепцій, які були широко реалізовані в комерційних системах і мережах. Ці системи і мережі лежать в основі Інтернету і цифрових комунікацій та інфраструктури, необхідної для їх зростання. Її дослідження були профінансовані Дослідницькою Радою інженерних і фізичних наук ..
Нагороди та почесні звання
П.Байвель була обрана співробітником Королівської Академії інженерних наук в 2002 році і нагороджена Інститутом інженерів з електротехніки та радіоелектроніки (IEEE).
В 2013 році вона отримала інженерну премію Фотонного товариства за досягнення.
У 2014 році П.Байвель отримала право читати Кліффорд Патерсон лекції.
А в 2015 році була нагороджений премією Королівської Академії інженерних наук Колін Кемпбелл Мітчелл.
П.Байвель у 2016 році була обрана членом Королівського товариства (FRS).
Вона була призначена командувачем Ордена Британської імперії (CBE) в 2017 році за заслуги в інженерії.
Особисте життя
П.Байвель одружена з Анатолієм Зайцем — професором фізики Королівського коледжу Лондона. Вони виховали двох дітей.
Примітки
Українці Лондона
Українки Великої Британії
Незавершені статті про британських науковців
Командори ордена Британської імперії
Члени Лондонського королівського товариства
Члени Інституту фізики
Дійсні члени IEEE | 35,164 |
https://gaming.stackexchange.com/questions/169987 | StackExchange | Open Web | CC-By-SA | 2,014 | Stack Exchange | GnomeSlice, Mr McClean, https://gaming.stackexchange.com/users/3114, https://gaming.stackexchange.com/users/41081, https://gaming.stackexchange.com/users/74125, user98085 | English | Spoken | 172 | 235 | Cannot Hack Maurice phone with the PC
After I watched the first cutscene and killed Maurice, I cannot seem to hack his phone on PC. I tried watching videos and things like that and rebinded the keys. It didn't work. What does it mean by Press and Hold Q? I Pressed Q, and I held Q, it doesn't seem to work. I aim at his phone. The only thing it does is it makes Aiden bring out his phone.
@Braiam English please?
Did you ... walk up to/look at the phone? You know, so the Q button shows up above the phone?
@FEichinger Thanks but I fixed it. I did that already too, but thanks for trying to help.
@user74125 Instead of editing the answer into your question, you should post it as an actual answer. =]
@GnomeSlice Looking back on this, I did write it as an answer, it just took 2 days to do so.
I just launched a new game (did not continue the current one) and it worked.
| 33,773 |
https://ceb.wikipedia.org/wiki/Telephone%20Basin | Wikipedia | Open Web | CC-By-SA | 2,023 | Telephone Basin | https://ceb.wikipedia.org/w/index.php?title=Telephone Basin&action=history | Cebuano | Spoken | 85 | 141 | Libaong ang Telephone Basin sa Tinipong Bansa. Ang Telephone Basin nahimutang sa kondado sa Park County ug estado sa Montana, sa sentro nga bahin sa nasod, km sa kasadpan sa ulohang dakbayan Washington, D.C.
Ang klima hemiboreal. Ang kasarangang giiniton °C. Ang kinainitan nga bulan Hulyo, sa °C, ug ang kinabugnawan Disyembre, sa °C. Ang kasarangang pag-ulan milimetro matag tuig. Ang kinabasaan nga bulan Mayo, sa milimetro nga ulan, ug ang kinaugahan Enero, sa milimetro.
Ang mga gi basihan niini
Mga walog sa Montana (estado) | 31,207 |
https://hr.wikipedia.org/wiki/Jordankal | Wikipedia | Open Web | CC-By-SA | 2,023 | Jordankal | https://hr.wikipedia.org/w/index.php?title=Jordankal&action=history | Croatian | Spoken | 37 | 97 | Jordankal je naselje u slovenskoj Općini Mirnoj Peči. Jordankal se nalazi u pokrajini Dolenjskoj i statističkoj regiji Jugoistočnoj Sloveniji.
Stanovništvo
Prema popisu stanovništva iz 2002. godine naselje je imalo 38 stanovnika.
Izvor
Naselja u Općini Mirna Peč | 32,254 |
https://eu.wikipedia.org/wiki/Rahling | Wikipedia | Open Web | CC-By-SA | 2,023 | Rahling | https://eu.wikipedia.org/w/index.php?title=Rahling&action=history | Basque | Spoken | 379 | 1,030 | Rahling Frantziako udalerri bat da, Mosela departamenduan dagoena, Ekialde Handia eskualdean. 2013an biztanle zituen.
Demografia
Biztanleria
2007an Rahling udalerrian erroldatutako biztanleak 833 ziren. Familiak 302 ziren, horien artean 64 pertsona bakarrekoak ziren (28 bakarrik bizi ziren gizonak eta 36 bakarrik bizi ziren emakumeak), 75 seme-alabarik gabeko familiak ziren, 135 seme-alabak dituzten bikoteak ziren eta 28 seme-alabak dituzten guraso-bakarreko familiak ziren.
Biztanleriak, denboran, ondorengo grafikoan ageri den bilakaera izan du:
Etxebizitza
2007an 329 etxebizitza zeuden, 307 familiaren etxebizitza nagusia ziren, 2 bigarren erresidentzia ziren eta 20 hutsik zeuden. 296 etxeak ziren eta 33 apartamentuak ziren. 307 etxebizitza nagusietatik 254 bere jabearen bizilekua ziren, 33 alokairuan okupaturik zeuden eta 20 doan lagata zeuden; 10 etxek bi gela zituzten, 29 etxek hiru zituzten, 46 etxek lau zituzten eta 222 etxek bost zituzten. 265 etxek euren parking plaza propioa zuten azpian. 109 etxetan ibilgailu bat zegoen eta 161 etxetan bat baino gehiago zituzten.
Biztanleria-piramidea
2009an sexu eta adinaren araberako biztanleria-piramidea hau zen:
Ekonomia
2007an lan egiteko adina zuten pertsonak 541 ziren, horien artean 385 aktiboak ziren eta 156 inaktiboak ziren. 385 pertsona aktiboetatik 353 lanean zeuden (207 gizon eta 146 emakume) eta 33 langabezian zeuden (13 gizon eta 20 emakume). 156 pertsona inaktiboetatik 46 erretiraturik zeuden, 44 ikasten zeuden eta 66 "bestelako inaktibo" gisa sailkaturik zeuden.
Diru sarrerak
2009an Rahling udalerrian 308 unitate fiskal zeuden, 839 pertsonek osaturik. Pertsona bakoitzeko diru-sarrera fiskalaren mediana urteko 17.460 euro zen.
Ekonomia jarduerak
2007an zeuden 16 komertzioetatik, 1 erauzte enpresa zen, 1 janari enpresa zen, 1 eraikuntza enpresa zen, 3 ibilgailuen saltze eta konpontze enpresak ziren, 1 garraio enpresa zen, 1 ostalaritza eta jatetxe enpresa zen, 2 finantziazio enpresak ziren, 4 zerbitzu enpresak ziren eta 2 «beste zerbitzu jarduera batzuk» multzoan sailkatutako enpresak ziren.
2009an zeuden norbanakoentzako 4 zerbitzu publikoetatik, 1 banku bulegoa zen, 2 ile apaindegiak eta 1 jatetxe.
2009an zeuden 2 establezimendu komertzialetatik, 1 okindegi zen eta 1 harategia zen.
2000. urtean Rahling udalerrian 32 nekazaritza-ustiategi zeuden, 1.566 hektarea erabiltzen.
Hezkuntza eta osasun ekipamenduak
2009an haur-eskola 1 eta lehen-hezkuntzako eskola 1 zegoen.
Gertuen dauden herriak
Diagrama honek gertuen dauden herriak erakusten ditu.
Erreferentziak
Kanpo estekak
Résumé statistique INSEEren udalerriko estatistiken laburpena.
Évolution et structure de la population INSEEren udalerriko datuen fitxa.
France par comune Frantziako udalerri guztietako datu zehatzak mapa baten bitartez eskuragarri.
Moselako udalerriak | 27,619 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.