= -7*a + 5*a. Let d be a/(0/(-1) + 1/(-5)). Suppose 4*j + 370 = 2*p, d*j = 5*p - 0*j - 910. List the prime factors of p.
179
Let k = -930 - -16164. What are the prime factors of k?
2, 3, 2539
Let m be ((-456)/26)/(-3) + 6/39. Suppose m*t + 27*t - 16005 = 0. What are the prime factors of t?
5, 97
Let h = -116 - -127. Suppose -6374 = -h*m + 567. Suppose 0 = 4*o - 473 - m. What are the prime factors of o?
2, 3, 23
Suppose -r + 4 = 4*c + 20, 0 = -2*r + 4*c - 20. What are the prime factors of -14*(-36)/(-56)*r?
2, 3
Suppose -14*y - 4*y = -122238. What are the prime factors of y?
6791
Let p be ((-56)/196)/(-1 + 6/7). Suppose -32 = 3*i - p*i. Let z = 218 - i. What are the prime factors of z?
2, 5
Let v(x) = x**3 + x**2 - x + 343. Let o = 426 - 426. What are the prime factors of v(o)?
7
Let p(u) = 84*u + 19*u**2 + 63*u + 34 - 137*u. List the prime factors of p(-5).
3, 17
List the prime factors of 15/(-6 + 3) - 987/(-63)*843.
2, 7, 23, 41
Let y = 76580 - -5580. What are the prime factors of y?
2, 5, 13, 79
Suppose 5*a = r - 0*r - 34, -2*a - 4*r = -4. Let y be (70/15 + -3)*a. Let o(b) = -b + 8. What are the prime factors of o(y)?
2, 3
Let f be 21/((2/4)/((-5)/(-30))). What are the prime factors of (f - 8)/(-1 + 0) + 141?
2, 71
List the prime factors of 19651*(19 + -14 - (6 + -2)).
43, 457
Let t be 13/(-91) + (142/14 - 0). Suppose -t*a = -2*a - 240. List the prime factors of a.
2, 3, 5
Suppose -3*c = v - 3782, v - 6*c - 3774 = -7*c. What are the prime factors of v?
2, 5, 13, 29
Let p(v) = 88*v + 89. What are the prime factors of p(2)?
5, 53
Let r(s) = -s**2 - 2*s - 3. Let b be r(-2). Let o be (-1010)/(-15) - (-1)/b. Let m = o + -36. List the prime factors of m.
31
Let i = -27 - -31. Suppose -9*b = -i*b - 65. Suppose -y - 2 = -t, 5*y - 4*y = -2*t + b. What are the prime factors of y?
3
Let g(x) = -4832*x**3 - 2*x**2 - 5*x - 3. List the prime factors of g(-1).
2, 151
Let m be 8/((-2)/(-87) + 0). Let s = 10014 + -9858. Let b = m - s. List the prime factors of b.
2, 3
List the prime factors of (-100216)/(-20) + 40/200.
5011
Let k = 789 - 44. Let z = 2277 - k. List the prime factors of z.
2, 383
Suppose -41*v + 3042 = -4010. Let k(p) = 301*p - 1. Let r be k(1). Let s = r - v. List the prime factors of s.
2
Let o be ((-35)/15 - -2)*0. List the prime factors of o*1/(-4) + 5 + 21.
2, 13
Let m(a) = -a**3 - a + 6. Let x be m(0). Let b be (-3)/3*297/(-9). Let u = b - x. What are the prime factors of u?
3
Suppose w = -4*r + 3033, 0 = -w + 3 - 6. What are the prime factors of r?
3, 11, 23
Let r(z) = 233*z**2 - 154*z + 2676. List the prime factors of r(19).
13, 6451
Suppose -2*c - k + 8 + 7 = 0, -4*k = -3*c - 5. Let u(y) = -7*y - 35. Let m be u(-5). Suppose m*l = c*l - 55. What are the prime factors of l?
11
Suppose 3*j = -3*j - 12. Let r = j - -1. List the prime factors of (2 - 13)/r - -3.
2, 7
Suppose -13*p - 15*p - 15543 = -39*p. List the prime factors of p.
3, 157
Suppose -4*j - 792 = -16*u + 20*u, 0 = 3*u + 2*j + 589. Let o = u + 339. What are the prime factors of o?
2, 73
Suppose -9568*p - 34815 = -9571*p. What are the prime factors of p?
5, 11, 211
Let p = -1856 - -3420. Let g = p - 581. What are the prime factors of g?
983
Let y = -66 - -71. Suppose 0 = 3*w + 3*o - 18, -y*w = 3*o - 22 - 0. List the prime factors of 57 + 1*(w - -1).
2, 3, 5
Let c(w) = 7*w + 14. Let b(q) = 13*q + 27. Let n(j) = -6*b(j) + 11*c(j). Let s be n(-8). Suppose s = -7*x + 660 + 362. What are the prime factors of x?
2, 73
Let f(y) be the third derivative of 23*y**5/12 + y**4/12 + 4*y**3/3 - 2*y**2. Let k be f(-5). Suppose k = 11*l + 35. What are the prime factors of l?
2, 3, 43
Let a(z) = -z**3 + z**2 + z + 5. Let h be a(0). Suppose 9 + h = 7*f. Suppose -10 = -f*k, n + 4*n + 5*k - 325 = 0. What are the prime factors of n?
2, 3, 5
Suppose -26*s - 67 = -27*s. Suppose -3*n = d + d - s, -52 = -2*n - 5*d. Suppose 4*f + n - 353 = 0. List the prime factors of f.
83
List the prime factors of (938/201)/((-54123)/(-135270) - (-2)/(-5)).
2, 3, 7, 167
Let m = 18659 + -7522. What are the prime factors of m?
7, 37, 43
Suppose -11256445 = -143*g - 2457512. What are the prime factors of g?
37, 1663
Suppose 3*q - 5*q - 3*x + 3081 = 0, 0 = x + 3. Suppose 7595 = 10*i - q. List the prime factors of i.
2, 457
Let x = 423 - 460. List the prime factors of (-11 - x/3)*(816 - 0).
2, 17
Suppose -50 = -2*g + 3*d, -3*g + 41 = -2*d - 39. Let l = 54 - g. Let b = l + 6. List the prime factors of b.
2
Suppose -4*h = 5*a - 15, -23 = -2*h + 5*a - 8. Suppose 0 = h*k + 621 - 1666. What are the prime factors of k?
11, 19
Suppose -3*q + 2*h + 6 = 0, -6*q + 3*q + h = -9. What are the prime factors of 317 - ((-14)/q + 39/(-26))?
2, 7, 23
Suppose -3*m + 3*s = -42624, -101*m - 3*s = -99*m - 28406. What are the prime factors of m?
2, 7103
Let d(u) = -121*u**2 - 2*u + 2. Let w(t) = -122*t**2 - 2*t + 2. Let g(z) = 6*d(z) - 5*w(z). Let s be g(1). Let k = s + 167. What are the prime factors of k?
3, 17
Let x(c) = -6*c + 4 - 11*c**2 + c**3 - 7*c + 11. Let f be x(12). Suppose -b = 3*u - 290, u - f*u - 4*b = -190. What are the prime factors of u?
97
Let a(c) = -c - 23. Let q be a(-17). Let n be 6/4*((-217 - 5) + q). Let l = 524 + n. What are the prime factors of l?
2, 7, 13
Suppose -5*u + b + 193 - 73 = 0, -2*b = u - 24. Suppose 0 = 9*h - h - u. Let t(n) = 21*n - 19. List the prime factors of t(h).
2, 11
List the prime factors of (-826249)/(-38) - (-4)/8 - 552/(-5244).
2, 3, 151
Let n = -52063 + 79943. List the prime factors of n.
2, 5, 17, 41
Let o be -112*(980/80 - 12). Let s(a) = 51*a - 4. Let g be s(-5). Let r = o - g. List the prime factors of r.
3, 7, 11
Let f = 12672 + -6816. List the prime factors of f.
2, 3, 61
Suppose -d = 5*j - 136882, d + 167647 = 5*j + 30779. What are the prime factors of j?
3, 5, 73
Let w(n) = -n**2 + 5*n + 2. Let q be w(5). Suppose 4*g + 2*y = -776, -y = g + q*g + 583. Let z = -107 - g. List the prime factors of z.
2, 11
Let p be (-8)/6 - 721/(-21). Let x be (-14)/77 - (-402)/p. What are the prime factors of (-1142)/(-8) + (-21)/x + 2?
11, 13
Let l = -154 + 156. Suppose -b = -0 - 2. Suppose b*j = -4*d + 74, j + 2*d - 95 = -l*j. List the prime factors of j.
29
List the prime factors of (7537/(-4) + 1)/(3/(-12)).
3, 31
Suppose -6*u - 36 = -18. Let w(l) = 45*l**2 - 6*l - 5. What are the prime factors of w(u)?
2, 11, 19
Let b(v) = -925*v - 8. Let n be b(-2). Suppose -2*p - 1236 = -4*x, -p - 2*p + 3*x - n = 0. List the prime factors of p/(-6) + (-10)/15 + 0.
101
Suppose 4*o + o - 3*j = -5020, 0 = 4*o + 5*j + 4016. List the prime factors of (6 - o/(-8))*(-48)/6.
2, 239
Suppose 5 = 5*a, -3*v - 4*a - 3505 = -27332. List the prime factors of v.
3, 2647
Let p = 86 - 95. Let w(l) = -39*l - 47. List the prime factors of w(p).
2, 19
Let d(v) = 92*v**2 + 551*v + 23. List the prime factors of d(-10).
47, 79
Let p be ((-2)/6)/(10/(-90)). Suppose q = 2*c, 0 = 5*q - 0*q - p*c + 14. List the prime factors of q + 103 + (-12)/(-3).
103
Suppose -218592 = 141*u - 159*u. List the prime factors of u.
2, 3, 11, 23
Suppose -2648*c + 85338 = -2637*c. What are the prime factors of c?
2, 3, 431
Let u(l) = -26*l + 69. Let h be 6 - (1 + 2) - 198/22. List the prime factors of u(h).
3, 5
Let g(o) = 36*o + 10. Let y(m) be the first derivative of m**2 - 10. Let c(r) = -2*g(r) + 18*y(r). List the prime factors of c(-6).
2, 7
Suppose -20 = 7*y - 923. Let u = -129 + y. Suppose u = 4*p - 2*a - 840, 0 = -a - 0*a. What are the prime factors of p?
2, 3, 5, 7
Let h be 2*(9/3)/3. Suppose 0 = -q - 4*y + 500, -465 = -q - 0*q + 3*y. Suppose -3*i = 2*i + r - q, r + 199 = h*i. List the prime factors of i.
97
What are the prime factors of 140/15*12/14 - -12573?
23, 547
Let l(s) = -s**3 - 30*s**2 + 116*s - 566. List the prime factors of l(-41).
13, 1013
Let t(n) = -3*n**3 - 10*n**2 - n + 5. Let q(f) = -2*f**3 + f**2 + f - 1. Let l(p) = 5*q(p) + t(p). What are the prime factors of l(-3)?
2, 3, 7
Suppose -543 = -p + 45. Let s = -263 + p. Suppose 5*k = -4*o + s, -3*o + 3*k + 33 = -177. What are the prime factors of o?
3, 5
Let a = -933 + 3495. What are the prime factors of a?
2, 3, 7, 61
Let y(n) = 25*n - 138. Let p be y(6). Let h = p - -247. List the prime factors of h.
7, 37
Suppose a - 60168 = -16*a - 6*a. What are the prime factors of a?
2, 3, 109
Le


