Q:

How to convert decimal value at run time in hive

I need to convert amount value to decimal based on number specified in indicator field
for eg. if  amount is 20000 and dec_indicator has value 2 then amount will be 200.00
if  amount is 500 and dec_indicator has value 1 then amount will be 50.0 and so on
Decimal position value is coming from dec_indicator column in the same table
i tried below
select decimal(amount,dec_indicator) as new_col from data_table ;

Its not working
how to achieve that in hive

A:

with t as (select 12345 as amount,2 as dec_indicator)
select  amount / power(10,dec_indicator)
from    t
;

123.45


Q:

Access to XMLHttpRequest has been blocked by CORS policy

I've a problem when I try to do PATCH request in an angular 7 web application.
In my backend I have:
app.use((req, res, next) => {
    res.set({
        "Access-Control-Allow-Origin": "*",
        "Access-Control-Allow-Methods": "*",
        "Access-Control-Allow-Headers": "'Access-Control-Allow-Headers: Origin, Content-Type, X-Auth-Token'",
    });

    next();
});

In my frontend service, I've:
  patchEntity(ent: any, id) {
    let headers = new Headers({ 'Content-Type': '*' });
    let options = new RequestOptions({ headers: headers });
    return this.http.patch('my_url', ent).map((res: Response) => res.json());
  };

The error is:
Access to XMLHttpRequest at 'my_url' from origin 'http://localhost:4200' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.

What can I to do?
Thanks.

A:

There are two ways this can be handled:

Temporary Front-End solution so you can test if your API integration is working:

Click on window -> type run and hit enter -> in the command window copy:
chrome.exe --user-data-dir="C://Chrome dev session" --disable-web-security
This will open a new "Chrome" window where you can work easily. This is a temporary solution. Every time you will have to work with this chrome window.

Permanent solution:

In the backend code, the developer needs to add an annotation @Crossorigin right above the CRUD api call method.
Let me know if it works.


Q:

Liferay Set Page Layout permission programmatically

My requirement is such that I have to programmatically create organization pages and set permission to them. So far I created organization public pages
layout = LayoutLocalServiceUtil.addLayout(_defaultUserId, _groupId, PRIVATE_LAYOUT, PARENT_LAYOUT_ID, pageSetting.name, pageSetting.title, description, TYPE, pageSetting.hidden, pageSetting.url, serviceContext);
LayoutLocalServiceUtil.updateLayout(layout.getGroupId(), layout.isPrivateLayout(), layout.getLayoutId(), layout.getTypeSettings());

But the public pages has guest view permission. I want to remove that view permission from guest user programmatically.

A:

First of all you need to find role "Guest" for current Liferay instance (company):
long userRoleId = RoleLocalServiceUtil.getRole(_companyId, "Guest").getRoleId();

Afterwards you need to remove a permission:
ResourcePermissionLocalServiceUtil.removeResourcePermissions(
    _companyId,
    layout.getModelClassName(),
    ResourceConstants.SCOPE_INDIVIDUAL,
    String.valueOf(layout.getPrimaryKey()),
    userRoleId,
    new String[]{ActionKeys.VIEW}
);

EDIT: updated according comment


Throughout her life, Carrie Fisher proved time and time again how delightfully funny she was, whether while promoting films with her dog or making statements like: "I tell my younger friends that no matter how I go, I want it reported that I drowned in moonlight, strangled by my own bra.”

Even in death, the world has been humoured by the Star Wars actor, most notably after her ashes were placed in an urn shaped like a Prozac pill.

Thanks to ABC News, an old podcast has begun circulating online in which Fisher reveals exactly how she wants her Oscars ceremony tribute video to play out.

Rather than just a montage of clips of past performances, Fisher told Rebel Force Radio that she wants Star Wars co-star Harrison Ford to sing “Melancholy Wookie”, a song that seemingly did not exist beforehand.

Debbie Reynolds and Carrie Fisher Show all 9 1 /9 Debbie Reynolds and Carrie Fisher Debbie Reynolds and Carrie Fisher American actor and singer Debbie Reynolds smiles and holds her infant daughter, Carrie Fisher Getty Debbie Reynolds and Carrie Fisher American actress Debbie Reynolds with her daughter Carrie Fisher Getty Debbie Reynolds and Carrie Fisher Actress Debbie Reynolds, poses with her children Carrie Fisher and Todd Fisher Getty Debbie Reynolds and Carrie Fisher Debbie Reynolds and Carrie Fisher arrive at the premiere of 'Star Wars Episode III: Revenge of the Sith' Getty Debbie Reynolds and Carrie Fisher Actress Carrie Fisher and her mother, actress Debbie Reynolds Getty Debbie Reynolds and Carrie Fisher Actress Debbie Reynolds accepts the Life Achievement Award from her daughter, actress Carrie Fisher onstage at the 21st Annual Screen Actors Guild Awards at The Shrine Auditorium in Los Angeles, California. Getty Debbie Reynolds and Carrie Fisher Actresses Carrie Fisher, Screen Actors Guild Life Achievement Award recipient Debbie Reynolds, and Billie Lourd pose in the press room during the 21st Annual Screen Actors Guild Awards at The Shrine Auditorium in Los Angeles, California Getty Debbie Reynolds and Carrie Fisher A candle is seen on the star for Debbie Reynolds on the Hollywood Walk of Fame in Hollywood, California Getty Debbie Reynolds and Carrie Fisher A view of a temporary star made by fans in tribute to actress Carrie Fisher on Hollywood Walk of Fame in Hollywood, California Getty

“I saw him on Oscar night at some party. And I asked him – you know how they have the reel on all the people who how died? I asked him if he would be in my death reel, and if he would sing. It's just something I want.

“Because they did that thing with John Hughes, they brought out all these actors who worked with him. So I just figured they'll bring out, depending on, of course, when it happens, there's a lot of people they can bring out. He's going to sing ‘Melancholy Wookie.’”


Q:

import dalvik.system.VMRuntime cannot find

I am trying to import VMRuntime but i does not seem got
There were only got 3 packages which were dexclassloader, dexfile and pathclassloader.
import dalvik.system.VMRuntime <-- does not exist.
How to enable it?

A:

It appears that class VMRuntime was removed in API 9:
http://developer.android.com/sdk/api_diff/9/changes/pkg_dalvik.system.html


Polynomial representation of transmittance models.
A quadratic formula that accurately represents general absorptance is both developed for 5 cm(-1) data on the 4upsilon(2) + upsilon(3) band of CO(2) centered at 4853.58 cm(-1) and generalized to a polynomial function of the weak- and strong-line limits of known models.


Search

New England Patriots quarterback Tom Brady might face a suspension after his role in the “Deflategate” scandal. Photo Credit: si.com

We didn’t need a 243-page report to tell us Tom Brady probably cheated during the New England Patriots’ 45-7 playoff victory over the Indianapolis Colts in last season’s AFC Championship Game.

But that’s what we received Wednesday.

Ted Wells, the architect behind the recent Wells Report, stated it was “more probable than not” that Brady was “at least generally aware of the inappropriate activities involving the release of air from Patriots game balls.”

Four months of investigating has led us to “more probable than not.” I could have told you that. But we already knew.

The less-than-definitive report simply confirmed Brady might have, potentially, probably had something to do with the footballs being deflated. That’s all the confirmation we need.

The report states locker room attendant Jim McNally and equipment assistant John Jastremski “participated in a deliberate effort to release air from Patriots game balls after the balls were examined by the referee.”

Am I supposed to believe these were a couple of rogue employees who decided to deflate footballs on their own? Of course not. Why would they without their star quarterback knowing about it?

Now that’s the million dollar question. It also supports the notion that Brady did, in fact, have something – if not everything – to do with it.

Brady handles the ball on every offensive snap. A 37-year-old quarterback of his tenure would undoubtedly notice if a ball was underinflated. Yet he never mentioned anything.

Additionally, Brady refused to hand over his cell phone to aid in the investigation after exchanging phone calls with one of the equipment assistants just days after news broke of ball-tampering suspicions. This suggests he had something to hide.

Intentionally deflating footballs might seem like a petty violation at face value, but it’s all about the principle. In the grand scheme of things, I care a lot more about players taking HGH or other illegal substances to gain an unfair advantage over their competition, as it’s a more prominent league-changing issue. But that remains a conversation to be had another day.

Brady cheated. That’s a fact. You can’t deny it. You can’t defend it. He and his accomplices altered the centerpiece of the game: the football. In doing so, even by the slightest margin, he gained a competitive advantage over his opponent.

Forget about the final score of the Patriots’ 45-7 shellacking of the Colts. Forget about the fact that the Patriots actually scored more points after the deflated balls were replaced at halftime. These points are rendered moot. They don’t condone cheating.

And that’s exactly what Brady did, thus corrupting the integrity of the game. I’m not suggesting the Patriots would have lost to the Colts – not by any stretch. Brady’s indiscretion wasn’t worth a 38-point difference on the scoreboard. But if the Patriots were the better team, why would Brady feel the need to cheat?

Brady likely will, and should, be suspended – a small price to pay for a quarterback with four Super Bowl rings and a spot waiting for him in the Hall of Fame.

If Brady’s actions are any indication, he doesn’t care about his legacy, nor do the Patriots. New England is no stranger to rule infringements.

Back in 2007, the team was punished after a staff member was caught videotaping the New York Jets’ defensive signals, known as “Spygate.” There’s a great deal of irony that eight years later, surveillance videos showed McNally had taken footballs into a bathroom, where he remained for 100 seconds, before taking them back to the field before the game.

There’s an easy solution: have the NFL provide a set of league-mandated footballs rather than allow each team to use its own.

I don’t care whether it’s one game, two games, four games or even an entire season; Brady needs to be suspended. Commissioner Roger Goodell must take action and send a message that cheating, no matter the severity, will not be tolerated in the NFL.

I’d be in favor of further punishment to the Patriots’ organization as well. It starts from the top. Owner Robert Kraft and head coach Bill Belichick may not have had any knowledge of Brady’s transgressions. But Goodell once said, “ignorance is not an excuse,” regarding the New Orleans Saints bounty scandal in 2012. That resulted in major suspensions for Saints head coach Sean Payton and General Manager Mickey Loomis.

A similar ruling could apply here. Just because Kraft and Belichick were unaware doesn’t mean they should be exempt from punishment. After all, the Patriots have been involved in controversy before.

Technically listed as a safety, Randall was a virtual unknown in Packerland for obvious reasons. The Packers didn’t need a safety. They needed a cornerback. So when the Packers selected Randall with their first-round pick in the draft, eyebrows were understandably raised throughout Wisconsin. But fear not. Randall has experience playing man-to-man coverage as a slot corner, his most likely landing spot given Casey Hayward’s impending transition to the outside.

Randall was highly regarded by many as the best cover man in the entire draft. With the NFL’s pass-happy reputation and an increasing number of teams running the spread offense, players who can cover come at a premium. Randall should be able to step in and compete right away. The Packers’ pick was in almost immediately after they were on the clock, further proving Ted Thompson got his man.

