text
stringlengths 4
3.53M
| meta
dict |
---|---|
It is done, and submitted. You can play “Survival of the Tastiest” on Android, and on the web. Playing on the web works, but you have to simulate multi-touch for table moving and that can be a bit confusing.
There’s a lot I’d like to talk about. I’ll go through every topic, insted of making the typical what went right/wrong list.
Concept
Working over the theme was probably one of the hardest tasks I had to face.
Originally, I had an idea of what kind of game I wanted to develop, gameplay wise – something with lots of enemies/actors, simple graphics, maybe set in space, controlled from a top-down view. I was confident I could fit any theme around it.
In the end, the problem with a theme like “Evolution” in a game is that evolution is unassisted. It happens through several seemingly random mutations over time, with the most apt permutation surviving. This genetic car simulator is, in my opinion, a great example of actual evolution of a species facing a challenge. But is it a game?
In a game, you need to control something to reach an objective. That control goes against what evolution is supposed to be like. If you allow the user to pick how to evolve something, it’s not evolution anymore – it’s the equivalent of intelligent design, the fable invented by creationists to combat the very idea of evolution. Being agnostic and a Pastafarian, that’s not something that rubbed me the right way.
Hence, my biggest dillema when deciding what to create was not with what I wanted to create, but with what I did not. I didn’t want to create an “intelligent design” simulator and wrongly call it evolution.
This is a problem, of course, every other contestant also had to face. And judging by the entries submitted, not many managed to work around it. I’d say the only real solution was through the use of artificial selection, somehow. So far, I haven’t seen any entry using this at its core gameplay.
Alas, this is just a fun competition and after a while I decided not to be as strict with the game idea, and allowed myself to pick whatever I thought would work out.
My initial idea was to create something where humanity tried to evolve to a next level but had some kind of foe trying to stop them from doing so. I kind of had this image of human souls flying in space towards a monolith or a space baby (all based in 2001: A Space Odyssey of course) but I couldn’t think of compelling (read: serious) mechanics for that.
Borgs were my next inspiration, as their whole hypothesis fit pretty well into the evolution theme. But how to make it work? Are you the borg, or fighting the Borg?
The third and final idea came to me through my girlfriend, who somehow gave me the idea of making something about the evolution of Pasta. The more I thought about it the more it sounded like it would work, so I decided to go with it.
Conversations with my inspiring co-worker Roushey (who also created the “Mechanical Underdogs” signature logo for my intros) further matured the concept, as it involved into the idea of having individual pieces of pasta flying around and trying to evolve until they became all-powerful. A secondary idea here was that the game would work to explain how the Flying Spaghetti Monster came to exist – by evolving from a normal dinner table.
So the idea evolved more or less into this: you are sitting a table. You have your own plate, with is your “base”. There are 5 other guests at the table, each with their own plate.
Your plate can spawn little pieces of pasta. You do so by “ordering” them through a menu. Some pastas are better than others; some are faster, some are stronger. They have varying costs, which are debited from your credits (you start with a number of credits).
Once spawned, your pastas start flying around. Their instinct is to fly to other plates, in order to conquer them (the objective of the game is having your pasta conquer all the plates on the table). But they are really autonomous, so after being spawned, you have no control over your pasta (think DotA or LoL creeps).
Your pasta doesn’t like other people’s pasta, so if they meet, they shoot sauce at each other until one dies. You get credits for other pastas your own pasta kill.
Once a pasta is in the vicinity of a plate, it starts conquering it for its team. It takes around 10 seconds for a plate to be conquered; less if more pasta from the same team are around. If pasta from other team are around, though, they get locked down in their attempt, unable to conquer the plate, until one of them die (think Battlefield’s standard “Conquest” mode).
You get points every second for every plate you own.
Over time, the concept also evolved to use an Italian bistro as its main scenario.
Carlos, Carlos’ Bistro’s founder and owner
Setup
No major changes were made from my work setup. I used FDT and Starling creating an Adobe AIR (ActionScript) project, all tools or frameworks I already had some knowledge with.
One big change for me was that I livestreamed my work through a twitch.tv account. This was a new thing for me. As recommended by Roushey, I used a program called XSplit and I got to say, it is pretty amazing. It made the livestream pretty effortless and the features are awesome, even for the free version. It was great to have some of my friends watch me, and then interact with them and random people through chat. It was also good knowing that I was also recording a local version of the files, so I could make a timelapse video later.
Knowing the video was being recorded also made me a lot more self-conscious about my computer use, as if someone was watching over my shoulder. It made me realize that sometimes I spend too much time in seemingly inane tasks (I ended up wasting the longest time just to get some text alignment the way I wanted – it’ll probably drive someone crazy if they watch it) and that I do way too many typos where writing code. I pretty much spend half of the time writing a line and the other half fixing the crazy characters in it.
My own stream was probably boring to watch since I was coding for the most time. But livestreaming is one of the cool things to do as a spectator too. It was great seeing other people working – I had a few tabs opened on my second monitor all the time. It’s actually a bit sad, because if I could, I could have spent the whole weekend just watching other people working! But I had to do my own work, so I’d only do it once in a while, when resting for a bit.
Design
Although I wanted some simple, low-fi, high-contrast kind of design, I ended up going with somewhat realistic (vector) art. I think it worked very well, fitting the mood of the game, but I also went overboard.
For example: to know the state of a plate (who owns it, who’s conquering it and how much time they have left before conquering it, which pasta units are in the queue, etc), you have to look at the plate’s bill.
The problem I realized when doing some tests is that people never look at the bill! They think it’s some kind of prop, so they never actually read its details.
Plus, if you’re zoomed out too much, you can’t actually read it, so it’s hard to know what’s going on with the game until you zoom in to the area of a specific plate.
One other solution that didn’t turn out to be as perfect as I thought was how to indicate who a plate base belongs to. In the game, that’s indicated by the plate’s decoration – its color denotes the team owner. But it’s something that fits so well into the design that people never realized it, until they were told about it.
In the end, the idea of going with a full physical metaphor is one that should be done with care. Things that are very important risk becoming background noise, unless the player knows its importance.
Originally, I wanted to avoid any kind of heads-up display in my game. In the end, I ended up adding it at the bottom to indicate your credits and bases owned, as well as the hideous out-of-place-and-still-not-obvious “Call Waiter” button. But in hindsight, I should have gone with a simple HUD from the start, especially one that indicated each team’s colors and general state of the game without the need for zooming in and out.
Development
Development went fast. But not fast enough.
Even though I worked around 32+ hours for this Ludum Dare, the biggest problem I had to face in the end was overscoping. I had too much planned, and couldn’t get it all done.
Content-wise, I had several kinds of pasta planned (Wikipedia is just amazing in that regard), split into several different groups, from small Pastina to huge Pasta al forno. But because of time constraints, I ended up scratching most of them, and ended up with 5 different types of very small pasta – barely something to start when talking about the evolution of Pasta.
Pastas used in the game. Unfortunately, the macs where never used
Which is one of the saddest things about the project, really. It had the framework and the features to allow an endless number of elements in there, but I just didn’t have time to draw the rest of the assets needed (something I loved to do, by the way).
Other non-obvious features had to be dropped, too. For example, when ordering some pasta, you were supposed to select what kind of sauce you’d like with your pasta, each with different attributes. Bolognese, for example, is very strong, but inaccurate; Pesto is very accurate and has great range, but it’s weaker; and my favorite, Vodka, would triggers 10% loss of speed on the pasta hit by it.
The code for that is mostly in there. But in the end, I didn’t have time to implement the sauce selection interface; all pasta ended up using bolognese sauce.
To-do list: lots of things were not done
Actual programming also took a toll in the development time. Having been programming for a while, I like to believe I got to a point where I know how to make things right, but at the expense of forgetting how to do things wrong in a seemingly good way. What I mean is that I had to take a lot of shortcuts in my code to save time (e.g. a lot of singletons references for cross-communication rather than events or observers, all-encompassing check loops, not fast enough) that left a very sour taste in my mouth. While I know I used to do those a few years ago and survive, I almost cannot accept the state my code is in right now.
At the same time, I do know it was the right thing to do given the timeframe.
One small thing that had some impact was using a somewhat new platform for me. That’s Starling, the accelerated graphics framework I used in Flash. I had tested it before and I knew how to use it well – the API is very similar to Flash itself. However, there were some small details that had some impact during development, making me feel somewhat uneasy the whole time I was writing the game. It was, again, the right thing to do, but I should have used Starling more deeply before (which is the conundrum: I used it for Ludum Dare just so I could learn more about it).
Argument and user experience
One final aspect of the game that I learned is that making the game obvious for your players goes a long way into making it fun. If you have to spend the longest time explaining things, your game is doing something wrong.
And that’s exactly the problem Survival of the Tastiest ultimately faced. It’s very hard for people to understand what’s going on with the game, why, and how. I did have some introductory text at the beginning, but that was a last-minute thing. More importantly, I should have had a better interface or simplified the whole concept so it would be easier for people to understand.
That doesn’t mean the game itself should be simple. It just means that the experience and interface should be approachable and understandable.
Conclusion
I’m extremely happy with what I’ve done and, especially given that this was my first Ludum Dare. However, I feel like I’ve learned a lot of what not to do.
The biggest problem is overscoping. Like Eric Decker said, the biggest lesson we can learn with this is probably with scoping – deciding what to do beforehand in a way you can complete it without having to rush and do something half-assed.
I’m sure I will do more Ludum Dares in the future. But if there are any lessons I can take of it, they are to make it simple, to use frameworks and platforms you already have some absolute experience with (otherwise you’ll spend too much time trying to solve easy questions), and to scope for a game that you can complete in one day only (that way, you can actually take two days and make it cool).
This entry was posted
on Monday, August 27th, 2012 at 10:54 am and is filed under LD #24.
You can follow any responses to this entry through the RSS 2.0 feed.
You can skip to the end and leave a response. Pinging is currently not allowed.
3 Responses to ““Survival of the Tastiest” Post-mortem”
darn it , knowing that I missed your livestream makes me a sad panda ;( but more to the point, the game is … well for a startup its original to say the least ;D it has some really neat ideas and more importantly its designed arround touch screens whitch by the looks of the submission is something rare ;o or that could be just me and my short memory -_-! awesum game, love et <3 | {
"pile_set_name": "Pile-CC"
} |
<?xml version="1.0" encoding="UTF-8"?>
<segment>
<name>PD1</name>
<description>Patient Additional Demographic</description>
<elements>
<field minOccurs="0" maxOccurs="0">
<name>PD1.1</name>
<description>Living Dependency</description>
<datatype>IS</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.2</name>
<description>Living Arrangement</description>
<datatype>IS</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.3</name>
<description>Patient Primary Facility</description>
<datatype>XON</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.4</name>
<description>Patient Primary Care Provider Name & ID No.</description>
<datatype>XCN</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.5</name>
<description>Student Indicator</description>
<datatype>IS</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.6</name>
<description>Handicap</description>
<datatype>IS</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.7</name>
<description>Living Will Code</description>
<datatype>IS</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.8</name>
<description>Organ Donor Code</description>
<datatype>IS</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.9</name>
<description>Separate Bill</description>
<datatype>ID</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.10</name>
<description>Duplicate Patient</description>
<datatype>CX</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.11</name>
<description>Publicity Code</description>
<datatype>CE</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.12</name>
<description>Protection Indicator</description>
<datatype>ID</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.13</name>
<description>Protection Indicator Effective Date</description>
<datatype>DT</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.14</name>
<description>Place of Worship</description>
<datatype>XON</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.15</name>
<description>Advance Directive Code</description>
<datatype>CE</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.16</name>
<description>Immunization Registry Status</description>
<datatype>IS</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.17</name>
<description>Immunization Registry Status Effective Date</description>
<datatype>DT</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.18</name>
<description>Publicity Code Effective Date</description>
<datatype>DT</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.19</name>
<description>Military Branch</description>
<datatype>IS</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.20</name>
<description>Military Rank/Grade</description>
<datatype>IS</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.21</name>
<description>Military Status</description>
<datatype>IS</datatype>
</field>
</elements>
</segment>
| {
"pile_set_name": "Github"
} |
Article content
Human behavior has a tremendous impact on investing — more so than most realize — and one of our biggest weaknesses is the tendency to constantly compare and contrast ourselves to others.
[np_storybar title=”Follow Financial Post” link=””]
We apologize, but this video has failed to load.
tap here to see other videos from our team. Try refreshing your browser, or Three signs bubbles are brewing again in the market — and one of them has wheels Back to video
• Twitter
• Facebook
[/np_storybar]
For example, a 1995 study by the Harvard School of Public Health indicated that people will forgo a stronger income scenario in favour of a weaker one as long as it meant earning more than their neighbours.
Unfortunately, many in the investment world are keenly aware of this and will structure their marketing efforts accordingly. As a result, you have a compounding of momentum or trends in the market as investors buy at or near market tops for fear of not doing as well as or better than others.
For the same reason, investors piled into technology stocks in 2000 with only the promise of earnings in some distant future, and into housing-related investments in 2007 that were backstopped by very low incomes. | {
"pile_set_name": "OpenWebText2"
} |
Topic: reinvent midnight madness
Amazon announced a new service at the AWS re:Invent Midnight Madness event. Amazon Sumerian is a solution that aims to make it easier for developers to build virtual reality, augmented reality, and 3D applications. It features a user friendly editor, which can be used to drag and drop 3D objects and characters into scenes. Amazon … continue reading | {
"pile_set_name": "Pile-CC"
} |
About Grand Slam Fishing Charters
As a family owned business we know how important it is that your trip becomes the best memory of your vacation, we are proud of our islands, our waters and our crew and we are desperate show you the best possible time during your stay. We can not guarantee fish every time but we can guarantee you a great time! The biggest perk of our job is seeing so many of our customers become close friends”
A Great Way To Make New Friends!
Our dockside parties are a great way to make new friends! Everyone is welcome!
Andrea runs the whole operation, from discussing your initial needs by phone or email through to ensuring you have sufficient potato chips. Andrea has worked as concierge for many International resorts and fully understands the high expectations of international visitors.
“Life’s A Game But Fishing Is Serious!”
Unlike many tour operators, our crew are highly valued and have been with us since day 1. Each have their own personalities and sense of humour and understand the importance of making your day perfect, for us the saying is true, “Lifes a game but fishing is serious!”
TRIP ADVISOR
Plan Your Trip!
AJ and Earl were excellent. My son and I did a half day deep sea trip and though the fish weren’t too cooperative, they did everything to try to get something to bite. Very knowledgeable about the waters and my son was able to land a nice barracuda. The next day my wife, daughter, son […]
When we arrived the crew made us feel right at home. They made us feel comfortable and answered all questions. The crew worked hard all day to put us on fish. We were successful in landing a nice size Wahoo even though the weather did not cooperate the entire day was enjoyable. I highly recommend […] | {
"pile_set_name": "Pile-CC"
} |
Q:
Why was Mundungus banned from the Hog's Head?
In Order of the Phoenix while the trio were in the Hogs Head for the first time plotting the start of Dumbledore's Army, it transpires that ol' Dung was lurking in the pub in a disguise, having been banned 20 years previously according to Sirius.
Firstly, why was he banned? this could possibly be the tight spot that Albus had helped Dung with in the first place that made him loyal to Albus.
And secondly, how is it that he is then speaking to Aberforth in Halfblood Prince? (assuming the ban was for something rather unforgivable, 20 years is a long time?)
They both could have been in the Order by then, but unlikely given Aberforth's attitude in Deathly Hallows once the trio arrive in Hogsmeade looking for the tiara. We learn now that a lot of trafficking goes on through the Hogs Head so maybe Dung was trading with Aberforth, Sirius' mirror and various other Black artifacts, he just was not allowed in the pub.
Anyone with something in canon or more plausible?
A:
why was he banned?
I'm not able to find any canon data on that, either book text search or interviews transcripts.
how is it that he is then speaking to Aberforth in Halfblood Prince?
In HBP, he's speaking to Aberforth, NOT being inside Hog's Head. The topic was selling stuff he stole from Sirius' place:
Nikki: How did sirius twoway mirror end up with aberforth or is it another twoway mirror?
J.K. Rowling: You see Aberforth meeting Mundungus in Hogsmeade. That was the occasion on which Dung, who had taken Sirius’s mirror from Grimmauld Place, sold it to Aberforth.
(src: J.K. Rowling Interview / The Deathly Hallows Web Chat / July 2007)
As a note - this was important since one of the things sold was the 2-way mirror that Harry used to request help when they were imprisoned at Malfoy's in DH.
So, he was banned from the pub (probably, to avoid causing Aberforth's establishment further trouble), but doesn't mean Aberforth won't talk/do business with him otherwise.
| {
"pile_set_name": "StackExchange"
} |
Working Women, Special Provision and the Debate on Equality
There has been considerable coverage in the media recently about the possibility of offering women in employment paid leave from work during their menstrual period. This has generated a broad range of responses relating to long-standing discussions about ‘equality’ and ‘difference’: is women’s equality best achieved by treating them the same as men or by making provisions that recognise their differences in terms of physiological constitution and biological functions?
If the UK introduces such an initiative, it would not be the first country in the contemporary world to do so. Many countries in Asia already make the provision and Russia debated introducing a law in 2013. The policy also has a significant historical precedent. A whole chapter of my book Women Workers in the Soviet Interwar Economy: From ‘Protection’ to ‘Equality’ (Macmillan, 1999), based on extensive research conducted for my PhD, is devoted to ‘Provision for “Menstrual Leave”’.
In the 1920s, scientific researchers and labour hygiene specialists in the Soviet Union conducted extensive investigations into the impact of menstruation on women’s capacity to work in manual and industrial jobs requiring a significant degree of physical labour. Their recommendations led to two decrees being issued that targeted specific categories of women workers:
Decree ‘On the release from work during menstruation of machinists and iron press workers working on cutting machines without mechanised gears in the garment industry’, 11 January 1922
Decree ‘On the working conditions of women tractor and lorry drivers’, 9 May 1931
These decrees arose from research that suggested, amongst other things, that inadequate seating at machines and on tractors resulted in congestion and tension in the abdomen that was exacerbated during menstruation. In practice, the decrees did not provide for regular absence from work. Women seeking to benefit from the provision had to provide a doctor’s note, similar to the usual requirements for sick leave.
The official research into the impact of menstruation on women’s capacity to work and the application of the decrees in practice raised a number of issues on both sides of the argument. I offer only a summary of the contemporary research findings and observer commentary here:
For the provision:
• employers have a responsibility to protect the health of their workers and unhealthy, poor and inadequate working environments can have a detrimental impact on women’s reproductive health
• women’s labour productivity and output would rise as a result
• it is essential to protect the professionalism of certain categories of workers: the debates here centred on performance artists and female theatrical employees engaged in highly physical and intensely emotional work
• heavy physical labour and strenuous exercise can lead to disruptions of the menstrual cycle
• women’s physical and intellectual capacities are reduced during menstruation; women lose muscular strength and powers of concentration
• women’s biological constitution and reproductive functions require specific recognition in law
Against the provision:
• employers are less likely to appoint women if they are guaranteed paid time off work during menstruation
• (often from male workers, who viewed the employment of women as competition) women should not be employed in jobs for which they lack the physical strength and mental capacity
• if necessary, women could be transferred to different tasks involving easier work during menstruation
• the provision would be open to uneven application and abuse
• women cannot expect to be considered equal with men if they are given special treatment in the law
It is worth noting also that the various research projects often revealed that the vast majority of women reported no regular problems or abnormalities with menstruation, and that men commonly reported higher levels of sickness than their female colleagues. Many of the problems experienced by women in the workplace could be mitigated by the introduction of improvements to their physical working conditions (not sitting down or standing up in the same position for long periods of time) or by the simple introduction of very short breaks that would allow women to walk around and get some exercise.
Debates in the UK, on the TV and in the press, are unlikely to reach a consensus on this issue. What do you think? | {
"pile_set_name": "Pile-CC"
} |
Q:
Using M-Test to show you can differentiate term by term.
I have the series $\sum_{n=1}^\infty \frac{\lambda^{n-1}n}{n!}=\sum_{n=1}^\infty \frac{d}{d\lambda}\big(\frac{\lambda^n}{n!} \big)$
and I would like it to be $\frac{d}{d\lambda}\big(\sum_{n=1}^\infty \frac{\lambda^n}{n!})$.
I'm trying to show that this sequence of functions converges uniformly on $(0,\infty)$ and so I'm trying the M-Test. So I need to find bounds $M_n$ for $\big|\frac{\lambda^n}{n!}\big|$, such that $\sum M_n$ converges.
Thanks. This is in order to show that I can actually do the differentiation term by term.
A:
You deal with a power series with radius of convergence $R=+\infty$ so you can differentiate term by term.
| {
"pile_set_name": "StackExchange"
} |
Jeanette Sawyer Cohen, PhD, clinical assistant professor of psychology in pediatrics at Weill Cornell Medical College in New York City
Pediatric Psychologist
How to Teach Independence?
How can I teach my toddler to do things independently?
You’ve probably become more patient since you started this whole parenthood thing. And you’re going to have to practice patience even more as your toddler learns to become more independent.
For example, she tells you she can’t finish the puzzle she’s doing. Instead of jumping right in and telling her which piece goes where, you’re going to have to tell her you’ll help a little. Go ahead and help, but let her do a lot of it herself, and make sure she’s the one to finish the job. That will give her a sense of accomplishment and the confidence to try again next time.
Remember that children each progress at their own rate. It’s not always fast — and there will be setbacks along the way. But the more you can allow them to do on their own without stepping in, the more they’ll be likely to try for themselves again and again. | {
"pile_set_name": "Pile-CC"
} |
Q:
What's the simplest way to pass a file as an argument in a simple shell script?
The following works fine on Mac OS X:
#!/bin/bash
R CMD Sweave myfile.Rnw
pdflatex myfile.tex
open myfile.pdf
Now, I realize that these 3 lines of code are really helpful for my work – independently of some particular file. Thus I'd like to use the file as an argument. I know how to use an argument itself but have problems splitting the input after the string and concat it afterwards. If I was able to split the filename argument like:
split($1,".") # return some array or list ("name","ext")
Or is there a simpler, completely different way than using Python within a shell script?
Thx in advance for any general advice and examples as well !
A:
I do all my shell scripting in python.
It's easier to read, more powerful and works on windows as well.
A:
You could just take the base name as an argument and use $1.Rnw, $1.tex, and $1.pdf. Python is great for shell scripts, but I usually stick with bash for things less than 10 lines long.
If you really want to take a file name, you can use cut -f 1 -d '.' $1.
| {
"pile_set_name": "StackExchange"
} |
Major League Baseball All-Century Team
In 1999, the Major League Baseball All-Century Team was chosen by popular vote of fans. To select the team, a panel of experts first compiled a list of the 100 greatest Major League Baseball players from the past century. Over two million fans then voted on the players using paper and online ballots.
The top two vote-getters from each position, except outfielders (nine), and the top six pitchers were placed on the team. A select panel then added five legends to create a thirty-man team:—Warren Spahn (who finished #10 among pitchers), Christy Mathewson (#14 among pitchers), Lefty Grove (#18 among pitchers), Honus Wagner (#4 among shortstops), and Stan Musial (#11 among outfielders).
The nominees for the All-Century team were presented at the 1999 All-Star Game at Fenway Park. Preceding Game 2 of the 1999 World Series, the members of the All-Century Team were revealed. Every living player named to the team attended.
For the complete list of the 100 players nominated, see The MLB All-Century Team.
Selected players
Pete Rose controversy
There was controversy over the inclusion in the All-Century Team of Pete Rose, who had been banned from baseball for life 10 years earlier. Some questioned Rose's presence on a team officially endorsed by Major League Baseball, but fans at the stadium gave him a standing ovation. During the on-field ceremony, which was emceed by Hall of Fame broadcaster Vin Scully, NBC Sports' Jim Gray questioned Rose about his refusal to admit to gambling on baseball. Gray's interview became controversial, with some arguing that it was good journalism, while others objected that the occasion was an inappropriate setting for Gray's persistence. After initially refusing to do so, Gray apologized a few days later. On January 8, 2004, more than four years later, Rose admitted publicly to betting on baseball games in his autobiography My Prison Without Bars.
See also
Major League Baseball All-Time Team, a similar team chosen by the Baseball Writers' Association of America in
Latino Legends Team
DHL Hometown Heroes (2006): the most outstanding player in the history of each MLB franchise, based on on-field performance, leadership quality and character value
List of MLB awards
Team of the century
National Baseball Hall of Fame and Museum
References
External links
All-Century Team Vote Totals from ESPN.com
All-Century Team DVD from Amazon.com
All-Century Team Information from Baseball Almanac
Category:1999 Major League Baseball season
Category:Major League Baseball trophies and awards
Category:History of Major League Baseball
Category:Awards established in 1999 | {
"pile_set_name": "Wikipedia (en)"
} |
{
"fpsLimit": 60,
"preset": "basic",
"background": {
"color": "#0d47a1",
"image": "",
"position": "50% 50%",
"repeat": "no-repeat",
"size": "cover"
}
} | {
"pile_set_name": "Github"
} |
PCI Alternative Using Sustained Exercise (PAUSE): Rationale and trial design.
Cardiovascular disease (CVD) currently claims nearly one million lives yearly in the US, accounting for nearly 40% of all deaths. Coronary artery disease (CAD) accounts for the largest number of these deaths. While efforts aimed at treating CAD in recent decades have concentrated on surgical and catheter-based interventions, limited resources have been directed toward prevention and rehabilitation. CAD is commonly treated using percutaneous coronary intervention (PCI), and this treatment has increased exponentially since its adoption over three decades ago. Recent questions have been raised regarding the cost-effectiveness of PCI, the extent to which PCI is overused, and whether selected patients may benefit from optimal medical therapy in lieu of PCI. One alternative therapy that has been shown to improve outcomes in CAD is exercise therapy; exercise programs have been shown to have numerous physiological benefits, and a growing number of studies have demonstrated reductions in mortality. Given the high volume of PCI, its high cost, its lack of effect on survival and the potential for alternative treatments including exercise, the current study is termed "PCI Alternative Using Sustained Exercise" (PAUSE). The primary aim of PAUSE is to determine whether patients randomized to exercise and lifestyle intervention have greater improvement in coronary function and anatomy compared to those randomized to PCI. Coronary function and anatomy is determined using positron emission tomography combined with computed tomographic angiography (PET/CTA). Our objective is to demonstrate the utility of a non-invasive technology to document the efficacy of exercise as an alternative treatment strategy to PCI. | {
"pile_set_name": "PubMed Abstracts"
} |
Q:
¿Porqué en este loop de JavaScript la impresión de la variable es desde counter y no desde counter-1?
en mi búsqueda por aprender programación por mis propios medios, me he topado con el tema de recursividad y este simple código... mi pregunta ya que la variable counter comienza desde 10 y dentro del loop While el contador resta 1, porqué en la "impresión" aparece desde el 10. Sé que si quisiera empezar desde 10 colocaría el contador en 11... pero obviamente tengo la curiosidad y no entiendo.
var counter = 10;
while(counter > 0) {
console.log(counter--);
}
resultado:
10
9
8
7
6
5
4
3
2
1
A:
La razón es simple, en recursividad lo que haces es pasar una variable o arreglo en la mayor parte de los caso para modificarlos o simplemente imprimirlos, en tu caso quieres restar un numero por cada iteracion dentro de tu ciclo while pero aqui lo que tu quieres conseguir es que primero te imprima el 9 por la lógica que encuentras en tu programa y aunque no es del todo errónea eso no sucederá jamas por la siguiente razón.
En tu codigo lo que tienes es la impresion de tu variable e imprimes lo que es counter-- y a pesar de que si te resta -1 en esa misma iteracion sucede que primero te imprimira la variable antes de hacer dicha operacion ya que es lo que primero lee javascript, es como si tu codigo estuviera dividido en dos partes.
EJEMPLO
var counter = 10;
while(counter > 0) {
console.log(counter); // Lee antes el valor variable
counter--; // Después realiza operación
}
Esto sucede asi porque es como funciona internamente lo que realizas con javascript ya que a pesar de que parece un metodo simple de resta internamente esta compuesto de dos partes. Para cuando javascript hace la operacion tu valor ya esta en pantalla.
EJEMPLO VISUAL
Primera iteración:
counter = 10 | counter-- | counter = 9
counter = 9 | counter-- | counter = 8
counter = 8 | counter-- | counter = 7
...
counter = 1 | counter-- | counter = 0
counter = 0 | counter-- | counter = -1 -> En este caso ya no cumples con la condición por lo cual nunca se imprime.
Para realizar el proceso que quieres en el caso de que primero quieras que se imprima el 9 entonces deberas de hacer lo siguiente:
var counter = 10;
while(counter > 0) {
counter--;
console.log(counter);
}
.as-console-wrapper { max-height: 100% !important; top: 0; }
| {
"pile_set_name": "StackExchange"
} |
Running
Stat
Dinner with people is always better than eating alone, especially when the food is good. Good food tastes even better when enjoyed with people. Tonight Amy came over to try my second attempt at the Brussels Sprouts Veggie Soup to which I have made some changes (see recipe below in previous post) for a better result, I believe.
We were at the store earlier and saw some nice looking haricot verts and heirloom tomatoes, so we decide to assemble a simple salad from those. Of course while I’m at the market, I can’t not get some five peppercorn salami. Our simple dinner of soup, salami, bread, cheese, salad, and wine was on the table in 15 minutes. | {
"pile_set_name": "Pile-CC"
} |
Monday's are never fun...except when it's West Ham Q&A day and that's exactly what it is today!
To say there is a lot going on in the world of West Ham wouldn't quite be true as, in all honesty, its been fairly quiet. Last week, there was transfer movement on a couple of fronts and the club also sealed the free transfer of Ryan Fredericks from Fulham on a four-year deal.
There is still little to no progress on moves for Felipe Anderson and Marlon Santos, while the Hammers were also dealt a disastrous injury blow in Barcelona.
In training with Argentina, Manuel Lanzini ruptured his anterior cruciate ligament in his right knee and football.london understands that it's a whole lot worse than first feared and the attacking midfielder could miss the entire 2018/19 season in a worse case scenario.
That will no doubt impact on Manuel Pellegrini's transfer plans for the remainder of the window, with any moves now unlikely to happen until after the World Cup.
(Image: FILIPPO MONTEFORTE/AFP/Getty Images)
We also had news from the continent on Monday about where West Ham are set to be based for ten days of their pre-season tour this summer, more of which you will find out about later in the live blog.
So, sit back, relax and enjoy our weekly Q&A with Hammers wrtier Sam Inkersole, where he will answer questions posed to him on his Twitter account, which you can follow @Sam_InkersoleTM
Keep up to date with the latest news, features and exclusives from football.london via the freefootball.london app for iPhone and Android.
Available to download from the App Store and Google Play. | {
"pile_set_name": "OpenWebText2"
} |
TiO2 nanotubes for bone regeneration.
Nanostructured materials are believed to play a fundamental role in orthopedic research because bone itself has a structural hierarchy at the first level in the nanometer regime. Here, we report on titanium oxide (TiO(2)) surface nanostructures utilized for orthopedic implant considerations. Specifically, the effects of TiO(2) nanotube surfaces for bone regeneration will be discussed. This unique 3D tube shaped nanostructure created by electrochemical anodization has profound effects on osteogenic cells and is stimulating new avenues for orthopedic material surface designs. There is a growing body of data elucidating the benefits of using TiO(2) nanotubes for enhanced orthopedic implant surfaces. The current trends discussed within foreshadow the great potential of TiO(2) nanotubes for clinical use. | {
"pile_set_name": "PubMed Abstracts"
} |
Benjamin Lok describes how the robot butt sensors work 2:26
Prostate exams are potentially-life saving. But the process of getting one can be nerve-racking — both for the doctor and the patient.
A group of scientists from Drexel University and the Universities of Wisconsin and Florida are hoping to assist with that. They've designed a robot to help medical students give better prostate exams.
The robot's name is "Patrick" and he's an interactive butt.
Professor Benjamin Lok
"Patrick is part of a simulation where students get to practice prostate exams," lead researcher and University of Florida professor Benjamin Lok explains to As It Happens guest host Tom Harrington. "The simulator itself is a piece of plastic and around the anus area is a foam, rubbery material. It's anatomically correct, and inside, they have placed a prostate so that they can actually feel what a prostate would feel like."
But the physical examination is actually the last part of the training process. Initially, students start using the simulator to work on their beside manner.
"Students have to talk to Patrick for about five to eight minutes," the University of Florida professor says. "They work on their social skills. They try to obtain a patient history, but also have to work through anxiety that Patrick's having."
A student interacting with "Patrick" (Courtesy of Andrew Robb, University of Florida)
As the interview progresses — and the student realizes that Patrick needs a prostate exam — Patrick becomes quite hesitant to proceed. Lok says the robot will say, "Do you really have to do this? I don't understand why we have to do this right now."
Once Patrick is convinced, the student begins the examination.
"We can show you in real-time, as you're doing the exam... whether you're pressing all the regions and if you're pressing with enough pressure," Lok continues.
The sensor displays traffic light-style signals of green, yellow or red depending on the appropriate pressure applied.
"That helps educate the user and what a good prostate exam should feel like," he says.
But why not have Patrick yell or respond in a more human-like way? Lok says they thought about doing this, but for freshmen medical students, that would increase the level of anxiety.
"We want the system to provide positive experiences, where they can get good feedback but also help reduce some of the anxiety before they first practice on what are often called standardized patients, which are called actors."
Many medical schools pay professional actors who are specially trained to receive numerous prostate exams by students. However, as you might imagine, there are a limited number of actors willing to do this.
Postate exam program, "Patrick" (Courtesy of Andrew Robb, University of Florida)
Like a pilot who practices in a simulator before actually flying a plane, Lok hopes Patrick will serve the same purpose for medical students.
"You can make mistakes with Patrick and start over, that's one of the advantages of a simulator."
Patrick is currently being used by medical students at the University of Florida and Drexel University. Lok hopes the technology will be used in more medical schools across the United States. | {
"pile_set_name": "OpenWebText2"
} |
In general, absorbent articles should comfortably fit the body of a wearer. Most absorbent articles include an absorbent pad formed by an absorbent core contained in a wrap comprising a barrier tissue and/or a forming tissue. The subject invention discloses an absorbent article generally having extensibility in at least one direction, preferably the cross-direction. Such extensibility permits an absorbent article to extend and expand about the wearer and thus to better conform to the body of the wearer. Such extension and expansion about the wearer is feasible because both the bodyside liner and the outer cover are extensible in at least the one direction.
In conventional structures, the outer cover is typically adhesively secured to the forming tissue of the absorbent pad. In such embodiments, extending the outer cover in the cross-direction extends the forming tissue in the cross-direction. The force used to extend the outer cover, and thence the absorbent pad, can tear or otherwise damage the forming tissue or the barrier tissue of the absorbent pad. Since the absorbent pad is typically a sealed enclosure, namely an absorbent core enclosed within the combination of a forming tissue and a barrier tissue, tearing the absorbent pad, namely either the forming tissue or the barrier tissue, can release superabsorbent particles and other absorbent materials, such as cellulose fluff into contact with the body of the wearer. Superabsorbent particles can irritate the skin of the wearer. Such tearing of the absorbent pad indicates failure of the absorbent article to perform properly. Therefore, it is critical to find a way to prevent tearing or other structural failure of the absorbent pad. | {
"pile_set_name": "USPTO Backgrounds"
} |
jOOQ on The ORM Foundation?
I am the developer of jOOQ, a Java database abstraction framework. I was wondering whether jOOQ might be an interesting tool for discussion on your website, even if it is not exactly an ORM in the classic meaning (as in mapping objects to the relational world > ORM). Instead, jOOQ uses a reverse engineering paradigm (as in mapping relational entities to objects > "ROM").
Re: jOOQ on The ORM Foundation?
Object Role Modeling (the original ORM) is not the same thing as Object/Relational Mapping.
Object/Relational Mapping is still kind-of relevant and interesting to us, since Object Role Modeling is used to design databases (which then will require programmatic access). But there are probably better places to discuss it :]
Your query DSL looks rather like some of the DSLs available for Ruby, such as through the Sequel gem, or Arel. Interesting to see how well that can work with a statically-types language like Java. Maybe you or I should make a generator for ActiveFacts which generates your DSL from CQL queries?
Re: jOOQ on The ORM Foundation?
Sorry for my late reply. Apparently I had not really understood the ideas behind your foundation when I wrote my original post. I understand now, that you are concerned with broader concepts than the "common ORM". I actually came across your group because of your linking to ORM Lite (where ORM does stand for Object/Relational Mapping, correct me if I'm wrong).
Yes, I have seen some examples for Ruby's Sequel. I personally find statically-typed languages much better for DSL's as the syntax can be formally defined and checked by a compiler - with the limitations an OO language imposes, of course.
So if I understand this correctly now, "Object Role Modeling" and CQL are actually a more general way of expressing what SQL calls DDL. Since you can already transform CQL into SQL DDL statements (CREATE TABLE...), and jOOQ can reverse-engineer database schemata into jOOQ generated source code, I don't think there would be need for an additional generator.
Does CQL also specify means of querying the data described by the Object Role Model? The examples I found here only seem to describe what SQL calls "constraints" (although with a much broader functionality-range than SQL):
Re: jOOQ on The ORM Foundation?
"common ORM". I actually came across your group because of your linking to ORM Lite (where ORM does stand for Object/Relational Mapping
Object Role Modeling was named before Object Relational Mapping, but the latter is now the more common meaning, as you point out. But ORM Lite is actually so-named by Bryan because it is an implementation of Object Role Modeling, not because it is also an O/RM. Bryan was a student of Terry's at Neumont, where he learnt ORM.
Regarding DSLs, I think internal DSLs only work well in very simple cases. I prefer external DSLs for anything complex, and that's where CQL came from. Even the extremely flexible syntax of Ruby wasn't up to the task.
lukas.eder:
I don't think there would be need for an additional generator
The problem is that a huge amount of meaning is lost in the mapping to SQL. SQL is practically (though not theoretically) limited to representing physical models. These are almost always very different from the conceptual model, as many relationships have been condensed (absorbed) into attribute/column relationships, so the semantics of the original relationship are lost. In the process, nullable columns are usually introduced, which adds further to the confusion, as such things cannot easily be correctly constrained (uniqueness, etc) in SQL. So by reverse engineering from the relational form, you're losing most of the benefit of building a conceptual model from the start
This may be hard to see for someone used to O-O modeling, and who's authored an O/RM tool. The problem is that O-O suffers from many of the same problems of loss of semantics. The apparently clear notion of "attribute" breaks down when you look at it closely. O-O, although ostensibly behaviour-oriented, introduces attributes to store state, and this attribute orientation is the source of the problem in both cases. Fact-oriented model does not use attributes. Although it may seem obvious that, for example, my surname is an attribute of myself, if the system being modeled accrues the requirement to model families, suddenly surname becomes an attribute of family, and family becomes my attribute. This kind of instability is responsible for much of the rework that's required in evolving legacy systems, as well as many of the mistakes made when they were first modeled. If you want a further example of this loss of semantics, look at my Insurance example, and ask yourself why the VehicleIncident table has a DrivingBloodTestResult column. In fact, if VehicleIncident wasn't explicitly mapped separately, its fields would be in the Claim table.
What's needed is not just yet another O/RM tool (which are tuppence a dozen anyhow - I personally have written three) but a tool which supports database programming using only the conceptual model, never exposing the physical model. Surprisingly, I can't think of a single tool which has done a good job of this, but it's where I'm heading with the ActiveFacts API. It's another O/RM, but using a purely conceptual object model that preserves the domain semantics, not a typical O-O one.
lukas.eder:
Does CQL also specify means of querying the data described by the Object Role Model
Yes, though the published implementation doesn't quite handle the full query syntax (aggregate functions are still missing), nor does it yet translate them to SQL. Some examples are given towards the end of the video presentation on the CQL Introduction page.
Re: jOOQ on The ORM Foundation?
Regarding DSLs, I think internal DSLs only work well in very simple cases. I prefer external DSLs for anything complex, and that's where CQL came from. Even the extremely flexible syntax of Ruby wasn't up to the task.
Absolutely. The optimal way to implement SQL in Java would be by extending the Java language itself, such that SQL would be compiled natively by the java compiler, similar to Linq2SQL in C#, or PL/SQL in Oracle databases. So for the complexity of CQL, CQL is certainly the right solution.
Clifford Heath:
The problem is that a huge amount of meaning is lost in the mapping to SQL. SQL is practically (though not theoretically) limited to representing physical models.
You are right. I guess though, that in everyday work, this limitation is not really a problem. Personally, I think if your business rules become so complex that you cannot map them to a relational model easily anymore, then maybe your business rules could be simplified before changing/extending technologies. But that depends on the business, of course. I guess with insurance companies' businesses, I'd be pretty lost, personally ;-)
In any case, I don't see jOOQ as a means to solve modelling issues, or the O/R impedance mismatch (which is even bigger when it comes to mapping your understanding of ORM, with CQL). jOOQ should simply make using the full power of SQL in Java as simple as possible. In that way, jOOQ is not really an ORM because it does not map from objects to the relational world, or try to solve any other high-level abstraction issues. It's really a low-level tool to make a developer's life a lot easier, seeing that unfortunately, JPA CriteriaQuery didn't meet the community's expectations.
Clifford Heath:
What's needed is not just yet another O/RM tool (which are tuppence a dozen anyhow - I personally have written three) but a tool which supports database programming using only the conceptual model, never exposing the physical model. Surprisingly, I can't think of a single tool which has done a good job of this, but it's where I'm heading with the ActiveFacts API. It's another O/RM, but using a purely conceptual object model that preserves the domain semantics, not a typical O-O one.
I think you're on the right track with this. I hope for you, that this will soon show nice results with a practical implementation. I'm curious to see how you'll tackle performance issues, too, with all the abstraction. Among all attempts to overcome the old and proven relational models (XML databases, NoSQL databases), this one seems the most promising and focused to me! | {
"pile_set_name": "Pile-CC"
} |
Standardised protocol for primate faecal analysis.
Macroscopic analysis of primate faeces as a way to study diet is well established, but lack of standardisation of methods may handicap comparative studies of the resulting data. Here we present a proven technique, including equipment and supplies, protocol and procedure, that yields quantitative data suitable for systematic investigation within and across primate taxa. As the problems of habituation become more obvious, the application of such indirect methods may increase in usefulness. | {
"pile_set_name": "PubMed Abstracts"
} |
Examination of factors affecting gait properties in healthy older adults: focusing on knee extension strength, visual acuity, and knee joint pain.
Gait properties change with age because of a decrease in lower limb strength and visual acuity or knee joint disorders. Gait changes commonly result from these combined factors. This study aimed to examine the effects of knee extension strength, visual acuity, and knee joint pain on gait properties of for 181 healthy female older adults (age: 76.1 (5.7) years). Walking speed, cadence, stance time, swing time, double support time, step length, step width, walking angle, and toe angle were selected as gait parameters. Knee extension strength was measured by isometric dynamometry; and decreased visual acuity and knee joint pain were evaluated by subjective judgment whether or not such factors created a hindrance during walking. Among older adults without vision problems and knee joint pain that affected walking, those with superior knee extension strength had significantly greater walking speed and step length than those with inferior knee extension strength (P < .05). Persons with visual acuity problems had higher cadence and shorter stance time. In addition, persons with pain in both knees showed slower walking speed and longer stance time and double support time. A decrease of knee extension strength and visual acuity and knee joint pain are factors affecting gait in the female older adults. Decreased knee extension strength and knee joint pain mainly affect respective distance and time parameters of the gait. | {
"pile_set_name": "PubMed Abstracts"
} |
I've learned the nitrogen vacancies used in Memristors are for "switching", between excited states and inhibited states, akin to our neurons and SYNAPSES abilities to generate EPSPs and IPSPs, this is the entire point to Memristors and DARPAs SyNAPSE program, emulating Neurons..
So in the memristor, NVs (which are truly Ancillas),
Return to "resting states", just like Neurons do, hence Inhibitory states versus excited states, when a neuron reaches an action potential and fires..
So the ancillas use prepared/ known states, and are the equivalent of the ancillas ground state, which is equal to a neurons resting potential...
So by weakly measuring certain aspects of living neurons, it is possible to superbroadcast/ teleport the wavefunction non-classically to the memristors vacancies, correlating each memristor with its neuron statistical ensemble counterpart, sharing the quantum state of the resting potential.
the ground state of the ancilla.
The type of measurement determines which property is shown. However the single and double-slit experiment and other experiments show that some effects of wave and particle can be measured in one measurement.
Hence Mach-Zehnder interferometry, which also involves ANCILLAS
Quote:
When for example measuring a photon using a Mach-Zehnder interferometer, the photon acts as a wave if the second beam-splitter is inserted, but as a particle if this beam-splitter is omitted. The decision of whether or not to insert this beam-splitter can be made after the photon has entered the interferometer, as in Wheeler’s famous delayed-choice thought experiment. In recent quantum versions of this experiment, this decision is controlled by a quantum ancilla, while the beam splitter is itself still a classical object.
and the no-cloning theorem is about pure states..
But an ensemble of particles in a neuron would make it a mixed state..
The no-cloning theorem is normally stated and proven for pure states; the no-broadcast theorem generalizes this result to mixed states.
And thats why PHASE works for quantum metrology and its ability to harness non classical states
Apparently, worrying about measuring both position and momentum works differently for particles than it does waves.
It may actually be possible using phase.
Quote:
Niels Bohr apparently conceived of the principle of complementarity during a skiing vacation in Norway in February and March 1927, during which he received a letter from Werner Heisenberg regarding the latter's newly discovered (and not yet published) uncertainty principle. Upon returning from his vacation, by which time Heisenberg had already submitted his paper on the uncertainty principle for publication, he convinced Heisenberg that the uncertainty principle was a manifestation of the deeper concept of complementarity.[6] Heisenberg duly appended a note to this effect to his paper on the uncertainty principle, before its publication, stating:
Quote:
Bohr has brought to my attention [that] the uncertainty in our observation does not arise exclusively from the occurrence of discontinuities, but is tied directly to the demand that we ascribe equal validity to the quite different experiments which show up in the [particulate] theory on one hand, and in the wave theory on the other hand.
And "quadratures" is about position and momentum..
Which are apparently always orthogonal to each other.
There is obviously something to all of this.
Counterfactual Communication was recently used to transmit information without sending any PARTICLES.
the information was sent in the phase.. of a wavefunction?
and it used MachZenhder Interferometry..
which is part of Quantum Metrology and its ability to harness non-classical states..
and all of this can teleport non-classical light..
and it all uses ANCILLAS... which store VALUES, and WAVEFUNCTIONS.. because they are Qubits/ Nitrogen vacancies..
and are used in WEAK MEASUREMENT... which was used to measure a wavefunction.. something most would argue is impossible.. because of the uncertainty principle..
Quote:
An interpretation of quantum mechanics can be said to involve the use of counterfactual definiteness if it includes in the statistical population of measurement results, any measurements that are counterfactual because they are excluded by the quantum mechanical impossibility of simultaneous measurement of conjugate pairs of properties.
For example, the Heisenberg uncertainty principle states that one cannot simultaneously know, with arbitrarily high precision, both the position and momentum of a particle
Quote:
The word "counterfactual" does not mean "characterized by being opposed to fact." Instead, it characterizes values that could have been measured but, for one reason or another, were not
and its the Ancillas that store values.. and may or may not be part of the measurement apparatus... / interferometer..
In 2015, Counterfactual Quantum Computation was demonstrated in the experimental context of "spins of a negatively charged Nitrogen-vacancy color center in a diamond".[5] Previously suspected limits of efficiency were exceeded, achieving counterfactual computational efficiency of 85% with the higher efficiency foreseen in principle
Quote:
The quantum computer may be physically implemented in arbitrary ways but the common apparatus considered to date features a Mach–Zehnder interferometer. The quantum computer is set in a superposition of "not running" and "running" states by means such as the Quantum Zeno Effect. Those state histories are quantum interfered. After many repetitions of very rapid projective measurements, the "not running" state evolves to a final value imprinted into the properties of the quantum computer. Measuring that value allows for learning the result of some types of computations such as Grover's algorithm even though the result was derived from the non-running state of the quantum computer.
NV CENTERS can also be used asQUANTUM SPIN PROBES, QUBITS & AS, ANCILLAS
in devices such as
BIOMEMs scanners
QUANTUM REPEATERS
PHOTONIC NETWORKING
and..
MEMRISTORS.. where the vacancies are used for switching between inhibited and excited states, thus simulating NEURONS
MEMRISTORS utilize wavefunctions.
Wavefunctions can be weakly measured by ANCILLAS
ANCILLAS hold "values" ie : wavefunctions
and have GROUND STATES
which measured particles are "cooled" into for measurement techniques. a literal form of "photon counting"..
"This de-excitation is called ‘fluorescence’, and it is characterized by a
lifetime of a few nanoseconds of the lowest vibrational level of the first excited state.
De-excitation from the excited singlet state to the ground state also occurs by other mechanisms, such as non-radiant thermal decay or ‘phosphorescence’. In the latter case, the chromophore undergoes a forbidden transition from the excited singlet state into the triplet state (intersystem crossing, ISC, Fig 2.4), which has a non-zero probability, for example because of spin orbit coupling of the electrons’ magnetic moments"
its a type of INTERSYSTEM CROSSING
doing a search for Intersystem crossing, memristor brings up this link..
A composite optical microcavity, in which nitrogen vacancy (NV) centers in a diamond nanopillar are coupled to whispering gallery modes in a silica microsphere, is demonstrated. Nanopillars with a diameter as small as 200 nm are fabricated from a bulk diamond crystal by reactive ion etching and are positioned with nanometer precision near the equator of a silica microsphere. The composite nanopillar-microsphere system overcomes the poor controllability of a nanocrystal-based microcavity system and takes full advantage of the exceptional spin properties of NV centers and the ultrahigh quality factor of silica microspheres.
We investigate the construction of two universal three-qubit quantum gates in a hybrid system. The designed system consists of a flying photon and a stationary negatively charged nitrogen-vacancy (NV) center fixed on the periphery of a whispering-gallery-mode (WGM) microresonator, with the WGM cavity coupled to tapered fibers functioning as an add-drop structure. These gate operations are accomplished by encoding the information both on the spin degree of freedom of the electron confined in the NV center and on the polarization and spatial-mode states of the flying photon, respectively
Now Somewhere in this is evidence of a memristor holding a wavefunction
The shown SPICE implementation (macro model) for a
charge controlled memristor model exactly reproduces the
results from [2]. However, these simulation results do not
have a good compliance - not even qualitatively - with the
characteristic form of I/V curves of manufactured devices.
Therefore the following equations (3) to (9) try to approach
memristor modeling from a different point of view to get a
closer match to the measured curves from [2],[6],[7],[8],[10]
or [11] even with a simple linear drift of w.
Besides the charge steering mechanism of a memristor modelled in [2],
[1] also defined a functional relationship for a memristor
which explains the memristive behavior in dependence on its
magnetic flux: i(t) = W φ(t) · v(t) . (3)
Variable W (φ) represents the memductance which is the
reciprocal of memristance M. Here a mechanism is demanded
that maps the magnetic flux as the input signal to the current
that is flowing through the memristor. The magnetic flux φ
is the integral of voltage v(t) over time: φ = R v(t) dt.
We can assume that an external voltage which is applied to
the previously described two-layer structure has an influence
on the movable 2+-dopants over time. The width w(t) of
the semiconductor layer is depending on the velocity of the
dopants vD(t) via the time integral:
w(t) = w0 + Z0t vD(τ)dτ . (4)
The drift velocity vD in an electric field E is defined via its
mobility µD: vD(t) = µD · E(t) (5) and the electric field E is connected with the voltage via E(t) = v(t)
D(6)with D denoting the total thickness of the two-layer structure
(D = tOX + tSEMI). Due the good conductance of the
semiconductor layer the electric field is applied to the time
depending thickness of the insulator layer tOX for the most
part (due to v(l) = R E dl). However, this was neglected for
reasons of simplification. If we combine (4), (5) and (6), we
obtain: n(t) = w0 + µDD· Z0t v(τ)dτ = w0 + µDD · φ(t) . (7)
This equation shows a proportional dependence of the width w
from the magnetic flux φ. Since the thickness of the insulator
layer is in the low nanometer region a tunnel current or
equivalent mechanism is possible. The magnetic flux slightly
decreases the thickness of the insulator layer wich is the barrierfor the tunnel current.This current rises exponentially with a
reduction of the width tOX(φ) (the exponential dependenceis deducible from the quantum mechanic wave function)
which must become the GROUND STATE of the ANCILLA upon non-classical correlation..
because a wavefunction is essentially the "master equation" (which describe wave equations)
We investigate theoretically how the spectroscopy of an ancillary qubit can probe cavity (circuit) QED ground states containing photons. We consider three classes of systems (Dicke, Tavis-Cummings and Hopfield-like models), where non-trivial vacua are the result of ultrastrong coupling between N two-level systems and a single-mode bosonic field. An ancillary qubit detuned with respect to the boson frequency is shown to reveal distinct spectral signatures depending on the type of vacua. In particular, the Lamb shift of the ancilla is sensitive to both ground state photon population and correlations. Back-action of the ancilla on the cavity ground state is investigated, taking into account the dissipation via a consistent master equation for the ultrastrong coupling regime. The conditions for high-fidelity measurements are determined.
\\
Notice BACK-ACTION, which goes right back to DARPAs Nanodiamond Biosensors and their ability to overcome the standard quantum limit, because of the known/ prepared states in the ancillas/NITROGEN VACANCIES
Quote:
(Quantum) back action refers (in the regime of Quantum systems) to the effect of a detector on the measurement itself, as if the detector is not just making the measurement but also affecting the measured or observed system under a perturbing effect.
Back action has important consequences on the measurement process and is a significant factor in measurements near the quantum limit, such as measurements approaching the Standard Quantum Limit (SQL).
Back action is an actively sought-after area of interest in present times. There have been experiments in recent times, with nanomechanical systems, where back action was evaded in making measurements, such as in the following paper :
When performing continuous measurements of position with sensitivity approaching quantum mechanical limits, one must confront the fundamental effects of detector back-action.Back-action forces are responsible for the ultimate limit on continuous position detection, can also be harnessed to cool the observed structure[1,2,3,4], and are expected to generate quantum entanglement.
Back-action can also be evaded, allowing measurements with sensitivities that exceed the standard quantum limit, and potentially allowing for the generation of quantum
squeezed states.
So the NV centers are used as ancillas in the measurement process.. which weakly measure wavefunctions of particles in neurons, most likely singlet and triplet states occurring in ATP and phosphase...
then those same wavefunctions are transfered and produce a correlation at the ground state..
where the ancilla takes on the new value/wavefunction.. and here we find all these ideas..
minus the switching which I can explain
Memristors use NV centers to switch between inhibited and excited states
singlet and triplet states
thus producing/simulating/ EMULATING, living neurons and action potentials
and it may just BE the network and its computing speed, that even allows the wavefunction to be "found"
Artificial Neural Network. A pair of physicists with ETH Zurich has developed a way to use an artificial neural network to characterize the wave function of a quantum many-body system. [14]. A team of researchers at Google's DeepMind Technologies has been working on a means to increase the capabilities of computers by ...
While there are lots of things that artificial intelligence can't do yet—science being one of them—neural networks are proving themselves increasingly adept at a huge variety of pattern recognition ... That's due in part to the description of a quantum system called its wavefunction. ... Neural network chip built using memristors.
https://books.google.ca/books?isbn=9814434809Andrew Adamatzky, Guanrong Chen - 2013 - Computers
Global and local symmetries In quantum physics, all the properties of a system can be derived from the state or wave function associated with that system. The absolute phase of a wave function cannot be measured, and has no practical meaning, as it cancels out the calculations of the probability distribution. Only relative ...
The las vegas shooting left 58 INNOCENT PEOPLE DEAD.
The gunmans brother was later arrested for possession of child porn.
This technology was developed to defend against terrorism and child abuse.
Connect the dots.
I bet the brothers were sharing files and one of them ended up a "targeted individual"
So he began to stockpile weapons and plan the only way out of his nightmare.
There has been no mentioning of him."hearing voices"
But the fact his brother was later arrested for such a crime paints a picture worth looking into.
Those vibrations, are the result of this assumed BIOMEMS "deployable biosensor" And its use of excitation techniques made to single out single neurons to measure the WAVEFUNCTIONS during a tomographic scan.
which makes such possible Quantum-assisted Nano-imaging of Living Organism Is a First
Quote:
“In QuASAR we are building sensors that capitalize on the extreme precision and control of atomic physics. We hope these novel measurement tools can provide new capabilities to the broader scientific and operational communities,” said Jamil Abo-Shaeer, DARPA program manager. “The work these teams are doing to apply quantum-assisted measurement to biological imaging could benefit DoD’s efforts to develop specialized drugs and therapies, and potentially support DARPA’s work to better understand how the human brain functions.”
"Nuclear spin imaging at the atomic level is essential for the under-standing of fundamental biological phenomena and for applicationssuch as drug discovery. The advent of novel nano-scale sensors hasgiven hope of achieving the long-standing goal of single-protein, highspatial-resolution structure determination in their natural environ-ment and ambient conditions. In particular, quantum sensors basedon the spin-dependent photoluminescence of Nitrogen Vacancy (NV)centers in diamond have recently been used to detect nanoscale en-sembles of external nuclear spins. While NV sensitivity is approachingsingle-spin levels, extracting relevant information from a very com-plex structure is a further challenge, since it requires not only theability to sense the magnetic field of an isolated nuclear spin, butalso to achieve atomic-scale spatial resolution. Here we propose amethod that, by exploiting the coupling of the NV center to an intrin-sic quantum memory associated with the Nitrogen nuclear spin, canreach a tenfold improvement in spatial resolution, down to atomic
scales."
So what its all doing essentially, is mapping the phase of atoms/SINGLETS in ATP, onto a NV center based CCD
and at the singlet level, correlations occur.. creating entanglement
so the particles in the neuron are being correlated with the ancillas, the nitrogen vacancies, where they take on the "target" state..
not only is the above imaging done to obtain a correlation to living neurons, via the singlet states within, but once the connection is established, the MEMRISTOR NETWORK itself can be used to RECONSTRUCT VISION IN REAL TIME
Now add the above method, a direct connection using correlated states shared from neurons TO Memristors... and imagine the reconstruction aided by the AI within the memristor network, as it works on so.. (note, this example is done MERELY using fMRI information)
now Imagine statistical ensembles being observed in real time via non-classical entanglement
But what I'm trying to show, is hows its this assumed entanglement based BCI technology, plus the memristor network it is coupled to, that is responsible for the TI communities complaints that "they (the government) can see through my own eyes"
The nitrogen vacancies in the scanners hold values, wavefunctions, which are prepared states aka Ancilla bits, and are the time domain/reference frequency, which carrries the "quantum event/wavefunction" which causes the singlet pairs to form up in the scanned biology..
and correlates with them at the ground state as the relaxation occurs..
Quote:
It is important to realize that particles in singlet states need not be locally bound to each other. For example, when the spin states of two electrons are correlated by their emission from a single quantum event that conserves angular momentum, the resulting electrons remain in a shared singlet state even as their separation in space increases indefinitely over time, provided only that their angular momentum states remain unperturbed
and that weakly measured value, the wavefunction is sent through the optical cavity, teleported to identical nitrogen vacancies in memristors.. so the ground states in both system are correlated and thus the neural activity can be monitored in real time in the memristors | {
"pile_set_name": "Pile-CC"
} |
Volunteer Services
Volunteer Services
As Charleston Area Medical Center volunteers, our mission is to serve as support for patients, families and hospital staff, and to provide a caring, comforting and courteous environment.
Volunteers at CAMC bring their unique personalities and skills to our hospital. They range in age from 15 to 99. Our ranks are made up of men and women; students and retirees; homemakers and business people. Last year, 334 volunteers contributed over 36,000 hours to our hospitals and Cancer Center.
We are looking for volunteers who exemplify CAMC's core values of respect, integrity, stewardship, quality, service with compassion and safety. These volunteers will help us with our mission of "striving to provide the best health care to every patient, every day." | {
"pile_set_name": "Pile-CC"
} |
Q:
Python: My return variable is always None
So I found a strange thing that happens in python whenever I try to return an optional parameter or at least I think that is why it is happening.
Here is my code
def reverse(string, output = ""):
if string == "":
print "winner: ", output
return output
output = output + string[-1]
string = string[:-1]
reverse(string, output=output)
And here is what happens when I run it:
>>> output = reverse("hello")
winner: olleh
>>> print output
None
Anyone know why my return is always None?
A:
You have to return the return value of the recursive call.
def reverse(string, output = ""):
if string == "":
print "winner: ", output
return output
output = output + string[-1]
string = string[:-1]
return reverse(string, output=output)
| {
"pile_set_name": "StackExchange"
} |
Formulation and application of a biosurfactant from Bacillus methylotrophicus as collector in the flotation of oily water in industrial environment.
The present study describes the formulation of a biosurfactant produced by Bacillus methylotrophicus UCP1616 and investigates its long-term stability for application as a collector in a bench-scale dissolved air flotation (DAF) prototype. For formulation, the conservative potassium sorbate was added to the biosurfactant with or without prior heat treatment at 80 °C for 30 min. After formulation, the biosurfactant samples were stored at room temperature for 180 days and the tensioactive properties of the biomolecule were determined with different pH values, temperatures and concentrations of salt. Then, a central composite rotatable design was used to evaluate the influence of the independent variables (effluent flow rate and formulated biosurfactant flow rate) on the oil removal efficiency in the DAF prototype. The formulated biosurfactant demonstrated good stability in both conservation methods, with tolerance to a wide pH range, salinity and high temperatures, enabling its use in environments with extreme conditions. The efficiency of the formulated biomolecule through heating and addition of sorbate was demonstrated by the 92% oil removal rate in the DAF prototype. The findings demonstrate that the biosurfactant from Bacillus methylotrophicus enhances the efficiency of the DAF process, making this technology cleaner. This biosurfactant can assist in the mitigation and management of industrial effluents, contributing toward a reduction in environmental pollution caused by petroleum-based hydrocarbons. | {
"pile_set_name": "PubMed Abstracts"
} |
Playing back a meeting recording
…Let me show you how to locate and play back a meeting that you have recorded.…First, let's understand how WebEx Meetings store and prepare your meeting recordings.…The meetings are recorded on the WebEx server.…WebEx will post the recording to their…server within 24 hours of the meeting completion.…When your recording is ready, you'll receive an update on…your dashboard homepage with the playback link and the recording information.…Let me show you how that looks.…When you get this notification, you can click the link that says Play Recording.…And WebEx will play back the video for you with the WebEx network recording player.…
To locate your meeting recording manually, if…you miss the notification, the easiest thing…to do is look at the meetings space for the meeting that you recorded.…First, find the meeting in your meetings list by clicking the Meetings tab.…Click the Recent tab.…You'll note, in the list, whether it's recorded or not.…Click on the meeting title to visit the meeting space page for that meeting.…
Resume Transcript Auto-Scroll
Author
Released
6/9/2014
Connect and collaborate across the globe with WebEx Meetings. In this course, author and webinar specialist Sally Norred shows you how to use WebEx Meetings to host, run, and record online meetings. Discover how to set up an online meeting and invite attendees, work with interactivity, let attendees participate and present, and save and record a meeting. Also check out the quick tips sheets (free to all members) for a list of handy shortcuts for hosts, presenters, and attendees alike. | {
"pile_set_name": "Pile-CC"
} |
A&E’s hit reality TV show was ensnared in controversy after its star’s controversial comments about gays and African-Americans
A record-setting reality show appears to be paddling in the wrong direction as its fifth season gets underway.
Citing data from Nielsen, Variety reports that just 6.65 million viewers watched Wednesday night’s episode of Duck Dynasty on A&E. That’s down from the 8.5 million who tuned into last week’s season premiere. The ratings are the lowest for an original episode of the show since December 2012.
Duck was ensnared in controversy late last year when star Phil Robertson made derogatory remarks about gays and African Americans. The show focuses on a family that made a fortune on duck-hunting accessories.
Its fourth-season premiere was the most-watched cable reality TV episode in history, attracting 11.77 million viewers. Last year, it was the second most watched cable TV program overall, after AMC’s Walking Dead.
[Variety] | {
"pile_set_name": "OpenWebText2"
} |
During my pregnancy, I tried to gather as much information on how painful labor might actually be. I would often hear “mine was horrible, but everyone’s pregnancy is different” or “it was the worst pain I’ve ever felt in my life!”
I heard many horror stories which often ended with, “well, don’t worry. You’ll forget about the pain as soon as your child is born.” Not the most reassuring for a first-time mother, but something I definitely kept in mind the entire time.
I had feared the unknown, but on the other hand, I knew there was no turning back and that my baby was coming one way or another!
Two weeks before my due date, I noticed some blood. My water didn’t break and I saw no mucous plug, but it seemed that something was happening earlier than expected. Soon after, at 1 a.m. I woke up from a notably different type of cramping. It began to occur every 5 minutes. It wasn’t that painful (yet), but uncomfortable. I felt as if I had to go diarrhea every five minutes. If this is labor, I could handle it for sure I thought, but I knew this was only the beginning.
My husband nervously drove us to the hospital as if the baby would pop out any second. I had to remind him to not worry. Things usually didn’t happen that fast for first-time moms (or at least I hoped it wouldn’t). I had to go by instinct although in the back of my mind, I wasn’t sure what would happen next.
We finally got to the birthing center after an hour of driving and the nurses confirmed I wasn’t even dilated. I couldn’t believe it. We were turned away and had to find a hotel because returning home wasn’t an option. It would take two hours just to return again!
The diarrhea-like cramps were painful and uncomfortable; I couldn’t sleep. I was bleeding slightly and started to actually have these cramps and stomach aches over a 10 hour period. I started googling my symptoms (never a good thing!) and discovered there are people who have this uncomfortable feeling for days and weeks! “Fake labor” would not be in my cards, I had hoped.
Fortunately, I had an appointment with a midwife in the afternoon and was checked again for any cervical changes. I had finally dilated 3 cm and was 90% effaced. What a relief I thought! I welcomed the pain because I wanted things to progress. I couldn’t imagine having diarrhea cramps for weeks. However, 3 cm isn’t enough to be admitted, we were told, so back to the hotel we went.
“When your cramps become more regular, every 3 minutes a part, and you become more snippy, check in again” the midwife suggested. In the mean time, I tried to walk around, pausing multiple times to catch my breath.
A couple hours later, I was FINALLY admitted. My husband kept asking me questions non-stop about what I wanted, needed, and more. All I could say was “if I need something, I’ll let you know. Thanks.” I literally couldn’t talk. I felt like vomiting and had heart burn for the first time in my life.
As my labor progressed, I felt the urge to push before I was even 10 cm dilated. I would have a cramp, then a couple of minutes later, one that made me yell out in pain as it forced my body to push. A gush of blood would come out as this happened and I felt extremely uncomfortable because the pain was in my back and butt! It would take my breath away. However, the pain was still tolerable, believe it or not.
I had a volunteer doula come in that night who helped me breathe, rubbed my back, and encouraged me. She helped me be aware of my voice and how I could use it to save energy and get through the pain. Unfortunately, she couldn’t stay the whole night, but the time she spent with me truly made a difference. Even though labor was hard work and painful, the right breathing technique and support helped ease the pain. This is probably the number one thing that helped me get through labor!
As I started heading towards my second night of labor, I wondered how much longer I could go on … I questioned if it was even worth it to continue without an epidural? I went into labor without a plan. I wanted to go with the flow and make decisions as they came. I didn’t want to be tied to a bed or deliver on my back or disappointed if my perfect labor didn’t come true, so I left any expectations open. But after my second sleepless night, I started to inquire about pain medications (although deep down inside I knew I could handle more because the pain was still manageable). I was exhausted and sleep would have been nice especially if I didn’t have to feel any pain with an epidural.
There were no walking epidurals available though and I didn’t want to take narcotics (which could make me dizzy), so I continued along, breathing away. A bath was an option too and this I requested and wanted. I was so uncomfortable as things progressed. I couldn’t get in the shower to relax my muscles, but somehow a bath sounded soothing and worth the effort. As soon as the bath was ready, however, I suddenly felt a pop down below as if major pressure had been released from my insides. Immediately, there was a shift. The back and butt pressure/pain I felt was no longer there. It was time to push! I knew as soon as I felt it.
As the baby descended, I felt the burning sensation of the babies head crowning – a temporary stretching sting. The cramps were still there and I had no control over my own pushing. I let my body do its own work and took the breaks my body provided in between each wave of labor. I was standing up giving birth because I couldn’t get onto the bed as I would have liked and was given a stool to put my right foot onto in order to widen my pelvis. Gravity certainly assisted me. However, I never expected to be standing for 50 minutes! My legs were becoming tired and shaky, but I couldn’t move. My energy was sapped and I regretted not exercising more. Standing up was the most comfortable thing to do though and I listened to my body’s cues.
I started to go along with my body’s signals to push, but after a while I felt as if the baby would never come out because things weren’t progressing fast enough. After his head came out, I thought it was all over until I heard my husband say “push, his body is stuck!” I ended up pushing as hard as I could and a gush of fluids came spewing onto the floor. It was the best sense of relief.
The midwives held my baby from under me and told me to grab him. He was screaming, kicking, and punching his way into this life. He was so slippery, I was terrified to grab him. I had never held a baby before. He would be my first. I held my son and put him on my chest. I couldn’t stop looking at him in awe. He was so beautiful to me and I felt overwhelmed with love and joy.
When the umbilical cord finally stopped pulsating, which happened surprisingly quick, my husband carefully snipped it. At this point, I’m glad my husband didn’t pass out. I always joked that he would get queasy and faint, but my husband did amazing!
While holding my son, I had to deliver my placenta which did not hurt at all. In fact, I couldn’t even feel much down below because of the adrenaline pumping throughout my veins.
Looking into my son’s eyes and holding him for the first time was the most incredible thing in the world. The pain that I felt earlier in labor vanished and I felt ecstatic to have made it through. It’s true what they say … After your baby is born, you forget the pain of labor and birth.
At least most of it.
Hello!
Hello! It's nice to meet you! I'm Mary. Thank you for stopping by Stirring Up Delight. I hope you'll find some useful tips, recipes, and reviews or maybe a story or two that you might enjoy. Read More…
Follow me
Subscribe to Blog via Email
Enter your email address to subscribe to this blog and receive notifications of new posts by email.
Email Address
Stirringupdelight.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com
For those of you who were told you might need an endometrial biopsy, here’s my experience, so you can sleep a little better at night. Although I do not know what yours will be like, I can tell you that not all of them turn out horrific like you might’ve read online. Why You Might […]
Kalua pig is a dish from Hawaii that may be intimidating to make if it’s done traditionally, but modern technology has its benefits. You don’t have to roast a pig underground, but instead you can use your slower cooker to make it. How easy is it? Buy some pork butt at the store and toss […]
I’m so excited to be planning my niece’s 1st birthday party this fall! For anyone who really knows me, I absolutely love planning. It is one of my obsessions. After making numerous planning mistakes, however, I would like to share with you some tips I’ve learned along the way. If you are planning your child’s […]
One of my favorite drinks when I return home is plantation iced tea. Last year, when I spent a week back home in Hawaii, I ended up drinking it as often as I found it on the menu. Now that the heat of summer is here, I’m dreaming of returning home to visit again. I really […] | {
"pile_set_name": "Pile-CC"
} |
But something is happening here and you don’t know what it is
Do you, Mr, Jones? (Bob Dylan, 1965)
Rulers seldom know what’s happening, do they? They have the intelligence apparatus and their party politicos feeding them whatever the powerful like to hear, but the assessment of the people can be in delicious discord.
Atal Bihari Vajpayee ordered elections early because his India was shining. He paid the price. Through cries of policy paralysis and corruption, Manmohan Singh went in expecting to be reasonably rewarded. After all, his government had delivered a nearly 7-8% (9-10% by today’s yardstick) rate of growth over most of his ten-year period, unprecedented for a democracy. Yet, the result was a shock.
What was common between the two governments – covering a period of about 16 years of elite section boy-scout optimism – was bubbly talk for much of the time by economists, policy wonks, and the World Bank and the IMF. In the end, the politics probably turned on a less talked about variable: jobless growth, which analysts hadn’t troubled themselves with.
In the strapped situation of lukewarm private sector investment we are in today, and the major employment-generating informal economy sector having taken a hit since demonetisation, no analyst or political planner can afford to overlook jobless growth.
Pakora growth, a close enough synonym, staring the country in the face is hardly a pleasing outcome after four years of “game-changing” economics, no matter how combatively BJP chief Amit Shah defended it in his maiden speech in the Rajya Sabha.
Young Indians of any class, on whose shoulders rides the much-vaunted promise of the demographic dividend, are not amused.
Rampant joblessness is a feature the Modi sarkar shares with the governments of Vajpayee and Singh. Alas, what it does not share with their time in office is a long patch of striking expansion of the economy.
Also Read
Not to put too fine a point on it, we now find ourselves stuck in a time of creeping pessimism, although international capital has done its best to talk up the India story through friendly statements issued by the IMF and the World Bank that the Modi regimes perversely quotes all the time, though it only has to look around to find the truth.
What’s worse, India is slipping when the US and Europe have recovered and when the international price of oil is still in benign territory.
The dim economic outlook is likely to impose a cut-and-run political strategy on the prime minister, although MPs in general, not just of the ruling party, do not like their term cut short.
For Modi, an early election is, therefore, likely to be a political compulsion. In this respect, his story is different from that of Vajpayee’s. The latter had chosen to go to the country early of his own volition in order to seize what his advisors thought might be a bright moment.
The contrast in circumstances Modi finds himself in has been accentuated by the morale-sapping defeat in the recent by-elections in Rajasthan. Ordinarily, losing by-elections is not the end of the world, although ruling parties frequently coast to easy victories in them. However, the BJP lost every one of the 16 Assembly segments that make up the Lok Sabha constituencies of Alwar and Ajmer.
That is a lot of territory to lose in one go and should be a distinct worry for the saffron party. Rajasthan has an old and active RSS network, which in recent times was lubricated through political and social actions of the Hindutva variety, most notably cow vigilante actions. But none of this counted with the voter.
The “secular” realm – jobs, prices, the economy, living conditions – trumped the world of perverse ideas delivered slickly through clever propaganda disseminated not just by fanatical Hindutva outfits but also a section of the fawning media.
Assembly elections in Rajasthan, Madhya Pradesh and Chhatisgarh are due in December this year and the Lok Sabha poll should in the normal course be held in April-May, 2019. However, when the prognosis for the BJP in these states is none too bright – and remember the bad news began to pour in from Modi’s the home state Gujarat, where BJP’s win was so tenuous that the party cannot even celebrate it – and the Rajasthan results hammered home a bitter truth, can the prime minister risk holding the Lok Sabha election after a potentially weak showing in three BJP-ruled states?
This will be the singular consideration guiding the prime minister if he decides to go to the country early, not some high-intentioned thinking on the presumed benefits to the country of holding parliament and state polls simultaneously.
The year 2017 began brilliantly for Modi and Amit Shah with a staggering win in Uttar Pradesh. But the year ended on a sobering note on account of the factors that became evident first in Gujarat and then in Rajasthan – rampant joblessness, farmers’ plight, the woes of the working classes in the ‘rurban’ areas and in cities proper. If a week is a long time in politics, a year is an eternity.
Anand K. Sahay is a journalist who lives and works in New Delhi. | {
"pile_set_name": "OpenWebText2"
} |
Computer assisted learning: the potential for teaching and assessing in nursing.
This article discusses computer assisted learning (CAL) and the importance of applying it in nurse education. The articles recognizes the general technological developments as exemplified by the Teaching and Learning Technology Programme (TLTP) from which ideas about application and benefits came. The ideas from TLTP are hereby used in CAL and applied to nursing and health-care undergraduate programmes in one university. In the light of this experience the main intention of this article is to consider the benefits and costs of introducing computer programmes as part of the teaching provision for nurses and other health-care professionals both at beginner and advanced level. The article further argues that CAL can also be used for patient teaching thus providing transferable skills and benefits for teachers as well as learners, be they students or patients. To support such multiple uses of CAL selected examples will be offered and appropriate conclusions will be drawn. | {
"pile_set_name": "PubMed Abstracts"
} |
Inorganic phosphate uptake in intact vacuoles isolated from suspension-cultured cells of Catharanthus roseus (L.) G. Don under varying Pi status.
Inorganic phosphate (Pi) uptake across the vacuolar membrane of intact vacuoles isolated from Catharanthus roseus suspension-cultured cells was measured. Under low Pi status, Pi uptake into the vacuole was strongly activated compared to high Pi status. Since Pi uptake across the vacuolar membrane is correlated with H+ pumping, we examined the dependency of H+ pumping on plant Pi status. Both H+ pumping and the activities of the vacuolar H+-pumps, the V-type H+-ATPase and the H+-PPase were enhanced under low Pi status. Despite this increase in H+ pumping, Western blot analysis showed no distinct increase in the amount of proton pump proteins. Possible mechanisms for the activation of Pi uptake into the vacuole under low Pi status are discussed. | {
"pile_set_name": "PubMed Abstracts"
} |
Sen. Bernie Sanders (I-VT) will clinch victory in the first-in-the-nation primary in New Hampshire, according to a CNN projection, powered by his strength among blue-collar, younger and more liberal voters. | {
"pile_set_name": "OpenWebText2"
} |
Q:
TextView Not centered in app but centered in match_constraint
I've created a simple activity design using ConstraintLayout.
Whenever I try to center a textView, it does it correctly in the blueprints but never does it in the actual app. Not sure if i am doing something wrong or I'm losing my mind.
Here is the image
Here is the XML code
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/background_green"
tools:context="nz.co.listcosolutions.StartActivity">
<ImageView
android:id="@+id/imageView4"
android:layout_width="160dp"
android:layout_height="163dp"
android:layout_marginEnd="95dp"
android:layout_marginStart="95dp"
android:layout_marginTop="32dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/baby_plant" />
<Button
android:id="@+id/btnNext"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="32dp"
android:layout_marginStart="32dp"
android:layout_marginTop="64dp"
android:text="@string/next"
android:textColor="@color/background_green"
android:textSize="18sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView3" />
<TextView
android:id="@+id/textView3"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="20dp"
android:text="Welcome to My App"
android:textAlignment="center"
android:textColor="@android:color/white"
android:textSize="24sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/imageView4" />
</android.support.constraint.ConstraintLayout>
Im also using the latest version of ConstraintLayout
compile 'com.android.support.constraint:constraint-layout:1.0.2'
A:
You need to add:
android:gravity="center"
to the TextView.
This is the only certain way to center the text inside a TextView object or one of its subclasses.
The android:textAlignment is not working in all the cases and as reported by this answer that it has problems in lower API levels.
| {
"pile_set_name": "StackExchange"
} |
Following the airport shooting, Steube doubled down on his view that license holders ought to bring guns into venues like airports, claiming that gun-free zones are more likely to be targeted by shooters. In fact, most major airports are not gun-free zones, as they have armed and unarmed security personnel. In addition, several studies show the vast majority of mass shootings do not occur in gun-free zones. In his book, "Rampage Nation," Louis Klarevas of the University of Massachusetts found that 93 of 111 mass shootings from 1966 to 2015 occurred in zones in which guns were not prohibited. | {
"pile_set_name": "OpenWebText2"
} |
Adventure Time, Mission Impossible, The A-Team, Harry Potter and the new Ghostbusters are about to land on LEGO Dimensions.
Images of the new additions were picked up by users on /r/LEGO, the source of which seems to be early listings on the Mexican version of Amazon. This pretty much breaks the street date of a LEGO Dimensions announcement which is supposed to happen today (June 9th).
The game already features characters, locations, items and more from popular franchises such as DC Comics, Back To The Future and Scooby-Doo.
Adventure Time was already slated to be a LEGO Ideas official set, so it’s appearance on the subreddit wasn’t such a shock. Mission Impossible and The A-Team, on the other hand, are a complete surprise here.
That being said, we still really like these new additions and would love to play them… if it wasn’t for the fact that the game, in any iteration, has still not been released in South Africa.
It was initially released north of the equator on September 27th, so local interested parties have been waiting for it for quite sometime. Hopefully it’ll arrive here soon. We can dream…
UPDATE 09/06:
Thanks to an official trailer made for E3, we now know that the above leaks are all official. To make the news even better (and to empty your wallet even more), E.T., The Goonies, Gremlins, Teen Titans GO!, Knight Rider and even Sonic will be appearing in the game at a future date.
[Source – /r/ LEGO | {
"pile_set_name": "OpenWebText2"
} |
2017 XIXO Ladies Open Hódmezővásárhely – Doubles
Laura Pigossi and Nadia Podoroska were the defending champions, but both players chose not to participate.
Kotomi Takahata and Prarthana Thombare won the title after Ulrikke Eikeri and Tereza Mrdeža retired in the final at 1–0.
Seeds
Draw
References
Main Draw
XIXO Ladies Open Hódmezővásárhely - Doubles | {
"pile_set_name": "Wikipedia (en)"
} |
Q:
Python Segmentation Fault?
First off, I didnt even know a memory error / segfault was possible in python. Kudos to learning something new!
I have this database I create
database = DBManager(dbEndpoint,dbUser,dbPass,dbSchema)
And then I try to use it in a thread
def stateTimeThreadStart():
database.getTable('CLIENTS')
threads = []
threads.append(threading.Thread(name='State Updater', target=stateTimeThreadStart, args=()))
threads[0].start()
The output is
Segmentation fault: 11
What on earth is going on here? It definetly has something to do with database.getTable('CLIENTS') because when I comment it out the issue does not occur. In addition, I have also tried to pass the database to the thread with no luck. Any ideas?
Thanks!
A:
Segmentation faults in Python can occur due to database connectors. The drivers used to connect to the database are usually coded in a C base, so in case of RAM overload or perhaps other reasons it throws Segmentation Faults.
This is further exacerbated by the fact that you are using multithreading. Most database drivers are known to throw Segmentation Faults if multithreading isn't handled very carefully. Most database driver protocols can not handle multiple threads using the same connection at once.
The rule of thumb is to not share a single connection between threads.
| {
"pile_set_name": "StackExchange"
} |
NEW YORK (CBSNewYork) — A fight between two roommates inside a homeless shelter in Harlem turned deadly Friday morning.
It happened inside a shelter for men with alcohol, drug and mental health problems at 149 W. 132nd St., which is run by the nonprofit Bowery Residents Committee.
Police said the two men got into a dispute in their fifth-floor apartment using kitchen knives, CBS2’s Brian Conybeare reported.
Police say the two roommates pulled out kitchen knives during a dipute. A 44-year-old was killed, and a 39-year-old was critically injured. No charges had been filed as of Friday evening.
A shelter resident, who did not want to give his name, said he heard the fight just after 7 a.m. and that it sounded like somebody fell out of bed.
“I heard something go boom,” the man said, adding that he does not feel safe in the shelter.
Neighbors told CBS2 the block is home to at least three different homeless shelters, and some say the shelter where the incident happened is a constant source of trouble.
“Anytime there’s an ambulance, a fire engine or a police car, we are worried that something happened, and unfortunately now something really bad happened, and that’s scary,” said Francesco Fabba, who has lived on the block since 2009.
He pointed to empty liquor bottles littering the sidewalk as evidence of the ongoing trouble and fear shelter residents cause.
“We try to cope as much as we can with that,” Fabba said.
“Maybe you try to walk on this side of the street and not that side, depends on who’s outside the building,” he added.
Others on the gentrifying street, which includes million-dollar brownstones, say the shelter residents don’t frighten them, that they’re just regular people struggling with mental health issues and trying to get some help.
“Most of them are very kind to me,” said neighbor Moneke Coates. “I’ve never felt threatened.”
Coates said the shelter was there long before a new wave of wealthier people moved in.
“It’s just that they want them out of here,” she said. “It doesn’t look good for them.”
Community activist Iesha Sekou understands both sides, but said the city needs more affordable housing and the homeless system needs to do more screening.
“Mental illness has to definitely be addressed before people are going into shelters,” Sekou said. “We have to assess whether or not there is a danger to other people.”
The Bowery Residents Committee would not go on camera. In an email statement to CBS2, the organization said that it is saddened by what happened. | {
"pile_set_name": "OpenWebText2"
} |
Q:
HP MSA70 / P800 Array Failure - Shows 2 drives in each slot, 13/25 drives "missing"
We have an HP MSA70 with 25 x 600GB HP SAS 10k DP drives, connected to an HP P800 controller. The drives are configured in RAID 6.
Yesterday, some kind of unknown "event" occurred and the array dropped offline. We rebooted the server (running CENTOS 6.2) and upon startup, the Array Controller reported that 13 of the drives are "missing". When we look at the volume in the Array management, there are two entries for each slot for slots 1-12. One shows a 600gb drive and one shows a 0gb drive. There are no more entries after 12.
We contacted HP support, who sent us to Tier 2 support, and after many hours gave up. They said they have never seen this, before (my favorite thing to hear from a vendor).
Has anybody seen this before, and have we lost all of the data?
Thank you.
A:
Old, old, old, old...
CentOS 6.2 is old (6.2, 6 December 2011 (kernel 2.6.32-220))
HP StorageWorks MSA70 is old. (End of Life - October 2010)
HP Smart Array P800 is old. (End of Life - 2010)
So this makes me think that firmware and drivers are also old. E.g. there's no reason to run CentOS 6.2 in 2015... And I'm assuming no effort was made to keep anything current.
This also makes me think that the systems are not being monitored. Assuming HP server hardware, what did the system IML logs say? Are you running HP management agents? If not, important messages about the server and storage health could have been missed.
Did you check information from the HP Array Configuration Utility (or HP SSA)?
But in the end, you've probably suffered a port failure or expander/backplane failure:
How many SAS cables are connected to the enclosure? If 1 cable is connected, then you likely have a backplane issue because of the SAS expander in the enclosure.
If two cables are connected, you may have a SAS cable, MSA70 controller or P800 port failure.
Your data is likely intact, but you need to isolate the issue and determine which one of the above issues is the culprit. Replacing a SAS cable is a lot easier than swapping the MSA70 controller or RAID controller card... but I guess you can get another MSA70 for $40 on eBay...
| {
"pile_set_name": "StackExchange"
} |
POV: Henry vs Martin + a poll
I won’t make claims as to their gifts and charms, but H & M do resemble me in various ways :)
I usually like to write stories from a single point of view. It’s obviously a limited perspective, but I enjoy the constraints. As far as I’m concerned, there’s no such thing as a reliable narrator. Characters misinterpret things, miss things, draw the wrong conclusions, and it can be tricky and fun to work the “truth” into a story alongside the character’s perceptions. For instance, I think it’s obvious to the reader that Martin is DTF from the get-go, but Henry, equipped with the same amount of information, simply doesn’t get it.
When I started writing the Ganymede Quartet books, it seemed obvious to me that the story needed to be told from the master’s point of view. Whether or not he’s actually prepared to take responsibility, the fact remains that Henry’s the one in charge and he sets the tone. It’s Martin’s job to adapt and respond and accommodate and serve. Obviously, Martin is better-equipped to steer this particular ship, but, unfortunately for Henry, the roles in this relationship weren’t assigned based on fitness or merit. If you’ve read A Most Personal Property (GQ Book 1), you know that when the opportunity finally arises for Martin to take charge, he does so with great effect, but he does wait for Henry to create the opportunity. He’s very well-trained.
I think it’s apparent that Martin is miserable for most of AMPP, and writing weeks of self-doubt and misery even greater than Henry’s, from the perspective of a character who has even less power to effect change…I don’t think anyone wants to read that book, actually.
Henry also needed to be the POV character for the main books because Henry is the one who has the most growing to do. They’re both young, both immature, but Martin is less immature, his sense of self is more solid and, well, he’s a lot smarter. Henry learns a lot over the course of the series, which is not to say that Martin doesn’t, but as the one nominally in charge, Henry’s growth has a greater impact on both of them.
It was possibly something of a risk, but I left out or delayed certain trains of thought because Henry isn’t necessarily considering all aspects and implications of the master/slave dynamic from early on in their relationship. He’s very loving, but he’s not the most insightful person, and it takes him awhile to consider things that a savvier fellow might have questioned from the beginning. It really does take Henry a long time to wonder how Martin’s position and training impact the way Martin responds to him.
I anticipate going a little deeper into Martin’s background, in a way, for the story that will accompany Book 3. I also have a pretty good idea which aspect of Book 4 I’ll present from Martin’s perspective. So far, the Martin stories have been really fun to write, and I definitely look forward to doing them. I think they’re so easy and enjoyable to work on because they revisit territory that I’ve already covered from Henry’s perspective to some extent, and when I’m writing Henry, I’m always considering how Martin might view a given situation, as well.
Offering Martin’s POV at all was actually a pretty late development. It occurred to me shortly before publishing A Most Personal Property that the stories I was busy telling myself about Martin’s past would probably be of interest to anyone who was interested in AMPP, and so I quickly wrote A Superior Slave. I hoped that people who enjoyed reading ASS (ugh, that acronym!) for free might be interested in paying for AMPP, and I think that did happen to some small extent. I’ve gotten the impression (whether it’s true or not) that Martin might be the reader favorite by a small margin, so it just seems like a nice idea to continue offering Martin POV stories alongside the main books. While I think a person can enjoy the main books and Henry’s POV without side stories, I like to think Martin’s perspective is a valuable addition.
I plan on adding additional points of view from other characters in the universe. I’ve got stories written about a couple of Henry’s friends to show how slave ownership works in private for other people. I’ve got at least two stories I want to write about Henry’s cousin Jesse. I think Tom gets his own novella :D
With A Proper Lover (GQ Book 2) and A Master’s Fidelity (GQ Book 2.5) released, I’m just going immediately into editing Book 3 and fleshing out the notes I have for the Martin story. I’d had vague ideas about taking a break, but I honestly don’t know what that would mean at this point. I don’t know what I’d be doing during a break! Right now, the idea of downtime just makes me cranky. Knowing that there are people eager for the next books makes me want to work on getting them out. Besides, working on Martin’s POV is a treat :) | {
"pile_set_name": "Pile-CC"
} |
Over every mountain there is a path, although it may not be seen from the valley
I'm now taking commissions, if you're interested in some high quality terrain PM me.
WorldPainter (for creating the map)
Chunky (for rendering the map)
Thanks for stopping by, if you enjoyed this submission please consider leaving a diamond!
The sweeping sunset of the Roughhew Rocks is deceiving. The mountain becomes beautiful, the forests become picturesque and the rugged rocks look tamed. Even the birds sing a loud song heard far and wide over the coastal rocks. Don't be fooled, you're not safe. The beauty is the danger, one feels so safe, so alive, so free in Roughhew. But the same cannot be said for the human. Only two people have escaped Roughhew alive, and the thousands that are enticed here each season are slain. Some say it is nature that kills them, others say it's haunted, some claim the beauty was too much for them. While nobody knows the cause of death of these people there is one thing that cannot be disputed - this region has the highest rate of death in all the land.I like this map but I found it incredibly difficult to get nice renders of it. As such it marks the first map I've made where the cover photo is from the ground rather than a top down isometric view. This map I changed normal smooth stone for rock, a combination of stone and cobblestone, to create a rougher and more rugged terrain and I'm pleased with how it turned out. I also used gravel in the valleys to show heavy erosion and an unstable land, despite the towering mountain looming over it.I used the following tools to create this map: | {
"pile_set_name": "OpenWebText2"
} |
The terrifying 38-minute ordeal suffered by Hawaii residents on Saturday, when the state’s emergency-management agency sent out a false alert warning of an imminent ballistic-missile strike amid rising tensions with North Korea, seems to have sparked an unusually rapid response on Capitol Hill.
Hawaii’s Sen. Brian Schatz, a Democrat on the Senate Commerce Committee, told National Journal that he is working with other Senate Democrats on a bill that would implement a federal best-practice framework for the ballistic-missile-alert systems administered by U.S. states, localities, and territories. And while Republicans don’t appear to be involved in the process, relevant GOP chairs in both chambers have expressed a willingness to work with Schatz on the issue.
Initial reports indicate that Hawaii’s screwup—which sent people across the archipelago scrambling for shelter before the all-clear was called more than a half-hour later—was because of an employee mistakenly pressing the wrong link on a confusingly designed interface. But for something as serious as a ballistic-missile alert, Schatz suggested that the potential for human error can, and should, be mitigated through federal safeguards.
“You want a system that accounts for the fact that somebody may be sleepy or careless, or an interface may not be the most user-friendly, and yet it all works anyway,” Schatz said. “We have best practices for disaster notifications for natural disasters, for terrorism events. We just don’t have it for this.”
On Wednesday, Schatz said he had convened a phone call with officials from the Federal Communications Commission, the Homeland Security Department, the Pentagon, and other relevant agencies to address the inconsistency.
“We think it should be done legislatively, but I don’t know that for sure yet,” he told reporters, explaining that the ultimate goal is to craft “a federal law to establish a framework that states can use.”
The way America’s missile-alert system operates is fundamentally different from how citizens are alerted to most other catastrophes, when local authorities often possess the best information. While states and cities are ultimately responsible for alerting civilians of an imminent attack, they lack the ability to detect and track incoming missiles.
In the seconds and minutes after a launch, details of the threat would have to cascade through phone calls from the Pentagon to DHS. From there, officials at the Federal Emergency Management Agency would send the warning to at-risk states and localities, whose own alert systems would only then spring into life.
That chain of causation was disrupted on Saturday. But David Simpson, a former admiral in the U.S. Navy who ran the FCC’s Public Safety and Homeland Security Bureau from November 2013 to January 2017, said federal legislation should seek to dismantle that outdated process altogether.
“That’s a 1950s kind of structure,” Simpson said, arguing that machine-to-machine communication technology should be utilized to eliminate lag time and cut down on human error.
One way to do that could be for the FCC to create, at the direction of Congress, a unique wireless-alert category for ballistic-missile threats. “That would then ensure that the machine elements of this system could be built around that narrow bucket,” Simpson said.
But that still wouldn’t solve the problem entirely. “The machine-to-machine piece of that, so it could be really useful, would require DHS and [Defense Department] plumbing changes that would be beyond the authorities of the FCC,” Simpson said.
Simpson largely endorsed Schatz’s plan for a uniform federal missile-alert framework that states and localities can follow. “There’s over 1,000 alert originators at the state and local level, and I would say five, six, seven vendors for the user-interface systems,” he said.
In a bid to improve innovation, DHS gave state governments broad leeway to design their own missile-alert interfaces. But Simpson said that decision has clearly come with a cost.
“That variation is fine for notification about fire, notification about a tsunami coming in,” Simpson said. “But ballistic-missile warnings ought to be consistent, reliable, secure—because we don’t want it cyberattacked—across the entire country.”
Republicans seem receptive to Schatz’s plan for missile-alert legislation. Schatz said he plans to introduce his bill through the Senate Commerce Committee, which is chaired by Republican John Thune. Frederick Hill, a Thune spokesman, told National Journal that the chairman “is considering convening a full committee hearing which would help inform legislative efforts.”
House Republicans are further along than their Senate counterparts, with plans to hold an Energy and Commerce hearing on Hawaii’s false missile alert in the coming weeks. On Wednesday, committee chairman Greg Walden said he would be “happy to work” with Schatz on legislation, if needed. “We just haven’t got into the weeds on it,” Walden said.
As long as lawmakers can work out issues surrounding committee and agency jurisdiction, Simpson said the chances for bipartisan support are high. But stakeholders from Homeland Security and the Pentagon—as well as the congressional committees that oversee them—will also need to weigh in. And Simpson worries those agencies may be loath to take responsibility for what’s widely viewed as a state-level mistake.
“It’s a perfect bipartisan issue, as long as we don’t let the various lobbies and the competition between agencies pervert and potentially dilute the ultimate outcome,” Simpson said.
"Two more House Republicans have joined the discharge petition to force votes on immigration, potentially leaving centrists just two signatures short of success. Reps. Tom Reed (R-N.Y.) and Brian Fitzpatrick (R-Pa.) signed the discharge petition Thursday before the House left town for the Memorial Day recess. If all Democrats endorse the petition, just two more GOP signatures would be needed to reach the magic number of 218."
Source:
FIRED FROM RUSSIAN LAUNCHER
Investigators Pin Destruction of Malaysian Airliner on Russia
3 hours ago
THE DETAILS
"A missile that brought down Malaysia Airlines Flight 17 in eastern Ukraine in 2014 was fired from a launcher belonging to Russia's 53rd anti-aircraft missile brigade, investigators said Thursday. The announcement is the first time the investigative team has identified a specific division of the Russian military as possibly being involved in the strike. Russia has repeatedly denied involvement in the incident."
Source:
THREE INTERVIEWS PLANNED FOR JUNE
House GOP Will Conduct New Interviews in Clinton Probe
3 hours ago
THE LATEST
"House Republicans are preparing to conduct the first interviews in over four months in their investigation into the FBI’s handling of the Clinton email probe. A joint investigation run by the Judiciary and Oversight Committees has set three witness interviews for June, including testimony from Bill Priestap, the assistant director of the FBI’s counterintelligence division, and Michael Steinbach, the former head of the FBI’s national security division."
Source:
IN OPEN LETTER TO KIM JONG UN
Trump Cancels North Korea Summit
5 hours ago
THE LATEST
GANG OF EIGHT WILL GET SEPARATE MEETING
Briefings at White House Will Now Be Bipartisan
7 hours ago
THE LATEST
"The White House confirmed Wednesday it is planning for a bipartisan group of House and Senate leaders, known as the 'Gang of 8,' to receive a highly-classified intelligence briefing on the FBI's investigation into Russian meddling, reversing plans to exclude Democrats altogether. ABC News first reported the plans to hold a separate briefing for Democrats, citing multiple administration and congressional sources. While details of the bipartisan meeting are still being worked out, a Republican-only briefing will go on as scheduled Thursday." | {
"pile_set_name": "Pile-CC"
} |
HONG KONG — July 4th may be a holiday for Americans, but in China it is the eve of nationwide release of “Man Of Tai Chi,” the feature directing debut of Keanu Reeves.
That’s a big deal for the Canadian star and part of a giant screen success story for China.
In addition to the film’s July 5 release in an initial 1,600 conventional digital theaters, “Man Of Tai Chi” has also been re-mastered to a large screen format with IMAX DMR technology.
IMAX insiders report that the picture has no edits or narrative differences from the conventional version, other than by now standard reworked image and sound enhancements.
The film is one of the first Chinese-language movies (it is actually in Mandarin, Cantonese and English) to be made in China by a North American and is a genuine made-in-China co-venture involving China Film Group, Wanda Media, Village Roadshow Pictures Asia, and Universal Pictures.
The contemporary action-drama was shot in Beijing and Hong Kong and is described as “the spiritual journey of a young martial artist,” who is lured into the dark world of underground combat with promises of money, glamour and power. It has also been getting a lot of heat as the star has put in thousands of air miles touring the major cities of the Middle Kingdom and doing promo work at the recent Beijing, Shanghai and Cannes festivals.
The giant screen brand has been popular with China’s status-obsessed new middle classes. Chinese audiences are willing to pay hefty premium prices for the giant screen and amped up sound systems.
So popular that more movies are being made or converted for the format and that earlier this year IMAX quietly dropped its previous policy of just showing a single title on each screen. “Man of Tai Chi” will have to compete for screen space with “Man of Steel,” and by Variety’s count it appears to be getting play at some 116 venues in its opening frame.
Chinese, and to a lesser extent Korean, producers have been the keenest non-Hollywood film-makers to embrace IMAX presentation and in Sept 2012 leading local studio Huayi Brothers pacted with IMAX to deliver a minimum of seven future movies in IMAX format.
More than half a dozen Chinese films have been made or converted into IMAX, four flowing from Huayi; the Feng Xiaogang-directed “Aftershock” and “1942,” and the Stephen Fung comedy action pair “Tai Chi Zero” and “Tai Chi Hero.” Other studios have also jumped in: CFG with “The Great Revival;” Bona Film Group with Tsui Hark’s “Flying Swords of Dragon Gate;” and the Jackie Chan production-starring vehicle “CZ12,” which Huayi released.
IMAX is a huge commercial success story in China. As of March this year, the company had 110 screens in operation in China, compared with just 10 in 2010. That makes China IMAX’s second biggest territory behind the US and its top international location.
China has witnessed some of the most gargantuan orders for new screens. While cinema chains in other territories have ordered IMAX screens in ones and twos, Dalian Wanda in March 2011 put in an order for 75 screens. In Nov 2012 South Korea’s CGV booked 15 IMAX screens for its expanding Chinese theater circuit. With some 120-plus giant screens committed or under construction in China, IMAX has branch offices in both Beijing and Shanghai and last year launched a dedicated Chinese-language website.
(Clifford Coonan in Beijing also contributed to this story.) | {
"pile_set_name": "OpenWebText2"
} |
South Africa’s top financial institutions have recommend in a new report that whistle-blowing be rewarded in an environment of growing corruption and mismanagement.
The 2018 Financial Markets Review, published by the South African Reserve Bank (SARB), in conjunction with Financial Sector Conduct Authority (FSCA), noted that international cases of misconduct in wholesale financial markets have focused the attention of regulators and market participants on measures to strengthen standards of market practice; and increase the accountability of financial institutions and individuals for the ethos and conduct of business.
“Following the global financial crisis of 2007–08, it was observed that senior executives and senior managers in many financial intuitions had a laissez-faire attitude towards corporate governance principles and risk culture within their institutions,” the Reserve Bank said.
“The international focus on strengthening codes and standards in light of misconduct scandals means that South Africa cannot afford to be complacent,” it said.
As a result, South Africa’s financial sector authorities – National Treasury, the South African Reserve Bank (SARB) and the FSCA established the Financial Markets Review Committee (FMRC) to develop recommendations to reinforce conduct standards in wholesale financial markets.
The report would focus on specific tools to strengthen the implementation and governance of conduct standards by market participants; and areas where changes to financial markets legislation and associated subordinate legislation are required to support a new conduct framework.
Recommendations by Treasury in the Financial Markets Review, include, among other things, that regulators consider implementing a programme that rewards whistle-blowers for providing information about substantial misconduct in financial markets that leads to a successful enforcement action with monetary sanctions.
The report noted that in more opaque markets, whistle-blowers who inform regulators of suspected instances of misconduct can be a vital source of information to support regulation against misconduct.
“Market regulators can incentivise market participants to provide such information by ensuring that necessary protections are in place so that no retaliation is taken against a whistle-blower for disclosure of information and, in certain circumstances, monetary rewards are provided,” it said.
In the UK, the report highlighted that banks, building societies, large investment firms and insurers are required to establish and maintain an independent whistle-blowing channel through which staff may make disclosures.
These firms are also required to appoint a senior individual as a whistle-blowers’ champion to ensure the effectiveness of the whistle-blowing arrangements.
In the US, the Securities and Exchanges Commission (SEC) has established a whistle-blower programme in terms of which the SEC is authorised to pay an award of between 10% and 30% of amounts collected if an eligible whistle-blower voluntarily provides original information that leads to a successful enforcement action with monetary sanctions exceeding $1 million.
In terms of whistle-blower protection, under the Wall Street Reform and Consumer Protection Act of 2010 (Dodd-Frank Act), “no employer may discharge, demote, suspend, threaten or harass, directly or indirectly, or in any other manner discriminate against, a whistle-blower in the terms and conditions of employment because of any lawful act done by the whistle-blower”.
An individual may bring a private right of action in federal court against his/her employer for such retaliation. In addition, the SEC may bring an enforcement action against a company for violation of these anti-retaliation provisions, the report stated.
In South Africa, Treasury pointed out that whistle-blowers are protected by legislation.
“The Protected Disclosures Act 26 of 2000 makes provision for employees to report unlawful or irregular conduct by employers and fellow employees while providing protection for employees who blow the whistle.”
“The Act provides such protection for any disclosure made in good faith by an employee who reasonably believes that the information disclosed, and any allegation contained in it, is substantially true, and who does not make the disclosure for purposes of personal gain, excluding any reward payable in terms of any law.”
Read: The 10 biggest complaints on SA’s anti-corruption hotline | {
"pile_set_name": "OpenWebText2"
} |
This application is based upon and claims the benefit of priority from the prior Japanese Patent Application No. 2000-159163, filed Mar. 31, 2000, the entire contents of which are incorporated herein by reference.
The present invention relates to a method of forming a composite member, in which a conductive portion is formed in an insulator, the composite member being used in, for example, a wiring board in the fields of electric appliances, electronic appliances and electric and electronic communication. The present invention also relates to a photosensitive composition and an insulating material that can be suitably used in the manufacturing method of the composite member. Further, the present invention relates to a composite member manufactured by the manufacturing method of the present invention and to a multi-layer wiring board and an electronic package including the particular composite member.
In recent years, increase in the degree of integration and miniaturization of various electric and electronic parts including a semiconductor device are being promoted. The particular tendency will be further promoted in the future without fail. In this connection, various measures are being proposed and tried in an attempt to apply a high density mounting to a printed circuit board including formation of a fine pattern and a fine pitch of a metal wiring and formation of a steric wiring.
Particularly, the steric wiring is indispensable to a high density mounting and, thus, various methods are being proposed in an attempt to manufacture a wiring board having a steric wiring. In general, the steric wirings are of a multi-layered structure such as a built-up wiring board prepared by laminating two dimensional printed wiring boards and a multi-layered wiring board. It is difficult to form a steric wiring having a free three dimensional shape. The built-up wiring board or the multi-layered wiring board has a structure that adjacent wiring layers are connected to each other by a conductive column called via. The via is formed by processing an insulating layer by a photolithography process using a photosensitive polyimide or resist, followed by selectively applying a plating to the via or by filling the via with a conductive paste. For forming a via by such a method, it is necessary to repeat a plurality of times the steps of resist coating, light exposure and etching, making the via formation highly laborious. In addition, it is difficult to improve the yield.
It is also possible to form the via by forming a through-hole (via hole) of a predetermined size in an insulating substrate constituting a printed wiring board by using a drill or a CO2 laser, followed by applying plating to the via hole or by filling the via hole with a conductive paste. In these methods, however, it is difficult to form freely a fine via having a size of scores of microns or less at a desired position.
In the method disclosed in Japanese Patent Disclosure No. 7-207450, a compound having a hydrophilic group is introduced into pores of three dimensional porous film such as a PTFE film. Under this condition, the film is subjected to a light exposure in a predetermined pattern by using a low pressure mercury lamp (wave lengths of 185 nm and 254 nm), thereby forming the hydrophilic group on the three dimensional porous film. Further, a metal plating is applied to the three dimensional porous film.
In the conventional method described above, however, the material forming the three dimensional porous film is deteriorated because a light beam having a short wavelength is used for the light exposure. Also, the light for the light exposure is absorbed by the three dimensional porous film and, thus, fails to reach the inner region of the porous body, resulting in failure to form fine vias.
Further, in the conventional method described above, the PTFE forming the three dimensional porous film reacts with the light for the light exposure so as to selectively form hydrophilic groups. However, PTFE is defective in that the molding workability is low and that PTFE is costly.
Another method of forming a via is disclosed in Japanese Patent Disclosure No. 11-24977. In this method, the entire surface of a porous insulating member is impregnated with a photosensitive composition containing, for example, a photosensitive reducing agent and a metal salt. Then, a light exposure is applied in a predetermined pattern to the impregnated insulating member so as to reduce the cation of the metal salt in the light exposed portion to a metal nucleus, followed by removing by washing the photosensitive composition in the non-light exposed portion. Further, an electroless plating or a soldering is applied to the residual metal nuclei so as to form vias of a predetermined pattern.
In the method described above, however, the entire surface of the porous insulating member is impregnated with a photosensitive composition containing a metal salt as described above, making it difficult to remove completely the metal salt adsorbed on the portion corresponding to the non-exposed portion after the light exposure step. As a result, a difficulty is brought about that the metal nuclei are precipitated on undesired portions in the subsequent reducing step. Such an abnormal deposition of the metal nuclei gives rise to a problem in terms of the insulating properties between adjacent vias and between adjacent wiring layers with progress in the fine pulverization of the pattern.
Also, in the via formed in the insulating substrate by the conventional method of manufacturing a wiring board, the insulating body and the conductive portion are brought into a direct contact. In this case, since the adhesion between the insulating body and the conductive portion is poor, a problem is generated that the conductive portion is peeled off the insulating substrate during the use.
Further, where a multi-layered wiring board is prepared by laminating a plurality of wiring boards manufactured by the conventional method of manufacturing a wiring board, it is required to further improve the electrical connection between the wiring layers of the wiring boards and the conductivity of the wiring.
An object of the present invention is to provide a method of manufacturing a composite member, which has a high degree of freedom in the design of a conductive circuit, in which deterioration of the insulating body is not brought about by the light exposure, and which is free from an abnormal deposition of a metal on the insulating body so as to form a conductive portion having a fine pattern.
Another object of the present invention is to provide a method of manufacturing a composite member, which has a high degree of freedom in the design of a conductive circuit, which permits manufacturing a composite member at a low manufacturing cost without giving adverse effects to the selectivity of the material of the insulating portion and to the molding workability, and which is free from an abnormal deposition of a metal on the insulating body so as to form a conductive portion having a fine pattern.
Another object of the present invention is to provide a photosensitive composition and an insulating material used for the manufacturing method of a composite member described above.
Another object of the present invention is to provide a composite member manufactured by the method described above.
Another object of the present invention is to provide a multi-layered wiring board comprising a composite member manufactured by the method described above.
Still another object of the present invention is to provide an electronic package using a composite member or a multi-layered wiring board manufactured by the method described above.
According to a first aspect of the present invention, there is provided a method of manufacturing a composite member in which a conductive portion is selectively formed in an insulating body, comprising:
(1) forming a photosensitive composition layer within or on the surface of said insulating body, said photosensitive composition containing a compound forming an ion-exchange group upon irradiation with light having a wavelength not shorter than 280 nm;
(2) exposing selectively the photosensitive composition layer to light having a wavelength not shorter than 280 nm so as to form ion-exchange groups in the light exposed portion; and
(3) forming the conductive portion by bonding a metal ion or metal to the ion-exchange group formed in the light exposed portion by the exposing.
According to a second aspect of the present invention, there is provided a method of manufacturing a composite member in which a conductive portion is selectively formed in an insulating body, comprising:
(1) forming a photosensitive composition layer within or on the surface of said insulating body, said photosensitive composition containing a compound having an ion-exchange group;
(2) exposing selectively the photosensitive composition layer to light having a wavelength not shorter than 280 nm so as to cause ion-exchange groups in the light exposed portion to disappear and to cause the ion-exchange groups to remain in the unexposed portion; and
(3) forming the conductive portion by bonding a metal ion or metal to be bonded to the ion-exchange group remaining in the unexposed portion after the exposing.
According to a third aspect of the present invention, there is provided a method of manufacturing a composite member in which a conductive portion is selectively formed in an insulating body, comprising:
(1) forming a photosensitive composition layer within or on the surface of said insulating body, said photosensitive composition containing a compound forming an ion-exchange group upon irradiation with light, and said compound being selected from the group consisting of an onium salt derivative, a sulfonium ester derivative, a carboxylic acid derivative and a naphthoquinone diazide derivative;
(2) exposing selectively the photosensitive composition layer to light so as to form ion-exchange groups in the light exposed portion; and
(3) forming the conductive portion by bonding a metal ion or metal to the ion-exchange group formed in the light exposed portion by the exposing.
According to a fourth aspect of the present invention, there is provided a method of manufacturing a composite member in which a conductive portion is selectively formed in an insulating body, comprising:
(1) forming a photosensitive composition layer within or on the surface of said insulating body, said photosensitive composition containing a compound having an ion-exchange group;
(2) exposing selectively the photosensitive composition layer to light so as to cause ion-exchange groups in the light exposed portion to disappear and to cause the ion-exchange groups to remain in the unexposed portion; and
(3) forming the conductive portion by bonding a metal ion or metal to the ion-exchange group remaining in the unexposed portion after the light exposure in a pattern.
According to a further aspect of the present invention, there is provided a method of manufacturing a composite member in which a conductive portion is selectively formed in an insulating body, comprising:
(1) forming a photosensitive composition layer within or on the surface of said insulating body, said photosensitive composition containing a compound forming an ion-exchange group in the presence of acid and a photo acid generating agent;
(2) exposing selectively to light and heating the photosensitive composition layer so as to form ion-exchange group in the light exposed portion; and
(3) forming the conductive portion by bonding a metal ion or metal to the ion-exchange group formed in the light exposed portion by the exposing.
It is desirable for the method of the present invention to further comprise the step of applying an electroless plating to the surface of the conductive portion formed in the third step.
According to another embodiment of the present invention, there is provided a photosensitive composition used for manufacturing a composite member, the composition containing a naphthoquinone diazide derivative and a polycarbodiimide derivative.
According to another embodiment of the present invention, there is provided a porous insulating body having the inner surface of the pore covered with a photosensitive composition containing a naphthoquinone diazide derivative.
According to another embodiment of the present invention, there is provided a composite member having a conductive portion formed on at least one of the surface and the inner region of a porous insulating body via an organic compound, wherein the amount of the organic compound, which is present between the insulating body and the conductive portion, per unit area of the surface of the insulating body is larger than the amount of the organic compound that is not in contact with the conductive portion.
According to another embodiment of the present invention, there is provided a multi-layered wiring board including a plurality of substrates that are laminated one upon the other, wherein the substrate comprises a porous insulating body having fine pores and a conductive portion formed on at least one of the surface and the inner region of the fine pore of the porous insulating body, and a layer formed of a conductive body that does not contain the component of the insulating body is formed on the outermost surface of the conductive portion of each substrate.
Further, according to still another embodiment of the present invention, there is provided an electronic package comprising a wiring board consisting of the composite body described above or a multi-layered wiring board described above and an electronic part electrically connected to the wiring board. | {
"pile_set_name": "USPTO Backgrounds"
} |
The Indian supermarket will add 4,000 square feet to its current space. View Full Caption DNAinfo/Katie Honan
JACKSON HEIGHTS — Indian grocery store Patel Brothers is planning a renovation and expansion at its 74th Street location that will feature a larger produce section and wider aisles, according to its manager.
The 7,000-square-foot store, which opened at 37-27 74th St. in 1984, will grow by another 4,000 square feet by taking over the former Mumbai Grill next door, manager Dapash Patel said.
The owners wanted to create more space in the busy supermarket, which is known for its authentic Indian groceries, spices and imported food.
"This is too small," Patel said. "It's getting a little crowded."
The expansion should be finished in August, and will create wider aisles and a larger produce department and frozen food aisle, according to Patel.
The store will stay open during construction, and its existing space will also be renovated once the expansion is complete, he said.
The Patel brothers opened their first supermarket in 1974 in Chicago, and now have 53 locations across the country. | {
"pile_set_name": "OpenWebText2"
} |
Dorsomedial hypothalamic lesions alter intake of an imbalanced amino acid diet in rats.
Within 3 h of ingesting an imbalanced amino acid diet (IAAD), rats show attenuated intake. The associated conditioned taste aversion can be ameliorated by giving the serotonin3 receptor blocker, tropisetron (TROP). A recent c-fos study indicated that the dorsomedial hypothalamic nucleus (DMN) may be activated 2-3 h after ingestion of IAAD. In Experiment 1, DMN-lesioned rats (DMNL) or sham-operated (SHAM) rats were injected with saline (SAL) or TROP just before introduction of IAAD. By 3 h, SAL-DMNL rats consumed more (P < 0.01) of the IAAD than did the SAL-SHAM rats. Thereafter, over the next 21 h, the intake of the SAL-DMNL group returned to control levels. TROP treatment enhanced the intake of the treated groups; the TROP and the lesion effect were additive (P < 0.01). By d 4 of receiving the IAAD, the DMNL groups were eating less than SHAM rats (P < 0.05). The data suggest that the DMN may be involved in the early detection of the amino acid deficiency induced by IAAD, is not involved in the TROP effect and is necessary for proper long-term adaptation to an IAAD. | {
"pile_set_name": "PubMed Abstracts"
} |
Tag: Eloy Casados
Original US release date: December 5, 2008 Production budget: $25,000,000 Worldwide gross: $27,426,335 There are timely films and then there are films that are before their time. Ron Howard is probably seen by most as a director who frequently makes good or very good films and occasionally makes a great one. Most recently, a lot... Continue Reading → | {
"pile_set_name": "Pile-CC"
} |
The present invention relates generally to improved means and methods for processing documents using electronic imaging, and more particularly, to the use of electronic imaging for processing financial documents, such as checks and related documents in a banking environment.
Today's financial services industry is facing the immense challenge of processing huge amounts of documents efficiently. Predictions that document payment methods would decline have not been realized. In fact, document payment methods have grown worldwide and are expected to continue increasing. There is thus a vital need to devise improved means and methods for processing such documents.
The use of imaging technology as an aid to document processing has been recognized as one way of significantly improving document processing, as disclosed, for example, in U.S. Pat. Nos. 4,205,780, 4,264,808, and 4,672,186. Generally, imaging involves optically scanning documents to produce electronic images that are processed electronically and stored on high capacity storage media (such as magnetic disc drives and/or optical memory) for later retrieval and display. It is apparent that document imaging provides the opportunity to reduce document handling and movement, since these electronic images can be used in place of the actual documents.
However, despite technological advances in imaging in recent years, prior art document processing systems employing imaging, such as disclosed in the aforementioned patents, do not realized sufficient improvements to justify the added implementations costs. | {
"pile_set_name": "USPTO Backgrounds"
} |
At our best, we motivate ourselves every day to get dressed and go to work or school. Although there are larger incentives at work, it's our own volition that powers us through our innumerable daily tasks.
If we could learn to control the motivational centers of our brains that drive volition, would it lead us toward healthier, more productive lives? Using a new brain imaging strategy, Duke University scientists have now taken a first step in understanding how to manipulate specific neural circuits using thoughts and imagery.
The technique, which is described in the March 16 issue of the journal Neuron, is part of a larger approach called 'neurofeedback,' which gives participants a dynamic readout of brain activity, in this case from a brain area critical for motivation.
"These methods show a direct route for manipulating brain networks centrally involved in healthy brain function and daily behavior," said the study's senior investigator R. Alison Adcock, an assistant professor of psychiatry and behavioral sciences and associate director of the Center for Cognitive Neuroscience in the Duke University Institute for Brain Sciences.
Neurofeedback is a specialized form of biofeedback, a technique that allows people to monitor aspects of their own physiology, such as heart rate and skin temperature. It can help generate strategies to overcome anxiety and stress or to cope with other medical conditions.
Neurofeedback has historically relied on electroencephalography or EEG, in which patterns of electrical activity are monitored noninvasively by electrodes attached to the scalp. But these measures provide only rough estimates of where activity occurs in the brain.
advertisement
In contrast, the new study employed functional magnetic resonance imaging (fMRI), which measures changes in blood oxygen levels, allowing more precisely localized measurements of brain activity.
Adcock's team has been working on ways to use thoughts and behavior to tune brain function for the past eight years. In this time, they've developed tools allowing them to analyze complex brain imaging data in real time and to display it to participants as neurofeedback while they are in the fMRI scanner.
This study focused on the ventral tegmental area (VTA), a small area deep within the brain that is a major source of dopamine, a neurochemical well known for its role in motivation, experiencing rewards, learning, and memory.
According to Adcock's previous research, when people are given incentives to remember specific images, an increase in VTA activation before the image appears predicts whether the participants are going to successfully remember the image.
External incentives like money work well to stimulate the VTA, but it was unclear whether people could exercise this area on their own, said co-author Jeff MacInnes, a postdoctoral researcher in Adcock's lab.
advertisement
In the new study, the team encouraged participants in the scanner to generate feelings of motivation -- using their own personal strategies -- during 20-second intervals. They weren't able to raise their VTA activity consistently on their own.
But when the scientists provided participants with neurofeedback from the VTA, presented in the form of a fluctuating thermometer, participants were able to learn which strategies worked, and ultimately adopt more effective strategies. Compared to control groups, the neurofeedback-trained participants successfully elevated their VTA activity.
Participants reported using a variety of different motivational strategies, from imagining parents or coaches encouraging them, to playing out hypothetical scenarios in which their efforts were rewarded, said co-author Kathryn Dickerson, a postdoctoral researcher in Adcock's group.
The self-generated boost in VTA activation worked even after the thermometer display was removed. Only the participants who had received accurate neurofeedback were able to consistently raise their VTA levels.
"Because this is the first demonstration of its kind, there is much still to be understood," Adcock added. "But these tools could offer benefits for everyone, particularly those with depression or attention problems."
The neurofeedback training also activated other regions involved in learning and experiencing rewards, confirming that, at least in the short term, the brain changes its activity more broadly as a result of neurofeedback, Dickerson said.
Adcock said one caveat of the study is that the team has not tested whether the neurofeedback drove changes in behavior. The group is working on those studies now and also plans to conduct the same study in participants with depression and attention deficit hyperactivity disorder (ADHD).
This research was supported by the National Institute of Mental Health (MH9743, MH100764), the Alfred P. Sloan Foundation, the Esther A. & Joseph Klingenstein Fund, and the Dana Foundation. | {
"pile_set_name": "OpenWebText2"
} |
The summaries of the Colorado Court of Appeals published opinions
constitute no part of the opinion of the division but have been prepared by
the division for the convenience of the reader. The summaries may not be
cited or relied upon as they are not the official language of the division.
Any discrepancy between the language in the summary and in the opinion
should be resolved in favor of the language in the opinion.
SUMMARY
February 8, 2018
2018COA12
No. 14CA0144, People v. Trujillo — Criminal Law — Sentencing
— Probation — Indeterminate Sentence
A division of the court of appeals considers whether a
Colorado statute authorizes imposition of a sentence to an
indeterminate term of probation and whether the defendant was
entitled to the benefit of amendments to the statute criminalizing
theft. Relying on People v. Jenkins, 2013 COA 76, 305 P.3d 420,
the division concludes that section 18-1.3-202(1), C.R.S. 2017,
provides statutory authority for the imposition of an indeterminate
probation sentence. Following People v. Stellabotte, 2016 COA 106,
___ P.3d ___ (cert. granted Feb. 6, 2017), the majority further
concludes that the defendant is entitled to the benefit of
amendments to the theft statute. The partial dissent concludes
that the amendments to the theft statute do not apply retroactively,
and would therefore affirm the sentence in full.
Additionally, the division rejects the defendant’s contentions
that reversal is required due to the trial court’s rejection of
defense-tendered jury instructions, wrongfully admitted character
evidence, and prosecutorial misconduct. However, the division
remands for the trial court to make findings of fact concerning the
assessment of the costs of prosecution.
Accordingly, the division affirms the conviction, affirms the
sentence in part, vacates the sentence in part, and remands the
case with directions.
COLORADO COURT OF APPEALS 2018COA12
Court of Appeals No. 14CA0144
Mesa County District Court No. 11CR447
Honorable Valerie J. Robison, Judge
The People of the State of Colorado,
Plaintiff-Appellee,
v.
Michael Floyd Trujillo,
Defendant-Appellant.
JUDGMENT AFFIRMED, SENTENCE AFFIRMED IN PART AND
VACATED IN PART, AND CASE REMANDED WITH DIRECTIONS
Division I
Opinion by JUDGE TAUBMAN
Richman, J., concurs
Furman, J., concurs in part and dissents in part
Announced February 8, 2018
Cynthia H. Coffman, Attorney General, Joseph G. Michaels, Assistant Attorney
General, Denver, Colorado, for Plaintiff-Appellee
Douglas K. Wilson, Colorado State Public Defender, James S. Hardy, Deputy
State Public Defender, Denver, Colorado, for Defendant-Appellant
¶1 Defendant, Michael Floyd Trujillo, appeals his judgment of
conviction entered on a jury verdict finding him guilty of one count
of theft of more than $20,000 and one count of criminal mischief of
$20,000 or more. He also appeals his sentence. We perceive no
basis for reversing his convictions, but remand for the trial court to
make findings of fact regarding the assessment of the costs of
prosecution and to reclassify his theft conviction as a class 4 felony.
I. Background
¶2 In 2007, Trujillo began building a home, doing much of the
labor himself and initially using his own money to fund the project.
He later took out a construction loan from the victim, a bank, for
just under $255,000. After construction was completed on the
house, Trujillo stopped making his monthly loan payments. The
bank declined to restructure the loan and initiated foreclosure
proceedings in September 2010.
¶3 Before the foreclosure sale, Trujillo removed or destroyed
property in the house, including kitchen cabinets, countertops,
interior and exterior doors, doorjambs and casings, flooring,
baseboards, light fixtures, bathroom fixtures, the fireplace,
handrails, the boiler, the air conditioner, and the garage door.
1
Because of this damage, the house was appraised at $150,000;
however, the appraiser estimated that if the house were in good
repair, it would have been worth $320,000.
¶4 Trujillo was charged with defrauding a secured creditor, theft
of $20,000 or more, but less than $100,000, and criminal mischief
of $20,000 or more, but less than $100,000. The jury found him
not guilty of defrauding a secured creditor and guilty of theft and
criminal mischief.
¶5 On appeal, Trujillo raises six contentions: (1) the trial court
erred in rejecting defense-tendered jury instructions; (2) the trial
court erred in allowing evidence of a prior foreclosure against
Trujillo; (3) prosecutorial misconduct during direct examination of a
witness and closing rebuttal argument warrants reversal; (4) the
trial court imposed an illegal sentence of indeterminate probation;
(5) the trial court erred in awarding the People costs of prosecution;
and (6) an amendment to the theft statute applies to his conviction.
We perceive no basis for reversal with respect to the first four
contentions, but agree with Trujillo’s final two contentions. We
therefore affirm the convictions and the sentence in part but vacate
the sentence in part and remand with directions.
2
II. Jury Instructions
¶6 Trujillo asserts that the trial court erred in rejecting various
jury instructions regarding his theory of the case. We disagree.
A. Additional Facts
¶7 Throughout trial, the defense’s theory of the case was that
Trujillo lacked the requisite intent to commit the charged offenses
because he believed that the property he removed from the house
belonged to him. The defense tendered five jury instructions related
to this theory of the case.
¶8 Trujillo’s tendered jury instructions detailed property law
concepts. For example, the first tendered instruction stated that
“the person who has title to real property is still the owner of the
property even if there is a lien or secured interest on the property.”
Another tendered instruction defined “title,” “deed of trust,” and
“holder of a certificate of purchase[].” One instruction described the
lien theory detailed in section 38-35-117, C.R.S. 2017, and another
instructed that title to property “does not vest with the purchaser
until eight days after [a] foreclosure sale.”
¶9 The trial court declined to give these instructions as tendered.
However, portions of the defense-tendered instructions were
3
included in a final definitional jury instruction. The final
instructions defined “deed of trust” and stated that the title to
property is transferred to the holder of the certificate of purchase
eight days after a foreclosure sale. Though it rejected other
portions of the defense-tendered instructions, the trial court
permitted defense counsel to argue the issues raised in the
instructions during closing argument.
¶ 10 The defense also tendered an instruction which the trial court
modified and gave as a theory of the case instruction. That
instruction stated, “Trujillo contends that the items removed from
the home . . . were his; purchased by him and installed by him. . . .
Trujillo conten[d]s that the items that he took and damaged were
his sole property.”
B. Standard of Review
¶ 11 We review jury instructions de novo to determine whether, as
a whole, they accurately informed the jury of the governing law.
Riley v. People, 266 P.3d 1089, 1092-93 (Colo. 2011). If the jury
instructions properly inform the jury of the law, the district court
has “broad discretion to determine the form and style of jury
instructions.” Day v. Johnson, 255 P.3d 1064, 1067 (Colo. 2011).
4
Accordingly, we review a trial court’s decision concerning a
proposed jury instruction for an abuse of discretion and will not
disturb the ruling unless it is manifestly arbitrary, unreasonable, or
unfair. Id.
¶ 12 When a defendant objects to the trial court’s ruling on a jury
instruction, we review for nonconstitutional harmless error and will
thus affirm if “there is not a reasonable probability that the error
contributed to the defendant’s conviction.” People v. Garcia, 28
P.3d 340, 344 (Colo. 2001) (quoting Salcedo v. People, 999 P.2d
833, 841 (Colo. 2000)).
C. Applicable Law
¶ 13 “[A]n instruction embodying a defendant’s theory of the case
must be given by the trial court if the record contains any evidence
to support the theory.” People v. Nunez, 841 P.2d 261, 264 (Colo.
1992). Moreover, a trial court has “an affirmative obligation” to
work with counsel to correct a tendered theory of the case
instruction “or to incorporate the substance of such in an
instruction drafted by the court.” Id. at 265; see also People v.
Tippett, 733 P.2d 1183, 1195 (Colo. 1987) (a trial court may refuse
to give an instruction already embodied in other instructions).
5
¶ 14 In considering whether a jury was adequately informed of a
defendant’s theory of the case, a reviewing court can take into
account whether defense counsel’s closing argument “fairly
represented” the theory to the jury. People v. Dore, 997 P.2d 1214,
1222 (Colo. App. 1999).
D. Analysis
¶ 15 Trujillo contends that the trial court abused its discretion in
rejecting the tendered instructions. We disagree.
¶ 16 Trujillo asserts that the tendered instructions were essential
because they communicated his theory of the case. However, the
trial court instructed the jury on his theory of the case in an
instruction that clearly stated that he believed the property he took
from the house was “his sole property.” To the extent that the trial
court had a duty to work with the defense in crafting a proper
theory of defense instruction, we conclude that the trial court
fulfilled that duty here by giving an alternative theory of the case
instruction that encompassed Trujillo’s tendered instructions. See
Nunez, 841 P.2d at 265 n.9. Moreover, the trial court specifically
stated that defense counsel would be allowed to incorporate the
6
property law concepts into her closing argument, which defense
counsel did.
¶ 17 Trujillo asserts that the instructions he tendered were
accurate statements of property law. In contrast, the People argue
that the instructions misstated the law as it applies in criminal
prosecutions for theft and criminal mischief. Because we conclude
that the trial court did not abuse its discretion in drafting a theory
of defense instruction that encompassed the defense’s tendered
instructions, we do not address whether the rejected instructions
were accurate statements of the law.
¶ 18 The jury instructions, as a whole, “fairly and adequately
cover[ed] the issues presented.” People v. Pahl, 169 P.3d 169, 183
(Colo. App. 2006). Thus, we conclude that the trial court did not
abuse its discretion in rejecting in part the defense-tendered jury
instructions.
III. Evidence of Prior Foreclosure
¶ 19 Trujillo next asserts that the trial court erred in allowing the
People to introduce evidence that another property of his had been
foreclosed. We disagree.
7
A. Additional Facts
¶ 20 Before trial, Trujillo filed a motion to exclude evidence of other
acts or res gestae evidence. Trujillo’s motion addressed several
categories of other acts evidence, including evidence related to any
“financial and/or legal problems” unrelated to the charged offenses.
During a motions hearing, the People stated that they did not
intend to introduce any other acts or res gestae evidence. In a
written ruling, the trial court granted Trujillo’s motion to exclude
evidence of his unrelated financial and legal problems “unless the
prosecution fe[lt] that the ‘door ha[d] been opened.’” The trial court
further ordered that, if the People felt Trujillo introduced evidence of
his other financial and legal problems, the People could request a
bench conference during trial.
¶ 21 On the first day of trial, defense counsel stated that she was
withdrawing her motion to exclude other acts evidence insofar as it
pertained to evidence of Trujillo’s bankruptcy proceedings. During
her opening statement, defense counsel then mentioned those
proceedings.
¶ 22 Later, the People called the bank’s former vice president as an
expert witness. During direct examination, the prosecutor asked
8
the witness why the bank had declined to restructure Trujillo’s
loan. The prosecutor also asked about Trujillo’s demeanor during
interactions with the bank. Trujillo objected. After a bench
conference, the trial court allowed the witness to testify on both
matters.
¶ 23 Specifically, the witness testified that, during a conversation
about restructuring the loan, Trujillo “seemed like he was very
upset.” The witness recalled, “He got into [that] he had a piece of
property that [another bank] had foreclosed on and it sounded like
they had sold it for what [Trujillo] believed was a lot less, leaving
him a large deficiency balance.”
¶ 24 During closing argument, the People alluded to the witness’s
testimony and referred several times to Trujillo’s general animosity
against banks.
B. Standard of Review
¶ 25 We review a trial court’s decision to admit other acts or res
gestae evidence for an abuse of discretion. People v. Jimenez, 217
P.3d 841, 846 (Colo. App. 2008). A court abuses its discretion if its
decision to admit such evidence is manifestly arbitrary,
unreasonable, or unfair. Id.
9
¶ 26 We review a preserved claim of nonconstitutional error for
harmless error, reversing only if any error “substantially influenced
the verdict or affected the fairness of the trial proceedings.” Hagos
v. People, 2012 CO 63, ¶ 12, 288 P.3d 116, 119 (quoting Tevlin v.
People, 715 P.2d 338, 342 (Colo. 1986)).
C. Applicable Law
¶ 27 Evidence is relevant if it has “any tendency to make the
existence of any fact that is of consequence to the determination of
the action more probable or less probable than it would be without
the evidence.” CRE 401. Generally speaking, “[t]he Colorado Rules
of Evidence strongly favor the admission of relevant evidence.”
People v. Brown, 2014 COA 155M-2, ¶ 22, 360 P.3d 167, 172.
However, relevant evidence is nevertheless inadmissible when “its
probative value is substantially outweighed by the danger of unfair
prejudice, confusion of the issues, or misleading the jury.” CRE
403. Similarly, evidence of “other crimes, wrongs, or acts” is
inadmissible to prove a person’s character “in order to show that he
acted in conformity therewith,” though it may be admissible for
other purposes, including proving intent. CRE 404(b).
10
¶ 28 “Res gestae is a theory of relevance which recognizes that
certain evidence is relevant because of its unique relationship to the
charged crime.” People v. Greenlee, 200 P.3d 363, 368 (Colo. 2009).
However, “there is no need to consider an alternative theory of
relevance, such as res gestae, where the evidence is admissible
under general rules of relevancy.” Id.
D. Analysis
¶ 29 Trujillo contends that the evidence of the prior foreclosure
action portrayed him as a “serial defaulter” and was impermissible
under CRE 404(b) and 403. The People assert that the evidence
was admissible as “directly relevant” to Trujillo’s intent and motive.
In the alternative, the People argue that the evidence was res gestae
evidence. We agree with the People’s first argument that the
evidence was admissible under CRE 401, and was not barred by
CRE 403.1
1 During the bench conference, the trial court allowed the bank’s
former vice president to testify after conducting an abbreviated CRE
404(b) analysis that did not specifically address the four-factor test
set forth in People v. Spoto, 795 P.2d 1314, 1318 (Colo. 1990). The
trial court did not admit the evidence under the res gestae doctrine.
However, we can affirm a trial court’s evidentiary ruling on any
ground supported by the record, “even if that ground was not
11
¶ 30 The evidence of the prior foreclosure was probative of the
interactions between Trujillo and the bank — it made it more
probable that Trujillo had the requisite intent to commit theft. It
was therefore relevant under CRE 401. Further, the risk of unfair
prejudice did not substantially outweigh the probative value of the
evidence, especially where the prior foreclosure was referenced only
in passing and the details of that foreclosure were not revealed.
Thus, the evidence was not barred by CRE 403.
¶ 31 Because we conclude that the evidence of the prior foreclosure
was relevant under CRE 401 and admissible under CRE 403, we
need not address whether the evidence was res gestae evidence or
“other acts” evidence under CRE 404(b). See Greenlee, 200 P.3d at
368-69. Accordingly, we conclude that the trial court did not err in
allowing the testimony concerning the prior foreclosure action.
IV. Prosecutorial Misconduct
¶ 32 Trujillo argues that the prosecutor improperly commented on
the district attorney’s screening process for bringing charges and
articulated or considered by the trial court.” People v. Phillips, 2012
COA 176, ¶ 63, 315 P.3d 136, 153.
12
Trujillo’s right not to testify, and improperly denigrated defense
counsel. We perceive no basis for reversal.
A. Additional Facts
¶ 33 During redirect examination of one of the People’s expert
witnesses, an attorney who worked at the bank, the prosecutor
asked whether the bank played a role in charging Trujillo. The
prosecutor asked if the witness himself made the decision to file a
criminal case, to which the witness replied, “No.” The prosecutor
then asked, “[W]ho is it, according to your understanding, that
makes those decisions on whether a case gets filed criminally?” The
witness responded, “A complaint’s made to a police department or
sheriff’s department and they make that decision in conjunction
with I believe you.” The prosecutor clarified that “you” meant the
district attorney’s office. The defense did not object.
¶ 34 During rebuttal closing argument, the prosecutor said,
Did you hear all that? [Defense counsel]’s
talking about all of this stuff, about what
Trujillo’s intent was. And then did you hear
her towards the end what she did? She says,
and correct – this part was correct of what she
said. My job is to prove intent, right. That is
my burden. And she’s absolutely right. The
Defendant has every right to remain silent,
13
and he exercised that right and that is
something that you cannot use against him.
But it is completely ridiculous for [defense
counsel] to get up here and say that [Trujillo]
didn’t testify to what his intent was and then
to go on and talk about what his intent
actually was. We don’t know what his intent
was because he never testified to that, which
he has every right to do. But did you hear
her? She’s up here saying his intent was this.
¶ 35 Trujillo objected on the basis that the prosecutor was
denigrating defense counsel. The trial court sustained the objection
as to the prosecutor’s tone, but overruled it as to content. The
prosecutor then argued, “[I]f you go out and run somebody over and
– and think that you had the right to do that, is that gonna be a
legitimate defense by saying, well, I thought I could do that. I didn’t
– nobody ever told me. Nobody put it in writing. When I bought my
car, in the instruction manual, nothing said that about that. That’s
preposterous.” Trujillo did not renew his objection.
B. Standard of Review
¶ 36 In reviewing alleged prosecutorial misconduct, an appellate
court engages in a two-step analysis. First, we determine whether
the prosecutor’s conduct was improper based on the totality of the
circumstances. Wend v. People, 235 P.3d 1089, 1096 (Colo. 2010).
14
Second, we determine whether any misconduct warrants reversal
under the proper standard of review. Id.
¶ 37 When the alleged misconduct is objected to at trial and is of
constitutional magnitude, we review for constitutional harmless
error. Id. When the alleged misconduct is not of a constitutional
magnitude, and when the defense objected at trial, we subject the
prosecutorial misconduct to harmless error review. Id. at 1097.
Such prosecutorial misconduct will be considered harmless
“whenever there is no reasonable probability that it contributed to
the defendant’s conviction.” Crider v. People, 186 P.3d 39, 42 (Colo.
2008). When the defense did not object to the misconduct, we
review for plain error. Wend, 235 P.3d at 1097-98.
C. Applicable Law
¶ 38 A prosecutor cannot comment on a “screening process” for
charging cases “because it both hints that additional evidence
supporting guilt exists and reveals the personal opinion of the
prosecutor.” Domingo-Gomez v. People, 125 P.3d 1043, 1052 (Colo.
2005). It is also improper for a prosecutor to make remarks “for the
obvious purpose of denigrating defense counsel.” People v. Jones,
832 P.2d 1036, 1038 (Colo. App. 1991). It is similarly improper for
15
a prosecutor to comment on a defendant’s decision not to testify.
Griffin v. California, 380 U.S. 609, 614 (1965); see also People v.
Martinez, 652 P.2d 174, 177 (Colo. App. 1981) (noting that a
prosecutor’s comment on a defendant’s silence constitutes
reversible error when “the prosecution argued that such silence
constituted an implied admission of guilt”).
¶ 39 Nevertheless, “[a] prosecutor is allowed considerable latitude
in responding to the argument made by opposing counsel.” People
v. Ramirez, 997 P.2d 1200, 1211 (Colo. App. 1999), aff’d, 43 P.3d
611 (Colo. 2001). Further, “[a]lthough it is improper for a
prosecutor to assert that opposing counsel knows that the
accused’s case is not meritorious,” the prosecutor may permissibly
argue “that the evidence in support of defendant’s innocence lacked
substance.” Id. at 1211; see also People v. Samson, 2012 COA 167,
¶ 31, 302 P.3d 311, 317 (stating that a prosecutor may permissibly
“comment on the absence of evidence to support a defendant’s
contentions”).
¶ 40 Appellate courts consider several factors in determining
whether prosecutorial misconduct was prejudicial, including the
nature of the error, the pervasiveness of the misconduct, the
16
context, and the overall strength of the evidence supporting the
conviction. People v. McBride, 228 P.3d 216, 225 (Colo. App. 2009);
see also Crider, 186 P.3d at 43. For example, a reviewing court may
consider whether proper jury instructions mitigated the prejudicial
effect of prosecutorial misconduct. See People v. Castillo, 2014 COA
140M, ¶ 78, ___ P.3d ___, ___ (concluding prosecutor’s
misstatements were harmless in light of instructions from the trial
court and the defense’s closing argument) (cert. granted in part Nov.
23, 2015).
D. Analysis
¶ 41 Trujillo contends that three instances of prosecutorial
misconduct require reversal. We disagree.
¶ 42 Trujillo first contends that the prosecutor improperly referred
to a screening process while examining the expert witness. We
perceive no prosecutorial misconduct. The prosecutor here did not
imply that he had engaged in a screening process to “weed out the
weaker cases and, implicitly, that the State d[id] not consider this a
weak case.” Domingo-Gomez, 125 P.3d at 1052 (concluding the
prosecutor’s comment that “it takes a lot more than somebody
saying that person did it” to bring charges was improper). Rather,
17
the prosecutor clarified that the bank did not bring criminal
charges and that the witness himself did not stand to gain as a
result of Trujillo’s conviction. The People assert, and we agree, that
the prosecutor’s question merely elicited testimony to establish that
the district attorney’s office was responsible for pursuing the
criminal charges against Trujillo.
¶ 43 Second, Trujillo asserts that the prosecutor impermissibly
commented on his decision not to testify. We disagree. Even if we
assume the comment on Trujillo’s decision not to testify was
improper, not every comment on a defendant’s choice not to testify
requires reversal. See Martinez, 652 P.2d at 177. “The determining
factor is whether the defendant’s silence was used by the
prosecution as a means of creating an inference of guilt,” id., and
we conclude that the prosecutor’s comments here did not raise
such an inference.
¶ 44 Finally, Trujillo contends that the prosecutor impermissibly
denigrated defense counsel and the defense’s theory of the case
during rebuttal closing argument. We agree that the prosecutor
improperly denigrated defense counsel and the defense’s theory of
18
the case when he characterized her arguments as “completely
ridiculous” and “preposterous.”
¶ 45 However, we perceive no basis for reversal as a result of these
improper remarks. The comments were limited to the People’s
rebuttal closing argument. Moreover, significant evidence
corroborated the jury’s finding of guilt — specifically, the
undisputed evidence that Trujillo had removed an extensive amount
of property from the house. Viewing the record as a whole, we
cannot say that there was a “reasonable probability” that the
prosecutor’s remarks denigrating defense counsel contributed to
Trujillo’s convictions. See Crider, 186 P.3d at 42. Thus, we
determine the error was harmless.
¶ 46 In sum, though we agree that the prosecutor improperly
denigrated defense counsel, we perceive no basis for reversal.
V. Indeterminate Probation
¶ 47 Trujillo contends that the trial court did not have the statutory
authority to sentence him to indeterminate probation. We disagree.
A. Additional Facts
¶ 48 During the sentencing hearing, the People requested that
Trujillo be placed on a “long period of probation . . . somewhere in
19
the neighborhood of eight to ten years” because they anticipated
that Trujillo would be ordered to pay substantial restitution.2
Trujillo requested unsupervised probation with a collections
investigator monitoring his restitution payments.
¶ 49 The trial court imposed an “indefinite probation sentence”
because of the substantial restitution that Trujillo was expected to
owe. In imposing an indeterminate probation sentence, the trial
court stated, “There is case law that talks about whether
[indeterminate probation] is something that can or should be
imposed and it’s certainly something that is allowed regardless of
the type of conviction that has been entered.”
¶ 50 The mittimus states that the sentence imposed was a term of
probation for seven years to life.
B. Standard of Review
¶ 51 The People contend that we should not consider this claim
because a sentence to probation is not ordinarily subject to
2 The trial court ultimately ordered Trujillo to pay $171,421.97 in
restitution. Trujillo separately appealed that order, and a division
of this court affirmed in part, reversed in part, and remanded for
reconsideration. People v. Trujillo, (Colo. App. No. 14CA2486, Oct.
5, 2017) (not published pursuant to C.A.R. 35(e)).
20
appellate review. However, “where, as here, a defendant contends
that ‘a court has exceeded its statutory authority’ in imposing a
probationary sentence, appellate review is warranted.” People v.
Jenkins, 2013 COA 76, ¶ 10, 305 P.3d 420, 423 (quoting People v.
Rossman, 140 P.3d 172, 174 (Colo. App. 2006)).
¶ 52 “We review sentencing decisions that are within the statutory
range for an abuse of discretion.” People v. Torrez, 2013 COA 37,
¶ 71, 316 P.3d 25, 37. However, where the defendant contends that
a court exceeded its statutory sentencing authority, our inquiry
involves statutory interpretation. Jenkins, ¶ 12, 305 P.3d at 423.
We review such issues of statutory interpretation de novo. Id.
C. Applicable Law
¶ 53 Under section 18-1.3-202(1)(a), C.R.S. 2017, a trial court “may
grant the defendant probation for such period and upon such terms
and conditions as it deems best.” Further, “[t]he length of probation
shall be subject to the discretion of the court and may exceed the
maximum period of incarceration authorized for the classification of
the offense of which the defendant is convicted.” Id.
¶ 54 In Jenkins, a division of this court concluded that section 18-
1.3-202(1) “authorizes a trial court to impose an indeterminate term
21
of probation.” Jenkins, ¶ 38, 305 P.3d at 426. The Jenkins division
bolstered its conclusion by looking to the plain language of the
statute — which the division noted “contemplate[s] both
determinate and indeterminate terms of probation” — and to the
provision’s legislative history. Id. at ¶¶ 40, 42, 46, 305 P.3d at 426-
28. Finally, the division noted that section 18-1.3-202(1) “generally
pertains to a broad class of cases, and it simply allows a trial court
to elect an indeterminate term if it sentences an offender who has
been convicted of a felony to probation.” Id. at ¶ 50, 305 P.3d at
428 (upholding probationary sentence of ten years to life); see also
People v. Martinez, 844 P.2d 1203, 1206 (Colo. App. 1992)
(concluding that a trial court has authority to impose a term of
probation that exceeds the sentence to imprisonment in the
statutory aggravated range for an offense).
D. Analysis
¶ 55 Trujillo asserts that the trial court exceeded its statutory
authority in imposing an indeterminate probationary sentence. We
disagree.
¶ 56 Like the Jenkins division, we conclude that section 18-1.3-
202(1) gives a trial court the authority to sentence a defendant
22
convicted of a felony to an indefinite probationary period. Trujillo
urges that the statute limits a trial court’s authority to impose an
indeterminate probation sentence. Under Trujillo’s logic, a sentence
to probation for 100 years is permissible, but an indeterminate
probation sentence is outside the trial court’s statutory authority.
The statute offers no basis for reaching this conclusion.
¶ 57 Trujillo asserts that Jenkins is distinguishable because that
case concerned whether a defendant convicted of a sex offense not
falling under the supervision scheme of the Colorado Sex Offender
Lifetime Supervision Act of 1998 (SOLSA), see §§ 18-1.3-1001
to -1012, C.R.S. 2017, could nevertheless be sentenced to
indeterminate probation. Jenkins, ¶ 1, 305 P.3d at 422. Trujillo
contends that Jenkins was limited to the particular circumstances
of that case, and does not widely apply to all offenses and
defendants. However, the Jenkins division made clear that section
18-1.3-202(1) “establishes a general rule as far as the possibility of
an indeterminate probationary term for felonies” and “authorizes a
trial court to impose an indeterminate term of probation.” Id. at
¶¶ 38, 50, 305 P.3d at 426, 428. In fact, Jenkins explicitly rejected
the argument that a sentence of indeterminate probation could be
23
imposed only in sex offense cases subject to SOLSA. Id. at ¶¶ 49-
50, 305 P.3d at 428. Thus, Trujillo’s argument that Jenkins is
limited to sex offenses is unavailing.
¶ 58 In sum, we conclude that the trial court did not exceed its
statutory authority in imposing the probation sentence here.
VI. Costs of Prosecution
¶ 59 Trujillo next asserts that the trial court erred in awarding the
full costs of prosecution requested by the People without making a
finding on whether any portion of the costs was attributable to the
charge on which he was acquitted. We agree.
A. Additional Facts
¶ 60 Before sentencing, the People moved for reimbursement of the
costs of prosecution pursuant to section 18-1.3-701, C.R.S. 2017.
The People requested $768.70. Trujillo opposed the motion on the
basis that the People bore responsibility for the costs incurred to
prove the defrauding a secured creditor charge, of which Trujillo
was acquitted.
¶ 61 During the sentencing hearing, the trial court awarded the
requested costs of prosecution, ordering Trujillo to pay $768.70.
24
B. Standard of Review
¶ 62 The trial court, in its discretion, may assess reasonable and
necessary costs of prosecution against a convicted defendant. See
§ 18-1.3-701(2)(j.5). Thus, we review an assessment of costs of
prosecution for an abuse of discretion, reversing if the trial court’s
determination is manifestly arbitrary, unreasonable, or unfair,
People v. Palomo, 272 P.3d 1106, 1110 (Colo. App. 2011), or if the
trial court misapplied the law, People v. Jefferson, 2017 CO 35,
¶ 25, 393 P.3d 493, 499.
C. Applicable Law
¶ 63 Under section 16-18-101(1), C.R.S. 2017, the state bears the
costs of prosecution when a defendant is acquitted. Such costs
may include witness fees, mileage, lodging expenses, transportation
costs, and other reasonable and necessary costs that directly result
from prosecuting the defendant. § 18-1.3-701(2); see also People v.
Sinovcic, 2013 COA 38, ¶¶ 15-16, 304 P.3d 1176, 1179. If a
defendant is convicted of fewer than all of the charged counts, the
court may assess only those costs attributable to the counts for
which the defendant was convicted, if an allocation is practicable.
Palomo, 272 P.3d at 1112.
25
D. Analysis
¶ 64 Trujillo asserts that the trial court erred in not making a
finding as to whether some portion of the requested costs of
prosecution were allocable to the acquitted charge. We agree.
¶ 65 As Trujillo concedes, it is possible that the costs cannot be
allocated between the charge on which he was acquitted and the
two charges on which he was convicted. However, the trial court
did not find that such an allocation was impracticable. Because the
trial court was required to consider whether some portion of the
requested costs was practicably attributable to the acquitted
charge, the trial court abused its discretion. See DeBella v. People,
233 P.3d 664, 667 (Colo. 2010) (failure to exercise discretion
constitutes an abuse of the court’s discretion).
¶ 66 Accordingly, we vacate the order awarding the People costs of
prosecution and remand for the trial court to make appropriate
findings of fact and “assess only those costs that are related to the
prosecution of the . . . counts of which [Trujillo] was convicted, to
the extent an allocation is practicable.” Palomo, 272 P.3d at 1113.
26
VII. Amendment to Theft Statute
¶ 67 Trujillo contends that he should have benefited from an
amendment to the theft statute reclassifying theft between $20,000
and $100,000 as a class 4 felony. We agree.
A. Additional Facts
¶ 68 The General Assembly amended the theft statute on June 5,
2013. See Ch. 373, sec. 1, § 18-4-401, 2013 Colo. Sess. Laws
2196. Under the amended statute, theft between $20,000 and
$100,000 constitutes a class 4 felony. See § 18-4-401(2)(h), C.R.S.
2017. Prior to the amendment, theft over $20,000 constituted a
class 3 felony. § 18-4-401(2)(d), C.R.S. 2011.
¶ 69 Trujillo was charged with theft of $20,000 or more in April
2011. He was convicted in October 2013 and sentenced in
December 2013. His theft conviction was recorded on the mittimus
as a class 3 felony.
B. Standard of Review
¶ 70 The People assert that, because Trujillo did not make this
argument before the trial court, we should review only for plain
error. However, the division in People v. Stellabotte rejected this
argument. 2016 COA 106, ¶ 42, ___ P.3d ___, ___ (noting that plain
27
error review was inappropriate because “a defendant may raise a
claim at any time that his or her sentence was not authorized by
law”) (cert. granted Feb. 6, 2017). Following Stellabotte, we review
the legality of the sentence de novo. Id. at ¶ 4, ___ P.3d at ___.
C. Applicable Law
¶ 71 In determining whether to apply amendments to legislation,
we first look to the plain language of the statute. People v.
Summers, 208 P.3d 251, 253-54 (Colo. 2009). If a statute explicitly
states that it applies only to offenses committed after the effective
date, it must be applied accordingly. See People v. McCoy, 764 P.2d
1171, 1174 (Colo. 1988).
¶ 72 As a general rule, “[a] statute is presumed to be prospective in
its operation.” § 2-4-202, C.R.S. 2017. However, if a statute is
silent as to whether it applies only prospectively, a defendant may
seek retroactive application if he or she benefits from a significant
change in the law. § 18-1-410(1)(f)(I), C.R.S. 2017; see also People
v. Thornton, 187 Colo. 202, 203, 529 P.2d 628, 628 (1974) (allowing
defendant to seek relief on direct appeal under statute).
¶ 73 In Stellabotte, a division of this court concluded that the
amendatory theft legislation “applies retroactively to cases pending
28
in the trial court when the amendment was enacted.” Stellabotte,
¶ 45, ___ P.3d at ___; People v. Patton, 2016 COA 187, ¶ 32, ___ P.3d
___, ___; see also People v. Patton, (Colo. App. No. 14CA2359, Aug.
11, 2016) (not published pursuant to C.A.R. 35(e)) (cert. granted
Feb. 6, 2017).
D. Analysis
¶ 74 Trujillo contends that the amendment to the theft statute
requires that we vacate his sentence and remand for the trial court
to enter his theft conviction as a class 4 felony. We agree.
¶ 75 As the division noted in Stellabotte, the theft amendment does
not explicitly state that it is either retroactive or prospective.
Stellabotte, ¶ 45, ___ P.3d at ___. In the face of this legislative
silence, the division held that a defendant who committed theft
prior to the statutory amendment but was not convicted until after
its passage was entitled to the benefit retroactively. See id. at
¶¶ 39, 45, ___ P.3d at ___. The same is true here.
¶ 76 Trujillo was charged with theft before the statute was
amended, but was not convicted or sentenced until after the
General Assembly lowered the classification for theft between
29
$20,000 and $100,000.3 Thus, like the defendant in Stellabotte,
Trujillo is entitled to the benefit of the amendment. As a result, we
vacate the sentence for the theft conviction and remand for the
conviction to be entered as a class 4 felony.
¶ 77 The partial dissent looks to several statutory provisions in
support of its conclusion that Trujillo is not entitled to the benefit of
the amendatory legislation. First, the partial dissent cites section
2-4-202, which states the general presumption that statutes apply
prospectively. However, as the division noted in Stellabotte, section
18-1-410 is a specific exception to the general rule expressed in
section 2-4-202. Stellabotte, ¶ 47 n.4, ___ P.3d at ___ n.4. We
agree with that analysis. Thus, the general presumption that
statutes apply prospectively does not apply here where Trujillo
seeks the benefit of a “significant change in the law, . . . allowing in
3 Trujillo asserts that the theft was between $20,000 and $100,000
based on testimony from trial. The People do not contest the value
of the stolen property in this case. We therefore assume that
Trujillo’s offense properly fell within the value range set forth in
section 18-4-401(2)(h), C.R.S. 2017.
30
the interests of justice retroactive application of the changed legal
standard.”4 § 18-1-410(1)(f)(I).
¶ 78 The partial dissent also invokes section 2-4-303, C.R.S. 2017,
in support of its conclusion. Section 2-4-303 states:
The repeal, revision, amendment, or
consolidation of any statute or part of a statute
or section or part of a section of any statute
shall not have the effect to release, extinguish,
alter, modify, or change in whole or in part any
penalty, forfeiture, or liability, either civil or
criminal, which shall have been incurred
under such statute, unless the repealing,
revising, amending, or consolidating act so
expressly provides.
¶ 79 However, the supreme court has noted that the “general
saving” provision codified in this statute is not applicable to
criminal cases; instead, the court noted in dictum that it “has
4 The partial dissent also asserts that section 18-1-410(1)(f)(I),
C.R.S. 2017, does not provide any relief to Trujillo because that
provision requires that “there has been significant change in the
law, applied to the [defendant’s] conviction or sentence.” The
partial dissent asserts that the phrase “applied to” requires that the
legislation expressly state that it applies retroactively. We disagree
with that interpretation, and believe that our view finds authority in
supreme court case law. See People v. Thomas, 185 Colo. 395, 397,
525 P.2d 1136, 1137 (1974) (noting that “[t]he legislature intended
the changed legal standards to apply wherever constitutionally
permissible” but making no mention of whether the amendatory
legislation reclassifying attempted second degree burglary explicitly
stated that it applied retroactively).
31
consistently adhered to the principle . . . that a defendant is entitled
to the benefits of amendatory legislation when relief is sought before
finality has attached to the judgment of conviction.” Noe v. Dolan,
197 Colo. 32, 36 n.3, 589 P.2d 483, 486 n.3 (1979).
¶ 80 In People v. Boyd, a division of the court of appeals concluded
that section 2-4-303 did not prevent the retroactive effect of an
amendatory constitutional provision. 2015 COA 109, ¶ 27, 395
P.3d 1128, 1134, aff’d, 2017 CO 2, 387 P.3d 755.5 The division
noted the supreme court’s language in Noe. Id. at ¶ 28, 395 P.3d at
1134. To the extent that other supreme court cases included
contrary statements, the Boyd division concluded that such
statements were dicta and that the supreme court had not
overruled or disapproved of either Noe or People v. Thomas, 185
Colo. 395, 398, 525 P.2d 1136, 1138 (1974) (holding that
“amendatory legislation mitigating the penalties for crimes should
be applied to any case which has not received final judgment”).
5 The supreme court in Boyd affirmed the Court of Appeals decision
on different grounds, concluding that the marijuana criminal
offense statute had been rendered inoperative by Amendment 64.
Neither the majority nor the dissent in Boyd cited section 2-4-303,
C.R.S. 2017.
32
Boyd, ¶¶ 29-30, 395 P.3d at 1134-35. Finally, the Boyd division
concluded that section 18-1-410(1)(f)(I) controls over section 2-4-
303 because the former sets forth a specific exception to the latter,
which codifies a “general rule[] of construction regarding
prospective effect for amendatory legislation.” Id. at ¶¶ 31-32, 395
P.3d at 1135. We agree with the Boyd division’s analysis and
therefore do not perceive section 2-4-303 as a bar to the relief
Trujillo seeks.
¶ 81 In making its statutory arguments, the partial dissent relies
on the plain meaning of both section 2-4-303 and section 18-1-
410(1)(f)(I). However, as discussed, the supreme court has not
given either provision its plain meaning. Despite express reference
in section 2-4-303 to civil and criminal penalties, the supreme court
has indicated that the provision does not apply to criminal cases.
Noe, 197 Colo. at 36 n.3, 589 P.2d at 486 n.3. Similarly, while
section 18-1-410(1)(f)(I) by its express terms applies to defendants
seeking postconviction relief, the supreme court has held that the
statute also extends to defendants seeking relief on direct appeal.
Thornton, 187 Colo. at 203, 529 P.2d at 628. In light of the
33
supreme court’s interpretation of these statutes, we cannot give
them the meanings that the partial dissent ascribes to them.
¶ 82 Finally, the partial dissent also relies on Riley v. People, in
which the supreme court noted that it has “emphasized that a
defendant is not entitled to the ameliorative effects of amendatory
legislation if the General Assembly has not clearly indicated its
intent to require such retroactive application.” 828 P.2d 254, 258
(Colo. 1992). However, we do not consider this statement to have
the controlling effect the partial dissent gives it. In Riley, the
defendant committed a crime in April 1988 and sought relief under
two sentencing provisions that expressly stated they applied to acts
“committed on or after” July 1, 1988. Id. at 255-56. The Riley
court held the defendant there was not entitled to relief because
applying the statutes retroactively would require the court to ignore
the “clear legislative determination” that the amended sentencing
provisions would apply only to acts after that date. Id. at 257.
¶ 83 Thus, Riley is readily distinguishable from the present case,
where the amendments to the theft statute do not expressly provide
an effective date, and the language relied on by the partial dissent is
dicta. Accord McCoy, 764 P.2d at 1174 (noting that, where
34
legislation expressly stated it applied to acts committed on or after
its effective date, a “defendant does not receive any ameliorative
benefit” because “retroactive application of the amendatory
legislation is clearly not intended by its own terms”); People v.
Macias, 631 P.2d 584, 587 (Colo. 1981) (same).
¶ 84 Thus, we conclude, in accordance with Stellabotte, that Trujillo
should receive the benefit of the amendment to the theft statute
reclassifying theft between $20,000 and $100,000 as a class 4
felony. See Stellabotte, ¶ 40, ___ P.3d at ___.
VIII. Conclusion
¶ 85 Accordingly, the judgment of conviction is affirmed. The
sentence is affirmed in part and vacated in part, and the case is
remanded for further proceedings consistent with the views
expressed in this opinion.
JUDGE RICHMAN concurs.
JUDGE FURMAN concurs in part and dissents in part.
35
JUDGE FURMAN, concurring in part and dissenting in part.
¶ 86 I respectfully dissent from the majority’s opinion only as to the
effect of the 2013 amendments to the theft statute. I conclude that
the 2013 amendments to the theft statute do not apply retroactively
to Trujillo’s case. I reach this conclusion for several reasons.
¶ 87 First, the General Assembly has made it clear that a “statute is
presumed to be prospective in its operation.” § 2-4-202, C.R.S.
2017. The 2013 amendments to the theft statute are silent as to
whether they apply prospectively or retroactively. Therefore, I
presume that the 2013 amendments are prospective in operation
and do not apply to Trujillo’s offense, which occurred before 2013.
See id.
¶ 88 Second, an amendment to a criminal statute does not change
the penalty for crimes already committed under the statute unless
the amendatory legislation expressly provides for such a change.
See § 2-4-303, C.R.S. 2017. Section 2-4-303 provides, in relevant
part:
The . . . amendment . . . of any statute or part
of a statute . . . shall not have the effect to
release, extinguish, alter, modify, or change in
whole or in part any penalty, forfeiture, or
liability, either civil or criminal, which shall
36
have been incurred under such statute, unless
the . . . amending . . . act so expressly
provides, and such statute or part of a statute
. . . so . . . amended . . . shall be treated and
held as still remaining in force for the purpose
of sustaining any and all proper actions, suits,
proceedings, and prosecutions, criminal as
well as civil, for the enforcement of such
penalty, forfeiture, or liability, as well as for
the purpose of sustaining any judgment,
decree, or order which can or may be rendered,
entered, or made in such actions, suits,
proceedings, or prosecutions imposing,
inflicting, or declaring such penalty, forfeiture,
or liability.
Because the 2013 amendments to the theft statute do not expressly
provide that they apply retroactively, and Trujillo committed his
crime before 2013, he is liable for theft as it was defined when he
committed the offense. See id.
¶ 89 Third, in Riley v. People, 828 P.2d 254, 258 (Colo. 1992), our
supreme court “emphasized that a defendant is not entitled to the
ameliorative effects of amendatory legislation if the General
Assembly has not clearly indicated its intent to require such
retroactive application.” Id. I consider this statement by the
supreme court about its own jurisprudence on this issue to be
controlling.
37
¶ 90 Fourth, section 18-1-410(1)(f)(I), C.R.S. 2017, does not allow
Trujillo, on direct appeal, to seek retroactive application of the 2013
amendments to his case. Section 18-1-410(1)(f)(I) allows a
defendant to seek retroactive application of a “significant change in
the law, applied to” a defendant’s “conviction or sentence.” I believe
that the phrase “applied to” reflects the General Assembly’s intent
that, for amendatory legislation to apply retroactively to a
defendant’s conviction or sentence, the legislation must state that it
applies retroactively. Thus, because, as noted, the 2013
amendments do not state that they apply retroactively to Trujillo’s
conviction and sentence, he may not seek retroactive application
under section 18-1-410(1)(f)(I).
¶ 91 Finally, and with all due respect, I decline to follow People v.
Stellabotte, 2016 COA 106 (cert. granted Feb. 6, 2017). Indeed, I
agree with Judge Dailey’s dissent in Stellabotte. See id. at ¶¶ 62-70
(Dailey, J., concurring in part and dissenting in part).
38
| {
"pile_set_name": "FreeLaw"
} |
Q:
sql queries and inserts
I have a random question. If I were to do a sql select and while the sql server was querying my request someone else does a insert statement... could that data that was inputted in that insert statement also be retrieved from my select statement?
A:
Queries are queued, so if the SELECT occurs before the INSERT there's no possibility of seeing the newly inserted data.
Using default isolation levels, SELECT is generally given higher privilege over others but still only reads COMMITTED data. So if the INSERT data has not been committed by the time the SELECT occurs--again, you wouldn't see the newly inserted data. If the INSERT has been committed, the subsequent SELECT will include the newly inserted data.
If the isolation level allowed reading UNCOMMITTED (AKA dirty) data, then yes--a SELECT occurring after the INSERT but before the INSERT data was committed would return that data. This is not recommended practice, because UNCOMMITTED data could be subject to a ROLLBACK.
| {
"pile_set_name": "StackExchange"
} |
Slapp straff, men mister lappen
Ungdommene som ble tatt i hasjaksjonene i Fana la alle kortene på bordet. Cannabisbruken de innrømmet i avhør, brukes nå til å ta fra dem lappen.
Publisert Publisert 16. august 2014
LA KORTENE PÅ BORDET: Dette er noen av bildene politiet fant på mobiltelefonene til dem som ble pågrepet i cannabisaksjonene. Bildet i midten er fra et beslag politiet gjorde i forkant av aksjonene. Foto: POLITIET
Denne artikkelen er over seks år gammel
Flere av ungdommene som ble tatt i hasjaksjonene i Bergen sør i februar i år har mistet retten til å føre motorvogn.
Det skjer etter at det i midten av juni i år dumpet et brev ned i postkassen til flere av dem.
— I avhør skal De ha opplyst at De har røyket marihuana, omtrent annenhver helg, i forbindelse med fest. (...) Det at De har brukt marihuana over en lengre periode, fra 2013 til 2014, vitner om at deres bruk ikke er forenlig med å inneha førerretten til motorvogn. På denne bakgrunn har politiet skjellig grunn til å tro at De har et rusproblem og således ikke fyller kravene til helse som kreves for å inneha retten til å føre førerkortpliktig motorvogn, står det i ett av brevene fra Fellesforvaltningsenheten til Hordaland politidistrikt.
Det skal være et titall ungdommer som nå har mistet sertifikatet. Flere av dem har hyret inn advokat for å bestride saken.
- Ingen heksejakt
Det er også flere som har ønsket å kjøre opp til lappen, som ikke får lov av førerkortkontoret. Også det er en følge av cannabisbruken de har innrømmet i avhør.
Ifølge Morten Ørn, stasjonssjef ved Bergen Sør politistasjon, er det ikke snakk om noen koordinert aksjon for å frata dem som ble pågrepet førerkortet.
— Det er en administrativ sak som går parallelt med Tidlig ute-prosjektet, sier han.
De fleste av ungdommene som ble pågrepet, fikk påtaleunnlatelse mot at de gjennomførte det forebyggende programmet.
Tre ganger på to år
Jurist Kirsti Fürstenberg ved Forvaltningsavdelingen sier de tar utgangspunkt i håndhevingsinstruksen fra Politidirektoratet og en dom fra Borgarting lagmannsrett når de avgjør om en person skal miste førerretten som følge av en bekymringsmelding.
— Så gjøres det en skjønnsmessig helhetsvurdering i hvert tilfelle. Vi går konkret inn i hvert tilfelle og ser gjennom dokumentene vi har.
I dommen fra lagmannsretten, som legges til grunn for tilbakekallelsen av førerretten, står det at én overtredelse i året ikke er tilstrekkelig for å tibakekallelse. «To kan være det men formuleringen flere tyder på at det må være minst tre overtredelser i løpet av siste par år», står det i dommernes tolkning av Vegtrafikkloven.
Tar ikke hensyn til lovlighet
Før ungdommene mistet lappen, fikk de et forhåndsvarsel fra Forvaltningsenheten. Deretter fikk de 14 dager på seg med å komme med informasjon de mener er relevant for saken.
— Det er mange som kommer med uttalelser. Det inngår som en del av sakens dokumenter, og blir en del av helhetsvurderingen, sier Fürstenberg, som igjen understreker at det gjøres en skjønnsmessig vurdering i hvert tilfelle, og at hun uttaler seg på generelt grunnlag.
Forvaltningsenheten tar ikke hensyn til lovligheten av rusmiddelet som benyttes, når det gjelder vurderingen av edruelighet.
— Vi ser på en konkret helhetsvurdering av ruseffekten, sier Fürstenberg.
Alkohol = narkotika
I prinsippet kan dermed alkoholbruk og narkotikabruk dermed behandles likt med tanke på om man får beholde førerkortet.
— Det vi må vurdere er om bruken tilsier en økt risiko i trafikken.
For å få sertifikatet tilbake, må ungdommene vise til dokumentert rusfrihet i ett år.
— Det blir en konkret vurdering i hvert tilfelle, men de må sannsynliggjøre edruelighet. Det er opp til personen selv og skaffe bevis for dette, gjerne fra lege, sier hun.
Økning i førerkortbeslag
Fra 1. januar til 5. august i år, har politiet i Hordaland fattet 644 vedtak om tilbakekallelse av førerretten.
550 av disse vedtakene kommer som følge av vedtak fattet av fylkesmannen, mens 94 av dem er på bakgrunn av saker politiet selv har initiert.
Samme periode i fjor, var det totalt 578 vedtak, og bare 34 av dem kom på bakgrunn av saker politiet selv initierte.
— Vi ser at antallet egeninitierte saker går opp etter at vi innførte den nye metodikken. Det er et mer strømlinjeformet system, som vi er glade for, sier Ane Kvaal, politiinspektør og leder for forvaltningsenheten i Hordaland-politiet.
Nytt prosjekt
Det som har skjedd i mellomtiden, er nemlig at politiet har implementert prosjektet Forebygging gjennom forvaltning. Det er i praksis en ny struktur for å fange opp meldinger fra politiets egne ansatte om personer hvor det er grunn til å tro at vedkommende ikke lenger fyller vilkårene for å inneha en tillatelse fra politiet.
Kvaal er forsiktig med å tilskrive det nye prosjektet all æren for at antallet vedtak som følge av egeninitierte saker går opp.
— Økningen kan jo skyldes at politiet har blitt flinkere til på melde fra, eller at det finnes flere personer som ikke burde ha førerkort. Men det er vanskelig med sikkerhet å si hva sammenhengen er.
Vet du noe om saken? Send MMS/SMS til 2211, eller skriv e-post
Publisert Publisert: 16. august 2014 16:51 Oppdatert: 16. august 2014 18:15 | {
"pile_set_name": "OpenWebText2"
} |
Introduction {#sec1-1}
============
Infliximab (IFX), a chimeric anti-TNFα antibody, is effective in inducing and maintaining remission in a considerable proportion of IBD patients refractory to any other treatments \[[@ref1],[@ref2]\]. However, 8-12% of adult and/or pediatric patients fail to respond to the induction regimen (known as primary non responders) and approximately 40% of patients who respond initially and achieve clinical remission inevitably lose response over time\[[@ref3],[@ref7]\]. Lack of response to IFX is a stable trait and suggests that the differences in response might be in part genetically determined. Considering the high cost and safety profile of this drug, genetic targeting of patients responding to this therapy is certainly of great interest \[[@ref8]\]. So far, limited candidate gene association studies with response to IFX have been reported \[[@ref9]-[@ref11]\]. Recently, a genome-wide association study (GWAS) in paediatric IBD patients has revealed that the 21q22.2/BRWDI loci were associated with primary non response \[[@ref12]\]. Furthermore, although TNFa gene is of great interest as a candidate gene for pharmacogenetic approaches few studies have been performed to date and some have led to contradictory results \[[@ref10],[@ref11],[@ref13]-[@ref15]\].
All anti-TNF agents share an IgG1 Fc fragment, but the contribution of the Fc portion to the response to treatment among currently used TNF blockers remains unknown. Receptors for IgG-Fc portion (FcR) are important regulatory molecules of inflammatory responses. FcR polymorphisms alter receptor function by enhancing or diminishing the affinity for immunoglobulins \[[@ref16]\]. Three major classes of FcR that are capable of binding IgG antibodies are recognised: FcγRΙ (CD64), FcγRΙΙ (CD32), and FcγRΙΙΙ (CD16). FcγRΙΙ and FcγRΙΙΙ have multiple isoforms (FcγRΙΙΙA/C and B; FcγRΙΙΙA and B) \[[@ref16]\]. The most frequent polymorphism of *FcγRΙΙΙA* is a point mutation affecting amino acids in codon 158 in the extracellular domain. This results in either a valine (V158) or a phenylalanine (F158) at this position. Recently, it has been reported that CD patients with *FcγRΙΙΙA* -158V/V genotype had a better biological and possibly better clinical response to IFX \[[@ref17]\]. However, further studies did not confirm this observation \[[@ref18]\].
The aim of this study was to assess whether the *TNF* and/ or *FcγRΙΙΙA* gene polymorphisms are genetic predictors of response to IFX, in a cohort of Greek patients with adult or paediatric onset of CD.
Patients - Methods {#sec1-2}
==================
Patients {#sec2-1}
--------
We enrolled 106 consecutive patients with newly diagnosed CD attending the outpatient IBD Clinic at the 1^st^ Department of Gastroenterology, "Evangelismos" Hospital (79 adults) or the 1^st^ Department of Pediatrics, University Hospital of Athens "Aghia Sophia"(27 children). The diagnosis of CD was based on standard clinical, endoscopic, radiological, and histological criteria \[[@ref1],[@ref19]\]. Eligible patients should have inflammatory (luminal) disease and be naive to IFX.
IFX was administered intravenously at a dose of 5mg/kg at weeks 0, 2, 6 and then every 8 weeks. Clinical and serological responses were assessed using the Harvey-Bradshaw Index (HBI) \[[@ref20]\] and the serum levels of C-reactive protein (CRP), respectively, at baseline (before the 1st infusion of IFX), the day before each subsequent IFX infusion and after 12 weeks of treatment. Ileocolonoscopy was performed by a single endoscopist (GJM) at baseline and after 12-20 weeks of therapy to assess mucosal healing. Any changes in endoscopic appearance compared to baseline endoscopy were classified in four categories \[[@ref21],[@ref22]\] \[[Table 1](#T1){ref-type="table"}\]. Patients were classified in accordance to response to IFX therapy as shown in [table 2](#T2){ref-type="table"}. The ethical committee of the participating hospitals approved the study. Research was carried out according to Helsinki Convention (1975) and written inform consent was obtained in advance from each patient.
######
Grading of endoscopic mucosal lesions \[[@ref21],[@ref22]\]
![](AnnGastroenterol-24-35-g001)
######
Classification of the study population due to response to infliximab therapy
![](AnnGastroenterol-24-35-g002)
Genotyping {#sec2-2}
----------
Genomic DNA from whole blood containing EDTA was extracted using standard techniques (NucleoSpin Blood kit, Macherey-Nagel, Germany). All polymerase chain reactions (PCRs) were run under conditions previously described \[[@ref23]\]. Primer sequences for the gene polymorphism at --308 were forward 5′-GGG ACA CAC AAG CAT CAA GG-3′ and reverse 5′-GGG ACA CAC AAG CAT CAA GG-3′, for the polymorphism at −238 forward 5′-ATC TGG AGG AAG CGG TAG TG-3′ and reverse 5′-AGA AGA CCC CCC TCG GAA CC-3′. The PCR products were digested at 37 °C with NcoI to detect the SNP in the −308 gene allele and MspI to detect the polymorphism of the −238 nucleotide. The -857 C/T polymorphism was analyzed by allele-specific PCR method24 using the primers TNF857-C: 5′-aag gat aag ggc tca gag ag-3′, TNF857-N: 5′-cta cat ggc cct gtc ttc g-3′ and TNF857-M: 5′-t cta cat ggc cct gtc ttc a-3′. The --158V/F polymorphism of FcγRΙΙΙA gene was detected as described by Leppers-van de Straat et al \[[@ref25]\] using the primers 5′-CTG AAG ACA CAT TTT TACT CC CAA (A/C)-3′ and 5′-TCC AAA AGC CAC ACT CAA AGA C-3′. The PCR products were then subjected to 3% agarose-gel electrophoresis. "No target" controls were included in each PCR batch to ensure that reagents had not been contaminated.
Statistical Analysis {#sec2-3}
--------------------
Genotype frequencies were compared with the chi-square with Yate's correction using S-Plus (v. 6.2Insightful, Seattle, WA). Odds ratios (ORs) and 95 confidence intervals (CIs) were obtained with GraphPad (v. 3.00, GraphPad Software, San Diego, CA). The p values are all two-sided. Correction for multiple testing was not applied in this study. *P* values of \< 0.05 were considered to be significant.
Results {#sec1-3}
=======
Patient demographic and clinical characteristics are given in [Table 3](#T3){ref-type="table"}. There were 68 (64.15%) complete responders, 25 (23.58%) partial responders and 13 (12.26%) non responders to IFX in this study. There were no statistical differences in the mean age, gender, disease duration, location and behavior and smoking habits between complete or partial responders and primary non-responders. There was no disagreement between HBI scores and serum CRP levels. Although, the post-treatment CRP levels were significantly lower in complete responders compared to partial and non-responders, the decrease in CRP levels did not differ significantly between the three groups. Post-treatment CRP levels and mean HBI score were significantly lower in complete responders compared to pre-treatment values in contrast to partial and/or non-responders where the CRP levels and the mean HBI score did not differ significantly.
######
Demographic, clinical and biological characteristics of the study population
![](AnnGastroenterol-24-35-g003)
The -238 G/A, -308 G/A, and -857 C/T polymorphisms of the TNF gene and the -158 V/F polymorphism in the *FcγRΙΙΙA* gene were successfully determined in all subjects. The genotype distribution in complete, partial and non-responders were presented in [Table 4](#T4){ref-type="table"}. No significant difference was observed for the polymorphism tested. In addition, although there may be genetic differences in early (paediatric)-onset and late (adult)-onset CD we were unable to detect any such differences although the number of paediatric patients included in the current study did not allow firm conclusions.
######
Genotype frequency in complete responders, partial responders and non responders
![](AnnGastroenterol-24-35-g004)
In the present study, we could not correlate the decrease in serum CRP levels with the genotypes tested in any particular group of patients since in most of the cases serum CRP levels dropped by more than 25% after 12 weeks of treatment. However, no significant decrease in CRP was observed between the TNF genotypes tested. Regarding the -158 V/F polymorphism in the *FcγRΙΙΙA* gene, the relative decrease in serum CRP levels was greatest in VV homozygotes (78.15 ± 33.68%) and lowest in FF homozygotes (69.84 ± 28.7%) but this difference was not significant. Due to the small number of cases we did not stratify the genotype frequencies according to age.
Discussion {#sec1-4}
==========
The mechanism of IFX action in IBD seems to be multifactorial and the response to IFX is a complex phenomenon influenced by several parameters \[[@ref1]\]. Interestingly, a certain proportion of patients do not respond to IFX at all whereas a significant proportion will lose response over time \[[@ref3]-[@ref7]\]. This is the first Greek study aiming at identifying any significant associationbetween the -238 G/A, -308 G/A, and -857 C/T polymorphisms in the promoter region of the TNF gene and the -158V/F polymorphism in *FcγRΙΙΙA* gene and response to IFX in a cohort of adult and paediatric patients with CD and it was negative.
Efficacy of IFX was assessed by clinical, serological and endoscopic parameters. Clinical response to IFX was evaluated using the HBI, which has been used in many clinical trials, is simple to use and has shown good correlation with the Crohn's Disease Activity Index (CDAI) \[[@ref26]\]. Serological evaluation of response to IFX was based on changes in serum levels of CRP, which has shown a good correlation with clinical activity and to a certain degree with endoscopic activity of CD \[[@ref27]\]. Finally, endoscopic activity of disease was assessed before and after IFX therapy using a simple description of healing of ulcerative and non ulcerative lesions \[[Table 1](#T1){ref-type="table"}\] as has been previously described \[[@ref21],[@ref22]\]. Endoscopic healing was assessed after 12-20 weeks of IFX treatment. It is conceivable that 12 weeks may be early to assess mucosal healing induced by biologic therapies \[[@ref27]\] but the vast majority of patients underwent endoscopy at least 16 weeks after initiation of IFX therapy (average time 17.6 weeks) and therefore it is unlikely that we have not obtained an objective view of the intestinal mucosal at follow up ileocolonoscopy.
Regarding the *TNF* genotypes, our results are in agreement with Louis et al \[[@ref11]\] who did not find any significant difference between response groups when genotyped CD patients for the TNF -308G/A polymorphism and compared response rates after IFX treatment. The same results were reported by Mascheretti et al \[[@ref10]\] and Dideberg et al \[[@ref13]\]. Moreover, our results are in agreement with Tomita et al \[[@ref28]\] who reported no significant difference on *TNFa*, *FcgammaRIIA* and *FcgammaRIIIA* between responders and non responders 8 weeks after IFX treatment as well as with results of ACCENT I study where the relative decrease in serum CRP levels after IFX treatment was greatest in -158 VV homozygotes and lowest in FF homozygotes \[[@ref18]\]. In contrast, Louis et al \[[@ref17]\] observed a significant association between the -158V/F polymorphism in *FcγRΙΙΙA* and both the proportion of patients who had a drop in serum CRP levels after IFX treatment and the magnitude in decrease of serum CRP levels. This may account for the relatively small population of patients in our study, genetic differences in the studied populations and/or methodological differences between studies.
Although it would be useful to genetically differentiate 'responders' from 'non-responders', there are not enough data on TNF polymorphisms in IBD and often only selected polymorphisms are genotyped. Small studies have shown possible associations between poor response to IFX and increasing mucosal levels of activated NF-kappaB, homozygosity for the polymorphism in exon 6 of TNFR2 (genotype Arg196Arg), positivity for perinuclear antineutrophil cytoplasmic antibodies and with the presence of increased numbers of activated lamina propia mononuclear cells producing interferon-gamma and TNFa \[[@ref29]\].
In conclusion, our study did not detect any associations between three TNFα gene polymorphisms or the -158 V/F polymorphism in the *FcγRΙΙΙA* gene and response to IFX in CD. However, in view of discrepant results in the literature large-scale pharmacogenetic studies in different populations, with similar baseline disease phenotypes and treatment protocols are needed to adequately estimate associations between genetic polymorphisms and treatment outcomes.
Conflict of interest: None
^a^Evangelismos Hospital, ^b^Laboratory of Biology, School of Medicine, ^c^1^st^ Department of Pediatrics, School of Medicine, University of Athens, Greece
| {
"pile_set_name": "PubMed Central"
} |
---------------------- Forwarded by Benjamin Rogers/HOU/ECT on 10/19/2000
03:13 PM ---------------------------
[email protected] on 10/18/2000 06:18:51 PM
To: [email protected]
cc:
Subject: (no subject)
Ben-
This is a lengthy info/doc request - please give me feedback on how best we
can close the loop.
Thanks
Susan Flanagan
- DocReq 001013b.doc | {
"pile_set_name": "Enron Emails"
} |
The two classes `KinesisRecorder` and `KinesisFirehoseRecorder` allow you to interface with Amazon Kinesis Data Streams and Amazon Kinesis Data Firehose to stream analytics data for real-time processing.
## What is Amazon Kinesis Data Streams?
[Amazon Kinesis Data Streams](http://aws.amazon.com/kinesis/) is a fully managed service for real-time processing of streaming data at massive scale. Amazon Kinesis can collect and process hundreds of terabytes of data per hour from hundreds of thousands of sources, so you can write applications that process information in real-time. With Amazon Kinesis applications, you can build real-time dashboards, capture exceptions and generate alerts, drive recommendations, and make other real-time business or operational decisions. You can also easily send data to other services such as Amazon Simple Storage Service, Amazon DynamoDB, and Amazon Redshift.
The Kinesis Data Streams `KinesisRecorder` client lets you store your Kinesis requests on disk and then send them all at once using the [PutRecords](https://docs.aws.amazon.com/kinesis/latest/APIReference/API_PutRecords.html) API call of Kinesis. This is useful because many mobile applications that use Kinesis Data Streams will create multiple requests per second. Sending an individual request under `PutRecord` action could adversely impact battery life. Moreover, the requests could be lost if the device goes offline. Thus, using the high-level Kinesis Data Streams client for batching can preserve both battery life and data.
## What is Amazon Kinesis Data Firehose?
[Amazon Kinesis Data Firehose](http://aws.amazon.com/kinesis/firehose/) is a fully managed service for delivering real-time streaming data to destinations such as Amazon Simple Storage Service (Amazon S3) and Amazon Redshift. With Kinesis Data Firehose, you do not need to write any applications or manage any resources. You configure your data producers to send data to Firehose and it automatically delivers the data to the destination that you specified.
The Amazon Kinesis Data Firehose `KinesisFirehoseRecorder` client lets you store your Kinesis Data Firehose requests on disk and then send them using the [PutRecordBatch](https://docs.aws.amazon.com/firehose/latest/APIReference/API_PutRecordBatch.html) API call of Kinesis Data Firehose.
For more information about Amazon Kinesis Data Firehose, see [Amazon Kinesis Data Firehose](http://docs.aws.amazon.com/firehose/latest/dev/what-is-this-service.html).
## Integrating Amazon Kinesis
Set up AWS Mobile SDK components by including the following libraries in your `app/build.gradle` dependencies list.
```groovy
dependencies {
implementation 'com.amazonaws:aws-android-sdk-kinesis:2.15.+'
implementation ('com.amazonaws:aws-android-sdk-mobile-client:2.15.+@aar') { transitive = true }
}
```
* `aws-android-sdk-kinesis` library enables sending analytics to Amazon Kinesis.
* `aws-android-sdk-mobile-client` library gives access to the AWS credentials provider and configurations.
Add the following imports to the main activity of your app.
```java
import com.amazonaws.mobileconnectors.kinesis.kinesisrecorder.*;
import com.amazonaws.mobile.client.AWSMobileClient;
import com.amazonaws.regions.Regions;
```
To use Kinesis Data Streams in an application, you must set the correct permissions. The following IAM policy allows the user to submit records to a specific data stream, which is identified by [ARN](http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
```json
{
"Statement": [{
"Effect": "Allow",
"Action": "kinesis:PutRecords",
"Resource": "arn:aws:kinesis:us-west-2:111122223333:stream/mystream"
}]
}
```
The following IAM policy allows the user to submit records to a specific Kinesis Data Firehose delivery stream.
```json
{
"Statement": [{
"Effect": "Allow",
"Action": "firehose:PutRecordBatch",
"Resource": "arn:aws:firehose:us-west-2:111122223333:deliverystream/mystream"
}]
}
```
This policy should be applied to roles assigned to the Amazon Cognito identity pool, but you need to replace the `Resource` value with the correct ARN for your Amazon Kinesis or Amazon Kinesis Data Firehose stream. You can apply policies at the [IAM console](https://console.aws.amazon.com/iam/). To learn more about IAM policies, see [Using IAM](http://docs.aws.amazon.com/IAM/latest/UserGuide/IAM_Introduction.html).
To learn more about Amazon Kinesis Data Streams policies, see [Controlling Access to Amazon Kinesis Data Streams Resources with IAM](http://docs.aws.amazon.com/kinesis/latest/dev/kinesis-using-iam.html).
To learn more about Amazon Kinesis Data Firehose policies, see [Controlling Access with Amazon Kinesis Data Firehose](http://docs.aws.amazon.com/firehose/latest/dev/controlling-access.html).
## Working with the API
You can use `AWSMobileClient` to setup the Cognito credentials that are required to authenticate your requests with Amazon Kinesis.
```java
AWSMobileClient.getInstance().initialize(getApplicationContext(), new Callback<UserStateDetails>() {
@Override
public void onResult(UserStateDetails userStateDetails) {
Log.i("INIT", userStateDetails.getUserState().toString());
}
@Override
public void onError(Exception e) {
Log.e("INIT", "Initialization error.", e);
}
}
);
```
Once you have credentials, you can use `KinesisRecorder` with Amazon Kinesis. The following snippet creates a directory and instantiates the `KinesisRecorder` client:
```java
String kinesisDirectory = "YOUR_UNIQUE_DIRECTORY";
KinesisRecorder recorder = new KinesisRecorder(
myActivity.getDir(kinesisDirectory, 0),
Regions.<YOUR-AWS-REGION>,
AWSMobileClient.getInstance()
);
// KinesisRecorder uses synchronous calls, so you shouldn't call KinesisRecorder methods on the main thread.
```
To use `KinesisFirehoseRecorder`, you need to pass the object in a directory where streaming data is saved. We recommend you use an app private directory because the data is not encrypted.
```java
KinesisFirehoseRecorder firehoseRecorder = new KinesisFirehoseRecorder(
context.getCachedDir(),
Regions.<YOUR-AWS-REGION>,
AWSMobileClient.getInstance());
```
Configure Kinesis:
You can configure `KinesisRecorder` or `KinesisFirehoseRecorder` through their properties:
You can configure the maximum allowed storage via the `withMaxStorageSize()` method of `KinesisRecorderConfig`.
You can retrieve the same information by getting the `KinesisRecorderConfig` object for the recorder and calling `getMaxStorageSize():`
```java
KinesisRecorderConfig kinesisRecorderConfig = recorder.getKinesisRecorderConfig();
Long maxStorageSize = kinesisRecorderConfig.getMaxStorageSize();
// Do something with maxStorageSize
```
To check the number of bytes currently stored in the directory passed in to the `KinesisRecorder` constructor, call `getDiskBytesUsed()`:
```java
Long bytesUsed = recorder.getDiskBytesUsed();
// Do something with bytesUsed
```
To see how much space the `KinesisRecorder` client is allowed to use, you can call `getDiskByteLimit()`.
```java
Long byteLimit = recorder.getDiskByteLimit();
// Do something with byteLimit
```
With `KinesisRecorder` created and configured, you can use `saveRecord()` to save records and then send them in a batch.
```java
recorder.saveRecord(
"MyData".getBytes(),
"MyStreamName");
recorder.submitAllRecords();
```
For the `saveRecord()` request above to work, you would have to have created a stream named `MyStreamName`. You can create new streams in the [Amazon Kinesis console](https://console.aws.amazon.com/kinesis).
If `submitAllRecords()` is called while the app is online, requests will be sent and removed from the disk. If `submitAllRecords()` is called while the app is offline, requests will be kept on disk until `submitAllRecords()` is called while online. This applies even if you lose your internet connection midway through a submit. So if you save ten requests, call `submitAllRecords()`, send five, and then lose the Internet connection, you have five requests left on disk. These remaining five will be sent the next time `submitAllRecords()` is invoked online.
Here is a similar snippet for Amazon Kinesis Data Firehose:
```java
// Start to save data, either a String or a byte array
firehoseRecorder.saveRecord("Hello world!\n");
firehoseRecorder.saveRecord("Streaming data to Amazon S3 via Amazon Kinesis Data Firehose is easy.\n");
// Send previously saved data to Amazon Kinesis Data Firehose
// Note: submitAllRecords() makes network calls, so wrap it in an AsyncTask.
new AsyncTask<Void, Void, Void>() {
@Override
protected Void doInBackground(Void... v) {
try {
firehoseRecorder.submitAllRecords();
} catch (AmazonClientException ace) {
// handle error
}
}
}.execute();
```
To learn more about working with Kinesis Data Streams, see the [Amazon Kinesis Data Streams resources](http://aws.amazon.com/kinesis/developer-resources/).
To learn more about the Kinesis Data Streams classes, see the [class reference for KinesisRecorder](https://aws-amplify.github.io/aws-sdk-android/docs/reference/com/amazonaws/mobileconnectors/kinesis/kinesisrecorder/KinesisRecorder.html).
To learn more about the Kinesis Data Firehose classes, see the [class reference for KinesisFirehoseRecorder](https://aws-amplify.github.io/aws-sdk-android/docs/reference/com/amazonaws/mobileconnectors/kinesis/kinesisrecorder/KinesisFirehoseRecorder.html).
| {
"pile_set_name": "Github"
} |
Q:
Como passar objetos entre controllers no MVC utilizando POO
Basicamente, eu preciso que ser o login for bem sucedido salvar o nome de usuário em uma variável e utilizar-lá em outro controller.
Model.php:
public function login($email, $password) {
session_start();
$sql = "SELECT * FROM users WHERE email = :email AND password= :password;";
$query = $this->db->prepare($sql);
$parameters = array(':email' => $email, ':password' => $password);
$query->execute($parameters);
$rows = $query->fetch(PDO::FETCH_NUM);
if($rows > 0) {
header ("Location: " . URL . "home");
} else {
exit ('Email or password incorrect');
}
}
Controller.php
public function login() {
if (isset($_POST['login_submit']) AND isset($_POST['email']) AND isset($_POST['password'])) {
$this->model->login($_POST['email'], $_POST['password']);
}
}
A:
Não foi explicito mas parece que você quer que seja mandado por session. Sendo assim você pode simplesmente setar na sessão e pegar de volta no outro controle.
<?php
// declaração da classe Pessoa
class Pessoa {
public $nome;
}
// No Controller que envia os parametros
session_start();
$joao = new Pessoa();
$joao->nome = "João";
$_SESSION['pessoa'] = $joao;
// No Controller que recebe os dados
session_start();
$joao = $_SESSION['pessoa'];
print_r($joao);
Ou se quiser padronizar isso e jogar no paradigma de orientação a objetos
<?php
// controller que envia
$joao = new Pessoa();
$joao->nome = "João";
SessionUtils::setPropriedade('pessoa', $joao);
// controller que recebe
$joao = SessionUtils::getPropriedadeLimpar('pessoa');
print_r($joao);
// declaração da classe Pessoa
class Pessoa {
public $nome;
}
// classe util para a sessão
class SessionUtils {
private static $BASE_PROPRIEDADES = "props";
/**
* Pega uma propriedade da sessão
* @return a propriedade ou null se não existir
*/
public static function getPropriedade($nome){
self::configurarSessao();
$sessao = self::getSessao();
return @$sessao[$nome];
}
/**
* Pega uma propriedade da sessão e depois a exclui da mesma
* @return a propriedade ou null se não existir
*/
public static function getPropriedadeLimpar($nome){
self::configurarSessao();
$sessao = self::getSessao();
$valor = @$sessao[$nome];
self::setPropriedade($nome, null);
return $valor;
}
/**
* Seta uma propriedade na sessão
*/
public static function setPropriedade($nome, $valor){
self::configurarSessao();
$_SESSION[self::$BASE_PROPRIEDADES][$nome] = $valor;
}
/**
* Configura a sessão para guardar os itens
*/
private static function configurarSessao(){
if(!isset($_SESSION)){
session_start();
}
if(!self::getSessao() || !is_array(self::getSessao())){
self::setSessao(array());
}
}
private static function getSessao(){
return $_SESSION[self::$BASE_PROPRIEDADES];
}
private static function setSessao($valor){
$_SESSION[self::$BASE_PROPRIEDADES] = $valor;
}
}
| {
"pile_set_name": "StackExchange"
} |
Retrieval of blade implants with piezosurgery: two clinical cases.
In this work an ultrasound device was used to perform an ostectomy for the removal of blade implants in order to save as much bone tissue as possible, so that root form implants might later be inserted. Two patients underwent surgery for the removal of two blade implants (one maxillary, the other mandibular) that were no longer functional. The peri-implant ostectomy was carried out with a piezoelectric surgery device. The instrument demonstrated to be effective and precise during ostectomy, providing an extremely thin cutting line. During the course of the operation and at controls after 7 and 30 days, patients did not show any relevant complications and both still had sufficient alveolar bone to be treated with root form implants. The piezosurgery device proved to be an effective instrument in interventions requiring a significant saving of bone tissue, extreme precision in cutting, and respect of soft tissues. | {
"pile_set_name": "PubMed Abstracts"
} |
Writing my last blog post really got me thinking about that guy and all the crazy things we done. The more I thought about it, the more memories came flooding back and I decided that this blog has been a little too sad/awkward so far and anyone reading must think I’ve had a whole bunch of horrible experiences. It’s about time I chronicled the peaks of my journey so far and this guy is definitely a peak. In fact, I almost peak myself just thinking about him.
We met in a field. I was there “camping” with friends. There were no tents. Our trip basically involved trekking into a little patch of woodland on a farm outside of town and getting really drunk/high and having sex round a badly made campfire. It was surprisingly fun. I hadn’t been for a few months because I had actually fallen pregnant there, made it nearly three months into the pregnancy and miscarried. The dad wanted nothing to do with me and I hadn’t told my mum. So instead of facing up to the tragedy and going to hospital, I decided that going back and getting high in conception field was a better idea. I was clearly a child genius.
I hated the entire night. I hadn’t been around for months, I didn’t feel like I belonged anymore and I secretly resented everyone around the campfire for not being a little more sensitive to my situation. I was just a little ball of anger in the corner, curled up in a giant “goth” hoodie and unable to even look at the bush in which I had regretfully created life in a drunken fumble. I was starting to see this entire thing for what it really was. Irresponsible and moronic. That’s when he showed up. He looked like an angel in the firelight. He was ballsy and arrogant yet he noticed right away that I wasn’t right. He was the only person that night to ask me if I was ok and he was the only one I hadn’t met before. Don’t get me wrong, he was hardly playing the role of my saviour but there was something about him, beyond the air of arrogance, that just drew me in. I could tell that he also hated the whole “drinking in the woods” scene. At one point he asked me to go home with him but I said no, having just suffered the consequences of losing the only good thing to come out of my last drunken encounter.
Everyone got drunk and stripped to their pants except me. There was a lot of jumping over the fire and running around nearly naked. It was fun to watch actually. He played guitar by the fire as we got high until the sun came up and it was just us two left. The night ended with him spooning me on the muddy floor and in the morning, he left with my number and my story. He said I needed reminding of what life is really about and that I was going about it the wrong way in those muddy woods. If I’m honest I expected it to end there, I was broken and he was very aware of how hot he was. I didn’t see why he’d bother with a girl so obviously damaged. But he did.
A week later, he calls me and invites me round for pizza and beer at his flat. I don’t know why I went but I did. There was something about his attitude towards life that appealed to me at that time in my life. I’d just miscarried my drunken regret, I was just about to sit important exams, my friends were horrible people and I was self-harming badly. I walked into that guy’s flat a broken mess and by the time we were over, I’d turned my life around and discovered who I really was. One day, I’ll thank him for that.
Anyways, back on track with the sex part of “sex blog”. He was a serial charmer and holy god, he was good at it. He made me dinner, we got high and he listened to me as I told him more about how I’d gotten to be where I was in life. Not to mention that he was unbelievably sexy. Before long, he was helping me out of my oversized slipknot hoodie and I had forgotten entirely about my new found chastity. He kissed away all of my resistance with a style of kissing I have since adopted myself, passionate with a lot of lip but no tongue. I was mesmerised and more turned on than I’d ever been before. For once, I wasn’t having sex for attention, for reassurance, for control. I was driven entirely by lust and I loved it.
Now, when we were at the campsite the previous week he’d told me that he’d always been insecure about his small penis. He genuinely seemed so down about it which really didn’t match his personality at all as he oozed confidence. At the time, I was flattered that he’d confided in me about it and hadn’t thought much of it. However, as he knelt between my legs about to unveil his tiny penis I was suddenly filled with dread. I was terrified that if I didn’t at least pretend to have the time of my life, his complex would be worsened and I didn’t wanna do that to him. So as he was about to pull off his (very tight and very sexy) boxers, I braced myself for a shrivelled little thing to greet me. Now, the room was dimly lit and I’d been wearing jeans so I had no idea what was about to pop out.
It turns out he’d lied about his penis being tiny purely because he liked the look on girls’ faces when they came face to face with what I can only describe as the most perfect penis I’ve ever seen after expecting something insignificant. How deviously twisted of him. I found it hilarious, personally. It definitely tickled me pink.
What followed was literally life-changing sex. His tongue gave me tingles in places I didn’t even know could tingle and he done things with his penis that I have never been able to replicate since. It was raw, carnal and rough. I’d been with dominant guys before but I’d always felt like ultimately, I was in control. Not this time. He truly owned every part of me that night and I loved it. He held me down and teased me until I begged and then kept teasing. A few hours in, he’d turned me from a timid and sad girl into a ferocious sex toy and I had never felt so alive. I spent that night acting purely upon selfish impulses and the desire for new sensations rather than thought and logic like usual. He was exactly what I needed to wake me up from the pit of teenage angst I’d fallen into. I went home aching everywhere and grinning ear to ear. I was hooked.
I was back the next day and he knew I would be. This time I thought I was ready for him, that I knew what was coming but I’d soon learn that would never be the case with this one. He loved pushing boundaries and was inherently unpredictable. This time we had shower sex and he found it hilarious that I was unable to stay standing when I orgasmed. The next time he tied me up with duct tape and teased me for hours. I just kept coming back for more. Soon I started skipping school to spend time with him. We had high sex, drunk sex,, rough sex, morning sex, slow sex, half asleep sex, angry sex, and ultimately sad sex. It didn’t take me long to convince my immature self that I loved this boy. He’d woken me up from my sadness and I soon confused this new found happiness and emotion with love. I wanted him to myself and even then it was apparent that he was untameable.
One time I showed up at his place with fresh cuts on my legs. He was so disappointed. He’d spent weeks building my confidence, teaching me to stop wearing my heart on my sleeve and now I’d relapsed. This was when he really turned my life around. He took me shopping, made me try on girly clothes instead of the usual baggy black clothes I usually wore. He bought me my first lingerie corset-suspender set and my first vibrator (Hamish). He took me to his flat, dressed me up in the lingerie and went over every inch of my body telling me what he found sexy about it. He cuddled me after sex and told me about his view of life, about how I was way too young to be carrying so much bitterness and sadness around on my sleeve. How I’d regret missing out on being young when I’m older. Then he played his guitar and sung his own songs naked (honestly).
Since that night I have never cut myself on purpose again.
We continued our whirlwind romance. He sneaked me into pubs despite both of us being underage, his charm got him served easily. I tried my first shot with him. He took me to his favourite shop – a little vintage place outside of the city centre. He taught me how to roll a joint and we’d fall asleep during high sex, him still inside me. He encouraged me to help myself along during sex and I had the most powerful orgasms I’d ever had doing that. I starred in my very first sex video with him. I tried anal for he first time after he tied me up with my stockings, gagged me and used my vibrator on me. I found out all of my limits with him and loved every second and every time he pushed me just a little bit further.
He pushed me to look for who I really was but despite all of the sweet and sexy things he’d do for me I knew deep down he wasn’t just mine. He refused to commit, he saw other girls and didn’t keep in regular contact. I hated it and pushed for commitment. Then, he found out he was gonna be a dad. He’d gotten some other girl pregnant. I was upset but in my stupid teenage infatuation, I stayed with him. Then I walked in on him and that other girl and that’s where my last post starts.
It wasn’t how I’d hoped it would end but by that stage I’d grown in confidence so much that I’d realised that he had given me all I needed to get by on my own. He was a wild one and had no plans for the future and had a baby on the way. I had just aced all of my exams and my future was whatever I wanted it to be. Limitless.
The girl went on to have a baby boy. He now has a 4 year old son and last I heard was selling drugs and in a band. He texted me later on and asked if I wanted to have another threesome with him and the baby’s mum or wanted any drugs. I said no and that’s the last I ever heard of the wild boy who taught me how to push boundaries and to be proud of my own body and what I can do with it. | {
"pile_set_name": "OpenWebText2"
} |
Sun aims powerful flares at Earth
Top: Two large sunspot groups are visible in this image of the sun obtained by the Solar and Heliospheric Observatory (SOHO). Below: This SOHO image shows a large filament eruption that occurred February 26. The disk in the center is a mask that blocks out direct sunlight.
By Richard Stenger
CNN Interactive Staff Writer
March 1, 2000
Web posted at: 3:24 p.m. EST (2024 GMT)
(CNN) -- The sun should place the Earth squarely in its
sights this week as it aims its solar ray gun. Astronomers
tell terrestrial dwellers not to sweat it too much, despite
the fact that solar activity is approaching an 11-year peak.
Two large sunspots moving across the surface of the sun are
expected to directly face the Earth soon for up to several
days, according to solar scientists. Such sunspots often
herald powerful coronal mass ejections and solar flares,
space storms that can disrupt weather and electrical systems
on Earth.
Solar flares are the largest explosions in the solar system.
A typical one can release the energy equivalent of millions
of 100-megaton hydrogen bombs exploding at once.
Highly charged particles from large flares can overload power
grids and damage satellites. In 1989, one space storm knocked
out a major power plant in Canada, leaving millions without
power for hours.
Solar activity generally waxes and wanes during an 11-year
cycle and astronomers expect it to peak either this or next
year. But so far, the sun has produced only a "disappointing"
level of fireworks, said Joseph Gurman, a solar physicist who
analyzes data from the Solar and Heliospheric Observatory.
Coronal mass ejections are much more likely to produce
effects, Gurman said. Like flares, they send streams of highly
charged particles, but they also can emit a billion tons of
plasma, or ionized gas.
Fortunately the Earth's magnetosphere usually bears the brunt
of plasma particles. "If we were exposed to them, we
literally would be fried," Gurman said. | {
"pile_set_name": "Pile-CC"
} |
Q:
StAX and arraylist java
I'm trying to read an xml document with StAX but I have a little problem and i don't know how to fix it, I've tried to look for over internet (maybe i'm using the wrong key word for my problem :/)
so I've this XML:
<questionReponses
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xmlns='http://polytis.fr/studentest'
xsi:schemaLocation='http://polytis.fr/studentest qanda.xsd'>
<questionReponse>
<categorie>Biologie</categorie>
<question>Question 1</question>
<reponse>reponse correcte 1</reponse>
<mauvaiseReponse>reponse fausse 1.1</mauvaiseReponse>
<mauvaiseReponse>reponse fausse 1.2</mauvaiseReponse>
<mauvaiseReponse>reponse fausse 1.3</mauvaiseReponse>
</questionReponse>
<questionReponse>
<categorie>Chimie</categorie>
<question>Question 2</question>
<reponse>reponse correcte 2</reponse>
<mauvaiseReponse>reponse fausse 2.1</mauvaiseReponse>
<mauvaiseReponse>reponse fausse 2.2</mauvaiseReponse>
<mauvaiseReponse>reponse fausse 2.3</mauvaiseReponse>
</questionReponse>
<questionReponse>
<categorie>CultureG</categorie>
<question>Question 3</question>
<reponse>reponse correcte 3</reponse>
<mauvaiseReponse>reponse fausse 3.1</mauvaiseReponse>
<mauvaiseReponse>reponse fausse 3.2</mauvaiseReponse>
<mauvaiseReponse>reponse fausse 3.3</mauvaiseReponse>
</questionReponse>
here is my parser:
try {
// instanciation du parser
InputStream in = new FileInputStream(nomFichier);
XMLInputFactory factory = XMLInputFactory.newInstance();
XMLStreamReader parser = factory.createXMLStreamReader(in);
// lecture des evenements
for (int event = parser.next(); event != XMLStreamConstants.END_DOCUMENT; event = parser.next()) {
// traitement selon l'evenement
switch (event) {
case XMLStreamConstants.START_ELEMENT:
break;
case XMLStreamConstants.END_ELEMENT:
if (parser.getLocalName().equals("questionReponse")) {
question = new Question(categorieCourante,questionCourante,bonneReponseCourante,mauvaisesReponses);
quizz.add(question);
}
if (parser.getLocalName().equals("categorie")) {
categorieCourante = donneesCourantes;
}
if (parser.getLocalName().equals("question")) {
questionCourante = donneesCourantes;
}
if (parser.getLocalName().equals("reponse")) {
bonneReponseCourante = donneesCourantes;
}
if (parser.getLocalName().equals("mauvaiseReponse")) {
mauvaisesReponses.add(donneesCourantes);
}
break;
case XMLStreamConstants.CHARACTERS:
donneesCourantes = parser.getText();
break;
} // end switch
} // end for
parser.close();
}
and the result is not the one expected:
question 1
[categorie =
Biologie
question =
Question 1
bonne reponse =
reponse correcte 1
mauvaises reponse =
reponse fausse 1.1
reponse fausse 1.2
reponse fausse 1.3
reponse fausse 2.1
reponse fausse 2.2
reponse fausse 2.3
reponse fausse 3.1
reponse fausse 3.2
reponse fausse 3.3
, categorie =
Chimie
question =
Question 2
bonne reponse =
reponse correcte 2
mauvaises reponse =
reponse fausse 1.1
reponse fausse 1.2
reponse fausse 1.3
reponse fausse 2.1
reponse fausse 2.2
reponse fausse 2.3
reponse fausse 3.1
reponse fausse 3.2
reponse fausse 3.3
, categorie =
CultureG
question =
Question 3
bonne reponse =
reponse correcte 3
mauvaises reponse =
reponse fausse 1.1
reponse fausse 1.2
reponse fausse 1.3
reponse fausse 2.1
reponse fausse 2.2
reponse fausse 2.3
reponse fausse 3.1
reponse fausse 3.2
reponse fausse 3.3
]
and it's the same for the 3 question i have. When i parse "mauvaiseReponse" all the the "mauvaiseReponse" balise are streamed and added.
the result i'm looking for is something like this:
question 1
categorie =
Biologie
question =
Question 1
bonne reponse =
reponse correcte 1
mauvaises reponse =
reponse fausse 1.1
reponse fausse 1.2
reponse fausse 1.3
i'm sorry if my english isn't that good, i hope you will undestand my problem and can help me with this
A:
Explanation
Simply, you must renew your badAnswers (mauvaisesReponses) list on each completed Question instance.
I've written a sample code for the provided input xml file. For simplicity, I've created the Question class in the same file with solution;
// A - first instantiation of badAnswers list
List<String> badAnswers = new LinkedList<>();
for (int event = parser.next(); event != XMLStreamConstants.END_DOCUMENT; event = parser.next()) {
switch (event) {
case XMLStreamConstants.START_ELEMENT:
break;
case XMLStreamConstants.END_ELEMENT:
if (parser.getLocalName().equals("questionReponse")) {
Question question = new Question(currentCategory, currentQuestion, currentRightAnswer, badAnswers);
quiz.add(question);
// B - Renew badAnswers after each Question entry insert
badAnswers = new LinkedList<>();
}
Please also note that I've used LinkedList implementation here to demonstrate that your problem is not related to the List implementation, it is implementation-agnostic.
Solution Code
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;
import java.util.LinkedList;
import java.util.List;
import javax.xml.stream.XMLInputFactory;
import javax.xml.stream.XMLStreamConstants;
import javax.xml.stream.XMLStreamException;
import javax.xml.stream.XMLStreamReader;
public class Solution {
public static void main(String[] args) {
List<Question> quiz = getQuiz("inputFile.xml");
printQuiz(quiz);
}
public static List<Question> getQuiz(String fileName) {
List<Question> quiz = null;
try {
// parser instantiation
InputStream in = new FileInputStream(fileName);
XMLInputFactory factory = XMLInputFactory.newInstance();
XMLStreamReader parser = factory.createXMLStreamReader(in);
String currentData = null, currentCategory = null, currentQuestion = null, currentRightAnswer = null;
quiz = new LinkedList<>();
List<String> badAnswers = new LinkedList<>(); // first instantiation of badAnswers list
for (int event = parser.next(); event != XMLStreamConstants.END_DOCUMENT; event = parser.next()) {
switch (event) {
case XMLStreamConstants.START_ELEMENT:
break;
case XMLStreamConstants.END_ELEMENT:
if (parser.getLocalName().equals("questionReponse")) {
Question question = new Question(currentCategory, currentQuestion, currentRightAnswer, badAnswers);
quiz.add(question);
badAnswers = new LinkedList<>(); // Renew badAnswers after each Question entry insert
}
if (parser.getLocalName().equals("categorie")) {
currentCategory = currentData;
}
if (parser.getLocalName().equals("question")) {
currentQuestion = currentData;
}
if (parser.getLocalName().equals("reponse")) {
currentRightAnswer = currentData;
}
if (parser.getLocalName().equals("mauvaiseReponse")) {
badAnswers.add(currentData);
}
break;
case XMLStreamConstants.CHARACTERS:
currentData = parser.getText();
break;
}
} // end of for loop
parser.close();
} catch (FileNotFoundException | XMLStreamException e) {
e.printStackTrace();
}
return quiz;
}
public static void printQuiz(List<Question> quiz) {
int i = 1;
for(Question q : quiz) {
System.out.println("Question : " + i++);
System.out.printf("\tCategory : %s\n" , q.getCurrentCategory());
System.out.printf("\tQuestion : %s\n" , q.getCurrentQuestion());
System.out.printf("\tAnswer : %s\n" , q.getCurrentRightAnswer());
System.out.printf("\tBad Answers: %s\n" , q.getBadAnswers());
System.out.println("***********************\n");
}
}
}
class Question {
private String currentCategory;
private String currentQuestion;
private String currentRightAnswer;
private List<String> badAnswers;
public Question(String currentCategory, String currentQuestion, String currentRightAnswer, List<String> badAnswers) {
this.currentCategory = currentCategory;
this.currentQuestion = currentQuestion;
this.currentRightAnswer = currentRightAnswer;
this.badAnswers = badAnswers;
}
public String getCurrentCategory() {
return currentCategory;
}
public String getCurrentQuestion() {
return currentQuestion;
}
public String getCurrentRightAnswer() {
return currentRightAnswer;
}
public List<String> getBadAnswers() {
return badAnswers;
}
}
Demo Output
Question : 1
Category : Biologie
Question : Question 1
Answer : reponse correcte 1
Bad Answers: [reponse fausse 1.1, reponse fausse 1.2, reponse fausse 1.3]
***********************
Question : 2
Category : Chimie
Question : Question 2
Answer : reponse correcte 2
Bad Answers: [reponse fausse 2.1, reponse fausse 2.2, reponse fausse 2.3]
***********************
Question : 3
Category : CultureG
Question : Question 3
Answer : reponse correcte 3
Bad Answers: [reponse fausse 3.1, reponse fausse 3.2, reponse fausse 3.3]
***********************
| {
"pile_set_name": "StackExchange"
} |
For the Democratic Party, a pliant and friendly news media is both a blessing and a curse.
On the one hand, the corporate press's eagerness to rehabilitate Democratic officials after even the most shameful and despicable acts has made it possible for some of the party’s worst actors to maintain political power with relative ease. Then again, the news media’s reflexively and reliably soft coverage of left-wing lawmakers has made the chief benefactors of this cozy relationship both soft and complacent. Democratic officials and candidates have been lulled into a false sense of security, ignoring or forgetting the benefits that come with being tempered by a thorough, brutal vetting.
The downside to the corporate media’s mostly hands-off approach to covering Democratically aligned lawmakers was never clearer than it was during the Feb. 19 primary debate in Las Vegas, Nevada.
Former New York City Mayor Michael Bloomberg, who spent much of the evening having his entrails ripped out by his 2020 opponents and paraded around the stage, managed to get in one good blow against Sen. Bernie Sanders, going after the Vermont lawmaker for his conspicuous wealth.
“What a wonderful country we have,” said the former mayor. “The best-known socialist in the country happens to be a millionaire with three houses. What did I miss here?”
“Well,” an irate Sanders said, “You'll miss that I work in Washington, house one. ”
Bloomberg interjected, “That's the first problem.”
“Live in Burlington, house two,” the senator continued.
The former mayor interrupted again, “That's good.”
“And like thousands of other Vermonters, I do have a summer camp. Forgive me for that. Where is your home? Which tax haven do you have your home?” Sanders demanded, hopelessly losing the exchange.
“New York City, thank you very much,” Bloomberg said to applause, “and I pay all my taxes.”
The most remarkable thing about the exchange is not that Sanders was so easily baited by Bloomberg into making a sloppy, blindly angry defense but that it marked the first time in the 2020 campaign season that anyone, Democrat, reporter, or debate moderator, pressed the 2020 Democratic primary front-runner to reconcile his own considerable fortune with his core message of confiscating wealth from business owners.
How did Sanders make it through nine debates without a fellow Democrat or debate moderator asking him to respond to the most obvious criticism he will face should he go up against Trump? The 2016 election was a “takers versus makers” election. It is astonishing, then, that it took for a 2020 Democratic primary candidate who is not even on the ballot in Nevada or South Carolina to ask the millionaire socialist senator about his three houses. I guess that is what happens when you schedule all your primary debates with only friendly news networks.
This gets to the precise problem of the too-friendly relationship between the Democratic Party and the corporate media. It is a double-edged sword that allows terrible men to weather what should be career-ending scandals and missteps but also leads to their entire party getting lazy and soft. Not having to worry about a tough, combative press is how you get incidents such as the 2020 Democratic front-runner being totally unprepared to answer the most obvious criticism of his campaign.
If Sanders's disastrous handling of Bloomberg's no-brainer broadside is a portent of things to come, the general election meat grinder will be a straight-up bloodbath for Democrats. | {
"pile_set_name": "OpenWebText2"
} |
Facebook has hired the Patriot Act's co-author as a general counsel - Jerry2
https://boingboing.net/2019/04/22/mass-surveillance-r-us.html
======
javagram
“Jennifer Newstead helped craft the Patriot Act, a cowardly work of treasonous
legislation foisted on the American people in the wake of the 9/11 attacks;”
Source seems a little biased. Treasonous? That’s gotta require a lot of
cortortion around the definition of treason.
Patriot Act provisions have been repeatedly reauthorized by the democratically
elected legislature since it was originally passed. This isn’t a case of
foisting anything upon the people, the people are perfectly happy to vote in
supporters of the Patriot Act.
[https://en.wikipedia.org/wiki/Patriot_Act#Reauthorizations](https://en.wikipedia.org/wiki/Patriot_Act#Reauthorizations)
~~~
thundergolfer
It's well known that many members of congress passed through the act _without
having read it_. Given the enormity of the act's effects on the country, this
is quite a problematic thing.
I don't it was democracy that saw that bill through. It was crisis politics.
Democracy requires a well-informed public, and capable representatives. With
the USA PATRIOT act there was neither.
~~~
foxyv
With the current state of campaign finance, congress is essentially two
corporations with congressmen/women as employees. If you don't vote the party
line or you don't secure funding for the party you get defunded on your next
election. Surprising they don't bother to read the bills they are told to
pass.
------
canada_dry
A perfect fit really.
This guy figures it's ok to allow personal records like telephone, e-mail,
financial, and business records to be surreptitiously captured without full
due process/transparency.
Facebook would love to push the (no-)privacy envelope much further: a complete
data free-for-all for their commercial gain.
------
Jerry2
It's unfortunate that mods decided sink this story. Any explanation as to why?
------
tuxxy
What exactly... do they think is going to happen when news outlets hear this?
~~~
joshmn
The 30 minute news cycle we've had for the last 3 years of course.
~~~
isoskeles
Yeah unlike when the Patriot Act passed, and the news media spoke truth to
power or whatever, and saved us all from that treasonous law.
Apologies for the snark but it’s been like this for more than 20 years.
~~~
thundergolfer
To add to your comment. _Manufacturing Consent_ came out in 1988, 31 years
ago. That book manfully built the case that this stuff has been going on for
well over a century, but that it really kicked up in the post WW2 era with the
erosion of labour-class news media.
Today 6 US media companies control 90% of US media, and any hope one has of
the internet disarming them dims more than a little at the sight of a
P.A.T.R.I.O.T act author crossing over into the arms of a tech giant.
| {
"pile_set_name": "HackerNews"
} |
Da den fynske optiker Finn Juncker tog til Senegal for at være med til at uddele brugte briller til befolkningen, var han opfyldt af idealisme og entusiasme. Fem år senere måtte han sande, hvor vanskeligt det kan være at hjælpe andre.
Finn Juncker har et freelance-optikerfirma. Med udgangspunkt i Fåborg arbejder han også i Albertslund, i Malaga og i Grønland, og i perioder har han arbejdet i Senegal. Det sidste for egen regning.
Det afrikanske eventyr begyndte, da han så en annonce i bladet Optikeren, hvor man søgte optikere til et projekt om brugte briller til befolkningen i Senegal. Projektet gik ud på, at indsamle brugte briller i Danmark. Brillerne blev renoveret og repareret af tidligere alkoholikere og narkomaner på et behandlingshjem i Nykøbing Falster og herefter sendt til Senegal.
Bag projektet stod en dansk sygeplejerske. Hun søgte to optikere, en sygeplejerske mere og en medhjælper. I 1998 rejste disse fire, inklusive Finn Juncker, til Senegal. De skulle selv betale rejsen og opholdet, og de måtte bruge deres sommerferie på det.
- Vi boede i lerhytter hos de lokale og sov på gulvet, og vores tre daglige måltider bestod af ris, som vi selv skulle betale for. Vi havde også udgifter til chauffør og benzin. Vi var der knap tre uger, og vi foretog 200 synsprøver og udleverede 150 par briller hver dag. Folk var kommet gående flere dagsmarcher for at få briller. Desværre kom der også mange blinde og folk med grå stær, som håbede, at vi kunne kurere dem. Det var hårdt at være vidne til. Men de mange, vi kunne hjælpe, var hele rejsen værd, fortæller Finn Juncker.
Kort efter projektets start søgte den ledende sygeplejerske om midler hos Danida. Omkring en halv million kr. blev bevilget til de tre år, projektet skulle løbe. Det var nu et Danida-projekt.
Nogle af pengene gik til at få senegalesere til Danmark, hvor Finn Juncker oplærte dem, så de kunne fungere som optikere hjemme og således overtage danskernes arbejde. Der gik tre år på denne måde. Finn Juncker brugte to-tre uger hvert år af sin sommerferie på at arbejde som optiker i Senegal, og om vinteren oplærte han senegalesere i Danmark. Men økonomien knirkede.
- Der var et eller andet helt galt. Vi betalte alt for meget for den mad, vi spiste, dvs. ris, og alt for meget for benzin og til chaufførens løn. Målt med lokale alen. F.eks. var det den danske stats kilometertakst, der blev anvendt, når vi skulle køre ud og betjene befolkningen. Men brillerne blev leveret, og behovet var stort. Så vi betalte, beretter Finn Juncker.
De var jævnligt ude for en del ubehagelige hold-ups ved forskellige checkpoints af krigere med maskingeværer. Området var plaget af uro, og det var ikke ufarligt at bevæge sig omkring dernede.
Da projektet udløb efter tre år, opfordrede Finn Juncker tre optikere, han kendte som folk med hjertet på rette sted, til at tage med ham til Senegal i sommerferien og videreføre det påbegyndte arbejde.
Han kontaktede folkene i Senegal og fortalte, at et hold på fire danske optikere med et læs briller var klar til at tage af sted på egen hånd. Det vil sige uden Danida-midler. Optikerne ville ikke kunne betale de samme summer til senegaleserne som hidtil for mad og transport. Da kølnedes interessen mærkbart hos senegaleserne, og de fire optikere kom aldrig af sted.
Men Finn Juncker er gjort af stædigt stof. Han havde lært en gambianer at kende, som var indehaver af en brillebutik i Gambia, men som ikke var uddannet optiker. De to indgik en forretningsaftale om kompagniskab.
Finn Juncker skulle lære ham op og hjælpe ham i gang som partner i foretagenet. Det gik også fint. Finn Juncker uddannede gambianeren i hans butik og havde medbragt en hel del kostbare måleinstrumenter til synsprøver.
Meningen var, at gambianeren skulle købe måleinstrumenterne for de penge, han solgte briller for, men han ville hellere købe biler. Da Finn Juncker forklarede ham, at han gerne ville have sine måleinstrumenter tilbage, tilkaldte gambianeren politiet og bildte betjentene ind, at Finn Juncker havde foræret ham instrumenterne.
Finn Juncker måtte opgive at få sine instrumenter igen.
En ekstra bitter krølle på det eventyr var, at Finn Juncker i Danmark forgæves kæmpede med skattevæsnet, der ikke ville anerkende hans rejse som forretning og udgifterne i den forbindelse som fradragsberettiget.
- Jeg indså, at det var slut. Min indsats og mine penge var tabt. De senegalesere, vi havde lært op som optikere her i Danmark, har aldrig fået lov at praktisere i Senegal. Jeg må sige, at jeg har fået et temmelig desillusioneret syn på ulandsstøtte. Pengene går i de forkerte lommer. Og vores projekt er desværre ikke enestående. Det er kendetegnende for en række afrikanske lande, at nogle få magtfulde høvdinge sidder på alt, og de er villige til at gå langt for at få del i støttemidlerne. De bruger pengene til deres egen familie, til at sende deres børn på dyre skoler, til rejser og luksus. Det var situationen omkring brilleprojektet, og det var grunden til, at vi skulle betale så meget for mad og kørsel. Tilbage står tusindvis af fattige og syge, som kunne have været hjulpet ofte for et forholdsvis beskedent beløb, siger Finn Juncker.
Han har ikke fortrudt sin indsats i Afrika, men han er skuffet og ærgerlig. Sin trang til at gøre nytte og hjælpe andre får han så udløb for i Grønland. | {
"pile_set_name": "OpenWebText2"
} |
1. Field of the Invention
The present invention relates to a motor drive apparatus which is, for example, used for driving an X-Y table of a monolithic wire bonder or a die bonder serving as one of IC manufacturing apparatus, and a method of controlling the same.
2. Description of the Related Art
There is known a method of accurately stopping a motor at a target position, as disclosed in Unexamined Japanese Patent Application No. 55-77384/1980. In this prior art, after the motor passes through the target position, an error extreme point is obtained in order to determine a current value to be supplied to the motor to correct the error. Then, a rectangular current is supplied to the motor so as to eliminate the error and stop the motor at the target position.
Hereinafter, a background technology of the present invention will be explained. FIG. 10 is a block diagram showing one example of a motor drive apparatus controlling a typical three-phase synchronous motor. FIG. 11 is a detailed view showing a motor 1 of FIG. 10. FIG. 12 is a view showing inductive voltages of the motor 1 of FIG. 10. FIG. 13 is a view showing output signals from an encoder 2 shown in FIG. 10. FIG. 14 is a view showing an operation of a pulse converter 3 shown in FIG. 10. And, FIG. 15 is a detailed view showing a magnetic pole detector 4 of FIG. 10.
In FIG. 10, a reference numeral 1 represents a three-phase synchronous motor equipped with 9 slots and 6 poles. More specifically, as shown in FIG. 11, this three-phase synchronous motor comprises a stator 5 and a rotor 6. The stator 5 is associated with three coils of U-phase 7, V-phase 8, and W-phase 9 windings. This motor 1 has nine slots 10 disposed on an inside surface of the stator 5 which are spaced at intervals of 40 degrees. These nine slots 10 are wound by the coil windings in the order of U-phase, V-phase, and W-phase repetitively so as to form a star connection. On the other hand, the rotor 6 has six permanent magnet poles 11 disposed on the outer circumferential surface thereof.
An operational principle of the motor 1 will be explained below. The rotor 8 causes a magnetic field corresponding to its rotational position, which interacts with three, U-phase 7, V-phase 8, and W-phase 9, windings on the stator 5. Therefore, these three windings 7, 8, and 9 generate voltages due to Lorentz's force. Namely, three, U-phase 12, V-phase 13, and W-phase 14, inductive voltages of sine waveform are generated at intervals of 120 degrees as shown in FIG. 12 because a magnetic field to each winding is cyclically increased and decreased in response to spatial positioning of the permanent magnet 11 which cyclically approaches to and departs from each winding during one complete revolution of the rotor 6.
If sine-wave currents being in-phase with these inductive voltages of FIG. 12 are supplied to the U-phase 7, V-phase 8, and W-phase 9 windings, respectively, the rotor 6 generates a torque in a clockwise (abbreviated as CW) direction due to Fleming's left-hand rule. The magnitude of the torque generated is proportional to an amplitude of the current supplied. Moreover, if the above currents are further multiplied with -1 and delayed 180 degrees in phase before being supplied to respective windings, the rotor 6 generates a torque in a counterclockwise (abbreviated as CCW) direction.
In FIG. 10, a reference numeral 2 represents an optical encoder having three channels and installed on a rotor shaft of the motor 1. When the motor i rotates in the clockwise (CW) direction, the encoder 2 generates an A-phase signal 15 and a B-phase signal 18 having a mutual phase difference of 90 degrees therebetween as shown in FIG. 12, together with a Z-phase pulse signal 17 corresponding to one of zero-crossing 20 points of the U-phase inductive voltage 12. If the motor 1 rotates in the counterclockwise (CCW) direction, the phase relationship between the A-phase signal 15 and B-phase signal 16 are reversed. Therefore, the rotational direction of the motor 1 is easily judged by checking the phase relationship between the A-phase signal 15 and the B-phase signal 18.
A reference numeral 3 represents a pulse converter connected to the encoder 2. This pulse converter 3 converts the A-phase and B-phase signals 15 and 18 into a CW pulse signal 18 as shown in FIG. 14 when the motor 1 rotates in the clockwise direction. On the contrary, this pulse converter 3 converts the A-phase and B-phase signals 15 and 16 into a CCW pulse signal 19 as shown in FIG. 14 when the motor 1 rotates in the counterclockwise direction. A reference numeral 4 represents a magnetic pole detector comprising a counter 20, a U-phase current phase command table 21, and a W-phase current phase command table 22. As shown in FIG. 15, the counter 20 receives the signals fed from the pulse converter 3 so as to effect its count-up and count-down operations in response to the CW pulse 18 and the CCW pulse 19, respectively. Furthermore, the counter 20 is connected to the encoder 2 so as to effect its clear operation in response to the Z-phase signal 17. The U-phase current phase command table 21 memorizes the phase of the U-phase inductive voltage 12 with respect to the Z-phase signal 17 of the encoder 2. The W-phase current phase command table 22 memorizes the phase of the W-phase inductive voltage 14 with respect to the Z-phase signal 17.
An operation of the magnetic pole detector 4 will be explained below. The counter 20 is cleared at the zero-cross point of the U-phase inductive voltage 12 in response to the Z-phase signal 17 fed from the encoder 2. When the motor 1 rotates, a rotational displacement or shift amount from the above zero-cross point of the U-phase inductive voltage 12 is counted by the counter 20. The counted value becomes a pointer 23 of the U-phase current phase command table 21 for outputting a phase value of the U-phase inductive voltage 12 corresponding to the present rotational position of the motor 1. In the same manner, the counted value of the counter 20 becomes a pointer 23 of the W-phase current phase command table 22 for outputting a phase value of the W-phase inductive voltage 14 corresponding to the present rotational position of the motor 1.
The magnetic pole detector 4 is connected to two multipliers 24U, 24W so that the phase values of the U-phase and W-phase inductive voltages 12 and 14 can be multiplied with an output of a speed control calculator 25. The speed control calculator 25 outputs a torque command value, i.e. a current amplitude command value. The multipliers 24U, 24W, therefore, multiply the current amplitude command value with the U-phase and W-phase current phase command values. The resultant two outputs from respective multipliers 24U, 24W are, then, fed to two D/A converters 28U, 28W so as to generate U-phase and W-phase current commands, respectively. These U-phase and W-phase current commands are, subsequently, fed to current amplifiers 27U, 27W in which drive currents to be supplied to the U-phase winding 7 and the W-phase winding 9 are generated in response to the U-phase and W-phase current commands, respectively.
The U-phase winding 7, the V-phase winding 8, and the W-phase winding 9 are connected with each other so as to constitute a star connection; therefore, the sum of currents flowing through these three-phase windings 7, 8, and 9 becomes 0. A current command for the V-phase winding 8 is, accordingly, identical with -(U-phase current command +W-phase current command). A subtracter 28 is therefore provided to obtain a V-phase current command equal to -(U-phase current command +W-phase current command). Thus obtained V-phase current command is, thereafter, fed to another current amplifier 27V in which a drive current to be supplied to the V-phase winding 8 is generated in response to the V-phase current command.
A reference numeral 29 represents a speed detector connected to the pulse converter 3. This speed detector 29 detects the speed of the motor 1 by counting the number of pulses generated during a time measured by a timer 38 when the motor 1 rotates at a high speed and measuring an interval between successive pulses generated when the motor 1 rotates at a low speed. Reference numerals 31 and 32 represent a positive-direction position command pulse and a negative-direction position command pulse, respectively, fed from an external device. Reference numerals 33 and 34 represent subtracters.
A reference numeral 35 represents a positional deviation reading sampler which is open-or-close controlled at predetermined intervals in response to an output signal from a timer 37. A reference numeral 38 represents a speed deviation reading sampler which is open-or-close controlled at predetermined intervals in response to an output signal from the timer 38. If these samplers 35 and 38 are closed, the speed control calculator 25, the magnetic pole detector 4, the multipliers 24U, 24W, and the D/A converters 28U, 28W are activated to renew the current commands to be supplied to the current amplifiers 27U, 27W.
The subtracter 34, constituted by an up-down counter, is counted up in response to the positive-direction position command pulse S1 and is counted down in response to the negative-direction position command pulse 32. The subtracter 34 is further counted down in response to the CW pulse 18 fed from the pulse converter S and is counted up in response to the CCW pulse 19. The subtracter 34 calculates a positional deviation through these count-up and count-down operations.
A reference numeral 39 represents a position control calculator which amplifies the positional deviation obtained. The speed control calculator 25 amplifies a value supplied from the speed deviation reading sampler 38 to obtain a torque command, i.e. a current amplitude command.
An operation of the above-described motor drive apparatus will be explained below.
First of all, the subtracter 34, constituted by an up-down counter, is counted up in response to the positive-direction position command pulse 31 and counted down in response to the negative-direction position command pulse 32, and is further counted down in response to the CW pulse 18 fed from the pulse converter 3 and counted up in response to the CCW pulse 19, in order to obtain the positional deviation. Furthermore, the position control calculator 39 inputs the positional deviation through the positional deviation reading sampler 35 being open-or-close controlled by the timer 37. The position control calculator 39 amplitudes this positional deviation and outputs a speed command so as to reduce the positional deviation.
Next, the subtracter 33 subtracts this speed command by a feedback speed obtained from the speed detector 29 to generate a speed deviation. The speed control calculator 25 inputs the speed deviation through the speed deviation reading sampler 36 being-open-or-close controlled by the timer 38. The speed control calculator 25 amplitudes this speed deviation and generates a torque command, i.e. a current amplitude command.
On the other hand, when the motor 1 rotates in the clockwise (CW) direction, the encoder 2 generates the A-phase signal 15 and the B-phase signal 16 having a mutual phase difference of 90 degrees therebetween as shown in FIG. 12, together with the Z-phase pulse signal 17 corresponding to one of zero-crossing points of the U-phase inductive voltage 12. This A-phase signal 15 and B-phase signal 16 are, then, inputted into the pulse converter 3. These A-phase signal 15 and B-phase signal 16 are converted into the CW pulse 18 when the motor 1 rotates in the clockwise (CW) direction, and are converted into the CCW pulse 19 when the motor 1 rotates in the counterclockwise (CCW) direction.
Next, the CW pulse signal 18 and the CCW pulse signal 19 outputted from the pulse converter 3, and the Z-phase signal 17 outputted from the encoder 2 are supplied to the magnetic pole detector 4. The counter 20 shown in FIG. 15 is counted up by the CW pulse signal 18 and counted down by the CCW pulse signal 19. Furthermore, the counter 20 is cleared by the Z-phase signal 17 fed from the encoder 2 to be 0. Namely, an arrival of the designated zero-cross point of the U-phase inductive voltage 12 is known by checking the Z-phase signal 17. And, a displacement or shift amount of the motor 1 from the designated zero-cross point of the U-phase inductive voltage 12 is known from the count value of the counter 20. The count value of the counter 20 becomes the pointer 23 of the U-phase current phase command table 21 for outputting the phase value of the U-phase inductive voltage 12 corresponding to the present rotational position of the motor 1. Moreover, the count value of the counter 20 becomes the pointer 23 of the W-phase current phase command table 22 for outputting the phase value of the W-phase inductive voltage 14 corresponding to the present rotational position of the motor 1.
In the multipliers 24U, 24W, the phase values of the U-phase and W-phase inductive voltages 12 and 14 are multiplied with the torque command outputted from the speed control calculator 25. Namely, the multipliers 24U, 24W multiply the current amplitude command value with the U-phase and W-phase current phase command values, respectively. The resultant two outputs from respective multipliers 24U, 24W are, then, fed to two D/A converters 26U, 26W so as to generate U-phase and W-phase current commands, respectively. These U-phase and W-phase current commands are, subsequently, fed to current amplifiers 27U, 27W in which the drive currents to be supplied to the U-phase winding 7 and the W-phase winding 9 are generated in response to the U-phase and W-phase current commands, respectively.
On the other hand, the subtracter 28 obtains the current command for the V-phase winding 8 by calculating the value identical with -(U-phase current command +W-phase current command). Thus obtained V-phase current command is, thereafter, fed to the current amplifier 27V in which the drive current to be supplied to the V-phase winding 8 is generated in response to the V-phase current command.
If the torque command is a positive value, the motor 1 generates a torque in the clockwise (CW) direction. On the contrary, if the torque command is a negative value, the motor 1 generates a torque in the counterclockwise (CCW) direction because the multipliers 24U and 24W generate U-phase and W-phase current commands having 180-degree phase difference with respect to respective U-phase and W-phase current phase commands. Thus, the speed deviation is decreased. In accordance with the reduction of the speed deviation, the positional deviation becomes small.
FIG. 9(A) shows a sampling interval of the speed deviation reading sampler 36 applied to both moving and stationary conditions of the motor 1. FIG. 9(B) shows a sampling interval of the positional deviation reading sampler 35 applied to both moving and stationary conditions of the motor 1.
When the motor 1 is in a moving condition, in order to stabilize the motor drive operation by the above-described motor drive apparatus, the speed control must be performed by using three times or more sampling with respect to the calculated speed command as shown in FIG. 9. The reason why three times or more sampling are required when the motor 1 is in a moving condition is as follows.
If the speed command sampling interval is identical with the control sampling interval in the speed control operation, the motor 1 will not be able to sufficiently follow up the speed command because, even if the speed of the motor 1 is controlled to coincide with the speed command value, the speed command value itself may vary at the next coming control sampling timing. Thus, the speed of the motor 1 cannot be stabilized. Especially, as the positional command varies widely when the motor 1 is in a moving condition, the speed command will correspondingly cause wide variation. Hence, three times or more sampling are required for allowing the motor 1 to follow up the speed command. For this reason, the speed of the timer 37 is set 1/3 or less compared with that of the timer 38.
In accordance with the above motor drive apparatus, the sampling interval of the positional deviation reading sampler 35 will be sufficiently extended or elongated so as to stabilize the motor speed control during the moving condition of the motor. However, when the motor 1 is in a stationary condition, the sampling interval of the positional deviation reading sampler 35 will be too long to accurately detect a small positional deviation if this small positional deviation varies at a period smaller than that of the positional deviation reading sampler 35. Consequently, there is a problem that the positioning control cannot be accurately and responsively performed when the motor is in a stationary condition. | {
"pile_set_name": "USPTO Backgrounds"
} |
Q:
Can a existing mapreduce program be made to run from a specified offset of input file
Is there any way to run an existing mapreduce program so that it processes only from a given offset of the input file?
Eg:
If given offset is 500, the mapreduce program should start processing input file from 500th byte.
A:
It is possible, but will require Java coding and creating a custom InputFormat. For example you can subclass FileInputFormat and override methods public List getSplits(JobContext job) and protected FileSplit makeSplit(Path file, long start, long length, String[] hosts).
To pass the starting offset you can use Configuration parameters accessible via job.getConfiguration().getInt(YOUR_PARAM_NAME, 0)
| {
"pile_set_name": "StackExchange"
} |
Allele-specific wild-type blocker quantitative PCR for highly sensitive detection of rare JAK2 p.V617F point mutation in primary myelofibrosis as an appropriate tool for the monitoring of molecular remission following therapy.
Screening of JAK2 V617F point mutation becomes more and more important in monitoring of JAK2 positive MPN following stem cell transplantation. In an attempt to achieve the required high sensitivity (1:10(5)), specifity and robustness we created an approach applicable on bone marrow biopsies where we adapted the principle of wild-type blocker PCR with allele-specific Q-PCR. The significance of the assay was demonstrated on a retrospective series of sequential bone marrow biopsies as diagnosis of molecular relapse now preceded the diagnosis of clinical relapse by far. This method offers the urgently needed tool for a systematic molecular analysis of sequential biopsies in the course of stem cell transplantation to develop guidelines for the management of these patients. | {
"pile_set_name": "PubMed Abstracts"
} |
///
/// Copyright (c) 2016 Dropbox, Inc. All rights reserved.
///
/// Auto-generated by Stone, do not modify.
///
#import <Foundation/Foundation.h>
#import "DBSerializableProtocol.h"
@class DBTEAMPOLICIESSharedFolderJoinPolicy;
NS_ASSUME_NONNULL_BEGIN
#pragma mark - API Object
///
/// The `SharedFolderJoinPolicy` union.
///
/// Policy governing which shared folders a team member can join.
///
/// This class implements the `DBSerializable` protocol (serialize and
/// deserialize instance methods), which is required for all Obj-C SDK API route
/// objects.
///
@interface DBTEAMPOLICIESSharedFolderJoinPolicy : NSObject <DBSerializable, NSCopying>
#pragma mark - Instance fields
/// The `DBTEAMPOLICIESSharedFolderJoinPolicyTag` enum type represents the
/// possible tag states with which the `DBTEAMPOLICIESSharedFolderJoinPolicy`
/// union can exist.
typedef NS_CLOSED_ENUM(NSInteger, DBTEAMPOLICIESSharedFolderJoinPolicyTag){
/// Team members can only join folders shared by teammates.
DBTEAMPOLICIESSharedFolderJoinPolicyFromTeamOnly,
/// Team members can join any shared folder, including those shared by users
/// outside the team.
DBTEAMPOLICIESSharedFolderJoinPolicyFromAnyone,
/// (no description).
DBTEAMPOLICIESSharedFolderJoinPolicyOther,
};
/// Represents the union's current tag state.
@property (nonatomic, readonly) DBTEAMPOLICIESSharedFolderJoinPolicyTag tag;
#pragma mark - Constructors
///
/// Initializes union class with tag state of "from_team_only".
///
/// Description of the "from_team_only" tag state: Team members can only join
/// folders shared by teammates.
///
/// @return An initialized instance.
///
- (instancetype)initWithFromTeamOnly;
///
/// Initializes union class with tag state of "from_anyone".
///
/// Description of the "from_anyone" tag state: Team members can join any shared
/// folder, including those shared by users outside the team.
///
/// @return An initialized instance.
///
- (instancetype)initWithFromAnyone;
///
/// Initializes union class with tag state of "other".
///
/// @return An initialized instance.
///
- (instancetype)initWithOther;
- (instancetype)init NS_UNAVAILABLE;
#pragma mark - Tag state methods
///
/// Retrieves whether the union's current tag state has value "from_team_only".
///
/// @return Whether the union's current tag state has value "from_team_only".
///
- (BOOL)isFromTeamOnly;
///
/// Retrieves whether the union's current tag state has value "from_anyone".
///
/// @return Whether the union's current tag state has value "from_anyone".
///
- (BOOL)isFromAnyone;
///
/// Retrieves whether the union's current tag state has value "other".
///
/// @return Whether the union's current tag state has value "other".
///
- (BOOL)isOther;
///
/// Retrieves string value of union's current tag state.
///
/// @return A human-readable string representing the union's current tag state.
///
- (NSString *)tagName;
@end
#pragma mark - Serializer Object
///
/// The serialization class for the `DBTEAMPOLICIESSharedFolderJoinPolicy`
/// union.
///
@interface DBTEAMPOLICIESSharedFolderJoinPolicySerializer : NSObject
///
/// Serializes `DBTEAMPOLICIESSharedFolderJoinPolicy` instances.
///
/// @param instance An instance of the `DBTEAMPOLICIESSharedFolderJoinPolicy`
/// API object.
///
/// @return A json-compatible dictionary representation of the
/// `DBTEAMPOLICIESSharedFolderJoinPolicy` API object.
///
+ (nullable NSDictionary<NSString *, id> *)serialize:(DBTEAMPOLICIESSharedFolderJoinPolicy *)instance;
///
/// Deserializes `DBTEAMPOLICIESSharedFolderJoinPolicy` instances.
///
/// @param dict A json-compatible dictionary representation of the
/// `DBTEAMPOLICIESSharedFolderJoinPolicy` API object.
///
/// @return An instantiation of the `DBTEAMPOLICIESSharedFolderJoinPolicy`
/// object.
///
+ (DBTEAMPOLICIESSharedFolderJoinPolicy *)deserialize:(NSDictionary<NSString *, id> *)dict;
@end
NS_ASSUME_NONNULL_END
| {
"pile_set_name": "Github"
} |
Introduction
Mark J. Terrill/Associated Press
Though some have argued that the crowded G.O.P. primary debates would improve if they were more, and not less, of a circus, many critics have lamented the lack of substantive policy discussion by presidential candidates. What changes could be made to the debate formats to make them more substantive? | {
"pile_set_name": "OpenWebText2"
} |
477 F.2d 598
Zukowskiv.State Bar Grievance Board, State Bar ofMichigan
73-1072
UNITED STATES COURT OF APPEALS Sixth Circuit
4/18/73
1
E.D.Mich.
AFFIRMED
| {
"pile_set_name": "FreeLaw"
} |
Primary care for women. Comprehensive assessment and management of common mental health problems.
This article emphasizes the importance of the role of the certified nurse-midwife (CNM) in the primary care assessment of, and appropriate referral for women with mental health problems, especially in cases of psychiatric emergencies. Essential aspects of assessment, diagnosis, and treatment of the more common psychiatric problems are included, and the treatment modalities that are considered when referral results in psychiatric intervention are reviewed. In addition, the overall prevalence of mental health problems in women, the frequency with which primary care providers may encounter mental health problems, and issues of mental health care utilization are discussed. | {
"pile_set_name": "PubMed Abstracts"
} |
When Rudy Gay left the game with a left knee injury late in the first quarter, memories of the Sacramento Kings’ (16-22) recent poor play minus a star resurfaced. The thought came to fruition as DeMarcus Cousins joined him on the sidelines in the waning seconds of regulation, and the short-handed Kings fell to the visiting Dallas Mavericks (27-12), 108-104.
The Kings are currently 2-2 on their six-game home stand and return to action on Friday in a contest against the Miami Heat. Join Cowbell Kingdom’sJames Ham as he recaps the action from the floor of Sleep Train Arena.
Golden State Warriors Projected Starters (31-22)
What to watch
1. Can the Kings win without DeMarcus Cousins?
The Kings are 0-7 without their starting center and it looks like Cousins will miss another game on Wednesday with a strained left hip flexor. Andrew Bogut is questionable for the Warrior with left shoulder inflammation, as is reserve Jermaine O’Neal (sore back). This game might turn into a track meet, which doesn’t bode well for Sacramento.
2. Can the Kings defend the 3-point line?
Sacramento ranks 28th in the league against the long ball. The Warriors starting backcourt of Curry and Thompson have already shot close to 800 3-pointers on the season. If the Kings don’t stay with Golden State’s shooters, they have very little chance of pulling off the upset.
3. How do the Kings players handle the trade rumors?
The trade deadline is 12pm PST on Thursday and the rumors are swirling. Do the Kings players crumble under the pressure or do they come out swinging in what might be their last game in Sacramento?
According to an NBA source, Sacramento Kings point guard Isaiah Thomas underwent an MRI earlier Tuesday on his left wrist. Counter to other media reports, the results of the tests were negative and Thomas is not expected to miss any time with the injury.
Since taking over the starting position 35 games ago, Thomas is averaging 21.5 points, 6.9 assists and 1.3 steals per game in 37.5 minutes. But rumors that he was having some discomfort in his wrist began a few weeks back.
Recently, his shooting numbers have taken a dramatic dip, beginning in January when he shot just 41.2 percent from the field and 32.7 percent from long range. Thomas’s overall field goal percentage has bounced back in the month of February, but his 3-point percentage for the seven games this month is 24.1 percent.
Thomas and rookie guard Ben McLemore were the subject of a trade rumor on Monday, but coach Michael Malone and general manager Pete D’Alessandro refuted the reports following practice on Tuesday afternoon.
“The report that was, I think on Yahoo!, about our offer to Boston was so erroneous and I don’t know where it came from,” Malone told reporters on Tuesday. “We dispel the rumors that are out there that we know are not true, but at the same time, this is a business and you have no idea what can happen up until trade deadline. I think all of our players realize that.”
With injuries and possible trade rumors swirling, it should be a wild couple of days in Sacramento.
DeMarcus Cousins Injury Update
Thomas wasn’t the only Kings player to undergo an MRI today. For the second straight day, center DeMarcus Cousins made a trip to the doctors office for testing. Results of the first MRI were inconclusive, but a second test confirmed the Kings medical staff’s earlier diagnosis of a strained left hip flexor.
Cousins has been unable to participate in practice since returning from the All-Star break. He is listed as day-to-day, but considered doubtful for Wednesday’s match-up against the Golden State Warriors.
Hamady Ndiaye out of Rutgers and DeQuan Jones out of Florida are the only late additions. Ndiaye was in camp last season with Sacramento and left a solid impression. After being waived by the Kings, the 26-year old center spent last season playing for Tianjin Ronggang Golden Lions of the Chinese Basketball Association.
Jones played in 63 games last season with the Orlando Magic, including 17 starts. He averaged 3.7 points per game in a little under 13 minutes a game.
Last season it was high ropes courses in Colorado Springs, Co. This year, the Sacramento Kings open training camp away from home again, but instead of the Team USA practice facility in Colorado, it will be on the sandy beaches of Santa Barbara, CA. Camp will run from Oct. 1-6 at the Pavilion Gym on the University of California, Santa Barbara campus.
The team will head back to Northern California for their pre-season opener on the road against the Golden State Warriors on October 7, before heading to Las Vegas to take on the Lakers on Oct. 10.
After the initial week away, the Kings will continue camp in Sacramento at the team’s practice facility in Natomas.
Cowbell Kingdom has grown exponentially since its founding in 2009 and we want to make sure we know our audience. The information you provide in this brief survey will be used to help us better serve you. For your participation, you will be automatically entered into a contest to win a copy of the 2013-14 Sacramento Kings Dancers calendar and a “Blackout” t-shirt commemorating last season’s first home game.
But there’s probably no other player more overlooked and underrated on this season’s roster than the fourth-year guard. Just look no further than ESPN.com’s annual NBA Rank, which appraises the value of the league’s top 500 players. The 25-year-old guard moved up just five spots (no. 136 in 2011 to no. 131 in 2012) in this year’s rankings. These were the five players ranked just ahead of Thornton in the 2012 forecast:
Such is life on a bad team with little to no national exposure. However, those who follow the Kings closely know just how valuable Thornton is, especially his competition.
“He’s become an outstanding scorer in this league,” said Dallas Mavericks guard Darren Collisonback in January of his former New Orleans Hornets teammate. “He’s definitely made a niche in this league as far as (being) a big time scorer.
“He can shoot the ball extremely well and he can do a lot of different things off the pick and roll,” added Collison. “And he’s exceptionally quick too.”
In their rookie year, Collison and Thornton formed an explosive and exciting young backcourt for the Hornets. Though they’ve since gone their separate ways, the two remain close. Thornton worked out last offseason with Collison in Los Angeles during the lockout.
The fourth-year guard out of UCLA thinks Sacramento is a good fit for his old teammate. He believes Thornton will only continue to improve with the Kings’ green nucleus.
“This is a young team that’s going to be good in the near future,” Collison said. “He has a starting role here, so anytime you have a starting role, it’s always a good fit. And he’s one of their best scorers, too.”
Averaging 18.7 points per game, Thornton led the Kings in scoring last season and usually found himself as their go-to-guy in clutch situations. The next step for Thornton, according to another former teammate, is becoming an accomplished defender.
“He’s always been a capable scorer,” said Indiana Pacers big man David West. “Key for him has always been for him to play as hard defensively as he does offensively.”
As explosive as he is with the ball, Thornton could stand to see some improvement on the defensive end. The Louisiana native finished in the bottom three among his 15 teammates in defensive rating.
“We would challenge him to do the same thing on the defensive end,” said West of his days with Thornton in New Orleans. “Make him more of a complete ball player.”
However like Collison, West thinks Thornton will continue to find success in the league.
“He’s a strong-minded, tough-minded kid,” West said. “I knew that once he got an opportunity to just get in a system that worked for him and bring out his best skills, he’d do well.”
The Kings may not belong to Marcus Thornton. But his importance to their success isn’t an understatement.
Twenty-five years ago today, Sacramento Kings Head Coach Keith Smart hit a shot that changed his life forever.
No matter where I go, people talk about it. Once they recognize me or see a nametag on my bag or something like that, they start talking about “The Shot”. So it’s a great moment and I’m glad it went in, but wasn’t just something for me.
We just had our 25 year championship reunion. And we all got together and it wasn’t so much what we all did in the tournament and our careers. It was a friendship and a relationship that we have now that that moment brings us all together.
Diehard Sacramento Kings fan Kevin Fippin wanted to propose to his long-time girlfriend Lydia Nicolaisen. So before he popped the question on New Year’s Eve, he recruited the services of a Sacramento Kings fan favorite. | {
"pile_set_name": "Pile-CC"
} |
Three-dimensional structures of H-ras p21 mutants: molecular basis for their inability to function as signal switch molecules.
The X-ray structures of the guanine nucleotide binding domains (amino acids 1-166) of five mutants of the H-ras oncogene product p21 were determined. The mutations described are Gly-12----Arg, Gly-12----Val, Gln-61----His, Gln-61----Leu, which are all oncogenic, and the effector region mutant Asp-38----Glu. The resolutions of the crystal structures range from 2.0 to 2.6 A. Cellular and mutant p21 proteins are almost identical, and the only significant differences are seen in loop L4 and in the vicinity of the gamma-phosphate. For the Gly-12 mutants the larger side chains interfere with GTP binding and/or hydrolysis. Gln-61 in cellular p21 adopts a conformation where it is able to catalyze GTP hydrolysis. This conformation has not been found for the mutants of Gln-61. Furthermore, Leu-61 cannot activate the nucleophilic water because of the chemical nature of its side chain. The D38E mutation preserves its ability to bind GAP. | {
"pile_set_name": "PubMed Abstracts"
} |
Autosomal dominant polycystic kidney disease (ADPKD) is a common monoallelic disorder associated with progressive cyst development and resulting in end stage renal failure (ESRD) in 50% of patients by 60y. However, there is considerable phenotypic variability, extending from in utero onset to patients with adequate renal function into old age. Autosomal dominant polycystic liver disease (ADPLD), as traditionally defined, results in PLD with minimal renal cysts. Classically there have been considered two ADPKD genes, PKD1 and PKD2, encoding PC1 and PC2, and two ADPLD genes, PRKCSH and SEC63, but in the past few years greater genetic heterogeneity has been described, with nine genes now implicated overall. Recent data also indicates an overlap in etiology and pathogenesis associated with ADPKD and ADPLD, with the efficient biogenesis and localization of the PC-complex central to both disorders. During the last funding period we identified a novel gene, GANAB, which is associated with both disorders, where the encoded protein, GII?? is involved in the maturation and trafficking of PC1. In this proposal we will take advantage of advances in next generation sequencing (NGS) methodologies, and large populations of ADPKD and ADPLD patients that have been assembled and screened for the classic genes, to hunt for novel genes for these disorders (Aim 1). The phenotype associated with these genes will be characterized (Aim 3) along with their mechanism of action (Aim 2). NGS methods will be perfected to screen the segmentally duplicated locus, PKD1, and to identify missed mutations at the known loci, including those present in just some cells due to mosaicism (Aim 1). The significance of many PKD1 nontruncating variants has been difficult to evaluate (classed as variants of unknown significance; VUS), but recently evidence that some are incompletely penetrant alleles partially explains phenotypic variability in PKD1 populations. In Aim 2 improved in silico predictions, in combination with machine learning, will improve the understanding of the pathogenicity and penetrance of VUS. A cellular assay of the biogenesis and trafficking of this PC-complex will also be employed to quantify the penetrance of VUS. The mechanism of pathogenesis will be explored in animal models with ultralow penetrant (ULP) Pkd1 or Pkd2 alleles. Employing the large clinically, imaging, and genetically well-defined populations phenotypic groupings of patients will be defined that will then be compared to the genic and PKD1 allelic groups (Aim 3). This iterative process will allow the Variant Score (VS) associated with each PKD1 VUS to be refined. In a separate population the revised VS, alone and in combination with clinical, functional, and imaging data, will be employed to generate a comprehensive, predictive algorithm for ADPKD (Aim 3). Disease modifiers to severe disease, via biallelic ADPKD, and due to alleles at other loci will also be identified and characterized in the cellular assay and in vivo in combination with the Pkd1 hypomorphic, RC model. The final aim will exploit the newly identified information that some PKD1 and PKD2 VUS are rescuable, folding mutations that in a maturation-fostering environment can traffic and function appropriately. A screening scheme based on the level of cell surface PC1 will be improved and new chaperone drugs specific for the PC complex will be sought in collaboration with Sanford Burnham Prebys. A second mutation group that will be explored therapeutically are nonsense mutations. A cellular assay for readthrough efficiency is being developed and will be used for screening. Identified chaperone or readthrough drugs will be tested in available mouse models. Overall this proposal will better explain the etiology and the genetic causes of phenotypic variability in ADPKD/ADPLD, develop better prognostic tools for individual selection of patients for treatment that are now becoming available, and explore allele based treatments for ADPKD. | {
"pile_set_name": "NIH ExPorter"
} |
Q:
A japanese saying "一をいうと十返ってくる"
I'm currently trying to read a japanese novel and I found this expression :
一をいうと十返ってくる
It was meant to qualify a character, but I just don't get it. At first I thought it could mean "tell one and give back ten", so I thought it meant this character tends to do more than he was actually asked or intended to do...?
However, I tried searching on japanese sites and it seems it's a saying to qualify a very proud person...? Still I would like to have a more precise idea of what it could really mean and where it does come from, because I'm very interested by japanese idioms.
Does anyone have a more precise idea ?
Thank you very much.
A:
「[一]{いち}をいうと[十返]{じゅうかえ}ってくる」
The meaning and nuance of this phrase can be quite different depending on the context or the speaker's intention.
Positive:
Someone is always willing to give a full explanation. You ask one simple question and he will not only answer that question but also give you so much more related information.
Negative:
Someone always talks back to you. Tell him one thing and he will give back a long session of objection, refutation, etc.
(Possibly) more important:
I explained the phrase in terms of "speaking words" above, but the phrase does not always have to be about "ten times as many words". It can also be about someone's tendency in taking non-verbal actions if he just is the type to do much more than the bare minimum.
| {
"pile_set_name": "StackExchange"
} |
Michele Orecchia
Michele Orecchia (26 December 1903 – 11 December 1981) was an Italian professional road bicycle racer, who won one stage in the 1932 Tour de France. He also competed in the individual and team road race events at the 1928 Summer Olympics.
Major results
1927
Giro del Sestriere
1929
Giro d'Italia:
9th place overall classification
1932
Tour de France:
Winner stage 8
References
External links
Official Tour de France results for Michele Orecchia
Category:1903 births
Category:1981 deaths
Category:Italian male cyclists
Category:Italian Tour de France stage winners
Category:Sportspeople from Marseille
Category:Olympic cyclists of Italy
Category:Cyclists at the 1928 Summer Olympics
Category:Tour de France cyclists
Category:French male cyclists | {
"pile_set_name": "Wikipedia (en)"
} |
A VISUALLY STUNNING architectural biography of Minnesota’s most influential architect of the twentieth century. Architect, artist, furniture designer, and educator, Ralph Rapson has played a leading role in the development and practice of modern architecture and design, both nationally and internationally.
“Ralph Rapson is now a legend in the history of modern architecture.”
—Cesar Pelli, FAIA
REVIEW:
Barbara Flanagan/The New York Times
Ralph Rapson is best known as the designer of the Gutherie, Minneapolis’s landmark of theater design, but because he worked, taught and competed with most of the world’s first modernists–Wright, Mies, Corbusier, Saarinen–his elder son and biographer calls him “the Forest Gump of architecture.”
Ralph Rapson: Sixty Years of Modern Design, by Rip Rapson, Jane King Hession and Bruce N. Wright, documents the architect’s vast career and uncanny associations.
Rapson believed design should be reflect the moment–furniture, houses, cities–but his take on modernism was never pompous. He perpetuated endless ideas–still fresh–vibrant drawings and youthful pranks. (He had his students hoist famous visitors upside down, including the stocky Buckminister Fuller, and footprint the ceiling with their bare soles.) The book shows how one can be talented, influential and happy, all the while remaining internationally obscure. It also tells, discreetly, how one man can achieve all this single-handedly: with his right forearm amputated at birth, Ralph Rapson drew with his left hand. | {
"pile_set_name": "Pile-CC"
} |
Q:
Doctrine2 entity default value for ManyToOne relation property
I've got a Doctrine2 Entity called "Order", which has several status properties. The allowed status' are stored in a different Entity, so there is a ManyToOne relation defined for those entities.
/**
* @ORM\Entity()
*/
class Order extends AbstractEntity {
// ...
/**
* @ORM\ManyToOne(targetEntity="Status")
* @ORM\JoinColumn(onDelete="NO ACTION", nullable=false)
*/
protected $status;
/** @ORM\Column(nullable=true) */
protected $stringProperty = "default value";
}
I need to set this status property to a default value when creating a new instance of the order object.
For a "non-relation" property I can simply set it like the $stringProperty above. But how to do it for relations?
I cannot set the value to the id of the related record, as Doctrine2 will complain.
It's fine if the configured default is a "Reference" to the status entity. The available status' are fixed and won't change (often).
How do I configure the entity to have a proper default relation configured.
Preferably not in a listener when persisting, as the status may be requested before that.
A:
There are several approaches but I would suggest using the OrderRepository as a factory for creating new orders.
class OrderRepository
{
public function create()
{
$order = new Order();
$status = $this->_em->find('Status','default'); // or getReference
$order->setStatus($status);
return $order;
}
}
// In a controller
$orderRepository = $this->container->get('order_repository');
$order = $orderRepository->create();
By going with a repository you can initialize complex entity graphs that will be ready for persisting.
==========================================================================
Plan B would be to do this sort of thing within the order object and then use listeners to "fix things up" before persisting or updating.
class Order
{
public function __construct()
{
$this->status = new Status('Default');
}
}
The problem of course is that a default status object already exists in the database so when you flush you will get a error. So you need to hang an onFlush(http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/events.html#onflush) listener on the entity manager, check to see if the status object is being managed by the entity manager and, if not, replace it with a managed object fetched via the entity manager.
This approach lets you deal with more "pure" domain models without worrying as much about the persistence layer. On the other hand, dealing with the flush can be tricky. On the gripping hand, once you get it working then it does open up some major possibilities.
========================================================
There is also the question of what exactly the status entity does. If all it contains is some sort of status state ('entered',processed') etc. Then you might consider just having it be a string. Sort of like the ROLE_USER objects.
| {
"pile_set_name": "StackExchange"
} |
Q:
React typescript ref return null in conditional rendering
I want to use React refs, it works fine in static rendering, e.g:
<footer ref="ftr"></footer>
But, not in conditional rendering, e.g:
{footer ?
<footer ref="ftr"></footer>
: null}
When I called ReactDOM.findDOMNode(this.refs.ftr);, the first way returned the element (fine) but the second returned me undefined.
How to do the right way in conditional rendering? Any answer would be appreciated.
A:
You should not use string refs as written in the docs:
We advise against it because string refs have some issues, are
considered legacy, and are likely to be removed in one of the future
releases
You can do this:
let footerElement: HTMLElement | null = null;
...
{footer ?
<footer ref={ el => footerElement = el }></footer>
: null}
...
if (footerElement != null) {
...
}
| {
"pile_set_name": "StackExchange"
} |
Q:
Not populating tableview with structure array
I need to populate my tableView with an array of a structure. The first property of the structure is the name. This is what I tried...
var menuArray:[Restaurant] = [Restaurant]()
override func viewDidLoad() {
super.viewDidLoad()
let shake = Item(name: "Shake", carbs: 20)
let fries = Item(name: "Fries", carbs: 30)
let beverages = Category(name: "Beverages", items: [shake])
let chips_fries = Category(name: "Chips & Fries", items: [fries])
let desserts = Category(name: "Desserts", items: [])
let other = Category(name: "Other Menu Items", items: [])
let sandwiches_burgers = Category(name: "Sandwiches & Burgers", items: [])
let sides = Category(name: "Sides", items: [])
a_w = Restaurant(name: "A&W", categories: [beverages, chips_fries, desserts, other, sandwiches_burgers, sides])
let menuArray = [a_w]
}
override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let currentCell = tableView.dequeueReusableCell(withIdentifier: "cell")
let currentRestaurant = menuArray[indexPath.row]
currentCell?.textLabel!.text = currentRestaurant.name
return currentCell!
}
override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return menuArray.count
}
Why won't it populate my tableView
Here is my class also...
import Foundation
struct Item {
let name: String
let carbs: Int
}
struct Category {
let name: String
let items: [Item]
}
struct Restaurant {
let name: String
let categories: [Category]
}
A:
In this line
let menuArray = [a_w]
you are creating a local variable menuArray which is different from the property with the same name representing the data source array.
Omit let
menuArray = [a_w]
PS: Please use more descriptive variable names than a_w.
| {
"pile_set_name": "StackExchange"
} |
The Harper government is looking for security experts to help harden federal buildings in the Ottawa area against threats, including possible terror-related attacks.
Public Works posted a tender Wednesday asking for professionals to conduct so-called threat risk assessments “to identify employees and assets that need protection, analyze threats against them, assess the current risk, and recommend safeguards.”
The review will cover all federally owned or leased buildings in the Ottawa area and may include bridges, dams and other structures, says the document.
The posting follows the Oct. 22 shootings at Parliament Hill, which exposed numerous security gaps, as well as the government’s recent claims that Canada is a target for ISIS and related groups based in the Middle East.
Grade every deficiency
The list of potential risks cited in the material includes terrorism, demonstrations, environmental threats and others, and the tender requires inspections of all elements of buildings, including the siting of washrooms and how the exteriors of buildings are illuminated.
The consultants are to grade every deficiency up to the highest level, described as a “condition of vulnerability which exists which may be exploited by opportunistic person(s) or organizations with hostile objectives.”
A lone gunman managed to penetrate deep into the Centre Block of the House of Commons on Oct. 22 before being gunned down in a hallway metres from the prime minister and dozens of other politicians.
RCMP called in the Ontario Provincial Police to review the security failings exposed by the incident, and their report is expected to be handed down shortly. | {
"pile_set_name": "OpenWebText2"
} |
It was a Pink Burn-out YO!PS - anyone else see the creator pot-hole on lane 2 there...You can fall in there and they'll never find you! | {
"pile_set_name": "OpenWebText2"
} |
Q:
How to Compile and Debug C++ in Notepad++ using Turbo C++ Compiler
I have installed NppExecute plugin in notepad++. I am not able to figure out next step to compile and debug C,C++ programs in Notepad++.
System Details: (a) Turbo C directory C:\TC (b) OS Windows 7
Please provide complete details on how to set Environment Variable and Scripts for Compiling and Debugging.
A:
I wondering why somone wants to use turbo C++.If you run Windows, just use Visual Studio Express, or Dev-C++.If you still want to use Turbo C you will run into several problems with compatibility of this ancient software.
A:
Notepad++ has the run feature, but as far as I know it's unable to help you debugging (e.g. stepping through code, watching variables, etc.).
Your best bet would be using a simple batch file to compile the code and run your debug commands, but as far as I know you can't include everything into Notepad++ (i.e. it's no real C/C++ IDE).
Only option you've got is adding the created batch file as the program to be run by NppExecute.
Edit:
Overall, as rkosegi suggested, if possible, use a more up-to-date toolchain.
Microsoft's Visual C++ Express Edition can be downloaded for free and used for private or commercial projects.
If you target cross platform code, it might be easier to use MinGW to use GCC/G++ under Windows.
| {
"pile_set_name": "StackExchange"
} |
All Studio Posts
The upcoming AES 54th International Conferencem focusing on audio forensics, is set to take place June 12-14, 2014, at the Holiday Inn Bloomsbury in London. Dedicated to exploring techniques, technologies and advancements in the field of audio forensics, the conference will provide a platform for sharing research related to the forensic application of speech/signal processing, acoustical analyses, audio authentication and the examination of methodologies and best practices. Chairpersons for this conference are Mark Huckvale and Jeff M. Smith. This marks…
View this post
From the archives of the late, great Recording Engineer/Producer (RE/P) magazine, enjoy this in-depth discussion with engineer/ producer Val Garay, conducted by Robert Carr. This article dates back to the October 1983 issue. As a natural extension to his career as a musician during the early Sixties, Val Garay’s love for music lead him to pursue the art and science of audio engineering. Starting in 1969, he apprenticed at the Sound Factory, Hollywood, under rock-recording legend Dave Hassinger (Rolling Stones,…
View this post
Studio Technologies recently became Audinate’s 100th Dante licensee and is embracing the audio-over-Ethernet movement by developing a line of Dante-enabled products. “Studio Technologies prides itself on developing specialized solutions for its customers,” says Studio Technologies president Gordon Kapes. “Our users rely on us to deliver products that will enhance their workflow in both fixed and mobile broadcast applications. Dante has proven its technological excellence, and we are convinced that it is the correct, progressive solution for adding networking technology to…
View this post
Software company Plugin Alliance has announced the availability of bx_refinement and bx_saturator V2, two new native plug-ins from German software developer Brainworx. bx_refinement is the brainchild of mastering engineer Gebre Waddell of Stonebridge Mastering, who designed the original prototype as a tool to remove harshness, a problem he was encountering more and more in his work due to the transition to digital and the prevalence of over-compressed mixes. “Harsh recordings are one of the most common problems mixing and mastering…
View this post
Located outside Dallas, Cool Pony Media is a record label and artist development company that works with various music genres, as well as score-to-picture work. Brothers and co-founders, Mark and Mike Stitts, recently did an upgrade in part of their studio with help from API, and as a result, the team now uses THE BOX console on a daily basis for writing, tracking, creating stems, and mixing. “We’re amazed,” says Mark Stitts. “We have quite a bit of other API…
View this post
Article provided by Home Studio Corner. If you’ve been mixing for any length of time, you know how valuable the high-pass filter (HPF) can be. It removes excess low end from your non-bass-heavy tracks, allowing you to clean up the low frequencies, making room for the kick and bass. But then there’s this thing called a low frequency shelf. What’s that all about? In the picture below you can see both a high-pass filter and a low-frequency shelf. A…
View this post
Radial Engineering has announced that it has taken on the global sales, marketing and distribution of the Jensen Iso-Max range of products. Iso-Max is a range of isolators that provide ground isolation and noise abatement for audio and video in broadcast, home theater and commercial AV integration. Radial has a long history with Jensen. According to company president Peter Janis: “When Radial was founded in 1992, we started life as a distributor. One of our first product lines was Jensen.…
View this post
DPA Microphones has announced the appointment of Direct Imports as its distributor in New Zealand, signaling the company’s continued commitment toward growth and customer service in the country. From its headquarters in Hastings, Hawkes Bay, Direct Imports will carry a full stock of DPA products for live, recording and broadcast applications. “We are delighted to have been appointed the New Zealand distributor for DPA Microphones and honored to have this outstanding brand join our portfolio and complement our current range…
View this post
Record Factory Music Academy, a music production education facility in downtown Seoul, South Korea, delivers real-world recording experience to students, which is now aided with the addition of a Solid State Logic AWS 924 hybrid console/controller in its newly built studios. More than 1,000 students have gained an education since Record Factory Music Academy was established. Through hands-on workshops covering everything from MIDI production to in-studio engineering and music video creation, the facility is gaining a reputation for its advanced…
View this post | {
"pile_set_name": "Pile-CC"
} |
From the mid-1960's until the close of that decade, automobiles became lighter, more compact, and more powerful. Auto manufacturers continued to compete against one another for drag-strip supremacy. As government regulations and safety concerns increased, the muscle car era began to decline rapidly.
Many of these ultimate high-performance muscle cars were built to satisfy homologation requirements. Others were built just to have the fastest machine on the road. The Plymouth Hemi 'Cuda is an example of one of the fiercest and most powerful vehicle ever constructed for the roadway. It was derived from the lesser Barracuda's which began in the mid-1960's. It was built atop the 'E' body platform and was restyled in 1970 by John Herlitz, making it longer, wider, and lower. The 426 cubic-inch Hemi V8 was capable of producing an astonishing 425 horsepower. Matted to a four-speed manual 833 transmission, this was the ultimate muscle car of its day.
This 1971 Plymouth Hemi 'Cuda Convertible with black paint and orange billboards was offered for sale at the 2006 RM Auction in Monterey, CA where it was expected to sell between $180,000-$220,000. It came equipped from the factory with power windows, power brakes, power steering, Rally instrument cluster, rim blow steering wheel, bucket seats, AM/FM cassette radio, and driving lights. It has a Dana '60' rear end and the 426 cu in engine. It is one of just 374 'Cda Convertibles built in 1971. On auction day bidding reached $165,000 which was not high enough to satisfy reserve. The vehicle was left unsold.By Daniel Vaughan | Dec 2006
This 'Cuda Convertible was given a show-quality restoration to original specifications and is one of just 374 examples originally produced for the 1971 model year. It is believed to be one of just 87 383-powered convertibles produced for the last year of 'Cuda convertible production in 1971. The 383 cubic-inch V8 has four-barrel carburetors and is capable of producing 300 horsepower. There is a TorqueFlite three-speed automatic gearbox and four-wheel hydraulic brakes.
The car is finished in Tawny Gold, with a white interior and a white power-operated convertible top. Features include dual chrome-tipped exhaust outlets, floor console, hood pins, power brakes, power steering, Rallye wheels, a 'Slap Stik' shifter and a 'Tuff' steering wheel.
In 2010, this 'Cuda Convertible was offered for sale at the Vintage Motor Cars of Meadow Brook presented by RM Auctions. The car was estimated to sell for $60,000 - $70,000. As bidding came to a close, the car had been sold for the sum of $44,000 including buyer's premium.By Daniel Vaughan | Aug 2010
V8 Cuda Convertible
The 3rd generation Barracuda ran from 1970 through 1974; the previous generations were A-body Valiant based which began in 1964. Designed by John E. Herlitz on the 108-inch wheelbase, unibody, E-platform, a shorter and wider version of the existing B-body. This example has the non-Hemi 340 cubic-inch V8 with automatic and it is a stock example. 1971 was the only year for four headlamps. Somehow, this model series didn't sell to expectation and production slowed over the years, making the cars quite rare today. An unaltered car is even more rare.
V8 Cuda Hard Top Coupe
The writing was on the wall by 1971 for the muscle car enthusiast. With rising gas prices and skyrocketing insurance rates, the days of the overpowered and often low priced performance automobile were numbered. For the big three, it seems that the decision was made to go out with a bang, and some of the rarest and most desirable muscle cars ever to come out of the Motor City were produced.
Among the hottest is the Hemi 'Cuda, produced for a mere two model years. In 1970, it is believed that Plymouth produced just 696 Hemi 'Cuda hardtops and for 1971, a mere 118 would leave the line.
Wild colors would survive for the 1971 model year and Chrysler would lead the pack with their Hi-Impact color palate. Several eye popping colors were offered, including Sassy Grass Green as seen on this example, which is one of the rarest offerings.
When it comes to American Muscle, the Plymouth hemi 'Cuda is always at the top of the list. And when it comes to rarity and desirability, nothing compares to a 1971 Hemi ' Cuda.
No matter what make or model you may prefer, there is no disputing the visual impact of the 426 Street Hemi engine. With the massive valve covers and the huge dual quad carbs, it certainly takes top honors when it comes to intimidation. To add the outrageous FC7 in Violet, (aka Plum Crazy) paint to the mix is to take things a step beyond.
This 1971 Hemi 'Cuda exemplifies what Mopar Performance was all about in the final years of the original Muscle Car era. With a mere 107 leaving the Hamtramck, Michigan assembly plant with the Hemi engine under the shaker hood, these cars were rare even when new. This car is one of just 48 equipped with the Torqueflite automatic transmission and it also features the rare leather interior, elastomeric color keyed bumpers, power steering and power front disc brakes, a center console, the AM radio with the Dictaphone cassette recorder, tinted glass, dual color keyed mirrors and more, making it one of the highest option 1971 Hemi 'Cuda's in existence.
Of course, when new these cars were flogged not only on the street, but at the tracks throughout the country, making this example among the most sought after and valuable American muscle cars ever built.
The first series of the Barracuda was produced from 1964 through 1969, distinguished by its A-body construction. From 1970 through 1974 the second series was produced using an E-body construction.
In 1964, Plymouth offered the Barracuda as an option of the Valiant model line, meaning it wore both the Valiant and Barracuda emblems. The base offering was a 225 cubic-inch six-cylinder engine that produced with 180 horsepower. An optional Commando 273 cubic-inch eight-cylinder engine was available with a four-barrel carburetor, high-compression heads and revised cams. The vehicle was outfitted with a live rear axle and semi-elliptic springs. Unfortunately, the Barracuda was introduced at the same time, separated by only two weeks, as the Ford Mustang. The Mustang proved to be the more popular car outselling the Valiant Barracuda by a ratio of 8 to 1.
The interior was given a floor-shifter, vinyl semi-bucket seats, and rear seating. The rear seats folded down allowing ample space for cargo.
By 1967, Plymouth redesigned the Barracuda and added a coupe and convertible to the model line-up. To accommodate larger engines, the engine bay was enlarged. There were multiple engine offerings that ranged in configuration and horsepower ratings. The 225 cubic-inch six-cylinder was the base engine while the 383 cubic-inch 8-cylinder was the top-of-the-line producing 280 horsepower. That was impressive, especially considering the horsepower to weight ratio. Many chose the 340 cubic-inch eight-cylinder because the 383 and Hemi were reported to make the Barracuda nose-heavy while the 340 offered optimal handling.
In 1968 Plymouth offered a Super Stock 426 Hemi package. The lightweight body and race-tuned Hemi were perfect for the drag racing circuit. Glass was replaced with lexan, non-essential items were removed, and lightweight seats with aluminum brackets replaced the factory bench, and were given a sticker that indicated the car was not to be driven on public highways but for supervised acceleration trials. The result was a car that could run the quarter mile in the ten-second range.
For 1969 a limited number of 440 Barracudas were produced, giving the vehicle a zero-to-sixty time of around 5.6 seconds.
In 1970 the Barracuda were restyled but shared similarities to the 1967 through 1969 models. The Barracuda was available in convertible and hardtop configuration; the fastback was no longer offered. Sales were strong in 1970 but declined in the years that followed. The muscle car era was coming to a close due to the rising government safety and emission regulations and insurance premiums. Manufacturers were forced to detune their engines. The market segment was slowly shifting from muscle-cars to luxury automobiles. 1974 was the final year Plymouth offered the Barracuda.By Daniel Vaughan | Aug 2010
◾Dodge Charger and Durango 'most loved' in their respective segments for second consecutive year
◾Jeep® Renegade leads Entry SUV segment in 2015 Most Loved Vehicles in America survey by Strategic Vision
◾FIAT captures most segment wins among small cars with 500 and 500e
◾FCA US ranked highest overall in Strategic Vision's 20th annual Total Quality Index™ this past July
November 24, 2015 , Auburn Hills, Mich. - Strategic Vision has named five FCA US LLC vehicles to its 'Most Loved Ve...[Read more...]
Scottsdale, Arizona (July 18th, 2015) – Thomas Scott is an accountant and entrepreneur from Athens, Georgia who has had a love for all things automotive for as long as he can remember. He possesses a lifetime of passion for buying, selling and working on classic American cars.
'I started out with the muscle cars — the Mopars, the Cobra Jet Mustang, the Chevelle,' Scott says. 'Those are cars that everybody recognizes — they're widely popular and very tradeable.' However, as S...[Read more...]
Scottsdale, Arizona (December 1st, 2014) – For Enthusiasts – By Enthusiasts. ™ This is far more than a tagline at Russo and Steele Collector Automobile Auctions. It's a lifestyle, and we are gearing up to deliver that singular passion to the High Desert of sunny Scottsdale, Arizona for our annual flagship event during the world renowned collector car week. Additionally, Scottsdale marks the kick-off of the year-long celebration of our 15th anniversary. Held over five thrilling a...[Read more...] | {
"pile_set_name": "Pile-CC"
} |
/***********************************************************************
!!!!!! DO NOT MODIFY !!!!!!
GacGen.exe Resource.xml
This file is generated by Workflow compiler
https://github.com/vczh-libraries
***********************************************************************/
#ifndef VCZH_WORKFLOW_COMPILER_GENERATED_DEMOREFLECTION
#define VCZH_WORKFLOW_COMPILER_GENERATED_DEMOREFLECTION
#include "Demo.h"
#ifndef VCZH_DEBUG_NO_REFLECTION
#include "GacUIReflection.h"
#endif
#if defined( _MSC_VER)
#pragma warning(push)
#pragma warning(disable:4250)
#elif defined(__GNUC__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wparentheses-equality"
#elif defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wparentheses-equality"
#endif
/***********************************************************************
Reflection
***********************************************************************/
namespace vl
{
namespace reflection
{
namespace description
{
#ifndef VCZH_DEBUG_NO_REFLECTION
DECL_TYPE_INFO(::demo::MainWindow)
DECL_TYPE_INFO(::demo::MainWindowConstructor)
#endif
extern bool LoadDemoTypes();
}
}
}
#if defined( _MSC_VER)
#pragma warning(pop)
#elif defined(__GNUC__)
#pragma GCC diagnostic pop
#elif defined(__clang__)
#pragma clang diagnostic pop
#endif
#endif
| {
"pile_set_name": "Github"
} |
Purdy was chatting to her bezzie mate who works at Colchester Hospital last night, and was impressed to hear that the Hospital wants more people to car share! Her mate, inspired by all the money she knows Purdy is saving, [...]
Loveurcar
The Loveurcar campaign is brought to you by the Colchester Travel Plan Club, Colchester Borough Council Air Quality Team and V102 as part of a Defra funded project to encourage more sustainable driving for those journeys that have to be made by car. | {
"pile_set_name": "Pile-CC"
} |
INTRODUCTION {#s1}
============
Hepatitis B virus (HBV) is still a major global health problem, with an estimated 257 million people worldwide that are chronically infected with HBV ([@B1]). HBV, together with duck hepatitis B virus (DHBV) and several other related animal viruses, belongs to the *Hepadnaviridae* family ([@B2]). The HBV virion is comprised of an outer envelope and an inner icosahedral nucleocapsid (NC) assembled by 240 copies of core protein (HBc) and packaged with a 3.2-kb partially double-stranded circular DNA genome ([@B3][@B4][@B8]). In addition to DNA-containing virions, a large amount of incomplete viral particles, such as hepatitis B surface antigen (HBsAg) particles, empty virions, and naked capsids, can also be released from cells in the process of virus replication ([@B9]). Subviral HBsAg particles are spherical or rodlike and are present in vast excess over virions in sera of CHB patients ([@B2]). Empty virions share the same structure as DNA-containing virions but are devoid of nucleic acids ([@B10][@B11][@B14]). Naked capsids, which exit cells via a route different from that of virions ([@B15][@B16][@B17]), have the same structure as NCs but are either empty or filled with viral RNA and immature viral DNA ([@B7], [@B11], [@B18][@B19][@B20]).
In NC, pgRNA undergoes reverse transcription into minus-strand DNA, followed by plus-strand DNA synthesis ([@B2], [@B21][@B22][@B24]). Intracellular NCs can be packaged with viral nucleic acids at all levels of maturation, including pgRNA, nascent minus-strand DNA, minus-strand DNA-RNA hybrids, and relaxed circular DNA (RC DNA) or double-stranded linear DNA (DSL DNA) ([@B5], [@B7]). Only the NCs with relatively mature viral DNA (RC or DSL DNA) are enveloped and secreted as virions. HBV replicating cells can release empty core particles assembled from HBc proteins and NCs that contain various species of replicative intermediate nucleic acids into the culture supernatant. However, while free naked capsids could be readily detected *in vitro* ([@B7], [@B11], [@B18][@B19][@B20]), they are hardly found in the blood of HBV-infected patients ([@B17], [@B25], [@B26]).
Although extracellular HBV RNA was detected in both *in vitro* cell culture systems and in clinical serum samples, its origin and composition remain controversial. It was proposed that extracellular HBV RNA represents pgRNA localized in virions ([@B27]). However, HBV spliced RNA and HBx RNA were also detected in culture supernatant of HBV stably replicating cells as well as in sera of CHB patients ([@B28], [@B29]). In addition, extracellular HBV RNA was also suggested to originate from damaged liver cells ([@B30]), naked capsids, or exosomes ([@B11], [@B29]). Hence, these extracellular RNA molecules have never been conclusively characterized. Here, we demonstrate that extracellular HBV RNAs are heterogeneous in length, ranging from full-length pgRNA (3.5 kilonucleotides \[knt\]) to RNA fragments with merely several hundred nucleotides. These RNA molecules represent 3′ receding pgRNA fragments that have not been completely reverse transcribed to DNA and pgRNA fragments hydrolyzed by the RNase H domain of polymerase in the process of viral replication. More importantly, extracellular HBV RNAs are localized in naked capsids and in virions in culture supernatants of HBV replicating cells and also circulate as CACs and virions in blood of hepatitis B patients.
RESULTS {#s2}
=======
Extracellular HBV RNAs are heterogeneous in length and predominantly integral to naked capsids instead of virions in HepAD38 cell culture supernatant. {#s2.1}
------------------------------------------------------------------------------------------------------------------------------------------------------
To ascertain the origin of extracellular HBV RNA, we first examined viral particles prepared from culture medium of an *in vitro* HBV stably transduced cell line. A human hepatoma HepAD38 cell line was used in this study, as it sustains vigorous HBV replication under the control of a tetracycline-repressible cytomegalovirus (CMV) promoter ([@B31]). Total viral particles were concentrated and centrifuged over a 10% to 60% (wt/wt) sucrose gradient. Most of the subviral HBsAg particles, virions, and empty virions were detected between fractions 9 to 14 ([Fig. 1A](#F1){ref-type="fig"}, upper and middle). Naked capsids, detected only by anti-HBcAg and not by anti-HBsAg antibodies, settled in fractions 5 to 8 ([Fig. 1A](#F1){ref-type="fig"}, middle and lower). The majority of viral nucleic acids were detected in fractions between 4 and 11 ([Fig. 1B](#F1){ref-type="fig"}, upper), which coincided with the fractions containing virions (fractions 9 to 11), naked capsids (fractions 4 to 7), and the mixture of these particles (fraction 8). Consistent with previous observations, HBV virions are packed with mature viral DNA (RC or DSL DNA), while naked capsids contain both immature single-stranded DNA (SS DNA) and mature viral DNA ([Fig. 1B](#F1){ref-type="fig"}, upper). Moreover, Northern blot results showed that most of the HBV RNA was detected in the naked capsids ([Fig. 1B](#F1){ref-type="fig"}, lower, fractions 4 to 7), whereas only a very small amount was associated with virions ([Fig. 1B](#F1){ref-type="fig"}, lower, fractions 9 to 11). HBV RNA detected in naked capsids ranged from the full length of pgRNA down to a few hundred nucleotides (shorter than the HBx mRNA \[0.7 knt\]). Moreover, RNA molecules within virions were much shorter than those within naked capsids. We excluded the possibility of artifacts generated by the SDS-proteinase K extraction method, as a similar RNA blot pattern was obtained using a TRIzol reagent to extract both intracellular nucleocapsid-associated and extracellular HBV RNA (not shown). Furthermore, quantification of viral RNA extracted by either the SDS-proteinase K method or TRIzol reagent produced a very similar copy number, except that the TRIzol reagent is known to preferentially extract RNA rather than DNA (not shown). Moreover, the RNA signal detected by Northern blotting could not be attributed to DNA fragments generated by DNase I treatment, which would reduce DNA to below the detection limit of the hybridization method (not shown). Furthermore, the RNA signal could be completely removed by an additional RNase A treatment (not shown).
![Sucrose gradient separation and analysis of viral particles from HepAD38 cell culture supernatant. (A) Distribution of hepatitis B viral particle-associated antigens and DNA/RNA in sucrose gradient. Viral particles prepared from HepAD38 cell culture supernatant (via PEG 8000 precipitation) were layered over a 10% to 60% (wt/wt) sucrose gradient for ultracentrifugation separation. Fractions were collected from top to bottom, and HBsAg level was analyzed by enzyme-linked immunosorbent assay (ELISA). HBsAg and viral DNA and RNA (quantified from gray density of bands in panel B) signals and sucrose density were plotted together. Viral particles were first resolved by native agarose gel electrophoresis, followed by immunoblotting (IB) of HBV envelope and core proteins with anti-HBsAg and anti-HBcAg antibodies. (B) Detection of viral DNA/RNA by Southern or Northern blotting. Total viral nucleic acids were extracted by the SDS-proteinase K method, and viral DNA (extracted from one-tenth of the samples used for Northern blotting) and RNA (treated with DNase I) were detected by Southern and Northern blot analyses with minus- or plus-strand-specific riboprobes, respectively. Symbols of HBsAg particles, empty virions (without nucleic acid), virions (with RC DNA), and naked capsids (empty or with nucleic acids) are depicted on the lower right side of panel A. Blank, no nucleic acids; two centered and gapped circles, RC DNA; straight line, SS DNA; wavy lines, pgRNA; M, markers (50 pg of 1-kb, 2-kb, and 3.2-kb DNA fragments released from plasmids as the DNA ladder or total RNA extracted from HepAD38 cells as the RNA ladder).](zjv0241840640001){#F1}
To confirm the above-described results and to better separate naked capsids from HBV virions, isopycnic CsCl gradient ultracentrifugation was employed. Naked capsids were observed mainly in fractions 5 to 7, with densities ranging from 1.33 to 1.34 g/cm^3^ ([Fig. 2A](#F2){ref-type="fig"}). The smearing bands of naked capsids were likely caused by high concentrations of CsCl salt, as fractionation of naked capsids in a 1.18-g/cm^3^ CsCl solution produced single bands. Virions, detected by both anti-HBcAg and anti-HBsAg antibodies ([Fig. 2A](#F2){ref-type="fig"}, upper and middle), were packaged with viral DNA ([Fig. 2A](#F2){ref-type="fig"}, lower) and settled in fractions 13 to 15, with densities ranging from 1.23 to 1.25 g/cm^3^. In agreement with the results shown in [Fig. 1](#F1){ref-type="fig"}, HBV virions contained only the mature viral DNA (RC or DSL DNA), while naked capsids contained viral DNA replicative intermediates that ranged from the nascent minus-strand DNA to mature viral DNA ([Fig. 2B](#F2){ref-type="fig"} and [C](#F2){ref-type="fig"}). The lengths of viral minus- and plus-strand DNA in naked capsids and virions were determined by alkaline agarose gel electrophoresis analysis, a condition where denatured single-stranded DNA molecules migrate according to their lengths. In contrast to the complete minus- and mostly complete plus-strand DNA (closed to 3.2 knt) in virions, in naked capsids the minus-strand DNA and the plus-strand DNA can be both complete and incomplete (shorter than 3.2 knt) ([Fig. 2D](#F2){ref-type="fig"} and [E](#F2){ref-type="fig"}). Moreover, the length of HBV RNAs within naked capsids still ranged from 3.5 knt of pgRNA to shorter than the 0.7 knt of HBx mRNA. Full-length pgRNA accounted for only 10% of total RNA signal detected by Northern blotting (quantified from gray density of bands shown in [Fig. 2F](#F2){ref-type="fig"}). In contrast, HBV RNA species in virions are relatively shorter and barely detectable. In addition, we also determined viral DNA and RNA copy numbers in pooled naked capsids (fractions 3 to 7) and virions (fractions 10 to 21) by quantitative PCR. Quantification results showed that viral DNA in naked capsids and in virions accounted for about 60% and 40%, respectively, of total viral DNA signal in the HepAD38 cell culture supernatant ([Fig. 2G](#F2){ref-type="fig"}). More importantly, 84% of the HBV RNA was associated with naked capsids, while merely 16% was detected within virions ([Fig. 2G](#F2){ref-type="fig"}). Additionally, the DNA/RNA ratio was 11 in virions and 3 in naked capsids ([Fig. 2H](#F2){ref-type="fig"}), suggesting that more HBV RNA is present in naked capsids.
![CsCl density gradient separation and analysis of viral particles from HepAD38 cell culture supernatant. (A) Native agarose gel analysis of viral particles. Culture supernatant of HepAD38 cells was concentrated (via ultrafiltration) and fractionated by CsCl density gradient centrifugation (3 ml of 1.18 g/cm^3^ CsCl solution in the upper layer and 1.9 ml of 1.33 g/cm^3^ CsCl solution in the lower layer). Viral particles in each fraction were resolved by native agarose gel electrophoresis, followed by detection of viral antigens with anti-HBsAg and anti-HBcAg antibodies and viral DNA by hybridization with minus-strand-specific riboprobe. (B to F) Southern and Northern blot detection of viral nucleic acids. Viral DNAs were separated by electrophoresis through Tris-acetate-EDTA (TAE) or alkaline (ALK) agarose gel for Southern blotting with minus- or plus-strand-specific riboprobes. Viral RNA was obtained by treatment with total nucleic acids with DNase I and separated by formaldehyde-MOPS agarose gel, followed by Northern blotting. (G) Quantification of viral DNA and RNA in naked capsids or virions. Fractions containing naked capsids (fractions 3 to 7) or virions (fractions 10 to 21) were pooled, and viral DNA and RNA were quantified by PCR. (H) DNA and RNA ratios in naked capsids and virions calculated based on quantitative results. Asterisks indicate unknown high-density viral particles detected by anti-HBcAg or anti-HBsAg antibodies but devoid of any HBV-specific nucleic acids. M, markers (E. coli-derived HBV capsids or DNA and RNA ladders as described in the legend to [Fig. 1](#F1){ref-type="fig"}).](zjv0241840640002){#F2}
Extracellular HBV RNAs and immature viral DNA are detected in sera from CHB patients. {#s2.2}
-------------------------------------------------------------------------------------
Employing the HepAD38 cell culture system, we demonstrated the presence of extracellular HBV RNAs and immature and mature viral DNA packaged in both the naked capsids and virions. Interestingly, Southern blot analyses showed that SS DNA could also be observed in serum samples from some CHB patients. We speculated that SS DNA in circulation would be carried by capsid particles that were released by HBV-infected hepatocytes into patients' bloodstreams. However, we reasoned that due to strong immunogenicity of naked capsids ([@B32], [@B33]), it would be difficult to detect them as free particles; rather, they would form complexes with specific anti-HBcAg antibodies and therefore circulate as antigen-antibody complexes ([@B25], [@B32][@B33][@B34]). To entertain this possibility, we then used protein A/G agarose beads to pull down the immune complexes. Forty-five serum samples obtained from CHB patients, with HBV DNA titers higher than 10^7^ IU per ml, were examined for the presence of particles containing SS DNA by a combination of protein A/G agarose bead pulldown assay and Southern blot analysis ([Fig. 3A](#F3){ref-type="fig"} and [B](#F3){ref-type="fig"}). SS DNA was detected, albeit to a different extent, in 34 serum samples ([Fig. 3A](#F3){ref-type="fig"} and [B](#F3){ref-type="fig"}, upper). The particles containing SS DNA were pulled down by protein A/G agarose beads from 11 out of the 34 samples ([Fig. 3A](#F3){ref-type="fig"} and [B](#F3){ref-type="fig"}, lower). Patient sera negative for SS DNA (patients 37, 38, 14, and 35) or positive for SS DNA (patients 17, 21, 42, and 44), as determined by the protein A/G agarose bead pulldown experiments, were selected for further studies ([Fig. 3C](#F3){ref-type="fig"}).
![Characterization of HBV DNA and RNA in sera of CHB patients. (A and B) Analyses of serum viral DNA from CHB patients by Southern blotting. Viral DNA was extracted from serum samples obtained from forty-five chronic hepatitis B patients (20% of input sample used for protein A/G agarose beads pulldown) and subjected to Southern blot analysis. Alternatively, these samples were first incubated with protein A/G agarose beads, and then viral DNA in the pulldown mixtures was analyzed by Southern blotting. Serum samples selected for further examining are marked with arrows, and samples with SS DNA detection are labeled with asterisks. (C) Protein A/G agarose bead pulldown of viral particles. Sera (25 μl each) from CHB patients 37, 38, 14, and 35 (M1, mixture one) or from patients 17, 21, 42, and 44 (M2, mixture two) were pooled and incubated with protein A/G agarose beads. Viral DNA in input sera, protein A/G bead pulldown mixtures (beads), and the remaining supernatants (sup.) were extracted and subjected to Southern blot analysis. (D) Northern blot detection of serum viral RNA from patients 37, 38, 14, 35, 17, 21, 42, and 44. Total RNA were extracted from serum samples by TRIzol reagent and treated with DNase I before Northern blot analysis. (E to G) Southern blot analyses of viral DNA from selected samples. Viral DNA was separated by electrophoresis through TAE or alkaline agarose gels, followed by Southern blot detection with the indicated riboprobes.](zjv0241840640003){#F3}
Northern blot analyses showed that HBV RNA was only detected in serum samples from patients 17, 21, and 42 ([Fig. 3D](#F3){ref-type="fig"}). Moreover, total viral DNA was analyzed by Southern blotting, and SS DNA was readily observed in serum samples from patients 17, 21, and 42 ([Fig. 3E](#F3){ref-type="fig"}). We also analyzed the lengths of DNA minus and plus strands in patients' sera. Despite the finding that most minus-strand DNA was complete, a small amount of viral DNA (that of patients 38, 35, 17, 21, and 42) was shorter than 3.2 knt ([Fig. 3F](#F3){ref-type="fig"}). Compared with viral minus-strand DNA, the length of plus-strand DNA, particularly in sera from patients 17, 21, and 42, was more variable, ranging from shorter than 2 knt to ∼3.2 knt ([Fig. 3G](#F3){ref-type="fig"}).
Naked capsids form CACs with anti-HBcAg antibody in blood of CHB patients. {#s2.3}
--------------------------------------------------------------------------
We showed that particles containing SS DNA were present in CHB patients' sera. To further examine these particles, we used CsCl density gradient centrifugation to fractionate a serum mixture from patients 37, 38, 14, and 35. In agreement with our earlier results ([Fig. 2A](#F2){ref-type="fig"}, lower, fractions 13 to 15, and B) and previous reports, HBV virions, with the characteristic mature viral DNA (RC or DSL DNA), were detected in fractions 12 to 14 with densities between 1.26 and 1.29 g/cm^3^ ([Fig. 4A](#F4){ref-type="fig"}) ([@B2]). Careful inspection of the blots revealed that SS DNA could be detected, albeit at very low level, in fractions 8 and 9, with densities from 1.33 to 1.34 g/cm^3^, and in fractions 18 to 21, with densities from 1.20 to 1.23 g/cm^3^ ([Fig. 4A](#F4){ref-type="fig"}). In contrast, CsCl density gradient separation of viral particles from serum of patient 17 showed a mixture of mature and immature viral DNA species. As SS DNA was detected at densities ranging from 1.37 to 1.20 g/cm^3^ ([Fig. 4B](#F4){ref-type="fig"}), no distinct viral DNA (mature RC or DSL DNA) specific to virions could be identified at densities between 1.27 and 1.29 g/cm^3^. Similar results were obtained using CsCl density gradient fractionation of sera from patient 21 (not shown) and patient 46 ([Fig. 4E](#F4){ref-type="fig"}).
![CsCl density gradient analysis of hepatitis B viral particles. (A and B) CsCl density gradient analysis of viral particles in patient sera. One hundred-microliter volumes of serum mixture from patients 37, 38, 14, and 35 (25 μl each) and 100 μl serum from patient 17 were separated by CsCl density gradient centrifugation (2 ml of 1.18 g/cm^3^ CsCl solution in the upper layer and 2.9 ml of 1.33 g/cm^3^ CsCl solution in the lower layer). Viral DNA in each fraction was extracted and detected by Southern blotting. (C to G) CsCl density gradient analysis of viral particles treated with detergent or anti-HBcAg antibody (Ab). Concentrated HepAD38 cell culture supernatant (250 μl each) (via ultrafiltration) was either mixed with anti-HBcAg antibody (10 μl) followed by incubation without (C) or with NP-40 (final concentration, 1%) (D) for 1 h at room temperature and 4 h on ice or treated with only NP-40 (G) and then fractionated by CsCl density gradient ultracentrifugation. Sera from CHB patient 46 either left untreated (E) or treated with NP-40 (final concentration, 1%) (F) were fractionated by CsCl density gradient ultracentrifugation. Viral DNA in each fraction was extracted and subjected to Southern blot analyses.](zjv0241840640004){#F4}
We hypothesized that naked capsids could be released into blood circulation of CHB patients but were bound to specific antibodies. As SS DNA was detected in both high- and lower-density regions in CsCl gradient ([Fig. 4B](#F4){ref-type="fig"} and [E](#F4){ref-type="fig"}), we envisaged that the binding with specific antibodies led to a change of capsids' buoyant density. To test this, anti-HBcAg antibody was mixed with HepAD38 cell culture supernatant to mimic the postulated CACs in serum samples. The results demonstrated that in contrast to SS DNA from naked capsids, distributed to three fractions at densities between 1.33 and 1.34 g/cm^3^ ([Fig. 2A](#F2){ref-type="fig"}, lower, and B), the mixture of naked capsids and CACs (SS DNA) was distributed more widely and could be detected in the lower density region (1.25 to 1.32 g/cm^3^) ([Fig. 4C](#F4){ref-type="fig"}, fractions 11 to 16). Similarly, intracellular capsids from HepAD38 cells were incubated with anti-HBcAg antibody, and a density shift of CACs to a lower-density region was also observed (not shown). To further confirm the lower density of CACs, NCs in virions secreted to HepAD38 cell culture supernatant were treated with NP-40 and mixed with anti-HBcAg antibody. CsCl fractionation showed that naked capsids and virion-derived NCs have become a homogenous mixture banding at densities from 1.37 to 1.27 g/cm^3^ ([Fig. 4D](#F4){ref-type="fig"}). Likewise, virion-derived NCs, obtained by treatment of serum sample from patient 46 with NP-40 bound with antibody, further formed new homogeneous CACs that settled at densities between 1.23 and 1.27 g/cm^3^ ([Fig. 4E](#F4){ref-type="fig"} versus F). However, NP-40 treatment alone did not produce a homogeneous mixture of naked capsids and virion-derived NCs, as these two particles still settled at distinct density regions with their characteristic viral DNA content ([Fig. 4G](#F4){ref-type="fig"}). On the other hand, DNA molecules in the two types of capsids still banded at densities between 1.38 and 1.31 g/cm^3^, further confirming that CACs have relatively lighter density ([Fig. 4G](#F4){ref-type="fig"}).
Alternatively, the appearance of a homogenous mixture of virion-derived NCs and naked capsids ([Fig. 4D](#F4){ref-type="fig"} and [F](#F4){ref-type="fig"}) suggests the formation of higher-order antibody-mediated complexes of capsids. For instance, the complexes might not represent individual antibody-coated capsid particles but rather big CACs consisting of several capsid particles interconnected by antibodies. To verify whether intercapsid immune complexes exist, anti-HBcAg antibody was added to the purified HBV capsids expressed by Escherichia coli, and this mixture was examined by an electron microscope. E. coli-derived capsids were scattered as separate, distinct particles ([Fig. 5A](#F5){ref-type="fig"}). However, addition of antibody caused capsids to aggregate into clusters, making them too thick to be properly stained ([Fig. 5B](#F5){ref-type="fig"}). Despite this, a few capsids, which might not have been bound by antibodies or might have been associated with antibodies but did not form intercapsid antibody complexes, could be observed by electron microscopy (EM) ([Fig. 5B](#F5){ref-type="fig"}).
![EM analysis of hepatitis B viral particles. (A and B) EM of E. coli-derived HBV capsids incubated without or with anti-HBcAg antibody. (C) EM of viral particles prepared from sera of CHB patients. Serum mixtures (obtained from patients 11, 22, 23, 27, 28, 30, and 41) depleted of HBsAg particles were negatively stained and examined with an electron microscope. The 42-nm HBV virions (arrowhead) and 27-nm naked capsids (arrow) are indicated, while the smaller 22-nm rods and spheres of HBsAg particles could also be observed but are not pointed out. Scale bars indicate 200 nm or 500 nm.](zjv0241840640005){#F5}
We then examined CACs in serum samples from CHB patients by EM. Sera from patients 11, 17, 21, 22, 23, 27, 28, 30, and 41, positive for SS DNA, were combined. Serum mixtures, with diminished HBsAg particles by centrifugation through a 20% and 45% (wt/wt) sucrose cushion, were examined by EM. The 27-nm capsid particles or CACs were visible ([Fig. 5C](#F5){ref-type="fig"}, arrow) along with the 42-nm HBV virions ([Fig. 5C](#F5){ref-type="fig"}, arrowheads) and the 22-nm spheres and rods of residual HBsAg particles (not indicated). However, the picture was not clear enough for us to conclusively determine if capsids were connected by or bound with antibodies, as described for unrelated virus in *in vitro* experiments ([@B35]). In addition, it is possible that some of the CACs are not visible by EM, as the complexes maybe too thick to gain clear contrast between lightly and heavily stained areas ([Fig. 5B](#F5){ref-type="fig"}).
Lastly, CACs might be heterogeneous, having different molecular sizes and isoelectric points (pI) in hepatitis B patients' blood circulation. *In vitro* binding of naked capsids derived from HepAD38 cell culture supernatant with anti-HBcAg antibody changed their electrophoretic behavior and made them unable to enter the TAE-agarose gel ([Fig. 6A](#F6){ref-type="fig"}). Moreover, viral particles from sera of patients 0, 37, 38, 14, 35, 17, 21, 42, and 44 could not enter agarose gels prepared in TAE buffer. However, in buffer with higher pH value (10 mM NaCHO~3~, 3 mM Na~2~CO~3~, pH 9.4), they appeared as smearing bands on blots ([Fig. 6B](#F6){ref-type="fig"} and [C](#F6){ref-type="fig"}). Hence, the irregular electrophoretic behavior of these viral particles may result from changes in molecular size and/or pI value of capsid particles (pI 4.4) following their association with specific immunoglobulin G (or other types of antibodies) having different pI values (pI of human IgG may range from 6.5 to 9.5) ([@B36][@B37][@B39]).
![Native agarose gel analysis of viral particles in sera from hepatitis B patients. (A) Native agarose gel analysis of viral particles from HepAD38 cell culture supernatant. Ten microliters of HepAD38 cell culture supernatant (concentrated by ultrafiltration) incubated with or without anti-HBcAg antibody was resolved by native (TAE) agarose gel (0.8%) electrophoresis, followed by hybridization with minus-strand-specific riboprobe. (B and C) Native agarose gel analysis of viral particles from serum samples of hepatitis B patient in buffer with different pH values. Ten microliters of concentrated HepAD38 cell culture supernatant, plasma sample of patient 0 (not concentrated), and serum of a chronic hepatitis B carrier without liver inflammation (ctrl serum) were loaded into agarose gels prepared in TAE buffer (pH 8.3) (B, left) or Dunn carbonate buffer (10 mM NaCHO~3~, 3 mM Na~2~CO~3~, pH 9.4) (B, right) and separated overnight. Viral particle-associated DNA was detected by hybridization with specific riboprobe. Sera from patients 37, 38, 14, 35, 17, 21, 42, and 44 (10 μl each) were resolved by electrophoresis through 0.7% high-strength agarose (type IV agarose used for pulsed-field gel electrophoresis) gels prepared in TAE (C, left) or carbonate buffer (C, right), followed by probe hybridization.](zjv0241840640006){#F6}
Circulating HBV RNAs are of heterogeneous lengths and associated with CACs and virions in hepatitis B patient's plasma. {#s2.4}
-----------------------------------------------------------------------------------------------------------------------
To characterize HBV RNAs circulating in CHB patients' sera, a plasma sample from patient 0 was studied. Similar to results obtained for patients 17, 21, and 46 ([Fig. 4B](#F4){ref-type="fig"} and [E](#F4){ref-type="fig"} and not shown), viral DNA in the plasma sample of patient 0 was detected in a broad density range in CsCl gradient and no distinct bands specific to HBV virions or naked capsids could be identified, indicating the presence of a mixture of virions and CACs ([Fig. 7A](#F7){ref-type="fig"}).
![Characterization of nucleic acid content within viral particles in plasma sample from patient 0. (A) CsCl density gradient analysis of plasma sample. Plasma from patient 0 was added directly with CsCl salt to a concentration of 21% (wt/wt) or 34% (wt/wt). Two milliliters of the 21% CsCl-plasma mixture was underlayered with 2.9 ml 34% CsCl-plasma mixture, followed by ultracentrifugation. Viral DNA from each fraction was extracted and subjected to Southern blot analysis. (B) Sucrose gradient analysis of concentrated plasma sample. Five hundred microliters of concentrated plasma sample (via ultracentrifugation through a 20% sucrose cushion) was fractionated in a 10% to 60% (wt/wt) sucrose gradient. PreS1 and HBsAg levels were determined by ELISA. Viral DNA and RNA were detected by Southern and Northern blotting with minus- or plus-strand-specific riboprobes. HBsAg, PreS1, and viral DNA and RNA (quantified from gray density of viral DNA/RNA bands, middle and lower) signals and sucrose density were plotted together. (C) Analysis of concentrated plasma sample with lower CsCl density gradient centrifugation. Two hundred fifty microliters of concentrated plasma sample was mixed with 2.2 ml TNE buffer and 2.45 ml of 37% (wt/wt) CsCl-TNE buffer (resulting in a homogenous CsCl solution with density of about 1.18 g/cm^3^), followed by ultracentrifugation. DNA in viral particle pellets (lane P) stuck to the sidewall of centrifugation tubes and was recovered by digesting with SDS-proteinase K solution. Viral DNA and RNA were subjected to Southern and Northern blot analyses. (D) Analysis of concentrated plasma sample with higher level of CsCl density gradient centrifugation. Two hundred fifty microliters of concentrated plasma sample was mixed with 1 ml of TNE buffer and 1.25 ml of 37% (wt/wt) CsCl-TNE buffer and underlayered with 2.4 ml of 27% (wt/wt) (1.25 g/cm^3^) CsCl-TNE solution, followed by ultracentrifugation. HBV DNA and RNA was detected by Southern and Northern blotting.](zjv0241840640007){#F7}
Furthermore, viral particles were pelleted through a 20% sucrose cushion and separated in a sucrose gradient. HBsAg was detected in fractions 5 to 14, peaking at fraction 11. The PreS1 antigen was found in fractions 5 to 12 with the peak at fractions 7 and 10, indicating its presence in HBsAg particles and HBV virions ([Fig. 7B](#F7){ref-type="fig"}, upper). Viral DNA, representing a combination of both mature and immature viral DNA, was detected in fractions 4 to 9 ([Fig. 7B](#F7){ref-type="fig"}, middle), suggesting the localization of CACs and virions in these fractions. HBV RNA was detected between fractions 5 and 7 and appeared in the same peak as viral DNA ([Fig. 7B](#F7){ref-type="fig"}, lower), indicating that HBV RNA is incorporated in the same viral particles as viral DNA. Therefore, circulating HBV RNA may be localized within CACs and/or virions.
To better characterize HBV RNA in CACs and virions, plasma sample from patient 0 was centrifuged through a 20% sucrose cushion and pellets were fractionated in a homogenous CsCl solution (1.18 g/cm^3^) as previously described ([@B8]). However, possibly due to a tendency of capsid particles to aggregate and stick to the wall of the centrifugation tube and the low density of the initial CsCl solution ([@B8], [@B40]), only mature DNA species from virions were detected in densities ranging from 1.22 to 1.24 g/cm^3^ ([Fig. 7C](#F7){ref-type="fig"}, upper). Northern blot analyses demonstrated that the lengths of virion-associated HBV RNAs were approximately several hundred nucleotides ([Fig. 7C](#F7){ref-type="fig"}, lower). Virion-associated RNAs were unlikely to be contaminated by CAC-associated HBV RNAs, since the immature SS DNA could not be observed even after a long exposure of X ray film. Moreover, RNA molecules would have been longer if there were CAC contamination ([Fig. 7D](#F7){ref-type="fig"}, lower). Viral nucleic acids in pellets recovered from the centrifugation tube sidewalls could be readily detected on Northern ([Fig. 7C](#F7){ref-type="fig"}, lower, lane P) or Southern ([Fig. 7C](#F7){ref-type="fig"}, upper, lane P) blots using plus-strand-specific rather than minus-strand-specific riboprobe.
To analyze viral nucleic acids in CACs, concentrated plasma sample was separated in a higher CsCl density gradient (1.18 g/cm^3^ and 1.25 g/cm^3^). Both mature and immature viral DNA species were only detected in fractions with densities from 1.21 to 1.26 g/cm^3^ ([Fig. 7D](#F7){ref-type="fig"}, upper), indicating the presence of a mixture of HBV virions and CACs. Viral RNAs were detected and ranged in length from a little shorter than the full-length pgRNA to a few hundred nucleotides ([Fig. 7D](#F7){ref-type="fig"}, lower). Compared to virion-associated RNAs ([Fig. 7C](#F7){ref-type="fig"}, lower), HBV RNA species detected in the mixture of CACs and virions were longer, with the longer RNA molecules possibly being associated with CACs.
Extracellular HBV RNAs could serve as templates for synthesis of viral DNA. {#s2.5}
---------------------------------------------------------------------------
Intracellular NCs are known to contain viral nucleic acids in all steps of DHBV DNA synthesis, including pgRNA, nascent minus-strand DNA, SS DNA, and RC DNA or DSL DNA ([@B5]). Our results showed that naked capsids contained almost the same DNA replicative intermediates as intracellular NCs ([Fig. 1B](#F1){ref-type="fig"} and [2B](#F2){ref-type="fig"}) ([@B7], [@B11]). We also demonstrated that extracellular HBV RNAs within the naked capsids, CACs, and virions were heterogeneous in length ([Fig. 1B](#F1){ref-type="fig"}, lower, [2F](#F2){ref-type="fig"}, and [7C](#F7){ref-type="fig"} and [D](#F7){ref-type="fig"}). In the presence of deoxynucleoside triphosphates (dNTPs), viral RNA could be degraded and reverse transcribed into minus-strand DNA by the endogenous polymerase *in vitro* ([@B5], [@B41], [@B42]). Also, incomplete plus-strand DNA with a gap of about 600 to 2,100 bases could be extended by endogenous polymerase ([@B43], [@B44]). Based on these results, we wished to examine whether extracellular HBV RNAs could serve as RNA templates for viral DNA synthesis and be degraded by polymerase in the process. As shown in [Fig. 8](#F8){ref-type="fig"}, endogenous polymerase assay (EPA) treatment of extracellular viral particles from either culture supernatant of HepAD38 cells or plasma sample from patients led to DNA minus ([Fig. 8A](#F8){ref-type="fig"} and [C](#F8){ref-type="fig"})- and plus ([Fig. 8B](#F8){ref-type="fig"} and [D](#F8){ref-type="fig"})-strand extension and, more importantly, HBV RNA signal reduction ([Fig. 8E](#F8){ref-type="fig"}, lane 4 versus 6 and lane 8 versus 10). The apparent low efficiency of EPA reaction might have been due to our hybridization method, which detected both extended and unextended DNA strands rather than detecting only newly extended DNA.
![Analysis of extracellular HBV DNA and RNA by EPA. (A to D) Southern blot analysis of viral DNA strand elongation after EPA treatment. EPA was carried out employing HepAD38 cell culture supernatant and plasma sample from patient 0. Total nucleic acids were extracted via the SDS-proteinase K method. Viral DNA was separated by electrophoresis in TAE or alkaline agarose gels, followed by Southern blot analysis with minus- or plus-strand-specific riboprobes. (E) Northern blot analysis of viral RNA changed upon EPA treatment. Total viral nucleic acids (lanes 3, 5, 7, and 9) or RNA (treated with DNase I) (lanes 4, 6, 8, and 10) were separated by formaldehyde-MOPS agarose gel electrophoresis and subjected to Northern blotting.](zjv0241840640008){#F8}
In the process of HBV DNA replication, prior to minus-strand DNA synthesis, capsid-associated RNA is the full-length pgRNA. Upon transfer of viral polymerase-DNA primer to the 3′ DR1 region of pgRNA and cleavage of the 3′ epsilon loop RNA (a 3.2-knt pgRNA fragment remained), minus-strand DNA synthesis initiates and the pgRNA template is continuously cleaved from 3′ to 5′ by RNase H activity of viral polymerase. Consequently, from the initiation to the completion of minus-strand DNA synthesis, there will be a series of pgRNA fragments with receding 3′ ends ranging from 3.2 knt to 18 nt of the 5′ cap RNA primer ([@B2], [@B21][@B22][@B24]), representing the RNA templates that have not yet been reverse transcribed into minus-strand DNA. In addition to pgRNA with receding 3′ ends, there are also short RNA fragments arising from intermittent nicks by the RNase H domain of polymerase. Therefore, we used RNA probes spanning the HBV genome to map whether these RNA molecules are present in extracellular naked capsids and virions.
Five probes that spanned the HBV genome, except for the overlapping region between the 5′ end of pgRNA and the RNA cleavage site (nt 1818 to 1930), were prepared to map the extracellular HBV RNAs from HepAD38 cell culture supernatant ([Fig. 9A](#F9){ref-type="fig"}). Intracellular nucleocapsid-associated HBV RNA from HepAD38 cells was used as a reference. As the probes moved from the 5′ end to 3′ end of pgRNA, especially for probes 1 to 4, RNA bands shifted from a wider range, including both short and long RNA species, to a narrower range, close to full-length pgRNA, with fewer RNA species detected ([Fig. 9A](#F9){ref-type="fig"}, upper, lanes 2, 5, 8, 11, 14, and 17). Similarly, with the probes moving from the 5′ end to the 3′ end of pgRNA, a stronger intensity band representing extracellular HBV RNAs detected by each probe, especially for probes 1 to 4, was also shifting toward a longer RNA migration region ([Fig. 9A](#F9){ref-type="fig"}, upper, lanes 3, 6, 9, 12, 15, and 18). It should be noted that the shifting pattern was more apparent when RNAs were detected with probes 1 to 4 but not with probe 5. It is possible that the reverse transcription speed is relatively quicker in the initial step (from the 3′ end of pgRNA, which overlaps the probe 5 sequence), and as a result, fewer pgRNA fragments will harbor RNA sequence for probe 5. Also, a short RNA species from either intracellular nucelocapsids or naked capsids and virions migrated faster than 0.7 knt and could be detected by all probes ([Fig. 9A](#F9){ref-type="fig"}, upper, lanes 2, 3, 5, 6, 8, 9, 11, 12, 14, 15, 17, and 18). These RNA molecules likely represent the pgRNA fragments that have been hydrolyzed by the RNase H domain of viral polymerase (including the 3′ epsilon loop RNA cleaved by polymerase in the reverse transcription step) ([@B24]). Collectively, as predicted, longer extracellular HBV RNA species that migrated slower and closer to the position of pgRNA had longer 3′ ends, the shorter viral RNA molecules that migrated faster had relatively shorter 3′ ends, and the RNA species detected by all probes may represent products of pgRNA hydrolysis.
![Mapping and identifying 3′ ends of extracellular HBV RNAs. (A) Northern blot detection of extracellular HBV RNAs with various riboprobes. Viral RNA from cytoplasmic (C) nucleocapsids (lanes 2, 5, 8, 11, 14, and 17) or culture supernatant (S) (lanes 3, 6, 9, 12, 15, and 18) of HepAD38 cells was extracted with TRIzol reagent and treated with DNase I before Northern blot analysis with plus-strand-specific riboprobes spanning the HBV genome as indicated. pgRNA was used as a reference, and map coordinates were numbered according to the sequence of the HBV genome (genotype D, accession number [AJ344117.1](https://www.ncbi.nlm.nih.gov/nuccore/AJ344117.1)). (B) Identification of 3′ ends of extracellular HBV RNAs. 3′ Ends of extracellular HBV RNAs were identified by the 3′ RACE method using different HBV-specific anchor primers (the same 5′ primers used for generating templates for producing riboprobes used in panel A, lower). Identified 3′ ends were numbered as described above, and numbers in parentheses indicate the amount of clones with the same 3′ ends. The asterisk indicates unknown nucleic acid copurified with intracellular capsid-associated viral RNA by TRIzol reagent. FL, full-length; Cap, 5′ cap of pregenomic RNA; pA, the polyadenylation site; An, poly(A) tail.](zjv0241840640009){#F9}
These results were further confirmed by employing a 3′ rapid amplification of cDNA ends (RACE) method. Various 3′ ends spanning the HBV genome were identified ([Fig. 9B](#F9){ref-type="fig"}), validating the presence of 3′ receding RNA and the heterogeneous nature of extracellular HBV RNAs.
EPA treatment clearly demonstrated that extracellular HBV RNAs could be used as templates for DNA synthesis, and the presence of 3′ receding-end pgRNA fragments further confirmed not only the existence but also the use of such molecules as templates for viral DNA synthesis. Therefore, just like the viral RNA counterpart within intracellular NCs, extracellular HBV RNA molecules represent the RNA molecules generated in the process of viral DNA replication.
ETV reduces viral DNA level but increases extracellular HBV RNA level in naked capsids and virions *in vitro*. {#s2.6}
--------------------------------------------------------------------------------------------------------------
Entecavir (ETV), widely used in anti-HBV therapy, is a deoxyguanosine analog that blocks the reverse transcription and plus-strand DNA synthesis steps in the HBV DNA replication process ([@B45][@B46][@B47]). Treatment of CHB patients with nucleos(t)ide analogs (NAs), including entecavir, efficiently reduces the level of serum viral DNA but at the same time increases circulating HBV RNA levels ([@B28], [@B48][@B49][@B52]). We examined the effect of entecavir on the levels of both intracellular and extracellular viral nucleic acids in HepAD38 cell culture.
Total viral RNA level remained unchanged or marginally increased upon entecavir treatment ([Fig. 10A](#F10){ref-type="fig"}), and the intracellular capsid-associated viral RNA level was increased ([Fig. 10B](#F10){ref-type="fig"}, upper). In contrast and as expected, the intracellular capsid-associated viral DNA level was decreased ([Fig. 10B](#F10){ref-type="fig"}, lower). Similarly, extracellular viral DNA synthesis was significantly inhibited, while viral RNA was increased ([Fig. 10C](#F10){ref-type="fig"} and [D](#F10){ref-type="fig"}). Quantitative results showed that entecavir suppressed extracellular viral DNA to about one-tenth but at the same time increased viral RNA by about twofold the level for the untreated group ([Fig. 10E](#F10){ref-type="fig"}).
![Analysis of HBV DNA and RNA change upon entecavir treatment of HepAD38 cells. (A) Change of total cellular HBV RNA level upon entecavir (ETV) treatment. HepAD38 cells were treated with ETV (0.1 μM) for 4 days, and total cellular RNA was analyzed by Northern blotting with ribosomal RNAs serving as loading controls. (B) Change of intracellular nucleocapsid-associated viral RNA (core RNA) and DNA (core DNA) level after ETV treatment. Cytoplasmic core RNA was extracted by the SDS-proteinase K method and analyzed by Northern blotting. Intracellular nucleocapsids were first separated by native agarose gel electrophoresis, and capsid-associated viral DNA (core DNA) was then probed with minus-strand-specific riboprobe. (C to E) Change of extracellular HBV DNA and RNA level upon ETV treatment. Total nucleic acids in HepAD38 cell culture supernatant were extracted and subjected to Southern and Northern blot analyses with specific riboprobes or quantification by PCR. (F to H) CsCl density gradient analysis of viral DNA/RNA level in naked capsids and virions after ETV treatment. HepAD38 cells were left untreated or were treated with ETV, and culture media were concentrated by ultrafiltration, followed by fractionation in CsCl density gradients as described in the legend to [Fig. 4](#F4){ref-type="fig"}. Viral particles in each fraction were separated by native agarose gel electrophoresis, followed by immunoblotting with anti-HBcAg antibody. Viral DNA and RNA were extracted and subjected to Southern or Northern blot analyses.](zjv0241840640010){#F10}
Since viral DNA and RNA were enclosed in both naked capsids and virions, CsCl density gradient was used to separate these particles and to further study the antiviral effect of entecavir. As shown in [Fig. 10](#F10){ref-type="fig"}, DNA-containing naked capsids were detected in fractions 6 to 11 and virions in fractions 15 to 24 ([Fig. 10F](#F10){ref-type="fig"}). Entecavir effectively reduced viral DNA ([Fig. 10G](#F10){ref-type="fig"}, fractions 6 to 10 and 15 to 17; this was also seen in a longer exposure of [Fig. 10G](#F10){ref-type="fig"} \[not shown\]) but increased viral RNA content mainly in naked capsids ([Fig. 10H](#F10){ref-type="fig"}, fractions 6 to 9). Moreover, the increase in RNA content within naked capsids led to an increased density of naked capsids ([Fig. 10F](#F10){ref-type="fig"}, fractions 6 and 11, lower, versus fractions 6 and 11, upper). Interestingly, entecavir seemed to reduce HBcAg signal within virions (i.e., empty virions) ([Fig. 10F](#F10){ref-type="fig"}, fractions 15 to 21, upper, versus fractions 15 to 21, lower) while increasing the egress of naked capsids from HepAD38 cells (data not shown).
DISCUSSION {#s3}
==========
The RNA molecules in either intracellular NCs or extracellular virions were reported more than three decades ago ([@B5], [@B41], [@B42]), and naked capsids were shown to carry pgRNA *in vitro* ([@B9], [@B11]). Recently, it was suggested that the extracellular or circulating HBV RNA could serve as a surrogate marker to evaluate the endpoint of hepatitis B treatment ([@B27], [@B30], [@B48][@B49][@B53]). With this in mind and to facilitate its application as a novel biomarker for viral persistence, we studied the origin and characteristics of extracellular HBV RNA.
In the present study, we extensively characterized extracellular HBV RNAs and demonstrated that extracellular HBV RNAs were mainly enclosed in naked capsids rather than complete virions in supernatant of HepAD38 cells ([Fig. 1B](#F1){ref-type="fig"} and [2F](#F2){ref-type="fig"}). These RNAs were of heterogeneous lengths, ranging from full-length pgRNA (3.5 knt) to a few hundred nucleotides. Furthermore, circulating HBV RNAs, also heterogeneous in length, were detected in blood of hepatitis B patients ([Fig. 3D](#F3){ref-type="fig"} and [7C](#F7){ref-type="fig"} and [D](#F7){ref-type="fig"}). Interestingly, the detection of HBV RNAs coincided with the presence of immature HBV DNA ([Fig. 3D](#F3){ref-type="fig"} and [E](#F3){ref-type="fig"}). Isopycnic CsCl gradient ultracentrifugation of RNA positive serum samples exhibited a broad range of distribution of immature HBV DNA, which contrasted with the results obtained in HepAD38 cells ([Fig. 2B](#F2){ref-type="fig"} versus [@B4]B and E, [@B7]A). For the first time, we provided convincing evidence that unenveloped capsids containing the full spectrum of HBV replication intermediates and RNA species that are heterogeneous in length could be detected in the circulation of chronic hepatitis B patients.
In view of our results and literature reports ([@B2], [@B21][@B22][@B24]), the presence of extracellular HBV RNAs could easily be interpreted in the context of the HBV DNA replication model ([Fig. 11A](#F11){ref-type="fig"}). Since naked capsids contain viral DNA at all maturation levels, they will also carry HBV RNA molecules originating from pgRNA, including full-length pgRNA prior to minus-strand DNA synthesis, pgRNA with 3′ receding ends, and the pgRNA hydrolysis fragments. On the other hand, virions that contain only mature forms of viral DNA species would likely bear only the hydrolyzed short RNA fragments remaining in the nucleocapsid ([@B43]). Likewise, the HBV RNA species found in CACs are longer than those in virions in sera of hepatitis B patients ([Fig. 7D](#F7){ref-type="fig"}, lower, versus C, lower). In line with this reasoning, treatment of HepAD38 cells with entecavir reduced viral DNA in naked capsids and virions ([Fig. 10C](#F10){ref-type="fig"}, [E](#F10){ref-type="fig"}, and [G](#F10){ref-type="fig"}) but at the same time increased HBV RNA content within naked capsids ([Fig. 10H](#F10){ref-type="fig"}). This may be a result of the stalled activity of viral RT with concomitant shutdown of RNA hydrolysis ([@B46], [@B54]).
![Models for the content of extracellular HBV RNAs and the formation of circulating CACs. (A) HBV RNA molecules present in the process of DNA synthesis. HBV RNAs are included in the following DNA synthesis steps: 1, encapsidation of full-length pgRNA into NCs; 2, transfer of polymerase-DNA primer to the 3′ DR1 region and initiation of minus-strand DNA synthesis (3′ epsilon loop of pgRNA will be cleaved by RNase H domain of polymerase); 3, elongation of minus-strand DNA. With the extension of minus-strand DNA, pgRNA will be continuously cleaved from the 3′ end, generating pgRNA fragments with receding 3′ ends and pgRNA hydrolysis fragments. (B) Possible forms of circulating CACs. Intracellular NCs with pgRNA or pgRNA fragment and DNA replicative intermediates released into blood circulation of CHB patients are bound with specific antibodies (IgG), forming various forms of CACs.](zjv0241840640011){#F11}
Contrary to a recent report claiming that the pgRNA-containing NCs can be enveloped and secreted as virions ([@B27]), we clearly demonstrated that secreted naked capsids carry the majority of HBV RNAs ([Fig. 1B](#F1){ref-type="fig"} and [2F](#F2){ref-type="fig"}) and that virion-associated RNAs are approximately several hundred nucleotides long ([Fig. 1B](#F1){ref-type="fig"} and [7C](#F7){ref-type="fig"}). Our results are consistent with earlier reports demonstrating that only mature nucleocapsids with RC/DSL DNA are enveloped and secreted as virions ([@B6][@B7][@B8], [@B11]), and under this condition, virions carry only short RNase H-cleaved pgRNA ([Fig. 11A](#F11){ref-type="fig"}, step 3).
In this research, we were unable to separate hydrolyzed pgRNA fragments from the pgRNA and pgRNA with 3′ receding ends. Thus, the length of these RNA molecules could not be determined. The existence of hydrolyzed RNA products during reverse transcription is not without precedent. In some retroviruses, DNA polymerization speed of RT is greater than the RNA hydrolysis speed of RNase H, thus hydrolysis of RNA template is often incomplete ([@B55], [@B56]). For example, RT of avian myeloblastosis virus (AMV) hydrolyzed RNA template once for every 100 to 200 nt, while cleavage frequency of RTs of human immunodeficiency virus type 1 (HIV-1) and Moloney murine leukemia virus (MoMLV) appeared to be around 100 to 120 nt ([@B57]). Moreover, RNA secondary structures, such as hairpins, may stall the RT activity promoting RNase H cleavage, producing shorter RNA fragments ([@B55], [@B56]).
Furthermore, the cleaved RNA fragments may not disassociate but anneal to the nascent minus-strand DNA forming the DNA-RNA hybrids until they are displaced by plus-strand DNA synthesis ([@B55], [@B56]). Although similar studies on HBV replication were hampered by lack of fully functional viral polymerase *in vitro* ([@B58][@B59][@B61]), the reported presence of DNA-RNA hybrid molecules clearly indicated the existence of degraded pgRNA fragments that still annealed to the minus-strand DNA ([@B5], [@B41], [@B42], [@B62]). Consistent with a previous study, our results also showed that at least part of the SS DNA is associated with RNA molecules as the DNA-RNA hybrid molecules, as detected by either RNase H digestion or the cesium sulfate density gradient separation method ([@B5] and data not shown).
Given the fact that HBV RNA and immature HBV DNA are packaged in naked capsids ([Fig. 1B](#F1){ref-type="fig"} and [2B](#F2){ref-type="fig"} and [F](#F2){ref-type="fig"}) ([@B11]), we postulated that, in CHB patients, unenveloped capsids are released into circulation, where they rapidly form CACs with anti-HBcAg antibodies ([Fig. 11B](#F11){ref-type="fig"}) ([@B25], [@B33], [@B34]). In support of this notion, we showed that protein A/G agarose beads could specifically pull down particles with mature and immature HBV DNA from sera of CHB patients, implying the involvement of antibody. Addition of anti-HBcAg antibody to HepAD38 cell culture supernatant led to a shift of naked capsids' buoyant density to lower-density regions ([Fig. 4C](#F4){ref-type="fig"} and [D](#F4){ref-type="fig"}), a pattern similar to that obtained in HBV RNA-positive serum samples ([Fig. 4B](#F4){ref-type="fig"} and [E](#F4){ref-type="fig"}, and [7A](#F7){ref-type="fig"}). These particles exhibited heterogeneous electrophoretic behavior that differed from that of particles in HepAD38 culture supernatant, suggesting that they are not individual naked capsid particles but are associated with antibodies and have nonuniform compositions ([Fig. 6](#F6){ref-type="fig"} and [11B](#F11){ref-type="fig"}) ([@B36][@B37][@B38]). In CHB patients, the high titers of anti-HBcAg antibodies, which exceed 10,000 IU/ml, preclude circulation of antibody-unbound naked capsids ([@B63]). Indeed, the excessive amounts of anti-HBcAg antibodies present in the plasma sample of patient 0 were able to pull down naked capsids from the culture supernatant of HepAD38 cells (not shown).
We have demonstrated the presence of circulating CACs as the new form of naked capsids in CHB patients. It is known that naked capsid particles can be secreted either by the natural endosomal sorting complex required for transport (ESCRT) pathway ([@B15][@B16][@B17]) or possibly by cell lysis consequent to liver inflammation. Our preliminary clinical data (not shown) are in agreement with a recent study showing an association of circulating HBV RNA with serum ALT level ([@B64]). However, this connection can be interpreted in a different manner, as the capsid-antibody complexes might constitute a danger signal triggering inflammation. Interestingly, the release of naked capsids seems to be an intrinsic property of hepadnaviruses preserved through evolution. Recent studies by Lauber et al. provided evidence as to the ancient origin of HBV descending from nonenveloped progenitors in fish, with their envelope protein gene emerging *de novo* much later ([@B65]). Thus, it is reasonable to propose that the active release of HBV capsid particles should be deemed a natural course of viral egress.
Apart from HBV particles, it was also reported that exosomes could serve as HBV DNA or RNA carriers ([@B29], [@B66], [@B67]). However, HBV DNA and RNA was detected in naked capsids or CACs and virion fractions rather than in lower-density regions where membrane vesicles like HBsAg particles (density of 1.18 g/cm^3^) and exosomes (density of 1.10 to 1.18 g/cm^3^) would likely settle ([@B2], [@B27], [@B48], [@B68], [@B69]) ([Fig. 1](#F1){ref-type="fig"} and [7B](#F7){ref-type="fig"}). As a result, it is not likely that exosomes serve as the main vehicles carrying HBV DNA or RNA molecules.
Numerous pieces of data showed that HBV spliced RNAs also represent a species of extracellular HBV RNAs ([@B28], [@B70], [@B71]). However, in HepAD38 cells, as most of the RNAs are transcribed from the integrated HBV sequence other than the cccDNA template, pgRNA packaged into nucleocapsids is the predominant RNA molecule ([Fig. 9A](#F9){ref-type="fig"} and [10D](#F10){ref-type="fig"}), and viral DNA derived from pgRNA is the dominant DNA form ([Fig. 2D](#F2){ref-type="fig"} and [E](#F2){ref-type="fig"} and data not shown). For the same reason, it would be difficult for us to estimate the amount of spliced HBV RNAs in clinical samples.
Although we could not completely rule out the possibility that HBV RNAs are released into blood circulation by association with other vehicles or other pathways, it is possible that the spliced HBV RNAs also egress out of cells in naked capsids and virions like the pgRNA.
In summary, we demonstrated that extracellular HBV RNA molecules are pgRNA and degraded pgRNA fragments generated in the HBV replication process *in vitro*. Moreover, we provided evidence that HBV RNAs exist in the form of CACs in hepatitis B patients' blood circulation. More importantly, the association of circulating HBV RNAs with CACs or virions in hepatitis B patients suggests their pgRNA origin. Hence, our results here suggest the circulating HBV RNAs within CACs or virions in hepatitis B patients could serve as novel biomarkers to assess efficacy of treatment.
MATERIALS AND METHODS {#s4}
=====================
Cell culture. {#s4.1}
-------------
HepAD38 cells that replicate HBV in a tetracycline-repressible manner were maintained in Dulbecco's modified Eagle's medium (DMEM)-F12 medium supplemented with 10% fetal bovine serum, and doxycycline was withdrawn to allow virus replication ([@B31]).
Patients and samples. {#s4.2}
---------------------
Serum samples from 45 chronic hepatitis B patients with HBV DNA titer higher than 10^7^ IU per ml were randomly selected. Detailed medical records of these patients are included in [Table 1](#T1){ref-type="table"}.
######
Medical records of hepatitis B patients used in this research[^*a*^](#T1F1){ref-type="table-fn"}
Patient no. Sex Age (yr) HBV DNA titer (IU/ml) HBeAg (IU/ml) HBsAg (IU/ml) ALT (IU/liter) SS DNA result
------------- ----- ---------- ----------------------- --------------- --------------- ---------------- ---------------
0 NA NA 2.67E + 06 4,932 396 \+
1 M 54 1.24E + 07 25 \>250 69 \+
2 F 32 1.20E + 07 1,067 69,384 38 \+
3 F 21 1.36E + 07 1,712 200 149 \+
4 M 33 \>5.00E + 07 4,812 113,933 133 \+
5 NA NA 1.25E + 07 3,423 33 −
6 M 26 1.17E + 07 545 2,759 22 −
7 M 36 1.77E + 07 4,332 19,541 136 **+**
8 M 35 \>5.00E + 07 1,199 \>250 104 **+**
9 M 26 2.20E + 07 \>250 143 −
10 M 30 \>5.00E + 07 2 4,265 123 −
11 F 23 \>5.00E + 07 20 5,757 120 **+**
12 M 37 2.07E + 07 2,315 16,128 177 **+**
13 M 28 \>5.00E + 07 3,495 60,676 58 NA
14 F 28 \>5.00E + 07 16,515 89,575 78 \+
15 M 37 1.62E + 07 574 +, ND 112 \+
16 M NA \>5.00E + 07 1,601 \>250 22 NA
17 M 15 2.28E + 07 2,038 32,739 180 \+
18 M 41 2.71E + 07 694 \>250 313 \+
19 M 34 2.35E + 07 80 32,514 148 \+
20 F 44 \>5.00E + 07 1,596 4,306 172 −
21 M NA 3.48E + 07 107 \>250 103 \+
22 NA NA \>5.00E + 07 2024 45,873 147 \+
23 M 20 1.32E + 07 13,411 12,387 344 \+
24 M 48 \>5.00E + 07 5,511 76,914 33 −
25 M NA 3.15E + 07 15,984 366 −
26 M 31 4.16E + 07 10,251 50,469 442 \+
27 M 60 1.35E + 07 749 \>250 105 \+
28 F 41 \>5.00E + 07 4,173 \>52,000 194 \+
29 NA NA \>5.00E + 07 4,233 49,125 39 \+
30 M 29 1.42E + 07 25 5,800 940 \+
31 M 27 2.34E + 07 1,117 22,412 129 \+
32 M 37 2.65E + 07 70 109 NA
33 NA NA 2.03E + 07 4,902 111 \+
34 M 32 \>5.00E + 07 993 43,582 249 \+
35 NA NA 2.94E + 07 4,641 93,336 12 \+
36 NA NA \>5.00E + 07 10,956 2,496 108 \+
37 F 43 \>5.00E + 07 1,021 \>250 74 \+
38 F 28 \>5.00E + 07 215 446 26 \+
39 M 31 \>5.00E + 07 +, ND 38,165 194 \+
40 NA NA \>5.00E + 07 25 \>250 69 \+
41 M 26 1.52E + 07 +, ND +, ND 95 \+
42 M 25 \>5.00E + 07 6,300 43,151 373 \+
43 M 22 \>5.00E + 07 3,844 23,620 329 \+
44 M 27 1.36E + 07 1,185 11,106 149 \+
45 M 44 1.28E + 07 663 23,330 425 −
46 F 29 \>5.00E + 07 +, ND +, ND 667 \+
NA, not available; ND, not determined; M, male; F, female; sera from patients 0 and 46 were not included with sera from other patients for SS DNA screening.
Plasma sample was the plasma exchange product obtained from an HBeAg-negative hepatitis B patient (patient 0) (HBV genotype B with A1762T, G1764A, and G1869A mutation) who died of fulminant hepatitis as a consequence of reactivation of hepatitis B ([Table 1](#T1){ref-type="table"}).
Ethics statement. {#s4.3}
-----------------
All samples from HBV-infected patients used in this study were from an already-existing collection supported by the National Science and Technology Major Project of China (grant no. 2012ZX10002007-001). Written informed consent was received from participants prior to collection of clinical samples ([@B72]). Samples used in this study were anonymized before analysis. This study was conducted in compliance with the ethical guidelines of the 1975 Declaration of Helsinki and was approved by the ethics committee of the Shanghai Public Health Clinical Center.
Preparation of viral particles. {#s4.4}
-------------------------------
HepAD38 cell culture supernatant was mixed with polyethylene glycol 8000 (PEG 8000) to a final concentration of 10% (wt/vol) and incubated on ice for at least 1 h, followed by centrifugation at 925 × *g* for 20 min. Pellets were suspended in TNE buffer (10 mM Tris-Cl \[pH 7.5\], 100 mM NaCl, and 1 mM EDTA) containing 0.05% β-mercaptoethanol to 1/150 of the original volume, followed by a brief sonication ([@B73], [@B74]). Alternatively, viral particles in HepAD38 cell culture supernatant were concentrated 50- to 100-fold by ultrafiltration using a filter unit (Amicon Ultra-15, 100 kDa).
Plasma samples from patient 0 were centrifuged through a 20% (wt/vol) sucrose cushion at 26,000 rpm for 16 h in an SW 32 Ti rotor (Beckman), and pellets were resuspended in 1/200 the original volume of TNE buffer and sonicated briefly ([@B75]).
Samples prepared using methods described above were either used immediately or aliquoted and stored at −80°C for later use.
Sucrose density gradient centrifugation. {#s4.5}
----------------------------------------
HepAD38 cells culture supernatant concentrated by PEG 8000 was centrifugation at 500 × *g* for 5 min to remove aggregates. Ten percent, 20%, 30%, 40%, 50%, and 60% (wt/wt) sucrose gradients were prepared by underlayering and incubated for 4 h in a water bath at room temperature to allow gradient to become continuous. Five hundred microliters of concentrated sample was layered over the gradient and centrifuged at 34,100 rpm for 14 h at 4°C in a Beckman SW 41 Ti rotor. Fractions were collected from top to bottom, and the density of each fraction was determined by refractometry ([@B10]). Fractions containing viral particles were subjected to native agarose gel analysis, and HBsAg level was determined by enzyme-linked immunosorbent assay (ELISA) (Shanghai Kehua).
Cesium chloride density gradient centrifugation. {#s4.6}
------------------------------------------------
HepAD38 cell culture supernatant (1.5 ml), concentrated by ultrafiltration, or serum samples from chronic hepatitis patients diluted with TNE buffer to 1.5 ml were mixed with equal volumes of 37% (wt/wt) CsCl-TNE buffer (1.377 g/cm^3^) and underlayered with 1.9 ml 34% (wt/wt) CsCl-TNE buffer (1.336 g/cm^3^), followed by centrifugation at 90,000 rpm at 4°C for 12 h (Beckman VTi 90 rotor) ([@B8]). The tube was punctured from the bottom, and every six to seven drops were collected as one fraction. Densities of separated fractions were determined by weighing. Each fraction was then desalted against TNE buffer by ultrafiltration, followed by native agarose gel separation or nucleic acid extraction.
All of the CsCl density gradient centrifugation experiments were carried out at 90,000 rpm at 4°C for 12 h in a Beckman VTi 90 rotor.
Native agarose gel analysis of viral particles and capsid-associated DNA. {#s4.7}
-------------------------------------------------------------------------
Viral particles were resolved by native agarose gel (0.8% agarose gel prepared in Tris-acetate-EDTA \[TAE\] buffer) electrophoresis and transferred in TNE buffer to either a nitrocellulose membrane (0.45 μM) for detection of viral antigens with specific antibodies or a nylon membrane for Southern blot analysis of viral DNA. For viral antigens detection, the membrane was first fixed as previously described ([@B74]), and HBV core antigen was detected by anti-HBcAg antibody (Dako) (1:5,000). The same membrane then was soaked in stripping buffer (200 mM glycine, 0.1% SDS, 1% Tween 20, pH 2.2) and reprobed with anti-HBsAg antibody (Shanghai Kehua) (1:5,000). For Southern blot analysis of viral DNA, the membrane was dipped in denaturing buffer (0.5 N NaOH, 1.5 M NaCl) for 10 s and immediately neutralized in 1 M Tris-Cl (pH 7.0)--1.5 M NaCl for 1 min, followed by hybridization with minus-strand-specific riboprobe ([@B76]).
Viral nucleic acid extraction, separation, and detection. {#s4.8}
---------------------------------------------------------
**(I) Nucleic acid extraction.** To extract total viral nucleic acids (DNA and RNA), the SDS-proteinase K method was used ([@B77]). Samples were digested in solution containing 1% SDS, 15 mM EDTA, and 0.5 mg/ml proteinase K at 37°C for 15 min. The digestion mixture was extracted twice with phenol and once with chloroform. Aqueous supernatant were added with 1/9 volume of 3 M sodium acetate (pH 5.2) and 40 μg of glycogen and precipitated with 2.5 volumes of ethanol.
In addition to the SDS-proteinase K method, viral RNA was also extracted with TRIzol LS reagent according to the manufacturer's instructions (Thermo Fisher Scientific).
To isolate intracellular capsid-associated viral RNA, HepAD38 cells were lysed in NP-40 lysis buffer (50 mM Tris-Cl \[pH 7.8\], 1 mM EDTA, 1% NP-40), and cytoplasmic lysates were incubated with CaCl~2~ (final concentration, 5 mM) and micrococcal nuclease (MNase) (Roche) (final concentration, 15 U/ml) at 37°C for 1 h to remove nucleic acids outside nucleocapsids. The reaction was terminated by addition of EDTA (final concentration, 15 mM), and then proteinase K (0.5 mg/ml without SDS) was added to the mixture, followed by incubation at 37°C for 30 min to inactivate MNase. Viral nucleic acids were released by addition of SDS to a final concentration of 1% and extracted as described above.
**II. Separation. (i) TAE agarose gel.** Viral DNA was resolved by electrophoresis through a 1.5% agarose gel in 1× TAE buffer, followed by denaturation in 0.5 M NaOH--1.5 M NaCl for 30 min and neutralization with 1 M Tris-Cl (pH 7.0)--1.5 M NaCl for 30 min.
**(ii) Alkaline agarose gel.** Viral DNA was denatured with a 0.1 volume of solution containing 0.5 M NaOH and 10 mM EDTA and resolved overnight at 1.5 V/cm in a 1.5% agarose gel with 50 mM NaOH and 1 mM EDTA. After electrophoresis, the gel was neutralized with 1 M Tris-Cl (pH 7.0)--1.5 M NaCl for 45 min ([@B78]).
**(iii) Formaldehyde-MOPS agarose gel.** Viral RNA was obtained by treatment of total nucleic acids extracted using the above-described SDS-proteinase K method with RNase free DNase I (Roche) for 15 min at 37°C. The reaction was stopped by addition of equal amounts of 2× RNA loading buffer (95% formamide, 0.025% SDS, 0.025% bromophenol blue, 0.025% xylene cyanol FF, and 1 mM EDTA) supplemented with extra EDTA (20 mM), followed by denaturing at 65°C for 10 min. Viral RNA extracted by TRIzol LS reagent was mixed with 2× RNA loading buffer and denatured. Denatured mixtures were separated by electrophoresis through a 1.5% agarose gel containing 2% (vol/vol) formaldehyde solution (37%) and 1× MOPS (3-\[N-morpholino\]propanesulfonic acid) buffer.
The gels described above were balanced in 20× SSC solution (1× SSC is 0.15 M NaCl and 0.015 M sodium citrate, pH 7.0) for 20 min, and viral nucleic acids were transferred onto nylon membranes overnight with 20× SSC buffer.
III. Detection. {#s4.10}
---------------
Digoxigenin-labeled riboprobes used for detection of HBV DNA and RNA were prepared by *in vitro* transcription of a pcDNA3 plasmid that harbors 3,215 bp of HBV DNA (nt 1814 to 1813) by following the vendor's suggestions (12039672910; Roche). Riboprobes used for HBV RNA mapping were transcribed from DNA templates generated by PCR by incorporating T7 promoter into the 5′ end of reversed primers ([Fig. 9A](#F9){ref-type="fig"}).
Hybridization was carried out at 50°C overnight, followed by two 5-min washes in 2× SSC--0.1% SDS at room temperature and two additional 15-min washes in 0.1× SSC--0.1% SDS at 50°C. The membrane was sequentially incubated with blocking buffer and anti-digoxigenin-AP Fab fragment (Roche) at 20°C for 30 min. Subsequently, the membrane was washed twice with washing buffer (100 mM maleic acid, 150 mM NaCl, and 0.3% Tween 20, pH 7.5) for 15 min, followed by detection with diluted CDP-Star substrate (ABI) and exposure to X-ray film.
Protein A/G agarose bead pulldown of antibody-antigen complexes. {#s4.11}
----------------------------------------------------------------
Two hundred microliters of serum sample was first mixed with 300 μl of TNE buffer, and then 15 μl of protein A/G agarose bead slurry (Santa Cruz) was added to the mixture, followed by incubation overnight at 4°C in a sample mixer. Subsequently, protein A/G agarose beads were washed three times with TNE buffer, and viral DNA in input serum samples (40 μl) and agarose bead pulldown mixtures were extracted and subjected to Southern blot analysis.
EM. {#s4.12}
---
Serum samples from patients 11, 17, 21 22, 23, 27, 28, 30, and 41 were pooled (200 μl each) and mixed with 200 μl of 20% (wt/wt) sucrose. Serum mixtures were centrifuged through 2 ml of 20% (wt/wt) and 2 ml of 45% (wt/wt) (1.203 g/cm^3^) sucrose cushions at 34,100 rpm for 8 h at 4°C in an SW 41 Ti rotor (Beckman) to remove HBsAg particles. Supernatants were decanted and the centrifugation tube was placed upside down for 20 s, and residue sucrose was wiped out. One milliliter of phosphate buffer (10 mM Na~2~HPO~4~, 1.8 mM KH~2~PO~4~, and no NaCl) (pH 7.4) was added, and the bottom of the tube was gently washed without disturbing the pellet. A volume of 11.5 ml of phosphate buffer then was added into the tube and centrifuged again at 34,100 rpm for 3 h at 4°C. The pellet was resuspended in a drop of distilled water and dropped onto a carbon-coated copper grid, followed by staining with 2% phosphotungstic acid (pH 6.1) and examining in an electron microscope (Philip CM120) ([@B13], [@B79]).
Viral DNA and RNA quantification. {#s4.13}
---------------------------------
Viral DNA used for quantification was extracted using the SDS-proteinase K method as described above. Viral RNAs were extracted by TRIzol LS reagent, and DNase I was used to remove the remaining DNA, followed by phenol and chloroform extraction and ethanol precipitation. Reverse transcription was carried out using Maxima H minus reverse transcriptase (Thermo Fisher Scientific) with a specific primer (AGATCTTCKGCGACGCGG \[nt 2428 to 2411\]) according to the manufacturer's guidelines, except the 65°C incubation step was skipped to avoid RNA degradation. To ensure removal of viral DNA signal (below 1,000 copies per reaction), a mock reverse transcription, without addition of reverse transcriptase, was carried out. Quantitative real-time PCR (qPCR) was carried out using Thunderbird SYBR qPCR mix (Toyobo) in a StepOnePlus real-time PCR system (ABI). Primer pairs (F, GGRGTGTGGATTCGCAC \[nt 2267 to 2283\]; R, AGATCTTCKGCGACGCGG \[nt 2428 to 2411\]) conserved among all HBV genotypes and close to the 5′ end but not in the overlap region between the start codon and the poly(A) cleavage site of pgRNA were chosen. The cycling conditions were 95°C for 5 min, followed by 40 cycles of 95°C for 5 s, 57°C for 20 s, and 72°C for 30 s. DNA fragment containing 3,215 bp of full-length HBV DNA was released from plasmid by restriction enzymes, and DNA standards were prepared according to a formula in which 1 pg of DNA equals 3 × 10^5^ copies of viral DNA.
EPA. {#s4.14}
----
HepAD38 cell culture supernatant or plasma from patient 0 were concentrated as described above and mixed with equal volumes of 2× EPA buffer (100 mM Tris-Cl, pH 7.5, 80 mM NH~4~Cl, 40 mM MgCl~2~, 2% NP-40, and 0.6% β-mercaptoethanol) with or without dNTPs (dATP, dCTP, dGTP, and dTTP, each at a final concentration of 100 μM) ([@B80]). The reaction mixtures were incubated at 37°C for 2 h and stopped by addition of EDTA to a final concentration of 15 mM.
3′ RACE. {#s4.15}
--------
Concentrated HepAD38 cell culture supernatant (by ultrafiltration) was digested with MNase in the presence of NP-40 (final concentration, 1%) for 30 min at 37°C. EDTA (final concentration, 15 mM) and proteinase K (final concentration, 0.5 mg/ml) were then added and incubated for another 30 min at 37°C. Viral nucleic acids were extracted with TRIzol LS reagent followed by DNase I treatment to remove residue viral DNA. Poly(A) tails were added to the 3′ end of HBV RNA by E. coli poly(A) polymerase (NEB). The preincubation step at 65°C for 5 min was omitted to reduce potential RNA degradation, and reverse transcription was carried out with Maxima H minus reverse transcriptase (Thermo Scientific) using an oligo-dT(29)-SfiI(A)-adaptor primer (5′-AAGCAGTGGTATCAACGCAGAGTGGCCATTACGGCCTTTTTTTTTTTTTTTTTTTTTTTTTTTTT-3′) in reverse transcription buffer \[1× RT buffer, RNase inhibitor, 1 M betanine, 0.5 mM each dNTP, and 5 μM of oligo-dT(29)-SfiI(A)-adaptor primer\] at 50°C for 90 min, followed by heating at 85°C for 5 min and treatment with RNase H at 37°C for 15 min. PCR amplification of cDNA fragments was then performed with 5′ HBV-specific primers \[the same sequences of forward primers used for riboprobe preparation ([Fig. 9A](#F9){ref-type="fig"}), except each primer containing a flanking sequence plus a SfiI(B) site (5′-AGTGATGGCCGAGGCGGCC-3′)\] and 3′ adaptor primer (5′-AAGCAGTGGTATCAACGCAGAGTG-3′). The reaction was carried out with PrimeSTAR HS DNA polymerase (TaKaRa) at 95°C for 5 min, followed by 5 cycles of 98°C for 5 s, 50°C for 10 s, and 72°C for 210 s, 35 cycles of 98°C for 5 s, 55°C for 10 s, and 72°C for 210 s, and a final extension step at 72°C for 10 min. PCR amplicons were digested with SfiI enzyme and cloned into pV1-Blasticidin vector (kind gift from Zhigang Yi, Shanghai Medical College, Fudan University). Positive clones were identified by sequencing, and only clones with 3′ poly(dA) sequence were considered authentic viral RNA 3′ ends.
We thank Zhuying Chen and Xiurong Peng for handling serum samples and compiling the clinical data used in this research.
This research was supported by the National Natural Science Foundation of China (NSFC) (81671998, 91542207), National Key Research and Development Program (2016YFC0100604), National Science and Technology Major Project of China (2017ZX10302201001005), Shanghai Science and Technology Commission (16411960100), and Innovation Program of Shanghai Municipal Education Commission (2017-01-07-00-07-E00057).
[^1]: **Citation** Bai L, Zhang X, Kozlowski M, Li W, Wu M, Liu J, Chen L, Zhang J, Huang Y, Yuan Z. 2018. Extracellular hepatitis B virus RNAs are heterogeneous in length and circulate as capsid-antibody complexes in addition to virions in chronic hepatitis B patients. J Virol 92:e00798-18. <https://doi.org/10.1128/JVI.00798-18>.
| {
"pile_set_name": "PubMed Central"
} |
abcdef abc def hij
klm nop qrs
abcdef abc def hij
tuv wxy z
| {
"pile_set_name": "Github"
} |
Q:
bootstrap.min.css sets transparency where not wanted
I have a small chatbox at the bottom of my page which seems to be inheriting CSS style from bootstrap.min.css and that chatbox is transparent which is a nuisance because the underlying text on the page shows through and what is worse, is that hyperlinks on the page are over-riding clickable areas in the chatbox for opening, closing and submitting messages.
I have tried adding CSS style to the chatbox for opacity and rgba. Even tried adding a background image but to no effect.
I have since modified the chatbox to display an iFrame from a different site that does not use bootstrap.min.css.
But even the iFrame page is affected by transparency. I can remove the transparency setting in bootstrap.min.css but that will not solve my bigger problem... I am intending to use this chatbox on several sites and may not have control of the site's CSS.
So I need a way to override the parent site's CSS just for the chatbox.
If that is impossible, then I can weed out the transparency from bootstrap.min.css that is used on my own sites. However I do wonder what is the point of such transparency when it is useless here...
A:
It's a z-index problem which is common when integrating iframes, apply z-index: 2000; (or whatever number as long as it comes on top) on your chatbox div so your chatbox will still stay upfront.
| {
"pile_set_name": "StackExchange"
} |
Q:
Where to get flight dynamics for a flight sim model?
Once, a while ago, I tried to create a Flight Simulator X model for an aircraft that I wanted a model of, but was soon overwhelmed by having to guess so much of the flight dynamics. Is there somewhere where I could get detailed information about the flight dynamics of aircraft without contacting the manufacturer, a pilot, or having the plane itself to run tests on? I mean for things like drag at different mach, drag coefficient created by the landing gear, lift coefficient created by the flaps, detailed stuff about the engines, etc.
A:
Unfortunately I have no experience with how FSX models aircraft, but at a guess, it's model requires extensive experimental data from a real aircraft to truly get the right parameters.
And that's something no hobbyist is likely to be able to do. For that matter, it's pretty difficult for a pilot to do, since actually recording the relevant data is difficult, and some of what you need to know requires doing things with the aircraft you probably shouldn't do in most circumstances.
X-Plane's flight model and aircraft creation tool is far more forgiving. You still end up having to guess a lot of parameters, but they are generally less critical to basic handling.
All you really need to get a decent flight model out of X-Plane is a good set of reverence pictures, an eye for detail (so your model matches the geometry properly), and ideally the correct airfoil profiles and engine specifications.
(Primarily the thrust and power)
For the most part, good reference models and diagrams, and the information you'd find in the Pilot's operating handbook is enough to create a decent flight model in X-Plane.
It certainly won't be perfect, and you'll probably have to tune it, but it's a much easier task than getting that data needed for an FSX model.
I have the good fortune of being a student pilot, and as such I decided to attempt a model in X-Plane, and found that while it was far from perfect, (and needs a lot of improvement to be a 'good') model, it's behaviour was much closer to the real aircraft that I fly regularly than I was ever expecting given how much I had to guess.
I had to guess everything from the aileron deflection angles to the propeller geometry, wing airfoil choices and more, and still the resulting model was only slightly off from the real thing insofar as I know how the real aircraft flies.
I guess that's not an overly helpful answer in a direct sense for an FSX flight model, but I fear it just isn't going to be at all easy to find the information you need to make a flight model that isn't fundamentally broken in FSX, let alone accurate.
X-Plane is just far simpler to work with when you don't have a lot of information...
Whether that's worth the downsides of X-Plane (especially the consequences of switching if you already have a heavy investment in FSX), I don't know.
But it's worth keeping in mind if you are particularly fond of amateur aircraft design.
(It's even plausible to create fictional designs in x-plane for which no real-world data could ever exist in theory, and still get a good idea of how such a design likely would fly if it did exist.)
As for FSX potentially having better flight models in some cases? Maybe. But this is likely going to be the flight models of expensive add-on aircraft models that were made with the help of the manufacturer and pilots qualified to fly the real aircraft.
That's not going to help you any if you don't have access to those kinds of resources.
A hand-tuned model matched to exact real-world data may well work better than a physics based model if you have good source data.
But if your source data is lousy (as it is for most of us unfortunately), then the physics based model will be much more reliable most of the time...
A:
Decent aerodynamic (wind tunnel) data is available courtesy of NASA / NTRS.
Windtunnel derived aerodynamic data sources is where I have collected together detailed data for the B747, F-14 and F-15.
B747 Aerodynamic data
NASA CR-1756 The Simulation of a Large Jet Transport Aircraft Volume I: Mathematical Model, C. Rodney Hanke
March 1971
D6-30643 THE SIMULATION OF A JUMBO JET TRANSPORT AIRCRAFT - VOLUME 11: MODELING DATA, C. Rodney Hanke and Donald R. Nordwall September 1970
F-14 Aerodynamic data
These are the data sources for my F-14 for FlightGear
F-14A Aerodata plots F-14A Aerodata plots from AFWAL-TR-80-3141. These are in the TR; and don't reflect the JSBSim model as that has more data; this is just what I made for reference whilst modelling.
Richard Harrison
AFWAL-TR-80-3141, Part I Investigation of High-Angle-of-Attack Maneuver-limiting factors, Part I: Anaylsis and simulation
Donald E. Johnston, David G. Mitchell, Thomas T. Myers
1980
AFWAL-TR-80-3141, Part III: Investigation of High-Angle-of-Attack Maneuver-limiting factors, Part III: Appendices aerodynamic models
Donald E. Johnston, David G. Mitchell, Thomas T. Myers
1980
NASA TN D-6909 DYNAMIC STABILITY DERIVATIVES AT ANGLES OF ATTACK FROM -5deg TO 90deg FOR A VARIABLE-SWEEP FIGHTER CONFIGURATION WITH TWIN VERTICAL TAILS
Sue B. Grafton and Ernie L. Anglin
1972
NASA-TM-101717 Flutter clearance to the F-14A Variable-Sweep Transition Flight Expirement Airplane - Phase 2
Lawrence C. Freudinger and Michael W. Kehoe
July 1990
N89 - 20931 APPLIED TRANSONICS AT GRUMMAN
W. H. Davis
F-15 Aerodynamic data sources
These are the data sources / references for F-15 for FlightGear. The FDM is based on the windtunnel derived aerodynamic data found in (AFIT/GAE/ENY/90D-16).
Richard Harrison, [email protected]: F-15 Aerodynamic data from (AFIT/GAE/ENY/90D-16); CG 25.65%, ZDAT/AED/2014/12-2, December, 2014: F-15 Aerodynamic data extracted from AFIT/GAE/ENY/90D-16
Robert J. McDonnell, B.S., Captain, USAF: INVESTIGATION OF THE HIGH ANGLE OF ATTACK DYNAMICS OF THE F-15B USING BIFURCATION ANALYSIS, AFIT/GAE/ENY/90D-16, December 1990: ADA230462.pdf
Richard L. Bennet, Major, USAF: ANALYSIS OF THE EFFECTS OF REMOVING NOSE BALLAST FROM THE F-15 EAGLE, AFIT/GA/ENY/91D-1, December 1991: ADA244044.pdf
DR. J. R. LUMMUS, G. T. JOYCE, O C. D. O MALLEY: ANALYSIS OF WIND TUNNEL TEST RESULTS FOR A 9.39-PER CENT SCALE MODEL OF A VSTOL FIGHTER/ATTACK AIRCRAFT : VOLUME I - STUDY OVERVIEW, NASA CR-152391-VOL-1 Figure 3-2 p54, October 1980: 19810014497.pdf
Frank W. Burcham, Jr., Trindel A. Maine, C. Gordon Fullerton, and Lannie Dean Webb: Development and Flight Evaluation of an Emergency Digital Flight Control System Using Only Engine Thrust on an F-15 Airplane, NASA TP-3627, September 1996: 88414main_H-2048.pdf
Thomas R. Sisk and Neil W. Matheny: Precision Controllability of the F-15 Airplane, NASA-TM-72861, May 1979 87906main_H-1073.pdf
Aircraft handling data
NT-a3A, F-104A, F-4C, X-15, HL-10, Jetstar, CV-880M, B-747, C-5A, and XB-70A.
Robert K. Heffley and Wayne F. Jewell, NASA CR-2144 AIRCRAFT HANDLING QUALITIES DATA,
December 1972
JSBSim implementations of the aerodynamics models can be viewed in my GitHub repository F-14 and F-15. These are both useful references in how to implement an aerodynamic model using JSBSim.
Where no such data is available OpenVSP using VSPAero is a useful tool for generating coefficients from geometry.
Any computational method (including OpenVSP and X-Plane) will not be able to attain the accuracy gained from windtunnel measurements, especially as you reach the edge of the flight envelope. All FAA Level D simulators use wind tunnel derived aerodyanmic data packages for this reason.
| {
"pile_set_name": "StackExchange"
} |
Dietary sodium chloride intake independently predicts the degree of hyperchloremic metabolic acidosis in healthy humans consuming a net acid-producing diet.
We previously demonstrated that typical American net acid-producing diets predict a low-grade metabolic acidosis of severity proportional to the diet net acid load as indexed by the steady-state renal net acid excretion rate (NAE). We now investigate whether a sodium (Na) chloride (Cl) containing diet likewise associates with a low-grade metabolic acidosis of severity proportional to the sodium chloride content of the diet as indexed by the steady-state Na and Cl excretion rates. In the steady-state preintervention periods of our previously reported studies comprising 77 healthy subjects, we averaged in each subject three to six values of blood hydrogen ion concentration ([H]b), plasma bicarbonate concentration ([HCO(3)(-)]p), the partial pressure of carbon dioxide (Pco(2)), the urinary excretion rates of Na, Cl, NAE, and renal function as measured by creatinine clearance (CrCl), and performed multivariate analyses. Dietary Cl strongly correlated positively with dietary Na (P < 0.001) and was an independent negative predictor of [HCO(3)(-)]p after adjustment for diet net acid load, Pco(2) and CrCl, and positive and negative predictors, respectively, of [H]b and [HCO(3)(-)]p after adjustment for diet acid load and Pco(2). These data provide the first evidence that, in healthy humans, the diet loads of NaCl and net acid independently predict systemic acid-base status, with increasing degrees of low-grade hyperchloremic metabolic acidosis as the loads increase. Assuming a causal relationship, over their respective ranges of variation, NaCl has approximately 50-100% of the acidosis-producing effect of the diet net acid load. | {
"pile_set_name": "PubMed Abstracts"
} |
Stefan Priebe
Stefan Priebe is a psychologist and psychiatrist of German and British nationality. He grew up in West-Berlin, studied in Hamburg, and was Head of the Department of Social Psychiatry at the Free University Berlin until 1997. He is Professor of Social and Community Psychiatry at Queen Mary, University of London, and Director of a World Health Organization collaborating centre, the only one specifically for Mental Health Services Development. He heads a research group in social psychiatry and has published more than 600 peer-reviewed scientific papers.
References
External links
Category:1953 births
Category:Living people
Category:Place of birth missing (living people)
Category:German psychologists
Category:German psychiatrists
Category:British psychologists
Category:British psychiatrists
Category:Free University of Berlin faculty
Category:Academics of Queen Mary University of London
Category:People from Berlin | {
"pile_set_name": "Wikipedia (en)"
} |
MANILA (Reuters) - Philippine security forces on Saturday killed a foreign national and his female companion who were suspected of being connected to a militant group supporting Islamic State, police officials said, two days after the group’s leader was also killed.
The foreigner, believed to be Pakistani and identified as Abu Naila, resisted arrest and attempted to throw a grenade while a police and military team was conducting a manhunt in Sarangani province, Chief Superintendent Cedrick Train, a police regional director, said.
They were conducting an operation against members of the militant Ansar Al-Khilafah Philippines (AKP), one of a handful of small groups that have pledged allegiance to Islamic State and blamed for years of unrest in the Philippine south.
On Thursday, police chief Ronald dela Rosa said security forces had effectively broken the backbone of AKP with the killing of its leader, Mohammad Jaafar Maguid, and the arrest of his three AKP colleagues.
He has warned of “retaliation” by other AKP members and said security forces were on full alert as Filipino Catholics are set to celebrate the feast of the Black Nazarene, with millions of devotees expected to join processions on Monday in several parts of the country, including Manila.
Authorities have linked Maguid’s group to several crimes ranging from arson and murder to bombings.
Regional police spokesman Romeo Galgo said they were still verifying the nationality of the foreigner killed on Saturday.
“Officers were forced to fire at the suspects when the grenade was lobbed at them,” Train said.
President Rodrigo Duterte has warned against Islamic State taking root in the southeast Asian country, saying it needed to avoid “contamination”. | {
"pile_set_name": "OpenWebText2"
} |
1. Field of the Invention
The present invention relates to particularly an optical coherence tomography apparatus including an interference optical system which is used in the medical field, an optical coherence tomography method, an ophthalmic apparatus, a method of controlling the ophthalmic apparatus, and a storage medium.
2. Description of the Related Art
Currently, various types of ophthalmic apparatuses using optical devices are used. Such apparatuses include, for example, an anterior ocular segment imaging apparatus, a fundus camera, and a scanning laser ophthalmoscope (SLO). Among them all, an optical coherence tomography (OCT) apparatus (to be referred to as an “OCT apparatus” hereinafter) is an apparatus capable of obtaining a high-resolution tomogram of an object to be examined. This OCT apparatus has been becoming an indispensable apparatus for dedicated retinal outpatient clinics.
For example, the OCT apparatus disclosed in Japanese Patent Laid-Open No. 11-325849 uses low-coherent light as a light source. Light from the light source is split into measurement light and reference light through a splitting optical path such as a beam splitter. Measurement light is light to irradiate an object to be examined such as the eye through a measurement light path. Return light of this light is guided to a detection position through a detection light path. Note that return light is reflected light or scattered light containing information associated with an interface relative to the irradiation direction of light on the object. On the other hand, reference light is light to be guided to the detection position through a reference light path by being reflected by a reference mirror or the like. It is possible to obtain a tomogram of an object to be examined by causing interference between this return light and reference light, collectively acquiring wavelength spectra by using a spectrometer or the like, and performing Fourier transform of the acquired spectra. An OCT apparatus which collectively measures wavelength spectra is generally called a spectral domain OCT apparatus (SD-OCT apparatus).
In an SD-OCT apparatus, a measurement depth Lmax is represented, as an optical distance Lmax, by a pixel count N of the image sensor of a spectrometer and a spectrum width ΔK of the frequency detected by the spectrometer according to equation (1). Note that the spectrum width ΔK is represented by a maximum wavelength λmax and a minimum wavelength λmin. The pixel count N is often an even number, and is generally the factorial of 2, that is 1024 or 2048.
L max = ± N 4 Δ K Δ K = 1 λ min - 1 λ max } ( 1 )
If, for example, a central wavelength of 840 nm, a band of 50 nm, and a pixel count of 1024 are set, λmax=840+50/2=840+25=865 nm, λmin=840−50/2=840−25=815 nm, and N=1024. In this case, optical distance Lmax=3.6 mm. That is, it is possible to perform measurement up to about 3.6 mm on the plus side relative to the coherence gate. The coherence gate is the point at which a reference light path coincides with an optical distance in a measurement light path. When a desired region (a distance in the depth direction) is sufficiently smaller than 3.6 mm (for example, 1 mm or less), the measurement depth can be reduced by decreasing the pixel count of the spectrometer. Decreasing the pixel count is important in order to speed up processing and reduce the data amount. This is because, when measuring a three-dimensional image of the retina, it takes much measurement time and produces a large amount of data. When an object to be examined is a moving object like the eye, in particular, it is required to further shorten the measurement time.
On the other hand, changing the pixel count of a spectrometer is equivalent to changing the resolution of the spectrometer. A problem in this case will be described with reference to FIG. 1. FIG. 1 is a graph obtained by plotting, for each spectrometer resolution, the light intensity measurement results obtained when the position of the coherence gate is moved while a mirror is located at the position of an object to be examined. The ordinate corresponds to the light intensity, and the abscissa to the distance. With an increase in distance from the coherence gate, light intensity attenuation called Roll-Off occurs. The degree of attenuation of a light intensity Int mainly depends on the resolution of a spectrometer and the pixel count of an image sensor. Letting x be a distance variable and a be a coefficient proportional to the resolution of the spectrometer, the degree of attenuation is proportional to a sinc function given by
Int ∝ sin 2 π x α π x ( 2 )
As is obvious from FIG. 1, as a value indicating a resolution increases (from 0.1 nm to 0.2 nm, 0.5 nm, and 1.0 nm), the cycle in which plotted points approach zero is shortened. As described above, images formed from spectrum data from spectrometers having different resolutions differ in light intensity in the depth direction. Differences in light intensity are differences in image contrast. This makes images in the same region look different. That is, with spectrometers having different resolutions, obtained images look different.
In consideration of the above problems, the present invention provides a technique of correcting the contrast differences between images which are caused when wavelength resolutions differ (spectrometers differ in resolution in the case of an SD-OCT) in an FD-OCT apparatus such as an SD-OCT apparatus. | {
"pile_set_name": "USPTO Backgrounds"
} |
Sen. Bernie Sanders (I-VT) regained his previously held second place position, according to an Economist/YouGov poll released Wednesday, amplifying the ongoing battle between the Vermont senator and Sen. Elizabeth Warren (D-MA), who remain neck and neck.
Economist/YouGov surveyed 1,500 U.S. citizens (1,111 of whom are registered voters) August 17–20 and asked Democrat primary voters, “If the Democratic presidential primary or caucus in your state were held today, who would you vote for?”
Of the Democrat primary voters surveyed, 22 percent chose Joe Biden (D), with Sanders falling just three points behind with 19 percent support. Warren fell to third place with 17 percent support, a significant contrast from last week’s poll, which showed the Massachusetts senator in a statistical tie for first place with Biden:
National Democratic Primary: Biden 21 (-1 in a week)
Warren 20 (+4)
Sanders 16 (+3)
Harris 8 (-)
O'Rourke 5 (+3)
Buttigieg 5 (-3)
Booker 2 (+1)
Gabbard 2 (-1)
Bennet 1
Castro 1
Gillibrand 1
Klobuchar 1
Steyer 1
Williamson 1
Yang 1@TheEconomist /@YouGov https://t.co/WbnJkHHkG7 — Political Polls (@PpollingNumbers) August 14, 2019
This week’s poll showed Sen. Kamala Harris (D-CA) in fourth place with eight percent support, followed by Mayor Pete Buttigieg (D) and Beto O’Rourke (D) with seven percent and three percent, respectively. The remaining candidates garnered two percent support or less. Twelve percent of voters said they are “not sure” who they will vote for. The poll’s margin of error is+/- 2.6 percent when adjusted for weighting and +/- 3 percent for registered voters.
More good news comes for Sanders in terms of the perception of his electability. While most Democrats – 65 percent – view Biden as the most electable candidate, Sanders saw a bump from last week’s poll, jumping from 52 percent to 59 percent. Warren maintained her status, with 57 percent of respondents saying she could “probably beat” President Trump.
This poll echoes the Morning Consult poll released Monday, showing Sanders in second place with 20 percent support.
As Breitbart News reported:
A Morning Consult poll – stemming from interviews with 17,115 Democrat-leaning registered voters August 12–18 – shows Sanders reclaiming his previously held second place position with 20 percent support. While he is still 11 points behind Biden, who has 31 percent support, the Vermont senator is still five points ahead of his closest challenger Warren, who garnered 15 percent support. The survey affirms the storyline of Sen. Kamala Harris’s (D-CA) freefall from the first tier, garnering nine percent support. She is followed by Mayor Pete Buttigieg (D) who has five percent support, and Sen. Cory Booker (D-NJ), Beto O’Rourke (D), and Andrew Yang (D), who all received three percent support. The remaining candidates garnered one percent support or less. The margin of error is +/- one percent.
The current Real Clear Politics average shows Biden in first place with 28.8 percent support, followed by Sanders in second place with 16 percent support, and Warren in third with 15.4 percent support. | {
"pile_set_name": "OpenWebText2"
} |
Q:
Is it ok to ask questions on Stack Overflow to improve my coding skills?
I have some questions I want to ask to other (experienced) programmers on Stack Overflow.
The goal of those questions is gaining knowledge to become a better programmer.
I think it's a great idea to ask an experienced programmer I know to take a look at my code. But mostly experienced programmers don't have time for this.
So can I ask such questions on Stack Overflow?
A:
So can I ask such questions on Stack Overflow?
No.
This is
opinion based
not about a specific programming problem
too broad
Regarding improvement of working code you may ask at Code Review, instead.
For questions about "creating, delivering, and maintaining software responsibly", you can ask them at Software Engineering Stack Exchange (previously named "Programmers Stack Exchange").
A:
Such questions are not strictly disallowed here (I think), they are asked and answered from time to time, if they ask about a very specific part of some code. When it's just a huge code dump, asking how to improve it, your question will quickly gather downvotes and close votes.
There is a site specifically created for this, however: Code Review Stack Exchange
Take a look at What topics can I ask about here? for details on the kind of questions you can ask on Code Review. Below is a summary, taken from that page:
I'm confused! What questions are on-topic for this site?
Simply ask yourself the following questions. To be on-topic the answer
must be "yes" to all questions:
Is code included directly in my question? (See Make sure you include your code in your question below.)
Am I an owner or maintainer of the code?
Is it actual code from a project rather than pseudo-code or example code?
Do I want the code to be good code? (i.e. not code-golfing, obfuscation, or similar)
To the best of my knowledge, does the code work as intended?
Do I want feedback about any or all facets of the code?
If you answered "yes" to all the above questions, your question is
on-topic for Code Review.
A:
Although you shouldn't just ask on Stack Overflow to have your code looked at, you can use Stack Overflow to improve your coding skills. I do it all the time, by answering questions (or just by trying to), about things that I don't quite know how to do but would like to. It's a great way to find out about language features, techniques and technologies you didn't know about.
A surprising number of questions (or perhaps it's not at all surprising) can be answered with a bit of googling, persistence and experimentation. And if I get it wrong, a swift handful of downvotes will set me straight. :-)
| {
"pile_set_name": "StackExchange"
} |
cask "font-cormorant-sc" do
version :latest
sha256 :no_check
# github.com/google/fonts/ was verified as official when first introduced to the cask
url "https://github.com/google/fonts/trunk/ofl/cormorantsc",
using: :svn,
trust_cert: true
name "Cormorant SC"
homepage "https://fonts.google.com/specimen/Cormorant+SC"
font "CormorantSC-Bold.ttf"
font "CormorantSC-Light.ttf"
font "CormorantSC-Medium.ttf"
font "CormorantSC-Regular.ttf"
font "CormorantSC-SemiBold.ttf"
end
| {
"pile_set_name": "Github"
} |
Molly Henderson
Molly Henderson (born September 14, 1953) is a former Commissioner of Lancaster County, Pennsylvania.
The Commissioners are the chief executive and legislative officials of the County, which has 500,000 residents spread over and an annual County budget of $300 million.
Henderson was elected in 2003 to a four-year term
and was the lone Democrat on the Board of Commissioners in a County where Republicans outnumber Democrats two to one.
Henderson was previously Head of Public Health for the City of Lancaster, Pennsylvania, the County seat.
Henderson was not re-elected as Lancaster County Commissioner on November 7, 2007. Henderson was succeeded by Craig Lehman as the minority Commissioner.
Other careers
She is a former high school and college teacher, holding a doctorate degree from Temple University, a master's degree from West Chester University and her B.S. from James Madison University. Henderson is also a Respiratory Therapist and worked at Lancaster General Hospital prior to her teaching and government careers.
Henderson’s book Pressed: Public Money, Private Profit - A Cautionary Tale tells the story of the development, building, and financing of the Lancaster County Convention Center and Marriott Hotel in downtown Lancaster. The highly controversial “convention center project,” as it was known to those in Lancaster County (pop. 510,000), was originally proposed in 1999 as a $75 million “public-private” partnership. The project included a publicly-owned convention center ($30 million) and a privately-owned hotel ($45 million). By the time the convention center and hotel opened in 2009, the project’s cost had ballooned to more than $170 million, with more than 90% of the total cost of both the convention center and hotel borne by Pennsylvania taxpayers.
Political views
Henderson is a notable opponent of the Lancaster County Convention Center Authority's controversial $170 million hotel/convention center in downtown Lancaster on the site of the former Watt & Shand building.
The project's supporters believe it would promote the revitalization of the city's center. Its opponents, however, feel it poses an unacceptable risk to taxpayers.
The hotel portion of the project is owned 50% by Lancaster Newspapers, Inc. which have been accused of using their monopoly print position in the County to promote the project and stifle opposition. Henderson has been referenced in more than 2,200 newspaper articles, over 700 of which concern the Lancaster County Convention Center project, many of them attacking her position.
Personal life
Henderson is married to Alex Henderson and has two children, Alexander "Ander" Henderson and Leslie Henderson.
See also
Lancaster County
Lancaster City
Lancaster Newspapers
References
External links
Official Lancaster County Site
Campaign Site
Category:1953 births
Category:Living people
Category:County commissioners in Pennsylvania
Category:Temple University alumni
Category:Politicians from Lancaster, Pennsylvania
Category:People from Cumberland, Maryland
Category:West Chester University alumni
Category:James Madison University alumni
Category:Women in Pennsylvania politics
Category:Pennsylvania Democrats | {
"pile_set_name": "Wikipedia (en)"
} |