Brain injury a risk for youth football players – football, where kids must #ConquerABI and they #NeverStop

As parents and caregivers, we try to shield our children from the perils of life while still providing them with challenging experiences so they can learn and be daring and prosperous later in life. The question is, where is the boundary line?

When is a certain activity too hazardous that it is not worth the risk?

A few years ago, back in saner times, President Barack Obama was interviewed by the New Yorker magazine and he conceded that while he loved football, if he had a son, he would not have let him play the game. I am in full agreement. As a parent, it occurred to me that Lev, my 7-year-old son, may want to play this popular game down the road and I was horrified. The fragile, growing, developing brain of a young child should never be subjected to repeated blows to the head.

I find the research that anchors this conclusion to be compelling, substantial and growing in scope. In 2016, an NFL representative finally admitted in a congressional hearing that a connection exists between CTE (chronic traumatic encephalopathy) and the game of football. More specifically, recent research from the Boston University School of Medicine found that children who take up football early are at greater risk of brain damage resulting in emotional and cognitive difficulties.

While I focus on health-related arguments in suggesting that kids should not play football, the game’s defenders often emphasize the many virtues of the sport in building character, camaraderie and time-management skills. Others argue that injuries are an inherent part of any sport.

I do not dispute these points, but these arguments fall to the wayside when contrasted with the demonstrated mental and cognitive health risks associated with playing football. Brain trauma is fundamentally different and far more serious than other types of bodily injuries.

