text:
The New Federalism: Court Bails Out State
In Day v. Crosby, No. 04-10778 (Nov. 29, 2004), the Court (Tjoflat, Dubina, Pryor) held that a district court is authorized sua sponte to dismiss a habeas petition under the AEDPA statute of limitations, even though the State (erroneously) conceded in its answer that the petition was timely. The Court recognized that in ordinary civil cases, a statute of limitations defense is waivable, but pointed out that habeas cases are governed by the Rules Governing § 2254 cases, and these rules specifically authorize district courts to order summary dismissals. The Court noted the federal court's "obligation" to enforce the AEDPA statute of limitations. The Court noted a conflict with other circuits which have held that a court does not have authority to sua sponte "cure" a party's waiver.
The Value of a Plea Agreement
In U.S. v. Cesal, No. 03-15090 (Nov. 23, 2004), the Court (Carnes, Hull, and Wilson) affirmed the conviction and life sentence for a charge of conspiracy to distribute marijuana. The Court rejected several claims of error regarding Mr. Cesal's guilty plea and his request to proceed pro se. And the Court ruled that Mr. Cesal had waived his right to appeal his life sentence.
The Court relied on the written plea agreement entered into by Mr. Cesal and the government that was negotiated on the day of trial while the jury that had been selected but not sworn waited outside the courtroom. On the eve of trial, Mr. Cesal's co-defendant had negotiated a plea agreement with the government. In the plea agreement, Mr. Cesal consented to plead guilty to one count of conspiracy to distribute marijuana, to waive his right to appeal his sentence, and to cooperate with the government. The government agreed to hold Mr. Cesal accountable for only 1000 to 3000 kilograms of marijuana. The agreement also stated that if Mr. Cesal failed to fulfill his obligations, the government could recommend any sentence it deemed appropriate. Mr. Cesal entered his plea of guilty immediately and was then debriefed by government agents. A few days later, Mr. Cesal sought to withdraw his plea based on his disagreement with the facts as set out by the government and ineffective assistance of counsel.
In affirming the conviction, the Court noted that the plea colloquy, held right after the agreement was hammered out, did not go smoothly with Mr. Cesal expressing some pressure to plead guilty based on the higher sentence he faced if he went to trial and disagreeing with some of the facts in the government's factual proffer. But the Court held that the district court had addressed the core concerns of Rule 11 by ensuring that the plea was voluntary, that Mr. Cesal understood the nature of the charges and he understood the consequences of his guilty plea. The Court also found no abuse of discretion in the denial of a motion to withdraw the guilty plea noting the sufficient time spent on negotiating the agreement, the assistance of counsel, and the fact that the court was poised to begin the trial with a jury waiting when the plea was accepted. The Court further ruled that the government did not breach the plea agreement when it argued that Mr. Cesal should be held responsible for more than10,000 kilograms of marijuana, as he admitted in his debriefing, instead of the limit of 1000 to 3000 kilograms noted in the plea agreement. The Court agreed with the government that Mr. Cesal's request to withdraw his plea and his testimony at a hearing on that issue constituted a breach of the agreement which then allowed the government to argue for whatever punishment it deemed appropriate.
The Court also upheld the denial of Mr. Cesal's request to proceed pro se noting his vacillation on that issue before the district court. Finally, the Court upheld the appellate waiver contained in the plea agreement in which Mr. Cesal expressly agreed to waive his right to appeal his sentence, and, thus dismissed that portion of the appeal. [Summary by Tim Cone]
Posted by Paul M. Rashkind at 11/30/2004 10:30:00 AM
Confrontation in the Digital Age
U.S. v. Yates, No. 02-13654 (Nov. 24, 2004) . The Eleventh Circuit vacated fraud and money laundering convictions based on a violation of the Sixth Amendment's Confrontation Clause. At trial, the government was allowed to introduce, over defense objection, the testimony of two key witnesses via two-way videoconferencing from Australia. The witnesses, who were beyond subpoena power, were willing to testify but not to travel to Alabama to do so. The Court first held that it would apply the two-part test announced in Maryland v. Craig, 497 U.S. 836, 110 S. Ct. 3157 (1990), to determine whether a Sixth Amendment violation had occurred. In Craig, a case dealing with a rule that allowed a child victim of abuse to testify via a one-way closed-circuit video, the Supreme Court held that absence of a physical, face-to-face confrontation does not violate the Sixth Amendment "where denial of such confrontation is necessary to further an important public policy and only where the reliability of the testimony is otherwise assured." Id. at 850, 110 S. Ct. at 3166. The application of the Craig standard is important because in applying Craig, the Eleventh Circuit declined to follow the lead of the Second Circuit which had approved the use of two-way, closed-circuit television to present witness testimony from an undisclosed location outside the courtroom. See United States v. Gigante, 166 F.3d 75 (2d Cir. 1999). In Gigante, the Second Circuit reasoned that the Craig standard only applied in the case of a one-way, closed-circuit transmittal where the witness could not see the defendant. Id. at 81. In contrast, the Eleventh Circuit held that the Craig standard applied anytime that the government sought to deny the defendant a physical, face-to-face confrontation with a witness. Applying Craig and reversing, the Court rejected the government's contention, which had been accepted by the district court, that the testimony served the "important public policy of providing the fact-finder with crucial evidence." Specifically, the Court held that "the prosecutor's need for the testimony in order to make a case and expeditiously resolve it are not public policies that are important enough to outweigh a defendant's right to confront an accuser face-to-face."
Posted by Paul M. Rashkind at 11/29/2004 01:25:00 PM
Certiorari Granted in Dodd v. U.S.
The Supreme Court today granted certiorari in Dodd v. U.S., No. 04-5286, 2004 WL 2073304 (U.S. Nov. 29, 2004), to resolve the circuit conflict over the starting point for the one-year AEDPA statute of limitations as to newly-recognized rights. In Dodd v. U.S., the Eleventh Circuit held that 28 U.S.C. § 2255(3)'s one-year limit for filing a § 2255 motion seeking relief based on a right newly recognized by the Supreme Court and made retroactive for collateral relief, begins to run from the date the Supreme Court recognizes the new right and not from the date that a court of appeals (or district court) finds the newly-recognized right to be retroactive. Thus, as the Court explained, as soon as the Supreme Court newly announces a right, all prisoners who could obtain relief from violation of that right – if it were made retroactive – should proceed to file for relief, on the hope that the right will later be seen to be retroactive. Such prisoners cannot simply await a decision on retroactivity before filing a 28 U.S.C. § 2255 motion. Here, the movant sought relief under the holding in Richardson v. U.S., 526 U.S. 813 (1999), that a CCE verdict requires jury unanimity on the constituent CCE violations. Although the Eleventh Circuit did not recognize Richardson as having retroactive effect until 2002 (several months after Dodd filed his § 2255 motion), that retroactivity decision was irrelevant to the running of the one-year time period (which period jump-started Dodd's eligibility to seek § 2255 relief, his conviction having become final several years before the Richardson decision).
[NOTE: Petitioner Dodd is represented by our office's appellate division; the petition was filed by AFPD Janice Bergmann.]
Not Much of a Friend
Many thought that the pending Supreme Court case of Shepard v. U.S. -- raising the permissible means by which a sentencing judge may determine if an Armed Career Criminal Act predicate offense exists -- was a vehicle for the Court to recede from its earlier decision in Almendarez-Torres. An amicus brief was even filed on the issue by NACDL. At oral argument, a justice tried to move the discussion in that direction, but counsel for Shepard short-circuited that possibility:
JUSTICE O'CONNOR: Do you join the amici in saying Almendarez-Torres has to be overruled?
MS. THOMPSON: No, I do not.
JUSTICE O'CONNOR: No.
MS. THOMPSON: I do not join . . .
Transcript of OA at 13. That ended all mention of the continuing viability of Almendarez-Torres . . .
Should Have Sold Them on eBay
In U.S. v. Williams, No. 03-15395 (Nov. 16, 2004), on a government appeal, the Court (Edmondson, Fay, Corrigan b.d.) reversed a district court's order granting a Rule 29 judgment of acquittal after a jury returned a guilty verdict against a defendant charged with one count of bank fraud. The bank fraud conviction arose out of the defendant's unsuccessful attempt, along with her daughter, to get a bank to issue her a cashier's check on the basis of a (false) representation that a wire transfer would soon be coming into her account as payment for two rare signed baseballs she sold. On appeal, the government argued that the district court erred in relying on the defendant's testimony at trial that her daughter was orchestrating the scheme and that she knew nothing. The Court agreed, noting that the evidence, after a guilty verdict, must be viewed in the light most favorable to the government. The government's evidence showed that Williams was aware of lies about the forthcoming wire transfer, and about the sale of rare baseballs, and was attempting to get money from the bank, or aiding and abetting such a scheme. The Court noted that the district court's contrary finding was based on the defendant's testimony. However, the jury was free to reject that testimony, and could in fact convict the defendant in part because they disbelieved it.
In U.S. v. Pineiro, No. 03-1473 (Nov. 15, 2004), the Court (Hull, Marcus, Hancock b.d.) affirmed a conviction and sentence of a defendant convicted of maintaining a place for purpose of manufacturing and distrbuting marihuana. The Court rejected the argument that marihuana plants evidence should have been suppressed because Pineiro did not consent to a search of a house at which marihuana plants were found. Based on Pineiro's "cooperation" with the agents who searched the house, the Court found the requisite consent. The Court also found no reason to suppress Pineiro's inculpatory statements, finding that hewas informed of his Miranda rights before he made the statements. The Court also rejected a challenge to the sufficiency of the evidence. Pineiro contended that the marihuana plants were left over from the prior owner, from whom he had just purchased the house a few weeks before. The Court pointed out that material consistent with the equipment and material used in marihuana grow houses was found in the house. The Court also noted that a photograph of Pineiro in the house was recovered, and neighbors reported a smell of marihuana, and lights on all day and all night. In view of this evidence, the jury was free to reject Pineiro's defense that the material was left over from a prior owner. Recognizing that a conspiracy conviction presented a "closer question," the Court noted that the government presented evidence of Pineiro's close personal relationship with his cousin, who was involved in marihuana trafficking. Further, Pineiro's vehicle was seen parked at the marihuana grow house at thetime when it was owned by his cousin. The Court further noted "substantial similarities" between a grow house operated by the cousin and another grow houseat which Pineiro was arrested. This evidence sufficed to give rise to a jury's guilty verdict beyond a reasonable doubt.


text:
Compass Precision Acquires Strom Manufacturing
Main Street Portfolio Company Completes Second Add-on Acquisition in 2022
July 12, 2022 09:00 AM Eastern Daylight Time
PITTSBURGH--(BUSINESS WIRE)--Main Street Capital Holdings, LLC, a Pittsburgh-based private equity firm, is pleased to announce the acquisition of Strom Manufacturing, Inc., by its portfolio company, Compass Precision, LLC. Strom Manufacturing is the seventh operating company and second add-on acquisition completed by Compass Precision this year.
Founded in 1974, Strom Manufacturing is a highly automated manufacturer of precision metal components based in North Plains, OR. Strom serves a select group of well-known high-tech customers and consumer products customers, primarily in the Pacific Northwest. The company's differentiating capabilities include both horizonal and vertical 4-axis mills for precision machining. Bill Strom is the President of the company and will continue in his current role going forward.
"Strom Manufacturing is a terrific CNC machine shop with significant investment in automated milling equipment. This allows its machines to run unattended and lights-out," explained Gary Holcomb, Compass President & CEO. "We are very attracted to these differentiating capabilities. Strom fits in perfectly with our strategy of building a decentralized group of high-quality precision machine shops that service high-growth end markets across the United States."
Ryan Davis, Managing Partner of Main Street commented, "Strom is a strong fit with Compass in all critical categories. We were immediately drawn to its talented management team as well as the company's extensive use of automation and quality systems. We're thrilled to have Strom as an important part of our growing platform."
Compass Precision will continue to look to acquire companies with complementary products, end-markets, geographies, or manufacturing capabilities. Of particular interest are companies with advanced production capabilities, strong management teams, recurring projects, and high growth end-markets.
About Compass Precision, LLC
Based in Charlotte, NC, Compass Precision, LLC, was created to acquire companies in the precision metal manufacturing industry. Compass Precision was formed in October 2019 through the acquisition of Quality Products & Machine, LLC, Advanced Machining & Tooling, LLC, and Tri-Tec Industries Inc. Gray Manufacturing Technologies, LLC, Douglas Machining Services, LLC, and R&D Machine and Engineering, Inc. were subsequently acquired in 2020, 2021, and 2022, respectively. Compass's manufacturing capabilities include advanced CNC machining, EDM, fabricating, assembly, and test services. The companies service a diversified group of blue-chip customers in the aerospace & defense, space, medical, industrial, energy, and telecommunication industries. For more information, please visit www.compassprecision.com.
About Main Street Capital Holdings, LLC
Founded in 1994, Main Street Capital Holdings, LLC is a Pittsburgh-based private equity firm that acquires companies in a select group of industries at the lower end of the middle market. Main Street acquires control positions in companies with enterprise values ranging from $10 million to $125 million. A key to Main Street's success is its strong partnerships with existing management teams and proven operators. For more information, please visit www.mainstcap.com.
Dennis Prado, Managing Partner
Main Street Capital Holdings, LLC
Email: dprado@mainstcap.com
Ryan Davis, Managing Partner
Email: wrdavis@mainstcap.com

redpajama_set_name: RedPajamaCommonCrawl


First released in , Disney•Pixar's "Finding Nemo" takes audiences into a whole new world in this undersea adventure about family, courage and challenges. Finding Nemo is a American computer-animated adventure film produced by Pixar The film was re-released in 3D in In , the American Film Borys (July 17, ). "Andrew Stanton to Direct Pixar's 'Finding Nemo' Sequel". venusconcept-tr.com: Finding Nemo 3D: Albert Brooks, Alexander Gould, Andrew Stanton, Lee Unkrich: Movies & TV.
venusconcept-tr.com: Finding Nemo [Blu-ray 3D + 2D] [Region Free] [UK Import]: Albert Brooks, Ellen DeGeneres, Alexander Gould, Sold by skyvo-direct-usa and Fulfilled by Amazon. . Finding Dory [Blu-ray] by Ellen DeGeneres Blu-ray $ Shop Finding Nemo [Blu-ray 3D] [Region Free] (Limited Edition). Everyday low prices and free delivery on eligible orders. Academy Award-winning animated film from the creators of 'Toy Story'. Motherless clownfish Nemo (voiced by Alexander Gould) is carried away from his home.
Deadline is reporting that, nearly a decade after its release, in addition to its 3D re-release in September, Finding Nemo will be getting a. There are basically two kinds of light: direct light and indirect light (which bounces off something else). In Finding Nemo, Pixar could only afford.


Мы специализированные Multi Function Electric Hydraulic Operation Tables производители и поставщики / фабрики из Китая. Оптовые Multi Function Electric Hydraulic Operation Tables с высоким качеством, как низкая цена / дешево, один из Multi Function Electric Hydraulic Operation Tables ведущих брендов из Китая, Shandong Kang'erjian Medical Technology Ltd.
Wholesale Multi Function Electric Hydraulic Operation Tables from China, Need to find cheap Multi Function Electric Hydraulic Operation Tables as low price but leading manufacturers. Just find high-quality brands on Multi Function Electric Hydraulic Operation Tables produce factory, You can also feedback about what you want, start saving and explore our Multi Function Electric Hydraulic Operation Tables, We'll reply you in fastest.


text:
Bauer served in President Ronald Reagan's administration for eight years, as Under Secretary of Education and Chief Domestic Policy Advisor.
After leaving the Reagan White House, Bauer became President of the Family Research Council and a Senior Vice President of Focus on the Family.
Bauer took his pro-family, pro-life message across the country during the 2000 Republican presidential primaries and debates.
Today, Bauer serves as Chairman of Campaign for Working Families PAC, dedicated to electing conservative candidates to Congress, and as President of American Values, an educational non-profit organization. Bauer also co-hosts a weekend talk show on the Sirius/XM satellite radio network.
In 1973, Bauer received his law degree from Georgetown Law School in Washington, D.C. He is married to the former Carol Hoke, and lives in Virginia. Gary and Carol have three grown children.


Comments submitted by third parties on this site are the sole responsibility of the individual s whose content is submitted. The Daily Star accepts no responsibility for the content of comment sincluding, without limitation, any error, omission or inaccuracy therein. Please note that your email address will NOT appear on the site. If you are facing problems with posting comments, please note that you must verify your email with Disqus prior to posting a comment. First-time finalist Cibulkova opened with a double fault and Kerber, who won two grand slam titles intook advantage of her opponent's nervy start to grab an immediate break without having to do much more than get the ball over the net. With exhaustion kicking in and the points growing shorter, Kerber recovered after suffering an early break and showed the class befitting the world's top-ranked player to reel off four straight games on her way to a hard-fought victory. Top Stories International community welcomes new govt. Lebanese politicians react kerber cibulkova singapore tutti gli incontri new government. Allies warn Trump of Afghan pullout risks. No wall money in U. Top Stories Lebanon bonds rally after govt agreed.
Top Stories A tale of dog-grooming and coke. Opens, and her baseline hustling and resilient defence proved far too strong for an erratic Keys, who was broken six times in nine service games. Is what I love to do. Defending champion, Kvitova leads star-studded field at the St. Andrew Hendrie in News 23 Oct A year ago, it was her loss in Singapore that kick-started Kerber's superb breakthrough season. We invite all our readers to share with us their views and comments about this article. Chat with us in Facebook Messenger. Kerber staved off another break point in eighth game to edge ahead and the German claimed the first set when Keys was unable to hold serve for a fourth straight time. She ran the table at the Australian Open, surviving a match point in the first round and stunning Victoria Azarenka in the quarterfinals and Serena Williams in the final. Please note that your email address will NOT appear on the site. But this will be their first meeting this season - a year where they are both playing their best tennis at the same time.
Angelique Kerber vs Dominika Cibulkova WTA Finals Singapore tennis live: Kerber faces WTA Finals debutant Cibulkova in opening match Angelique Kerber vs Dominika Cibulkova is live from. Dominika Cibulkova of Slovakia kisses the trophy after victory in her singles final against Angelique Kerber at the WTA Finals in Singapore. Photograph: Clive Brunskill/Getty Images Dominika. Angelique Kerber vs. Dominika Cibulkova mafaiza.com» WTA Finals - Singapore» Angelique Kerber vs. Dominika Cibulkova () Tutti gli incontri. Cibulkova dominates Kerber to win WTA Finals. Elizabeth Law final at the WTA Finals tennis tournament in Singapore on October 30, over Kerber, Cibulkova was presented with the Billie.


text:
Proposed Bill Would Force North Carolina
Senate, 04/04/2019, Ref To Com On Rules and Operations of the Senate. HB 63, H, 63, Protect North Carolina Workers Act. House, 04/10/2019, Re-ref Com On.
A Republican-sponsored N.C. House bill would amend the state's Constitution to allow businesses to pursue legal action when they closed partially or completely by a governor's executive order.
China's parliament has approved a decision to go forward with national security legislation for Hong Kong which democracy.
12 Apr 2017.
Four North Carolina lawmakers proposed legislation this week that would force the University of North Carolina and North Carolina State to pull.
Supporters and opponents of the proposed Voter ID bill in North Carolina are weighing in on the legislation.The bipartisan bill, Senate Bill 824, was introduced by Republican State Senator Joyce.
Here are the latest updates about COVID-19, the disease caused by the novel coronavirus, in North Carolina. What can we help.
Bitcoin Year On Year Growth Bitcoin Otc Trading The OTC Market – its Growth. Over the last few years, the financial scope of Bitcoin OTC trade has exploded. With the likes of brokers like Circle Trade being responsible for the processing of approximately $2 billion worth of various digital assets on a monthly basis. And this is just one of
Sen. Gillibrand is pushing to establish a "Health Force" which will train nearly a million people in the next two months to.
North Carolina House Bill 370 has a number of sponsors, but most.
fulfilling campaign promises not to work with federal immigration officials.
3 Apr 2019.
House Bill 370 would require county jails to comply with a "request, approval, or other instruction" from federal immigration officers to hold.
Proposed Bill Would Eliminate Ballot Harvesting in North Carolina. View Larger Image; State. Rep. David Lewis proposed an amendment to a bill that would eliminate the practice of ballot harvesting in North Carolina. Read the August 8 article "GOP Aims To Stop Harvesting Of Absentee Ballot Requests" from WFAE 90.7. ACRU 2020-05-03T23:14:18+00:00 August 8th, 2019 | Absentee / Mail-in Voting.
The Eastern Band of Cherokee Indians continues to contest the Catawba Indian Nation's goal of building a casino in Kings.
01/08/2019 · Another bill, H.B. 520, would designate nine types of cancer as on-the-job injuries for firefighters and change North Carolina's workers compensation law to presume that a firefighter diagnosed with one of those cancers got it on the job. The bill was referred to the Rules committees in the House and Senate on April 30 and May 6, respectively. No action on it has been reported since.
A group of House Republican lawmakers introduced a bill Thursday that would withhold pay for members of Congress who vote by proxy, as the battle over how measures are voted on amid the coronavirus.
← Bitcoin Year On Year Growth Bitcoin Is Almost Triple The Price Of Gold Here's What Traders Think You →


Speakers Mr. Manoj Asaware Explained the advanced courses offers by "Million Lights" Pvt. Ltd.
Guest lecture on career in finance by Mr. Allen Arvindam form IMS Pro School pune.
Workshop on awareness prevention and Redressal of sexual harassment was arranged under anti sexual harassment cell of college and the guest speaker was adv. Mrs.Vidulata gavade.
Guest lecture on Bank probationary officer exam were guided on various subject in exam like current affairs reasoning ability general awareness ,English etc.
Guest lecture of API Sanjay Thuge. was arranged by the college in collaboration with "Anandvan Rehabilitation Centre on account of Anti Narcotics Trafficking Day .
Workshop titled: SahasavednaJajrutiShibir: for girls students was arranged by Priyadarshni Yuvati Manch at "Apla Ghar" The workshop included a documentary on formation of the "AplaGhar".The founder chairman Mr.VijayPhalnikar shared the formation of the same. The chief guest Mrs.Nandini.Jadhav ExecutivePresident"AndhashradhaNirmulan"shared her expereinces with the experiment about the various Superstitions prevailing in the society.
A guest lecture on "Career as a Company Secretary".
The guest lecture of Mr.Prasad Pawar on "Assertive Communication Skills." was arranged under F.Y.B.com orientation .
Guest lecture on Tally ERP was arranged under F.Y.B.com orientation programmed .The guest speaker was Mr.Gajanan Phadake CEO Suyash academy..
Guest lecture of Mr.AnandMantri GYST Innovation Head on "Gateway to Great way" was organized under F.Y.B.com orientation Programmed.
Guest lecture of Prof. T.A.Satyanarayan on "Career Opportunities in Commerce in India and Abroad" was organized under F.Y.B.com orientation program.
Guest lecture of Mr.HrisikeshWagh (CS) on "Company Secretary as Career "was arranged under F.Y.B.com Orientation Programmed .93 students attended the same.
Guest lecture of Mrs.Vrushali.Joshi on "Career Opportunities in Cost and Works Accounting" was arranged under F.Y.B.com orientation programmed ,136 students attended the same.
Guest lecture of Mrs.Dhanashree Ghare on "Personality Enhancement "was arranged under F.Y.B.com orientation programmed, 119 students attended the same.
A workshop on "GST and Taxation Policy" was held on 15th September 2017. 103 students of T.Y.B.com attended the same.
Guest lecturer in collaboration with ISKON on "Stress Management "was held for,F.Y, S.Y and T.Y B.com students by Mr.AmberSayal 85 students attended the same.
Guest lecture on : Stress Management by Mr.Amber Sayal was arranged for F.Y./S.Y/T.Y B.com students in collaboration with ISKON.
A lecture on "Career Opportunities in Commerce "was arranged for S.Y/T.Y B.Com students the guest speaker was Ujjawal Nagar of Endeavour Institute .
Guest lecture was arranged for S.Y.B.com and T.Y.B.com students on "Communication Skills and Personality Development" by Jayashree Chougule from ITM Institute ,Mumbai.
Guest lecture was arranged for T.Y.B.com students on marketing Research. The resource person was research expert Dr.S.S.Pokharna.
Guest lecture on "Career Opportunities in Banking Sector ".
Guest lecture was arranged for T.Y.B.com students in collaboration with Times Pro in "Career Opportunities in Banking Sector ".The resource person was Mr.Prasad Munje.
Guest lecture was arranged for T.Y.B.com students on "An Overview of Taxation syllabus " by Mr.N.D.Apte.
Guest lecture was arranged for T.Y.B.com students on "Job Opportunities in Market and preparation required to enter in corporate" by MMCC Alumni association.
Guest lecture was arranged for T.Y.B.com students on "Workshop on Career opportunities after graduation" in collaboration with MM'sIMERT. The resource person Prof. SwapnilKharde and Prof.Praful.Sarangdhar.
A workshop on "UGC NET (JRF)/SET preparation "was arranged for the M.com students and faculty members.
Guest Lecture on "Business etiquettes" was organized where the guest speaker was Mrs. Riddhima Dua for FY BBA/BBA-IB Students.
Guest Lecture on "personality development "was organized where the guest speaker was Mr. Trilok Chander for Y BBA/BBA-IB Students.
Guest Lecture on "Youth Start-up" was held by Mr. Arpit Khurana organized for TY BBA/BBA-IB Students.
A guest lecture on "Soft skills and interview basics" was conducted by Ms. Mansi Karanjgaonkar for TYBBA TYBBA-IB students.
A guest lecture on "How to solve a case study"was conducted by Dr. Mukund Mate for TYBBA TYBBA-IB students.
A guest lecture on "Bombay stock exchange BSE" was conducted by Shridhar Kulkarni for SYBBA SYBBA-IB students.
A career guidance session on "how to crack competitive exams" was conducted by Dr. A.K. Sood for TYBBA TYBBA-IB students.


text:
CCF DONATES TO KASOA MOTHER AND CHILD HOSPITAL
in Health Check Series, News
Crime Check Foundation, CCF has supported the Kasoa Mother and Child Hospital with equipment to help improve the facility's service delivery.
Crime Check Foundation, CCF has donated medical equipment worth over Forty-Two Thousand Ghana Cedis to the Kasoa Mother and Child Hospital to help address the equipment challenges of the eighty-five bed capacity health facility.
The items which included 20 hospital beds and mattresses, 10 wheel chairs, 2 walking aids and 10 ceiling fans were provided through one of CCF's Holland based donors, Linda Owusu, to commemorate her birthday.
20 hospital beds and mattresses, 10 wheel chairs, 2 walking aids and 10 ceiling fans
Presenting the items, the Executive Director of CCF, Ibrahim Oppong Kwarteng, said it is necessary to support hospitals with equipment challenges to improve their service delivery, hence the donation. He said the items would ease the difficulties in their operations as it would bridge the bed gap in the hospital.
Executive Director, CCF, Mr. Oppong Kwarteng presenting the items
"We are supporting the hospital in response to cries by hospital authorities for support. A hospital without equipment cannot function effectively and that is why we deem it appropriate to respond to their needs." He said.
Mr. Kwarteng who doubles as the Ambassador Extraordinaire of Prisons, urged other organizations and agencies to emulate the gesture to complement the efforts of government in improving the healthcare delivery system. He pledged CCF's commitment to collaborate with the hospital to provide it with more support.
"This will not be the first and last time we are supporting you. We want to use this opportunity to appeal to all Ghanaians to rally around to offer their support. Government we know cannot do it alone, even in advanced countries, there is a problem with hospital infrastructure. COVID-19 has exposed all of us so we need to come together to support health institutions that require support. We want to form some sort of collaboration so that from time to time we would come to assist you." He said.
Receiving the items, the Acting Medical Superintendent of the Kasoa Mother and Child Hospital, Dr. Mekano David said the items will help relieve the hospital of some of its furniture challenges. He thanked CCF and Linda Owusu for the support which would help mitigate mother and child mortality. Dr. Mekano called on Ghanaians to cooperate with government to advance the healthcare system through their support.
Acting Medical Superintendent of Kasoa Mother and Child Hospital, Dr. Mekano David
"We have a lot of infrastructural challenges. As you have come out to show this kind gesture, we know it will go a long way to touch the hearts of other people who have the willingness to help put Ghana beyond aid. This shows that there are well meaning Ghanaians who want to make Ghana proud. We thank madam Linda Owusu who has donated these items and all those who have championed this course and remembered us at Kasoa. May every delivery translate into a blessing to her." He said
In honour of Linda Owusu, Staff of the hospital and those present at the ceremony in a chorus, sang a birthday song to wish her well.
A major concern by the hospital authorities is that, their operations are interrupted when there are power outages. Moreover, the hospital which has so far conducted about 200 surgeries lacks equipment especially beds to enable it operate in full capacity as most of its wards including the morgue are empty and covered with dust.
Kasoa Mother and Child Hospital
Crime Check Foundation, CCF is appealing to individuals and organizations to come to the aid of the hospital to get a power plant to enable it operate effectively in achieving its mandate of reducing maternal mortality.
CCF's Health Check Series is used not only to support poor individuals to get access to medical care but also seeks support for healthcare institutions who are struggling to deliver proper medical care because of lack of equipment.
BABY WITH 'BACK TUMOR'
MY BABY IS BURNT; PLEASE HELP


2020: Red or blue wave: who knows?
Last week I reviewed Michelle Obama's early years in Part I. As I noted, what many of those are ignoring is her tone in which she discusses her life experiences. In Part II, covering her marriage and time as First Lady, the negative tone doesn't change, and in fact becomes more apparent.
Well, her annoyance at him being late along with her skepticism didn't last long. In fact, we find out on page 99 that one of the reasons they bonded was because 'he was a brother, and in our office, which employed more than four hundred lawyers, only about five full-time attorneys were African American.' Thus when partners made, in Michelle's estimation, condescending remarks, she and Barry would give each other the side eye.
I'm sure the folks who were at Sidley & Austin during that time sure enjoyed finding out how Michelle REALLY felt about them.
Michelle pans his taste in clothes (which certainly didn't improve when he was President – mom jeans anyone?) and declares that he was too cerebral for her normal crowd of happy hour buddies. Yet they started dating anyway, and kept the relationship going after his return to Harvard.
She writes in Chapter 10 of the loss of her father and how that was finally the impetus to have her leave law and find something else. Which led to her first meeting with Valerie Jarrett, a job in Mayor Daley's office, and saying yes to Barack's marriage proposal.
Several things to note during the time period from their honeymoon to Barack's first run for President.
He blew the first book deal and had to return the $40,000 advance (p. 170), even though they were only making approximately $80,000 a year combined.
And then he ran for U.S. Senate plus gave a keynote speech at the DNC Convention in 2004.
Her first foray into navigating D.C. as a spouse of a Senator was confusing and disquieting or something.
And then Barack ran for President. By this time, Michelle had made it abundantly clear that she didn't like politics.
She made it very clear in her speeches and talks with folks in Iowa, (p. 236), even though the campaign didn't tell her what her script was actually supposed to be. But you see, she persisted and went along with Barack because he was smart and she didn't want to be selfish and small.
Which led to her explanation as to why the haters took one snippet of a speech "For the first time in my adult lifetime, I'm really proud of my country.," and blew it out of proportion. (p.260) Just as all the haters and bloggers were blowing out of proportion what Jeremiah Wright said during all his sermons, and that everyone is misunderstanding what her senior thesis was all about. She's certainly no fan of the late Christopher Hitchens (p. 263).
Needless to say, after an intervention of sorts, she and the campaign team of Valerie Jarrett and David Axelrod reinvented Michelle to make her softer and less severe. Plus give her talking points to explain away the pride comments.
And then Barack won. Immediately we have again, Michelle talking about being good enough and measuring herself against real or imaginary standards. How did she fix that? Numerous ways that included redecorating the White House to make sure it was less elitist and more open and planting a garden.
This is her observation at Obama's first SOTU.
The final four years of Obama's presidency are, according to Michelle, governed by inaction from the Republican Party along with everyone's refusal to pass more and more gun control laws in response to the violence in Chicago, Sandy Hook, and Charleston. She firmly believes that Michael Brown, Freddie Gray, and others were innocent and targeted by police. (p.396).
She infers that the hatred this country is dealing with is due in large part because of the refusal of all Americans to just accept that Barack and her really did know what this country needed, but none of us wanted to listen.
Michelle Obama makes it very clear in the last two chapters of her book that she will never ever be a fan of Donald Trump and that Hillary got robbed and that diversity as she defines it has taken a major step backwards.
There is much more of that throughout the book. So while Michelle Obama talks about becoming someone to be admired, she still lectures us all about how so much of this country is wrong because it's not diverse enough and it's too white.
She tried to tell us that her senior thesis was just misunderstood and that black separatism isn't what she's advocating for. Given the tone of this book, I don't think we nor Christopher Hitchens misunderstood it at all.
Well, you never should have changed your position about his hubris.
It must have been poorly lit if you missed those jug handles on the side of his head.
Uh huh. Of course, she might not be a good judge of smarts, given her thesis.
Well, that sort of hyperbole (and I'm being generous here) is already blown way out of proportion. So, it's a natural response, perhaps.
I have said all along that everything 0bama "believed" was what Jarrett put in his head. She was the puppet master to 0bama's marionette.
then makes an assumption that everyone was and will be judging her by the color of her skin.
She firmly believes that Michael Brown, Freddie Gray, and others were innocent and targeted by police.
Yet more evidence of her lack of smarts (at least a lack of critical thinking skills).
No hubris there. None, at all. Nuhuh, no sirree, not a bit.
Well, yeah, she's a scold. That's what she does.
Well, I don't think it necessarily is. Like many who seek revenge, she's about achieving power over those she perceived as slighting her. She doesn;t want separate but equal, she wants more than equal.
She's not as nasty a piece of work as Kamal Harris, imo. Nor as Hillary. But she's still an arrogant, vengeful, racist scold who doesn't have the brainpower to light a candle instead of cursing her darkness.
She didn't want to go to the white elite U of Chicago so she went to the white elite Princeton and then scolded them for being white elitists! There were plenty of historically black colleges she could have attended. But I guess if you wanted to be continually pissed off about being black that wasn't an option.


text:
Q: Сравнение чисел в массиве Java. Некорректно сравнивает отрицательные числа
*

*Нужно сравнить числа в массиве и вывести на экран самое большое. Код это делает.

*Проблема: некорректно сравниваются отрицательные числа. Не пойму почему.

*Если максимальных чисел несколько, нужно вывести на экран.

Помогите разобраться, пожалуйста.
    public static void main(String[] args) throws Exception
    {
        InputStream inputStream = System.in;
        Reader inputStreamReader = new InputStreamReader(inputStream);
        BufferedReader bufferedReader = new BufferedReader(inputStreamReader);

        int [] array = new int[4];
        int max = 0;
        int eq = 0;
        for (int i = 0; i < 4; i++) {
            array[i] = Integer.parseInt(bufferedReader.readLine());
        }

        for(int i = 0; i < 4; i++) {
            if (Math.abs(array[i]) > max){
                max = array[i];
            }
        }
        System.out.println(max);
    }

A: Проблема заключается в этом блоке кода
        if (Math.abs(array[i]) > max){
            max = array[i];
        }

Вы сравниваете абсолютную величину элемента array[i] с не абсолютной величиной переменной max. Я предполагаю, что вы ищите в массиве элемент по максимальному абсолютному значению. Иначе, вообще, не понятно, почему вы используете метод abs.
По крайней мере вам следовало бы написать
        if (Math.abs(array[i]) > Math.abs( max ) ){
            max = array[i];
        }

Кроме того данный алгоритм обычно выполняется следующим образом.
Сначала max кладется равной значению array[0]. Затем используете цикл, начиная со счетчика цикла, равного 1.
Вот минимальная демонстрационная программа, которая показывает, как найти максимум по абсолютной величине и просто максимум.
import java.util.*;
import java.lang.*;
import java.io.*;

class Ideone
{
    public static void main (String[] args) throws java.lang.Exception
    {
        int[] array = { -100 , -5, 80, 999, 666, -3333 };

        int max_abs = array[0];
        int max = array[0];

        for ( int i = 1; i < array.length; i++ )
        {
            if ( Math.abs( max_abs ) < Math.abs( array[i] ) )
            {
                max_abs = array[i];
            }

            if ( max < array[i] )
            {
                max = array[i];
            }
        }

        System.out.println( "Absolute maximum value is " + Math.abs( max_abs ) );
        System.out.println( "Maximum value is " + max );
    }
}

Вывод программы на консоль:
Absolute maximum value is 3333
Maximum value is 999

Сравните полученные результаты.
Что касается данного пункта

3.Если максимальных чисел несколько, нужно вывести на экран.

то следует поместить его в отдельный вопрос. То есть в одном вопросе разберитесь с отрицательными числами, а в другом вопросе решайте уже совершенно другую проблему, предоставив соответствующий код, и указав, что у вас не получается. Скорей всего вам потребуется использовать ArrayList для этих целей.

A: По ваше логике вы сравниваете модуль числа с числом, что не есть хорошо. присвойте переменной max значение array[0];  и в сравнении начиная от i=1, сравнивайте элементы
PS. При присвоении 0 элементу значения  первого Элемента массива , вы решите проблему с отрицательными числами

redpajama_set_name: RedPajamaStackExchange


Home > Community > Birth Month > February 2019 Babies > Not Eating enough?
im 17 weeks today and I feel like I don't eat enough. Now, before I was pregnant I've always been slim. So I never had a problem with weight maybe bcus of my fast metabolism, but I really dont know what to do. i wanna make sure im gaining healthy weight for me and tge bany. someone help? any tips or advice?
Eat three meals a day plus two snacks. Try to eat a wide variety of vegetables and fruit. Make sure you are having protein and dairy. You should aim for 300-500 extra calories a day for baby. If your hungry, eat.
I'm 18 weeks today and I've only gained like 3 pounds. I don't eat that much either. I'm always busy, or just not hungry. My doctor isn't concerned at all. Everyone is different. I think it all depends on what your body is used to.
You need to eat the equivalent of 2 extra pieces of bread a day. Nothing too drastic.
I also feel like I don't eat enough. I eat every few hours but I eat about half of what I normally would have before I was pregnant. I have lost weight since I found out I was pregnant and my doctor doesn't seem concerned.
I can't eat dairy, gluten or chocolate due to food intolerances. So, what is recommended in general doesn't work for everyone. Just eat.
So I lost 7kgs btwn wk 5 and wk 13, but my dietician wasnt too concerned because I was vomiting all day everyday. She gave me suggestions to add more fat and sugar to my diet. ( i used to eat a diary free gluten free and almost meat free diet n no white stuff sugar pasta or bread- have lactose intolerance and eczema) But for the baby I had to let all that go. She recommended i drink at leaat 1 glass of juice a day, 9% liberte Mediterranean yoghurt, more oil with salads n cooking, chicken with the skin on it, nuts in my cream of wheat or yoghurt.
So far its worked, Im up almost 3 lbs in almost 2wks.
Has your doctor mentioned that they are concerned?
Is My Toddler Eating Enough? It's hard enough to get your toddler to sit still for meals, let alone keep track of how much he eats! But there are easy guidelines to help you figure out if your toddler is getting the nourishment he needs.
Not Gaining Enough Weight During Pregnancy For once, it's not only okay to pack on the pounds — but vital. If you're having trouble putting on enough, here's how to ramp up your gain.


text:
Michael Pollan on the Links Between Biodiversity and Health
Author Michael Pollan has often written about people's relationship to the natural world. In a Yale Environment 360 interview, he talks about researching his latest book and what he learned about the connections between ecology and human health.
By Jack Hitt • May 28, 2013
It was an odd paradox that led author Michael Pollan to write a book about cooking: How was it, he wondered, that in an era when Americans were buying more and more pre-packaged, ready-to-eat food, they were spending more time watching programs about cooking on television?
That question led to his new book, Cooked, which like his previous books, delves into issues relating to the connections between the environment and what we eat, and, more broadly, to humanity's relationship to the natural world. Pollan argues that taking control of cooking may be the single most important step an individual can take to help make the American food system healthier and more sustainable.
Michael Pollan. FRAN COLLIN
In an interview with Yale Environment 360 contributor Jack Hitt, Pollan talked about how his research led him on a journey that ranged from the monoculture fields of U.S. commodity agriculture to the bacterial world inside the human body. And he noted the fundamental importance of biodiversity — in the landscape and the farm field, as well as in people's diets. "This may prove to be the key legacy of ecology — what it teaches us about health," Pollan said. "Who would have thought?"
Yale Environment 360: In your new book, Cooked, you head to the stove, where previously you had been in the garden or the feed lot or a cornfield. Has taking your observations indoors changed the way you think about the big outdoors?
Michael Pollan: I would say it has. Like most journalists I tended to gravitate toward exotic places, places my reader hadn't been — like the feedlot or the laboratory. That's one of the things we do — we're kind of these designated inquirers. And it was my experience on the feedlot and other sites of industrialized agriculture that sent me into the kitchen. Because I came to realize that the way we cook, or whether we cook or not, or who's doing the cooking, is creating that other landscape. And it really was the industrializing of cooking — which we call food processing, done by corporations, of course — which drove the industrialization of our farming.
It's McDonald's that gives us the giant monocultures of Russet Burbank potatoes that I wrote about in Botany of Desire, or the feed lots that I wrote about in Omnivore's Dilemma. And I came to realize that you couldn't understand those landscapes without reference to these everyday decisions we make about whether we're going to cook or whether we're going to go out to McDonald's. That they were linked. I never expected to write a book about a landscape as familiar as my kitchen, or anyone's kitchen. But that's of course the great lesson of ecology — these things are connected.
e360: Recently you've described yourself as a "superorganism." What do you mean?
Pollan: One of the byways of this book was learning about fermentation, and meeting these "fermentos" as I call them — these passionate fermentation geeks who have a completely different relationship to bacteria than most of us do. And they taught me a different way to think about bacteria. Learning about these external fermentations, whether you're talking about tea or beer or bread, very quickly gets you into its mirror image, which is the fermentation within, the fermentation in your own large intestine, and what those bacteria are up to.
That's of course the great lesson of ecology — these things are connected."
So I followed this path into the microbiology of the gut and was amazed to learn that first, we are only 10 percent human, if you're counting cells, and 90 percent bacterial. And those bacteria have a profound impact on your health, on your mood, on your immune system, on your metabolism, and whether you're going to become infected by bad bacteria or not. And it turns out that health — which we think of as a property of us, the human cells in our body — turns out to be a collective property of the whole community. That community consists of these microbes. You can't be healthy if they're not"¦ That's a radical rethinking of who we are.
e360: At one point you referred to "the impoverished westernized microbiome," and you posed the question of whether the human body needs what some microbiologists call "restoration ecology." So you're applying environmental metaphors to the human body. How might this kind of language make us think in a new way about our bodies?
Pollan: I think when you bring the concepts of ecology into your body, that's a revolutionary new paradigm for medicine and for the philosophy of human identity. It breaks down the "us and them" attitude we bring to nature. It's a very direct implication of the natural world in the body. We know when we eat we're always taking nature into us. But the idea that we're a host to an ecological community and that that ecological community is obviously shaped by what's going on in the world — whether we're talking about toxins, antibiotics — you're really breaking down that barrier between us and nature out there. Nature is passing through us. I didn't tease out these implications, but I think it does have important implications for how you think about nature. It definitely brings it home.
e360: And also how you think about what you eat?
Pollan: Yes. If it doesn't necessarily change your diet, it does change your attitude toward the various chemical compounds that poison this environment. We've understood that feeding antibiotics to livestock is a public health risk because of the rise of superbugs and antibiotic-resistant microbes, and that's the reason people have campaigned to remove them. But it turns out there's another reason to remove them, and that is that these antibiotics are poisoning and cutting down on the biodiversity inside you. So there are implications of knowing this that go beyond diet.
"I was struck by how many microbiologists were concerned about very common food additives."
e360: How was it that scientists recently came to start talking about the human microbiome?
Pollan: There are two tools that have allowed for this wilderness to be explored. One is this new sequencing technology. But the other was theories of ecology. It was when scientists began thinking, "Hey, what if we ask the questions that ecosystems scientists ask?" Which was radical for medicine. Medicine doesn't usually think that way. And that really opened it up. And they started using terms like community dynamics and invasion resistance. And exotic species. And resilience. So there was an intellectual tool and there was a technical tool. And they were both required to make the breakthroughs we're starting to make.
e360: Wow, that's cool. So there really was a kind of theoretical borrowing?
Pollan: Yes. And this may be prove to be a key legacy of ecology — what it teaches us about health. Who would have thought?
e360: What might the last 50 years of environmental action policy and environmental education teach us as we begin to discover the Amazonian rainforest that resides in our gut?
Pollan: We know that we're connected and that there are links between soil and health, and water and health. This is just another way to draw those links.
"If you damage the biodiversity enough, the various genes you need to cope will not be there."
I was really struck by how many of the microbiologists were concerned about very common food additives. Xanthan gum and polysorbate 80, these emulsifiers, which seem like one of the least toxic of food additives — these are just chemicals that allow water and oil to be held in solution so they don't come apart. And if you're making processed food, that's really important because it looks really nasty when the sauce in your frozen, I don't know, beef Stroganoff, starts separating.
These [emulsifiers] are very important in processed food. But it turns out that they may be damaging the lining of the gut. And that's not what the FDA [U.S. Food and Drug Administration] ever tested for… So we really have to rethink toxicology in light of the microbiome.
e360: These microbes evolve really, really fast. As you point out, some of them take 20 minutes a generation. That's crazy — it's so at odds with everything we know about life out here on the megafauna scale of existence, where evolution is slow, really slow. Is there any evidence that this microbial speed will advantage us in some way as we all adapt to say global warming?
Pollan: One of the questions I've struggled with in writing about the gut and writing about fermentation in the book is how weird it is to outsource very important functions of life to microbes and not have evolved our own systems for dealing with metabolism, temperament, immunity. I mean, it is a huge outsourcing of a critical life function.
One case I thought was absolutely fascinating is this difference in the gut of Japanese people and Americans. There's a very common bacteria that we all share, that all humans have in their gut, and it's involved in digesting polysaccharides of complex carbohydrates and plants. And the Japanese version of it has a gene that allows it to break down seaweed that we can't break down. When you eat seaweed in a Japanese restaurant, you're not getting the nutritional value from it that a Japanese person is getting. And they actually traced the source of that gene, and it came from the bacteria that hang out on seaweed in the ocean. In other words, the bacteria who first learned how to digest seaweed. Through the eating of enough seaweed, this bacteria that is common in the gut of the Japanese borrowed this bit of genetic information and uses it now to digest seaweed. And so now it's a permanent part of the genome of that bug.
"I still feel that the great evil of American agriculture is monoculture."
There's an example of how the microbiome evolved to take advantage of a change in the environment — i.e., Japanese eating of seaweed — probably because they needed to. And the same thing is true with, say, dealing with a new toxin, detoxifying, and other changes in our environment. It's kind of evolution on fast forward. That's probably critical to our ability to adapt to change, and it may become more critical as we face more rapid and radical environmental changes.
e360: You've written in the past about arguments over preserving "pristine" nature or humans intervening to "garden" nature. How does that apply the human microbiome?
Pollan: Well, if you want to adjust to changes in the environment, you need the genetic resources. This ability to adapt probably depends on high levels of biodiversity, and that's precisely what we have damaged with the Western diet and the Western overuse of antibiotics and other antimacrobials. As scientists have pointed out to me, if you damage the biodiversity enough, the various genes you need to cope will not be there. And the microbiome will come up empty-handed in meeting the challenges it faces.
So that's an argument for restoring the biodiversity of the gut, gardening it, if you will, introducing more species. That may turn out to be the value of these pristine microbiomes, that the genetic resources we need may exist there. We may have to culture those and reintroduce those. We don't know enough to say exactly how to garden the microbiome, but we may need to. We may need to just give it enough biodiversity to be resilient to change. And you see, I'm using all the words we use when we're talking about a farm or any land.
e360: So now that you're very intimate with the alchemy of cooking and fire, water, air, and earth, how would you change America's farm policy if you could, right now?
Pollan: Well, I would try to create incentives that drive diversification. I still feel that the great evil of American agriculture is monoculture. It really does contribute to so many problems at the level of the field and the pests, but also at the level of the diet. The thing you learn is the importance of diversity in what you eat, and to the extent you would drive diversity [in farm policy] you would also be creating raw materials for cooking rather than raw materials for processed food, which are mostly corn and soy.
I love this term "specialty crop." That's what the USDA [U.S. Department of Agriculture] lingo is for anything you grow that you could actually eat — fruits and vegetables. Corn and soy and rice and wheat, these are commodity crops — in the case of rice you do eat it directly, but everything else has to be heavily processed first. Right now, we actually have laws that prohibit farmers receiving subsidies to grow commodity crops from growing specialty crops. They get fined. If you're growing corn and soy, and you want to put in 20 acres of tomatoes because somebody's doing some local canning deal in your county and you want to get in on it and diversify, you get fined. I know farmers who have been fined forty or fifty thousand dollars for doing that. That's unconscionable. We should be encouraging farmers to diversify, for both economic and ecological reasons.
Jack Hitt, who conducted this interview for Yale Environment 360, is a contributing writer to the New York Times Magazine and author of the book, Bunch of Amateurs: A Search for the American Character. He is an occasional contributor to the public radio program, "This American Life" and his writing has appeared in Harper's, Rolling Stone, Wired, and The Best of the Best of American Science Writing. More about Jack Hitt →
Join the conversation: Michael Pollan on the Links Between Biodiversity and Health Show comments →


text:
#pragma once
#include <aws/personalize/Personalize_EXPORTS.h>
#include <aws/personalize/PersonalizeRequest.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/personalize/model/MetricAttributionOutput.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/personalize/model/MetricAttribute.h>
#include <utility>

namespace Aws
{
namespace Personalize
{
namespace Model
{

  /**
   */
  class AWS_PERSONALIZE_API UpdateMetricAttributionRequest : public PersonalizeRequest
  {
  public:
    UpdateMetricAttributionRequest();

    // Service request name is the Operation name which will send this request out,
    // each operation should has unique request name, so that we can get operation's name from this request.
    // Note: this is not true for response, multiple operations may have the same response name,
    // so we can not get operation's name from response.
    inline virtual const char* GetServiceRequestName() const override { return "UpdateMetricAttribution"; }

    Aws::String SerializePayload() const override;

    Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;

    /**
     *
Add new metric attributes to the metric attribution.

     */
    inline const Aws::Vector<MetricAttribute>& GetAddMetrics() const{ return m_addMetrics; }

    /**
     *
Add new metric attributes to the metric attribution.

     */
    inline bool AddMetricsHasBeenSet() const { return m_addMetricsHasBeenSet; }

    /**
     *
Add new metric attributes to the metric attribution.

     */
    inline void SetAddMetrics(const Aws::Vector<MetricAttribute>& value) { m_addMetricsHasBeenSet = true; m_addMetrics = value; }

    /**
     *
Add new metric attributes to the metric attribution.

     */
    inline void SetAddMetrics(Aws::Vector<MetricAttribute>&& value) { m_addMetricsHasBeenSet = true; m_addMetrics = std::move(value); }

    /**
     *
Add new metric attributes to the metric attribution.

     */
    inline UpdateMetricAttributionRequest& WithAddMetrics(const Aws::Vector<MetricAttribute>& value) { SetAddMetrics(value); return *this;}

    /**
     *
Add new metric attributes to the metric attribution.

     */
    inline UpdateMetricAttributionRequest& WithAddMetrics(Aws::Vector<MetricAttribute>&& value) { SetAddMetrics(std::move(value)); return *this;}

    /**
     *
Add new metric attributes to the metric attribution.

     */
    inline UpdateMetricAttributionRequest& AddAddMetrics(const MetricAttribute& value) { m_addMetricsHasBeenSet = true; m_addMetrics.push_back(value); return *this; }

    /**
     *
Add new metric attributes to the metric attribution.

     */
    inline UpdateMetricAttributionRequest& AddAddMetrics(MetricAttribute&& value) { m_addMetricsHasBeenSet = true; m_addMetrics.push_back(std::move(value)); return *this; }

    /**
     *
Remove metric attributes from the metric attribution.

     */
    inline const Aws::Vector<Aws::String>& GetRemoveMetrics() const{ return m_removeMetrics; }

    /**
     *
Remove metric attributes from the metric attribution.

     */
    inline bool RemoveMetricsHasBeenSet() const { return m_removeMetricsHasBeenSet; }

    /**
     *
Remove metric attributes from the metric attribution.

     */
    inline void SetRemoveMetrics(const Aws::Vector<Aws::String>& value) { m_removeMetricsHasBeenSet = true; m_removeMetrics = value; }

    /**
     *
Remove metric attributes from the metric attribution.

     */
    inline void SetRemoveMetrics(Aws::Vector<Aws::String>&& value) { m_removeMetricsHasBeenSet = true; m_removeMetrics = std::move(value); }

    /**
     *
Remove metric attributes from the metric attribution.

     */
    inline UpdateMetricAttributionRequest& WithRemoveMetrics(const Aws::Vector<Aws::String>& value) { SetRemoveMetrics(value); return *this;}

    /**
     *
Remove metric attributes from the metric attribution.

     */
    inline UpdateMetricAttributionRequest& WithRemoveMetrics(Aws::Vector<Aws::String>&& value) { SetRemoveMetrics(std::move(value)); return *this;}

    /**
     *
Remove metric attributes from the metric attribution.

     */
    inline UpdateMetricAttributionRequest& AddRemoveMetrics(const Aws::String& value) { m_removeMetricsHasBeenSet = true; m_removeMetrics.push_back(value); return *this; }

    /**
     *
Remove metric attributes from the metric attribution.

     */
    inline UpdateMetricAttributionRequest& AddRemoveMetrics(Aws::String&& value) { m_removeMetricsHasBeenSet = true; m_removeMetrics.push_back(std::move(value)); return *this; }

    /**
     *
Remove metric attributes from the metric attribution.

     */
    inline UpdateMetricAttributionRequest& AddRemoveMetrics(const char* value) { m_removeMetricsHasBeenSet = true; m_removeMetrics.push_back(value); return *this; }

    /**
     *
An output config for the metric attribution.

     */
    inline const MetricAttributionOutput& GetMetricsOutputConfig() const{ return m_metricsOutputConfig; }

    /**
     *
An output config for the metric attribution.

     */
    inline bool MetricsOutputConfigHasBeenSet() const { return m_metricsOutputConfigHasBeenSet; }

    /**
     *
An output config for the metric attribution.

     */
    inline void SetMetricsOutputConfig(const MetricAttributionOutput& value) { m_metricsOutputConfigHasBeenSet = true; m_metricsOutputConfig = value; }

    /**
     *
An output config for the metric attribution.

     */
    inline void SetMetricsOutputConfig(MetricAttributionOutput&& value) { m_metricsOutputConfigHasBeenSet = true; m_metricsOutputConfig = std::move(value); }

    /**
     *
An output config for the metric attribution.

     */
    inline UpdateMetricAttributionRequest& WithMetricsOutputConfig(const MetricAttributionOutput& value) { SetMetricsOutputConfig(value); return *this;}

    /**
     *
An output config for the metric attribution.

     */
    inline UpdateMetricAttributionRequest& WithMetricsOutputConfig(MetricAttributionOutput&& value) { SetMetricsOutputConfig(std::move(value)); return *this;}

    /**
     *
The Amazon Resource Name (ARN) for the metric attribution to update.

     */
    inline const Aws::String& GetMetricAttributionArn() const{ return m_metricAttributionArn; }

    /**
     *
The Amazon Resource Name (ARN) for the metric attribution to update.

     */
    inline bool MetricAttributionArnHasBeenSet() const { return m_metricAttributionArnHasBeenSet; }

    /**
     *
The Amazon Resource Name (ARN) for the metric attribution to update.

     */
    inline void SetMetricAttributionArn(const Aws::String& value) { m_metricAttributionArnHasBeenSet = true; m_metricAttributionArn = value; }

    /**
     *
The Amazon Resource Name (ARN) for the metric attribution to update.

     */
    inline void SetMetricAttributionArn(Aws::String&& value) { m_metricAttributionArnHasBeenSet = true; m_metricAttributionArn = std::move(value); }

    /**
     *
The Amazon Resource Name (ARN) for the metric attribution to update.

     */
    inline void SetMetricAttributionArn(const char* value) { m_metricAttributionArnHasBeenSet = true; m_metricAttributionArn.assign(value); }

    /**
     *
The Amazon Resource Name (ARN) for the metric attribution to update.

     */
    inline UpdateMetricAttributionRequest& WithMetricAttributionArn(const Aws::String& value) { SetMetricAttributionArn(value); return *this;}

    /**
     *
The Amazon Resource Name (ARN) for the metric attribution to update.

     */
    inline UpdateMetricAttributionRequest& WithMetricAttributionArn(Aws::String&& value) { SetMetricAttributionArn(std::move(value)); return *this;}

    /**
     *
The Amazon Resource Name (ARN) for the metric attribution to update.

     */
    inline UpdateMetricAttributionRequest& WithMetricAttributionArn(const char* value) { SetMetricAttributionArn(value); return *this;}

  private:

    Aws::Vector<MetricAttribute> m_addMetrics;
    bool m_addMetricsHasBeenSet = false;

    Aws::Vector<Aws::String> m_removeMetrics;
    bool m_removeMetricsHasBeenSet = false;

    MetricAttributionOutput m_metricsOutputConfig;
    bool m_metricsOutputConfigHasBeenSet = false;

    Aws::String m_metricAttributionArn;
    bool m_metricAttributionArnHasBeenSet = false;
  };

} // namespace Model
} // namespace Personalize
} // namespace Aws

redpajama_set_name: RedPajamaGithub


These are the key characteristics that define Wilshire Fund, Inc and the reason it has been successful for many years in the California private lending industry.
Wilshire Fund, Inc, has been offering private lending solutions serving all of California. Specializing in investments properties both residential and commercial loans. Our dedicated staff has years of combined real estate experience in the loan brokerage and Real Estate consulting. We provide fast turn-around and quality service to all of our borrowers regardless of the loan amount.
Wilshire Fund, Inc, has made a substantial amount of financing of real estate loans all over Southern California on all types of properties with loan amounts ranging from $200,000 to $15, 000,000. Since real estate tends to represent the single largest investment most people will ever make, it is vital that every borrower secure the best available financing for the best terms possible. We understand that every borrower has different needs, every property is unique, and that each lender has their own unique rules and programs which can be confusing. We help you navigate and explain all aspects of the process so that you can make an informed decision and to help you get the best loan. Our dedication, knowledge, and experience allow us to obtain the best possible rates for our borrowers and as a result, many borrowers come to us for subsequent loans.
WILSHIRE FUND INC.® A Registered Trademark - BORROWERS AND PROPERTIES MUST QUALIFY. CONDITIONS AND RESTRICTIONS MAY APPLY.
"Wilshire Fund, Inc" is a register trademark - All rights reserved.


text:
Sudan state TV says armed forces to make important announcement soon
KHARTOUM, April 11 (Reuters) - Sudan state television said on Thursday that the country's armed forces would make an important announcement soon as state radio played patriotic music.
The development comes after months of protests against President Omar al-Bashir's 30-year-old rule in the African country of 40 million people. (Reporting by Khalid Abdelaziz and Mohamed El Sherif, writing by Sami Aboudi; Editing by Simon Cameron-Moore)


text:
Q: How to improve Rxjs statement? I have the following Rxjs statement:
    const versionsRequest2$ = (num: string) =>
        request2$(num).pipe(
            map((versions) => {
                const p = new P();
                p.setVersions(versions);
                return p;
            }),
        );

How to improve map() statement? I dislike, I have tried to create instance of class and fill it by data from response.
I can improve this using:
map((versions) =>  new P().setVersions(versions)),

If constructor P and setVersions returns this inside

A: You could write a constructor for P that accepts a versions argument. Then you can just do:
const versionsRequest2$ = (num: string) =>
  request2$(num).pipe(
    map((versions) => new P(versions)),
  );


Magistrali Shopping Centre is home to 65 different stores and service outlets. There are also places to eat and drink, a bank, a mobile phone company, a post office, a laundrette and a pharmacy.
The biggest store in the shopping centre is the Rimi supermarket, which has recently been redesigned and is bigger and brighter - and offers more choice - than ever before.
The centre's atrium plays host to concerts and performances every weekend in association with the Kaja Cultural Centre.


Doug Perrine and Brandon Cole decided to jump into the Pacific off Mexico's Baja California peninsula to photograph marlin feeding on a massive school of sardines. With fisherman overhead and frenzied marlin below, the two men were in for more than they had bargained for when suddenly Perrine's body is bounced off the lower extended jaw of a massive Bryde's (pronounced Bree-dah's) whale taking a big gulp of sardine and seawater.
This 50 feet long whale is one of the least studied whales. Click here to learn more about their dive and more about the whales.
August 17, 2015 in Exploration, Main Page, Science.


text:
Four Million Computers Can Be Wrong!
By John Merrow
Our society uses the computer as its central tool for communicating and creating knowledge. Public schools do not. Most public schools misuse computers, and some cannot use them at all. Three significant obstacles stand in the way of the technological revolution schools desperately need: inappropriate teaching methods, stereotyping of students, and obsolete facilities.
"We have to teach children about computers. After all, computers are the future." The teacher's voice trembled slightly, and for a minute I was afraid she was going to cry. We were sitting in her 5th-grade classroom in an elementary school in the Queens borough of New York City, finishing an interview for a PBS documentary on technology. Her emotion notwithstanding, her comments were misguided in two important ways.
First, I doubt if she has to teach her students about computers; in all likelihood they already know more about modem technology than she does. That "bank deposit" approach to teaching (teacher as "depositer" of knowledge into students) may have been appropriate years ago, but it is certainly obsolete today, particularly where technology is concerned.
She was upset because her class's ambitious project, a multimedia yearbook, was stalled in midstream, because the itinerant instructor who had been visiting her school regularly had been laid off. The teacher felt abandoned. "I know there's lots of information, like the folk songs the children recorded at home, in this computer, but I don't know how to get it. And now I'll never learn."
Sadly, it had not occurred to her to ask her students, because that's not the way she had been taught to teach. But teachers won't survive, and school will become increasingly irrelevant, if teachers don't change their style of teaching.
Her second statement, "Computers are the future," is also incorrect. Computers are the present, and that's a fact. The high-tech, information-age parade is well under way. We're living in the digital age now ... can you even remember when you had to wait in line at the bank to get some cash? Everywhere we go today--offices, shops, hotels, the supermarket, the dry cleaner, and banks--technology is there.
Schools haven't joined the parade. For years they've used computers as a management tool, largely ignoring its remarkable capacity for creating knowledge and stimulating learning.
Technology has been promising to revolutionize education for years, but none of those promises have been kept. Thomas Edison's film projector was introduced in 1896 with the promise that it would make school so attractive that "a big army with swords and guns couldn't keep boys and girls out of it." That didn't happen.
Then came "radio schools of the air" in the 1930's. Enthusiasts predicted this new technology would soon "be as common in the classroom as the blackboard." Wrong again.
In the 1950's it was television's turn to promise a revolution in the way children learn. But that promise was also broken.
New technology--and new promises--kept coming throughout the 1960's: language labs, teaching machines, 8mm filmstrips, large-screen multimedia presentations, and finally the earliest computers. All those promises notwithstanding, not much has changed. Schools still look pretty much the same.
Remember Vice President Gore's clarion call: "We now have a new generation of educational hardware and software that can really make a revolutionary difference in the classroom, and it's time to use it."
The new technology the Vice President was talking about is built around the modern, high-speed computer, and includes modems, cd-rom's and the Internet, the worldwide computer network. This technology is fundamentally different from yesterday's slide projector or filmstrip. Those were one-dimensional tools, the schoolhouse equivalent of a hammer.
Think of it this way: A hammer can increase your ability to drive in nails, but that's it. It's just a tool for your hand. It cannot tell you where to drive in the nails, or which size nails to use, or whether they're going in straight. A hammer can't design a house, or work out a table of mortgage payments you'll have to make to pay for the house. The computer, a tool for your mind, can do all these things, and more.
Of course the computer can be used as a simple tool: to practice math skills, or for word processing. But students using computers can also design cities, compose their own music, or browse through a library in Japan or London. Students not only learn more, but, using the computer, they can also create their own knowledge. Quite naturally, they take ownership of what they create, and become more interested, more motivated learners.
Most students, unfortunately, don't get to do all those exciting things in school, but that's not because schools don't have computers--they have four million of them. Public schools have been buying computers for a dozen years or more, using them to drill students, and to keep track of grades and attendance. Most of the computers in schools today are out-dated, incapable of running today's complex computer programs. Schools are now buying more powerful machines, but they still have trouble keeping up with their students. As Linda Roberts, U.S. Secretary of Education Richard W. Riley's technology adviser, says: "Kids come to school today very much in tune with computers, video, the electronic games. They know that world."
Most teachers--like that 5th-grade teacher in Queens--do not know the world of computers, because from the very beginning, schools have kept computers in the administrators' offices and in special "laboratories." That unfortunate policy has kept teachers away from technology, kept them technologically illiterate.
Even today, schools provide little in the way of help for teachers who are unfamiliar with computers. Fewer than half of the schools in this country report having a basic computer class available for teachers, but formal training isn't essential if teachers see themselves as learners. Jill Livoti had had almost no exposure to computers when she was hired to teach at a middle school in Columbia, S.C., last year. Her principal told her, "Relax, let the kids show you." She describes what happened:
"When we started on our first computer project, I said, 'I'm not all that familiar with this, so if you have some ideas please come to me and we will work something out.'"
And her students, how have they reacted?
"They love the fact that I don't know too much about it, because they love to teach me, and it's fun for me because they really are good teachers. Some kids aren't as strong on the computer as others, and it helps when they see that I'm learning too. It's not as intimidating for them."
Ms. Livoti is comfortable with the idea of teacher-as-learner. "I think it's important for children to know that a teacher doesn't know everything," she says. "With technology changing and knowledge expanding, teachers have to understand that there is absolutely nothing wrong with not knowing. What's sinful is not seeking to know, or not caring."
Other capable teachers deliver the same message. Yvonne Andres, a teacher in San Diego, expresses it this way: "We're all in this together, and if we don't start learning side by side, it's going to pass us by. I think it's a very sharing, symbiotic relationship."
And Carla Shutte, an elementary school teacher in Arlington, Va., adds: "I don't have to be the one who is the giver of all knowledge, the adult who knows it all. I realize that technology and knowledge are changing daily, and so we're learning side by side."
Giving up control may be the first step. As Ms. Andres says: "What I do, really, is model for them. So when we have a new piece of hardware or software, we attack it together. And they watch me learning. And they learn problem-solving skills and trouble-shooting skills. And sometimes they learn it first, and they teach me. And that's great."
She's right, of course. Young people enjoy being challenged, particularly when the work is meaningful. One middle school student compared two of his classes: "It's sort of like going from the future to the Stone Age. We have all these computers in this class, and it's really fun, because you get to explore on the computers and you know what you're doing half the time, the other half you're just exploring. But when the bell rings, it's back to the Stone Age. You just sit there and work in the book for 30 or 40 minutes, and you're just so bored of it that you want to scream and leave."
A second obstacle that must be overcome is the persistent stereotyping of children that has led to very different uses of technology for poor and well-to-do children.
Basically, schools use technology to control disadvantaged students. Many schools in poor neighborhoods have computer laboratories equipped with drill-and-practice tutorial programs called integrated-learning systems. Students sit in front of these computers and follow the programmed routine, typing in answers to problems like "12 + 4 - 2 =?" Critics call this the "drill and kill" approach, and it would be hard to find a student who would disagree.
In contrast, in many suburban schools, students are likely to be able to manipulate computers, databases, spreadsheets, and drawing programs--all of which allow them to create. They are able to express themselves and their thoughts and share that information with each other.
In other words, middle-class students are using technology in ways that will make them controllers of their lives, while poor children are being denied that power. Practices like these serve to divide our society. They also contradict our American myth of public education as the great equalizer, the road to advancement.
Outsiders often assume that lack of money is a major obstacle to a technological revolution in schools, but that is not correct. Last year schools spent $2.4 billion on technology--computers, laser discs, cd-rom drives, and the like. Advance planning must not be our educators' strong suit, because all too often someone discovers that they can't run their new equipment without blowing a fuse or burning down the building.
Sad to say, school buildings themselves are a major obstacle: Around 31 percent of our public schools were built before World War II. Another 43 percent went up almost overnight during the baby boom of the 50's and 60's. These are yesterday's buildings, but they're trying to run today's technology. James Mecklenburger, the president of the Global Village Schools Institute, notes: "You're dealing with buildings that were built in the 1870's and the 1910's and the 1940's when the electrical connections that you needed were likely to be one or two plugs for a classroom, if that. There was no thought of telephone systems or other kinds of electronic connections."
When the two worlds meet, bad things can happen. Clark High School in New Orleans caught fire and burned last April when the demand for power to run the new computers caused a short circuit. In New Orleans, which has 124 public schools, the average school is 55 years old, and the basic wiring inside can't satisfy technology's thirst for electricity. In fact, only 10 of that city's public schools are properly wired for, and equipped with, today's technology.
Kenneth DuCote, the director of facilities for the schools in New Orleans, feels students are being shortchanged. "We have gone in the last 200 years through a tremendous shift in society. We were an agricultural society where the main power base was in land. Then we went to an industrial society where the main power base was in capital and money. Now we're in the information age where knowledge and access to technology determines power, and our schools don't have the electrical power to give our kids the power they'll need to succeed."
Mr. DuCote took me to schools with fully equipped computer labs that have remained locked and unused for two years because the schools' wiring was inadequate. Those years represent lost opportunities for young people.
Recent federal legislation authorized money for facilities repair and upgrading, but the amount set aside, $100 million, is woefully short of what's needed--billions, not millions.
In the past, schools have resisted technology successfully, but that's no longer possible. Our children swim in a sea of technology outside of school. If schools resist technology and its opportunities, young people will simply turn off. That means more discipline problems, a higher dropout rate, and greater waste of human potential. In other words, schools must adapt, or they will die a lingering death.
"Adapt or die" may seem harsh, but it's not the grimmest prospect. Today's technology is truly democratic: The computer doesn't know whether the person sitting at the keyboard is rich or poor, male or female, black, brown, or white--only how competent that individual is. If our schools don't give all young people a fair chance to become competent, then the gulf between the haves and the have nots will grow wider. That prospect should frighten us all--and persuade us to help teachers and schools transform themselves.
Vol. 14, Issue 27, Pages 38, 52
Published in Print: March 29, 1995, as Four Million Computers Can Be Wrong!
University Guidance Counselor. IB School. Dubai.
Galvin Education, Dubai (City) (AE)


text:
package lombok.javac.handlers;

import static lombok.core.handlers.HandlerUtil.*;
import static lombok.javac.Javac.*;
import static lombok.javac.handlers.JavacHandlerUtil.*;
import lombok.ConfigurationKeys;
import lombok.Synchronized;
import lombok.core.AST.Kind;
import lombok.core.AnnotationValues;
import lombok.core.HandlerPriority;
import lombok.javac.JavacAnnotationHandler;
import lombok.javac.JavacNode;
import lombok.javac.JavacTreeMaker;
import lombok.javac.handlers.JavacHandlerUtil.MemberExistsResult;

import org.mangosdk.spi.ProviderFor;

import com.sun.tools.javac.code.Flags;
import com.sun.tools.javac.tree.JCTree.JCAnnotation;
import com.sun.tools.javac.tree.JCTree.JCExpression;
import com.sun.tools.javac.tree.JCTree.JCMethodDecl;
import com.sun.tools.javac.tree.JCTree.JCNewArray;
import com.sun.tools.javac.tree.JCTree.JCStatement;
import com.sun.tools.javac.tree.JCTree.JCVariableDecl;
import com.sun.tools.javac.util.Context;
import com.sun.tools.javac.util.List;

/**
 * Handles the {@code lombok.Synchronized} annotation for javac.
 */
@ProviderFor(JavacAnnotationHandler.class)
@HandlerPriority(value = 1024) // 2^10; @NonNull must have run first, so that we wrap around the statements generated by it.
public class HandleSynchronized extends JavacAnnotationHandler<Synchronized> {
	private static final String INSTANCE_LOCK_NAME = "$lock";
	private static final String STATIC_LOCK_NAME = "$LOCK";

	@Override public void handle(AnnotationValues<Synchronized> annotation, JCAnnotation ast, JavacNode annotationNode) {
		handleFlagUsage(annotationNode, ConfigurationKeys.SYNCHRONIZED_FLAG_USAGE, "@Synchronized");

		if (inNetbeansEditor(annotationNode)) return;

		deleteAnnotationIfNeccessary(annotationNode, Synchronized.class);
		JavacNode methodNode = annotationNode.up();

		if (methodNode == null || methodNode.getKind() != Kind.METHOD || !(methodNode.get() instanceof JCMethodDecl)) {
			annotationNode.addError("@Synchronized is legal only on methods.");

			return;
		}

		JCMethodDecl method = (JCMethodDecl)methodNode.get();

		if ((method.mods.flags & Flags.ABSTRACT) != 0) {
			annotationNode.addError("@Synchronized is legal only on concrete methods.");

			return;
		}
		boolean isStatic = (method.mods.flags & Flags.STATIC) != 0;
		String lockName = annotation.getInstance().value();
		boolean autoMake = false;
		if (lockName.length() == 0) {
			autoMake = true;
			lockName = isStatic ? STATIC_LOCK_NAME : INSTANCE_LOCK_NAME;
		}

		JavacTreeMaker maker = methodNode.getTreeMaker().at(ast.pos);
		Context context = methodNode.getContext();

		if (fieldExists(lockName, methodNode) == MemberExistsResult.NOT_EXISTS) {
			if (!autoMake) {
				annotationNode.addError("The field " + lockName + " does not exist.");
				return;
			}
			JCExpression objectType = genJavaLangTypeRef(methodNode, ast.pos, "Object");
			//We use 'new Object[0];' because unlike 'new Object();', empty arrays *ARE* serializable!
			JCNewArray newObjectArray = maker.NewArray(genJavaLangTypeRef(methodNode, ast.pos, "Object"),
					List.<JCExpression>of(maker.Literal(CTC_INT, 0)), null);
			JCVariableDecl fieldDecl = recursiveSetGeneratedBy(maker.VarDef(
					maker.Modifiers(Flags.PRIVATE | Flags.FINAL | (isStatic ? Flags.STATIC : 0)),
					methodNode.toName(lockName), objectType, newObjectArray), ast, context);
			injectFieldSuppressWarnings(methodNode.up(), fieldDecl);
		}

		if (method.body == null) return;

		JCExpression lockNode;
		if (isStatic) {
			lockNode = chainDots(methodNode, ast.pos, methodNode.up().getName(), lockName);
		} else {
			lockNode = maker.Select(maker.Ident(methodNode.toName("this")), methodNode.toName(lockName));
		}

		recursiveSetGeneratedBy(lockNode, ast, context);
		method.body = setGeneratedBy(maker.Block(0, List.<JCStatement>of(setGeneratedBy(maker.Synchronized(lockNode, method.body), ast, context))), ast, context);

		methodNode.rebuild();
	}
}


text:
Q: Inverse of a Function exists iff Function is bijective How to mathematically prove that inverse of a function, let's say, $f^{-1}$, exists, if and only if $f$ is bijective?
I know how to prove it using diagrams but I'm looking for a rather mathematical proof with arguments. Anybody who can help? Thanks.

A: Here's a crazy answer, in the sense that it's very formal. First, for a pair of sets $A$ and $B$, define $\pi_1: A \times B \to A: (a, b) \mapsto A$, and similarly define the map $\pi_2$ to $B$.
Now a function is (at least according to one formal definition) a triple
$$
f = (X, Y, R)
$$
where $R$ is a subset of $X \times Y$ with two properties:

*

*$\pi_1 ( R) = X$, i.e., every element of $X$ appears as the first element of some ordered pair in $R$, and

*$\pi_1(x, y) = \pi_1(x, y') \Rightarrow y = y'$, i.e., each element of $X$ corresponds to at most one element of $Y$.
In this context, the definition of "surjective" is $\pi_2(R) = Y$, and the definition of "injective" is $\pi_2(x, y) = \pi_2(x', y) \Rightarrow x = x'$.
If we have a surjective and injective function, $f = (X, Y, R)$ we can build a new function $g = (Y, X, R')$, where $R' = \{ (y, x) | (x, y) \in R \}$.
Clearly the properties of "surjective" and "injective" for $f$ turn into properties $1$ and $2$ for $g$; also pretty evident is that $g$ is the thing we usually call $f^{-1}$.

A: Consider a function $f:X\to Y$. If its is not surjective, there exists $y\in Y$ without preimage. If it is not injective, there exists $y\in Y$ such that the preimage $f^{-1}(y)$ contains at least 2 elements...

A: Method:1
When $f:A\to B$ is not one-one,
$$
f(x_1)=f(x_2)=y' \text{ for } x_1\neq x_2\in A,y'\in B\\
\implies f^{-1}(y')=f^{-1}(f(x_1))=x_1 {\quad\&\quad} f^{-1}(y')=f^{-1}(f(x_2))=x_2
$$
For the inverse function $f:B\to A$, we have $f^{-1}(y')=x_1$ and $f^{-1}(y')=x_2$. Hence, $f^{-1}$ is not defined as we have two images for $x_1$ and $x_2$ for one preimage $y'$.
$\implies$ for $f$ to be invertible it must be one-one.
When $f:A\to B$ is not onto,
there exists atleast one $y'\in B$ which does not have a preimage in set $A$. When we define $f^{-1}:B\to A$, $y'$ becomes preimage which will not have any image in set $A$, thus $f^{-1}$ is not defined.
$\implies$ for $f$ to be invertible it must be onto.
Therefore,
$f$ is invertible iff $f$ is both one-one and onto.
Method:2
If $f:A\to B$ is invertible, then $f^{-1}\circ f=I_A$ and $f\circ f^{-1}=I_B$.
$$
f^{-1}\circ f(x_1)=f^{-1}\circ f(x_2)\implies f^{-1}(f(x_1))=f^{-1}(f(x_2))\\\implies x_1=x_2\text{ $\bigg($since $f^{-1}\circ f(x)=x, \forall x\in A\bigg)$}
$$
Thus, $f^{-1}\circ f$ is one-one $\implies$ $f$ is one-one.
$f\circ f^{-1}:B\to B$ defined as $f\circ f^{-1}(y)=y,\forall y\in B$. For all $y$ in the codomain $B$ have one preimage $y$ in the domain $B$.ie, Codomain of $f\circ f^{-1}$=Range of $f\circ f^{-1}=B$
Thus, $f\circ f^{-1}$ is onto $\implies$ $f$ is onto.
$\implies$ $f$ is bijective

A: Try using the left and right inverse concept:
Consider two functions: $f : A \to B$ and $g : B \to A$. When $f \circ g$ is the identity function on $A$, we say $f$ is a left inverse of $g$ and $g$ is a right inverse of $f$.
Then to see that a bijection has an inverse function, it is sufficient to show the following:

*

*An injective function has a left inverse.

*A surjective function has a right inverse.

*If a function has a left and right inverse they are the same function.