text:
Q: SpaCy extraction of an adjective, that precede a verb and isn't a stop word nor a punctuation I would like to extract a specific group of words from a list of comments scraped from one website to count them and use the most common of them in my TextBlob dictionary, that will be used in a simple sentiment analysis. To simplify: I would like to get all the adjectives, that might have positive or negative sentiment. komentarze is a huge list of strings, every string is a sentence, which sentiment I would like to check. I want to create a list of words from this list of strings and then check which adjectives, that are not punctuation nor stopwords and are before a verb, are the most frequent. When I run my code, I get an error: IndexError: [E040] Attempt to access token at 18, max length 18. This error stands for Attempt to access token at {i}, max length {max_length}. I tried different codes, but none of them works.
Here is an example of a code that wants to proceed, but gives an E040 Error:
import spacy
import json
import pandas as pd
from spacy.lang.pl.stop_words import STOP_WORDS
from spacy.tokens import Token
from spacy.lang.pl.examples import sentences
from collections import Counter

with open('directory/file.json', mode='r') as f:
    dane = json.load(f)

df = pd.DataFrame(dane)
komentarze = df['komentarz'].tolist()

nlp = spacy.load('pl_core_news_lg')
slowa = []
zwroty = []

for doc in nlp.pipe(komentarze):
    #here I want to extract most common words
    slowa += [token.text for token in doc if not token.is_stop and not token.is_punct]
    #here I want to extract adjs, that are not puncts nor stop-words and are before a verb.
    zwroty += [token.text for token in doc if (not token.is_stop and not token.is_punct and
    token.pos_ == "ADJ" and doc[token.i + 1].pos_ == "VERB")]

zwroty_freq = Counter(zwroty)
common_zwroty = zwroty_freq.most_common(100)
print(common_zwroty)

When in the loop I run an additional adjsy += [token.text for token in doc if (not token.is_stop and not token.is_punct and token.pos_ == "ADJ")], everything works, but I simply cannot specify the word before or after that ADJ.
I can iterate over a simple string via:
for token in doc:
    if token.pos_ == 'ADJ':
        if doc[token.i + 1].pos_ == 'VERB':
            print('yaaay')

but I genuinely have no idea how to set it up in my loop.
I also tried:
   for token in doc:
        if not token.is_stop and not token.is_punct:
            if token.pos_ == "ADJ":
                if doc[token.i+1].pos_ == "NOUN" in range(1):
                    zwroty += token.text

but this gave me only letters.
How can I fix my problem to get what I would like to get?
Is it also possible the lower the text in this loop? I tried several times, but nothing worked…
EDITED:
I modified my code as @polm23 proposed. Well, it works, but I cannot join this method with my [w.lemma_ for w in doc if not w.is_stop and not w.is_punct and not w.like_num and w.pos_ == "VERB"] list comprehension, that gives me an error: ValueError: [E195] Matcher can be called on Doc or Span only, got Token.
Here is a piece of code that, thanks to @polm23, works, but takes into account numbers, punctuations, etc:
import everything I need

with open('file.json', mode='r') as f:
    dane = json.load(f)

df = pd.DataFrame(dane)
komentarze = df['komentarz'].tolist()

nlp = spacy.load('pl_core_news_lg')
matcher = Matcher(nlp.vocab)
patterns = [[{'POS':'ADJ'}, {'POS':'NOUN'}]]
matcher.add("demo", patterns)

zwroty =[]

for doc in nlp.pipe(komentarze):
    matches = matcher(doc)

    for match_id, start, end in matches:
        string_id = nlp.vocab.strings[match_id]
        span = doc[start:end]
        zwroty += (match_id, string_id, start, end, span.text)

Here is a piece of code, that does not work, however, should take this into account:
    for w in doc:
        if not w.is_stop and not w.is_punct:
            w.lemma_

            matches = matcher(w)
            for match_id, start, end in matches:
                string_id = nlp.vocab.strings[match_id]
                span = w[start:end]
                zwroty += (match_id, string_id, start, end, span.text)

A: This is a perfect use case for spaCy's Matchers. Here's an example of matching ADJ NOUN in English:
import spacy
from spacy.matcher import Matcher

nlp = spacy.load("en_core_web_sm")

matcher = Matcher(nlp.vocab)

patterns = [
    [{'POS':'ADJ'}, {'POS':'NOUN'}],
    ]
matcher.add("demo", patterns)

doc = nlp("There is a red card in the blue envelope.")
matches = matcher(doc)
for match_id, start, end in matches:
    string_id = nlp.vocab.strings[match_id]  # Get string representation
    span = doc[start:end]  # The matched span
    print(match_id, string_id, start, end, span.text)

Output:
2193290520773312886 demo 3 5 red card
2193290520773312886 demo 7 9 blue envelope

You can use these matches in a Counter or something to track the frequency if you want. You can also set up a function to run whenever something is matched.

Is it also possible the lower the text in this loop? I tried several times, but nothing worked…

Not entirely sure what you want to do, but if you have a match function you can just use the lower_ attribute on a token. Also take a look at lemma_, which might be better, especially for verbs.

Not entirely sure I understand what you're trying to do, but it looks like the issue is you're trying to filter tokens and then pass them to the Matcher. Instead, use the Matcher on the docs and then filter its output.
Also, punctuation can never be an adjective, I'm not sure why you're checking for that.
out = []
for doc in docs:
    matches = matcher(doc)
    # because we are just matching [ADJ NOUN] we know the first token is ADJ
    for match_id, start, end in matches:
        string_id = nlp.vocab.strings[match_id]
        adj = doc[start]
        # ignore stop words
        if adj.is_stop: continue
        # get the lemma
        lemma = adj.lemma_

        out += (adj, lemma) # or whatever


You need to pay your taxes! Not paying your taxes can put your own and even more important your families financial future in great risk. Every check or client payment you receive you need to take at least 30% off the top and put it in an interest-bearing savings account. This way you have the funds to pay your taxes on time and in full.
Besides car and home insurance you need at least have several other insurances, such as health, life, disability, liability insurance. These insurances are critical for the continuance of your business (especially for freelancers.) Remember, you are the most important asset of the business!
We know that the payment of all these insurances can be high, but you still need them. Think about what would happen if something happens to you, will your family financially survive? Make a plan!
How much you should put in an emergency fund for your business depends on what kind of business you own. You should at least have the money to cover the costs for a couple of months. For instance you need money to pay the rent of your business location or to pay the salary of your staff.
If you are like most people, then doing the books is one of your least favorite tasks. This is one reason why you should hire a CPA. Other more important reasons are that they can help you plan your financial future. For instance they can help to setup a strategy to best protect your income or to minimize your liability. Also they can help with your taxes. Try to find a CPA that will help to setup a business strategy and not one that is only doing the books.
Wouldn't your life be easier if you don't have any debt? We think so! So you should try to pay off your debts as soon as possible, especially the high interest rates ones.
You need to know how much you and your business can spend. Try to setup (with help of your CPA, if you got one) a budget for your business and your personal life. Another plan you should have is a cash flow plan. You need to know where the money comes from and where it is spend! Without such a plan, it is only a matter of time you will have some major cash flow issues.
Try to develop multiple streams of income. This is very important for every business or freelancer. Don't rely upon that one client! You will see that if the pay-checks come from multiple sources you feel much more secure and you are!
Always make sure that you have some cash on hand. You never know what kind of emergency (major of minor) you need it for. The motto is: always be prepared for the worst!


After TrésorIn Love, Lancôme tells a new love story, filled with lightness, magic, but also sensuality.
A passionate story that freely rewrites the language of romantic yet contemporary love: Trésor Midnight Rose, incarnated by Emma Watson.
A captivating, charming young woman breaks through the city of lights and makes it dazzle. Liberated and vivacious, she rushes through the paved lanes of the most romantic capital of the world. Paris. Paris with its enchanting little squares, lively evening cafés and the embankments of the River Seine.Paris at dusk.Paris at night, when the sky blushes with an exhilarating and almost unreal violet glow. This Paris is the playground for a romantic game of hide-and-seek. Catch my heart if you can!
Femininity lingers in her wake, an ethereal delight structured around rose. A lasting "scented trail" of an unforgettable woman: Trésor Midnight Rose.


