text
stringlengths
1
22.8M
Iftach Ian Amit (Hebrew: יפתח איאן עמית) is an Israeli Hacker/computer security researcher and practitioner. He is one of the co-founders of the Tel Aviv DEF CON Group DC9723, the Penetration Testing Execution Standard, and presented at hacker conventions such as DEF CON, Black Hat, BlueHat, RSA Conference. He has been named SC Magazine's top experts and featured at Narratively's cover piece on Attack of the Superhackers and is frequently quoted and interviewed Career Amit started his professional career in 1998 at the Israeli information security consultancy Comsec as a Unix and Internet Application consultant. In 2001 he moved to the US to work as a software architect at Praxell (later to be acquired by Datavantage, and then Micros). On 2004 Amit left the US to co-found Israeli startup BeeFence and served as its Chief Technology Officer. Then in 2006 he took position as the director of security research at the security vendor Finjan, and a similar position in 2008 with Aladdin Knowledge Systems. He then set out to serve as the vice president of consulting with Security-Art, and in 2012 took a position as director of services with the security consulting firm IOActive. Starting in 2014 he served as vice president of the social media cyber security startup ZeroFOX, after which in 2016 he became a manager with Amazon.com information security. Since 2018 he is serving as the Chief Security Officer of Cimpress. He serves as a general director of the board of BSides Las Vegas, a Senior Advisory Board member of Axon Cyber, and an Advisory Board member of ZeroFOX. Research During his career, Amit focused his research on varying topics ranging from uncovering the business elements of cybercrime, through connecting state sponsored activities with criminal ones. He has contributed to one of the first research papers conducted on the Stuxnet worm, and was featured on the cover of the inaugural Pentest Magazine about the Penetration Testing Execution Standard (PTES). He also co-authored research with Aviv Raff on Windows Vista's inherently insecure Widgets, which were later removed from the operating system. In 2011, Amit and Itzik Kotler presented at DEF CON, demonstrating how a bot master could communicate with botnets and with "zombie machines" using VoIP conference calls. Their open-source software, Moshi Moshi, illustrated how they could send instructions to and receive data from botnets and infiltrated networks using any phone line (including payphones). This research was also based on his original research into advanced data exfiltration, in which he uncovered a method for side-channel data exfiltration through various channels - including phone lines and fax machines, and released an open source tool for it Presentations Keynote. BSidesTLV 2017 Keynote. BSidesCleveland 2016 Keynote. HackMiami 2016 Actionable Threat Intelligence. InfoSecWorld Orlando 2016 The Newest Elements of Risk Metrics. RSA Conference 2016 Actionable Threat Intelligence. BSidesLasVegas 2015 Sexydefense - Maximizing the Home-Field Advantage. BlackHatUSA 2012 Publications and articles Contributed to NATO's Assured Access to the Global Commons - Cyberspace Workshop at the Cooperative Cyber Defence Centre of Excellence (CCD COE), October 2010. Social Media Risk Metrics Patents U.S. Patent 10,810,106, Automated application security maturity modeling. References Living people People in information technology Writers about computer security Year of birth missing (living people)
Count Géza Teleki de Szék (28 September 1843 – 27 September 1913) was a Hungarian politician, who served as Interior Minister between 1889 and 1890. His son was Pál Teleki, who later became Prime Minister during the first half of the Second World War. References Magyar Életrajzi Lexikon 1843 births 1913 deaths People from Dej Hungarian Interior Ministers Geza, Teleki
Pitcairnia staminea is a species of bromeliad in the genus Pitcairnia. This species is endemic to Brazil. This red-flowered species often hybridizes with the white-flowered Pitcairnia albiflos, producing pink-flowered offspring. References External links staminea Flora of Brazil
The Adventures of Huckleberry Finn is a 1939 Metro-Goldwyn-Mayer film adaptation of Mark Twain's 1884 novel of the same name, starring Mickey Rooney in the title role. The supporting cast features Walter Connolly, William Frawley and Rex Ingram. It was remade by MGM in 1960. A musical version was released in 1974. Plot summary Cast Mickey Rooney as Huckleberry Finn Walter Connolly as the "King" William Frawley as the "Duke" Rex Ingram as Jim Lynne Carver as Mary Jane Jo Ann Sayers as Susan Minor Watson as Captain Brandy Elisabeth Risdon as the widow Douglas Victor Kilian as "Pap" Finn Clara Blandick as Miss Watson Harry Cording as Man Stealing Watermelon (uncredited) Frank Darien as Old Jailer (uncredited) Reception Most critics found the film mediocre. B. R. Crisler of The New York Times felt that the picture was "more Mickey than Huckleberry" and called it an "average, workmanlike piece of cinematic hokum" that "affords little, if any, insight into the realistic boyhood world of which old Mark wrote with such imperishable humor." A reviewer for Variety magazine wrote that the adaptation "has not been able to catch the rare and sparkling humor and general sincerity of the author's original. Furthermore, young Rooney seems too mature and assured in manner and expression for his years. Although he troupes in fine style, the impression remains that it's a theatric presentation." Film Daily called the treatment of the story "very flat and mechanical and uninteresting," adding, "Mickey Rooney does his best, and his fans may accept him as he appears and think he is great. To the lovers of Mark Twain it can only prove a disappointment." Harrison's Reports called it "just fairly good entertainment." John Mosher of The New Yorker called it "a perfunctory, commonplace job, pretty creaky and in the manner of those revival pieces some think quaint ... Aside from being a step for Mr. Rooney, this picture accomplishes nothing." See also List of films featuring slavery Plot summary References External links 1939 films 1930s adventure comedy-drama films American black-and-white films American adventure comedy-drama films American road comedy-drama films 1930s English-language films Films scored by Franz Waxman Films based on Adventures of Huckleberry Finn Films directed by Richard Thorpe Metro-Goldwyn-Mayer films 1930s road movies Films produced by Joseph L. Mankiewicz Films with screenplays by Waldo Salt Films set in the 19th century 1939 comedy films 1939 drama films 1930s American films
Events from the year 1562 in Ireland. Incumbent Monarch: Elizabeth I Events January 6 – Shane O'Neill pleads his cause at the Palace of Whitehall in London before Elizabeth I of England, who recognises him as "The O'Neill" and "of Tír Eoghain". He returns to Ireland on 26 May. April 12 – Brian O'Neill is murdered by his kinsman Turlough Luineach O'Neill and is succeeded (in the eyes of the English administration of Ireland) as chief of the O'Neills by his brother Hugh. November – Séan Ó Néill lays waste to Maguire's Country (County Fermanagh). The stone bridge and west gate at Galway is completed by Thomas Óge Martyn (mayor for second term 1562–63). Births Henry FitzGerald, 12th Earl of Kildare, nobleman and soldier (d. 1597) Murrough O'Brien, 4th Baron Inchiquin, nobleman (d. 1597) John Rider, Latin lexicographer and Anglican Bishop of Killaloe from 1612 to 1632 (d. 1632) Approximate date Edmund Butler, 2nd Viscount Mountgarret, nobleman (d. 1602) Muircheartach Óg Ó Cíonga, writer and priest (d. c.1639) Deaths References 1560s in Ireland Ireland Years of the 16th century in Ireland
Live Ballads is the first live CD or video album, and eleventh album overall by popular Greek singer Sakis Rouvas, released in Greece and Cyprus on 27 April 2006 by Minos EMI. The concert was recorded on 14 February 2006 as a special Valentine's Day performance called Sakis For Valentines. Sakis sang only love oriented ballads in both Greek and English from his large repertoire and covers of other artists. The concert was much more intimate than his common large-scale performances and was held at the Athens College auditorium where Rouvas performed especially for the students as a "thank you" to his young fans, often being called "The Singer of Youth". Track listing CD DVD Live Ballads: Special Edition The special edition comes repackaged in a 10"×12.5" gift box, featuring a bonus DVD of the performance and a high-quality photo book showcasing images from the concert. Release history Music videos "Horis Kardia" "Without You" / "Dodeka" "Agapa Me" / "Na M'agapas" (MAD VMAs 2006) "O,ti Onirevomoun" "Ain't No Sunshine" References External links Sakis Rouvas' official website IFPI Greece official website with Greek charts Albums produced by Sakis Rouvas Greek-language albums Music videos directed by Kostas Kapetanidis Sakis Rouvas live albums Sakis Rouvas video albums Live video albums 2006 video albums 2006 live albums Minos EMI live albums Minos EMI video albums
National Highway 702C, commonly referred to as NH 702C is a national highway in India. It is a spur road of National Highway 2. NH-702C traverses the state of Assam in India. Route Sibsagar, Simaluguri, Sonari. Junctions Terminal near Sibsagar. near Sonari. See also List of National Highways in India List of National Highways in India by state References External links NH 702C on OpenStreetMap National highways in India National Highways in Assam Transport in Sibsagar
Mykola Shytyuk (; 30 November 1953 – 1 September 2018) was a Ukrainian academician, historian, doctor of historical sciences. Since 2008 he was a director of the Institute of history and law of the Mykolaiv University. Shytnyuk was born on 30 November 1953 in the village Lysa Hora, Lysa Hora Raion (today Pervomaisk Raion) in a family of construction engineer and teacher of geography. After graduating a rural school in Lysa Hora, Shytyuk enrolled in pedagogic uchilishche (junior college) in Novyi Buh, where he graduated in 1972 with a diploma of teacher of early grades. After that throughout most of the 1970s he worked in several schools of Mykolaiv Oblast with a small break when he served his military obligation in Belorussian Military District. After being demobilized, in 1975 Shytyuk also enrolled in the history faculty of the Kyiv University. On 1 September 2018 the scientist and researcher of Holodomor was found dead in an apartment in Mykolaiv with a knife in his back. References External links Mykola Shytyuk at the Odesa University website. 1953 births 2018 deaths People from Mykolaiv Oblast Academic staff of the Taras Shevchenko National University of Kyiv 20th-century Ukrainian historians Taras Shevchenko National University of Kyiv, Historical faculty alumni Ukrainian murder victims People murdered in Ukraine Holodomor Members of the National Academy of Sciences of Ukraine 21st-century Ukrainian historians
```c /* $OpenBSD: mpyu.c,v 1.6 2003/04/10 17:27:58 mickey Exp $ */ /* To anyone who acknowledges that this file is provided "AS IS" without any express or implied warranty: permission to use, copy, modify, and distribute this file for any purpose is hereby granted without fee, provided that the above copyright notice and this notice appears in all copies, and that the name of Hewlett-Packard Company not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. Hewlett-Packard Company makes no representations about the suitability of this software for any purpose. */ /* @(#)mpyu.c: Revision: 1.6.88.1 Date: 93/12/07 15:06:48 */ #include "md.h" void mpyu(opnd1,opnd2,result) unsigned int opnd1, opnd2; struct mdsfu_register *result; { u_xmpy(&opnd1,&opnd2,result); /* determine overflow status */ if (result_hi) overflow = TRUE; else overflow = FALSE; return; } ```
Omoglymmius zimmermani is a species of beetle in the subfamily Rhysodidae. It was described by R.T. & J.R. Bell in 1978. References zimmermani Beetles described in 1978
The Nottinghamshire Guardian was a newspaper in Nottinghamshire, England: it was published from 1849 to 1900. References Newspapers published in Nottinghamshire Newspapers established in 1849 Publications disestablished in 1900 1849 establishments in England 1900 disestablishments in England
Amblypneustes grandis is a species of sea urchin of the family Temnopleuridae. Their armour is covered with spines. It came from the genus Amblypneustes and lives in the sea. Amblypneustes grandis was first scientifically described in 1912 by Hubert Lyman Clark. See also Amblypneustes elevatus Amblypneustes formosus Amblypneustes leucoglobus References Amblypneustes Animals described in 1912 Taxa named by Hubert Lyman Clark
```go package zk import ( "time" ) const baseKey = `/protoactor` type Option func(*config) // WithAuth set zk auth func WithAuth(scheme string, credential string) Option { return func(o *config) { o.Auth = authConfig{Scheme: scheme, Credential: credential} } } // WithBaseKey set actors base key func WithBaseKey(key string) Option { return func(o *config) { if isStrBlank(key) { o.BaseKey = baseKey } else { o.BaseKey = formatBaseKey(key) } } } // WithSessionTimeout set zk session timeout func WithSessionTimeout(tm time.Duration) Option { return func(o *config) { o.SessionTimeout = tm } } // WithRoleChangedListener triggered on self role changed func WithRoleChangedListener(l RoleChangedListener) Option { return func(o *config) { o.RoleChanged = l } } func WithRoleChangedFunc(f OnRoleChangedFunc) Option { return func(o *config) { o.RoleChanged = f } } func withEndpoints(e []string) Option { return func(o *config) { o.Endpoints = e } } type authConfig struct { Scheme string Credential string } func (za authConfig) isEmpty() bool { return za.Scheme == "" && za.Credential == "" } type RoleChangedListener interface { OnRoleChanged(RoleType) } type OnRoleChangedFunc func(RoleType) func (fn OnRoleChangedFunc) OnRoleChanged(rt RoleType) { fn(rt) } type config struct { BaseKey string Endpoints []string SessionTimeout time.Duration Auth authConfig RoleChanged RoleChangedListener } func defaultConfig() *config { return &config{ BaseKey: baseKey, SessionTimeout: time.Second * 10, } } ```
```javascript /*! * FileInput Portuguese Translations * * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or * any HTML markup tags in the messages must not be converted or translated. * * @see path_to_url * * NOTE: this file must be saved in UTF-8 encoding. */ (function ($) { "use strict"; $.fn.fileinputLocales['pt'] = { fileSingle: 'ficheiro', filePlural: 'ficheiros', browseLabel: 'Procurar &hellip;', removeLabel: 'Remover', removeTitle: 'Remover ficheiros seleccionados', cancelLabel: 'Cancelar', cancelTitle: 'Abortar carregamento ', uploadLabel: 'Carregar', uploadTitle: 'Carregar ficheiros seleccionados', msgNo: 'No', msgCancelled: 'Cancelado', msgZoomModalHeading: 'Pr-visualizao detalhada', msgSizeTooLarge: 'Ficheiro "{name}" (<b>{size} KB</b>) excede o tamanho mximo permido de <b>{maxSize} KB</b>.', msgFilesTooLess: 'Deve seleccionar pelo menos <b>{n}</b> {files} para fazer upload.', msgFilesTooMany: 'Nmero mximo de ficheiros seleccionados <b>({n})</b> excede o limite mximo de <b>{m}</b>.', msgFileNotFound: 'Ficheiro "{name}" no encontrado!', msgFileSecured: 'Restries de segurana preventem a leitura do ficheiro "{name}".', msgFileNotReadable: 'Ficheiro "{name}" no pode ser lido.', msgFilePreviewAborted: 'Pr-visualizao abortado para o ficheiro "{name}".', msgFilePreviewError: 'Ocorreu um erro ao ler o ficheiro "{name}".', msgInvalidFileType: 'Tipo invlido para o ficheiro "{name}". Apenas ficheiros "{types}" so suportados.', msgInvalidFileExtension: 'Extenso invlida para o ficheiro "{name}". Apenas ficheiros "{extensions}" so suportados.', msgUploadAborted: 'O upload do arquivo foi abortada', msgValidationError: 'Erro de validao', msgLoading: 'A carregar ficheiro {index} de {files} &hellip;', msgProgress: 'A carregar ficheiro {index} de {files} - {name} - {percent}% completo.', msgSelected: '{n} {files} seleccionados', msgFoldersNotAllowed: 'Arrastar e largar ficheiros apenas! {n} pasta(s) ignoradas.', msgImageWidthSmall: 'Largura do arquivo de imagem "{name}" deve ser pelo menos {size} px.', msgImageHeightSmall: 'Altura do arquivo de imagem "{name}" deve ser pelo menos {size} px.', msgImageWidthLarge: 'Largura do arquivo de imagem "{name}" no pode exceder {size} px.', msgImageHeightLarge: 'Altura do arquivo de imagem "{name}" no pode exceder {size} px.', msgImageResizeError: 'Could not get the image dimensions to resize.', msgImageResizeException: 'Erro ao redimensionar a imagem.<pre>{errors}</pre>', dropZoneTitle: 'Arrastar e largar ficheiros aqui &hellip;', dropZoneClickTitle: '<br>(or click to select {files})', fileActionSettings: { removeTitle: 'Remover arquivo', uploadTitle: 'Carregar arquivo', zoomTitle: 'Ver detalhes', dragTitle: 'Move / Rearrange', indicatorNewTitle: 'Ainda no carregou', indicatorSuccessTitle: 'Carregado', indicatorErrorTitle: 'Carregar Erro', indicatorLoadingTitle: 'A carregar ...' }, previewZoomButtonTitles: { prev: 'View previous file', next: 'View next file', toggleheader: 'Toggle header', fullscreen: 'Toggle full screen', borderless: 'Toggle borderless mode', close: 'Close detailed preview' } }; })(window.jQuery); ```
Guinan is a recurring character in the Star Trek media franchise who has appeared in the television series Star Trek: The Next Generation and Star Trek: Picard and the films Star Trek Generations and Star Trek: Nemesis. Portrayed by Whoopi Goldberg, Guinan is a bartender in the Ten-Forward lounge aboard the starship USS Enterprise-D. She was also played as a child by Isis Carmen Jones in the episode "Rascals". Goldberg reprised the role in the second season of Star Trek: Picard, with Ito Aghayere playing a younger version of the character. The character first appears in the second-season opening episode "The Child", and makes recurring appearances during the next four seasons. She mainly works in Ten-Forward, which was added after most of the sets were recreated following the first season. The character is an alien who is several hundred years old and is noted for her warmth and folk wisdom, which she often uses to defuse difficult situations or comfort other characters aboard the ship as they struggle with something. History Following the departure of Denise Crosby from the role of Tasha Yar during the first season of Star Trek: The Next Generation, well-known actress Whoopi Goldberg believed that there was a vacancy for a female actress on the series. She had been a lifelong fan of Star Trek, having been inspired to become an actress by Nichelle Nichols' appearances as Uhura in The Original Series. Goldberg later recalled that she first saw an episode of the series as a child, and after Uhura appeared on-screen, she went running through her house shouting "Come here, mom, everybody, come quick, come quick, there's a black lady on television and she ain't no maid!" Goldberg approached her friend, actor LeVar Burton, who played Geordi La Forge in The Next Generation, but the producers of the series ignored her, believing that they were being pranked until Goldberg telephoned the production office directly. However, executive producer Rick Berman later recalled that it was Goldberg's manager who made the call, inviting him and series creator Gene Roddenberry out to lunch with Goldberg to discuss her appearing on the series. At the time, plans were already underway to add a lounge set to the series. Named Ten-Forward, it was created to have a setting where the crew of the USS Enterprise-D could be shown interacting with each other as well as other aliens in a less formal, social setting. At the lunch between Berman, Roddenberry and Goldberg, she explained that Star Trek was the only futuristic science fiction series at the time she knew of that featured black people prominently. She enquired whether they had already cast the new Doctor, following the firing of Gates McFadden from the role of Beverly Crusher. They decided this would not work, so Roddenberry and Berman suggested the creation of a new character specifically for Goldberg. Goldberg was unable to commit to appearing as a permanent member of the cast, which fit in with plans for Ten-Forward as they were not expecting to have that appear in every episode. The character of Guinan was based on Mary Louise Cecilia "Texas" Guinan, a prohibition-era emcee and owner of the 300 Club in New York City. While the name was adopted, the characterization was changed to a worldly mystic, in line with Yoda from the Star Wars franchise. Gene Roddenberry, the creator of Star Trek, had envisaged the character Guinan as extremely old, leading Goldberg to suggest that she could be the ancestor of some of the other characters on the series. When Goldberg made her first appearance as Guinan, in the episode "The Child", she was credited as a "Special Guest Star" alongside Diana Muldaur who appeared throughout the second season as Doctor Katherine Pulaski. Guinan-centric episodes would end up being scheduled throughout the rest of the run of The Next Generation to coincide with the future availability of Goldberg, who at the time was continuing to appear in films and other work. In one instance, for "Imaginary Friend", Guinan was written in at short notice, taking lines originally intended for other characters after Goldberg became available at short notice unexpectedly. There were plans to introduce a son of Guinan at some point in The Next Generation, but this never occurred. The idea was resurrected during the writing process of the Star Trek: Deep Space Nine episode "Rivals", with the character of Martus Mazur originally intended to be Guinan's son. After Goldberg was unable to make a guest appearance, the relationship between the two characters was written out. However, the first time that the El-Aurian species was mentioned by name was in this episode, but this may have been inspired by the scripts for Star Trek Generations which the writing team would have seen by that point in the production of the series. Goldberg would go on to become intrinsically linked to Star Trek, and a personal friend of creator Gene Roddenberry, subsequently being one of the eulogists at his funeral in 1991. During the initial production of Star Trek VI: The Undiscovered Country, she met with director Nicholas Meyer to discuss appearing as a Klingon in the film. This was vetoed by actor Leonard Nimoy, who had taken the lead on arrangements for the film, as with Christian Slater already set to appear in the film he did not want to be overwhelmed with celebrity cameos. She later described Guinan as a combination of Yoda, herself and Andrei Sakharov, adding that she was "more grateful for Star Trek now as a mother and grandmother" and described the prospect of Star Trek, saying "We all need to believe there is a good, positive future for us." Goldberg stated at her first Star Trek convention in 2016 that she wishes to return to the franchise and appear on Star Trek: Discovery in the future since the character was specifically designed to be able to appear at any point in the timeline. Returning actor-character combinations are famous in the Star Trek franchise, and popular also; TNG's "Unification" (1991) diology featuring Leonard Nimoy as Spock in Part II brought in the highest Nielsen ratings (15.4) of that season, and the highest for TNG except for the pilot and finale (see also Star Trek crossovers). During a January 22, 2020, appearance on The View, the talk show of which Goldberg is a co-host, Patrick Stewart helped realize Goldberg's wish, inviting her to appear as Guinan during the second season of Star Trek: Picard, and she ultimately appeared in the second season. Films The decision was made to feature Goldberg prominently in the first feature film based on The Next Generation, Star Trek Generations. This was due in part to her being far more well known to the general public than the majority of the main cast, having won the Academy Award for Best Supporting Actress at the 63rd Academy Awards in 1991 for her role in the film Ghost. During the course of the film, the character is revealed to be an El-Aurian for the first time. Upon arriving on the first day of production of Generations, Goldberg began looking around the set for Nichols, having expected her to be there since it was a cross-over film between The Original Series and The Next Generation. It was later reported by Walter Koenig that Goldberg was annoyed as she saw that the fans wanted a scene with Guinan and Uhura together. Nichols did not appear in Generations. Production Producer Rick Berman was noted as being "extremely sensitive" about who interacted with Whoopi on the set, according to the book The Making of Yesterday's Enterprise by Eric A. Stillwell. In one instance where a co-writer of Yesterday's Enterprise talked with Whoopi, Berman found out about it and said he did not want this kind of interaction which was oriented towards the production office. Appearances In "Rascals", Guinan's younger self is played by Isis Carmen Jones, who also played Whoopi's character as a child in the film Sister Act (1992). Guinan works in Ten-Forward and is one of Picard's friends, and they often chat about problems the ship is having. Guinan made her first appearance in the second season opening episode "The Child" on November 21, 1988, on first-run syndicated television. During the course of the episode, she gives advice to Wesley Crusher (Wil Wheaton) about whether he should leave the ship to join his mother when she transferred to Starfleet Medical on Earth. In this episode, she refers to meeting Captain Jean-Luc Picard (Patrick Stewart) for the first time when she came on board the Enterprise-D, something which would later be ignored and discounted. She made further appearances in the second season, including in "The Outrageous Okona" where she advises Data to use the holodeck to help him better understand comedy, and again in the Data-centric episode "The Measure of a Man", as well as "The Dauphin" where she and Commander William Riker (Jonathan Frakes) attempt to explain flirting to Acting Ensign Wesley Crusher (Wil Wheaton). The first revelation of Guinan being something more than a simple barkeeper came later that season in the episode "Q Who". After Q (John de Lancie) sends the Enterprise-D across the galaxy, causing them to encounter the Borg, she trades barbs with the omnipotent being who reveals that he knows Guinan from past encounters and suggests she may have been known by other names in the past. Q attempts to remove Guinan from the Enterprise, only to have her hold up her hands to him in response implying she possessed the power to do battle with him or at the very least to defend herself. She also informs Picard that the Borg drove her species into near extinction over a century earlier. She returned once more in the second episode of the third season, "Evolution", in which she explains she has many children, and later in the season in "Booby Trap" where she reveals that she finds the heads of bald men attractive. She once again comes face to face with Q in "Deja Q". Guinan is central to the plot of "Yesterday's Enterprise", when the timeline is changed after the USS Enterprise-C appears from a spatial rift. Guinan is the only member of the crew who is aware that something has changed, and believes that Lieutenant Tasha Yar (Denise Crosby) should not be on the ship. The timeline is restored when the Enterprise-C re-enters the rift. Guinan appears in "The Best of Both Worlds" part one, where she and Captain Picard mull over his tactics defending the ship from a Borg vessel, contemplating the potential end of human civilization. Guinan assures Picard that, based on her experience with the Borg, "humanity will survive" even if only a handful of humans live to "keep the spirit alive". Guinan also plays a role in the second part which started the fourth season. She advises Commander William Riker (Jonathan Frakes) in his predicament in dealing with the Borg-assimilated Picard. She tells him that her relationship with Picard "goes beyond friendship and beyond family", but advises Riker that he must find a way to stop the assimilated Locutus by not thinking like Picard. She appears in the following episode broadcast, which follows up on Picard's experiences as a Borg, "Family". In "The Loss", Guinan advises Counselor Deanna Troi (Marina Sirtis) when she loses her empathic senses, telling her that she still has her skills as a counselor to rely on. Guinan joins Picard in his holodeck program Dixon Hill in the episode "Clues". Her other appearances in the season included "Galaxy's Child", "Night Terrors" where she reveals she keeps a rifle behind the bar, "In Theory", and the first part of "Redemption" where she scores higher than Klingon Security Chief Worf (Michael Dorn) on a firing range on the holodeck. Her first appearance in the fifth season comes in the first episode, the second part of "Redemption". In "Ensign Ro", she strikes up a friendship with Ensign Ro Laren (Michelle Forbes) which would continue for the rest of the other recurring character's appearances in the series. In "Imaginary Friend", Guinan discusses the nearby nebula with Data in Ten-Forward. In the following episode, "I, Borg", Guinan objects to the presence of the Borg known as Hugh on the Enterprise-D. Further revelations of Guinan's backstory are made in the season finale, the first part of "Time's Arrow", when after travelling back to 19th century San Francisco, California, Data discovers a photograph of Guinan in a local newspaper. Meanwhile, on the Enterprise-D, Guinan advises Picard that he must lead the away team to travel through a temporal rift to save Data in the past. Central to the plot of the second half of "Time's Arrow" which opened the sixth season, Guinan meets Picard for the first time in her timeline and works with him and Samuel Clemens to prevent a plot by the aliens of Devidia II. In "Rascals", alongside Picard, Ro, and Keiko O'Brien (Rosalind Chao), her body is de-aged to that of a child following a transporter accident, where the younger Guinan was portrayed by actress Isis Jones. Guinan reveals that her father is still alive at the time, having previously been hiding from him on Earth during "Time's Arrow". In "Suspicions", she advises Doctor Beverly Crusher (Gates McFadden) on whether to trust her instincts when a Ferengi scientist is killed during an experiment on board. Guinan is originally from El-Auria. Her people, sometimes called "listeners", had been scattered throughout the galaxy after the Borg invaded their homeworld. As a refugee aboard the El-Aurian vessel Lakul, she is rescued from the Nexus by the USS Enterprise-B. This is part of the opening act of Star Trek Generations, the 1994 film made after the series' seven-year run concluded. Guinan did not appear in the next two Star Trek films (First Contact and Insurrection). Guinan reveals in Nemesis that she has been married 23 times. She states in "Evolution" that she has many children, including a son who went through a phase when "he wouldn't listen to anybody"—something unusual "in a species of listeners". Guinan appears in the second season premiere of Star Trek: Picard, when Jean-Luc Picard visits her at her bar in Los Angeles. Television Guinan appears in 29 episodes of Star Trek: The Next Generation, five episodes of Star Trek: Picard and in two theatrical films, Generations (1994) and Nemesis (2002). Star Trek: The Next Generation "The Child" "The Outrageous Okona" "The Measure of a Man" "The Dauphin" "Q Who" "Shades of Gray" "Evolution" "Booby Trap" "Deja Q" "Yesterday's Enterprise" "The Offspring" "Hollow Pursuits" "The Best of Both Worlds" (Parts 1 & 2) "Family" "The Loss" "Clues" "Galaxy's Child" "Night Terrors" "In Theory" "Redemption" (Parts 1 & 2) "Ensign Ro" "Imaginary Friend" "I, Borg" "Time's Arrow" (Parts 1 & 2) "Rascals" "Suspicions" Star Trek: Picard "The Star Gazer" "Watcher" "Monsters" "Mercy" "Farewell" Among the episodes with Guinan, "The Measure of a Man", “Yesterday’s Enterprise”, and the two-part episode "The Best of Both Worlds" received noted acclaim, and an extended cut of "The Measure of a Man" was released in 2012. Film Generations In Star Trek Generations, released in 1994, Guinan explains the Nexus to Picard. Nemesis In this 2002 Star Trek film, Goldberg reprises her role as Guinan. In Star Trek: Nemesis, Guinan has attended the wedding between Riker and Troi. Comics The character Guinan, looking like the TNG character, appears in various TNG comics series including: A line and ink style Comic version of Guinan appears on the cover of Star Trek: The Next Generation Special "Good Listener/A True Son of Kahless" published September 1, 1993. Star Trek: The Next Generation 80 issues from 1989 to 1996 Star Trek: The Next Generation Special Three issues 1993-1995 Star Trek: The Next Generation: The Last Generation Five issues 2008-9 Star Trek: The Next Generation - Doctor Who: Assimilation² Eight issues in 2012 (Crossover with Doctor Who franchise) Novels The first novel to include Guinan was Strike Zone by Peter David, published in March 1989. This novel included elements from both Star Trek (1966–69) and the new Next Generation show The later Stargazer novel Oblivion features Picard's first meeting with Guinan when he was still captain of the Stargazer, where the meeting helps Guinan overcome her severe depression after she was pulled out of the Nexus. Reception and commentary Lina Morgan in her article for Syfy Wire on Guinan's quintessential moments, described her as "easily one of the best characters in the history of Star Trek". His list of moments consisted of the one in "The Measure of a Man" where Guinan explains slavery to Picard; the time that she stabbed Q with a fork in "Deja Q"; the discussion she has with Commander Riker in "The Best of Both Worlds" part two and her lack of sympathy for the Borg in "I, Borg". Roth did state that his favourite moment came in the second part of "Time's Arrow" where she and Picard are trapped in the cave and the sexual tension between the pair, comparing the relationship between that of River Song and The Doctor in Doctor Who whereby they meet each other for the first time but out of sequence. Terry J. Erdmann and Paula M. Block state in their 2008 book Star Trek 101 that the key Guinan episode is "Yesterday's Enterprise". They describe her role in the episode as that of a Greek chorus to explain that a change has taken place in the timeline. Film reviewer Roger Ebert described Guinan as "the Enterprise's resident mystic". In 2016, SyFy rated Guinan as among the top 21 most interesting supporting characters of Star Trek, noting that she was a mysterious character that kept audiences guessing. In 2017, IndieWire rated Guinan as the 3rd best character on Star Trek: The Next Generation, noting her as a "fascinating character". In the summer of 2019, Screen Rant suggested that Guinan could get her own series more easily, due to the character being hundreds of years old there would be many, many stories to tell. In 2018, CBR ranked Guinan the 8th best recurring character of all Star Trek. In 2018, Screen Rant ranked Guinan as one of the top eight most powerful character's of Star Trek, remarking "Guinan is one of Star Trek’s greatest enigmas." In July 2019, Screen Rant ranked Guinan the 7th smartest character of Star Trek. See also List of Star Trek: The Next Generation characters List of Star Trek: The Next Generation cast members Star Trek (film series) Notes References External links Fictional bartenders Fictional characters from the 24th century Star Trek alien characters Star Trek (film franchise) characters Star Trek: The Next Generation characters Star Trek: Picard characters Television characters introduced in 1988
Lambda expression may refer to: Lambda expression in computer programming, also called an anonymous function, is a defined function not bound to an identifier. Lambda expression in lambda calculus, a formal system in mathematical logic and computer science for expressing computation by way of variable binding and substitution.
KBC Group is a Belgian universal multi-channel bank-insurer, focusing on private clients and small and medium-sized enterprises in Belgium, Bulgaria, Czech Republic, Hungary, and Slovakia. It was created in 1998 through the merger of Kredietbank (KB), the cooperative , ABB Insurance, and Fidelitas Insurance. The acronym KBC refers to KredietBank and CERA. KBC Group is one of Belgium's major companies and the second largest bancassurer in the country. As of late 2020, it was the 15th largest bank in Europe by market capitalisation and a major financial player in Central and Eastern Europe, employing some 41,000 staff (of which more than half in Central and Eastern Europe) and serving 12 million customers worldwide (some 7 to 8 million in Central and Eastern Europe). KBC is a Forbes Global 2000 company. The group is controlled by a group of core shareholders, and has a free float of approximately 60%. The core shareholders include KBC Ancora, a listed company controlled by CERA (or , a holding company formed by the cooperative clients of CERA Bank at the time of the 1998 merger), owning 19%; MRBB (), a vehicle of the Boerenbond farmers' association, at 12%; a group of industrialist families, at 8%; and CERA directly, at 3%. Its shares are traded on the Euronext exchange in Brussels. Background Volksbank van Leuven, local savings banks and Middenkredietkas On , a group of prominent Catholics founded the ("People's Bank of Leuven"), a cooperative bank to finance the development of business in and around Leuven. In the early 1890s, the Boerenbond farmers movement, similarly inspired by Catholicsm and corporatism and also based in Leuven, led the development of burgeoning network of rural cooperative banks inspired by the model created in Germany by Friedrich Wilhelm Raiffeisen. The first of these ("savings and loans associations") was created in 1892 in the village of near Aarschot. By 1895, there were 24 ; that year, the Boerenbond established the Middenkredietkas ("central credit fund") as a central body to help them manage their customers' savings and access funding from the Caisse générale d'épargne et de retraite, a national financial institution. In 1902, the network had grown to 190 local savings banks, and would further expand to 378 by 1913 and 1099 in 1934. In 1903, the Middenkredietkas decided to reduce its exclusive dependence on the CGER and established a permanent relationship with the Volksbank van Leuven for the management of some of the farmers' savings. Algemene Bankvereeniging, Bank voor Handel en Nijverheid, Almanij After World War I, the Middenkredietkas strengthened its structural cooperation with the Volksbank van Leuven, which in 1919 had transformed itself into a joint-stock company. The two institutions jointly sponsored the creation or acquired control of several other banks in Dutch-speaking Belgium, including the Algemeene Bankvereeniging (ABV, "General Banking Association"), founded in 1921 in Antwerp, and two banks named (BHN, "Bank for Trade and Industry") respectively in Ghent and Kortrijk. On , ABV and the Volksbank van Leuven merged. The new entity, which kept the name Algemeene Bankvereeniging, was controlled by the Middenkredietkas; in 1930 it acquired BHN Ghent, which in the meantime had merged with a number of other local banks in East Flanders, and in October 1931 purchased another financial group, the also known as . The latter combination resulted in the creation in 1931 of the holding company Almanij in Antwerp, which received a number of industrial company stakes. As a consequence, the Boerenbond-controlled banking cluster became one of Belgium's largest credit institutions, able to rival the Banque de Bruxelles and Generale Bank. The Boerentoren high-rise building in Antwerp, financed by ABV, was the second-tallest skyscraper in Europe at the time of its completion in 1931, just behind Madrid's Telefónica Building (1929). It became the symbol of the Boerengroup's financial might, to the dismay of some of the Catholic clergy including Cardinal Jozef-Ernest van Roey who feared that the farmers' movement was drifting away from its religious roots and towards commercialism. Kredietbank With financial stress increasing in the early 1930s, however, the Middenkredietkas accumulated losses and had to declare a moratorium on its liabilities on , followed on by a highly publicized liquidation process. The restructuring, including a reimbursement of depositors that would only be completed in 1963, was directly managed by the Belgian government and led by Albert-Édouard Janssen. On , ABV and BHN Kortrijk merged to form the , commonly known as Kredietbank (KB). The Kredietbank was registered in Antwerp but its actual head office was established in Brussels. Fernand Collin, who became its president in 1938, defined the Kredietbank as an independent bank with a decidedly Flemish character which would be an instrument to further Flemish economic growth. In 1943, Almanij, which had become Kredietbank's majority owner during the 1935 restructuring, underwent a capital increase. As a consequence, the Middenkredietkas (in liquidation) became a minority shareholder, and the control of the group was transferred to a group of families later known as the "Almanij Syndicate", which by the 1970s included Collin and André Vlerick, a son-in-law of Gustave Sap who had been associated with the Algemeene Bankvereeniging since its creation. In 1949, Kredietbank established its first international subsidiary, Kredietbank SA Luxembourg (known as KBL). In 1951, Kredietbank's shares began listing on the Brussels Stock Exchange, even though Almanij retained control. In 1952, Kredietbank expanded into the Belgian Congo by establishing a branch in Léopoldville, then in 1954 acquired and renamed it Kredietbank-Congo. That operation grew into four branches, in Léopoldville (now Kinshasa), Bukavu, Elizabethville (now Lubumbashi), and Stanleyville (now Kisangani), but was discontinued in 1966 following Belgian Congolese independence in 1960. In 1958, Kredietbank expanded into Wallonia through the acquisition of local banks, which it merged in 1961 into a newly formed subsidiary named . Kredietbank further built up its international network in the late 1960s, with the opening of offices in New York and Mexico City, then in Johannesburg, Melbourne, Atlanta, Tehran, Tokyo, Madrid, and Los Angeles, and branches in New York, London, the Cayman Islands, and a subsidiary in Geneva. In 1970, together with six other European institutions, Kredietbank established the Inter-Alpha Group of Banks. In 1979, controlling ownership of KBL was transferred from Kredietbank directly to Almanij. In 1982, Kredietbank acquired majority ownership of Bankverein Bremen AG, originally founded in 1889 as Bremer Vorschussverein, and renamed it Kredietbank-Bankverein AG in 1990, also known as or BKB. In 1996, KBL absorbed . In 1997, Kredietbank expanded into Hungary through the privatization of K&H Bank. ABB and CERA During the Middenkredietkas's liquidation in March 1935, the Boerenbond renamed its rural cooperatives as , and formed a new central body in Leuven, the (CKL, "Central fund for agricultural credit"). In 1941, its insurance operations developed since the late 19th century were renamed (ABB, "Belgian Farmers' Union Insurance") and in the following decades became one of the largest Belgian insurers. The number of Belgian Raiffeisen banks was about 800 in the early 1970s, then further decreased through consolidation to reach 218 in 1996. In 1970, the CKL changed its name to ("Central Raiffeisen Fund"), which in the late 1970s was abbreviated to CERA; it moved from downtown Leuven to an expansive new office campus in the city's outskirts in 1991. In the mid-1980s, a new legal framework led to the creation in 1986 of CERA Bank as a fully-fledged central banking entity. 1998 Merger and subsequent history On , CERA Bank, ABB, and Fidelitas (the insurance arm of Almanij) merged into Kredietbank NV, whose name was changed to KB ABB Cera Bank and Insurance Holding Company NV. On , the group's parent entity was renamed KBC Bank and Insurance Holding Company NV. On , that was shortened to KBC Group NV simultaneously with merger with Almanij, the former holding company. In 1999, KBC acquired majority control of Československá obchodní banka, a prominent bank in the Czech Republic and Slovakia. In 2001-2002 it took control of in Poland. By 2007, it had made further acquisitions in Bulgaria (DZI Insurance, DZI Invest and EIBANK), Romania (KBC Securities Romania, Romstal Leasing and INK Insurance Broker), Russia (Absolut Bank), and Serbia (KBC Banka and Senzal, Hipobroker, and Bastion). In 2008, it purchased Istrobanka in Slovakia from BAWAG. During the late-2000s financial crisis the stock price dropped from 106€ on 18 May 2007 to 5€ on 6 March 2009, a loss of 95% over a period of 22 months. The bank needed and received support from the Flemish government for an amount of 3.5 billion Euros. After the crisis the bank embarked on a divestment programme to satisfy the requirements of the European Commission. As such, it sold several subsidiaries, including Centea, Fidea, Kredyt Bank, ADB, KBC Deutschland, Absolut Bank and KBL European Private Bankers, the latter being acquired by Precision Capital, owned by Hamad bin Jassim bin Jaber Al Thani, for a reported €1.05 billion in October 2011 and renamed Quintet Private Bank in 2020. The divestment programme was completed in 2014 and the state aid entirely paid back by 2015, five years ahead of the agreed schedule. Since then the KBC share price recovered to around a maximum of €75 in the month of January 2022. In 2017, KBC acquired United Bulgarian Bank (UBB) and Interlease in Bulgaria. On 7 July 2022 KBC Bank acquired Raiffeisenbank (Bulgaria) EAD from Raiffeisen Bank International and rebranded it KBC Bank Bulgaria. On 10 April 2023 KBC Bank Bulgaria has been merged into United Bulgarian Bank. In February 2017, Ireland was defined as a new core market of KBC Group, but in April 2021, KBC entered into talks with Bank of Ireland to sell its performing loan book and announced its intention to withdraw from Ireland. As of 2022, the KBC group is focused on five countries: Belgium, Bulgaria, Czech Republic, Hungary, and Slovakia. Structure and main subsidiaries KBC Group NV is the direct parent company of: KBC Bank NV KBC Insurance NV KBC Global Services NV : provides services to KBC Group NV's activities Discai NV All other KBC Group companies are direct or indirect subsidiaries of these. The main ones are shown in the table: BEL = Belgium Business Unit, CZR = Czech Republic Business Unit, IMA = International Markets Business Unit, GRP = Group Centre. KBC Bank NV KBC Bank is the main subsidiary. Its first home market is Belgium, where it is one of the top three banks, with a 20-25% market share and over three million customers (counting the customers of the subsidiaries in Belgium). Its second home market is Central Europe, served via subsidiaries and investments in the Czech Republic (ČSOB), Slovakia (ČSOB and OTP Banka), Hungary (K&H Bank) and Bulgaria (CIBank and UBB Bank). In all of these countries, KBC Bank is a leading player by market share. It also had a substantial presence in Ireland through its subsidiary KBC Bank Ireland (formerly IIB Bank). The sale of substantially all assets of KBC Bank Ireland to Bank of Ireland was completed on 2 February 2023. In all, KBC Bank has established a presence in some thirty countries. KBC Project Finance is a subsidiary of KBC Bank, and has been an active player in the non-recourse financing of projects since the early 1990s. Headquartered in Dublin, it also has professionals based in London, Brussels, New York, Hong Kong, and Sydney. Its main business lines are Energy and Infrastructure. This includes financing projects in sectors such as the oil & gas industry, power, renewable energy, and Public-Private Partnership. It has a portfolio in excess of US$5bn, financing approximately 250 projects worldwide. KBC Bank also has investment banking operations in Europe, US and Asia. A specialist arm called KBC Financial Products operates primarily in global convertible bonds; its branch in Japan is called KBC Securities Japan, which specialises in secondary equity broking, convertible bonds, warrants, and equity derivatives. Notable buildings associated with KBC Leuven The ornate former building of Volksbank van Leuven on , now named after Boerenbond co-founder Joris Helleputte, was erected in 1912–1913 on a design by architects Frans Jr. Vermeylen and . In 1925, the bank annexed the former Hotel d'Eynatten on nearby Eikstraat to be the residence of the bank's director. The complex, later enlarged at the corner of Boekhandelstraat, was purchased by CERA in 2007 from the City of Leuven as its headquarters, for which it erected an award-winning new corner building completed in 2018. The former office park of CERA outside Leuven, designed by and inaugurated in 1991, is now offices of KBC Group. Antwerp The former head office of Algemeene Bankvereeniging in Antwerp was a 19th-century mansion reconverted as bank headquarters in 1921–1922 on a design by architect . It was demolished in 1980 to make space for the extension of the , a Catholic school. The Boerentoren or "KBC Tower" in Antwerp was erected by Algemeene Bankvereeniging in 1931, initially mostly as a residential building. It was transformed into offices in the late 1960s and used by Kredietbank, then KBC from the 1970s to the 2010s. The former seat of Almanij in Antwerp, in the historic Snyderhuis (or Snijdershuis) adjacent to Rockox House on Keizerstraat, is now offices of KBC's Private Banking division. Kortrijk The art deco former seat of Bank voor Handel en Nijverheid on Leiestraat 21 in Kortrijk has been repurposed as an annex of Kortrijk City Hall. Ghent At 118,5 meters it is the highest office in the Flemish Region. In the new building, KBC centralises its services previously scattered around Ghent: Kouterdreef, Kortrijksesteenweg, Bellevue, Zuiderpoort and the education center of Merelbeke. Brussels The former Brussels head office of Kredietbank, then KBC on rue d'Arenberg, 7, was originally built in 1912 by Deutsche Bank on a design by , with sculpture by Georges Vandevoorde, on the location of the former offices of the Balser private bank which Deutsche had purchased two years earlier. It was acquired by Volksbank van Leuven from the Belgian state in 1928, following the post-WWI termination of Deutsche Bank's activity in Belgium, and revamped for ABV by architect in 1929–1932. KBC left it in stages in the 1990s, and it is now an office complex of the Flemish Government known as . The art deco on Rue des Poissoniers / Visverkopersstraat 13 in Brussels, designed by architect and completed in 1931 The current head office of KBC Group and KBC Bank on Havenlaan 2 in Brussels, was erected in the 1990s to consolidate teams that had been scattered in numerous locations in the city. Art collection The private art collection of KBC is situated in the Rockox House in Antwerp. Awards In 2019, Harvard Business Review ranked KBC's CEO Johan Thijs as the 8th best performing CEO in the world. Controversy Support for apartheid in South Africa One of Kredietbank's main shareholders in the postwar period, André Vlerick, was actively involved in public advocacy of the Apartheid-promoting regime of South Africa and support of its circumvention of sanctions. In April 2018, NGO OpenSecrets, in partnership with the Centre for Applied Legal Studies (CALS) at the Georgetown University Law Center, filed a complaint at the OECD, claiming that KBC and KBL had violated the Organization's Guidelines for Multinational Enterprises in their dealings with South Africa between 1977 and 1994. According to the complaint, KBC and KBL together "were responsible for facilitating up to 70% of all illegal arms transactions that allowed the apartheid government to secretly buy weapons despite mandatory UN arms sanctions." As part of that process, OpenSecrets and CALS submitted a detailed document to the OECD contact points in Belgium and Luxembourg to support their claim. At the same time, hearings were held on the matter at South Africa's People's Tribunal on Economic Crime led by Zak Yacoob in Johannesburg. Terms of the 1998 merger In December 1999, the Brussels commercial court ordered CERA Holding to pay an additional 2.48 billion euros to its cooperative shareholders, based on the finding that their contribution had been undervalued in the 1998 merger. Investment in coal KBC has been criticised for its investment policies regarding fossil fuels. According to a 2015 report by Belgian NGO Fairfin KBC invested US$2.4 billion between 2004 and 2014 through loans and emitting shares and obligations. In contrast the money allocated to renewable energy was only US$929 million. When KBC reviewed its sustainability policy in 2016, the Global Network of Non-governmental organisation cooperating in the field of private banks and sustainability, Banktrack published an analysis acknowledging progress made on fossil fuels, while criticising the exception for the Czech Republic where the bank continues to finance coal, saying “the new general restriction on coal is welcome and positive, however the exception applied to Czech coal companies is concerning." In 2017 the Belgian Climate Coalition published a report charting the investments in fossil fuel of the four major banks in Belgium (KBC, ING, BNP Paribas and Belfius). In this report they attacked the exception for the Czech Republic as well,saying “the exceptions for coal activities in the Czech Republic don’t comply with the strict deadlines imposed by climate science.” See also Paul Borghgraef Fernand Collin Luc Debaillie Frank Donck Gustave Sap Jozef Van Waeyenberge Remi Vermeiren, former president Philippe Vlerick References Van der Wee, Herman and Van der Wee-Verbreyt, Monique, People Make History: The Kredietbank and the Economic Rise of Flanders, 1935-1985, Brussels, Kredietbank, 1985. External links Financial services companies established in 1935 Banks established in 1935 Banks of Belgium Companies based in Brussels Companies listed on Euronext Brussels Investment banks Investment management companies of Belgium Multinational companies headquartered in Belgium Belgian brands Banks under direct supervision of the European Central Bank Primary dealers
Coleophora yunnanica is a moth of the family Coleophoridae. It is found in Yunnan, China. The wingspan is 12–13 mm. References yunnanica Moths of Asia Moths described in 1989
In cryptography, the bricklayer function is a part of a round function that can be decomposed into identical independent Boolean operations on the partitioned pieces of its input data, so called bundles. The term was introduced by Daemen and Rijmen in 2001. If the underlying function transforming the bundle is nonlinear, it is traditionally called an S-box. If the function is linear, Daemen and Rijmen use for it the term D-box (after diffusion). References Sources Cryptographic primitives
Emma Baboyan (; born 19 December 1999) is an Armenian footballer who plays as a midfielder for Shirak-Homenmen and the Armenia women's national team. International career Baboyan capped for Armenia at senior level in a 0–1 friendly loss to Lithuania on 4 March 2020. See also List of Armenia women's international footballers References 1999 births Living people Women's association football midfielders Armenian women's footballers Armenia women's international footballers
A meat pie is a pie with a filling of meat and often with other savory ingredients. They are found in cuisines worldwide. Meat pies are usually baked, fried, or deep fried to brown them and develop the flavour through the Maillard reaction. Many varieties have a flaky crust. History The origins of the meat pie have been traced back to the Neolithic period, around 6000 BC. Versions of what are now known as pies were featured on ancient Egyptian tomb walls, and in ancient Greek and Roman texts. The ancient Egyptians' diet featured basic pies made from oat, wheat, rye, and barley, filled with honey and baked over hot coals. The Greeks used a flour-water paste resembling pie pastry, and filled it with meat. These pies were usually fried or cooked under coals. The Romans adopted the Greek creations, using a variety of meats, oysters, mussels, lampreys, and fish as filling and a mixture of flour, oil, and water for the crust. This 'pastry' cover was not meant to be eaten and was discarded. In Northern Europe, cooks made pastry with lard and butter to make a stiff dough that could hold an upright pie. These medieval pastry dishes were called "coffins/coffyns", that is, a basket or box, and were savory meat pies with the crusts or pastry being tall, straight-sided with sealed-on floors and lids. Open-crust pastry (not tops or lids) were known as "traps." These pies held assorted meats and sauce components and were baked more like a modern casserole with no pan (the crust itself was the pan, its pastry tough and inedible). These crusts were often made several inches thick to withstand many hours of baking. Some historians suggest the tough, almost inedible, crust was given to the servants while the lords and ladies of the house ate the contents. This pastry became a common dish in medieval times, and by the 14th century, came to be called a "pye" or "pie". Between 1387 and 1400, Geoffrey Chaucer wrote, in The Canterbury Tales, of a cook who "koude rooste, and sethe, and broille, and frye / Máken mortreux, and wel bake a pye". The etymology of the word is unknown, but may be related to the magpie (also called "pie"), perhaps because both were spotted, or because the bird collects miscellaneous articles, and almost anything can be wrapped in pastry and cooked. The French and Italians specialized in redefining the pastry of the pie, making it flakier and tastier by new methods of adding butter, rolling, and folding the dough. In 1440, the Paris pastry guild was recognized and started to expand their product—and so something like the modern day crust began to be used. Colonizers spread meat pies across the globe. The crust of the pie helped preserve food during the winter. Pies were not popular in the United States until the 1800s, and today most pies in the United States are meatless and sweet, except for pot pie. In Canada, on the other hand, both English and French meat pie traditions have persisted, notably the iconic tourtière of French Canada. Regional variations The Natchitoches meat pie is one of the official state foods of the US state of Louisiana. The Nigerian meat pie evolved from the Pasty can be baked or fried and the filling can be almost anything from minced beef, with potatoes and carrots. Latin American meat empanadas may be pies or more often pasties; different pastry shells and fillings are used, and they may be baked or fried. Empanadas usually contain much onion and green or red pepper, in combination with meat or fish. Empanada dough takes many forms, from those made with cornmeal to puff pastry. Ground beef with olives, fried egg, pulled pork, diced steak, even cheese and salami are used in Chile, Argentina, Bolivia, Colombia, Ecuador, Puerto Rico and Peru for example. The Australian version of Irish steak and Guinness pie has a filling of round steak with Guinness Stout Beer, bacon, and onions. It is served with potato chips and vegetables and is popular in Irish pubs. In Australia, the meat pie is a common convenience food often found in petrol stations, pubs, restaurants, bakeries, supermarkets and convenience stores. Middle Eastern meat pies are called sfiha and contain ground beef, olive oil, plain yogurt, tahini, allspice, onion, tomatoes and pine nuts. Greek meat pies are called kreatopita and contain ground beef, onions and feta cheese. The filling for kreatopita is wrapped in phyllo dough. Indian meat pies are called samosa and usually contain peas, spiced potatoes, coriander, lentils, or ground beef or chicken and are often served with chutney. In Turkmenistan, a meat pie is called ishlekli or a shepherd's pie. Traditionally, ishlekli was baked by shepherds, who buried it in the hot sand of the Turkmen desert and coals. Today, ishlekli is mostly baked in the oven, but the traditional method is still preserved by the Turkmen shepherds. Chinese meat pies have several variations, notably the Xianghe meat pie . See also Baozi British Pie Week, 4–10 March Clam pie Empanada Fish pie Flipper pie Game pie Hujiao bing Lihapiirakka Meat pie (Australia and New Zealand) Pasty Pâté chaud Pie floater Pork pie Pot pie Rabbit pie Rapure Scotch pie Sea-pie Shepherd's pie Steak and kidney pie Steak pie Tourtière References Bibliography N.p., n.d. Web. 22 Mar. 2011. Further reading Savoury pies Street food Turkmen cuisine West African cuisine
Corky James (born February 10, 1954) is a Los Angeles-based session guitarist and bassist who has appeared on a considerable number of music albums and motion picture soundtracks. His genres encompass rock, pop, country, singer-songwriter, and film scores, and James operates an active recording studio in Los Angeles. Working with artists such as Avril Lavigne, Jordin Sparks, Demi Lovato, and Paul Stanley, he has played on hit singles that have reached No. 1 worldwide including "Sk8er Boi" and "I'm with You". He has also played on hit singles that reached the Billboard Hot 100 Airplay charts including: "Why Can't I?", "(There's Gotta Be) More To Life", and "No Air", Early life James was born in Washington, D.C., on February 10, 1954, and grew up in nearby Arlington, Virginia, and went by his birth name, "Jimmy McCorkle", until 1972. The third of four children, both his parents exposed him and his siblings to music at a young age; his mother played both piano and organ, while his father sang and called square dances. According to James, he first developed an interest in guitar after seeing Elvis Presley on television at around the age of five. As early as elementary school he played guitar in bands that performed at school dances, private parties, or variety shows. He later left college, where he was earning a degree in business administration, to become a full-time musician. Music career Early years James initially got his start by playing with a number of cover bands in the Washington, D.C., and Baltimore areas. After a time he moved to Los Angeles, California, where he began attending the Dick Grove School of Music and began teaching private guitar lessons. He began networking with a number of musicians, songwriters, and producers in the California music industry, and picked up several high-profile touring jobs. James also worked with a number of local original bands, before becoming primarily a studio musician, also at times contributing writing and production. As session musician He operates a private studio, "The Wire," where he does much of his session work and collaborates with other artists. After becoming active as a session musician in the late 1980s, his discography credits include many contemporary recording artists such as: Avril Lavigne, Liz Phair, Stacie Orrico, Kelly Clarkson, Jordin Sparks, Ashley Parker Angel, Cock Robin, Hilary Duff, Bo Bice, Kevin Gilbert, LeAnn Rimes, Paul Stanley, Alex Band, Lili Haydn, Meat Loaf; and music producers Kenny "Babyface" Edmonds, The Matrix, Desmond Child and The Underdogs. He has played on hit singles that have reached No. 1 worldwide including: "Sk8er Boi", "I'm with You" as well as the Grammy Awards nominated song "Complicated". He also played on hit singles that reached the Billboard Hot 100 Airplay charts including: "Why Can't I?", "(There's Gotta Be) More To Life", and "No Air", as well as playing guitar & bass on the American Idol Season 4: The Showstoppers CD. Film soundtracks Corky James performed on the soundtrack for the movie Bobby, a Golden Globe Award-nominated historical drama film written & directed by Emilio Estevez and contributed several music cues for the documentary movie More than a Game. Among the many other soundtracks he's contributed to are the On the Line soundtrack (2001), More than a Game soundtrack (2009), and the X-Men: First Class soundtrack (2011). Accolades He has been awarded over six RIAA gold and platinum CD plaques representing over 10 million certified sales. Discography Production credits References External links Corky James on SoundCloud Corky James at MySpace [ Corky James entry at allmusic.com] American rock guitarists American male guitarists American session musicians Living people 1954 births 20th-century American guitarists 20th-century American male musicians
Mesquite is a suburban city located east of the city of Dallas, Texas, United States. Most of the city is located in Dallas County, though a small portion extends into Kaufman County. As of 2019 census estimates, the population was 140,937, making it the 22nd-most populous city in the U.S. state of Texas; in 2020, its population grew to 150,108. Mesquite is positioned at the crossroads of four major highways (Interstates 30, 635, 20, and U.S. Route 80), making locations such as downtown Dallas, Lake Ray Hubbard, Dallas Love Field, and DFW International Airport accessible. According to legislative action, the city is the "Rodeo Capital of Texas". In 2016, Mesquite received a Playful City USA designation for the fourth year in a row. The city has been named a Tree City USA by the National Arbor Day Foundation for over 25 years. The city of Mesquite holds the 10th-longest reign in all of Texas. Unique to suburbs of Dallas and Fort Worth, the city of Mesquite is served by its own local airport, Mesquite Metro Airport. Companies and institutions with a major presence in the city are the United Parcel Service, Sears, AT&T, Charter Spectrum, Eastfield College, Ashley Furniture, and FedEx. History Before settlement Centuries before American settlers moved into the area, Mesquite was an open prairie land and a key trading ground for indigenous peoples. The Ionies were a western tribe located close to present-day Fort Worth. The Tawakonies were in present-day Dallas. Finally, the Caddo were the native farmers of the Mesquite land. From 1680 to 1790, after harvest was over, these three tribes held an annual tournament and trading fair. Settlement The city of Mesquite was founded on March 14, 1878, on land along the Texas & Pacific Railway, which ran from Dallas to Shreveport, Louisiana. The locals then named the town after Mesquite Creek. The city was officially incorporated on December 3, 1887, after electing Mayor J.E. Russell. In the city's earliest years, it was known for many outlaws residing in the area. A prominent outlaw was Sam Bass, historically known for his train robberies in Texas. In 1878, he robbed a train in downtown Mesquite, escaping with $30,000. The Mesquiter, established in 1882 by R.S. Kimbrough, was Dallas County's longest-running newspaper. Development Mesquite prospered through the late 19th and early 20th centuries as a farming community, growing cotton, hay, corn, and sugar, and using the railroad to ship raw goods. The town remained predominantly agrarian until after World War II, when the suburban boom took root in Mesquite. In 1946, the Mesquite Rodeo was founded by Charlie Columbus McNally, and was one of the only rodeos that had a permanent location. By the mid-1980s, the events were being broadcast by ESPN. In 1959, Big Town Mall opened as the first air-conditioned shopping mall in the United States. Portions of the Talking Heads movie 'True Stories' were filmed at this mall. The mall was demolished in the summer of 2006, and FedEx opened a logistics center on the property in 2017. By 1970, the LBJ Freeway (I-635) was constructed, connecting Mesquite to its neighbors, Garland to the north and Balch Springs to the south. Also, in 1971, Town East Mall was constructed. The mall was used by director Ron Howard to film portions of the movie Cotton Candy in 1978. It can also be seen in drive-by footage in the Talking Heads movie 'True Stories', by Talking Heads frontman David Byrne. The mall's associated traffic and shops would continue to grow the town. In 1986, the Mesquite Arena opened its doors as the new home for the Mesquite ProRodeo. By 1998, the facility was expanded to include a convention center, exhibition hall, and a Hampton Inn and Suites. By the 1990 census, the city had grown to 101,484 people, up from 1,696 residents in 1950. In 2011, Mesquite passed a law allowing beer and wine sales in the city. The measure had been considered several times for many years, but was always blocked by strong protest against the proposed sales. It was one of the few cities without beer and wine sales in eastern Dallas County before the law came into effect. In June 2015, the Mesquite Arts Center added a Freedom Park exhibit, in memorial of September 11. The park displays a beam that was recovered from the remains of Ground Zero. The Mesquite Fire Department received the beam in 2011. Geography Mesquite is located in eastern Dallas County at (32.782878, −96.609862), with a portion extending east into Kaufman County. The city is bordered to the west by Dallas, to the north by Garland, to the northeast by Sunnyvale, to the south by Seagoville and Dallas, and to the southwest by Balch Springs. According to the United States Census Bureau, the city has a total area of , of which are land and , or 0.33%, is covered by water. Mesquite is part of the Dallas–Fort Worth–Arlington metroplex, in which one quarter of all Texans live. Neighborhoods Lawson Samuell Farms Meadow Creek Parkview Broadmoor Estates Old Broadmoor Estates Crooked Lane Fuentes Eastern Heights Edgemont Park Creek Crossing Rutherford Falcon's Lair Falcon's Ridge Pecan Creek Rollingwood Hills Skyline Big Town Estates Presidential Estates Pasadena Gardens Original Town Melton Tealwood Northridge Quail Hollow Wildwood Valley Creek Idle wood Meadowview Palos Verdes hagan hills Mesquite Park Climate As a part of the DFW area, Mesquite has a humid subtropical climate (Köppen climate classification Cfa) characteristic of the Southern Plains of the United States. It is also continental, characterized by a relatively wide annual temperature range. Located at the lower end of Tornado Alley, Mesquite and the rest of Dallas–Fort Worth are prone to extreme weather. On average, the warmest month is July. The highest recorded temperature in Mesquite was in 1980. The average coolest month is January. The lowest recorded temperature was in 1989. May is the average wettest month. Demographics At the 2010 United States census, Mesquite had a population of 139,824. In July 2018, the population was estimated at 142,816. According to the 2020 United States census, there were 150,108 people, 46,586 households, and 34,641 families residing in the city. Per the American Community Survey in 2017, the median age was 32.8. According to the 2010 census, 64.9% of Mesquite was White (31.5% non-Hispanic white), 25.0% was Black or African American, 0.6% American Indian or Alaska Native, 2.8% Asian, 38.9% of Hispanic or Latino origin, and 3.2% from two or more races. In 2018, 28.6% were non-Hispanic white, 26% Black or African American, 0.8% American Indian or Alaska Native, 2.9% Asian, 0.1% Pacific Islander, 3.4% two or more races, and 40.4% Hispanic or Latino of any race. At the American Community Survey estimates of 2017, 0.1% of the American Indian population was Cherokee. 1.1% of the city's Asian community was Indian, 0.1% Chinese, 0.6% Filipino, 0.0% Japanese, 0.0% Korean, 0.6% Vietnamese, and 0.3% of other Asian origin. 56 residents were estimated to be Guamanian or Chamorro. The multiracial population of Mesquite was majority White and Black or African American (1.1%), followed by White and American Indian or Alaska Native (0.5%), White and Asian (0.3%), and Black or African American and American Indian and Alaska Native (0.2%). Among the Hispanic or Latino demographic 33.9% were Mexican, 0.7% Puerto Rican, 0.4% Cuban, and 4.0% from other Hispanic or Latin American origins. Of the 51,578 households at the 2010 census, 39.1% had children under the age of 18 living with them, 48.3% were headed by married couples living together, 18.9% had a female householder with no husband present, and 26.8% were notfamilies. About 22.4% of all households were made up of individuals, and 6.4% were someone living alone who was 65 years of age or older. The average household size was 2.88, and the average family size was 3.38. From 2013 to 2017, an estimated 46,876 households had an estimated 3.06 persons per household. About 57.7% of residents owned houses in Mesquite. The median gross rent was $1,018. In 2000, the median income for a household was $30,424, and the median income for a family was $36,357. Male full-time workers had a median income of $37,756 versus $29,905 for females. In 2017, the estimated median household income was $52,167. In 2010, about 29.8% of the population were under the age of 18, 10.1% were 18 to 24 years old, 27.9% were 25 to 44, 23.7% were 45 to 64, and 8.6% were 65 years of age or older in 2010. The median age was 32.3 years. For every 100 females, there were 91.3 males. For every 100 females age 18 and over, there were 86.4 males. According to information gathered by Sperling's BestPlaces, 62.7% claim religious affiliation. Christianity is the most prevalent religion in Mesquite. The largest Christian body in the city is the Catholic Church, served by the Diocese of Dallas (19.6%), followed by Baptists (13.2%), Methodists (4.8%), Pentecostals (3.1%), Presbyterians (1.6%), Episcopalians (1.0%), Latter-Day Saints (1.0%), Lutherans (0.7%), and 12.4% from another Christian faith including the Oriental Orthodox and Eastern-rite Catholic churches. Mesquite is a center for Indian Christians from the Indian state of Kerala. Their settlement, one of the earliest of the Indian Americans in the DFW area, was influenced by proximity to Dallas-based hospitals such as Baylor University Medical Center at Dallas and Parkland Hospital, as well as having initial low income and difficulties moving to mostly white northern suburbs. The second-largest religion in Mesquite is Islam (3.6%) followed by Judaism (0.7%), and eastern faiths including Hinduism, Sikhism, and Buddhism (0.9%). Economy Much of Mesquite's economy is tied to the city of Dallas with the exception of local businesses. The largest national corporations operating in Mesquite are United Parcel Service, Sears, AT&T, Spectrum, Ashley Furniture, FedEx, OfficeMax, and GameStop. As of Mesquite's 2008 Comprehensive Annual Financial Report, the largest employers in the city are: As of Mesquite's 2022 Comprehensive Annual Financial Report, the largest employers in the city are: Arts and culture In 2016, the Mesquite Public Library System was presented with a 2016 Achievement of Library Excellence Award by the Texas Municipal Library Directors Association. Of the 548 public library systems in Texas, the Mesquite Public Library was one of only 43 libraries to earn this prestigious honor. The Mesquite Public Library System consists of two branches to serve the community. Both branches offer traditional and non-traditional programs. Parks and recreation The city houses 76 parks and four recreation centers. The city has been designated a Playful City USA four years running and opened its Heritage Trail system in 2015. The hike and bike trail system consists of 4.25 miles of concrete trails and sidewalks, three trailheads, and other improvements that connect residents from their homes to the Mesquite Golf Club, schools, recreation centers, sports fields, shopping, and more. Mesquite Golf Club Mesquite Golf Club is a , 18-hole golf course for both novice and expert golfers. Operated by the City of Mesquite, the course is open seven days a week and features a pro shop and driving range. Mesquite Arts Center The municipal arts facility houses a 494-seat music performance hall, black box theater, rehearsal hall, galleries, and support space. The facility serves as the cultural center for the community and is home to the Mesquite Community Theatre, Mesquite Community Band and the Mesquite Symphony Orchestra. Government The city council of Mesquite consists of a mayor and six council members, with Daniel Alemán Jr. serving as mayor and Cliff Keheley as city manager. The council members of Mesquite's city council are listed below. Politics Education Mesquite Independent School District provides primary and secondary (K–12) education to most areas of Mesquite. A small portion of Mesquite is served by Dallas Independent School District. While another small area in Kaufman County is within the Forney Independent School District, the section has no residents. Mesquite also serves an area of Balch Springs. In addition to 33 public elementary schools and ten public middle schools, Mesquite is served by five high schools: Mesquite High School, North Mesquite High School, West Mesquite High School, Poteet High School, and John Horn High School. The private Dallas Christian School is located in the city limits. Colleges and universities The Texas Legislature defines all of Dallas County (including the vast majority of Mesquite) as being in the Dallas College (formerly Dallas County Community College or DCCCD) district. The portion in Kaufman County is within the Trinity Valley Community College district. Eastfield College provides undergraduate degrees and continuing-education credits as part of Dallas College. Higher education also is provided by two other institutions. Columbia College-Mesquite Campus is located on the Eastfield College campus. It is a private, nonprofit institution that was founded in Columbia, Missouri, in 1851. It provides bachelor's and master's degree programs. Media Mesquite shares the same television and radio market with Dallas. The Mesquite Independent School District operates KEOM, a high-school sports and classic-hits radio station. The city's newspaper community primarily subscribes to The Dallas Morning News, Al Dia, and other Dallas-based newspapers. The Dallas Morning News has a section dedicated to local news in Mesquite. Star Local News distributes the Mesquite News newspaper. Transportation Mesquite is served by a publicly owned and operated airport, Mesquite Metro Airport. The airport includes a lighted runway with ILS. General aviation accounts for about 75% of daily operations, while commercial aviation accounts for the rest. Mesquite Metro Airport is popular among transient aircraft due to its location near Dallas and favorable fuel prices. Two other nearby airports, Dallas/Fort Worth International Airport and Dallas Love Field, provide regular commercial passenger service to the region. Dallas Love Field is around from Mesquite; DFW Airport is roughly from Mesquite. Mesquite is not a member of Dallas Area Rapid Transit, but on April 12, 2011, the DART Board changed its policy to permit DART to contract with nonmember cities for services, such as passenger rail and express service. The city and DART staffs have developed a coordinated plan to have a weekday commuter service in operation between the Hanby Stadium visitor parking lot and the DART's Green Line Lawnview Station. This route opened March 12, 2012. The city also has an optional public transportation service where citizens can schedule specific pickup and drop off times and locations within Mesquite through the STAR Transit service. Union Pacific Railroad operates an intermodal facility for its freight rail service as part of the Skyline Industrial Park. The recent expansion of this intermodal facility won a Silver award in the Industrial Paving Category by the American Concrete Pavement Association. Highways Interstate 20 is a major east–west interstate serving the south side of Mesquite passing through rural and residential areas including the Lawson area. I-20 connects with Balch Springs to the west and Terrell to the east. Interstate 30 is a major east–west interstate that passes through the north side of Mesquite. I-30 connects with Dallas, Arlington, and Fort Worth to the west; Garland, Lake Ray Hubbard, and Rockwall to the east. Interstate 635 (Lyndon B. Johnson Freeway) is an auxiliary interstate serving as a partial loop around Dallas and its suburbs. I-635 bisects the city of Mesquite and serves as the main freeway through the city as most of the local businesses and attractions (including Town East Mall and Mesquite Championship Rodeo) are built near or around I-635. The interstate connects with Garland to the north and Balch Springs to the south. I-635 also connects Mesquite with Dallas/Fort Worth International Airport. U.S. Highway 80 is an east–west freeway passing through north Mesquite. US 80 connects with Sunnyvale, Forney, and Terrell to the east. To the west of Mesquite, the highway merges onto I-30. Texas Highway 352 (Military Parkway/Scyene Road) is an east–west highway passing through both west Mesquite and downtown Mesquite. In the downtown area, it is known locally as Main Street on the westbound section and Davis Street on the eastbound section. Belt Line Road also passes through Mesquite and serves as a major road. Belt Line road serves as an outer loop around the Dallas suburbs. Planning stages and environmental studies are being conducted to expand President George Bush Turnpike to connect from its current terminus at I-30 in Garland to I-20. The new segment of the toll road would pass through Sunnyvale and Mesquite in route to I-20 and would complete the loop around Dallas County. Notable people Dave Abruzzese, ex-drummer for Pearl Jam Quincy Acy, professional basketball player for Brooklyn Nets and New York Knicks Melissa Archer, actress on One Life to Live Todd Boatwright, television news anchor Craig Wayne Boyd, winner of season seven of NBC's The Voice Tarell Brown, professional football player for New England Patriots, played for San Francisco 49ers and Oakland Raiders, and for Texas Longhorns 2005 National Championship team; graduate of North Mesquite High School Trevone Boykin, quarterback for Texas Christian University and NFL's Seattle Seahawks Joe Bowden, former professional football player for Houston Oilers, Tennessee Titans, and Dallas Cowboys John D. Carmack, game programmer and co-founder of id Software Lead programmer of the id computer games Wolfenstein 3D, Doom, Quake, their sequels and the Commander Keen series of games and is the current the CTO of Oculus VR Ray Cunningham, former professional baseball player for St. Louis Cardinals Alyssa Edwards, drag performer and dance instructor; competed on season five of RuPaul's Drag Race and season two RuPaul's Drag Race: All Stars Terry Fator, singer and ventriloquist, winner of America's Got Talent in 2007 Taylor Gabriel, professional football player for Chicago Bears Don Gay, eight-time PRCA world champion bullrider Todd Graham, college football coach; head coach at Hawaii Jerry Hall, actress and model, former wife of Mick Jagger and mother of four of his children Jason Jennings, Major League Baseball player for Colorado Rockies, Texas Rangers Micah Xavier Johnson, former soldier of United States Army Reserves and perpetrator of 2016 shooting of Dallas police officers Ty Jordan, football player Vivian Le, figure skater Taylor Lipsett, gold medalist in sled hockey at 2010 Winter Paralympic Games in Vancouver; he led Team USA in goals, with 5 goals in 5 games, and added 2 assists for a total of 7 points Sean Lowe, MLB player for Chicago White Sox, St. Louis Cardinals, Pittsburgh Pirates, Colorado Rockies, and Kansas City Royals Damien Magnifico, MLB player for Los Angeles Angels, Milwaukee Brewers Bryan Massey, actor and writer Taylor Parks, actress and singer, best known as Little Inez in 2007 film Hairspray Sonny Strait, voice actor, ADR director, comic book/anime writer and illustrator (Dragon Ball Z) Greg Vaughan, actor on General Hospital Chuck Weber, racing driver Notes References External links 1878 establishments in Texas Cities in Dallas County, Texas Cities in Kaufman County, Texas Cities in Texas Dallas–Fort Worth metroplex Populated places established in 1878
A general election was held in the U.S. state of Minnesota on November 3, 2020. All seats in the Minnesota Senate and Minnesota House of Representatives were up for election as well as several judicial seats, Minnesota's 10 presidential electors, a United States Senate seat, Minnesota's eight seats in the United States House of Representatives, and several positions for local offices. A primary election to nominate major party candidates and several judicial and local primary elections were held on August 11, 2020. Electoral system Elections for state and federal offices were held via first-past-the-post voting. The candidate or bloc of presidential electors that wins the most votes will be elected. Nominations for parties with major party status—the DFL, Grassroots-Legalize Cannabis, Legal Marijuana Now, and Republican parties—were determined by an open primary election. The candidate that won the most votes in each party became their party's nominee for the general election. If only a single candidate sought the nomination for each party, a primary election for that office was not held. Judicial and several local elections will be held via a nonpartisan blanket primary. Each voter had up to as many votes as there are positions to be filled. Voters could vote for a candidate not more than once. The top number of candidates that won the most votes in the primary election that was twice the number of positions to be filled advanced to the general election. If not more than twice the number of candidates to be elected sought election, a primary election was not held. Most cities, school districts, and all townships and hospital districts did not hold a primary election—instead all candidates appeared at the general election. The top number of candidates that win the most votes in the general election that is equal to the number of positions to be filled will be elected. Judicial and local elections are nonpartisan. The candidate filing period was from May 19 to June 2, 2020. The filing period for cities, townships, school districts, and hospital districts that did not hold a primary election was from July 28 to August 11, 2020. State elections Legislative elections Minnesota Senate All 67 seats in the Minnesota Senate were up for election. The Republicans hold a majority of 35 seats and the DFL hold 32 seats. The Republicans have held a majority in the Senate since the 2016 election. Minnesota House of Representatives All 134 seats in the Minnesota House of Representatives were up for election. The DFL hold a majority of 75 seats and the Republicans hold 59 seats. The DFL have held a majority in the House since the 2018 election. Judicial elections One seat on the Minnesota Supreme Court was up for election. Justice Paul Thissen was up for his first election following his appointment in 2018 by Governor Mark Dayton. Four seats on the Minnesota Court of Appeals and several seats on the Minnesota District Courts were also up for election. Federal elections President Minnesota's 10 electors in the Electoral College were up for election, who will subsequently cast votes for president and vice president on December 14, 2020. Minnesota has voted for the Democratic nominee in every presidential election since 1976, the longest streak of any U.S. state as of the 2016 election. The Democratic nominee in 2016, Hillary Clinton, won Minnesota by less than two percentage points over Republican nominee Donald Trump. United States Senate Minnesota's class 2 United States Senate seat was up for election. Incumbent DFL Senator Tina Smith was originally appointed in 2018 by Governor Mark Dayton to replace Senator Al Franken after he resigned. Smith won a special election and is seeking election to her first full term in the Senate. The DFL has held Minnesota's class 2 U.S. Senate seat since 2009 when Al Franken defeated Republican incumbent Norm Coleman after a protracted recount following the 2008 election. Lieutenant Governor Tina Smith was appointed in January 2018 by Governor Mark Dayton to replace Franken after he resigned following sexual harassment allegations. Smith won her first election in the 2018 special election. Former U.S. Representative Jason Lewis is the Republican nominee. Other candidates include Legal Marijuana Now Party candidate Kevin O'Connor and Grassroots-Legalize Cannabis Party candidate Oliver Steinberg. Candidates who lost the primary election for the Republican nomination included John Berman, Bob Carney, Cynthia Gail, and James Reibestein. Candidates who lost the primary election for the DFL nomination included Steve Carlson, Ahmad Hassan, Paula Overby, and Christopher Seymore. United States House of Representatives Minnesota's eight seats in the United States House of Representatives were up for election. The DFL hold five seats and the Republicans hold three seats. Local elections Elections for several subdivisions were held—including elections for counties, municipalities, school districts, and hospital districts. Counties All 87 counties held regular elections. 37 counties held primary elections. Five counties also held special elections on the day of the general election. Kanabec County had a ballot question on the day of the general election. All counties held elections for: Half of the members of the county board of commissioners (including 1 special election) Some counties held elections for one or more of the following: Half of the members of the soil and water conservation district board of supervisors (All counties except Hennepin and Ramsey, including 4 special elections) Half of the members of the Three Rivers Park District board of commissioners (Hennepin County excluding Minneapolis) Ballot question (Kanabec County) Municipalities 829 cities and 656 townships held regular elections. 32 cities held primary elections. 101 cities and 51 townships held special elections. Bemidji and Minneapolis each held a special election on the day of the primary election. All other special elections were held on the day of the general election. Bloomington, Minneapolis, and Minnetonka did not have regularly scheduled elections, but each had one or more ballot questions on the day of the general election. Jeffers had a ballot question on the day of the primary election. 22 cities and 12 townships had one or more ballot questions on the day of the general election. Cities held elections for one or more of the following: Mayor (735 cities, including 7 special elections) Half of the members of the city council (826 cities and 94 special elections in 94 cities) Clerk-treasurer (9 cities, including 2 special elections) Clerk (32 cities, including 1 special election) Treasurer (34 cities, including 1 special election) Half of the members of the public works/utilities/sanitary district board of directors (4 cities) Ballot questions (23 cities) Townships held elections for one or more of the following: Half of the members of the town board of supervisors (655 townships and 32 special elections in 31 townships) Clerk-treasurer (24 townships, including 1 special election) Clerk (331 townships, including 12 special elections) Treasurer (218 townships, including 8 special elections) Ballot questions (12 townships) School districts 294 school districts held regular elections to elect half of the members of their board of directors. Minneapolis and Red Lake each held a primary election. Barnesville, Duluth, Fridley, Orono, Prinsburg, Rush City, and Saint Paul did not have regularly scheduled elections, but each held a special election or had one or more ballot questions on the day of the general election. 28 other school districts also held a special election on the day of the general election. Ely, Gibbon-Fairfax-Winthrop, and McGregor each had one or more ballot questions on the day of the primary election. 43 school districts had one or more ballot questions on the day of the general election. Hospital districts 14 hospital districts held regular elections to elect half of the members of their board of directors. Two hospital districts also held special elections on the day of the general election. References Further reading External links Elections & Voting - Minnesota Secretary of State (State affiliate of the U.S. League of Women Voters) Minnesota
```c /* $OpenBSD: print-ospf.c,v 1.23 2024/04/23 13:34:51 jsg Exp $ */ /* * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that: (1) source code distributions * retain the above copyright notice and this paragraph in its entirety, (2) * distributions including binary code include the above copyright notice and * this paragraph in its entirety in the documentation or other materials * provided with the distribution, and (3) all advertising materials mentioning * features or use of this software display the following acknowledgement: * ``This product includes software developed by the University of California, * Lawrence Berkeley Laboratory and its contributors.'' Neither the name of * the University nor the names of its contributors may be used to endorse * or promote products derived from this software without specific prior * written permission. * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * * OSPF support contributed by Jeffrey Honig (jch@mitchell.cit.cornell.edu) */ #include <sys/time.h> #include <sys/socket.h> #include <netinet/in.h> #include <netinet/ip.h> #include <netinet/ip_var.h> #include <ctype.h> #include <stdio.h> #include <string.h> #include "interface.h" #include "addrtoname.h" #include "ospf.h" struct bits { u_int32_t bit; const char *str; }; static const struct bits ospf_option_bits[] = { { OSPF_OPTION_T, "T" }, { OSPF_OPTION_E, "E" }, { OSPF_OPTION_MC, "MC" }, { 0, NULL } }; static const struct bits ospf_rla_flag_bits[] = { { RLA_FLAG_B, "B" }, { RLA_FLAG_E, "E" }, { RLA_FLAG_W1, "W1" }, { RLA_FLAG_W2, "W2" }, { 0, NULL } }; static struct tok type2str[] = { { OSPF_TYPE_UMD, "umd" }, { OSPF_TYPE_HELLO, "hello" }, { OSPF_TYPE_DB, "dd" }, { OSPF_TYPE_LSR, "ls_req" }, { OSPF_TYPE_LSU, "ls_upd" }, { OSPF_TYPE_LSA, "ls_ack" }, { 0, NULL } }; static char tstr[] = " [|ospf]"; /* Forwards */ static inline void ospf_print_seqage(u_int32_t, time_t); static inline void ospf_print_bits(const struct bits *, u_char); static void ospf_print_ls_type(u_int, const struct in_addr *, const struct in_addr *, const char *); static int ospf_print_lshdr(const struct lsa_hdr *); static int ospf_print_lsa(const struct lsa *); static int ospf_decode_v2(const struct ospfhdr *, const u_char *); static inline void ospf_print_seqage(u_int32_t seq, time_t us) { time_t sec = us % 60; time_t mins = (us / 60) % 60; time_t hour = us / 3600; printf(" S %X age ", seq); if (hour) printf("%u:%02u:%02u", (u_int32_t) hour, (u_int32_t) mins, (u_int32_t) sec); else if (mins) printf("%u:%02u", (u_int32_t) mins, (u_int32_t) sec); else printf("%u", (u_int32_t) sec); } static inline void ospf_print_bits(const struct bits *bp, u_char options) { char sep = ' '; do { if (options & bp->bit) { printf("%c%s", sep, bp->str); sep = '/'; } } while ((++bp)->bit); } static void ospf_print_ls_type(u_int ls_type, const struct in_addr *ls_stateid, const struct in_addr *ls_router, const char *fmt) { switch (ls_type) { case LS_TYPE_ROUTER: printf(" rtr %s", ipaddr_string(ls_router)); break; case LS_TYPE_NETWORK: printf(" net dr %s if %s", ipaddr_string(ls_router), ipaddr_string(ls_stateid)); break; case LS_TYPE_SUM_IP: printf(" sum %s abr %s", ipaddr_string(ls_stateid), ipaddr_string(ls_router)); break; case LS_TYPE_SUM_ABR: printf(" abr %s rtr %s", ipaddr_string(ls_router), ipaddr_string(ls_stateid)); break; case LS_TYPE_ASE: printf(" ase %s asbr %s", ipaddr_string(ls_stateid), ipaddr_string(ls_router)); break; case LS_TYPE_GROUP: printf(" group %s rtr %s", ipaddr_string(ls_stateid), ipaddr_string(ls_router)); break; default: putchar(' '); printf(fmt, ls_type); break; } } static int ospf_print_lshdr(const struct lsa_hdr *lshp) { TCHECK(lshp->ls_type); printf(" {"); /* } (ctags) */ TCHECK(lshp->ls_options); ospf_print_bits(ospf_option_bits, lshp->ls_options); TCHECK(lshp->ls_seq); ospf_print_seqage(ntohl(lshp->ls_seq), ntohs(lshp->ls_age)); ospf_print_ls_type(lshp->ls_type, &lshp->ls_stateid, &lshp->ls_router, "ls_type %d"); return (0); trunc: return (1); } /* * Print a single link state advertisement. If truncated return 1, else 0. */ static int ospf_print_lsa(const struct lsa *lsap) { const u_char *ls_end; const struct rlalink *rlp; const struct tos_metric *tosp; const struct in_addr *ap; const struct aslametric *almp; const struct mcla *mcp; const u_int32_t *lp; int j, k; if (ospf_print_lshdr(&lsap->ls_hdr)) return (1); TCHECK(lsap->ls_hdr.ls_length); ls_end = (u_char *)lsap + ntohs(lsap->ls_hdr.ls_length); switch (lsap->ls_hdr.ls_type) { case LS_TYPE_ROUTER: TCHECK(lsap->lsa_un.un_rla.rla_flags); ospf_print_bits(ospf_rla_flag_bits, lsap->lsa_un.un_rla.rla_flags); TCHECK(lsap->lsa_un.un_rla.rla_count); j = ntohs(lsap->lsa_un.un_rla.rla_count); TCHECK(lsap->lsa_un.un_rla.rla_link); rlp = lsap->lsa_un.un_rla.rla_link; while (j--) { TCHECK(*rlp); printf(" {"); /* } (ctags) */ switch (rlp->link_type) { case RLA_TYPE_VIRTUAL: printf(" virt"); /* FALLTHROUGH */ case RLA_TYPE_ROUTER: printf(" nbrid %s if %s", ipaddr_string(&rlp->link_id), ipaddr_string(&rlp->link_data)); break; case RLA_TYPE_TRANSIT: printf(" dr %s if %s", ipaddr_string(&rlp->link_id), ipaddr_string(&rlp->link_data)); break; case RLA_TYPE_STUB: printf(" net %s mask %s", ipaddr_string(&rlp->link_id), ipaddr_string(&rlp->link_data)); break; default: /* { (ctags) */ printf(" ??RouterLinksType %d?? }", rlp->link_type); return (0); } printf(" tos 0 metric %d", ntohs(rlp->link_tos0metric)); tosp = (struct tos_metric *) ((sizeof rlp->link_tos0metric) + (u_char *) rlp); for (k = 0; k < (int) rlp->link_toscount; ++k, ++tosp) { TCHECK(*tosp); printf(" tos %d metric %d", tosp->tos_type, ntohs(tosp->tos_metric)); } /* { (ctags) */ printf(" }"); rlp = (struct rlalink *)((u_char *)(rlp + 1) + ((rlp->link_toscount) * sizeof(*tosp))); } break; case LS_TYPE_NETWORK: TCHECK(lsap->lsa_un.un_nla.nla_mask); printf(" mask %s rtrs", ipaddr_string(&lsap->lsa_un.un_nla.nla_mask)); ap = lsap->lsa_un.un_nla.nla_router; while ((u_char *)ap < ls_end) { TCHECK(*ap); printf(" %s", ipaddr_string(ap)); ++ap; } break; case LS_TYPE_SUM_IP: TCHECK(lsap->lsa_un.un_nla.nla_mask); printf(" mask %s", ipaddr_string(&lsap->lsa_un.un_sla.sla_mask)); /* FALLTHROUGH */ case LS_TYPE_SUM_ABR: TCHECK(lsap->lsa_un.un_sla.sla_tosmetric); lp = lsap->lsa_un.un_sla.sla_tosmetric; while ((u_char *)lp < ls_end) { u_int32_t ul; TCHECK(*lp); ul = ntohl(*lp); printf(" tos %d metric %d", (ul & SLA_MASK_TOS) >> SLA_SHIFT_TOS, ul & SLA_MASK_METRIC); ++lp; } break; case LS_TYPE_ASE: TCHECK(lsap->lsa_un.un_nla.nla_mask); printf(" mask %s", ipaddr_string(&lsap->lsa_un.un_asla.asla_mask)); TCHECK(lsap->lsa_un.un_sla.sla_tosmetric); almp = lsap->lsa_un.un_asla.asla_metric; while ((u_char *)almp < ls_end) { u_int32_t ul; TCHECK(almp->asla_tosmetric); ul = ntohl(almp->asla_tosmetric); printf(" type %d tos %d metric %d", (ul & ASLA_FLAG_EXTERNAL) ? 2 : 1, (ul & ASLA_MASK_TOS) >> ASLA_SHIFT_TOS, (ul & ASLA_MASK_METRIC)); TCHECK(almp->asla_forward); if (almp->asla_forward.s_addr) { printf(" forward %s", ipaddr_string(&almp->asla_forward)); } TCHECK(almp->asla_tag); if (almp->asla_tag) { printf(" tag %u", ntohl(almp->asla_tag)); } ++almp; } break; case LS_TYPE_GROUP: /* Multicast extensions as of 23 July 1991 */ mcp = lsap->lsa_un.un_mcla; while ((u_char *)mcp < ls_end) { TCHECK(mcp->mcla_vid); switch (ntohl(mcp->mcla_vtype)) { case MCLA_VERTEX_ROUTER: printf(" rtr rtrid %s", ipaddr_string(&mcp->mcla_vid)); break; case MCLA_VERTEX_NETWORK: printf(" net dr %s", ipaddr_string(&mcp->mcla_vid)); break; default: printf(" ??VertexType %u??", (u_int32_t)ntohl(mcp->mcla_vtype)); break; } ++mcp; } } /* { (ctags) */ printf(" }"); return (0); trunc: printf(" }"); return (1); } static int ospf_decode_v2(const struct ospfhdr *op, const u_char *dataend) { const struct in_addr *ap; const struct lsr *lsrp; const struct lsa_hdr *lshp; const struct lsa *lsap; char sep; int i; switch (op->ospf_type) { case OSPF_TYPE_UMD: /* * Rob Coltun's special monitoring packets; * do nothing */ break; case OSPF_TYPE_HELLO: if (vflag) { TCHECK(op->ospf_hello.hello_deadint); ospf_print_bits(ospf_option_bits, op->ospf_hello.hello_options); printf(" mask %s int %d pri %d dead %u", ipaddr_string(&op->ospf_hello.hello_mask), ntohs(op->ospf_hello.hello_helloint), op->ospf_hello.hello_priority, (u_int32_t)ntohl(op->ospf_hello.hello_deadint)); } TCHECK(op->ospf_hello.hello_dr); if (op->ospf_hello.hello_dr.s_addr != 0) printf(" dr %s", ipaddr_string(&op->ospf_hello.hello_dr)); TCHECK(op->ospf_hello.hello_bdr); if (op->ospf_hello.hello_bdr.s_addr != 0) printf(" bdr %s", ipaddr_string(&op->ospf_hello.hello_bdr)); if (vflag) { printf(" nbrs"); ap = op->ospf_hello.hello_neighbor; while ((u_char *)ap < dataend) { TCHECK(*ap); printf(" %s", ipaddr_string(ap)); ++ap; } } break; /* HELLO */ case OSPF_TYPE_DB: TCHECK(op->ospf_db.db_options); ospf_print_bits(ospf_option_bits, op->ospf_db.db_options); sep = ' '; TCHECK(op->ospf_db.db_flags); if (op->ospf_db.db_flags & OSPF_DB_INIT) { printf("%cI", sep); sep = '/'; } if (op->ospf_db.db_flags & OSPF_DB_MORE) { printf("%cM", sep); sep = '/'; } if (op->ospf_db.db_flags & OSPF_DB_MASTER) { printf("%cMS", sep); sep = '/'; } TCHECK(op->ospf_db.db_seq); printf(" mtu %u S %X", ntohs(op->ospf_db.db_mtu), (u_int32_t)ntohl(op->ospf_db.db_seq)); if (vflag) { /* Print all the LS adv's */ lshp = op->ospf_db.db_lshdr; while (!ospf_print_lshdr(lshp)) { /* { (ctags) */ printf(" }"); ++lshp; } } break; case OSPF_TYPE_LSR: if (vflag) { lsrp = op->ospf_lsr; while ((u_char *)lsrp < dataend) { TCHECK(*lsrp); printf(" {"); /* } (ctags) */ ospf_print_ls_type(ntohl(lsrp->ls_type), &lsrp->ls_stateid, &lsrp->ls_router, "LinkStateType %d"); /* { (ctags) */ printf(" }"); ++lsrp; } } break; case OSPF_TYPE_LSU: if (vflag) { lsap = op->ospf_lsu.lsu_lsa; TCHECK(op->ospf_lsu.lsu_count); i = ntohl(op->ospf_lsu.lsu_count); while (i--) { if (ospf_print_lsa(lsap)) goto trunc; lsap = (struct lsa *)((u_char *)lsap + ntohs(lsap->ls_hdr.ls_length)); } } break; case OSPF_TYPE_LSA: if (vflag) { lshp = op->ospf_lsa.lsa_lshdr; while (!ospf_print_lshdr(lshp)) { /* { (ctags) */ printf(" }"); ++lshp; } } break; default: printf("v2 type %d", op->ospf_type); break; } return (0); trunc: return (1); } void ospf_print(const u_char *bp, u_int length, const u_char *bp2) { const struct ospfhdr *op; const struct ip *ip; const u_char *dataend; const char *cp; op = (struct ospfhdr *)bp; ip = (struct ip *)bp2; /* Print the source and destination address */ printf("%s > %s:", ipaddr_string(&ip->ip_src), ipaddr_string(&ip->ip_dst)); /* XXX Before we do anything else, strip off the MD5 trailer */ TCHECK(op->ospf_authtype); if (ntohs(op->ospf_authtype) == OSPF_AUTH_MD5) { length -= OSPF_AUTH_MD5_LEN; snapend -= OSPF_AUTH_MD5_LEN; } /* If the type is valid translate it, or just print the type */ /* value. If it's not valid, say so and return */ TCHECK(op->ospf_type); cp = tok2str(type2str, "type%d", op->ospf_type); printf(" OSPFv%d-%s ", op->ospf_version, cp); if (*cp == 't') return; TCHECK(op->ospf_len); if (length < ntohs(op->ospf_len)) { printf(" [len %d]", ntohs(op->ospf_len)); return; } else if (length > ntohs(op->ospf_len)) { printf(" %d[%d]:", ntohs(op->ospf_len), length); length = ntohs(op->ospf_len); } else printf(" %d:", length); dataend = bp + length; TCHECK(op->ospf_routerid); printf(" rtrid %s", ipaddr_string(&op->ospf_routerid)); TCHECK(op->ospf_areaid); if (op->ospf_areaid.s_addr != 0) printf(" area %s", ipaddr_string(&op->ospf_areaid)); else printf(" backbone"); if (vflag) { /* Print authentication data (should we really do this?) */ TCHECK2(op->ospf_authdata[0], sizeof(op->ospf_authdata)); switch (ntohs(op->ospf_authtype)) { case OSPF_AUTH_NONE: break; case OSPF_AUTH_SIMPLE: printf(" auth \""); (void)fn_printn(op->ospf_authdata, sizeof(op->ospf_authdata), NULL); printf("\""); break; case OSPF_AUTH_MD5: { struct ospf_md5_authdata auth; memcpy(&auth, op->ospf_authdata, sizeof(auth)); printf(" auth MD5 key-id %u", auth.auth_keyid); if (vflag) printf(" seq %u", ntohl(auth.auth_seq)); if (vflag > 1) { printf(" off %u len %u", ntohs(auth.auth_md5_offset), auth.auth_len); } break; } default: printf(" ??authtype-%d??", ntohs(op->ospf_authtype)); return; } } /* Do rest according to version. */ switch (op->ospf_version) { case 2: /* ospf version 2 */ if (ospf_decode_v2(op, dataend)) goto trunc; break; default: printf(" ospf [version %d]", op->ospf_version); break; } /* end switch on version */ return; trunc: printf("%s", tstr); } ```
```smalltalk namespace Microsoft.Dafny; class PluginRewriter : IRewriter { private Plugins.Rewriter internalRewriter; public PluginRewriter(ErrorReporter reporter, Plugins.Rewriter internalRewriter) : base(reporter) { this.internalRewriter = internalRewriter; } internal override void PostResolve(ModuleDefinition moduleDefinition) { internalRewriter.PostResolve(moduleDefinition); } internal override void PostResolve(Program program) { internalRewriter.PostResolve(program); } internal override void PreVerify(ModuleDefinition module) { internalRewriter.PreVerify(module); } } ```
Lac de Grangent is a lake in Loire, France. At an elevation of 420 m, its surface area is 3.65 km2. Landforms of Loire (department) Grangent Tourist attractions in Loire (department)
Tamil Nadu State Highway 161 (SH-161) is a State Highway maintained by the Highways Department of Government of Tamil Nadu. It connects Namakkal with Kannanur in Tamil Nadu. Route The total length of the SH-161 is . The route is from NamakkalKannanur, via Erumaipatti, Varagur and Thathaiyangarpet. See also Highways of Tamil Nadu References State highways in Tamil Nadu Road transport in Tiruchirappalli
```java /* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * * Project Info: path_to_url * * This library is free software; you can redistribute it and/or modify it * (at your option) any later version. * * This library is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public * * You should have received a copy of the GNU Lesser General Public * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, * USA. * * [Oracle and Java are registered trademarks of Oracle and/or its affiliates. * Other names may be trademarks of their respective owners.] * * ------------------------- * LegendRenderingOrder.java * ------------------------- * * Original Author: Angel; * Contributor(s): David Gilbert; * */ package org.jfree.chart.legend; /** * Represents the order for rendering legend items. */ public enum LegendRenderingOrder { /** In order. */ STANDARD, /** In reverse order. */ REVERSE } ```
Pallickal is a panchayath in Varkala Taluk of Trivandrum district in the state of Kerala, India. It is situated 18km east of Varkala along Varkala - Madathara State Highway 64 and 46km north-east of capital city Trivandrum. It is known for its lush paddy fields and Land of Volleyball in south kerala. More over, this village is full of Sports enthusiasts and supporters. Attractions Pallickal is famous for the sports called " Maramadi" or [[Bull surfing|Bull Surfing There are many temples in this village. They are Kodimarathinmood Devi Temple,Panappallil Bhagavathi Temple, Chazhoor Mahavishnu Temple, Pulimath Devei Temple, Anakunnam Mahadeva temple,Ayiravilli Mahadeva Temple, Ilamabarakkod Devi Temple, Parayil Sreedharmasastha temple, Mannavil Moorthi temple, Thevermukalil Ardha Nareerswara Temple, Pakalkkuri Maha Vishnu Temple, and the newly made Sree Narayana Gurudeve Temple at Moothala. There are five mosques in this village. One is situated in Pallickal town itself, which is recently renovated and Thazhebhagom Muslim Jamaath is one of the oldest mosques in this area. Sports Pallickal is called " Home of Volleyball " in Kerala. Jas club Pallickal molded a lot of stars to State, National and even International Levels . Akhin Gs (India men's national volleyball team ), 22-year-old was a key player of the triumphant Tamil Nadu team at the recently concluded 62nd senior national volleyball championship in Uttar Pradesh Schools Govt. Higher Secondary School, Pallickal Govt. U.P School, Pallickal Pakalkuri Higher Secondary School Moothala LP School Kattuputhusseri LP School References Villages in Thiruvananthapuram district
```java package mega.privacy.android.app.main; import static mega.privacy.android.app.presentation.meeting.model.MeetingState.FREE_PLAN_PARTICIPANTS_LIMIT; import static mega.privacy.android.app.utils.CallUtil.isNecessaryDisableLocalCamera; import static mega.privacy.android.app.utils.CallUtil.showConfirmationOpenCamera; import static mega.privacy.android.app.utils.Constants.ACTION_OPEN_QR; import static mega.privacy.android.app.utils.Constants.CONTACT_TYPE_BOTH; import static mega.privacy.android.app.utils.Constants.CONTACT_TYPE_DEVICE; import static mega.privacy.android.app.utils.Constants.CONTACT_TYPE_MEGA; import static mega.privacy.android.app.utils.Constants.EMAIL_ADDRESS; import static mega.privacy.android.app.utils.Constants.INTENT_EXTRA_IS_FROM_MEETING; import static mega.privacy.android.app.utils.Constants.INTENT_EXTRA_KEY_CHAT; import static mega.privacy.android.app.utils.Constants.INTENT_EXTRA_KEY_CHAT_ID; import static mega.privacy.android.app.utils.Constants.INTENT_EXTRA_KEY_CONTACTS_SELECTED; import static mega.privacy.android.app.utils.Constants.INTENT_EXTRA_KEY_CONTACT_TYPE; import static mega.privacy.android.app.utils.Constants.INTENT_EXTRA_KEY_MAIL; import static mega.privacy.android.app.utils.Constants.INTENT_EXTRA_KEY_MAX_USER; import static mega.privacy.android.app.utils.Constants.INTENT_EXTRA_KEY_TOOL_BAR_TITLE; import static mega.privacy.android.app.utils.Constants.INVALID_POSITION; import static mega.privacy.android.app.utils.Constants.INVITE_CONTACT; import static mega.privacy.android.app.utils.Constants.MAX_ALLOWED_CHARACTERS_AND_EMOJIS; import static mega.privacy.android.app.utils.Constants.MIN_ITEMS_SCROLLBAR_CONTACT; import static mega.privacy.android.app.utils.Constants.REQUEST_INVITE_CONTACT_FROM_DEVICE; import static mega.privacy.android.app.utils.Constants.REQUEST_READ_CONTACTS; import static mega.privacy.android.app.utils.ContactUtil.getContactDB; import static mega.privacy.android.app.utils.ContactUtil.getContactNameDB; import static mega.privacy.android.app.utils.TimeUtils.lastGreenDate; import static mega.privacy.android.app.utils.Util.dp2px; import static mega.privacy.android.app.utils.Util.hideKeyboard; import static mega.privacy.android.app.utils.permission.PermissionUtils.hasPermissions; import static mega.privacy.android.app.utils.permission.PermissionUtils.requestPermission; import static nz.mega.sdk.MegaChatApiJava.MEGACHAT_INVALID_HANDLE; import android.Manifest; import android.annotation.SuppressLint; import android.app.Activity; import android.content.ContentResolver; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.pm.PackageManager; import android.content.res.Configuration; import android.database.Cursor; import android.os.AsyncTask; import android.os.Bundle; import android.os.Handler; import android.provider.ContactsContract; import android.text.Editable; import android.text.Html; import android.text.InputFilter; import android.text.Spanned; import android.text.TextWatcher; import android.util.DisplayMetrics; import android.view.Display; import android.view.KeyEvent; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import android.view.MotionEvent; import android.view.View; import android.view.ViewGroup; import android.view.inputmethod.EditorInfo; import android.view.inputmethod.InputMethodManager; import android.widget.Button; import android.widget.CheckBox; import android.widget.EditText; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.ProgressBar; import android.widget.RelativeLayout; import android.widget.ScrollView; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.appcompat.app.ActionBar; import androidx.appcompat.widget.SearchView; import androidx.appcompat.widget.Toolbar; import androidx.core.content.ContextCompat; import androidx.core.text.HtmlCompat; import androidx.core.view.MenuItemCompat; import androidx.core.widget.NestedScrollView; import androidx.lifecycle.Lifecycle; import androidx.lifecycle.ViewModelProvider; import androidx.recyclerview.widget.DefaultItemAnimator; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import com.brandongogetap.stickyheaders.StickyLayoutManager; import com.brandongogetap.stickyheaders.exposed.StickyHeaderHandler; import com.google.android.material.dialog.MaterialAlertDialogBuilder; import com.google.android.material.floatingactionbutton.FloatingActionButton; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; import java.util.ListIterator; import javax.inject.Inject; import dagger.hilt.android.AndroidEntryPoint; import io.reactivex.rxjava3.android.schedulers.AndroidSchedulers; import io.reactivex.rxjava3.disposables.Disposable; import io.reactivex.rxjava3.schedulers.Schedulers; import kotlin.Unit; import mega.privacy.android.app.MegaContactAdapter; import mega.privacy.android.app.R; import mega.privacy.android.app.activities.PasscodeActivity; import mega.privacy.android.app.arch.extensions.ViewExtensionsKt; import mega.privacy.android.app.components.HeaderItemDecoration; import mega.privacy.android.app.components.SimpleDividerItemDecoration; import mega.privacy.android.app.components.TopSnappedStickyLayoutManager; import mega.privacy.android.app.components.scrollBar.FastScroller; import mega.privacy.android.app.components.scrollBar.FastScrollerScrollListener; import mega.privacy.android.app.components.twemoji.EmojiEditText; import mega.privacy.android.app.main.adapters.AddContactsAdapter; import mega.privacy.android.app.main.adapters.MegaAddContactsAdapter; import mega.privacy.android.app.main.adapters.MegaContactsAdapter; import mega.privacy.android.app.main.adapters.PhoneContactsAdapter; import mega.privacy.android.app.main.adapters.ShareContactsAdapter; import mega.privacy.android.app.main.adapters.ShareContactsHeaderAdapter; import mega.privacy.android.app.main.controllers.ContactController; import mega.privacy.android.app.main.tasks.AddContactViewModel; import mega.privacy.android.app.presentation.meeting.view.ParticipantsLimitWarningView; import mega.privacy.android.app.presentation.qrcode.QRCodeComposeActivity; import mega.privacy.android.app.psa.PsaWebBrowser; import mega.privacy.android.app.usecase.chat.GetChatChangesUseCase; import mega.privacy.android.app.utils.ColorUtils; import mega.privacy.android.data.database.DatabaseHandler; import mega.privacy.android.domain.entity.Contact; import mega.privacy.android.navigation.MegaNavigator; import mega.privacy.android.shared.original.core.ui.controls.controlssliders.MegaSwitch; import nz.mega.sdk.MegaApiJava; import nz.mega.sdk.MegaChatApi; import nz.mega.sdk.MegaChatRoom; import nz.mega.sdk.MegaContactRequest; import nz.mega.sdk.MegaError; import nz.mega.sdk.MegaEvent; import nz.mega.sdk.MegaGlobalListenerInterface; import nz.mega.sdk.MegaNode; import nz.mega.sdk.MegaRequest; import nz.mega.sdk.MegaRequestListenerInterface; import nz.mega.sdk.MegaSet; import nz.mega.sdk.MegaSetElement; import nz.mega.sdk.MegaShare; import nz.mega.sdk.MegaUser; import nz.mega.sdk.MegaUserAlert; import timber.log.Timber; @AndroidEntryPoint public class AddContactActivity extends PasscodeActivity implements View.OnClickListener, RecyclerView.OnItemTouchListener, StickyHeaderHandler, TextWatcher, TextView.OnEditorActionListener, MegaRequestListenerInterface, MegaGlobalListenerInterface { @Inject GetChatChangesUseCase getChatChangesUseCase; @Inject DatabaseHandler dbH; @Inject MegaNavigator navigator; private AddContactViewModel viewModel; private static final int SCAN_QR_FOR_ADD_CONTACTS = 1111; public static final String EXTRA_MEGA_CONTACTS = "mega_contacts"; public static final String EXTRA_CONTACTS = "extra_contacts"; public static final String EXTRA_MEETING = "extra_meeting"; public static final String EXTRA_NODE_HANDLE = "node_handle"; public static final String EXTRA_CHAT_TITLE = "chatTitle"; public static final String EXTRA_GROUP_CHAT = "groupChat"; public static final String EXTRA_EKR = "EKR"; public static final String ALLOW_ADD_PARTICIPANTS = "ALLOW_ADD_PARTICIPANTS"; public static final String EXTRA_CHAT_LINK = "chatLink"; public static final String EXTRA_CONTACT_TYPE = "contactType"; public static final String EXTRA_ONLY_CREATE_GROUP = "onlyCreateGroup"; public static final String EXTRA_IS_START_CONVERSATION = "isStartConversation"; public static final String EXTRA_MULTISELECT = "MULTISELECT"; private DisplayMetrics outMetrics; private int contactType = 0; private ArrayList<String> emailsContactsSelected = new ArrayList<>(); // Determine if open this page from meeting private boolean isFromMeeting; private int multipleSelectIntent; private long nodeHandle = -1; private long[] nodeHandles; private long chatId = -1; private int maxParticipants = -1; private AddContactActivity addContactActivity; private Toolbar tB; private ActionBar aB; private RelativeLayout containerContacts; private RecyclerView recyclerViewList; private LinearLayoutManager linearLayoutManager; private StickyLayoutManager stickyLayoutManager; private ImageView emptyImageView; private TextView emptyTextView; private TextView emptySubTextView; private Button emptyInviteButton; private ProgressBar progressBar; private RecyclerView addedContactsRecyclerView; private RelativeLayout containerAddedContactsRecyclerView; private LinearLayoutManager mLayoutManager; private TextView mWarningMessage; private String inputString = ""; private String savedInputString = ""; // Adapter list MEGA contacts private MegaContactsAdapter adapterMEGA; // Adapter list chips MEGA contacts private MegaAddContactsAdapter adapterMEGAContacts; private ArrayList<MegaUser> contactsMEGA; private ArrayList<MegaContactAdapter> visibleContactsMEGA = new ArrayList<>(); private ArrayList<MegaContactAdapter> filteredContactMEGA = new ArrayList<>(); private ArrayList<MegaContactAdapter> addedContactsMEGA = new ArrayList<>(); private ArrayList<MegaContactAdapter> queryContactMEGA = new ArrayList<>(); // Adapter list Phone contacts private PhoneContactsAdapter adapterPhone; // Adapter list chips Phone contacts private AddContactsAdapter adapterContacts; private ArrayList<PhoneContactInfo> phoneContacts = new ArrayList<>(); private ArrayList<PhoneContactInfo> addedContactsPhone = new ArrayList<>(); private ArrayList<PhoneContactInfo> filteredContactsPhone = new ArrayList<>(); private ArrayList<PhoneContactInfo> queryContactsPhone = new ArrayList<>(); // Adapter list Share contacts private ShareContactsHeaderAdapter adapterShareHeader; // Adapter list chips MEGA/Phone contacts private ShareContactsAdapter adapterShare; private ArrayList<ShareContactInfo> addedContactsShare = new ArrayList<>(); private ArrayList<ShareContactInfo> shareContacts = new ArrayList<>(); private ArrayList<ShareContactInfo> filteredContactsShare = new ArrayList<>(); private ArrayList<ShareContactInfo> queryContactsShare = new ArrayList<>(); private RelativeLayout relativeLayout; private ParticipantsLimitWarningView participantsLimitWarningView; private ArrayList<String> savedaddedContacts = new ArrayList<>(); private MenuItem sendInvitationMenuItem; private MenuItem scanQrMenuItem; private boolean comesFromChat; private boolean isStartConversation; private boolean comesFromRecent; public static final String FROM_RECENT = "comesFromRecent"; public static final String IS_ALLOWED_ADD_PARTICIPANTS = "isAllowAddParticipants"; private RelativeLayout headerContacts; private TextView textHeader; private boolean fromAchievements = false; private ArrayList<String> mailsFromAchievements; private MenuItem searchMenuItem; private SearchView.SearchAutoComplete searchAutoComplete; private boolean searchExpand = false; private FilterContactsTask filterContactsTask; private GetContactsTask getContactsTask; private GetPhoneContactsTask getPhoneContactsTask; private RecoverContactsTask recoverContactsTask; private QueryIfContactSouldBeAddedTask queryIfContactSouldBeAddedTask; private FastScroller fastScroller; private FloatingActionButton fabImageGroup; private FloatingActionButton fabButton; private EmojiEditText nameGroup; private boolean onNewGroup = false; private boolean isConfirmDeleteShown = false; private String confirmDeleteMail; private RelativeLayout mailError; private RelativeLayout typeContactLayout; private EditText typeContactEditText; private RelativeLayout scanQRButton; private boolean isConfirmAddShown = false; private String confirmAddMail; private boolean createNewGroup = false; private String title = ""; private boolean queryPermissions = true; private LinearLayout addContactsLayout; private NestedScrollView newGroupLayout; private MegaSwitch ekrSwitch; private boolean isEKREnabled = false; private RelativeLayout getChatLinkLayout; private CheckBox getChatLinkBox; private MegaSwitch allowAddParticipantsSwitch; private boolean isAllowAddParticipantsEnabled = true; private LinearLayoutManager newGrouplinearLayoutManager; private RecyclerView newGroupRecyclerView; private TextView newGroupHeaderList; private boolean newGroup = false; private ArrayList<String> contactsNewGroup; MegaContactAdapter myContact; private boolean onlyCreateGroup; private boolean waitingForPhoneContacts; private boolean isContactVerificationOn; private boolean isWarningMessageShown; /** * Shows the fabButton */ private void showFabButton() { setSendInvitationVisibility(); } /** * Hides the fabButton */ private void hideFabButton() { if (fabButton != null) { fabButton.hide(); } } @Override public List<ShareContactInfo> getAdapterData() { if (inputString != null && !inputString.equals("")) { return queryContactsShare; } else { return filteredContactsShare; } } @Override public void onGlobalSyncStateChanged(@NonNull MegaApiJava api) { } private class GetPhoneContactsTask extends AsyncTask<Void, Void, Void> { int inProgressPosition = INVALID_POSITION; @Override protected Void doInBackground(Void... voids) { getDeviceContacts(); MegaContactAdapter contactMEGA; PhoneContactInfo contactPhone; boolean found; shareContacts.clear(); if (!filteredContactsShare.isEmpty()) { int pos = filteredContactsShare.size() - 1; ShareContactInfo lastItem = filteredContactsShare.get(pos); if (lastItem.isProgress()) { inProgressPosition = pos; } } if (filteredContactsPhone != null && !filteredContactsPhone.isEmpty()) { shareContacts.add(new ShareContactInfoHeader(true, false, true)); for (int i = 0; i < filteredContactsPhone.size(); i++) { found = false; contactPhone = filteredContactsPhone.get(i); for (int j = 0; j < filteredContactMEGA.size(); j++) { contactMEGA = filteredContactMEGA.get(j); if (contactPhone.getEmail().equals(getMegaContactMail(contactMEGA))) { found = true; break; } } if (!found) { shareContacts.add(new ShareContactInfo(contactPhone, null, null)); } else { filteredContactsPhone.remove(contactPhone); i--; } } filteredContactsShare.addAll(shareContacts); } return null; } @Override protected void onPostExecute(Void aVoid) { Timber.d("onPostExecute: GetPhoneContactsTask"); if (inProgressPosition != INVALID_POSITION) { filteredContactsShare.remove(inProgressPosition); } waitingForPhoneContacts = false; setShareAdapterContacts(filteredContactsShare); } } public String getShareContactMail(ShareContactInfo contact) { String mail = null; if (contact.isMegaContact() && !contact.isHeader()) { if (contact.getMegaContactAdapter().getMegaUser() != null && contact.getMegaContactAdapter().getMegaUser().getEmail() != null) { mail = contact.getMegaContactAdapter().getMegaUser().getEmail(); } else if (contact.getMegaContactAdapter().getContact() != null && contact.getMegaContactAdapter().getContact().getEmail() != null) { mail = contact.getMegaContactAdapter().getContact().getEmail(); } } else if (contact.isPhoneContact() && !contact.isHeader()) { mail = contact.getPhoneContactInfo().getEmail(); } else { mail = contact.getMail(); } return mail; } private class FilterContactsTask extends AsyncTask<Void, Void, Void> { @Override protected Void doInBackground(Void... voids) { if (searchExpand) { if (searchAutoComplete != null) { inputString = searchAutoComplete.getText().toString(); } } else { inputString = typeContactEditText.getText().toString(); } if (inputString != null && !inputString.equals("")) { MegaContactAdapter contactMega; PhoneContactInfo contactPhone; ShareContactInfo contactShare; if (contactType == CONTACT_TYPE_MEGA) { queryContactMEGA.clear(); for (int i = 0; i < filteredContactMEGA.size(); i++) { contactMega = filteredContactMEGA.get(i); if (getMegaContactMail(contactMega).toLowerCase().contains(inputString.toLowerCase()) || contactMega.getFullName().toLowerCase().contains(inputString.toLowerCase())) { queryContactMEGA.add(contactMega); } } } else if (contactType == CONTACT_TYPE_DEVICE) { queryContactsPhone.clear(); for (int i = 0; i < filteredContactsPhone.size(); i++) { contactPhone = filteredContactsPhone.get(i); if (contactPhone.getEmail().toLowerCase().contains(inputString.toLowerCase()) || contactPhone.getName().toLowerCase().contains(inputString.toLowerCase())) { queryContactsPhone.add(contactPhone); } } } else { queryContactsShare.clear(); int numMega = 0; int numPhone = 0; for (int i = 0; i < filteredContactsShare.size(); i++) { contactShare = filteredContactsShare.get(i); if (contactShare.isHeader()) { queryContactsShare.add(contactShare); } else { if (contactShare.isMegaContact()) { if (getMegaContactMail(contactShare.getMegaContactAdapter()).toLowerCase().contains(inputString.toLowerCase()) || contactShare.getMegaContactAdapter().getFullName().toLowerCase().contains(inputString.toLowerCase())) { queryContactsShare.add(contactShare); numMega++; } } else if (contactShare.getPhoneContactInfo() != null && ((contactShare.getPhoneContactInfo().getEmail() != null && contactShare.getPhoneContactInfo().getEmail().toLowerCase().contains(inputString.toLowerCase())) || (contactShare.getPhoneContactInfo().getName() != null && contactShare.getPhoneContactInfo().getName().toLowerCase().contains(inputString.toLowerCase())))) { queryContactsShare.add(contactShare); numPhone++; } } } if (numMega == 0 && queryContactsShare.size() > 0) { ShareContactInfo first = queryContactsShare.get(0); if (first.isHeader() && first.isMegaContact()) { queryContactsShare.remove(0); } } if (numPhone == 0 && (queryContactsShare.size() - 1 >= 0)) { ShareContactInfo last = queryContactsShare.get(queryContactsShare.size() - 1); if (last.isHeader() && last.isPhoneContact()) { queryContactsShare.remove(queryContactsShare.size() - 1); } } } } return null; } @Override protected void onPostExecute(Void voids) { Timber.d("onPostExecute FilterContactsTask"); if (contactType == CONTACT_TYPE_MEGA) { if (inputString != null && !inputString.equals("")) { setMegaAdapterContacts(queryContactMEGA, MegaContactsAdapter.ITEM_VIEW_TYPE_LIST_ADD_CONTACT); } else { setMegaAdapterContacts(filteredContactMEGA, MegaContactsAdapter.ITEM_VIEW_TYPE_LIST_ADD_CONTACT); } } else if (contactType == CONTACT_TYPE_DEVICE) { if (inputString != null && !inputString.equals("")) { setPhoneAdapterContacts(queryContactsPhone); } else { setPhoneAdapterContacts(filteredContactsPhone); } } else { if (inputString != null && !inputString.equals("")) { setShareAdapterContacts(queryContactsShare); } else { setShareAdapterContacts(filteredContactsShare); } } visibilityFastScroller(); if (isConfirmAddShown) { if (isAsyncTaskRunning(queryIfContactSouldBeAddedTask)) { queryIfContactSouldBeAddedTask.cancel(true); } hideKeyboard(addContactActivity, 0); queryIfContactSouldBeAddedTask = new QueryIfContactSouldBeAddedTask(); queryIfContactSouldBeAddedTask.execute(true); } } } private class RecoverContactsTask extends AsyncTask<Void, Void, Void> { @Override protected Void doInBackground(Void... voids) { if (contactType == CONTACT_TYPE_MEGA) { getVisibleMEGAContacts(); String contactToAddMail = null; MegaContactAdapter contactToAdd, contact; for (int i = 0; i < savedaddedContacts.size(); i++) { String mail = savedaddedContacts.get(i); for (int j = 0; j < filteredContactMEGA.size(); j++) { contact = filteredContactMEGA.get(j); contactToAddMail = getMegaContactMail(contact); if (contactToAddMail != null && contactToAddMail.equals(mail)) { if (!addedContactsMEGA.contains(contact)) { addedContactsMEGA.add(contact); int filteredPosition = filteredContactMEGA.indexOf(contact); if (filteredPosition != INVALID_POSITION) { filteredContactMEGA.get(filteredPosition).setSelected(true); } } break; } } if (contactToAddMail != null && !contactToAddMail.equals(mail)) { contactToAdd = new MegaContactAdapter(null, null, mail); if (!addedContactsMEGA.contains(contactToAdd)) { addedContactsMEGA.add(contactToAdd); } } } } else { getBothContacts(); MegaContactAdapter contactMEGA; PhoneContactInfo contactPhone; ShareContactInfo contact = null; boolean found; shareContacts.clear(); if (filteredContactMEGA != null && !filteredContactMEGA.isEmpty()) { shareContacts.add(new ShareContactInfoHeader(true, true, false)); for (int i = 0; i < filteredContactMEGA.size(); i++) { contactMEGA = filteredContactMEGA.get(i); contact = new ShareContactInfo(null, contactMEGA, null); shareContacts.add(contact); } } if (filteredContactsPhone != null && !filteredContactsPhone.isEmpty()) { shareContacts.add(new ShareContactInfoHeader(true, false, true)); for (int i = 0; i < filteredContactsPhone.size(); i++) { found = false; contactPhone = filteredContactsPhone.get(i); for (int j = 0; j < filteredContactMEGA.size(); j++) { contactMEGA = filteredContactMEGA.get(j); if (contactPhone.getEmail().equals(getMegaContactMail(contactMEGA))) { found = true; break; } } if (!found) { shareContacts.add(new ShareContactInfo(contactPhone, null, null)); } else { filteredContactsPhone.remove(contactPhone); i--; } } } filteredContactsShare.clear(); filteredContactsShare.addAll(shareContacts); addedContactsShare.clear(); String contactToAddMail = null; for (int i = 0; i < savedaddedContacts.size(); i++) { String mail = savedaddedContacts.get(i); Timber.d("mail[%d]: %s", i, mail); for (int j = 0; j < filteredContactsShare.size(); j++) { contact = filteredContactsShare.get(j); if (contact.isMegaContact() && !contact.isHeader()) { contactToAddMail = getMegaContactMail(contact.getMegaContactAdapter()); } else if (!contact.isHeader()) { contactToAddMail = contact.getPhoneContactInfo().getEmail(); } else { contactToAddMail = null; } if (contactToAddMail != null && contactToAddMail.equals(mail)) { if (!addedContactsShare.contains(contact)) { addedContactsShare.add(contact); if (contact.isMegaContact()) { int megaPosition = filteredContactMEGA.indexOf(contact.getMegaContactAdapter()); if (megaPosition != INVALID_POSITION) { filteredContactMEGA.get(megaPosition).setSelected(true); } int sharePosition = filteredContactsShare.indexOf(contact); if (sharePosition != INVALID_POSITION) { filteredContactsShare.get(sharePosition).megaContactAdapter.setSelected(true); } } else { filteredContactsPhone.remove(contact.getPhoneContactInfo()); filteredContactsShare.remove(contact); } } break; } } if (contactToAddMail != null && !contactToAddMail.equals(mail)) { contact = new ShareContactInfo(null, null, mail); if (!addedContactsShare.contains(contact)) { addedContactsShare.add(contact); } } } } return null; } @Override protected void onPostExecute(Void aVoid) { Timber.d("onPostExecute RecoverContactsTask"); setAddedAdapterContacts(); if (searchExpand) { if (isAsyncTaskRunning(filterContactsTask)) { filterContactsTask.cancel(true); } filterContactsTask = new FilterContactsTask(); filterContactsTask.execute(); } else { if (contactType == CONTACT_TYPE_MEGA) { if (onNewGroup) { newGroup(); } else { setMegaAdapterContacts(filteredContactMEGA, MegaContactsAdapter.ITEM_VIEW_TYPE_LIST_ADD_CONTACT); } } else { setShareAdapterContacts(filteredContactsShare); } setTitleAB(); setRecyclersVisibility(); visibilityFastScroller(); if (isConfirmAddShown) { if (isAsyncTaskRunning(queryIfContactSouldBeAddedTask)) { queryIfContactSouldBeAddedTask.cancel(true); } hideKeyboard(addContactActivity, 0); queryIfContactSouldBeAddedTask = new QueryIfContactSouldBeAddedTask(); queryIfContactSouldBeAddedTask.execute(true); } } } } private void getDeviceContacts() { if (queryPermissions) { if (phoneContacts != null) { phoneContacts.clear(); } filteredContactsPhone.clear(); phoneContacts = getPhoneContacts(); if (phoneContacts != null) { for (int i = 0; i < phoneContacts.size(); i++) { filteredContactsPhone.add(phoneContacts.get(i)); } } } } private void getBothContacts() { getDeviceContacts(); getVisibleMEGAContacts(); } private class QueryIfContactSouldBeAddedTask extends AsyncTask<Boolean, Void, Integer> { ShareContactInfo shareContactInfo; PhoneContactInfo phoneContactInfo; boolean showDialog; final int isShareContact = 1; final int addContactShare = 2; final int isPhoneContact = 3; final int addContactPhone = 4; final int isAddedContact = 5; final int isMegaContact = 6; @Override protected Integer doInBackground(Boolean... booleans) { showDialog = booleans[0]; if (contactType == CONTACT_TYPE_DEVICE) { for (int i = 0; i < addedContactsPhone.size(); i++) { if (addedContactsPhone.get(i).getEmail().equals(confirmAddMail)) { return isAddedContact; } } for (int i = 0; i < filteredContactsPhone.size(); i++) { if (filteredContactsPhone.get(i).getEmail().equals(confirmAddMail)) { phoneContactInfo = filteredContactsPhone.get(i); return isPhoneContact; } } for (int i = 0; i < visibleContactsMEGA.size(); i++) { if (getMegaContactMail(visibleContactsMEGA.get(i)).equals(confirmAddMail)) { return isMegaContact; } } return addContactPhone; } else if (contactType == CONTACT_TYPE_BOTH) { for (int i = 0; i < addedContactsShare.size(); i++) { if (addedContactsShare.get(i).isMegaContact() && !addedContactsShare.get(i).isHeader()) { if (getMegaContactMail(addedContactsShare.get(i).getMegaContactAdapter()).equals(confirmAddMail)) { return isAddedContact; } } else if (addedContactsShare.get(i).isPhoneContact() && !addedContactsShare.get(i).isHeader()) { if (addedContactsShare.get(i).getPhoneContactInfo().getEmail().equals(confirmAddMail)) { return isAddedContact; } } else { if (addedContactsShare.get(i).getMail().equals(confirmAddMail)) { return isAddedContact; } } } for (int i = 0; i < filteredContactsShare.size(); i++) { if (filteredContactsShare.get(i).isMegaContact() && !filteredContactsShare.get(i).isHeader()) { if (getMegaContactMail(filteredContactsShare.get(i).getMegaContactAdapter()).equals(confirmAddMail)) { shareContactInfo = filteredContactsShare.get(i); return isShareContact; } } else if (filteredContactsShare.get(i).isPhoneContact() && !filteredContactsShare.get(i).isHeader()) { if (filteredContactsShare.get(i).getPhoneContactInfo().getEmail().equals(confirmAddMail)) { shareContactInfo = filteredContactsShare.get(i); return isShareContact; } } } return addContactShare; } return 0; } void shareContact() { addShareContact(shareContactInfo); int position = filteredContactsShare.indexOf(shareContactInfo); if (shareContactInfo.isMegaContact()) { if (filteredContactMEGA.size() == 1) { filteredContactsShare.remove(0); } filteredContactMEGA.remove(shareContactInfo.getMegaContactAdapter()); } else if (shareContactInfo.isPhoneContact()) { filteredContactsPhone.remove(shareContactInfo.getPhoneContactInfo()); if (filteredContactsPhone.size() == 0) { filteredContactsShare.remove(filteredContactsShare.size() - 2); } } filteredContactsShare.remove(shareContactInfo); setShareAdapterContacts(filteredContactsShare); } void phoneContact() { addContact(phoneContactInfo); filteredContactsPhone.remove(phoneContactInfo); setPhoneAdapterContacts(filteredContactsPhone); } @Override protected void onPostExecute(final Integer type) { Timber.d("onPostExecute QueryIfContactSouldBeAddedTask"); if (showDialog) { MaterialAlertDialogBuilder builder = new MaterialAlertDialogBuilder(addContactActivity, R.style.ThemeOverlay_Mega_MaterialAlertDialog); builder.setCancelable(false); DialogInterface.OnClickListener dialogClickListener = new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { switch (which) { case DialogInterface.BUTTON_POSITIVE: { if (contactType == CONTACT_TYPE_DEVICE) { if (type == isPhoneContact) { phoneContact(); } else { addContact(new PhoneContactInfo(0, null, confirmAddMail, null)); } } else if (contactType == CONTACT_TYPE_BOTH) { if (type == isShareContact) { shareContact(); } else { addShareContact(new ShareContactInfo(null, null, confirmAddMail)); } } isConfirmAddShown = false; break; } case DialogInterface.BUTTON_NEGATIVE: { //No button clicked isConfirmAddShown = false; break; } } } }; switch (type) { case isShareContact: case addContactShare: { builder.setMessage(getString(R.string.confirmation_share_contact, confirmAddMail)); builder.setPositiveButton(R.string.menu_add_contact, dialogClickListener) .setNegativeButton(R.string.general_cancel, dialogClickListener).show(); break; } case isPhoneContact: case addContactPhone: { builder.setMessage(getString(R.string.confirmation_invite_contact, confirmAddMail)); builder.setPositiveButton(R.string.menu_add_contact, dialogClickListener) .setNegativeButton(R.string.general_cancel, dialogClickListener).show(); break; } case isAddedContact: { builder.setMessage(getString(R.string.confirmation_invite_contact_already_added, confirmAddMail)); builder.setNegativeButton(R.string.general_cancel, dialogClickListener).show(); break; } case isMegaContact: { builder.setMessage(getString(R.string.confirmation_not_invite_contact, confirmAddMail)); builder.setNegativeButton(R.string.general_cancel, dialogClickListener).show(); } } isConfirmAddShown = true; builder.setOnDismissListener(new DialogInterface.OnDismissListener() { @Override public void onDismiss(DialogInterface dialog) { isConfirmAddShown = false; } }); } else { switch (type) { case isShareContact: { shareContact(); break; } case addContactShare: { addShareContact(new ShareContactInfo(null, null, confirmAddMail)); break; } case isPhoneContact: { phoneContact(); break; } case addContactPhone: { addContact(new PhoneContactInfo(0, null, confirmAddMail, null)); break; } case isAddedContact: { showSnackbar(getString(R.string.contact_not_added)); break; } case isMegaContact: { showSnackbar(getString(R.string.context_contact_already_exists, confirmAddMail)); break; } } } } } private void setAddedAdapterContacts() { if (contactType == CONTACT_TYPE_MEGA) { if (adapterMEGAContacts == null) { adapterMEGAContacts = new MegaAddContactsAdapter(addContactActivity, addedContactsMEGA); } else { adapterMEGAContacts.setContacts(addedContactsMEGA); } if (addedContactsMEGA.size() == 0) { containerAddedContactsRecyclerView.setVisibility(View.GONE); } else { containerAddedContactsRecyclerView.setVisibility(View.VISIBLE); } addedContactsRecyclerView.setAdapter(adapterMEGAContacts); } else if (contactType == CONTACT_TYPE_DEVICE) { if (adapterContacts == null) { adapterContacts = new AddContactsAdapter(this, addedContactsPhone); } else { adapterContacts.setContacts(addedContactsPhone); } if (addedContactsPhone.size() == 0) { containerAddedContactsRecyclerView.setVisibility(View.GONE); } else { containerAddedContactsRecyclerView.setVisibility(View.VISIBLE); } addedContactsRecyclerView.setAdapter(adapterContacts); } else { if (adapterShare == null) { adapterShare = new ShareContactsAdapter(addContactActivity, addedContactsShare); } else { adapterShare.setContacts(addedContactsShare); } if (addedContactsShare.size() == 0) { containerAddedContactsRecyclerView.setVisibility(View.GONE); } else { containerAddedContactsRecyclerView.setVisibility(View.VISIBLE); } addedContactsRecyclerView.setAdapter(adapterShare); } setSendInvitationVisibility(); } private void setPhoneAdapterContacts(ArrayList<PhoneContactInfo> contacts) { if (queryPermissions && filteredContactsPhone != null) { if (filteredContactsPhone.size() == 0) { showHeader(false); String textToShow = String.format(getString(R.string.context_empty_contacts)); try { textToShow = textToShow.replace("[A]", "<font color=\'" + ColorUtils.getColorHexString(this, R.color.grey_900_grey_100) + "\'>"); textToShow = textToShow.replace("[/A]", "</font>"); textToShow = textToShow.replace("[B]", "<font color=\'" + ColorUtils.getColorHexString(this, R.color.grey_300_grey_600) + "\'>"); textToShow = textToShow.replace("[/B]", "</font>"); } catch (Exception e) { } Spanned result = HtmlCompat.fromHtml(textToShow, HtmlCompat.FROM_HTML_MODE_LEGACY); emptyTextView.setText(result); } else { emptyTextView.setText(R.string.contacts_list_empty_text_loading); } } else { if (!queryPermissions) { emptyTextView.setText(R.string.no_contacts_permissions); } Timber.d("PhoneContactsTask: Phone contacts null"); boolean hasReadContactsPermission = hasPermissions(getApplicationContext(), Manifest.permission.READ_CONTACTS); if (!hasReadContactsPermission) { Timber.w("PhoneContactsTask: No read contacts permission"); } } if (adapterPhone == null) { adapterPhone = new PhoneContactsAdapter(addContactActivity, contacts); recyclerViewList.setAdapter(adapterPhone); adapterPhone.SetOnItemClickListener(new PhoneContactsAdapter.OnItemClickListener() { @Override public void onItemClick(View view, int position) { itemClick(view, position); } }); } else { adapterPhone.setContacts(contacts); } if (adapterPhone != null) { if (adapterPhone.getItemCount() == 0) { showHeader(false); if (contactType == CONTACT_TYPE_BOTH) { if (adapterMEGA != null) { if (adapterMEGA.getItemCount() == 0) { setEmptyStateVisibility(true); } else { setEmptyStateVisibility(false); } } } else { setEmptyStateVisibility(true); } } else { showHeader(true); setEmptyStateVisibility(false); } } } private void setMegaAdapterContacts(ArrayList<MegaContactAdapter> contacts, int adapter) { if (onNewGroup) { adapterMEGA = new MegaContactsAdapter(addContactActivity, contacts, newGroupRecyclerView, adapter); adapterMEGA.setPositionClicked(-1); newGroupRecyclerView.setAdapter(adapterMEGA); } else { if (adapterMEGA == null) { adapterMEGA = new MegaContactsAdapter(addContactActivity, contacts, recyclerViewList, adapter); } else { adapterMEGA.setAdapterType(adapter); adapterMEGA.setContacts(contacts); } adapterMEGA.setPositionClicked(-1); recyclerViewList.setAdapter(adapterMEGA); if (adapterMEGA.getItemCount() == 0) { String textToShow = getString(R.string.context_empty_contacts); try { textToShow = textToShow.replace("[A]", "<font color=\'" + ColorUtils.getColorHexString(this, R.color.grey_900_grey_100) + "\'>"); textToShow = textToShow.replace("[/A]", "</font>"); textToShow = textToShow.replace("[B]", "<font color=\'" + ColorUtils.getColorHexString(this, R.color.grey_300_grey_600) + "\'>"); textToShow = textToShow.replace("[/B]", "</font>"); } catch (Exception e) { } Spanned result = HtmlCompat.fromHtml(textToShow, HtmlCompat.FROM_HTML_MODE_LEGACY); emptyTextView.setText(result); showHeader(false); recyclerViewList.setVisibility(View.GONE); setEmptyStateVisibility(true); } else { showHeader(true); recyclerViewList.setVisibility(View.VISIBLE); setEmptyStateVisibility(false); } addSelectedContactMEGA(); } } private void setShareAdapterContacts(ArrayList<ShareContactInfo> contacts) { if (adapterShareHeader == null) { adapterShareHeader = new ShareContactsHeaderAdapter(addContactActivity, contacts); recyclerViewList.setAdapter(adapterShareHeader); adapterShareHeader.SetOnItemClickListener(new ShareContactsHeaderAdapter.OnItemClickListener() { @Override public void onItemClick(View view, int position) { itemClick(view, position); } }); } else { adapterShareHeader.setContacts(contacts); } if (adapterShareHeader.getItemCount() == 0) { String textToShow = String.format(getString(R.string.context_empty_contacts)); try { textToShow = textToShow.replace("[A]", "<font color=\'" + ColorUtils.getColorHexString(this, R.color.grey_900_grey_100) + "\'>"); textToShow = textToShow.replace("[/A]", "</font>"); textToShow = textToShow.replace("[B]", "<font color=\'" + ColorUtils.getColorHexString(this, R.color.grey_300_grey_600) + "\'>"); textToShow = textToShow.replace("[/B]", "</font>"); } catch (Exception e) { } Spanned result = Html.fromHtml(textToShow, Html.FROM_HTML_MODE_LEGACY); emptyTextView.setText(result); } else { setEmptyStateVisibility(false); } } private final static boolean isValidEmail(CharSequence target) { if (target == null) { return false; } else { Timber.d("isValid"); return EMAIL_ADDRESS.matcher(target).matches(); } } private void setSendInvitationVisibility() { if (fabButton != null) { if (contactType == CONTACT_TYPE_MEGA && !onNewGroup && (createNewGroup || (comesFromChat && ((adapterMEGAContacts != null && adapterMEGAContacts.getItemCount() > 0) || (emailsContactsSelected != null && !emailsContactsSelected.isEmpty()))))) { fabButton.show(); } else if (contactType == CONTACT_TYPE_DEVICE && adapterContacts != null && adapterContacts.getItemCount() > 0) { fabButton.show(); } else if (contactType == CONTACT_TYPE_BOTH && adapterShare != null && adapterShare.getItemCount() > 0) { fabButton.show(); } else { fabButton.hide(); } } if (sendInvitationMenuItem != null) { if (contactType == CONTACT_TYPE_MEGA && onNewGroup) { sendInvitationMenuItem.setVisible(true); } else { sendInvitationMenuItem.setVisible(false); } } } @Override public boolean onCreateOptionsMenu(Menu menu) { Timber.d("onCreateOptionsMenu"); MenuInflater inflater = getMenuInflater(); inflater.inflate(R.menu.activity_add_contact, menu); searchMenuItem = menu.findItem(R.id.action_search); final SearchView searchView = (SearchView) MenuItemCompat.getActionView(searchMenuItem); searchAutoComplete = searchView.findViewById(androidx.appcompat.R.id.search_src_text); searchAutoComplete.setHint(getString(R.string.hint_action_search)); View v = searchView.findViewById(androidx.appcompat.R.id.search_plate); v.setBackgroundColor(ContextCompat.getColor(this, android.R.color.transparent)); searchView.setIconifiedByDefault(true); searchAutoComplete.setOnEditorActionListener(new TextView.OnEditorActionListener() { @Override public boolean onEditorAction(TextView v, int actionId, KeyEvent event) { if (actionId == EditorInfo.IME_ACTION_SEARCH) { hideKeyboard(addContactActivity, 0); return true; } return false; } }); MenuItemCompat.setOnActionExpandListener(searchMenuItem, new MenuItemCompat.OnActionExpandListener() { @Override public boolean onMenuItemActionExpand(MenuItem item) { Timber.d("onMenuItemActionExpand"); searchExpand = true; typeContactEditText.getText().clear(); if (isAsyncTaskRunning(filterContactsTask)) { filterContactsTask.cancel(true); } filterContactsTask = new FilterContactsTask(); filterContactsTask.execute(); setSendInvitationVisibility(); return true; } @Override public boolean onMenuItemActionCollapse(MenuItem item) { Timber.d("onMenuItemActionCollapse"); searchExpand = false; setSendInvitationVisibility(); setTitleAB(); if (isAsyncTaskRunning(filterContactsTask)) { filterContactsTask.cancel(true); } return true; } }); searchView.setMaxWidth(Integer.MAX_VALUE); searchView.setOnQueryTextListener(new SearchView.OnQueryTextListener() { @Override public boolean onQueryTextSubmit(String query) { return true; } @Override public boolean onQueryTextChange(String newText) { Timber.d("onQueryTextChange searchView"); if (isAsyncTaskRunning(filterContactsTask)) { filterContactsTask.cancel(true); } filterContactsTask = new FilterContactsTask(); filterContactsTask.execute(); return true; } }); scanQrMenuItem = menu.findItem(R.id.action_scan_qr); if (this.getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE && contactType != CONTACT_TYPE_MEGA) { scanQrMenuItem.setVisible(true); } else { scanQrMenuItem.setVisible(false); } sendInvitationMenuItem = menu.findItem(R.id.action_send_invitation); setSendInvitationVisibility(); if (searchExpand && searchMenuItem != null) { searchMenuItem.expandActionView(); if (searchView != null) { Timber.d("searchView != null inputString: %s", savedInputString); searchView.setQuery(savedInputString, false); if (recoverContactsTask != null && recoverContactsTask.getStatus() == AsyncTask.Status.FINISHED) { filterContactsTask = new FilterContactsTask(); filterContactsTask.execute(); } } } setSearchVisibility(); if (!queryPermissions && contactType == CONTACT_TYPE_DEVICE) { searchMenuItem.setVisible(false); } return super.onCreateOptionsMenu(menu); } private void setSearchVisibility() { if (searchMenuItem == null) { return; } boolean visible; if ((contactType == CONTACT_TYPE_MEGA && filteredContactMEGA.isEmpty()) || (contactType == CONTACT_TYPE_DEVICE && filteredContactsPhone.isEmpty()) || (contactType == CONTACT_TYPE_BOTH && filteredContactsShare.isEmpty())) { visible = false; } else { visible = true; } if (searchMenuItem.isVisible() != visible) { searchMenuItem.setVisible(visible); } } @Override public boolean onPrepareOptionsMenu(Menu menu) { Timber.d("onPrepareOptionsMenu"); return super.onPrepareOptionsMenu(menu); } @Override public boolean onOptionsItemSelected(MenuItem item) { Timber.d("onOptionsItemSelected"); int id = item.getItemId(); if (id == android.R.id.home) { onBackPressed(); } else if (id == R.id.action_scan_qr) { initScanQR(); } else if (id == R.id.action_send_invitation) { if (contactType == CONTACT_TYPE_MEGA) { setResultContacts(addedContactsMEGA, true); } else { shareWith(addedContactsShare); } hideKeyboard(addContactActivity, 0); } return super.onOptionsItemSelected(item); } private void refreshKeyboard() { String s = typeContactEditText.getText().toString(); int imeOptions = typeContactEditText.getImeOptions(); if (s != null) { if (s.length() == 0 && (!addedContactsMEGA.isEmpty() || !addedContactsPhone.isEmpty() || !addedContactsShare.isEmpty())) { typeContactEditText.setImeOptions(EditorInfo.IME_ACTION_SEND); } else { typeContactEditText.setImeOptions(EditorInfo.IME_ACTION_DONE); } } else if (!addedContactsMEGA.isEmpty() || !addedContactsPhone.isEmpty() || !addedContactsShare.isEmpty()) { typeContactEditText.setImeOptions(EditorInfo.IME_ACTION_SEND); } else { typeContactEditText.setImeOptions(EditorInfo.IME_ACTION_DONE); } int imeOptionsNew = typeContactEditText.getImeOptions(); if (imeOptions != imeOptionsNew) { View view = getCurrentFocus(); if (view != null) { InputMethodManager inputMethodManager = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE); inputMethodManager.restartInput(view); } } } @Override protected void onSaveInstanceState(Bundle outState) { super.onSaveInstanceState(outState); outState.putBoolean("fromAchievements", fromAchievements); outState.putStringArrayList("mailsFromAchievements", mailsFromAchievements); outState.putBoolean("searchExpand", searchExpand); if (searchExpand) { if (searchAutoComplete != null) { outState.putString("inputString", searchAutoComplete.getText().toString()); } } else { outState.putString("inputString", typeContactEditText.getText().toString()); } outState.putBoolean("onNewGroup", onNewGroup); outState.putBoolean("isConfirmDeleteShown", isConfirmDeleteShown); outState.putString("confirmDeleteMail", confirmDeleteMail); outState.putBoolean(FROM_RECENT, comesFromRecent); if (isAsyncTaskRunning(queryIfContactSouldBeAddedTask)) { isConfirmAddShown = true; queryIfContactSouldBeAddedTask.cancel(true); } outState.putBoolean("isConfirmAddShown", isConfirmAddShown); outState.putString("confirmAddMail", confirmAddMail); outState.putBoolean("createNewGroup", createNewGroup); outState.putBoolean("queryPermissions", queryPermissions); outState.putBoolean("isEKREnabled", isEKREnabled); outState.putBoolean(IS_ALLOWED_ADD_PARTICIPANTS, isAllowAddParticipantsEnabled); outState.putBoolean("newGroup", newGroup); outState.putBoolean("onlyCreateGroup", onlyCreateGroup); outState.putBoolean("warningBannerShown", isWarningMessageShown); saveContactsAdded(outState); } private boolean isAsyncTaskRunning(AsyncTask asyncTask) { return asyncTask != null && asyncTask.getStatus() == AsyncTask.Status.RUNNING; } private void saveContactsAdded(Bundle outState) { boolean finished = true; if (isAsyncTaskRunning(getContactsTask)) { getContactsTask.cancel(true); finished = false; if (contactType == CONTACT_TYPE_DEVICE) { outState.putParcelableArrayList("addedContactsPhone", null); outState.putParcelableArrayList("filteredContactsPhone", null); outState.putParcelableArrayList("phoneContacts", null); } else { outState.putStringArrayList("savedaddedContacts", null); } } else if (isAsyncTaskRunning(getPhoneContactsTask)) { getPhoneContactsTask.cancel(true); finished = false; outState.putStringArrayList("savedaddedContacts", null); } else if (isAsyncTaskRunning(filterContactsTask)) { filterContactsTask.cancel(true); finished = true; } else if (isAsyncTaskRunning(recoverContactsTask)) { recoverContactsTask.cancel(true); finished = false; if (contactType == CONTACT_TYPE_DEVICE) { outState.putParcelableArrayList("addedContactsPhone", addedContactsPhone); outState.putParcelableArrayList("filteredContactsPhone", filteredContactsPhone); outState.putParcelableArrayList("phoneContacts", phoneContacts); } else { outState.putStringArrayList("savedaddedContacts", savedaddedContacts); } } if (finished) { savedaddedContacts.clear(); if (contactType == CONTACT_TYPE_MEGA) { if (onNewGroup) { createMyContact(); if (addedContactsMEGA.contains(myContact)) { addedContactsMEGA.remove(myContact); } } for (int i = 0; i < addedContactsMEGA.size(); i++) { if (getMegaContactMail(addedContactsMEGA.get(i)) != null) { savedaddedContacts.add(getMegaContactMail(addedContactsMEGA.get(i))); } else { savedaddedContacts.add(addedContactsMEGA.get(i).getFullName()); } } outState.putStringArrayList("savedaddedContacts", savedaddedContacts); } else if (contactType == CONTACT_TYPE_DEVICE) { outState.putParcelableArrayList("addedContactsPhone", addedContactsPhone); outState.putParcelableArrayList("filteredContactsPhone", filteredContactsPhone); outState.putParcelableArrayList("phoneContacts", phoneContacts); } else { for (int i = 0; i < addedContactsShare.size(); i++) { if (addedContactsShare.get(i).isMegaContact()) { savedaddedContacts.add(getMegaContactMail(addedContactsShare.get(i).getMegaContactAdapter())); } else if (addedContactsShare.get(i).isPhoneContact()) { savedaddedContacts.add(addedContactsShare.get(i).getPhoneContactInfo().getEmail()); } else { savedaddedContacts.add(addedContactsShare.get(i).getMail()); } } outState.putStringArrayList("savedaddedContacts", savedaddedContacts); } } } @Override protected void onDestroy() { super.onDestroy(); if (megaApi != null) { megaApi.removeGlobalListener(this); } } @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); if (shouldRefreshSessionDueToSDK() || shouldRefreshSessionDueToKarere()) { return; } viewModel = new ViewModelProvider(this).get(AddContactViewModel.class); if (getIntent() != null) { contactType = getIntent().getIntExtra(INTENT_EXTRA_KEY_CONTACT_TYPE, CONTACT_TYPE_MEGA); emailsContactsSelected = getIntent().getStringArrayListExtra(INTENT_EXTRA_KEY_CONTACTS_SELECTED); isFromMeeting = getIntent().getBooleanExtra(INTENT_EXTRA_IS_FROM_MEETING, false); chatId = getIntent().getLongExtra(INTENT_EXTRA_KEY_CHAT_ID, -1); maxParticipants = getIntent().getIntExtra(INTENT_EXTRA_KEY_MAX_USER, FREE_PLAN_PARTICIPANTS_LIMIT); newGroup = getIntent().getBooleanExtra("newGroup", false); comesFromRecent = getIntent().getBooleanExtra(FROM_RECENT, false); if (newGroup) { createNewGroup = true; contactsNewGroup = getIntent().getStringArrayListExtra("contactsNewGroup"); } fromAchievements = getIntent().getBooleanExtra("fromAchievements", false); if (fromAchievements) { mailsFromAchievements = getIntent().getStringArrayListExtra(EXTRA_CONTACTS); } comesFromChat = getIntent().getBooleanExtra(INTENT_EXTRA_KEY_CHAT, false); if (comesFromChat) { title = getIntent().getStringExtra(INTENT_EXTRA_KEY_TOOL_BAR_TITLE); } onlyCreateGroup = getIntent().getBooleanExtra(EXTRA_ONLY_CREATE_GROUP, false); isStartConversation = getIntent().getBooleanExtra(EXTRA_IS_START_CONVERSATION, false); if (contactType == CONTACT_TYPE_MEGA || contactType == CONTACT_TYPE_BOTH) { multipleSelectIntent = getIntent().getIntExtra(EXTRA_MULTISELECT, -1); if (multipleSelectIntent == 0) { nodeHandle = getIntent().getLongExtra(EXTRA_NODE_HANDLE, -1); } else if (multipleSelectIntent == 1) { Timber.d("Multiselect YES!"); nodeHandles = getIntent().getLongArrayExtra(EXTRA_NODE_HANDLE); } } } viewModel.setChatId(chatId); Display display = getWindowManager().getDefaultDisplay(); outMetrics = new DisplayMetrics(); display.getMetrics(outMetrics); megaApi.addGlobalListener(this); addContactActivity = this; checkChatChanges(); setContentView(R.layout.activity_add_contact); tB = (Toolbar) findViewById(R.id.add_contact_toolbar); if (tB == null) { Timber.w("Tb is Null"); return; } tB.setVisibility(View.VISIBLE); setSupportActionBar(tB); aB = getSupportActionBar(); aB.setHomeButtonEnabled(true); aB.setDisplayHomeAsUpEnabled(true); aB.setTitle(""); aB.setSubtitle(""); participantsLimitWarningView = findViewById(R.id.participants_limit_warning_view); relativeLayout = (RelativeLayout) findViewById(R.id.relative_container_add_contact); fabButton = (FloatingActionButton) findViewById(R.id.fab_button_next); fabButton.setOnClickListener(this); mailError = (RelativeLayout) findViewById(R.id.add_contact_email_error); mailError.setVisibility(View.GONE); typeContactLayout = (RelativeLayout) findViewById(R.id.layout_type_mail); typeContactLayout.setVisibility(View.GONE); typeContactEditText = (EditText) findViewById(R.id.type_mail_edit_text); if (this.getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE) { LinearLayout.LayoutParams params1 = new LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, dp2px(40, outMetrics)); typeContactLayout.setLayoutParams(params1); } typeContactEditText.addTextChangedListener(this); typeContactEditText.setOnEditorActionListener(this); typeContactEditText.setImeOptions(EditorInfo.IME_ACTION_DONE); typeContactEditText.setOnFocusChangeListener(new View.OnFocusChangeListener() { @Override public void onFocusChange(View v, boolean hasFocus) { if (hasFocus) { if (searchExpand) { if (searchAutoComplete != null) { searchAutoComplete.getText().clear(); } if (searchMenuItem != null) { searchMenuItem.collapseActionView(); } if (isAsyncTaskRunning(filterContactsTask)) { filterContactsTask.cancel(true); } filterContactsTask = new FilterContactsTask(); filterContactsTask.execute(); } } } }); scanQRButton = (RelativeLayout) findViewById(R.id.layout_scan_qr); scanQRButton.setOnClickListener(this); scanQRButton.setVisibility(View.GONE); addContactsLayout = (LinearLayout) findViewById(R.id.add_contacts_container); mWarningMessage = (TextView) findViewById(R.id.text_warning_message); addedContactsRecyclerView = (RecyclerView) findViewById(R.id.contact_adds_recycler_view); containerAddedContactsRecyclerView = (RelativeLayout) findViewById(R.id.contacts_adds_container); containerAddedContactsRecyclerView.setVisibility(View.GONE); fabImageGroup = (FloatingActionButton) findViewById(R.id.image_group_floating_button); nameGroup = findViewById(R.id.name_group_edittext); nameGroup.setSingleLine(); nameGroup.setImeOptions(EditorInfo.IME_ACTION_DONE); nameGroup.setFilters(new InputFilter[]{new InputFilter.LengthFilter(MAX_ALLOWED_CHARACTERS_AND_EMOJIS)}); mLayoutManager = new LinearLayoutManager(this, LinearLayoutManager.HORIZONTAL, false); addedContactsRecyclerView.setLayoutManager(mLayoutManager); addedContactsRecyclerView.setItemAnimator(new DefaultItemAnimator()); headerContacts = (RelativeLayout) findViewById(R.id.header_list); textHeader = (TextView) findViewById(R.id.text_header_list); fastScroller = (FastScroller) findViewById(R.id.fastscroll); stickyLayoutManager = new TopSnappedStickyLayoutManager(addContactActivity, this); linearLayoutManager = new LinearLayoutManager(this); recyclerViewList = (RecyclerView) findViewById(R.id.add_contact_list); recyclerViewList.setClipToPadding(false); recyclerViewList.addOnItemTouchListener(this); recyclerViewList.setItemAnimator(new DefaultItemAnimator()); fastScroller.setRecyclerView(recyclerViewList); if (contactType == CONTACT_TYPE_MEGA) { recyclerViewList.setLayoutManager(linearLayoutManager); showHeader(true); textHeader.setText(getString(R.string.section_contacts)); recyclerViewList.addItemDecoration(new SimpleDividerItemDecoration(this)); } else if (contactType == CONTACT_TYPE_DEVICE) { typeContactLayout.setVisibility(View.VISIBLE); if (this.getResources().getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT) { scanQRButton.setVisibility(View.VISIBLE); } recyclerViewList.setLayoutManager(linearLayoutManager); showHeader(true); textHeader.setText(getString(R.string.contacts_phone)); recyclerViewList.addItemDecoration(new SimpleDividerItemDecoration(this)); } else { typeContactLayout.setVisibility(View.VISIBLE); if (this.getResources().getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT) { scanQRButton.setVisibility(View.VISIBLE); } recyclerViewList.setLayoutManager(stickyLayoutManager); recyclerViewList.addItemDecoration(new HeaderItemDecoration(this)); showHeader(false); } containerContacts = (RelativeLayout) findViewById(R.id.container_list_contacts); emptyImageView = (ImageView) findViewById(R.id.add_contact_list_empty_image); emptyTextView = (TextView) findViewById(R.id.add_contact_list_empty_text); if (getResources().getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT) { emptyImageView.setImageResource(R.drawable.empty_contacts_portrait); } else { // auto scroll to the bottom to show the invite button final ScrollView scrollView = findViewById(R.id.scroller); new Handler().postDelayed(new Runnable() { @Override public void run() { scrollView.fullScroll(View.FOCUS_DOWN); } }, 100); emptyImageView.setImageResource(R.drawable.empty_contacts_landscape); } emptyTextView.setText(R.string.contacts_list_empty_text_loading_share); emptySubTextView = (TextView) findViewById(R.id.add_contact_list_empty_subtext); emptyInviteButton = (Button) findViewById(R.id.add_contact_list_empty_invite_button); emptyInviteButton.setText(R.string.contact_invite); if (getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE) { LinearLayout.LayoutParams params1 = (LinearLayout.LayoutParams) emptySubTextView.getLayoutParams(); params1.setMargins(dp2px(34, outMetrics), 0, dp2px(34, outMetrics), 0); emptyTextView.setLayoutParams(params1); LinearLayout.LayoutParams params2 = (LinearLayout.LayoutParams) emptyInviteButton.getLayoutParams(); params2.setMargins(0, dp2px(5, outMetrics), 0, dp2px(32, outMetrics)); emptyInviteButton.setLayoutParams(params2); } emptyInviteButton.setOnClickListener(this); progressBar = (ProgressBar) findViewById(R.id.add_contact_progress_bar); newGroupLayout = (NestedScrollView) findViewById(R.id.new_group_layout); newGroupLayout.setVisibility(View.GONE); ekrSwitch = (MegaSwitch) findViewById(R.id.ekr_switch); ekrSwitch.setOnClickListener(this); getChatLinkBox = (CheckBox) findViewById(R.id.get_chat_link_checkbox); getChatLinkLayout = (RelativeLayout) findViewById(R.id.get_chat_link_layout); newGroupHeaderList = (TextView) findViewById(R.id.new_group_text_header_list); allowAddParticipantsSwitch = findViewById(R.id.allow_add_participants_switch); allowAddParticipantsSwitch.setOnClickListener(this); newGroupRecyclerView = (RecyclerView) findViewById(R.id.new_group_add_contact_list); newGroupRecyclerView.setClipToPadding(false); newGroupRecyclerView.addOnItemTouchListener(this); newGroupRecyclerView.setItemAnimator(new DefaultItemAnimator()); newGrouplinearLayoutManager = new LinearLayoutManager(this); newGroupRecyclerView.setLayoutManager(newGrouplinearLayoutManager); newGroupRecyclerView.addItemDecoration(new SimpleDividerItemDecoration(this)); //Get MEGA contacts and phone contacts: first name, last name and email if (savedInstanceState != null) { onNewGroup = savedInstanceState.getBoolean("onNewGroup", onNewGroup); isConfirmDeleteShown = savedInstanceState.getBoolean("isConfirmDeleteShown", false); confirmDeleteMail = savedInstanceState.getString("confirmDeleteMail"); comesFromRecent = savedInstanceState.getBoolean(FROM_RECENT, false); searchExpand = savedInstanceState.getBoolean("searchExpand", false); savedInputString = savedInstanceState.getString("inputString"); isConfirmAddShown = savedInstanceState.getBoolean("isConfirmAddShown", false); confirmAddMail = savedInstanceState.getString("confirmAddMail"); createNewGroup = savedInstanceState.getBoolean("createNewGroup", false); queryPermissions = savedInstanceState.getBoolean("queryPermissions", true); isEKREnabled = savedInstanceState.getBoolean("isEKREnabled", false); ekrSwitch.setChecked(isEKREnabled); isAllowAddParticipantsEnabled = savedInstanceState.getBoolean(IS_ALLOWED_ADD_PARTICIPANTS, true); allowAddParticipantsSwitch.setChecked(isAllowAddParticipantsEnabled); onlyCreateGroup = savedInstanceState.getBoolean("onlyCreateGroup", false); isWarningMessageShown = savedInstanceState.getBoolean("warningBannerShown", false); mWarningMessage.setVisibility(isWarningMessageShown && isContactVerificationOn ? View.VISIBLE : View.GONE); if (contactType == CONTACT_TYPE_MEGA || contactType == CONTACT_TYPE_BOTH) { savedaddedContacts = savedInstanceState.getStringArrayList("savedaddedContacts"); if (createNewGroup) { setTitleAB(); } if (savedaddedContacts == null && (contactType == CONTACT_TYPE_MEGA || contactType == CONTACT_TYPE_BOTH)) { setAddedAdapterContacts(); getContactsTask = new GetContactsTask(); getContactsTask.execute(); } else { recoverContactsTask = new RecoverContactsTask(); recoverContactsTask.execute(); } } else if (contactType == CONTACT_TYPE_DEVICE) { addedContactsPhone = savedInstanceState.getParcelableArrayList("addedContactsPhone"); filteredContactsPhone = savedInstanceState.getParcelableArrayList("filteredContactsPhone"); phoneContacts = savedInstanceState.getParcelableArrayList("phoneContacts"); setAddedAdapterContacts(); if (queryPermissions && filteredContactsPhone == null && phoneContacts == null) { queryIfHasReadContactsPermissions(); } else { if (addedContactsPhone.size() == 0) { containerAddedContactsRecyclerView.setVisibility(View.GONE); } else { containerAddedContactsRecyclerView.setVisibility(View.VISIBLE); } addedContactsRecyclerView.setAdapter(adapterContacts); if (phoneContacts != null && !phoneContacts.isEmpty()) { if (filteredContactsPhone == null && (addedContactsPhone == null || addedContactsPhone.isEmpty())) { for (int i = 0; i < phoneContacts.size(); i++) { filteredContactsPhone.add(phoneContacts.get(i)); } } setPhoneAdapterContacts(filteredContactsPhone); } else if (addedContactsPhone != null && !addedContactsPhone.isEmpty()) { setEmptyStateVisibility(true); } else { setEmptyStateVisibility(true); progressBar.setVisibility(View.VISIBLE); getContactsTask = new GetContactsTask(); getContactsTask.execute(); } } setTitleAB(); setRecyclersVisibility(); } } else { isEKREnabled = false; ekrSwitch.setChecked(isEKREnabled); allowAddParticipantsSwitch.setChecked(isAllowAddParticipantsEnabled); setAddedAdapterContacts(); if (contactType == CONTACT_TYPE_MEGA) { progressBar.setVisibility(View.VISIBLE); getContactsTask = new GetContactsTask(); getContactsTask.execute(); } else { queryIfHasReadContactsPermissions(); } } if (onlyCreateGroup) { createNewGroup = true; setTitleAB(); } setGetChatLinkVisibility(); if (comesFromRecent && !onNewGroup) { if (isAsyncTaskRunning(getContactsTask)) { getContactsTask.cancel(true); } newGroup(); } observeFlow(); } private void setEmptyStateVisibility(boolean visible) { if (visible) { emptyImageView.setVisibility(View.VISIBLE); emptyTextView.setVisibility(View.VISIBLE); if (contactType == CONTACT_TYPE_MEGA && (addedContactsMEGA == null || addedContactsMEGA.isEmpty())) { if (!isFromMeeting) { emptyInviteButton.setVisibility(View.VISIBLE); } else { emptyInviteButton.setVisibility(View.GONE); } } else { emptySubTextView.setVisibility(View.GONE); emptyInviteButton.setVisibility(View.GONE); } } else { emptyImageView.setVisibility(View.GONE); emptyTextView.setVisibility(View.GONE); emptySubTextView.setVisibility(View.GONE); emptyInviteButton.setVisibility(View.GONE); } } private void setGetChatLinkVisibility() { getChatLinkLayout.setVisibility(isEKREnabled ? View.GONE : View.VISIBLE); } private void queryIfHasReadContactsPermissions() { boolean hasReadContactsPermission = hasPermissions(this, Manifest.permission.READ_CONTACTS); if (!hasReadContactsPermission) { Timber.w("No read contacts permission"); requestPermission((AddContactActivity) this, REQUEST_READ_CONTACTS, Manifest.permission.READ_CONTACTS); if (contactType == CONTACT_TYPE_DEVICE) { return; } } if (waitingForPhoneContacts) { filteredContactsShare.add(new ShareContactInfo()); getPhoneContactsTask = new GetPhoneContactsTask(); getPhoneContactsTask.execute(); return; } setEmptyStateVisibility(true); progressBar.setVisibility(View.VISIBLE); getContactsTask = new GetContactsTask(); getContactsTask.execute(); } private void setTitleAB() { Timber.d("setTitleAB"); if (aB != null) { if (contactType == CONTACT_TYPE_MEGA) { if (comesFromChat) { aB.setTitle(title); if (addedContactsMEGA.size() > 0) { aB.setSubtitle(getResources().getString(R.string.selected_items, addedContactsMEGA.size())); } else { aB.setSubtitle(null); } } else if (createNewGroup && !onNewGroup) { aB.setTitle(getString(R.string.title_new_group)); if (addedContactsMEGA.size() > 0) { aB.setSubtitle(getResources().getString(R.string.selected_items, addedContactsMEGA.size())); } else { aB.setSubtitle(getString(R.string.add_participants_menu_item)); } } } else if (contactType == CONTACT_TYPE_DEVICE) { aB.setTitle(getString(R.string.invite_contacts)); if (addedContactsPhone.size() > 0) { aB.setSubtitle(getResources().getQuantityString(R.plurals.general_selection_num_contacts, addedContactsPhone.size(), addedContactsPhone.size())); } else { aB.setSubtitle(null); } } else { aB.setTitle(getString(R.string.share_with)); if (addedContactsShare.size() > 0) { aB.setSubtitle(getResources().getQuantityString(R.plurals.general_selection_num_contacts, addedContactsShare.size(), addedContactsShare.size())); } else { aB.setSubtitle(null); } } } } private void setError() { Timber.d("setError"); if (this.getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE) { RelativeLayout.LayoutParams params = new RelativeLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT); params.setMargins(dp2px(18, outMetrics), dp2px(-10, outMetrics), dp2px(18, outMetrics), 0); typeContactEditText.setLayoutParams(params); } mailError.setVisibility(View.VISIBLE); ColorUtils.setErrorAwareInputAppearance(typeContactEditText, true); } private void quitError() { Timber.d("quitError"); if (mailError.getVisibility() != View.GONE) { mailError.setVisibility(View.GONE); } if (this.getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE) { RelativeLayout.LayoutParams params = new RelativeLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT); params.setMargins(dp2px(18, outMetrics), dp2px(0, outMetrics), dp2px(18, outMetrics), 0); typeContactEditText.setLayoutParams(params); } ColorUtils.setErrorAwareInputAppearance(typeContactEditText, false); } private void addShareContact(ShareContactInfo contact) { Timber.d("addShareContact"); if (searchExpand && searchMenuItem != null) { searchMenuItem.collapseActionView(); } if (!typeContactEditText.getText().toString().equals("")) { typeContactEditText.getText().clear(); } typeContactEditText.clearFocus(); hideKeyboard(addContactActivity, 0); int foundIndex = -1; for (int i = 0; i < addedContactsShare.size(); i++) { if (getShareContactMail(addedContactsShare.get(i)).equals(getShareContactMail(contact))) { foundIndex = i; break; } } if (foundIndex != -1) { deleteContact(foundIndex); return; } else { addedContactsShare.add(contact); } adapterShare.setContacts(addedContactsShare); isWarningMessageShown = checkForUnVerifiedContacts(); mWarningMessage.setVisibility(isWarningMessageShown && isContactVerificationOn ? View.VISIBLE : View.GONE); if (adapterShare.getItemCount() - 1 >= 0) { mLayoutManager.scrollToPosition(adapterShare.getItemCount() - 1); } setSendInvitationVisibility(); containerAddedContactsRecyclerView.setVisibility(View.VISIBLE); setTitleAB(); if (adapterShareHeader != null) { if (adapterShareHeader.getItemCount() == 0) { setEmptyStateVisibility(true); String textToShow = String.format(getString(R.string.context_empty_contacts)); try { textToShow = textToShow.replace("[A]", "<font color=\'" + ColorUtils.getColorHexString(this, R.color.grey_900_grey_100) + "\'>"); textToShow = textToShow.replace("[/A]", "</font>"); textToShow = textToShow.replace("[B]", "<font color=\'" + ColorUtils.getColorHexString(this, R.color.grey_300_grey_600) + "\'>"); textToShow = textToShow.replace("[/B]", "</font>"); } catch (Exception e) { } Spanned result = Html.fromHtml(textToShow, Html.FROM_HTML_MODE_LEGACY); emptyTextView.setText(result); } else { setEmptyStateVisibility(false); } } setRecyclersVisibility(); refreshKeyboard(); } /** * Method that selects the initially selected participants */ private void addSelectedContactMEGA() { if (emailsContactsSelected != null && !emailsContactsSelected.isEmpty()) { for (String email : emailsContactsSelected) { if (filteredContactMEGA != null && !filteredContactMEGA.isEmpty()) { for (int i = 0; i < filteredContactMEGA.size(); i++) { MegaContactAdapter contact = filteredContactMEGA.get(i); if (contact != null) { if (getMegaContactMail(contact).equals(email)) { contact.setSelected(true); addContactMEGA(contact); adapterMEGA.setContacts(filteredContactMEGA); break; } } } } } } } private void addContactMEGA(MegaContactAdapter contact) { Timber.d("Contact: %s", contact.getFullName()); if (searchExpand && searchMenuItem != null) { searchMenuItem.collapseActionView(); } hideKeyboard(addContactActivity, 0); if (addedContactsMEGA.contains(contact)) { deleteContact(addedContactsMEGA.indexOf(contact)); return; } else { addedContactsMEGA.add(contact); } adapterMEGAContacts.setContacts(addedContactsMEGA); if (adapterMEGAContacts.getItemCount() - 1 >= 0) { mLayoutManager.scrollToPosition(adapterMEGAContacts.getItemCount() - 1); } setSendInvitationVisibility(); containerAddedContactsRecyclerView.setVisibility(View.VISIBLE); setTitleAB(); if (adapterMEGA != null) { if (adapterMEGA.getItemCount() == 0) { showHeader(false); setEmptyStateVisibility(true); String textToShow = String.format(getString(R.string.context_empty_contacts)); try { textToShow = textToShow.replace("[A]", "<font color=\'" + ColorUtils.getColorHexString(this, R.color.grey_900_grey_100) + "\'>"); textToShow = textToShow.replace("[/A]", "</font>"); textToShow = textToShow.replace("[B]", "<font color=\'" + ColorUtils.getColorHexString(this, R.color.grey_300_grey_600) + "\'>"); textToShow = textToShow.replace("[/B]", "</font>"); } catch (Exception e) { } Spanned result = Html.fromHtml(textToShow, Html.FROM_HTML_MODE_LEGACY); emptyTextView.setText(result); } } setRecyclersVisibility(); refreshKeyboard(); } private void addContact(PhoneContactInfo contact) { Timber.d("Contact: %s, Mail: %s", contact.getName(), contact.getEmail()); if (searchExpand && searchMenuItem != null) { searchMenuItem.collapseActionView(); } if (!typeContactEditText.getText().toString().equals("")) { typeContactEditText.getText().clear(); } typeContactEditText.clearFocus(); hideKeyboard(addContactActivity, 0); boolean found = false; for (int i = 0; i < addedContactsPhone.size(); i++) { found = false; if (addedContactsPhone.get(i).getEmail().equals(contact.getEmail())) { found = true; break; } } if (found) { showSnackbar(getString(R.string.contact_not_added)); } else { addedContactsPhone.add(contact); } adapterContacts.setContacts(addedContactsPhone); if (adapterContacts.getItemCount() - 1 >= 0) { mLayoutManager.scrollToPosition(adapterContacts.getItemCount() - 1); } setSendInvitationVisibility(); containerAddedContactsRecyclerView.setVisibility(View.VISIBLE); setTitleAB(); if (adapterPhone != null) { if (adapterPhone.getItemCount() == 0) { showHeader(false); setEmptyStateVisibility(true); String textToShow = String.format(getString(R.string.context_empty_contacts)); try { textToShow = textToShow.replace("[A]", "<font color=\'" + ColorUtils.getColorHexString(this, R.color.grey_900_grey_100) + "\'>"); textToShow = textToShow.replace("[/A]", "</font>"); textToShow = textToShow.replace("[B]", "<font color=\'" + ColorUtils.getColorHexString(this, R.color.grey_300_grey_600) + "\'>"); textToShow = textToShow.replace("[/B]", "</font>"); } catch (Exception e) { } Spanned result = Html.fromHtml(textToShow, Html.FROM_HTML_MODE_LEGACY); emptyTextView.setText(result); } } setRecyclersVisibility(); refreshKeyboard(); } public void deleteContact(int position) { Timber.d("Position: %s", position); if (position < 0) { return; } if (contactType == CONTACT_TYPE_MEGA) { if (position >= addedContactsMEGA.size()) { return; } MegaContactAdapter deleteContact = addedContactsMEGA.get(position); addedContactsMEGA.remove(deleteContact); int filteredPosition = filteredContactMEGA.indexOf(deleteContact); if (filteredPosition != INVALID_POSITION) { filteredContactMEGA.get(filteredPosition).setSelected(false); } adapterMEGA.setContacts(filteredContactMEGA); setSendInvitationVisibility(); adapterMEGAContacts.setContacts(addedContactsMEGA); if (addedContactsMEGA.size() == 0) { containerAddedContactsRecyclerView.setVisibility(View.GONE); } } else if (contactType == CONTACT_TYPE_DEVICE) { if (position >= addedContactsPhone.size()) { return; } PhoneContactInfo deleteContact = addedContactsPhone.get(position); if (deleteContact.getName() != null) { addFilteredContact(deleteContact); } addedContactsPhone.remove(deleteContact); setSendInvitationVisibility(); adapterContacts.setContacts(addedContactsPhone); if (addedContactsPhone.size() == 0) { containerAddedContactsRecyclerView.setVisibility(View.GONE); } } else { if (position >= addedContactsShare.size()) { return; } ShareContactInfo deleteContact = addedContactsShare.get(position); if (deleteContact.isPhoneContact()) { addFilteredContact(deleteContact.getPhoneContactInfo()); } else if (deleteContact.isMegaContact()) { int filteredPosition = filteredContactsShare.indexOf(deleteContact); if (filteredPosition != INVALID_POSITION) { filteredContactsShare.get(filteredPosition).getMegaContactAdapter().setSelected(false); adapterShareHeader.setContacts(filteredContactsShare); } } addedContactsShare.remove(deleteContact); setSendInvitationVisibility(); adapterShare.setContacts(addedContactsShare); if (addedContactsShare.size() == 0) { containerAddedContactsRecyclerView.setVisibility(View.GONE); } } setTitleAB(); setRecyclersVisibility(); refreshKeyboard(); setSearchVisibility(); isWarningMessageShown = checkForUnVerifiedContacts(); mWarningMessage.setVisibility(isWarningMessageShown && isContactVerificationOn ? View.VISIBLE : View.GONE); } public void showSnackbar(String message) { hideKeyboard(addContactActivity, 0); showSnackbar(relativeLayout, message); } private void addMEGAFilteredContact(MegaContactAdapter contact) { filteredContactMEGA.add(contact); Collections.sort(filteredContactMEGA, new Comparator<MegaContactAdapter>() { public int compare(MegaContactAdapter c1, MegaContactAdapter c2) { String name1 = c1.getFullName(); String name2 = c2.getFullName(); int res = String.CASE_INSENSITIVE_ORDER.compare(name1, name2); if (res == 0) { res = name1.compareTo(name2); } return res; } }); int index = filteredContactMEGA.indexOf(contact); if (searchExpand) { if (searchAutoComplete != null) { inputString = searchAutoComplete.getText().toString(); } } else { inputString = typeContactEditText.getText().toString(); } if (contactType == CONTACT_TYPE_BOTH) { int i = filteredContactMEGA.indexOf(contact); ShareContactInfo contactToAdd = new ShareContactInfo(null, contact, null); if (filteredContactMEGA.size() == 1) { filteredContactsShare.add(0, new ShareContactInfoHeader(true, true, false)); filteredContactsShare.add(1, contactToAdd); } else { filteredContactsShare.add(i + 1, contactToAdd); } if (inputString != null && !inputString.equals("")) { filterContactsTask = new FilterContactsTask(); filterContactsTask.execute(); } else { adapterShareHeader.setContacts(filteredContactsShare); if (index >= 0 && index < adapterShareHeader.getItemCount()) { stickyLayoutManager.scrollToPosition(index); } } if (adapterShareHeader.getItemCount() != 0) { setEmptyStateVisibility(false); } } else { if (!onNewGroup) { if (inputString != null && !inputString.equals("")) { filterContactsTask = new FilterContactsTask(); filterContactsTask.execute(); } else { adapterMEGA.setContacts(filteredContactMEGA); if (index >= 0 && index < adapterMEGA.getItemCount()) { linearLayoutManager.scrollToPosition(index); } if (adapterMEGA.getItemCount() != 0) { showHeader(true); setEmptyStateVisibility(false); } recyclerViewList.setVisibility( adapterMEGA.getItemCount() > 0 ? View.VISIBLE : View.GONE); } } } } private void addFilteredContact(PhoneContactInfo contact) { Timber.d("addFilteredContact"); filteredContactsPhone.add(contact); Collections.sort(filteredContactsPhone); int index = filteredContactsPhone.indexOf(contact); int position; Timber.d("Size filteredContactsPhone: %s", filteredContactsPhone.size()); if (searchExpand) { if (searchAutoComplete != null) { inputString = searchAutoComplete.getText().toString(); } } else { inputString = typeContactEditText.getText().toString(); } if (contactType == CONTACT_TYPE_BOTH) { if (filteredContactsPhone.size() == 1) { filteredContactsShare.add(filteredContactsShare.size(), new ShareContactInfoHeader(true, false, true)); filteredContactsShare.add(filteredContactsShare.size(), new ShareContactInfo(contact, null, null)); position = filteredContactsShare.size(); } else { position = (adapterShareHeader.getItemCount() - filteredContactsPhone.size()) + index; if (position > 0 && (position + 1 <= filteredContactsShare.size())) { filteredContactsShare.add(position + 1, new ShareContactInfo(contact, null, null)); } } if (inputString != null && !inputString.equals("")) { filterContactsTask = new FilterContactsTask(); filterContactsTask.execute(); } else { adapterShareHeader.setContacts(filteredContactsShare); if (position >= 0 && position < adapterShareHeader.getItemCount()) { stickyLayoutManager.scrollToPosition(position); } } if (adapterShareHeader.getItemCount() != 0) { setEmptyStateVisibility(false); } } else { if (inputString != null && !inputString.equals("")) { filterContactsTask = new FilterContactsTask(); filterContactsTask.execute(); } else { adapterPhone.setContacts(filteredContactsPhone); if (index >= 0 && index < adapterPhone.getItemCount()) { linearLayoutManager.scrollToPosition(index); } if (adapterPhone != null) { if (adapterPhone.getItemCount() != 0) { showHeader(true); setEmptyStateVisibility(false); } } } } } private MegaContactAdapter createMegaContact(MegaUser contact) { Contact contactDB = getContactDB(contact.getHandle()); String fullName = getContactNameDB(contactDB); if (fullName == null) { fullName = contact.getEmail(); } return new MegaContactAdapter(contactDB, contact, fullName); } private void getVisibleMEGAContacts() { contactsMEGA = megaApi.getContacts(); visibleContactsMEGA.clear(); filteredContactMEGA.clear(); addedContactsMEGA.clear(); if (chatId != -1) { Timber.d("Add participant to chat"); if (megaChatApi != null) { MegaChatRoom chat = megaChatApi.getChatRoom(chatId); if (chat != null) { long participantsCount = chat.getPeerCount(); boolean isModerator = chat.getOwnPrivilege() == MegaChatRoom.PRIV_MODERATOR; participantsLimitWarningView.setModerator(isModerator); for (int i = 0; i < contactsMEGA.size(); i++) { if (contactsMEGA.get(i).getVisibility() == MegaUser.VISIBILITY_VISIBLE) { boolean found = false; for (int j = 0; j < participantsCount; j++) { long peerHandle = chat.getPeerHandle(j); if (peerHandle == contactsMEGA.get(i).getHandle()) { found = true; break; } } if (!found) { visibleContactsMEGA.add(createMegaContact(contactsMEGA.get(i))); } else { Timber.d("Removed from list - already included on chat: "); } } } } else { for (int i = 0; i < contactsMEGA.size(); i++) { Timber.d("Contact: %s_%d", contactsMEGA.get(i).getEmail(), contactsMEGA.get(i).getVisibility()); if (contactsMEGA.get(i).getVisibility() == MegaUser.VISIBILITY_VISIBLE) { MegaContactAdapter megaContactAdapter = createMegaContact(contactsMEGA.get(i)); visibleContactsMEGA.add(megaContactAdapter); } } } } } else if ((multipleSelectIntent == 0 && nodeHandle != -1) || (multipleSelectIntent == 1 && nodeHandles.length == 1)) { ArrayList<MegaShare> shared = new ArrayList<>(); if (multipleSelectIntent == 0) { shared.addAll(megaApi.getOutShares(megaApi.getNodeByHandle(nodeHandle))); } else { shared.addAll(megaApi.getOutShares(megaApi.getNodeByHandle(nodeHandles[0]))); } boolean found; for (int i = 0; i < contactsMEGA.size(); i++) { found = false; Timber.d("Contact: %s_%d", contactsMEGA.get(i).getEmail(), contactsMEGA.get(i).getVisibility()); if (contactsMEGA.get(i).getVisibility() == MegaUser.VISIBILITY_VISIBLE) { MegaContactAdapter megaContactAdapter = createMegaContact(contactsMEGA.get(i)); for (int j = 0; j < shared.size(); j++) { if (getMegaContactMail(megaContactAdapter).equals(shared.get(j).getUser())) { found = true; break; } } if (!found) { visibleContactsMEGA.add(megaContactAdapter); } } } } else { for (int i = 0; i < contactsMEGA.size(); i++) { Timber.d("Contact: %s_%d", contactsMEGA.get(i).getEmail(), contactsMEGA.get(i).getVisibility()); if (contactsMEGA.get(i).getVisibility() == MegaUser.VISIBILITY_VISIBLE) { MegaContactAdapter megaContactAdapter = createMegaContact(contactsMEGA.get(i)); visibleContactsMEGA.add(megaContactAdapter); } } } Collections.sort(visibleContactsMEGA, new Comparator<MegaContactAdapter>() { public int compare(MegaContactAdapter c1, MegaContactAdapter c2) { String name1 = c1.getFullName(); String name2 = c2.getFullName(); int res = String.CASE_INSENSITIVE_ORDER.compare(name1, name2); if (res == 0) { res = name1.compareTo(name2); } return res; } }); long handle; for (int i = 0; i < visibleContactsMEGA.size(); i++) { filteredContactMEGA.add(visibleContactsMEGA.get(i)); if (contactType == CONTACT_TYPE_MEGA) { //Ask for presence info and last green handle = getMegaContactHandle(visibleContactsMEGA.get(i)); if (handle != -1) { int userStatus = megaChatApi.getUserOnlineStatus(handle); if (userStatus != MegaChatApi.STATUS_ONLINE && userStatus != MegaChatApi.STATUS_BUSY && userStatus != MegaChatApi.STATUS_INVALID) { Timber.d("Request last green for user"); megaChatApi.requestLastGreen(handle, null); } } } } } @SuppressLint("InlinedApi") //Get the contacts explicitly added private ArrayList<PhoneContactInfo> getPhoneContacts() { Timber.d("getPhoneContacts"); ArrayList<PhoneContactInfo> contactList = new ArrayList<>(); try { ContentResolver cr = getContentResolver(); Cursor cursor = cr.query(ContactsContract.Contacts.CONTENT_URI, new String[]{ContactsContract.Contacts._ID, ContactsContract.Contacts.DISPLAY_NAME}, null, null, null); if (cursor != null) { while (cursor.moveToNext()) { long id = cursor.getLong(0); String name = cursor.getString(1); String emailAddress = null; Cursor cursor2 = cr.query(ContactsContract.CommonDataKinds.Email.CONTENT_URI, null, ContactsContract.CommonDataKinds.Email.CONTACT_ID + " = ?", new String[]{String.valueOf(id)}, ContactsContract.Contacts.SORT_KEY_PRIMARY); if (cursor2 != null && cursor2.moveToFirst()) { try { emailAddress = cursor2.getString(cursor2.getColumnIndexOrThrow(ContactsContract.CommonDataKinds.Email.DATA)); } catch (IllegalArgumentException exception) { Timber.w(exception, "Exception getting contact email"); } cursor2.close(); } if (emailAddress != null && emailAddress.contains("@") && !emailAddress.contains("s.whatsapp.net")) { contactList.add(new PhoneContactInfo(id, name, emailAddress, null)); } } cursor.close(); } } catch (Exception e) { Timber.w(e, "Exception getting phone contacts"); } return contactList; } @Override public void beforeTextChanged(CharSequence s, int start, int count, int after) { quitError(); refreshKeyboard(); } @Override public void onTextChanged(CharSequence s, int start, int before, int count) { Timber.d("onTextChanged: %s_ %d__%d__%d", s.toString(), start, before, count); if (contactType == CONTACT_TYPE_DEVICE) { if (s != null) { if (s.length() > 0) { String temp = s.toString(); char last = s.charAt(s.length() - 1); if (last == ' ') { boolean isValid = isValidEmail(temp.trim()); if (isValid) { confirmAddMail = temp.trim(); queryIfContactSouldBeAddedTask = new QueryIfContactSouldBeAddedTask(); queryIfContactSouldBeAddedTask.execute(false); typeContactEditText.getText().clear(); } else { setError(); } if (this.getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE) { hideKeyboard(addContactActivity, 0); } } else { Timber.d("Last character is: %s", last); } } } } else if (contactType == CONTACT_TYPE_BOTH) { if (s != null) { if (s.length() > 0) { String temp = s.toString(); char last = s.charAt(s.length() - 1); if (last == ' ') { boolean isValid = isValidEmail(temp.trim()); if (isValid) { confirmAddMail = temp.trim(); queryIfContactSouldBeAddedTask = new QueryIfContactSouldBeAddedTask(); queryIfContactSouldBeAddedTask.execute(false); typeContactEditText.getText().clear(); } else { setError(); } if (this.getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE) { hideKeyboard(addContactActivity, 0); } } else { Timber.d("Last character is: %s", last); } } } } if (isAsyncTaskRunning(filterContactsTask)) { filterContactsTask.cancel(true); } filterContactsTask = new FilterContactsTask(); filterContactsTask.execute(); refreshKeyboard(); } @Override public void afterTextChanged(Editable editable) { refreshKeyboard(); } @Override public boolean onEditorAction(TextView v, int actionId, KeyEvent event) { refreshKeyboard(); if (actionId == EditorInfo.IME_ACTION_DONE) { String s = v.getText().toString(); Timber.d("s: %s", s); if (s.isEmpty() || s.equals("null") || s.equals("")) { hideKeyboard(addContactActivity, 0); } else { if (contactType == CONTACT_TYPE_DEVICE) { boolean isValid = isValidEmail(s.trim()); if (isValid) { confirmAddMail = s.trim(); queryIfContactSouldBeAddedTask = new QueryIfContactSouldBeAddedTask(); queryIfContactSouldBeAddedTask.execute(false); typeContactEditText.getText().clear(); hideKeyboard(addContactActivity, 0); } else { setError(); } if (this.getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE) { hideKeyboard(addContactActivity, 0); } } else if (contactType == CONTACT_TYPE_BOTH) { boolean isValid = isValidEmail(s.trim()); if (isValid) { confirmAddMail = s.trim(); queryIfContactSouldBeAddedTask = new QueryIfContactSouldBeAddedTask(); queryIfContactSouldBeAddedTask.execute(false); typeContactEditText.getText().clear(); hideKeyboard(addContactActivity, 0); } else { setError(); } if (this.getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE) { hideKeyboard(addContactActivity, 0); } } if (isAsyncTaskRunning(filterContactsTask)) { filterContactsTask.cancel(true); } filterContactsTask = new FilterContactsTask(); filterContactsTask.execute(); } return true; } if ((event != null && (event.getKeyCode() == KeyEvent.KEYCODE_ENTER)) || (actionId == EditorInfo.IME_ACTION_SEND)) { if (contactType == CONTACT_TYPE_DEVICE) { if (addedContactsPhone.isEmpty() || addedContactsPhone == null) { hideKeyboard(addContactActivity, 0); } else { inviteContacts(addedContactsPhone); } } else if (contactType == CONTACT_TYPE_MEGA) { if (addedContactsMEGA.isEmpty() || addedContactsMEGA == null) { hideKeyboard(addContactActivity, 0); } else { setResultContacts(addedContactsMEGA, true); } } else { if (addedContactsShare.isEmpty() || addedContactsShare == null) { hideKeyboard(addContactActivity, 0); } else { shareWith(addedContactsShare); } } return true; } return false; } public void itemClick(String email, int adapter) { Timber.d("itemClick"); if (contactType == CONTACT_TYPE_MEGA) { if (createNewGroup || comesFromChat) { if (adapter == MegaContactsAdapter.ITEM_VIEW_TYPE_LIST_ADD_CONTACT) { if (searchExpand) { if (searchAutoComplete != null) { inputString = searchAutoComplete.getText().toString(); } } else { inputString = typeContactEditText.getText().toString(); } if (inputString != null && !inputString.equals("")) { for (int i = 0; i < queryContactMEGA.size(); i++) { MegaContactAdapter contact = queryContactMEGA.get(i); if (getMegaContactMail(contact).equals(email)) { int filteredPosition = filteredContactMEGA.indexOf(contact); if (filteredPosition != INVALID_POSITION) { filteredContactMEGA.get(filteredPosition).setSelected(true); } addContactMEGA(contact); break; } } } else { for (int i = 0; i < filteredContactMEGA.size(); i++) { MegaContactAdapter contact = filteredContactMEGA.get(i); if (getMegaContactMail(contact).equals(email)) { contact.setSelected(true); addContactMEGA(contact); adapterMEGA.setContacts(filteredContactMEGA); break; } } } if (addedContactsMEGA.size() == 0) { setSendInvitationVisibility(); } } else { for (int i = 0; i < addedContactsMEGA.size(); i++) { if (getMegaContactMail(addedContactsMEGA.get(i)).equals(email)) { showConfirmationDeleteFromChat(addedContactsMEGA.get(i)); break; } } } } else { ArrayList<String> contacts = new ArrayList<>(); contacts.add(email); startConversation(contacts, true, null); } } setSearchVisibility(); } private void showConfirmationDeleteFromChat(final MegaContactAdapter contact) { MaterialAlertDialogBuilder builder = new MaterialAlertDialogBuilder(this, R.style.ThemeOverlay_Mega_MaterialAlertDialog); DialogInterface.OnClickListener dialogClickListener = new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { switch (which) { case DialogInterface.BUTTON_POSITIVE: { addMEGAFilteredContact(contact); addedContactsMEGA.remove(contact); newGroupHeaderList.setText(getResources().getQuantityString(R.plurals.subtitle_of_group_chat, addedContactsMEGA.size(), addedContactsMEGA.size())); adapterMEGA.setContacts(addedContactsMEGA); adapterMEGAContacts.setContacts(addedContactsMEGA); break; } case DialogInterface.BUTTON_NEGATIVE: { //No button clicked isConfirmDeleteShown = false; break; } } } }; confirmDeleteMail = getMegaContactMail(contact); builder.setMessage(getString(R.string.confirmation_delete_contact, contact.getFullName())); builder.setOnDismissListener(new DialogInterface.OnDismissListener() { @Override public void onDismiss(DialogInterface dialog) { isConfirmDeleteShown = false; } }); builder.setPositiveButton(R.string.context_remove, dialogClickListener) .setNegativeButton(R.string.general_cancel, dialogClickListener).show(); isConfirmDeleteShown = true; } private void itemClick(View view, int position) { if (searchExpand) { if (searchAutoComplete != null) { inputString = searchAutoComplete.getText().toString(); } } else { inputString = typeContactEditText.getText().toString(); } if (contactType == CONTACT_TYPE_DEVICE) { if (adapterPhone == null) { return; } final PhoneContactInfo contact = adapterPhone.getItem(position); if (contact == null) { return; } if (inputString != null && !inputString.equals("")) { for (int i = 0; i < queryContactsPhone.size(); i++) { if (queryContactsPhone.get(i).getEmail().equals(contact.getEmail())) { filteredContactsPhone.remove(queryContactsPhone.get(i)); queryContactsPhone.remove(i); adapterPhone.setContacts(queryContactsPhone); } } } else { for (int i = 0; i < filteredContactsPhone.size(); i++) { if (filteredContactsPhone.get(i).getEmail().equals(contact.getEmail())) { filteredContactsPhone.remove(i); adapterPhone.setContacts(filteredContactsPhone); break; } } } addContact(contact); } else if (contactType == CONTACT_TYPE_BOTH) { if (adapterShareHeader == null) { return; } final ShareContactInfo contact = adapterShareHeader.getItem(position); if (contact == null || contact.isHeader() || contact.isProgress()) { return; } if (contact.isPhoneContact()) { filteredContactsPhone.remove(contact.getPhoneContactInfo()); if (filteredContactsPhone.size() == 0) { filteredContactsShare.remove(filteredContactsShare.size() - 2); } filteredContactsShare.remove(contact); } else if (contact.isMegaContact()) { int contactPosition = filteredContactsShare.indexOf(contact); if (contactPosition != INVALID_POSITION) { filteredContactsShare.get(contactPosition).getMegaContactAdapter().setSelected(true); } } if (inputString != null && !inputString.equals("")) { filterContactsTask = new FilterContactsTask(); filterContactsTask.execute(); } else { adapterShareHeader.setContacts(filteredContactsShare); } addShareContact(contact); } setSearchVisibility(); } private String getMegaContactMail(MegaContactAdapter contact) { String mail = null; if (contact != null) { if (contact.getMegaUser() != null && contact.getMegaUser().getEmail() != null) { mail = contact.getMegaUser().getEmail(); } else if (contact.getContact() != null && contact.getContact().getEmail() != null) { mail = contact.getContact().getEmail(); } } return mail; } private long getMegaContactHandle(MegaContactAdapter contact) { long handle = -1; if (contact != null) { if (contact.getMegaUser() != null && contact.getMegaUser().getHandle() != -1) { handle = contact.getMegaUser().getHandle(); } else if (contact.getContact() != null && contact.getContact().getEmail() != null) { handle = contact.getContact().getUserId(); } } return handle; } private void setResultContacts(ArrayList<MegaContactAdapter> addedContacts, boolean megaContacts) { Timber.d("setResultContacts"); ArrayList<String> contactsSelected = new ArrayList<String>(); String contactEmail; if (addedContacts != null) { for (int i = 0; i < addedContacts.size(); i++) { if (addedContacts.get(i).getMegaUser() != null && addedContacts.get(i).getContact() != null) { contactEmail = addedContacts.get(i).getMegaUser().getEmail(); } else { contactEmail = addedContacts.get(i).getFullName(); } if (contactEmail != null) { contactsSelected.add(contactEmail); } } } Timber.d("Contacts selected: %s", contactsSelected.size()); if (comesFromChat) { addParticipants(contactsSelected); } else if (onNewGroup) { String chatTitle = ""; if (nameGroup != null && nameGroup.getText().length() > 0) { chatTitle = nameGroup.getText().toString(); startConversation(contactsSelected, megaContacts, chatTitle); } else { startConversation(contactsSelected, megaContacts, null); } } else { newGroup(); } hideKeyboard(addContactActivity, 0); } private void toInviteContact() { navigator.openInviteContactActivity( this, false ); } @Override public void onClick(View v) { int id = v.getId(); if (id == R.id.layout_scan_qr) { Timber.d("Scan QR code pressed"); if (isNecessaryDisableLocalCamera() != MEGACHAT_INVALID_HANDLE) { showConfirmationOpenCamera(this, ACTION_OPEN_QR, true); return; } initScanQR(); } else if (id == R.id.add_contact_list_empty_invite_button) { toInviteContact(); } else if (id == R.id.ekr_switch) { isEKREnabled = ekrSwitch.isChecked(); setGetChatLinkVisibility(); } else if (id == R.id.allow_add_participants_switch) { isAllowAddParticipantsEnabled = allowAddParticipantsSwitch.isChecked(); } else if (id == R.id.fab_button_next) { if (contactType == CONTACT_TYPE_DEVICE) { inviteContacts(addedContactsPhone); } else if (contactType == CONTACT_TYPE_MEGA) { if (onlyCreateGroup && !isStartConversation && addedContactsMEGA.isEmpty()) { showSnackbar(getString(R.string.error_creating_group_and_attaching_file)); return; } setResultContacts(addedContactsMEGA, true); } else { shareWith(addedContactsShare); } hideKeyboard(this, 0); } } public void initScanQR() { Intent intent = new Intent(this, QRCodeComposeActivity.class); intent.putExtra(INVITE_CONTACT, true); startActivityForResult(intent, SCAN_QR_FOR_ADD_CONTACTS); } @Override protected void onActivityResult(int requestCode, int resultCode, Intent intent) { Timber.d("onActivityResult"); super.onActivityResult(requestCode, resultCode, intent); if (requestCode == SCAN_QR_FOR_ADD_CONTACTS && resultCode == Activity.RESULT_OK && intent != null) { String mail = intent.getStringExtra(INTENT_EXTRA_KEY_MAIL); if (mail != null && !mail.equals("")) { confirmAddMail = mail; queryIfContactSouldBeAddedTask = new QueryIfContactSouldBeAddedTask(); queryIfContactSouldBeAddedTask.execute(true); } } else if (requestCode == REQUEST_INVITE_CONTACT_FROM_DEVICE && resultCode == RESULT_OK) { Timber.d("REQUEST_INVITE_CONTACT_FROM_DEVICE OK"); if (intent == null) { Timber.w("Return....."); return; } final ArrayList<String> contactsData = intent.getStringArrayListExtra(AddContactActivity.EXTRA_CONTACTS); if (contactsData != null) { ContactController cC = new ContactController(this); cC.inviteMultipleContacts(contactsData); } } } @Override public void onBackPressed() { PsaWebBrowser psaWebBrowser = getPsaWebBrowser(); if (psaWebBrowser != null && psaWebBrowser.consumeBack()) return; retryConnectionsAndSignalPresence(); if (onNewGroup) { if (addedContactsMEGA.contains(myContact)) { addedContactsMEGA.remove(myContact); } if (comesFromRecent) { finish(); } else { returnToAddContacts(); createMyContact(); } } else if (createNewGroup && (newGroup || onlyCreateGroup)) { finish(); } else { super.onBackPressed(); } } private class GetContactsTask extends AsyncTask<Void, Void, Void> { @Override protected Void doInBackground(Void... voids) { if (contactType == CONTACT_TYPE_MEGA) { getVisibleMEGAContacts(); if (newGroup) { String mail; MegaContactAdapter contact; for (int i = 0; i < contactsNewGroup.size(); i++) { mail = contactsNewGroup.get(i); for (int j = 0; j < filteredContactMEGA.size(); j++) { contact = filteredContactMEGA.get(j); if ((contact.getMegaUser() != null && contact.getMegaUser().getEmail().equals(mail)) || (contact.getContact() != null && contact.getContact().getEmail() != null && contact.getContact().getEmail().equals(mail)) ) { addedContactsMEGA.add(contact); filteredContactMEGA.remove(contact); break; } } } adapterMEGAContacts.setContacts(addedContactsMEGA); } } else if (contactType == CONTACT_TYPE_DEVICE) { if (queryPermissions) { getBothContacts(); addedContactsPhone.clear(); boolean found; PhoneContactInfo contactPhone; MegaContactAdapter contactMEGA; if (filteredContactsPhone != null && !filteredContactsPhone.isEmpty()) { for (int i = 0; i < filteredContactsPhone.size(); i++) { found = false; contactPhone = filteredContactsPhone.get(i); for (int j = 0; j < visibleContactsMEGA.size(); j++) { contactMEGA = visibleContactsMEGA.get(j); if (contactPhone.getEmail().equals(getMegaContactMail(contactMEGA))) { found = true; break; } } if (found) { filteredContactsPhone.remove(contactPhone); i--; } } } } } else { getVisibleMEGAContacts(); addedContactsPhone.clear(); MegaContactAdapter contactMEGA; ShareContactInfo contact; shareContacts.clear(); filteredContactsShare.clear(); if (filteredContactMEGA != null && !filteredContactMEGA.isEmpty()) { shareContacts.add(new ShareContactInfoHeader(true, true, false)); for (int i = 0; i < filteredContactMEGA.size(); i++) { contactMEGA = filteredContactMEGA.get(i); contact = new ShareContactInfo(null, contactMEGA, null); shareContacts.add(contact); } filteredContactsShare.addAll(shareContacts); if (queryPermissions) { filteredContactsShare.add(new ShareContactInfo()); } } } return null; } @Override protected void onPostExecute(Void avoid) { Timber.d("onPostExecute GetContactsTask"); progressBar.setVisibility(View.GONE); if (searchExpand) { if (isAsyncTaskRunning(filterContactsTask)) { filterContactsTask.cancel(true); } filterContactsTask = new FilterContactsTask(); filterContactsTask.execute(); } else { if (contactType == CONTACT_TYPE_MEGA) { if (newGroup) { setAddedAdapterContacts(); } setMegaAdapterContacts(filteredContactMEGA, MegaContactsAdapter.ITEM_VIEW_TYPE_LIST_ADD_CONTACT); } else if (contactType == CONTACT_TYPE_DEVICE) { setPhoneAdapterContacts(filteredContactsPhone); } else { setShareAdapterContacts(filteredContactsShare); if (queryPermissions) { waitingForPhoneContacts = true; getPhoneContactsTask = new GetPhoneContactsTask(); getPhoneContactsTask.execute(); } } setTitleAB(); setRecyclersVisibility(); setSendInvitationVisibility(); visibilityFastScroller(); setSearchVisibility(); if (isConfirmAddShown) { if (isAsyncTaskRunning(queryIfContactSouldBeAddedTask)) { queryIfContactSouldBeAddedTask.cancel(true); } hideKeyboard(addContactActivity, 0); queryIfContactSouldBeAddedTask = new QueryIfContactSouldBeAddedTask(); queryIfContactSouldBeAddedTask.execute(true); } } } } private void addParticipants(ArrayList<String> contacts) { Intent intent = new Intent(); intent.putStringArrayListExtra(EXTRA_CONTACTS, contacts); setResult(RESULT_OK, intent); hideKeyboard(addContactActivity, 0); finish(); } private void returnToAddContacts() { onNewGroup = false; setTitleAB(); setRecyclersVisibility(); addContactsLayout.setVisibility(View.VISIBLE); if (addedContactsMEGA.size() == 0) { containerAddedContactsRecyclerView.setVisibility(View.GONE); } setMegaAdapterContacts(filteredContactMEGA, MegaContactsAdapter.ITEM_VIEW_TYPE_LIST_ADD_CONTACT); newGroupLayout.setVisibility(View.GONE); visibilityFastScroller(); setSendInvitationVisibility(); setSearchVisibility(); if (visibleContactsMEGA == null || visibleContactsMEGA.isEmpty()) { onBackPressed(); } } private void createMyContact() { if (myContact == null) { Contact contactDB = dbH.findContactByHandle(MegaApiJava.base64ToUserHandle(megaApi.getMyUserHandle())); String myFullName = megaChatApi.getMyFullname(); if (myFullName != null) { if (myFullName.trim().isEmpty()) { myFullName = megaChatApi.getMyEmail(); } } else { myFullName = megaChatApi.getMyEmail(); } myContact = new MegaContactAdapter(contactDB, megaApi.getMyUser(), getString(R.string.chat_me_text_bracket, myFullName)); } } private void newGroup() { Timber.d("newGroup"); if (isAsyncTaskRunning(filterContactsTask)) { filterContactsTask.cancel(true); } onNewGroup = true; searchExpand = false; if (aB != null) { aB.setTitle(getString(R.string.title_new_group)); aB.setSubtitle(getString(R.string.subtitle_new_group)); } createMyContact(); addedContactsMEGA.add(myContact); newGroupHeaderList.setText(getResources().getQuantityString(R.plurals.subtitle_of_group_chat, addedContactsMEGA.size(), addedContactsMEGA.size())); if (searchMenuItem != null) { searchMenuItem.setVisible(false); } addContactsLayout.setVisibility(View.GONE); newGroupLayout.setVisibility(View.VISIBLE); setSendInvitationVisibility(); setMegaAdapterContacts(addedContactsMEGA, MegaContactsAdapter.ITEM_VIEW_TYPE_LIST_GROUP_CHAT); visibilityFastScroller(); setRecyclersVisibility(); if (isConfirmDeleteShown) { for (int i = 0; i < addedContactsMEGA.size(); i++) { if (getMegaContactMail(addedContactsMEGA.get(i)).equals(confirmDeleteMail)) { showConfirmationDeleteFromChat(addedContactsMEGA.get(i)); break; } } } } private void startConversation(ArrayList<String> contacts, boolean megaContacts, String chatTitle) { Timber.d("startConversation"); Intent intent = new Intent(); intent.putStringArrayListExtra(EXTRA_CONTACTS, contacts); intent.putExtra(EXTRA_MEGA_CONTACTS, megaContacts); if (getChatLinkBox.isChecked() && (chatTitle == null || chatTitle.trim().isEmpty())) { new MaterialAlertDialogBuilder(this, R.style.ThemeOverlay_Mega_MaterialAlertDialog) .setTitle(getString(R.string.enter_group_name)) .setMessage(getString(R.string.alert_enter_group_name)) .setPositiveButton(getString(R.string.general_ok), null) .show(); return; } if (chatTitle != null) { intent.putExtra(EXTRA_CHAT_TITLE, chatTitle); } if (onNewGroup) { intent.putExtra(EXTRA_EKR, isEKREnabled); intent.putExtra(ALLOW_ADD_PARTICIPANTS, isAllowAddParticipantsEnabled); intent.putExtra(EXTRA_GROUP_CHAT, onNewGroup); intent.putExtra(EXTRA_CHAT_LINK, getChatLinkBox.isChecked()); } setResult(RESULT_OK, intent); hideKeyboard(addContactActivity, 0); finish(); } private void shareWith(ArrayList<ShareContactInfo> addedContacts) { Timber.d("shareWith"); ArrayList<String> contactsSelected = new ArrayList<>(); if (addedContacts != null) { for (int i = 0; i < addedContacts.size(); i++) { contactsSelected.add(getShareContactMail(addedContacts.get(i))); } } Intent intent = new Intent(); intent.putStringArrayListExtra(EXTRA_CONTACTS, contactsSelected); if (multipleSelectIntent == 0) { intent.putExtra(EXTRA_NODE_HANDLE, nodeHandle); intent.putExtra(EXTRA_MULTISELECT, 0); } else if (multipleSelectIntent == 1) { intent.putExtra(EXTRA_NODE_HANDLE, nodeHandles); intent.putExtra(EXTRA_MULTISELECT, 1); } intent.putExtra(EXTRA_MEGA_CONTACTS, false); setResult(RESULT_OK, intent); hideKeyboard(addContactActivity, 0); finish(); } private void inviteContacts(ArrayList<PhoneContactInfo> addedContacts) { Timber.d("inviteContacts"); String contactEmail = null; ArrayList<String> contactsSelected = new ArrayList<>(); if (addedContacts != null) { for (int i = 0; i < addedContacts.size(); i++) { contactEmail = addedContacts.get(i).getEmail(); if (fromAchievements) { if (contactEmail != null && !mailsFromAchievements.contains(contactEmail)) { contactsSelected.add(contactEmail); } } else { if (contactEmail != null) { contactsSelected.add(contactEmail); } } } } Intent intent = new Intent(); intent.putStringArrayListExtra(EXTRA_CONTACTS, contactsSelected); for (int i = 0; i < contactsSelected.size(); i++) { Timber.d("setResultContacts: %s", contactsSelected.get(i)); } intent.putExtra(EXTRA_MEGA_CONTACTS, false); setResult(RESULT_OK, intent); hideKeyboard(addContactActivity, 0); finish(); } @Override public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults) { Timber.d("onRequestPermissionsResult"); super.onRequestPermissionsResult(requestCode, permissions, grantResults); switch (requestCode) { case REQUEST_READ_CONTACTS: { Timber.d("REQUEST_READ_CONTACTS"); if (grantResults.length > 0 && grantResults[0] == PackageManager.PERMISSION_GRANTED) { boolean hasReadContactsPermissions = hasPermissions(this, Manifest.permission.READ_CONTACTS); if (hasReadContactsPermissions && contactType == CONTACT_TYPE_DEVICE) { filteredContactsPhone.clear(); setEmptyStateVisibility(true); progressBar.setVisibility(View.VISIBLE); new GetContactsTask().execute(); } else if (hasReadContactsPermissions && contactType == CONTACT_TYPE_BOTH) { progressBar.setVisibility(View.VISIBLE); emptyTextView.setText(R.string.contacts_list_empty_text_loading_share); getContactsTask = new GetContactsTask(); getContactsTask.execute(); } } else if (grantResults.length > 0 && grantResults[0] == PackageManager.PERMISSION_DENIED) { boolean hasReadContactsPermissions = hasPermissions(this, Manifest.permission.READ_CONTACTS); queryPermissions = false; supportInvalidateOptionsMenu(); if (!hasReadContactsPermissions && contactType == CONTACT_TYPE_DEVICE) { Timber.w("Permission denied"); setTitleAB(); filteredContactsPhone.clear(); setEmptyStateVisibility(true); emptyTextView.setText(R.string.no_contacts_permissions); progressBar.setVisibility(View.GONE); } } break; } } } private void setRecyclersVisibility() { if (contactType == CONTACT_TYPE_MEGA) { if (filteredContactMEGA.size() > 0) { containerContacts.setVisibility(View.VISIBLE); } else { if (onNewGroup) { containerContacts.setVisibility(View.VISIBLE); } else { containerContacts.setVisibility(View.GONE); } } } else if (contactType == CONTACT_TYPE_DEVICE) { if (filteredContactsPhone.size() > 0) { containerContacts.setVisibility(View.VISIBLE); } else { containerContacts.setVisibility(View.GONE); } } else { if (filteredContactsShare.size() >= 2) { containerContacts.setVisibility(View.VISIBLE); } else { containerContacts.setVisibility(View.GONE); } } } private void visibilityFastScroller() { fastScroller.setRecyclerView(recyclerViewList); if (contactType == CONTACT_TYPE_MEGA) { if (adapterMEGA == null) { fastScroller.setVisibility(View.GONE); } else { if (adapterMEGA.getItemCount() < MIN_ITEMS_SCROLLBAR_CONTACT) { fastScroller.setVisibility(View.GONE); } else { fastScroller.setVisibility(View.VISIBLE); } } } else if (contactType == CONTACT_TYPE_DEVICE) { if (adapterPhone == null) { fastScroller.setVisibility(View.GONE); } else { if (adapterPhone.getItemCount() < MIN_ITEMS_SCROLLBAR_CONTACT) { fastScroller.setVisibility(View.GONE); } else { fastScroller.setVisibility(View.VISIBLE); } } } else { if (adapterShareHeader == null) { fastScroller.setVisibility(View.GONE); } else { if (adapterShareHeader.getItemCount() < MIN_ITEMS_SCROLLBAR_CONTACT) { fastScroller.setVisibility(View.GONE); } else { fastScroller.setVisibility(View.VISIBLE); } } } fastScroller.setUpScrollListener(new FastScrollerScrollListener() { @Override public void onScrolled() { hideFabButton(); } @Override public void onScrolledToTop() { showFabButton(); } }); } private void showHeader(boolean isVisible) { headerContacts.setVisibility(!comesFromChat && isVisible ? View.VISIBLE : View.GONE); } @Override public void onUsersUpdate(MegaApiJava api, ArrayList<MegaUser> users) { } @Override public void onUserAlertsUpdate(MegaApiJava api, ArrayList<MegaUserAlert> userAlerts) { } @Override public void onNodesUpdate(MegaApiJava api, ArrayList<MegaNode> nodeList) { } @Override public void onReloadNeeded(MegaApiJava api) { } @Override public void onAccountUpdate(MegaApiJava api) { } @Override public void onContactRequestsUpdate(MegaApiJava api, ArrayList<MegaContactRequest> requests) { if (requests != null) { for (int i = 0; i < requests.size(); i++) { MegaContactRequest cr = requests.get(i); if (cr != null) { if ((cr.getStatus() == MegaContactRequest.STATUS_ACCEPTED) && (cr.isOutgoing())) { Timber.d("ACCEPT OPR: %s cr.isOutgoing: %s cr.getStatus: %d", cr.getSourceEmail(), cr.isOutgoing(), cr.getStatus()); getContactsTask = new GetContactsTask(); getContactsTask.execute(); } } } } } @Override public void onEvent(MegaApiJava api, MegaEvent event) { } @Override public void onSetsUpdate(MegaApiJava api, ArrayList<MegaSet> sets) { } @Override public void onSetElementsUpdate(MegaApiJava api, ArrayList<MegaSetElement> elements) { } @Override public boolean onInterceptTouchEvent(RecyclerView rv, MotionEvent e) { return false; } @Override public void onTouchEvent(RecyclerView rv, MotionEvent e) { } @Override public void onRequestDisallowInterceptTouchEvent(boolean disallowIntercept) { } @Override public void onRequestStart(MegaApiJava api, MegaRequest request) { Timber.d("onRequestStart: %s", request.getRequestString()); } @Override public void onRequestUpdate(MegaApiJava api, MegaRequest request) { } @Override public void onRequestFinish(MegaApiJava api, MegaRequest request, MegaError e) { if (request.getType() == MegaRequest.TYPE_INVITE_CONTACT) { Timber.d("MegaRequest.TYPE_INVITE_CONTACT finished: %s", request.getNumber()); if (request.getNumber() == MegaContactRequest.INVITE_ACTION_REMIND) { showSnackbar(getString(R.string.context_contact_invitation_resent)); } else { if (e.getErrorCode() == MegaError.API_OK) { Timber.d("OK INVITE CONTACT: %s", request.getEmail()); if (request.getNumber() == MegaContactRequest.INVITE_ACTION_ADD) { showSnackbar(getString(R.string.context_contact_request_sent, request.getEmail())); } else if (request.getNumber() == MegaContactRequest.INVITE_ACTION_DELETE) { showSnackbar(getString(R.string.context_contact_invitation_deleted)); } } else { Timber.w("ERROR: %d___%s", e.getErrorCode(), e.getErrorString()); if (e.getErrorCode() == MegaError.API_EEXIST) { showSnackbar(getString(R.string.context_contact_already_exists, request.getEmail())); } else if (request.getNumber() == MegaContactRequest.INVITE_ACTION_ADD && e.getErrorCode() == MegaError.API_EARGS) { showSnackbar(getString(R.string.error_own_email_as_contact)); } else { showSnackbar(getString(R.string.general_error)); } } } } } @Override public void onRequestTemporaryError(MegaApiJava api, MegaRequest request, MegaError e) { } private void onChatPresenceLastGreen(long userhandle, int lastGreen) { Timber.d("onChatPresenceLastGreen"); int state = megaChatApi.getUserOnlineStatus(userhandle); if (state != MegaChatApi.STATUS_ONLINE && state != MegaChatApi.STATUS_BUSY && state != MegaChatApi.STATUS_INVALID) { String formattedDate = lastGreenDate(this, lastGreen); if (userhandle != megaChatApi.getMyUserHandle()) { Timber.d("Status last green for the user: %s", userhandle); // Replace on visible MEGA contacts (all my visible contacts) ListIterator<MegaContactAdapter> itrReplace = visibleContactsMEGA.listIterator(); while (itrReplace.hasNext()) { MegaContactAdapter contactToUpdate = itrReplace.next(); if (contactToUpdate != null) { if (getMegaContactHandle(contactToUpdate) == userhandle) { contactToUpdate.setLastGreen(formattedDate); break; } } else { break; } } // Replace on list adapter (filtered or search filtered MEGA contacts) int indexToReplace = -1; if (adapterMEGA != null && adapterMEGA.getContacts() != null) { ListIterator<MegaContactAdapter> itrReplace2 = adapterMEGA.getContacts().listIterator(); while (itrReplace2.hasNext()) { MegaContactAdapter contactToUpdate = itrReplace2.next(); if (contactToUpdate != null) { if (getMegaContactHandle(contactToUpdate) == userhandle) { contactToUpdate.setLastGreen(formattedDate); indexToReplace = itrReplace2.nextIndex() - 1; break; } } else { break; } } if (indexToReplace != -1) { adapterMEGA.updateContactStatus(indexToReplace); } } // Replace on filtered MEGA contacts (without search) if (filteredContactMEGA != null && filteredContactMEGA.size() > 0) { ListIterator<MegaContactAdapter> itrReplace3 = filteredContactMEGA.listIterator(); while (itrReplace3.hasNext()) { MegaContactAdapter contactToUpdate = itrReplace3.next(); if (contactToUpdate != null) { if (getMegaContactHandle(contactToUpdate) == userhandle) { contactToUpdate.setLastGreen(formattedDate); break; } } else { break; } } } // Replace, if exist, on search filtered MEGA contacts if (queryContactMEGA != null && queryContactMEGA.size() > 0) { ListIterator<MegaContactAdapter> itrReplace4 = queryContactMEGA.listIterator(); while (itrReplace4.hasNext()) { MegaContactAdapter contactToUpdate = itrReplace4.next(); if (contactToUpdate != null) { if (getMegaContactHandle(contactToUpdate) == userhandle) { contactToUpdate.setLastGreen(formattedDate); break; } } else { break; } } } // Replace, if exist, on added adapter and added MEGA contacts if (addedContactsMEGA != null && addedContactsMEGA.size() > 0) { ListIterator<MegaContactAdapter> itrReplace5 = addedContactsMEGA.listIterator(); while (itrReplace5.hasNext()) { MegaContactAdapter contactToUpdate = itrReplace5.next(); if (contactToUpdate != null) { if (getMegaContactHandle(contactToUpdate) == userhandle) { contactToUpdate.setLastGreen(formattedDate); break; } } else { break; } } if (adapterMEGAContacts != null) { adapterMEGAContacts.setContacts(addedContactsMEGA); } } } Timber.d("Date last green: %s", formattedDate); } } /** * Receive changes to OnChatPresenceLastGreen and make the necessary changes */ private void checkChatChanges() { Disposable chatSubscription = getChatChangesUseCase.get() .subscribeOn(Schedulers.io()) .observeOn(AndroidSchedulers.mainThread()) .filter(result -> result instanceof GetChatChangesUseCase.Result.OnChatPresenceLastGreen) .map(result -> (GetChatChangesUseCase.Result.OnChatPresenceLastGreen) result) .subscribe((next) -> { long userHandle = next.component1(); int lastGreen = next.component2(); onChatPresenceLastGreen(userHandle, lastGreen); }, Timber::e); composite.add(chatSubscription); } private boolean checkForUnVerifiedContacts() { for (ShareContactInfo info : addedContactsShare) { if (!info.isMegaContact()) { return true; } else { boolean isVerified = megaApi.areCredentialsVerified(info.getMegaContactAdapter().getMegaUser()); if (!isVerified) return true; } } return false; } private void observeFlow() { ViewExtensionsKt.collectFlow(this, viewModel.getState(), Lifecycle.State.STARTED, addContactState -> { if (adapterShare == null) { adapterShare = new ShareContactsAdapter(addContactActivity, addedContactsShare); } adapterShare.updateContactVerification(addContactState.isContactVerificationWarningEnabled()); isContactVerificationOn = addContactState.isContactVerificationWarningEnabled(); participantsLimitWarningView.setVisibility(addContactState.getShowUserLimitWarningDialog() ? View.VISIBLE : View.GONE); return Unit.INSTANCE; }); } } ```
The Hutchings Homestead, also known as the Cannon Ball House, is located in Springfield, Union County, New Jersey, United States. The homestead was built in 1741 and was added to the National Register of Historic Places on September 16, 1977. External links Revolutionary War New Jersey See also National Register of Historic Places listings in Union County, New Jersey References Houses completed in 1741 Houses on the National Register of Historic Places in New Jersey Houses in Union County, New Jersey National Register of Historic Places in Union County, New Jersey Springfield Township, Union County, New Jersey New Jersey Register of Historic Places
Jerry Lordan (born Jeremiah Patrick Lordan, 30 April 1934 – 24 July 1995) was an English songwriter, composer and singer. He had three hit singles on the UK Singles Chart before focusing purely on songwriting. Amongst his songwriting credits were the chart hits "I've Waited So Long", "Apache", "Wonderful Land", "Diamonds", and "A Girl Like You". Career Born as Jeremiah Patrick Lordan in Paddington, London, England, Lordan taught himself to play piano and guitar as a child. He attended Finchley Catholic High School and went into National Service in the Royal Air Force as a radar operator. On leaving the RAF in 1955, he held a number of jobs including comedian, singer and in advertising. He began song-writing, and in 1958, with the help of contacts made in the advertising business a demo of one of his songs was heard by a record producer. The song, "A House, A Car and a Wedding Ring" was recorded by Mike Preston on Decca Records. It did not sell well, but the song was successfully covered by the American rockabilly star, Dale Hawkins, on the Checker label. A later song, "I've Waited So Long" was recorded by the young Anthony Newley on Decca and got to number 3 on the UK Singles Chart in May 1959. He was signed as a singer to Parlophone and had three charting singles in 1960, the most successful being "Who Could Be Bluer?", produced by George Martin. He found real fame as a composer with the instrumental, "Apache". It was originally recorded by Bert Weedon, but Lordan did not like the version. Weedon's label, Top Rank, did not release it immediately. On tour with the Shadows, Lordan demonstrated the tune to bass player Jet Harris, reportedly picking out the tune on a ukulele as confirmed by the Shadows on BBC Radio 2 documentary, Out of the Shadows. When the rest of the band heard it, they agreed to record it. It was released in July 1960 and hit number one in August, staying at the top for five weeks. The Shadows' version was voted Top Record of 1960 in the New Musical Express Readers' Poll. The tune was also recorded by the Danish guitarist Jorgen Ingmann, who took it to number two on the Billboard Hot 100 in 1961. Lordan gave up singing for full-time writing. He wrote the Shadows' UK number one hit "Wonderful Land" (1962) and their hits "Atlantis" (which reached number two in 1963) and "Mary Anne" (a rare vocal single from the group). He achieved a further number one, "Diamonds" for the ex-Shadows' Jet Harris and Tony Meehan in 1963. Harris and Meehan also recorded his song "Scarlett O'Hara" taking it to number two in the same chart. He wrote other hits for Cliff Richard ("A Girl Like You"), Shane Fenton and Louise Cordet ("I'm Just a Baby"). By the end of the 1960s, the success was largely over and personal difficulties dogged Lordan through the 1970s. He became involved with the Cornish band the Onyx who under his guidance changed their name to Vineyard and released two singles on Decca and Deram in 1974. Later he made a brief foray in acting, appearing in the 1977 sex comedy, Come Play With Me. The film was directed by his neighbour, George Harrison Marks. In the 1980s, Lordan remarried and started to write again, although his songs were never published. Personal life Lordan's first marriage was in 1963 to Petrina Forsyth who (credited as Petrina Lordan) wrote the Shadows hit "A Place in the Sun" (1966) and also, with Hank Marvin, "Love, Truth and Emily Stone" for Cliff Richard on his album Tracks 'n Grooves (1970). His second marriage was to Claudine Albus/Hammerschmidt in 1980. Death Lordan died on 24 July 1995 in Shrewsbury Hospital, Shropshire, from acute renal failure, aged 61. A memorial service was held for him at St Martin-in-the-Fields on 25 October 1995, during which Bruce Welch of the Shadows participated. References External links 45-rpm.org [ Allmusic discography – songs] 1934 births 1995 deaths English male composers English male songwriters English male singers English people of Irish descent Musicians from Paddington Deaths from kidney failure 20th-century English singers 20th-century classical musicians People educated at Finchley Grammar School 20th-century British male singers
Väinö Villiam Skarp (10 October 1908 – 18 June 1981) was a Finnish sports shooter. He competed in the 50 m pistol event at the 1948 Summer Olympics. References External links 1908 births 1981 deaths Finnish male sport shooters Olympic shooters for Finland Shooters at the 1948 Summer Olympics Sportspeople from Helsinki
The John D. Spreckels Building is a building in San Diego. Completed in 1924, it was the tallest building in San Diego until the El Cortez Hotel was built three years later. The building was designed by Los Angeles-area architects John and Donald Parkinson and features architectural terra cotta produced by Gladding, McBean. References Emporis Skyscraper Page Skyscrapers in San Diego Skyscrapers in California Buildings and structures completed in 1924
Claus Berg (ca. 1470 – ca. 1532) was a German sculptor and painter who is remembered for his workshop in Odense and his decorative work in Danish churches, especially altarpieces and crucifixes. His finest work, the altarpiece which now stands in Odense Cathedral, was designed at the request of Queen Christine for the Franciscan abbey church of Gråbrødre (Gråbrødre Klosterkirke) which she had chosen as the burial site for her husband King Hans and herself. Biography Born in Lübeck in the north of Germany, Berg possibly first worked as a sculptor in Veit Stoss's workshop in Nuremberg. He was invited to Denmark by Queen Christine, arriving in about 1504 to head the workshop in Odense, one of the most important in Europe at the time, where he coordinated the work of his 12 assistants until 1532. The queen took great care of him, giving him Apostelgården, a nearby farm, as a home and, by some accounts, providing him with the company of one of her maids as a wife. In 1507, he is mentioned as a citizen of Odense and in 1508 and 1510 as a painter in the queen's accounts. The decorated choir in Odense's Gråbrødre Church, especially the altarpiece which can now be seen in Odense Cathedral, is the only work which can be directly attributed to Berg. It appears to have been undertaken at the request of the queen who wished to prepare the Gråbrødre Church, which has since been demolished, as the burial site for her husband and herself. Other works have been ascribed to him on the basis of their style, for example the altarpiece in Sanderum. Berg's son, Frants Berg (1504–1591), whose godmother was Queen Christine, became a priest at St. Nikolaj Church in Copenhagen and later Bishop of Oslo. Works The altarpiece from Gråbrødre Church, now in Odense Cathedral, was probably completed after the death of Queen Catherine in 1521. Standing 3.75 metres high, the carved oak triptych depicts the traditional, if unusually interconnected, themes of the crucifixion, the passion and the crowning of Mary. The central section shows the crucified Jesus on the tree of life surrounded by apostles, Biblical and historical figures, with Francis of Assisi at his feet. Above, Mary is crowned queen of heaven surrounded by sparkling angels. Below, Saint Anne is shown with the infant Jesus and his mother Mary. The side wings present the Passion, from the Last Supper to the Ascension with the apostles at Pentecost at the bottom right. The base shows members of the royal family including King Christian II, King Hans and his wife Queen Christine, now dressed as a widow. The style indicates connections with southern German art, characterized by the realistic, plastic look of the figures, probably inspired by Albrecht Dürer from Nuremberg. Restoration work in 1973-86 showed how the altarpiece consisted of a basic carved skeleton which was then gilded and painted. Some 90 per cent of the original work was preserved under several layers of subsequent coating. Other works ascribed to Berg include the altarpieces in Bregninge Church on Ærø, in Sanderum Church near Odense and in the Church of Our Lady in Aarhus and crucifixes in Asperup Church and Vindinge Church on Funen and in Sorø Church (1527). Berg's workshop also produced limestone reliefs as well as tombstones for King Hans in Odense Cathedral (originally in Gråbrødre Church) and for Bishop Ivan Munk in Ribe Cathedral. In Germany, works ascribed to Berg include the Madonna (1500) in Lübeck's St. Annen Museum and the apostle figures in Güstrow Cathedral (ca. 1530). Gallery with the famous Apostle figures of the Güstrow Cathedral See also Danish sculpture References 15th-century Danish sculptors 16th-century Danish sculptors 15th-century German sculptors 16th-century German sculptors German male sculptors 1470 births 1532 deaths Artists from Lübeck German emigrants to Denmark
Linda Mary MacWhinney (; 1 July 1888 – 5 June 1951) was an Irish nurse and Fianna Fáil politician. Early life Born in Cloonagh, Dromard, County Sligo, she was one of eight children born to Thomas and Catherine "Nora" (née Clarke) Kearns. From 1907, she studied and trained to be a nurse. She had not been interested in nationalism or republicanism prior to the Easter Rising and had intended to serve as a nurse in France during World War I until a chance meeting with Thomas MacDonagh changed her mind and radicalised her. Easter Rising Two days after the insurgents seized the Dublin GPO during the Easter Rising in April 1916, Kearns, a nurse, took over an empty building on North Great George's Street. She hung a Red Cross flag above the door and welcomed casualties of the fighting, from both sides of the conflict. However, as she had treated republican volunteers during the uprising, the British Army ordered Kearns to close her unofficial hospital. She did so, with great reluctance. After the Rising She realised she had skills that could be useful in times of war. After the Rising she went into private nursing. She was the nurse to the O'Connor Morris family in Tullamore and traveled extensively with them. After Maurice O'Connor Morris's death on 11 February 1916, he left Linda an inheritance of £2,500. She was able to purchase a car, which would later come in useful during the Irish War of Independence when she worked as a courier for Michael Collins transporting information and sometimes arms. Her status as a nurse helped her evade detection until she was caught in November 1920 in Sligo transporting firearms. The county inspector reported her arrest as follows: In a statement to the Bureau of Military History in 1950, Kearns alleged she was badly beaten during her arrest by a Black and Tan Officer, so much so she suffered permanent damage to her teeth. She was sentenced to 10 years imprisonment. She served time in a number of Irish prisons before being sent to Walton Prison in Liverpool, where she went on hunger strike. From there she was sent to Mountjoy Prison. In October 1921, she famously escaped from Mountjoy Jail with three other women, Mae Burke, Eileen Keogh, and Eithne Coyle. The escape had been personally arranged by Michael Collins, and it made international headlines, featuring in the New York Times on 31 October 1921 under the heading "Four Women Break Jail". Following their escape, Kearns and her fellow escapees split up and were taken to individual safe houses. However, they were each visited by a man calling himself Seamus Burke, who had previously visited them in Mountjoy claiming to be an IRA man, and were told they needed to be regrouped. The four were not long back together when they were notified in a message from Michael Collins that Seamus Burke was, in fact, a British spy who was trying to regroup them so that they could all be re-arrested together. They were ordered to immediately move to an IRA training camp in Duckett's Grove, County Carlow. The four women remained there until the signing of the Anglo-Irish Treaty. Her memoir, In Times of Peril, leaves from the Diary of Nurse Linda Kearns from Easter Week 1916 to Mountjoy 1921 was edited by Annie M.P. Smithson in 1922. In 1924–25, she conducted a successful fundraising tour of Australia on behalf of Republican causes. Linda Kearns was one of five women elected to the executive of Fianna Fail when it was formed in 1926. She was elected to Seanad Éireann on the Industrial and Commercial Panel in April 1938. She was defeated at the Seanad election of August 1938. Personal life She married Wilson Charles MacWhinney in 1929. MacWhinney was formerly a Commanding Officer in Derry Brigade IRA during the war of Independence before moving to Dublin in 1924. Together they had one daughter, Ann, in 1930. See also List of members of the Oireachtas imprisoned during the Irish revolutionary period References External links In times of peril: leaves from the diary of Nurse Linda Kearns from Easter week, 1916, to Mountjoy, 1921, edited by Annie M.P. Smithson, held at Villanova University's Falvey Memorial Library. 1888 births 1951 deaths Fianna Fáil senators Irish nurses Members of the 2nd Seanad 20th-century women members of Seanad Éireann Politicians from County Sligo Politicians from County Dublin Women in war in Ireland Health professionals from County Sligo Industrial and Commercial Panel senators
```objective-c /* * WARNING: do not edit! * Generated by makefile from include/openssl/asn1.h.in * * * in the file LICENSE in the source distribution or at * path_to_url */ #ifndef OPENSSL_ASN1_H # define OPENSSL_ASN1_H # pragma once # include <openssl/macros.h> # ifndef OPENSSL_NO_DEPRECATED_3_0 # define HEADER_ASN1_H # endif # include <time.h> # include <openssl/e_os2.h> # include <openssl/opensslconf.h> # include <openssl/bio.h> # include <openssl/safestack.h> # include <openssl/asn1err.h> # include <openssl/symhacks.h> # include <openssl/types.h> # include <openssl/bn.h> # ifdef OPENSSL_BUILD_SHLIBCRYPTO # undef OPENSSL_EXTERN # define OPENSSL_EXTERN OPENSSL_EXPORT # endif #ifdef __cplusplus extern "C" { #endif # define V_ASN1_UNIVERSAL 0x00 # define V_ASN1_APPLICATION 0x40 # define V_ASN1_CONTEXT_SPECIFIC 0x80 # define V_ASN1_PRIVATE 0xc0 # define V_ASN1_CONSTRUCTED 0x20 # define V_ASN1_PRIMITIVE_TAG 0x1f # define V_ASN1_PRIMATIVE_TAG /*compat*/ V_ASN1_PRIMITIVE_TAG # define V_ASN1_APP_CHOOSE -2/* let the recipient choose */ # define V_ASN1_OTHER -3/* used in ASN1_TYPE */ # define V_ASN1_ANY -4/* used in ASN1 template code */ # define V_ASN1_UNDEF -1 /* ASN.1 tag values */ # define V_ASN1_EOC 0 # define V_ASN1_BOOLEAN 1 /**/ # define V_ASN1_INTEGER 2 # define V_ASN1_BIT_STRING 3 # define V_ASN1_OCTET_STRING 4 # define V_ASN1_NULL 5 # define V_ASN1_OBJECT 6 # define V_ASN1_OBJECT_DESCRIPTOR 7 # define V_ASN1_EXTERNAL 8 # define V_ASN1_REAL 9 # define V_ASN1_ENUMERATED 10 # define V_ASN1_UTF8STRING 12 # define V_ASN1_SEQUENCE 16 # define V_ASN1_SET 17 # define V_ASN1_NUMERICSTRING 18 /**/ # define V_ASN1_PRINTABLESTRING 19 # define V_ASN1_T61STRING 20 # define V_ASN1_TELETEXSTRING 20/* alias */ # define V_ASN1_VIDEOTEXSTRING 21 /**/ # define V_ASN1_IA5STRING 22 # define V_ASN1_UTCTIME 23 # define V_ASN1_GENERALIZEDTIME 24 /**/ # define V_ASN1_GRAPHICSTRING 25 /**/ # define V_ASN1_ISO64STRING 26 /**/ # define V_ASN1_VISIBLESTRING 26/* alias */ # define V_ASN1_GENERALSTRING 27 /**/ # define V_ASN1_UNIVERSALSTRING 28 /**/ # define V_ASN1_BMPSTRING 30 /* * NB the constants below are used internally by ASN1_INTEGER * and ASN1_ENUMERATED to indicate the sign. They are *not* on * the wire tag values. */ # define V_ASN1_NEG 0x100 # define V_ASN1_NEG_INTEGER (2 | V_ASN1_NEG) # define V_ASN1_NEG_ENUMERATED (10 | V_ASN1_NEG) /* For use with d2i_ASN1_type_bytes() */ # define B_ASN1_NUMERICSTRING 0x0001 # define B_ASN1_PRINTABLESTRING 0x0002 # define B_ASN1_T61STRING 0x0004 # define B_ASN1_TELETEXSTRING 0x0004 # define B_ASN1_VIDEOTEXSTRING 0x0008 # define B_ASN1_IA5STRING 0x0010 # define B_ASN1_GRAPHICSTRING 0x0020 # define B_ASN1_ISO64STRING 0x0040 # define B_ASN1_VISIBLESTRING 0x0040 # define B_ASN1_GENERALSTRING 0x0080 # define B_ASN1_UNIVERSALSTRING 0x0100 # define B_ASN1_OCTET_STRING 0x0200 # define B_ASN1_BIT_STRING 0x0400 # define B_ASN1_BMPSTRING 0x0800 # define B_ASN1_UNKNOWN 0x1000 # define B_ASN1_UTF8STRING 0x2000 # define B_ASN1_UTCTIME 0x4000 # define B_ASN1_GENERALIZEDTIME 0x8000 # define B_ASN1_SEQUENCE 0x10000 /* For use with ASN1_mbstring_copy() */ # define MBSTRING_FLAG 0x1000 # define MBSTRING_UTF8 (MBSTRING_FLAG) # define MBSTRING_ASC (MBSTRING_FLAG|1) # define MBSTRING_BMP (MBSTRING_FLAG|2) # define MBSTRING_UNIV (MBSTRING_FLAG|4) # define SMIME_OLDMIME 0x400 # define SMIME_CRLFEOL 0x800 # define SMIME_STREAM 0x1000 /* Stacks for types not otherwise defined in this header */ SKM_DEFINE_STACK_OF_INTERNAL(X509_ALGOR, X509_ALGOR, X509_ALGOR) #define sk_X509_ALGOR_num(sk) OPENSSL_sk_num(ossl_check_const_X509_ALGOR_sk_type(sk)) #define sk_X509_ALGOR_value(sk, idx) ((X509_ALGOR *)OPENSSL_sk_value(ossl_check_const_X509_ALGOR_sk_type(sk), (idx))) #define sk_X509_ALGOR_new(cmp) ((STACK_OF(X509_ALGOR) *)OPENSSL_sk_new(ossl_check_X509_ALGOR_compfunc_type(cmp))) #define sk_X509_ALGOR_new_null() ((STACK_OF(X509_ALGOR) *)OPENSSL_sk_new_null()) #define sk_X509_ALGOR_new_reserve(cmp, n) ((STACK_OF(X509_ALGOR) *)OPENSSL_sk_new_reserve(ossl_check_X509_ALGOR_compfunc_type(cmp), (n))) #define sk_X509_ALGOR_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_X509_ALGOR_sk_type(sk), (n)) #define sk_X509_ALGOR_free(sk) OPENSSL_sk_free(ossl_check_X509_ALGOR_sk_type(sk)) #define sk_X509_ALGOR_zero(sk) OPENSSL_sk_zero(ossl_check_X509_ALGOR_sk_type(sk)) #define sk_X509_ALGOR_delete(sk, i) ((X509_ALGOR *)OPENSSL_sk_delete(ossl_check_X509_ALGOR_sk_type(sk), (i))) #define sk_X509_ALGOR_delete_ptr(sk, ptr) ((X509_ALGOR *)OPENSSL_sk_delete_ptr(ossl_check_X509_ALGOR_sk_type(sk), ossl_check_X509_ALGOR_type(ptr))) #define sk_X509_ALGOR_push(sk, ptr) OPENSSL_sk_push(ossl_check_X509_ALGOR_sk_type(sk), ossl_check_X509_ALGOR_type(ptr)) #define sk_X509_ALGOR_unshift(sk, ptr) OPENSSL_sk_unshift(ossl_check_X509_ALGOR_sk_type(sk), ossl_check_X509_ALGOR_type(ptr)) #define sk_X509_ALGOR_pop(sk) ((X509_ALGOR *)OPENSSL_sk_pop(ossl_check_X509_ALGOR_sk_type(sk))) #define sk_X509_ALGOR_shift(sk) ((X509_ALGOR *)OPENSSL_sk_shift(ossl_check_X509_ALGOR_sk_type(sk))) #define sk_X509_ALGOR_pop_free(sk, freefunc) OPENSSL_sk_pop_free(ossl_check_X509_ALGOR_sk_type(sk),ossl_check_X509_ALGOR_freefunc_type(freefunc)) #define sk_X509_ALGOR_insert(sk, ptr, idx) OPENSSL_sk_insert(ossl_check_X509_ALGOR_sk_type(sk), ossl_check_X509_ALGOR_type(ptr), (idx)) #define sk_X509_ALGOR_set(sk, idx, ptr) ((X509_ALGOR *)OPENSSL_sk_set(ossl_check_X509_ALGOR_sk_type(sk), (idx), ossl_check_X509_ALGOR_type(ptr))) #define sk_X509_ALGOR_find(sk, ptr) OPENSSL_sk_find(ossl_check_X509_ALGOR_sk_type(sk), ossl_check_X509_ALGOR_type(ptr)) #define sk_X509_ALGOR_find_ex(sk, ptr) OPENSSL_sk_find_ex(ossl_check_X509_ALGOR_sk_type(sk), ossl_check_X509_ALGOR_type(ptr)) #define sk_X509_ALGOR_find_all(sk, ptr, pnum) OPENSSL_sk_find_all(ossl_check_X509_ALGOR_sk_type(sk), ossl_check_X509_ALGOR_type(ptr), pnum) #define sk_X509_ALGOR_sort(sk) OPENSSL_sk_sort(ossl_check_X509_ALGOR_sk_type(sk)) #define sk_X509_ALGOR_is_sorted(sk) OPENSSL_sk_is_sorted(ossl_check_const_X509_ALGOR_sk_type(sk)) #define sk_X509_ALGOR_dup(sk) ((STACK_OF(X509_ALGOR) *)OPENSSL_sk_dup(ossl_check_const_X509_ALGOR_sk_type(sk))) #define sk_X509_ALGOR_deep_copy(sk, copyfunc, freefunc) ((STACK_OF(X509_ALGOR) *)OPENSSL_sk_deep_copy(ossl_check_const_X509_ALGOR_sk_type(sk), ossl_check_X509_ALGOR_copyfunc_type(copyfunc), ossl_check_X509_ALGOR_freefunc_type(freefunc))) #define sk_X509_ALGOR_set_cmp_func(sk, cmp) ((sk_X509_ALGOR_compfunc)OPENSSL_sk_set_cmp_func(ossl_check_X509_ALGOR_sk_type(sk), ossl_check_X509_ALGOR_compfunc_type(cmp))) # define ASN1_STRING_FLAG_BITS_LEFT 0x08/* Set if 0x07 has bits left value */ /* * This indicates that the ASN1_STRING is not a real value but just a place * holder for the location where indefinite length constructed data should be * inserted in the memory buffer */ # define ASN1_STRING_FLAG_NDEF 0x010 /* * This flag is used by the CMS code to indicate that a string is not * complete and is a place holder for content when it had all been accessed. * The flag will be reset when content has been written to it. */ # define ASN1_STRING_FLAG_CONT 0x020 /* * This flag is used by ASN1 code to indicate an ASN1_STRING is an MSTRING * type. */ # define ASN1_STRING_FLAG_MSTRING 0x040 /* String is embedded and only content should be freed */ # define ASN1_STRING_FLAG_EMBED 0x080 /* String should be parsed in RFC 5280's time format */ # define ASN1_STRING_FLAG_X509_TIME 0x100 /* This is the base type that holds just about everything :-) */ struct asn1_string_st { int length; int type; unsigned char *data; /* * The value of the following field depends on the type being held. It * is mostly being used for BIT_STRING so if the input data has a * non-zero 'unused bits' value, it will be handled correctly */ long flags; }; /* * ASN1_ENCODING structure: this is used to save the received encoding of an * ASN1 type. This is useful to get round problems with invalid encodings * which can break signatures. */ typedef struct ASN1_ENCODING_st { unsigned char *enc; /* DER encoding */ long len; /* Length of encoding */ int modified; /* set to 1 if 'enc' is invalid */ } ASN1_ENCODING; /* Used with ASN1 LONG type: if a long is set to this it is omitted */ # define ASN1_LONG_UNDEF 0x7fffffffL # define STABLE_FLAGS_MALLOC 0x01 /* * A zero passed to ASN1_STRING_TABLE_new_add for the flags is interpreted * as "don't change" and STABLE_FLAGS_MALLOC is always set. By setting * STABLE_FLAGS_MALLOC only we can clear the existing value. Use the alias * STABLE_FLAGS_CLEAR to reflect this. */ # define STABLE_FLAGS_CLEAR STABLE_FLAGS_MALLOC # define STABLE_NO_MASK 0x02 # define DIRSTRING_TYPE \ (B_ASN1_PRINTABLESTRING|B_ASN1_T61STRING|B_ASN1_BMPSTRING|B_ASN1_UTF8STRING) # define PKCS9STRING_TYPE (DIRSTRING_TYPE|B_ASN1_IA5STRING) struct asn1_string_table_st { int nid; long minsize; long maxsize; unsigned long mask; unsigned long flags; }; SKM_DEFINE_STACK_OF_INTERNAL(ASN1_STRING_TABLE, ASN1_STRING_TABLE, ASN1_STRING_TABLE) #define sk_ASN1_STRING_TABLE_num(sk) OPENSSL_sk_num(ossl_check_const_ASN1_STRING_TABLE_sk_type(sk)) #define sk_ASN1_STRING_TABLE_value(sk, idx) ((ASN1_STRING_TABLE *)OPENSSL_sk_value(ossl_check_const_ASN1_STRING_TABLE_sk_type(sk), (idx))) #define sk_ASN1_STRING_TABLE_new(cmp) ((STACK_OF(ASN1_STRING_TABLE) *)OPENSSL_sk_new(ossl_check_ASN1_STRING_TABLE_compfunc_type(cmp))) #define sk_ASN1_STRING_TABLE_new_null() ((STACK_OF(ASN1_STRING_TABLE) *)OPENSSL_sk_new_null()) #define sk_ASN1_STRING_TABLE_new_reserve(cmp, n) ((STACK_OF(ASN1_STRING_TABLE) *)OPENSSL_sk_new_reserve(ossl_check_ASN1_STRING_TABLE_compfunc_type(cmp), (n))) #define sk_ASN1_STRING_TABLE_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_ASN1_STRING_TABLE_sk_type(sk), (n)) #define sk_ASN1_STRING_TABLE_free(sk) OPENSSL_sk_free(ossl_check_ASN1_STRING_TABLE_sk_type(sk)) #define sk_ASN1_STRING_TABLE_zero(sk) OPENSSL_sk_zero(ossl_check_ASN1_STRING_TABLE_sk_type(sk)) #define sk_ASN1_STRING_TABLE_delete(sk, i) ((ASN1_STRING_TABLE *)OPENSSL_sk_delete(ossl_check_ASN1_STRING_TABLE_sk_type(sk), (i))) #define sk_ASN1_STRING_TABLE_delete_ptr(sk, ptr) ((ASN1_STRING_TABLE *)OPENSSL_sk_delete_ptr(ossl_check_ASN1_STRING_TABLE_sk_type(sk), ossl_check_ASN1_STRING_TABLE_type(ptr))) #define sk_ASN1_STRING_TABLE_push(sk, ptr) OPENSSL_sk_push(ossl_check_ASN1_STRING_TABLE_sk_type(sk), ossl_check_ASN1_STRING_TABLE_type(ptr)) #define sk_ASN1_STRING_TABLE_unshift(sk, ptr) OPENSSL_sk_unshift(ossl_check_ASN1_STRING_TABLE_sk_type(sk), ossl_check_ASN1_STRING_TABLE_type(ptr)) #define sk_ASN1_STRING_TABLE_pop(sk) ((ASN1_STRING_TABLE *)OPENSSL_sk_pop(ossl_check_ASN1_STRING_TABLE_sk_type(sk))) #define sk_ASN1_STRING_TABLE_shift(sk) ((ASN1_STRING_TABLE *)OPENSSL_sk_shift(ossl_check_ASN1_STRING_TABLE_sk_type(sk))) #define sk_ASN1_STRING_TABLE_pop_free(sk, freefunc) OPENSSL_sk_pop_free(ossl_check_ASN1_STRING_TABLE_sk_type(sk),ossl_check_ASN1_STRING_TABLE_freefunc_type(freefunc)) #define sk_ASN1_STRING_TABLE_insert(sk, ptr, idx) OPENSSL_sk_insert(ossl_check_ASN1_STRING_TABLE_sk_type(sk), ossl_check_ASN1_STRING_TABLE_type(ptr), (idx)) #define sk_ASN1_STRING_TABLE_set(sk, idx, ptr) ((ASN1_STRING_TABLE *)OPENSSL_sk_set(ossl_check_ASN1_STRING_TABLE_sk_type(sk), (idx), ossl_check_ASN1_STRING_TABLE_type(ptr))) #define sk_ASN1_STRING_TABLE_find(sk, ptr) OPENSSL_sk_find(ossl_check_ASN1_STRING_TABLE_sk_type(sk), ossl_check_ASN1_STRING_TABLE_type(ptr)) #define sk_ASN1_STRING_TABLE_find_ex(sk, ptr) OPENSSL_sk_find_ex(ossl_check_ASN1_STRING_TABLE_sk_type(sk), ossl_check_ASN1_STRING_TABLE_type(ptr)) #define sk_ASN1_STRING_TABLE_find_all(sk, ptr, pnum) OPENSSL_sk_find_all(ossl_check_ASN1_STRING_TABLE_sk_type(sk), ossl_check_ASN1_STRING_TABLE_type(ptr), pnum) #define sk_ASN1_STRING_TABLE_sort(sk) OPENSSL_sk_sort(ossl_check_ASN1_STRING_TABLE_sk_type(sk)) #define sk_ASN1_STRING_TABLE_is_sorted(sk) OPENSSL_sk_is_sorted(ossl_check_const_ASN1_STRING_TABLE_sk_type(sk)) #define sk_ASN1_STRING_TABLE_dup(sk) ((STACK_OF(ASN1_STRING_TABLE) *)OPENSSL_sk_dup(ossl_check_const_ASN1_STRING_TABLE_sk_type(sk))) #define sk_ASN1_STRING_TABLE_deep_copy(sk, copyfunc, freefunc) ((STACK_OF(ASN1_STRING_TABLE) *)OPENSSL_sk_deep_copy(ossl_check_const_ASN1_STRING_TABLE_sk_type(sk), ossl_check_ASN1_STRING_TABLE_copyfunc_type(copyfunc), ossl_check_ASN1_STRING_TABLE_freefunc_type(freefunc))) #define sk_ASN1_STRING_TABLE_set_cmp_func(sk, cmp) ((sk_ASN1_STRING_TABLE_compfunc)OPENSSL_sk_set_cmp_func(ossl_check_ASN1_STRING_TABLE_sk_type(sk), ossl_check_ASN1_STRING_TABLE_compfunc_type(cmp))) /* size limits: this stuff is taken straight from RFC2459 */ # define ub_name 32768 # define ub_common_name 64 # define ub_locality_name 128 # define ub_state_name 128 # define ub_organization_name 64 # define ub_organization_unit_name 64 # define ub_title 64 # define ub_email_address 128 /* * Declarations for template structures: for full definitions see asn1t.h */ typedef struct ASN1_TEMPLATE_st ASN1_TEMPLATE; typedef struct ASN1_TLC_st ASN1_TLC; /* This is just an opaque pointer */ typedef struct ASN1_VALUE_st ASN1_VALUE; /* Declare ASN1 functions: the implement macro in in asn1t.h */ /* * The mysterious 'extern' that's passed to some macros is innocuous, * and is there to quiet pre-C99 compilers that may complain about empty * arguments in macro calls. */ # define DECLARE_ASN1_FUNCTIONS_attr(attr, type) \ DECLARE_ASN1_FUNCTIONS_name_attr(attr, type, type) # define DECLARE_ASN1_FUNCTIONS(type) \ DECLARE_ASN1_FUNCTIONS_attr(extern, type) # define DECLARE_ASN1_ALLOC_FUNCTIONS_attr(attr, type) \ DECLARE_ASN1_ALLOC_FUNCTIONS_name_attr(attr, type, type) # define DECLARE_ASN1_ALLOC_FUNCTIONS(type) \ DECLARE_ASN1_ALLOC_FUNCTIONS_attr(extern, type) # define DECLARE_ASN1_FUNCTIONS_name_attr(attr, type, name) \ DECLARE_ASN1_ALLOC_FUNCTIONS_name_attr(attr, type, name) \ DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(attr, type, name) # define DECLARE_ASN1_FUNCTIONS_name(type, name) \ DECLARE_ASN1_FUNCTIONS_name_attr(extern, type, name) # define DECLARE_ASN1_ENCODE_FUNCTIONS_attr(attr, type, itname, name) \ DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(attr, type, name) \ DECLARE_ASN1_ITEM_attr(attr, itname) # define DECLARE_ASN1_ENCODE_FUNCTIONS(type, itname, name) \ DECLARE_ASN1_ENCODE_FUNCTIONS_attr(extern, type, itname, name) # define DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(attr, type, name) \ DECLARE_ASN1_ENCODE_FUNCTIONS_attr(attr, type, name, name) # define DECLARE_ASN1_ENCODE_FUNCTIONS_name(type, name) \ DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(extern, type, name) # define DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(attr, type, name) \ attr type *d2i_##name(type **a, const unsigned char **in, long len); \ attr int i2d_##name(const type *a, unsigned char **out); # define DECLARE_ASN1_ENCODE_FUNCTIONS_only(type, name) \ DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(extern, type, name) # define DECLARE_ASN1_NDEF_FUNCTION_attr(attr, name) \ attr int i2d_##name##_NDEF(const name *a, unsigned char **out); # define DECLARE_ASN1_NDEF_FUNCTION(name) \ DECLARE_ASN1_NDEF_FUNCTION_attr(extern, name) # define DECLARE_ASN1_ALLOC_FUNCTIONS_name_attr(attr, type, name) \ attr type *name##_new(void); \ attr void name##_free(type *a); # define DECLARE_ASN1_ALLOC_FUNCTIONS_name(type, name) \ DECLARE_ASN1_ALLOC_FUNCTIONS_name_attr(extern, type, name) # define DECLARE_ASN1_DUP_FUNCTION_attr(attr, type) \ DECLARE_ASN1_DUP_FUNCTION_name_attr(attr, type, type) # define DECLARE_ASN1_DUP_FUNCTION(type) \ DECLARE_ASN1_DUP_FUNCTION_attr(extern, type) # define DECLARE_ASN1_DUP_FUNCTION_name_attr(attr, type, name) \ attr type *name##_dup(const type *a); # define DECLARE_ASN1_DUP_FUNCTION_name(type, name) \ DECLARE_ASN1_DUP_FUNCTION_name_attr(extern, type, name) # define DECLARE_ASN1_PRINT_FUNCTION_attr(attr, stname) \ DECLARE_ASN1_PRINT_FUNCTION_fname_attr(attr, stname, stname) # define DECLARE_ASN1_PRINT_FUNCTION(stname) \ DECLARE_ASN1_PRINT_FUNCTION_attr(extern, stname) # define DECLARE_ASN1_PRINT_FUNCTION_fname_attr(attr, stname, fname) \ attr int fname##_print_ctx(BIO *out, const stname *x, int indent, \ const ASN1_PCTX *pctx); # define DECLARE_ASN1_PRINT_FUNCTION_fname(stname, fname) \ DECLARE_ASN1_PRINT_FUNCTION_fname_attr(extern, stname, fname) # define D2I_OF(type) type *(*)(type **,const unsigned char **,long) # define I2D_OF(type) int (*)(const type *,unsigned char **) # define CHECKED_D2I_OF(type, d2i) \ ((d2i_of_void*) (1 ? d2i : ((D2I_OF(type))0))) # define CHECKED_I2D_OF(type, i2d) \ ((i2d_of_void*) (1 ? i2d : ((I2D_OF(type))0))) # define CHECKED_NEW_OF(type, xnew) \ ((void *(*)(void)) (1 ? xnew : ((type *(*)(void))0))) # define CHECKED_PTR_OF(type, p) \ ((void*) (1 ? p : (type*)0)) # define CHECKED_PPTR_OF(type, p) \ ((void**) (1 ? p : (type**)0)) # define TYPEDEF_D2I_OF(type) typedef type *d2i_of_##type(type **,const unsigned char **,long) # define TYPEDEF_I2D_OF(type) typedef int i2d_of_##type(const type *,unsigned char **) # define TYPEDEF_D2I2D_OF(type) TYPEDEF_D2I_OF(type); TYPEDEF_I2D_OF(type) typedef void *d2i_of_void(void **, const unsigned char **, long); typedef int i2d_of_void(const void *, unsigned char **); /*- * The following macros and typedefs allow an ASN1_ITEM * to be embedded in a structure and referenced. Since * the ASN1_ITEM pointers need to be globally accessible * (possibly from shared libraries) they may exist in * different forms. On platforms that support it the * ASN1_ITEM structure itself will be globally exported. * Other platforms will export a function that returns * an ASN1_ITEM pointer. * * To handle both cases transparently the macros below * should be used instead of hard coding an ASN1_ITEM * pointer in a structure. * * The structure will look like this: * * typedef struct SOMETHING_st { * ... * ASN1_ITEM_EXP *iptr; * ... * } SOMETHING; * * It would be initialised as e.g.: * * SOMETHING somevar = {...,ASN1_ITEM_ref(X509),...}; * * and the actual pointer extracted with: * * const ASN1_ITEM *it = ASN1_ITEM_ptr(somevar.iptr); * * Finally an ASN1_ITEM pointer can be extracted from an * appropriate reference with: ASN1_ITEM_rptr(X509). This * would be used when a function takes an ASN1_ITEM * argument. * */ /* * Platforms that can't easily handle shared global variables are declared as * functions returning ASN1_ITEM pointers. */ /* ASN1_ITEM pointer exported type */ typedef const ASN1_ITEM *ASN1_ITEM_EXP (void); /* Macro to obtain ASN1_ITEM pointer from exported type */ # define ASN1_ITEM_ptr(iptr) (iptr()) /* Macro to include ASN1_ITEM pointer from base type */ # define ASN1_ITEM_ref(iptr) (iptr##_it) # define ASN1_ITEM_rptr(ref) (ref##_it()) # define DECLARE_ASN1_ITEM_attr(attr, name) \ attr const ASN1_ITEM * name##_it(void); # define DECLARE_ASN1_ITEM(name) \ DECLARE_ASN1_ITEM_attr(extern, name) /* Parameters used by ASN1_STRING_print_ex() */ /* * These determine which characters to escape: RFC2253 special characters, * control characters and MSB set characters */ # define ASN1_STRFLGS_ESC_2253 1 # define ASN1_STRFLGS_ESC_CTRL 2 # define ASN1_STRFLGS_ESC_MSB 4 /* Lower 8 bits are reserved as an output type specifier */ # define ASN1_DTFLGS_TYPE_MASK 0x0FUL # define ASN1_DTFLGS_RFC822 0x00UL # define ASN1_DTFLGS_ISO8601 0x01UL /* * This flag determines how we do escaping: normally RC2253 backslash only, * set this to use backslash and quote. */ # define ASN1_STRFLGS_ESC_QUOTE 8 /* These three flags are internal use only. */ /* Character is a valid PrintableString character */ # define CHARTYPE_PRINTABLESTRING 0x10 /* Character needs escaping if it is the first character */ # define CHARTYPE_FIRST_ESC_2253 0x20 /* Character needs escaping if it is the last character */ # define CHARTYPE_LAST_ESC_2253 0x40 /* * NB the internal flags are safely reused below by flags handled at the top * level. */ /* * If this is set we convert all character strings to UTF8 first */ # define ASN1_STRFLGS_UTF8_CONVERT 0x10 /* * If this is set we don't attempt to interpret content: just assume all * strings are 1 byte per character. This will produce some pretty odd * looking output! */ # define ASN1_STRFLGS_IGNORE_TYPE 0x20 /* If this is set we include the string type in the output */ # define ASN1_STRFLGS_SHOW_TYPE 0x40 /* * This determines which strings to display and which to 'dump' (hex dump of * content octets or DER encoding). We can only dump non character strings or * everything. If we don't dump 'unknown' they are interpreted as character * strings with 1 octet per character and are subject to the usual escaping * options. */ # define ASN1_STRFLGS_DUMP_ALL 0x80 # define ASN1_STRFLGS_DUMP_UNKNOWN 0x100 /* * These determine what 'dumping' does, we can dump the content octets or the * DER encoding: both use the RFC2253 #XXXXX notation. */ # define ASN1_STRFLGS_DUMP_DER 0x200 /* * This flag specifies that RC2254 escaping shall be performed. */ #define ASN1_STRFLGS_ESC_2254 0x400 /* * All the string flags consistent with RFC2253, escaping control characters * isn't essential in RFC2253 but it is advisable anyway. */ # define ASN1_STRFLGS_RFC2253 (ASN1_STRFLGS_ESC_2253 | \ ASN1_STRFLGS_ESC_CTRL | \ ASN1_STRFLGS_ESC_MSB | \ ASN1_STRFLGS_UTF8_CONVERT | \ ASN1_STRFLGS_DUMP_UNKNOWN | \ ASN1_STRFLGS_DUMP_DER) struct asn1_type_st { int type; union { char *ptr; ASN1_BOOLEAN boolean; ASN1_STRING *asn1_string; ASN1_OBJECT *object; ASN1_INTEGER *integer; ASN1_ENUMERATED *enumerated; ASN1_BIT_STRING *bit_string; ASN1_OCTET_STRING *octet_string; ASN1_PRINTABLESTRING *printablestring; ASN1_T61STRING *t61string; ASN1_IA5STRING *ia5string; ASN1_GENERALSTRING *generalstring; ASN1_BMPSTRING *bmpstring; ASN1_UNIVERSALSTRING *universalstring; ASN1_UTCTIME *utctime; ASN1_GENERALIZEDTIME *generalizedtime; ASN1_VISIBLESTRING *visiblestring; ASN1_UTF8STRING *utf8string; /* * set and sequence are left complete and still contain the set or * sequence bytes */ ASN1_STRING *set; ASN1_STRING *sequence; ASN1_VALUE *asn1_value; } value; }; SKM_DEFINE_STACK_OF_INTERNAL(ASN1_TYPE, ASN1_TYPE, ASN1_TYPE) #define sk_ASN1_TYPE_num(sk) OPENSSL_sk_num(ossl_check_const_ASN1_TYPE_sk_type(sk)) #define sk_ASN1_TYPE_value(sk, idx) ((ASN1_TYPE *)OPENSSL_sk_value(ossl_check_const_ASN1_TYPE_sk_type(sk), (idx))) #define sk_ASN1_TYPE_new(cmp) ((STACK_OF(ASN1_TYPE) *)OPENSSL_sk_new(ossl_check_ASN1_TYPE_compfunc_type(cmp))) #define sk_ASN1_TYPE_new_null() ((STACK_OF(ASN1_TYPE) *)OPENSSL_sk_new_null()) #define sk_ASN1_TYPE_new_reserve(cmp, n) ((STACK_OF(ASN1_TYPE) *)OPENSSL_sk_new_reserve(ossl_check_ASN1_TYPE_compfunc_type(cmp), (n))) #define sk_ASN1_TYPE_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_ASN1_TYPE_sk_type(sk), (n)) #define sk_ASN1_TYPE_free(sk) OPENSSL_sk_free(ossl_check_ASN1_TYPE_sk_type(sk)) #define sk_ASN1_TYPE_zero(sk) OPENSSL_sk_zero(ossl_check_ASN1_TYPE_sk_type(sk)) #define sk_ASN1_TYPE_delete(sk, i) ((ASN1_TYPE *)OPENSSL_sk_delete(ossl_check_ASN1_TYPE_sk_type(sk), (i))) #define sk_ASN1_TYPE_delete_ptr(sk, ptr) ((ASN1_TYPE *)OPENSSL_sk_delete_ptr(ossl_check_ASN1_TYPE_sk_type(sk), ossl_check_ASN1_TYPE_type(ptr))) #define sk_ASN1_TYPE_push(sk, ptr) OPENSSL_sk_push(ossl_check_ASN1_TYPE_sk_type(sk), ossl_check_ASN1_TYPE_type(ptr)) #define sk_ASN1_TYPE_unshift(sk, ptr) OPENSSL_sk_unshift(ossl_check_ASN1_TYPE_sk_type(sk), ossl_check_ASN1_TYPE_type(ptr)) #define sk_ASN1_TYPE_pop(sk) ((ASN1_TYPE *)OPENSSL_sk_pop(ossl_check_ASN1_TYPE_sk_type(sk))) #define sk_ASN1_TYPE_shift(sk) ((ASN1_TYPE *)OPENSSL_sk_shift(ossl_check_ASN1_TYPE_sk_type(sk))) #define sk_ASN1_TYPE_pop_free(sk, freefunc) OPENSSL_sk_pop_free(ossl_check_ASN1_TYPE_sk_type(sk),ossl_check_ASN1_TYPE_freefunc_type(freefunc)) #define sk_ASN1_TYPE_insert(sk, ptr, idx) OPENSSL_sk_insert(ossl_check_ASN1_TYPE_sk_type(sk), ossl_check_ASN1_TYPE_type(ptr), (idx)) #define sk_ASN1_TYPE_set(sk, idx, ptr) ((ASN1_TYPE *)OPENSSL_sk_set(ossl_check_ASN1_TYPE_sk_type(sk), (idx), ossl_check_ASN1_TYPE_type(ptr))) #define sk_ASN1_TYPE_find(sk, ptr) OPENSSL_sk_find(ossl_check_ASN1_TYPE_sk_type(sk), ossl_check_ASN1_TYPE_type(ptr)) #define sk_ASN1_TYPE_find_ex(sk, ptr) OPENSSL_sk_find_ex(ossl_check_ASN1_TYPE_sk_type(sk), ossl_check_ASN1_TYPE_type(ptr)) #define sk_ASN1_TYPE_find_all(sk, ptr, pnum) OPENSSL_sk_find_all(ossl_check_ASN1_TYPE_sk_type(sk), ossl_check_ASN1_TYPE_type(ptr), pnum) #define sk_ASN1_TYPE_sort(sk) OPENSSL_sk_sort(ossl_check_ASN1_TYPE_sk_type(sk)) #define sk_ASN1_TYPE_is_sorted(sk) OPENSSL_sk_is_sorted(ossl_check_const_ASN1_TYPE_sk_type(sk)) #define sk_ASN1_TYPE_dup(sk) ((STACK_OF(ASN1_TYPE) *)OPENSSL_sk_dup(ossl_check_const_ASN1_TYPE_sk_type(sk))) #define sk_ASN1_TYPE_deep_copy(sk, copyfunc, freefunc) ((STACK_OF(ASN1_TYPE) *)OPENSSL_sk_deep_copy(ossl_check_const_ASN1_TYPE_sk_type(sk), ossl_check_ASN1_TYPE_copyfunc_type(copyfunc), ossl_check_ASN1_TYPE_freefunc_type(freefunc))) #define sk_ASN1_TYPE_set_cmp_func(sk, cmp) ((sk_ASN1_TYPE_compfunc)OPENSSL_sk_set_cmp_func(ossl_check_ASN1_TYPE_sk_type(sk), ossl_check_ASN1_TYPE_compfunc_type(cmp))) typedef STACK_OF(ASN1_TYPE) ASN1_SEQUENCE_ANY; DECLARE_ASN1_ENCODE_FUNCTIONS_name(ASN1_SEQUENCE_ANY, ASN1_SEQUENCE_ANY) DECLARE_ASN1_ENCODE_FUNCTIONS_name(ASN1_SEQUENCE_ANY, ASN1_SET_ANY) /* This is used to contain a list of bit names */ typedef struct BIT_STRING_BITNAME_st { int bitnum; const char *lname; const char *sname; } BIT_STRING_BITNAME; # define B_ASN1_TIME \ B_ASN1_UTCTIME | \ B_ASN1_GENERALIZEDTIME # define B_ASN1_PRINTABLE \ B_ASN1_NUMERICSTRING| \ B_ASN1_PRINTABLESTRING| \ B_ASN1_T61STRING| \ B_ASN1_IA5STRING| \ B_ASN1_BIT_STRING| \ B_ASN1_UNIVERSALSTRING|\ B_ASN1_BMPSTRING|\ B_ASN1_UTF8STRING|\ B_ASN1_SEQUENCE|\ B_ASN1_UNKNOWN # define B_ASN1_DIRECTORYSTRING \ B_ASN1_PRINTABLESTRING| \ B_ASN1_TELETEXSTRING|\ B_ASN1_BMPSTRING|\ B_ASN1_UNIVERSALSTRING|\ B_ASN1_UTF8STRING # define B_ASN1_DISPLAYTEXT \ B_ASN1_IA5STRING| \ B_ASN1_VISIBLESTRING| \ B_ASN1_BMPSTRING|\ B_ASN1_UTF8STRING DECLARE_ASN1_ALLOC_FUNCTIONS_name(ASN1_TYPE, ASN1_TYPE) DECLARE_ASN1_ENCODE_FUNCTIONS(ASN1_TYPE, ASN1_ANY, ASN1_TYPE) int ASN1_TYPE_get(const ASN1_TYPE *a); void ASN1_TYPE_set(ASN1_TYPE *a, int type, void *value); int ASN1_TYPE_set1(ASN1_TYPE *a, int type, const void *value); int ASN1_TYPE_cmp(const ASN1_TYPE *a, const ASN1_TYPE *b); ASN1_TYPE *ASN1_TYPE_pack_sequence(const ASN1_ITEM *it, void *s, ASN1_TYPE **t); void *ASN1_TYPE_unpack_sequence(const ASN1_ITEM *it, const ASN1_TYPE *t); SKM_DEFINE_STACK_OF_INTERNAL(ASN1_OBJECT, ASN1_OBJECT, ASN1_OBJECT) #define sk_ASN1_OBJECT_num(sk) OPENSSL_sk_num(ossl_check_const_ASN1_OBJECT_sk_type(sk)) #define sk_ASN1_OBJECT_value(sk, idx) ((ASN1_OBJECT *)OPENSSL_sk_value(ossl_check_const_ASN1_OBJECT_sk_type(sk), (idx))) #define sk_ASN1_OBJECT_new(cmp) ((STACK_OF(ASN1_OBJECT) *)OPENSSL_sk_new(ossl_check_ASN1_OBJECT_compfunc_type(cmp))) #define sk_ASN1_OBJECT_new_null() ((STACK_OF(ASN1_OBJECT) *)OPENSSL_sk_new_null()) #define sk_ASN1_OBJECT_new_reserve(cmp, n) ((STACK_OF(ASN1_OBJECT) *)OPENSSL_sk_new_reserve(ossl_check_ASN1_OBJECT_compfunc_type(cmp), (n))) #define sk_ASN1_OBJECT_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_ASN1_OBJECT_sk_type(sk), (n)) #define sk_ASN1_OBJECT_free(sk) OPENSSL_sk_free(ossl_check_ASN1_OBJECT_sk_type(sk)) #define sk_ASN1_OBJECT_zero(sk) OPENSSL_sk_zero(ossl_check_ASN1_OBJECT_sk_type(sk)) #define sk_ASN1_OBJECT_delete(sk, i) ((ASN1_OBJECT *)OPENSSL_sk_delete(ossl_check_ASN1_OBJECT_sk_type(sk), (i))) #define sk_ASN1_OBJECT_delete_ptr(sk, ptr) ((ASN1_OBJECT *)OPENSSL_sk_delete_ptr(ossl_check_ASN1_OBJECT_sk_type(sk), ossl_check_ASN1_OBJECT_type(ptr))) #define sk_ASN1_OBJECT_push(sk, ptr) OPENSSL_sk_push(ossl_check_ASN1_OBJECT_sk_type(sk), ossl_check_ASN1_OBJECT_type(ptr)) #define sk_ASN1_OBJECT_unshift(sk, ptr) OPENSSL_sk_unshift(ossl_check_ASN1_OBJECT_sk_type(sk), ossl_check_ASN1_OBJECT_type(ptr)) #define sk_ASN1_OBJECT_pop(sk) ((ASN1_OBJECT *)OPENSSL_sk_pop(ossl_check_ASN1_OBJECT_sk_type(sk))) #define sk_ASN1_OBJECT_shift(sk) ((ASN1_OBJECT *)OPENSSL_sk_shift(ossl_check_ASN1_OBJECT_sk_type(sk))) #define sk_ASN1_OBJECT_pop_free(sk, freefunc) OPENSSL_sk_pop_free(ossl_check_ASN1_OBJECT_sk_type(sk),ossl_check_ASN1_OBJECT_freefunc_type(freefunc)) #define sk_ASN1_OBJECT_insert(sk, ptr, idx) OPENSSL_sk_insert(ossl_check_ASN1_OBJECT_sk_type(sk), ossl_check_ASN1_OBJECT_type(ptr), (idx)) #define sk_ASN1_OBJECT_set(sk, idx, ptr) ((ASN1_OBJECT *)OPENSSL_sk_set(ossl_check_ASN1_OBJECT_sk_type(sk), (idx), ossl_check_ASN1_OBJECT_type(ptr))) #define sk_ASN1_OBJECT_find(sk, ptr) OPENSSL_sk_find(ossl_check_ASN1_OBJECT_sk_type(sk), ossl_check_ASN1_OBJECT_type(ptr)) #define sk_ASN1_OBJECT_find_ex(sk, ptr) OPENSSL_sk_find_ex(ossl_check_ASN1_OBJECT_sk_type(sk), ossl_check_ASN1_OBJECT_type(ptr)) #define sk_ASN1_OBJECT_find_all(sk, ptr, pnum) OPENSSL_sk_find_all(ossl_check_ASN1_OBJECT_sk_type(sk), ossl_check_ASN1_OBJECT_type(ptr), pnum) #define sk_ASN1_OBJECT_sort(sk) OPENSSL_sk_sort(ossl_check_ASN1_OBJECT_sk_type(sk)) #define sk_ASN1_OBJECT_is_sorted(sk) OPENSSL_sk_is_sorted(ossl_check_const_ASN1_OBJECT_sk_type(sk)) #define sk_ASN1_OBJECT_dup(sk) ((STACK_OF(ASN1_OBJECT) *)OPENSSL_sk_dup(ossl_check_const_ASN1_OBJECT_sk_type(sk))) #define sk_ASN1_OBJECT_deep_copy(sk, copyfunc, freefunc) ((STACK_OF(ASN1_OBJECT) *)OPENSSL_sk_deep_copy(ossl_check_const_ASN1_OBJECT_sk_type(sk), ossl_check_ASN1_OBJECT_copyfunc_type(copyfunc), ossl_check_ASN1_OBJECT_freefunc_type(freefunc))) #define sk_ASN1_OBJECT_set_cmp_func(sk, cmp) ((sk_ASN1_OBJECT_compfunc)OPENSSL_sk_set_cmp_func(ossl_check_ASN1_OBJECT_sk_type(sk), ossl_check_ASN1_OBJECT_compfunc_type(cmp))) DECLARE_ASN1_FUNCTIONS(ASN1_OBJECT) ASN1_STRING *ASN1_STRING_new(void); void ASN1_STRING_free(ASN1_STRING *a); void ASN1_STRING_clear_free(ASN1_STRING *a); int ASN1_STRING_copy(ASN1_STRING *dst, const ASN1_STRING *str); DECLARE_ASN1_DUP_FUNCTION(ASN1_STRING) ASN1_STRING *ASN1_STRING_type_new(int type); int ASN1_STRING_cmp(const ASN1_STRING *a, const ASN1_STRING *b); /* * Since this is used to store all sorts of things, via macros, for now, * make its data void * */ int ASN1_STRING_set(ASN1_STRING *str, const void *data, int len); void ASN1_STRING_set0(ASN1_STRING *str, void *data, int len); int ASN1_STRING_length(const ASN1_STRING *x); # ifndef OPENSSL_NO_DEPRECATED_3_0 OSSL_DEPRECATEDIN_3_0 void ASN1_STRING_length_set(ASN1_STRING *x, int n); # endif int ASN1_STRING_type(const ASN1_STRING *x); # ifndef OPENSSL_NO_DEPRECATED_1_1_0 OSSL_DEPRECATEDIN_1_1_0 unsigned char *ASN1_STRING_data(ASN1_STRING *x); # endif const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *x); DECLARE_ASN1_FUNCTIONS(ASN1_BIT_STRING) int ASN1_BIT_STRING_set(ASN1_BIT_STRING *a, unsigned char *d, int length); int ASN1_BIT_STRING_set_bit(ASN1_BIT_STRING *a, int n, int value); int ASN1_BIT_STRING_get_bit(const ASN1_BIT_STRING *a, int n); int ASN1_BIT_STRING_check(const ASN1_BIT_STRING *a, const unsigned char *flags, int flags_len); int ASN1_BIT_STRING_name_print(BIO *out, ASN1_BIT_STRING *bs, BIT_STRING_BITNAME *tbl, int indent); int ASN1_BIT_STRING_num_asc(const char *name, BIT_STRING_BITNAME *tbl); int ASN1_BIT_STRING_set_asc(ASN1_BIT_STRING *bs, const char *name, int value, BIT_STRING_BITNAME *tbl); SKM_DEFINE_STACK_OF_INTERNAL(ASN1_INTEGER, ASN1_INTEGER, ASN1_INTEGER) #define sk_ASN1_INTEGER_num(sk) OPENSSL_sk_num(ossl_check_const_ASN1_INTEGER_sk_type(sk)) #define sk_ASN1_INTEGER_value(sk, idx) ((ASN1_INTEGER *)OPENSSL_sk_value(ossl_check_const_ASN1_INTEGER_sk_type(sk), (idx))) #define sk_ASN1_INTEGER_new(cmp) ((STACK_OF(ASN1_INTEGER) *)OPENSSL_sk_new(ossl_check_ASN1_INTEGER_compfunc_type(cmp))) #define sk_ASN1_INTEGER_new_null() ((STACK_OF(ASN1_INTEGER) *)OPENSSL_sk_new_null()) #define sk_ASN1_INTEGER_new_reserve(cmp, n) ((STACK_OF(ASN1_INTEGER) *)OPENSSL_sk_new_reserve(ossl_check_ASN1_INTEGER_compfunc_type(cmp), (n))) #define sk_ASN1_INTEGER_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_ASN1_INTEGER_sk_type(sk), (n)) #define sk_ASN1_INTEGER_free(sk) OPENSSL_sk_free(ossl_check_ASN1_INTEGER_sk_type(sk)) #define sk_ASN1_INTEGER_zero(sk) OPENSSL_sk_zero(ossl_check_ASN1_INTEGER_sk_type(sk)) #define sk_ASN1_INTEGER_delete(sk, i) ((ASN1_INTEGER *)OPENSSL_sk_delete(ossl_check_ASN1_INTEGER_sk_type(sk), (i))) #define sk_ASN1_INTEGER_delete_ptr(sk, ptr) ((ASN1_INTEGER *)OPENSSL_sk_delete_ptr(ossl_check_ASN1_INTEGER_sk_type(sk), ossl_check_ASN1_INTEGER_type(ptr))) #define sk_ASN1_INTEGER_push(sk, ptr) OPENSSL_sk_push(ossl_check_ASN1_INTEGER_sk_type(sk), ossl_check_ASN1_INTEGER_type(ptr)) #define sk_ASN1_INTEGER_unshift(sk, ptr) OPENSSL_sk_unshift(ossl_check_ASN1_INTEGER_sk_type(sk), ossl_check_ASN1_INTEGER_type(ptr)) #define sk_ASN1_INTEGER_pop(sk) ((ASN1_INTEGER *)OPENSSL_sk_pop(ossl_check_ASN1_INTEGER_sk_type(sk))) #define sk_ASN1_INTEGER_shift(sk) ((ASN1_INTEGER *)OPENSSL_sk_shift(ossl_check_ASN1_INTEGER_sk_type(sk))) #define sk_ASN1_INTEGER_pop_free(sk, freefunc) OPENSSL_sk_pop_free(ossl_check_ASN1_INTEGER_sk_type(sk),ossl_check_ASN1_INTEGER_freefunc_type(freefunc)) #define sk_ASN1_INTEGER_insert(sk, ptr, idx) OPENSSL_sk_insert(ossl_check_ASN1_INTEGER_sk_type(sk), ossl_check_ASN1_INTEGER_type(ptr), (idx)) #define sk_ASN1_INTEGER_set(sk, idx, ptr) ((ASN1_INTEGER *)OPENSSL_sk_set(ossl_check_ASN1_INTEGER_sk_type(sk), (idx), ossl_check_ASN1_INTEGER_type(ptr))) #define sk_ASN1_INTEGER_find(sk, ptr) OPENSSL_sk_find(ossl_check_ASN1_INTEGER_sk_type(sk), ossl_check_ASN1_INTEGER_type(ptr)) #define sk_ASN1_INTEGER_find_ex(sk, ptr) OPENSSL_sk_find_ex(ossl_check_ASN1_INTEGER_sk_type(sk), ossl_check_ASN1_INTEGER_type(ptr)) #define sk_ASN1_INTEGER_find_all(sk, ptr, pnum) OPENSSL_sk_find_all(ossl_check_ASN1_INTEGER_sk_type(sk), ossl_check_ASN1_INTEGER_type(ptr), pnum) #define sk_ASN1_INTEGER_sort(sk) OPENSSL_sk_sort(ossl_check_ASN1_INTEGER_sk_type(sk)) #define sk_ASN1_INTEGER_is_sorted(sk) OPENSSL_sk_is_sorted(ossl_check_const_ASN1_INTEGER_sk_type(sk)) #define sk_ASN1_INTEGER_dup(sk) ((STACK_OF(ASN1_INTEGER) *)OPENSSL_sk_dup(ossl_check_const_ASN1_INTEGER_sk_type(sk))) #define sk_ASN1_INTEGER_deep_copy(sk, copyfunc, freefunc) ((STACK_OF(ASN1_INTEGER) *)OPENSSL_sk_deep_copy(ossl_check_const_ASN1_INTEGER_sk_type(sk), ossl_check_ASN1_INTEGER_copyfunc_type(copyfunc), ossl_check_ASN1_INTEGER_freefunc_type(freefunc))) #define sk_ASN1_INTEGER_set_cmp_func(sk, cmp) ((sk_ASN1_INTEGER_compfunc)OPENSSL_sk_set_cmp_func(ossl_check_ASN1_INTEGER_sk_type(sk), ossl_check_ASN1_INTEGER_compfunc_type(cmp))) DECLARE_ASN1_FUNCTIONS(ASN1_INTEGER) ASN1_INTEGER *d2i_ASN1_UINTEGER(ASN1_INTEGER **a, const unsigned char **pp, long length); DECLARE_ASN1_DUP_FUNCTION(ASN1_INTEGER) int ASN1_INTEGER_cmp(const ASN1_INTEGER *x, const ASN1_INTEGER *y); DECLARE_ASN1_FUNCTIONS(ASN1_ENUMERATED) int ASN1_UTCTIME_check(const ASN1_UTCTIME *a); ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *s, time_t t); ASN1_UTCTIME *ASN1_UTCTIME_adj(ASN1_UTCTIME *s, time_t t, int offset_day, long offset_sec); int ASN1_UTCTIME_set_string(ASN1_UTCTIME *s, const char *str); int ASN1_UTCTIME_cmp_time_t(const ASN1_UTCTIME *s, time_t t); int ASN1_GENERALIZEDTIME_check(const ASN1_GENERALIZEDTIME *a); ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_set(ASN1_GENERALIZEDTIME *s, time_t t); ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_adj(ASN1_GENERALIZEDTIME *s, time_t t, int offset_day, long offset_sec); int ASN1_GENERALIZEDTIME_set_string(ASN1_GENERALIZEDTIME *s, const char *str); int ASN1_TIME_diff(int *pday, int *psec, const ASN1_TIME *from, const ASN1_TIME *to); DECLARE_ASN1_FUNCTIONS(ASN1_OCTET_STRING) DECLARE_ASN1_DUP_FUNCTION(ASN1_OCTET_STRING) int ASN1_OCTET_STRING_cmp(const ASN1_OCTET_STRING *a, const ASN1_OCTET_STRING *b); int ASN1_OCTET_STRING_set(ASN1_OCTET_STRING *str, const unsigned char *data, int len); SKM_DEFINE_STACK_OF_INTERNAL(ASN1_UTF8STRING, ASN1_UTF8STRING, ASN1_UTF8STRING) #define sk_ASN1_UTF8STRING_num(sk) OPENSSL_sk_num(ossl_check_const_ASN1_UTF8STRING_sk_type(sk)) #define sk_ASN1_UTF8STRING_value(sk, idx) ((ASN1_UTF8STRING *)OPENSSL_sk_value(ossl_check_const_ASN1_UTF8STRING_sk_type(sk), (idx))) #define sk_ASN1_UTF8STRING_new(cmp) ((STACK_OF(ASN1_UTF8STRING) *)OPENSSL_sk_new(ossl_check_ASN1_UTF8STRING_compfunc_type(cmp))) #define sk_ASN1_UTF8STRING_new_null() ((STACK_OF(ASN1_UTF8STRING) *)OPENSSL_sk_new_null()) #define sk_ASN1_UTF8STRING_new_reserve(cmp, n) ((STACK_OF(ASN1_UTF8STRING) *)OPENSSL_sk_new_reserve(ossl_check_ASN1_UTF8STRING_compfunc_type(cmp), (n))) #define sk_ASN1_UTF8STRING_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_ASN1_UTF8STRING_sk_type(sk), (n)) #define sk_ASN1_UTF8STRING_free(sk) OPENSSL_sk_free(ossl_check_ASN1_UTF8STRING_sk_type(sk)) #define sk_ASN1_UTF8STRING_zero(sk) OPENSSL_sk_zero(ossl_check_ASN1_UTF8STRING_sk_type(sk)) #define sk_ASN1_UTF8STRING_delete(sk, i) ((ASN1_UTF8STRING *)OPENSSL_sk_delete(ossl_check_ASN1_UTF8STRING_sk_type(sk), (i))) #define sk_ASN1_UTF8STRING_delete_ptr(sk, ptr) ((ASN1_UTF8STRING *)OPENSSL_sk_delete_ptr(ossl_check_ASN1_UTF8STRING_sk_type(sk), ossl_check_ASN1_UTF8STRING_type(ptr))) #define sk_ASN1_UTF8STRING_push(sk, ptr) OPENSSL_sk_push(ossl_check_ASN1_UTF8STRING_sk_type(sk), ossl_check_ASN1_UTF8STRING_type(ptr)) #define sk_ASN1_UTF8STRING_unshift(sk, ptr) OPENSSL_sk_unshift(ossl_check_ASN1_UTF8STRING_sk_type(sk), ossl_check_ASN1_UTF8STRING_type(ptr)) #define sk_ASN1_UTF8STRING_pop(sk) ((ASN1_UTF8STRING *)OPENSSL_sk_pop(ossl_check_ASN1_UTF8STRING_sk_type(sk))) #define sk_ASN1_UTF8STRING_shift(sk) ((ASN1_UTF8STRING *)OPENSSL_sk_shift(ossl_check_ASN1_UTF8STRING_sk_type(sk))) #define sk_ASN1_UTF8STRING_pop_free(sk, freefunc) OPENSSL_sk_pop_free(ossl_check_ASN1_UTF8STRING_sk_type(sk),ossl_check_ASN1_UTF8STRING_freefunc_type(freefunc)) #define sk_ASN1_UTF8STRING_insert(sk, ptr, idx) OPENSSL_sk_insert(ossl_check_ASN1_UTF8STRING_sk_type(sk), ossl_check_ASN1_UTF8STRING_type(ptr), (idx)) #define sk_ASN1_UTF8STRING_set(sk, idx, ptr) ((ASN1_UTF8STRING *)OPENSSL_sk_set(ossl_check_ASN1_UTF8STRING_sk_type(sk), (idx), ossl_check_ASN1_UTF8STRING_type(ptr))) #define sk_ASN1_UTF8STRING_find(sk, ptr) OPENSSL_sk_find(ossl_check_ASN1_UTF8STRING_sk_type(sk), ossl_check_ASN1_UTF8STRING_type(ptr)) #define sk_ASN1_UTF8STRING_find_ex(sk, ptr) OPENSSL_sk_find_ex(ossl_check_ASN1_UTF8STRING_sk_type(sk), ossl_check_ASN1_UTF8STRING_type(ptr)) #define sk_ASN1_UTF8STRING_find_all(sk, ptr, pnum) OPENSSL_sk_find_all(ossl_check_ASN1_UTF8STRING_sk_type(sk), ossl_check_ASN1_UTF8STRING_type(ptr), pnum) #define sk_ASN1_UTF8STRING_sort(sk) OPENSSL_sk_sort(ossl_check_ASN1_UTF8STRING_sk_type(sk)) #define sk_ASN1_UTF8STRING_is_sorted(sk) OPENSSL_sk_is_sorted(ossl_check_const_ASN1_UTF8STRING_sk_type(sk)) #define sk_ASN1_UTF8STRING_dup(sk) ((STACK_OF(ASN1_UTF8STRING) *)OPENSSL_sk_dup(ossl_check_const_ASN1_UTF8STRING_sk_type(sk))) #define sk_ASN1_UTF8STRING_deep_copy(sk, copyfunc, freefunc) ((STACK_OF(ASN1_UTF8STRING) *)OPENSSL_sk_deep_copy(ossl_check_const_ASN1_UTF8STRING_sk_type(sk), ossl_check_ASN1_UTF8STRING_copyfunc_type(copyfunc), ossl_check_ASN1_UTF8STRING_freefunc_type(freefunc))) #define sk_ASN1_UTF8STRING_set_cmp_func(sk, cmp) ((sk_ASN1_UTF8STRING_compfunc)OPENSSL_sk_set_cmp_func(ossl_check_ASN1_UTF8STRING_sk_type(sk), ossl_check_ASN1_UTF8STRING_compfunc_type(cmp))) DECLARE_ASN1_FUNCTIONS(ASN1_VISIBLESTRING) DECLARE_ASN1_FUNCTIONS(ASN1_UNIVERSALSTRING) DECLARE_ASN1_FUNCTIONS(ASN1_UTF8STRING) DECLARE_ASN1_FUNCTIONS(ASN1_NULL) DECLARE_ASN1_FUNCTIONS(ASN1_BMPSTRING) int UTF8_getc(const unsigned char *str, int len, unsigned long *val); int UTF8_putc(unsigned char *str, int len, unsigned long value); SKM_DEFINE_STACK_OF_INTERNAL(ASN1_GENERALSTRING, ASN1_GENERALSTRING, ASN1_GENERALSTRING) #define sk_ASN1_GENERALSTRING_num(sk) OPENSSL_sk_num(ossl_check_const_ASN1_GENERALSTRING_sk_type(sk)) #define sk_ASN1_GENERALSTRING_value(sk, idx) ((ASN1_GENERALSTRING *)OPENSSL_sk_value(ossl_check_const_ASN1_GENERALSTRING_sk_type(sk), (idx))) #define sk_ASN1_GENERALSTRING_new(cmp) ((STACK_OF(ASN1_GENERALSTRING) *)OPENSSL_sk_new(ossl_check_ASN1_GENERALSTRING_compfunc_type(cmp))) #define sk_ASN1_GENERALSTRING_new_null() ((STACK_OF(ASN1_GENERALSTRING) *)OPENSSL_sk_new_null()) #define sk_ASN1_GENERALSTRING_new_reserve(cmp, n) ((STACK_OF(ASN1_GENERALSTRING) *)OPENSSL_sk_new_reserve(ossl_check_ASN1_GENERALSTRING_compfunc_type(cmp), (n))) #define sk_ASN1_GENERALSTRING_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_ASN1_GENERALSTRING_sk_type(sk), (n)) #define sk_ASN1_GENERALSTRING_free(sk) OPENSSL_sk_free(ossl_check_ASN1_GENERALSTRING_sk_type(sk)) #define sk_ASN1_GENERALSTRING_zero(sk) OPENSSL_sk_zero(ossl_check_ASN1_GENERALSTRING_sk_type(sk)) #define sk_ASN1_GENERALSTRING_delete(sk, i) ((ASN1_GENERALSTRING *)OPENSSL_sk_delete(ossl_check_ASN1_GENERALSTRING_sk_type(sk), (i))) #define sk_ASN1_GENERALSTRING_delete_ptr(sk, ptr) ((ASN1_GENERALSTRING *)OPENSSL_sk_delete_ptr(ossl_check_ASN1_GENERALSTRING_sk_type(sk), ossl_check_ASN1_GENERALSTRING_type(ptr))) #define sk_ASN1_GENERALSTRING_push(sk, ptr) OPENSSL_sk_push(ossl_check_ASN1_GENERALSTRING_sk_type(sk), ossl_check_ASN1_GENERALSTRING_type(ptr)) #define sk_ASN1_GENERALSTRING_unshift(sk, ptr) OPENSSL_sk_unshift(ossl_check_ASN1_GENERALSTRING_sk_type(sk), ossl_check_ASN1_GENERALSTRING_type(ptr)) #define sk_ASN1_GENERALSTRING_pop(sk) ((ASN1_GENERALSTRING *)OPENSSL_sk_pop(ossl_check_ASN1_GENERALSTRING_sk_type(sk))) #define sk_ASN1_GENERALSTRING_shift(sk) ((ASN1_GENERALSTRING *)OPENSSL_sk_shift(ossl_check_ASN1_GENERALSTRING_sk_type(sk))) #define sk_ASN1_GENERALSTRING_pop_free(sk, freefunc) OPENSSL_sk_pop_free(ossl_check_ASN1_GENERALSTRING_sk_type(sk),ossl_check_ASN1_GENERALSTRING_freefunc_type(freefunc)) #define sk_ASN1_GENERALSTRING_insert(sk, ptr, idx) OPENSSL_sk_insert(ossl_check_ASN1_GENERALSTRING_sk_type(sk), ossl_check_ASN1_GENERALSTRING_type(ptr), (idx)) #define sk_ASN1_GENERALSTRING_set(sk, idx, ptr) ((ASN1_GENERALSTRING *)OPENSSL_sk_set(ossl_check_ASN1_GENERALSTRING_sk_type(sk), (idx), ossl_check_ASN1_GENERALSTRING_type(ptr))) #define sk_ASN1_GENERALSTRING_find(sk, ptr) OPENSSL_sk_find(ossl_check_ASN1_GENERALSTRING_sk_type(sk), ossl_check_ASN1_GENERALSTRING_type(ptr)) #define sk_ASN1_GENERALSTRING_find_ex(sk, ptr) OPENSSL_sk_find_ex(ossl_check_ASN1_GENERALSTRING_sk_type(sk), ossl_check_ASN1_GENERALSTRING_type(ptr)) #define sk_ASN1_GENERALSTRING_find_all(sk, ptr, pnum) OPENSSL_sk_find_all(ossl_check_ASN1_GENERALSTRING_sk_type(sk), ossl_check_ASN1_GENERALSTRING_type(ptr), pnum) #define sk_ASN1_GENERALSTRING_sort(sk) OPENSSL_sk_sort(ossl_check_ASN1_GENERALSTRING_sk_type(sk)) #define sk_ASN1_GENERALSTRING_is_sorted(sk) OPENSSL_sk_is_sorted(ossl_check_const_ASN1_GENERALSTRING_sk_type(sk)) #define sk_ASN1_GENERALSTRING_dup(sk) ((STACK_OF(ASN1_GENERALSTRING) *)OPENSSL_sk_dup(ossl_check_const_ASN1_GENERALSTRING_sk_type(sk))) #define sk_ASN1_GENERALSTRING_deep_copy(sk, copyfunc, freefunc) ((STACK_OF(ASN1_GENERALSTRING) *)OPENSSL_sk_deep_copy(ossl_check_const_ASN1_GENERALSTRING_sk_type(sk), ossl_check_ASN1_GENERALSTRING_copyfunc_type(copyfunc), ossl_check_ASN1_GENERALSTRING_freefunc_type(freefunc))) #define sk_ASN1_GENERALSTRING_set_cmp_func(sk, cmp) ((sk_ASN1_GENERALSTRING_compfunc)OPENSSL_sk_set_cmp_func(ossl_check_ASN1_GENERALSTRING_sk_type(sk), ossl_check_ASN1_GENERALSTRING_compfunc_type(cmp))) DECLARE_ASN1_FUNCTIONS_name(ASN1_STRING, ASN1_PRINTABLE) DECLARE_ASN1_FUNCTIONS_name(ASN1_STRING, DIRECTORYSTRING) DECLARE_ASN1_FUNCTIONS_name(ASN1_STRING, DISPLAYTEXT) DECLARE_ASN1_FUNCTIONS(ASN1_PRINTABLESTRING) DECLARE_ASN1_FUNCTIONS(ASN1_T61STRING) DECLARE_ASN1_FUNCTIONS(ASN1_IA5STRING) DECLARE_ASN1_FUNCTIONS(ASN1_GENERALSTRING) DECLARE_ASN1_FUNCTIONS(ASN1_UTCTIME) DECLARE_ASN1_FUNCTIONS(ASN1_GENERALIZEDTIME) DECLARE_ASN1_FUNCTIONS(ASN1_TIME) DECLARE_ASN1_DUP_FUNCTION(ASN1_TIME) DECLARE_ASN1_DUP_FUNCTION(ASN1_UTCTIME) DECLARE_ASN1_DUP_FUNCTION(ASN1_GENERALIZEDTIME) DECLARE_ASN1_ITEM(ASN1_OCTET_STRING_NDEF) ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s, time_t t); ASN1_TIME *ASN1_TIME_adj(ASN1_TIME *s, time_t t, int offset_day, long offset_sec); int ASN1_TIME_check(const ASN1_TIME *t); ASN1_GENERALIZEDTIME *ASN1_TIME_to_generalizedtime(const ASN1_TIME *t, ASN1_GENERALIZEDTIME **out); int ASN1_TIME_set_string(ASN1_TIME *s, const char *str); int ASN1_TIME_set_string_X509(ASN1_TIME *s, const char *str); int ASN1_TIME_to_tm(const ASN1_TIME *s, struct tm *tm); int ASN1_TIME_normalize(ASN1_TIME *s); int ASN1_TIME_cmp_time_t(const ASN1_TIME *s, time_t t); int ASN1_TIME_compare(const ASN1_TIME *a, const ASN1_TIME *b); int i2a_ASN1_INTEGER(BIO *bp, const ASN1_INTEGER *a); int a2i_ASN1_INTEGER(BIO *bp, ASN1_INTEGER *bs, char *buf, int size); int i2a_ASN1_ENUMERATED(BIO *bp, const ASN1_ENUMERATED *a); int a2i_ASN1_ENUMERATED(BIO *bp, ASN1_ENUMERATED *bs, char *buf, int size); int i2a_ASN1_OBJECT(BIO *bp, const ASN1_OBJECT *a); int a2i_ASN1_STRING(BIO *bp, ASN1_STRING *bs, char *buf, int size); int i2a_ASN1_STRING(BIO *bp, const ASN1_STRING *a, int type); int i2t_ASN1_OBJECT(char *buf, int buf_len, const ASN1_OBJECT *a); int a2d_ASN1_OBJECT(unsigned char *out, int olen, const char *buf, int num); ASN1_OBJECT *ASN1_OBJECT_create(int nid, unsigned char *data, int len, const char *sn, const char *ln); int ASN1_INTEGER_get_int64(int64_t *pr, const ASN1_INTEGER *a); int ASN1_INTEGER_set_int64(ASN1_INTEGER *a, int64_t r); int ASN1_INTEGER_get_uint64(uint64_t *pr, const ASN1_INTEGER *a); int ASN1_INTEGER_set_uint64(ASN1_INTEGER *a, uint64_t r); int ASN1_INTEGER_set(ASN1_INTEGER *a, long v); long ASN1_INTEGER_get(const ASN1_INTEGER *a); ASN1_INTEGER *BN_to_ASN1_INTEGER(const BIGNUM *bn, ASN1_INTEGER *ai); BIGNUM *ASN1_INTEGER_to_BN(const ASN1_INTEGER *ai, BIGNUM *bn); int ASN1_ENUMERATED_get_int64(int64_t *pr, const ASN1_ENUMERATED *a); int ASN1_ENUMERATED_set_int64(ASN1_ENUMERATED *a, int64_t r); int ASN1_ENUMERATED_set(ASN1_ENUMERATED *a, long v); long ASN1_ENUMERATED_get(const ASN1_ENUMERATED *a); ASN1_ENUMERATED *BN_to_ASN1_ENUMERATED(const BIGNUM *bn, ASN1_ENUMERATED *ai); BIGNUM *ASN1_ENUMERATED_to_BN(const ASN1_ENUMERATED *ai, BIGNUM *bn); /* General */ /* given a string, return the correct type, max is the maximum length */ int ASN1_PRINTABLE_type(const unsigned char *s, int max); unsigned long ASN1_tag2bit(int tag); /* SPECIALS */ int ASN1_get_object(const unsigned char **pp, long *plength, int *ptag, int *pclass, long omax); int ASN1_check_infinite_end(unsigned char **p, long len); int ASN1_const_check_infinite_end(const unsigned char **p, long len); void ASN1_put_object(unsigned char **pp, int constructed, int length, int tag, int xclass); int ASN1_put_eoc(unsigned char **pp); int ASN1_object_size(int constructed, int length, int tag); /* Used to implement other functions */ void *ASN1_dup(i2d_of_void *i2d, d2i_of_void *d2i, const void *x); # define ASN1_dup_of(type,i2d,d2i,x) \ ((type*)ASN1_dup(CHECKED_I2D_OF(type, i2d), \ CHECKED_D2I_OF(type, d2i), \ CHECKED_PTR_OF(const type, x))) void *ASN1_item_dup(const ASN1_ITEM *it, const void *x); int ASN1_item_sign_ex(const ASN1_ITEM *it, X509_ALGOR *algor1, X509_ALGOR *algor2, ASN1_BIT_STRING *signature, const void *data, const ASN1_OCTET_STRING *id, EVP_PKEY *pkey, const EVP_MD *md, OSSL_LIB_CTX *libctx, const char *propq); int ASN1_item_verify_ex(const ASN1_ITEM *it, const X509_ALGOR *alg, const ASN1_BIT_STRING *signature, const void *data, const ASN1_OCTET_STRING *id, EVP_PKEY *pkey, OSSL_LIB_CTX *libctx, const char *propq); /* ASN1 alloc/free macros for when a type is only used internally */ # define M_ASN1_new_of(type) (type *)ASN1_item_new(ASN1_ITEM_rptr(type)) # define M_ASN1_free_of(x, type) \ ASN1_item_free(CHECKED_PTR_OF(type, x), ASN1_ITEM_rptr(type)) # ifndef OPENSSL_NO_STDIO void *ASN1_d2i_fp(void *(*xnew) (void), d2i_of_void *d2i, FILE *in, void **x); # define ASN1_d2i_fp_of(type,xnew,d2i,in,x) \ ((type*)ASN1_d2i_fp(CHECKED_NEW_OF(type, xnew), \ CHECKED_D2I_OF(type, d2i), \ in, \ CHECKED_PPTR_OF(type, x))) void *ASN1_item_d2i_fp_ex(const ASN1_ITEM *it, FILE *in, void *x, OSSL_LIB_CTX *libctx, const char *propq); void *ASN1_item_d2i_fp(const ASN1_ITEM *it, FILE *in, void *x); int ASN1_i2d_fp(i2d_of_void *i2d, FILE *out, const void *x); # define ASN1_i2d_fp_of(type,i2d,out,x) \ (ASN1_i2d_fp(CHECKED_I2D_OF(type, i2d), \ out, \ CHECKED_PTR_OF(const type, x))) int ASN1_item_i2d_fp(const ASN1_ITEM *it, FILE *out, const void *x); int ASN1_STRING_print_ex_fp(FILE *fp, const ASN1_STRING *str, unsigned long flags); # endif int ASN1_STRING_to_UTF8(unsigned char **out, const ASN1_STRING *in); void *ASN1_d2i_bio(void *(*xnew) (void), d2i_of_void *d2i, BIO *in, void **x); # define ASN1_d2i_bio_of(type,xnew,d2i,in,x) \ ((type*)ASN1_d2i_bio( CHECKED_NEW_OF(type, xnew), \ CHECKED_D2I_OF(type, d2i), \ in, \ CHECKED_PPTR_OF(type, x))) void *ASN1_item_d2i_bio_ex(const ASN1_ITEM *it, BIO *in, void *pval, OSSL_LIB_CTX *libctx, const char *propq); void *ASN1_item_d2i_bio(const ASN1_ITEM *it, BIO *in, void *pval); int ASN1_i2d_bio(i2d_of_void *i2d, BIO *out, const void *x); # define ASN1_i2d_bio_of(type,i2d,out,x) \ (ASN1_i2d_bio(CHECKED_I2D_OF(type, i2d), \ out, \ CHECKED_PTR_OF(const type, x))) int ASN1_item_i2d_bio(const ASN1_ITEM *it, BIO *out, const void *x); BIO *ASN1_item_i2d_mem_bio(const ASN1_ITEM *it, const ASN1_VALUE *val); int ASN1_UTCTIME_print(BIO *fp, const ASN1_UTCTIME *a); int ASN1_GENERALIZEDTIME_print(BIO *fp, const ASN1_GENERALIZEDTIME *a); int ASN1_TIME_print(BIO *bp, const ASN1_TIME *tm); int ASN1_TIME_print_ex(BIO *bp, const ASN1_TIME *tm, unsigned long flags); int ASN1_STRING_print(BIO *bp, const ASN1_STRING *v); int ASN1_STRING_print_ex(BIO *out, const ASN1_STRING *str, unsigned long flags); int ASN1_buf_print(BIO *bp, const unsigned char *buf, size_t buflen, int off); int ASN1_bn_print(BIO *bp, const char *number, const BIGNUM *num, unsigned char *buf, int off); int ASN1_parse(BIO *bp, const unsigned char *pp, long len, int indent); int ASN1_parse_dump(BIO *bp, const unsigned char *pp, long len, int indent, int dump); const char *ASN1_tag2str(int tag); /* Used to load and write Netscape format cert */ int ASN1_UNIVERSALSTRING_to_string(ASN1_UNIVERSALSTRING *s); int ASN1_TYPE_set_octetstring(ASN1_TYPE *a, unsigned char *data, int len); int ASN1_TYPE_get_octetstring(const ASN1_TYPE *a, unsigned char *data, int max_len); int ASN1_TYPE_set_int_octetstring(ASN1_TYPE *a, long num, unsigned char *data, int len); int ASN1_TYPE_get_int_octetstring(const ASN1_TYPE *a, long *num, unsigned char *data, int max_len); void *ASN1_item_unpack(const ASN1_STRING *oct, const ASN1_ITEM *it); ASN1_STRING *ASN1_item_pack(void *obj, const ASN1_ITEM *it, ASN1_OCTET_STRING **oct); void ASN1_STRING_set_default_mask(unsigned long mask); int ASN1_STRING_set_default_mask_asc(const char *p); unsigned long ASN1_STRING_get_default_mask(void); int ASN1_mbstring_copy(ASN1_STRING **out, const unsigned char *in, int len, int inform, unsigned long mask); int ASN1_mbstring_ncopy(ASN1_STRING **out, const unsigned char *in, int len, int inform, unsigned long mask, long minsize, long maxsize); ASN1_STRING *ASN1_STRING_set_by_NID(ASN1_STRING **out, const unsigned char *in, int inlen, int inform, int nid); ASN1_STRING_TABLE *ASN1_STRING_TABLE_get(int nid); int ASN1_STRING_TABLE_add(int, long, long, unsigned long, unsigned long); void ASN1_STRING_TABLE_cleanup(void); /* ASN1 template functions */ /* Old API compatible functions */ ASN1_VALUE *ASN1_item_new(const ASN1_ITEM *it); ASN1_VALUE *ASN1_item_new_ex(const ASN1_ITEM *it, OSSL_LIB_CTX *libctx, const char *propq); void ASN1_item_free(ASN1_VALUE *val, const ASN1_ITEM *it); ASN1_VALUE *ASN1_item_d2i_ex(ASN1_VALUE **val, const unsigned char **in, long len, const ASN1_ITEM *it, OSSL_LIB_CTX *libctx, const char *propq); ASN1_VALUE *ASN1_item_d2i(ASN1_VALUE **val, const unsigned char **in, long len, const ASN1_ITEM *it); int ASN1_item_i2d(const ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it); int ASN1_item_ndef_i2d(const ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it); void ASN1_add_oid_module(void); void ASN1_add_stable_module(void); ASN1_TYPE *ASN1_generate_nconf(const char *str, CONF *nconf); ASN1_TYPE *ASN1_generate_v3(const char *str, X509V3_CTX *cnf); int ASN1_str2mask(const char *str, unsigned long *pmask); /* ASN1 Print flags */ /* Indicate missing OPTIONAL fields */ # define ASN1_PCTX_FLAGS_SHOW_ABSENT 0x001 /* Mark start and end of SEQUENCE */ # define ASN1_PCTX_FLAGS_SHOW_SEQUENCE 0x002 /* Mark start and end of SEQUENCE/SET OF */ # define ASN1_PCTX_FLAGS_SHOW_SSOF 0x004 /* Show the ASN1 type of primitives */ # define ASN1_PCTX_FLAGS_SHOW_TYPE 0x008 /* Don't show ASN1 type of ANY */ # define ASN1_PCTX_FLAGS_NO_ANY_TYPE 0x010 /* Don't show ASN1 type of MSTRINGs */ # define ASN1_PCTX_FLAGS_NO_MSTRING_TYPE 0x020 /* Don't show field names in SEQUENCE */ # define ASN1_PCTX_FLAGS_NO_FIELD_NAME 0x040 /* Show structure names of each SEQUENCE field */ # define ASN1_PCTX_FLAGS_SHOW_FIELD_STRUCT_NAME 0x080 /* Don't show structure name even at top level */ # define ASN1_PCTX_FLAGS_NO_STRUCT_NAME 0x100 int ASN1_item_print(BIO *out, const ASN1_VALUE *ifld, int indent, const ASN1_ITEM *it, const ASN1_PCTX *pctx); ASN1_PCTX *ASN1_PCTX_new(void); void ASN1_PCTX_free(ASN1_PCTX *p); unsigned long ASN1_PCTX_get_flags(const ASN1_PCTX *p); void ASN1_PCTX_set_flags(ASN1_PCTX *p, unsigned long flags); unsigned long ASN1_PCTX_get_nm_flags(const ASN1_PCTX *p); void ASN1_PCTX_set_nm_flags(ASN1_PCTX *p, unsigned long flags); unsigned long ASN1_PCTX_get_cert_flags(const ASN1_PCTX *p); void ASN1_PCTX_set_cert_flags(ASN1_PCTX *p, unsigned long flags); unsigned long ASN1_PCTX_get_oid_flags(const ASN1_PCTX *p); void ASN1_PCTX_set_oid_flags(ASN1_PCTX *p, unsigned long flags); unsigned long ASN1_PCTX_get_str_flags(const ASN1_PCTX *p); void ASN1_PCTX_set_str_flags(ASN1_PCTX *p, unsigned long flags); ASN1_SCTX *ASN1_SCTX_new(int (*scan_cb) (ASN1_SCTX *ctx)); void ASN1_SCTX_free(ASN1_SCTX *p); const ASN1_ITEM *ASN1_SCTX_get_item(ASN1_SCTX *p); const ASN1_TEMPLATE *ASN1_SCTX_get_template(ASN1_SCTX *p); unsigned long ASN1_SCTX_get_flags(ASN1_SCTX *p); void ASN1_SCTX_set_app_data(ASN1_SCTX *p, void *data); void *ASN1_SCTX_get_app_data(ASN1_SCTX *p); const BIO_METHOD *BIO_f_asn1(void); /* cannot constify val because of CMS_stream() */ BIO *BIO_new_NDEF(BIO *out, ASN1_VALUE *val, const ASN1_ITEM *it); int i2d_ASN1_bio_stream(BIO *out, ASN1_VALUE *val, BIO *in, int flags, const ASN1_ITEM *it); int PEM_write_bio_ASN1_stream(BIO *out, ASN1_VALUE *val, BIO *in, int flags, const char *hdr, const ASN1_ITEM *it); /* cannot constify val because of CMS_dataFinal() */ int SMIME_write_ASN1(BIO *bio, ASN1_VALUE *val, BIO *data, int flags, int ctype_nid, int econt_nid, STACK_OF(X509_ALGOR) *mdalgs, const ASN1_ITEM *it); int SMIME_write_ASN1_ex(BIO *bio, ASN1_VALUE *val, BIO *data, int flags, int ctype_nid, int econt_nid, STACK_OF(X509_ALGOR) *mdalgs, const ASN1_ITEM *it, OSSL_LIB_CTX *libctx, const char *propq); ASN1_VALUE *SMIME_read_ASN1(BIO *bio, BIO **bcont, const ASN1_ITEM *it); ASN1_VALUE *SMIME_read_ASN1_ex(BIO *bio, int flags, BIO **bcont, const ASN1_ITEM *it, ASN1_VALUE **x, OSSL_LIB_CTX *libctx, const char *propq); int SMIME_crlf_copy(BIO *in, BIO *out, int flags); int SMIME_text(BIO *in, BIO *out); const ASN1_ITEM *ASN1_ITEM_lookup(const char *name); const ASN1_ITEM *ASN1_ITEM_get(size_t i); /* Legacy compatibility */ # define DECLARE_ASN1_FUNCTIONS_fname(type, itname, name) \ DECLARE_ASN1_ALLOC_FUNCTIONS_name(type, name) \ DECLARE_ASN1_ENCODE_FUNCTIONS(type, itname, name) # define DECLARE_ASN1_FUNCTIONS_const(type) DECLARE_ASN1_FUNCTIONS(type) # define DECLARE_ASN1_ENCODE_FUNCTIONS_const(type, name) \ DECLARE_ASN1_ENCODE_FUNCTIONS(type, name) # define I2D_OF_const(type) I2D_OF(type) # define ASN1_dup_of_const(type,i2d,d2i,x) ASN1_dup_of(type,i2d,d2i,x) # define ASN1_i2d_fp_of_const(type,i2d,out,x) ASN1_i2d_fp_of(type,i2d,out,x) # define ASN1_i2d_bio_of_const(type,i2d,out,x) ASN1_i2d_bio_of(type,i2d,out,x) # ifdef __cplusplus } # endif #endif ```
Nikola Vasiljević (; born 19 December 1983) is a retired Serbian professional footballer who played as a defender. Honours Red Star Belgrade Serbian Cup: 2009–10 External links Srbijafudbal profile Men's association football defenders Expatriate men's footballers in Bosnia and Herzegovina Expatriate men's footballers in Romania Expatriate men's footballers in Ukraine FC Metalurh Zaporizhzhia players FC UTA Arad players FK Borac Banja Luka players FK BSK Borča players FK Leotar players FK Radnički Beograd players FK Radnički Obrenovac players FK Radnički Pirot players FK Srem players FK Voždovac players Liga I players Premier League of Bosnia and Herzegovina players Red Star Belgrade footballers Serbian expatriate men's footballers Serbian expatriate sportspeople in Bosnia and Herzegovina Serbian expatriate sportspeople in Romania Serbian expatriate sportspeople in Ukraine Serbian First League players Serbian men's footballers Serbian SuperLiga players Footballers from Belgrade Ukrainian Premier League players 1983 births Living people
Nukayevo (; , Nuqay) is a rural locality (a selo) and the administrative centre of Nukayevsky Selsoviet, Kugarchinsky District, Bashkortostan, Russia. The population was 298 as of 2010. There are 3 streets. Geography Nukayevo is located 27 km south of Mrakovo (the district's administrative centre) by road. 1-ye Tukatovo is the nearest rural locality. References Rural localities in Kugarchinsky District
Kemekafo is a commune in the Cercle of Dioïla in the Koulikoro Region of south-western Mali. The principal town lies at Senou. As of 1998 the commune had a population of 16,970. References Communes of Koulikoro Region
The 2023 Veneto Classic was the 3rd edition of the Veneto Classic single-day cycling race. It was held on 15 October 2023, over a distance of 196.25 km, starting in Mel and ending in Bassano del Grappa. The race was won by Davide Formolo of . Teams Seven UCI WorldTeams, seven UCI ProTeams, and six UCI Continental teams made up the twenty teams that participated in the race. UCI WorldTeams UCI ProTeams UCI Continental teams Results References Veneto Classic Veneto Classic Veneto Classic
```python import unittest from tests import test_utils from utils.tool_utils import get_server_version class TestGetVersion(unittest.TestCase): def test_get_version_when_valid(self): test_utils.create_file('version.txt', text='1.14.0') version = get_server_version(test_utils.temp_folder) self.assertEqual('1.14.0', version) def test_get_version_when_no_file(self): version = get_server_version(test_utils.temp_folder) self.assertIsNone(version) def test_get_version_when_no_content(self): test_utils.create_file('my_file.txt', text='') version = get_server_version(test_utils.temp_folder) self.assertIsNone(version) def tearDown(self): test_utils.cleanup() ```
El Jorullo is a cinder cone volcano in Michoacán, central Mexico, on the southwest slope of the central plateau, southeast of Uruapan in an area known as the Michoacán-Guanajuato volcanic field. It is about east-northeast of La Huacana. Its current elevation is . El Jorullo has four smaller cinder cones which have grown from its flanks. The vents of El Jorullo are aligned in a northeast to southwest direction. Lava from these vents cover nine square km around the volcano. Later eruptions produced lavas that had higher silica contents making them thicker than the earlier basalts and basaltic andesite lavas. El Jorullo's crater is about 1,300 by 1,640 feet (400 by 500 m) wide and deep. El Jorullo is one of two known volcanoes to have developed in Mexico in recent history. The second, born about 183 years later, was named Parícutin after a nearby village that it eventually destroyed. Parícutin is about northwest of El Jorullo. El Jorullo was first erupted on 29 September 1759. Earthquakes occurred prior to this first day of eruption. Once the volcano started erupting, it continued for 15 years, eventually ending in 1774. Alexander von Humboldt climbed El Jorullo during the Mexican portion of his scientific expedition to Spanish America. When he visited on 19 September 1803, its multiple cones were still smoldering and the air was extremely hot and filled with volcanic gases. He wrote a detailed description of the climb, noting that his face and those of his travel companions were burned. The volcano enriched the local soil and there was considerable vegetation. Humboldt sketched the volcano in the distance, showing multiple smoking cones. Humboldt undertook the climb with his scientific travel partner Aimé Bonpland, as well as a local Basque settler Ramón Epelde, and two local indigenous servants, whose names have not been recorded. Humboldt noted their assistance on site. Humboldt also notes that he consulted a 1782 publication Rusticatio Mexicana, by Rafael Landívar, who calculated the height of the volcano and the temperature of the thermal waters. El Jorullo did not develop on a corn field like Parícutin did, but it did destroy what had been a rich agricultural area. It grew approximately from the ground in the first six weeks. The eruptions from El Jorullo were primarily phreatic and phreatomagmatic. They covered the area with sticky mud flows, water flows and ash falls. All but the youngest lava flows were covered by this ash fall. Later eruptions from El Jorullo were magmatic with neither mud nor water flows. This 15 year eruption was the longest one El Jorullo has had, and was the longest cinder cone eruption known. Lava flows can still be seen to the north and west of the volcano. The eruption had a VEI of 4. Parícutin and El Jorullo both rose in an area known for its volcanoes. Called the Trans-Mexican Volcanic Belt, the region stretches about from east to west across southern Mexico. The eruptive activity deposited a layer of volcanic rock some 6,000 feet thick, creating a high and fertile plateau. During summer months, the heights snag moisture-laden breezes from the Pacific Ocean; rich farmland, in turn, has made this belt the most populous region in Mexico. Though the region already boasted three of the country's four largest cities: Mexico City, Puebla, and Guadalajara (the area around Parícutin, some 200 miles west of the capital), it was still a peaceful backwater inhabited by Purépecha in the early 1940s. The crater and lake can now be reached by car. See also List of volcanoes in Mexico References "El Jorullo: Credits". Volcano World. Retrieved 16 Apr 2008. "El Jorullo: Credits". Popular Science Monthly. Retrieved 17 Apr 2008. "El Jorullo: Credits". Bartleby.com. Retrieved 17 Apr 2008. External links Landforms of Michoacán Volcanoes of Michoacán Mountains of Mexico Pyroclastic cones Cinder cones Michoacán–Guanajuato volcanic field
Oxalophagus oxalicus, previously known as Clostridium oxalicus, is a bacterium in the family of Paenibacillaceae. References External links Type strain of Oxalophagus oxalicus at BacDive - the Bacterial Diversity Metadatabase Paenibacillaceae Bacteria described in 1990
, born , was the tenth child and sixth daughter of Emperor Meiji of Japan, and the third child and second daughter of Sono Sachiko, the Emperor's fifth concubine. Biography Masako was born in Tokyo Prefecture, the daughter of Emperor Meiji and Lady Sachiko. She held the childhood appellation "Tsune no miya" (Princess Tsune). Her future husband, Prince Tsunehisa Takeda, was the eldest son of Prince Kitashirakawa Yoshihisa and thus the brother of Prince Kitashirakawa Naruhisa. Emperor Meiji authorized Prince Tsunehisa to start a new princely house in March 1906, largely to provide a household with suitable status for his sixth daughter Princess Tsune. Prince Takeda married Princess Masako on 30 April 1908, by whom he had a son and a daughter: , married Count Sano Tsunemitsu. She died on 8 March 1940, aged 51. Honours Grand Cordon of the Order of the Precious Crown Ancestry References 1888 births 1940 deaths Japanese princesses Takeda-no-miya Grand Cordons (Imperial Family) of the Order of the Precious Crown Nobility from Tokyo 19th-century Japanese people 19th-century Japanese women 20th-century Japanese people 20th-century Japanese women
```c++ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/rand_util.h" #include <math.h> #include <stdint.h> #include <algorithm> #include <limits> #include "base/logging.h" #include "base/strings/string_util.h" #undef max #undef min namespace base { int RandInt(int min, int max) { DCHECK_LE(min, max); uint64_t range = static_cast<uint64_t>(max) - min + 1; // |range| is at most UINT_MAX + 1, so the result of RandGenerator(range) // is at most UINT_MAX. Hence it's safe to cast it from uint64_t to int64_t. int result = static_cast<int>(min + static_cast<int64_t>(base::RandGenerator(range))); DCHECK_GE(result, min); DCHECK_LE(result, max); return result; } double RandDouble() { return BitsToOpenEndedUnitInterval(base::RandUint64()); } double BitsToOpenEndedUnitInterval(uint64_t bits) { // We try to get maximum precision by masking out as many bits as will fit // in the target type's mantissa, and raising it to an appropriate power to // produce output in the range [0, 1). For IEEE 754 doubles, the mantissa // is expected to accommodate 53 bits. COMPILE_ASSERT(std::numeric_limits<double>::radix == 2, otherwise_use_scalbn); static const int kBits = std::numeric_limits<double>::digits; uint64_t random_bits = bits & ((UINT64_C(1) << kBits) - 1); double result = ldexp(static_cast<double>(random_bits), -1 * kBits); DCHECK_GE(result, 0.0); DCHECK_LT(result, 1.0); return result; } uint64_t RandGenerator(uint64_t range) { DCHECK_GT(range, 0u); // We must discard random results above this number, as they would // make the random generator non-uniform (consider e.g. if // MAX_UINT64 was 7 and |range| was 5, then a result of 1 would be twice // as likely as a result of 3 or 4). uint64_t max_acceptable_value = (std::numeric_limits<uint64_t>::max() / range) * range - 1; uint64_t value; do { value = base::RandUint64(); } while (value > max_acceptable_value); return value % range; } std::string RandBytesAsString(size_t length) { DCHECK_GT(length, 0u); std::string result; RandBytes(WriteInto(&result, length + 1), length); return result; } } // namespace base ```
Voltage-gated calcium channels (VGCCs), also known as voltage-dependent calcium channels (VDCCs), are a group of voltage-gated ion channels found in the membrane of excitable cells (e.g., muscle, glial cells, neurons, etc.) with a permeability to the calcium ion Ca2+. These channels are slightly permeable to sodium ions, so they are also called Ca2+–Na+ channels, but their permeability to calcium is about 1000-fold greater than to sodium under normal physiological conditions. At physiologic or resting membrane potential, VGCCs are normally closed. They are activated (i.e.: opened) at depolarized membrane potentials and this is the source of the "voltage-gated" epithet. The concentration of calcium (Ca2+ ions) is normally several thousand times higher outside the cell than inside. Activation of particular VGCCs allows a Ca2+ influx into the cell, which, depending on the cell type, results in activation of calcium-sensitive potassium channels, muscular contraction, excitation of neurons, up-regulation of gene expression, or release of hormones or neurotransmitters. VGCCs have been immunolocalized in the zona glomerulosa of normal and hyperplastic human adrenal, as well as in aldosterone-producing adenomas (APA), and in the latter T-type VGCCs correlated with plasma aldosterone levels of patients. Excessive activation of VGCCs is a major component of excitotoxicity, as severely elevated levels of intracellular calcium activates enzymes which, at high enough levels, can degrade essential cellular structures. Structure Voltage-gated calcium channels are formed as a complex of several different subunits: α1, α2δ, β1-4, and γ. The α1 subunit forms the ion-conducting pore while the associated subunits have several functions including modulation of gating. Channel subunits There are several different kinds of high-voltage-gated calcium channels (HVGCCs). They are structurally homologous among varying types; they are all similar, but not structurally identical. In the laboratory, it is possible to tell them apart by studying their physiological roles and/or inhibition by specific toxins. High-voltage-gated calcium channels include the neural N-type channel blocked by ω-conotoxin GVIA, the R-type channel (R stands for Resistant to the other blockers and toxins, except SNX-482) involved in poorly defined processes in the brain, the closely related P/Q-type channel blocked by ω-agatoxins, and the dihydropyridine-sensitive L-type channels responsible for excitation-contraction coupling of skeletal, smooth, and cardiac muscle and for hormone secretion in endocrine cells. Reference for the table can be found at Dunlap, Luebke and Turner (1995). α1 Subunit The α1 subunit pore (~190 kDa in molecular mass) is the primary subunit necessary for channel functioning in the HVGCC, and consists of the characteristic four homologous I–IV domains containing six transmembrane α-helices each. The α1 subunit forms the Ca2+ selective pore, which contains voltage-sensing machinery and the drug/toxin-binding sites. A total of ten α1 subunits that have been identified in humans: α1 subunit contains 4 homologous domains (labeled I–IV), each containing 6 transmembrane helices (S1–S6). This arrangement is analogous to a homo-tetramer formed by single-domain subunits of voltage-gated potassium channels (that also each contain 6 TM helices). The 4-domain architecture (and several key regulatory sites, such as the EF hand and IQ domain at the C-terminus) is also shared by the voltage gated sodium channels, which are thought to be evolutionarily related to VGCCs. The transmembrane helices from the 4 domains line up to form the channel proper; S5 and S6 helices are thought to line the inner pore surface, while S1–4 helices have roles in gating and voltage sensing (S4 in particular). VGCCs are subject to rapid inactivation, which is thought to consist of 2 components: voltage-gated (VGI) and calcium-gated (CGI). These are distinguished by using either Ba2+ or Ca2+ as the charge carrier in the external recording solution (in vitro). The CGI component is attributed to the binding of the Ca2+-binding signaling protein calmodulin (CaM) to at least 1 site on the channel, as Ca2+-null CaM mutants abolish CGI in L-type channels. Not all channels exhibit the same regulatory properties and the specific details of these mechanisms are still largely unknown. α2δ Subunit The α2δ gene forms two subunits: α2 and δ (which are both the product of the same gene). They are linked to each other via a disulfide bond and have a combined molecular weight of 170 kDa. The α2 is the extracellular glycosylated subunit that interacts the most with the α1 subunit. The δ subunit has a single transmembrane region with a short intracellular portion, which serves to anchor the protein in the plasma membrane. There are 4 α2δ genes: CACNA2D1 (), CACNA2D2 (), (), (). Co-expression of the α2δ enhances the level of expression of the α1 subunit and causes an increase in current amplitude, faster activation and inactivation kinetics and a hyperpolarizing shift in the voltage dependence of inactivation. Some of these effects are observed in the absence of the beta subunit, whereas, in other cases, the co-expression of beta is required. The α2δ-1 and α2δ-2 subunits are the binding site for gabapentinoids. This drug class includes two anticonvulsant drugs, gabapentin (Neurontin) and pregabalin (Lyrica), that also find use in treating chronic neuropathic pain. The α2δ subunit is also a binding site of the central depressant and anxiolytic phenibut, in addition to actions at other targets. β Subunit The intracellular β subunit (55 kDa) is an intracellular MAGUK-like protein (Membrane-Associated Guanylate Kinase) containing a guanylate kinase (GK) domain and an SH3 (src homology 3) domain. The guanylate kinase domain of the β subunit binds to the α1 subunit I-II cytoplasmic loop and regulates HVGCC activity. There are four known genes for the β subunit: CACNB1 (), CACNB2 (), CACNB3 (), CACNB4 (). It is hypothesized that the cytosolic β subunit has a major role in stabilizing the final α1 subunit conformation and delivering it to the cell membrane by its ability to mask an endoplasmic reticulum retention signal in the α1 subunit. The endoplasmic retention brake is contained in the I–II loop in the α1 subunit that becomes masked when the β subunit binds. Therefore, the β subunit functions initially to regulate the current density by controlling the amount of α1 subunit expressed at the cell membrane. In addition to this trafficking role, the β subunit has the added important functions of regulating the activation and inactivation kinetics, and hyperpolarizing the voltage-dependence for activation of the α1 subunit pore, so that more current passes for smaller depolarizations. The β subunit has effects on the kinetics of the cardiac α1C in Xenopus laevis oocytes co-expressed with β subunits. The β subunit acts as an important modulator of channel electrophysiological properties. Until very recently, the interaction between a highly conserved 18-amino acid region on the α1 subunit intracellular linker between domains I and II (the Alpha Interaction Domain, AID) and a region on the GK domain of the β subunit (Alpha Interaction Domain Binding Pocket) was thought to be solely responsible for the regulatory effects by the β subunit. Recently, it has been discovered that the SH3 domain of the β subunit also gives added regulatory effects on channel function, opening the possibility of the β subunit having multiple regulatory interactions with the α1 subunit pore. Furthermore, the AID sequence does not appear to contain an endoplasmic reticulum retention signal, and this may be located in other regions of the I–II α1 subunit linker. γ Subunit The γ1 subunit is known to be associated with skeletal muscle VGCC complexes, but the evidence is inconclusive regarding other subtypes of calcium channel. The γ1 subunit glycoprotein (33 kDa) is composed of four transmembrane spanning helices. The γ1 subunit does not affect trafficking, and, for the most part, is not required to regulate the channel complex. However, γ2, γ3, γ4 and γ8 are also associated with AMPA glutamate receptors. There are 8 genes for gamma subunits: γ1 (), γ2 (), γ3 (), γ4 (), (), (), (), and (). Muscle physiology When a smooth muscle cell is depolarized, it causes opening of the voltage-gated (L-type) calcium channels. Depolarization may be brought about by stretching of the cell, agonist-binding its G protein-coupled receptor (GPCR), or autonomic nervous system stimulation. Opening of the L-type calcium channel causes influx of extracellular Ca2+, which then binds calmodulin. The activated calmodulin molecule activates myosin light-chain kinase (MLCK), which phosphorylates the myosin in thick filaments. Phosphorylated myosin is able to form crossbridges with actin thin filaments, and the smooth muscle fiber (i.e., cell) contracts via the sliding filament mechanism. (See reference for an illustration of the signaling cascade involving L-type calcium channels in smooth muscle). L-type calcium channels are also enriched in the t-tubules of striated muscle cells, i.e., skeletal and cardiac myofibers. When these cells are depolarized, the L-type calcium channels open as in smooth muscle. In skeletal muscle, the actual opening of the channel, which is mechanically gated to a calcium-release channel (a.k.a. ryanodine receptor, or RYR) in the sarcoplasmic reticulum (SR), causes opening of the RYR. In cardiac muscle, opening of the L-type calcium channel permits influx of calcium into the cell. The calcium binds to the calcium release channels (RYRs) in the SR, opening them; this phenomenon is called "calcium-induced calcium release", or CICR. However the RYRs are opened, either through mechanical-gating or CICR, Ca2+ is released from the SR and is able to bind to troponin C on the actin filaments. The muscles then contract through the sliding filament mechanism, causing shortening of sarcomeres and muscle contraction. Changes in expression during development Early in development, there is a high amount of expression of T-type calcium channels. During maturation of the nervous system, the expression of N or L-type currents becomes more prominent. As a result, mature neurons express more calcium channels that will only be activated when the cell is significantly depolarized. The different expression levels of low-voltage activated (LVA) and high-voltage activated (HVA) channels can also play an important role in neuronal differentiation. In developing Xenopus spinal neurons LVA calcium channels carry a spontaneous calcium transient that may be necessary for the neuron to adopt a GABAergic phenotype as well as process outgrowth. Clinical significance Voltage-gated calcium channels antibodies are associated with Lambert-Eaton myasthenic syndrome and have also been implicated in paraneoplastic cerebellar degeneration. Voltage-gated calcium channels are also associated with malignant hyperthermia and Timothy syndrome. Mutations of the CACNA1C gene, with a single-nucleotide polymorphism in the third intron of the Cav1.2 gene, are associated with a variant of long QT syndrome called Timothy's syndrome and also with Brugada syndrome. Large-scale genetic analyses have shown the possibility that CACNA1C is associated with bipolar disorder and subsequently also with schizophrenia. Also, a CACNA1C risk allele has been associated to a disruption in brain connectivity in patients with bipolar disorder, while not or only to a minor degree, in their unaffected relatives or healthy controls. See also Glutamate receptors Inositol triphosphate receptor Ion channels NMDA receptors References External links Electrophysiology Membrane biology Integral membrane proteins Voltage-gated ion channels Calcium channels
Maksim Yuryevich Putilin (; born 11 June 1966) is a Russian former professional footballer. Career He made his professional debut in the Soviet Second League in 1984 for FC Torpedo Vladimir. He played 3 games and scored 1 goal in the UEFA Intertoto Cup 1998 for FC Shinnik Yaroslavl. His son Roman Putilin is a professional footballer. Honours Russian Cup winner: 1993. References 1966 births Living people Soviet men's footballers Russian men's footballers Men's association football midfielders Men's association football defenders Russian Premier League players FC Presnya Moscow players FC Torpedo Moscow players FC Torpedo-2 players FC Lokomotiv Nizhny Novgorod players FC Shinnik Yaroslavl players FC Amkar Perm players FC Sibir Novosibirsk players FC Kristall Smolensk players FC Torpedo Vladimir players Sportspeople from Vladimir, Russia
The holiday production hiatus, or "hiatus", is a common practice in Los Angeles, California, British Columbia, and other places that regularly produce television and movie content. This is concurrent with the hiatus in programming between halves of a regular television season, winter break for schools, and the peak of the Christmas and holiday season. During the initial phases of the COVID-19 pandemic, the hiatus was extended, at least in Los Angeles, to accommodate a surge in infections. Hiatus may also start earlier, to accommodate writing and casting issues and needs. References Film production Christmas
The National Development Party (NDP) was a political party in Kenya which was of national importance between 1994 and 2001. It was founded by Stephen Wilfred Omondi Oludhe. Becoming Odinga's party Being a minor political party, until 1994, NDP gained national prominence when Raila Odinga joined it after he left Ford-Kenya following his loss in the battle for leadership of that party to Michael Wamalwa. Odinga pulled Ford members of parliament from Nyanza Province with him. This spike in membership, which included Ford-K's Nyanza MPs, put NDP in the position of a major opposition party in the Kenyan parliament. The party managed to retain its strong position in Nyanza region mainly among the Luo population during the 1997 elections when it returned 21 members to parliament. Co-operation and coalition with KANU In 2000 NDP started to cooperate with the KANU-government of president Daniel arap Moi. From June 2001 three MPs of NDP joined the cabinet, thus inaugurating the first coalition cabinet in Kenya's history. 2002 merger and split In spring 2002 NDP merged with KANU. NDP leader Odinga became the Secretary-General of the united Party. This union was to be short-lived, as from summer 2002 it became obvious that arap Moi was determined to have Uhuru Kenyatta as his successor, which was confirmed by a KANU congress in October 2002. Odinga, who had been aware of manipulated lists of delegates, pulled out from the congress together with his followers from the former NDP and was joined by a number of KANU politicians who protested against Moi's manipulation of the party meeting in favour of his chosen candidate. Together, the group, which called itself the Rainbow Coalition, quit the ruling party and then joined the then-minor Liberal Democratic Party, which was to be one of the founding members of the National Rainbow Coalition which went on to win the 2002 presidential and parliamentary elections. References Defunct political parties in Kenya Political parties established in 1991 1991 establishments in Kenya
Mount Muir is a mountain located on the Continental Divide on the Alberta-British Columbia border. The mountain was named in 1918 after Alexander Muir. It is located in the High Rock Range. See also List of peaks on the British Columbia–Alberta border References External links Two-thousanders of Alberta Two-thousanders of British Columbia Canadian Rockies
The Hagerstown Suns Minor League Baseball team was established in Hagerstown, Maryland, in 1981. The Suns remained in the Carolina League through 1988. In 1989, team ownership purchased the Williamsport Bills franchise of the Double-A Eastern League (EL) and relocated the team to Hagerstown. The Double-A Suns carried on the history of the Class A team that preceded it. After just four seasons, the Eastern League franchise left. The Myrtle Beach Hurricanes franchise of the Class A South Atlantic League (SAL) relocated to Hagerstown for the 1993 season where they became the Suns and continued the previous Suns teams' history. The Suns' lone league championship was won in their inaugural 1981 season. Previous Hagerstown teams Cumberland Valley League (1896) Professional baseball has been played in Hagerstown since the late nineteenth century. The Hagerstown Lions played for one season in the independent Cumberland Valley League during 1896. The league began on June 19 and lasted until August 9, when it disbanded due to the disbandment of one of the teams, the Chambersburg Maroons, on August 7. The Lions finished the season in first place with a record of 26–12, three games ahead of Chambersburg. The Lions also dominated statistically, having the league leaders in runs (40 by Natty Nattress), hits (52 by William Graffius), wins by a pitcher (10 by Thomas Lipp), and winning percentage by a pitcher (.833 by Thomas Lipp, with a 10–2 record). Lipp and another Lion, John Gochnaur, were the first Hagerstown players to make it to the major leagues. Blue Ridge League / Middle Atlantic League (1915–1931) In 1915, the Class D Blue Ridge League was formed with its headquarters in Hagerstown. Hagerstown fielded a team for the next 16 seasons. Throughout this time, they won five pennants and donned four different names: the Blues, Terriers, Champs, and Hubs. Before the beginning of the 1931 season, the Blue Ridge League disbanded. The club was then affiliated with the Class C Middle Atlantic League, but on June 28, 1931, the club moved to Parkersburg, West Virginia. The Hagerstown players with the most major league experience during this era were Mike Mowrey (13 major league seasons), Frankie Pytlak (12 major league seasons), and Babe Phelps (11 major league seasons). Interstate League / Piedmont League (1941–1955) Professional baseball returned to Hagerstown in 1941 when Oren E. Sterling moved his Sunbury Indians franchise to town and became a Detroit Tigers affiliate. The newly named Hagerstown Owls (Oren, Win, Luck, and Sterling) joined the Class B Interstate League. Gene Raney purchased the team from Sterling in 1950, and the renamed Hagerstown Braves became an affiliate of the Boston Braves. The team moved to the Piedmont League in 1953 and once again had a name and affiliation change. The new Washington Senators affiliate, the Hagerstown Packets, competed until the league disbanded after the 1955 season. Carolina League (1981–1988) Hagerstown was without a professional team until 1981 when Lou Eliopulos purchased the Rocky Mount Pines Class A Carolina League franchise and moved them north to Hagerstown. Team highlights The team was a co-op affiliate during 1981, with coaches supplied by the Baltimore Orioles and players supplied by several major league clubs to include the Orioles, Chicago Cubs, Cleveland Indians, and Pittsburgh Pirates. The newly named Hagerstown Suns proceeded to win the Carolina League championship in their inaugural season by defeating the Peninsula Pilots. In 1982, the Suns began a long-term affiliation with the Baltimore Orioles. The 1982 Suns had a better record than the 1981 team, but did not reach the playoffs. For 1983, despite winning 84 games, the Suns finished 10.5 games behind the North Division champion Lynchburg Mets. The winner of the South Division was the Winston-Salem Red Sox, who won 10 games less than the Suns. Hagerstown also led the Carolina League in attendance during 1983 with 153,660 fans as compared to Durham's 142,370. They experienced their first losing season in franchise history in 1984, finishing 30 games behind the first place Lynchburg Mets. One reason may have been the fact the team had three different managers (John Hart, Len Johnston, and Grady Little) during the season. In 1985, the Suns played an exhibition game with the parent club Baltimore Orioles. The Suns' best overall record in franchise history and a return to the Carolina League championship series came in 1986. However, the Suns would lose the league championship to the Winston-Salem Spirits. The Suns would also make the playoffs in 1987, only to be eliminated in the first round by the eventual league champion Salem Buccaneers. Despite having the best overall record in the Carolina League North Division in 1988, the Suns did not make the playoffs. This occurred because the Suns did not win either the first or second half. The team that won the North Division championship was the Lynchburg Red Sox, whose overall record was 11 games worse than the Suns. Carolina League records The Suns still hold several Carolina League single-game individual and team records. Doubles: Dan Norman, 4 (May 14, 1986) shared with nine others Triples: Johnny Tutt, 3 (July 29, 1982) shared with three others Grand slams: Dave Falcone, 2 (June 9, 1986) shared with two others Runs batted in: Dave Falcone, 11 (June 9, 1986) Stolen bases: Johnny Tutt, 5 (August 14, 1982) shared with three others Most assists by a shortstop: Randy Strajek, 12 (June 16, 1988) shared with two others Most double plays, both teams, extra innings: 10 (August 15, 1986) 5 for Hagerstown and 5 for Kinston in 11 innings Most team assists, one game (nine innings): 24 (June 16, 1988) shared with one other team Other individual highlights In addition to the Carolina League records, the Suns also had many other individual distinctions during the Carolina League period. Matt Tyner and Ken Gerhart set the club record for season home runs with 31 in 1981 and 1983 respectively. Also in 1983, future Hall of Fame member Jim Palmer made a rehabilitation start for Hagerstown. Craig Worthington and Pete Stanicek were the standouts in 1986. Worthington set a Suns record with 105 runs batted in (RBIs) and hit 15 home runs. He did this while maintaining a .300 batting average. Meanwhile, Stanicek batted .317 and set a Suns' record (later tied by Don Buford in 1988) by stealing 77 bases, only getting caught 17 times. One other noteworthy player for Suns' fans in 1986 was Mick Billmeyer, a local product from nearby Funkstown. He played the entire 1986 season as the primary back-up to Suns catcher Jeff Tackett. The 1987 offense was led by Leo Gómez. He batted a league leading .326 with 19 home runs and 110 RBI. Gomez also led the Carolina League in doubles with 38. The ace of the Suns' rotation in 1987 was Blaine Beatty. Beatty went 11–1 with a 2.52 earned run average (ERA) in 13 starts with the Suns before being promoted to Double-A Charlotte. He completed 4 of his starts and allowed just 81 hits in 100 innings. Beatty was also named the 1987 Carolina League Pitcher of the Year. Carolina League All-Stars and season leaders Eastern League (1989–1992) In 1989, Hagerstown moved up to the Double-A Eastern League, taking over the Williamsport Bills franchise and again affiliating with the Orioles. (The Carolina League franchise relocated down Interstate 70 as the Frederick Keys, maintaining the Orioles' Class A affiliation.) Suns' fans saw some familiar faces as past players such as Leo Gómez, Pete Stanicek, Dave Bettendorf, Ken Dixon, and Brian Dubois returned. On offense, David Segui batted .324 with 1 homerun and 27 RBI in 44 games in his second stint with Hagerstown after being promoted from Frederick. Leo Gómez hit 18 home runs, a team leading total. Suns fans also saw the return of Steve Finley, who came back to Hagerstown via a rehabilitation assignment. In 11 games, Finley hit .417 with 7 RBI and 4 stolen bases. On the pitching side, Mike Linskey was the ace of the starting staff with 10 wins and a 2.81 ERA in 18 starts. Despite his dominance with the Suns, Linskey would never pitch in the major leagues. The Suns finished their first season in Double-A 5 games under .500, and ended up fifth in the then eight team Eastern League. They narrowly missed the playoffs by 3 games and were 24.5 games back of the first place, and eventual league champion, Albany-Colonie Yankees. The Suns failed to make the Eastern League playoffs in 1990. While they fell short of that quest, the Suns still had one of their more interesting years. Jack Voigt would contribute mightily to the offense as he batted .256 with a team leading 12 homeruns and 70 RBI. Scott Meadows led the team with 75 RBI. Luis Mercedes batted a league leading .334. He also stole a team leading 38 bases. Three prominent Baltimore Orioles, Sam Horn, Brady Anderson, and Mike Devereaux, made rehabilitation appearances. Anderson stood out the most among the group as he hit .382 in 9 games. The pitching staff was led by Anthony Telford, who went 10–2 with a 1.97 ERA in 13 starts for the Suns, completing 4 games. Another milestone in 1990 was the visit of George H. W. Bush to Municipal Stadium to attend a Hagerstown Suns baseball game. This visit was the first time a sitting President of the United States attended a minor league baseball game. After back to back losing seasons, the Suns returned to their winning ways in 1991, making their only Eastern League playoff appearance. They finished in second place, only to lose to the eventual league champion Albany-Colonie Yankees in the first round. The offense got power from Paul Carey, who hit a team leading 12 home runs. The Sun's best all around hitter may have been first basemen Ken Shamberg, who hit .275 with 10 homeruns and a team best 82 RBI in 114 games. Top prospect Arthur Rhodes led the pitching staff. Over the course of 19 starts, Rhodes would go 7–4 with a 2.70 ERA and strikeout 115 batters in 106.2 innings, while walking just 47. Rhodes also won the Eastern League Pitcher of the Year Award. He also made his major league debut with the Orioles after being promoted directly from Hagerstown. Stacy Burdick was the leader in pitching wins (11), yet it was the last professional season that he pitched. Burdick went 29–17 combined between 3 stints with Hagerstown including time with the Carolina League franchise as well. Todd Stephen led the team in saves out of the bullpen with 17 and had a 2.12 ERA in 89 innings pitched. Much like the year before, Suns fans saw multiple rehabilitation assignments pass through as Kevin Hickey, Dave Johnson, Bob Milacki, Billy Ripken, and Glenn Davis each had stops in Hagerstown. All of this added to what was by far the Suns best season in the Double-A Eastern League. The Suns also had their all-time highest attendance record, with 193,753 fans passing through the gate. The team fell short of its quest for the Eastern League playoffs in 1992. Mel Wearing led the team with only 5 homeruns. Scott Meadows would hit .317 in 45 games with the Suns; this proved to be his final year with the Orioles organization. Manny Alexander, the Suns' shortstop, hit .259 and stole a team-leading 43 bases. He did this at the age of 21, young for Double-A baseball. The 1992 season would also complete a unique trifecta for the Suns. In this season, Don Buford managed his son Damon. His other son, Don Jr., had played for the Suns in 1988 and 1989. Don Jr. tied the Suns record for stolen bases by a Suns with 77 in 1988 and would come back in 1989 to steal 30 more. Damon meanwhile, stole 41 bases in 1992 with the Suns. Damon was the only one of the two sons to follow in his father's footsteps by playing in the major leagues. The Suns' and Keys' owners failed to claim an Eastern League expansion franchise for Bowie in 1993 (coinciding with the Florida Marlins' and Colorado Rockies' addition to the majors). They instead chose to move their existing Hagerstown franchise there as the Bowie Baysox. Hagerstown's relationship with the Baltimore Orioles ended after 1992. Unlike when the Carolina League team had left a few years earlier, there was no guarantee that another team would return to Hagerstown. Hagerstown would not go without, though. Winston Blenckstone relocated his Myrtle Beach Hurricanes franchise in the Class A South Atlantic League (SAL) to Hagerstown after the 1992 season and promptly renamed them the Suns. Eastern League All-Stars and season leaders Major League Baseball (MLB) Players who played for the Carolina League and Eastern League Hagerstown Suns Note: MLB players who played for the South Atlantic League Hagerstown Suns can be found at Hagerstown Suns All-time individual season records Note: For Single-A Hagerstown Suns individual season records, see Hagerstown Suns. All-time team career leaders Note: These records cover all Hagerstown Suns teams from 1981 to 2019. Suns team records Note: These records cover all Hagerstown Suns teams from 1981 to 2019. Hagerstown Suns Carolina League and Eastern League Season-by-Season Record Further reading Johnson, Lloyd and Wolff, Miles, editors: Encyclopedia of Minor League Baseball. Durham, North Carolina Publisher: Baseball America, 2007. Format: Hardback, 767 pp. Savitt, Robert B. The Blue Ridge League: Images of Baseball Publisher: Arcadia Publishing, 2011. Format: Softcover, 127pp. Language: English. References External links Statistics from Baseball-Reference Hagerstown Suns
Sheykhabad (, also Romanized as Sheykhābād) is a village in Khaveh-ye Jonubi Rural District, in the Central District of Delfan County, Lorestan Province, Iran. At the 2006 census, its population was 136, in 35 families. References Populated places in Delfan County
The Movement for Democracy and Development (, MDD) is a political party in the Central African Republic, established by former President David Dacko. It is currently led by Louis Papéniah. History The party originated from the David Dacko Movement (Mouvement David Dacko, MDD) that contested the 1993 general elections; the MDD won six seats in the National Assembly, whilst Dacko was the party's candidate for the presidency, coming third in the first round with 20% of the vote. Following the elections the group became part of a coalition government headed by Jean-Luc Mandaba of the Movement for the Liberation of the Central African People (MLPC). The group was transformed into the MDD when it was formally established on 15 December 1993. In the next parliamentary elections in 1998 the MDD was part of the Union of Forces for Peace, (UFAP) which opposed President Ange-Félix Patassé. The MDD won eight seats, and UFAP gained a majority of 55 of the 109 seats in the National Assembly. However, the MLPC was able to form a government after the defection of a UFAP MP. Despite being in opposition, four MDD members were appointed ministers in Anicet-Georges Dologuélé's government. However, three of them were pressured into resigning by the MDD leadership a few days later. In the presidential elections the following year, Dacko was again the party's candidate. He again finished third with 11% of the vote. Following Dacko's death in 2003, elections were held for party president in September 2004. Former National Assembly vice president Rufin Brice Molomadon was elected, with 29 votes, defeating former Information Minister Emmanuel Bongopassi (13 votes) and former Commerce Minister Simon Didier Bongolapè (9 votes). The party contested the 2005 elections as part of the National Convergence "Kwa Na Kwa" alliance, winning two of the alliance's 42 seats. The MDD was given one ministerial post in the government formed by Faustin-Archange Touadéra in 2009. In 2010 the party joined the Presidential Majority alliance in preparation for the 2011 general elections. The MDD nominated 15 candidates for the 105 seats in the National Assembly, winning two of the alliance's 11 seats. References 1993 establishments in the Central African Republic Conservatism in the Central African Republic Conservative parties in Africa Political parties established in 1993 Political parties in the Central African Republic Right-wing parties
```xml /* * Wire * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * along with this program. If not, see path_to_url * */ export * from './TimedMessages'; ```
Domingo Ruíz is a barrio in the municipality of Arecibo, Puerto Rico. Its population in 2010 was 3,153. History Domingo Ruíz was in Spain's gazetteers until Puerto Rico was ceded by Spain in the aftermath of the Spanish–American War under the terms of the Treaty of Paris of 1898 and became an unincorporated territory of the United States. In 1899, the United States Department of War conducted a census of Puerto Rico finding that the population of Domingo Ruíz barrio was 931. Sectors Barrios (which are, in contemporary times, roughly comparable to minor civil divisions) in turn are further subdivided into smaller local populated place areas/units called sectores (sectors in English). The types of sectores may vary, from normally sector to urbanización to reparto to barriada to residencial, among others. The following sectors are in Domingo Ruíz barrio: , and . See also List of communities in Puerto Rico List of barrios and sectors of Arecibo, Puerto Rico References Barrios of Arecibo, Puerto Rico
```scss @import '../../../../../../styles/buttons.scss'; // border: solid 3px #fff; .monitored { border: solid 3px $pink !important; } .available { border: solid 3px $green !important; } .selected { border: solid 3px $orange !important; } .album-poster { margin-bottom: 5%;; } ```
Club Deportivo y Mutual Leandro N. Alem is an Argentine football club, located in General Rodríguez, Buenos Aires Province. The team currently plays in Primera C, the fourth division of the Argentine football league system. The club was founded in 1925 by a group of dairy workers, and because of that, it was soon nicknamed El Lechero (The Milkman) although its denomination honoured Leandro Nicéforo Alem, an Argentine politician who was the founder and leader of the Unión Cívica Radical and also the uncle and political teacher of former President of Argentina Hipólito Yrigoyen. Leando N. Alem used wears a uniform that is very similar to Boca Juniors, Argentina's most popular football team. In the 2001 Primera C Metropolitana Clausura tournament the club set an Argentine record for the worst performance in a short season. They obtained only 1 point from 17 games, which led to their relegation to Primera D. Team 2022 As of 13 February 2022: Titles Primera C: 1 1924 Primera D: 2 1957, 2006–07 See also List of football clubs in Argentina Argentine football league system References Association football clubs established in 1925 Football clubs in Buenos Aires Province General Rodríguez Partido 1924 establishments in Argentina
Aşk Kaç Beden Giyer? (What Size Does Love Wear?) is the fifth studio album by Turkish-Belgian singer Hadise. It was released on 12 April 2011 by Seyhan Müzik. The preparations began in 2010 and Hadise announced that she had planned to publish it by the end of the year. However, due to her break up with her then-boyfriend Sinan Akçıl in November 2010, and Akçıl's decision to take back some of the songs that he had prepared for the album, the release date for the album was postponed. Hadise produced the album and worked with Alper Narman, Deniz Erten, Erdem Kınay and Gülşen on this project. A dance-pop album, Aşk Kaç Beden Giyer? became the topic of many tabloid discussions as many believed that its lyrics had references to Hadise and Sinan Akçıl's relationship. Some of the music critics found the album to be ordinary, but some of them praised the fact that the songs were above Turkish pop music standards. Hadise appeared with a leopard patterned dress on the photographs for the album's cover, and her appearance was compared to that of Beyoncé by some critics. Three of the album's songs were turned into music videos. The oriental-inspired lead single "Superman" was the first song for which a music video was released and it rose to number 5 on Türkçe Top 20. Its music video, directed by Nihat Odabaşı, was praised by the critics. The second and third music videos were released for the songs "Aşk Kaç Beden Giyer?" and "Mesajımı Almıştır O" respectively. The music videos for these two songs were directed by Hadise's elder sister Hülya Açıkgöz. By the end of 2011, "Superman" and "Aşk Kaç Beden Giyer?" became the eight and fourth most-downloaded songs in Turkey respectively. Aşk Kaç Beden Giyer? ranked 10th on D&R's Best-Selling list and by the end of 2011 sold 35,000 copies in Turkey. To promote the album Hadise gave concerts at various places in Turkey, and performed her songs at the 38th Golden Butterfly Awards and on Beyaz Show. The album was nominated as the Best Album at the 2012 OMÜ Media Awards, and its lead single "Superman" received the Best Music Video award at the 2nd Pal FM Music Awards. Background and development After representing Turkey at the Eurovision Song Contest 2009 with the song "Düm Tek Tek", written by Sinan Akçıl, and placing fourth in the contest, Hadise released the album Fast Life and Kahraman in the same year. Hadise's first Turkish album Kahraman was produced by Sinan Akçıl and shortly after its release reports about his relationship with Hadise appeared in the press. The couple split in November 2010, which resulted in a longer preparation process for the album as Akçıl took back four songs that he had already given to Hadise. Their breakup caused speculations about whether the songs on the album's final version where referencing Akçıl or not. Meanwhile, Hadise gave various information on the album throughout 2010. In March, on an interview with PowerTürk TV she stated that preparing the album was taking longer than what she had expected and that she was planning on publishing a maxi single first. In another interview in July with Elle magazine, she announced that the album would be released in October. However, after her breakup with Sinan Akçıl, he took back the songs "Aşkım", "Başkan", "Bebek" and "Kalbine Bir Şey Olmuş", leaving Hadise with only three songs, which forced her to postpone the release date. In September she signed a contract with Seyhan Müzik, and at the same time began sharing the lyrics of her new song. On the first days of 2011, it was reported that she had received a song by Gülşen. Music and lyrics In the period before its release, Hadise said that "music felt as a turning point in my life and [the album] was done out of good music", and Aşk Kaç Beden Giyer? was eventually released as a dance-pop album. In her opinion, instead of encouraging depression, the album was about "enjoying life, being strong and loving yourself". Alper Narman and Deniz Erten each wrote three songs for the album, while Gökhan Şahin wrote two of the songs and Gülşen only one of them. Erdem Kınay composed and arranged five of the album's songs. Hadise herself produced the album, and her elder sister Hülya Açıkgöz served as general coordinator. Parts of the recording was done in Turkey, and the other parts were done in Belgium. All of the mixing was done in Antwerp by Ozan Aktaş, a member of the Street Fabulous production, at the Trez Record Studios, while the audio mastering was done in Brussels at the Electric City studio by Alan Ward. The album contains nine songs and its first song, "Burjuva", was a dance song with high tempo written by Alper Narman, and according to some music critics the song's chorus, "Adam mısın süslü burjuva? (Are you a man, dressed-up in a bourgeois?) / Patlar o pasta bebek suratında (This cake is smashing against your face) / Kıvır durma tatminsiz diva (Come on, sway, unsatisfied diva) / Yolu kapatma, haydi bye bye (Don't block the road, so bye bye)", was a reference to Hadise's ex-boyfriend Sinan Akçıl. Milliyets Ali Eyüboğlu believed that the phrase "ornate bourgeois" was a direct reference to Akçıl. Hadise denied all of these rumors and said that the songs were there "just to make the album beautiful". The second and third songs "Mesajımı Almıştır O" and "Aşk Kaç Beden Giyer?" also had high tempos and were written by Gökhan Şahin and Deniz Erten. The song "Aşk Kaç Beden Giyer?", which questioned the idea of living through numerous loves at the same time, was according to Gerçek Pop's Fatih Melek "the reason the album came to existence" because of its vocal arrangement and good use of samples. The synth-pop song "Kalbine Yalan Bulma" was composed by Erdem Kınay, followed by the fifth song "Melek", composed by Hadise and Youssef Chellak. The sixth song "Yetenek", was a slow-paced song written by Alper Narman. The seventh song was named after the American comic books character Superman, due to the use of his name in the song's chorus: "Nasıl bir düşmek bu böyle gözden? (What kind of falling into disfavor is this?) / Superman olsan toplayamazsın (You couldn't fix that, even if you were Superman)". The song featured oriental elements and was composed by Gülşen, and due to its characteristics, it was considered by music critics irrelevant to the rest of the album. The song "Macera", composed by Erdem Kınay, was compared by Fatih Melek to Paul Oakenfold's "Faster Kill Pussycat". Ozan Doğulu composed the album's final song "Harakiri". Cover and release Aşk Kaç Beden Giyer?s photographs were taken by Duy Quoc Vo. Hadise's hair and makeup for the photographs were done by Lisselotte van Saarloos and Mahmut Karadağ served as the general stylist. Hadise's hair was dyed brown for the photo shoot and she appeared in front of a pail oil green background, wearing a leopard-patterned dress. The pail green color was used as the main color for the album's frame. Hadise's appearance in the photographs was compared by many journalists and music critics to that of American singer Beyoncé. Hürriyets Onur Baştürk addressed the issue and said "On the cover of the album, Hadise is quite resembling Beyoncé. The stance, the look, the hair, the auto-tanned skin, the excess skin color ... I don't mind. She is carrying this Beyoncé attitude very well." Gerçek Pop's Fatih Melek also commented on the album's cover and described it as a "disastrous album cover as usual". Hadise saw the comments as a "great compliment", yet denied the similarities and stated that she didn't use anyone as a model for the photo shoots and they only applied that theme due to its suitability. She also emphasized that she didn't want to be "a copy of another artist". Hadise's fifth studio album Aşk Kaç Beden Giyer? was released by Seyhan Müzik on 12 April 2011 on digital platforms, and in CD format on 14 April in Turkey. It was the Hadise's only album that was distributed by Seyhan Müzik. The album ranked tenth on D&R's Best-Selling list and according to MÜ-YAP sold 35,000 physical copies by the end of the year, becoming the twenty-eighth best-selling album of the year. Together with its release, it was advertised in 11 different parts of Istanbul on great commercial buildings. According to Vatan the cost of one of these monthly advertisements was 55,000 at the time. Aşk Kaç Beden Giyer? earned Hadise the Best Female Artist award at the 18th Golden Objective Awards. The album was nominated for the Best Album Award at the 2012 OMÜ Media Awards. Critical reception Aşk Kaç Beden Giyer? received mixed reviews from music critics. Some found the songs suitable based on Hadise's style, while some found them too ordinary and mediocre. Hürriyets Onur Baştürk believed that thanks to the album Hadise "has distanced herself from her Eurovision style and finally found some appropriate cool songs for herself" and stated that it was the "Turkish pop album with the most dynamic and western sound that I've listened to for a long time," and attributed this quality to Erdem Kınay's composition. Hayat Müzik's critic Yavuz Hakan Tok also published a review on the website, saying the album was "not bad at all and a few songs are over the standard line for Turkish pop". Tok went on to say that in general the album "has given signals that Hadise cannot go further with her insistence on being the 'Turkish Beyoncé or Shakira'." Writing for Söz Müzik, Mine Ayman also liked the album and stated: "Hadise really worked hard for this album and collaborated with the best names of music industry. [...] It's been a long time since I wanted to listen repeatedly to an album as beautiful as this." Milliyets Tolga Akyıldız also liked the album and wrote: "Hadise's album is one of the best pop albums of the year." Gerçek Pop's editor Fatih Melek found the album mediocre, giving it 2,5/5, and believed that "Kınay's works in this album do not sound as good as his previous works", describing it as a misfortune for Hadise. He also said that "To surprise the Turkish market, she distanced herself from R&B and changed her genre to dance music, but the result indicates that it was not a good move for Hadise." Radikals Sarp Dakni wrote about the album: "Finally a 30 minute pop / dance album. The best option to let yourself go at the home party that you will give on the weekend." Akşams Serhat Tekin also described it as "a well-coordinated pop album". Promotion Live performances To promote the album after its release, Hadise gave a concert at the Cemil Topuzlu Open-Air Theatre on 8 July 2011 alongside other concerts at various places in Turkey. Following these concerts, she appeared on numerous TV programs and performed the songs. On 29 April 2011, she appeared on Beyaz Show and performed "Aşk Kaç Beden Giyer?", "Burjuva", "Mesajımı Almıştır O" and "Superman". She appeared on the same program on 4 November, and the show's band performed her song "Aşk Kaç Beden Giyer?" as a türkü. On 13 June, she performed at the 38th Golden Butterfly Awards. She appeared in a white outfit and performed the songs "Aşk Kaç Beden Giyer?", "Melek" and "Superman" while being accompanied by her dancers. On 31 December, on Show TV's New Year program she performed the songs "Aşk Kaç Beden Giyer?", "Mesajımı Almıştır O" and "Superman". Music videos Three songs from Aşk Kaç Beden Giyer? were turned into music videos. The music video for the album's lead single "Superman" was released in April 2011. Nihat Odabaşı directed the video and Hadise was accompanied by a number of dancers on it. However, after the shooting was over, it was reported that a financial issue had been created between Odabaşı and Hadise. According to Milliyet the cost for the video was initially estimated to be 50,000 but after the shooting was over Odabaşı demanded an additional amount of 12,000 after taking into consideration the taxes, and this resulted in a tension between the parties. On the other hand, the music video of the song was critically acclaimed and received 4 out of 5 on Gerçek Pop. It received the Best Music Video award at the 2nd Pal FM Music Awards and was nominated for the Best Dance Video award at the Gerçek Pop 2011 Awards. The songs ranked fifth on Türkçe Top 20. It was also downloaded over 76,000 times on official websites and was streamed over 2.8 million times on online platforms, becoming Turkey's eighth most downloaded song and third most streamed song in 2011. The second music video was released for "Aşk Kaç Beden Giyer?". It was directed by Hadise's elder sister Hülya Açıkgöz and released in October. The song won the Best Dance Single award at the Gerçek Pop 2011 Awards. It was downloaded over 87,000 times on official websites and streamed 3.1 million times on online platforms, becoming Turkey's fourth most downloaded song and tenth most streamed song in 2011. The album's last music video was made for the song "Mesajımı Almıştır O" and directed by Hülya Açıkgöz. It was released in March 2012. Hadise appears in the music video while singing the song in front of a microphone and in a studio with walls on which the song's lyrics are written. Track listing Personnel Hadise – singer, producer, composer , concept Alper Narman – songwriter Erdem Kınay – composer , arranger , recording Deniz Erten – songwriter , composer Gökhan Şahin – songwriter Gülşen – songwriter , composer Ender Gündüzlü – composer Youssef Chellak – composer , arranger , recording Ozan Çolakoğlu – arranger , recording Amin Boudouhi – arranger Erdem Uyanık – editor Metehan Köşeoğlu – guitar ; acoustic guitar Gündem Yaylı Grubu – bowed string instrument Mehmet Akatay – percussion Fatih Ahıskalı – oud , cümbüş Can Şengün – electric guitar Ozan Aktaş – mixing Alan Ward – mastering Seyhan Müzik (Bülent Seyhan) – producer Hülya Açıkgöz – general coordinator Duy Quoc Vo – photographer Mahmut Karadağ – styling Lisselotte van Saarloos – hair, makeup Credits adapted from Aşk Kaç Beden Giyer?s album booklet. Charts Sales Release history References External links Aşk Kaç Beden Giyer? – Discogs 2011 albums Hadise albums Dance-pop albums by Belgian artists Turkish-language albums
```javascript Use the `apply` function to get the `min` or `max` of an array Functions can be declared after use Get query/url variables Easily generate a random `HEX` color Function call method ```
```ruby # frozen_string_literal: true require "decidim/dev" ENV["ENGINE_ROOT"] = File.dirname(__dir__) Decidim::Dev.dummy_app_path = File.expand_path(File.join("..", "spec", "decidim_dummy_app")) require "decidim/dev/test/base_spec_helper" ```
```forth *> \brief \b DDRVST2STG * * =========== DOCUMENTATION =========== * * Online html documentation available at * path_to_url * * Definition: * =========== * * SUBROUTINE DDRVST2STG( NSIZES, NN, NTYPES, DOTYPE, ISEED, THRESH, * NOUNIT, A, LDA, D1, D2, D3, D4, EVEIGS, WA1, * WA2, WA3, U, LDU, V, TAU, Z, WORK, LWORK, * IWORK, LIWORK, RESULT, INFO ) * * .. Scalar Arguments .. * INTEGER INFO, LDA, LDU, LIWORK, LWORK, NOUNIT, NSIZES, * $ NTYPES * DOUBLE PRECISION THRESH * .. * .. Array Arguments .. * LOGICAL DOTYPE( * ) * INTEGER ISEED( 4 ), IWORK( * ), NN( * ) * DOUBLE PRECISION A( LDA, * ), D1( * ), D2( * ), D3( * ), * $ D4( * ), EVEIGS( * ), RESULT( * ), TAU( * ), * $ U( LDU, * ), V( LDU, * ), WA1( * ), WA2( * ), * $ WA3( * ), WORK( * ), Z( LDU, * ) * .. * * *> \par Purpose: * ============= *> *> \verbatim *> *> DDRVST2STG checks the symmetric eigenvalue problem drivers. *> *> DSTEV computes all eigenvalues and, optionally, *> eigenvectors of a real symmetric tridiagonal matrix. *> *> DSTEVX computes selected eigenvalues and, optionally, *> eigenvectors of a real symmetric tridiagonal matrix. *> *> DSTEVR computes selected eigenvalues and, optionally, *> eigenvectors of a real symmetric tridiagonal matrix *> using the Relatively Robust Representation where it can. *> *> DSYEV computes all eigenvalues and, optionally, *> eigenvectors of a real symmetric matrix. *> *> DSYEVX computes selected eigenvalues and, optionally, *> eigenvectors of a real symmetric matrix. *> *> DSYEVR computes selected eigenvalues and, optionally, *> eigenvectors of a real symmetric matrix *> using the Relatively Robust Representation where it can. *> *> DSPEV computes all eigenvalues and, optionally, *> eigenvectors of a real symmetric matrix in packed *> storage. *> *> DSPEVX computes selected eigenvalues and, optionally, *> eigenvectors of a real symmetric matrix in packed *> storage. *> *> DSBEV computes all eigenvalues and, optionally, *> eigenvectors of a real symmetric band matrix. *> *> DSBEVX computes selected eigenvalues and, optionally, *> eigenvectors of a real symmetric band matrix. *> *> DSYEVD computes all eigenvalues and, optionally, *> eigenvectors of a real symmetric matrix using *> a divide and conquer algorithm. *> *> DSPEVD computes all eigenvalues and, optionally, *> eigenvectors of a real symmetric matrix in packed *> storage, using a divide and conquer algorithm. *> *> DSBEVD computes all eigenvalues and, optionally, *> eigenvectors of a real symmetric band matrix, *> using a divide and conquer algorithm. *> *> When DDRVST2STG is called, a number of matrix "sizes" ("n's") and a *> number of matrix "types" are specified. For each size ("n") *> and each type of matrix, one matrix will be generated and used *> to test the appropriate drivers. For each matrix and each *> driver routine called, the following tests will be performed: *> *> (1) | A - Z D Z' | / ( |A| n ulp ) *> *> (2) | I - Z Z' | / ( n ulp ) *> *> (3) | D1 - D2 | / ( |D1| ulp ) *> *> where Z is the matrix of eigenvectors returned when the *> eigenvector option is given and D1 and D2 are the eigenvalues *> returned with and without the eigenvector option. *> *> The "sizes" are specified by an array NN(1:NSIZES); the value of *> each element NN(j) specifies one size. *> The "types" are specified by a logical array DOTYPE( 1:NTYPES ); *> if DOTYPE(j) is .TRUE., then matrix type "j" will be generated. *> Currently, the list of possible types is: *> *> (1) The zero matrix. *> (2) The identity matrix. *> *> (3) A diagonal matrix with evenly spaced eigenvalues *> 1, ..., ULP and random signs. *> (ULP = (first number larger than 1) - 1 ) *> (4) A diagonal matrix with geometrically spaced eigenvalues *> 1, ..., ULP and random signs. *> (5) A diagonal matrix with "clustered" eigenvalues *> 1, ULP, ..., ULP and random signs. *> *> (6) Same as (4), but multiplied by SQRT( overflow threshold ) *> (7) Same as (4), but multiplied by SQRT( underflow threshold ) *> *> (8) A matrix of the form U' D U, where U is orthogonal and *> D has evenly spaced entries 1, ..., ULP with random signs *> on the diagonal. *> *> (9) A matrix of the form U' D U, where U is orthogonal and *> D has geometrically spaced entries 1, ..., ULP with random *> signs on the diagonal. *> *> (10) A matrix of the form U' D U, where U is orthogonal and *> D has "clustered" entries 1, ULP,..., ULP with random *> signs on the diagonal. *> *> (11) Same as (8), but multiplied by SQRT( overflow threshold ) *> (12) Same as (8), but multiplied by SQRT( underflow threshold ) *> *> (13) Symmetric matrix with random entries chosen from (-1,1). *> (14) Same as (13), but multiplied by SQRT( overflow threshold ) *> (15) Same as (13), but multiplied by SQRT( underflow threshold ) *> (16) A band matrix with half bandwidth randomly chosen between *> 0 and N-1, with evenly spaced eigenvalues 1, ..., ULP *> with random signs. *> (17) Same as (16), but multiplied by SQRT( overflow threshold ) *> (18) Same as (16), but multiplied by SQRT( underflow threshold ) *> \endverbatim * * Arguments: * ========== * *> \verbatim *> NSIZES INTEGER *> The number of sizes of matrices to use. If it is zero, *> DDRVST2STG does nothing. It must be at least zero. *> Not modified. *> *> NN INTEGER array, dimension (NSIZES) *> An array containing the sizes to be used for the matrices. *> Zero values will be skipped. The values must be at least *> zero. *> Not modified. *> *> NTYPES INTEGER *> The number of elements in DOTYPE. If it is zero, DDRVST2STG *> does nothing. It must be at least zero. If it is MAXTYP+1 *> and NSIZES is 1, then an additional type, MAXTYP+1 is *> defined, which is to use whatever matrix is in A. This *> is only useful if DOTYPE(1:MAXTYP) is .FALSE. and *> DOTYPE(MAXTYP+1) is .TRUE. . *> Not modified. *> *> DOTYPE LOGICAL array, dimension (NTYPES) *> If DOTYPE(j) is .TRUE., then for each size in NN a *> matrix of that size and of type j will be generated. *> If NTYPES is smaller than the maximum number of types *> defined (PARAMETER MAXTYP), then types NTYPES+1 through *> MAXTYP will not be generated. If NTYPES is larger *> than MAXTYP, DOTYPE(MAXTYP+1) through DOTYPE(NTYPES) *> will be ignored. *> Not modified. *> *> ISEED INTEGER array, dimension (4) *> On entry ISEED specifies the seed of the random number *> generator. The array elements should be between 0 and 4095; *> if not they will be reduced mod 4096. Also, ISEED(4) must *> be odd. The random number generator uses a linear *> congruential sequence limited to small integers, and so *> should produce machine independent random numbers. The *> values of ISEED are changed on exit, and can be used in the *> next call to DDRVST2STG to continue the same random number *> sequence. *> Modified. *> *> THRESH DOUBLE PRECISION *> A test will count as "failed" if the "error", computed as *> described above, exceeds THRESH. Note that the error *> is scaled to be O(1), so THRESH should be a reasonably *> small multiple of 1, e.g., 10 or 100. In particular, *> it should not depend on the precision (single vs. double) *> or the size of the matrix. It must be at least zero. *> Not modified. *> *> NOUNIT INTEGER *> The FORTRAN unit number for printing out error messages *> (e.g., if a routine returns IINFO not equal to 0.) *> Not modified. *> *> A DOUBLE PRECISION array, dimension (LDA , max(NN)) *> Used to hold the matrix whose eigenvalues are to be *> computed. On exit, A contains the last matrix actually *> used. *> Modified. *> *> LDA INTEGER *> The leading dimension of A. It must be at *> least 1 and at least max( NN ). *> Not modified. *> *> D1 DOUBLE PRECISION array, dimension (max(NN)) *> The eigenvalues of A, as computed by DSTEQR simultaneously *> with Z. On exit, the eigenvalues in D1 correspond with the *> matrix in A. *> Modified. *> *> D2 DOUBLE PRECISION array, dimension (max(NN)) *> The eigenvalues of A, as computed by DSTEQR if Z is not *> computed. On exit, the eigenvalues in D2 correspond with *> the matrix in A. *> Modified. *> *> D3 DOUBLE PRECISION array, dimension (max(NN)) *> The eigenvalues of A, as computed by DSTERF. On exit, the *> eigenvalues in D3 correspond with the matrix in A. *> Modified. *> *> D4 DOUBLE PRECISION array, dimension *> *> EVEIGS DOUBLE PRECISION array, dimension (max(NN)) *> The eigenvalues as computed by DSTEV('N', ... ) *> (I reserve the right to change this to the output of *> whichever algorithm computes the most accurate eigenvalues). *> *> WA1 DOUBLE PRECISION array, dimension *> *> WA2 DOUBLE PRECISION array, dimension *> *> WA3 DOUBLE PRECISION array, dimension *> *> U DOUBLE PRECISION array, dimension (LDU, max(NN)) *> The orthogonal matrix computed by DSYTRD + DORGTR. *> Modified. *> *> LDU INTEGER *> The leading dimension of U, Z, and V. It must be at *> least 1 and at least max( NN ). *> Not modified. *> *> V DOUBLE PRECISION array, dimension (LDU, max(NN)) *> The Housholder vectors computed by DSYTRD in reducing A to *> tridiagonal form. *> Modified. *> *> TAU DOUBLE PRECISION array, dimension (max(NN)) *> The Householder factors computed by DSYTRD in reducing A *> to tridiagonal form. *> Modified. *> *> Z DOUBLE PRECISION array, dimension (LDU, max(NN)) *> The orthogonal matrix of eigenvectors computed by DSTEQR, *> DPTEQR, and DSTEIN. *> Modified. *> *> WORK DOUBLE PRECISION array, dimension (LWORK) *> Workspace. *> Modified. *> *> LWORK INTEGER *> The number of entries in WORK. This must be at least *> 1 + 4 * Nmax + 2 * Nmax * lg Nmax + 4 * Nmax**2 *> where Nmax = max( NN(j), 2 ) and lg = log base 2. *> Not modified. *> *> IWORK INTEGER array, *> dimension (6 + 6*Nmax + 5 * Nmax * lg Nmax ) *> where Nmax = max( NN(j), 2 ) and lg = log base 2. *> Workspace. *> Modified. *> *> RESULT DOUBLE PRECISION array, dimension (105) *> The values computed by the tests described above. *> The values are currently limited to 1/ulp, to avoid *> overflow. *> Modified. *> *> INFO INTEGER *> If 0, then everything ran OK. *> -1: NSIZES < 0 *> -2: Some NN(j) < 0 *> -3: NTYPES < 0 *> -5: THRESH < 0 *> -9: LDA < 1 or LDA < NMAX, where NMAX is max( NN(j) ). *> -16: LDU < 1 or LDU < NMAX. *> -21: LWORK too small. *> If DLATMR, DLATMS, DSYTRD, DORGTR, DSTEQR, DSTERF, *> or DORMTR returns an error code, the *> absolute value of it is returned. *> Modified. *> *>your_sha256_hash------- *> *> Some Local Variables and Parameters: *> ---- ----- --------- --- ---------- *> ZERO, ONE Real 0 and 1. *> MAXTYP The number of types defined. *> NTEST The number of tests performed, or which can *> be performed so far, for the current matrix. *> NTESTT The total number of tests performed so far. *> NMAX Largest value in NN. *> NMATS The number of matrices generated so far. *> NERRS The number of tests which have exceeded THRESH *> so far (computed by DLAFTS). *> COND, IMODE Values to be passed to the matrix generators. *> ANORM Norm of A; passed to matrix generators. *> *> OVFL, UNFL Overflow and underflow thresholds. *> ULP, ULPINV Finest relative precision and its inverse. *> RTOVFL, RTUNFL Square roots of the previous 2 values. *> The following four arrays decode JTYPE: *> KTYPE(j) The general type (1-10) for type "j". *> KMODE(j) The MODE value to be passed to the matrix *> generator for type "j". *> KMAGN(j) The order of magnitude ( O(1), *> O(overflow^(1/2) ), O(underflow^(1/2) ) *> *> The tests performed are: Routine tested *> 1= | A - U S U' | / ( |A| n ulp ) DSTEV('V', ... ) *> 2= | I - U U' | / ( n ulp ) DSTEV('V', ... ) *> 3= |D(with Z) - D(w/o Z)| / (|D| ulp) DSTEV('N', ... ) *> 4= | A - U S U' | / ( |A| n ulp ) DSTEVX('V','A', ... ) *> 5= | I - U U' | / ( n ulp ) DSTEVX('V','A', ... ) *> 6= |D(with Z) - EVEIGS| / (|D| ulp) DSTEVX('N','A', ... ) *> 7= | A - U S U' | / ( |A| n ulp ) DSTEVR('V','A', ... ) *> 8= | I - U U' | / ( n ulp ) DSTEVR('V','A', ... ) *> 9= |D(with Z) - EVEIGS| / (|D| ulp) DSTEVR('N','A', ... ) *> 10= | A - U S U' | / ( |A| n ulp ) DSTEVX('V','I', ... ) *> 11= | I - U U' | / ( n ulp ) DSTEVX('V','I', ... ) *> 12= |D(with Z) - D(w/o Z)| / (|D| ulp) DSTEVX('N','I', ... ) *> 13= | A - U S U' | / ( |A| n ulp ) DSTEVX('V','V', ... ) *> 14= | I - U U' | / ( n ulp ) DSTEVX('V','V', ... ) *> 15= |D(with Z) - D(w/o Z)| / (|D| ulp) DSTEVX('N','V', ... ) *> 16= | A - U S U' | / ( |A| n ulp ) DSTEVD('V', ... ) *> 17= | I - U U' | / ( n ulp ) DSTEVD('V', ... ) *> 18= |D(with Z) - EVEIGS| / (|D| ulp) DSTEVD('N', ... ) *> 19= | A - U S U' | / ( |A| n ulp ) DSTEVR('V','I', ... ) *> 20= | I - U U' | / ( n ulp ) DSTEVR('V','I', ... ) *> 21= |D(with Z) - D(w/o Z)| / (|D| ulp) DSTEVR('N','I', ... ) *> 22= | A - U S U' | / ( |A| n ulp ) DSTEVR('V','V', ... ) *> 23= | I - U U' | / ( n ulp ) DSTEVR('V','V', ... ) *> 24= |D(with Z) - D(w/o Z)| / (|D| ulp) DSTEVR('N','V', ... ) *> *> 25= | A - U S U' | / ( |A| n ulp ) DSYEV('L','V', ... ) *> 26= | I - U U' | / ( n ulp ) DSYEV('L','V', ... ) *> 27= |D(with Z) - D(w/o Z)| / (|D| ulp) DSYEV_2STAGE('L','N', ... ) *> 28= | A - U S U' | / ( |A| n ulp ) DSYEVX('L','V','A', ... ) *> 29= | I - U U' | / ( n ulp ) DSYEVX('L','V','A', ... ) *> 30= |D(with Z) - D(w/o Z)| / (|D| ulp) DSYEVX_2STAGE('L','N','A', ... ) *> 31= | A - U S U' | / ( |A| n ulp ) DSYEVX('L','V','I', ... ) *> 32= | I - U U' | / ( n ulp ) DSYEVX('L','V','I', ... ) *> 33= |D(with Z) - D(w/o Z)| / (|D| ulp) DSYEVX_2STAGE('L','N','I', ... ) *> 34= | A - U S U' | / ( |A| n ulp ) DSYEVX('L','V','V', ... ) *> 35= | I - U U' | / ( n ulp ) DSYEVX('L','V','V', ... ) *> 36= |D(with Z) - D(w/o Z)| / (|D| ulp) DSYEVX_2STAGE('L','N','V', ... ) *> 37= | A - U S U' | / ( |A| n ulp ) DSPEV('L','V', ... ) *> 38= | I - U U' | / ( n ulp ) DSPEV('L','V', ... ) *> 39= |D(with Z) - D(w/o Z)| / (|D| ulp) DSPEV('L','N', ... ) *> 40= | A - U S U' | / ( |A| n ulp ) DSPEVX('L','V','A', ... ) *> 41= | I - U U' | / ( n ulp ) DSPEVX('L','V','A', ... ) *> 42= |D(with Z) - D(w/o Z)| / (|D| ulp) DSPEVX('L','N','A', ... ) *> 43= | A - U S U' | / ( |A| n ulp ) DSPEVX('L','V','I', ... ) *> 44= | I - U U' | / ( n ulp ) DSPEVX('L','V','I', ... ) *> 45= |D(with Z) - D(w/o Z)| / (|D| ulp) DSPEVX('L','N','I', ... ) *> 46= | A - U S U' | / ( |A| n ulp ) DSPEVX('L','V','V', ... ) *> 47= | I - U U' | / ( n ulp ) DSPEVX('L','V','V', ... ) *> 48= |D(with Z) - D(w/o Z)| / (|D| ulp) DSPEVX('L','N','V', ... ) *> 49= | A - U S U' | / ( |A| n ulp ) DSBEV('L','V', ... ) *> 50= | I - U U' | / ( n ulp ) DSBEV('L','V', ... ) *> 51= |D(with Z) - D(w/o Z)| / (|D| ulp) DSBEV_2STAGE('L','N', ... ) *> 52= | A - U S U' | / ( |A| n ulp ) DSBEVX('L','V','A', ... ) *> 53= | I - U U' | / ( n ulp ) DSBEVX('L','V','A', ... ) *> 54= |D(with Z) - D(w/o Z)| / (|D| ulp) DSBEVX_2STAGE('L','N','A', ... ) *> 55= | A - U S U' | / ( |A| n ulp ) DSBEVX('L','V','I', ... ) *> 56= | I - U U' | / ( n ulp ) DSBEVX('L','V','I', ... ) *> 57= |D(with Z) - D(w/o Z)| / (|D| ulp) DSBEVX_2STAGE('L','N','I', ... ) *> 58= | A - U S U' | / ( |A| n ulp ) DSBEVX('L','V','V', ... ) *> 59= | I - U U' | / ( n ulp ) DSBEVX('L','V','V', ... ) *> 60= |D(with Z) - D(w/o Z)| / (|D| ulp) DSBEVX_2STAGE('L','N','V', ... ) *> 61= | A - U S U' | / ( |A| n ulp ) DSYEVD('L','V', ... ) *> 62= | I - U U' | / ( n ulp ) DSYEVD('L','V', ... ) *> 63= |D(with Z) - D(w/o Z)| / (|D| ulp) DSYEVD_2STAGE('L','N', ... ) *> 64= | A - U S U' | / ( |A| n ulp ) DSPEVD('L','V', ... ) *> 65= | I - U U' | / ( n ulp ) DSPEVD('L','V', ... ) *> 66= |D(with Z) - D(w/o Z)| / (|D| ulp) DSPEVD('L','N', ... ) *> 67= | A - U S U' | / ( |A| n ulp ) DSBEVD('L','V', ... ) *> 68= | I - U U' | / ( n ulp ) DSBEVD('L','V', ... ) *> 69= |D(with Z) - D(w/o Z)| / (|D| ulp) DSBEVD_2STAGE('L','N', ... ) *> 70= | A - U S U' | / ( |A| n ulp ) DSYEVR('L','V','A', ... ) *> 71= | I - U U' | / ( n ulp ) DSYEVR('L','V','A', ... ) *> 72= |D(with Z) - D(w/o Z)| / (|D| ulp) DSYEVR_2STAGE('L','N','A', ... ) *> 73= | A - U S U' | / ( |A| n ulp ) DSYEVR('L','V','I', ... ) *> 74= | I - U U' | / ( n ulp ) DSYEVR('L','V','I', ... ) *> 75= |D(with Z) - D(w/o Z)| / (|D| ulp) DSYEVR_2STAGE('L','N','I', ... ) *> 76= | A - U S U' | / ( |A| n ulp ) DSYEVR('L','V','V', ... ) *> 77= | I - U U' | / ( n ulp ) DSYEVR('L','V','V', ... ) *> 78= |D(with Z) - D(w/o Z)| / (|D| ulp) DSYEVR_2STAGE('L','N','V', ... ) *> *> Tests 25 through 78 are repeated (as tests 79 through 132) *> with UPLO='U' *> *> To be added in 1999 *> *> 79= | A - U S U' | / ( |A| n ulp ) DSPEVR('L','V','A', ... ) *> 80= | I - U U' | / ( n ulp ) DSPEVR('L','V','A', ... ) *> 81= |D(with Z) - D(w/o Z)| / (|D| ulp) DSPEVR('L','N','A', ... ) *> 82= | A - U S U' | / ( |A| n ulp ) DSPEVR('L','V','I', ... ) *> 83= | I - U U' | / ( n ulp ) DSPEVR('L','V','I', ... ) *> 84= |D(with Z) - D(w/o Z)| / (|D| ulp) DSPEVR('L','N','I', ... ) *> 85= | A - U S U' | / ( |A| n ulp ) DSPEVR('L','V','V', ... ) *> 86= | I - U U' | / ( n ulp ) DSPEVR('L','V','V', ... ) *> 87= |D(with Z) - D(w/o Z)| / (|D| ulp) DSPEVR('L','N','V', ... ) *> 88= | A - U S U' | / ( |A| n ulp ) DSBEVR('L','V','A', ... ) *> 89= | I - U U' | / ( n ulp ) DSBEVR('L','V','A', ... ) *> 90= |D(with Z) - D(w/o Z)| / (|D| ulp) DSBEVR('L','N','A', ... ) *> 91= | A - U S U' | / ( |A| n ulp ) DSBEVR('L','V','I', ... ) *> 92= | I - U U' | / ( n ulp ) DSBEVR('L','V','I', ... ) *> 93= |D(with Z) - D(w/o Z)| / (|D| ulp) DSBEVR('L','N','I', ... ) *> 94= | A - U S U' | / ( |A| n ulp ) DSBEVR('L','V','V', ... ) *> 95= | I - U U' | / ( n ulp ) DSBEVR('L','V','V', ... ) *> 96= |D(with Z) - D(w/o Z)| / (|D| ulp) DSBEVR('L','N','V', ... ) *> \endverbatim * * Authors: * ======== * *> \author Univ. of Tennessee *> \author Univ. of California Berkeley *> \author Univ. of Colorado Denver *> \author NAG Ltd. * *> \ingroup double_eig * * ===================================================================== SUBROUTINE DDRVST2STG( NSIZES, NN, NTYPES, DOTYPE, ISEED, THRESH, $ NOUNIT, A, LDA, D1, D2, D3, D4, EVEIGS, WA1, $ WA2, WA3, U, LDU, V, TAU, Z, WORK, LWORK, $ IWORK, LIWORK, RESULT, INFO ) * * -- LAPACK test routine -- * -- LAPACK is a software package provided by Univ. of Tennessee, -- * -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..-- * * .. Scalar Arguments .. INTEGER INFO, LDA, LDU, LIWORK, LWORK, NOUNIT, NSIZES, $ NTYPES DOUBLE PRECISION THRESH * .. * .. Array Arguments .. LOGICAL DOTYPE( * ) INTEGER ISEED( 4 ), IWORK( * ), NN( * ) DOUBLE PRECISION A( LDA, * ), D1( * ), D2( * ), D3( * ), $ D4( * ), EVEIGS( * ), RESULT( * ), TAU( * ), $ U( LDU, * ), V( LDU, * ), WA1( * ), WA2( * ), $ WA3( * ), WORK( * ), Z( LDU, * ) * .. * * ===================================================================== * * .. Parameters .. DOUBLE PRECISION ZERO, ONE, TWO, TEN PARAMETER ( ZERO = 0.0D0, ONE = 1.0D0, TWO = 2.0D0, $ TEN = 10.0D0 ) DOUBLE PRECISION HALF PARAMETER ( HALF = 0.5D0 ) INTEGER MAXTYP PARAMETER ( MAXTYP = 18 ) * .. * .. Local Scalars .. LOGICAL BADNN CHARACTER UPLO INTEGER I, IDIAG, IHBW, IINFO, IL, IMODE, INDX, IROW, $ ITEMP, ITYPE, IU, IUPLO, J, J1, J2, JCOL, $ JSIZE, JTYPE, KD, LGN, LIWEDC, LWEDC, M, M2, $ M3, MTYPES, N, NERRS, NMATS, NMAX, NTEST, $ NTESTT DOUBLE PRECISION ABSTOL, ANINV, ANORM, COND, OVFL, RTOVFL, $ RTUNFL, TEMP1, TEMP2, TEMP3, ULP, ULPINV, UNFL, $ VL, VU * .. * .. Local Arrays .. INTEGER IDUMMA( 1 ), IOLDSD( 4 ), ISEED2( 4 ), $ ISEED3( 4 ), KMAGN( MAXTYP ), KMODE( MAXTYP ), $ KTYPE( MAXTYP ) * .. * .. External Functions .. DOUBLE PRECISION DLAMCH, DLARND, DSXT1 EXTERNAL DLAMCH, DLARND, DSXT1 * .. * .. External Subroutines .. EXTERNAL ALASVM, DLACPY, DLAFTS, DLASET, DLATMR, $ DLATMS, DSBEV, DSBEVD, DSBEVX, DSPEV, DSPEVD, $ DSPEVX, DSTEV, DSTEVD, DSTEVR, DSTEVX, DSTT21, $ DSTT22, DSYEV, DSYEVD, DSYEVR, DSYEVX, DSYT21, $ DSYEVD_2STAGE, DSYEVR_2STAGE, DSYEVX_2STAGE, $ DSYEV_2STAGE, DSBEV_2STAGE, DSBEVD_2STAGE, $ DSBEVX_2STAGE, DSYTRD_2STAGE, DSYTRD_SY2SB, $ DSYTRD_SB2ST, DSYT22, XERBLA * .. * .. Scalars in Common .. CHARACTER*32 SRNAMT * .. * .. Common blocks .. COMMON / SRNAMC / SRNAMT * .. * .. Intrinsic Functions .. INTRINSIC ABS, DBLE, INT, LOG, MAX, MIN, SQRT * .. * .. Data statements .. DATA KTYPE / 1, 2, 5*4, 5*5, 3*8, 3*9 / DATA KMAGN / 2*1, 1, 1, 1, 2, 3, 1, 1, 1, 2, 3, 1, $ 2, 3, 1, 2, 3 / DATA KMODE / 2*0, 4, 3, 1, 4, 4, 4, 3, 1, 4, 4, 0, $ 0, 0, 4, 4, 4 / * .. * .. Executable Statements .. * * Keep ftrnchek happy * VL = ZERO VU = ZERO * * 1) Check for errors * NTESTT = 0 INFO = 0 * BADNN = .FALSE. NMAX = 1 DO 10 J = 1, NSIZES NMAX = MAX( NMAX, NN( J ) ) IF( NN( J ).LT.0 ) $ BADNN = .TRUE. 10 CONTINUE * * Check for errors * IF( NSIZES.LT.0 ) THEN INFO = -1 ELSE IF( BADNN ) THEN INFO = -2 ELSE IF( NTYPES.LT.0 ) THEN INFO = -3 ELSE IF( LDA.LT.NMAX ) THEN INFO = -9 ELSE IF( LDU.LT.NMAX ) THEN INFO = -16 ELSE IF( 2*MAX( 2, NMAX )**2.GT.LWORK ) THEN INFO = -21 END IF * IF( INFO.NE.0 ) THEN CALL XERBLA( 'DDRVST2STG', -INFO ) RETURN END IF * * Quick return if nothing to do * IF( NSIZES.EQ.0 .OR. NTYPES.EQ.0 ) $ RETURN * * More Important constants * UNFL = DLAMCH( 'Safe minimum' ) OVFL = DLAMCH( 'Overflow' ) ULP = DLAMCH( 'Epsilon' )*DLAMCH( 'Base' ) ULPINV = ONE / ULP RTUNFL = SQRT( UNFL ) RTOVFL = SQRT( OVFL ) * * Loop over sizes, types * DO 20 I = 1, 4 ISEED2( I ) = ISEED( I ) ISEED3( I ) = ISEED( I ) 20 CONTINUE * NERRS = 0 NMATS = 0 * * DO 1740 JSIZE = 1, NSIZES N = NN( JSIZE ) IF( N.GT.0 ) THEN LGN = INT( LOG( DBLE( N ) ) / LOG( TWO ) ) IF( 2**LGN.LT.N ) $ LGN = LGN + 1 IF( 2**LGN.LT.N ) $ LGN = LGN + 1 LWEDC = 1 + 4*N + 2*N*LGN + 4*N**2 c LIWEDC = 6 + 6*N + 5*N*LGN LIWEDC = 3 + 5*N ELSE LWEDC = 9 c LIWEDC = 12 LIWEDC = 8 END IF ANINV = ONE / DBLE( MAX( 1, N ) ) * IF( NSIZES.NE.1 ) THEN MTYPES = MIN( MAXTYP, NTYPES ) ELSE MTYPES = MIN( MAXTYP+1, NTYPES ) END IF * DO 1730 JTYPE = 1, MTYPES * IF( .NOT.DOTYPE( JTYPE ) ) $ GO TO 1730 NMATS = NMATS + 1 NTEST = 0 * DO 30 J = 1, 4 IOLDSD( J ) = ISEED( J ) 30 CONTINUE * * 2) Compute "A" * * Control parameters: * * KMAGN KMODE KTYPE * =1 O(1) clustered 1 zero * =2 large clustered 2 identity * =3 small exponential (none) * =4 arithmetic diagonal, (w/ eigenvalues) * =5 random log symmetric, w/ eigenvalues * =6 random (none) * =7 random diagonal * =8 random symmetric * =9 band symmetric, w/ eigenvalues * IF( MTYPES.GT.MAXTYP ) $ GO TO 110 * ITYPE = KTYPE( JTYPE ) IMODE = KMODE( JTYPE ) * * Compute norm * GO TO ( 40, 50, 60 )KMAGN( JTYPE ) * 40 CONTINUE ANORM = ONE GO TO 70 * 50 CONTINUE ANORM = ( RTOVFL*ULP )*ANINV GO TO 70 * 60 CONTINUE ANORM = RTUNFL*N*ULPINV GO TO 70 * 70 CONTINUE * CALL DLASET( 'Full', LDA, N, ZERO, ZERO, A, LDA ) IINFO = 0 COND = ULPINV * * Special Matrices -- Identity & Jordan block * * Zero * IF( ITYPE.EQ.1 ) THEN IINFO = 0 * ELSE IF( ITYPE.EQ.2 ) THEN * * Identity * DO 80 JCOL = 1, N A( JCOL, JCOL ) = ANORM 80 CONTINUE * ELSE IF( ITYPE.EQ.4 ) THEN * * Diagonal Matrix, [Eigen]values Specified * CALL DLATMS( N, N, 'S', ISEED, 'S', WORK, IMODE, COND, $ ANORM, 0, 0, 'N', A, LDA, WORK( N+1 ), $ IINFO ) * ELSE IF( ITYPE.EQ.5 ) THEN * * Symmetric, eigenvalues specified * CALL DLATMS( N, N, 'S', ISEED, 'S', WORK, IMODE, COND, $ ANORM, N, N, 'N', A, LDA, WORK( N+1 ), $ IINFO ) * ELSE IF( ITYPE.EQ.7 ) THEN * * Diagonal, random eigenvalues * IDUMMA( 1 ) = 1 CALL DLATMR( N, N, 'S', ISEED, 'S', WORK, 6, ONE, ONE, $ 'T', 'N', WORK( N+1 ), 1, ONE, $ WORK( 2*N+1 ), 1, ONE, 'N', IDUMMA, 0, 0, $ ZERO, ANORM, 'NO', A, LDA, IWORK, IINFO ) * ELSE IF( ITYPE.EQ.8 ) THEN * * Symmetric, random eigenvalues * IDUMMA( 1 ) = 1 CALL DLATMR( N, N, 'S', ISEED, 'S', WORK, 6, ONE, ONE, $ 'T', 'N', WORK( N+1 ), 1, ONE, $ WORK( 2*N+1 ), 1, ONE, 'N', IDUMMA, N, N, $ ZERO, ANORM, 'NO', A, LDA, IWORK, IINFO ) * ELSE IF( ITYPE.EQ.9 ) THEN * * Symmetric banded, eigenvalues specified * IHBW = INT( ( N-1 )*DLARND( 1, ISEED3 ) ) CALL DLATMS( N, N, 'S', ISEED, 'S', WORK, IMODE, COND, $ ANORM, IHBW, IHBW, 'Z', U, LDU, WORK( N+1 ), $ IINFO ) * * Store as dense matrix for most routines. * CALL DLASET( 'Full', LDA, N, ZERO, ZERO, A, LDA ) DO 100 IDIAG = -IHBW, IHBW IROW = IHBW - IDIAG + 1 J1 = MAX( 1, IDIAG+1 ) J2 = MIN( N, N+IDIAG ) DO 90 J = J1, J2 I = J - IDIAG A( I, J ) = U( IROW, J ) 90 CONTINUE 100 CONTINUE ELSE IINFO = 1 END IF * IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'Generator', IINFO, N, JTYPE, $ IOLDSD INFO = ABS( IINFO ) RETURN END IF * 110 CONTINUE * ABSTOL = UNFL + UNFL IF( N.LE.1 ) THEN IL = 1 IU = N ELSE IL = 1 + INT( ( N-1 )*DLARND( 1, ISEED2 ) ) IU = 1 + INT( ( N-1 )*DLARND( 1, ISEED2 ) ) IF( IL.GT.IU ) THEN ITEMP = IL IL = IU IU = ITEMP END IF END IF * * 3) If matrix is tridiagonal, call DSTEV and DSTEVX. * IF( JTYPE.LE.7 ) THEN NTEST = 1 DO 120 I = 1, N D1( I ) = DBLE( A( I, I ) ) 120 CONTINUE DO 130 I = 1, N - 1 D2( I ) = DBLE( A( I+1, I ) ) 130 CONTINUE SRNAMT = 'DSTEV' CALL DSTEV( 'V', N, D1, D2, Z, LDU, WORK, IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSTEV(V)', IINFO, N, $ JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( 1 ) = ULPINV RESULT( 2 ) = ULPINV RESULT( 3 ) = ULPINV GO TO 180 END IF END IF * * Do tests 1 and 2. * DO 140 I = 1, N D3( I ) = DBLE( A( I, I ) ) 140 CONTINUE DO 150 I = 1, N - 1 D4( I ) = DBLE( A( I+1, I ) ) 150 CONTINUE CALL DSTT21( N, 0, D3, D4, D1, D2, Z, LDU, WORK, $ RESULT( 1 ) ) * NTEST = 3 DO 160 I = 1, N - 1 D4( I ) = DBLE( A( I+1, I ) ) 160 CONTINUE SRNAMT = 'DSTEV' CALL DSTEV( 'N', N, D3, D4, Z, LDU, WORK, IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSTEV(N)', IINFO, N, $ JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( 3 ) = ULPINV GO TO 180 END IF END IF * * Do test 3. * TEMP1 = ZERO TEMP2 = ZERO DO 170 J = 1, N TEMP1 = MAX( TEMP1, ABS( D1( J ) ), ABS( D3( J ) ) ) TEMP2 = MAX( TEMP2, ABS( D1( J )-D3( J ) ) ) 170 CONTINUE RESULT( 3 ) = TEMP2 / MAX( UNFL, $ ULP*MAX( TEMP1, TEMP2 ) ) * 180 CONTINUE * NTEST = 4 DO 190 I = 1, N EVEIGS( I ) = D3( I ) D1( I ) = DBLE( A( I, I ) ) 190 CONTINUE DO 200 I = 1, N - 1 D2( I ) = DBLE( A( I+1, I ) ) 200 CONTINUE SRNAMT = 'DSTEVX' CALL DSTEVX( 'V', 'A', N, D1, D2, VL, VU, IL, IU, ABSTOL, $ M, WA1, Z, LDU, WORK, IWORK, IWORK( 5*N+1 ), $ IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSTEVX(V,A)', IINFO, N, $ JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( 4 ) = ULPINV RESULT( 5 ) = ULPINV RESULT( 6 ) = ULPINV GO TO 250 END IF END IF IF( N.GT.0 ) THEN TEMP3 = MAX( ABS( WA1( 1 ) ), ABS( WA1( N ) ) ) ELSE TEMP3 = ZERO END IF * * Do tests 4 and 5. * DO 210 I = 1, N D3( I ) = DBLE( A( I, I ) ) 210 CONTINUE DO 220 I = 1, N - 1 D4( I ) = DBLE( A( I+1, I ) ) 220 CONTINUE CALL DSTT21( N, 0, D3, D4, WA1, D2, Z, LDU, WORK, $ RESULT( 4 ) ) * NTEST = 6 DO 230 I = 1, N - 1 D4( I ) = DBLE( A( I+1, I ) ) 230 CONTINUE SRNAMT = 'DSTEVX' CALL DSTEVX( 'N', 'A', N, D3, D4, VL, VU, IL, IU, ABSTOL, $ M2, WA2, Z, LDU, WORK, IWORK, $ IWORK( 5*N+1 ), IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSTEVX(N,A)', IINFO, N, $ JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( 6 ) = ULPINV GO TO 250 END IF END IF * * Do test 6. * TEMP1 = ZERO TEMP2 = ZERO DO 240 J = 1, N TEMP1 = MAX( TEMP1, ABS( WA2( J ) ), $ ABS( EVEIGS( J ) ) ) TEMP2 = MAX( TEMP2, ABS( WA2( J )-EVEIGS( J ) ) ) 240 CONTINUE RESULT( 6 ) = TEMP2 / MAX( UNFL, $ ULP*MAX( TEMP1, TEMP2 ) ) * 250 CONTINUE * NTEST = 7 DO 260 I = 1, N D1( I ) = DBLE( A( I, I ) ) 260 CONTINUE DO 270 I = 1, N - 1 D2( I ) = DBLE( A( I+1, I ) ) 270 CONTINUE SRNAMT = 'DSTEVR' CALL DSTEVR( 'V', 'A', N, D1, D2, VL, VU, IL, IU, ABSTOL, $ M, WA1, Z, LDU, IWORK, WORK, LWORK, $ IWORK(2*N+1), LIWORK-2*N, IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSTEVR(V,A)', IINFO, N, $ JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( 7 ) = ULPINV RESULT( 8 ) = ULPINV GO TO 320 END IF END IF IF( N.GT.0 ) THEN TEMP3 = MAX( ABS( WA1( 1 ) ), ABS( WA1( N ) ) ) ELSE TEMP3 = ZERO END IF * * Do tests 7 and 8. * DO 280 I = 1, N D3( I ) = DBLE( A( I, I ) ) 280 CONTINUE DO 290 I = 1, N - 1 D4( I ) = DBLE( A( I+1, I ) ) 290 CONTINUE CALL DSTT21( N, 0, D3, D4, WA1, D2, Z, LDU, WORK, $ RESULT( 7 ) ) * NTEST = 9 DO 300 I = 1, N - 1 D4( I ) = DBLE( A( I+1, I ) ) 300 CONTINUE SRNAMT = 'DSTEVR' CALL DSTEVR( 'N', 'A', N, D3, D4, VL, VU, IL, IU, ABSTOL, $ M2, WA2, Z, LDU, IWORK, WORK, LWORK, $ IWORK(2*N+1), LIWORK-2*N, IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSTEVR(N,A)', IINFO, N, $ JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( 9 ) = ULPINV GO TO 320 END IF END IF * * Do test 9. * TEMP1 = ZERO TEMP2 = ZERO DO 310 J = 1, N TEMP1 = MAX( TEMP1, ABS( WA2( J ) ), $ ABS( EVEIGS( J ) ) ) TEMP2 = MAX( TEMP2, ABS( WA2( J )-EVEIGS( J ) ) ) 310 CONTINUE RESULT( 9 ) = TEMP2 / MAX( UNFL, $ ULP*MAX( TEMP1, TEMP2 ) ) * 320 CONTINUE * * NTEST = 10 DO 330 I = 1, N D1( I ) = DBLE( A( I, I ) ) 330 CONTINUE DO 340 I = 1, N - 1 D2( I ) = DBLE( A( I+1, I ) ) 340 CONTINUE SRNAMT = 'DSTEVX' CALL DSTEVX( 'V', 'I', N, D1, D2, VL, VU, IL, IU, ABSTOL, $ M2, WA2, Z, LDU, WORK, IWORK, $ IWORK( 5*N+1 ), IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSTEVX(V,I)', IINFO, N, $ JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( 10 ) = ULPINV RESULT( 11 ) = ULPINV RESULT( 12 ) = ULPINV GO TO 380 END IF END IF * * Do tests 10 and 11. * DO 350 I = 1, N D3( I ) = DBLE( A( I, I ) ) 350 CONTINUE DO 360 I = 1, N - 1 D4( I ) = DBLE( A( I+1, I ) ) 360 CONTINUE CALL DSTT22( N, M2, 0, D3, D4, WA2, D2, Z, LDU, WORK, $ MAX( 1, M2 ), RESULT( 10 ) ) * * NTEST = 12 DO 370 I = 1, N - 1 D4( I ) = DBLE( A( I+1, I ) ) 370 CONTINUE SRNAMT = 'DSTEVX' CALL DSTEVX( 'N', 'I', N, D3, D4, VL, VU, IL, IU, ABSTOL, $ M3, WA3, Z, LDU, WORK, IWORK, $ IWORK( 5*N+1 ), IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSTEVX(N,I)', IINFO, N, $ JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( 12 ) = ULPINV GO TO 380 END IF END IF * * Do test 12. * TEMP1 = DSXT1( 1, WA2, M2, WA3, M3, ABSTOL, ULP, UNFL ) TEMP2 = DSXT1( 1, WA3, M3, WA2, M2, ABSTOL, ULP, UNFL ) RESULT( 12 ) = ( TEMP1+TEMP2 ) / MAX( UNFL, ULP*TEMP3 ) * 380 CONTINUE * NTEST = 12 IF( N.GT.0 ) THEN IF( IL.NE.1 ) THEN VL = WA1( IL ) - MAX( HALF* $ ( WA1( IL )-WA1( IL-1 ) ), TEN*ULP*TEMP3, $ TEN*RTUNFL ) ELSE VL = WA1( 1 ) - MAX( HALF*( WA1( N )-WA1( 1 ) ), $ TEN*ULP*TEMP3, TEN*RTUNFL ) END IF IF( IU.NE.N ) THEN VU = WA1( IU ) + MAX( HALF* $ ( WA1( IU+1 )-WA1( IU ) ), TEN*ULP*TEMP3, $ TEN*RTUNFL ) ELSE VU = WA1( N ) + MAX( HALF*( WA1( N )-WA1( 1 ) ), $ TEN*ULP*TEMP3, TEN*RTUNFL ) END IF ELSE VL = ZERO VU = ONE END IF * DO 390 I = 1, N D1( I ) = DBLE( A( I, I ) ) 390 CONTINUE DO 400 I = 1, N - 1 D2( I ) = DBLE( A( I+1, I ) ) 400 CONTINUE SRNAMT = 'DSTEVX' CALL DSTEVX( 'V', 'V', N, D1, D2, VL, VU, IL, IU, ABSTOL, $ M2, WA2, Z, LDU, WORK, IWORK, $ IWORK( 5*N+1 ), IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSTEVX(V,V)', IINFO, N, $ JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( 13 ) = ULPINV RESULT( 14 ) = ULPINV RESULT( 15 ) = ULPINV GO TO 440 END IF END IF * IF( M2.EQ.0 .AND. N.GT.0 ) THEN RESULT( 13 ) = ULPINV RESULT( 14 ) = ULPINV RESULT( 15 ) = ULPINV GO TO 440 END IF * * Do tests 13 and 14. * DO 410 I = 1, N D3( I ) = DBLE( A( I, I ) ) 410 CONTINUE DO 420 I = 1, N - 1 D4( I ) = DBLE( A( I+1, I ) ) 420 CONTINUE CALL DSTT22( N, M2, 0, D3, D4, WA2, D2, Z, LDU, WORK, $ MAX( 1, M2 ), RESULT( 13 ) ) * NTEST = 15 DO 430 I = 1, N - 1 D4( I ) = DBLE( A( I+1, I ) ) 430 CONTINUE SRNAMT = 'DSTEVX' CALL DSTEVX( 'N', 'V', N, D3, D4, VL, VU, IL, IU, ABSTOL, $ M3, WA3, Z, LDU, WORK, IWORK, $ IWORK( 5*N+1 ), IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSTEVX(N,V)', IINFO, N, $ JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( 15 ) = ULPINV GO TO 440 END IF END IF * * Do test 15. * TEMP1 = DSXT1( 1, WA2, M2, WA3, M3, ABSTOL, ULP, UNFL ) TEMP2 = DSXT1( 1, WA3, M3, WA2, M2, ABSTOL, ULP, UNFL ) RESULT( 15 ) = ( TEMP1+TEMP2 ) / MAX( UNFL, TEMP3*ULP ) * 440 CONTINUE * NTEST = 16 DO 450 I = 1, N D1( I ) = DBLE( A( I, I ) ) 450 CONTINUE DO 460 I = 1, N - 1 D2( I ) = DBLE( A( I+1, I ) ) 460 CONTINUE SRNAMT = 'DSTEVD' CALL DSTEVD( 'V', N, D1, D2, Z, LDU, WORK, LWEDC, IWORK, $ LIWEDC, IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSTEVD(V)', IINFO, N, $ JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( 16 ) = ULPINV RESULT( 17 ) = ULPINV RESULT( 18 ) = ULPINV GO TO 510 END IF END IF * * Do tests 16 and 17. * DO 470 I = 1, N D3( I ) = DBLE( A( I, I ) ) 470 CONTINUE DO 480 I = 1, N - 1 D4( I ) = DBLE( A( I+1, I ) ) 480 CONTINUE CALL DSTT21( N, 0, D3, D4, D1, D2, Z, LDU, WORK, $ RESULT( 16 ) ) * NTEST = 18 DO 490 I = 1, N - 1 D4( I ) = DBLE( A( I+1, I ) ) 490 CONTINUE SRNAMT = 'DSTEVD' CALL DSTEVD( 'N', N, D3, D4, Z, LDU, WORK, LWEDC, IWORK, $ LIWEDC, IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSTEVD(N)', IINFO, N, $ JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( 18 ) = ULPINV GO TO 510 END IF END IF * * Do test 18. * TEMP1 = ZERO TEMP2 = ZERO DO 500 J = 1, N TEMP1 = MAX( TEMP1, ABS( EVEIGS( J ) ), $ ABS( D3( J ) ) ) TEMP2 = MAX( TEMP2, ABS( EVEIGS( J )-D3( J ) ) ) 500 CONTINUE RESULT( 18 ) = TEMP2 / MAX( UNFL, $ ULP*MAX( TEMP1, TEMP2 ) ) * 510 CONTINUE * NTEST = 19 DO 520 I = 1, N D1( I ) = DBLE( A( I, I ) ) 520 CONTINUE DO 530 I = 1, N - 1 D2( I ) = DBLE( A( I+1, I ) ) 530 CONTINUE SRNAMT = 'DSTEVR' CALL DSTEVR( 'V', 'I', N, D1, D2, VL, VU, IL, IU, ABSTOL, $ M2, WA2, Z, LDU, IWORK, WORK, LWORK, $ IWORK(2*N+1), LIWORK-2*N, IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSTEVR(V,I)', IINFO, N, $ JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( 19 ) = ULPINV RESULT( 20 ) = ULPINV RESULT( 21 ) = ULPINV GO TO 570 END IF END IF * * DO tests 19 and 20. * DO 540 I = 1, N D3( I ) = DBLE( A( I, I ) ) 540 CONTINUE DO 550 I = 1, N - 1 D4( I ) = DBLE( A( I+1, I ) ) 550 CONTINUE CALL DSTT22( N, M2, 0, D3, D4, WA2, D2, Z, LDU, WORK, $ MAX( 1, M2 ), RESULT( 19 ) ) * * NTEST = 21 DO 560 I = 1, N - 1 D4( I ) = DBLE( A( I+1, I ) ) 560 CONTINUE SRNAMT = 'DSTEVR' CALL DSTEVR( 'N', 'I', N, D3, D4, VL, VU, IL, IU, ABSTOL, $ M3, WA3, Z, LDU, IWORK, WORK, LWORK, $ IWORK(2*N+1), LIWORK-2*N, IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSTEVR(N,I)', IINFO, N, $ JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( 21 ) = ULPINV GO TO 570 END IF END IF * * Do test 21. * TEMP1 = DSXT1( 1, WA2, M2, WA3, M3, ABSTOL, ULP, UNFL ) TEMP2 = DSXT1( 1, WA3, M3, WA2, M2, ABSTOL, ULP, UNFL ) RESULT( 21 ) = ( TEMP1+TEMP2 ) / MAX( UNFL, ULP*TEMP3 ) * 570 CONTINUE * NTEST = 21 IF( N.GT.0 ) THEN IF( IL.NE.1 ) THEN VL = WA1( IL ) - MAX( HALF* $ ( WA1( IL )-WA1( IL-1 ) ), TEN*ULP*TEMP3, $ TEN*RTUNFL ) ELSE VL = WA1( 1 ) - MAX( HALF*( WA1( N )-WA1( 1 ) ), $ TEN*ULP*TEMP3, TEN*RTUNFL ) END IF IF( IU.NE.N ) THEN VU = WA1( IU ) + MAX( HALF* $ ( WA1( IU+1 )-WA1( IU ) ), TEN*ULP*TEMP3, $ TEN*RTUNFL ) ELSE VU = WA1( N ) + MAX( HALF*( WA1( N )-WA1( 1 ) ), $ TEN*ULP*TEMP3, TEN*RTUNFL ) END IF ELSE VL = ZERO VU = ONE END IF * DO 580 I = 1, N D1( I ) = DBLE( A( I, I ) ) 580 CONTINUE DO 590 I = 1, N - 1 D2( I ) = DBLE( A( I+1, I ) ) 590 CONTINUE SRNAMT = 'DSTEVR' CALL DSTEVR( 'V', 'V', N, D1, D2, VL, VU, IL, IU, ABSTOL, $ M2, WA2, Z, LDU, IWORK, WORK, LWORK, $ IWORK(2*N+1), LIWORK-2*N, IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSTEVR(V,V)', IINFO, N, $ JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( 22 ) = ULPINV RESULT( 23 ) = ULPINV RESULT( 24 ) = ULPINV GO TO 630 END IF END IF * IF( M2.EQ.0 .AND. N.GT.0 ) THEN RESULT( 22 ) = ULPINV RESULT( 23 ) = ULPINV RESULT( 24 ) = ULPINV GO TO 630 END IF * * Do tests 22 and 23. * DO 600 I = 1, N D3( I ) = DBLE( A( I, I ) ) 600 CONTINUE DO 610 I = 1, N - 1 D4( I ) = DBLE( A( I+1, I ) ) 610 CONTINUE CALL DSTT22( N, M2, 0, D3, D4, WA2, D2, Z, LDU, WORK, $ MAX( 1, M2 ), RESULT( 22 ) ) * NTEST = 24 DO 620 I = 1, N - 1 D4( I ) = DBLE( A( I+1, I ) ) 620 CONTINUE SRNAMT = 'DSTEVR' CALL DSTEVR( 'N', 'V', N, D3, D4, VL, VU, IL, IU, ABSTOL, $ M3, WA3, Z, LDU, IWORK, WORK, LWORK, $ IWORK(2*N+1), LIWORK-2*N, IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSTEVR(N,V)', IINFO, N, $ JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( 24 ) = ULPINV GO TO 630 END IF END IF * * Do test 24. * TEMP1 = DSXT1( 1, WA2, M2, WA3, M3, ABSTOL, ULP, UNFL ) TEMP2 = DSXT1( 1, WA3, M3, WA2, M2, ABSTOL, ULP, UNFL ) RESULT( 24 ) = ( TEMP1+TEMP2 ) / MAX( UNFL, TEMP3*ULP ) * 630 CONTINUE * * * ELSE * DO 640 I = 1, 24 RESULT( I ) = ZERO 640 CONTINUE NTEST = 24 END IF * * Perform remaining tests storing upper or lower triangular * part of matrix. * DO 1720 IUPLO = 0, 1 IF( IUPLO.EQ.0 ) THEN UPLO = 'L' ELSE UPLO = 'U' END IF * * 4) Call DSYEV and DSYEVX. * CALL DLACPY( ' ', N, N, A, LDA, V, LDU ) * NTEST = NTEST + 1 SRNAMT = 'DSYEV' CALL DSYEV( 'V', UPLO, N, A, LDU, D1, WORK, LWORK, $ IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSYEV(V,' // UPLO // ')', $ IINFO, N, JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( NTEST ) = ULPINV RESULT( NTEST+1 ) = ULPINV RESULT( NTEST+2 ) = ULPINV GO TO 660 END IF END IF * * Do tests 25 and 26 (or +54) * CALL DSYT21( 1, UPLO, N, 0, V, LDU, D1, D2, A, LDU, Z, $ LDU, TAU, WORK, RESULT( NTEST ) ) * CALL DLACPY( ' ', N, N, V, LDU, A, LDA ) * NTEST = NTEST + 2 SRNAMT = 'DSYEV_2STAGE' CALL DSYEV_2STAGE( 'N', UPLO, N, A, LDU, D3, WORK, LWORK, $ IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 ) $ 'DSYEV_2STAGE(N,' // UPLO // ')', $ IINFO, N, JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( NTEST ) = ULPINV GO TO 660 END IF END IF * * Do test 27 (or +54) * TEMP1 = ZERO TEMP2 = ZERO DO 650 J = 1, N TEMP1 = MAX( TEMP1, ABS( D1( J ) ), ABS( D3( J ) ) ) TEMP2 = MAX( TEMP2, ABS( D1( J )-D3( J ) ) ) 650 CONTINUE RESULT( NTEST ) = TEMP2 / MAX( UNFL, $ ULP*MAX( TEMP1, TEMP2 ) ) * 660 CONTINUE CALL DLACPY( ' ', N, N, V, LDU, A, LDA ) * NTEST = NTEST + 1 * IF( N.GT.0 ) THEN TEMP3 = MAX( ABS( D1( 1 ) ), ABS( D1( N ) ) ) IF( IL.NE.1 ) THEN VL = D1( IL ) - MAX( HALF*( D1( IL )-D1( IL-1 ) ), $ TEN*ULP*TEMP3, TEN*RTUNFL ) ELSE IF( N.GT.0 ) THEN VL = D1( 1 ) - MAX( HALF*( D1( N )-D1( 1 ) ), $ TEN*ULP*TEMP3, TEN*RTUNFL ) END IF IF( IU.NE.N ) THEN VU = D1( IU ) + MAX( HALF*( D1( IU+1 )-D1( IU ) ), $ TEN*ULP*TEMP3, TEN*RTUNFL ) ELSE IF( N.GT.0 ) THEN VU = D1( N ) + MAX( HALF*( D1( N )-D1( 1 ) ), $ TEN*ULP*TEMP3, TEN*RTUNFL ) END IF ELSE TEMP3 = ZERO VL = ZERO VU = ONE END IF * SRNAMT = 'DSYEVX' CALL DSYEVX( 'V', 'A', UPLO, N, A, LDU, VL, VU, IL, IU, $ ABSTOL, M, WA1, Z, LDU, WORK, LWORK, IWORK, $ IWORK( 5*N+1 ), IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSYEVX(V,A,' // UPLO // $ ')', IINFO, N, JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( NTEST ) = ULPINV RESULT( NTEST+1 ) = ULPINV RESULT( NTEST+2 ) = ULPINV GO TO 680 END IF END IF * * Do tests 28 and 29 (or +54) * CALL DLACPY( ' ', N, N, V, LDU, A, LDA ) * CALL DSYT21( 1, UPLO, N, 0, A, LDU, D1, D2, Z, LDU, V, $ LDU, TAU, WORK, RESULT( NTEST ) ) * NTEST = NTEST + 2 SRNAMT = 'DSYEVX_2STAGE' CALL DSYEVX_2STAGE( 'N', 'A', UPLO, N, A, LDU, VL, VU, $ IL, IU, ABSTOL, M2, WA2, Z, LDU, WORK, $ LWORK, IWORK, IWORK( 5*N+1 ), IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 ) $ 'DSYEVX_2STAGE(N,A,' // UPLO // $ ')', IINFO, N, JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( NTEST ) = ULPINV GO TO 680 END IF END IF * * Do test 30 (or +54) * TEMP1 = ZERO TEMP2 = ZERO DO 670 J = 1, N TEMP1 = MAX( TEMP1, ABS( WA1( J ) ), ABS( WA2( J ) ) ) TEMP2 = MAX( TEMP2, ABS( WA1( J )-WA2( J ) ) ) 670 CONTINUE RESULT( NTEST ) = TEMP2 / MAX( UNFL, $ ULP*MAX( TEMP1, TEMP2 ) ) * 680 CONTINUE * NTEST = NTEST + 1 CALL DLACPY( ' ', N, N, V, LDU, A, LDA ) SRNAMT = 'DSYEVX' CALL DSYEVX( 'V', 'I', UPLO, N, A, LDU, VL, VU, IL, IU, $ ABSTOL, M2, WA2, Z, LDU, WORK, LWORK, IWORK, $ IWORK( 5*N+1 ), IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSYEVX(V,I,' // UPLO // $ ')', IINFO, N, JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( NTEST ) = ULPINV RESULT( NTEST+1 ) = ULPINV RESULT( NTEST+2 ) = ULPINV GO TO 690 END IF END IF * * Do tests 31 and 32 (or +54) * CALL DLACPY( ' ', N, N, V, LDU, A, LDA ) * CALL DSYT22( 1, UPLO, N, M2, 0, A, LDU, WA2, D2, Z, LDU, $ V, LDU, TAU, WORK, RESULT( NTEST ) ) * NTEST = NTEST + 2 CALL DLACPY( ' ', N, N, V, LDU, A, LDA ) SRNAMT = 'DSYEVX_2STAGE' CALL DSYEVX_2STAGE( 'N', 'I', UPLO, N, A, LDU, VL, VU, $ IL, IU, ABSTOL, M3, WA3, Z, LDU, WORK, $ LWORK, IWORK, IWORK( 5*N+1 ), IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 ) $ 'DSYEVX_2STAGE(N,I,' // UPLO // $ ')', IINFO, N, JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( NTEST ) = ULPINV GO TO 690 END IF END IF * * Do test 33 (or +54) * TEMP1 = DSXT1( 1, WA2, M2, WA3, M3, ABSTOL, ULP, UNFL ) TEMP2 = DSXT1( 1, WA3, M3, WA2, M2, ABSTOL, ULP, UNFL ) RESULT( NTEST ) = ( TEMP1+TEMP2 ) / $ MAX( UNFL, ULP*TEMP3 ) 690 CONTINUE * NTEST = NTEST + 1 CALL DLACPY( ' ', N, N, V, LDU, A, LDA ) SRNAMT = 'DSYEVX' CALL DSYEVX( 'V', 'V', UPLO, N, A, LDU, VL, VU, IL, IU, $ ABSTOL, M2, WA2, Z, LDU, WORK, LWORK, IWORK, $ IWORK( 5*N+1 ), IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSYEVX(V,V,' // UPLO // $ ')', IINFO, N, JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( NTEST ) = ULPINV RESULT( NTEST+1 ) = ULPINV RESULT( NTEST+2 ) = ULPINV GO TO 700 END IF END IF * * Do tests 34 and 35 (or +54) * CALL DLACPY( ' ', N, N, V, LDU, A, LDA ) * CALL DSYT22( 1, UPLO, N, M2, 0, A, LDU, WA2, D2, Z, LDU, $ V, LDU, TAU, WORK, RESULT( NTEST ) ) * NTEST = NTEST + 2 CALL DLACPY( ' ', N, N, V, LDU, A, LDA ) SRNAMT = 'DSYEVX_2STAGE' CALL DSYEVX_2STAGE( 'N', 'V', UPLO, N, A, LDU, VL, VU, $ IL, IU, ABSTOL, M3, WA3, Z, LDU, WORK, $ LWORK, IWORK, IWORK( 5*N+1 ), IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 ) $ 'DSYEVX_2STAGE(N,V,' // UPLO // $ ')', IINFO, N, JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( NTEST ) = ULPINV GO TO 700 END IF END IF * IF( M3.EQ.0 .AND. N.GT.0 ) THEN RESULT( NTEST ) = ULPINV GO TO 700 END IF * * Do test 36 (or +54) * TEMP1 = DSXT1( 1, WA2, M2, WA3, M3, ABSTOL, ULP, UNFL ) TEMP2 = DSXT1( 1, WA3, M3, WA2, M2, ABSTOL, ULP, UNFL ) IF( N.GT.0 ) THEN TEMP3 = MAX( ABS( WA1( 1 ) ), ABS( WA1( N ) ) ) ELSE TEMP3 = ZERO END IF RESULT( NTEST ) = ( TEMP1+TEMP2 ) / $ MAX( UNFL, TEMP3*ULP ) * 700 CONTINUE * * 5) Call DSPEV and DSPEVX. * CALL DLACPY( ' ', N, N, V, LDU, A, LDA ) * * Load array WORK with the upper or lower triangular * part of the matrix in packed form. * IF( IUPLO.EQ.1 ) THEN INDX = 1 DO 720 J = 1, N DO 710 I = 1, J WORK( INDX ) = A( I, J ) INDX = INDX + 1 710 CONTINUE 720 CONTINUE ELSE INDX = 1 DO 740 J = 1, N DO 730 I = J, N WORK( INDX ) = A( I, J ) INDX = INDX + 1 730 CONTINUE 740 CONTINUE END IF * NTEST = NTEST + 1 SRNAMT = 'DSPEV' CALL DSPEV( 'V', UPLO, N, WORK, D1, Z, LDU, V, IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSPEV(V,' // UPLO // ')', $ IINFO, N, JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( NTEST ) = ULPINV RESULT( NTEST+1 ) = ULPINV RESULT( NTEST+2 ) = ULPINV GO TO 800 END IF END IF * * Do tests 37 and 38 (or +54) * CALL DSYT21( 1, UPLO, N, 0, A, LDA, D1, D2, Z, LDU, V, $ LDU, TAU, WORK, RESULT( NTEST ) ) * IF( IUPLO.EQ.1 ) THEN INDX = 1 DO 760 J = 1, N DO 750 I = 1, J WORK( INDX ) = A( I, J ) INDX = INDX + 1 750 CONTINUE 760 CONTINUE ELSE INDX = 1 DO 780 J = 1, N DO 770 I = J, N WORK( INDX ) = A( I, J ) INDX = INDX + 1 770 CONTINUE 780 CONTINUE END IF * NTEST = NTEST + 2 SRNAMT = 'DSPEV' CALL DSPEV( 'N', UPLO, N, WORK, D3, Z, LDU, V, IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSPEV(N,' // UPLO // ')', $ IINFO, N, JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( NTEST ) = ULPINV GO TO 800 END IF END IF * * Do test 39 (or +54) * TEMP1 = ZERO TEMP2 = ZERO DO 790 J = 1, N TEMP1 = MAX( TEMP1, ABS( D1( J ) ), ABS( D3( J ) ) ) TEMP2 = MAX( TEMP2, ABS( D1( J )-D3( J ) ) ) 790 CONTINUE RESULT( NTEST ) = TEMP2 / MAX( UNFL, $ ULP*MAX( TEMP1, TEMP2 ) ) * * Load array WORK with the upper or lower triangular part * of the matrix in packed form. * 800 CONTINUE IF( IUPLO.EQ.1 ) THEN INDX = 1 DO 820 J = 1, N DO 810 I = 1, J WORK( INDX ) = A( I, J ) INDX = INDX + 1 810 CONTINUE 820 CONTINUE ELSE INDX = 1 DO 840 J = 1, N DO 830 I = J, N WORK( INDX ) = A( I, J ) INDX = INDX + 1 830 CONTINUE 840 CONTINUE END IF * NTEST = NTEST + 1 * IF( N.GT.0 ) THEN TEMP3 = MAX( ABS( D1( 1 ) ), ABS( D1( N ) ) ) IF( IL.NE.1 ) THEN VL = D1( IL ) - MAX( HALF*( D1( IL )-D1( IL-1 ) ), $ TEN*ULP*TEMP3, TEN*RTUNFL ) ELSE IF( N.GT.0 ) THEN VL = D1( 1 ) - MAX( HALF*( D1( N )-D1( 1 ) ), $ TEN*ULP*TEMP3, TEN*RTUNFL ) END IF IF( IU.NE.N ) THEN VU = D1( IU ) + MAX( HALF*( D1( IU+1 )-D1( IU ) ), $ TEN*ULP*TEMP3, TEN*RTUNFL ) ELSE IF( N.GT.0 ) THEN VU = D1( N ) + MAX( HALF*( D1( N )-D1( 1 ) ), $ TEN*ULP*TEMP3, TEN*RTUNFL ) END IF ELSE TEMP3 = ZERO VL = ZERO VU = ONE END IF * SRNAMT = 'DSPEVX' CALL DSPEVX( 'V', 'A', UPLO, N, WORK, VL, VU, IL, IU, $ ABSTOL, M, WA1, Z, LDU, V, IWORK, $ IWORK( 5*N+1 ), IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSPEVX(V,A,' // UPLO // $ ')', IINFO, N, JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( NTEST ) = ULPINV RESULT( NTEST+1 ) = ULPINV RESULT( NTEST+2 ) = ULPINV GO TO 900 END IF END IF * * Do tests 40 and 41 (or +54) * CALL DSYT21( 1, UPLO, N, 0, A, LDU, WA1, D2, Z, LDU, V, $ LDU, TAU, WORK, RESULT( NTEST ) ) * NTEST = NTEST + 2 * IF( IUPLO.EQ.1 ) THEN INDX = 1 DO 860 J = 1, N DO 850 I = 1, J WORK( INDX ) = A( I, J ) INDX = INDX + 1 850 CONTINUE 860 CONTINUE ELSE INDX = 1 DO 880 J = 1, N DO 870 I = J, N WORK( INDX ) = A( I, J ) INDX = INDX + 1 870 CONTINUE 880 CONTINUE END IF * SRNAMT = 'DSPEVX' CALL DSPEVX( 'N', 'A', UPLO, N, WORK, VL, VU, IL, IU, $ ABSTOL, M2, WA2, Z, LDU, V, IWORK, $ IWORK( 5*N+1 ), IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSPEVX(N,A,' // UPLO // $ ')', IINFO, N, JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( NTEST ) = ULPINV GO TO 900 END IF END IF * * Do test 42 (or +54) * TEMP1 = ZERO TEMP2 = ZERO DO 890 J = 1, N TEMP1 = MAX( TEMP1, ABS( WA1( J ) ), ABS( WA2( J ) ) ) TEMP2 = MAX( TEMP2, ABS( WA1( J )-WA2( J ) ) ) 890 CONTINUE RESULT( NTEST ) = TEMP2 / MAX( UNFL, $ ULP*MAX( TEMP1, TEMP2 ) ) * 900 CONTINUE IF( IUPLO.EQ.1 ) THEN INDX = 1 DO 920 J = 1, N DO 910 I = 1, J WORK( INDX ) = A( I, J ) INDX = INDX + 1 910 CONTINUE 920 CONTINUE ELSE INDX = 1 DO 940 J = 1, N DO 930 I = J, N WORK( INDX ) = A( I, J ) INDX = INDX + 1 930 CONTINUE 940 CONTINUE END IF * NTEST = NTEST + 1 * SRNAMT = 'DSPEVX' CALL DSPEVX( 'V', 'I', UPLO, N, WORK, VL, VU, IL, IU, $ ABSTOL, M2, WA2, Z, LDU, V, IWORK, $ IWORK( 5*N+1 ), IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSPEVX(V,I,' // UPLO // $ ')', IINFO, N, JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( NTEST ) = ULPINV RESULT( NTEST+1 ) = ULPINV RESULT( NTEST+2 ) = ULPINV GO TO 990 END IF END IF * * Do tests 43 and 44 (or +54) * CALL DSYT22( 1, UPLO, N, M2, 0, A, LDU, WA2, D2, Z, LDU, $ V, LDU, TAU, WORK, RESULT( NTEST ) ) * NTEST = NTEST + 2 * IF( IUPLO.EQ.1 ) THEN INDX = 1 DO 960 J = 1, N DO 950 I = 1, J WORK( INDX ) = A( I, J ) INDX = INDX + 1 950 CONTINUE 960 CONTINUE ELSE INDX = 1 DO 980 J = 1, N DO 970 I = J, N WORK( INDX ) = A( I, J ) INDX = INDX + 1 970 CONTINUE 980 CONTINUE END IF * SRNAMT = 'DSPEVX' CALL DSPEVX( 'N', 'I', UPLO, N, WORK, VL, VU, IL, IU, $ ABSTOL, M3, WA3, Z, LDU, V, IWORK, $ IWORK( 5*N+1 ), IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSPEVX(N,I,' // UPLO // $ ')', IINFO, N, JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( NTEST ) = ULPINV GO TO 990 END IF END IF * IF( M3.EQ.0 .AND. N.GT.0 ) THEN RESULT( NTEST ) = ULPINV GO TO 990 END IF * * Do test 45 (or +54) * TEMP1 = DSXT1( 1, WA2, M2, WA3, M3, ABSTOL, ULP, UNFL ) TEMP2 = DSXT1( 1, WA3, M3, WA2, M2, ABSTOL, ULP, UNFL ) IF( N.GT.0 ) THEN TEMP3 = MAX( ABS( WA1( 1 ) ), ABS( WA1( N ) ) ) ELSE TEMP3 = ZERO END IF RESULT( NTEST ) = ( TEMP1+TEMP2 ) / $ MAX( UNFL, TEMP3*ULP ) * 990 CONTINUE IF( IUPLO.EQ.1 ) THEN INDX = 1 DO 1010 J = 1, N DO 1000 I = 1, J WORK( INDX ) = A( I, J ) INDX = INDX + 1 1000 CONTINUE 1010 CONTINUE ELSE INDX = 1 DO 1030 J = 1, N DO 1020 I = J, N WORK( INDX ) = A( I, J ) INDX = INDX + 1 1020 CONTINUE 1030 CONTINUE END IF * NTEST = NTEST + 1 * SRNAMT = 'DSPEVX' CALL DSPEVX( 'V', 'V', UPLO, N, WORK, VL, VU, IL, IU, $ ABSTOL, M2, WA2, Z, LDU, V, IWORK, $ IWORK( 5*N+1 ), IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSPEVX(V,V,' // UPLO // $ ')', IINFO, N, JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( NTEST ) = ULPINV RESULT( NTEST+1 ) = ULPINV RESULT( NTEST+2 ) = ULPINV GO TO 1080 END IF END IF * * Do tests 46 and 47 (or +54) * CALL DSYT22( 1, UPLO, N, M2, 0, A, LDU, WA2, D2, Z, LDU, $ V, LDU, TAU, WORK, RESULT( NTEST ) ) * NTEST = NTEST + 2 * IF( IUPLO.EQ.1 ) THEN INDX = 1 DO 1050 J = 1, N DO 1040 I = 1, J WORK( INDX ) = A( I, J ) INDX = INDX + 1 1040 CONTINUE 1050 CONTINUE ELSE INDX = 1 DO 1070 J = 1, N DO 1060 I = J, N WORK( INDX ) = A( I, J ) INDX = INDX + 1 1060 CONTINUE 1070 CONTINUE END IF * SRNAMT = 'DSPEVX' CALL DSPEVX( 'N', 'V', UPLO, N, WORK, VL, VU, IL, IU, $ ABSTOL, M3, WA3, Z, LDU, V, IWORK, $ IWORK( 5*N+1 ), IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSPEVX(N,V,' // UPLO // $ ')', IINFO, N, JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( NTEST ) = ULPINV GO TO 1080 END IF END IF * IF( M3.EQ.0 .AND. N.GT.0 ) THEN RESULT( NTEST ) = ULPINV GO TO 1080 END IF * * Do test 48 (or +54) * TEMP1 = DSXT1( 1, WA2, M2, WA3, M3, ABSTOL, ULP, UNFL ) TEMP2 = DSXT1( 1, WA3, M3, WA2, M2, ABSTOL, ULP, UNFL ) IF( N.GT.0 ) THEN TEMP3 = MAX( ABS( WA1( 1 ) ), ABS( WA1( N ) ) ) ELSE TEMP3 = ZERO END IF RESULT( NTEST ) = ( TEMP1+TEMP2 ) / $ MAX( UNFL, TEMP3*ULP ) * 1080 CONTINUE * * 6) Call DSBEV and DSBEVX. * IF( JTYPE.LE.7 ) THEN KD = 1 ELSE IF( JTYPE.GE.8 .AND. JTYPE.LE.15 ) THEN KD = MAX( N-1, 0 ) ELSE KD = IHBW END IF * * Load array V with the upper or lower triangular part * of the matrix in band form. * IF( IUPLO.EQ.1 ) THEN DO 1100 J = 1, N DO 1090 I = MAX( 1, J-KD ), J V( KD+1+I-J, J ) = A( I, J ) 1090 CONTINUE 1100 CONTINUE ELSE DO 1120 J = 1, N DO 1110 I = J, MIN( N, J+KD ) V( 1+I-J, J ) = A( I, J ) 1110 CONTINUE 1120 CONTINUE END IF * NTEST = NTEST + 1 SRNAMT = 'DSBEV' CALL DSBEV( 'V', UPLO, N, KD, V, LDU, D1, Z, LDU, WORK, $ IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSBEV(V,' // UPLO // ')', $ IINFO, N, JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( NTEST ) = ULPINV RESULT( NTEST+1 ) = ULPINV RESULT( NTEST+2 ) = ULPINV GO TO 1180 END IF END IF * * Do tests 49 and 50 (or ... ) * CALL DSYT21( 1, UPLO, N, 0, A, LDA, D1, D2, Z, LDU, V, $ LDU, TAU, WORK, RESULT( NTEST ) ) * IF( IUPLO.EQ.1 ) THEN DO 1140 J = 1, N DO 1130 I = MAX( 1, J-KD ), J V( KD+1+I-J, J ) = A( I, J ) 1130 CONTINUE 1140 CONTINUE ELSE DO 1160 J = 1, N DO 1150 I = J, MIN( N, J+KD ) V( 1+I-J, J ) = A( I, J ) 1150 CONTINUE 1160 CONTINUE END IF * NTEST = NTEST + 2 SRNAMT = 'DSBEV_2STAGE' CALL DSBEV_2STAGE( 'N', UPLO, N, KD, V, LDU, D3, Z, LDU, $ WORK, LWORK, IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 ) $ 'DSBEV_2STAGE(N,' // UPLO // ')', $ IINFO, N, JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( NTEST ) = ULPINV GO TO 1180 END IF END IF * * Do test 51 (or +54) * TEMP1 = ZERO TEMP2 = ZERO DO 1170 J = 1, N TEMP1 = MAX( TEMP1, ABS( D1( J ) ), ABS( D3( J ) ) ) TEMP2 = MAX( TEMP2, ABS( D1( J )-D3( J ) ) ) 1170 CONTINUE RESULT( NTEST ) = TEMP2 / MAX( UNFL, $ ULP*MAX( TEMP1, TEMP2 ) ) * * Load array V with the upper or lower triangular part * of the matrix in band form. * 1180 CONTINUE IF( IUPLO.EQ.1 ) THEN DO 1200 J = 1, N DO 1190 I = MAX( 1, J-KD ), J V( KD+1+I-J, J ) = A( I, J ) 1190 CONTINUE 1200 CONTINUE ELSE DO 1220 J = 1, N DO 1210 I = J, MIN( N, J+KD ) V( 1+I-J, J ) = A( I, J ) 1210 CONTINUE 1220 CONTINUE END IF * NTEST = NTEST + 1 SRNAMT = 'DSBEVX' CALL DSBEVX( 'V', 'A', UPLO, N, KD, V, LDU, U, LDU, VL, $ VU, IL, IU, ABSTOL, M, WA2, Z, LDU, WORK, $ IWORK, IWORK( 5*N+1 ), IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSBEVX(V,A,' // UPLO // $ ')', IINFO, N, JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( NTEST ) = ULPINV RESULT( NTEST+1 ) = ULPINV RESULT( NTEST+2 ) = ULPINV GO TO 1280 END IF END IF * * Do tests 52 and 53 (or +54) * CALL DSYT21( 1, UPLO, N, 0, A, LDU, WA2, D2, Z, LDU, V, $ LDU, TAU, WORK, RESULT( NTEST ) ) * NTEST = NTEST + 2 * IF( IUPLO.EQ.1 ) THEN DO 1240 J = 1, N DO 1230 I = MAX( 1, J-KD ), J V( KD+1+I-J, J ) = A( I, J ) 1230 CONTINUE 1240 CONTINUE ELSE DO 1260 J = 1, N DO 1250 I = J, MIN( N, J+KD ) V( 1+I-J, J ) = A( I, J ) 1250 CONTINUE 1260 CONTINUE END IF * SRNAMT = 'DSBEVX_2STAGE' CALL DSBEVX_2STAGE( 'N', 'A', UPLO, N, KD, V, LDU, $ U, LDU, VL, VU, IL, IU, ABSTOL, M3, WA3, $ Z, LDU, WORK, LWORK, IWORK, IWORK( 5*N+1 ), $ IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 ) $ 'DSBEVX_2STAGE(N,A,' // UPLO // $ ')', IINFO, N, JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( NTEST ) = ULPINV GO TO 1280 END IF END IF * * Do test 54 (or +54) * TEMP1 = ZERO TEMP2 = ZERO DO 1270 J = 1, N TEMP1 = MAX( TEMP1, ABS( WA2( J ) ), ABS( WA3( J ) ) ) TEMP2 = MAX( TEMP2, ABS( WA2( J )-WA3( J ) ) ) 1270 CONTINUE RESULT( NTEST ) = TEMP2 / MAX( UNFL, $ ULP*MAX( TEMP1, TEMP2 ) ) * 1280 CONTINUE NTEST = NTEST + 1 IF( IUPLO.EQ.1 ) THEN DO 1300 J = 1, N DO 1290 I = MAX( 1, J-KD ), J V( KD+1+I-J, J ) = A( I, J ) 1290 CONTINUE 1300 CONTINUE ELSE DO 1320 J = 1, N DO 1310 I = J, MIN( N, J+KD ) V( 1+I-J, J ) = A( I, J ) 1310 CONTINUE 1320 CONTINUE END IF * SRNAMT = 'DSBEVX' CALL DSBEVX( 'V', 'I', UPLO, N, KD, V, LDU, U, LDU, VL, $ VU, IL, IU, ABSTOL, M2, WA2, Z, LDU, WORK, $ IWORK, IWORK( 5*N+1 ), IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSBEVX(V,I,' // UPLO // $ ')', IINFO, N, JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( NTEST ) = ULPINV RESULT( NTEST+1 ) = ULPINV RESULT( NTEST+2 ) = ULPINV GO TO 1370 END IF END IF * * Do tests 55 and 56 (or +54) * CALL DSYT22( 1, UPLO, N, M2, 0, A, LDU, WA2, D2, Z, LDU, $ V, LDU, TAU, WORK, RESULT( NTEST ) ) * NTEST = NTEST + 2 * IF( IUPLO.EQ.1 ) THEN DO 1340 J = 1, N DO 1330 I = MAX( 1, J-KD ), J V( KD+1+I-J, J ) = A( I, J ) 1330 CONTINUE 1340 CONTINUE ELSE DO 1360 J = 1, N DO 1350 I = J, MIN( N, J+KD ) V( 1+I-J, J ) = A( I, J ) 1350 CONTINUE 1360 CONTINUE END IF * SRNAMT = 'DSBEVX_2STAGE' CALL DSBEVX_2STAGE( 'N', 'I', UPLO, N, KD, V, LDU, $ U, LDU, VL, VU, IL, IU, ABSTOL, M3, WA3, $ Z, LDU, WORK, LWORK, IWORK, IWORK( 5*N+1 ), $ IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 ) $ 'DSBEVX_2STAGE(N,I,' // UPLO // $ ')', IINFO, N, JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( NTEST ) = ULPINV GO TO 1370 END IF END IF * * Do test 57 (or +54) * TEMP1 = DSXT1( 1, WA2, M2, WA3, M3, ABSTOL, ULP, UNFL ) TEMP2 = DSXT1( 1, WA3, M3, WA2, M2, ABSTOL, ULP, UNFL ) IF( N.GT.0 ) THEN TEMP3 = MAX( ABS( WA1( 1 ) ), ABS( WA1( N ) ) ) ELSE TEMP3 = ZERO END IF RESULT( NTEST ) = ( TEMP1+TEMP2 ) / $ MAX( UNFL, TEMP3*ULP ) * 1370 CONTINUE NTEST = NTEST + 1 IF( IUPLO.EQ.1 ) THEN DO 1390 J = 1, N DO 1380 I = MAX( 1, J-KD ), J V( KD+1+I-J, J ) = A( I, J ) 1380 CONTINUE 1390 CONTINUE ELSE DO 1410 J = 1, N DO 1400 I = J, MIN( N, J+KD ) V( 1+I-J, J ) = A( I, J ) 1400 CONTINUE 1410 CONTINUE END IF * SRNAMT = 'DSBEVX' CALL DSBEVX( 'V', 'V', UPLO, N, KD, V, LDU, U, LDU, VL, $ VU, IL, IU, ABSTOL, M2, WA2, Z, LDU, WORK, $ IWORK, IWORK( 5*N+1 ), IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSBEVX(V,V,' // UPLO // $ ')', IINFO, N, JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( NTEST ) = ULPINV RESULT( NTEST+1 ) = ULPINV RESULT( NTEST+2 ) = ULPINV GO TO 1460 END IF END IF * * Do tests 58 and 59 (or +54) * CALL DSYT22( 1, UPLO, N, M2, 0, A, LDU, WA2, D2, Z, LDU, $ V, LDU, TAU, WORK, RESULT( NTEST ) ) * NTEST = NTEST + 2 * IF( IUPLO.EQ.1 ) THEN DO 1430 J = 1, N DO 1420 I = MAX( 1, J-KD ), J V( KD+1+I-J, J ) = A( I, J ) 1420 CONTINUE 1430 CONTINUE ELSE DO 1450 J = 1, N DO 1440 I = J, MIN( N, J+KD ) V( 1+I-J, J ) = A( I, J ) 1440 CONTINUE 1450 CONTINUE END IF * SRNAMT = 'DSBEVX_2STAGE' CALL DSBEVX_2STAGE( 'N', 'V', UPLO, N, KD, V, LDU, $ U, LDU, VL, VU, IL, IU, ABSTOL, M3, WA3, $ Z, LDU, WORK, LWORK, IWORK, IWORK( 5*N+1 ), $ IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 ) $ 'DSBEVX_2STAGE(N,V,' // UPLO // $ ')', IINFO, N, JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( NTEST ) = ULPINV GO TO 1460 END IF END IF * IF( M3.EQ.0 .AND. N.GT.0 ) THEN RESULT( NTEST ) = ULPINV GO TO 1460 END IF * * Do test 60 (or +54) * TEMP1 = DSXT1( 1, WA2, M2, WA3, M3, ABSTOL, ULP, UNFL ) TEMP2 = DSXT1( 1, WA3, M3, WA2, M2, ABSTOL, ULP, UNFL ) IF( N.GT.0 ) THEN TEMP3 = MAX( ABS( WA1( 1 ) ), ABS( WA1( N ) ) ) ELSE TEMP3 = ZERO END IF RESULT( NTEST ) = ( TEMP1+TEMP2 ) / $ MAX( UNFL, TEMP3*ULP ) * 1460 CONTINUE * * 7) Call DSYEVD * CALL DLACPY( ' ', N, N, A, LDA, V, LDU ) * NTEST = NTEST + 1 SRNAMT = 'DSYEVD' CALL DSYEVD( 'V', UPLO, N, A, LDU, D1, WORK, LWEDC, $ IWORK, LIWEDC, IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSYEVD(V,' // UPLO // $ ')', IINFO, N, JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( NTEST ) = ULPINV RESULT( NTEST+1 ) = ULPINV RESULT( NTEST+2 ) = ULPINV GO TO 1480 END IF END IF * * Do tests 61 and 62 (or +54) * CALL DSYT21( 1, UPLO, N, 0, V, LDU, D1, D2, A, LDU, Z, $ LDU, TAU, WORK, RESULT( NTEST ) ) * CALL DLACPY( ' ', N, N, V, LDU, A, LDA ) * NTEST = NTEST + 2 SRNAMT = 'DSYEVD_2STAGE' CALL DSYEVD_2STAGE( 'N', UPLO, N, A, LDU, D3, WORK, $ LWORK, IWORK, LIWEDC, IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 ) $ 'DSYEVD_2STAGE(N,' // UPLO // $ ')', IINFO, N, JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( NTEST ) = ULPINV GO TO 1480 END IF END IF * * Do test 63 (or +54) * TEMP1 = ZERO TEMP2 = ZERO DO 1470 J = 1, N TEMP1 = MAX( TEMP1, ABS( D1( J ) ), ABS( D3( J ) ) ) TEMP2 = MAX( TEMP2, ABS( D1( J )-D3( J ) ) ) 1470 CONTINUE RESULT( NTEST ) = TEMP2 / MAX( UNFL, $ ULP*MAX( TEMP1, TEMP2 ) ) * 1480 CONTINUE * * 8) Call DSPEVD. * CALL DLACPY( ' ', N, N, V, LDU, A, LDA ) * * Load array WORK with the upper or lower triangular * part of the matrix in packed form. * IF( IUPLO.EQ.1 ) THEN INDX = 1 DO 1500 J = 1, N DO 1490 I = 1, J WORK( INDX ) = A( I, J ) INDX = INDX + 1 1490 CONTINUE 1500 CONTINUE ELSE INDX = 1 DO 1520 J = 1, N DO 1510 I = J, N WORK( INDX ) = A( I, J ) INDX = INDX + 1 1510 CONTINUE 1520 CONTINUE END IF * NTEST = NTEST + 1 SRNAMT = 'DSPEVD' CALL DSPEVD( 'V', UPLO, N, WORK, D1, Z, LDU, $ WORK( INDX ), LWEDC-INDX+1, IWORK, LIWEDC, $ IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSPEVD(V,' // UPLO // $ ')', IINFO, N, JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( NTEST ) = ULPINV RESULT( NTEST+1 ) = ULPINV RESULT( NTEST+2 ) = ULPINV GO TO 1580 END IF END IF * * Do tests 64 and 65 (or +54) * CALL DSYT21( 1, UPLO, N, 0, A, LDA, D1, D2, Z, LDU, V, $ LDU, TAU, WORK, RESULT( NTEST ) ) * IF( IUPLO.EQ.1 ) THEN INDX = 1 DO 1540 J = 1, N DO 1530 I = 1, J * WORK( INDX ) = A( I, J ) INDX = INDX + 1 1530 CONTINUE 1540 CONTINUE ELSE INDX = 1 DO 1560 J = 1, N DO 1550 I = J, N WORK( INDX ) = A( I, J ) INDX = INDX + 1 1550 CONTINUE 1560 CONTINUE END IF * NTEST = NTEST + 2 SRNAMT = 'DSPEVD' CALL DSPEVD( 'N', UPLO, N, WORK, D3, Z, LDU, $ WORK( INDX ), LWEDC-INDX+1, IWORK, LIWEDC, $ IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSPEVD(N,' // UPLO // $ ')', IINFO, N, JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( NTEST ) = ULPINV GO TO 1580 END IF END IF * * Do test 66 (or +54) * TEMP1 = ZERO TEMP2 = ZERO DO 1570 J = 1, N TEMP1 = MAX( TEMP1, ABS( D1( J ) ), ABS( D3( J ) ) ) TEMP2 = MAX( TEMP2, ABS( D1( J )-D3( J ) ) ) 1570 CONTINUE RESULT( NTEST ) = TEMP2 / MAX( UNFL, $ ULP*MAX( TEMP1, TEMP2 ) ) 1580 CONTINUE * * 9) Call DSBEVD. * IF( JTYPE.LE.7 ) THEN KD = 1 ELSE IF( JTYPE.GE.8 .AND. JTYPE.LE.15 ) THEN KD = MAX( N-1, 0 ) ELSE KD = IHBW END IF * * Load array V with the upper or lower triangular part * of the matrix in band form. * IF( IUPLO.EQ.1 ) THEN DO 1600 J = 1, N DO 1590 I = MAX( 1, J-KD ), J V( KD+1+I-J, J ) = A( I, J ) 1590 CONTINUE 1600 CONTINUE ELSE DO 1620 J = 1, N DO 1610 I = J, MIN( N, J+KD ) V( 1+I-J, J ) = A( I, J ) 1610 CONTINUE 1620 CONTINUE END IF * NTEST = NTEST + 1 SRNAMT = 'DSBEVD' CALL DSBEVD( 'V', UPLO, N, KD, V, LDU, D1, Z, LDU, WORK, $ LWEDC, IWORK, LIWEDC, IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSBEVD(V,' // UPLO // $ ')', IINFO, N, JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( NTEST ) = ULPINV RESULT( NTEST+1 ) = ULPINV RESULT( NTEST+2 ) = ULPINV GO TO 1680 END IF END IF * * Do tests 67 and 68 (or +54) * CALL DSYT21( 1, UPLO, N, 0, A, LDA, D1, D2, Z, LDU, V, $ LDU, TAU, WORK, RESULT( NTEST ) ) * IF( IUPLO.EQ.1 ) THEN DO 1640 J = 1, N DO 1630 I = MAX( 1, J-KD ), J V( KD+1+I-J, J ) = A( I, J ) 1630 CONTINUE 1640 CONTINUE ELSE DO 1660 J = 1, N DO 1650 I = J, MIN( N, J+KD ) V( 1+I-J, J ) = A( I, J ) 1650 CONTINUE 1660 CONTINUE END IF * NTEST = NTEST + 2 SRNAMT = 'DSBEVD_2STAGE' CALL DSBEVD_2STAGE( 'N', UPLO, N, KD, V, LDU, D3, Z, LDU, $ WORK, LWORK, IWORK, LIWEDC, IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 ) $ 'DSBEVD_2STAGE(N,' // UPLO // $ ')', IINFO, N, JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( NTEST ) = ULPINV GO TO 1680 END IF END IF * * Do test 69 (or +54) * TEMP1 = ZERO TEMP2 = ZERO DO 1670 J = 1, N TEMP1 = MAX( TEMP1, ABS( D1( J ) ), ABS( D3( J ) ) ) TEMP2 = MAX( TEMP2, ABS( D1( J )-D3( J ) ) ) 1670 CONTINUE RESULT( NTEST ) = TEMP2 / MAX( UNFL, $ ULP*MAX( TEMP1, TEMP2 ) ) * 1680 CONTINUE * * CALL DLACPY( ' ', N, N, A, LDA, V, LDU ) NTEST = NTEST + 1 SRNAMT = 'DSYEVR' CALL DSYEVR( 'V', 'A', UPLO, N, A, LDU, VL, VU, IL, IU, $ ABSTOL, M, WA1, Z, LDU, IWORK, WORK, LWORK, $ IWORK(2*N+1), LIWORK-2*N, IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSYEVR(V,A,' // UPLO // $ ')', IINFO, N, JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( NTEST ) = ULPINV RESULT( NTEST+1 ) = ULPINV RESULT( NTEST+2 ) = ULPINV GO TO 1700 END IF END IF * * Do tests 70 and 71 (or ... ) * CALL DLACPY( ' ', N, N, V, LDU, A, LDA ) * CALL DSYT21( 1, UPLO, N, 0, A, LDU, WA1, D2, Z, LDU, V, $ LDU, TAU, WORK, RESULT( NTEST ) ) * NTEST = NTEST + 2 SRNAMT = 'DSYEVR_2STAGE' CALL DSYEVR_2STAGE( 'N', 'A', UPLO, N, A, LDU, VL, VU, $ IL, IU, ABSTOL, M2, WA2, Z, LDU, IWORK, $ WORK, LWORK, IWORK(2*N+1), LIWORK-2*N, $ IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 ) $ 'DSYEVR_2STAGE(N,A,' // UPLO // $ ')', IINFO, N, JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( NTEST ) = ULPINV GO TO 1700 END IF END IF * * Do test 72 (or ... ) * TEMP1 = ZERO TEMP2 = ZERO DO 1690 J = 1, N TEMP1 = MAX( TEMP1, ABS( WA1( J ) ), ABS( WA2( J ) ) ) TEMP2 = MAX( TEMP2, ABS( WA1( J )-WA2( J ) ) ) 1690 CONTINUE RESULT( NTEST ) = TEMP2 / MAX( UNFL, $ ULP*MAX( TEMP1, TEMP2 ) ) * 1700 CONTINUE * NTEST = NTEST + 1 CALL DLACPY( ' ', N, N, V, LDU, A, LDA ) SRNAMT = 'DSYEVR' CALL DSYEVR( 'V', 'I', UPLO, N, A, LDU, VL, VU, IL, IU, $ ABSTOL, M2, WA2, Z, LDU, IWORK, WORK, LWORK, $ IWORK(2*N+1), LIWORK-2*N, IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSYEVR(V,I,' // UPLO // $ ')', IINFO, N, JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( NTEST ) = ULPINV RESULT( NTEST+1 ) = ULPINV RESULT( NTEST+2 ) = ULPINV GO TO 1710 END IF END IF * * Do tests 73 and 74 (or +54) * CALL DLACPY( ' ', N, N, V, LDU, A, LDA ) * CALL DSYT22( 1, UPLO, N, M2, 0, A, LDU, WA2, D2, Z, LDU, $ V, LDU, TAU, WORK, RESULT( NTEST ) ) * NTEST = NTEST + 2 CALL DLACPY( ' ', N, N, V, LDU, A, LDA ) SRNAMT = 'DSYEVR_2STAGE' CALL DSYEVR_2STAGE( 'N', 'I', UPLO, N, A, LDU, VL, VU, $ IL, IU, ABSTOL, M3, WA3, Z, LDU, IWORK, $ WORK, LWORK, IWORK(2*N+1), LIWORK-2*N, $ IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 ) $ 'DSYEVR_2STAGE(N,I,' // UPLO // $ ')', IINFO, N, JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( NTEST ) = ULPINV GO TO 1710 END IF END IF * * Do test 75 (or +54) * TEMP1 = DSXT1( 1, WA2, M2, WA3, M3, ABSTOL, ULP, UNFL ) TEMP2 = DSXT1( 1, WA3, M3, WA2, M2, ABSTOL, ULP, UNFL ) RESULT( NTEST ) = ( TEMP1+TEMP2 ) / $ MAX( UNFL, ULP*TEMP3 ) 1710 CONTINUE * NTEST = NTEST + 1 CALL DLACPY( ' ', N, N, V, LDU, A, LDA ) SRNAMT = 'DSYEVR' CALL DSYEVR( 'V', 'V', UPLO, N, A, LDU, VL, VU, IL, IU, $ ABSTOL, M2, WA2, Z, LDU, IWORK, WORK, LWORK, $ IWORK(2*N+1), LIWORK-2*N, IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 )'DSYEVR(V,V,' // UPLO // $ ')', IINFO, N, JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( NTEST ) = ULPINV RESULT( NTEST+1 ) = ULPINV RESULT( NTEST+2 ) = ULPINV GO TO 1720 END IF END IF * * Do tests 76 and 77 (or +54) * CALL DLACPY( ' ', N, N, V, LDU, A, LDA ) * CALL DSYT22( 1, UPLO, N, M2, 0, A, LDU, WA2, D2, Z, LDU, $ V, LDU, TAU, WORK, RESULT( NTEST ) ) * NTEST = NTEST + 2 CALL DLACPY( ' ', N, N, V, LDU, A, LDA ) SRNAMT = 'DSYEVR_2STAGE' CALL DSYEVR_2STAGE( 'N', 'V', UPLO, N, A, LDU, VL, VU, $ IL, IU, ABSTOL, M3, WA3, Z, LDU, IWORK, $ WORK, LWORK, IWORK(2*N+1), LIWORK-2*N, $ IINFO ) IF( IINFO.NE.0 ) THEN WRITE( NOUNIT, FMT = 9999 ) $ 'DSYEVR_2STAGE(N,V,' // UPLO // $ ')', IINFO, N, JTYPE, IOLDSD INFO = ABS( IINFO ) IF( IINFO.LT.0 ) THEN RETURN ELSE RESULT( NTEST ) = ULPINV GO TO 1720 END IF END IF * IF( M3.EQ.0 .AND. N.GT.0 ) THEN RESULT( NTEST ) = ULPINV GO TO 1720 END IF * * Do test 78 (or +54) * TEMP1 = DSXT1( 1, WA2, M2, WA3, M3, ABSTOL, ULP, UNFL ) TEMP2 = DSXT1( 1, WA3, M3, WA2, M2, ABSTOL, ULP, UNFL ) IF( N.GT.0 ) THEN TEMP3 = MAX( ABS( WA1( 1 ) ), ABS( WA1( N ) ) ) ELSE TEMP3 = ZERO END IF RESULT( NTEST ) = ( TEMP1+TEMP2 ) / $ MAX( UNFL, TEMP3*ULP ) * CALL DLACPY( ' ', N, N, V, LDU, A, LDA ) * 1720 CONTINUE * * End of Loop -- Check for RESULT(j) > THRESH * NTESTT = NTESTT + NTEST * CALL DLAFTS( 'DST', N, N, JTYPE, NTEST, RESULT, IOLDSD, $ THRESH, NOUNIT, NERRS ) * 1730 CONTINUE 1740 CONTINUE * * Summary * CALL ALASVM( 'DST', NOUNIT, NERRS, NTESTT, 0 ) * 9999 FORMAT( ' DDRVST2STG: ', A, ' returned INFO=', I6, '.', / 9X, $ 'N=', I6, ', JTYPE=', I6, ', ISEED=(', 3( I5, ',' ), I5, ')' ) * RETURN * * End of DDRVST2STG * END ```
Omek Interactive was a venture-backed technology company developing advanced motion sensing software for human-computer interaction. Omek was co-founded in 2007 by Janine Kutliroff and Gershom Kutliroff. Company overview Omek Interactive is an Israeli company that develops gesture recognition and motion tracking software for use in combination with 3D depth sensor cameras. Omek’s middleware is sensor-independent, supporting multiple cameras including those based on a Structured light and Time-of-flight camera technology. Omek's software works with the following cameras: PrimeSense-based Microsoft Kinect, PMD Technologies CamCube, SoftKinetic DepthSense, and Panasonic D-Imager. In July 2011 Intel Capital led their Round C financing with $7 million. Among the investors was Eliyahu Haddad who invested $2 million. Mr. Haddad was also given a seat on the Board. Intel confirmed, that it acquired Omek July 16, 2013. Technology Omek’s flagship product is the Beckon Development Suite, which converts raw depth data from 3D cameras and turns it into intelligence about humans in the scene, through background subtraction, joints tracking, skeleton identification, and gesture recognition. The Beckon software solution includes the Gesture Authoring Tool, a machine learning tool that enables developers to create gestures without writing any code. Beckon is no longer available as a free, non-commercial download from the Omek website. In March 2012, at the Embedded Vision Alliance Summit, Omek announced the upcoming availability of their Grasp Development Suite. Grasp focuses on close-range, hand and finger tracking and gesture recognition at distances of 1 meter and less. At the same event Omek also announced support for Texas Instruments’ BeagleBoard-xM evaluation board, a low-cost, low-power, embedded computing platform. See also Natural user interface Human-computer interaction Gesture recognition Computer vision References External links Official Website See Chapter 7: Application Development with the [Omek] Beckon Framework "Meet the Kinect: An Introduction to Programming Natural User Interfaces", by Sean Kean, Jonathan Hall, Phoenix Perry Gesture recognition Commercial computer vision systems Human–computer interaction researchers Software companies of Israel Intel acquisitions
The Nehantic Trail is a Connecticut hiking trail and is one of the Blue-Blazed hiking trails maintained by the Connecticut Forest and Park Association. The trail is located in the towns of Voluntown and Griswold and is almost entirely within the Pachaug State Forest. Trail description The Nehantic Trail is a Blue-Blazed hiking trail and extends from Green Falls Pond in Voluntown to the Hopeville Pond State Park in Griswold. Most of the Nehantic Trail is on state land within the Pachaug State Forest and connects three public recreation areas maintained by the Connecticut Department of Environmental Protection: Hopeville Pond State Park, the Chapman Recreation Area and the Green Falls Pond Recreation Area. Each of these recreation areas provide seasonal camping, and public swimming areas are available at the Green Falls and Hopeville Ponds. Much of the Nehantic Trail is flat or has gradual ascents and descents and is suitable for casual walking or hiking, running - or snowshoeing in the winter. The steepest section is where the trail traverses Mt Misery. All trails in this area cross streams and wetland areas that are subject to flooding in periods of significant rain and snow melt. The trail overlaps with or connects to other Blue-Blazed trails in the Pachaug Forest: the Pachaug Trail in the Mt Misery section, and the Narragansett Trail at Green Falls Pond. The Nehantic-Pachaug Crossover trail is a secondary trail in the Green Falls Pond section connecting these two trails and is marked with blue and red blazes (a blue blaze with a red bar in the lower half of the blaze). The Laurel Loop is another secondary trail in this area and is marked with blue and yellow blazes. This side-trail features extensive growths of Mountain Laurel and is well worth hiking in early Summer when these shrubs are in bloom. Trail route The southern end of the Nehantic Trail starts in the Green Falls Pond Recreation Area, near the swimming and camping areas and the start of the Pachaug trail. The trail leads generally north, connecting with the Nehantic-Pachaug Crossover trail and then crossing Rts 138/165 to the west of the Voluntown center. The trail continues through woods and then joins Rt 49 for a section before entering the Chapman Recreation Area. The trail continues through woods and then joins with the Pachaug Trail where they pass over the top of Mt Misery (). The two trails diverge west of the Mt Misery "summit", with the Nehantic continuing north through woods before crossing Rt 201 to the Hopeville Pond State Park. The Nehantic-Pachaug Crossover runs East-West and joins the Nehantic Trail just south of where it crosses the access road to the Green Falls Pond area and connects to the Pachaug and Laurel Loop Trails at the Eastern Terminus. The Laurel Loop runs to the north from there and loops back to the section of the State Forest where access roads from Rt 49 and Rts 138/165 join together. The connecting main and side trails provide numerous opportunities for loop hikes. Since parking is available at each of the recreation areas (subject to State DEP fees in peak season), extended through-hikes are also popular on this trail. Trail communities The Nehantic Trail passes through land located within the following municipalities, from south to north: Voluntown, Connecticut and Griswold, Connecticut Landscape, geology, and natural environment Landscape in the area is generally low-lying and flat with some rolling hills. The most prominent ascent is Mt Misery in the Chapman / Mt Misery Recreation Area, with an ascent of 100 feet or so to an elevation of 440 feet. This is one of the higher elevations in the area so the peak offers good views of the forest to the south. The Pachaug Forest features large extents of undeveloped land, consisting of mature growths of hardwood and evergreens, along with swampy areas having extensive coverage by Mountain Laurel and other shrubs and smaller trees. History and folklore The Blue-Blazed Nehantic Trail was created by the Connecticut Forest and Park Association as part of the Blue-Blazed Hiking Trail system. Origin and name The original Blue-Blazed Hiking Trails were named after Native American people and place names, in recognition that many of the trails followed historic footpaths. Trails added since often follow this convention, so many of the BBHT's have Native American names. The Niantic people or Nehantic is one of several Algonquian speaking people occupying the shoreline of Southern New England in the early colonial period of the region. The name is also used for the Nehantic State Forest as well as the borough of Niantic in East Lyme. Historic sites No historical sites have been identified along the route. Stone walls indicate that much of the landscape was used for settlements and farms. Stone foundations and extensive stone walls can be found in a section of the Nehantic-Pachaug Crossover. Folklore The town name of Voluntown is attributed to the fact that it was settled by Volunteers of the Narragansett War in 1700 who received land grants to settle there. The land was remote and difficult to farm and many of the original settlements were subsequently abandoned, so stone walls and foundations can be found throughout the forest today. The in-hospitality of the land has been cited as the origin for the names "Mount Misery" or "Misery Hill" and "Hell Hollow". Hiking the trail The mainline trail is blazed with blue rectangles. Trail descriptions are available from a number of commercial and non-commercial sources, and a complete guidebook is published by the Connecticut Forest and Park Association. More information can be found on the CFPA website (http://ctwoodlands.org/blue-blazed-hiking-trails) including updates on trail conditions and closure or restrictions. Contact information is also available on the site for trail users to report adverse trail conditions or submit other feedback or questions. Weather along the route is typical of Connecticut. Conditions on exposed ridge tops and summits may be harsher during cold or stormy weather. Lightning is a hazard on exposed summits and ledges during thunderstorms. Snow is common in the winter and may necessitate the use of snowshoes. Ice can form on exposed ledges and summits, making hiking dangerous without special equipment. Landscape is low-lying and trails cross wetland areas. Extensive rain and snow melt will lead to wet and muddy conditions, and in this case fairly high waterproof boots are recommended. Biting insects can be bothersome during warm weather. Parasitic deer ticks (which are known to carry Lyme disease) are a potential hazard. Encounter with small wildlife is always possible and hikers should be alert to signs of erratic behavior or other disease symptoms and take evasive action if warranted. Seasonal hunting is permitted on state forest land, so wearing bright orange clothing during the hunting season (Fall through December) is advised. State regulations govern use of state forest land. The land, plants and animals should generally be left undisturbed, especially endangered and protected species. Image gallery See also Blue-Blazed Trails Quinebaug Trail Pachaug State Forest Pachaug Trail References Further reading External links Trail Maps: Google Map of the Nehantic Trail Nearby trails and the Pachaug Forest: DEP-Pachaug State Forest DEP-Chapman Area DEP-Green Falls Area Connecticut hikes and related information: Connecticut Forest and Park Association CT Museum Quest Hiking trails in Connecticut Blue-Blazed Trails
The Štiavnica Mountains (also Štiavnické Mountains; , ) are a volcanic mountain range southern central Slovakia. They are part of Inner Western Carpathians and the Slovenské stredohorie Mountains. The area is protected by Štiavnica Mountains Protected Landscape Area. They are bordered by the Kremnica Mountains (Kremnické vrchy) in the north, Pliešovce and Krupina basins (Krupinská kotlina) in the east, Danubian Hills (Podunajská pahorkatina) in the south and Pohronský Inovec, Vtáčnik and Žiar Basin (Žiarska kotlina) in the west. The highest point is Sitno (1,009 m). Štiavnica Mountains are an immense caldera created by the collapse of an ancient volcano. Due to their volcanic origin, they are mineral-rich, with around 140 kinds of minerals. In the past, silver mining flourished in the area around the town of Banská Štiavnica. From originally over 60 lakes called tajchy in Štiavnica Mountains, there are over 30 still existing today. Although they are now integrated in their natural environment, they were originally built as water reservoirs serving the mining industry, most of them in the 18th century. External links Štiavnica Mountains Protected Landscape Area at Slovakia.travel Central Slovakia Mountain ranges of Slovakia Mountain ranges of the Western Carpathians
Lady Jane Browne, (née Jane Radcliffe; c.1532 – 22 July 1552) was an English noblewoman. Family Jane Radcliffe was the daughter of Robert Radcliffe, 1st Earl of Sussex, by his second wife, Margaret Stanley, daughter of Thomas Stanley, 2nd Earl of Derby, and Anne Hastings, the daughter of Edward Hastings, 2nd Baron Hastings. Jane had one sister, born of the same parents, Anne Radcliffe, who married Thomas Wharton, 2nd Baron Wharton. By her father's other marriages Jane had several half-brothers: Henry Radcliffe, 2nd Earl of Sussex, Sir Humphrey Radcliffe (c. 1508/9–13 August 1566), George Radcliffe., a brother who died in infancy, and Sir John Radcliffe. Marriage and issue Jane Radcliffe married Anthony Browne, 1st Viscount Montague (d. 19 October 1592), the oldest son of Sir Anthony Browne and his first wife, Alice Gage. Jane Radcliffe Browne was not styled Viscountess Montague in life, as Anthony Browne was not created 1st Viscount Montague until September 1554, over two years after her death. Jane and Anthony Browne had 2 children, twins, a boy and a girl, born 22 July 1552: Anthony Browne (22 July 1552 – 29 June 1592), who married Mary Dormer, the daughter of Sir William Dormer (d.1575) by his second wife Dorothy Catesby, the daughter of Anthony Catesby, esquire. Anthony Browne predeceased his father by four months, leaving a son, Anthony, who succeeded as 2nd Viscount Montague, as well as another son, John, and three daughters, Dorothy, who married Edmund Lee, esquire, Jane, who married Sir Francis Englefield (c.1561 – 26 October 1631), 1st Baronet Englefield, and Katherine, who married a husband surnamed Throckmorton. Anthony Browne's widow, Mary Dormer, married secondly, Sir Edmund Uvedale (d. 6 April 1606), and thirdly, Sir Thomas Gerard (d. 16 February 1621), son and heir of Sir Thomas Gerard by Elizabeth, daughter and co-heiress of Sir John Port. In her will dated 20 July 1637, Mary Dormer requested that she be buried at Midhurst, Sussex, near her first husband, Anthony Browne. Mary Browne (22 July 1552 – 4 November 1607) married (1) Henry Wriothesley, 2nd Earl of Southampton (2) Thomas Heneage (3) William Hervey. Unfortunately, Jane died in childbed while giving birth to the twins. She was buried at Midhurst, Sussex. After Jane's death, Anthony Browne remarried to Magdalen Dacre (d. 8 April 1608), daughter of William Dacre, 4th Baron Dacre of Gilsland, by Elizabeth Talbot, daughter of George Talbot, 4th Earl of Shrewsbury. Footnotes References External links thepeerage Accessed April 1, 2009 1533 births 1552 deaths Jane Jane English viscountesses 16th-century English nobility 16th-century English women People from Sussex Deaths in childbirth Daughters of British earls
James Houston (born 28 December 1982) is an English former rugby league footballer who played in the 2000s and 2010s. He played at representative level for Scotland, and at club level for the Hunslet Hawks, Featherstone Rovers and the York City Knights in the Championship, as a or . He has played at representative level for Scotland in 2003. References External links Profile at Rugby League Project 1982 births Living people English people of Scottish descent English rugby league players Featherstone Rovers players Hunslet R.L.F.C. players Rugby articles needing expert attention Rugby league locks Rugby league props Scotland national rugby league team players York City Knights players
Stemphylium cannabinum is a plant pathogen that infects hemp. References See also Dobrozrakova, Taisiia Leonidovna; Letova, M.F.; Stepanov, K.M.; Khokhryakov, M.K. 1956. Opredelitel' Bolezni Rastenii [A manual on the determination of plant diseases]. :1-661 Fungal plant pathogens and diseases Hemp diseases Pleosporaceae
The Otterbach is a stream, 42 kilometres long, in South Palatinate in the German state of Rhineland-Palatinate, that flows eastwards and northeastwards towards the Upper Rhine. Course The Otterbach rises in the area of the Upper Mundat Forest in the southeast of the Palatine Forest. Its source lies at a height of about 300 metres on the hillside east of Guttenberg Castle between the Hohe Derst (561 m high, to the north) and the Hoher Kopf (497 m high, to the south). After breaking out of the low mountain range into the Upper Rhine Valley, the Otterbach flows through the two villages named after it, Oberotterbach and Niederotterbach, then through Vollmersweiler and Freckenfeld, where it passes the northern edge of the Bienwald woods. In Minfeld it is joined from the left by the Dierbach, and then forms the border between the districts of Kandel and Wörth. In Kandel, the Bruchbach enters it from the right. The Otterbach meanders markedly on its way through Jockgrim. After it has passed through Neupotz, it is impounded southeast of Leimersheim to form the Fischmal, a reservoir 1½ kilometres long and up to 100 metres wide that is a biotope for many aquatic birds and plants. Whilst some of the Otterbach's waters are diverted to the right through a pumping station on the Rhine embankment directly into the Rhine itself, the left-hand branch of the river flows through the village of Leimersheim and is united there with the Erlenbach coming from the left to form the Michelsbach. This is a former loop of the Old Rhine that discharges after a good twelve kilometres from the left into the Rhine. Despite the route of its lower reaches, the Otterbach is counted as a direct tributary of the Rhine (or the Leimersheim Old Rhine - Leimersheimer Altrheins - flowing eastwards), something that is also acknowledged by the GKZs (Michelsbach 23754, Otterbach 237522).. See also List of rivers of Rhineland-Palatinate References Rivers of Rhineland-Palatinate Anterior Palatinate South Palatinate Rivers of Germany
Pecka is a village in central Croatia, in the municipality of Topusko, Sisak-Moslavina County. History Demographics According to the 2011 census, the village of Pecka has 27 inhabitants. This represents 18.14% of its pre-war population according to the 1991 census. According to the 1991 census, 98.31% of the village population were ethnic Serbs (233/237), 0.42% were ethnic Croats (1/237), and 1.27% were of other ethnic origin (3/237). Sights Monument to the uprising of the people of Kordun and Banija Notable natives and residents References Populated places in Sisak-Moslavina County Serb communities in Croatia
John J. Lanzendorf (1946 – May 27, 2022) was an American hairstylist who amassed one of the world's largest collections of dinosaur-themed artwork. The collection is now owned by the Children's Museum of Indianapolis. Lanzendorf grew up in Spooner, Wisconsin and attended cosmetology school. As an adult, he lived in the Gold Coast neighborhood of Chicago. During the 1970s and 1980s, he earned a reputation as one of the favorite hairstylists of Chicago's socialites, where his customers included celebrities such as Bette Midler, Jane Fonda, and Rita Hayworth. He worked with the fashion photographer Victor Skrebneski and had his own studio with partner Hank Blankenship on Chicago's Oak Street. A lover of animals, Lanzendorf kept Grand Basset Griffon Vendéen dogs as well as rare parrots, cockatoos and macaws. Lanzendorf had begun collecting dinosaur-related items as a child, when he found a small plastic dinosaur toy in a cereal box. After recovering from cancer in the early 1990s, he started purchasing sculptures, paintings, and drawings from some of the best-known paleoartists, such as James Gurney, John Gurche, and Michael Skrepnick. He also acquired drawings from the University of Chicago paleontologist Paul Sereno, who became a close friend. By 2000, he owned about 500 pieces, which he kept in his one-bedroom apartment. In 2000, Chicago's Field Museum of Natural History displayed about seventy of Lanzendorf's Tyrannosaurus sculptures and paintings to complement the grand opening of their Sue the Tyrannosaurus exhibit. That same year, a coffee table book about Lazendorf's collection, Dinosaur Imagery, was released by Academic Press. The book included a foreword by paleontologist Philip J. Currie and commentaries on the collection from other dinosaur researchers. Lanzendorf sold his dinosaur collection to the Children's Museum of Indianapolis in 2001. He then redecorated his apartment with Asian art. Lanzendorf told an interviewer that he developed an interest in Asian artifacts after visiting fossil sites in Mongolia, and funded scholarships for dozens of young students in China after visiting there on a fossil expedition. His legacy continues to support dinosaur artists (and other science artists) with the Lanzendorf PaleoArt Prize (now called the Lanzendorf-National Geographic PaleoArt Prize), awarded through the Society of Vertebrate Paleontology. After being diagnosed with pancreatic cancer, Lanzendorf died at 76 years old on May 27, 2022 due to complications from surgery at Northwestern Memorial Hospital. References 1946 births 2022 deaths American hairdressers American art collectors Paleoart People from Chicago
The Saab 92 was the first production car from Saab. The design was very aerodynamic for its time, with a drag coefficient (cx or cw) of 0.30. The entire body was stamped out of one piece of sheet metal and then cut to accommodate doors and windows. Full-scale production started December 12, 1949, based on the prototype Ursaab. All of them were of the Deluxe version. A standard version was advertised, but nobody was interested in buying it so no standard versions were produced. The engine was a transversely-mounted, water-cooled two-cylinder, two-stroke 764 cc displacement, 25 hp (19 kW) engine based on a DKW design, giving a top speed of . The transmission had three gears, the first unsynchronised. In order to overcome the problems of oil starvation during overrun (engine braking) for the two-stroke engine, a freewheel device was fitted. The suspension was by torsion bars. All early Saab 92s were painted in a dark green colour similar to British racing green. According to some sources, Saab had a surplus of green paint from wartime production of airplanes; "All the cars were painted bottle green, a colour that became something of a trade mark for Saab cars. The underlying reason was that the armed forces had bought large quantities of a green cellulose paint for camouflage painting. However, the paint did not suit the terrain and the entire consignment of paint was sold off. Saab bought it and that was why both the aircraft and cars ended up green." Saab's rally history already started two weeks after the 92 was released, when Saab's head engineer Rolf Mellde entered the Swedish Rally and came second in his class. Only 700 1950 models were made. In 1951, German VDO instruments replaced the originally-fitted American Stewart-Warner components. In 1952 Greta Molander won the 'Coupe des Dames' of the Monte Carlo Rally in a 92, tuned to 35 hp (26 kW). In 1953, the 92B arrived with a much larger rear window and larger luggage space (with an opening lid). It was now available in grey, blue-grey, black and green. In 1954 the Saab 92 got the new Solex 32BI carburetor and a new ignition coil giving 28 hp (21 kW). The US headlights were replaced with Hella units. Another novelty was that a textile roof (semi-cab or cabrio coach) was offered as an option. The colour maroon was also introduced this year. In 1955, it acquired an electric fuel pump and square tail lights installed in the rear fenders. The colours were grey, maroon and a new color, moss green. The English aviation test pilot Bob Moore, who had helped to develop the Saab Tunnan (J29) jet aircraft, brought a 1955 Saab 92B back to England, when he returned, later to become the first managing director of Saab GB Ltd. This was reputedly the first-ever Saab car imported to the UK. The Saab 93 was introduced in December 1955, but both the 92B and 93 were produced at the same time, for a while. The last 92 was assembled in late 1956–early 1957. Two new colours, grey-green and beige, were available. A total of 20,128 Saab 92s were made. The Saab 92 appears on a Swedish postage stamp. When General Motors in 2008 made a list of their top ten cars, the Saab 92 came in first followed by the Pontiac GTO (1964), the Chevrolet Corvette (1953), the EV1 (1996), the Opel Olympia (1936), the LaSalle (1927), the Chevrolet Bel Air (1955), the Cadillac V16 (1930), the Cadillac Model 30 (1910) and the Cadillac (1912). References External links Saabmuseum.com Front-wheel-drive vehicles 92 Compact cars 1950s cars Cars introduced in 1949 Coupés Streamliner cars
The 1922–23 Irish League was the 29th edition of the Irish League, the highest level of league competition in Northern Irish football. The league comprised 6 teams, and Linfield won the championship. League standings Results References Northern Ireland - List of final tables (RSSSF) NIFL Premiership seasons North Football Football 1922–23 in Northern Ireland association football
```c++ #include "HotkeyListener.h" #include <Core/source/win/WinAPI.h> #include <Core/source/infra/Logging.h> #include <CommonUtilities/Exception.h> #include <ranges> #include <include/cef_task.h> #include "include/base/cef_callback.h" #include "include/wrapper/cef_closure_task.h" namespace rn = std::ranges; namespace vi = rn::views; using namespace pmon::util; // TODO: general logging in this codebase (winapi calls like PostThreadMessage etc.) namespace p2c::client::util { Hotkeys::Hotkeys() : thread_{ "hotkey", & Hotkeys::Kernel_, this} { startupSemaphore_.acquire(); pmlog_verb(v::hotkey)("Hotkey process ctor complete"); } Hotkeys::~Hotkeys() { pmlog_verb(v::hotkey)("Destroying hotkey processor"); PostThreadMessageA(threadId_, WM_QUIT, 0, 0); } void Hotkeys::Kernel_() noexcept { try { pmlog_verb(v::hotkey)("Hotkey processor kernel start"); // capture thread id threadId_ = GetCurrentThreadId(); // create message window class const WNDCLASSEXA wx = { .cbSize = sizeof(WNDCLASSEX), .lpfnWndProc = DefWindowProc, .hInstance = GetModuleHandle(nullptr), .lpszClassName = "$PresentmonMessageWindowClass$", }; const auto atom = RegisterClassEx(&wx); if (!atom) { pmlog_error().hr(); return; } pmlog_verb(v::hotkey)(std::format("Hotkey processor wndclass registered: {:X}", atom)); // create message window messageWindowHandle_ = CreateWindowExA( 0, MAKEINTATOM(atom), "$PresentmonMessageWindow$", 0, 0, 0, 0, 0, HWND_MESSAGE, nullptr, nullptr, nullptr ); if (!messageWindowHandle_) { pmlog_error().hr(); return; } pmlog_verb(v::hotkey)(std::format("Hotkey processor wnd created: {:X}", reinterpret_cast<uintptr_t>(messageWindowHandle_))); // register to receive raw keyboard input const RAWINPUTDEVICE rid{ .usUsagePage = 0x01, .usUsage = 0x06, .dwFlags = RIDEV_INPUTSINK, .hwndTarget = static_cast<HWND>(messageWindowHandle_), }; if (!RegisterRawInputDevices(&rid, 1, sizeof(rid))) { pmlog_error().hr(); return; } pmlog_verb(v::hotkey)("Raw input registered"); // signal that constuction is complete startupSemaphore_.release(); MSG msg; while (GetMessageA(&msg, nullptr, 0, 0)) { if (msg.message == WM_INPUT) { pmlog_verb(v::hotkey)("WM_INPUT received"); auto& lParam = msg.lParam; // allocate memory for raw input data UINT dwSize{}; if (GetRawInputData((HRAWINPUT)lParam, RID_INPUT, nullptr, &dwSize, sizeof(RAWINPUTHEADER))) { pmlog_error().hr(); return; } const auto inputBackingBuffer = std::make_unique<BYTE[]>(dwSize); // read in raw input data if (const auto size = GetRawInputData((HRAWINPUT)lParam, RID_INPUT, inputBackingBuffer.get(), &dwSize, sizeof(RAWINPUTHEADER)); size != dwSize) { pmlog_error().hr(); return; } const auto& input = reinterpret_cast<const RAWINPUT&>(*inputBackingBuffer.get()); // handle raw input data for keyboard device if (input.header.dwType == RIM_TYPEKEYBOARD) { const auto& keyboard = input.data.keyboard; pmlog_verb(v::hotkey)(std::format("KBD| vk:{} msg:{}", keyboard.VKey, keyboard.Message)); // check for keycode outside of range of our table if (keyboard.VKey >= win::Key::virtualKeyTableSize) { pmlog_verb(v::hotkey)("KBD| vk out of range"); continue; } // key presses if (keyboard.Message == WM_KEYDOWN || keyboard.Message == WM_SYSKEYDOWN) { pmlog_verb(v::hotkey)("key press"); // don't handle autorepeat presses if (!pressedKeys_[keyboard.VKey]) { // mark key as in down state pressedKeys_[keyboard.VKey] = true; // if key is not modifier if (const auto key = win::Key::FromPlatformCode(keyboard.VKey)) { if (!key->IsModifierKey()) { // gather currently pressed modifiers const auto mods = GatherModifiers_(); // check for matching registered hotkey action std::lock_guard lk{ mtx_ }; if (auto i = registeredHotkeys_.find({ *key, mods }); i != registeredHotkeys_.cend()) { // if match found dispatch action on renderer thread pmlog_verb(v::hotkey)("hotkey dispatching"); CefPostTask(TID_RENDERER, base::BindOnce( &Hotkeys::DispatchHotkey_, base::Unretained(this), i->second )); } } } } else { pmlog_verb(v::hotkey)("key repeat"); } } // key releases else if (keyboard.Message == WM_KEYUP || keyboard.Message == WM_SYSKEYUP) { pmlog_verb(v::hotkey)("Key up"); pressedKeys_[keyboard.VKey] = false; } } else { pmlog_warn("Unknown raw input type"); } } } if (!DestroyWindow(static_cast<HWND>(messageWindowHandle_))) { pmlog_warn("failed window destroy").hr(); } if (!UnregisterClass(MAKEINTATOM(atom), GetModuleHandle(nullptr))) { pmlog_warn("failed unreg class").hr(); } pmlog_verb(v::hotkey)(); } catch (...) { pmlog_error(ReportException()); } } void Hotkeys::DispatchHotkey_(Action action) const { std::lock_guard lk{ mtx_ }; if (Handler_) { pmlog_verb(v::hotkey)("execute handler with hotkey action"); Handler_(action); } else { pmlog_warn("Hotkey handler not set"); } } void Hotkeys::SetHandler(std::function<void(Action)> handler) { std::lock_guard lk{ mtx_ }; pmlog_verb(v::hotkey)("Hotkey handler set"); Handler_ = std::move(handler); } void Hotkeys::BindAction(Action action, win::Key key, win::ModSet mods, std::function<void(bool)> resultCallback) { pmlog_verb(v::hotkey)("Hotkey action binding"); std::lock_guard lk{ mtx_ }; // if action is already bound, remove it if (const auto i = rn::find_if(registeredHotkeys_, [action](const auto& i) { return i.second == action; }); i != registeredHotkeys_.cend()) { pmlog_verb(v::hotkey)("Hotkey action binding remove existing action"); registeredHotkeys_.erase(i); } // if hotkey combination is already bound, remove it registeredHotkeys_.erase({ key, mods }); // bind action to new hotkey combination registeredHotkeys_.emplace(std::piecewise_construct, std::forward_as_tuple(key, mods), std::forward_as_tuple(action) ); // signal callback success resultCallback(true); } void Hotkeys::ClearAction(Action action, std::function<void(bool)> resultCallback) { pmlog_verb(v::hotkey)("Hotkey action clearing"); std::lock_guard lk{ mtx_ }; // if action is bound, remove it if (const auto i = rn::find_if(registeredHotkeys_, [action](const auto& i) { return i.second == action; }); i != registeredHotkeys_.cend()) { registeredHotkeys_.erase(i); } else { pmlog_warn("Attempted to clear unregistered hotkey"); } // signal callback success resultCallback(true); } win::ModSet Hotkeys::GatherModifiers_() const { win::ModSet mods; if (pressedKeys_[VK_SHIFT]) { mods = mods | win::Mod::Shift; } if (pressedKeys_[VK_CONTROL]) { mods = mods | win::Mod::Ctrl; } if (pressedKeys_[VK_MENU]) { mods = mods | win::Mod::Alt; } if (pressedKeys_[VK_LWIN]) { mods = mods | win::Mod::Win; } return mods; } Hotkeys::Hotkey::Hotkey(win::Key key, win::ModSet mods) : key{ key }, mods{ mods } {} bool Hotkeys::Hotkey::operator<(const Hotkey& rhs) const { return key == rhs.key ? (mods < rhs.mods) : (key < rhs.key); } bool Hotkeys::Hotkey::operator==(const Hotkey& rhs) const { return key == rhs.key && mods == rhs.mods; } } ```
Ernest Mallet (June 10, 1863 – December 5, 1956) was a regent of the Bank of France and a member of the Anglo-French Financial Commission during World War I. Biography He was born on June 10, 1863, in the 8th arrondissement of Paris. He married in London on May 28, 1905, Mabil St-Aubyn. In 1915, he was part of the Anglo-French Financial Commission, which negotiated a $500 million loan for France and Britain from the United States. He died on December 5, 1956 in the 16th arrondissement of Paris. References 1863 births 1956 deaths French bankers Regents of the Banque de France
The 6th Annual TV Week Logie Awards were presented on Saturday 21 March 1964 aboard the Lloyd Triestino cruise liner Marconi Liber in Sydney. The winner of the Gold Logie was Bobby Limb. The awards were broadcast on the Nine Network. This article lists the winners of Logie Awards (Australian television) for 1964: Awards Gold Logie Most Popular Personality on Australian Television Winner: Bobby Limb Logie National Best Overseas Show Winner: Bonanza Best Male Singer Winner: Bill Newman Best Female Singer Winner: Robyn Alvarez Best Commercial Winner: Coca-Cola Best National Variety Show Winner: The Delo and Daly Show Outstanding Newscoverage Winner: Federal Election Best Children's Entertainment Winner: Aladdin Outstanding Documentary Winner: Bob Raymond, for work at TCN and Four Corners Victoria Most Popular Male Joint Winners: Graham Kennedy & Bert Newton Most Popular Female Winner: Rosie Sturgess Most Popular Program Winner: Noel Ferrier's I.M.T. New South Wales Most Popular Male Winner: Dave Allen Most Popular Female Winner: Judy Stone Most Popular Program Winner: Tonight with Dave Allen South Australia Most Popular Male Winner: Ernie Sigley Most Popular Female Winner: Glenys O'Brien Most Popular Program Winner: Country and Western Hour Queensland Most Popular Male Winner: George Wallace Jnr Most Popular Female Winner: Jackie Ellison Most Popular Program Winner: Theatre Royal Tasmania Most Popular Personality Winner: Graeme Smith Special Achievement Award Special Award for Outstanding Production Winner: Bandstand Special Award for Recording Winner: Rob E.G. (Robie Porter) External links Australian Television: 1962-1965 Logie Awards TV Week Logie Awards: 1964 1964 television awards 1964 in Australian television 1964
Scattered may refer to: Music Scattered (album), a 2010 album by The Handsome Family "Scattered" (The Kinks song), 1993 "Scattered", a song by Ace Young "Scattered", a song by Lauren Jauregui "Scattered", a song by Green Day from Nimrod "Scattered (Let's Think About Livin')", a song by Neil Young from Broken Arrow Other uses Scattered (rave), a rave party based in Sydney, Australia "Scattered" (Battlestar Galactica), a 2005 Battlestar Galactica episode Scattered radiation Scattered space, a property of topological spaces See also Scatter (disambiguation)
Howard Erwin Stange (March 3, 1924 – December 4, 1990) was an American musician, singer and pianist who played Rockabilly and Country music, possessing a distinctive vocal and playing style. Howie was a musical virtuoso who had the ability to pick up any instrument and play with a high degree of technical proficiency, despite the fact that he never learned how to read music. Howie was born of four sisters and two brothers who include: Gertrude 'Kiki' Stange, Doris Stange, Frank Anthony Stange, Raymond Christopher Stange, Esther Madelyn Stange and Kathleen Leona Stange. Among the six siblings, only his youngest sister, Kathleen, lives to date, age 85. Howie achieved both national and international fame recognition, for his hit 45 record, "Real Gone Daddy/This Old Bomb of Mine", released in 1957. Regarded as one of the most significant and influential Rockabilly musicians of his era, Howie's music currently resides on over 100 record compilations of the best rockabilly music ever produced. Howie's song "Real Gone Daddy" has achieved "Maybelline" status among fans. Additionally, in 1958 he went on to record "Are You Lonesome To-Night?" which was subsequently picked up by Elvis Presley Are You Lonesome Tonight? (song) who later went on to chart this song at number 1 on the Billboard Charts in 1960. Howie Stange did not achieve significant fame or fortune during his lifetime: however, his music left a lasting impression on a generation of young listeners who were first being introduced to rock and roll music in the 1950s. Life and Career (Childhood 1924–1938) Born in Meriden, Connecticut, Howie Stange grew up and lived his entire life in his home town. His family lived a hard-scrabble life; very little to eat, no indoor plumbing, and no money for medical care. Howard suffered from severe asthma, and the family always lived in fear of an asthma attack, for they did not have the $3.00 it cost for a doctor to make a house call. The family survived the Great Depression by hard work and frugality. Howie's father, Thomas Anthony Stange, worked during the 1930s at the Works Progress Administration as a laborer. Prior to this, Thomas spent much of his younger days working the Vaudeville circuit. Thomas started in New York City as a theater foreman, and was able to land himself a stage role, ultimately working alongside Al Jolson's troupe playing the 'end-man' minstrel role. Howie's father was multi-talented, being able to sing, tap, and play a variety of instruments. Thomas also performed "Are You Lonesome Tonight?" with spoken part, as part of his Vaudeville performance. Howie would later find his father's sheet music for "Are You Lonesome Tonight?" while cleaning out the attic and bring it to the next studio session in NYC and convince Jim Flaherty to record the song. Thomas would move to Connecticut in 1916 where he continued to perform in Vaudeville at the Meriden Jacques Opera House and the Leows Poli Palace Theater. Thomas Anthony also appeared on the Major Bowes amateur Hour Edward Bowes as a singer, performing his favorite tune 'I'll Take You Home Again Kathleen'. Music was part of the fabric of the household, with a piano set up in the front room, and dad spending evenings and weekends singing and entertaining his family. His musical talents certainly were passed down to his children, and at a very early age the boys; Frank, Howie, and Raymond, all began to play music. At a very young age, Howie learned the rudiments of playing the guitar from a neighbor, Herbert LaMontagne. Howie attended school at St. Stanislaus School in Meriden for elementary and grammar school. Born a left-hander, the school nuns felt that writing with the left hand was improper, so they would bind Howie's left hand so he couldn't use it, and forced him to write with his right hand. Howie would spend the rest of his life writing with his right hand, and performing all other tasks with his left. Howie's mother, Mary Stange, would work at New Departure , and remained a dutiful wife, mother, and homemaker her entire life. Howie's father died in 1938 when Howie was at the young and impressionable age of 14. His father's death would have a profound impact on young Howie, and shape his life in many ways, from his personal relationships to his love of music. Life and Career (Youth 1938–1948) After Thomas died in 1938, Howie left school in pursuit of work after completing eighth grade in order to help support the family. Brothers Frank and Raymond did the same. Howie and his family moved into a fourth floor apartment on top of a grocery store in downtown Meriden. This spot became the neighborhood hangout, as each weekend, the Stange siblings and friends would play music at jam sessions. During these early years, Howie was already expressing exceptionally rare musical talent, and excelled at playing the piano. During the summer of 1940, and free piano was offered to Howie, with the caveat 'if you can get it into the apartment, it's yours.' The boys spent the better part of the afternoon with the window frame removed, hoisting this piano up to the fourth floor apartment on the corner of Cook Ave and Summer Street, above an Italian Restaurant. This musical collaboration amongst the brothers would remain for a lifetime; Frank and Raymond would often join Howie up on stage as well as in the studio. The Stange family musicians had an inauspicious start: Warren Sattler relates a story from 1939, where he competed at a local talent show hosted at a Meriden movie theater, resulted in pitting four-year-old Warren performing yodeling against the three teenage Stange boys performing country music. The young yodeler won out over the Stange family band. The local kids played the usual boyhood activities, such as playing football as part of the 'Acorn' gang, hanging out at Spencer's garage on Main Street, and attending events at the Meriden Boys Club. It was at the Boys Club that Howie took up boxing, a sport he would pursue in earnest after World War II. The start of World War II disrupted Howie's life and propelled him, like many in his generation, to enlist when he turned eighteen. He chose to sign up for the Coast Guard, the same service as his brother Frank. Stationed for two years on Long Island, New York, Howie's time was spent with beach patrols, inspections, training, and drills. It was during this period that Howie married his first love, Jane Webster, on July 15, 1943. Howie and the other men of his unit would let off steam by participating in Coast Guard boxing matches. Howie received a medical discharge from the Coast Guard on January 5, 1944 for chronic asthma. In 1944, Howie settled down with his new family, wife and soon to be two children. During the day Howie worked at New Departure in the guard shack, but his passion at the time was with boxing. Howie was a promising you bantamweight fighter with a strong left punch. He earned the nickname of 'Lefty' during this time which stuck with him for the remainder of his life. Howie was good friends and sparring partner to Joe Coffee. In late 1947 Joe broke his left hand in 2 places in a fight, ending his career. Howie took this as a sign that he too should find other pursuits, as Howie knew that an injury such as Joe suffered would end his musical aspirations. Village Playboys (1949–1955) It was during the late 1940s and early 1950s that Howie ventured forth and began his solo act playing at clubs and small venues. His strong vocals and aggressive piano playing style really took the local community by surprise. As his popularity grew, offers of playing in a band soon arrived. Howie's break would come in 1952, when Andy Calabrese, Harold 'Slim' Huntley and Gus French, came looking for a vocalist. The trio had heard of a singer and piano player named Howie Stange. Slim and Gus went in search of Howie to see if they could interest him in joining the band. The two went to visit Howie while he was living in a trailer behind the Greenwood Lodge. Howie did not need much convincing, as he desperately wanted to get out and play his music for the public. Shortly thereafter, Andy left to form his own very successful group, The Top Hatters, and Bob Guyette was recruited, and the Village Playboys were born. Gus played on the big bass, Slim on the rhythm guitar, Bob on the lead guitar, and Howie on the piano, mandolin, rhythm guitar, banjo, fiddle, or vocals, or a combination thereof. Over the next four years, the group would play constantly, mainly in Connecticut and Massachusetts, at any venue they could get booked in. Clubs, diners, halls, auditoriums, restaurants, and family gatherings all became home away from home for the Playboys. The band kept a grueling schedule, with Howie earning $12.00 a show and each of the bandmates $10.00. They would play hour and a half sets, and then help move off all the tables and chairs for dancing the rest of the evening. Over time Robert Kowalczyk, aka Bob 'Cat' Gibson (Bob would go on to play lead guitar for Bill Flagg), came in to replace Bob Guyette. At this point in time, the type of music being played by the group was very traditional country ballads in the vein of George Jones, Hank Snow and Roy Acuff. The talents Howie possessed were an extremely rare phenomena, especially considering he did not have any formal music training. Howie had perfect pitch, and he could pick up any music by hearing it only once. Howie could play the piano, the Gibson flattop guitar, the fiddle, Gibson mandolin, the five string banjo, harmonica, and provide vocals. Howie was technically proficient, and played his instruments with clean, crisp breaks and a fast play style. He modeled his piano play after Chuck Berry and Jerry Lee Lewis, and his tenor voice was a beautiful cross of George Jones and Elvis Presley. Howie's rendition of "Are You Lonesome To-Night?" is perhaps the finest example of Howie's vocal talents, and his play on the piano is unsurpassed on "This Old Bomb of Mine". Playing at the Mountain View Lodge in 1956 to a packed house, the band performed "What Would You Do If Jesus Came to Your House" for the finale, and when done, the audience was completely silent, in awe of how strong the vocal performance was. Howie then turned back towards the bass player, Gus French, and said, "that is the biggest tribute they [the audience] could ever pay you." Upon hearing this, the audience burst into applause. During this time, Howie struck up a friendship with the Sycz family in Newington, Connecticut. The Sycz's had built a sound studio in their basement, and Howie spent time recording in the studio, often being accompanied by a then teenage Jean Syck (whose later married name was Jean Perron). The Sycz family gave Howie a portable record cutting machine, which from now on accompanied Howie most places, and would serve as the vehicle that created the Howie Stange Music Catalogue. This catalogue is being hosted online at www.realgonedaddyrecords.com. Many of the venues where rough and tumble joints; for example, the Lake Besek Grill of Middlefield was also known as the 'Bucket of Blood.' It was at one such event that Howie showed just how feisty he could be. A bar patron stood up out of the audience while Howie was playing the piano and began shouting "you knocked out two of my brothers in the boxing ring, and now I'm going to kick your a**!" And with that, the patron came up onto the stage and up and over the piano, and took a mighty swing at Howie, who, without skipping a musical note, raised his left hand off the ivories and gave him a stout left hook right to the head, knocking him off the stage and into the floor speakers, leaving him unconscious. Howie continued right on playing. Another such memorable night happened at the Long Lane Farm School for Girls in Middletown. Being an all-girls school, and one with strict curfews, the students did not have much exposure to neither the opposite sex, nor the new type of music being played, rock and roll. The band played to a packed house, and by the end of the evening it had turned into a riot of screaming girls running to and fro. The Band barely escaped, fleeing in a Cadillac as dawn broke. Howie also possessed a great sense of humor, in one instance, as the set was winding down, an obviously drunk bar patron pulled a gun out and confronted one of the band members. Howie shouted from behind the piano "go ahead and take a swing at 'em, don't worry, he's too chicken to use it". At this point, the patron swung the gun around and pointed it right at Gus French. This distraction enabled others to jump in and subdue the man. In 1955 there was more transition with band members, with Slim Huntley joining the Jim Flaherty's Western Caravan, and Richard N. 'Moon' Burgess Sr. joining up with Howie. Others musicians joined: Pete Hazelwood, Leroy 'Shadow' Dontigney, and Maurice Corely. This new group called themselves the Valley Playboys. Rita Burgess recalled the good times: "it does bring back some good memory's Saturday night at the Shamrock Howie on the piano, Corley on lead guitar Moon on guitar and Shadow on drums. One night there was a fight and they took Leroy Dontigney, "Shadow", drums and all, right out the door and he never stopped playing". The "Shadow" would earn his moniker as one minute he would be there, and the next moment gone. The advent of Moon and the other musicians allowed for a new style of music to emerge, with Moon playing his signature Martin guitar. This new combination of talent brought an entirely different sound to the group. The group was also being influenced by popular culture of the times, with rock and roll splashing all over new radio stations and television stations. A brand of music called Rockabilly was just starting to take off in popularity, and the group began to adopt these sounds. This type of music was being performed by the likes of such artists as Chuck Berry, Bill Flagg, and Elvis Presley. Jim Flaherty's Western Caravan (1956–1960) As the Playboys' popularity grew, in 1956 the group was offered a Saturday morning radio show at WMMW 1470 AM. Howie hosted the show and would invite the Village Playboys and other local musicians to come in and play. This exposure at WMMW brought Howie to come into contact with Jim Flaherty. In 1956, Howie was invited to join the Jim Flaherty's Western Caravan, and Howie brought with him Gus French. This group, with manager and lead guitar player Jim Flaherty, would be a significant step-up for Howie from his previous band. Jim was a very popular DJ at WHAY in New Britain, Connecticut, a successful concert promoter, and manager of the popular Belmont Record Shop located on Washington Street in Hartford, Connecticut. Howie played with the Jim Flaherty's Western Caravan, providing lead vocals, and playing instruments as needed, with a particular emphasis on the banjo, piano, and fiddle. The group would tour tirelessly throughout New England during these years and became quite popular. This time in Howie's life was certainly the pinnacle of his commercial and musical career. A dedicated self-promoter, Jim Flaherty secured multiple recording contracts with A&R man Morty Craft in New York City from 1957 through 1960. The band began at Bell Studios as a studio band for other larger acts managed by Morty at the time. Morty was a hard-taskmaster, Gus French recalls "Morty would have us play for 12 hours plus, one day my fingers were bleeding we stayed at it for so long, we asked if we could take a break, Morty replied put some tape on 'em and keep playing.". The working relationship however soon evolved into actual productions by the band on the Indie labels of MELL, JENN, & Frankie. The band would go on to record at the Bell Sound Studios in New York City, with Morty Craft acting as producer. These recordings, beginning with "Real Gone Daddy" began to get much radio airtime throughout New England and put Howie and the band on the map. A total of 4 commercially produced 45's were released during this time. There was even a Howie Stange Fan Club, according to past President Mary Jane Papallo, who fell in love with the music after seeing Howie open for the Everly Brothers. On September 1, 1958 the band opened for the Wilburn Brothers and Johnny Cash at Lake Compounce in Bristol, Connecticut. As was typical of the practices in the music industry in those days, a song produced by a lesser known band would start to gain air time on the radio, the A&R men would promote that song up to the bigger artists. This was the case with the bands rendition of "Are You Lonesome To-Night?" with vocals by Howie Stange. Howie's version of that song was passed along to Chet Atkins, RCA A&R man, by Jim Flaherty at a DJ Convention in Nashville in November 1959. Chet was the A&R man for Elvis at the time and passed this song along to Elvis for recording. Jim Flaherty had a close working relationship with Elvis's record labels, as letters, in the possession of Jim Flaherty's family, written by the labels in the 1950s attest to. Elvis would go on to send this song to the number 1 spot on the Billboard charts in 1960. Also, producers would 'doctor' the recordings to give them more of a 'commercial' appeal. This can be seen by the Morty Craft produced "Baby I'm Sorry" and "You Never Had It So Good" with vocals by Howie Stange. These two songs were unlike anything produced by the band, and were entirely pop music productions, designed to draw in a larger audience. Dubbed over the original takes were harmonies by the Ray Charles Singers. Morty passed up Howie's particular version of "Baby I'm Sorry" to Ricky Nelson, who then charted the song into Billboar's top 10 Morty also 'sped up' the song of 'Real Gone Daddy' giving it a very up-tempo beat. During 1959, the group's popularity really began to take off. The band appeared twice in 1959 on "The Connecticut Bandstand". The "Bandstand" was a daily TV show that was the forerunner of American Bandstand. Aired by WNHC-TV Channel 8 out of New Haven, it was hosted by Jim Gallant, and featured teenagers dancing while bands performed. Jim Flaherty's Western Caravan performed twice in 1959 to promote their first two recordings, Real Gone Daddy/This Old Bomb Of Mine, and Are You Lonesome To-Night?/My Foolish Heart. During this time, Howie was invited to perform at the Hayloft Jamboree in Boston, Massachusetts as well as the Hayloft Jamboree in Wheeling, West Virginia. He worked side-by-side with such notables as Harkshaw Hawkins, Web Pierce, and Lefty Frizzell. The band also opened for distiniguished acts like Johnny Cash and Dolly Parton. Ultimately, hard work and a hard life, coupled with a new wife and big family, finally took their toll, and in 1960, Howie left the band. The Jim Flaherty's Western Caravan would continue to enjoy much success in the 1960s with two notable lead men, Maury Dubois, who recorded "Am I Losing You" which cracked the Billboard's top 10, and Lou 'Dee' Demaria. Personal life Howie married his first wife, as he was leaving the Coast Guard in 1943. They had two children together. Howie earned a living as a buffer and later an engraver with the International Silver Company in Meriden. After that, Howie turned to sales, and worked for the Fuller Brush Company as a door-to-door salesman. He also picked up where he left off with boxing, and became a local boxing champion, http://www.myrecordjournal.com/community/frontporchnews/4100803-129/local-boxing-champions.html fighting in the welterweight division from 1945 to 1948. He was quite the dancer, and known for his fancy footwork in the ring. He was a lefty, and consistently gave his opponents difficult fights. Howie boxed under the name Howie 'Lefty' Stange, and continued to carry the nickname 'Lefty' for the rest of his life. The fights were staged mainly at an outdoor arena on Colony Street, and later Howie would fight at the Meriden City Hall Auditorium and at the Meriden Armory. His marriage unraveled in 1954, as the relationship could not survive the temptations of the road. Howie was known for hard living, and women and booze were easy to come by. Howie married his second wife in 1954. This marriage produced one child. It was during this time that Howie and his family lost many of their personal belongings in a terrible apartment fire, Howie lost many of his musical instruments. Slim Coxx hosted a benefit at an old dance hall in Farmington, Connecticut. Howie had a terrific sense of humor and a story told by Gertrude French illustrates this. in 1959, as a salesman for the Fuller Brush Company, Howie was out driving one day down a long, steep hill, and at the last moment as car turned out in front of him and a fender bender ensued. Howie got out, and checked on the elderly driver of the second car, and the driver exclaimed "I thought I could make it!". Howie would tell this story over and over again and just laugh out loud at what the old man had said. Howie's second marriage did not survive either, and he and his wife divorced in 1959. In 1960, Howie married his third wife, Marion Dickerman, whom he had three children with: Howard Erwin Stange Jr., born November 26, 1961: Stephen Dickerman Stange, born July 24, 1964: and Raymond Enos Stange, born on September 1, 1965. The obligations of three marriages and six children finally caught up to Howie, and in 1960, he left the Jim Flaherty's Western Caravan to focus on his family life. He would turn his energies to becoming a car salesman. Howie was quite successful at this, winning multiple awards and earning the title of 'New England Car Salesman of the Year' and a large celebration up in Boston. Howie retired from his job in 1985. Howie continued to play music in his leisure time, but his music was limited to weekends at a local Meriden venues or in the summers out at Lake Beseck in Middletown, Connecticut, joining on-stage such performers like Slim Coxx. Howie's third marriage would also end in divorce in 1970. Howie married his fourth and final wife in 1970. They would have one child together. Howie also adopted the daughter of his fourth wife. This marriage would be the one that lasted, and Howie remained married to her until his death in 1990. Howie Stange left a positive, long-lasting impression on men and women across America. Two men in particular owe much in their life to Howie: Dave Cook and Warren Cyr http://www.acousticguitarcommunity.com/profile/WarrenCyr. Dave Cook played with Howie during the WMMW radio show throughout the 1950s and Howie provided the inspiration that led Dave to a life of music and playing in his own bands for over twenty five years, 'Big John & The Western Ramblers.' Howie, Dave once said, "He was a hero, a wonderful man, and a man who inspired me for the remainder of my life." And Warren Cyr, who said "Howie was a real country gentleman. I never heard a cuss word from him. Your dad and Dave Cook introduced me to Johnny Cash and inspired me to learn to play the guitar, teach guitar for many years, and as a result succeed in life. I was influenced by Howie: may he be blessed." Howie Stange was also quick to praise, as country music performer Warren Sattler relates an incident in his early career, when Howie ran into Warren at the Oyster Bay restaurant in Meriden, "Warren", said Howie, "what the he** are you still doing here. I thought you would be in Nashville by now". Recordings Record Labels MELL, JENN, Frankie, Horizons Unlimited, & Dee Jay. Affiliation Labels included Village Playboys & Jim Flaherty's Western Caravan & Howie and the Gang. Howie Stange's discography includes 5 releases: JENN Records released 1957 Side 1 Real Gone Daddy J101 (J1001), vocals Howie Stange Side 2 This Old Bomb Of Mine J101 (J1002)(J-101 & 102), vocals Howie Stange Frankie Records released 1958 Side 1 Are You Lonesome To-Night? FR-7 (HB-276), vocals Howie Stange Side 2 My Foolish Heart FR-7 (HB-277), vocals Morey Dubois MELL Records released 1959 Side 1 You Never Had It So Good 120 (1039), vocals Howie Stange Side 2 Baby I'm Sorry 120 (1040), vocals Howie Stange MELL Records released 1959 Side 1 Am I Losing You 121 (1041), vocals Morey Dubois Side 2 If You Can Spare The Time 121 (1042), vocals Morey Dubois Horizons Unlimited Records released 1964 Side 1 The Girl I Loved For A Time U1030, vocals Lou Dee Side 2 This Honky Tonk Is Home Sweet Home U1030, vocals Lou Dee Dee Jay Records (DJ-45-215-A & B) re-release on a West German record label Real Gone Daddy/This Old Bomb of Mine 1982 Typical Playlist would include the following: "Davey Crocket", "Beware, It's Love",Instrumental selections,"What Would You Do If Jesus Came To Your House", "I've Lived A Lot In My Time", "Wait Of A Woman", "Born To Be Happy", "Sag, Drag, And Fall", "Let Me Love You", "Where Does A Broken Heart Go", "How's The World Treating You", "Am I The One", "Do Not Forsake Me Oh My Darling", "Rose Of El Paso", "John Henry", "Precious Jewel", "When I Go To Heaven Mamma", "Flame In My Heart", "Two Different Worlds", "Loose Talk", "Real Gone Daddy", "This Old Bomb Of Mine","Baby I'm Sorry", "You Never Had It So Good", "Are You Lonesome To-Night?", "Fraulin", "Winner", "Alabama Jubilee", and his signature song "Keep A Light In Your Window Tonight". Howie Stange opened for the following artists: Johnny Cash, Dolly Parton, Elton Britt, Everly Brothers, Rusty & Doug Kershaw, Faron Young, Hank Snow, Hawkshaw Hawkins, Patsy Cline, Little Jimmie Dickens, Loretta Lynn, Grandpa Jones, Minnie Pearl, Porter Wagoner, Gordon Terry, Marvin Rainwater, The Wilburn Brothers, Mac Wiseman, Buck Owens, Jimmy Stevens, & Jimmy Brown. Association Howie performed with many country music artists, such as, Robert Kowalczyk "aka" Bob Cat Gibson; Bob Guyette; Leroy "aka" Shadow Dontigney; Robert McCarthy, "aka" Moose Roberts; Gus French; Billy Brittany; Harold Slim Huntley; Don Johnson; Dave Cook; Andy Calabrese; Jimmy Stephens; Lou Dee Demaria; Maury DuBois; Smokey Joe Tyler; Maurice Corley; Pete Hazelwood; Charlie Shefcyk; Patti Martin; Richard Moon Burgess; Rocky Chase; Smilin Jim Flaherty; Don & Sibil Richard; Jean Perron; Slim Coxx; Dave Cooke; Paul McCoy; Frank & Raymond Stange; & Bill Flagg. Later years and death (1960–1990) After leaving the Jim Flaherty's Western Caravan, Howie worked in the 1960s with various artists under the Howie Stange & the Gang, later just Howie Stange, a one-man show. Howie remained a very popular performer in central Connecticut. He would say that "he would rather be a big fish in a small pond." Fame eluded Howie, and certainly his life-style did not help. Howie said once that "fame is just a matter of timing," This comment can be interpreted that he came so very close to reaching new heights in the music industry. Howie spent his remaining years in pursuit of his other passions, in particular, fishing. He also enjoyed playing the piano regularly out at restaurants and bars in Meriden, enjoying his family, as well as entertaining at home. Howie Stange died on December 4, 1990 at the age 66 surrounded by his family. Legacy Howie's legacy endures as a Rockabilly music artist and as a performer. Howie Stange's music is more popular now than in his lifetime, played on oldies record stations throughout the country and in much of Europe. Howie performed music his entire life. In local venues such as clubs, restaurants, bars, and pubs, he sang to local crowds that loved to hear him play. His song, "Real Gone Daddy" is perhaps the finest piece of Rockabilly music of all time, and has led to Howie's recent induction into the Rockabilly Hall Of Fame on March 1, 2014, http://www.rockabillyhall.org/. An accomplished musician, Howie's talent exceeded many of those more famous than he: "He would bang those piano keys that would make Jerry Lee Lewis look sad," recounted Pete Hazelwood. Those who knew him best in the music industry would call him 'Godfather' or just 'Dad' in respect for his many years of music contribution in the state of Connecticut. Recently, a treasure trove of studio out-takes and demo records have been discovered, and the Howie Stange Music Catalogue now exists. The project of professionally restoring this music, some of which was in a very poor state, was overseen by Cristian Coban, Ph.D., CVC Productions, at http://www.lp2cd.com. Coupled with the five commercially released singles of Howie, over 100 songs are now featured in the "Catalogue". When Howie opened for Johnny Cash on May 30, 1964 at the Massachusetts Arena, Boston, Warren Cyr is quoted as saying that, "Howie stole the show." Howie's legacy has been memorialized by those who knew him best, his country music fans. Howie was inducted into the Connecticut County Music Association Hall of Fame, in December 2004. In modern culture, the song "Real Gone Daddy" has been featured by NASCAR in a biography of Junior Johnson and also in Hot Rod magazine feature of a 1949 Cadillac. Discography of 45 RecordsStudio albums'''Real Gone Daddy/This Old Bomb Of Mine (1957)Real Gone Daddy vocals Howie Stange, guitar intro Jim Flaherty, guitar break 'Moose' Roberts, lead guitar Jim Flaherty, bass guitar Gus French, rhythm guitar Maury Dubois, piano Howie StangeThis Old Bomb Of Mine vocals Howie Stange, guitar intro Jim Flaherty, harmony Gus French, bass guitar Gus French, rhythm guitar Maury Dubois, 'Moose' Roberts & Jim Flaherty, piano Howie Stange Are You Lonesome To-Night?/My Foolish Heart (1958)Are You Lonesome Tonight? vocals Howie Stange, melody Jim Flaherty, guitar intro 'Moose' Roberts, bass guitar Gus French, rhythm guitar Howie Stange, control room Maury DuboisMy Foolish Heart vocals Maury Dubois, melody Jim Flaherty, guitar break 'Moose' Roberts, lead guitar Jim Flaherty, bass guitar Gus French, rhythm guitar Howie Stange & Maury DuboisBaby I'm Sorry/You Never Had It So Good (1959)Baby I'm Sorry vocals Howie Stange, melody Jim Flaherty, guitar intro Jim Flaherty, guitar break 'Moose' Roberts, lead guitar Jim Flaherty, bass guitar Gus French, rhythm guitar Maury DuboisYou Never Had It So Good vocals Howie Stange, harmony Ray Charles Singers, guitar break 'Moose' Roberts, lead guitar Jim Flaherty, bass guitar Gus French, rhythm guitar Maury Dubois, brushes Maury DuboisAm I Losing You/If You Can Spare The Time (1959)Am I Losing You vocals Maury Dubois, harmony Ray Charles Singers, guitar break 'Moose' Roberts, lead guitar Jim Flaherty, bass guitar Gus French, rhythm guitar Maury Dubois, piano Howie StangeIf You Can Spare The Time vocals Maury Dubois, guitar intro Jim Flaherty, brushes Howie Stange, guitar break 'Moose' Roberts, lead guitar Jim Flaherty, bass guitar Gus French, rhythm guitar Howie Stange & Maury DuboisThe Girl I Loved For A Time/This Honky Tonk Is Home Sweet Home (1964)The Girl I Loved For A Time vocals Lou Dee, piano Howie StangeThis Honky Tonk Is Home Sweet Home vocals Lou Dee, piano Howie StangeReal Gone Daddy/This Old Bomb of Mine'' (1982 re-release Dee Jay Records) References 1924 births 1990 deaths American tenors American country singer-songwriters American rockabilly musicians American rock singers People from Meriden, Connecticut American male singer-songwriters 20th-century American singer-songwriters Singer-songwriters from New York (state) Country musicians from Connecticut 20th-century American male singers Singer-songwriters from Connecticut
The Bajaur casket, also called the Indravarma reliquary, year 63, or sometimes referred to as the Avaca inscription, is an ancient reliquary from the area of Bajaur in ancient Gandhara, in the present-day Khyber Pakhtunkhwa, Pakistan. It is dated to around 5–6 CE. It proves the involvement of the Scythian kings of the Apraca, in particular King Indravarman, in Buddhism. The casket is made of schist. The inscription which is written in Kharoshthi: The inscription was highly useful in clarifying the little-known Apraca dynasty. Notes References Baums, Stefan. 2012. “Catalog and Revised Texts and Translations of Gandharan Reliquary Inscriptions.” In: David Jongeward, Elizabeth Errington, Richard Salomon and Stefan Baums, Gandharan Buddhist Reliquaries, pp. 207–208, Seattle: Early Buddhist Manuscripts Project (Gandharan Studies, Volume 1). Baums, Stefan, and Andrew Glass. 2002– . Catalog of Gāndhārī Texts, no. CKI 242 See also Cetiya Bimaran reliquary Kanishka reliquary Rukhuna reliquary Apracharajas Bajaur Archaeology of Pakistan
Immanuel Jaylen Quickley (born June 17, 1999) is an American professional basketball player for the New York Knicks of the National Basketball Association (NBA). He played college basketball for the Kentucky Wildcats. High school career While attending The John Carroll School, Quickley had a breakout sophomore campaign and averaged 17.7 points, 3.9 rebounds, 2.9 assists and 1.5 steals per game. He sunk a 3-pointer at the buzzer to lead the Patriots to a 51–50 win over future NBA player Jalen Smith and Mount Saint Joseph High School in the Baltimore Catholic League championship and earned All-Metro Player of the Year recognition. Quickley averaged 23.7 points and 7.2 assists per game as a junior and was named to the First Team All-Metro. Coming into his senior year, Quickley shot 41 percent from behind the arc on the Adidas AAU circuit. Quickley was named the MVP of his high school team after scoring 19 points in a 71–58 loss to Hudson Catholic High School in the HoopHall Classic as a senior. He posted 20.8 points, 6.7 rebounds, 6.7 assists and 3.7 steals per game as a senior and led the team to the Maryland Interscholastic Athletic Association A Conference title. Quickley was named a McDonald's All-American and participated in the Powerade Jam Fest 3-point shootout. Recruiting When considering colleges, by August 23, 2017, Quickley had narrowed the selection down to three: Kansas, Kentucky, and Miami. The 22nd ranked prospect by Rivals and 25th by ESPN, Quickley committed to Kentucky on September 22. College career As a freshman, Quickley averaged 5.2 points, 1.8 rebounds and 1.2 assists per game. Quickley scored 16 points in a 91–49 win against Eastern Kentucky on November 8, 2019. He had 18 points in a 78–70 overtime win over rival Louisville on December 28. Quickley hit a career-high eight three-pointers en route to a career-high 30 points in a 69–60 win over Texas A&M on February 25, 2020. At the conclusion of the regular season, Quickley was named SEC Player of the Year as well as the SEC First Team. He averaged 16.1 points and 4.2 rebounds per game as a sophomore. Following the season, Quickley opted to declare for the 2020 NBA draft and hired an agent. Professional career New York Knicks (2020-present) Quickley was drafted by the Oklahoma City Thunder with the 25th overall pick in the 2020 NBA draft, and was then traded to the New York Knicks as part of a package for the 23rd pick, Leandro Bolmaro, on November 20, 2020. On November 28, Quickley signed with the Knicks. In his NBA debut on December 23, Quickley scored five points and exited the game in the second quarter due to injury. He returned from injury on January 2, 2021, scoring nine points in the Knicks' 106–102 win over the Indiana Pacers. April 3, 2022, Quickley recorded his first career triple-double with 20 points, 10 rebounds, and 10 assists in a 118–88 win over the Orlando Magic. On March 5, 2023, Quickley posted a career-high 38 points in a 131-129 double overtime win over the Boston Celtics. On March 27, Quickley posted a new career-high 40 points in a 137–115 victory over the Houston Rockets. That year, Quickley finished second in the voting for the Sixth Man of the Year Award. National team career Quickley played for the U.S. national under-19 team in the 2017 FIBA Under-19 Basketball World Cup, where he was coached by John Calipari. Career statistics NBA Regular season |- | style="text-align:left;"| | style="text-align:left;"|New York | 64 || 3 || 19.4 || .395 || .389 || .891 || 2.1 || 2.0 || .5 || .2 || 11.4 |- | style="text-align:left;"| | style="text-align:left;"|New York | 78 || 3 || 23.1 || .392 || .346 || .881 || 3.2 || 3.5 || .7 || .0 || 11.3 |- | style="text-align:left;"| | style="text-align:left;"|New York | 81 || 21 || 28.9 || .448 || .370 || .819 || 4.2 || 3.4 || 1.0 || .2 || 14.9 |- class="sortbottom" | style="text-align:center;" colspan="2"|Career | 223 || 27 || 24.2 || .416 || .367 || .859 || 3.2 || 3.1 || .7 || .1 || 12.7 Playoffs |- | style="text-align:left;"|2021 | style="text-align:left;"|New York | 5 || 0 || 15.4 || .303 || .364 || .714 || 1.4 || 1.0 || .6 || .0 || 5.8 |- | style="text-align:left;"|2023 | style="text-align:left;"|New York | 8 || 0 || 21.9 || .348 || .243 || .850 || 1.6 || 1.0 || .5 || .0 || 9.0 |- class="sortbottom" | style="text-align:center;" colspan="2"|Career | 13 || 0 || 19.4 || .333 || .271 || .815 || 1.5 || 1.0 || .5 || .0 || 7.8 College |- | style="text-align:left;"|2018–19 | style="text-align:left;"|Kentucky | 37 || 7 || 18.5 || .372 || .345 || .828 || 1.8 || 1.2 || .4 || .0 || 5.2 |- | style="text-align:left;"|2019–20 | style="text-align:left;"|Kentucky | 30 || 20 || 33.0 || .417 || .428 || .923 || 4.2 || 1.9 || .9 || .1 || 16.1 |- class="sortbottom" | style="text-align:center;" colspan="2"|Career | 67 || 27 || 25.0 || .403 || .397 || .895 || 2.9 || 1.5 || .6 || .1 || 10.1 References External links Kentucky Wildcats bio USA Basketball bio 1999 births Living people African-American basketball players American men's basketball players Basketball players from Maryland Kentucky Wildcats men's basketball players New York Knicks players Oklahoma City Thunder draft picks Point guards People from Havre de Grace, Maryland Shooting guards Sportspeople from the Baltimore metropolitan area 21st-century African-American sportspeople
```shell How to change your most recent commit Using aliases for git commands What is stored in a commit? How to set your username and email Recover lost code ```
This list of lakes in France roughly distinguishes three categories: the mountain lakes, sorted first by massif, and then by départements; the lakes in plains, sorted by river basin; and the coastal lakes. Lake Geneva (Lac Léman), the largest in western Europe with , partly in France, partly in Switzerland, is listed in Haute-Savoie for its French part. Mountain lakes The lakes of mountain massifs can be natural, often of glaciary origin (G), or volcanic (V), or artificial, generally built for hydraulic energy purposes (H) or flow regulation (F). Alps Alpes-de-Haute-Provence Lac d'Allos in the Mercantour National Park Lac Bleu in the Haute-Ubaye Lac Bleu-italien in the Haute-Ubaye Lacs du col-de-Longet in the Haute-Ubaye Lac d'Esparron Lac de l'Étoile in the Haute-Ubaye Lac du Lauzanier Lac long in the Haute-Ubaye Lac de Longet in the Haute-Ubaye Lac-grand de Marinet in the Haute-Ubaye Lac-petit de Marinet in the Haute-Ubaye Lac des Neuf Couleurs in the Haute-Ubaye Lac Noir in the Haute-Ubaye Lac de la Noire in the Haute-Ubaye Lac Rond in the Haute-Ubaye Lac de Serre-Ponçon (H) (F) Lac Vert in the Haute-Ubaye Hautes-Alpes Grand Lac in the Briançonnais Lac de l'Ascension in the Queyras Lac d'Asti in the Queyras Lac des Béraudes in the Briançonnais Lac de la Blanche in the Queyras Lac Blanchet in the Queyras Lac Chalantiés in the Queyras Lac Clausis in the Queyras Lac de Combeynot in the massif des Écrins Lac des Cordes in the Queyras Lac du Crachet in the Embrunnais Lac de Cristol in the Briançonnais Lac de Dormillouse in the massif des Écrins Lac Haut-des-Drayères or Lac sans-nom-au-dessus-des-Drayères, in the Briançonnais Lac Égorgeou in the Queyras Lac Escur in the Queyras Lac des Estaris in the massif des Écrins Lac de l'Eychassier in the Queyras Lac de l'Eychauda in the massif des Écrins Lac Faravel in the massif des Écrins Lac Foréant in the Queyras Lac Gimont in the Briançonnais Lac Jean Rostand in the Queyras Lacs Jumeaux in the massif des Écrins Lac Lacroix in the Queyras Lac Lestio in the Queyras Lac Laramon in the Briançonnais Grand lac du Lauzet in the Queyras Lac moyen du Lauzet in the Queyras Lac du Lauzon in the massif des Écrins Lac Lauzon in the Queyras Lac Lauzon de Furfande in the Queyras Lac Long in the Briançonnais Lac Long in the massif des Écrins Lac Malrif in the Queyras Lac Mézan in the Queyras Lac Miroir in the Queyras Lac des Muandes in the Briançonnais Lac Néal in the Queyras Lac Haut-Néal or Lac sans-nom-au-dessus-du-Lac-Néal, in the Queyras Lac des Neuf-couleurs in the Queyras Lac Noir in the Briançonnais Lac d'Orcières-Merlette Grand lac de l'Oule in the Briançonnais Lac de l'Orceyrette in the Briançonnais Lac Palluel in the massif des Écrins Lac Petit-Laus in the Queyras Lac Peyron in the Briançonnais Lac des Pisses in the massif des Écrins Lac de la Ponsonnière in the Briançonnais Lac Profond in the massif des Écrins Lac de Puy Vachier in the massif des Écrins Lac de Rasis in the Queyras Lac ouest de Rasis in the Queyras Lac Rond in the Briançonnais Lac des Rouites in the Queyras Lac Sainte-Anne in the Queyras Lac Sainte-Marguerite in the Embrunnais Lac Saraille in the Briançonnais Lac du Serpent in the Briançonnais Lac des Sirènes in the massif des Écrins Lac Soulier in the Queyras Lac de Souliers Alpes-Maritimes Lac Autier in the Mercantour-Argentera Lac des Babarottes in the Tinée Lac Balaour (Isolette) in the Vésubie Lac du Barn in the Vésubie Lac de Beuil in the Cians Lacs Bessons in the Vésubie Lac Blanc in the Vésubie Lac du Boréon in the Vésubie Lacs des Bresses in the Vésubie Lac Cabret in the Vésubie Lac Chaffour in the Tinée Lac du Cimon in the Tinée Lacs de l'Estrop (Entraunes) Lac de Fenestre in the Vésubie Lac Fer in the Tinée Lac Fourchas in the Tinée Lac de la Fous in the Mercantour-Argentera Lacs de Frémamorte in the Vésubie Lacs de Gialorgues in the Tinée Lac de Graveirette in the Vésubie Lacs Les Laussets in the Tinée Lac Long in the Mercantour-Argentera Lacs Malignes in the Tinée Lacs Marie in the Tinée Lac du Mercantour in the Vésubie Lacs des Millefonts in the Valdeblore Lac de la Montagnette in the Tinée Lacs de Morgon in the Tinée Lac Nègre in the Vésubie Lac Niré in the Mercantour-Argentera Lac Pétrus in the Tinée Lacs de Prals in the Vésubie Lac de Privola in the Tinée Lac de Rabuons in the Tinée Lac de Scluos in the Vésubie Lac de Tavel in the Tinée Lacs de Tenibre in the Tinée Lacs des Terres Rouges in the Tinée Lac de Trécolpas in the Vésubie Lacs Varicles in the Tinée Lacs de Vens in the Tinée Drôme Isère Lac Achard in the massif de Belledonne Lac Besson in the massif des Rousses Lac Bramant in the massif des Rousses Lac Brouffier in the massif du Taillefer Lac du Chambon in the massif de l'Oisans Lac Claret in the massif de Belledonne Lac de la Coche in the massif de Belledonne Lac de Croz in the massif de Belledonne Lac du Crozet in the massif de Belledonne Lac de la Fare in the massif des Rousses Lac Faucille in the massif des Rousses Lac Fourchu in the massif du Taillefer Lac de Grand'Maison at the Vallon de l'Eau d'Olle Lac de la Grande-Sître in the massif de Belledonne Lac Guichard in the massif des Rousses Lac du Lauvitel in the massif des Écrins, 350,000 m² Lac Lérié in the massif de l'Oisans Lac Merlat in the massif de Belledonne Lac du Milieu in the massif des Rousses Lac Noir in the massif de l'Oisans Lac Noir in the massif des Rousses Lac Noir d'Emparis in the massif de l'Oisans Lac de Paladru (G) Lac du Plan in the massif de l'Oisans Lac du Pontet in the massif de l'Oisans Lac du Poursollet in the massif du Taillefer Lac Potet in the massif des Rousses Lac du Verney in the massif des Grandes-Rousses Savoie Grand Lac in the massif des Grandes-Rousses Lac d'Aiguebelette Lac de l'Arpont in the massif de la Vanoise Lac des Assiettes at the Col de la Vanoise Lac de la Bailletta at Val d'Isère Lac de Bissorte in Valmeinier Lac Blanc in the massif du Mont-Cenis Lac Blanc in the Vallée du Clou Lac Blanc Lac Blanc in the massif de la Vanoise Lac Blanc in the massif des Grandes-Rousses Lac Blanc in the massif de la Vanoise Lac du Bourget at Aix-les-Bains Lac Brutet in the Vallée du Clou Lac Carrelet in the massif des Grandes-Rousses Lac des Cerces Lac du Chardonnet at Tignes Lac de Chasseforêt in the massif de la Vanoise Lac du Chevril at Tignes Lac du Clos at Moûtiers Lac du Clou in the Vallée du Clou Lac de la Croix in the massif d'Allevard Lac des Évettes in the massif de la Vanoise, 30,000 m² Lac de la Fare in the massif des Grandes-Rousses Lac de la Girotte in the Beaufortin Lac de la Gittaz in the Beaufortin Lac de la Glière in the massif de la Vanoise Lac Grand-Ban Lac du Lait in the massif de la Vanoise Lacs de la Leisse at the Vallon de la Leisse Lac Long at the Col de la Vanoise Lac le Lou in the massif de la Vanoise Lac du Milieu in the massif des Grandes-Rousses Lac du Mont-Cenis in the massif du Mont-Cenis Lac du Mont-Coua in the massif de la Vanoise Lacs des Nettes at the Vallon de la Leisse Lac Noir in the Vallée du Clou Lac Noir in the Vallée de la Sassière Lac de l'Ouillette at Val d'Isère Lac de la Partie in the massif de la Vanoise Lac du Pelve at the glacier du Pelve Lac du Plan-d'Amont in the massif de la Vanoise Lac du Plan-d'Aval in the massif de la Vanoise Lac du Plan-du-Lac in the massif de la Vanoise Lacs de la Roche-Ferran in the massif de la Vanoise Lac Rond at the Col de la Vanoise Lac Rond Lac de Roselend in the Beaufortin Lac de Saint-André at the Marches Lac de Saint-Clair vers La Rochette Lac de Saint-Hélène at Saint-Hélène-du-Lac Lac de Saint-Guérin in the Beaufortin Lac de Saint-Jean-de-Maurienne at Saint-Jean-de-Maurienne Lac du Santel at Tignes Lac de la Sassière at Tignes Lac de Savine in the massif du Mont-Cenis Lac de Tignes (H) at Tignes Lac de Toeda in the massif de la Vanoise Lac Tournant in the massif des Grandes-Rousses Lac du Vallon under the Aiguille de Scolette Lacs Verdet in the Vallée du Clou Haute-Savoie Lac de l'Aiguillette Lac d'Annecy, 27.6 km² Lac d'Arvour, south of the Cornettes de Bise Lac Bénit at the Mont-Saxonnex, under the chaîne du Bargy Marais de la Braille between Saint-Félix and Bloye Lac du Brévent at Chamonix Lacs de la Cavettaz called Lacs de Passy at Passy Lac de Charamillon north of the glacier du Tour Lac de la Case Lac des Confins Lac de Darbon, south of the La Dent d'Oche Lac des Dronières at Cruseilles Lac de Fontaine at Fontaine Lac de Génissiat at the barrage de Génissiat (for the part in Savoy) Lac de Gers Lac des Gorges du Fier at Montrottier Lac de la Griaz at the Houches Lac de Jotty at the Esserts Lacs Jovet at the Contamines-Montjoie Lac Léman (French part) Lac de Lessy at the col de la Forclaz-Lessy, under the Pic de Jallouvre Étang de Machilly at Machilly Lac du Môle between Viuz-en-Sallaz and Saint-Jeoire Lac de Montriond, at Montriond Lac de la Mouille Lac Noir in the massif des Aiguilles-Rouges Lac de Pététoz Lac des Plagnes Lac de Pormenaz in the Passy country park Lac de Préssy at Taninges Lac de Tavaneuse Lac de Vallon, at La Chèvrerie Ardennes Lac des Vieilles Forges Jura Ain Lac d'Ambléon Lac d'Arboréiaz Lac d'Armaille Lac de Chavoley Lac de Coiselet Lac de Conflans Lacs de Conzieu Lac Genin Lac de Morgnieu Lac de Nantua Lac de Sylans Doubs Lac de Bouverans Lac des Brenets Lac de Malpas Lac de Moron Lac des Mortes Lac de Remoray Lac de Saint-Point Jura Lac de l'Abbaye Lac d'Antre Lac de l'Assencière Lac de Bellefontaine Lac des Bez Lac de Bonlieu Lac de Chalain Lac de Chambly Lac de Chanon Lacs de Clairvaux Lac de Coiselet Lac de Conflans Lac à la Dame Lac de la Fauge Lac du Fort-du-Plasne Lac du Fioget Lac d'Ilay Lacs de Maclu Lac de Narlay Lac des Rousses Lac du Val Lac du Vernois Lac de Viry Lac de Vouglans Massif Central Aveyron Étang de la Brienne Lac de Maury Cantal Lac de Bort-les-Orgues (H) Creuse Lac de Vassivière (H) Haute-Vienne Lac de Saint-Pardoux Hérault Lac d'Avène Lot Lac du Tolerme Lozère Étang de Barrandon Lac de Ganivet Lac du Moulinet Lac de Naussac Lac de Villefort Puy-de-Dôme Étang de Lachamp Gour de Tazenat (V) Lac d'Aydat (V) Lac de Bourdouze Lac Chambon (V) Lac Chauvet (V) Lac de Guéry (V) Lac des Hermines Lac de Montcineyre Lac Pavin (V), Besse-en-Chandesse, 440,000 m² Lac de Servière (V) Tarn Lac du Laouzas Pyrénées Ariège Étang d'Araing Étang de Brouquenat Étang de Peyregrand Étang des Redouneilles des brebis Étang des Redouneilles des vaches Étang Long Étangs de Neych Lac de Gnioure Lac d'Izourt Lac de Mondély Haute-Garonne Lac d'Espingo Lac d'Oô Lac du Portillon Hautes-Pyrénées Gaube Lake Lac d'Arredoun Lac d'Aubert Lac d'Aumar Lac d'Aygue Rouye Lac du Barbat Lac de Bareilles Lac de Barroude Lac de Batbielh Lac Bleu de Lesponne Lac de Caderolles Lac du Campana Lac de Cap-de-Long Lac d'Estaing Lac de Madamète Lac de Migouélou Lac d'Oredon Lac de l'Oule Lac d'Ourrec Lac du Pourtet Lac Nère Lac de Suyen Réservoir des Laquets Pyrénées-Atlantiques Lac d'Ansabère Lacs d'Arrémoulit Lac d'Arrious Lac d'Artouste Lacs de Batboucou Lac Bersau Lac de Bious-Artigues Lac de Castet Lac de Fabrèges Lac Gentau Lac d'Isabe Lac de Saint-Pée-sur-Nivelle Lacs d'Arrémoulit Lacs de Batboucou Lacs de Carnau Lac de Saint-Pée-sur-Nivelle Pyrénées-Orientales Estany de la Balmeta Estany de la Pradella Étang de Canet-Saint-Nazaire Étang du Lanoux Étang de Leucate Lac d'Aude Lac de Coumasse Lac de Matemale (2.3 km²) in the commune of Matemale Vosges Meurthe-et-Moselle Lac de Pierre-Percée (H) Haut-Rhin Lac d'Alfeld (F) Altenweiher (G) Lac du Ballon Lac Blanc Fischboedle Lac du Grand Neuweiher Lac de Kruth-Wildenstein (F) Lac du Lachtelweiher Lac de la Lauch Lac Noir Lac des Perches Lac du Petit Neuweiher Schiessrothried (G) Lac de Sewen Lac des Truites Lac Vert Haute-Saône Bassin de Champagney (F) Vosges Lac de Blanchemer Lac de Bouzey (F) Lac des Corbeaux Lac de Gérardmer (G) : 1.16 km² Lac de la Lande Lac de Lispach Lac de Longemer (G) : 0.76 km² Lac de la Plaine Lac de Retournemer Lac de la Ténine Territoire de Belfort Étang de Malsaucy Étang de la Véronne Lakes in plains The lakes in this category can be natural (N) or designed to be used as reservoirs (R). Basin of the Garonne Lac de Pareloup (R) Basin of the Loire Lac de Chambon Lac de Chamboux (R) Lac de Chaumeçon Lac de Grand-Lieu (N) Lac de Grangent (R) Lac de Saint-Agnan Étangs de Sologne Lac de Villerest Basin of the Moselle Étang de Gondrexange Étang de Hanau Étang de Lindre Lac de Madine Étang du Stock Basin of the Nièvre Étangs de Vaux et de Baye Basin of the Seine Lac Amance (R) Lac du Bourdon Lac de Charmes (R) Lac de Créteil Lac du Crescent Lac du Der-Chantecoq (R) Lac d'Enghien Lac de Gravelle Lac de la Liez (R) Lac de la Mouche (R) Lac d'Orient (R) Lac de Pannecière (R) Lac de Pont (R) Lac de Saint-Mandé Lac des Settons (R) Lac de Viry-Châtillon Lac du Temple (R) Basin of the Rhine Lac du Baggersee Lac de Michelbach Basin of the Rhône Étang de la Bonde Réservoir de Cercey (R) Étangs des Dombes Réservoir de Grosbois (R) Lac de Panthier (R) Lac de Sainte-Croix (R) Lac des Sapins (R) Lac de Villegusien (R) Others Lac de Guerlédan in Brittany Réservoir Saint-Michel in Brittany Lac de Rabodanges in Lower Normandy Coastal lakes The lakes close to the sea can be filled with fresh water (F) or sea water (S). English Channel Pas-de-Calais Lac des Miroirs Atlantic Ocean Étang d'Aureilhan Étang de Cazaux et de Sanguinet Étang de Lacanau Lac de Biscarrosse et de Parentis Lac d'Hourtin-Carcans Mediterranean Sea Étang de Berre Étang de Thau/Bassin de Thau Corsica Lac de Bettaniella Lac du Cinto Lac de Goria Lac de Nino Lac de l'Oriente See also List of lakes in the Kerguelen Islands List of bodies of water of Corsica References France Lakes
Peter Joseph Tevenan (20 June 1857 – 11 April 1943) was an Irish-British trade unionist and politician. Born in County Galway, Tevenan moved with his family to Liverpool when he was a young child. The family then settled in Chesterfield, Derbyshire where he worked first making pottery, then spent time as a miner, before finding work on the railways. Initially, he was a porter, then plate-layer, before becoming a signalman, and finally a station-master. A supporter of trade unionism, Tevenan became active in the Amalgamated Society of Railway Servants, and served on its executive committee from 1891 to 1893. He was prominent in two strikes in Kingston-upon-Hull, one in 1890 among goodsworkers, and one in 1892 involving dockers. He became secretary of the union's operations in Ireland, and in 1896 convinced the Irish Trades Union Congress (ITUC) to convene a committee, chaired by himself, to consider whether a national federation of trade unions could be established. In 1900 and 1901, Tevenan served as treasurer of the ITUC. After spending a period as an insurance agent and running to become an elected auditor in Stockport, in 1905 he found work as joint organiser of the Municipal Employees' Association (MEA), later becoming the union's North East District Secretary. In 1906, Tevenan fell out with the MEA's general secretary, Albin Taylor, who dismissed him. Tevenan felt that Taylor's action was unwarranted, and was able to convince a majority of the MEA's members of this. They voted to suspend Taylor and reinstate Tevenan. Taylor responded by resigning and setting up the rival National Union of Corporation Workers, while Tevenan was reinstated. In 1913, Tevenan was elected as general secretary of the MEA. Membership grew rapidly under his leadership, reaching a peak of 70,000. He was also active in the Public Services International, serving as its president for twelve years. He supported the merger of unions representing municipal workers; he took a leading role in the negotiations which formed the National Union of General and Municipal Workers in 1924. The MEA merged into the new union, and Tevenan served as one of its first two joint assistant general secretaries, and head of its municipal department. Tevenan was active in the Labour Party. At the 1918 United Kingdom general election, he stood as its candidate in Liverpool Edge Hill, taking second place with 36.2% of the vote. In 1924/25, he served on the party's National Executive Committee. Tevenan retired in 1932 and died on 11 April 1943, at the age of 85. References 1857 births 1943 deaths Labour Party (UK) parliamentary candidates Trade unionists from County Galway
The 2008–09 Skeleton World Cup is a multi-race tournament over a season for skeleton. The season started on November 28, 2008, in Winterberg and ended on February 12, 2009, in Park City, Utah. The World Cup is organised by the FIBT who also run world cups and championships in bobsleigh. Calendar Results Men Women Standings Men's Women's References External links FIBT Skeleton World Cup Skeleton World Cup, 2008-09 Skeleton World Cup, 2008-09
Strike pay is a payment made by a trade union to workers who are on strike to help in meeting their basic needs while on strike, often out of a special reserve known as a strike fund. Union workers reason that the availability of strike pay increases their leverage at the bargaining table and actually decreases the probability of a strike, since the employers are aware that their employees have this financial resource available to them if they choose to strike. By countries Spain The main unions providing a strike fund in Spain are (USO) and the Basque Basque Workers' Solidarity (ELA-STV). According to ELA, its fund received 13.7 million euros between 2008 and 2011, 15.1% of its expenses, and 19.1 M€ between 2012 and 2016 (16,24%). It receives amounts to 25% of the dues of its members. ELA-STV strikers can receive between €1,000 /month (the minimum wage in Spain) and €1,243 . Another Basque union provides a maximum of €30 /day (€900 /month) after the second day of the strike. Strikes funded by ELA-STV can become long: 235 days at Tubacex, 285 among the cleaners of the Guggenheim Bilbao Museum, over 1,000 days at Novaltia. United Kingdom Whilst some trade unions make payments to members who are on an official strike there is no requirement to do so. The UK Government makes the presumption that workers on official strike action are being paid strike pay, and so they may not be entitled to state benefits. Strike fund A strike fund is a reserve set up by a union ahead of time (through special assessments or from general funds) and used to provide strike pay or for other strike-related activities. Sources European Employment and Industrial Relations Glossaries Online References External links Legamus audiorecording of "Strike-Pay" by D. H. Lawrence read by Martin Geeson. Labor relations Trade unions Pay Payments
Ørneberget Station () is a railway station on the Bergensbanen railway line located in the Mjølfjell area in the municipality of Voss in Vestland county, Norway. The station is served by the Bergen Commuter Rail, operated by Vy Tog, with up to five daily departures in each direction. The station was opened in 1958. The surrounding area is dominantly recreational, with many cabins. External links Jernbaneverket's page on Ørneberget Railway stations in Voss Railway stations on Bergensbanen Railway stations opened in 1958 Railway stations in Norway opened in the 1950s
Norgervaart is a hamlet in the Netherlands and is part of the Noordenveld municipality in Drenthe. It is located along the eponymous canal. The canal between Norg and Huis ter Heide was completed in 1816. Norgervaart is not a statistical entity, and is listed under Huis ter Heide in the postal code. There are about 20 houses in Norgervaart. References Populated places in Drenthe Noordenveld
Men in White is a 1933 play written by American playwright Sidney Kingsley. It was produced by the Group Theatre, Sidney Harmon and James Ramsey Ullman, directed by Lee Strasberg with scenic design created by Mordecai Gorelik. It ran for 351 performances from September 26, 1933 to July 28, 1934 at the Broadhurst Theatre. The play won the 1934 Pulitzer Prize for Drama. It was included in Burns Mantle's The Best Plays of 1933–1934. Cast Luther Adler as Dr. Gordon Alan Baxter as Dr. Crawford and as Mac Phoebe Brand as Barbara Dennin Morris Carnovsky as Dr. Levine J. Edward Bromberg as Dr. Hochberg Grover Burgess as Dr. McCabe William Challee as Dr. Michaelson Russell Collins as Dr. Cunningham Herbert Ratner as Dr. Vitale Walter Coy as Dr. Bradley and as Peter Robert Harper as Mr. Drummond Alexander Kirkland as Dr. Ferguson Bob Lewis as Dr. Otis and as Shorty Sanford Meisner as Dr. Wren and as Mr. Smith Ruth Nelson as Mrs. Smith Margaret Barker as Laura Hudson Mary Virginia Farmer as Mrs. D'Andrea Gerrit Kraber as James Mooney Lewis Leverett as Mr. Spencer Clifford Odets as Mr. Houghton Art Smith as Mr. Hudson Mab Maynard as Dorothy Smith Dorothy Patten as nurse Mary Ryan Eunice Stoddard as nurse Jamison Paula Miller as first nurse Elena Karam as second nurse Elia Kazan as orderly Adaptations The play was adapted for the 1934 Metro-Goldwyn-Mayer film Men in White, starring Clark Gable (Dr. Ferguson) and Myrna Loy (Laura Hudson). References External links 1953 Best Plays radio adaptation of play at Internet Archive 1947 Theatre Guild on the Air radio adaptation of play at Internet Archive (archive) 1933 plays Broadway plays Pulitzer Prize for Drama-winning works Plays by Sidney Kingsley Plays about abortion
Friedrich Jürgen Carl Brömel Berendsen (March 15, 1904 – October 1, 1974) was a German politician of the Christian Democratic Union (CDU) and former member of the German Bundestag. Life He was a member of the German Bundestag from 1953 until his resignation on 15 September 1959. After his retirement he was again a member of the Bundestag from 1965 to 1969. Literature References 1904 births 1974 deaths Members of the Bundestag for Baden-Württemberg Members of the Bundestag for North Rhine-Westphalia Members of the Bundestag 1965–1969 Members of the Bundestag 1957–1961 Members of the Bundestag 1953–1957 Members of the Bundestag for the Christian Democratic Union of Germany
```kotlin /* */ package splitties.views.dsl.core import android.content.Context import android.view.View interface Ui { val ctx: Context val root: View } ```
```xml import { SchemaOf, object, string, boolean } from 'yup'; import { nanNumberSchema } from '@/react-tools/yup-schemas'; import { isValidUrl } from '@@/form-components/validate-url'; import { FormValues } from './types'; export function validation(): SchemaOf<FormValues> { return object().shape({ helmRepositoryUrl: string() .default('') .test('valid-url', 'Invalid URL', (value) => !value || isValidUrl(value)), kubeconfigExpiry: string().required(), globalDeploymentOptions: object().shape({ hideAddWithForm: boolean().required(), perEnvOverride: boolean().required(), hideWebEditor: boolean().required(), hideFileUpload: boolean().required(), requireNoteOnApplications: boolean().required(), hideStacksFunctionality: boolean().required(), minApplicationNoteLength: nanNumberSchema('Must be a number') .default(0) .when('requireNoteOnApplications', { is: true, then: (schema) => schema .required() .min(1, 'Value should be between 1 to 9999') .max(9999, 'Value should be between 1 to 9999'), }), }), }); } ```
Karo is an Armenian given name, a shortened version of the Armenian given name Karapet (Eastern Armenian) / Garabed (Western Armenian). The Western Armenian variant of Karo is Garo. Given name Karo Ghafadaryan (1907–1976), Soviet Armenian archaeologist, historian, and epigraphist Karo Haghverdian (born 1945), Iranian-Armenian football player Karo Halabyan (1897-1959), Soviet Armenian architect Karo Mkrtchyan (1951–2001), Armenian painter Karo Murat (born 1983), Armenian-German professional boxer Karo Parisyan (born 1982), Armenian-American mixed martial arts fighter Karo Bonas (born 1984), Persian born Legend and Personality Karo Lumis (born 1980), Papua New Guinean cricketer Surname Aaron Karo (born 1979), American author and comedian Armen Karo (or Garo) (1872–1923), Armenian nationalist politician Ezekiel Karo (1844–1915), German rabbi and historian Georg Karo (1872–1963), German archaeologist Henry Arnold Karo (1903–1986), vice admiral in the United States Coast and Geodetic Survey Isaac Karo (1458-1535), Spanish rabbi Joseph Karo (1488–1575), also known as Yosef Karo or Caro, Spanish-born rabbi and author of the Shulchan Aruch Paul Karo, Australian actor See also Garo (name) Karlo (name) Karol (name) Armenian masculine given names Masculine given names
Parliamentary elections were held in the Gambia on 2 January 1997 three months after presidential elections. The first parliamentary elections since Yahya Jammeh's 1994 coup, they were also the first parliamentary elections to be held under the new constitution approved in a 1996 referendum. However, Decree 89 meant that pre-1994 parties (such as the former ruling People's Progressive Party) were still banned. The elections were originally scheduled for 11 December 1996, but following an attack on military barracks at Farafenni at the start of November, they were postponed, and all political rallies were banned. Jammeh's Alliance for Patriotic Reorientation and Construction won 33 of the 45 elected seats, enough to change the constitution. Results References Gambia Parliamentary elections in the Gambia 1997 in the Gambia January 1997 events in Africa Election and referendum articles with incomplete results
```java /* * one or more contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright ownership. */ package io.camunda.zeebe.protocol.impl.record.value.timer; import static io.camunda.zeebe.util.buffer.BufferUtil.bufferAsString; import com.fasterxml.jackson.annotation.JsonIgnore; import io.camunda.zeebe.msgpack.property.IntegerProperty; import io.camunda.zeebe.msgpack.property.LongProperty; import io.camunda.zeebe.msgpack.property.StringProperty; import io.camunda.zeebe.protocol.impl.record.UnifiedRecordValue; import io.camunda.zeebe.protocol.record.value.TenantOwned; import io.camunda.zeebe.protocol.record.value.TimerRecordValue; import io.camunda.zeebe.util.buffer.BufferUtil; import org.agrona.DirectBuffer; public final class TimerRecord extends UnifiedRecordValue implements TimerRecordValue { private final LongProperty elementInstanceKeyProp = new LongProperty("elementInstanceKey"); private final LongProperty processInstanceKeyProp = new LongProperty("processInstanceKey"); private final LongProperty dueDateProp = new LongProperty("dueDate"); private final StringProperty targetElementId = new StringProperty("targetElementId"); private final IntegerProperty repetitionsProp = new IntegerProperty("repetitions"); private final LongProperty processDefinitionKeyProp = new LongProperty("processDefinitionKey"); private final StringProperty tenantIdProp = new StringProperty("tenantId", TenantOwned.DEFAULT_TENANT_IDENTIFIER); public TimerRecord() { super(7); declareProperty(elementInstanceKeyProp) .declareProperty(processInstanceKeyProp) .declareProperty(dueDateProp) .declareProperty(targetElementId) .declareProperty(repetitionsProp) .declareProperty(processDefinitionKeyProp) .declareProperty(tenantIdProp); } @JsonIgnore public DirectBuffer getTargetElementIdBuffer() { return targetElementId.getValue(); } @Override public long getProcessDefinitionKey() { return processDefinitionKeyProp.getValue(); } @Override public long getElementInstanceKey() { return elementInstanceKeyProp.getValue(); } @Override public long getProcessInstanceKey() { return processInstanceKeyProp.getValue(); } public TimerRecord setProcessInstanceKey(final long processInstanceKey) { processInstanceKeyProp.setValue(processInstanceKey); return this; } @Override public long getDueDate() { return dueDateProp.getValue(); } @Override public String getTargetElementId() { return BufferUtil.bufferAsString(targetElementId.getValue()); } @Override public int getRepetitions() { return repetitionsProp.getValue(); } public TimerRecord setRepetitions(final int repetitions) { repetitionsProp.setValue(repetitions); return this; } public TimerRecord setTargetElementId(final DirectBuffer targetElementId) { this.targetElementId.setValue(targetElementId); return this; } public TimerRecord setDueDate(final long dueDate) { dueDateProp.setValue(dueDate); return this; } public TimerRecord setElementInstanceKey(final long key) { elementInstanceKeyProp.setValue(key); return this; } public TimerRecord setProcessDefinitionKey(final long processDefinitionKey) { processDefinitionKeyProp.setValue(processDefinitionKey); return this; } @Override public String getTenantId() { return bufferAsString(tenantIdProp.getValue()); } public TimerRecord setTenantId(final String tenantId) { tenantIdProp.setValue(tenantId); return this; } } ```
Cynthia Ann Telles is an American academic and psychologist who currently serves as the US Ambassador to Costa Rica. She is a clinical professor in the UCLA Department of Psychiatry at the David Geffen School of Medicine at UCLA and serves on the executive committee of the Semel Institute for Neuroscience and Human Behavior. She is the founding director of the Hispanic Neuropsychiatric Center of Excellence. Early life and education Her father is Raymond Telles, the first Mexican American mayor of a major American city, El Paso, Texas. She was raised in El Paso and moved to Costa Rica in 1961, when her father served as the U.S. Ambassador to Costa Rica under the John F. Kennedy administration. When she was 10, she nearly died after contracting viral encephalitis from a mosquito bite. By 12, she began volunteering at a hospital. After living in Costa Rica for six years, the family moved to Washington, D.C. Telles received a Bachelor of Arts from Smith College and a Doctor of Philosophy in clinical psychology from Boston University. She moved to Los Angeles in the late 1970s to work on her doctoral dissertation. Career Telles has been the director of the UCLA Spanish-Speaking Psychosocial Clinic and is the founding director of the UCLA Hispanic Neuropsychiatric Center of Excellence. Given her prominence within the Latino political circle in Los Angeles, commentators expected her to eventually enter a career in politics. However, in 1992, Telles insisted that she had no long term political agenda and declined to run for U.S. Representative Edward R. Roybal's seat after he announced his retirement. Telles was a prominent donor to the Joe Biden 2020 presidential campaign. Ambassador to Costa Rica On June 15, 2021, President Joe Biden nominated Telles to be the next US Ambassador to Costa Rica. On June 23, 2021, her nomination was sent to the Senate. Hearings on her nomination were held before the Senate Foreign Relations Committee On September 22, 2021. On October 19, 2021, her nomination was reported favorably out of committee. On December 18, 2021, her nomination was confirmed by the United States Senate via voice vote. She presented her credentials to the Vice Minister for Bilateral Affairs and International Cooperation, Adriana Bolaños Argueta, on March 10, 2022, and to the President of Costa Rica Carlos Alvarado Quesada on March 11, 2022. Boards In Los Angeles, she has served on the Board of the Pacific Council on International Policy, and was the Chair of the Los Angeles/U.S. Section of the Mexico-Los Angeles Commission. She has served on numerous City of Los Angeles Commissions, including on the Board of Airport Commissioners since 2013 and the ethics commission. She was a founding board member of Americas United Bank and was a board member of Burlington Northern Santa Fe, LLC. She has served as chairperson on the California Community Foundation and The California Endowment. On the national level, Telles was appointed by President Barack Obama to the White House Commission on Presidential Scholars in 2010 and has served on the National Advisory Council of SAMHSA during the Clinton administration. Telles served on the board of directors of Kaiser Permanente from 2009 until 2021. Telles was on the board of directors of General Motors from 2010 to June 2014. Personal life Telles is fluent in Spanish. She is related to Monica C. Lozano. Telles was married to California State Senator Robert Hertzberg. They divorced in 2005. Telles has been married to Joseph Waz, a telecommunications executive, since 2015. Select awards and recognition First Annual Achievement Award for Mental Health Public Service American Psychological Association Minority Fellowship Program Leadership Award — National Hispanic Medical Association/National Hispanic Health Foundation Benjamin Joy Award — honoring Ambassador Telles and Mission San Jose team for advancing US commercial diplomacy. References External links Living people American academics of Mexican descent American women ambassadors Ambassadors of the United States to Costa Rica Boston University alumni American clinical psychologists David Geffen School of Medicine at UCLA faculty Smith College alumni Year of birth missing (living people)
```php <?php use PhpOffice\PhpSpreadsheet\IOFactory; use PhpOffice\PhpSpreadsheet\Shared\Date; require __DIR__ . '/../Header.php'; $helper->log('Load from Xls template'); $reader = IOFactory::createReader('Xls'); $spreadsheet = $reader->load(__DIR__ . '/../templates/30templatebiff5.xls'); $helper->log('Add new data to the template'); $data = [['title' => 'Excel for dummies', 'price' => 17.99, 'quantity' => 2, ], ['title' => 'PHP for dummies', 'price' => 15.99, 'quantity' => 1, ], ['title' => 'Inside OOP', 'price' => 12.95, 'quantity' => 1, ], ]; $spreadsheet->getActiveSheet()->setCellValue('D1', Date::PHPToExcel(time())); $baseRow = 5; foreach ($data as $r => $dataRow) { $row = $baseRow + $r; $spreadsheet->getActiveSheet()->insertNewRowBefore($row, 1); $spreadsheet->getActiveSheet()->setCellValue('A' . $row, $r + 1) ->setCellValue('B' . $row, $dataRow['title']) ->setCellValue('C' . $row, $dataRow['price']) ->setCellValue('D' . $row, $dataRow['quantity']) ->setCellValue('E' . $row, '=C' . $row . '*D' . $row); } $spreadsheet->getActiveSheet()->removeRow($baseRow - 1, 1); // Save $helper->write($spreadsheet, __FILE__); ```
Sir George Christopher Molesworth Birdwood (8 December 183228 June 1917) was an Anglo-Indian official, naturalist, and writer. Life The son of General Christopher Birdwood, he was born at Belgaum, then in the Bombay Presidency, on 8 December 1832. He was educated at Plymouth Grammar School and Edinburgh University, where he took his MD degree presenting the thesis "The origin of ideas". Entering the Bombay Medical Service in 1854, he served in the Persian War of 1856-57, and subsequently became professor at the Grant Medical College, registrar of the university, curator of the museum, and sheriff at Bombay, besides acting as secretary of the Asiatic and Horticultural societies. Birdwood interested himself also in the municipal life of Bombay, where he acquired influence and popularity. He was obliged by ill-health in 1868 to return to England, where he entered the revenue and statistics department of the India Office (1871–1902). In the dedication to his English translation of Garcia de Orta's book, Clements Markham calls Birdwood the "Garcia da Orta of British India". He kept up his connection to India with contributions to the Indian press; and established longterm friendships with Indian princes and educated Indians. In 1846 he was selected Sheriff of Bombay In 1887 he was created a Knight Commander of the Order of the Indian Empire; and, besides being given his Doctor of Laws degree by the University of Cambridge, he was also made an officer of the Légion d'Honneur and a laureate of the French Academy. While chairing the Indian Section of the annual meeting of the Royal Society of Arts in 1910, Birdwood declared that there was no "fine art" in India. When a particular statue of the Buddha was adduced as counter-example, Birdwood is said to have responded: "This senseless similitude, in its immemorial fixed pose, is nothing more than an uninspired brazen image. . . . A boiled suet pudding would serve equally well as a symbol of passionless purity and serenity of soul." Birdwood died in Ealing on 28 June 1917. Works The Economic Vegetable Products of the Bombay Presidency (12th edition, 1868) On the Genus Boswellia [Frankincense Trees] (1870) The Industrial Arts of India (1888) Reports on the Old Records of the India Office (1891) The Register of Letters and of the Governor and Company of Merchants of London Trading into the East Indies 1600-1619 (1893) with Sir William Foster First Letter Book of the East India Company (1895) Birdwood published on the industrial arts of India, the ancient records of the India Office, and the first letter-book of the East India Company. He encouraged Indian arts, on various aspects of which he wrote monographs, and his name was identified with the representation of India at the major International Exhibitions from 1857 to 1901. His researches on the subject of incense, became a classic. When still young, Birdwood contributed to magazines and newspapers; in India he helped to convert the Standard into The Times of India, and edited the Bombay Saturday Review; and after his return to London he wrote for the Pall Mall, Athenaeum, Academy, and The Times; and with Thomas Chenery, the editor of The Times, and others he took the initiative (1882) in celebrating the anniversary of Lord Beaconsfield's death as Primrose Day (19 April). Notes References Further reading 1832 births 1917 deaths People educated at Dollar Academy Indian Medical Service officers Knights Commander of the Order of the Indian Empire British military personnel of the Anglo-Persian War Officers of the Legion of Honour 19th-century English medical doctors Sheriffs of Mumbai Alumni of the University of Edinburgh Medical School People associated with the University of Edinburgh People educated at Plymouth Grammar School
Banguingui, officially the Municipality of Banguingui (Tausūg: Kawman sin Banguingui; ), is a 4th class municipality in the province of Sulu, Philippines. According to the 2020 census, it has a population of 35,616 people. From its original name Tongkil, it was renamed Banguingui on January 29, 1999, by virtue of Muslim Mindanao Autonomy Act No. 71 of the Autonomous Region in Muslim Mindanao in honor of the dominant Banguingui tribe of the municipality. It was inaugurated only on January 29, 2006. Geography Barangays Tongkil is politically subdivided into 14 barangays. Each barangay consists of puroks while some have sitios. Bakkaan Bangalaw Danao Dungon Kahikukuk Luuk (Poblacion) North Paarol Sigumbal South Paarol Tabialan Tainga-Bakkao Tambun-bun Tattalan Tinutungan Climate Demographics Economy References External links Banguingui Profile at PhilAtlas.com [ Philippine Standard Geographic Code] Banguingui Profile at the DTI Cities and Municipalities Competitive Index Philippine Census Information Local Governance Performance Management System Municipalities of Sulu Island municipalities in the Philippines
The 2013–14 PBA season was the 39th season of the Philippine Basketball Association. The season formally opened on November 17, 2013, and finished on July 9, 2014. The league continued to use the three-conference format, starting with the Philippine Cup, or the traditional All-Filipino Conference. The Commissioner's Cup and the Governors' Cup is the second and third conferences for this season. Due to the Philippines' hosting of the 2013 FIBA Asia Championship last August, the third conference of the previous season, the 2013 PBA Governors' Cup was rescheduled to start on August 13. Subsequently, the annual draft and the opening of the new season, which is usually held every last week of August and first week of October respectively since 2004, was moved to November. The first activity of the season was the 2013 PBA draft held on November 3. Board of governors Executive committee Angelico Salud (Commissioner) Ramon Segismundo (chairman, representing Meralco Bolts) Patrick Gregorio (Vice-chairman, representing Talk 'N Text Tropang Texters) Robert Non (Treasurer, representing San Miguel Beermen) Teams Arenas Like several Metro Manila-centric leagues, most games are held at arenas within Metro Manila, and sometimes, Antipolo. Games outside this area are called "out-of-town" games, and are usually played on Saturdays. Provincial arenas usually host one game, rarely two; these arenas typically host only once per season, but could return occasionally. Main arenas Out-of-town arenas Pre-season events Player movement Key transactions: Notable occurrences The fifth PBA Hall of Fame ceremony was held during the opening ceremonies of the 2013−14 PBA season. This year's inductees includes players Benjie Paras, Ronnie Magsanoc, Lim Eng Beng and coach Ed Ocampo The PBA's developmental league held its first draft on September 19. Subsequently, the new D-League season began on October 24. Possible changes of the season calendar will be further discussed between the league and the Samahang Basketbol ng Pilipinas for the preparation of the Philippines men's national basketball team for the 2014 FIBA Basketball World Cup, which was scheduled to be held in Spain from August 30 to September 14, 2014. Sports5 transferred the broadcast of the PBA games to their main network TV5. Also, Fox Sports will air live simulcasts of the Wednesday doubleheaders in English commentary, starting November 20, 2013. A second version of the Jun Bernardino Trophy was created after the 2006 trophy was awarded to the Talk 'N Text Tropang Texters after they won the Philippine Cup for the third consecutive year last season. Coaching changes Junel Baculi is replaced by Richie Ticzon as head coach of the GlobalPort Batang Pier. Opening ceremonies The opening ceremonies for this season were held in three different locations, one each representing Luzon (Smart Araneta Coliseum, Quezon City), Visayas (Cebu Coliseum), and Mindanao (USEP Gymnasium, Davao City), while the main ceremonies was held at the Smart Araneta Coliseum in Quezon City. The muses for the participating teams are as follows: 2013–14 Philippine Cup Notable events On January 13, 2014, San Miguel Corporation president Ramon S. Ang announced that the Petron Blaze Boosters will revert to its iconic name "San Miguel Beermen" starting in the 2014 PBA Commissioner's Cup. On January 29, 2014, GlobalPort owner Mikee Romero announced that interim coach Richie Ticzon will replaced by Pido Jarencio as head coach of GlobalPort Batang Pier starting next conference. The league's board of governors approved the proposal of shortening the finals series of the Commissioner's and Governors' Cups to a best-of-five to give time for the Philippine men's national basketball team time to prepare for the 2014 FIBA Basketball World Cup and the 2014 Asian Games. The opening of the 2014–15 season will also be moved to October 19. On February 12, 2014, the seventh game of the 2013-14 PBA Philippine Cup Semifinals series between Barangay Ginebra San Miguel and San Mig Super Coffee Mixers set the all-time basketball attendance record of 24,883, which broke the previous record of 23,436 set on May 19, 2013, that featured Game Three of the PBA Commissioner's Cup Finals between the Alaska Aces and the Barangay Ginebra San Miguel. The Rain or Shine Elasto Painters staged a "partial walkout" during Game 6 of their Finals series against the San Mig Super Coffee Mixers at the 10:59 mark of the second quarter. Rain or Shine returned to the playing court before the 15-minute time limit given to teams who walks out of the playing court and eventually lost to San Mig Super Coffee. On February 25, 2014, Petron Blaze/San Miguel Beer board governor Ely Capacio died following a stroke The league paid tribute to him before the start of Game 5 of the Philippine Cup Finals. Also, the San Mig Super Coffee Mixers, which was coached by Capacio in 1991, had black patches in their jerseys as a sign of mourning. San Mig Super Coffee coach Tim Cone became the winning-est coach in PBA history after his team clinched his 16th title. He surpassed the record of 15 championships set by Baby Dalupan before he retired as a coach in 1991. The San Mig Super Coffee Mixers became the team with most All-Filipino/Philippine Cup championships after winning their sixth Philippine Cup, surpassing the Crispa Redmanizers with five All-Filipino titles. PBA Commissioner Chito Salud penalized the Rain or Shine Elasto Painters with a P2 million for their "partial walkout" during the 2nd quarter (11:49) of their Finals in Game 6 series against the San Mig Super Coffee Mixers. Rain or Shine coach Yeng Guiao accumulated a record total of P426,400 worth of fines due to a league rule that penalizes a coach, player or official that receives more than nine technical fouls in a conference after incurring 13 technicals during the tournament (P50,000 each technical foul), and the P100,000 fine sanctioned to him after flashing the finger at league officials during the semifinals. Elimination round Playoffs Quarterfinals |} |} *Team has twice-to-beat advantage. Team #1 only has to win once, while Team #2 has to win twice. Semifinals |} Finals |} Finals MVP: Mark Barroca (San Mig Super Coffee Mixers) Best Player of the Conference: June Mar Fajardo (Petron Blaze Boosters) 2014 Commissioner's Cup Notable events Ever Bilena Incorporated owner Dioceldo Sy submitted a letter of intent for the application of his PBA D-League team, Black Water Sports in joining as an expansion team for the 2014–15 season. This was after Ever Bilena was given clearance of its financial capability to put up a PBA team. Columbian Autocar Corporation (CAC), the distributor of Kia cars in the Philippines submitted its letter of intent to join the PBA starting in the next 2014–15 season. Metro Pacific Investments Corporation, owners of the NLEX Road Warriors team in the PBA D-League has submitted its letter of intent to join the PBA as an expansion team. After the regular meeting of the PBA Board of Governors last March 6, PBA commissioner Chito Salud announced that he will review the submitted requirements of the three companies that applied for an expansion team to determine their financial and operating capability in having a PBA team. He will send his recommendations by April to the board of governors. The league's Board of Governors unanimously approved the application of Blackwater, Kia, and NLEX as expansion teams for the 2014–15 PBA season during their meeting on April 10. As a concession with Kia, who does not have a basketball team in the PBA D-League, the Board of Governors did not allow Blackwater and NLEX to sign up their players from their D-League teams. Instead, the expansion teams will build their teams through an expansion draft with the 10 existing teams will protect 14 players in their roster, the free agency and the rookie draft, in which the expansion teams will be given the 11th, 12th and 13th pick in the first round of the 2014 PBA draft. Additional concessions were given to the three expansion teams at the conclusion of the special meeting by the league's Board of Governors. These include the revision of the expansion draft in which the 10 existing teams will protect 12 players from the previous 14, and the first three picks of the second round of the 2014 PBA draft. Only the three expansion teams will be allowed to pick players after the third round of the rookie draft. Rain or Shine Elasto Painters coach Yeng Guiao was slapped with a P100,000 fine after an altercation with Meralco Bolts player Cliff Hodge and calling him "mongoloid" (a derogatory word used in the Philippines for persons who has Down syndrome) after the second game of their best-of-three quarterfinals game. Meanwhile, Hodge's flagrant foul on Raymond Almazan on the same game was upgraded to flagrant foul penalty two and was fined with P20,000 Air21 Express made their first semifinals appearance in franchise history, after beating second-seeded San Miguel Beermen with the knockout game ending in two overtimes. Sports5 head Chot Reyes announced via Twitter that the PBA games will now be aired in high definition for Cignal Digital TV subscribers starting with the 2014 Commissioner's Cup Finals. Elimination round Playoffs Quarterfinals |} |} *Team has twice-to-beat advantage. Team #1 only has to win once, while Team #2 has to win twice. Semifinals |} Finals |} Finals MVP: James Yap (San Mig Super Coffee) Best Player of the Conference: Jayson Castro (Talk 'N Text) Bobby Parks Best Import of the Conference: Richard Howell (Talk 'N Text) 2014 Governors' Cup Notable events Jeffrey Cariaso was named as the head coach of Barangay Ginebra San Miguel. Olsen Racela was also transferred from San Mig Super Coffee to Barangay Ginebra to become the lead assistant coach. Luigi Trillo resigned as head coach of the Alaska Aces due to family reasons and was replaced by Alex Compton. The sale of the Air21 Express franchise to Metro Pacific Investments Corporation, owners of the NLEX Road Warriors has been approved by the PBA Board of Governors on June 26, 2014. Elimination round Playoffs Quarterfinals |}*Team has twice-to-beat advantage. Team #1 only has to win once, while Team #2 has to win twice. Semifinals |} Finals |} Finals MVP: James Yap (San Mig Super Coffee) Best Player of the Conference: Ranidel de Ocampo (Talk 'N Text) Bobby Parks Best Import of the Conference: Arizona Reid (Rain or Shine) Individual awards Leo Awards Most Valuable Player: June Mar Fajardo (San Miguel) Rookie of the Year: Greg Slaughter (Barangay Ginebra) First Mythical Team: Jayson Castro (Talk 'N Text) Mark Barroca (San Mig Super Coffee) June Mar Fajardo (San Miguel) Ranidel de Ocampo (Talk 'N Text) Asi Taulava (Air21) Second Mythical Team: Paul Lee (Rain or Shine) PJ Simon (San Mig Super Coffee) Greg Slaughter (Barangay Ginebra) Marc Pingris (San Mig Super Coffee) Sonny Thoss (Alaska) All-Defensive Team: Mark Barroca (San Mig Super Coffee) Gabe Norwood (Rain or Shine) June Mar Fajardo (San Miguel) Jireh Ibañes (Rain or Shine) Marc Pingris (San Mig Super Coffee) Most Improved Player: June Mar Fajardo (San Miguel) Sportsmanship Award: Willie Miller (Barako Bull) Awards given by the PBA Press Corps Defensive Player of the Year: Marc Pingris (San Mig Super Coffee) Scoring Champion: Jayson Castro (Talk 'N Text) Baby Dalupan Coach of the Year: Tim Cone (San Mig Super Coffee) Mr. Quality Minutes: PJ Simon (San Mig Super Coffee) Comeback Player of the Year: Asi Taulava (Air21) Danny Floro Executive of the Year: Ramon S. Ang Order of Merit: Mark Barroca (San Mig Super Coffee) All-Rookie Team Greg Slaughter (Barangay Ginebra) Ian Sangalang (San Mig Super Coffee) Justin Melton (San Mig Super Coffee) Terrence Romeo (GlobalPort) Raymond Almazan (Rain or Shine) Cumulative standings Elimination rounds Playoffs References External links PBA.ph PBA