Quinten Rollins – Cornerback, Miami (OH) (62nd overall)

Quinten Rollins Photo Credit: gannett-cdn.com

Thompson further addressed the need at cornerback by selecting Rollins in round two. With a basketball background, Rollins played just one year of college football, but that’s all it took to make an impression on the Packers. In his lone season, Rollins had seven interceptions and earned MAC Defensive Player of the Year honors. His ball-hawking tendencies appeal to the Packers, who often thrive when forcing turnovers.

Rollins’ ability is raw; his upside, tremendous. Competition is healthy for any position group, and the additions of Rollins and Randall will certainly add to it in the cornerbacks room. The Packers’ secondary appears to be in good shape after being a serious question mark following the losses of Tramon Williams and Davon House in free agency.

Ty Montgomery – Wide Receiver, Stanford (94th overall)

Ty Montgomery Photo Credit: stanforddaily.com

It’s difficult not to be sold on a player who has been referred to as a bigger version of Randall Cobb. At 6’0″, 221 pounds, Montgomery is built for strength. But he also has quickness, making him yet another versatile option for the Packers. You can never have too many weapons for Aaron Rodgers.

Montgomery also could become a threat in the backfield – as we’ve seen sparingly from Cobb the past few seasons – and provide a much-needed spark to special teams as a dynamic return man. That would allow Cobb to avoid further injury risk and focus primarily on his duties as a slot receiver. The Packers likely invested a third-round pick in Montgomery to be more than a special teams contributor. In time, he could be a primary fixture in the Packers’ passing attack.

Jake Ryan – Linebacker, Michigan (129th overall)

Jake Ryan Photo Credit: bleacherreport.com

Ryan will inevitably be one of the most popular selections among Packers fans for the sole reason he addresses an immediate need. He also provided solid value in the fourth round. After tearing his ACL during his junior season in 2013, Ryan recovered in just six month’s time and moved from outside to inside linebacker. Ryan’s instincts have been praised, and he tested well at the combine with a sneaky 4.61 40. He has a nose for the football and a nonstop engine, similar to Clay Matthews.

Ryan is decent in coverage but will have to improve that part of his game to become the complete three-down linebacker the Packers need. Expectations must be tempered and lofty comparisons held in check, but Ryan has the potential to become a day-one starter at inside linebacker for the Packers’ defense.

Brett Hundley – Quarterback, UCLA (147th overall)

Brett Hundley Photo Credit: bleacherreport.com

Packers head coach Mike McCarthy has often expressed his desire to get his hands on a developmental quarterback. Enter Hundley. Projected by many to be drafted in the second round, Hundley was scooped up in the fifth round after the Packers traded their original draft pick, plus a seventh-rounder to the New England Patriots – a small price to pay for a talented prospect with as much upside as Hundley possesses.

It’s unlikely that Hundley was brought in to become Rodgers’ future replacement, as Rodgers is just 31 years old and coming off his second MVP season. Nevertheless, the Packers’ have had issues at backup quarterback in recent years, and Rodgers hasn’t exactly been injury-free. Scott Tolzien is currently entrenched in the role as Rodgers’ backup, but given a season under McCarthy’s tutelage, Hundley could overtake Tolzien by season’s end.

Aaron Ripkowski – Fullback, Oklahoma (206th overall)

Aaron Ripkowski Photo Credit: crimsonandcreammachine.com

Ripkowski appears to be the second coming of fan-favorite John Kuhn, who is in the twilight of his career. Effective as a blocker, ball-carrier and receiver out of the backfield, Ripkowski has all the tools to contribute in the Packers’ explosive offense. He also offers an immediate impact on special teams, a primary point of emphasis during the offseason. Chants of “KUUUUUHN” won’t last forever, but Ripkowski can seamlessly fill the void when Kuhn decides to hang up the cleats.

Christian Ringo – Defensive End, Louisiana-Lafayette (210th overall)

Christian Ringo Photo Credit: gannett-cdn.com

Labeled as a long snapper during ESPN’s draft coverage – much to my amusement – Ringo must have had more to offer to the Packers. As a matter of fact, he does. A disruptive pass-rusher in college, with 11.5 sacks last season, Ringo already has drawn comparisons to teammate Mike Daniels, one of the anchors along the Packers’ defensive line. Ringo is effective against the run as well, recording 20.5 tackles for loss in 2014. He’s a sleeper.

Kennard Backman – Tight End, Alabama-Birmingham (213th overall)

Kennard Backman Photo Credit: provationsgroup.org

The UAB football program closed down at the end of last season, but Backman had the urge to continue his career in the NFL. The Packers took a chance on him with their final pick of the draft. With 39 receptions for 399 yards and three touchdowns in his final collegiate season, Backman didn’t have eye-popping numbers. But at 6’3″, 243 pounds, he does have the versatility and athleticism the Packers covet in their tight ends.

The Packers haven’t featured a tight end who can stretch the middle of the field since Jermichael Finley, and current options Richard Rodgers and Andrew Quarless don’t necessarily scare opposing defenses. Rodgers has shown flashes with his great hands, but he isn’t a threat after the catch. And Quarless’ contract is up at the end of next season, meaning if Backman impresses, he might have a shot at a starting job in 2016. Expect nothing more than special teams duty for now, if he makes the team.


Barton Hills, Austin, Texas

Barton Hills is a neighborhood in Austin, Texas. It is located in south Austin, and encompasses part of ZIP code 78704.

Barton Hills is bounded by South Lamar and Zilker neighborhoods to the east, Barton Springs Road and Zilker Park to the north, Barton Creek and the Spyglass-Barton's Bluff neighborhood to the west and the Capital of Texas Highway to the south.

Barton Hills is primarily residential, with the oldest homes dating back to the 1940s. Additionally, the area is home to several attractions including the Barton Creek Greenbelt nature preserve and the Umlauf Sculpture Garden and Museum. Just north of the neighborhood are Barton Springs Pool, a natural spring fed by Barton Creek, and the 351-acre Zilker Park.

History
In 1837, William "Uncle Billy" Barton set up his pioneer homestead near a natural spring on the southern bank of the Colorado River, naming the springs after his daughters Parthenia, Eliza and Zenobia. Their names did not stick, but William's did and 160 years later the springs, the pool, and several popular Austin neighborhoods bear the name "Barton."

Established in the 1940s and 1950s with construction continuing through the 1970s to the late 1990s, Barton Hills contains many different styles of single-family homes. In the 1940s, noted Austin-based architect A.D. Stenger designed and built a group of contemporary mid-century modern homes in a section of land bound by Arthur Street and Ariole Way. Barton Hills was featured in Austin’s 1956 Parade of Homes as “the world’s largest air-conditioned subdivision.” Beginning in that year, it was platted as a subdivision in six sections by S.R. Sheppard, Builders Development Corporation and others. Barton Hills eventually had 1,585 lots planned on its 535 acres (0.84 square mile).

During the 1972 presidential election, Barton Hills was labeled a political bellwether, described as being a microcosm of the national population. In the 1970s, much of the lots and streets west of Barton Skyway were re-platted into a subdivision named "Horseshoe Bend". In 1978, City Manager Dan Davidson asked the Austin City Council to authorize preliminary engineering to build a previously-proposed bridge over Barton Creek to connect Barton Skyway from Spyglass Drive to Barton Hills Drive. The city also planned to extend Barton Skyway west to Bee Caves Road, along with connecting various gaps east between Lightsey Road to Woodward Street. Residents of Barton Hills and Horseshoe Bend protested the bridge, concerned about increased traffic and damage to Barton Creek. The bridge was eventually shelved and the former right-of-way was absorbed into the Barton Creek Greenbelt.

Demographics
According to data from the U.S. Census Bureau, the population of the area defined as Barton Hills was 7,993 in 2009, across an area of 3.199 square miles. The population density per square miles is 2,499, just below the citywide average of 2,610 people per square mile. The racial breakdown is 80% white, 12% Hispanic/Latino, 4% Asian/Pacific Island, 2% black and 2% other. Median household income in 2009 was $51,930, slightly above the median household income for the city at large. The average estimated value of detached houses in 2009 was $395,682, notably higher than the citywide average of $286,025.

Education
Barton Hills is served by the Austin Independent School District:
 Barton Hills Elementary School and Zilker Elementary School
 O. Henry Middle School
 Austin High School

References

External links
 Barton Hills Neighborhood Association

Category:Neighborhoods in Austin, Texas


J’aborde la période de l’année où j’ai le plus de travaux d’étudiants à corriger à l’université.

Vais-je observer, encore cette année, ce que je constate depuis une dizaine d’années?

Dans une classe d’une soixantaine d’étudiants, 15 des 20 meilleurs résultats, plus ou moins, appartiendront à des filles. C’est assez constant d’une année à l’autre.

C’est surtout en lecture que l’avance des filles est frappante. Tous les spécialistes vous diront que c’est la compétence la plus importante. Leurs travaux ne sont pas plus originaux que ceux des garçons. Ils sont cependant plus soignés.

On voit qu’elles y ont mis plus de temps et d’effort. Elles sont aussi moins souvent absentes ou en retard aux cours.

Écart

Une importante étude de l’OCDE vient de confirmer que ce que je vois à l’université n’est que le prolongement de ce qui s’observe au secondaire.

Dans les 64 pays étudiés, sans exception, les filles de 15 ans sont plus avancées que les garçons du même âge en termes de compétences maîtrisées. Les mathématiques sont la seule discipline où les garçons font encore jeu égal ou sont en avance.

C’est surtout en lecture que l’avance des filles est frappante. Tous les spécialistes vous diront que c’est la compétence la plus importante, car elle est la condition de base de tous les apprentissages.

Au total, l’avance des filles équivaut approximativement à une année académique.

L’explication n’a rien de sorcier. En moyenne, les filles de 15 ans consacrent 5 heures et demie par semaine à l’étude et aux devoirs, ce qui est une heure de plus que les garçons.

Trois filles sur quatre disent lire par plaisir. Il n’y a qu’un garçon sur deux qui répond cela. L’habitude de lire baisse partout, mais elle baisse plus vite chez les garçons.

En toute logique, chez les garçons qui étudient autant que les filles, les écarts ne sont pas significatifs.

Forcément, ces différences au secondaire se répercutent sur la fréquentation universitaire. Dans les pays de l’OCDE, les filles constituent aujourd’hui 56 % du total des étudiants inscrits à l’université, contre 46 % en 1985.

Elles sont non seulement plus nombreuses, mais le pourcentage de celles qui complètent leur formation est aussi plus élevé.

Et nous ?

Plusieurs pays, notamment l’Australie et la Suède, sont préoccupés par le phénomène. Leurs gouvernements cherchent activement des solutions.

Chez nous, on est au courant du phénomène, mais je ne sache pas qu’il y ait un effort concerté pour s’y attaquer.