Building character, camaraderie and the rest of the virtues gained through sports can be acquired through playing other sports. And if other sports are found to be equally dangerous to the brain, they should also not be played early in life.

Efforts to reform football are many, from limiting full-contact practice time to enacting stricter concussion protocols. But at their core, they are futile because, in this game, as opposed to other sports cited as potentially harmful, contact is not incidental — it is the essence of the sport. The human toll of playing the game, especially for the young, is just not worth it based on what we now know.

One of the common responses I get when I voice my objections to kids and teenagers playing football is that the sport is so enmeshed in the American way of life that this effort is pointless. I disagree. I think that as the evidence mounts about the dangers of the game, it is only a matter of time until a new consensus emerges. Much like public opinion about smoking, for example, this transformation in regards to football, I believe, is inevitable.

As parents, it is incumbent on us to keep our kids safe. Allowing them to play football goes against this obligation and is extremely negligent.


Prevalence and antibiotic resistance of bacterial pathogens isolated from childhood diarrhoea in four provinces of Kenya.
Diarrhoea is one of the main causes of morbidity and mortality among children in sub-Saharan Africa, and one of the main causes of hospital admissions in rural areas of Kenya. In Kenya, antimicrobial resistance surveillance has been conducted only at the institutional levels, with limited sharing of information and analysis of data. As a result, the actual scale of regional or national antimicrobial drug resistance is not well defined. Stool samples were collected between 1 October 2007 and 30 September 2008 from a total of 651 outpatients with diarrhoea who were under five years of age in four provinces of Kenya. Conventional, biochemical methods, multiplex PCR and antimicrobial susceptibility were conducted to identify the bacterial causes and virulence factors in the isolates, respectively. Of the 651 patients screened, we identified the causes of 115 cases (17.7%) as follows: Pathogenic E. coli (11.2%) [enteroaggregative (8.9%), enterotoxigenic (1.2%), enteroinvasive (0.6%), shigatoxigenic (0.5%)], Salmonella (3.5%), Shigella (2%) and Vibrio cholera O1 (0.7%). The highest levels of resistance among the E. coli isolates were observed in ampicillin and trimethoprim/sulphamethoxazole each at 95% followed by tetracycline at 81%. Shigella isolate levels of resistance ranged from 80% to 100% for ampicillin, tetracycline and trimethoprim/sulphamethoxazole. The highest prevalence of antimicrobial resistance was to ampicillin followed by trimethoprim/sulphamethoxazole and tetracycline. Though still at low levels, the major concern from our findings is the emerging resistance of enteric pathogens that was observed to quinolones (ciprofloxacin, nalidixic acid, norfloxacin) and gentamycin.