Did You Know the Boston Marathon Bombing Could Have Been Avoided?
Thousands of lives could have been saved and the horrific incident could easily have been averted by the authorities. Read on to know what happened, why it happened and how we could have prevented this tragic incident.
Do Movies Influence the Society or Are Movies Inspired by Society?
This is indeed a question akin to which comes first, the chicken or the egg? What is the connection between movies and society? Do movies inspire society or vice versa?
My view is that it is a two way process. Movies are an artist's view, depiction and understanding of events/incidents/happenings in society and in human lives, which may be depicted in various forms. Movies are an expression of the past, present and even the future, and hence they are a tremendous influence on us.
Who in the world would not love to visit a beautiful, out of the world, exotic, exquisite, unusually splendid tourist destination promising you all the delights of a life time, with lots of activities? Who would not? The question is do such places really exist. Many times, they do but many times, they are just huge huge exaggerations of what they are in reality. In short, a sweet promise, fattened by money purses, which fails to deceive, too late after you have splurged your earnings on that hyped up little promotion, dangled in front of your eyes by manipulative sales people.
Prevention is always better than cure. So sit down and browse through, some of these most overestimated and hyped places on earth. And you can avoid selecting them for that dream journey of yours.
1. Lochness Lake in Scotland- It had achieved a global Reputation on the basis of stories of the existence of a monster in the dark depths. But before you take out that wallet of yours, check this.. THERE IS NO SUCH MONSTER. It is a fake. So if you are spending those bucks on the lookout for a monster, well you are wasting your time.
2. Niagara Falls- You take all the trip to this world famous tourist destination, spend a lot of money to stay at a motel and view a waterfall? All waterfalls are primarily the same. Water falling from a height. If you have one, you have seen all. There is nothing extraordinary about them. That is really really an unnecessary wastage of time and money. Spend your money on something better and visiting a place that you haven't been to before.
Stay Away From Tanning If You Want to Stay Away From Cancer!
We all love tanning and know that exposure to the sun has important benefits as it is essential for the synthesis of Vitamin D but overexposure to sun, as it is a fashion to do, have dangers associated with it including exposure to the harmful UV radiation of the sun.
During the tanning process, the exposure to UV A and UV B radiation may cause oxidation of melanin, redistribution of melanin pigments in the skin and increase production of melanin in the skin, leading to the consequent darkening of the skin. UV A exposure causes mild darkening while UV B exposure is required for intensive darkening.
Lose weight the easy way now. All of us want to get into the perfect shape. Gyms won't like this, but you can now lose weight with a sip of a drink!
Probiotics are organisms, whose intake of fers some kind of benefit to the host. They include bacteria and yeast. One may wonder when our bodies already have an existing variety of microorganisms, (billions and billions of greater than 500 different kinds) what is the use of taking additional quantities of them? And as most of the time we are under attack by microorganisms, what is the advantage?
Did You Know There Is a Strong Relation Between the Food You Eat and Your Mood?
All our survival depends on the availability of food but the right kind of food is essential for our health and well being. We all know the importance of correct nutrients for our physical well being but what we know little of, is how much the right kind of food contributes to the right kind of mood. Hippocrates was the earliest thinker who mentioned about the healing power of food.
Church-Goers go to the Church Without Questioning their Ways. But Is That All There is to What a Church Preaches? Or Is There a Hidden Motive?
Men and women can never be alike. Their brains are wired differently! We have to live with it!
Well, the gender wars and stereotyping have been very popular through the ages. And that famous book of John Gray 'Men are from Mars, Women are from Venus' has become a very popular saying poking fun at the ages long celebration or derision (as you may like to think) about the differences between the genders.
You pay a fortune to look gorgeous; but in reality are expensive skin care products better?
You go to any shop these days and you will be bombarded by images of before and after, beautiful women with previously dark skin who are now fair, soft skin, smooth and wrinkle free skin? It is very tempting. The advertisements makes you think it is possible to achieve all that nature could not do by use of artificial products.
You might love to see your favorite celeb on screen but celebrity endorsements are unethical and should be banned!
Celebrity endorsements refer to the practice of businesses using celebrities to promote their services or products. It is a mutual I scratch your back-you scratch mine policy. The celebrity earns millions of dollars and other perks as part of the trade off and the company is able to make use of the star power of the celebrity, to drive the sales of its product. Examples are many: celebrities endorsing soft drinks, cereals, health drinks, cars, beauty products.


text:
How to Become a DEA Agent in Amarillo, Texas by Meeting Requirements
While the Drug Enforcement Administration (DEA) does not have a division or residential office in the city of Amarillo, Texas, they do have a presence in the area. The DEA has a presence in the city of Amarillo because of its size (236,111 in the metropolitan area, according to the 2010 census,) and its location (the largest city in the Northern portion of Texas.) The DEA operations and activity in Amarillo is supervised by the division office located in Dallas, which is responsible for overseeing operations in the Northern half of Texas as well as all of the state of Oklahoma.
The largest drug epidemic in the Amarillo area concerns the abuse and distribution of crystal meth. The drug is manufactured in the rural areas of Texas, but the biggest concern is crystal meth that is manufactured in Mexico and then carried across the border by members of dangerous Mexican drug cartels. The reason why the cartels are such a problem is because they tend to be more organized, harder to catch and more violent than independent drug manufacturers. Other drug problems in the area concern marijuana and prescription pills, and then cocaine and heroin to a lesser extent.
Recent DEA Activity in Amarillo
Since there is no official DEA office in Amarillo, the few agents in the city are responsible for assisting local law authorities in the apprehension of drug criminals in the state and conduct intelligence gathering investigations. The following is a list of some of the most significant DEA activity in Amarillo:
January 2013: Two suspects were apprehended with possession of black tar heroin, crack cocaine and marijuana. The suspects are believed to be drug dealers in the area and may have connections to drug cartels and gangs from Mexico and other parts of the state of Texas.
October 2012: Eight suspects were arrested at the Deluxe Inn on Amarillo Blvd. in connection with a crack cocaine and heroin drug ring operating in the city. A slew of drugs were found in six separate rooms being rented out by the suspects at the hotel.
Amarillo DEA Jobs
The Amarillo DEA may not have an office, but that does not mean there's a lack of opportunities in the city of Amarillo. Since Amarillo is located on a popular corridor in the Texas panhandle, constant surveillance and intelligence gathering is needed to curb trafficking to Oklahoma and New Mexico, and north to the Midwest portion of the United States.
In order to qualify for a Special Agent position with the Amarillo DEA, applicants must meet the basic requirements and complete extensive training in their field. Along with the basic requirements, applicants must also complete the following steps in order to enroll in the academy and become a full-time employee with the Amarillo DEA:
Step 1. Meet requirements and qualifications
Step 2. Complete and application and written examination
Step 3. Oral interview
Step 4. Drug screen, medical and physical examinations
Step 5. Polygraph exam and background check
Step 6. Final hiring decision and interview
Step 7. Enrollment in the academy
Texas DEA Resources
Texas DEA Careers
Texas Schools
How to Become a DEA Agent in Texas Cities
Austin DEA Jobs
Brownsville DEA Jobs
Corpus Christi DEA Jobs
Dallas DEA Jobs
Del Rio DEA Jobs
Eagle Pass DEA Jobs
El Paso DEA Jobs
Houston DEA Jobs
Laredo DEA Jobs
Lubbock DEA Jobs
McAllen DEA Jobs
San Antonio DEA Jobs

redpajama_set_name: RedPajamaCommonCrawl