Comme le notent les auteurs de l’étude, le problème est d’autant plus aigu que les temps ont changé. Les emplois pouvant être occupés par des hommes peu qualifiés se déplacent vers les pays en voie de développement quand ils ne sont pas carrément abolis par la technologie.

Des milliers de jeunes garçons se préparent un avenir difficile. Toute la société en souffrira.

Vous êtes le nouveau ministre de l’Éducation. Que feriez-vous pour redonner le goût des études aux garçons ?


Q:

Change dropdownlist selected value with jquery

I have five dropdownlists on the form. I want that if user select something from one of dropdownlists, the other ones should be unselected. User can select something from just one dropdownlist.When he select something,selected value of other dropdownlists should be unselected. I'm using jquery
@foreach (var lay in Model.EventLayouts)
{
    <li>

    <select class="layoutSelect" layoutname="@lay.Name" layoutId="@lay.LayoutID" moderation="@lay.Moderation.ToString().ToLower()" selectedVal="0">

    <option value="0">@PageResources.Quantity</option>

    <option value="1">1</option>

    </select>

    </li>
}

A:

Assuming that both dropdown has same class="layoutSelect" and unselect value="0", try below jQuery :
$('.layoutSelect').change(function(){
   $('.layoutSelect').not(this).val('0');
});

Demo


[Pleuropulmonary tularemia in a 63-year-old hunter in Germany].
A 63-year-old amateur hunter without relevant preexisting diseases presented with cough lasting for 4 weeks and B symptoms. Radiography and ultrasonography showed a left-sided pleural effusion. Laboratory markers of infection were in normal range. A thoracocentesis was performed for diagnostic purposes. Culture of Francisella tularensis spp. holarctica from pleural fluid led to the diagnosis of tularemia with unusual manifestation as an isolated one-sided pleuritis, confirmed by highly positive serology. The patient fully recovered on oral treatment with doxycycline. Due to its low prevalence in Germany and multiple possible clinical manifestations, the diagnosis of tularemia can be difficult. Hence, it is decisive to include tularemia in the differential diagnosis, especially if anamnestic or epidemiological evidence exists.


Reliability and validity of a Japanese version of the psychosocial assessment tool for families of children with cancer.
Patients with childhood cancer and their families frequently experience psychosocial distress associated with cancer and its treatment. We thus examined the reliability and validity of a Japanese version of the Psychosocial Assessment Tool, which was designed to screen for psychosocial risk factors among families of children with cancer. Forward-backward translation was used to develop the Japanese version of the Psychosocial Assessment Tool. We conducted a cross-sectional study. Mothers (N = 117), who were the primary caregivers of children with cancer, completed the Japanese version of the Psychosocial Assessment Tool and other measures to establish validity. The internal consistency and 2-week test-retest reliability of the Japanese version of the Psychosocial Assessment Tool were also examined. The internal consistency of the Japanese version of the Psychosocial Assessment Tool total score was sufficient (Kuder-Richardson 20 coefficient = 0.84); however, the subscales 'structure and resources,' 'stress reactions' and 'family beliefs' were less than optimal (Kuder-Richardson 20 coefficients = 0.03, 0.49 and 0.49, respectively). The test-retest reliability for the Japanese version of the Psychosocial Assessment Tool total score was sufficient (intraclass correlation coefficient = 0.92). Significant correlations with the criteria measures indicated the validity of the Japanese version of the Psychosocial Assessment Tool total score. The optimal cut-off score for screening mothers with high psychosocial risk was 0.9/1.0, which was associated with 92% sensitivity and 63% specificity. This study indicated that the Japanese version of the Psychosocial Assessment Tool is a valid and reliable tool to screen mothers for elevated distress.


The present invention relates to a localized installation of a gateway system, for private or limited public wireless telephone communication, with all telephone calls going into and coming out of the localized wireless gateway system utilizing a public packet switched data network such as the Internet.
The written description uses a large number of acronyms to refer to various services and system components. Although generally known, use of several of these acronyms is not strictly standardized in the art. For purposes of this discussion, acronyms therefore will be defined as follows:
ADPCMxe2x80x94Adaptive Differential Pulse Code Modulation
ARPAxe2x80x94Advanced Research Projects Agency
ARPANETxe2x80x94Advanced Research Projects Agency NETwork
ASxe2x80x94Autonomous Systems
ATMxe2x80x94Asynchronous Transfer Mode
CDMAxe2x80x94Code Division Multiple Access
CELPxe2x80x94Code Excited Linear Predictive coding
COxe2x80x94Central Office
CODECxe2x80x94digital CODer and DECoder
CRENxe2x80x94Corporation for Research and Educational Networking
CPUxe2x80x94Central Processing Unit
CT-2xe2x80x94Cordless Telephone two
DECTxe2x80x94Digital European Cordless Telecommunication System
DHCPxe2x80x94Dynamic Host Configuration Protocol
DNSxe2x80x94Domain Name Server
DTMFxe2x80x94Dual Tone Multi-Frequency
FDDIxe2x80x94Fiber Distributed Data Interface
FMxe2x80x94Frequency Modulation
GAOxe2x80x94Government Accounting Office
GSMxe2x80x94Global System for Mobile
HLRxe2x80x94Home Location Register
IPxe2x80x94Internet Protocol
ISDNxe2x80x94Integrated Services Digital Network
ISPxe2x80x94Internet Service Provider
LANxe2x80x94Local Area Network
MACxe2x80x94Media Access Control
MILNETxe2x80x94MILitary NETwork
NSFNETxe2x80x94National Science Foundation NETwork
PCxe2x80x94Personal Computer
PCSxe2x80x94Personal Communications Service
PABXxe2x80x94Private Automatic Branch Exchange
PBXxe2x80x94Private Branch Exchange
PPPxe2x80x94Point to Point Protocol
PRIxe2x80x94Primary Rate Interface (for ISDN)
PSTNxe2x80x94Public Switched Telephone Network
RAMxe2x80x94Random Access Memory
RFxe2x80x94Radio Frequency
ROMxe2x80x94Read Only Memory
TCPxe2x80x94Transmission Control Protocol
SONETxe2x80x94Synchronous Optical NETwork
SMDSxe2x80x94Switched Megabit Data Service
SMDIxe2x80x94Simplified Message Desk Interface
TDMAxe2x80x94Time Division Multiple Access
VLRxe2x80x94Visitor Location Register
VSELPxe2x80x94Vector-Sum Excited Linear Predictive coding
In our increasingly mobile society, there has been an ever increasing demand for mobile communications to allow a person to roam freely while making and receiving telephone calls from virtually any location. A wide range of wireless systems are in use today and more are now scheduled for near term future deployment, including cellular telephone systems (both analog and digital) and lower power portable handset type systems now commonly referred to as personal communications service (PCS) systems.
Public cellular telephone systems and the emerging low-power, digital cellular PCS systems provide a high degree of mobile communications, as subscribers roam over large geographic areas. However, such systems are expensive to deploy, and as a result, air time charges for use of such systems are high. A number of applications have been recognized where wireless communications are desirable, but implementation of a full public cellular telephone system is unnecessary. This specification refers to these more limited systems as xe2x80x98localizedxe2x80x99 wireless or cordless telephone type communications systems.
For example, U.S. Pat. No. 4,980,907 to Raith et al. discloses a wireless communication system with roaming capabilities. Each portable radio terminal can operate at a subscriber""s residence as part of residential equipment, or in a commercial subscriber""s business area as an extension to a private automatic branch exchange (PABX). When away from the normal residential or business location, however, the portable radio terminal can operate through public transceivers referred to as telepoint terminals. Each residential installation, PABX and telephone terminal connects through a telephone line or trunk to an exchange of a public switched telecommunication network (PSTN).
U.S. Pat. No. 4,875,231 to Hara et al. discloses a radio telephone system, which includes a base station connected to a telephone exchange and a plurality of mobile stations. The mobile stations communicate with the base station through a control channel and a number of communication channels.
Each of U.S. Pat. Nos. 4,965,849 and 5,014,295 to Kunihiro discloses a cordless telephone system, wherein the master station connects to two outgoing telephone lines. The master station includes a number of base transceiver units for simultaneously communicating with a number of portable wireless handsets.
U.S. Pat. Nos. 4,878,238 and 5,020,094 to Rash et al. describe a cordless telephone network which allows each hand-held cordless telephone unit to be used with any of a number of strategically located base units, for example located at truck stops, rest areas along interstate highways, convention centers and the like. A base unit connects via a telephone line to a conventional commercial telephone network. The base unit includes an FM transmitter, FM receiver, CPU and a telephone line interface circuit. The Rash et al. Patents mention that it would be possible to have multiple base units at one location, each one being attached to a different land line and each one operating on a cordless telephone channel.
As shown by the above description, the localized cordless telephone systems utilized in the prior art have all relied on an existing public telephone network to transport communications outside of the cordless telephone systems themselves. In such a situation, for example, a long distance call typically would go through a local exchange carrier to the point of presence of an interexchange carrier for routing to the area of the called party. Although fees and billing arrangements vary widely, each carrier imposes some form of charge for its handling of a portion of such a call. The long distance and international charges by the interexchange carriers, in particular, can be quite high.
Concurrent with developments in wireless communications, outlined above, attention recently has been directed to implementing a variety of communication services, including voice telephone service, over the worldwide packet switched data network now commonly known as the Internet. The Internet had its genesis in U.S. Government programs funded by the Advanced Research Projects Agency (ARPA). That research made possible national internetworked data communication systems. This work resulted in the development of network standards as well as a set of conventions, known as protocols, for interconnecting data networks and routing information across the networks. These protocols are commonly referred to as TCP/IP (transmission control protocol/internet protocol). The TCP/IP protocols were originally developed for use only through ARPANET but have subsequently become widely used in the industry. TCP/IP is flexible and robust. TCP takes care of the integrity, and IP moves the data.
The Internet provides two broad types of services: connectionless packet delivery service and reliable stream transport service. The Internet basically comprises several large computer networks joined together over high-speed data links ranging from ISDN to T1, T3, FDDI, SONET, SMDS, ATM, OT1, etc. The most prominent of these national nets are MILNET (Military Network), NSFNET (National Science Foundation NETwork), and CREN (Corporation for Research and Educational Networking) In 1995, the Government Accounting Office (GAO) reported that the Internet linked 59,000 networks, 2.2 million computers and 15 million users in 92 countries. However, since then it is estimated that the number of Internet users continues to double approximately annually.
In simplified fashion the Internet may be viewed as a series of packet data switches or xe2x80x98routersxe2x80x99 connected together with computers connected to the routers. The information providers constitute the end systems which collect and market the information through their own servers. Access providers are companies such as UUNET, PSI, MCI and SPRINT which transport the information. Such companies market the usage of their networks to the actual end users.
FIG. 3 shows a simplified diagram of the Internet 349 and various types of systems typically connected thereto. Generally speaking the Internet consists of Autonomous Systems (AS) type packet data networks which may be owned and operated by Internet Service Providers (ISPs) such as PSI, UUNET, MCI, SPRINT, etc. Three such AS/ISP networks appear in FIG. 3 at 310, 312 and 314. The Autonomous Systems (ASs) are linked by high bandwidth Inter-AS Connections 311, 313 and 315. Information providers 316 and 318, such as America Online (AOL) and Compuserve, connect to the Internet via high speed lines 320 and 322, such as T1/T3 and the like. Information providers generally do not have their own Internet based Autonomous Systems but have or use Dial-Up Networks such as SprintNet (X.25), DATAPAC and TYMNET.
In some cases, the information provider 316 or 318 operates a host server or network of servers that their customers access by dial-up connection. If a customer wants information over and above that offered by the provider, the host server provides a tunnel connection through to the high speed link and the Internet 349. Other parties may connect into the network 349 at some other point and access information offered by provider 316 or 318 through the network 349.
By way of current illustration, MCI is both an ISP and an information provider, SPRINT is an ISP, and the MicroSoft Network is an information provider using UUNET as its ISP. Other information providers, such as universities, are indicated in exemplary fashion at 324 and are connected to the AS/ISPs via the same type connections here illustrated as T1 lines 326. Parties access information on servers of providers 324 via the Internet 349. Corporate Local Area Networks (LANs), such as those illustrated in 328 and 330, are connected through routers 332 and 334 and high speed data links such as T1 lines 336 and 338. Laptop computers 340 and 342 are representative of various personal computers and the like connected to the Internet via the public switched telephone network (PSTN) and are shown connected to the AS/ISPs via dial up links 344 and 346.
Recently, several companies have developed software for use on personal computers to permit two-way transfer of real-time voice information via an Internet data link between two personal computers, for example between PCs 340 and 342. In one of the directions, the sending computer converts voice signals from analog to digital format. The software facilitates data compression down to a rate compatible with modem communication via a POTS telephone line, in some cases as low as 2.4 kbits/s. The software also facilitates encapsulation of the digitized and compressed voice data into the TCP/IP protocol, with appropriate addressing to permit communication via the Internet 349. At the receiving end, the computer and software reverse the process to recover the analog voice information for presentation to the other party. These programs permit telephone-like communication between Internet users.
PCs having voice communication capabilities can conduct two-way, real-time audio communications with each other, in a manner directly analogous to a two-way telephone conversation. However, the actual signals exchanged between two such terminal devices go through the public packet data network. Typically, such communications at least bypass long distance interexchange carriers.
Internet based telephone programs have relied on servers (not separately shown) coupled to the Internet to establish voice communication links through the networks. Each person active on the network, who is willing to accept a voice call, must register with a server. A calling party can call only those persons registered on the voice communication server.
The development of the Internet, particularly voice telephone communication over the Internet, has been separate from efforts to develop and deploy localized wireless or cordless telephone type communications systems. For example, the PCs and server systems on the market today apparently have not permitted calling through the Internet to wireless telephone subscribers, particularly when roaming. As a result, a need still exists to find an effective cheaper alternative to the transport of calls to and from localized wireless systems via telephone carrier networks. More specifically, a need exists to provide a localized wireless or cordless telephone type communications system which can at least selectively provide voice traffic transport over a public packet switched data network, such as the Internet. A need further exists for systems and call processing methodologies to facilitate easy calling and efficient routing of calls to and from such a system, via the public packet data network.
The present invention meets the above stated needs by providing a localized wireless gateway offering cordless telephone service, including voice communication service, via a public packet network such as the Internet.
Thus, in one aspect, the present invention relates to a localized wireless gateway system. The inventive gateway system includes a plurality of base station transceivers. These transceivers provide two-way wireless voice frequency communication signals, in a standard compressed digital data format, to and from wireless telephone terminals within a local area. Each of the base station transceivers is built around a client computer, typically a client PC. The gateway system includes a local area data network coupled to the client computers, and a server computer interfaced to the local area data network. The server computer includes an interface to the public packet data network. The server computer processes the standard compressed digital data format signals for two-way packet communication via the public packet data network. The server computer also performs necessary signaling through the public packet data network to establish two-way voice communication sessions through the public packet data network.
In the preferred implementation, the base station transceivers each include a digital modulator, a digital demodulator, and an interface coupling the client computer to the local area data network. The wireless telephone terminals utilize a wireless telephone communication protocol for digitized and compressed voice communication, preferably code excited linear predictive (CELP) coding or vector-sum excited linear predictive (VSELP) coding. The base station transceivers and the server pass audio communication signals in this format to and receive similar signals from the public packet data network. If the public packet data network utilizes Internet Protocol (IP) packets, for example, the server may perform two-way IP packet processing and exchange signals with the base station in sequential order in the protocol utilized on the local area network, such as Ethernet or Asynchronous Transfer Mode (ATM).
The preferred implementation utilizing a local area network offers other types of communications. Data devices coupled to the local area network can exchange data messages and/or access the public packet data network via the server. Any such data devices having voice communication capabilities also can conduct various telephone-type communications, between two or more such devices, to and from wireless telephone terminal devices and to and from devices accessed via the server and the public packet data network.
Alternative implementations may utilize a direct connection of the public packet data network to one or more of the base station transceivers. In such a case, the data links to and from the transceivers would utilize IP packets.
Thus, in another aspect, the present invention contemplates a base station transceiver facilitating communication of cordless or wireless telephone signals over a public packet data network. The transceiver includes a central processing unit as well as a digital modulator and a digital demodulator. The central processing unit controls the modulator and demodulator to provide wireless communication of digitized and compressed audio signals for a plurality of wireless terminal devices over a predetermined air interface. The base station transceiver also includes a network interface to a data network carrying data packets in a predefined packet data protocol. The data network may be a local area network (LAN) coupled to the public packet data network, or the data network may itself be the public packet data network. A wireless gateway system may comprise one or more of these base station transceivers.
In each implementation, the wireless gateway system eliminates the need for switched telephone communication except for those cases where the distant party is accessible only via a public switched telephone connection. The public packet data network will include a PSTN gateway for establishing communications with such parties, and the link from the wireless terminal device to that gateway will still utilize the public packet switched data network.
The preferred implementation provides local data communications over the LAN as well as voice communication features analogous to those offered by a private branch exchange, in a single integrated communication system. That implementation also offers data access to the public packet switched data network, e.g. the Internet. The preferred implementation further offers telephone type calling capabilities, without calls to and from the system going through either a local telephone carrier or an interexchange carrier coupled directly to the particular wireless gateway system.
Additional objects, advantages and novel features of the invention will be set forth in part in the description which follows, and in part will become apparent to those skilled in the art upon examination of the following or may be learned by practice of the invention. The objects and advantages of the invention may be realized and attained by means of the instrumentalities and combinations particularly pointed out in the appended claims.