Q:

Microservice multiplies postgres connections

I have a service wrote via golang, which work as a consumer, It gets data from kafka's queue and stores it in PostgreSQL database. While doing certain request golang starts to multiply PG connections and then exceeds the limit of them. I don't know why, please help me with this issue.
Here is the code:
func SaveMessageStatus(msg models.Message) error {

db := GetPostgreInstance() // Get *sql.DB instance

// Проверяем есть ли записи

rows, err := db.Query(`select * from "tNotifStatus" where "NotificationId" = $1`, msg.NotificationID)

if err != nil {
    CheckError(err, "SLCT status", "")
    return err
}

if rows.Next() {
    // Смотрим если запись в таблице уже есть, тогда просто обновляем статусы по сообщению
    fsql := `update "tNotifStatus" set "Status" = $1, "Error" = $2, "UpdateTime" = $3 where "NotificationId" = $4`

    _, err = db.Exec(fsql, msg.Status, msg.Error, msg.UpdateTime, msg.NotificationID)

    if err != nil {
        //Логируем
        CheckError(err, "UPDT status", "")
        return err
    }

} else {
    // Если записей нет, то создаем новую
    fsql := `insert into "tNotifStatus" values ($1,$2,$3,$4,$5)`
    _, err = db.Exec(fsql, msg.NotificationID, msg.Status, msg.Error, msg.ChannelName, msg.UpdateTime)
    if err != nil {
        //Логируем
        CheckError(err, "INS status", "")
        return err
    }
}
return err

}
If we see PG admin monitoring, we have a lot of new connections:
6460    UCS ucs     10.3.40.20  2018-12-27 09:35:14 +06 idle    Client: ClientRead
46462   UCS ucs     10.3.40.20  2018-12-27 09:35:17 +06 idle    Client: ClientRead
46463   UCS ucs     10.3.40.20  2018-12-27 09:35:17 +06 idle    Client: ClientRead
46517   UCS ucs     10.3.40.20  2018-12-27 09:36:20 +06 idle    Client: ClientRead
46518   UCS ucs     10.3.40.20  2018-12-27 09:36:21 +06 idle    Client: ClientRead
46520   UCS ucs     10.3.40.20  2018-12-27 09:36:22 +06 idle    Client: ClientRead
46521   UCS ucs     10.3.40.20  2018-12-27 09:36:23 +06 idle    Client: ClientRead
46522   UCS ucs     10.3.40.20  2018-12-27 09:36:23 +06 idle    Client: ClientRead
46524   UCS ucs     10.3.40.20  2018-12-27 09:36:24 +06 idle    Client: ClientRead
46525   UCS ucs     10.3.40.20  2018-12-27 09:36:24 +06 idle    Client: ClientRead
46527   UCS ucs     10.3.40.20  2018-12-27 09:36:25 +06 idle    Client: ClientRead
46529   UCS ucs     10.3.40.20  2018-12-27 09:36:25 +06 idle    Client: ClientRead
46531   UCS ucs     10.3.40.20  2018-12-27 09:36:26 +06 idle    Client: ClientRead
46532   UCS ucs     10.3.40.20  2018-12-27 09:36:26 +06 idle    Client: ClientRead
46534   UCS ucs     10.3.40.20  2018-12-27 09:36:27 +06 idle    Client: ClientRead
They all try to execute
select * from "tNotifStatus" where "NotificationId" = $1

