text
stringlengths 1
964k
| meta
dict |
|---|---|
Search form
Main menu
You are here
Report Backs State-Run Comp Over Privatization
WorkCompCentral
Wednesday, September 15, 2010
A coalition of consumer groups released a report Tuesday critical of a move to privatize Washington's state-run workers' compensation program, saying the current system is "remarkably cost-effective, with higher benefits to workers."
Supporters of Initiative 1082 on the November ballot, however, called the study biased, inaccurate and misleading.
"The Washington system is a far more efficient benefit delivery system to employees than the private market, with the lowest possible cost to employers. Recent experience suggests that allowing the private insurance industry to enter this market will very likely result in increased costs for employers, decreased benefits for injured workers, and new burdens on Washington state," asserts the report titled "Biggest Bang for the Buck," produced by Americans for Insurance Reform (AIR).
The study was authored by actuary J. Robert Hunter, director of insurance for the Consumer Federation of America, who was a former Texas insurance commissioner, and Joanne Doroshow, executive director of the consumer group Center for Justice & Democracy.
Among the highlights of the study:
Over the five-year period ending in 2008, the cost to private insurers to run their workers' compensation systems was more than 90% higher than Washington's costs to run its state system.
From 2004 to 2008, Washington workers received nearly $1.29 in benefits for every dollar paid in premiums. By contrast, the private insurer payout was 62 cents for every dollar in premium, and state funds in states where private insurers compete for business paid out 70.2 cents.
...
Join Our Fight!
The Center for Justice & Democracy is the only national consumer organization in the country exclusively dedicated to protecting our civil justice system. If you'd like more information, please contact us.
|
{
"pile_set_name": "Pile-CC"
}
|
Ending the crisis that has seen thousands of attempts by migrants to reach England from Calais in recent weeks is a "top priority", the interior ministers of France and Britain wrote in a joint statement Sunday.
It's 8.30am and Aarthi Sw minathan is headed out for a long day at work. As she braces to navigate the traffic, she switches on the radio for her usual dose of Tamil melodies by A R Rahman. Rahman it is, but only in Hindi!
Bernard Tomic's rift with Tennis Australia looks unlikely to end any time soon after the player said he had no interest in clear-the-air talks until the governing body resumed funding of his sister, Sara.
A variety of beer, originally brewed by British soldiers to keep them company during their long travels to India when the latter was under British rule, has taken the beer loving nation of Czech Republic by storm.
Ending the crisis that has seen thousands of attempts by migrants to reach England from Calais in recent weeks is a "top priority", the interior ministers of France and Britain wrote in a joint statement Sunday.
Ending the crisis that has seen thousands of attempts by migrants to reach England from Calais in recent weeks is a "top priority", the interior ministers of France and Britain wrote in a joint statement Sunday.
Ending the crisis that has seen thousands of attempts by migrants to reach England from Calais in recent weeks is a "top priority", the interior ministers of France and Britain wrote in a joint statement Sunday.
It's 8.30am and Aarthi Sw minathan is headed out for a long day at work. As she braces to navigate the traffic, she switches on the radio for her usual dose of Tamil melodies by A R Rahman. Rahman it is, but only in Hindi!
Ending the crisis that has seen thousands of attempts by migrants to reach England from Calais in recent weeks is a "top priority", the interior ministers of France and Britain wrote in a joint statement Sunday.
It's 8.30am and Aarthi Sw minathan is headed out for a long day at work. As she braces to navigate the traffic, she switches on the radio for her usual dose of Tamil melodies by A R Rahman. Rahman it is, but only in Hindi!
Bernard Tomic's rift with Tennis Australia looks unlikely to end any time soon after the player said he had no interest in clear-the-air talks until the governing body resumed funding of his sister, Sara.
A variety of beer, originally brewed by British soldiers to keep them company during their long travels to India when the latter was under British rule, has taken the beer loving nation of Czech Republic by storm.
|
{
"pile_set_name": "Pile-CC"
}
|
Q:
Pure Local Single-Page App With AngularJS and its RouteProvider
I'm currently trying to build a "web app" that runs off a flash drive, thus there can't be any other environment requires that launching chrome with some launch options and a path to the index.html file on the flash drive.
I'm having some trouble getting angularJS to play nicely when loading files with the file:// protocol and not through a web server.
I've gotten it to load local resources ( like a video) by setting html5 mode to true but I currently am unable to use the route provider.
Here's what I have:
var testApp = angular.module("testApp", ['angular-underscore', "ngRoute", "com.2fdevs.videogular"]);
testApp.config(function($locationProvider, $routeProvider) {
$locationProvider.html5Mode(true);
$routeProvider.when('/', {template: '/views/MainView.html', controller: "VideoPlayerController" })
.otherwise({redirectTo:'/'});;
});
Whenever I load up my index.html file in Chrome by double clicking the file, the url starts with as "file://". This also happens when I launch via command line with the essential option "--allow-file-access-from-files".
How do I get the routeProvider to work as intended with file://? It currently isn't recognizing even the "otherwise" route unless I add the following to my head tag in index.html
<base href="/index.html">
But that ends up with
file:///
in the URL field of Chrome. All other resources fail to load.
Below is an example of the error I'm seeing with just one controller combo.
GET file:///index.html net::ERR_FILE_NOT_FOUND
Thanks SO! (I know all my problems would disappear if I was willing to use a webserver but I'm not allowed to on this project at the moment)
A:
You can get the Angular side of things to work, by using a dynamic base tag:
<script>document.write('<base href="' + document.location + '" />');</script>
as Plunkr does it. You can then remove the first / from the path to the templates to make them relative to the base, and Angular attempts to fetch the template from the correct location. However you then run up against browser security constraints, at least in Chrome, which treat Ajax requests to file://, even if from file://, as cross-domain.
Barring any changes to the browser security settings, the solution to that is to write (or have some Grunt-type build process to build) the templates right into the JS, so Angular doesn't have to make any Ajax requests. For example
app.run(function($templateCache) {
$templateCache.put('views/MainView.html', 'In the MainView partial <strong>{{message}}</strong>');
});
I've also found the the HTML5 routing doesn't appear to work with file://, so that must be disabled.
I've constructed a simple plunkr that shows this, that also works when downloaded, at least onto a Mac with Chrome. I've also made a slightly more complicated plunkr, that shows you can navigate between routes like #/ <-> #/inner , when downloaded to a file.
|
{
"pile_set_name": "StackExchange"
}
|
Australia has completed a sensational victory over India in Pune, stunning the hosts in less than three days to win by 333 runs.
As it was on day two, Steve O'Keefe stole the show with the ball and Steve Smith led the way with the bat as Australia pulled off the most unlikely of runaway Test wins.
O'Keefe took another haul of 6-35 — the exact same figures he managed in the first innings — in the second innings, finishing as man of the match with the remarkable figures of 12-70.
Those figures are the 10th best in the history of Australian Test cricket, and better even than Shane Warne's best Test figures of 12-128.
The New South Welshman was near enough to unplayable after lunch, setting batsmen up with big turners before sliding through defences with straight balls.
This plan was most brilliantly executed to remove India's captain Virat Kohli, with the superstar shouldering arms to a delivery that went straight on and into the off stump.
Kohli's wicket was a death knell for India, whose top order had already been wiped away by O'Keefe and Nathan Lyon.
Murali Vijay (2) and KL Rahul (10) were both adjudged to be out LBW, but both reviewed the decisions to no avail.
O'Keefe's wicket of Virat Kohli was decisive. ( AP:Rajanish Kakade )
Kohli's wicket brought upon another collapse. Ajinkya Rahane (18), Ravi Ashwin (8) and Wriddhiman Saha (5) all fell to O'Keefe, and the die was well and truly cast.
The tail mustered no fight, Australia's victory long since confirmed too.
Skipper shows rising team the way
Smith picked up where he left off early on day three, mastering the difficult conditions to bring up one of the finest centuries in a Test career that is growing more storied by the match.
On a pitch no other batsman looked comfortable on, Smith hit India's spinners around with ease as Australia established a match-winning lead.
Steve Smith's ton in tricky conditions must rate among the very best of his career. ( Reuters: Danish Siddiqui )
Smith was not without some good fortune, dropped a number of times and surely out LBW had India been able to review the call. He more than made the most of his luck though.
He would fall for 109, caught in front of the stumps by a skidding delivery that would prove foreboding for O'Keefe's spell to come, but his job was well and truly done.
Smith was well supported by Mitch Marsh (31) and Mitch Starc (30), but his century stood out in a match of starts and failures.
His runs would prove to be more than enough as India failed to muster any fourth-innings challenge at all.
|
{
"pile_set_name": "OpenWebText2"
}
|
Media Critic Kurtz: Fox & Friends Makes “A Fair Number Of Mistakes, And They Always Happen To” Make Obama Look Bad
|
{
"pile_set_name": "OpenWebText2"
}
|
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2011 Talend Inc. - www.talend.com
-->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jaxrs="http://cxf.apache.org/jaxrs"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://cxf.apache.org/jaxrs
http://cxf.apache.org/schemas/jaxrs.xsd">
<!-- Restaurant Reservations Application -->
<!--
WebClient which Restaurant Reservations uses to access Social.com users' calendars at Social.com.
Note that the Social.com address provided to this service is different from
the one used by Social.com users themselves, which is "http://localhost:${http.port}/services/social/calendar".
Social.com is OAuth-protected at "http://localhost:${http.port}/services/thirdPartyAccess/calendar" while
"http://localhost:${http.port}/services/social/calendar" is protected by a Basic Authentication filter.
-->
<bean id="socialServiceClient" class="org.apache.cxf.jaxrs.client.WebClient" factory-method="create">
<constructor-arg type="java.lang.String" value="http://localhost:${http.port}/examples/thirdPartyAccess/calendar"/>
</bean>
<!-- WebClient for requesting a temporarily Access OAuth token,
it is used after the authorization service (in socialApp context) redirects the user back
to the callback URI. Once the access token is obtained, the service uses it to access the user's
calendar
-->
<bean id="atServiceClientFactory" class="org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean">
<property name="address" value="http://localhost:${http.port}/examples/oauth/token"/>
<property name="headers">
<map>
<entry key="Accept" value="application/json"/>
</map>
</property>
</bean>
<bean id="atServiceClient" factory-bean="atServiceClientFactory" factory-method="createWebClient"/>
<!-- WebClient for talking to a partner Restaurant application,
it is used after a user calendar's has been checked
-->
<bean id="restaurantServiceClientFactory" class="org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean">
<property name="address" value="http://localhost:${http.port}/examples/restaurant/reception"/>
<property name="headers">
<map>
<entry key="Content-Type" value="application/x-www-form-urlencoded"/>
<entry key="Accept" value="text/plain"/>
</map>
</property>
</bean>
<bean id="restaurantServiceClient" factory-bean="restaurantServiceClientFactory" factory-method="createWebClient"/>
<!--
Utility OAuthClientManager which encapsulates the interaction with the OAuth Server
-->
<bean id="oauthClient" class="oauth2.thirdparty.OAuthClientManager">
<property name="authorizationURI" value="http://localhost:${http.port}/examples/social/authorize"/>
<property name="accessTokenService" ref="atServiceClient"/>
</bean>
<!-- Restaurant Reservations Service Bean -->
<bean id="restaurantReserveService" class="oauth2.thirdparty.RestaurantReservationService">
<property name="oAuthClientManager" ref="oauthClient"/>
<property name="socialService" ref="socialServiceClient"/>
<property name="restaurantService" ref="restaurantServiceClient"/>
</bean>
<!-- The security filter for Restaurant Reservations -->
<!-- It's a primitive implementation which only recognizes a single user, to be improved... -->
<bean id="thirdPartySecurityContext" class="oauth2.thirdparty.SecurityContextFilter">
<property name="users">
<map>
<entry key="barry@restaurant.com" value="5678"/>
</map>
</property>
<property name="realm" value="Reservations"/>
</bean>
<!-- The Restaurant Reservations View Support
Responses to requests with URIs ending with /reservations/reserve/complete and
/reservations/reserve/failure will be redirected to "/forms/reservationConfirm.jsp"
and "/forms/reservationFailure.jsp" respectively.
In both cases the response beans (oauth.common.ReservationConfirmation and oauth.common.ReservationFailure)
will be available to view handlers as HttpServletRequest "data" attribute.
Note that restaurantReserveService will use JAX-RS Response.seeOther() call to redirect a user
to a failure handler if a /complete reservation requests fails for whatever reasons
(no authorization key is available after the authorization service redirects the user back to it, no
access token can be obtained, etc)
-->
<bean id="reserveRegistrationViews" class="org.apache.cxf.jaxrs.provider.RequestDispatcherProvider">
<property name="resourcePaths">
<map>
<entry key="/reservations/reserve/complete" value="/forms/reservationConfirm.jsp"/>
<entry key="/reservations/reserve/failure" value="/forms/reservationFailure.jsp"/>
</map>
</property>
<property name="beanName" value="data"/>
<!--
<property name="logRedirects" value="true"/>
-->
</bean>
<!-- Restaurant Reservations Service Endpoint -->
<jaxrs:server id="reservationsServer" address="/reservations">
<jaxrs:serviceBeans>
<ref bean="restaurantReserveService"/>
</jaxrs:serviceBeans>
<jaxrs:providers>
<ref bean="thirdPartySecurityContext"/>
<ref bean="reserveRegistrationViews"/>
</jaxrs:providers>
</jaxrs:server>
</beans>
|
{
"pile_set_name": "Github"
}
|
Bronchial brushing and biopsy: a comparative evaluation in diagnosing visible bronchial lesions.
One hundred and forty patients underwent 142 brushings and conventional biopsies of suspected malignant lesions of the lung through a fibreoptic bronchoscope. Both samples were taken from the same area. One hundred and three patients showed positive results on brushing and 90 on biopsy. Thirty-nine diagnoses were negative on brushing and 52 on biopsy. A correct cell typing was obtained in 105 of 109 diagnoses of malignancy. Final diagnoses showed 118 malignant lesions and 22 benign conditions. False positives were respectively, 2 on brushing and 1 on biopsy, while false negatives were 17 on brushing and 30 on biopsy. Brushing showed higher sensitivity (85.5%) and accuracy (86.6%) than biopsy. A combination of the two techniques gives an accuracy rate of 94.3%.
|
{
"pile_set_name": "PubMed Abstracts"
}
|
Q:
How to programmatically navigate to ViewController and pass data
I'm trying to pass data to the second view controller without success,
This is my code:
let storyboard = UIStoryboard(name: "Main", bundle: nil)
let vc = storyboard.instantiateViewController(withIdentifier: “secondVC")
self.present(vc, animated: true, completion: nil)
//The following solution as I checked in the previous questions doesn't work:
vc.Var1InSecondViewController = self.var1
vc.Var2InSecondViewController = self.var2
It claims that 'vc' which is related to the second view controller has no member of 'Var1InSecondViewController' even though I did created it in the second view controller.
Your help would be appreciated, thank you.
A:
You have to specify the class name of the secondVC as follows in order to access its properties,
Instead of,
let vc = storyboard.instantiateViewController(withIdentifier: “secondVC")
Use
let vc = storyboard.instantiateViewController(withIdentifier: “secondVC") as? YOUR_SECOND_VIEW_CONTROLLER_CLASS_NAME
And do the assignment steps before presenting the view controller as follows,
vc?.Var1InSecondViewController = self.var1
vc?.Var2InSecondViewController = self.var2
self.present(vc!, animated: true, completion: nil)
|
{
"pile_set_name": "StackExchange"
}
|
Q:
Curl -u Request in javascript
I need to perform a curl request like this:
curl -u "apikey:{apikey}" "{url}"
How can i do this in javascript? In particular i have some trouble to handle the -u curl field into javascript request.
A:
You will have to specify a basic auth header (Authorization: Basic <base64 of apikey:value>) with the API key when using JavaScript. If you are using XMLHttpRequest, have a look at this this: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/setRequestHeader
|
{
"pile_set_name": "StackExchange"
}
|
Albert Einstein dedicated his life to his work, not his wardrobe.
The late genius chose to keep it routine when it came to his look, presumably to concentrate on the bigger matters before him, but his style did include a love for Levi’s®.
In the mid-1930s, Einstein purchased a Levi’s® Menlo Cossack leather jacket, a signature piece he would wear for decades. It became synonymous with his early years in the United States, a time when his work achieved global fame.
In 2016, Levi Strauss & Co. placed the winning bid on the Einstein staple at Christie’s Auction House in London. Weathered and creased with wear, the jacket also famously maintains a faint scent of sweet pipe tobacco that endlessly emanated from Einstein’s pipe as he smoked incessantly.
Once the jacket made its way back to Levi Strauss & Co., the Levi’s® Vintage Clothing team went to work. They meticulously recreated the garment for a limited-edition run. With only 500 pieces made, the limited-edition reproduction of Albert Einstein’s Levi’s® Menlo Cossack Jacket is now available as part of the LVC Spring/Summer 2018 collection, retailing for $1200.00.
In step with LVC’s dedication to authenticity, and with the help of Brooklyn-based perfume house D.S. & Durga, they also recreated the scent of Einstein’s jacket: a warm blend of burley pipe tobacco, papyrus manuscripts and vintage leather. A bottle of this exclusive scent accompanies each jacket, along with a replica of the No. 97 auction paddle that was used to bid on this historic garment.
“It’s the first time that I’ve had the opportunity to reproduce a garment that belonged to such an icon and a huge personality of the twentieth century,” said Paul O’Neill, Head Designer, Levi’s® Vintage Clothing. “It was such an honor to reproduce Albert Einstein’s jacket. He’s a legend.”
By working with a similar Cossack jacket Paul purchased online, the team was able to nail down the details of the Einstein jacket, from the buttons and the brass buckle cinch to the waist straps.
Paul also traveled to D.S. & Durga to help replicate that smoky scent. In what he likened to a mad-scientist’s lab, the teams landed on a fragrance distinctly Einstein.
“It is based on Einstein’s study,” Paul said. “It is a nod and a wink to the whole story of the jacket, and we want to really invest in this story.”
Of course, Paul is all about the details. “There’s an interesting triangular gusset at each side seam that has a strap and buckle where you can adjust the waist. That’s great. I also really like the very small rounded collar, I think that’s a very nice detail.
“Ultimately, I think my favorite aspect of the jacket is that it feels very contemporary,” Paul says. “Even though it’s more than 80 years old, it doesn’t feel like you’re dressed up in period design. It feels so fresh and current. It just goes to show how classic the products Levi’s® were producing back in the 1930s. They still feel very relevant for today.”
The jacket will be available Feb. 26.
|
{
"pile_set_name": "OpenWebText2"
}
|
reFX has updated Nexus to version 1.2.1., which fixes random crashes, crackles’n’pops during playback and a few minor bugs of the previous version. Next to the update reFX have released two Expansions for Nexus, ‘Psytrance’ and ‘Dance Drums’.
– A Free NEXUS Expansion ‘Bonus Presets’. The long promised and eagerly awaited single-layer presets created from the “Splits and Sequences” category.
– NEXUS Expansion ‘Presets Only’. Since reFX changed the preset format and categorized the presets for the 1.1.0 update, all previously released presets had to be converted to this new format and categorized as well. Simply download the short (1MB) ZIP file and import the
expansion-presets-only NXP files into NEXUS to categorize and convert the presets into the new format.
– NEXUS Expansion ‘Restore Presets’. This expansion contains ALL factory presets, newly categorized. The ARP- and TG-Presets are also included. Simply import into NEXUS to restore all presets to their factory settings. If your presets are not categorized, make sure to download and import this expansion as it uses the new file-format introduced with NEXUS 1.2.0. Future versions of NEXUS will not be able to load the old file-format!
– Two New NEXUS Skins:
“T-Bee”: This is our favorite skin for NEXUS. It fits very well with bright AND dark themed hosts. T-Bee or not T-Bee?
“Cobalt”: This is by surely our favorite skin for NEXUS. It fits very well with bright AND dark themed hosts. Catch the Cobalt.
– A Free NEXUS Expansion ‘Bonus Presets’. The long promised and eagerly awaited single-layer presets created from the “Splits and Sequences” category.
– NEXUS Expansion ‘Presets Only’. Since reFX changed the preset format and categorized the presets for the 1.1.0 update, all previously released presets had to be converted to this new format and categorized as well. Simply download the short (1MB) ZIP file and import the
expansion-presets-only NXP files into NEXUS to categorize and convert the presets into the new format.
– NEXUS Expansion ‘Restore Presets’. This expansion contains ALL factory presets, newly categorized. The ARP- and TG-Presets are also included. Simply import into NEXUS to restore all presets to their factory settings. If your presets are not categorized, make sure to download and import this expansion as it uses the new file-format introduced with NEXUS 1.2.0. Future versions of NEXUS will not be able to load the old file-format!
– Two New NEXUS Skins:
“T-Bee”: This is our favorite skin for NEXUS. It fits very well with bright AND dark themed hosts. T-Bee or not T-Bee?
“Cobalt”: This is by surely our favorite skin for NEXUS. It fits very well with bright AND dark themed hosts. Catch the Cobalt.
– VANGUARD has been updated to version 1.6.0 with new features and is now finally available as a Universal Binary for OSX.
– New VANGUARD Soundbank: ‘Vengeance Part 2’. Enjoy the awesome Trancegate patterns in combination with the flexible Arpeggiator. The soundset comes with the same categories as the first (factory) soundset. So what are you waiting for? The new club-hit lies in your hands.
reFX
Like this: Like Loading...
|
{
"pile_set_name": "OpenWebText2"
}
|
Q:
What is the most efficient way to convert this jekyll code to PHP?
What is the most efficient way to convert this jekyll code to PHP?
{% for post in site.posts limit: 12 %}
<a href="{{post.url}}" style="background-image: url(assets/img/posts/thumbnails/{{post.thumbnail}})" class="academic-thumb">
<div class="academic-meta">
<div class="name">
{{post.title}}
</div>
</div>
</a>
{% endfor %}
A:
<?php
foreach ($site->getPosts() as $post) {
echo '
<a href="'. $post->getUrl() .'" style="background-image: url(assets/img/posts/thumbnails/'. $post->getThumbnail() .')" class="academic-thumb">
<div class="academic-meta">
<div class="name">
'. $post->getTitle() .'
</div>
</div>
</a>';
}
This is will of course only work if the $post object is available and has gathers for the variables.
You should also listen to @borracciaBlu: study the ruby syntax first and the the php syntax
|
{
"pile_set_name": "StackExchange"
}
|
Capture of mercury ions by natural and industrial materials.
In this paper the technical feasibility of various adsorbents for mercury removal from contaminated waters has been studied. Adsorption isotherms of mercury ions in aqueous solution have been experimentally measured on a granular activated carbon (Aquacarb 207EA), a char, a pozzolana and a yellow tuff. The experimental evidences show that the mercury capture capacity of yellow tuff and char is of few tenths of milligrams per gram of sorbent while for the pozzolana and the activated carbon this value is of the order of 1mg/g of sorbent. Moreover, for a mercury concentration as high as 3000 microg/l the pozzolana shows the highest adsorption capacity. This result seems to be quite interesting, especially in consideration of the extremely low cost of this natural sorbent.
|
{
"pile_set_name": "PubMed Abstracts"
}
|
Ee Nagaraniki Emaindhi
Ee Nagaraniki Emaindi (English: What happened to this city?) is a 2018 Indian Telugu language buddy comedy written and directed by Tharun Bhascker Dhaassyam and produced by Suresh Babu.. The film received positive reviews from the audience and a majority of the film critics.
Plot
Vivek, Karthik, Kaushik and Uppi are childhood friends who dream of a career in film making during their college days. But they eventually give up their plans and settle in other jobs. Vivek resigns his job and lives in isolation, still trying to get over his breakup, Karthik works as a manager to a club and plans on marrying his owner's daughter and settle in USA, Kaushik works as a dubbing artist and Uppi works as a wedding photographer. After a misfired bachelors' party, they all end up in Goa. Karthik loses the engagement ring and needs ₹5 lakhs to buy a similar kind of one. So they decide to participate in Goa Short film festival for the prize money. Vivek doesn't agree to make a romantic film but later agrees as they don't have an alternative. Karthik handles cinematography, Uppi edits the film and Kaushik acts in it. Vivek couldn't get out of his past and gives a sad ending to the film, and later gives up on the project as he fears the negative feedback. Karthik realizes that he is losing everything else for the social status and calls off his marriage. Kaushik gets confidence to act in films and Uppi becomes an editor. After working on a few short films, they start their first feature film, Pelli Choopulu.
Cast
Vishwak Sen as Vivek (Psycho Vivek)
Sai Sushanth Reddy as Karthik
Gautham Menon as himself, Cameo Appearance
Abhinav Gomatam as Kaushik
Venkatesh Kakumanu as Upender/Uppi
Anisha Ambrose as Shirley
Simran Choudhary as Shilpa
Vijay Deverakonda as himself
Soundtrack
This film has five songs composed by Vivek Sagar and Released By Aditya Music.
Release
Ee Nagaraniki Emaindi was released worldwide on 28 June 2018.
Reception
Box Office
The film has collected $98,136 from the premiere shows in USA held on Thursday night. On Day 1 on Friday, the film has collected $81,127.The total US box office collection was $179,263.
Critical reception
The Hindu praised the film and stated "With Ee Nagaraniki Emaindi, Tharun Bhascker Dhaassyam breaks the second-film jinx that hounds many filmmakers who’ve delivered an impressive first film."
The Times of India gave 3.5/5 rating and commented that: "Make no mistake, Ee Nagaraniki Emaindi belongs to Tharun Bhascker. The filmmaker’s flair for comedy once again shines through and his dialogues are terrific."
123 Telugu gave 3.25/5 rating and wrote, "With Ee Nagarainiki Emaindi, Tollywood steps into the buddy comedy genre which has been rarely explored. This movie has no great story but is filled with a lot of fun and precious moments which a group of buddies share in real life."
The Hans India gave 3/5 rating and wrote, "...is one of the best youthful entertainers in the recent times. On the whole, the film is enjoyable entirely and even makes us emotional in parts."
Idlebrain gave 3/5 rating and wrote, "...is a buddy comedy that has good moments and a slow second half!"
References
External links
Category:2018 films
Category:2010s Telugu-language films
Category:Films shot in Telangana
Category:Indian films
Category:Indian buddy comedy films
Category:2010s buddy comedy films
Vishwak Sen Wiki
|
{
"pile_set_name": "Wikipedia (en)"
}
|
Item added to cart
Your pickup store:
Overview
Colour Family:
WHITE
Lumens:
N/A
Watts:
7
Assembled Product Length:
39.37"
Have some fun with your indoor tape lighting. This remote control dimmable, trimmable colour changing light has 30,000 hours of life and a 120º beam angle. It comes complete with 3M adhesive backing making it ideal for coves, under counters, cabinets, and shelving. Kit includes LED tape; plug-in driver (power supply) with cord and a switch; joiner; colour changing controller; wireless colour changing remote control; and mounting hardware.
|
{
"pile_set_name": "Pile-CC"
}
|
Lane, now 19, argued he should not have been sentenced to life without parole since he was a juvenile at the time of the murders.
A panel of three judges heard oral arguments for and against the appeal for Lane, who shot and killed three students on Feb. 27, 2012, at the high school.
Appellate attorney Michael Partlow said Lane should not have automatically been bound over as an adult just because he was 17 at the time, and that trying him as an adult was “cruel and unusual punishment.”
Advertisement
Geauga County Prosecutor James Flaiz said a mandatory juvenile bindover in aggravated homicide cases is constitutional.
In a 3-0 opinion, 11th District Judge Cynthia Westcott Rice agreed with Flaiz, noting that Geagua County Common Pleas Judge David L. Fuhry took Lane’s age, level of maturity and home environment into consideration.
“The court noted he was 17 and one-half years old at the time of his crimes,” Rice stated. “He was an intelligent student planning to graduate early and to attend college. He considered himself to be mature for his age. He suffered no mental or cognitive impairment. He was not insane, incompetent, or impaired at any relevant time. … The court noted that appellant knew what he did was wrong. This is why he hid his weapons in his book bag; fled from the school after the shooting; and acknowledged his wrongdoing soon after he was apprehended.
“… The court noted that he had a tumultuous upbringing, both as an infant and as an adolescent. His parents lost custody of him when he was three years old because they did not properly take care for him. However, since that time, (Lane’s) maternal grandparents have provided a home for him; have raised him; and have been loving and caring guardians. The court noted that (Lane) sought to better himself by holding various jobs and transferring to Lake Academy, which allowed him to work while going to school.”
Rice added that Lane had no accomplice and planned and executed the scheme all by himself.
In addition, the judge noted Lane stole a handgun, two magazines and bullets from his uncle the day before the shootings.
“He intentionally dressed the part by wearing a shirt with the word ‘Killer’ labeled across the chest,” Rice wrote. “Further, appellant was relentless in his shooting. He ambushed eight unsuspecting students who were talking with each other and did nothing to provoke him.”
Rice added that Lane never stated his motive for the rampage, telling police he didn’t know why he shot people.
“… While appellant’s motive was unclear, it appeared he wanted to make a name for himself and to make front page news,” Rice wrote. “Thus, it was no coincidence that on the day of the shootings, (Lane) boldly and brazenly wore a shirt that displayed across his chest the word ‘Killer.’”
The judicial panel called Lane an “extremely dangerous” person who showed no remorse for the victims or their families.
The judges also rejected Lane’s argument that his defense team was ineffective.
|
{
"pile_set_name": "Pile-CC"
}
|
Cooperatives Working Together (CWT) has accepted 17 requests for export assistance from Dairy Farmers of America, Northwest Dairy Association (Darigold), Tillamook County Creamery Association and United Dairymen of Arizona. These cooperatives have contracts to sell 2.361million pounds (1,071 metric tons) of Cheddar and Monterey Jack cheese, and 220,462 pounds (100 metric tons) of butter to customers in Africa, Asia, the Middle East and North Africa. The product has been contracted for delivery in the period from March through June 2018.
CWT-assisted member cooperative 2018 export sales total 25.234 million pounds of American-type cheeses, and 4.896 million pounds of butter (82% milkfat) to 18 countries on four continents. These sales are the equivalent of 343.081 million pounds of milk on a milkfat basis. Totals adjusted for cancellations.
Assisting CWT members through the Export Assistance program in the long term helps member cooperatives gain and maintain market share, thus expanding the demand for U.S. dairy products and the U.S. farm milk that produces them. This, in turn, positively affects all U.S. dairy farmers by strengthening and maintaining the value of dairy products that directly impact their milk price.
The amounts of dairy products and related milk volumes reflect current contracts for delivery, not completed export volumes. CWT will pay export assistance to the bidders only when export and delivery of the product is verified by the submission of the required documentation.
The Cooperatives Working Together (CWT) Export Assistance program is funded by voluntary contributions from dairy cooperatives and individual dairy farmers. The money raised by their investment is being used to strengthen and stabilize the dairy farmers’ milk prices and margins. For more information about CWT, visit www.cwt.coop.
|
{
"pile_set_name": "Pile-CC"
}
|
Southern California -- this just in
Much of Northern California spared disastrous flooding
December 2, 2012 | 2:10
pm
The last in a series of punishing storms swept through Northern California on Sunday, leaving downed power lines, cracked tree limbs and buckets of rain — but not, it appeared, the disastrous flooding that authorities had feared.
Since Wednesday, a string of storms has been moving through the region, with each passing over a unusual band of tropical moisture hovering above the Pacific Ocean. That was the root of the concern -- officials feared that the warmed storms would leave a torrent of rain rather than snow, and flooding was feared along at least seven area rivers.
"If this was a more typical cool event, a lot of that would have been snow and wouldn't have run off into the rivers," said Eric Kurth, a National Weather Service meteorologist in Sacramento.
The rains came -- nine inches east of Sacramento; a foot in Paradise, near Chico.
"We're seeing some of the most intense rain we've seen," Kurth said.
Some rivers, such as the Napa, had begun topping their banks. About 100,000 homes and businesses had lost power, powerful winds knocked over a truck on the Richmond-San Rafael Bridge, and Bay Area Rapid Transit train service was disrupted briefly after a power outage. And the threat was not over; the Russian River in Sonoma County could overflow its banks on Monday, officials said.
But in several communities, calamity was narrowly avoided.
Authorities had warned, for instance, that flooding could be most severe along the Truckee River north of Lake Tahoe. According to the Truckee Police Department, the river reaches its flood point near the city of Truckee at 4 1/2 feet; authorities had predicted that a rain storm could swell the river to 7 1/2 feet.
Then, just in time, the temperature dropped to the freezing point, and officials were heartened to see wet snow, not rain. Rather than snow levels remaining at 10,000 feet of elevation, as predicted, hillsides as low as 7,000 feet were being blanketed with snow.
Vic Ferrera, the Nevada County emergency services manager, said that although there was standing water in some parking lots, the threat of significant flooding had subsided by Sunday afternoon. Evacuation centers had been established but were empty so far.
"We're basically on the back end of it now," Ferrera said. "It looks like the Truckee River is not a threat."
In the city of Napa, too, authorities had distributed more than 8,000 sandbags and braced for the worst. But the latest storm moved through quicker than had been predicted, and officials said in a recorded message to residents that flooding of the Napa River would be restricted to rural and agricultural areas. Riverside parks and the city's Promenade were closed as a precaution.
Flood warnings were also canceled in Santa Cruz and Santa Clara counties.
|
{
"pile_set_name": "Pile-CC"
}
|
Q:
Python is not saving .pyc files in filesystem
I have a python application running in an embedded Linux system. I have realized that the python interpreter is not saving the compiled .pyc files in the filesystem for the imported modules by default.
How can I enable the interpreter to save it ? File system permission are right.
A:
There are a number of places where this enabled-by-default behavior could be turned off.
PYTHONDONTWRITEBYTECODE could be set in the environment
sys.dont_write_bytecode could be set through an out-of-band mechanism (ie. site-local initialization files, or a patched interpreter build).
File permissions could fail to permit it. This need not be obvious! Anything from filesystem mount flags to SELinux tags could have this result. I'd suggest using strace or a similar tool (as available for your platform) to determine whether any attempts to create these files exist.
On an embedded system, it makes much more sense to make this an explicit step rather than runtime behavior: This ensures that performance is consistent (rather than having some runs take longer than others to execute). Use py_compile or compileall to explicitly run ahead-of-time.
|
{
"pile_set_name": "StackExchange"
}
|
92 S.E.2d 351 (1950)
198 Va. 108
SOUTHSIDE COOPERATIVE MILK PRODUCERS ASSOCIATION, Incorporated, and Willie B. Irby,
v.
STATE MILK COMMISSION and Birtcherd Dairy, Incorporated.
BIRTCHERD DAIRY, Incorporated,
v.
STATE MILK COMMISSION.
Supreme Court of Appeals of Virginia.
April 23, 1956.
W. M. Gravatt, Jr., Blackstone (Joseph Wysor Smith and Hazlegrove, Shackelford & Carr, Roanoke, on the brief), for Southside Cooperative Milk Producers Ass'n, Inc., and another.
Thomas M. Miller, Asst. Atty. Gen. (J. Lindsay Almond, Jr., Atty. Gen., on the brief), for State Milk Commission.
T. L. Sawyer, Norfolk (J. S. Lawrence and Savage & Lawrence, Norfolk, on the brief), for Birtcherd Dairy, Inc.
Before EGGLESTON, SPRATLEY, BUCHANAN, SMITH and WHITTLE, JJ.
SPRATLEY, Justice.
These appeals arise from orders of the State Milk Commission determining a controversy between the appellants, Southside Cooperative Milk Producers Association, Incorporated, and Willie B. Irby on the one hand, and Birtcherd Dairy, Incorporated, on the other. Since the issues raised by each of the appellants arise out of the same proceedings, are contained in one record, and involve related questions, the appeals will be considered together.
The sole question for our determination is whether the language of the Act creating the State Milk Commission and conferring upon the Milk Commission the right to supervise and control the milk industry authorized it to enter the orders hereinafter referred to. That Act was first enacted in 1934, Chapter 357, Acts of 1934. With subsequent amendments it has been codified as Title 3, Chapter 17, Code of Virginia, 1950, sections 3-341 to 3-383, inclusive.
The considerations which impelled the General Assembly to adopt the Act are found in its preamble on pages 558 and 559, Acts of 1934. "There it is made plain that the legislature was concerned with `the prosperity and health of the people of the Commonwealth of Virginia'. Clearly, this preamble, as well as the Act itself, has economic implications, i. e., the stabilization of the milk industry so as to enable the *352 producers (dairymen) to secure a fair price for their milk. But the passage of the Act was also prompted by a desire to provide a `constant supply of pure wholesome milk to the inhabitants' of Virginia. Thus the dairy business was `declared a business affecting the public peace, health and welfare', to be regulated as provided in the Act. These recitals set the framework for the legislation." Pet Dairy Products Co. v. State Milk Commission, 195 Va. 396, 399, 400, 78 S.E.2d 645, 647.
See also Reynolds v. Milk Commission, 163 Va. 957, 179 S.E. 507.
Southside Cooperative Milk Producers Association, Incorporated, will be hereinafter sometimes referred to as Producers Association; Willie B. Irby as Irby; State Milk Commission as Commission; and Birtcherd Dairy, Incorporated, as Birtcherd.
Producers Association is a producers cooperative milk marketing association. Its members, including Irby, sometimes hereinafter referred to as Amelia Producers, live, and have their dairy farms principally, in the Counties of Amelia, Powhatan, Prince Edward, Charlotte, Mecklenburg, and Lunenburg, within the Norfolk-Portsmouth production area. Birtcherd is one of the largest milk distributors in the State. Its principal plant for processing milk is located in the City of Norfolk, Virginia, and it has a large receiving station in Amelia County.
In 1944, it was found that the local producers immediately adjacent to the Norfolk-Portsmouth sales area were unable to supply a sufficient volume of grade "A" milk to meet the demands of the Norfolk-Portsmouth market. After a survey of numerous areas in Virginia for territory in which a new milk supply could be developed without interference with the supply of other distributors in the Norfolk-Portsmouth production area, the Counties of Amelia, Powhatan, Prince Edward, Charlotte, Mecklenburg, and Lunenburg were included in that production area, agreeably to the desires of both the producers and distributors involved. About one-half of the new producers in the counties named, who established their bases on the Norfolk-Portsmouth market, became members of the Producers Association. The volume of milk produced by the new producers increased rapidly, and the problem of transporting it in cans to the distributing plant in Norfolk became more and more difficult.
In 1944, the milk of the producers in the above counties was delivered to Birtcherd at a receiving station which it maintained at Chase City, in Mecklenburg County. This station was closed in 1947, and a new receiving station was erected by Birtcherd in Amelia at a cost, including equipment, in excess of $225,000. Birtcherd picked up the milk in cans from the farms of the producers and hauled it to its Amelia receiving station, and by agreement with the producers charged 35¢ per cwt. for the transportation. Birtcherd thence hauled the milk to Norfolk in tank trucks without making any further charge at first. Later in 1949, it imposed a charge of 30¢ per cwt. for transporting its milk from the Amelia station to its Norfolk plant and a little later increased the charge to 65¢ per cwt. The charge in each instance was deducted from the price of the milk fixed by the Commission.
When the hauling charge to Norfolk was increased to 65¢ per cwt., the producers appealed to the Commission. After a hearing before the Milk Commission, it fixed that charge at 35¢ per cwt. Subsequently, this was increased to 50¢ per cwt. As an efficient means for collecting the transportation and hauling charges, the Commission directed that the price to be paid for milk received at Birtcherd's Amelia receiving station should be 50¢ less per cwt. than the price for that delivered at Norfolk.
For example, by its Norfolk-Portsmouth Market Order No. 2, effective January 1, 1954, the Commission fixed the price of $6.32 per cwt. for Grade "A", Class 1 Milk received by Birtcherd at its Amelia receiving station, and at $6.82 per cwt. for the same grade and class of milk received at its Norfolk plant.
*353 It appears that the dairy industry has developed the "cold wall" tank method of handling milk in the producer's barn and hauling it to the distributor's plant. By this method the milk is reduced in temperature and pumped into a refrigerated tank truck, resulting in obtaining a higher quality of milk than by the old method of placing the milk in a ten-gallon can, placing the can in the cooler, and transporting it in an unrefrigerated truck to the platform of a receiving station.
In the summer of 1954, about 15 of the Amelia producers, who had adopted the "cold wall" tank method, advised Birtcherd that they intended to deliver their milk to Norfolk. Birtcherd immediately objected and wrote a letter to the members of the Producers Association, advising them that it would refuse to accept milk delivered to Norfolk; and would accept the same only at its Amelia station.
In September, 1954, Birtcherd filed a petition with the Commission praying that all producers operating in Amelia, Mecklenburg, Lunenburg, Prince Edward, Nottaway, Powhatan, and Charlotte Counties, hereinbefore referred to as Amelia Producers, with bases on the Norfolk-Portsmouth market, and whose production had been, or might be thereafter assigned to it, be directed to make delivery to it at its Amelia station.
On November 23, 1954, the Commission denied the request of Birtcherd. In its opinion, the Commission said that the question of whether or not Birtcherd was obligated to receive the production at Norfolk or at Amelia was not before it; but "that, if such a question should arise, it would consider it to be a matter for the courts to determine and not the Commission."
On November 26, 1954, Birtcherd advised its producers in the Amelia area, by letter, of the decision of the Commission, and further said to them that: "In order that all of the producers may be advised of our position before making any expenditure or other commitment for tank hauling, we are writing to advise that the Company will not receive the Amelia milk from the producers at its Norfolk plant or handle it in any manner other than that in which it is now being handled."
On March 19, 1955, Irby and certain other members of Producers Association, who had adopted the "cold wall" tank method, undertook to make a delivery in bulk to Birtcherd in Norfolk; but Birtcherd refused acceptance. Thereupon Producers Association and Irby filed, in the Circuit Court of the City of Richmond, a suit against Birtcherd and the Commission seeking to have Birtcherd enjoined and restrained from refusing to accept delivery of their milk at Norfolk. A preliminary injunction was granted, which expired on March 25, 1955, and an extension was refused.
On March 24, 1955, the same complainants filed a petition with the Commission containing the same complaint, and a request for an order directing Birtcherd to receive their milk at its Norfolk plant.
The Commission immediately began a hearing on the petition. Considerable evidence was heard. The Commission reviewed the evidence in the proceedings held in September, 1954, and heard extended argument.
The principal questions were whether the Commission had the authority to assign certain producers to the Amelia receiving station and others to the distributing plant of Birtcherd at Norfolk, and to fix a differential in price for the same grade of milk by means of a hauling charge based on the respective places of delivery; and whether Birtcherd had the right to elect to which of its plants the production of its Amelia producers should be delivered. Matters and facts before the Commission covered all phases of the question, the advantages and disadvantages to the respective parties, and the interests of the public.
It was shown that a number of producers, whose farms bordered on the Norfolk-Portsmouth sales area, delivered their milk to Birtcherd at its Norfolk plant and received the full Norfolk price in payment.
*354 As we have stated, the Amelia Producers, who had adopted the "cold wall" tank method, started to haul their milk in tank cars to the Norfolk plant. The hauling was done by a private contract-carrier. By this method such producers avoided the charge of 35¢ per cwt. for hauling milk from their farms to the Amelia station, thus receiving a price of 85¢ more per cwt. than for milk delivered at the Amelia station and thence transferred to Norfolk. Out of this, of course, they had to pay the hauling charges to the contract-carrier at an estimated 49.9¢ per cwt. It was pointed out in the evidence and argument that the saving did not, in fact, amount to 35¢ per cwt., in view of the cost of the facilities and equipment to employ the "cold wall" tank method. Birtcherd pointed out that delivery to its Amelia station permitted it to weigh, cool, and promptly reship to Norfolk the same day; that it was thereby enabled to inspect each can of milk and, when necessary, to reject any can or cans on account of odors, taste, or other impurities, before it was comingled with other milk; that thereby the standards of purity and quality of the separate producers were maintained, and the co-mingled whole not subject to rejection on account of a small percentage of impure milk; that it was also better enabled to comply with sanitary requirements, and by reason of control of the time of delivery to its plant in Norfolk could depend upon prompt distribution to its customers; and that if it had no control over the manner of time of delivery to its processing plant in Norfolk, it would be severely handicapped in the normal operation of its plant and the distribution of its milk. Birtcherd further pointed out that unless milk was delivered to its receiving station and hauled by it to Norfolk it had no supervision over the cooling of the milk, the time of its delivery, or the conditions under which it was transported; that the method of delivery suggested by it restricts the possible amount of loss to be sustained by the producers, and objection from its customers; and that in the event of a reduced volume of milk being delivered at its Amelia receiving station, it would be impractical to operate that station, and that its closing would result in a large loss to it.
Moreover, it was shown that the Amelia station is about 150 miles from Norfolk and draws its supply of raw milk within a radius of nearly 50 miles; that a large number of the smaller producers in the area are located on secondary roads, remote from the station, and, in the absence of a hauling contract with Birtcherd, would have difficulty in deliverying their milk to any station; and if the Amelia station should be closed, the small producers would be faced with the necessity of providing additional facilities on their farms for cooling of milk at a probable cost of several thousand dollars, together with additional expenses for assembling their milk at some point where the services of a tank truck would be available. It was noted that the charge of a contract hauler for transporting milk to Norfolk would not be subject to regulation by the Commission; whereas, the hauling charge allowed Birtcherd is subject to such regulation.
It was shown that Birtcherd receives from producers during certain seasons of the year large quantities of surplus milk. Its Norfolk plant is equipped to utilize the surplus for manufacturing purposes; whereas the Amelia station is not.
At the conclusion of the hearing, and in consideration of all the facts and matters pertaining to the controversy, the Commission, by a majority vote, directed that the 15 producers then delivering direct to Norfolk be assigned to the Norfolk plant of Birtcherd; and Birtcherd be required to receive their production there; and that the production of the remaining 120 producers be assigned to the Amelia receiving station of Birtcherd; and that Birtcherd be required to receive their production at Amelia. The order named each of the producers involved and directed that they deliver their production to the places of delivery specified. From this order appellants appealed directly to this Court. Code, § 3-369.
*355 On April 6, 1955, the Secretary of the Commission addressed and forwarded to counsel for Producers Association a copy of the Commission's decision of March 25, 1955, in which the following statement was made:
"I failed, at that time, to state to you that it was also the Commission's decision that should any of those producers who were assigned to deliver to the Amelia receiving station desire to deliver direct to Norfolk by tank trucks then they should make application to the Chairman of the Norfolk-Portsmouth Local Milk Board for their assignment to the Norfolk plant rather than the Amelia plant."
Pertinent to the questions before us here are the following Code sections:
Sec. 3-346: "`Market' means any city, town or village of the State, or two or more cities or towns or villages and surrounding territory designated by the Commission as a natural marketing area."
Section 3-352: "The Commission is declared to be an instrumentality of the Commonwealth, vested with the power:
******
"(c) Supervision and control.To supervise, regulate, and control the production, transportation, processing, storage, distribution, delivery and sale of milk for consumption within the State."
Section 3-359. "Fixing prices.The Commission, after public hearing and investigation, may fix the prices to be paid producers or associations of producers by distributors in any market or markets, may fix the minimum and maximum wholesale and retail prices to be charged for milk in any market, and may also fix different prices for different grades of milk. In determining the reasonableness of prices to be paid or charged in any market or markets for any grade, quantity, or class of milk, the Commission shall be guided by the cost of production and distribution, including compliance with all sanitary regulations in force in such market or markets, necessary operation, processing, storage and delivery charges, the prices of other foods, and the welfare of the general public."
Section 3-362. "Defining areas and milksheds.The Commission may define what shall constitute a natural market area and define and fix the limits of the milkshed or territorial area within which milk shall be produced to supply any such market area; provided, that producers, producer-distributors, or their successors now shipping milk to any market may continue so to do until they voluntarily discontinue shipping to the designated milk market."
The Milk Commission by its regulation of June 16, 1952, defined the Norfolk-Portsmouth Milk Market and milkshed as follows:
"`Norfolk-Portsmouth Sales Area' means the territory included within the counties of Princess Anne and Norfolk, and the cities and towns situated therein, including the cities of Norfolk, Portsmouth and South Norfolk.
"`Norfolk-Portsmouth Production Area' means that territory in which is located those producers supplying the market who have been approved by the `Health Authorities' having jurisdiction in the market area."
By regulation of the Milk Commission, the word "base" is defined as meaning "the established quantity of milk and/or cream set up for each producer on an equitable basis with all other producers for apportioning fluid milk and fluid cream sales among the producers."
Regulation No. 5, Section G, for the Norfolk-Portsmouth Milk Market, provides that "Producers are not required to deliver regularly to their distributors milk produced by them in excess of their established base allotments. No producer shall have a base in more than one market." * * *
Section J of Regulation 5 provides that "A producer having a base on the market, approved by the Commission, shall have the right to continue to ship all of his milk and/or cream to the distributor at whose plant such base is established. The milk delivered by such producer shall not be rejected *356 by the distributor so long as the milk and/or cream is delivered regularly, is merchantable, and meets all requirements of the Local and State Health Laws and Regulations.
"No producer having a base, established in the market, and assigned to a distributing plant by the Commission, can transfer his base and deliveries to another distributing plant, without having first obtained the written approval of the Local Milk Board. The decision of the Local Board in all such transfers shall be subject to an appeal to the State Milk Commission."
Producers Association and Irby contend that since the Amelia receiving station is not located in any market area established by the Commission, and as none of their milk is sold to consumers at Amelia, the assignment of their production to that station is without authority and arbitrary.
A market area is an area over which the Commission exercises its supervisory powers in controlling the sale and distribution of milk for consumption, whereas a production area or milkshed is the territory within which milk may be produced to supply a given market area. It is not necessary for a producer's dairy farm to be located in the market area which he services with his milk. The Act creating the Milk Commission does not designate the place where a producer shall deliver his milk, or provide a method of selecting such place. That is left to be determined by the Commission, governed by just and reasonable principles of equity and sound economics.
There is no relation between the location of a dairy farm and the location of a market area, other than the health and economic factors involved, and the demands for a milk supply in a designated market area. The prices which producers receive for their milk are governed by the price established for the market to which they have been assigned. In this instance, the regulations of the Commission, No. 5(J), required the producers to deliver their production to Birtcherd, at whose plant their base had been assigned, for distribution and consumption in the Norfolk-Portsmouth market area. The Commission has not assigned the bases of the producers to Amelia or to any other non-market area; but merely designated the place for delivery of their milk.
The Act does not contain a specific provision or system to be followed by the Commission in controlling and supervising the milk industry. The present system is established by means of rules, regulations and orders promulgated by the Commission for the several milk markets, under the provisions of Code, § 3-352(g).
The Commission, under Code, § 3-352(c), has supervisory authority over all the facets of the industry, including transportation and delivery. Under that authority, it clearly has the right to designate the place where producers must make delivery and distributors accept such delivery. In the absence of unreasonable, arbitrary, or foolish regulations, courts may not declare its regulations and orders invalid. The authority to require delivery by producers at a designated place would be a futile power, in the absence of authority to require distributors to accept and pay for milk which has been assigned to them for delivery at a designated place.
In Reynolds v. Milk Commission, supra, we declared the Act creating the Commission and conferring upon it certain powers constitutional, even to the extent of fixing prices, and took occasion to point out somewhat in detail the object, purposes, and administration of the Act.
It has been uniform practice in the milk industry for producers to bear the cost of transporting their milk from the farm to the distributors. This was recognized in the earlier arrangements between the producers in this case and Birtcherd, both as to transportation to the Amelia station, and reshipment thence to Norfolk. The cost of transportation between points naturally varies according to the distances involved.
In 1953, when the Commission allowed a charge of 35¢ per cwt. for transporting milk from the farms to the Amelia receiving station and 50¢ per cwt. for handling and *357 transportation of that milk to Norfolk, it said in its opinion, in part, as follows:
"It was admitted by the producers that a reasonable handling and/or transportation charge could properly be made and this can be effected by the setting up of a platform price in Amelia for an amount less than the present Norfolk-Portsmouth base price to cover the necessary handling and transportation cost from Amelia to Norfolk."
In their contention that the Commission has fixed a different price for the same grade of milk delivered at Amelia station and delivered at Norfolk, the producers rely upon Lucerne Cream & Butter Co. v. Milk Commission, 182 Va. 490, 29 S.E.2d 397, and Safeway Stores v. Milk Commission, 197 Va. 69, 87 S.E.2d 769. These cases, however, are not in point here. They did not involve the consideration of prices paid by distributors to producers. They considered only prices to be charged for milk sold by distributors to their customers.
Code, § 3-359 provides that "The Commission, after public hearing and investigation, may fix the prices to be paid producers or associations of producers by distributors in any market or markets," and then provides for the fixing of "minimum and maximum wholesale and retail prices to be charged for milk in any market," etc. There is no provision for fixing of maximum and minimum prices to be paid producers. In fixing prices to be paid distributors by the customers there are certain facts and circumstances that are wholly irrelevant and unnecessary in the fixing of prices to be paid to producers. Factors and circumstances in connection with wholesale and retail prices are not present or involved in the latter instance.
Some of the producers whose bases are assigned to Birtcherd are located in Norfolk County and Princess Anne County, immediately adjacent to the Norfolk-Portsmouth sales area; while the Amelia producers are distant 125 to 150 miles from Norfolk. It would be difficult, if not impossible, to arrive at an average cost applicable to producers who do not operate under similar conditions. Situations throughout the different areas vary according to soil, vegetation, costs of labor and distance from market. Had the legislature intended to provide for the fixing of minimum and maximum prices to be paid producers, it would have specifically provided therefor. The prices fixed to be paid the producers in this case do not constitute a real differential in the price of milk. The difference is in the net amount received by the several producers arising out of the variance in transportation costs. The producers who have been directed to make delivery at Norfolk will escape the hauling charge of 35¢ per cwt. from their farms to Amelia; but they will be required to expend approximately 50¢ per cwt. to transport their milk from their farms to Norfolk, in addition to the expense required because of the cost of the more modern equipment, in order to make such direct shipment, plus the expense of the maintenance of same.
The evidence further showed that during the first eight months of 1954, after paying the handling and transportation charges complained of, the Amelia Producers received 41¢ per cwt. more for their milk than producers supplying the Richmond market, and 42¢ per cwt. more than received by producers supplying the Washington market.
In view of the very broad powers conferred upon the Commission to make, adopt, and enforce all rules, regulations, or orders necessary to carry out the provisions of the Act, § 3-352 (g), we do not think that the designation of places for delivery of milk to the distributor, and the regulation of hauling allowances to distributors for transporting such milk to their processing plants are beyond the authority of the Commission.
We find nothing in the evidence to justify the contention that the Commission has been unreasonable, arbitrary or discriminatory in designating certain producers to make delivery at Norfolk and others at Amelia, nor do we find that the effect of setting different prices based on the cost of hauling is in violation of the Act under consideration. We cannot say that the Commission, in an *358 overall view of all the facts and circumstances involved, including a consideration of the interests of the industry and the public, exceeded its authority or abused its discretion in entering the orders complained of.
What we have said answers the contention of Birtcherd that the Commission erred in refusing to order all of the production of the Amelia producers to be delivered to it at its Amelia receiving station, and in denying it the right to elect to which of its plants such production should be delivered. In its brief, it concedes the constitutionality of the Act; but vigorously attacks the wisdom of its enactment and the method of its enforcement. It specifically challenges the rules, regulations and orders of the Commission hereinbefore considered. It says that the Commission, in compelling the producers to sell and the distributors to buy, exercises a drastic and confiscatory power which exceeds the limits of the police power. The attack upon the regulations is similar to that which has been made in numerous instances against the Act itself. Notwithstanding those attacks, and despite frequent appeals to the General Assembly of Virginia, the administrative policy of the Commission has been established and adhered to over a period of years, and there has been no amendment or alteration of the statute.
Birtcherd further argues that there is an irreconcilable conflict between Regulations 5, G and 5, J of the Norfolk-Portsmouth Market, which respectively require the producer to sell his milk to a specified distributor and require that distributor to receive such milk, on the one hand, and Regulation No. 1, which provides minimum prices to be paid to such producers on the other hand. The conflict is said to exist because any price may be charged under Regulation No. 1, which is not lower than the minimum prescribed, and, therefore, milk prices may be the subject of bargaining between the producer and the distributor. It contends that this is an exercise of a confiscatory power. It should be noted that these cases do not involve a demand by the producer for a price in excess of a minimum price.
We construe the regulation fixing the minimum price as a definite and specific price for milk supplied by the producer to the distributor, and it has been so construed and accepted by the Commission and the industry. The right of the parties to bargain between themselves for a price is denied by the powers granted to the Commission in the exercise of the police power of the State.
For the purpose of carrying out the provisions of the Act, the Commission, under Code, § 3-360, requires all distributors in any market designated by the Commission, to be licensed by it. When a distributor applies for a license, he agrees to conform to the provisions of the Act and the rules and regulations of the Commission. Granted a license he is at liberty to surrender it; but if he desires to operate as a distributor, he must conform to the provisions of the Act and the rules, regulations and orders of the Commission promulgated thereunder.
To sustain the contentions of the appellants would strike at the very heart and purpose of the legislation. The Commission could no longer exercise the powers and duties conferred upon it.
We find no merit in any assignment of error in the two appeals, and for the reasons stated, the orders appealed from are affirmed.
Affirmed.
|
{
"pile_set_name": "FreeLaw"
}
|
Epic Mickey: Power of Illusion
Epic Mickey: Power of Illusion is a side-scrolling platform game developed by DreamRift and published by Disney Interactive Studios for the Nintendo 3DS in 2012. It is part of the Epic Mickey series, released alongside Epic Mickey 2: The Power of Two, and is touted as a tribute to Sega's Illusion series of Mickey Mouse games, particularly Castle of Illusion Starring Mickey Mouse.
Gameplay
With players taking control of Mickey Mouse, the game mixes side-scrolling gameplay from games such as Castle of Illusion with the paint and thinner mechanics from Epic Mickey. Using the 3DS touch-screen, the player will be able to bring items scattered throughout each stage into existence. How well the player traces these items will affect their performance. For example, tracing a cannon perfectly will ensure that it only harms enemies, but an imperfect cannon could be a danger to everyone in the area, including Mickey himself.
Plot
Some time after the first two games, Mickey is contacted once more by Oswald; he says that a strange castle has appeared in Wasteland and that he saw Minnie trapped inside. Mickey sneaks into Yen Sid's study and takes the magic brush once more before jumping into the portal to Wasteland in his television. However, Minnie arrives shortly afterwards, looking for Mickey.
Meeting up with Oswald, Mickey examines the castle, remembering it as the Castle of Illusion ruled by the evil witch Mizrabel. They end up trapped inside, deciding to split up. Mickey meets Jiminy Cricket, who acts as his guide through the castle. Mickey comes face to face with Mizrabel, who now looks like Maleficent, taunting him to try saving the characters she trapped. Mickey reaches a safe haven, which Jiminy calls the Fortress. Oswald arrives and explains that Mizrabel is draining the paint of popular characters, hoping to use their accumulated Heart Power to escape Wasteland. Mickey sets out to save the characters; however, Mizrabel impedes his path with her ghoulish army. When enough Heart Power is accumulated from rescuing characters, it breaks the witch's illusions, revealing new areas of the castle.
Mickey fights his way through the east hall, which Mizrabel's illusionary magic has made look like London and Neverland. He comes across a copy of the Jolly Roger, where Captain Hook confronts him. Having been put under a spell by Mizrabel, Hook thinks Mickey is an enemy working for Peter Pan. However, Mickey defeats him and breaks the trance, sending Hook to the Fortress with the promise of not harming the other characters.
After Mickey's fight through the west hall, which looked like Agrabah and the Cave of Wonders, he arrives in a replica of the Sultan's room. Inside, Jafar has captured Jasmine and awaits Mickey. Jafar says that Mizrabel has made him the most powerful sorcerer in the world, and that she warned him that Mickey would arrive. Jafar turns into a giant cobra to attack, but is swiftly defeated. Jafar then realises that Mizrabel lied to him and agrees to go to Fortress to await being returned home.
Mickey fights his way through the southern hall, which looks like Atlantica and the shore by Prince Eric's castle, ending up in Mizrabel's chambers. The room is a replica of the Forbidden Mountain, Maleficent's home. Mizrabel turns into Dragon Maleficent to fight Mickey. However, he defeats her and frees Minnie, forcing Mizrabel to escape. In the core of the Fortress, Mickey and Oswald send everyone back home, imparting advice to both the heroes and the villains. When Mickey returns home, he tries telling Minnie about his adventure, but finds that she knows about them as a dream since her paint was in the Castle of Illusion as well.
Development
On March 20, 2012, rumors began to circulate about a new game in the Epic Mickey series titled Epic Mickey: Power of Illusion coming to the Nintendo 3DS, after a member of the official French Nintendo magazine leaked the game's title onto Twitter. On March 23, 2012, it was confirmed by Nintendo Power that Epic Mickey: Power of Illusion was in development for the Nintendo 3DS. Each stage in Power of Illusion will be based on a different Disney animated feature, including Peter Pan, Beauty & the Beast and Tangled. The Power of Illusion will use hand-drawn sprites and scrolling parallax backgrounds, according to developer Warren Spector.
On the Epic Mickey Facebook page, fans were asked to vote for their preferred cover art for the game. One features Mickey Mouse surrounded by several Disney villains like Jafar, Ursula, Captain Hook and The Queen of Hearts; the other only features Mickey Mouse while the villains are absent. After a vote, the first cover (featuring the villains) was chosen as the final cover for the game.
Release
Epic Mickey: Power of Illusion was released alongside Epic Mickey 2: The Power of Two on November 18, 2012. The game is one of the first third-party retail titles outside Japan to be available as a Nintendo eShop downloadable, and the first to be available digitally simultaneously as the retail version. In Japan, the game was named . The Japanese version was published by Spike Chunsoft alongside its home console companion.
Reception
Epic Mickey: Power of Illusion received mixed reviews, holding a Metacritic score of 63 based on 40 reviews. GameTrailers gave the game a score of 7/10, praising some unique ideas and presentation, but criticising slow gameplay mechanics and copious amounts of backtracking. IGN also gave it a 7/10. Destructoid gave it a 6/10, stating "The building blocks of the ultimate Mickey Mouse game are here, but we'll have to wait yet another day to see that vision become reality." Eurogamer gave a highly critical review, saying that "Power of Illusion is unlikely to entertain fans of the Mega Drive game beyond the initial buzz of nostalgia, and kids of today won't fancy trekking all the way back through the Neverland jungle to find Wendy's needle when they could be watching the Power Rangers kick space robots to death." However, GameSpot gave a positive review, stating that Power of Illusion is "Mickey's best adventure in years", awarding the game an 8/10.
References
Category:Crossover video games
Category:2012 video games
Category:Disney video games
Category:Fantasy video games
Category:Mickey Mouse video games
Category:Nintendo 3DS eShop games
Category:Nintendo 3DS-only games
Category:Video games featuring parallel universes
Category:Platform games
Category:Post-apocalyptic video games
Category:Side-scrolling video games
Category:Steampunk video games
Category:Video game sequels
Category:Video games developed in the United States
Category:Video games featuring anthropomorphic characters
Category:Video games featuring female antagonists
Category:Video games set in amusement parks
Category:Epic Mickey
|
{
"pile_set_name": "Wikipedia (en)"
}
|
Plain radiographic surveillance of abdominal aortic stent-grafts: the Liverpool/Perth protocol.
To present a protocol for plain radiographic surveillance of abdominal aortic stent-grafts that addresses the main variables in need of standardization: (1) patient position, (2) radiographic centering point, and (3) focus-to-film distance. Our policy is to perform baseline anteroposterior and lateral films following endoluminal grafting and repeat the studies annually. These are the most important films to assess migration and component separation; supplementary right and left posterior oblique radiographs may help identify wireform fractures. It is best to perform radiography before computed tomography if both tests are scheduled for the same day, as excretion of intravenous contrast opacifies the renal collecting systems and interferes with radiographic analysis. Evaluation of the radiographs depends on the design of the stent-graft, so it is important to understand graft construction and the position of the radiopaque markers to best assess changes on follow-up films.
|
{
"pile_set_name": "PubMed Abstracts"
}
|
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
namespace Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Runtime.PowerShell
{
using System.Management.Automation;
using System.Management.Automation.Host;
using System.Threading;
using System.Linq;
internal interface IAsyncCommandRuntimeExtensions
{
Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Runtime.SendAsyncStep Wrap(Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Runtime.SendAsyncStep func);
System.Collections.Generic.IEnumerable<Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Runtime.SendAsyncStep> Wrap(System.Collections.Generic.IEnumerable<Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Runtime.SendAsyncStep> funcs);
T ExecuteSync<T>(System.Func<T> step);
}
public class AsyncCommandRuntime : System.Management.Automation.ICommandRuntime2, IAsyncCommandRuntimeExtensions, System.IDisposable
{
private ICommandRuntime2 originalCommandRuntime;
private System.Threading.Thread originalThread;
public bool AllowInteractive { get; set; } = false;
public CancellationToken cancellationToken;
SemaphoreSlim semaphore = new SemaphoreSlim(1, 1);
ManualResetEventSlim readyToRun = new ManualResetEventSlim(false);
ManualResetEventSlim completed = new ManualResetEventSlim(false);
System.Action runOnMainThread;
private System.Management.Automation.PSCmdlet cmdlet;
internal AsyncCommandRuntime(System.Management.Automation.PSCmdlet cmdlet, CancellationToken cancellationToken)
{
this.originalCommandRuntime = cmdlet.CommandRuntime as ICommandRuntime2;
this.originalThread = System.Threading.Thread.CurrentThread;
this.cancellationToken = cancellationToken;
this.cmdlet = cmdlet;
cmdlet.CommandRuntime = this;
}
public PSHost Host => this.originalCommandRuntime.Host;
public PSTransactionContext CurrentPSTransaction => this.originalCommandRuntime.CurrentPSTransaction;
private void CheckForInteractive()
{
// This is an interactive call -- if we are not on the original thread, this will only work if this was done at ACR creation time;
if (!AllowInteractive)
{
throw new System.Exception("AsyncCommandRuntime is not configured for interactive calls");
}
}
private void WaitOurTurn()
{
// wait for our turn to play
semaphore?.Wait(cancellationToken);
// ensure that completed is not set
completed.Reset();
}
private void WaitForCompletion()
{
// wait for the result (or cancellation!)
WaitHandle.WaitAny(new[] { cancellationToken.WaitHandle, completed?.WaitHandle });
// let go of the semaphore
semaphore?.Release();
}
public bool ShouldContinue(string query, string caption, bool hasSecurityImpact, ref bool yesToAll, ref bool noToAll)
{
// if we are on the original thread, just call straight thru.
if (this.originalThread == System.Threading.Thread.CurrentThread)
{
return originalCommandRuntime.ShouldContinue(query, caption, hasSecurityImpact, ref yesToAll, ref noToAll);
}
CheckForInteractive();
// otherwise, queue up the request and wait for the main thread to do the right thing.
try
{
// wait for our turn to talk to the main thread
WaitOurTurn();
bool yta = yesToAll;
bool nta = noToAll;
bool result = false;
// set the function to run
runOnMainThread = () => result = originalCommandRuntime.ShouldContinue(query, caption, hasSecurityImpact, ref yta, ref nta);
// tell the main thread to go ahead
readyToRun.Set();
// wait for the result (or cancellation!)
WaitForCompletion();
// set the output variables
yesToAll = yta;
noToAll = nta;
return result;
}
catch (System.OperationCanceledException exception)
{
// maybe don't even worry?
throw exception;
}
}
public bool ShouldContinue(string query, string caption)
{
// if we are on the original thread, just call straight thru.
if (this.originalThread == System.Threading.Thread.CurrentThread)
{
return originalCommandRuntime.ShouldContinue(query, caption);
}
CheckForInteractive();
// otherwise, queue up the request and wait for the main thread to do the right thing.
try
{
// wait for our turn to talk to the main thread
WaitOurTurn();
bool result = false;
// set the function to run
runOnMainThread = () => result = originalCommandRuntime.ShouldContinue(query, caption);
// tell the main thread to go ahead
readyToRun.Set();
// wait for the result (or cancellation!)
WaitForCompletion();
// set the output variables
return result;
}
catch (System.OperationCanceledException exception)
{
// maybe don't even worry?
throw exception;
}
}
public bool ShouldContinue(string query, string caption, ref bool yesToAll, ref bool noToAll)
{
// if we are on the original thread, just call straight thru.
if (this.originalThread == System.Threading.Thread.CurrentThread)
{
return originalCommandRuntime.ShouldContinue(query, caption, ref yesToAll, ref noToAll);
}
CheckForInteractive();
// otherwise, queue up the request and wait for the main thread to do the right thing.
try
{
// wait for our turn to talk to the main thread
WaitOurTurn();
bool yta = yesToAll;
bool nta = noToAll;
bool result = false;
// set the function to run
runOnMainThread = () => result = originalCommandRuntime.ShouldContinue(query, caption, ref yta, ref nta);
// tell the main thread to go ahead
readyToRun.Set();
// wait for the result (or cancellation!)
WaitForCompletion();
// set the output variables
yesToAll = yta;
noToAll = nta;
return result;
}
catch (System.OperationCanceledException exception)
{
// maybe don't even worry?
throw exception;
}
}
public bool ShouldProcess(string target)
{
// if we are on the original thread, just call straight thru.
if (this.originalThread == System.Threading.Thread.CurrentThread)
{
return originalCommandRuntime.ShouldProcess(target);
}
CheckForInteractive();
// otherwise, queue up the request and wait for the main thread to do the right thing.
try
{
// wait for our turn to talk to the main thread
WaitOurTurn();
bool result = false;
// set the function to run
runOnMainThread = () => result = originalCommandRuntime.ShouldProcess(target);
// tell the main thread to go ahead
readyToRun.Set();
// wait for the result (or cancellation!)
WaitForCompletion();
// set the output variables
return result;
}
catch (System.OperationCanceledException exception)
{
// maybe don't even worry?
throw exception;
}
}
public bool ShouldProcess(string target, string action)
{
// if we are on the original thread, just call straight thru.
if (this.originalThread == System.Threading.Thread.CurrentThread)
{
return originalCommandRuntime.ShouldProcess(target, action);
}
CheckForInteractive();
// otherwise, queue up the request and wait for the main thread to do the right thing.
try
{
// wait for our turn to talk to the main thread
WaitOurTurn();
bool result = false;
// set the function to run
runOnMainThread = () => result = originalCommandRuntime.ShouldProcess(target, action);
// tell the main thread to go ahead
readyToRun.Set();
// wait for the result (or cancellation!)
WaitForCompletion();
// set the output variables
return result;
}
catch (System.OperationCanceledException exception)
{
// maybe don't even worry?
throw exception;
}
}
public bool ShouldProcess(string verboseDescription, string verboseWarning, string caption)
{
// if we are on the original thread, just call straight thru.
if (this.originalThread == System.Threading.Thread.CurrentThread)
{
return originalCommandRuntime.ShouldProcess(verboseDescription, verboseWarning, caption);
}
CheckForInteractive();
// otherwise, queue up the request and wait for the main thread to do the right thing.
try
{
// wait for our turn to talk to the main thread
WaitOurTurn();
bool result = false;
// set the function to run
runOnMainThread = () => result = originalCommandRuntime.ShouldProcess(verboseDescription, verboseWarning, caption);
// tell the main thread to go ahead
readyToRun.Set();
// wait for the result (or cancellation!)
WaitForCompletion();
// set the output variables
return result;
}
catch (System.OperationCanceledException exception)
{
// maybe don't even worry?
throw exception;
}
}
public bool ShouldProcess(string verboseDescription, string verboseWarning, string caption, out ShouldProcessReason shouldProcessReason)
{
// if we are on the original thread, just call straight thru.
if (this.originalThread == System.Threading.Thread.CurrentThread)
{
return originalCommandRuntime.ShouldProcess(verboseDescription, verboseWarning, caption, out shouldProcessReason);
}
CheckForInteractive();
// otherwise, queue up the request and wait for the main thread to do the right thing.
try
{
// wait for our turn to talk to the main thread
WaitOurTurn();
bool result = false;
ShouldProcessReason reason = ShouldProcessReason.None;
// set the function to run
runOnMainThread = () => result = originalCommandRuntime.ShouldProcess(verboseDescription, verboseWarning, caption, out reason);
// tell the main thread to go ahead
readyToRun.Set();
// wait for the result (or cancellation!)
WaitForCompletion();
// set the output variables
shouldProcessReason = reason;
return result;
}
catch (System.OperationCanceledException exception)
{
// maybe don't even worry?
throw exception;
}
}
public void ThrowTerminatingError(ErrorRecord errorRecord)
{
// if we are on the original thread, just call straight thru.
if (this.originalThread == System.Threading.Thread.CurrentThread)
{
originalCommandRuntime.ThrowTerminatingError(errorRecord);
return;
}
// otherwise, queue up the request and wait for the main thread to do the right thing.
try
{
// wait for our turn to talk to the main thread
WaitOurTurn();
// set the function to run
runOnMainThread = () => originalCommandRuntime.ThrowTerminatingError(errorRecord);
// tell the main thread to go ahead
readyToRun.Set();
// wait for the result (or cancellation!)
WaitForCompletion();
// return
return;
}
catch (System.OperationCanceledException exception)
{
// maybe don't even worry?
throw exception;
}
}
public bool TransactionAvailable()
{
// if we are on the original thread, just call straight thru.
if (this.originalThread == System.Threading.Thread.CurrentThread)
{
return originalCommandRuntime.TransactionAvailable();
}
// otherwise, queue up the request and wait for the main thread to do the right thing.
try
{
// wait for our turn to talk to the main thread
WaitOurTurn();
bool result = false;
// set the function to run
runOnMainThread = () => result = originalCommandRuntime.TransactionAvailable();
// tell the main thread to go ahead
readyToRun.Set();
// wait for the result (or cancellation!)
WaitForCompletion();
// set the output variables
return result;
}
catch (System.OperationCanceledException exception)
{
// maybe don't even worry?
throw exception;
}
}
public void WriteCommandDetail(string text)
{
// if we are on the original thread, just call straight thru.
if (this.originalThread == System.Threading.Thread.CurrentThread)
{
originalCommandRuntime.WriteCommandDetail(text);
return;
}
// otherwise, queue up the request and wait for the main thread to do the right thing.
try
{
// wait for our turn to talk to the main thread
WaitOurTurn();
// set the function to run
runOnMainThread = () => originalCommandRuntime.WriteCommandDetail(text);
// tell the main thread to go ahead
readyToRun.Set();
// wait for the result (or cancellation!)
WaitForCompletion();
// return
return;
}
catch (System.OperationCanceledException exception)
{
// maybe don't even worry?
throw exception;
}
}
public void WriteDebug(string text)
{
// if we are on the original thread, just call straight thru.
if (this.originalThread == System.Threading.Thread.CurrentThread)
{
originalCommandRuntime.WriteDebug(text);
return;
}
// otherwise, queue up the request and wait for the main thread to do the right thing.
try
{
// wait for our turn to talk to the main thread
WaitOurTurn();
// set the function to run
runOnMainThread = () => originalCommandRuntime.WriteDebug(text);
// tell the main thread to go ahead
readyToRun.Set();
// wait for the result (or cancellation!)
WaitForCompletion();
// return
return;
}
catch (System.OperationCanceledException exception)
{
// maybe don't even worry?
throw exception;
}
}
public void WriteError(ErrorRecord errorRecord)
{
// if we are on the original thread, just call straight thru.
if (this.originalThread == System.Threading.Thread.CurrentThread)
{
originalCommandRuntime.WriteError(errorRecord);
return;
}
// otherwise, queue up the request and wait for the main thread to do the right thing.
try
{
// wait for our turn to talk to the main thread
WaitOurTurn();
// set the function to run
runOnMainThread = () => originalCommandRuntime.WriteError(errorRecord);
// tell the main thread to go ahead
readyToRun.Set();
// wait for the result (or cancellation!)
WaitForCompletion();
// return
return;
}
catch (System.OperationCanceledException exception)
{
// maybe don't even worry?
throw exception;
}
}
public void WriteInformation(InformationRecord informationRecord)
{
// if we are on the original thread, just call straight thru.
if (this.originalThread == System.Threading.Thread.CurrentThread)
{
originalCommandRuntime.WriteInformation(informationRecord);
return;
}
// otherwise, queue up the request and wait for the main thread to do the right thing.
try
{
// wait for our turn to talk to the main thread
WaitOurTurn();
// set the function to run
runOnMainThread = () => originalCommandRuntime.WriteInformation(informationRecord);
// tell the main thread to go ahead
readyToRun.Set();
// wait for the result (or cancellation!)
WaitForCompletion();
// return
return;
}
catch (System.OperationCanceledException exception)
{
// maybe don't even worry?
throw exception;
}
}
public void WriteObject(object sendToPipeline)
{
// if we are on the original thread, just call straight thru.
if (this.originalThread == System.Threading.Thread.CurrentThread)
{
originalCommandRuntime.WriteObject(sendToPipeline);
return;
}
// otherwise, queue up the request and wait for the main thread to do the right thing.
try
{
// wait for our turn to talk to the main thread
WaitOurTurn();
// set the function to run
runOnMainThread = () => originalCommandRuntime.WriteObject(sendToPipeline);
// tell the main thread to go ahead
readyToRun.Set();
// wait for the result (or cancellation!)
WaitForCompletion();
// return
return;
}
catch (System.OperationCanceledException exception)
{
// maybe don't even worry?
throw exception;
}
}
public void WriteObject(object sendToPipeline, bool enumerateCollection)
{
// if we are on the original thread, just call straight thru.
if (this.originalThread == System.Threading.Thread.CurrentThread)
{
originalCommandRuntime.WriteObject(sendToPipeline, enumerateCollection);
return;
}
// otherwise, queue up the request and wait for the main thread to do the right thing.
try
{
// wait for our turn to talk to the main thread
WaitOurTurn();
// set the function to run
runOnMainThread = () => originalCommandRuntime.WriteObject(sendToPipeline, enumerateCollection);
// tell the main thread to go ahead
readyToRun.Set();
// wait for the result (or cancellation!)
WaitForCompletion();
// return
return;
}
catch (System.OperationCanceledException exception)
{
// maybe don't even worry?
throw exception;
}
}
public void WriteProgress(ProgressRecord progressRecord)
{
// if we are on the original thread, just call straight thru.
if (this.originalThread == System.Threading.Thread.CurrentThread)
{
originalCommandRuntime.WriteProgress(progressRecord);
return;
}
// otherwise, queue up the request and wait for the main thread to do the right thing.
try
{
// wait for our turn to talk to the main thread
WaitOurTurn();
// set the function to run
runOnMainThread = () => originalCommandRuntime.WriteProgress(progressRecord);
// tell the main thread to go ahead
readyToRun.Set();
// wait for the result (or cancellation!)
WaitForCompletion();
// return
return;
}
catch (System.OperationCanceledException exception)
{
// maybe don't even worry?
throw exception;
}
}
public void WriteProgress(long sourceId, ProgressRecord progressRecord)
{
// if we are on the original thread, just call straight thru.
if (this.originalThread == System.Threading.Thread.CurrentThread)
{
originalCommandRuntime.WriteProgress(sourceId, progressRecord);
return;
}
// otherwise, queue up the request and wait for the main thread to do the right thing.
try
{
// wait for our turn to talk to the main thread
WaitOurTurn();
// set the function to run
runOnMainThread = () => originalCommandRuntime.WriteProgress(sourceId, progressRecord);
// tell the main thread to go ahead
readyToRun.Set();
// wait for the result (or cancellation!)
WaitForCompletion();
// return
return;
}
catch (System.OperationCanceledException exception)
{
// maybe don't even worry?
throw exception;
}
}
public void WriteVerbose(string text)
{
// if we are on the original thread, just call straight thru.
if (this.originalThread == System.Threading.Thread.CurrentThread)
{
originalCommandRuntime.WriteVerbose(text);
return;
}
// otherwise, queue up the request and wait for the main thread to do the right thing.
try
{
// wait for our turn to talk to the main thread
WaitOurTurn();
// set the function to run
runOnMainThread = () => originalCommandRuntime.WriteVerbose(text);
// tell the main thread to go ahead
readyToRun.Set();
// wait for the result (or cancellation!)
WaitForCompletion();
// return
return;
}
catch (System.OperationCanceledException exception)
{
// maybe don't even worry?
throw exception;
}
}
public void WriteWarning(string text)
{
// if we are on the original thread, just call straight thru.
if (this.originalThread == System.Threading.Thread.CurrentThread)
{
originalCommandRuntime.WriteWarning(text);
return;
}
// otherwise, queue up the request and wait for the main thread to do the right thing.
try
{
// wait for our turn to talk to the main thread
WaitOurTurn();
// set the function to run
runOnMainThread = () => originalCommandRuntime.WriteWarning(text);
// tell the main thread to go ahead
readyToRun.Set();
// wait for the result (or cancellation!)
WaitForCompletion();
// return
return;
}
catch (System.OperationCanceledException exception)
{
// maybe don't even worry?
throw exception;
}
}
public void Wait(System.Threading.Tasks.Task ProcessRecordAsyncTask, System.Threading.CancellationToken cancellationToken)
{
do
{
WaitHandle.WaitAny(new[] { readyToRun.WaitHandle, ((System.IAsyncResult)ProcessRecordAsyncTask).AsyncWaitHandle });
if (readyToRun.IsSet)
{
// reset the request for the next time
readyToRun.Reset();
// run the delegate on this thread
runOnMainThread();
// tell the originator everything is complete
completed.Set();
}
}
while (!ProcessRecordAsyncTask.IsCompleted);
if (ProcessRecordAsyncTask.IsFaulted)
{
// don't unwrap a Aggregate Exception -- we'll lose the stack trace of the actual exception.
// if( ProcessRecordAsyncTask.Exception is System.AggregateException aggregate ) {
// throw aggregate.InnerException;
// }
throw ProcessRecordAsyncTask.Exception;
}
}
public Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Runtime.SendAsyncStep Wrap(Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Runtime.SendAsyncStep func) => func.Target.GetType().Name != "Closure" ? func : (p1, p2, p3) => ExecuteSync<System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>>(() => func(p1, p2, p3));
public System.Collections.Generic.IEnumerable<Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Runtime.SendAsyncStep> Wrap(System.Collections.Generic.IEnumerable<Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Runtime.SendAsyncStep> funcs) => funcs?.Select(Wrap);
public T ExecuteSync<T>(System.Func<T> step)
{
// if we are on the original thread, just call straight thru.
if (this.originalThread == System.Threading.Thread.CurrentThread)
{
return step();
}
T result = default(T);
try
{
// wait for our turn to talk to the main thread
WaitOurTurn();
// set the function to run
runOnMainThread = () => { result = step(); };
// tell the main thread to go ahead
readyToRun.Set();
// wait for the result (or cancellation!)
WaitForCompletion();
// return
return result;
}
catch (System.OperationCanceledException exception)
{
// maybe don't even worry?
throw exception;
}
}
public void Dispose()
{
if (cmdlet != null)
{
cmdlet.CommandRuntime = this.originalCommandRuntime;
cmdlet = null;
}
semaphore?.Dispose();
semaphore = null;
readyToRun?.Dispose();
readyToRun = null;
completed?.Dispose();
completed = null;
}
}
}
|
{
"pile_set_name": "Github"
}
|
Menu
consumer
If you don't synchronize your system clock with a time server, your clock will most likely miss the real time for one or two hours, even if you set your time zone and everything correctly. You can correct this easily
When you use Windows 8 on a desktop computer you better learn the most important keyboard shortcuts first, since you will have extreme long mouse-ways to cover (I will certainly not use my TV as computer screen anymore with Windows
Before Windows 8, language packs other than the one your Windows shipped with were reserved for users of the more expensive versions. This however will change in future as one can read on the msdn blog and see on the
The quick launch bar might have been the way most Windows XP users accessed all their data, be it folders they often needed or programs - everything could be put in there. This bar however was abandoned in further Windows
Apart from the traditional text string password, Windows 8 offers a new form of securing your user account which is by including touch and/or gestures into the procedure. Spoken directly, you are now able to select a picture where you
By default, if you try pinning folders to the taskbar on Windows 7 or the current version of Windows 8 the folder will be put into the context menu of the taskbar's explorer icon. To prevent this and stick a
Update, 06/04/2012: Start8 as well as ViStart are still working on Windows 8 Release Preview, build 8400. Probably one of the most annoying things Windows 8 has brought is the removal of the Start button in the bottom left corner
The context menu you gain by right-clicking the desktop is a powerful tool to open any kind of data and program. If you have a folder that you need to access regularly it might be a clever idea to simply
One of the more useful Aero features of Windows 7 was that you could just hover your mouse over the bottom right corner where the Peek rectangle was positioned and all the windows would become fully transparent so you had
In previous versions of Windows, it was always possible to troubleshoot problems by booting into Safe Mode by hammering on the F8 button on start-up - with Windows 8 CP, this process has become slightly more complicated. On first glance
|
{
"pile_set_name": "Pile-CC"
}
|
Q:
PHP watermark proportional resizing
:)
I'm actually working on an online photo book and to complete it, i need to create a watermarking script.
But it definitely doesn't works! I REALLY do not understand why.
I need to resize proportionally the watermark; I have made all the ratio calculations, everything seems clear, but nothing works, help me please!
Here is the code:
<?php
// Load the stamp and the photo to apply the watermark to
$stamp = imagecreatefrompng('stamp.png');
$im = imagecreatefromjpeg('531a1251532b0.jpg');
// get the height/width of the stamp image
$sx = imagesx($stamp);
$sy = imagesy($stamp);
$syimg = imagesy($im);
//percentage of the size(4%)
$percent = 4/$syimg;
$sx2 = $sx * $percent;
$sy2 = $sy * $percent;
$posx = (imagesx($im) / 2) - $sx2;
$posy = (imagesy($im) / 2) - $sy2;
//checking (everything is ok!)
//echo "per: ". $percent;
//echo "<br>\n sx: ". $sx2;
//echo "<br>\n posx: ". $posx;
//echo "<br>\n sy: ". $sy2;
//echo "<br>\n posy: ". $posy;
//echo "<br>\n syimg : ". $syimg;
//echo "<br>\n sximg : ". imagesx($im);
// Copy the stamp image onto the photo
// width to calculate positioning of the stamp.
imagecopy($im, $stamp, round($posx), round($posy), 0, 0, round($sx2), round($sy2));
// Output and free memory
header('Content-type: image/jpg');
imagepng($im);
imagedestroy($im);
?>
Thanks for the future replies!
A:
Thanks Ryan Vincent and simON for your help! :)
I've finally (After many hours and many headaches) found the solution, as you can see bellow, i find the mine more simple:
<?php
if(empty($_GET['i'])){
//displays a error image if GET['i'] is empty
$im = imagecreatefrompng("scr/m/e.png");
//keeps the transparency of the picture
imagealphablending( $im, false );
imagesavealpha( $im, true );
// Output and free memory
header('Content-Type: image/png');
imagepng($im);
imagedestroy($im);
}elseif(!file_exists('img/'.$_GET['i'])){
//displays an error image if the file doesn't exists in the img folder
$im = imagecreatefrompng("scr/m/e.png");
//keeps the transparency of the picture
imagealphablending( $im, false );
imagesavealpha( $im, true );
// Output and free memory
header('Content-Type: image/png');
imagepng($im);
imagedestroy($im);
}else{
// Load the stamp and the photo to apply the watermark to
$stamp = imagecreatefrompng('scr/m/w.png');
$get = $_GET['i'];
$im = imagecreatefromjpeg('img/'.$get);
// get the height/width of the stamp image
$sx = imagesx($stamp);
$sy = imagesy($stamp);
$sximg = imagesx($im);
//percentage of the size(5%)
$percent = $sximg * 0.15;
//positionnig the stamp to the center
$posx = round(imagesx($im) / 2) - round($percent / 2);
$posy = round(imagesy($im) / 2) - round($percent / 2);
//Create the final resized watermark stamp
$dest_image = imagecreatetruecolor($percent, $percent);
//keeps the transparency of the picture
imagealphablending( $dest_image, false );
imagesavealpha( $dest_image, true );
//resizes the stamp
imagecopyresampled($dest_image, $stamp, 0, 0, 0, 0, $percent, $percent, $sx, $sy);
// Copy the resized stamp image onto the photo
imagecopy($im, $dest_image, round($posx), round($posy), 0, 0, $percent, $percent);
// Output and free memory
header('Content-type: image/jpg');
imagepng($im);
imagedestroy($im);
}
?>
Thank you again for your replies. I hope my script will help everybody in the same situation that I was! :)
Good night (I'm french, it's the night :3 ) !
|
{
"pile_set_name": "StackExchange"
}
|
Polyethylene terephthalate (PET) is a widely used material for the manufacture of balloon-type medical devices where a "non-compliant" balloon is required. Unlike "compliant" balloons, which continue to expand as internal pressure in the balloon is increased, a "non-compliant" balloon will attain and maintain a substantially constant configuration regardless of the internal pressure. For an analogy in a non-medical field, the typical party balloon is an example of a compliant balloon which continues to expand as it is being blown up. In fact, such a balloon will generally continue expanding under increased pressure until it bursts. On the other hand, a hot air balloon can not be compliant. In order to be safe and effective for its intended use, a hot air balloon must generally maintain its predetermined configuration once it has been inflated. Therefore, it is properly considered as an example of a non-compliant balloon.
In the medical field, depending on the particular application or use, it may be preferable to use either a compliant balloon or a non-compliant balloon. It happens, however, that for some medical procedures and applications it may be preferable to use a balloon which is neither typically compliant nor typically non-compliant. Such a balloon is subsequently referred to herein as being a "semi-compliant" balloon.
A well known use in the medical device field for non-compliant inflatable balloons involves the performance of angioplasty procedures. When used for this purpose, the balloon is first positioned across a stenosis in an artery. It is then inflated under relatively great pressure to a final balloon configuration to dilate the artery. The object is to use the predictable final configuration of the non-compliant balloon to dilate the artery to only a known extent. This, of course, will also breakup the plaque which is causing the stenosis in the artery and, thereby allow for the subsequent flow of blood through the previously blocked artery. Importantly, the balloon can not assume an uncontrolled or unpredictable configuration when inflated. This is so because, if left unchecked, the balloon could cause unwanted damage to the arterial system. A balloon intended for such use is disclosed in U.S. Pat. No. Re. 33,561 Which issued to Levy for an invention entitled "Balloon and Manufacture Thereof".
Use of balloons for stent placement is typically done in situations where it is necessary that a stent act as a structural support for the arterial wall in order to prevent a restenosis or collapse of the artery. The placement of a stent in an artery, however, can be an extremely complicated procedure due to the fact that arteries typically do not have constant diameter lumens and, instead, typically have arteries whose diameters vary significantly over even short distances.
Not surprisingly, the placement of a stent in an artery requires skill and dexterity. Specifically, when placing a stent in an artery it is necessary to generate forces which can be applied to various parts of the stent over controllable and predictable distances to shape and conform the stent to the artery. This, of course, must all be done in situ. Thus, a truly non-compliant balloon which has a fixed inflated configuration would be inefficient because of its inability to vary in configuration during sizing and placement of a stent. On the other hand, a truly compliant balloon would also be inefficient due to its tendency to reconfigure itself into areas of least resistance and, thereby, not necessarily apply forces at the required locations on the stent.
In light of the above it is an object of the present invention to provide a method for manufacturing and using a semi-compliant PET balloon which will expand into predictable configurations that correspond to selectively controlled inflation pressures. It is another object of the present invention to provide a method for manufacturing and using a semi-compliant PET balloon which can be manipulated in an artery and inflated to position, configure and anchor a stent into the arterial wall to prevent collapse of the arterial wall. Still another object of the present invention is to provide a method for manufacturing and using a semi-compliant PET balloon which is simple to employ, and relatively cost effective.
|
{
"pile_set_name": "USPTO Backgrounds"
}
|
In operations in which materials are combusted and heat recovered from the flue gas stream from such combustion, heat-exchange surfaces, usually in the form of banks of tubes, are provided in the flow path of the flue gas. The heat exchange surfaces remove heat from the flue gas stream to a cooler fluid medium flowing through the tubes.
Such operations include combustion furnaces of varying types, including coal-fired boilers, oil-fired boilers and pulp mill recovery furnaces, and generally result in the presence of particulates in the flue gas stream. Some of such particles deposit on and adhere to the exposed tube surfaces. These deposits build up on the tube surfaces and decrease the efficiency of heat transfer from the flue gas stream to the heat-exchanger tubes.
From time-to-time, these deposits are removed by jets of high pressure steam or other suitable gas from a so-called sootblower. A sootblower generally consists of an elongate support rod or lance which reciprocates between the bank of tubes and has a spray head having two opposing convergent-divergent nozzles from which high speed steam jets emanate and are aimed at the heat transfer tubes.
In studying the operation of existing sootblower nozzles, we found that sonic conditions exist at the throat of the nozzle with supersonic flow at the exit and that, a normal shock wave (i.e. a shock wave normal to the direction of gas flow) forms a short distance from the nozzle exit. This shock wave causes a considerable reduction in the stagnation pressure of the steam jet. As a result, there is a substantial reduction of available energy for removal of the deposits on the tube bank.
|
{
"pile_set_name": "USPTO Backgrounds"
}
|
Q:
Что то не так с json вопрос на php
Почему этот код не декодируется в json делаю так:
$json = 'jsonp1776({"rateDetail":{"rateCount":{"total":14,"shop":0,"picNum":5,"used":1},"rateDanceInfo":{"storeType":4,"currentMilles":1540722083967,"showChooseTopic":false,"intervalMilles":24472088538},"rateList":[{"auctionPicUrl":"","userInfo":"","displayRatePic":"","dsr":0,"displayRateSum":0,"appendComment":null,"fromMemory":0,"picsSmall":[],"tmallSweetPic":"","rateDate":"2018-10-23 09:17:05","rateContent":"浠婂ぉ涔熸槸绌挎潵鍝ュ悓娆剧殑涓€澶 鍢诲樆 寮€蹇 閴村畾杩囨槸姝e搧鍟?,"fromMall":true,"userIdEncryption":"","sellerId":3329658704,"displayUserLink":"","id":1021711195318,"aliMallSeller":false,"reply":"","pics":["//img.alicdn.com/bao/uploaded/i1/O1CN0128PhI3WWMbIKcx0_!!0-rate.jpg","//img.alicdn.com/bao/uploaded/i4/O1CN0128PhI3mQz3Gh9DM_!!0-rate.jpg"],"buyCount":0,"userVipLevel":0,"auctionSku":"棰滆壊:榛勮壊;灏虹爜:S[缇庣増鍋忓ぇ]","anony":false,"displayUserNumId":0,"goldUser":false,"attributesMap":null,"tradeEndTime":{"date":14,"hours":19,"seconds":58,"month":9,"timezoneOffset":-480,"year":118,"minutes":8,"time":1539515338000,"day":0},"headExtraPic":"","aucNumId":0,"displayUserNick":"涓?**n","structuredRateList":[],"carServiceLocation":"","userVipPic":"","serviceRateContent":"","memberIcon":"","attributes":"","position":"","cmsSource":"澶╃尗","tamllSweetLevel":0,"gmtCreateTime":{"date":23,"hours":9,"seconds":5,"month":9,"timezoneOffset":-480,"year":118,"minutes":17,"time":1540257425000,"day":2},"useful":true,"displayUserRateLink":""},{"auctionPicUrl":"","userInfo":"","displayRatePic":"","dsr":0,"displayRateSum":0,"appendComment":null,"fromMemory":0,"picsSmall":[],"tmallSweetPic":"","rateDate":"2018-10-19 00:40:09","rateContent":"鍒板簳鏄編鐗?hellip;璐ㄩ噺涓嶆暍鎭淮馃槀鍛婅緸 173涔扮殑l oversize椋 琚栧瓙涔熷ぇ澶х殑 鍠滄馃挄","fromMall":true,"userIdEncryption":"","sellerId":3329658704,"displayUserLink":"","id":1021036217099,"aliMallSeller":false,"reply":"","pics":["//img.alicdn.com/bao/uploaded/i4/O1CN011IQHmHIY5Rh81tk_!!0-rate.jpg"],"buyCount":0,"userVipLevel":0,"auctionSku":"棰滆壊:鐧借壊;灏虹爜:L[缇庣増鍋忓ぇ]","anony":false,"displayUserNumId":0,"goldUser":false,"attributesMap":null,"tradeEndTime":{"date":19,"hours":0,"seconds":17,"month":9,"timezoneOffset":-480,"year":118,"minutes":37,"time":1539880637000,"day":5},"headExtraPic":"","aucNumId":0,"displayUserNick":"鏉?**i","structuredRateList":[],"carServiceLocation":"","userVipPic":"","serviceRateContent":"","memberIcon":"","attributes":"","position":"","cmsSource":"澶╃尗","tamllSweetLevel":0,"gmtCreateTime":{"date":19,"hours":0,"seconds":9,"month":9,"timezoneOffset":-480,"year":118,"minutes":40,"time":1539880809000,"day":5},"useful":true,"displayUserRateLink":""},{"auctionPicUrl":"","userInfo":"","displayRatePic":"","dsr":0,"displayRateSum":0,"appendComment":null,"fromMemory":0,"picsSmall":[],"tmallSweetPic":"","rateDate":"2018-10-14 12:02:06","rateContent":"缇庣編鍝 nice","fromMall":true,"userIdEncryption":"","sellerId":3329658704,"displayUserLink":"","id":1020457913554,"aliMallSeller":false,"reply":"","pics":["//img.alicdn.com/bao/uploaded/i3/O1CN012FLInTdIwS84gEx_!!0-rate.jpg"],"buyCount":0,"userVipLevel":0,"auctionSku":"棰滆壊:鐧借壊;灏虹爜:M[缇庣増鍋忓ぇ]","anony":false,"displayUserNumId":0,"goldUser":true,"attributesMap":null,"tradeEndTime":{"date":14,"hours":11,"seconds":38,"month":9,"timezoneOffset":-480,"year":118,"minutes":56,"time":1539489398000,"day":0},"headExtraPic":"","aucNumId":0,"displayUserNick":"y***3","structuredRateList":[],"carServiceLocation":"","userVipPic":"","serviceRateContent":"","memberIcon":"","attributes":"","position":"","cmsSource":"澶╃尗","tamllSweetLevel":0,"gmtCreateTime":{"date":14,"hours":12,"seconds":6,"month":9,"timezoneOffset":-480,"year":118,"minutes":2,"time":1539489726000,"day":0},"useful":true,"displayUserRateLink":""},{"auctionPicUrl":"","userInfo":"","displayRatePic":"","dsr":0,"displayRateSum":0,"appendComment":null,"fromMemory":0,"picsSmall":[],"tmallSweetPic":"","rateDate":"2018-10-19 13:22:45","rateContent":"寰堣垝鏈 nice 瀹㈡湇鍛 灏辨槸鏈夌偣鍌 浜鸿繕铔ソ鐨?,"fromMall":true,"userIdEncryption":"","sellerId":3329658704,"displayUserLink":"","id":1021011044589,"aliMallSeller":false,"reply":"","pics":[],"buyCount":0,"userVipLevel":0,"auctionSku":"棰滆壊:钘忛潚鑹丙灏虹爜:XL[缇庣増鍋忓ぇ]","anony":false,"displayUserNumId":0,"goldUser":false,"attributesMap":null,"tradeEndTime":{"date":19,"hours":13,"seconds":17,"month":9,"timezoneOffset":-480,"year":118,"minutes":22,"time":1539926537000,"day":5},"headExtraPic":"","aucNumId":0,"displayUserNick":"鑻?**5","structuredRateList":[],"carServiceLocation":"","userVipPic":"","serviceRateContent":"","memberIcon":"","attributes":"","position":"","cmsSource":"澶╃尗","tamllSweetLevel":0,"gmtCreateTime":{"date":19,"hours":13,"seconds":45,"month":9,"timezoneOffset":-480,"year":118,"minutes":22,"time":1539926565000,"day":5},"useful":true,"displayUserRateLink":""},{"auctionPicUrl":"","userInfo":"","displayRatePic":"","dsr":0,"displayRateSum":0,"appendComment":null,"fromMemory":0,"picsSmall":[],"tmallSweetPic":"","rateDate":"2018-10-17 21:44:56","rateContent":"鐮佹暟鍒氬垰濂斤紝娆惧紡鎸哄悎閫傜埍娼殑鎴戯紝澶枩娆簡","fromMall":true,"userIdEncryption":"","sellerId":3329658704,"displayUserLink":"","id":1020983138960,"aliMallSeller":false,"reply":"","pics":[],"buyCount":0,"userVipLevel":0,"auctionSku":"棰滆壊:鐧借壊;灏虹爜:M[缇庣増鍋忓ぇ]","anony":false,"displayUserNumId":0,"goldUser":false,"attributesMap":null,"tradeEndTime":{"date":17,"hours":21,"seconds":38,"month":9,"timezoneOffset":-480,"year":118,"minutes":43,"time":1539783818000,"day":3},"headExtraPic":"","aucNumId":0,"displayUserNick":"c***6","structuredRateList":[],"carServiceLocation":"","userVipPic":"","serviceRateContent":"","memberIcon":"","attributes":"","position":"","cmsSource":"澶╃尗","tamllSweetLevel":0,"gmtCreateTime":{"date":17,"hours":21,"seconds":56,"month":9,"timezoneOffset":-480,"year":118,"minutes":44,"time":1539783896000,"day":3},"useful":true,"displayUserRateLink":""},{"auctionPicUrl":"","userInfo":"","displayRatePic":"","dsr":0,"displayRateSum":0,"appendComment":null,"fromMemory":0,"picsSmall":[],"tmallSweetPic":"","rateDate":"2018-10-18 07:57:33","rateContent":"寰堝枩娆紝璐ㄩ噺涔熸尯濂界殑","fromMall":true,"userIdEncryption":"","sellerId":3329658704,"displayUserLink":"","id":1020923181934,"aliMallSeller":false,"reply":"","pics":[],"buyCount":0,"userVipLevel":0,"auctionSku":"棰滆壊:鐧借壊;灏虹爜:S[缇庣増鍋忓ぇ]","anony":false,"displayUserNumId":0,"goldUser":false,"attributesMap":null,"tradeEndTime":{"date":17,"hours":19,"seconds":4,"month":9,"timezoneOffset":-480,"year":118,"minutes":12,"time":1539774724000,"day":3},"headExtraPic":"","aucNumId":0,"displayUserNick":"t***4","structuredRateList":[],"carServiceLocation":"","userVipPic":"","serviceRateContent":"","memberIcon":"","attributes":"","position":"","cmsSource":"澶╃尗","tamllSweetLevel":0,"gmtCreateTime":{"date":18,"hours":7,"seconds":33,"month":9,"timezoneOffset":-480,"year":118,"minutes":57,"time":1539820653000,"day":4},"useful":true,"displayUserRateLink":""},{"auctionPicUrl":"","userInfo":"","displayRatePic":"","dsr":0,"displayRateSum":0,"appendComment":null,"fromMemory":0,"picsSmall":[],"tmallSweetPic":"","rateDate":"2018-10-13 12:18:53","rateContent":"璋㈣阿搴椾富铏惧摜缁欐垜浠嬬粛鐨勫瘜濠嗐€傛槰澶╁ス鍏崄澶у 杩橀€佹垜涓€杈嗛鐏€傝醇甯呯殑","fromMall":true,"userIdEncryption":"","sellerId":3329658704,"displayUserLink":"","id":1020339153220,"aliMallSeller":false,"reply":"","pics":[],"buyCount":0,"userVipLevel":0,"auctionSku":"棰滆壊:娴呯伆鑹丙灏虹爜:M[缇庣増鍋忓ぇ]","anony":false,"displayUserNumId":0,"goldUser":false,"attributesMap":null,"tradeEndTime":{"date":13,"hours":12,"seconds":40,"month":9,"timezoneOffset":-480,"year":118,"minutes":17,"time":1539404260000,"day":6},"headExtraPic":"","aucNumId":0,"displayUserNick":"d***4","structuredRateList":[],"carServiceLocation":"","userVipPic":"","serviceRateContent":"","memberIcon":"","attributes":"","position":"","cmsSource":"澶╃尗","tamllSweetLevel":0,"gmtCreateTime":{"date":13,"hours":12,"seconds":53,"month":9,"timezoneOffset":-480,"year":118,"minutes":18,"time":1539404333000,"day":6},"useful":true,"displayUserRateLink":""},{"auctionPicUrl":"","userInfo":"","displayRatePic":"","dsr":0,"displayRateSum":0,"appendComment":null,"fromMemory":0,"picsSmall":[],"tmallSweetPic":"","rateDate":"2018-09-14 14:59:22","rateContent":"璐ㄩ噺涓嶉敊寰堝枩娆紝闈㈡枡鎽歌捣鏉ヤ篃寰堣垝鏈嶏紝寰堜紤闂层€?,"fromMall":true,"userIdEncryption":"","sellerId":3329658704,"displayUserLink":"","id":1017059707738,"aliMallSeller":false,"reply":"","pics":[],"buyCount":0,"userVipLevel":0,"auctionSku":"棰滆壊:鐏拌壊;灏虹爜:M[缇庣増鍋忓ぇ]","anony":false,"displayUserNumId":0,"goldUser":false,"attributesMap":null,"tradeEndTime":{"date":12,"hours":1,"seconds":44,"month":8,"timezoneOffset":-480,"year":118,"minutes":52,"time":1536688364000,"day":3},"headExtraPic":"","aucNumId":0,"displayUserNick":"t***7","structuredRateList":[],"carServiceLocation":"","userVipPic":"","serviceRateContent":"","memberIcon":"","attributes":"","position":"","cmsSource":"澶╃尗","tamllSweetLevel":0,"gmtCreateTime":{"date":14,"hours":14,"seconds":22,"month":8,"timezoneOffset":-480,"year":118,"minutes":59,"time":1536908362000,"day":5},"useful":true,"displayUserRateLink":""},{"auctionPicUrl":"","userInfo":"","displayRatePic":"","dsr":0,"displayRateSum":0,"appendComment":null,"fromMemory":0,"picsSmall":[],"tmallSweetPic":"","rateDate":"2018-09-11 06:15:56","rateContent":"杩欑椋庢牸鐨勮。鏈嶏紝缁х画鏉ヤ竴浠躲€傛懜璧锋潵寰堣垝鏈嶏紝涓嶉敊锛?,"fromMall":true,"userIdEncryption":"","sellerId":3329658704,"displayUserLink":"","id":1016479648579,"aliMallSeller":false,"reply":"","pics":[],"buyCount":0,"userVipLevel":0,"auctionSku":"棰滆壊:娣辩伆鑹丙灏虹爜:M[缇庣増鍋忓ぇ]","anony":false,"displayUserNumId":0,"goldUser":false,"attributesMap":null,"tradeEndTime":{"date":5,"hours":12,"seconds":29,"month":8,"timezoneOffset":-480,"year":118,"minutes":38,"time":1536122309000,"day":3},"headExtraPic":"","aucNumId":0,"displayUserNick":"椋?**鏉?,"structuredRateList":[],"carServiceLocation":"","userVipPic":"","serviceRateContent":"","memberIcon":"","attributes":"","position":"","cmsSource":"澶╃尗","tamllSweetLevel":0,"gmtCreateTime":{"date":11,"hours":6,"seconds":56,"month":8,"timezoneOffset":-480,"year":118,"minutes":15,"time":1536617756000,"day":2},"useful":true,"displayUserRateLink":""},{"auctionPicUrl":"","userInfo":"","displayRatePic":"","dsr":0,"displayRateSum":0,"appendComment":null,"fromMemory":0,"picsSmall":[],"tmallSweetPic":"","rateDate":"2018-09-15 21:03:32","rateContent":"寰堝ソ鐪嬶紝涔熷疄绌匡紒","fromMall":true,"userIdEncryption":"","sellerId":3329658704,"displayUserLink":"","id":1017171014959,"aliMallSeller":false,"reply":"","pics":[],"buyCount":0,"userVipLevel":0,"auctionSku":"棰滆壊:榛戣壊;灏虹爜:S[缇庣増鍋忓ぇ]","anony":false,"displayUserNumId":0,"goldUser":false,"attributesMap":null,"tradeEndTime":{"date":7,"hours":7,"seconds":40,"month":8,"timezoneOffset":-480,"year":118,"minutes":50,"time":1536277840000,"day":5},"headExtraPic":"","aucNumId":0,"displayUserNick":"灏?**濮?,"structuredRateList":[],"carServiceLocation":"","userVipPic":"","serviceRateContent":"","memberIcon":"","attributes":"","position":"","cmsSource":"澶╃尗","tamllSweetLevel":0,"gmtCreateTime":{"date":15,"hours":21,"seconds":32,"month":8,"timezoneOffset":-480,"year":118,"minutes":3,"time":1537016612000,"day":6},"useful":true,"displayUserRateLink":""},{"auctionPicUrl":"","userInfo":"","displayRatePic":"","dsr":0,"displayRateSum":0,"appendComment":null,"fromMemory":0,"picsSmall":[],"tmallSweetPic":"","rateDate":"2018-10-23 19:47:50","rateContent":"璐ㄩ噺闈炲父濂斤紝涓庡崠瀹舵弿杩扮殑瀹屽叏涓€鑷达紝闈炲父婊℃剰,鐪熺殑寰堝枩娆紝瀹屽叏瓒呭嚭鏈熸湜鍊硷紝鍙戣揣閫熷害闈炲父蹇紝鍖呰闈炲父浠旂粏銆佷弗瀹烇紝鐗╂祦鍏徃鏈嶅姟鎬佸害寰堝ソ锛岃繍閫侀€熷害寰堝揩锛屽緢婊℃剰鐨勪竴娆¤喘鐗╄川閲忓緢濂斤紝甯屾湜鏇村鐨勬湅鍙嬩俊璧栵紟搴椾富鎬佸害鐗瑰ソ锛屾垜浼氬啀娆″厜椤剧殑锛庡彲涓嶅彲浠ュ啀渚垮疁鐐癸紟鎴戝甫鏈嬪弸鏉ヤ綘瀹朵拱銆備笉濂芥剰鎬濊瘎浠锋櫄浜嗭紝闈炲父濂界殑搴楀锛屼笢瑗垮緢娆紒涔版潵杩欎釜鏄€佷汉鐨勫ス寰堝枩娆㈠崠瀹剁殑璐村績璁╂垜鎰熷埌寰堟俯鏆栥€傚緢鐑儏鐨勫崠瀹讹紝涓嬫杩樻潵甯屾湜涓嬫杩樻湁鏈轰細鍚堜綔绁濅綘鐢熸剰鍏撮殕璐ㄩ噺闈炲父濂界湡鍑轰箮鎴戠殑鎰忔枡鍖呰闈炲父浠旂粏闈炲父鎰熻阿銆傜鐢熸剰鍏撮殕锛侊紒","fromMall":true,"userIdEncryption":"","sellerId":3329658704,"displayUserLink":"","id":1021728982469,"aliMallSeller":false,"reply":"","pics":[],"buyCount":0,"userVipLevel":0,"auctionSku":"棰滆壊:钘忛潚鑹丙灏虹爜:S[缇庣増鍋忓ぇ]","anony":false,"displayUserNumId":0,"goldUser":false,"attributesMap":null,"tradeEndTime":{"date":23,"hours":19,"seconds":7,"month":9,"timezoneOffset":-480,"year":118,"minutes":47,"time":1540295227000,"day":2},"headExtraPic":"","aucNumId":0,"displayUserNick":"瀵?**涓?,"structuredRateList":[],"carServiceLocation":"","userVipPic":"","serviceRateContent":"","memberIcon":"","attributes":"","position":"","cmsSource":"澶╃尗","tamllSweetLevel":0,"gmtCreateTime":{"date":23,"hours":19,"seconds":50,"month":9,"timezoneOffset":-480,"year":118,"minutes":47,"time":1540295270000,"day":2},"useful":true,"displayUserRateLink":""},{"auctionPicUrl":"","userInfo":"","displayRatePic":"","dsr":0,"displayRateSum":0,"appendComment":{"commentId":0,"days":1,"reply":"","commentTime":"2018-10-18 19:42:45","pics":["//img.alicdn.com/bao/uploaded/i1/O1CN0120Dm3Aa6K2U9XBi_!!0-rate.jpg","//img.alicdn.com/bao/uploaded/i3/O1CN0120Dm3H7e2fcHkVQ_!!0-rate.jpg"],"content":"琛f湇濂界湅 瀹㈡湇鎺ㄨ崘鐨勭爜鏁颁篃寰堝噯 寮€蹇?},"fromMemory":0,"picsSmall":[],"tmallSweetPic":"","rateDate":"2018-10-18 15:06:30","rateContent":"琛f湇鎸哄ソ鐨?,"fromMall":true,"userIdEncryption":"","sellerId":3329658704,"displayUserLink":"","id":1020974929870,"aliMallSeller":false,"reply":"","pics":[],"buyCount":0,"userVipLevel":0,"auctionSku":"棰滆壊:鐧借壊;灏虹爜:M[缇庣増鍋忓ぇ]","anony":false,"displayUserNumId":0,"goldUser":true,"attributesMap":null,"tradeEndTime":{"date":17,"hours":19,"seconds":44,"month":9,"timezoneOffset":-480,"year":118,"minutes":15,"time":1539774944000,"day":3},"headExtraPic":"","aucNumId":0,"displayUserNick":"鑿?**濠?,"structuredRateList":[],"carServiceLocation":"","userVipPic":"","serviceRateContent":"","memberIcon":"","attributes":"","position":"","cmsSource":"澶╃尗","tamllSweetLevel":0,"gmtCreateTime":{"date":18,"hours":15,"seconds":30,"month":9,"timezoneOffset":-480,"year":118,"minutes":6,"time":1539846390000,"day":4},"useful":true,"displayUserRateLink":""},{"auctionPicUrl":"","userInfo":"","displayRatePic":"","dsr":0,"displayRateSum":0,"appendComment":null,"fromMemory":0,"picsSmall":[],"tmallSweetPic":"","rateDate":"2018-09-05 13:28:55","rateContent":"灏辨槸鍐茬潃璐ㄩ噺鏉ョ殑","fromMall":true,"userIdEncryption":"","sellerId":3329658704,"displayUserLink":"","id":1015882409765,"aliMallSeller":false,"reply":"","pics":[],"buyCount":0,"userVipLevel":0,"auctionSku":"棰滆壊:鐧借壊;灏虹爜:S[缇庣増鍋忓ぇ]","anony":false,"displayUserNumId":0,"goldUser":false,"attributesMap":null,"tradeEndTime":{"date":5,"hours":13,"seconds":28,"month":8,"timezoneOffset":-480,"year":118,"minutes":28,"time":1536125308000,"day":3},"headExtraPic":"","aucNumId":0,"displayUserNick":"娴?**1","structuredRateList":[],"carServiceLocation":"","userVipPic":"","serviceRateContent":"","memberIcon":"","attributes":"","position":"","cmsSource":"澶╃尗","tamllSweetLevel":0,"gmtCreateTime":{"date":5,"hours":13,"seconds":55,"month":8,"timezoneOffset":-480,"year":118,"minutes":28,"time":1536125335000,"day":3},"useful":true,"displayUserRateLink":""},{"auctionPicUrl":"","userInfo":"","displayRatePic":"","dsr":0,"displayRateSum":0,"appendComment":null,"fromMemory":0,"picsSmall":[],"tmallSweetPic":"","rateDate":"2018-10-23 11:05:55","rateContent":"榛勮壊瀹炵墿杩樻槸寰堝ソ鐪嬬殑 搴椾富浜轰篃涓嶉敊","fromMall":true,"userIdEncryption":"","sellerId":3329658704,"displayUserLink":"","id":1021657538950,"aliMallSeller":false,"reply":"","pics":["//img.alicdn.com/bao/uploaded/i2/O1CN0120tS5wWgHwLpCUR_!!0-rate.jpg"],"buyCount":0,"userVipLevel":0,"auctionSku":"棰滆壊:榛勮壊;灏虹爜:S[缇庣増鍋忓ぇ]","anony":false,"displayUserNumId":0,"goldUser":true,"attributesMap":null,"tradeEndTime":{"date":23,"hours":11,"seconds":24,"month":9,"timezoneOffset":-480,"year":118,"minutes":5,"time":1540263924000,"day":2},"headExtraPic":"","aucNumId":0,"displayUserNick":"y***1","structuredRateList":[],"carServiceLocation":"","userVipPic":"","serviceRateContent":"","memberIcon":"","attributes":"","position":"","cmsSource":"澶╃尗","tamllSweetLevel":0,"gmtCreateTime":{"date":23,"hours":11,"seconds":55,"month":9,"timezoneOffset":-480,"year":118,"minutes":5,"time":1540263955000,"day":2},"useful":true,"displayUserRateLink":""}],"searchinfo":"","from":"search","paginator":{"lastPage":1,"page":1,"items":14},"tags":[]}})';
$json = json_decode(substr($json,14,-1));
print_r($json);
A:
Ну, как вариант, исключительно для вашего случая с помощью str_replace (см. демо):
$string = str_replace(['?,"', '?}'], ['?","', '?"}'], substr($json, 10, -1));
print_r(json_decode($string, true));
Или с preg_replace (см. демо):
$string = preg_replace('/\?(?=(?:})?,\")/', '$1"', substr($json, 10, -1));
print_r(json_decode($string, true));
|
{
"pile_set_name": "StackExchange"
}
|
Effect of L-dopa methylester and glutathione depletion on murine B16BL6 melanoma growth in vitro.
The cytotoxic and growth-inhibitory effect of levodopa methylester (LDME) in murine B16BL6 (BL6) melanoma cells after glutathione (GSH) depletion was studied in vitro. Pretreatment of BL6 cells with 50 microM buthionine sulfoximine (BSO) depleted GSH content by nearly 90% and enhanced the growth-inhibitory effect of even a minimally cytotoxic concentration of LDME. Radiothymidine incorporation into BL6 cells significantly increased compared to untreated controls during the first 4 h of exposure to 0.2 mM LDME. However, pretreatment with BSO prevented this LDME-induced increase in radiothymidine incorporation. Because the percentage of cells in S-phase of the cell cycle was not altered, these results suggest that BSO exposure may be inhibiting unscheduled DNA synthesis, which could contribute to the cytotoxic effects of LDME. In addition, spectrophotometric studies indicated that in a cell-free system, GSH scavenged dopaquinone produced by the tyrosinase-mediated oxidation of LDME, presumably by formation of glutathionyldopa. Thus, enhancement of LDME cytotoxicity by BSO may also involve depleting the amount of GSH available for the nucleophilic addition to the quinone.
|
{
"pile_set_name": "PubMed Abstracts"
}
|
i couldn't get my wireless working on archpup. I then started tinkering around and copied the pacman files out of the sfs and into PreciseNOP. It appears to be working about 95% close to perfect.
I installed some of the hardest programs that i use, trying to break it, and successfully installed, using pacman all that i tried which is:
guake
clementine
xbmc
smplayer
geany
leafpad
galculator
pulseaudio
pavucontrol
terminator
(wonder if it'll successfully install compiz or xfce?)
I'm messing with yaourt now. Once again. thanks for opening a new door.
It's very important that someone test wireless connection using code in previous post,
found it on Arch wiki but can't check myself. It will not work in Archpup because I planned it for only personal
use and disabled some stuff in kernel config (wireless, bluetooth, some filesystems ... ). New version will have
kernel 3.6.8 and use default config from Puppy precise.
I had also installed blueman, chromium, and epiphany (using pacman in PreciseNOP) and they worked...but started complaining about 'org.blueman.Mechanism missing .service file' and other similar errors about org.* missing .service files.
I'm not following this super closely so my comments may just muddy the water instead of helping.
If your wireless card has an old Broadcom chip you may need to build and install the b43 package from the AUR, and install the package b43-fwcutter from the official repositories. You need both if this is the case.
In reading around the internet needing the old Broadcom chip packages sounds sort of rare, but I'm batting 3 for 3 in needing these packages on wireless cards I've tried to get running. I was going to attach the AUR package prebuilt, but it has a .xz extension and that apparently is not allowed.
The .service files are all systemd stuff. Don't know if any of it is critical or not.
A Basic Version again without forced question about making or not a save file, without ballast!
Thank you very much!
In case you will fat your puppy in the future, please, be so kind and preserve us this (eventually actualized) Basic Version in parallel!
I did not understand why you did include no application (is very well ! let it so, please ) but the big Geany (nano is there, it is enough to start!) and a different graphic file manager as we are accustomed to use in Puppy?
How to erase it with all his specific dependencies not used by other applications?
Good luck for your development activity!
Kind regards
PS: I would hope the moderator would transfer this thread to the section "Puppy project" as it is an important step to go back to a real puppy size and not continue to build "sumo puppies"
It would be a good thing to repeat all your main recommendations in short form at the end of the first message because the threads in Puppy have the terrible unpleasant many to reach terrible sizes. After that, newbies are not able any more to get compact information!
If you directly copy the code etc. of your answering message and copy it at this central place of the thread it is no supplementary effort for you at answering time instead a lot of unpleasant effort for all future users (or for you, if this forces you to write a special tutor to make your work better!)
BTW, I had to update the glibc from the Arch repo to work. Is ArchPup using a modified/overstripped glibc?_________________Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too
New version plus development add-on and kernel source are available
for download. See first post...
@mavrothal: When main sfs file is created folowing is moved to
package called arch-dev: /usr/include,/usr/share/aclocal,/usr/lib/pkgconfig,
/usr/lib/*.a,/usr/share/gir-1.0. Size of that package is arount 15MB.
I did remaster ArchPup1204 for me with Iceape 2.7.7, flashplayer, and a small version from Puppy Linux of OO 2.2 (as it is really enough for me) without Java. Including, of course, /root/.start with my keyboard map (us_intl which is VERY different from the same us_intl in the most other distributions including Puppy! a great among of special char seems not to be available at all; if it is the same with the most keyboard maps it would mean that all user will have great acustumation difficulties; perhaps it is only a matter of short name of keyboard maps?)
I have now to extend my menu with soffice scalc swriter and simpress.
But I was estonished don't to find mksquashfs to rebuild my arch-1204.sfs (size is now 260 MB according Thunar). Did you use an other tool to build the arch-1204.sfs (I did make it with an other Puppy with mksquashfs of /usr/sbin from the other Puppy, but it is really not the best solution)?
Kind regardsLast edited by oui on Thu 29 Nov 2012, 17:16; edited 2 times in total
Thank you very much. I is already remastered and works (I am using it now )!
Keyboard:
perhaps it is only a matter of short name of keyboard maps?
My own version:
I will include later in my own version a /root/.mozilla/seamonkey with a content with a few of my lovely url's, pseudonyms and passwords to work totaly without save file and for this reason without indiscret history etc., starting each day with minimal private date equipment for maximal discretion!
this is the reason why I would not like to be asked each day as in other puppy's if I will create a save file . I will no save file for maximal security: I save using thunar or the file managers included in the applications only the documents. No history, no dot-something-file, no cookies from the day before!!
You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum
|
{
"pile_set_name": "Pile-CC"
}
|
Q:
Reading data from a text file into a 2D array and getting out of bounds exception
I've been having trouble with reading data in from a text file to a 2D array. I am not too sure what the issue with the out of bounds exception is because I thought I initialized it correctly but I am not sure.
Here is my code.
String [][] f_team = new String [20][6]; //20 and 6
int cnt = 0;
int cnt2 = 0;
String line = "";
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
loadData();
}
public void loadData()
{
try {
BufferedReader br = new BufferedReader(new InputStreamReader(getAssets().open("team.txt")));
while(cnt<=20) {
line = br.readLine();
f_team[cnt][cnt2] = line;
cnt2 = cnt2 + 1;
if (cnt2 == 5) {
cnt = cnt + 1;
cnt2 = 0;
}
}
br.close();
} catch (IOException e) {
e.printStackTrace();
}
}
}
Here is my logcat for the error:
05-16 17:33:29.119 26312-26312/com.jmac.jmac.footy E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.jmac.jmac.footy, PID: 26312
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.jmac.jmac.footy/com.jmac.jmac.footy.Pitch}: java.lang.ArrayIndexOutOfBoundsException: length=20; index=20
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2693)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2758)
at android.app.ActivityThread.access$900(ActivityThread.java:177)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1448)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:5942)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)
Caused by: java.lang.ArrayIndexOutOfBoundsException: length=20; index=20
at com.jmac.jmac.footy.Pitch.loadData(Pitch.java:82)
at com.jmac.jmac.footy.Pitch.onCreate(Pitch.java:74)
at android.app.Activity.performCreate(Activity.java:6289)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2646)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2758)
at android.app.ActivityThread.access$900(ActivityThread.java:177)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1448)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:5942)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)
A:
If your array has size 20, you can only access index [0;19]
you are accessing index 20 in your while clause
while(cnt<=20)
you have to put:
while(cnt<20)
see https://docs.oracle.com/javase/tutorial/java/nutsandbolts/arrays.html
|
{
"pile_set_name": "StackExchange"
}
|
# FIXME: Add support for global settings.
# FIXME: Add support for custom getters/setters.
defaultTextEncodingName type=String
ftpDirectoryTemplatePath type=String
localStorageDatabasePath type=String
editableLinkBehavior type=EditableLinkBehavior, initial=EditableLinkDefaultBehavior
textDirectionSubmenuInclusionBehavior type=TextDirectionSubmenuInclusionBehavior, initial=TextDirectionSubmenuAutomaticallyIncluded
passwordEchoDurationInSeconds type=double, initial=1
# Sets the magnification value for validation message timer. If the
# magnification value is N, a validation message disappears automatically after
# <message length> * N / 1000 seconds. If N is equal to or less than 0, a
# validation message doesn't disappears automaticaly.
validationMessageTimerMagnification type=int, initial=50
# Number of pixels below which 2D canvas is rendered in software
# even if hardware acceleration is enabled.
# Hardware acceleration is useful for large canvases where it can avoid the
# pixel bandwidth between the CPU and GPU. But GPU acceleration comes at
# a price - extra back-buffer and texture copy. Small canvases are also
# widely used for stylized fonts. Anti-aliasing text in hardware at that
# scale is generally slower. So below a certain size it is better to
# draw canvas in software.
minimumAccelerated2dCanvasSize type=int, initial=257*256
layoutFallbackWidth type=int, initial=980
deviceWidth type=int, initial=0
deviceHeight type=int, initial=0
# Allow clients concerned with memory consumption to set a quota on session storage
# since the memory used won't be released until the Page is destroyed.
sessionStorageQuota type=unsigned, initial=StorageMap::noQuota
minimumFontSize type=int, initial=0, setNeedsStyleRecalcInAllFrames=1
minimumLogicalFontSize type=int, initial=0, setNeedsStyleRecalcInAllFrames=1
defaultFontSize type=int, initial=16, setNeedsStyleRecalcInAllFrames=1
defaultFixedFontSize type=int, initial=0, setNeedsStyleRecalcInAllFrames=1
editingBehaviorType type=EditingBehaviorType, initial=editingBehaviorTypeForPlatform()
maximumHTMLParserDOMTreeDepth type=unsigned, initial=defaultMaximumHTMLParserDOMTreeDepth
# This setting only affects site icon image loading if loadsImagesAutomatically setting is false and this setting is true.
# All other permutations still heed loadsImagesAutomatically setting.
loadsSiteIconsIgnoringImageLoadingSetting initial=false
caretBrowsingEnabled initial=false
preventKeyboardDOMEventDispatch initial=false
localStorageEnabled initial=false
allowUniversalAccessFromFileURLs initial=true
allowFileAccessFromFileURLs initial=true
javaScriptCanOpenWindowsAutomatically initial=false
javaScriptCanAccessClipboard initial=false
shouldPrintBackgrounds initial=false
usesDashboardBackwardCompatibilityMode initial=false, conditional=DASHBOARD_SUPPORT
textAreasAreResizable initial=false, setNeedsStyleRecalcInAllFrames=1
authorAndUserStylesEnabled initial=true, setNeedsStyleRecalcInAllFrames=1
acceleratedCompositingEnabled initial=true, setNeedsStyleRecalcInAllFrames=1
acceleratedCompositedAnimationsEnabled initial=true, setNeedsStyleRecalcInAllFrames=1
showDebugBorders initial=false, setNeedsStyleRecalcInAllFrames=1
showRepaintCounter initial=false, setNeedsStyleRecalcInAllFrames=1
visibleDebugOverlayRegions type=DebugOverlayRegions, initial=0
# This is a quirk we are pro-actively applying to old applications. It changes keyboard event dispatching,
# making keyIdentifier available on keypress events, making charCode available on keydown/keyup events,
# and getting keypress dispatched in more cases.
needsKeyboardEventDisambiguationQuirks initial=false
treatsAnyTextCSSLinkAsStylesheet initial=false
shrinksStandaloneImagesToFit initial=true
pageCacheSupportsPlugins initial=false
showsURLsInToolTips initial=false
showsToolTipOverTruncatedText initial=false
forceFTPDirectoryListings initial=false
developerExtrasEnabled initial=false
scriptMarkupEnabled initial=true
needsSiteSpecificQuirks initial=false
domTimersThrottlingEnabled initial=true
webArchiveDebugModeEnabled initial=false, conditional=WEB_ARCHIVE
localFileContentSniffingEnabled initial=false
offlineWebApplicationCacheEnabled initial=false
enforceCSSMIMETypeInNoQuirksMode initial=true
usesEncodingDetector initial=false
allowScriptsToCloseWindows initial=false
canvasUsesAcceleratedDrawing initial=false
acceleratedDrawingEnabled initial=false
displayListDrawingEnabled initial=false
acceleratedFiltersEnabled initial=false
useLegacyTextAlignPositionedElementBehavior initial=false
javaScriptRuntimeFlags type=JSC::RuntimeFlags
# PLATFORM(QT) only
offlineStorageDatabaseEnabled initial=true
# FIXME: This should really be disabled by default as it makes platforms that don't support the feature download files
# they can't use by. Leaving enabled for now to not change existing behavior.
downloadableBinaryFontsEnabled initial=true
xssAuditorEnabled initial=false
unsafePluginPastingEnabled initial=true
acceleratedCompositingForFixedPositionEnabled initial=defaultAcceleratedCompositingForFixedPositionEnabled
acceleratedCompositingForOverflowScrollEnabled initial=false
rubberBandingForSubScrollableRegionsEnabled initial=true, conditional=RUBBER_BANDING
experimentalNotificationsEnabled initial=false
webGLEnabled initial=false
webGLErrorsToConsoleEnabled initial=true
openGLMultisamplingEnabled initial=true
forceSoftwareWebGLRendering initial=false
accelerated2dCanvasEnabled initial=false
antialiased2dCanvasEnabled initial=true
loadDeferringEnabled initial=true
webAudioEnabled initial=false
paginateDuringLayoutEnabled initial=false
fullScreenEnabled initial=false, conditional=FULLSCREEN_API
asynchronousSpellCheckingEnabled initial=false
mediaStreamEnabled initial=false
# This feature requires an implementation of ValidationMessageClient.
interactiveFormValidationEnabled initial=false
usePreHTML5ParserQuirks initial=false
hyperlinkAuditingEnabled initial=false
crossOriginCheckInGetMatchedCSSRulesDisabled initial=false
forceCompositingMode initial=false
shouldInjectUserScriptsInInitialEmptyDocument initial=false
fixedElementsLayoutRelativeToFrame initial=false
allowDisplayOfInsecureContent initial=false
allowRunningOfInsecureContent initial=false
requiresUserGestureForMediaPlayback initial=defaultRequiresUserGestureForMediaPlayback
audioPlaybackRequiresUserGesture initial=defaultAudioPlaybackRequiresUserGesture
allowsInlineMediaPlayback initial=defaultAllowsInlineMediaPlayback
inlineMediaPlaybackRequiresPlaysInlineAttribute initial=defaultInlineMediaPlaybackRequiresPlaysInlineAttribute
allowsPictureInPictureMediaPlayback initial=defaultAllowsPictureInPictureMediaPlayback
mediaControlsScaleWithPageZoom initial=defaultMediaControlsScaleWithPageZoom
invisibleAutoplayNotPermitted initial=false
passwordEchoEnabled initial=false
suppressesIncrementalRendering initial=false
incrementalRenderingSuppressionTimeoutInSeconds type=double, initial=defaultIncrementalRenderingSuppressionTimeoutInSeconds
backspaceKeyNavigationEnabled initial=true
shouldDisplaySubtitles initial=false, conditional=VIDEO_TRACK
shouldDisplayCaptions initial=false, conditional=VIDEO_TRACK
shouldDisplayTextDescriptions initial=false, conditional=VIDEO_TRACK
scrollingCoordinatorEnabled initial=false
scrollingTreeIncludesFrames initial=defaultScrollingTreeIncludesFrames
scrollAnimatorEnabled initial=true, conditional=SMOOTH_SCROLLING
forceUpdateScrollbarsOnMainThreadForPerformanceTesting initial=false
notificationsEnabled initial=true
# Some apps needs isLoadingInAPISense to account for active subresource loaders.
needsIsLoadingInAPISenseQuirk initial=false
shouldRespectImageOrientation initial=defaultShouldRespectImageOrientation
imageSubsamplingEnabled initial=defaultImageSubsamplingEnabled
wantsBalancedSetDefersLoadingBehavior initial=false
requestAnimationFrameEnabled initial=true
# For touch adjustment to apply, the compile option TOUCH_ADJUSTMENT must also be enabled.
# This setting adds a means to dynamically disable the feature at runtime on systems with
# support for touch adjustment.
touchAdjustmentEnabled initial=true
fixedPositionCreatesStackingContext initial=defaultFixedPositionCreatesStackingContext
syncXHRInDocumentsEnabled initial=true
cookieEnabled initial=true
mediaEnabled initial=true
DOMPasteAllowed initial=false
# When enabled, window.blur() does not change focus, and
# window.focus() only changes focus when invoked from the context that
# created the window.
windowFocusRestricted initial=true
diagnosticLoggingEnabled initial=false
delegatesPageScaling initial=false
plugInSnapshottingEnabled initial=false
snapshotAllPlugIns initial=false
autostartOriginPlugInSnapshottingEnabled initial=true
primaryPlugInSnapshotDetectionEnabled initial=true
maximumPlugInSnapshotAttempts type=unsigned, initial=20
frameFlatteningEnabled initial=false
allowCustomScrollbarInMainFrame initial=true
webSecurityEnabled initial=true
spatialNavigationEnabled initial=false
autoscrollForDragAndDropEnabled initial=false
unifiedTextCheckerEnabled initial=defaultUnifiedTextCheckerEnabled
logsPageMessagesToSystemConsoleEnabled initial=false
backForwardCacheExpirationInterval type=double, initial=1800
# Some apps could have a default video poster if it is not set.
defaultVideoPosterURL type=String
smartInsertDeleteEnabled initial=defaultSmartInsertDeleteEnabled
selectTrailingWhitespaceEnabled initial=defaultSelectTrailingWhitespaceEnabled
selectionIncludesAltImageText initial=true
useLegacyBackgroundSizeShorthandBehavior initial=false
fixedBackgroundsPaintRelativeToDocument initial=defaultFixedBackgroundsPaintRelativeToDocument
minimumZoomFontSize type=float, initial=15, conditional=IOS_TEXT_AUTOSIZING
simpleLineLayoutEnabled initial=true, setNeedsStyleRecalcInAllFrames=1
simpleLineLayoutDebugBordersEnabled initial=false, setNeedsStyleRecalcInAllFrames=1
subpixelCSSOMElementMetricsEnabled initial=false
useGiantTiles initial=false
mediaSourceEnabled initial=true, conditional=MEDIA_SOURCE
# FIXME: Rename to allowMultiElementImplicitFormSubmission once we upstream the iOS changes to WebView.mm.
allowMultiElementImplicitSubmission initial=false
allowsAirPlayForMediaPlayback initial=true, conditional=WIRELESS_PLAYBACK_TARGET
shouldConvertPositionStyleOnCopy initial=false
maxParseDuration type=double, initial=-1
standalone initial=false
telephoneNumberParsingEnabled initial=false
mediaDataLoadsAutomatically initial=defaultMediaDataLoadsAutomatically
shouldTransformsAffectOverflow initial=true
shouldDispatchJavaScriptWindowOnErrorEvents initial=false
alwaysUseAcceleratedOverflowScroll initial=false
imageControlsEnabled initial=false, conditional=SERVICE_CONTROLS
enableInheritURIQueryComponent initial=false
aggressiveTileRetentionEnabled initial=false
temporaryTileCohortRetentionEnabled initial=true
useImageDocumentForSubframePDF initial=false
dataDetectorTypes type=DataDetectorTypes, initial=DataDetectorTypeNone, conditional=DATA_DETECTION
# Allow SourceBuffers to store up to 304MB each, enough for approximately five minutes
# of 1080p video and stereo audio.
maximumSourceBufferSize type=int, initial=318767104, conditional=MEDIA_SOURCE
serviceControlsEnabled initial=false, conditional=SERVICE_CONTROLS
appleMailPaginationQuirkEnabled initial=false
attachmentElementEnabled initial=true, conditional=ATTACHMENT_ELEMENT
newBlockInsideInlineModelEnabled initial=false, setNeedsStyleRecalcInAllFrames=1
httpEquivEnabled initial=true
# Some ports (e.g. iOS) might choose to display attachments inline, regardless of whether the response includes the
# HTTP header "Content-Disposition: attachment". This setting enables a sandbox around these attachments. The sandbox
# enforces all frame sandbox flags (see enum SandboxFlag in SecurityContext.h), and also disables <meta http-equiv>
# processing and subframe loading.
contentDispositionAttachmentSandboxEnabled initial=false
|
{
"pile_set_name": "Github"
}
|
Epizootic of equine influenza in 1969 in Poland.
Epidemiological observations on the course and spread of equine influenza in Poland during the 1969 epizootic were carried out. The dynamics of the spread of the disease in the country are shown graphically by voivodship. The disease incidence and mortality rates for the entire country are also shown. The highest incidence of disease and mortality rates were found to be in November 1969. A/equi-2/Warsaw/69 was identified as the causal virus. It caused the largest epizootic in the country since 1954.
|
{
"pile_set_name": "PubMed Abstracts"
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.