Magazine

Index Funds Aren't All Equal

April 18, 2004

Does it really matter which Standard & Poor's 500-stock index fund you own? After all, these funds have identical portfolios -- composed of the 500 stocks in the S&P 500, held in proportion to their weight in the index. You bet it does. A BusinessWeek analysis of these funds reveals some startling differences in their ability to keep pace with the benchmark.

Some funds -- including the $96.9 billion Vanguard 500 Fund -- come very close to matching the index' return year after year. But others miss by surprisingly wide margins, thanks to factors that can include high expense ratios and managers who sit on cash, churn holdings, and -- according to a recent Securities & Exchange Commission probe -- pay inflated trading commissions to cover investment research. That has drawn criticism since S&P 500 funds buy what's in the index, so they don't need Wall Street's buy and sell recommendations. The lesson? "All index funds aren't equal," says Jerry Chan, a vice-president and index researcher at J.P. Morgan Chase (JPM).

Deviation from the index -- plus or minus -- is called "tracking error," and in 2003, shortfalls were especially pronounced, thanks largely to managers who held cash in a rising market. Indeed, over 80% of the S&P 500 index funds that Morningstar follows fell short of the performance ideal of a plain-vanilla index fund: to deliver the benchmark's return, minus the fund's expense ratio. According to Morningstar data, last year the average S&P 500 fund missed by the amount of their expense ratios plus an additional 0.38%, or 38 basis points (one basis point is 1/100th of a percent).

That margin of error is startling to industry experts. When it comes to the S&P, "you should be within five basis points" of the index's performance, adjusted for fund expenses, says Gus Sauter, Vanguard's chief investment officer. "Ten basis points would be stretching the limit."

Because shortfalls compound over time, it's important to scrutinize the performance of index funds just as you would an actively managed fund. Indeed, someone who had invested $10,000 in the S&P 500 in 1995 would have had $28,179 on Dec. 31. That's $865 more than you'd have in an identically priced investment that returned a mere 0.38% less each year, according to Morningstar.

In evaluating index funds, start with what's generally the biggest driver of tracking error -- the expense ratio. Since these costs are deducted from a fund's earnings, keeping them low can mean the difference between getting a near-market return and underperforming. The average S&P 500 fund charges about 0.48% of assets, notes Jeffrey Ptak, a Morningstar mutual-fund analyst. Expenses range from a low of 0.15% at SSgA's S&P 500 Index to 1.5% at several funds. "Costly index funds are about as self-defeating a proposition as you can find," says Ptak.

When it comes to tracking error, the expense ratio is only part of the story. Consider the Invesco S&P 500 Index fund. The gap between its 2003 return of 27.62% and the index' 28.67% gain is 1.05 percentage points. But the fund's expense ratio of 0.65% accounts for only part of the shortfall. A spokesman says Invesco switched the fund from an outside manager to one in-house last August because of "unacceptable" tracking error.

Invesco declined to comment on the reason for the fund's underperformance. But in general, when index funds lag by more than their expense ratios, cash and transaction costs such as commissions are primarily to blame. In a bull market, it's imperative to invest incoming cash immediately since stock prices are more likely to rise than fall. Some S&P 500 funds, including those run by Vanguard, Fidelity, and T. Rowe Price (TROW), can put their cash to work quickly by buying S&P 500 futures contracts and then replacing them with stocks. This helped all three funds finish close to the index in 2003.

"SOFT DOLLARS"

Still, some index funds are prohibited from buying futures; check the "Statement of Additional Information" filed with the SEC for restrictions. Others, such as Columbia Large Company Index fund, don't generally use them: "Futures don't track the index perfectly -- they can be over- or undervalued," says portfolio manager Eric Remole. "Using them can introduce tracking error." The fund's "Z" shares trailed the S&P last year by 70 basis points -- that's 19 more than its expense ratio. All but 3 basis points of that gap can be explained by the fact that fund expenses are taken out of assets throughout the year, leaving less to invest each day, Remole says.

Commissions also contribute to tracking error. These fees aren't factored into a fund's expense ratio but are deducted when stocks are bought and sold. If a manager is paying inflated commissions to generate "soft dollars" -- credits that can be used to pay for investment research -- "tracking error will get pretty large," says John Chalmers, associate finance professor at University of Oregon.