May be it is related with Wait Event (ClientRead), golang lib starts new connection while the old one is still trying to finish "SELECT"
Here is code of connection to DB
    func GetPostgreInstance() *sql.DB {
    return postgreClient
}

func InitPqConnection() {

    var err error

    var configuration models.Configuration
    configuration.Load()

    connStr := configuration.PostgreConnString

    postgreClient, err = sql.Open("postgres", connStr)
    if err != nil {
        CheckError(err, "Connection to db", "")
        panic("Error connection to DB")
    }
    fmt.Println("Connected to db")
}

A:

You need to either use QueryRow(), since you aren't using nor expecting multiple rows, or do a defer rows.Close() (which you should always do when using .Query
https://golang.org/pkg/database/sql/#Rows.Close

Close closes the Rows, preventing further enumeration. If Next is called and returns false and there are no further result sets, the Rows are closed automatically and it will suffice to check the result of Err. Close is idempotent and does not affect the result of Err.

http://go-database-sql.org/retrieving.html

If for some reason you exit that loop – an early return, or so on – then the rows doesn’t get closed, and the connection remains open.

rows, err := db.Query(`select * from "tNotifStatus" where "NotificationId" = $1`, msg.NotificationID)
if err != nil {
    CheckError(err, "SLCT status", "")
    return err
}
defer rows.Close()

Since you are not even iterating over rows.Next() you are basically never hitting the automatic close condition, and always leaving your connections open.


Q:

How to create a "long-running" version of "\classicstylenums" in "kpfonts" package?

