text:
Water Grill to Bring Premier Seafood to the Gaslamp Starting March 16
Water Grill debuts in America's Finest City on Monday, March 16, introducing an extensive selection of seasonal seafood within a vibrant setting at the massive, two-storied, 11,000 square-foot restaurant formerly occupied by The Palm in San Diego's historic Gaslamp Quarter. The restaurant received a complete overhaul and now features a refreshed design, a menu consisting of first-of-season fresh fish, shellfish, prime meats, a raw seafood bar, and multiple spaces for private events and gatherings. In addition to the culinary offerings, the restaurant's opening accounts for the creation of 200 new jobs in the local economy.
"San Diego's energetic dining scene and proximity to the water provide a great landscape for Water Grill," said Sam King, CEO of King's Seafood Company, parent company of Water Grill. "We're proud to join such a vibrant neighborhood and offer a setting for guests to enjoy the highest quality seafood available."
While Water Grill's design team took great care in updating particular elements of the iconic building that dates back to 1950's, they also made a conscious effort to preserve some of its original charm and history. The new restaurant will feature an antique nautical décor, with rustic wood walls and comfortable leather booths, as well as a unique installation comprised of oyster shells. The space will also feature two unique spaces designated for private dining and entertaining with full A/V capabilities, wireless access, and impressive wine displays. The private dining room on the lower level, to be known as "The Gallery," will accommodate up to 20 guests, while the larger room upstairs, "The Barrel Room," can hold up to 50 guests, with an impressive view of J Street.
As part of King's Seafood, a family-run seafood company, Water Grill stands apart for its impressive seafood offerings, with signature entrees that include Santa Barbara Spot Prawns, Wild Ross Sea Chilean Seabass, Wild Eastern Sea Scallops and Squid Ink Pasta, that hit a price range of $25 to $55. The restaurant will also offer a wide selection of local craft beers, wines and cocktails, with a bar downstairs as well as upstairs. Executive Chef Fabrice Poigin, a San Diego native, will guide the restaurant's culinary vision as it continues to evolve.
"We're lucky to have incredible relationships with fisherman and purveyors along the coasts who provide an amazing selection of seafood for our restaurants," said King. "This is truly what sets Water Grill apart."
King's Seafood Company founded by cousins Sam and Jeff King, the company operates six different restaurant concepts that include the King's Fish House concept featuring 11 locations throughout Southern California, Nevada, and Arizona. King's also operates King Signature Group, which features Water Grill in Downtown LA and Santa Monica, 555 East in Long Beach, Lou & Mickey's in San Diego's Gaslamp District, Pier Burger on the Santa Monica Pier, and Fish Camp in Huntington Beach. The San Diego Water Grill is an offshoot of the popular Los Angeles location of the same name that first opened in downtown Los Angeles in the historic Pacific Building in 1989. In August of 2013, Water Grill opened its second location, offering open views of the Pacific Ocean in Santa Monica.
For additional updates and information on Water Grill, visit watergrill.com and follow on Facebook, Instagram and Twitter.


text:
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using MonoGame.PortableUI.Common;

namespace MonoGame.PortableUI.Media
{
    public abstract class Brush
    {
        public abstract void Draw(SpriteBatch spriteBatch, Rect rect);
        public static implicit operator Brush(Color color)
        {
            return new SolidColorBrush(color);
        }
    }
}

redpajama_set_name: RedPajamaGithub


text:
Q: How to run svy: regress in R or get R-squared in R for complex survey data I am trying to get r-squared, or explained variation, in a complex survey data using a linear regression (OLS).
In Stata, this can be done by using svy: regress. In R, however, when I use 'survey' package, there is no option for OLS linear regression. There is svyglm, which is generalized linear model (GLM), but this does not provide a value for explained variation (r-squared) because it isn't OLS. Is there a way to get r-squared for complex survey data in R?
library(survey)

design <- svydesign(id = ~psu, strata = ~strata, weight = ~w_mec, nest = TRUE, data = sample)

model1 <- svyglm(design = design, bmi ~ 1 + age + black + hispanics + others + female + edu2 + edu3 + edu4 + near_poor + middle + high, family = gaussian(link = "identity"), data = sample)

summary(model1)

Above is an example of what I did in R. This doesn't give r-squared because it's GLM. You don't really need to reproduce anything; this isn't a code issue, I just want to know if there is a way to get r-squared for complex survey data in R.