How much is a fund paying in commissions? Check its Statement of Additional Information. The Morgan Stanley S&P 500 Index Fund, for example, paid $271,513 in commissions in fiscal 2002. The Vanguard 500 Fund, in contrast, paid $4.386 million. But as a percentage of assets, the Morgan Stanley fund's rate was higher -- 0.0169%, vs. 0.0057%.

The Vanguard 500 fund is generally able to negotiate lower commissions than its smaller rivals. Still, in a lawsuit filed in U.S. District Court in New York in August, a shareholder alleges that the Morgan Stanley S&P 500 Fund paid inflated commissions in 2002 to earn soft-dollar credits to buy stock research. Morgan Stanley responds: "Three appellate courts and various district courts have rejected similar claims made by the same attorney against other firms. We believe this case is equally lacking in merit." In 2003, the Morgan Stanley Fund's "B" shares -- the largest among its share classes -- missed the S&P by 1.83%. That gap consisted of a 1.5% expense ratio plus 0.33% of additional underperformance. In 2002, however, the fund trailed the index by less than its expense ratio.

It also helps to check a fund's annual report for turnover. When Standard & Poor's (which, like BusinessWeek, is a unit of The McGraw-Hill Companies) adds or drops a stock in the index, S&P 500 funds must follow suit. Typically, the index turns over about 5% of its market cap a year, says S&P index strategist Srikant Dash. But in part because funds also buy and sell as shareholders come and go, the average S&P 500 fund turned over 13% of its portfolio in 2003.

At some funds, turnover was far greater. The $105 million MTB Equity Index Fund had an 87% rate. Why? Shareholders came and went quickly as "institutional portfolio managers used our fund" to get quick exposure to the market and then bailed out once they "figured out what to do with the money," says co-manager Peter Hastings. The fund levies expenses of just 0.25%. Yet in 2003, it trailed the S&P 500 by 0.77%.

High index-fund expense ratios are likely to decline thanks to SEC scrutiny. But tracking error may remain a problem. The upshot: While many investors think of these funds as commodities, their performance may continue to be far from uniform. By Anne Tergesen & Lauren Young


package stroom.security.identity.token;

public interface TokenTypeDao {
    int getTokenTypeId(String type);
}


Q:

Access 2013 Open Form Filter issue

I have an issue using VBA in Access 2013 to open a form with filters applied. I'm trying to filter the data for open records and the department the current user belongs to.
For the user I'm testing with, their department is 6, and the data table has 3 records whose department is 6 and IsOpen = Yes.
The command I'm using is below - the form opens, but displays no data when the Dlookup is included (if I just run it with the IsOpen query, it returns all open records).
If I put the Dlookup into a field on the form it returns the department number of the current user (in this case 6).
If I create a simple query to return the data where IsOpen = Yes, and the Department = 6, I get the expected 3 records returned.
Is there something wrong in my code? Or a better way of achieving what I need?
DoCmd.OpenForm "frm_ServiceRequestRegister", acNormal, "", IsOpen = True And Department = DLookup("[lkp_Department]", "tbl_Users", "[id] =" & [TempVars]![CurrentUser]), , acNormal

Any help would be appreciated.
Regards,
Garry.

A:

The key is that the Where parameter needs to be in quotes. It is a string that is passed to the OpenForm function. If you exclude the quotes the "where clause" is evaluated before anything is passed to OpenForm and either true or false is passed instead of what you want.
Dim userDept as long 'Maybe this is a string? I don't know your table
userDept = DLookup("[lkp_Department]", "tbl_Users", "[id] =" & [TempVars]![CurrentUser])

DoCmd.OpenForm "frm_ServiceRequestRegister", acNormal, "", "IsOpen = True And Department = " & userDept, , acNormal

The fact that this didn't generate an error says one or more of a few things.

You don't have option explicit set at the top of your module (always have this checked Tools > Options > Editor > Require Variable Declaration)
You have some controls/fields in your data source that coincidentally allowed IsOpen = True And Department = DLookup("[lkp_Department]", "tbl_Users", "[id] =" & [TempVars]![CurrentUser]) to be evaluated as is.

Either way the way to debug this in the future is to step through the code and execute the parameters in the immediate pane. If they are not what you'd expect then something is the matter.


Q:

php mysql result coming back wrong, every time from php, but is fine in sql pro and phpmyadmin

The following statement is returning a 1 in php. I've serialized and output the result and every other credential, and it is doing this on three seperate queries. When I run the query in sqlpro or phpmyadmin I get the result as 8. Please tell me someone has a bright idea.
$numRFPsSwitch = 0;
$bquery = " SELECT COUNT(rp.id) AS 'NumRFPs'

   FROM  rfp_proposal rp

   WHERE rp.vendor_id = 1 AND rp.id IN(13,15,16,23,24,26,4,9) ";

$bresult = mysql_query($bquery, $connection);
$XMLFormatedString .= 'NumRFPs="';
while ($brow = mysql_fetch_object($bresult)){

$XMLFormatedString .= $brow->NumRFPs;
$numRFPsSwitch = 1;
}

A:

Perhaps you could do a SELECT * (to return all rows involved), and then do a mysql_num_rows(...) on the result to find out the row count. If this returns the same result, then at least you can be sure it's not the query or concatenation that's at fault.
$query = "SELECT ...";
echo mysql_num_rows(mysql_query($query, $connection));


[A Case Report of Pyothorax Due to Pyonephrosis].
A 77-year-old woman was referred to our hospital with complaints of fever and left chest pain. Computed tomography showed left pyothorax and left pyonephrosis with left ureter calculus. After admission, drainage of the left thoracic cavity was performed and she was treated with antibiotics. On the third hospital day, debridement for pyothorax was performed because her condition had not improved. During surgery, we found perforation of the diaphragm, and abscess appeared from the perforated area. We suspected that perforation of the diaphragm from the left pyonephrosis caused left pyothorax, and performed left nephrectomy. After the operation, relapse of the pyothorax and surgical wound infection occurred, but her condition improved and she discharged on the 46 th hospital day. Relapse of the abscess has not occurred.


Q:

loading popup jsp page on view jsp without page refresh using jQuery-ajax

I've two jsp pages 1.view.jsp,2.popup.jsp (it is a popup page).the popup.jsp will be loaded when I click the 'add icon' on my view.jsp. Just I want to know how to load values on my 'view.jsp' (without refreshing the page) when 'submit' button is clicked on my 'popup.jsp' using Ajax.
view.jsp

             <jsp:include page="/WEB-INF/jsp/settings/adminmenu.jsp" />

                      Industry

  Department

  Designation

Industry

              <s:form action="executeIndustry" name="paginationForm" id="paginationForm">
               <s:hidden name="industryId" id="industryId"/>

               <s:if test="%{success!=null}" >

                  <s:property value="success"/>

    </s:if>
     <s:if test="%{error!=null}" >

                  <s:property value="error"/>

    </s:if>

                         Industry
                        Created Date

                        Action

                     <s:if test="%{industrylist!= null && industrylist.size > 0}">
                      <s:iterator value="industrylist">

                           <s:property value="industryName"/>

                             <s:date name="createdDate" format="dd/MM/yyyy hh:mm:ss a"/>

                              <i class="icon-edit icon-grey1 cursor" title="Edit" data-toggle="tooltip" onclick="TINY.box.show({iframe:'editIndustry.action?editid=<s:property value="industryId"/>',boxid:'frameless',width:456,height:200, fixed:false,maskid:'bluemask',maskopacity:40})">
                               <i title="Delete" data-toggle="tooltip" onclick="deletethis('<s:property value="industryId"/>')" class="icon-minus-sign icon-grey1 cursor">

                      </s:iterator>
                  </s:if>
                    <s:else>

                  No industries were found

                  </s:else>

                   <s:hidden name="deleteid" id="deleteid"></s:hidden>

                <s:if test="%{industrylist.size()>0}">
                      <%@ include file="/WEB-INF/jsp/pagenation/pagination.jsp" %>
                      </s:if>

              </s:form>

           <jsp:include page="/common/commonfooter.jsp" />

popup.jsp

    <s:if test="%{edit!=1}" >
    <s:form action="addIndustry" method="post"  id="FormOne" name="FormOne" target="_top" cssClass="validate">

    Add Industry

        *Industry

            <s:textfield name="industryName" id="industryName" cssClass="input-xlarge required-field" oncopy="return false" onpaste="return false" oncut="return false" onkeypress="return isNumberKey(event)" maxlength="60" />

        <button type="submit" class="btn btn-success ">Submit </button>

    </s:form>
    </s:if>

    <s:else>

    <s:form action="updateIndustry" method="post"  id="FormOne" name="FormOne" target="_top" cssClass="validate">
    <s:hidden name="industryId"/>
    Edit Industry

        *Industry

            <s:textfield name="industryName" id="industryName"   cssClass="input-xlarge required-field" oncopy="return false" onpaste="return false" oncut="return false"  onkeypress="return isNumberKey(event)" maxlength="60" />

      <button type="submit" class="btn btn-success ">Submit </button>

    </s:form>
    </s:else>

A:

$(document).ready(function(){
     var frm = $('#myform');
    frm.submit(function (ev) {
            $.ajax({
            type: frm.attr('method'),
            url: frm.attr('action'),
            data: frm.serialize(),
            success: function (data) {
                alert("submitted");

            },
        error:function(data){
            alert("error");
        }
        });
        window.scrollTo(0,0);

        ev.preventDefault();
    });

The above jquery ajax helps you to accompany your action submittion without refreshing...


Shares of Zillow Group Inc (NASDAQ: Z) plummeted more than 12 percent during early trading on Tuesday, but made a recovery during the rest of the trading day to close the day down only 1.38 percent from previous close.

The reason for the slump has been attributed to the disappointing 2015 outlook provided by the company in a operational update call.

Zillow CEO Spencer Rascoff cited "the protracted FTC approval process" during the acquisition of Trulia as the explanation for the weak guidance.

Michael Graham, managing director and senior analyst at Canaccord Genuity, was on CNBC recently to explain what he thinks was the real reason behind the disappointing 2015 outlook provided by Zillow's management.

Employees Got Distracted

"I think that what happened with the merger closing is that the Trulia sales force got pretty distracted by the merger process. That led to some business disruption," Graham said.

"One of the major reasons for that was because the merger took a good bit longer to close than we originally thought."

He continued, "That could have been for a variety of reasons. One of those I think was the FTC process."

Explanations

"So, it makes sense in the narrative of sort of what's going on with Zillow, and I think that what you are seeing in the stock today is investors are sort of comfortable with the notion that this is sort of one step backwards and two steps forward in the future," Graham explained.

"Seems like the Zillow business is on a really strong footing and, truly, the employees got a little bit distracted heading into the close of the merger and the integration," he concluded.


Introduction
============

Thyroid carcinoma is the cancer with the third fastest increase in diagnosis in the US, and papillary thyroid carcinoma (PTC) comprises 80% of thyroid carcinoma ([@b1-etm-0-0-5137],[@b2-etm-0-0-5137]). PTC occurs more often in women, and although it can occur at any age, even in childhood, the peak incidence is in patients between 30 and 50 years of age ([@b3-etm-0-0-5137]). PTC typically has an indolent clinical course and may be cured by thyroidectomy and radioactive iodine therapy, even if metastatic ([@b4-etm-0-0-5137]). The majority of patients with PTC have a good prognosis; however, a subset of patients may undergo dedifferentiation and develop a more progressive disease that consequently has a dismal prognosis ([@b5-etm-0-0-5137]).

The human cluster of differentiation (CD)44 gene encodes type 1 transmembrane glycoproteins involved in cell-cell and cell-matrix interactions ([@b6-etm-0-0-5137]). The structural heterogeneity of the gene products is caused primarily by alternative splicing of at least 10 out of 20 exons ([@b6-etm-0-0-5137]). Certain CD44 variant isoforms, in particular those containing CD44 variant domain 6 (CD44v6) have been implicated in tumorigenesis, tumor cell invasion and metastasis ([@b6-etm-0-0-5137]). A previous study reported that CD44v6 is an important indicator in PTC cell differentiation, and the expression of CD44v6 is significantly higher in malignant lesions compared with non-malignant lesions ([@b7-etm-0-0-5137]). CD44^+^/CD24^−^ cells are more aggressive than CD44^−^ cells, not only in PTC, but also breast and ovarian cancer ([@b8-etm-0-0-5137]--[@b10-etm-0-0-5137]). However, the underlying mechanism that promotes CD44^+^ cells to exhibit a more malignant phenotype remains unknown.

In the present study, the expression of a p53 family member transcription factor, p63, was demonstrated to be negatively correlated with the expression of CD44. p63 is a well-known tumor suppressor ([@b11-etm-0-0-5137]). In addition, the present study indicated that CD44 inhibited the activity of p63 and increased the proliferation and chemoresistance capacity of PTC cells.

Materials and methods
=====================

### Ethics statement

All animal experiments were approved by the Ethics Committee of Fudan University Shanghai Medical College (Shanghai, China) and followed the National Institutes of Health guidelines on the care and use of animals.

### Cell culture

TPC-1 cells were purchased from the American Type Culture Collection (Manassas, VA, USA) and maintained under standard culture conditions (37°C, 5% CO~2~) in the Dulbecco\'s modified Eagle\'s medium (DMEM) supplemented with 10% (v/v) fetal bovine serum (FBS).

### Western blotting

TPC-1 cells were lysed in western blot/immunoprecipitation lysis buffer (Beyotime Institute of Biotechnology, Haimen, Jiangsu, China) and all procedures were conducted according to the manufacturer\'s protocol. Subsequently, the cell lysates were boiled in 5X SDS-PAGE loading buffer for 10 min and then 20 µg of protein was resolved by 8% SDS-PAGE, transferred to a nitrocellulose membrane and blocked with 5% (m/v) bovine serum albumin (BSA; Shanghai Sangon Biological Engineering, Shanghai, China) for 1 h. The membrane was subsequently incubated with primary antibodies at 4°C for 12 h. The following antibodies were used: CD44 (\#3570, 1:1,000 dilution; Cell Signaling Technology, Inc., Danvers, MA, USA), CD24 (ab64064, 1:1,000 dilution; Abcam, Cambridge, UK), p63 (\#13,109 1:1,000 dilution; Cell Signaling Technology, Inc.) and GAPDH (1:5,000 dilution; ProteinTech Group, Inc., Chicago, IL, USA). Specific secondary antibodies mouse IgG (\#7076, 1:2,000 dilution) and rabbit IgG (\#7074, 1:2,000) (both from Cell Signaling Technology, Inc.) were used to probe the membrane at 37°C for 1 h. Bound antibodies were subsequently visualized with an enhanced chemiluminescence kit (Thermo Fisher Scientific, Inc., Waltham, MA, USA) according to the manufacturer\'s instructions using a Bio-Rad ChemiDoc XRS+ system (Bio-Rad Laboratories, Inc., Hercules, CA, USA).

### Stable cell construction

The vector pcDNA3.1 (+) inserted with the ORF of p63 and empty vector were purchased from Fugene (Promega Corporation, Madison, WI, USA). These plasmids were transfected into TPC-1 cells with Fugene 9 (Promega Corporation) transfection system. After 48 h transfection, these cells were treated with 1 mg/ml G418 (Shanghai Sangon Biological Engineering) for 2 weeks. These selected cells were considered stable cell lines.

### Cell isolation

TPC-1 cells were washed once with PBS and then harvested with 0.05% trypsin/0.025% EDTA (Sigma-Aldrich, Merck KGaA, Darmstadt, Germany). Detached cells were washed with PBS containing 1% FBS (wash buffer) and then resuspended in the wash buffer (10^6^ cells/100 µl). Cells were incubated with 5 µl of Fc Blocker (\#422301; BioLegend, Inc., San Diego, CA, USA) at 4°C for 20 min. Combinations of fluorochrome-conjugated monoclonal antibodies were purchased from BD Biosciences (San Jose, CA, USA) against human CD44 (fluorescein isothiocyanate conjugated; cat no. 555478) and CD24 (phycoerythrin conjugated; cat no. 555428) or their respective isotype controls were added to the cell suspension at 1:100 dilution and incubated at 4°C in the dark for 30 to 40 min. CD44^+^/CD24^−^ cells were sorted by flow cytometry on a FACSVantage cytometer (BD Biosciences) and analyzed using FlowJo software (version 10.1; FlowJo LLC, Ashland, OR, USA). The purity of sorted cells in this study was consistently more than 99%.

### Cell Counting Kit-8 (CCK-8) cell viability assays

TPC-1 cells were seeded into a 96-well plate at 3×10^3^ cells/well with 100 µl DMEM containing 0, 2, 4, 6 and 8 µg/ml concentrations of 5-fluorouracil (5-FU; \#F6627; Sigma-Aldrich, Merck KGaA) and cultured at 37°C in an atmosphere containing 5% CO~2~ for 24 h. The cell viability was quantified by the addition of 10 µl CCK-8 (Dojindo Molecular Technologies, Inc., Kumamoto, Japan). Following 1.5 h of incubation at 37°C in an atmosphere containing 5% CO~2~ in the dark for 30 to 40 min, the plates were monitored using a Power Wave XS microplate reader (Omega Bio-Tek, Inc., Norcross, GA, USA) at an absorbance 450 nm.

### Colony formation assays

TPC-1 cells (500/well) were seeded in 6-well plates and cultured in DMEM for 10 days at 37°C in an atmosphere containing 5% CO~2~. After 10 days, colonies were fixed and stained with 0.5% crystal violet (Beyotime Institute of Biotechnology) and the number of colonies was counted. Only those cell clusters containing more than 50 cells under a microscope were considered as colonies. The assay was performed in triplicate.

### In vivo tumor formation assay

In this assay, 10 BALB/c (nu/nu) 4-week-old male mice were from Shanghai Laboratory Animal Center (Shanghai, China) and housed in a specific pathogen-free facility. Mice were housed with a 14/10 h light/dark cycle and provided with food and water *ad libitum*. The mice were group-housed (3--5 per cage) and maintained at a temperature of 24±1°C and a humidity of 50±10%. A total of 1×10^6^ p63-overexpressing (p63 group) or empty vector (EV) CD44^+^/CD24^−^ TPC-1 cells (control group) were each subcutaneously injected into the right flank of mice (n=5/group, weight 17.6±0.4 g vs. 18.2±0.6 g). Tumor sizes were measured and calculated with the formula V = (length × width2)/2 once a week and mice were sacrificed for the analysis of tumor burden after 4 weeks.

### Immunohistochemical staining

The resected mice tumors were fixed in methanol and embedded in paraffin and then tissues sectioned to 4 µm slides. These slides were deparaffinized gradually using 50% xylene (Meryer, Shanghai, China) and rehydrated. The sections were then incubated with 0.3% hydrogen peroxide (Jianglaibio, Shanghai, China) for 30 min at 37°C to inhibit endogenous peroxidase activity and blocked with 10% BSA for 10 min 37°C. Sections were incubated with an antibody targeting p63 (\#13109, 1:200 dilution) or Ki-67 (\#9449, 1:200 dilution) (both from Cell Signaling Technology, Inc.) at 4°C overnight and subsequently reacted with horseradish peroxidase-conjugated secondary antibody (\#13109; 1:50; Beyotime Institute of Biotechnology) for 20 min at 37°C. Sections were stained with diaminobenzidine for 2 min at 37°C, counterstained with hematoxylin for 30 sec at 37°C and mounted with neutral balsam. A light microscope was used to capture representative images (magnification, ×200) of the tumor tissues.

### Statistics analysis

Data are expressed as the mean ± standard deviation as indicated. Student\'s t-test was used for comparisons between groups and P\<0.05 was considered to indicate a statistically significant difference.

Results
=======

### CD44^+^/CD24^−^ PTC cells exhibit increased proliferative and chemoresistant capacity

It was previously reported that CD44^+^/CD24^−^ PTC cells obtain a more progressive phenotype compared with CD44^−^/CD24^−^ cells in PTC progression ([@b7-etm-0-0-5137]). In the present study, CD44^+^/CD24^−^ cells were isolated from the TPC-1 PTC cell line, and the isolated cells were validated by western blotting ([Fig. 1A](#f1-etm-0-0-5137){ref-type="fig"}). Subsequently, the cell proliferation and chemoresistance capacities of the isolated CD44^+^/CD24^−^ cells were explored in comparison with those of CD44^−^/CD24^−^ cells. As shown in [Fig. 1B-D](#f1-etm-0-0-5137){ref-type="fig"}, compared with CD44^−^/CD24^−^ cells, CD44^+^/CD24^−^ cells exhibited significantly increased proliferative activity ([Fig. 1B](#f1-etm-0-0-5137){ref-type="fig"}) and chemoresistance to 5-FU at specific doses ([Fig. 1C and D](#f1-etm-0-0-5137){ref-type="fig"}). These data indicate that CD44^+^/CD24^−^ PTC cells have a greater proliferative and chemoresistance capacity compared with CD44^−^/CD24^−^ cells.

### Expression of p63 is negatively correlated with the expression of CD44

p63 is a member of the p53 family of transcription factors and previous studies have revealed the suppressive roles of p63 in the field of tumor biology ([@b12-etm-0-0-5137],[@b13-etm-0-0-5137]). The protein expression levels of p63 in TPC-1 isolated cell groups were investigated, as shown in [Fig. 2A](#f2-etm-0-0-5137){ref-type="fig"}. CD44^+^/CD24^−^ TPC-1 cells exhibited lower expression levels of p63 compared with CD44^−^/CD24^−^ PTC cells. This finding suggested that CD44 may inhibit the activity of p63. Subsequently, the effects of overexpression of p63 in these isolated CD44^+^/CD24^−^ PTC cell lines were investigated; the overexpression was demonstrated by western blotting ([Fig. 2B](#f2-etm-0-0-5137){ref-type="fig"}). Cellular clone formation assays and CCK-8 cell viability assays revealed that overexpression of p63 significantly attenuated the capacities of clone formation ([Fig. 2C](#f2-etm-0-0-5137){ref-type="fig"}) and chemoresistance to 5-FU at specific doses ([Fig. 2D](#f2-etm-0-0-5137){ref-type="fig"}) in CD44^+^/CD24^−^ TPC-1 cells compared with that in the EV group. These data suggest that CD44^+^/CD24^−^ cells inhibit the activity of p63 to be more progressive than CD44^−^/CD24^−^ cells.

### Ectopic expression of p63 in CD44+/CD24^−^ PTC cells inhibits xenograft tumor formation

To further investigate the inhibitory effects of p63, CD44^+^/CD24^−^ p63-overexpressing TPC-1 cells and EV control TPC-1 cells were used to perform a xenograft subcutaneous tumor formation assays. As shown in [Fig. 3A-C](#f3-etm-0-0-5137){ref-type="fig"}, when tumors derived from CD44^+^/CD24^−^ TPC-1 cells were analyzed, those overexpressing p63 exhibited reduced tumor growth *in vivo* compared with those in the control group. There was a significant difference in tumor volume between the groups on days 21 and 28 ([Fig. 3B](#f3-etm-0-0-5137){ref-type="fig"}) and tumor weight on day 28 ([Fig. 3C](#f3-etm-0-0-5137){ref-type="fig"}). Furthermore, immunohistochemical staining indicated that the expression of Ki-67, a cell proliferative marker ([@b14-etm-0-0-5137]), was markedly lower in the p63-overexpressing group compared with the control group ([Fig. 3D](#f3-etm-0-0-5137){ref-type="fig"}). These results suggest that CD44^+^/CD24^−^ cells may inhibit the activity of p63, which results in increased cell proliferation.

Discussion
==========

In the present study, CD44^+^/CD24^−^ PTC cells were indicated to have a lower activity of p63 compared with CD44^−^/CD24^−^ PTC cells, which increased the aggressive malignant phenotype of these cells, particularly regarding proliferation and chemoresistance. CD44 s are a polymorphic family of cell surface glycoproteins that are implicated in cell-to-cell and cell-to-matrix adhesion interactions ([@b15-etm-0-0-5137]). CD44 has been reported to be involved in tumor metastasis and invasion in breast cancer, the regulation of epithelial-mesenchymal transition and modulation of phosphoinositide 3-kinase/Akt/mechanistic target of rapamycin and activation of Wnt canonical signaling ([@b15-etm-0-0-5137]--[@b17-etm-0-0-5137]). In the present study, CD44^+^/CD24^−^ cells were isolated from the PTC cell line TPC-1. The present study findings, which indicated that CD44^+^/CD24^−^ cells are more proliferative and chemoresistant to 5-FU than are CD44^−^/CD24^−^ cells, are consistent with previous studies ([@b15-etm-0-0-5137],[@b16-etm-0-0-5137]). These findings suggest that CD44 may be a pivotal oncoprotein in patients with malignant PTC.

To the best of our knowledge, the mechanism by which CD44 exerts an aggressive role in malignant PTC progression has not been reported to date. In the present study, the CD44^+^/CD24- cells exhibited significantly reduced protein expression levels of p63 compared with CD44^−^/CD24^−^ cells. This finding indicated that CD44^+^/CD24^−^ cells may have an attenuated expression of p63, which increased the aggressiveness of the cells. The ectopic expression of p63 in CD44^+^/CD24^−^ cells supported this hypothesis; overexpression of p63 reduced CD44^+^/CD24^−^ cell proliferation *in vitro* and *in vivo*. The results considered together indicate that malignant PTC cells highly expressed CD44, and exhibited aggressive malignant phenotypes, which were likely associated with the inhibition of p63.

In conclusion, the present study indicates that CD44^+^/CD24^−^ cells primarily contribute to PTC proliferation and chemoresistance. Moreover, the results suggested that p63 was suppressed in CD44^+^/CD24^−^ cells and that this suppression was associated with PTC cell proliferation and chemoresistance.

![CD44^+^/CD24^−^ PTC cells are progressive. (A) Western blotting identified the isolated CD44^+^/CD24^−^ and CD44^−^/CD24^−^ TPC-1 cells. (B) Colony formation capacities of the isolated types of TPC-1 cells were analyzed using soft agar cellular colony formation assays. Data are shown as mean ± standard deviation (n=3). (C) The chemoresistance of TPC-1 cells to 5-FU were analyzed by Cell Counting Kit-8 cell viability assays. Data are shown as mean ± standard deviation (n=3). \*\*P\<0.01 vs. control. CD, cluster of differentiation; 5-FU, 5-fluorouracil; PTC, parathyroid carcinoma.](etm-14-05-4693-g00){#f1-etm-0-0-5137}

![p63 is negatively correlated with the expression of CD44. (A) Protein expression levels of p63 were markedly higher in isolated CD44^−^/CD24^−^ TPC-1 PTC cells compared with CD44^+^/CD24^−^ cells. (B) Protein expression levels of p63 were markedly increased in p63-overexpressing TPC-1 CD44^−^/CD24^−^ cells. (C) Ectopic expression of p63 causes a significant reduction in the colony formation capacity of the TPC-1 cell line. (D) The chemoresistance of p63-overexpressing TPC-1 cells to 5-FU were analyzed by Cell Counting Kit-8 cell viability assays. Data are expressed as the means ± standard deviation (n=3). \*\*P\<0.01 vs. control. CD, cluster of differentiation; 5-FU, 5-fluorouracil; PTC, parathyroid carcinoma.](etm-14-05-4693-g01){#f2-etm-0-0-5137}

![Overexpression of p63 attenuates the tumorigenic capacity of CD44^+^/CD24^−^ TPC-1 PTC cells. (A) p63 overexpression attenuated xenograft tumor growth in CD44^+^/CD24^−^ PTC cells. (B) Tumor volume and (C) tumor weight at day 28 from mice injected with p63-overexpressing CD44^+^/CD24^−^ and control empty vector (EV) CD44^+^/CD24^−^ PTC cells. n=5/group. (D) Immunohistochemical staining of p63 and Ki-67 in indicated subcutaneous tumors. Magnification, ×200. Data are expressed as mean ± standard deviation. \*P\<0.05 vs. control. \*\*P\<0.01 vs. control. CD, cluster of differentiation; PTC, parathyroid carcinoma.](etm-14-05-4693-g02){#f3-etm-0-0-5137}


The former head of Amazon Mexico is wanted for questioning in his estranged wife’s murder after she was ambushed in Mexico City, according to reports.

Juan Carlos García and his wife, Abril Pérez Sagaón, were locked in a nasty divorce when she was shot in the head and neck Monday by a motorcyclist in front of two of their children at an airport, El Pais reported.

Pérez — who had a restraining order against her husband — accused the former executive of attempted murder earlier this year, claiming he beat her with a baseball bat while she was asleep, the outlet reported.

He was taken into custody for the incident but released last month when the judge downgraded the charge to domestic violence, according to the report.

The mother of three had been in Mexico City for a court hearing and was headed to the airport to leave when she was killed on Monday — and her family believes that her estranged husband arranged the assassination.

“He has enough money to hire a hitman,” a relative told El Pais. “We have no doubt that it was him.”

No charges have been filed in the case, but her estranged husband is considered the main suspect, El Pais reported.

García was hired to run Amazon Mexico operations in 2014 and left three years later to join the commerce group Elektra, according to his LinkedIn page.


Category Archives: 1 York/90 Harbour

This artistic rendering depicts a view from the southwest of the One York Street office building and the Harbour Plaza Residences condo towers that Menkes Developments Ltd. is constructing in the south downtown core

January 18 2013: So far, only cranes and hoarding are visible at the construction site, as seen here from the southwest corner of York and Harbour Streets…

… but what passersby can’t see is that, behind the hoarding, construction of the underground levels for the office & condo complex is nearly at street level

Approaching grade: It won’t be long before the landmark Menkes condo and office tower development at 1 York Street and 90 Harbour Street begins to rise from the ground and significantly transform the entire look and feel of the southeast downtown core.

Hidden behind hoarding and not readily visible to most people passing by, work has been progressing quickly on the underground parking levels for the One York Street office building and the two Harbour Plaza Residences condo towers.

Only 13 months ago, excavation was just getting underway on the building site — a long, rectangular parcel of land awkwardly situated between several major traffic arteries — the Gardiner Expressway and Lake Shore Boulevard to the north, York Street to the west, and Harbour Street and the elevated York/Bay/Yonge offramp from the Gardiner to the south. The property was formerly occupied by a 5-storey brown brick building originally constructed for the Ontario Workmen’s Compensation Board in 1953, and subsequently used as headquarters for the Ontario Provincial Police. The building was demolished during the summer of 2011 (see my July 17 2011 post for photos showing how the site looked before it was acquired by Menkes Developments Ltd.).

By late summer of 2013, work had started on the office tower’s bottom underground level, even though hundreds of truckloads of soil remained to be excavated from the easterly two-thirds of the block-long site.

But by the beginning of December 2013, the below-ground parking floors were steadily taking shape across the entire length of the property.

Now, within weeks, the One York Street office tower will start to climb above the hoarding, finally bringing the construction activity into clear view of passersby.

December 13 2012: A crew works on the western perimeter of the future One York Street office tower location. This is a view looking south across the building site from the southeast corner of Lake Shore Boulevard and York Street.

August 19 2013: A crew works on the bottom underground level of the One York Street office tower as excavation continues on the eastern two-thirds of the building site where the Harbour Plaza condo towers will ultimately rise

December 3 2013: Underground levels are quickly taking shape

January 18 2014: Rebar for several support columns on the west side of the office tower building site extend almost to street level

Please turn to page 2 of this post to view additional construction photos and see more than a dozen artistic renderings of the One York Street office building and the two Harbour Plaza Residences condo towers.

Above is a link to my December 2012 Flickr album of building and construction photos I shot during walks in the downtown area. Click once on the image to view a small-format slideshow of the pictures, or click twice to access the album and see full-size photos and captions.

As 2012 drew to a close, some noteworthy downtown building projects had reached different stages of at- and below-grade construction progress. At some sites, like this one for the Picasso on Richmond condo tower, preliminary foundation drilling work was in full swing …

… while at others, like this one for the Studio on Richmond and Studio2 condo towers just two blocks east of Picasso, site excavation was ongoing.

Over the same period of time, underground parking levels were taking shape at some building sites, like this one for The Yorkville condo project on Davenport Road …

… while over on Charles Street East, construction had reached a milestone mark at X2 Condos, where building had started on the ground level of the tower

Fall photos: Until condo and office tower construction starts to climb above street level, it can be difficult to track how quickly work is progressing on the dozens of new buildings going up in Toronto’s downtown core. Ground-level views of building sites are often obscured by hoarding and security fences, plus concrete delivery trucks, dump trucks and other construction vehicles maneuvering into and out of staging areas adjacent to construction zones. I find it’s a big challenge to monitor ongoing progress at places where underground levels are taking shape, let alone keep an eye on sites where shovels are just breaking ground or preliminary work is being undertaken to prepare for full-scale construction. The vast number of projects scattered throughout the downtown core certainly doesn’t make the task any easier.

This illustration, from a city planning department report, compares the heights of four towers proposed for the York Street/Harbour Street area to the two ÏCE Condominium skyscrapers currently under construction nearby. Click on the image to view it in a larger format.

The proposed towers include a 37-storey office building …

… and two condo skyscrapers rising 62 and 66 storeys …

… on this surface parking lot property at 1 York Street and 90 Harbour Street, viewed here from York Street looking east.

Just across the road on the west side of York Street, this surface parking lot is the location for developer Tridel’s proposed Ten York condo tower …

… which would soar 65 storeys from its wedge-shaped site, as depicted in this artistic illustration provided courtesy of Tridel. The developer recently launched sales previews for the 735-foot, 725-suite skyscraper.

Decision day: Two development proposals that would dramatically change the look of the city skyline are up for review at the monthly meeting of Toronto and East York Community Council (TEYCC) on Tuesday.

The proposals — the Ten York condo tower by Tridel, and the 1 York office tower and two Harbour Plaza condo skyscrapers by Menkes — both have the blessing of City planners, who have recommended “approval in principle” of Official Plan and zoning bylaw amendments that would permit the projects to proceed, subject to the provision of adequate parking space.

City planners have suggested the City give an official thumbs-up to a massive multi-use development project Menkes Developments Ltd. has proposed for a 1-hectare site at 1 York Street/90 Harbour Street. Their report recommends approval of a 37-storey office building, one 62-storey condo tower, and one 66-storey condo skyscraper — a significant revision from the original plan described in the development proposal sign posted on the property.

October 4 2012: Looking east from York Street. The development site extends to the property line near the historic 6-storey Toronto Harbour Commission building at 60 Harbour Street. The heritage building was constructed in 1917.

September 25 2012: CN Tower view of the 1 York/90 Harbour development site, presently a surface parking lot (near center of photo). To its right is the construction site for the 30-storey RBC WaterPark Place office building. Visible in the bottom right corner of the photo are the two ÏCE Condo towers and the Infinity3 condo complex under construction between York and Lower Simcoe Streets. At left are the 50- and 54-storey condo towers of Maple Leaf Square. Click on the photo to view a larger-size image.

Island bridge: City planners are recommending approval in principle of a proposal to develop a piece of prime real estate on Harbour Street into an office and condo complex with three towers ranging in height from 37 to 66 storeys.

The planners’ September 21 2012 report to Toronto and East York Community Council (TEYCC) says redevelopment of the 1-hectare parcel at 1 York Street/90 Harbour Street — essentially an “island” of property between the Financial District and the Central Waterfront area — would “contribute to the City’s economic base, enhance the public realm of the Central Waterfront and help connect a key site in the downtown to its local context.”

The property already has been identified, in the City’s Official Plan as well as a Secondary Plan, as being “underused and in need of revitalization from its present use as parking lots and surrounded by highway ramps to something more vibrant and contributory to the community,” the planners observed in their 67-page report.


package prometheus_test

import (
	"testing"

	"github.com/stretchr/testify/assert"

	"github.com/spotahome/service-level-operator/pkg/service/client/prometheus"
)

func TestBaseFactoryV1Client(t *testing.T) {
	tests := map[string]struct {
		cli     func() *prometheus.BaseFactory
		address string
		expErr  bool
	}{
		"A regular client address should be returned without error.": {
			cli: func() *prometheus.BaseFactory {
				return prometheus.NewBaseFactory()
			},
			address: "http://127.0.0.1:9090",
		},

		"Getting a missing address client should error.": {
			cli: func() *prometheus.BaseFactory {
				return prometheus.NewBaseFactory()
			},
			address: "",
			expErr:  true,
		},

		"Getting a missing address client with a default client it should not error.": {
			cli: func() *prometheus.BaseFactory {
				f := prometheus.NewBaseFactory()
				f.WithDefaultV1APIClient("http://127.0.0.1:9090")
				return f
			},
			address: "",
			expErr:  false,
		},
	}

	for name, test := range tests {
		t.Run(name, func(t *testing.T) {
			assert := assert.New(t)

			f := test.cli()
			_, err := f.GetV1APIClient(test.address)

			if test.expErr {
				assert.Error(err)
			} else {
				assert.NoError(err)
			}
		})
	}

}


Popular

May 21, 2013

Unusual Testbed For Analyzing X-ray Navigation Technologies Built By NASA

by editor

NASA

Pulsars have a number of unusual qualities. Like zombies, they shine even though they´re technically dead, and they rotate rapidly, emitting powerful and regular beams of radiation that are seen as flashes of light, blinking on and off at intervals from seconds to milliseconds. A NASA team has built a first-of-a-kind testbed that simulates these distinctive pulsations.

The pulsar-on-a-table, known as the Goddard X-ray Navigation Laboratory Testbed, was built to test and validate a next-generation X-ray navigation technology to be demonstrated on a dual-use instrument recently selected as a NASA Explorer Mission of Opportunity.

“This is a unique capability,” said Jason Mitchell, an engineer at NASA´s Goddard Space Flight Center in Greenbelt, Md., who helped develop the tabletop-size facility that simulates the rapid-fire pulsations that distinguish this unusual class of stars, considered the densest objects in the universe. “We needed a capability that would let us retire technological risks early and test as many of the technology´s components as possible,” he said.

NICER/SEXTANT Mission

The facility is validating advanced technologies for the Neutron-star Interior Composition Explorer/Station Explorer for X-ray Timing and Navigation Technology, or “NICER/SEXTANT,” for short. Slated to fly on the International Space Station in 2017, the instrument will study the interior compositions of neutron stars largely through observations of their pulsating next-of-kin, pulsars, and from the same platform, demonstrate pulsar-based navigation, also called XNAV, a concept advanced after the discovery of these objects in 1967.

Pulsars offer a potentially revolutionary navigational solution because of their rapid rotation and the powerful beams of light that emanate from their magnetic poles. On Earth, these beams are seen as flashes of light, blinking on and off as the pulsar rotates into view. Because of their predictable pulsations, they can provide high-precision timing just like the atomic-clock signals supplied through the 26-satellite, military-operated GPS.

However, unlike GPS signals, which are geared to Earth-based applications, pulsars are accessible in virtually every conceivable flight regime, from low-Earth to interplanetary science, making the technology ideal for travel throughout the solar system and beyond.

From its berth on the International Space Station, the NICER/SEXTANT instrument will use its 56 bundled X-ray telescopes, silicon detectors and other advanced technologies to detect X-ray photons in the pulsars´ powerful beams of light to estimate their arrival times. With these measurements, the system will stitch together an onboard, completely autonomous navigational solution using specially developed algorithms.

“X-ray navigation has the potential to become an enabling technology for very deep space exploration and an important augmentation to NASA´s Deep Space Network” (the network of ground stations that communicate with spacecraft to make course corrections), said co-developer Luke Winternitz, also of NASA Goddard, whose curriculum vitae also includes the development of another advanced navigation technology, the Navigator receiver that captures the GPS signal even in low-signal environments.

With the Explorer win, the NICER/SEXTANT team will begin building and integrating the telescope package and associated hardware and software.

But as with all spacecraft missions, end-to-end testing presents another set of challenges. “We had to have a way to test the technology,” Winternitz said. “We have GPS constellation simulators that make our GPS receivers think they are in orbit; we needed something analogous for an XNAV receiver.”

Mimicking Pulsar Pulsations

In essence, the pulsar-on-a-table does just that.

It leverages several Goddard-developed navigation and orbit-determination software tools and specialized hardware to mimic a pulsar´s spin rates, its location in the sky, the station´s orbital parameters, and other considerations needed to simulate the environment and conditions that NICER/SEXTANT will encounter when formulating a navigational solution. “You can change a lot of the parameters in the testbed and add hardware in the loop, to perform a full suite of tests,” Winternitz said. “We now have a way to take our mission concept and test it fully.”

A central component of GXNLT is Goddard´s Modulated X-ray Source, which produces X-ray photons with rapidly varying intensity, turning on and off many times per second to simulate the target star´s pulsations. Each MXS-produced photon travels through a short channel and impinges on a silicon-drift detector, where it receives a time stamp. The photon events are grouped into batches and processed by algorithms to extract pulse-arrival time and Doppler measurements. A set of tools then uses these measurements to estimate the orbital outpost´s position – all needed to ultimately formulate a navigational solution.

To ground-truth the calculations, the team will run comparisons with an onboard GPS receiver based on the Goddard-developed Navigator receiver. Two NASA missions will use the Navigator technology to acquire GPS signals in weak-signal areas. Experiments with the testbed have shown that NICER/SEXTANT, once deployed, will demonstrate real-time calculations with sub-kilometer accuracy, Winternitz said.

“The whole point is to test as you fly,” Mitchell said. “This testbed enables that.” But what is the facility´s most notable attribute? It´s the fact that “it can simulate a pulsar,” Mitchell said. “To my knowledge, nothing in the world can do this.”


Business Party (Faroe Islands)

The Business Party () was a political party in the Faroe Islands in the 1930s.

History
The party was founded by bank director Thorstein Petersen in 1935. In the 1936 elections for the Faroese Løgting the party received 8% of the vote, winning two seats, neither of which were taken by Petersen. In the Danish elections in 1939 it received 9% of the Faroese vote, but failed to win a seat in the Folketing.

The party merged with defectors from the Self-Government Party to form the People's Party in 1939.

References

Category:Defunct political parties in the Faroe Islands
Category:Political parties established in 1935
Category:Political parties disestablished in 1939


package com.wordnik.springmvc;

import com.wordnik.sample.model.Pet;
import com.wordnik.sample.model.PetName;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class SwaggerlessResource {

    @RequestMapping(value = "/swaggerless/{petId}", method = RequestMethod.GET)
    public Pet getPetByName(@PathVariable(value = "name") String name) {
        // Just create and return a new pet
        Pet pet = new Pet();
        pet.setName(new PetName(name));
        return pet;
    }

    public Pet notAnEndpoint(@PathVariable(value = "name") String name) {
        // Just create and return a new pet
        Pet pet = new Pet();
        pet.setName(new PetName(name));
        return pet;
    }
}