I'm using kpfonts in my document with old style numbers. However, in some sections (e.g. figures and tables), I want to revert to the normal style numbers. There is a command for doing that - \classicstylenums - but the text has to be given as an argument, like so: \classicstylenums{text text text text} Instead of having to repeat the command for each text segment, I want to declare it once, like so: \myclassicstylenums text text text ... And by doing it within a group, the text reverts back to old style numbers.
Anyone has any idea on how to achieve this?

A:

You can revert to lined numbers by defining
\newcommand\linednumbers{%
  \renewcommand{\rmdefault}{jkp}%
  \renewcommand{\sfdefault}{jkpss}%
  \normalfont}

This is a declaration that will respect grouping; so, for example, you can put it inside a table environment.
You can also use it as an environment by itself:
\begin{linednumbers}
Material with lined numbers
\end{linednumbers}

but it's best to use it for complete paragraphs.
If one is devious enough to use the fulloldstylenums option, then something more is needed:
\newcommand\linednumbers{%
  \renewcommand{\rmdefault}{jkp}%
  \renewcommand{\sfdefault}{jkpss}%
  \normalfont\mathversion{lined}}
\DeclareMathVersion{lined}
\SetSymbolFont{operators}{lined}{OT1}{jkp}{m}{n}


Maximum Power And Outstanding Accuracy

5 per box

If you need outstanding accuracy at longer distances, the Brenneke Gold Magnum Slug is exactly what you need. This slug is one of the heaviest and accurate slugs available and offers the hard-hitting knockdown power you need in the field. The Gold Magnum line features broad ribs for optimum guidance and a special coating to reduce lead fouling. Brenneke has been a leader in the development of hunting ammunition since 1895 and is headquartered in Germany. Brenneke USA was formed in 1995 and continues to offer the outstanding quality and reliability of Brenneke products in America.

AmmoWARNING
You must be 18 or older to purchase shotgun or rifle ammunition and 21 or older to purchase handgun ammunition. All ammunition must be shipped Domestic Ground. Shipping not available for International, DC, and MA residents. Residents of CA, DE, IL, NY and OH, may have additional restrictions. Always make sure you use the correct ammunition for your firearms. Check your state and local laws for any other applicable firearms and ammunition regulations. Due to Department of Transportation regulations, we cannot accept returns on ammo. Please check local laws before ordering. View full restrictions here.


Laura Ann Moore Dies; St. Louis LGBT, Social Justice Advocate

St. Louis civil rights leader and community activist Laura Ann Moore passed away yesterday, the St. Louis LGBT History Project reports. Born in 1945, Moore was a co-founder in St. Louis of the Lesbian Alliance in the late 1960s. With others, Moore helped found a rape crisis center and the St. Louis Abused Women’s Support Project.

St. Louis LGBT History Project:

The Lesbian Alliance helped organize a state lobbying day to protest when Anita Bryant campaigned in Missouri in 1977 and protested the Miss Universe contest when the event came to St. Louis in 1983. In the early 1970s, Moore and her group successfully challenged the sexually-biased admittance policies of Ranken Technical College.

The school initially admitted two women, including Moore, who went on to open a garage and form the St. Louis Women’s Garage. Joining NOW in the 1970s, Moore became chair of the St. Louis legal committee.

The committee lobbied the city of St. Louis mayor’s office for women’s rights, to get funding for women’s initiatives, and to get women appointed to city government. The committee also wrote a booklet that told women what to do in cases of sexual harassment, held protests, and lobbied for abortion rights. Moore was also an elected delegate to International Women's Year Conference in Houston in 1977.

Moore was the first woman in St. Louis to serve as a housing inspector, a building inspector, and a multi-discipline inspector for commercial and residential property.

She was fired from her job as a building commissioner of Vinita Park when the fact that she was a lesbian made the front page of the St. Louis Post-Dispatch.

Moore sued, received a settlement, and became the first "out" LGBT person appointed to the St. Louis Civil Rights Commission (in 1993 by Mayor Freeman Bosley Jr.), and possibly to any public commission or office in the city's history. Moore received her B.A. from the University of Missouri-St. Louis.

For more on the life of Laura Ann Moore, please read the tribute penned by her longtime friend and fellow LGBT activist Kris Kleindienst.