text:
Trial Will Investigate Use Of MDMA In The Treatment Of Anxiety In Seriously Ill Patients
Justine Alford
Mar 19 2015, 10:13 UTC
R.Iegosyn/ Shutterstock
Despite the growing body of evidence that certain psychedelics could have legitimate uses in the treatment of various mental health disorders, most remain classified as Schedule 1 drugs, which means that research into their potential clinical uses has been virtually impossible. Even in light of studies that failed to find associations between their use and mental illness, it remains challenging to shake off the long-standing dogma that these substances are not mind-destroying drugs with no medical benefits and governments still stubbornly refuse to fund or engage with psychedelic drug research.
But perhaps the dogged efforts by psychopharmacologists to demonstrate that psychedelics have a valid place in medicine are finally starting to trigger a much needed re-consideration of attitudes, as the U.S. Drug Enforcement Administration has just given the go-ahead for a clinical trial to investigate the use of MDMA in treating anxiety in those with life-threatening illnesses.
MDMA is a psychoactive drug first invented back in 1912 by the pharmaceutical company Merck. It acts on the brain by causing the release of certain neurotransmitters, primarily serotonin but also norepinephrine and dopamine, which are called monoamines. It is known to trigger a variety of unique effects, such as increased extroversion and trust, but it also seems to promote acceptance of self and others and increased tolerance of upsetting situations.
Prior to being listed as a Schedule 1 drug in 1985, MDMA was actually used in combination with psychotherapy in the treatment of various psychological problems, such as neuroses and post-traumatic stress disorder (PTSD). But after its classification, the difficulties in gaining approval and funding for clinical research meant that studies virtually ceased for a number of years. But investigations began to pick up in 2000 when the California-based nonprofit research group MAPS (Multidisciplinary Association for Psychedelic Studies) began to conduct pilot studies on its safety and efficacy in the treatment of PTSD, alongside psychotherapy.
The Last Of Us: Heat Makes This Fungus Adapt Rapidly, But You Won't Catch It From Flour
3D Artificial Skin Grafts Can Be Slipped On Like Clothing For Fiddly Body Parts
What Is That "Seam" Running Along The Middle Of Your Ball Sack?
Their published studies concluded not only that MDMA was well-tolerated and did not cause harm, but that it also resulted in significant clinical improvement in many. Furthermore, those who responded remained symptom-free in follow-up studies. Now, MAPS will conduct a small trial on the potential use of MDMA as an adjunct to psychotherapy for the treatment of anxiety in those with life-threatening illnesses.
The trial will involve 18 patients who will be given several months of psychotherapy alongside occasional administration of MDMA in some sessions. According to Al Jazeera, the trial will be conducted in a psychologist's office rather than a hospital. The researchers hope that MDMA will enhance the effects of psychotherapy and also allow the patients to confront their situation with more clarity, offering a sense of calm and trust.
"In a psychotherapeutic context, MDMA has been reported to help subjects lower their psychological defenses and enhance their ability to process difficult emotions," Brad Burge, communications director for MAPS, told Huffington Post. "It may also increase the sense of trust between subjects and the therapist."
According to MAPS, the study will cost around $587,000 and so far they have managed to raise $305,000. MAPS is also hoping to raise around $20 million to make MDMA into an FDA-approved prescription drug by 2021.
[Via Al Jazeera America and Huffington Post]
psychedelic drugs,
MDMA,
Schedule 1 drug
More Health and Medicine Stories


text:
'Web 2.0' Has Arrived
It's unstoppable, say the digerati in San Francisco this week: Users are taking over the Web.
by Wade Roush
A standing-room-only crowd of 800 entrepreneurs, executives, software developers, and journalists were in attendance on Wednesday, October 6, as O'Reilly Media CEO Tim O'Reilly and former Industry Standard editor-in-chief John Battelle kicked off the second annual Web 2.0 conference in San Francisco.
At least in the two tech gurus' minds, "Web 2.0" stands for the idea that the Internet is evolving from a collection of static pages into a vehicle for software services, especially those that foster self-publishing, participation, and collaboration. (See O'Reilly's recent essay, 'What is Web 2.0?').
User-centered Web phenomena such as blogging, community photo-sharing (exemplified by Flickr), collective editing (Wikipedia), and social bookmarking (Delicious), they argue, are disrupting traditional ideas about how software is built and how information is generated, shared, and distributed on the Internet.
With almost half a million Wikipedians contributing and editing articles, 90 million people running the open-source Mozilla Firefox browser, and 18.9 million people now publishing blogs (according to blog search engine Technorati), the case goes, it's hard to dispute that users' attention is gradually shifting away from the products of traditional publishers, media companies, and software makers.
A year ago, this was a provocative argument. Big software and Web companies like Microsoft and Yahoo seemed far from embracing the transformation O'Reilly and Battelle perceived.
The news this time around is that after a year of observation and experimentation, many of the same companies are jumping into the game unreservedly – either by acquiring smaller companies exemplifying "Web 2.0" principles or building their own Web-based communities and services.
"Last year we made the argument that, to use a phrase coined by Sun Microsystems, 'the network is the computer,'" O'Reilly said. "Now we're starting to see real evidence of that."
For perhaps the biggest example, Yahoo has spent the past six months trumpeting its enthusiasm for community and user-generated content. In March 2005, the company launched a blogging and content-sharing system called Yahoo! 360 and simultaneously acquired Flickr, where people upload their photographs and share them with friends – and strangers – by tagging them with keywords that make them easier to find.
"We think the big change on the Internet is not just about getting more and more unique users, but, as we go forward, it's all about deeper engagement," said Yahoo CEO Terry Semel during a Thursday morning interview with Battelle.
He pointed to Flickr and to the user reviews and ratings on Yahoo! Local as examples of services that hinge on user participation. "You'll see many more examples in the next 6-12 months," Semel said. "All of our content is starting to be on platforms that take advantage of community."
Microsoft, where PC-based operating systems and productivity software are still the main source of revenue, is also catching the Web 2.0 wave. Microsoft executives who took the stage Wednesday evening admitted that the company's recent reorganization was devised in part to adapt to the new importance of Web-based services.
"Almost every aspect of what we're trying to do is changing in some way, shape, or form," said Ray Ozzie, who's famous in the software world for developing Lotus Notes and was recently named Microsoft's newest chief technology officer.
Even basic desktop-software products such as Excel and Word, Ozzie said, would eventually take on many of the characteristics of today's browser-based Web services. The company's software will undergo "a steady migration" toward "user experiences using browsers, or using Internet-based services that are not running in the browser," he said.
"If it takes very seamlessly weaving together software, hardware, and services in order to accomplish that experience, that's what you're going to find us doing," Ozzie said.
Not everyone on stage at Web 2.0 bought into the idea, though, that browser-based software and user-generated content will rule the Web. Barry Diller, CEO of IAC/Interactive Corp. – which recently acquired the fourth-ranked search engine Ask Jeeves – had some stinging skepticism ready when Battelle asked him whether content such as blogs, photos, and videos would eventually overshadow big-media offerings on the Web.
"There may be audiences of eight to 12 people interested in somebody's individual expressions, and more than that in some cases," Diller replied. "But the truth is, that's where editorship comes in. A process with people who have talent and expertise at making entertainment products is not going to be displaced by 18 million people coming up with their videos that are only entertaining because they're awkward and stupid."
Not every blogger can be a William Faulkner or an F. Scott Fitzgerald, of course, and many Internet fads burn out as quickly as they flame to life. What's more, it's standard practice for marketers to slap the "2.0" label on a product after even the most trivial upgrades.
But "Web 2.0" is one buzzword that seems to be sticking. Indeed, a Google search on it generates about 12.5 million citations. The phrase is now used daily by thousands of bloggers, entrepreneurs, and others to describe almost any change that makes the Web more interactive or participatory or upsets the business models of traditional software makers or entertainment companies.
Tim O'Reilly, founder of the Sebastopol, CA-based tech publishing house, has been using "Web 2.0" since mid-2004 to describe the evolution of the Web into a delivery mechanism for a range of media and software services – even programs that take over the typical duties of desktop software, such as e-mail and word processing.
The second Web 2.0 conference is clearly reaping the benefits of that buzz. With some 800 attendees squeezed into San Francisco's Argent Hotel for the limited-registration meeting, it was about 100 more than last year, according to O'Reilly Media.
Many were managers and developers from small, recently-launched Web 2.0 startups, such as Bunchball, Flock, Joyent, Rollyo, Wink, and Zimbra. Because the software components behind the new generation of Web-based services are typically remixable, reusable, and open-source, it's possible to assemble innovative services quickly and cheaply, Battelle and O'Reilly pointed out. Said Battelle, "People can start an interesting company with just a few people and not that much money."
Wade Roush