A: For a Gaussian glm (where the population parameter is the OLS parameter) you can just divide the dispersion parameter by the population variance and subtract from 1
Using one of the examples from the svyglm help page:
> data(api)
> dstrat<-svydesign(id=~1,strata=~stype, weights=~pw, data=apistrat, fpc=~fpc)
> api.reg <- svyglm(api.stu~enroll, design=dstrat)
> summary(api.reg)

Call:
svyglm(formula = api.stu ~ enroll, design = dstrat)

Survey design:
dstrat<-svydesign(id=~1,strata=~stype, weights=~pw, data=apistrat, fpc=~fpc)

Coefficients:
            Estimate Std. Error t value Pr(>|t|)
(Intercept) 13.34383   11.46399   1.164    0.246
enroll       0.81454    0.02459  33.120   <2e-16 ***
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

(Dispersion parameter for gaussian family taken to be 7331.633)

Number of Fisher Scoring iterations: 2

> nullmodel<-svyglm(api.stu~1,design=dstrat)
> summary(nullmodel)

Call:
svyglm(formula = api.stu ~ 1, design = dstrat)

Survey design:
dstrat<-svydesign(id=~1,strata=~stype, weights=~pw, data=apistrat, fpc=~fpc)

Coefficients:
            Estimate Std. Error t value Pr(>|t|)
(Intercept)   498.23      16.06   31.02   <2e-16 ***
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

(Dispersion parameter for gaussian family taken to be 137086.3)

Number of Fisher Scoring iterations: 2

> 1-7331.633/137086.3
[1] 0.9465181

You could also get the null-model variance using svyvar
> svyvar(~api.stu,design=dstrat)
        variance    SE
api.stu   137086 19197

And in this case we have the whole population, so we can run lm on the population and compare the survey estimate of rsquared with the population value
> summary(lm(api.stu ~ enroll,data=apipop))

Call:
lm(formula = api.stu ~ enroll, data = apipop)

Residuals:
     Min       1Q   Median       3Q      Max
-1021.20   -13.76     6.13    29.56   498.98

Coefficients:
             Estimate Std. Error t value Pr(>|t|)
(Intercept) 13.613245   1.953709   6.968 3.55e-12 ***
enroll       0.813556   0.002522 322.581  < 2e-16 ***
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 92.16 on 6155 degrees of freedom
  (37 observations deleted due to missingness)
Multiple R-squared:  0.9442,    Adjusted R-squared:  0.9441
F-statistic: 1.041e+05 on 1 and 6155 DF,  p-value: < 2.2e-16

As an added bonus answer: if you want the Nagelkerke or Cox-Snell r-squared for binary or count data, there's a function psrsq

A: You can get the amount of explained variation just by looking at the residual variance of your model and the residual variance of a null model (model with the explanatory covariates removed, including just an intercept). So the formula you need is:
R2_var = 1 - residual_variance / residual_variance_of_a_null_model

A: To get the multiple R2 of a svyglm model, you could also use the summ function in the jtools package.

A: Because "svyglm" objects are also "lm" objects by default -- see class(model1) in your example -- you can just run summary.lm(model1) to get the R^2.

redpajama_set_name: RedPajamaStackExchange


text:
Ex-Guantanamo inmates to leave Uruguay hospital 'in hours': minister
Facade of the Military hospital in Montevideo on Dec 7, 2014, where the Guantanamo detainees arrived early morning might be, according to local sources. Six Guantanamo inmates being resettled in Uruguay will leave hospital "in a matter of hours" and begin new lives as free men in the South American country, the defence minister said on Monday, Dec 8. -- PHOTO: AFP
https://str.sg/3ddN
MONTEVIDEO (AFP) - Six Guantanamo inmates being resettled in Uruguay will leave hospital "in a matter of hours" and begin new lives as free men in the South American country, the defence minister said Monday.
The men, who arrived in Uruguay early Sunday in a deal aimed at helping the United States close the notorious military prison, underwent medical exams on arrival. "That's the only reason they're not walking around the streets of Montevideo today like any neighbor's son," Defence Minister Fernandez Huidobro told local radio station Carve.

redpajama_set_name: RedPajamaCommonCrawl