/* @(#)s_tanh.c 5.1 93/09/24 */
/*
 * ====================================================
 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
 *
 * Developed at SunPro, a Sun Microsystems, Inc. business.
 * Permission to use, copy, modify, and distribute this
 * software is freely granted, provided that this notice
 * is preserved.
 * ====================================================
 */

/*

FUNCTION
        <<tanh>>, <<tanhf>>---hyperbolic tangent

INDEX
tanh
INDEX
tanhf

SYNOPSIS
        #include <math.h>
        double tanh(double <[x]>);
        float tanhf(float <[x]>);

DESCRIPTION

<<tanh>> computes the hyperbolic tangent of
the argument <[x]>.  Angles are specified in radians.

<<tanh(<[x]>)>> is defined as
. sinh(<[x]>)/cosh(<[x]>)

<<tanhf>> is identical, save that it takes and returns <<float>> values.

RETURNS
The hyperbolic tangent of <[x]> is returned.

PORTABILITY
<<tanh>> is ANSI C.  <<tanhf>> is an extension.

*/

/* Tanh(x)
 * Return the Hyperbolic Tangent of x
 *
 * Method :
 *				       x    -x
 *				      e  - e
 *	0. tanh(x) is defined to be -----------
 *				       x    -x
 *				      e  + e
 *	1. reduce x to non-negative by tanh(-x) = -tanh(x).
 *	2.  0      <= x <= 2**-55 : tanh(x) := x*(one+x)
 *					        -t
 *	    2**-55 <  x <=  1     : tanh(x) := -----; t = expm1(-2x)
 *					       t + 2
 *						     2
 *	    1      <= x <=  22.0  : tanh(x) := 1-  ----- ; t=expm1(2x)
 *						   t + 2
 *	    22.0   <  x <= INF    : tanh(x) := 1.
 *
 * Special cases:
 *	tanh(NaN) is NaN;
 *	only tanh(0)=0 is exact for finite argument.
 */

#include "fdlibm.h"

#ifndef _DOUBLE_IS_32BITS

#ifdef __STDC__
static const double one=1.0, two=2.0, tiny = 1.0e-300;
#else
static double one=1.0, two=2.0, tiny = 1.0e-300;
#endif

#ifdef __STDC__
	double tanh(double x)
#else
	double tanh(x)
	double x;
#endif
{
	double t,z;
	__int32_t jx,ix;

    /* High word of |x|. */
	GET_HIGH_WORD(jx,x);
	ix = jx&0x7fffffff;

    /* x is INF or NaN */
	if(ix>=0x7ff00000) {
	    if (jx>=0) return one/x+one;    /* tanh(+-inf)=+-1 */
	    else       return one/x-one;    /* tanh(NaN) = NaN */
	}

    /* |x| < 22 */
	if (ix < 0x40360000) {		/* |x|<22 */
	    if (ix<0x3c800000) 		/* |x|<2**-55 */
		return x*(one+x);    	/* tanh(small) = small */
	    if (ix>=0x3ff00000) {	/* |x|>=1  */
		t = expm1(two*fabs(x));
		z = one - two/(t+two);
	    } else {
	        t = expm1(-two*fabs(x));
	        z= -t/(t+two);
	    }
    /* |x| > 22, return +-1 */
	} else {
	    z = one - tiny;		/* raised inexact flag */
	}
	return (jx>=0)? z: -z;
}

#endif /* _DOUBLE_IS_32BITS */


Synopsis

The boys get jobs as a butler and maid (Stan in drag) for a dinner party. When that ends in disaster, they resort to sweeping streets and accidentally capture a bank robber. The thankful bank president sends them to Oxford to get an education. Predictable results ensue.


AIIMS doctor commits suicide

New Delhi: An AIIMS doctor allegedly committed suicide by injecting herself with some poisonous substance at her flat in IP Extension in east Delhi, police said today.
30-year-old Dr Ritu Bangoti allegedly took the extreme step at her flat in Kurmanchal Apartment of IP Extension yesterday evening, police said.
The deceased was reportedly having strained relations with her husband. Neighbours told police that the couple had frequent fights over domestic issues.
Sources said the deceased left behind a suicide note but police did not confirm it.
Dr Ritu got married three years back and had a two-year- old daughter.
Police questioned the husband of the deceased, Brajesh for several hours. PTI