text:
Saxena patent notebook (#254)
Metal Base Transistor program summary (p. 1). Hot electron diode (HED) process described (p. 8); and method for making GaAs LEDs (p.16).
Saxena, Arjun N.
Arjun Nath Saxena was born in India and worked at the Indian Institute of Nuclear Physics. He received a Ph.D. degree in Physics from Stanford University and joined Fairchild circa 1960, initially reporting to David James, where he worked on epitaxial silicon growth techniques and later tunnel diodes. He moved to the Sprague Electric Company, located in North Adams, Massachusetts, circa 1965 and then went to RCA Labs, located in Princeton, New Jersey, both in semiconductor research roles. He retired as a professor in the Electrical, Computer, and Systems engineering Department at Rensselaer Polytechnic Institute in 1997. He served as the Consulting Editor of a book series on Microelectronics Manufacturing and has written the book "Invention of Integrated Circuits: Untold Important Facts."
12 dated entries over 18 pages.
The author is named as inventor on 4 U.S patents. No patents are assigned to Fairchild.
TR67 Epitaxial silicon films (1962-02-12).
TR122 Optical constants and thickness determination with an ellipsometer (1963-06-14).
TR144 Examination and evaluation of Hewlett Packard Associates hot electron diodes (1963-10-21).
TR200 Changes in the phase and amplitude of polarized light reflected from a film-covered surface and their relations with the film thickness (circa 1965).
TR221 A versatile electron microscope reflection stage and its applications (1965-01-29).
TR222 The electrical and gettering mechanism dependence on the structure of copper segregates (1965-01-29).
Saxena, A. N., Changes in the phase & amplitude of polarized light reflected from a film-covered surface. Journal of the Optical Society of America, vol. 55, no. 9 (1965-09): 1061-1067.
Saxena, A. N., Use of an ellipsometer to determine surface cleanliness and measurement of the optical and dielectric constants of InSb at λ = 5461 Å. Applied Physics Letters, vol. 7, iss. 5 (1965): 113-114.


text:
Q: Swift functions inside a var I am learning Swift, and want to know how to add functions to a var,
here the JS example...
function suma (a, b){
    return a + b
}

console.log("sua suma::", suma(2,3))

function multiplica (a, b){
    return a * b
}

console.log("sua multiplik::", multiplica(2,3))

const operations = {
    suma,
    multiplica
}

console.log ("sum of first class::", operations.suma(2,3))
console.log ("mult of first class::", operations.multiplica(2,3))

so how do I achieve the same on Swift?
Here what I have tried:
import Foundation

func suma(a:Int, b:Int) -> Int {
    return a + b
}

func multiplica(a:Int, b:Int) -> Int {
    return a * b
}

print("sua suma", suma(a: 2, b: 3))
print("sua multiplica", multiplica(a: 2, b: 3))

var operations = {
    suma
    multiplica
}

print("sua operatio", operations.suma(a: 2, b: 3)

So how to edit the Swift code to call the function inside operations?
Cheers

A: You could use a tuple for this:
let operations = (
    suma: suma
    multiplica: multiplica
)

print("sua operatio", operations.suma(2, 3)

Note that the names are duplicated. The one before the : is just a label so that you can refer to it with a name, and the one after the : actually refers to the function.
I would advise against writing Swift code in a JS style. You should not group functions together like this. Write a class/struct instead, and declare the functions in there. Use static where necessary.

A: As Sweeper mentioned in his answer the Swift equivalent of the JS code would probably be a class with static functions.
class Operations {
    static func suma(a:Int, b:Int) -> Int {
        return a + b
    }

    static func multiplica(a:Int, b:Int) -> Int {
        return a * b
    }
}

You would call the functions like this
print("sua operatio \(Operations.suma(a: 2, b: 3))")

redpajama_set_name: RedPajamaStackExchange


text:
Collection 1970s–Present
Martin Kippenberger. Martin, Into the Corner, You Should Be Ashamed of Yourself. 1992 249
Cast aluminum, clothing, and iron plate, 71 1/2 x 29 1/2 x 13 1/2" (181.6 x 74.9 x 34.3 cm). Blanchette Hooker Rockefeller Fund Bequest, Anna Marie and Robert F. Shapiro, Jerry I. Speyer, and Michael and Judy Ovitz Funds. © 2023 Estate Martin Kippenberger, Galerie Gisela Capitain, Cologne
Curator, Ann Temkin: Kippenberger made this sculpture, Martin Into The Corner, You Should Be Ashamed Of Yourself, in six versions, each in a different material in a different outfit.
Director, Glenn Lowry: Kippenberger gave a photograph of himself to a craftsman and had him carve the head and the hands and then cast them in metal. Inside the clothes the body is a metal stick figure with foam padding. The jeans are probably the artist's own.
Ann Temkin: The sculpture was created in response to a critic who published an article in a German magazine with the title, "The Artist as Exemplary Alcoholic." The article accused Kippenberger of all sorts of sins, including sexism and racism and pro-Nazism.
Glenn Lowry: An incisive social critic, Kippenberger was equally aware of his own shortcomings. He did not limit his finger-wagging to the world around him, but also poked fun at himself while still treating his work with dignity and seriousness.
Ann Temkin: And Kippenberger's response was to punish himself…to make six sculptures in which he had to be put in the corner, just as a naughty schoolboy, and atone for his mistakes.
View this object in the collection


Hare and Forbes have been supplying NEW & USED Workshop & Engineering Equipment since 1926.
600 Machine Tools Australia, is a member of the 600 Group, one of the world's leading names in the manufacture and distribution of state-of-the-art machine tools and ancillary products.
We are a CNC Engineering and Precision Sheet Metal and Steel Fabrication manufacturing company, specialising in the finishing of high quality product, located in Minto, Sydney.
Spiers Engineering is committed to supplying quality products and services that meet our customer's expectations. Quality plans are produced for all components manufactured in our workshop, in line with best engineering practice.


text:
All-female crew of high school football referees makes history
The six referees at Friday's Glencoe-Hillsboro game were the first all-female crew to officiate a high school boys' varsity football game in Oregon.
Author: Christelle Koumoué (KGW)
Published: 12:13 AM PDT September 13, 2021
Updated: 9:03 PM PDT September 16, 2021
HILLSBORO, Ore. — September 10 marked a momentous day in Oregon high school football.
When Mary Harvill, Cat Conti, Amy Pistone, Jeana Fisher, Kim Bly and Rebecca Brisson stepped onto Hare Field in Hillsboro Friday night, they became the first all-female crew to officiate a high school boys' varsity football game in the state.
To say football is Rebecca Brisson's favorite sport is a bit of an understatement.
"Personally for me football is in my blood, I grew up the daughter of a football coach," she said. "I own a women's football team here in Oregon, I've played for 13 years, I still own the team, I coach football, I officiated football games, my son is playing football."
She's also been a football official for 19 years with the Portland Football Officials Association.
Brisson teamed up with other women to break the mold. "Obviously everybody knows that football has been a male-dominated sport from playing, coaching, referring, all of it," said Brisson. "So it was so it was an exceptional time for us to kind of make this historic moment."
Harvill spearheaded the effort about a year ago to bring the all-female crew together. Three are from Oregon and the others from Washington and California. "I didn't really know as a kid that I could do that, so now it's that whole 'if you see it, you can do it' kind of thing" said Brisson. "So that's why we were like, 'Let's get out there, let's show our faces, let's show other girls that they can do this.'"
When Glencoe High School took on Hillsboro High School Friday night, all six women were on the field calling the game. Glencoe won, 35-0.
Brisson hopes her love for football inspires others to get in the game. "Honestly, not just for recruiting women, but for the fact that if there's noise out there about football officiating, guys are going to come and do it as well, and that's just great," explained Brisson.
The six women hope to officiate one more game this season together and at least make it happen once a year moving forward.
RELATED: NFL referee Maia Chaka makes history
RELATED: 'We're coming back': Oregon Ravens football team prepares for first season. Again
Two Oregon athletes will be competing in the Beijing Winter Olympics


text:
Nick's Flick Picks: The Blog
A film blog under the influence
Actress Files: Ava Gardner
Ava Gardner, Mogambo
(lost the 1953 Best Actress Oscar to Audrey Hepburn for Roman Holiday)
Why I Waited: The John Ford whose work I see on screen is the same one David Thomson describes in his Biographical Dictionary of Film, and if you follow what that means, you'll know why I haven't always made his pictures a topmost viewing priority. Plus, I wanted to see Red Dust before I hit Mogambo, and I only recently got around to it (and, incidentally, thought it was terrific). Plus, well...
The Performance: ...few Hollywood actresses have been as hard on their own abilities and dismissive of their own filmographies as Ava Gardner, who rarely shied away from telling reporters that she had made no really good films and was not a major boon to the ones where she appeared. I'm not sure from what source her IMDb biography has her saying, for example, "I never brought anything to this business and I have no respect for acting. Maybe if I had learned something it would be different. But I never did anything to be proud of." However, variations on these themes aren't hard to come by in writing by or about Gardner, who rivals this year's victor, Sandra "Did I just wear y'all down?" Bullock, as a varsity-squad self-deprecator, but with more edge and candid disappointment. The question of how much good PR Gardner racked up by performing such egolessness or pre-emptively writing her own bad reviews is a separate question, but my own hunch is that even a better actress would have a hard time prevaricating on that subject for that long.
Fair enough that Gardner's Eloise Kelly—the voluptuous escort who shows up in Kenya to "entertain" a departed Maharaja in Mogambo, thus winding up stranded and unwanted in the hunting outpost of Clark Gable's Victor Marswell—is not a performance that would have had Elia Kazan calling with Broadway leads on offer. A nomination for Gardner's Eloise would be unlikely if Mogambo hadn't been a hit; if John Ford's gratuitous and widely-reported cruelty toward his leading lady hadn't positioned her as a sympathetic underdog; if Jean Simmons's representation had succeeded in getting voters solidly behind one of her three laureled performances in 1953; and if the field of contenders hadn't felt thin enough that such weak sauce as that ladled out by Maggie McNamara, et al., found its way fairly easily onto the ballot. That's a list of caveats that Gardner herself might have proffered pessimistically to explain her one moment in the Academy spotlight, but from where I sit, she's a vibrant, sensational asset to Mogambo and is also, by several degrees, the salvaging figure in an otherwise dispiriting roster. It must have been cold there in your own shadow, Ada. Here, at last, is your place in the sun.
Still, to claim that Ava Gardner excels in Mogambo is to take a specific stand on what can count as great acting, and to acknowledge how a left-of-center approach to that question is all but forced by the strangeness of Mogambo as a vehicle, an up-to-the-date entertainment in some ways and a half-hearted throwback in many others. On the one hand, it's a color-saturated transplant of Victor Fleming's Red Dust from Indochina to Africa, with a commercial eye on recent adventure tales like the same producer's King Solomon's Mines, the modern affectation of having no musical score, and a seriocomic, self-conscious ironization of the frontier ethos and the theater of local color that Ford had brought to so many pictures, many but not all of them more sober in this one. (Recall that Mogambo follows by one year the natural-light merriment of The Quiet Man.) Then again, Gable's presence feels as backward-looking as Grace Kelly's is an arrow into Hollywood's future, and he seems less than happy about it. Ostensible set-pieces like the tense encounter at a village taken over by insurgent tribes barely feel like they've gotten off the ground, and the jarring discontinuities between the fervid location photography and the brazenly mismatched stock footage of apes and lions feels no more advanced than it did in Trader Horn. Ford doesn't seem all that committed to the material and Gable's increasing dramatic focus on his character's churlish self-interest seems like the only way to countenance his palpable air of peevish boredom as a proper take on the role. All of which might sound like Mogambo is much less fun than it is when, in fact, some second-hour slackening of the pace notwithstanding, it's a pretty juicy diversion, a tangy location-shoot tagalong, erected around a boilerplate romantic triangle among Gable, Gardner, and Kelly that occasionally springs to lurid life. Gable whipping the handkerchief off of Kelly's head after carrying her in from a highland rainstorm, while she gazes back at him in outraged but pleading arousal, is as potent an emblem as you'll get in mainstream 50s cinema of surging erotic desires (for which the Swahili word, incidentally, is "mogambo").
To no one's surprise, Gardner extends some automatic provisions to the film's exploration of eroticism. She makes an entrance showering behind a low bamboo wall, her bare shoulders nearly upstaged by her sexily insolent facial features. Watching her case out the grounds with the giraffes, the elephants, the leopards, the and rhinos is like seeing one exquisite, improbable specimen take a loping tour of fellow creatures that God designed while in the same buoyant, slightly absurd mood. Mercifully, Gardner doesn't gild the lily by doing anything to play "sexy" in these scenes; her figure and her costumes do that work for her. Her bigger accomplishment, the kind of thing that is perennially under-rewarded as good acting, lies in asserting her ease so quickly in what is nonetheless an uncomfortable locale. Neither in terms of her gender nor her carnality nor in any other respect does Gardner belabor Eloise's incongruity amid this scrappy, masculine, member's-only environment, even as the story and the direction take pivotal note of her flamboyant, temperature-shifting unexpectedness. All the guys around Gable, and eventually Victor himself, take a shine to the globetrotting gal as one of their own, not by any metaphorical association with her vocation but as people who don't require a lot of pillows or pretense. They're generally easygoing adults who know exactly who they are, despite their harsh, competitive, rough-and-tumble context. Leaning neither on an overdone masque of femininity nor on a strategic performance of "masculine" hardiness, gauging herself somewhere between a woman who's obviously out of her element and one who is pretty hard to unsettle, Gardner gives the movie swing, lightness, and personability, resisting all the typical routes for selling some generic persona of oneself to the audience or the other characters. She's witty, whipsmart, and confident of her attractiveness, but in a refreshingly rounded way that doesn't break a sweat flaunting any of those traits, or privileging one as her signal calling-card. She doesn't compete with Gable or with anyone to be the spitfire, the party-gal, or the wisely nurturing influence. She presumes her complementarity with him rather than figuring out how specifically to pitch it to him and to us, despite simultaneously suggesting that Eloise is more instantly drawn to Victor than he is to her.
All of that speaks wonderfully to Gardner's presence and discipline in Mogambo, but what really distinguishes her work here is the saucy, showmanly comedienne that she turns out to be. For sure, she is pushed in that direction by the delicious dialogue that the script affords her, and at times, she is too grandly, incessantly sarcastic or too smug about how handily she's stealing the film from Gable and Kelly, from Africa, and from the animals. Still, the loose, limber physicality she finds for Eloise—whether swinging onto to a moving flatbed truck, or comically scrambling up a ladder from a low river, or dropping to her cot in loose-limbed relief after a cheetah skulks through her tent—finds an even tastier corollary in the spry, mordant, adaptable sense of humor that Gardner furnishes the character in almost every interaction, either with her friends or in teasing rebuke of her one, icicle-assed enemy. I love how flippantly Gardner reacts to the phrase "Dark Continent" as if it's the dumbest thing she's ever heard, and as much as I felt that Gardner wasn't playing an Eloise who's so sheltered as to be stumped by what a "marsupial" or an "anthropologist" is, she manages to be perplexed, annoyed, and self-mocking when Victor tosses these words at her, expecting her to be at a loss. "Excuse me," she responds, "I left my cap and gown at the cleaners," fessing up without embarrassment to what she doesn't know but hitting a return bull's eye at his priggish arrogance, laughing at herself and at him.
Gardner persists with this kind of sporting, fetching personality performance, making the first hour of Mogambo such a plummy and borderline-camp delight that the movie sails past what would otherwise be the obstacles of rather indifferent assembly and technique, a familiar story, and pretty hidebound clichés of frontier masculinity. I hooted at how she was just being herself but also deliberately offending the well-heeled sensibilities of the Grace Kelly character in their first conversation. Sauntering onto a porch after a long day outside, Eloise sighs, "I haven't walked that far since some palpitating halfback told me he'd run out of gas," grinning at herself and also at Kelly's ill-concealed retraction from such earthiness. I clapped at Eloise's annoyed indulgence of Gable's wishes that she go easy on the visiting innocents, pretending that she and he haven't just been enjoying each other's company for a few hot nights in the encampment: "I'll just act like your sister, down from Vassar for the holidays," she drawls. There's a lot more where that came from, across a spectrum of willful provocation, ungenerous needling, justifiable defense of herself, and a kind of baseline pleasure at tickling the ribs of social niceties. Then again, even at her cattiest, Gardner never loses that facet of Eloise that palpably does believe in a very square myth of romance. She looks suspicious that she's running out of time to find real companionship, though she's not the kind of gal who's going to humiliate herself running after it.
Gardner's not quite sure what to do with some of the scenes where the script backs her into an expository monologue about her past, and there are stiff close-ups and amateur gestures here and there that reveal her jitters, or her lack of training, or Ford's spiteful withholding of interest. (He wanted Maureen O'Hara.) Plus, as I've mentioned, she eventually has to wean herself of being the snarky showboat, after a midfilm safari sequence in which her performance teeters on the edge of canned schtick. Still, she had amassed so much good will from me by that point in Mogambo that she could more than withstand some shaky scenes. In a larger sense, Gardner seems to know when it's time to background herself a little. Of the three headliners, she's the only one who is capable of punching up what could otherwise be a slow and obligatory hour of exposition at the campsite, and boy does she come through with some home runs. Eventually, she passes the baton to Gable for the second, more sour, and more action-driven second hour. Yet Gardner is nobody's non-entity, even in that latter half of the film, and especially when she nails one of her strongest, most maturely played scenes, trying to extend an olive branch and to offer some feminine insight and understanding to the Kelly character, who predictably wants nothing to do with her. Gardner plays Eloise in these and the neighboring sequences as though the character truly believes she has lost Victor, an avowedly dubious catch, to this swannish blonde society girl, veering hopelessly far from her caste. When things come through for Eloise at the eleventh hour, partially through her own athletic leap to seize a lurid opportunity, it's almost as gratifying as when Shirley MacLaine earns her first, full blast of blissful satisfaction after putting up with all the sludgy middle-class constipation of the other characters in Some Came Running. Gardner's character is more emotionally guarded than MacLaine's, and as an actress, she's working with a much less compassionate director. Ford abjures dialogue and holds almost entirely to a mile-off long shot during what should, by rights, be Eloise's big, triumphant finale. But then, not only is Eloise not the kind of gal to require a big brass-band parade at the moment of getting something she wants—especially as she appears to know what a flawed prize she has actually won—Gardner's is not the kind of performance that a stingy camera angle and an unsympathetic director can wipe away. She's a joy and a pro in Mogambo, playing her tricky hand as nimbly and patiently as Eloise plays hers.
The Best Actress Project: 1 More Down, 15 to Go
Labels: 1950s, Ava Gardner, Best Actress, Four Stars, John Ford
posted by NicksFlickPicks at 12:00 AM
Fritz said...
A very interesting review because I have never heard of anyone who really liked this performance (including myself). Mogambo is such a campy and over-the-top story and Clark Gable tries to be "Macho McMacho" so much that it becomes laughable, but I still give credit to Kelly and Gardner for getting the best out of her material.
And you are so right about the including of the jungle footage. I laughed so much at the scene when they show a blurry gorilla and then scenes of Grace Kelly lying in front of a (probably hand-)shaked bush.
Guy Lodge said...
I was led to this article by your Twitter link even before I did my daily NPF site-check! What a brave new world this is.
As Tim knows, I could've have told you to expect something special -- big, and unashamed, Mogambo fan here. This piece nails what's wonderful and suprprising about the performance -- the film around her is campily torrid enough that she doesn't need to vamp her way entirely through it ... there are flashes, albeit stylized ones, of a real person here, and a really fun person at that.
Interested to know where you stand on Ava in general, since I've always been something of a fan -- top career marks for Night of the Iguana, but am I crazy for thinking she even brings something to that Showboat remake? And if she thought she'd made no really good films, one must wonder if she ever sat through a screening of The Killers. Get it on NetFlix, Ava, wherever you are!
Finally, what a pleasure it is to be back here ... I was alerted to all this tantalising content going up on the site while I was away in Cannes, but knew that to begin reading would be to ensure my own writing never got done. And now something on my beloved Rachel Roberts in This Sporting Life ... were you expecting me?
"am I crazy for thinking she even brings something to that Showboat remake?"
If you are, then I am too. It's the one spot of real humanity, fragile and angry, in that museum piece of a movie.
Though I am certainly a Gardner apologist, so maybe my opinion shouldn't be trusted. I've somehow not seen Mogambo; this review makes it absolutely clear that I have to do so, and soon.
Dan Callahan said...
I love Gardner when she's basically just being her rowdy off-screen self, as in "Mogambo" and "Night of the Iguana."
My vote, though, for her best, or most committed/unusual performance is in Roddy McDowall's sole directorial effort, "Tam Lin," which is hard to see, but very worth it.
11:25 AM, May 25, 2010
NATHANIEL R said...
i sat through THE BAREFOOT CONTESSA about a year ago and aside from her astonishing beauty, this selfdeprecation about her acting doesn't surprise me.
i've never seen MOGAMBO but now I'm intrigued. Especially since I just totally love Red Dust...
NicksFlickPicks said...
@Fritz: Those crosscuts to stock footage just left me agog more than once. Grace's mishap during her solo walk, her "looking" from the doorway of the hut at some hippos or something in the distance, and those gorilla standoffs were particularly embarrassing.
@Guy: I haven't seen enough Gardner to render any verdict beyond this and Iguana, especially since I barely remember The Killers, or her in it. (Your writeup of the '46 Best Director lineup a while ago made me want to look at it again.) Reason #1,001 that I wish I were visiting London is that I could have seen Contessa and Pandora at their recent BFI screenings, and join two gents I adore for a Mogambo encore next month!
@Tim: If you're a professed "Gardner apologist," you'll have a whale of a time with her in this, I'm sure.
@Dan: Thanks for keeping the off-the-radar recommendations coming. I'll keep an eye out! How do you wind up seeing this stuff?
@Nathaniel: Oooh, did Monty write the first sentence of that comment? :) I haven't done Contessa yet, but I'll take this as a thumbs down.
Best Stock Picks said...
This is good blog about the Actress Ava Gardner. Well, I was looking for some ideas to get best Stock Picks. I got your blog through Google. This is really interesting.
NICK DAVIS
VISIT NICK–DAVIS.COM...
Follow @NicksFlickPicks
Hot Off the Presses!
The Desiring-Image: Gilles Deleuze and Contemporary Queer Cinema ($30/pbk). By Nick Davis. Oxford University Press, 2013. The book that earned me tenure at Northwestern. Offers a new theoretical model of queer film, born from Gilles Deleuze's rarely-integrated notions of cinema and desire. Chapter-length readings of Dead Ringers, Naked Lunch, Shortbus, The Watermelon Woman, Brother to Brother, Beau travail, and Velvet Goldmine, plus other films along the way! Written for a scholarly audience but hopefully interesting to anyone curious about recent cinema, ideas about desire, or LGBT aesthetics and politics. "Important and needed work...Deeply original." —D.N. Rodowick, "Seductive in its intellect and humbling in its prose." —Michele Aaron
Reading the Bromance: Homosocial Relationships in Film and Television ($32/pbk). Ed. Michael DeAngelis. Wayne State University Press, 2014. Academic pieces that dig into recent portraits in popular media, comic and dramatic, of intimacies between straight(ish) men. Includes the essay "'I Love You, Hombre': Y tu mamá también as Border-Crossing Bromance" by Nick Davis, as well as chapters on Superbad, Humpday, Jackass, The Wire, and other texts. Written for a mixed audience of scholars, students, and non-campus readers. Forthcoming in June 2014. "Remarkably sophisticated essays." —Janet Staiger, "Essential reading for anyone interested in contemporary models of gender and sexuality." —Harry Benshoff
Fifty Key American Films ($31/pbk). Ed. Sabine Haenni, John White. Routledge, 2009. Includes my essays on The Wild Party, The Incredibles, and Brokeback Mountain. Intended as both a newcomer's guide to the terrain and a series of short, exploratory essays about such influential works as The Birth of a Nation, His Girl Friday, Sweet Sweetback's Baadasssss Song, Taxi Driver, Blade Runner, Daughters of the Dust, and Se7en.
The Cinema of Todd Haynes: All That Heaven Allows ($25/pbk). Ed. James Morrison. Wallflower Press, via Columbia University Press, 2007. Includes the essay "'The Invention of a People': Velvet Goldmine and the Unburying of Queer Desire" by Nick Davis, later expanded and revised in The Desiring-Image. More, too, on Poison, Safe, Far From Heaven, and Haynes's other films by Alexandra Juhasz, Marcia Landy, Todd McGowan, James Morrison, Anat Pick, and other scholars. "A collection as intellectually and emotionally generous as Haynes' films" —Patricia White, Swarthmore College
Film Studies: The Basics ($23/pbk). By Amy Villarejo. Routledge, 2006, 2013. Award-winning film scholar and teacher Amy Villarejo finally gives us the quick, smart, reader-friendly guide to film vocabulary that every teacher, student, and movie enthusiast has been waiting for, as well as a one-stop primer in the past, present, and future of film production, exhibition, circulation, and theory. Great glossary, wide-ranging examples, and utterly unpretentious prose that remains rigorous in its analysis; the book commits itself at every turn to the artistry, politics, and accessibility of cinema.
Most recent screenings in each race;
multiple nominees appear wherever they scored their most prestigious nod... and yes, that means Actress trumps Actor!
* Denotes a recent reappraisal
Picture Noms % Seen:
Director Noms % Seen:
I Want to Live!
Actress Noms % Seen:
A Star Is Born ('54)
The Country Girl
The Letter ('29)
Actor Noms % Seen:
The Affairs of Cellini
Sup Actress Noms % Seen:
Broken Lance
Sup Actor Noms % Seen:
The Day of the Locust
The Paper Chase
Cinematography Noms % Seen:
King Kong ('76)
Shanghai Triad
Screenplay Noms % Seen:
The Strange Love of Martha Ivers D
The Bachelor and the Bobby-Soxer* B
Boomerang! C+
This Blog Sponsored by...
Chicagoans! This site doesn't even accept advertising, but I'm making an unsolicited exception for the best, freshest, most affordable meal you can enjoy in the Loop, at any time of the day, whether you're on the go or eager to sit. Cuban and Latin American sandwiches, coffees, pastries, salads, shakes, and other treats. Hand-picked, natural, and slow-cooked ingredients. My friendly neighborhood place, a jewel in my life even before the Reader and Time Out figured it out. Visit!
Actress Files: Rachel Roberts
Tweet Pray Love
Actress Files: Leslie Caron
Actress Files: Geneviève Bujold
Actress Files: Elisabeth Bergner
Actress Files: Miriam Hopkins
Actress Files: Lee Remick
Actress Files: Simone Signoret
Actress Files: Melina Mercouri
Actress Files: Deborah Kerr
Watch this space! Chicago has a new, exciting, important, and totally accessible cadre of queer film critics who are joining forces to bring screenings, special events, and good, queer-focused movie chats to our fair city. Read our mission! Stay tuned for events! Cruise the website, and help get this great new group off the ground by enrolling as a friend (it's free!) and by asking how you can help.
since 5.27.05


text:
Police Rescue Woman In Fresh Suicide Attempt In Lagos
The Lagos State Police Command on Friday rescued a woman identified as Taiwo Titilayo Momoh who attempted to jump into the Lagoon from Third Mainland Bridge. The suicide attempt is coming few days after a medical doctor, Allwell Orji jumped into the Lagoon from Third Mainland Bridge as his remains was retrieved from the water…
The Lagos State Police Command on Friday rescued a woman identified as Taiwo Titilayo Momoh who attempted to jump into the Lagoon from Third Mainland Bridge.
The suicide attempt is coming few days after a medical doctor, Allwell Orji jumped into the Lagoon from Third Mainland Bridge as his remains was retrieved from the water on Wednesday.
Lagos State Commissioner of Police, Fatai Owoseni who disclosed this to journalists at the Rapid Response Squad, RRS, headquarters, Lagos Government Secretariat, Alausa, Lagos on Friday said Momoh was in a taxi heading towards Oworonshoki on Third Mainland Bridge when she told the taxi driver to stop on the bridge.
According to Owoseni, the woman was about to jump into the water when a police patrol team on a routine patrol on the Third Mainland Bridge sighted her and rushed to save her before she jumped into the Lagoon.
"She attempted suicide by attempting to jump into the Lagoon around Oworonshoki inward Mainland on Third Mainland Bridge. Unfortunately for her, she was rescued. The woman was in a taxi and alighted on the bridge and wanted to commit suicide by jumping into the Lagoon.
"The police patrol team sighted her and rushed to rescue her before she jumped into the Lagoon," he said.
The commissioner said from his interaction with the woman, she had depression as a result of unpaid loans, adding that "she is still insisting that she wants to end her life."
Owoseni noted that committing suicide was an offence under the law but that the police would try to talk the woman out of committing suicide.
He said the woman would be taken through post-trauma programme to ensure that she had hope and not commit suicide, adding that the police would do a medical evaluation on her to ascertain her condition.
The Lagos police boss lamented the rate at which people commit suicide in the country, describing it as worrisome, adding that the police had begun patrol of bridges across the state to forestall other cases of suicide.
He added that it was now an offence for individuals to walk on bridges in the state and that no vehicle would be allowed to stop on any bridge in the state henceforth in order to prevent suicide incidences.
"Right now, the woman is still in trauma and she still insists that she wants to end her life," he said.
Source:Nigerian News from Leadership News
Crime daily-subscription frontpage News


text:
Tag: #avangard
Friday, August 14 – Nationwide Safety Checks Start on Ammonium Nitrate Fertilizer
Nationwide Safety Checks Start on Ammonium Nitrate Fertilizer...Behind the Blast: Russian Businessman Abandoned Ship, Cargo, and Ukrainian Crew in Beirut...Avangard May Close Egg Farms in Coming Weeks...Ukraine to Create Domestic Airline Based on Antonov Regional Jets...US Threatens to Stop Sending Oil to Belarus Through Odesa..
By Sept. 15, all of Ukraine's ports are to complete "extraordinary measures for government supervision" of the import, handling and storage of ammonium nitrate, Prime Minister Shmygal has ordered. The explosion of 2,750 tons of ammonium nitrate in Beirut's port killed 171 people, wounded 6,500, left 250,000 homeless and cause $15 billion to the port alone.
Ukraine, Europe's largest food exporter, is a major importer of ammonium nitrate, a key component of fertilizers. Last year, Ukraine imported 716,000 tons, at least seven times the volume of 2016, according to the State Statistics Service. Coming from Georgia, Bulgaria, Turkey and Romania, the chemical compound enters through a dozen ports – from Izmail to Mariupol. Inside the country, there are more than 600 warehouses for ammonium nitrate, Andriy Miselyuk, director of Dialogue Institute for Socio-Political Design, writes on his Facebook page.
At Pivdennyi, Ukraine's busiest port, 9,600 tons of ammonium nitrate are stored "in accordance with all norms and standards," the seaport administration says in a statement. The compound is "packed in big bags" at berths No. 1 and 2. "In this case, it is not explosive," the port asserts, that bulk handling of the compound is dangerous. During the first six months of production, the chances of explosion are low. Ukraine consumes 1.5-2 million tons a year, an amount that makes for a steady rotation of stock. The Beirut stockpile, entirely in bags, was seven years old when it blew up.
Behind the devastating Beirut port explosion was a Russian business man who abandoned his ship, his 8-man Ukrainian crew and his cargo of ammonium nitrate in Beirut in 2013, according to a Reuters story, reported by 12 journalists in 11 cities, from Moscow to Panama City. Police questioned the de facto owner, Igor Grechushkin, aged 43, at his home in Cyprus about the cargo. The ship's captain Boris Prokoshev, told Reuters from his home in Sochi that he sees Grechushkin and the ship's charterer, Teto Shipping Ltd, as the same entity. Based in the Marshall Islands, Teto was dissolved in 2014.
Flying the flag of Moldova, a landlocked nation, the ship, the Rhosus, was loaded in Sept. 2013 with 2,750 tons of ammonium nitrate produced by Rustavi Azot, a nitrogen producer in Georgia. The cargo was destined for a commercial explosives factory in Mozambique. En route, it developed a leak and docked in Beirut. Four months earlier, safety inspectors in Seville, Spain detained the Rhosus for a series of safety violations, including a corroded deck. In Beirut, Grechushkin ordered the captain to load heavy road building equipment on the deck, reports according to 112.ua.
With the Rhosus disabled by the leak, Grechushkin abandoned the ship and the crew, both news agencies report. Four crew members were forced by Lebanese officials to stay on the ship for 11 months to prevent it from sinking. After a sailors aid group flew them home to Ukraine, the ship sank. According to Prokoshev, the captain, Grechushkin owes at least $150,000 in unpaid salaries. According to 112.ia, Grechushkin lives in Cyprus with his wife Irina, and their son, a student at a private university in Scotland. Although Cyprus is a 45-minute flight or a 2-hour ferry ride from Beirut, the captain said Grechushkin never came to Beirut to check on the boat. The blast was so massive it was heard — and felt — in Cyprus, 200 km across the Mediterranean.
IFC is supplying a $35 million loan to help Galnaftogaz to improve its supply of fertilizer and fuels to small farmers. The Lviv-based company has pioneered allowing farmers to buy fertilizer and seeds in the spring, paying forward with 'crop receipts,' or liens on fall harvests. Galnaftogaz, with 357 OKKO-branded filling stations, is Ukraine's largest fuel retailer. The loan from IFC, a World Bank unit, will also finance installation of fast-charging stations for electric vehicles.
After good weather in eastern and central Ukraine, the USDA has raised its Ukraine harvest forecasts to: 27 million tons of wheat, and 39.5 million tons of corn. "Yields are expected to be the second highest on record, with a previous record of 7.84 tons per hectare in 2018," writes the US Department of Agriculture.
Ukraine's Avangard, Europe's largest egg producer, may close six of its 20 farms, cutting production by 20% by mid-October, reports Poultry World. UkrLandFarming, Avangard's parent company, may have to lay off 2,500 employees. Avangard owner Oleg Bakhmatyuk says that due to ongoing court cases against him, he is unable to get bank loans. In 2010, Avangard raised $187.5 million in an IPO on the London Stock Exchange. But Russia's 2014 annexation of Crimea and occupation of half of Ukraine's Donbas resulted in Avangard losing valuable properties. Although Avangard produced 2.6 billion eggs in 2018, its debt is estimated at $2 billion.
Next year, Ukraine will create a domestic airline based on a fleet of regional jets produced by Kyiv's Antonov, Infrastructure Minister Vladyslav Krykliy said yesterday on a visit to Kharkiv State Aircraft Manufacturing Company. "Aircraft manufactured by Antonov will be used for regional transportation," he said. To boost domestic air travel, Ukraine is abolishing the 20% VAT tax on domestic tickets. Last year, 16 of Ukraine's 54 civilian airports carried passengers — on scheduled or charter flights. About 5 million people flew out of regional airports.
Betting that corona travel restrictions will ease, SkyUp announces seven new international routes for its winter schedule. Starting Oct. 25, Ukraine's discount carrier will fly from Kyiv Boryspil to Amman, Belgrade, Bratislava, Belgrade, and Stockholm. It will also start Kharkiv-Dubai and Lviv-Dubai. On Sept. 26, it will start Kyiv-Dubai, a route that is to become five times a week.
Starting today, Ukraine's new electronic visa platform launches at this address: https://evisa.mfa.gov.ua/. Citizens of India, the Philippines and South Africa will be able to get electronic visas for travel to Ukraine for business, tourism, medical treatment, culture, science, education, sports, and journalism. The e-visa should be printed out to show at border control.
After Belarus President Aleksandr Lukashenko cracked down violently in the wake Sunday's presidential election, U.S. Secretary of State Mike Pompeo said Washington is considering ending oil shipments to Belarus. Most come through Klaipėda, Lithuania, to the Naftan refinery, in northeast Belarus. Several shipments of US oil have come this year through Odesa to Belarus' southern refinery, in Mazyr, 50 km north of Ukraine. So far this year, Odesa has handled six tanker loads of oil for Belarus, largely from Azerbaijan.
From the Editor: One month ago, I ruffled feathers with news items gathered under the headline: "Will Russia Launch a Military Attack on Ukraine in August?" Now it seems my premonition of a Russian August surprise was off — by a couple of degrees. In Belarus, yesterday's walkouts from big state-owned companies strengthen calls for a national strike. That could be Lukashenko's endgame. With the White House distracted in the 81-day runup to the US presidential vote, Moscow could easily pull a Prague 1968 – roll in tanks to restore 'order.' Timothy Ash writes: "The Ukrainians are very concerned. They think the Russians' game plan is take over Belarus, roll tanks up to the border with Ukraine, and then max pressure on Ukraine from the North and East." Also from London, Keir Giles, writes a Chatham House essay: Watching Belarus Means Watching Russia Too. In Russian intervenes militarily in Belarus, "Ukraine would be forced to rapidly re-orient its defense posture to face a new threat from the north." With Best Regards Jim Brooke
Defying IMF, Price Controls Return to Gas…16 Foreign Companies Show Interest in Buying State Titanium Complex…Big Mac Index: Hryvnia 61% Undervalued…Dnipro River Shipping Down Slightly…Kyiv in the Big Leagues – for Traffic Jams
China Outstrips Russia as Ukraine's Top Trading Partner…Betting on Chinese Trains Crossing Ukraine, a Big Container Hub Goes up Near Hungary-Ukraine Border…Chinese Covid Vaccines Rise to 5 million…Metro and Air Traffic Down Drastically in 2020…
Steel Grew in 2020…GDP Growth Pushed Off To Spring…Chinese Vaccines for 2.5% of Ukraine's Population by June 1…Ukraine Will Spend $20 billion to Service Debt This Year…Ukroboronprom Puts Up For Lease 5 Parus…US Treasury Sanctions 7 Ukrainians…Nearly Half a Million 'New' Cars Flood Urkaine
Gazprom Works to Finish Nord Stream by Summer…Ukraine Zero Foreign Investment in 2020…DTEK Opens London 'Investment Hub'…Turkey-Ukraine: 30 Military Production Projects… Ryanair Cuts 70% of Flights out of Kyiv Until April
-16° Saturday,
-12° Sunday,
-12° Monday,
-11° Tuesday,
-6° Wednesday,
Monthly Economic Digest By Ukraine Business News
Monthly Digest by UBN with support of Energy Holding DTEK
Select report...December 2020
GBP 38.22 -0.02% | -0.01
Eur 34.01 +0.00% | +0.00
USD 28.05 -0.00% | -0.00
S&P 500 $375.70
DOW 30 $30,814.26
Nasdaq $12,998.50
Russell 2000 $2,123.20
FTSE 100 $6,735.71
Crude Oil $52.04
Gold $1,827.70
Silver $24.83
Cryptocurrencies Price
Bitcoin $36,788.00
Ethereum $1,171.86
Tether $1.00
XRP $0.28
Bitcoin Cash $490.04
Commodity Prices Price
Oil $52.04
Corn $0.0122
Wheat $0.0191


Don't toss those eggs yet! Just because the use-by date has passed, they're still safe to eat. Here's the list.
The yogurt container says it expired five days ago. The can of soup's use-by date was last October. Oops! Just because the package says your food should have been eaten by now doesn't mean that it's unsafe. Before you toss that food, learn what "sell by," "use by" and "best by" all mean for your pantry—and find out which foods you can hang on to after those days pass.
Psst…here are some that you should definitely toss after their expiration date passes.
Sell by: Retailers need to sell or remove the product by this date.
Use by: Consumers should probably eat the item by this date. If the date has passed, the product is often still safe, but the quality may be reduced.
Best by: The product's quality is guaranteed until this date.
Which foods are still OK to eat?
Now that you know the difference between all those too-similar labels, check out this list of foods that are A-OK to enjoy after their dates have passed.
In many cases, eggs reach the retailer just dates after the hen lays them. If the carton has a pack date with a USDA grade shield, it will have a three-digit code which represented the consecutive day of the year, starting with Jan. 1 as 001 and Dec. 31 as 365. The eggs should not exceed 30 days from the date of the pack.
Have some eggs to use up? We've got egg recipes by the dozens.
If you don't see mold, bread is safe to eat. You can store it in the freezer to extend its life.
Need to revive stale bread? Here's our guide.
The life of your canned goods, such as soups and vegetables, can be extended if stored in a cool, dark area. If you've got canned beans about to reach their expiration date, try some of these recipes to use them up.
Pasta does not spoil easily. Stored properly in a cupboard or pantry, it's totally safe to use after its expiration date. Left too long, it may lose some flavor, but you can compensate with an amazing sauce.
If milk is pasteurized, it will keep 50 percent longer if stored at a lower temperature. For best quality, store milk on a shelf in the back of the refrigerator instead of in the door.
When it comes to fresh fruits and vegetables, if it smells, is mushy or has visible signs of rot or mold, toss it or cut out the affected spots. If it doesn't show any symptoms of spoilage, it should be safe to use—just get to using these tasty fresh finds quick!
Many frozen foods, such as frozen pizzas and vegetables, are safe after the expiration date. If meat was purchased and frozen, its expiration period shouldn't exceed more than 50 percent.
Here's how long you can store food in the freezer.
Those bags of chips, boxes of crackers and packaged cookies should be tossed if they smell funky or are stale. However, if you come across a package of unopened chocolate chip cookies that are a few weeks past that best-by date, they're still safe to enjoy!
Now that you know which dates are OK to fudge, you can go ahead and keep them just that little extra bit longer.


text:
Q: Twisted deferred.callback(value) fires callback with None Writing a unit test for a twisted application. Trying to perform some asserts once deferred is resolved with a new(dummy) connection (instance of proto_helpers.StringTransport), however callback assert_cache_updated_on_connection is receiving None instead of the connection that was passed to <deferred>.callback(connection)
def test_send_to_new_connection(self):
    # Given
    peerAddr = ('10.22.22.190', 5060)

    # If
    self.tcp_transport.send_to('test', peerAddr)

    # Then
    assert peerAddr in self.tcp_transport._connections
    assert True == isinstance(self.tcp_transport._connections[peerAddr], Deferred)

    connection = _string_transport_connection(self.hostAddr, peerAddr, None, self.tcp_transport.connectionMade)

    def assert_cache_updated_on_connection(connection):
        print('--------- SUCCESS ----------')
        peer = connection.transport.getPeer()
        peerAddr = (peer.host, peer.port)

        assert peerAddr in self.tcp_transport._connections
        assert True == isinstance(self.tcp_transport._connections[peerAddr], Protocol)

    def assert_fail(fail):
        print('--------- FAIL ----------')

    self.tcp_transport._connections[peerAddr].addCallback(assert_cache_updated_on_connection)
    self.tcp_transport._connections[peerAddr].addErrback(assert_fail)
    # Forcing deferred to fire with mock connection
    self.tcp_transport._connections[peerAddr].callback(connection)

Is this the right way to manually fire deferred callback?

A: A callback receives as its first argument one of two things:

*

*If it is the first callback, it receives the value passed to the callback method.

*If it is a subsequent callback, it receives the return value of the callback before it.

So presumably the explanation is that assert_cache_updated_on_connection is not the first callback and that the callback before it is returning None.