text:
« Does the world really need one more average homebuilding company?
Narrow your focus »
The antidote to average-ness
In the Lean World, the term "sensei" connotes the idea of wise counsel. My buddy Pascal Dennis would no doubt have a more authentic and appropriate term, but both of us would probably agree that serving the homebuilding industry can feel less like a sensei and more like being a voice in the wilderness. Qualifying as a true VITW would seem to require that you endure at least 10 years of frustration. On that basis, I could certainly qualify.
If I have learned anything over the years, it is to reduce things – problems, solutions, challenges, opportunities – to their essence. It was not always so. Ten years ago, when SAI was just beginning its work in helping homebuilding companies to understand and improve their business processes, I characterized the effort to achieve and sustain improvements in business performance as involving "a certain chemistry – a complexity and a comprehensiveness", and, for that reason, "improving performance tends to be hard, involved work." I went on to say that, "It is hard work because performance cannot be improved without doing things differently, and change is threatening to most people; it is involved work because improving performance requires more than a simple, one-dimensional approach – it requires a continuous effort on more than one front."
In retrospect, I do think it is hard, involved work, but not because it is complex. Even at the time I was saying how complex it was, I was also saying that "it seems to us that business performance improvement really boils down to getting the job done – viewing the issue, sustaining the effort, and getting the results – in three critical dimensions."
I would substitute "focused" for "complex", but I would also say that those three dimensions are as true and relevant today as they were 10 years ago. For a homebuilding company, improving operating performance and business outcomes still comes down to having a strategic and marketing discipline, creating a business context in which everything makes sense, and having a perspective toward how value is created.
Discipline: It has to narrow its focus, by designing its operating model to deliver exceptional levels of the specific and distinctive value demanded by a narrowly defined segment of homebuyers.
Context: It has to be a company of business-people. A savvy, accountable, and motivated homebuilding team comprised of savvy, accountable, and motivated teammates. It must teach its employees the real numbers of the business, give them the authority – and responsibility – to act on that knowledge, and then give them a real stake in the financial outcome.
Perspective: It has to organize and focus its efforts around the systemic manner in which it performs work and creates value for its buyers. Sometimes it is about process management. Sometimes it is about project management. Sometimes it is about solving problems, and sometimes it is about managing constraints. It is always about understanding the cause-and-effect nature of the system in which it operates.
Everything else is just a means to an end.
February 3, 2009 @ 6:32 pm
Ping from Leslie:
Tuesday, February 10th 2009 at 10:23 pm |
No one with the right mind set wants to be average or mediocre. Mediocrity should not be the norm.
Self Strategy, as well as business strategy is always better with focus. But sometimes a narrow focus can blind you to what is happening and around you – (cause and effect theory). So, is it narrow focus that is needed or attention to excellence?
I read once a quote that stuck with me – "Every job is a self portrait of the person who did it. Autograph your work with excellence." — LMD


The Bent Pages book club (Grande Cache, AB) was started in 1999 and we have been going strong ever since. We are a group of 9 women who get together on the second Wednesday of each month to discuss the current book, socialize, and enjoy various branches of discussion, wherever they may lead . . .
We meet 9 months of the year, excluding December, July and August. Last year, however, we did gather in December at one of the local restaurants to enjoy a dinner out and to discuss Michael Moore's Bowling for Columbine. Each May we draw months for the next year's schedule. The person who chooses September (for example) is the host that month and must choose a book to be read and discussed for that month. Hosts have the choice of entertaining in their homes and supplying appetizers and dessert or entertaining in a restaurant of their choice. If they choose the restaurant route, they are responsible for purchasing appetizers for the group. Members buy their own beverages and desserts. Schedules are distributed in June or early July so members know and are able read book selections over the summer. If a member does not finish a book, they are fined a loonie and those who do not even start the book are fined a toonie.
We begin our book club discussion with the host telling us why she chose the book . . .