Digital polarization holography advancing geometrical phase optics.
Geometrical phase or the fourth generation (4G) optics enables realization of optical components (lenses, prisms, gratings, spiral phase plates, etc.) by patterning the optical axis orientation in the plane of thin anisotropic films. Such components exhibit near 100% diffraction efficiency over a broadband of wavelengths. The films are obtained by coating liquid crystalline (LC) materials over substrates with patterned alignment conditions. Photo-anisotropic materials are used for producing desired alignment conditions at the substrate surface. We present and discuss here an opportunity of producing the widest variety of "free-form" 4G optical components with arbitrary spatial patterns of the optical anisotropy axis orientation with the aid of a digital spatial light polarization converter (DSLPC). The DSLPC is based on a reflective, high resolution spatial light modulator (SLM) combined with an "ad hoc" optical setup. The most attractive feature of the use of a DSLPC for photoalignment of nanometer thin photo-anisotropic coatings is that the orientation of the alignment layer, and therefore of the fabricated LC or LC polymer (LCP) components can be specified on a pixel-by-pixel basis with high spatial resolution. By varying the optical magnification or de-magnification the spatial resolution of the photoaligned layer can be adjusted to an optimum for each application. With a simple "click" it is possible to record different optical components as well as arbitrary patterns ranging from lenses to invisible labels and other transparent labels that reveal different images depending on the side from which they are viewed.


Reconstruction of the anophthalmic orbit by orbital osteotomy and free flap transfer.
It is a challenging problem for the plastic surgeon to perform adequate reconstruction of the postenucleation and radiated orbit of patient with retinoblastoma. Rebuilding of the orbital structure, reconstruction of the eye socket, and restoration of periorbital volume are required in this kind of orbital reconstruction. In this study, we reviewed 12 patients with hypoplastic orbital deformities who underwent orbital osteotomy and free flap transfer. Reconstruction of the orbital cavity was achieved using "C" osteotomy of the lateral portion of the orbit in mild and moderate cases or transverse "U" osteotomy of the lateral wall, roof, and floor by an intracranial approach in a portion of severe cases. Socket reconstruction and periorbital volume restoration was achieved using dorsalis pedis free flap transfer by microsurgery. What we concluded from our experience was that the combination of orbital osteotomy and free flap transfer could meet the multirequirements for anophthalmic orbital reconstruction, including both orbital bony enlargement and soft tissue restoration.


Using connectionist models to guide assessment of psychological disorder.
Connectionist models are introduced as promising tools for understanding the nature of psychological disorders and guiding their assessment. Specifically, ways in which connectionist models can guide the following aspects of the assessment process are described: understanding what constructs are relevant to assess, designing approaches to assessing these constructs, and understanding individual differences in data from assessments. Two extended examples are given based on the authors' research on cognitive aspects of depression and Alzheimer's disease.


Post navigation

Lunar Eclipse Horoscope For Gemini And Gemini Rising YES Lunar Eclipse. As in the one at the end of July. The Weekly Horoscopes for that week are not going up until July 17. But I am posting this early for [ Read more…]

The first time Lyn Slater felt control over her body was at the age of 40, when she got her first tattoo. Twenty-three years later and she’s never felt better. The oldest of six siblings, Lyn has spent her entire [ Read more…]

There is no way that members of the same Sun Sign automatically get along. It’s not like discovering that you y’all have a shared interest or something. A Scorpio sniper, for example, is not going to just instantly bond with [ Read more…]

“Women born under the sign of Gemini are considered the most flirtatious.” This is from 1953 – was it true then? Is it true now? Is “flirtatious” even a thing anymore or is there a more mindful term for it? [ Read more…]

I saw this video on Tumblr and immediately thought “GEMINI” and yes, voila – Hazel Scott was born June 11, a double Gemini – Sun/Venus. She also had a way with words (Mercury conjunct Pluto): “there is only one free [ Read more…]

“Sport hunting is a crime. My sympathies are with the fox.” Wallis Simpson. My god, no wonder the British establishment did not like Wallis Simpson. She not only took off with the King of the day – who had to [ Read more…]