Some Florida fishermen say Atlantic goliath groupers are eating too many fish, but scientists argue the behemoths still need our protection.
Somewhere in the warm waters off the Florida Keys lives a fish named Sylvia. She is six feet long, friendly as a golden retriever—and a rarity. Fabien Cousteau named the distinctive Atlantic goliath grouper after famed ocean scientist Sylvia Earle when the curious fish and her larger companion repeatedly visited Cousteau during his expedition in the undersea laboratory Aquarius off Key Largo in 2014.
The other grouper was named JYC, after Cousteau's grandfather, Jacques Cousteau.
Not all hold such a reverential view of the goliath grouper, which can reach 800 pounds. Fished to near extinction in its western north Atlantic habitat by 1990, U.S. states and the federal government banned catching the goliath—and now, the population is making a comeback.
It is still listed as critically endangered, however, and is rarely seen in many places where it was once plentiful. But as numbers recover, sports fishermen and charter boat operators in the Keys complain that the fish has become a pest.
Several videos online show the Goliath grouper's antics, which, includes a grouper dragging a fisherman and stealing his catch.
Barr and others also blame Goliath groupers for the decimating fish stocks on the Florida reef, including snapper and smaller grouper.
The arguments may sound plausible on the docks, but do not add up in the science lab, says Chris Koenig, a retired University of Florida marine biologist who has studied goliaths for decades.
Koenig, whose fascination with goliath groupers dates to his boyhood when the fish was considered worthless, and his wife, Florida State University scientist Felicia Coleman, posted a "fact or fiction" paper online to refute false claims and clarifying the groupers' dining habits and biology.
Nor is the grouper especially ferocious.
Koenig says the push to lift the ban on catching goliath grouper has more to do with sport than anything else.
Among trophy fish caught in the Florida Keys, the goliath grouper has long held special distinction. In historical photographs featuring man and fish posed side by side, the goliath is almost always larger than the client who caught it—which is an essential part of its appeal.
Goliath groupers, which live up to 40 years, can measure as much as eight feet in length. Catching one is the ocean equivalent of hunting big game. Only sharks, rarely caught, are bigger.
"Nobody's going to hold up a minnow and smile next to it," Koenig says.
The Florida Fish and Wildlife Conservation Commission has conducted three population counts, in 2004, 2010, and 2015 in an effort to determine if the grouper has recovered enough to lift the fishing ban.
None of the counts convinced officials to reopen the goliath grouper fishery so far.
Nalley adds the commission has no plans on the horizon to the reconsider grouper's status.
Dan DeMaria, a commercial diver who used to hunt goliaths with a spear when they were plentiful, now thinks they are worth more alive than dead. Ecotourism has discovered the fish, drawing divers and tourists from around the world to swim with them, and DeMaria says that is the best outcome for the long-lived fish.
"One fish can be seen hundreds of times," he says.
The experience becomes even more exotic during mating season, when goliaths migrate north to cooler waters just off Palm Beach, Florida, and gather in groups of 50.
Ecotourism can only help so much—Koenig notes that groupers are still being caught illegally.
He's finalising a new analysis of the behemoth, in which he lays out a plan for reopening the juvenile goliath grouper to fishing on a limited, sustainable basis. His data suggests this type of fishery may better protect the goliath in the end.
"They are killing them now and leaving them on the bottom," since it's breaking the law to possess a grouper.
Laura Parker is a staff writer who specialises in covering climate change and marine environments.


text:
Q: bash curl username credentials within script I am passing username and password to the curl command to receive the output from the api call. Not sure whats wrong, but the curl command works from the command line, but when I use the same curl command within a bash script, it doesn't take the credentials properly. API call fails with an authorization error. Can someone throw some pointers here?
curl --silent -u 'blah-blah:youareawesome$1234' https://example.com/api/check
Here is the script
USERNAME=$1
PASSWORD=$2
curl --silent -u "${USERNAME}:${PASSWORD}" https://example.com/api/check
{"timestamp":1509422967185,"status":401,"error":"Unauthorized","message":"Bad credentials","path":"/api/check"}

A: Try this
UNAME=$1
PASSWORD=$2
curl --silent -u "${UNAME}:${PASSWORD}" https://example.com/api/check

A:
Blockquote
  curl --silent -u 'blah-blah:youareawesome$1234' https://example.com/api/check

This might be a red herring on the quotes but your script won't accept strings after the $ sign.
Might need to wrap your username & password in quotes as you give your script your inputs.

A: Thank you for all the answers !! For whatever reason, after i modified the script to have the username and password as separate variable and passing to the curl command worked
CREDS="${USERNAME}:${PASSWORD}"
CURL_CMD="curl --silent -u ${CREDS}"
${CURL_CMD} https://example.com/api/check

A: You can use like this,
example:
curl --location --request POST 'http://119.235.1.63/test' \
--header 'Content-Type: application/json' \
--data-raw '{ "CompanyId":"mafei", "Pword":"mafei123", "SmsMessage":"I am '${USER}'", "PhoneNumber": [ "712955386"] }'

in your code please use single quotes like below
curl --silent -u "'${USERNAME}:${PASSWORD}'" https://example.com/api/check