text stringlengths 16 69.9k |
|---|
Q:
weird bug with xfce4: menu panel font very small
I am using debian wheezy with xfce4. With some applications I am experiencing a weird phenomena: The menu panel sometimes has a very tiny font (see Picture). This doesn't happen every time and only with some applications. I noticed it with git gui and ocular. Why is this happening and what can I do about it?
A:
I think I found the solution on my own - maybe it will be useful for somebody: I played around with the "Appearance" in the "Settings" menu. In the "fonts" tab there is a "Use custom DPI value" checkbox. Checking this sets the fontsize to the preferred value.
(I hope I translated the menu options correctly from my german menu)
|
The programmer actually has two methods for
executing a SQL statement within PL/SQL, the embedded method which we
have been using throughout the book, and implementing dynamic SQL.
There are many times when a SQL statement needs to be built and
executed dynamically. When using SQL*Plus creating and executing
dynamic SQL is a fairly simple task; create a script that generates
the SQL, and then run the script. The script below will create the
commands to truncate all the tables in the PUBS schema.
Notice that you still need to execute a commit to
make the changes permanent. The ROLLBACK statement
in the above example returns the deleted rows to the tables.
The EXECUTE IMMEDIATE clause
allows the application to build different SQL statements based on
user input or application errors. It also allows the developer to
dynamically tune the application. A report may require a set of
indexes to operate efficiently; however, these indexes may harm
database performance if left in the database all the time. Using
dynamic SQL, the application can build the indexes, run the report,
and then delete the indexes upon completion.
Dynamic SQL is easy to implement and very
powerful. When creating database objects, such as shown in the
example above, be careful that the cost of creating the object is not
greater than the cost of running the report without the object.
There is one significant issue with using dynamic
SQL. A dynamical SQL statement submitted to the database using
EXECUTE IMMEDIATE does not use bind variables. SQL statements in
PL/SQL blocks automatically use bind variables, but dynamic SQL
cannot. Bind variables allow the database to reuse stored execution
plans. Never use dynamic SQL when a normal SQL statement will work.
If you want the details of how the database used bind variables, look
through any Oracle database tuning book, they will cover it in detail. |
Rapid responses to aldosterone in the kidney and colon.
Aldosterone is a crucial modulator of ion transport across high resistance epithelia and regulates whole body electrolyte balance through its effects on the kidney and colon. The net consequence of aldosterone release is to promote salt conservation. The genomic mechanism of aldosterone action is relatively well characterized and the role of the classical mineralocorticoid receptor as a ligand-dependent transcription factor is well established. The rapid effects of aldosterone on target tissues are less well understood and there is still controversy over the identity of the aldosterone non-genomic receptor. Greater understanding of the physiological consequences of aldosterone's rapid responses in the kidney and colon has been achieved through the identification of definite and putative membrane targets and their signaling regulators. |
Trying Out Korean Skincare
I was kind enough to receive this Innisfree Skincare Set from a friend at Christmas. She was heading home back to Korea over the break and bought this back for me as a gift. Needless to say… I was thrilled. I had been wanting to try Korean skincare for ages! The problem I found with trying to order Korean skincare online is that the price tots up and it can usually get quite expensive compared to the prices in Korea. Also, there’s so much variety– it can be really hard to pick apart what is what. However, this set seemed to have all the essentials in a box – so I thought I’d share my initial thoughts in this post.
Firstly, let us just take a moment to admire the packaging. I mean, how perfect is this as a gift? You don’t even need to wrap it. It comes with a pretty green ribbon and bow already. The box is also really good quality and can be used in a D.I.Y. With a little decoration, it can be reused for holding little bits and bobs you might have lying around.
The set is described as:
‘Enriched with squeezed green tea from the pure Jeju island to deliver abundant moisture and nourishment deep into your skin’.
This seems perfect for me as I suffer from very dry skin at the moment and need all the moisture I can get. I was very excited at the weight of the box. It’s quite heavy so I automatically thought ‘Yay! It’s going to have so much in it!’ – and it didn’t disappoint. When I opened it, this is the glory that met my eyes:
Five products! Granted three of them are mini sizes, but five products! Upon closer inspection I realized that two of the smaller sizes are travel sizes of the larger bottles. So I was counting on the large ones to be really good… and so far, I’m honestly impressed. The set contains a large bottle of Green Tea Balancing Skin and Green Tea Balancing Lotion. These are both very light and should be applied one after the other on a clean face. The small bottles are travel versions of these two products and there is one small jar of Green Tea Cream.
As you might probably expect, the cream is richer and provides a more intensive moisture, thus acting more as an overnight mask. The skin and lotion are light and fresh with a beautiful scent, both of these are a pleasure to use before applying makeup and once I’ve cleansed my face for bed. My skin feels hydrated and glowy – I know it’s still to early to place a verdict but I am so excited to see the full results!
This experience has definitely made me want to branch out and try more Korean skincare items, perhaps a few makeup items as well. Have you tried any that you’d recommend? |
The application of siRNA technology to cancer biology discovery.
RNA interference (RNAi) is a naturally occurring cellular defense mechanism against viral infections and transposon invasion. Short double-stranded RNA molecules, so-called small-interfering (si)RNAs, bind their complementary mRNA leading to the mRNA's degradation. During the past few years, RNAi has become a valuable tool for transient as well as stable repression of gene expression rendering the time-consuming production of knockout animals superfluous. In this chapter the usability of the RNAi technology in cancer research will be described, focusing on the application of large-scale screens for identification of new components in cancer-relevant signal pathways (e.g., p53, RAS). The screens are especially helpful in the detection of potential anticancer drug targets or siRNAs with therapeutic potential. |
Citizens, their agents and health care rationing: an exploratory study using qualitative methods.
This paper considers the application of the theoretical notion of a principal-agent relationship to societal health care decision making. Current literature sheds little light upon whether a citizen-agent relationship exists in health care, with ambiguity about whether citizens want agents to make rationing decisions on their behalf, and if so, who these societal agents might be. A qualitative approach, using semi-structured interviews as the main instrument of data collection and analysis by constant comparison, was used to explore these issues with groups of both citizens and their potential agents. The findings of the research suggest that citizens vary considerably in the extent to which they want to be directly involved in making rationing decisions. Important influences on this issue appear to be knowledge and experience, objectivity and the potential distress that denying care may cause. Agents, in contrast, view citizens as needing agents to make decisions for them and suggest that it is primarily the health authority's role to act in this capacity. It is, however, apparent that the citizen-agent relationship in health care is both imperfect and complex, with final decisions resulting from the interaction between the utility functions of the various actors in the health care system. In practice a system of equivocation can be envisaged in which different groups collude as they attempt to avoid the disutility associated with denying care, with the consequence that the impact of decisions taken on an explicitly societal or citizen basis may be relatively small. |
Exclusive offer from Giveaway of the Day and MyPlayCity! No third-party advertising and browser add-ons!
If you are looking for the breathtaking adventures, just start the game Apothecarium World and dive into the eerie atmosphere of dark mansion and its suburbs. Here you are to try the role of the detective who is at all pains to find the lost items.
Welcome to the City Entrance, then go to the Near Estate, cross the Bridge, and visit the Planetarium with a dark history. Explore the Old Church Hospital, the Prison, and see what has happened there several centuries ago! If the strange things do not scare you, go to the Apotheca Curiosities Cabinet and find all the objects from the list there. |
Sondad railway station
Sondad Railway Station serves Soundad and surrounding villages in Bhandara District & Gondia district of Maharashtra, India.
References
Category:Gondia district
Category:Railway stations in Gondia district
Category:Nagpur SEC railway division |
By comparison, Trump not only absolved Arpaio of a recent criminal contempt conviction, but also spared him from a jail sentence he had yet to receive. Arpaio was scheduled to be sentenced in October and faced up to six months in jail. The U.S. Justice Department recommends waiting at least five years before pardoning a conviction. |
Human leukocyte antigen compatibility in a couple with idiopathic recurrent hydramnios.
Recurrent hydramnios of unknown cause is a very rare obstetric complication. Only three cases have been reported. We report a case of idiopathic recurrent hydramnios associated with human leukocyte antigen compatibility between the patient and her husband. |
EXAMPLE addl
HYPOTHESES:
POINT O U V D;
INTERSECTION-PP P D O U U O D;
INTERSECTION-PP Q D O V V O D;
ON-LINE A D P; ON-LINE B D Q;
LINE X U V;
LINE X A B;
LINE X P Q;
SHOW: NO.
|
[The nursing history research journey: experience sharing].
This paper introduces the authors' journeys into nursing history research and shares their experience with international nursing history academic exchanges. The first section of this paper summarizes a literature review and analysis of nursing history in Taiwan; the second section shares the authors' experiences participating in international nursing history academic exchanges, organizing the International Perspectives of Nursing History Conference along with relevant observations and comments. The authors hope that more scholars will engage in nursing history research in order to enrich the knowledge base and facilitate the further development of nursing history research in Taiwan. |
Video: Saturday Night Live Tackles Sex Scandals in College Sports
You have to hand it to the Saturday Night Live (SNL) guys in at least one regard: they are never afraid to tackle the hot-button issues in society, no matter how unsavory said issues are. In the most recent episode of SNL, the writers do their best to shine a “funny” light on the latest string of child molestation scandals to hit college athletics. |
Q:
Sequent calculus, how to prove double negation introduction and conjunction
I want to prove double negation introduction in sequent calculus using the most basic rule set.
That is what I want to prove: from the sequent $$\Gamma \rightarrow\Phi,$$
the sequent
$$\Gamma \rightarrow\neg\neg\Phi$$
is derivable.
How is this accomplished? It's seems much more difficult than in natural deduction. I think I may be able to prove the conjunction myself once I have this result.
A:
With $\lnot$ as primitive, we have to use $\text {L-} \lnot$ followed by : $\text {R-} \lnot$:
\begin{align}
{\cfrac{{\cfrac{\Gamma \to \Delta, A }{\lnot A, \Gamma \to \Delta} \text {L-} \lnot}}{\Gamma \to \Delta, \lnot \lnot A }\text {R-} \lnot}
\end{align}
With $\lnot A$ defined as $A \supset \bot$, we have to use $\text {L-} \supset$ followed by : $\text {R-} \supset$:
\begin{align}
{\cfrac{\cfrac{{\cfrac{\Gamma \to \Delta, A \quad \quad \bot, \Gamma \to \Delta }{A \supset \bot, \Gamma \to \Delta} \text {L-} \supset}}{A \supset \bot, \Gamma \to \Delta, \bot}\text {R-W}}{\Gamma \to \Delta, (A \supset \bot) \supset \bot }\text {R-} \supset}
\end{align}
Note : the top-right sequent is:
\begin{align}
{\cfrac{ }{\bot, \Gamma \to \Delta} \text {L-} \bot}
\end{align}
|
On the one hand, PlanOut is straightforward and should be easy to reason about: the language does not permit user-defined functions and none of the operators use loops or recursion. Experiments are designed to provide apples-to-apples comparisons between
two or more equivalent treatment groups, yet PlanOut programs are able to assign individuals to treatment groups using any number of users characteristics or
complex logic. To analyze such experiments, one therefore needs to be able to
determine what kinds of contrasts between the variables which define a treatment
(the experimental contrasts), and the propensity to receive a treatment (the propensity scores).
What makes reasoning about PlanOut scripts tricky is that free variables may sit around unevaluated: we may have some expression such that there is no way to simplify it down to a base value without further information from the system. This post describes how the analyzer interprets expressions in the presence of unknown values.
Boolean Expressions
Boolean expressions are fairly easy to reason about because of the relationship between truth values and boolean operators. When boolean literals take on truth values, we are guaranteed to be able to simplify their expressions because each truth value either absorbs or dominates the connective. For example, we know that in the expression , if evaluates down to false, then the truth value of the expression is completely determined by the truth value of ; in this case, false is the absorbing value for disjunction. Conversely, if evaluates down to true, then the whole expression evaluates down to true, since true is the dominating value for disjunction.
Evaluation for truth values is trivial:
If a variable has a value in the context, then we just look up the value. However, if it does not have a value, then the variable is external. We annotate the variable with + to denote that its value is unknown statically.
The unary not operator behaves as expected:
Wolog, if the first variable in a disjunction evaluates down to true, then the whole expression is true. If the first variable evaluates down to false, then the second variable fully determines the value of the expression.
The rules for conjunction are similar. We can apply deMorgan’s laws to evaluate as much of the expression as possible:
Arithmetic Expressions
Arithmetic expressions operate similarly, but the analogue of disjunction is summation (subtraction) and the analogue of conjunction is multiplication (division).
We flatten the parse tree by distributing the operations so that becomes .
The commutativity of addition allows us to rearrange the expression and evaluate down the expression down to two components – the first part is a number, and the second is a set of terms (summands) that are a series of products, each of which have at least one external term. |
Screen Name
The email address/password you submitted is wrong or could not be found. Please try again. If you are not a member of the FIFA.com Club, please register first.
The email address/password you submitted is wrong or could not be found. Please try again. If you are not a member of the FIFA.com Club, please register first.
This Facebook account is already present
Your Club account has been locked due to a breach of our Terms of Service. Please set up a new account in line with the Club rules. Review the Club Rules. Alternatively, you can email us by completing our contact form.
Please enter a valid email address
The email address/password you submitted is wrong or could not be found. Please try again. If you are not a member of the FIFA.com Club, please register first.
Gordon blow for Burley
Craig Gordon was today left out of the Scotland squad for next week's crucial FIFA World Cup™ qualifier in Norway. The Sunderland number one has struggled to recover from a knee injury after undergoing season-ending surgery at the start of May. Gordon is a huge loss for manager George Burley, with Rangers goalkeeper Allan McGregor's Scotland career over following his part in the 'Boozegate' saga.
Gordon's absence leaves Burley with three inexperienced goalkeepers at this level in Neil Alexander, David Marshall and Jamie Langfield. As expected, the talismanic James McFadden returns to the squad for the first time since November, while there are also recalls for Celtic midfielder Shaun Maloney, Burnley defender Steven Caldwell, Preston full-back Callum Davidson and Rangers striker Steven Naismith.
Celtic midfielder Scott Brown is included, despite only recently returning from injury, but there is no place for veteran Rangers defender David Weir, Cardiff midfielder Gavin Rae or Derby's Gary Teale.
Manager George Burley is in doubt of Gordon's value to his side. "Craig is a top internaal keeper. "We tried to give it as long as possible. I spoke to (Sunderland manager) Steve Bruce yesterday and Craig.
"Barring a miracle, he's not going to be available. Hopefully, in a couple of weeks' time, he should be fit to play."
With five caps between them, there is no obvious contender among the three keepers to replace Gordon. Burley said: "We'll assess it like any other squad. We'll look at it in training. We've got three goalkeepers who are desperate to play."
The Scotland boss revealed he would also keep a close eye on Brown's fitness before deciding whether to play the midfielder. Burley said: "He had an operation in pre-season, got back to fitness again. With Scott, it's one day at a time. There's no doubt a fully fit Scott Brown is something Scotland need." |
Q:
Using Code <> As Actual Text
Really having trouble with this and can't find any results on it.
I want my html text to utilize the carrots <> for some of my text.
Specifically for a navbar menu item. But I can't seem to build it without activating the text as an actual div.
I want it to say "< Dev>" without using quotes or spaces, but it when I take the quotes/spaces away it activates it as a div. How do I keep the entire message "< Dev>" without turning it into a div item?
E.g:
<p> Welcome to my <Dev> portfolio</p>
Also what is the term used to override reserved code functions as text? Will help me research answers for other issues too. Like when using & as text and not as code.
Thanks for the assistance!
A:
You'll want to use <p> Welcome to my <Dev> portfolio</p>
You can find a list of HTML character codes Here
|
Third, with honorable exceptions, I wish to distance myself from a Republican Party establishment that made its peace with Trump to the point that it unfairly repressed elements at the national convention in Cleveland that still tried to resist his nomination. Yes, politicians and donors must focus on immediate issues (Supreme Court justice appointments) but party leaders like GOP committee chairman Reince Priebus, House Speaker Paul Ryan, and Senate Majority Leader Mitch McConnell wrongly acquiesced to Trump. As columnist Michael Gerson wryly notes, Trump "attacked the Republican establishment as low-energy, cowering weaklings. Now Republican leaders are lining up to surrender to him - like low-energy, cowering weaklings." |
Free cycling maps
Gavers route
Cycle route along wide, paved paths. Ideal for families or people who want to ride in comfort. Also suitable for people with disabilities. Make your way along the Dender and Idegem Sas in the direction of the designated quiet area Dender-Mark and make sure you try a Geraardsbergse mattentaart.
Distance: 16KStarting point: The Gavers Provincial Estate
Price: Free
Popular café crawl
The finest Tour spots of director Nic Baltazar from Geraardsbergen. Cycle from Manneken Pis along the Oudenberg to the Viane spring.
Distance: 38K Starting point: Geraardsbergen market square
Price: Free
Bidon route
Cycling trip through the Flemish Ardennes with enough cycling cafés to quench your thirst on the way. |
How to keep and rear exotic pet beetles such as stag or rhino beetles. Updated list of live beetles for sale or exchange. If you would like to receive an updated sale list by email, please email "Subscribe" to beetlesaspets@gmail.com
Facebook Badge
About Me
Hi, my blog is about my recent hobby, beetle breeding.
I will be posting news about my beetle breeding progress. I also will be posting useful beetle breeding tips.
I will be updating a list of beetles which are currently available for sale or exchange. |
We are engaged in studying the hormonal and nonhormonal factors involved in the maternal behavior of the rat. Currently our research is focussing on interactions between estrogen and progesterone in the onset of maternal behavior, stimulus factors involved in the onset of maternal behavior, including olfactory and other stimuli from the pups, maternal cannibalism and its suppression by hormones, hormonal action on brain sites involved in maternal behavior, the role of oxytocin in estrogen-primed females and, in the near future, themoregulatory factors in maternal behavior and their control by hormones. We are searching for parallels in the action of estrogen in stimulating maternal behavior and its uptake in selected brain regions, the facilitating role of progesterone on estrogen behavioral effects and possible action on estrogen receptors in the brain. We are also engaged in preliminary studies on the hormonal basis of maternal behavior in hamsters and cats. |
A place to share my thoughts from an atheistic worldview
Menu
This is Not the Way to Protest
One of the things I really like about the greater atheist community is it’s non-violent approach to social change. The Oatmeal wrote a comic about it awhile ago that still makes me chuckle.
(click to enlarge)
As much as Richard Dawkins may be insulting and condescending to religious sensitivities, the fact is that all he does is write and talk. He publishes books and gives lectures. He’s never threatened anybody physically, or tried to coerce anybody. He just uses words.
The vast majority of the atheist community thinks similarly. Stories of actual violence committed by atheists are incredibly rare. And even in those cases, the atheist community is quick to condemn the action, or even lend a hand or healing.
There’s a lot of similarities, I think with the feminist community as well. Though the occasional idiot might want to accuse them of witchcraft and infanticide, most people know feminists are generally a vociferous, yet peaceful crowd.
That’s why I was horrified when I read this story about a feminist protest in Argentina that erupted into mob violence and vandalism. Women attending the National Women’s Encounter, an annual event sponsored by the Department of Culture started vandalizing the city with pro-abortion graffiti. They then turned their attention to a local Catholic church, but were faced by a group of men who locked arms to prohibit them from advancing on the building. The women, many of them topless, started yelling and spitting at the Catholics before them. Video shows the women spray painting on the men’s clothing (including on their crotches) as well as writing on their faces with markers while simulating sexual acts in front of them. None of the the Catholics lashed out or responded in any way besides with prayer.
The video of this is NSFW, and incredibly frightening to watch. I couldn’t get through half of it before I had to turn it off with disgust.
What these women did is despicable, and the outcry from both the atheist and the feminist communities should be strong and immediate. I understand these women’s anger at the Catholic Church; some of the Church’s actions have been downright reprehensible. I believe the Vatican is one of the greatest forces blocking equality in women’s rights in the world.
However, there is a distinction between the church and it’s adherents. These women in Argentina physically, mentally, and sexually assaulted a group of people who were peacefully standing in their way. This sort of attack does the exact opposite of what these women want. They won’t gain acceptance of their ideas by threatening innocent bystanders or vandalizing a city, but instead they bolster the view that pro-life activists are violent and unreasonable.
The regrettably predictable blow-back by both pro-life proponents and anti-feminist circles began almost immediately. Callow MRAs are jumping on this story throwing around their favorite childish buzzwords like “harpie” and “femi-nazi”. Catholic apologists, on the other hand are calling the riot Satan’s work and claiming it’s an example of church persecution.
This is one of the important reasons never to turn to violence to spread ideas. You will always give your critics the very ammunition to tear you down. It’s been said by many people before me, but the atheist community has a lot to learn from the LGBTQ movement. Gay rights activists never once gave their opponents the opportunity to paint them as violent. And though the occasional moron will accuse them of it anyway, anybody with half a brain will know better.
The feminist and pro-choice movements took a hard hit last month thanks to this riot. Thankfully, I think both movements are strong enough and established enough not to face lasting damage. The atheist movement, however, might not be so lucky. We must be vigilant among ourselves so that we never live up to the lies the religious always accuse us of. |
The Nintendo World Championships are happening as we speak, and during the event Nintendo has just shown off a brand new 3DS game by the name of Blast Ball.
It's a future sports title where players step into giant mechs and shoot a ball towards the other team's goal. The neat touch here is that upon scoring a point, the goal shrinks in size - making it harder to score again.
The title has a chunky, futuristic look about it and reminds us a little of Metroid, if we're honest. We don't know much else about it - could this be an eShop release or is it merely a mini-game taken from another title?
We'll no doubt find out more during the Nintendo Digital Event on Tuesday, but in the meantime, let us know what you think of Blast Ball by posting a comment below. |
Q:
C++ offers std::sort, but does it also offer something to search efficiently?
I have a vector of objects which implement operator< and operator==. C++ offers std::sort to sort that vector efficiently.
Is there also a function in std to efficiently search a vector repeatedly?
I will have many searches on that sorted vector, so std::find does not seem to be a good option, since it just walks through the iterator until it finds a match.
A:
Of course, there are.
For example, have a look at lower_bound and upper_bound functions.
Also binary_search may be useful.
All these functions work on the sorted input and have logarithmic complexity.
|
We barely have snow in Iowa this winter, but we do have some creative farmers.One farmer just outside of Boxholm took "build a bear" to the next level in Boone County.It's a bear playing a drum, cleverly built from round bales.
We barely have snow in Iowa this winter, but we do have some creative farmers.
One farmer just outside of Boxholm took "build a bear" to the next level in Boone County.
It's a bear playing a drum, cleverly built from round bales. |
The mountain-top Seattle Ridge Day Lodge has won awards as the best day lodge in ski country. Which means it also has damn good food. They serve everything from rotisserie chickens to mesquite-grilled entrees to wood-fired pizzas. |
How Much does a Furnace Cost?
There are many different types of furnaces. Some are big enough to heat a whole house while some are small enough to heat a room. The cost of a furnace is going to depend on what type you get, and the size of the furnace |
As an example of a process requiring an aqueous liquid-gas contact apparatus, the Wellman-Lord process of sulfur dioxide removal from stack gases employs an aqueous alkali sulfite solution (usually sodium sulfite) which chemically combines with the sulfur dioxide gas in an absorption tower by forming sodium bisulfite. The process includes a separate regeneration facility to convert the bisulfite back to sulfite and recover sulfur dioxide gas which is compressed and bottled or converted sulfuric acid or to elemental sulfur. In the case of flue gases from coal fired plants, a separate unit for removal of fly ash and chlorides is included.
Because of large capital costs and high energy requirements to overcome the pressure drop in the absorber, in the regenerable Wellman-Lord process, non-regenerable flue gas desulfurization processes have been the more popular choice in the past, in spite of the major problem of disposal of solid waste produced by such processes.
The present invention is an improvement in absorption apparatus and its operation and in particular the process of the invention relates to the absorber of the Wellman-Lord process whereby capital costs and parasitic power requirements are reduced so as to make the regenerable process more economic and thus avoid the solid waste problem of the non-regenerable processes. |
We love dogs. We love cats. We love animals. We want to pamper them, cherish them and keep them happy.
Being pet parents ourselves, we know how important your furry four-legged baby is. At The Pawsh we endeavour everyday to ensure that the animals we meet are showered with lots of attention, love and care.
Because we really do love them all! |
package com.hencoder.a14_touch;
import android.os.Bundle;
import android.view.View;
import android.widget.Toast;
import androidx.appcompat.app.AppCompatActivity;
public class MainActivity extends AppCompatActivity {
View view;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
view = findViewById(R.id.view);
/*view.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Toast.makeText(MainActivity.this, "点击了", Toast.LENGTH_SHORT).show();
}
});*/
}
}
|
Q:
Why is Browserify not pulling in ngRoute
I am learning how to use Browserify with Angular. When I try to pull in ngRoute, I get this error, Error: $injector:modulerr Module Error. Here is my Browserify entry file.
require('angular');
require('angular-resource');
var DonationController = require('./donor/donation/donation.controller.js');
var DonationService = require('./donor/donation/donation.service.js');
var app = angular.module('myApp', ['ngRoute']);
app.controller('DonationController', ['$scope', 'DonationService', DonationController]);
app.factory('DonationService', ['$resource', DonationService]);
By adding ngRoute as a dependency, I get the above error. If I pull out ngRoute and the $resource dependencies, then everything builds. What else am I missing to get my Angular project to be able to use ngRoute? I have for sure installed angular-route with npm.
A:
Make sure you install
$ npm install --save angular-router-browserify
and then include ng-route
var angular = require('angular');
require('angular-router-browserify')(angular)
|
<?php
namespace App;
use App\Episode;
use App\User;
use App\Vote;
use Exception;
use Illuminate\Database\Eloquent\Model;
class Topic extends Model
{
const FLAG_SUGGESTED = 'suggested';
const FLAG_ACCEPTED = 'accepted';
const FLAG_DUPLICATE = 'duplicate';
const FLAG_REJECTED = 'rejected';
protected $fillable = [
'title',
'description'
];
protected $casts = [
'id' => 'integer',
'archived' => 'boolean'
];
protected $patchable = [
'title',
'status',
'archived'
];
public static function validStatuses()
{
return [
self::FLAG_SUGGESTED,
self::FLAG_ACCEPTED,
self::FLAG_DUPLICATE,
self::FLAG_REJECTED
];
}
public static function isValidStatus($status)
{
return in_array($status, self::validStatuses());
}
public function user()
{
return $this->belongsTo(User::class);
}
public function episode()
{
return $this->belongsTo(Episode::class);
}
public function votes()
{
return $this->hasMany(Vote::class);
}
public function comments()
{
return $this->hasMany(Comment::class)->orderBy('created_at', 'asc');
}
public function flagAccepted()
{
$this->status = self::FLAG_ACCEPTED;
$this->save();
}
public function flagDuplicate()
{
$this->status = self::FLAG_DUPLICATE;
$this->save();
}
public function flagRejected()
{
$this->status = self::FLAG_REJECTED;
$this->save();
}
public function scopeUnflagged($query)
{
return $query->where('status', null);
}
public function scopeActive($query)
{
return $query->where('archived', false);
}
public function patch($properties)
{
foreach ($properties as $key => $value) {
if (! in_array($key, $this->patchable)) {
throw new Exception("Cannot patch {$key}");
}
$this->$key = $value;
}
$this->save();
}
public static function boot()
{
parent::boot();
static::creating(function ($topic) {
if (! isset($topic->status)) {
$topic->status = self::FLAG_SUGGESTED;
}
});
}
}
|
Q:
class diagram viewer application for python3 source
Is there any application which can generate from python3 source something like the below link (i don't care about the representation rather the perfect content)
http://www.codeproject.com/KB/IP/Searcharoo_3/ClassDiagram.png
A:
Yes there is: with pylint comes pyreverse that will generate class diagrams (not as pretty as the one in reference I am afraid, but clear and useful.) There is a dependency with graphviz.
From command line:
To analyse a full or part of a package
$ pyreverse -o png -p <project name>
To analyse one specific file:
$ pyreverse -o png -p myproject \path\to\myproject\myfile.py
Example output: Class Diagram
Example output: Packages
|
Q:
What are the criteria for a system to follow quantum mechanics instead of classical mechanics?
What are the criteria for a system to be discrete instead of continuous. To have specific energy levels? Or more generally, to follow the laws of quantum mechanics?
I tried looking on internet but the only thing i found is that it needs to be a bound system. And when i say bound, it could be an electron bound to a nucleus but an electron between two walls could also be described as « bound » to the walls.
A:
Everything is quantum mechanical. The dynamics of any physical system will always follows the laws of quantum mechanics. It is only when you zoom out sufficiently far that the laws of quantum mechanics "turn into" the laws of classical mechanics. Classical physics, e.g. Newton's laws, are emergent phenomena in the macroscopic limit of quantum mechanics. One fundamental aspect of quantum mechanics is the "quantization" of certain observable quantities that classically (read macroscopically) we would expect to take values on a continuum. I use quotation marks because it is deeper than one might think classically.
So, maybe your question is, "When do the laws of classical mechanics fail to describe the system of interest, and thus necessitate the employment of the laws of quantum mechanics?" This happens when, roughly speaking, the de Broglie wavelength of the system becomes comparable to the length scale of the system in question. For example, if you are trying to describe the properties of an electron around an atomic nucleus, the de Broglie wavelength of the electron is approximately of the same order as the size as the "radius of its orbit", so you need quantum mechanics.
This is a rough answer to your question. Describing the classical limit of quantum mechanics is an interesting topic of discussion. A common avenue in this direction of historical importance, though by no means the only one, is the WKB approximation. To go deeper, there are the (related) topics of the precise phase-space formulation of quantum mechanics and geometric quantization.
|
Hōyo Strait
The is the strait at the narrowest part of the Bungo Channel in Japan.
Category:Straits of Japan
Category:Landforms of Ehime Prefecture
Category:Landforms of Ōita Prefecture |
The primary aim for this project is to assemble a microcomputer-controlled system for in vivo electrochemical measurements of catecholamine-related compounds in striatum. Initial experiments will be conducted to examine changes in electrochemical signals following behavioral and pharmacological manipulations known to influence striatal catecholamine activity. While the technology for this type of experiment already exists for rodents, the extension of electrochemical detection to primates constitutes a significant advance in the basic mental health sciences. It is of particular importance to validate and apply these procedures in monkeys for the following reasons: (i) The size of the monkey and the monkey striatum offer the possibility for more precise experimental description of the relationship between well-defined behavioral or motor patterns and topologically specific chemical activation than is possible in the motorically limited and small-brained rodent. (ii) Electrochemical detection is a potential means of obtaining larger quantities of behaviorally related data than can be gotten through use of techniques requiring immediate sacrific of the animals. (iii) The behavioral and chemical data obtained will be more relevant to human behavioral problems than data from rodents, because of the marked behavioral and neurophysiological similarities between monkey and humans. |
Best Gifts for Him
Flowers, chocolate and jewelry stores are featured preeminently as Valentine’s Day rolls around each year, but when you’ve found that special person in your life, these items can seem cliche. Give this day of love a fresh spin with these unique gift ideas that make the most of great local options and put the emphasis on time together. |
"Fifty years on, it is time to start putting the case for investment in learning from cradle to grave. A National Education Service would be every bit as vital and as free at the point of use as our NHS, and should be delivered by the end of the next Parliament. |
import _plotly_utils.basevalidators
class UsecolormapValidator(_plotly_utils.basevalidators.BooleanValidator):
def __init__(
self, plotly_name="usecolormap", parent_name="surface.contours.y", **kwargs
):
super(UsecolormapValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
edit_type=kwargs.pop("edit_type", "calc"),
role=kwargs.pop("role", "info"),
**kwargs
)
|
Democratic presidential candidate Bernie Sanders called the Iowa Democratic caucus an "embarrassment" and a "disgrace" after party officials were unable to release any votes at all, due to technical issues. |
Percutaneous coronary intervention in tortuous coronary arteries: associated complications and strategies to improve success.
Percutaneous intervention of tortuous coronary arteries can be challenging. We describe four cases that illustrate complications associated with coronary tortuosity (coronary dissection and stent loss) and strategies that can improve procedural success (such as use of soft delivery catheters, deep guide intubation, meticulous vessel preparation, and use of short, thin-strut stents). |
Stationary subspace analysis
Stationary Subspace Analysis (SSA) is a blind source separation algorithm which factorizes a multivariate time series into stationary and non-stationary components.
Introduction
In many settings, the measured time series contains contributions from various underlying sources that cannot be measured directly. For instance, in EEG analysis, the electrodes on the scalp record the activity of a large number of sources located inside the brain. These sources can be stationary or non-stationary, but they are not discernible in the electrode signals, which are a mixture of these sources. SSA allows the separation of the stationary from the non-stationary sources in an observed time series.
According to the SSA model, the observed multivariate time series is assumed to be generated as a linear superposition of stationary sources and non-stationary sources ,
where is an unknown but time-constant mixing matrix; and are the basis of the stationary and non-stationary subspace respectively.
Given samples from the time series , the aim of Stationary Subspace Analysis is to estimate the inverse mixing matrix separating the stationary from non-stationary sources in the mixture .
Identifiability of the solution
The true stationary sources are identifiable (up to a linear transformation) and the true non-stationary subspace is identifiable. The true non-stationary sources and the true stationary subspace cannot be identified, because arbitrary contributions from the stationary sources do not change the non-stationary nature of a non-stationary source
Applications and extensions
Stationary subspace analysis has been successfully applied to Brain-computer interfacing, computer vision and temporal segmentation. There are variants of the SSA problem that can be solved analytically in closed form, without numerical optimization.
See also
Blind signal separation (BSS)
Factor analysis
Independent component analysis
Cointegration
References
Category:Multivariate time series |
Antigenic relationships between plasma membrane ATPases of two different yeasts, Candida tropicalis and Schizosaccharomyces pombe.
Antibodies raised against purified plasma membrane ATPase from the yeast S. pombe inhibit the plasma membrane-bound ATPase of another yeast, C. tropicalis. The kinetic constants, Vm and Km, of the ATPases are both modified by the antibodies. These results show antigenic relationships between the plasma membrane ATPases belonging to the two yeast genera. |
“Heartbroken” Clinton Supporter Happens Upon Her in the Woods
What an amazing coincidence! This “heartbroken” Hillary suppporter, Margot Gerster, posted on her Facebook page about running into Bill and Hillary while walking in the woods.
As you know, I hate to fall prey to the corrosive cynicism that afflicts so many today, but when it comes to the Clintons, I don’t think one can discount the possibility that this photo might be–well, just sayin…–staged.
It reminds me of the infamous LA Times photo of Bill and Hillary dancing on the beach in their swimsuits right before we learned the whole sordid Monica Lewinsky story. Remember that cringe-inducing snapshot? God, how awkward that must have been to stage. This one less so, but still, it’s a tad too convenient, especially the part about her telling Hillary how proud she was to vote for her with her infant daughter in tow.
I note that the NBC News story that carried this photo says that the Facebook post has been taken down.
What say you? Am I being too cynical, or do you agree with me that, when it comes to the Clintons, we need to remember the words of Lily Tomlin, that every time we think we are being too cynical, we realize that we can’t keep up. |
I've tossed around several color themes in my head but nothing seems to work for me. I realized that I just really like all colors and would like to have them all in my wedding (mostly primary and secondary colors). I was wondering if anyone could give me any ideas for flowers and decorations and stuff, that are inexpensive and are not tacky. I'm also have my wedding in May; so even though I love bright colors, I don't want anything too intense.
I've seen some great wedding where the bridemaids and groomsmen are all in black, but they each have a different, brightly colour for their flowers shoes accesssories for the girls, and waistcost pocket hankerchiefs for the guys. They always look really striking to me.
well that kinda looks tacky to me, I was sort of asking more for flowers that go together, but I guess everyone has a different opinion about about what is and isn't tacky and about what flowers go together. I will still welcome any ideas though.
Joy, I'm not suggesting butterflies. What I am suggesting is choose ONE main color and have other colors fall in line behind it. So in this case, blue was the main color (although the dresses were ugly lol).
I think pretty much all flowers go together. Walk into the floral section at any store.. Trader Joes usually has premade bouquets of flowers. I love wildflowers and they very colorful and lgerber daisy come in soo many colors..
I've always liked the idea of a garden wedding, so I was actually just thinking of having all my bridesmaids it white or ivory and then having wildflowers. I'm just saying that butterflies would also go along with this theme.
Whoa, there are some incredible ideas here. We decided on going with a multi colored tropical theme after seeing an album our photographer showed us from her June 5t wedding. It totally changed my course of action. I will post photos soon! The wedding is Sunday!!
I had a "multi" color wedding. It was on the subdued side though. My party was in all black with the accessories popping. Each couple had a different color, the flowers of the girl matched the vest, tie and bout on the guy. Then my flowers were all the colors with white. It was so subtle and gorgeous in my eyes. Our reception had all the colors incorporated in the table clothes and decorations. Sorry these are the best ones on my computer. |
Some new developments have come to light in the story surrounding the creation of a possible Shaq Fu sequel. Mine O’Mine, the owners of Shaq.com, recently filed four new trademarks for the title that cover video games, computer software, video game characters, electronic action games, playing cards, and online games. This comes less than a month after similar trademarks were filed for something called Shaqfighter.
It’s unlikely that a company would submit such extensive trademarks unless they were planning to make a new game, but Mine O’Mine has yet to comment on the matter. For now, feel free to reflect on the fact that we may one day see a sequel to Shaq Fu.
Source: Siliconera |
Paul Farmer, Chief Executive of Mind and who sat on the panel that wrote the report, said:
“This is an important report that clearly sets out the changes that are needed to improve mental wellbeing. Wellbeing is not simply a subjective feeling of happiness but is about feeling good and functioning well in society, having positive relationships and social connections, good health and a sense of purpose and satisfaction. This report rightly acknowledges that responsibility for mental wellbeing goes way beyond the NHS – it is affected by and impacts on every aspect of our lives and a national strategy is needed to stem the flow of people becoming unwell.
“Successive governments have only scratched the surface when it comes to policy around wellbeing. With a general election on the horizon, we want whoever forms the next government to be ambitious in their approach and embed a focus on wellbeing and mental health across all departments so that positive words in this report lead to concrete actions and ensure that everyone with mental health problems gets the support and respect that they deserve.” |
Degree Level
Discipline
Rights
Metadata
Abstract
Businesses go to great lengths to create positive emotional experiences for their customers, often applying the same affective or emotional practices in communication with a culturally diverse customer base. This dissertation argues that culture-specific emotional norms and display rules shape consumers' responses to marketers' attempts to use positive emotions as a persuasion tool. Simply put, an emotional campaign that works in Boston may not work in Beijing. Through two essays, this dissertation investigates the cultural effect on consumers' affect valuation by focusing on two issues that have important managerial implications. Essay One examines the effectiveness of one ubiquitous marketing tactic--employees' (positive) affective display (EAD) in customer interactions. Departing from the prevailing view that "service with a smile" is always desirable, this research shows that the relative impacts of EAD dimensions (authenticity and frequency) on customer outcomes (positive mood, negative mood, interaction quality, and customer satisfaction) depend on the affective content associated with the service and customer/employee cultural group membership. Under certain circumstances, positive EADs may even boomerang. The identification of boundary conditions of EAD efficacy reconciles the conflicting findings in prior literature and provides more consistent practical guidelines. Essay Two investigates people's preferences and pursuit of different types of positive emotions--high arousal emotions (excitement, elation, and enthusiasm) and low arousal positive emotions (peacefulness, quiescence, and relaxation). Findings demonstrate that westerners and younger adults, compared to easterners and older adults, value HAP emotions more and LAP emotions less. Moreover, drawing on regulatory focus theory and primary/secondary control framework, this research sheds light on the motivational mechanisms underlying the cultural effect on people's emotion valuation. |
# Cosmos Guides
> Your personal library of every algorithm and data structure code that you will ever encounter
This folder contains style guides for various programming languages. To find one specific to the language you are looking for, open the file `lang_name/README.md`.
---
<p align="center">
A massive collaborative effort by <a href="https://github.com/OpenGenus/cosmos">OpenGenus Foundation</a>
</p>
---
|
I previously wrote a post about having a rendering variant holding an inline JavaScript one might need along adding some basic JS functionality into your components.
This is useful when you're early developing your pages and have no possibility or capacity of recompiling entire frontend and updating Creative Exchange package into your solution because of adding/changing few lines; however, given approach is not SEO-friendly as search engines penalize sites for excessive inline scripts and styles. So use it considering to be technical debt, that should be addressed prior to going to production.
The very minimal change one can do is to replace the inline script with a reference to that same script stored in Media Library - same that SXA does itself with themes. This blog post below кумуфдыthat approach:
Firstly, create a template:
Then reference given template IDs within <code>Constamts.cs</code> file:
This approach works perfectly well. But once again for a second, have you ever considered moving such scripts into a Theme along with related component (if any) instead of leaving it like that? Hope this helps! |
Q:
Is there a C++ Almanac?
some of you may know the Java Almanac : http://www.exampledepot.com/ where a lot of code snippets exist for a day-to-day use.(like reading a file etc.)
I'm currently using C++ and i was just curios if there exists something similar ?
A:
There are some good examples and tutorials on the Josuttis site.
The examples are from the The C++ Standard Library - A Tutorial and Reference book.
|
# Data-Driven Documents
**D3.js** is a JavaScript library for manipulating documents based on data. **D3** helps you bring data to life using HTML, SVG and CSS. D3’s emphasis on web standards gives you the full capabilities of modern browsers without tying yourself to a proprietary framework, combining powerful visualization components and a data-driven approach to DOM manipulation.
Want to learn more? [See the wiki.](https://github.com/mbostock/d3/wiki)
For examples, [see the gallery](https://github.com/mbostock/d3/wiki/Gallery) and [mbostock’s bl.ocks](http://bl.ocks.org/mbostock).
|
You stood before creationEternity in your handYou spoke the earth into motionMy soul now to standYou stood before my failureAnd carried the cross for my shameMy sin weighed upon your shouldersMy soul, now to stand
So what could I say?And what could I do?But offer this heart oh GodCompletely to you
So I'll walk upon salvationYour spirit alive in meThis life to declare your promiseMy soul now to stand
So what could I say?And what could I do?But offer this heart oh GodCompletely to you
I'll standWith arms high and heart abandonedIn awe of the one who gave it allI'll standMy soul longs to you surrender it allI am is yours |
Q:
WooCommerce: Date as attribute term
I'm relatively new to using WooCommerce so all advice would be great.
I've got a number of inclass training course products I'm trying to sell. Each have multiple date offerings.
Is there a way I can set the attribute term to a date value or do I have to manually add every possible date?
Is there another way to solve this problem, I am just ignorant off?
Thank you!
A:
When you add the products and while entering the product data in general tab you will see two fields REGULAR PRICE & SALE PRICE beside the SALE PRICE text box you will see the schedule click on it you will find the DATE fields from Date to Date variations in price you can set it from there. Here I set an Image
Here you will Find the date fields to set
|
Humans and Hummingbirds
Humans and Hummingbirds
Humans and Hummingbirds Index
Hummingbirds in Popular Culture
The Hummingbird is a very popular type of bird and one that people seem to adore. Therefore, it isn’t a surprise to find that they are found in many spectrums of popular culture. |
results
I have been keenly following the exploits of Kenya’s Rugby Sevens Squad over the last couple of years. In time, they have matured and become true ambassadors of Kenya’s growing sporting dominance. This weekend at the Emirates Dubai Rugby Sevens was no exception. Once again, Kenya’s Rugby Sevens team demonstrated |
include $(GOROOT)/src/Make.inc
TARG=goplan9.googlecode.com/hg/plan9
GOFILES=\
bit.go\
const.go\
dir.go\
fcall.go\
include $(GOROOT)/src/Make.pkg
|
'Sopranos' Take a Whack at New Blood
It looks like television critics previewing the fifth season of HBO's popular Mafia-family drama "The Sopranos" will have blood on their hands -- and on their TV screens.
The critically acclaimed drama starring James Gandolfini, Lorraine Bracco and Edie Falco pits Gandolfini's role as the head of two Soprano families -- his mob crew and his wife and children -- against one another. Season four drew some fire from viewers who complained that there was too much emphasis on Gandolfini's disintegrating marriage to his wife, played by Falco.
Some fans said they wanted to see more of the ruthless Mafiosi infighting that had characterized the show's earlier seasons. The new episodes apparently deliver -- at least that is the early indication after preview copies began making the rounds Tuesday.
The word is that tension on this season's episodes will be ratcheted up a bit over season four, with the introduction of several old-school characters, according to reports in the New York Post.
Among those reported to be introduced into the new season are Robert Loggia, Frank Vincent and Joe Santos, all of whom have years of big- and small-screen wise guy portrayals between them. The three play gangsters, recently released from prison, who are coming forward to reclaim their piece of the crime pie that Tony Soprano now controls.
Steve Buscemi, who has previously directed some "Sopranos" episodes, also joins the cast, playing Tony's cousin. |
Health minister Dr Aaron Motsoaledi suspects a syndicate is behind a series of criminal attacks on medical professionals and has reached out to police minister Bheki Cele to help catch those responsible.
Cele has just returned from an overseas trip, but has agreed to accompany the health minister to Limpopo on Friday, the national health department said.
Motsoaledi has expressed shock and outrage at Thursday’s attack on three doctors at Letaba Hospital in Limpopo. The doctors were shot when five heavily armed men burst into their residence at the hospital. One of the victims, a woman, was in a critical condition. The doctors are currently receiving treatment at the hospital.
In a statement, Motsoaledi denounced the attack on the health professionals.
“This barbaric attack on doctors should be condemned in the strongest terms possible. But more than that, the law-enforcement agencies should be mobilised to ensure that those behind the attacks are apprehended and brought to justice.
“We view the attack on our medical professionals as a declaration of war on the state and the citizens of the republic. We cannot treat this serious violation of the law as just another act of criminality.”
Motsoaledi said he had contacted Cele, who had just returned from a trip abroad. The two ministers would visit the hospital on Friday “to get first-hand information about what happened and what should be done to ensure swift reaction”.
The minister said that even during times of war, health professionals and health facilities were spared violence as both warring parties understood that health professionals were there to save lives and protect the vulnerable.
“Even during moments of war, health facilities are usually spared from attacks. Hence I am saying this act cannot be viewed as an ordinary act of criminality, but an attack on the state. We should act with speed and ensure that perpetrators are sent to jail,” said Motsoaledi.
Several incidents of robberies where doctors were targeted had been reported in the past in other hospitals in the province, the national health department said.
While Limpopo health officials had been working tirelessly with the police in the province to try to ensure the safety of health professionals in hospitals, the department said that “following the latest brazen attack, the matter had to be elevated to the national ministry of police, as it was becoming clearer that this is not just a common issue of criminality”.
In the latest incident at Letaba Hospital, the health department said it was alleged the gunmen easily overcame security guards at the facility. “The terrified guards apparently ran for cover.”
The minister said: “The turn of events makes us believe that this was a well-organised attack, possibly by a syndicate operating in the area and targeting our health facilities." |
import PropTypes from 'prop-types';
import React from 'react';
import Icon from 'Components/Icon';
import VirtualTableRowCell from 'Components/Table/Cells/TableRowCell';
import { icons } from 'Helpers/Props';
import { getMovieStatusDetails } from 'Movie/MovieStatus';
import translate from 'Utilities/String/translate';
import styles from './MovieStatusCell.css';
function MovieStatusCell(props) {
const {
className,
monitored,
status,
component: Component,
...otherProps
} = props;
const statusDetails = getMovieStatusDetails(status);
return (
<Component
className={className}
{...otherProps}
>
<Icon
className={styles.statusIcon}
name={monitored ? icons.MONITORED : icons.UNMONITORED}
title={monitored ? translate('MovieIsMonitored') : translate('MovieIsUnmonitored')}
/>
<Icon
className={styles.statusIcon}
name={statusDetails.icon}
title={`${statusDetails.title}: ${statusDetails.message}`}
/>
</Component>
);
}
MovieStatusCell.propTypes = {
className: PropTypes.string.isRequired,
monitored: PropTypes.bool.isRequired,
status: PropTypes.string.isRequired,
component: PropTypes.elementType
};
MovieStatusCell.defaultProps = {
className: styles.status,
component: VirtualTableRowCell
};
export default MovieStatusCell;
|
Most Emailed Articles
Is he boyfriend material?"I don't want to ask my friends that are guys cuz they are either big-brother
protective looking out for my best interests, secretly jealous (I think... I don't mean to be flattering), see him as a
follower, or don't like him as a person so can't understand why I do. I don't want to ask my friends that are girls cuz
they think he's not 'cool' enough for a boyfriend..."PARTYON37
Here's my problem. My friend
and some other people bugged my crush into asking me
out. He did ask me but it was for Friday night, a night when my
friend is having a party. I was going to ditch the party and go
skating with him but when I told my friend she spazzed and said she would hate me
if I chose going out with him over her party. Thinking I had found a good compromise I asked her if I
could bring him to her party as my date. I was shocked when she said "No way!" and let me know that
I had to choose between him and our friendship.
I want her as a friend more than I want to go out with this guy but I am a little put off by her ultimatum.
I don't want her to be mad at me every time I go out with a
guy instead of doing something with her and think that if I back down now it will set a bad trend.
What do I do?
A:
You are in a dilemma. Let me ask you this, and you should ask it of yourself
too, what kind of friend puts you in the position of having to choose before
there is a reason? I mean, you like this guy and presumably she knows that
so why would she make this so hard? Is she as good a friend as you are trying to be? Be honest in your answers.
That said, if you still are dedicated to this
friendship your solution is simple.
You tell this guy that you accepted an invitation to a friend's party before
he asked you out, and that you have to stand by your word. Then explain to him
that she can't expand her guest list to allow a date. Say you don't
understand why but that it is her party and you must respect her wishes. Then suggest an alternate date saying something
like, "Can we do it the next night? I really do want to go out with you but I
am just not the sort of person who jams out on my friends!" A guy will
respect your loyalty to your friends.
It is a little known fact that guys fear commitment because they fear
becoming everything to a girl. We can't take the pressure! If
he is at all serious about dating you and getting to know you, an "I promised
a gal pal I'd be at her shing-ding," isn't going to chase him away.
As to your friends "spazz"... could her refusal to let you bring him have been
an off the cuff reaction to your telling her that you wanted to go out with him
instead of going to her party? Are you sure she meant "No way!" or is it possible
that she was only saying this in the heat of the moment because you had hurt her feelings?
Is her ultimatum really final, or did it come from hurt feelings? If she was hurt and angry
it is possible that she would reconsider once she has calmed down. Ask her again closer to
the date of the party. If she reacts the same way as before you are no worse off, and if
she has calmed down you get the guy and the friendship.
You mention that he was teased in to asking you out. I don't like the way
that sounds. Is it possible that he asked you out knowing about your prior
commitment? Any chance this is a bad joke? Even more importantly, is there
any chance that your friend is in on the gag? If these things are even remotely
possible, you need to be on your guard with these people and you must re-evaluate
your "friendship" with this girl.
You say that you want her friendship more than you want him so the decision
is a simple one -- you go to her party. What you need to worry about is damage
control with the guy. If you follow the steps I outline, one of two things
will happen. You will end up with the friend and the date, or you will end
up with just the friend. Since you already decided that you wanted her
more, there isn't anything to lose by rescheduling the date, and there is lots to gain. |
Q:
Cascade operation in OneToOne Relationship which is confusing
I have two related objects:
User
/**
* @ORM\OneToOne(targetEntity="File", mappedBy="userProfileImage")
*/
protected $profileImage;
File
/**
* @ORM\OneToOne(targetEntity="User", inversedBy="profileImage")
* @ORM\JoinColumn(name="userProfileImage", referencedColumnName="id", onDelete="SET NULL")
*/
protected $userProfileImage;
and two related records in my database. I would like to remove the old File object and replace it with the new File. The problem is I can not remove the File object, because I have the following error:
A new entity was found through the relationship 'MyBundle\Entity\User#profileImage' that was not configured to cascade persist operations for entity: MyBundle\Entity\File@000000001604d7ad000000003cc76066. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(..,cascade={"persist"}). If you cannot find out which entity causes the problem implement 'MyBundle\Entity\File#__toString()' to get a clue.
In my opinion removing should work after calling:
$this->getDoctrine()-getManager()->remove( $user->getProfileImage() );
$this->getDoctrine()-getManager()->flush();
I tried to add cascade={"all"} and cascade={"persist", "remove"} to $profileImage annotation but without success. I need someone to explain me what I'm doing wrong and how I should do it.
A:
I found the solution:
To remove a related object, I shouldn't delete it directly:
$this->getDoctrine()-getManager()->remove( $file );
but through by user:
$userFile = $user->getProfileImage();
$this->getDoctrine()-getManager()->remove( $userFile );
$this->getDoctrine()-getManager()->remove( $file );
Moreover, it was necessary to call flush() before and after the code above:
$this->getDoctrine()-getManager()->flush();
$userFile = $user->getProfileImage();
$this->getDoctrine()-getManager()->remove( $userFile );
$this->getDoctrine()-getManager()->remove( $file );
$this->getDoctrine()-getManager()->flush();
I don't know why, but it works fine for me and maybe it will be usefull for someone else.
It doesn't change the fact, that it is a very ugly solution, so if someone knows how to improve this code, let me know! I will be grateful.
|
<?php
/**
* @package botqueue_form
* @var Form $form
*/
?>
<?php if ($form->hasError()): ?>
<?php echo Controller::byName('htmltemplate')->renderView('errorbar', array('message' => "There was an error with your form submission.")) ?>
<?php endif ?>
<form class="form-inline" method="<?php echo $form->method ?>" action="<?php echo $form->action ?>" enctype="multipart/form-data">
<?php echo $form->renderFields() ?>
<button type="submit" class="btn btn-primary"><?php echo $form->submitText ?></button>
</form> |
India’s Unfriendly Attitude Toward Israel Scrutunized in Washington
India’s attitude toward Israel was subjected to close scrutiny in diplomatic circles here this weekend as a result of a sharp pro-Arab speech delivered in Cairo recently by India’s former Defense Minister and United Nations representative, V. K. Krishna Menon. The Hindu leader told the Arabs that only “force” would bring them their desired “liberation of Palestine.” He spoke as the official representative of the Indian Government.
Linked with the Krishna Menon diatribe against Israel was a report from India that the Indian Friends of Israel Society and called off a farewell party for Israel’s departing Bombay consul, Peretz Gordon. The party was scheduled for tonight. Mr. Gordon had informed the society, composed of leading Indian intellectuals, that he would not be able to attend the party. However, there were indications that Mr. Gordon had bowed out of that party because Israel felt the Indian Government opposed the event out of fear of offending the Arab states.
In his violent speech against Israel, the text of which reached Washington this weekend from Cairo, Mr. Krishna Menon said: “It is said that justice has great strength, but I would say that in most cases the voice of force is louder than the voice of Justice. Force and Arab unity are the real solution to the problem of Palestine. And finally, I would request you not to say always that you will throw Israel into the sea, because by that you would pollute the sea itself.” |
using System;
namespace NatashaUT.Model
{
public static class StaticTestModel
{
public static int Age;
public static string Name { get; set; }
public static DateTime Temp;
public static float Money;
}
public class FakeStaticTestModel
{
public static int Age;
public static string Name { get; set; }
public static DateTime Temp;
public static float Money;
}
public static class StaticTestModel1
{
public static int Age;
public static string Name { get; set; }
public static DateTime Temp;
public static float Money;
}
public class FakeStaticTestModel1
{
public static int Age;
public static string Name { get; set; }
public static DateTime Temp;
public static float Money;
}
}
|
The present invention relates generally to computer programming, and more particularly to automated switching from one operating system to another during system testing, based on a context required for test command(s) to be executed.
As is well known, it is desirable to perform a number of tests on computer systems after manufacturing and prior to shipment of the systems to customers. The content of the tests may depend, generally, on the type of system and what types of tests are deemed useful for verifying operation of that type of system.
The term “system under test”, or “SUT”, is commonly used to refer to a system being tested. A system under test may be a laptop computer, personal digital assistant (“PDA”), workstation, mainframe, embedded computing device, or any other type of computer or digital processing system.
As is also well known, an operating system controls operation of a processing component of a system, and may also control a number of components peripheral to the system. Commands to be executed during system testing may require a particular operating system. |
Detection of intact hemoglobin from aqueous solution with laser desorption mass spectrometry.
Laser induced liquid beam ionization/desorption mass spectrometry (LILBID-MS) is a new desorption method recently developed in our laboratory. This method allows ions to be desorbed directly from the liquid phase into the high-vacuum region of a mass spectrometer. This method has now been applied to the detection of noncovalent protein-protein complexes. The example given in this paper is the quartenary complex of human hemoglobin. For the first time, the intact hemoglobin could be detected by laser desorption mass spectrometry. Furthermore, evidence for the specificity of the complex is given. |
A famous proposed solution to the one over many problem is found in Plato. For example, it appears in The Parmenedies and is introduce by Zeno arguing that . . . if being is many, it must be both like and unlike, and that this is impossible, for neither can the like be unlike, nor the unlike like-is that your position? and Socrates responds: do you not further think that there is an idea of likeness in itself, and another idea of unlikeness, which is the opposite of likeness, and that in these two, you and I and all other things to which we apply the term many, participate-things which participate in likeness become in that degree and manner like; and so far as they participate in unlikeness become in that degree unlike, or both like and unlike in the degree in which they participate in both? And may not all things partake of both opposites, and be both like and unlike, by reason of this participation? Where is the wonder? and the discussion moves on to the interesting question that.. |
Glucose trimming and reglucosylation determine glycoprotein association with calnexin in the endoplasmic reticulum.
To determine the role of N-linked oligosaccharides in the folding of glycoproteins, we analyzed the processing of in vitro translated influenza hemagglutinin (HA) in dog pancreas microsomes. We found that binding to calnexin, a membrane-bound molecular chaperone, was specific to molecules that possessed monoglucosylated core glycans. In the microsomes, these were generated either by glucose removal from the original triglucosylated core oligosaccharide by glucosidases I and II or by reglucosylation of already unglucosylated high mannose glycans. Release of fully folded HA from calnexin required the removal of the remaining glucose by glucosidase II. The results provided an explanation for trimming and reglucosylation activities in the endoplasmic reticulum and established a direct correlation between glycosylation and folding. |
The present invention relates to route selection and determination. More particularly, the present invention relates to advertising proximity route selection.
Global positioning system (GPS) navigation allows users to plot a path between geographic points. Users enter information, such as a desired ending point, into a navigation device, which uses the GPS system. The navigation device processes the entered information and provides an available route to the destination. |
* Editor's Commentaries -
#81Whether or not Fact is Stranger than Fiction,
Strangely, Multitudes of people Prefer Fiction to Fact!
[as seen in movies, television programs, novels, and
supposedly non-fiction works]
What's the Question? Stay 'tuned,' for the editor's
answer.
. Scenario
I:
The
ever-so-popular Fiction
Perhaps
you have seen The Manchurian Candidate (whether the recent remake or the
original), or Face/Off, or Mission Impossible II, or Aliens, or
Men In Black I
or II, The Terminator series, or Hitman, or
other movies or TV series (whether serious or comedic) with similar themes,
e.g.: that people
are hijacked by evil people who take control of their minds and wills and thus
are able to use them to commit evil acts; or that honorable people are impersonated by
evil people who commit evil deeds while impersonating those honorable people, or
the variation on this theme, that wicked people are impersonated by wicked
people who commit evil while impersonating the wicked people; or
that people are invaded and destroyed by evil creatures, who commit further evil
acts while bearing the appearance of those they have destroyed. Such is
the nature of fiction; but the truth is far more sinister, and devastating.
The
Fact(s)
The
truth is that fallen angels/demons take possession of people, i.e., take control
of people, and poison the minds of those who they possess with lies from the father of lies
Satan. The demons corrupt and pervert the spirits and souls of people, and use the
possessed people as surrogates. The possessed people turn against
their true loves, and join with the veritable armies of enemies and adversaries of their true loves
to destroy their true loves....
. Scenario II:
The
ever-so-popular Fiction
Perhaps
you have seen The Lord of the Rings trilogy, or other movies with similar
themes, e.g., the world is inhabited by a variety of monstrous
pseudo-human creatures besides people, and the monsters are engaged in the bloodthirsty pursuit of their evil master's end
which is to annihilate all humanity.
The Fact(s)
Yes there is an evil master, Satan. And yes he does wield an army of
monsters, they are devils (fallen angels); he also wields an army of destroyers,
but they are not physically outwardly distinguished from other people.
There is a terrible war being waged by Satan and his armies against all who are
not in Satan's armies, but especially against all who are God's people, God's
servants, and most particularly against the tiniest minority that Satan has
determined pose a threat to the accomplishment of his evil ends.
Satan has two goals: his primary goal is to overthrow God the Father, God the
Son, and God the Holy Ghost, and all who serve them; his secondary goal is
failing to achieve the first goal, to inflict as much damage and suffering upon
God and his servants as possible, definitely including taking as many of God's
people with him to Hell and eternity in the Lake of Fire and Brimstone as
possible (God created the Lake of Fire and Brimstone for the eternal punishment
of Satan and all who will serve him).
. Scenario III:
The
ever-so-popular Fiction
Perhaps
you have seen The Truman Show, The Prisoner, or
other movies or TV series (whether serious or comedic) with similar themes, e.g.,
that person or persons are held captive in very non-traditional settings and
circumstances, and are kept under extraordinarily close observation.
The Fact(s)
There is a Brave New World like quality to these programs, but the
truth of what has been done to targeted peoples by the wicked powers that be
totally eclipses anything that is served up by the "entertainment"
industry.
. Scenario IV:
The
ever-so-popular Fiction
Perhaps you have read or seen The Borgia Stick, The Firm, The Net, The
Parallax View, or other books/movies with similar
themes, e.g., organized crime syndicates exert absolute command and control over
people lives, use them unwittingly or wittingly to accomplish their evil ends,
and dispose of them when they have outlived their usefulness or pose a security
breach to the syndicate....
The Fact(s)
The truth is that while the scenario is not entirely off, only governments,
not private organizations, have the resources at their disposal, and possess
this degree of control over peoples lives.
. Scenario
V:
The
ever-so-popular Fiction
Perhaps you have read or seen Primary Colors, or other books/movies with similar
themes, e.g., purported exposes of political corruption....
The Fact(s)
The purported exposes are in fact carefully constructed cover-ups; these programs employ the
devilishly clever stratagem of admitting guilt of a very few of the least evil actions of the
protagonists, while ignoring or dismissing the vast majority of evils the wicked
ones have committed, definitely including the most horribly evil deeds. In
admitting guilt to a very carefully selected few of the least grave evil deeds,
the worst and most
damning details of those least evil actions are artfully omitted, sanitized.... The purpose of these
political damage-control cover-ups (definitely including Joe Klein's) is to
"humanize" the villains, feign having exposed all of the worst sins
committed by the villains, and thus to
enable the evil protagonists to survive politically and to accomplish vastly much more
evil in time to come!
. Scenario
VI:
The
ever-so-popular Fiction
You have likely read or seen The Wizard of Oz (multiple times), one, more, or all of
the Harry Potter series, The Lord of the Rings Trilogy, The Golden
Compass, or other books/movies with similar thematic elements, e.g., good
wizards and evil wizards, good witches and evil witches, good demons!!!!
What all of these works have in common, whatever else may be said of them, is
that they do indoctrinate children to accept the validity of the lies that
wizards may be good or bad, witches may be good or bad, and demons may be
good!
The Fact(s)
The truth is that wizards are always evil, witches are always evil, and
demons are always evil; these evil forces serve Satan, who came only to steal,
murder, and destroy.
Angels on the other hand may be good (in which case they are still Angels,
and they serve God), or they may be evil demons (fallen Angels, which followed
Satan in rebellion against God, who serve Satan and all of his evil ends).
. Scenario
VII:
The
ever-so-popular Fiction
Perhaps you have read or seen books or movies such as the James Bond series, or other books/movies with similar
themes, e.g., crazed villains are bent on taking over the world, extracting rich
ransoms from the world powers, or destroying the world.
These have been incredibly popular themes in novels, movies, and television
programs; perhaps these themes predate Ian Fleming, if so, he has at least
greatly popularized them.
The Fact(s)
The truth is that while evil individuals and their freelancing gangs
certainly have done and can do much evil; the overthrow of the USofA will come
from enemy superpowers, not villains and their gangs, terrorist cell groups, nor
rogue regimes. And when this nation falls, the only "free"
nation left standing will be tiny beleaguered, besieged Israel (and multitudes
of Israelis will demand that Israel surrender rather than defend itself, as
indeed many have been demanding for decades).
. Scenario
VIII:
The
ever-so-popular Fiction
Perhaps you have read or seen War of the Worlds, Aliens, Men In Black,
Terminator, The Andromeda Strain, or other books/movies with similar
themes, e.g., evil creatures, beings, or substances invade the earth bent on destroying
all human life, only to be narrowly prevented from destroying the world and all
people in it.
These have been incredibly popular themes in novels, movies, and television
programs.
The Fact(s)
The truth is that life forms are limited to the earth (other than Satan and
demons, angels and God), and these absurdly silly fictions are just that; yet
most people prefer the falsehoods, untruths, lies, fictions...no matter how
gruesome, terrible, and nightmarish they are, to the truth of God.
. Scenario
IX:
The
ever-so-popular Fiction
Perhaps you have read or seen Star Wars, The Chronicles of Riddick, Star
Trek, or other books/movies/television programs with similar
themes, e.g., the universes are inhabited by all manner of creatures and beings,
with one evil regime pursuing the enslavement and destruction of all
civilizations, especially human life, only to be vary narrowly prevented from
succeeding in so doing.
The Fact(s)
The truth is that life forms are limited to the earth (other than Satan and
demons, angels and God), and these absurdly silly fictions are just that; yet
most people prefer the falsehoods, untruths, lies, fictions...to the truth of
God.
. Scenario X:
The
ever-so-popular Fiction
Perhaps you have read or seen some of the multitude of novels, series of TV
programs, and movies featuring police work, police detective work...which is not
only honest, idealistic, courageous...but is breathtakingly super-competent, and
oftentimes brilliant.
The Fact(s)
The truth regrettably is that, generally speaking, crimes in the USofA are
solved if and when a witness comes forward to provide information, or someone
becomes privy to a person's guilt after the fact, and again provides tips,
leads, or incriminating evidence.
. Scenario XI:
The
ever-so-popular Fiction
Perhaps you have read or seen novels or movies in which a person is or
persons are persecuted; if so, the person or persons invariably are persecuted
because of one of the following: being a particular race, i.e., negro, black, of
color, african-american; or, because of their gender, i.e., they are female; or,
because they are sodomites, aka homosexuals; or, because of their political/idealogical
beliefs, i.e., they are leftists; or, because of their religious affiliation,
i.e., they are muslims, or members of a cult.
The Fact(s)
The truth is that the overwhelming majority of persecution committed, whether
worldwide or in the USofA, is usually visited upon genuine christians; the
minority of persecution is visited upon nominal christians, and jews.
While it is true that others are viciously, violently preyed upon, this is
not the same as suffering persecution; these others who are routinely preyed
upon by human predators include: whites, elderly people, and people (typically
children, youths, and young women) who are targeted because they are good,
gentle, sweet, tender, kind, innocent, pure, virgin, vulnerable...an easy prey
for the human predators!
. Scenario XII:
The
ever-so-popular Fiction
Perhaps you have read or seen novels, TV programs, or movies in which justice
prevails.
The Fact(s)
The truth is that injustice is the rule rather than the exception.
. Perhaps you have noticed that
so very many people prefer to believe fiction over fact, no matter how terrible
the fiction is.
I have been utterly amazed over the years to encounter many people (including
many women) who profess to enjoy absolutely monstrous horror movies and books. I confess, I do not know
how it is possible for people to enjoy such monstrosities as "horror genre
entertainments." These monstrosities far too closely mirror horribly
sadistic crimes of evil which have actually been committed (and which spawn
imitation monstrosities), for me to comprehend how anyone can stand such
abominations much less enjoy them. Such evil "entertainments"
were created by people who follow a master who is at war with mine, and at war
with God's children everywhere, to the end of this age. Only God
ultimately overthrowing the evil "beasts" and casting them into the
Lake of Fire and Brimstone for all eternity will end their evil acts that are borne of their unquenchable hatred of all that is good and all that is of God.
Occasionally
I think while standing up, walking, or even chewing gum, though I can't say I
necessarily do my best thinking while exerting myself in these ways - Editor/Ed.
Boys are so silly, I prefer to do my deep thinking,
reflection, ruminating, and meditation, while I am reclining at length in the
tub, preferably with several servants to attend to my every whim and need.
[One must be careful to only think in moderation while soaking, though, lest one
should turn into a prune!] Umm, I wonder if those silly hunky stone-age
boys are thinking about me? If they think they can use me like I'm some
worthless disposable thing, they've got another thing coming!
{No, bathing beauty. If I had a lady like you to think
about (but a little less "hard-bodied"), I wouldn't manage to think of anything else. It is true, God does
work in mysterious ways.} |
package com.linheimx.app.lchart;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumentation test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() throws Exception {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getTargetContext();
assertEquals("com.linheimx.app.lchart", appContext.getPackageName());
}
}
|
For many people, the costs of study abroad are a major factor in deterring them from participation in a program. Although program costs can be intimidating, there are many ways to bring the funds together to cover the amount needed. Having a better understanding of how financial aid and payments work makes it easier to see that study abroad can be a real possibility.
Completing a Free Application for Federal Student Aid (FAFSA) will help you determine if you are eligible for financial aid. The FAFSA is available online at www.fafsa.ed.gov. When you complete the FAFSA, your Student Aid Report is sent to TCC, where it is determined what financial aid you are eligible for. Questions about your eligibility for TCC financial aid should be directed to the Financial Aid Office on your campus. If you are found to be not eligible for TCC financial aid, then you still have some options for helping fund your experience.
Students who are not eligible for TCC financial aid may consider applying for a TCC study abroad scholarship, or outside scholarships and loans.
Please note that the TCC study abroad scholarship is given as a refund after the successful completion of the program, so you must be able to pay all costs of the program up front.
For outside scholarships and loans, please be careful to review eligibility criteria carefully and do your research. For more information on these opportunities, please see the funding links on the previous scholarship page. |
A long time ago in a galaxy really, really close (this one, actually), Star Wars was just a movie franchise that we could only watch. Then someone had the brilliant idea to begin making Star Wars videogames and with them, we were able to become Jedis, X-Wing pilots, bounty hunters, pod racers, and dancing Chewbaccas. But the question remains: which one is the greatest of them all? Many Bothans died to bring us this toplist, so let's not screw it up. |
Q:
Inputing test cases into TestRail
Has anyone worked with TestRail? If so, I would love some help in figuring out to format the HTTP requests that I am supposed to send in order to create the test cases. I've looked over the documentation the TestRail API, but the documents aren't very clear.
What I am trying to do is take information from an Excel spreadsheet and the upload it into the TestRail program. I've been told that I need to pass each part of the test case (Title, Expected results, priority, etc.) as arguments within the http request. I'm just looking for some clarification. I'm using PHP to do all this, so if you could help, that would be most appreciated.
A:
one of the TestRail developers here. You need to submit the API arguments as POST arguments to TestRail as explained on our website:
http://docs.gurock.com/testrail-api/accessing
That is, you would send the API key as part of the URL (as a GET parameter) and submit all fields you would like to write as POST arguments (just like a web form). You can simply use the curl command line tool to test this (you can find an example in the link mentioned above) or you can use the curl library in PHP or any other HTTP framework to submit a request:
http://www.electrictoolbox.com/php-curl-form-post/
I hope this helps.
|
Trow, Wisconsin
Trow is a ghost town in the town of Dewhurst, Clark County, Wisconsin, United States.
History
The community was named for A. S. Trow, a local landowner.
Notes
Category:Geography of Clark County, Wisconsin
Category:Ghost towns in Wisconsin |
@import (reference) "~some/module";
@import "~some/css.css";
@import (css) "~some/css.css";
@import (less) "~some/css.css";
@import (inline) "~some/css.css";
#it-works:extend(.modules-dir-some-module) {
margin: 10px;
}
|
SRAM
Locking Grips (For Grip Shift)
Details
• Replacement locking handlebar grip sets for X0 and XX Grip Shift• Available in 100mm and short length 85mm shifter with interlocking Grip Shift interface and single bolt clamp.• Available in full-length 122mm grips with dual locking bolt clamps.• Available in black and silver. |
Q:
EmberJS Set Multiple Properties At Once
I am setting lots of properties with a series of set calls e.g.
this.set('prop1', value1);
this.set('prop2', value2);
.......
Is there a way to do this in one call (similar to when I create an object)? E.g.
this.setMultiple({prop1: value1, prop2: value2});
I still don't fully grok Ember's inheritance model. Maybe something along the lines of reopen?
A:
There is actually a function for this: setProperties. You can use it like this:
obj.setProperties({prop1: value1, prop2: value2})
obj should be instance of Ember.Object.
A:
As @oruen points out in his correct answer, you are describing setProperties(...).
One potential issue to be aware of is that according to the JS spec the order of properties on an object is indeterminate. (See Elements order in a "for (… in …)" loop).
If you don't care about order, or are confident that the JS implementations you are targeting will respect your order, setProperties should work for you.
When setting multiple properties, you should consider using Ember.beginPropertyChanges() and Ember.endPropertyChanges(). The former suspends the observer triggers and the latter restores it and flushes. This approach can improve performance. setProperties does this for you.
Also notable is Ember.changeProperties, which accepts a callback and calls Ember.beginPropertyChanges, then your callback, and then Ember.endPropertyChanges, even if your callback raised an exception. Example usage:
Ember.changeProperties(function() {
obj1.set('foo', mayBlowUpWhenSet);
obj2.set('bar', baz);
});
Hope that helps!
|
Q:
How to transform elements of a list into one string?
community,
I have a list, that consists of different strings (sentences, words...) I would like to join them all together to one string.
I tried:
kafka = ['Das ist ein schöner Tag.', '>>I would like some ice cream and a big cold orange juice!',...]
''.join(kafka) #but strings stay the same as before
A:
You need to do:
kafka = ['Das ist ein schöner Tag.', '>>I would like some ice cream and a big cold orange juice!',...]
s = ''.join(kafka)
s now contains your concatenated string.
|
GLASHCtl
GLASHCtl is a simple applet for controlling the LASH Audio Session
Handler. When you run it it will appear as a small LASH icon in your
"notification area" or "system tray" (if your desktop manager is
compatible with freedesktop.org's "System tray" standard,
http://www.freedesktop.org/Standards/systemtray-spec). This is
typically somewhere in the panel in KDE or GNOME.
There is also a front end that works as a WindowMaker DockApp, just run
'wmglashctl' instead of 'glashctl'. |
Bulbophyllum xanthum
Bulbophyllum xanthum is a species of orchid in the genus Bulbophyllum.
References
The Bulbophyllum-Checklist
The Internet Orchid Species Photo Encyclopedia
xanthum |
Therapeutic Misperceptions in Early-Phase Cancer Trials: From Categorical to Continuous.
Appropriate enrollment in early-phase clinical trials demands that potential research participants understand and appreciate critical study-related information, because discrepancies in understanding or appreciation can potentially invalidate informed consent to participate in research. Four terms were previously developed to categorize these discrepancies: therapeutic "misconception," "therapeutic misestimation," "therapeutic optimism," and "unrealistic optimism." In this article, we propose a continuous framework of therapeutic misperceptions, rather than discrete categorical concepts. One end of this continuum contains discrepancies in understanding, and at the other end are discrepancies in appreciation. Categorical terminologies represent points along this continuum. Discrepancies in understanding and appreciation each lead to unique ethical concerns and likely require different interventions. This framework highlights the dearth of empirical work on the appreciation end of the continuum, especially related to navigating persistent discrepancies in appreciation. Employing a continuous framework of therapeutic misperceptions supports a nuanced approach to the unique circumstances of each research subject, aiding researchers in supporting truly informed consent. |
Menu
Notch
By Jefferson Hunt.
It happened any years ago, long before the first train whistled shrill and high through Kyiv and before the Tsarina took over the Cossack Hetmanate. Perhaps it was the time of Helen of Kyiv, or the time of … who knows? But, my son, what is important to remember is that it happened, it did. It is true, just as my father told me and as his father told him.
Don’t yawn at me, my boy. Hand me my tea and get yourself a cup. It is a good story, I promise. … Ah, hot tea.
I will tell you the story of Yevgeniy, a boy of that time so long ago when it seemed everyone wanted what our beloved Ukraine had, still has – the Tsars, the Polls, the Khan of the Mongols, the Tatar – ach! Everyone! Everyone wanted our beautiful land and our beautiful people.
That, my boy, was Yevgeniy’s undoing. Yes – and he looked very much like you. He had long, dark hair like flax, big dark eyes with those lashes you bat when you want your way, and those inquisitive eyebrows. Ahhh. He knew he was a beautiful boy, and becoming a young man did nothing to mar his beauty.
It was then, when he had grown older, when he began to look more like a man and less like a boy, then it was his beauty brought him more trouble than he had bargained for, and her name was Alla.
Yevgeniy, you see, would skip out on his chores – his tending the horse, the cow, the chickens, the fences. “Babushka,” he would say to his dear grandmother and bat his lashes. “I will take the eggs to market.”
“But, Yevgeniy, your papa will….”
“Won’t he be happy he has one less thing to do? Of course.”
She would protest, but he would kiss her cheek and leave anyway. He would do this often, the leaving and going to the city. The older men would see him coming and nudge one another with a smirk and say, “Notch – do you see him? That jaunty walk as if the world were his.”
‘Notch,’ they called him, because he would notch his belt for each girl he had taken and made his own and left alone. He had notched the whole top of his belt, can you believe it?! and was working on the bottom side. Kyiv was already that big a city.
That was when he met Alla. Her family was Viking – tall and slender and blond as a sunflower but with bewitching ways of her own he knew nothing about.
Yevgeniy saw her in the market – saw her blond hair, her slim figure under her dress, and her blue eyes met his black and he batted his eyes.
Of course, she loved him from the moment she saw him.
“Fair lady,” he said to her and bowed deeply. “Here,” he said standing again, “a beautiful poppy for a beautiful lady.” She smiled when he handed her the flower. But, that was just the beginning. He asked, “What will you give me in return?”
“What?” she asked him, her eyes down to the flower and her voice petal soft. “You give me a gift and ask for something in return?”
“A fair exchange.”
But, she knew how frail, how quickly the poppy wilted. “Then, I will give you my thanks.”
She lived in the city, and he came often to find her, anxious to win the victory with her.
One day, as they sat in the market drinking tea, she remarked how tattered his belt seemed to be. But again, she knew more than she told him. You see, her father was one of those men who called Yevgeniy ‘Notch.’ “Beware, my Alla, or you will become his next notch.”
“Never, Father.”
“Oh, my daughter, you know so little of the charms of a boy like this.”
“And he, my papa, knows nothing of my passion,” which was her way of speaking of her mother’s teaching the art of hexes.
They met again, Yevgeniy and Alla. “I feel like having an apple,” he said, taking her hand in his.
“Where will you get an apple?” she asked him.
“Mmm,” he hummed and pointed, “there – the farmer’s orchard.”
“You would steal an apple?”
“For you, I would steal the moon and stars.”
“And leave me in darkness.”
“But, you would have the moon and stars.”
But she was not talking about the moon and stars.
“Oh, don’t worry. I will ask the farmer’s maid there.” He let go Alla’s hand, walked bold as you please across the field to the farmer’s maid picking apples in the orchard.
Alla watched him as she plaited together grasses and blue flowers. She saw Yevgeniy lean close to the maid, her head bob shyly, him touch her hand – the dance of a couple falling in love – all this before he returned.
“An apple for you, my dear,” he said after he returned to Alla. “What will you give me in return?”
“This.” She held it up. “A necklace.”
He smiled and batted his eyes at her. “Will you put it on me?”
“Gladly.”
He leaned close to her and she to him. She reached her arms around him to tie the necklace around his neck. He breathed her hair, her dress, the mint she wore under her shirt, and his eyes opened up to hers.
She tied the knot and let her hands slide down from his neck, his shoulders, and his chest. He tilted his head to kiss her.
In a second, Alla saw the farmer’s maid watching and wiping a tear from her cheek. “Do you love the farmer’s maid?” she asked Yevgeniy.
This question stopped him. A frown wrinkled his brow. “No,” he replied and the necklace tightened. “I love you,” he said, and the necklace tightened, though he didn’t notice.
Alla slid her hands around his waist and asked him as she fingered the notches on his belt, “What are these notches for?”
“They are nothing.” And the necklace tightened so he ran a finger between it and his neck.
“Would you ever lie to me?”
“Never.” The necklace tightened and he gasped. “What is this?”
“Truth.”
“What? What do you mean, truth?'”
“Are your eyes only for me?”
“Of course.” The necklace tightened so Yevgeniy’s breathing became ragged and his voice strangled. “What are you doing to me?” he asked, tugging at the necklace and stumbling back from Alla.
“I? I have done nothing.”
“It is lies.” His voice caught in his throat.
She said, “It is, and they will kill you unless you tell me the truth.”
“Truth? I…have.” The necklace tightened. He gasped, stumbled, fell. His beautiful hair drifting about his head, his black eyes wide. His lashes fluttered, stopped, and the moon and stars left his eyes.
Alla wept for Yevgeniy, and when the news of his death traveled about, there were many who wept for him. “So, my boy, what do you learn from my story?”
“Ah – well, Papa, Yevgeniy’s ways were lies to the girls and it was his lies that killed him, but the truth could have saved him.”
“Good, my boy. Be honest. … Drink your tea.”
“… But Papa. How do I show love to a girl?”
“Honestly, having only one – start there.”
AUTHOR BIO
JEFFERSON HUNT currently lives in the Eastern U.S. time zone, in the quiet of a small town. He has always heard it is important to write what you know. He hasn’t made a conscious decision to do that, but it seems to work out that way. He’s been to Ukraine and has studied Kyivan Rus and knows some about the ways of boys. That and the changing morality of the early Christian period served as the backdrop for his story, “Notch.” |
Q:
whitelist domain names on Azure AD with App Registration
The authentication process for O365 requires adding the redirect URL in a whitelist on the app’s dashboard on Azure.
However, this whitelist doesn't work with domain names. It requires to add the entire URL for every page which is not possible if you have a huge number of URLs, plus some of the URLs are dynamically generated by the backend.
Is it possible to whitelist the domain with all its sub-directories/URLs in one go?
A:
No, it is not (unless you want to use wildcards, which you shouldn't).
In general when you need dynamic redirects,
you should store the location you want to redirect to locally in a cookie/session/local storage/session storage.
Then use a single redirect URL, and when you get the redirect there, get that stored "local redirect URL" from where you stored it, and redirect the user there.
I touched upon this on a recent article: https://joonasw.net/view/avoiding-wildcard-reply-urls-with-msal-js
|
You may have probably heard about CBD oil and its numerous benefits. Truly, the CBD oil market is growing fast. And there are advantages and disadvantages to that. One of the cons is that a lot of brands just do not meet...
There is a growing interest in cannabidiol (CBD) nowadays. More and more people are starting to mix CBD oil with their vape juices. You can also consume CBD in capsules and chewy gummy bears. Although CBD oil is derived from th... |
{
"parent": "forge:item/bucket",
"loader": "forge:bucket",
"fluid": "mekanism:oxygen"
} |
I am a sick man... I am a wicked man. An unattractive man. I think my liver hurts.Notes from Underground, F. Dostoevsky
I'm a recent graduate of St. Tikhon's Orthodox Theological Seminary <http://stots.edu/seminary.htm>, and I'm currently studying Arabic at the St. John of Damascus Institute of Theology, which is part of the University of Balamand in Lebanon. |
hey! Sorry for the late reply. They are just normal granny squares. (Well the first round of a square) but I used a thick wool with a thinner needle to get the effect. |
All Killa No Filla
Join comedians Rachel Fairburn and Kiri Pritchard - McLean as they explore a shared passion, serial killers.
Each episode the pair will talk all things murder and macabre and have a right laugh doing it.
Join comedians Rachel Fairburn and Kiri Pritchard - McLean as they explore a shared passion, serial killers. Each episode the pair will talk all things murder and macabre and have a right laugh doing it. Episode Eighteen and we're looking for the Zodiac Killer - whoever he is. Rachel and Kiri aren't sure as it turns out it's quite a confusing tale. So confusing we call it Episode seventeen.
Join comedians Rachel Fairburn and Kiri Pritchard - McLean as they explore a shared passion, serial killers. Each episode the pair will talk all things murder and macabre and have a right laugh doing it. Episode seventeen looks at "America's first serial killer", H.H.Holmes, or Herman Mudgett as he's more accurately known. A "favourite" of Kiri's he had cracking facial hair and a "Murder Castle",what's not to love? The brilliant Michael J. Dolan is the guest.
Join comedians Rachel Fairburn and Kiri Pritchard - McLean as they explore a shared passion, serial killers. Each episode the pair will talk all things murder and macabre and have a right laugh doing it. Episode Sixteen is a live show that we've decided to release. Each episode we asked a comedian to pick a killer and come on and chat about them, Ed Gamble picked Peter Sutcliffe, the Yorkshire Ripper. It's a pretty star studded episode with mentions of Jimmy Saville, Les Battersby and even Frank Bruno. Plus, a member of the audience has a very real connection to the Ripper.
Join comedians Rachel Fairburn and Kiri Pritchard - McLean as they explore a shared passion, serial killers. Each episode the pair will talk all things murder and macabre and have a right laugh doing it. Episode Fifteen looks at Ed Kemper, The Co-Ed Killer. He's a big lad with a high IQ and from what Rachel and Kiri hear, he writes back to you. Let's hope he doesn't listen to podcasts for their sake. Also, there's an off the cuff joke in there that probably should have been cut but it's in there now. Enjoy!
Join comedians Rachel Fairburn and Kiri Pritchard - McLean as they explore a shared passion, serial killers. Each episode the pair will talk all things murder and macabre and have a right laugh doing it. Episode Fourteen looks at Nikolai Dzhumagaliev, Metal Fang. He's got a badass nickname and a habit of eating women. Short one this as it turns out that the then Soviet Countries like to keep this kind of thing quiet...
Join comedians Rachel Fairburn and Kiri Pritchard - McLean as they explore a shared passion, serial killers. Each episode the pair will talk all things murder and macabre and have a right laugh doing it. Episode Twelve looks at Ivan Milat, the Backpack Murderer. The hero of the piece? A man called Paul Onions. It's worth listening just for that.
Join comedians Rachel Fairburn and Kiri Pritchard - McLean as they explore a shared passion, serial killers. Each episode the pair will talk all things murder and macabre and have a right laugh doing it. Episode Ten looks at the Soup Kitchen lovers Ottis Toole and Henry Lee Lucus. Confessions, serial killer bingo and broom handles, this podcast has it all.
Join comedians Rachel Fairburn and Kiri Pritchard - McLean as they explore a shared passion, serial killers. Each episode the pair will talk all things murder and macabre and have a right laugh doing it. Episode Ten looks at the Milwaukee Monster, Jeffrey Dahmer. Find out what "Doing a Dahmer" entails, how Jeff spent his prom and hear just how ropey Rachel's Roland Rat impression is.
Join comedians Rachel Fairburn and Kiri Pritchard - McLean as they explore a shared passion, serial killers. Each episode the pair will talk all things murder and macabre and have a right laugh doing it. Episode Nine looks at Harold Shipman, or Dr Death as he was known. The most prolific British serial killer of all time, a beloved GP and a drug addict. Standard.
Join comedians Rachel Fairburn and Kiri Pritchard - McLean as they explore a shared passion, serial killers. Each episode the pair will talk all things murder and macabre and have a right laugh doing it. Episode Eight looks at Ted Bundy. Master of escapes and ladies man Bundy has cemented his reputation as one of the most famous killers in modern times, find out why.
Join comedians Rachel Fairburn and Kiri Pritchard - McLean as they explore a shared passion, serial killers. Each episode the pair will talk all things murder and macabre and have a right laugh doing it. Episode Seven looks at Charles Ng and Leonard Lake. Find out why Ng is the most expensive criminal in history and just what is "Project Miranda".
Join comedians Rachel Fairburn and Kiri Pritchard - McLean as they explore a shared passion, serial killers. Each episode the pair will talk all things murder and macabre and have a right laugh doing it. Episode Six looks at The Dusseldorf Vampire, Peter Kurten. This podcast the pair talk about sheep's vaginas, Billy bear meat and monogrammed handkerchiefs, something for everyone, the people's podcast, if you will.
Join comedians Rachel Fairburn and Kiri Pritchard - McLean as they explore a shared passion, serial killers. Each episode the pair will talk all things murder and macabre and have a right laugh doing it. Episode Five looks at The Moors Murders, committed by Ian Brady and Myra Hindley. Rachel and Kiri present their most in depth podcast to date. There's lesbian affairs, rescue homes for evil pets and bootlegged Hitler speeches in this episode. |
Antiinflammatory and immunosuppressive activity of sialostatin L, a salivary cystatin from the tick Ixodes scapularis.
Here we report the ability of the tick Ixodes scapularis, the main vector of Lyme disease in the United States, to actively and specifically affect the host proteolytic activity in the sites of infestation through the release of a cystatin constituent of its saliva. The cystatin presence in the saliva was verified both biochemically and immunologically. We named the protein sialostatin L because of its inhibitory action against cathepsin L. We also show that the proteases it targets, although limited in number, have a prominent role in the proteolytic cascades that take place in the extracellular and intracellular environment. As a result, sialostatin L displays an antiinflammatory role and inhibits proliferation of cytotoxic T lymphocytes. Beyond unraveling another component accounting for the properties of tick saliva, contributing to feeding success and pathogen transmission, we describe a novel tool for studying the role of papain-like proteases in diverse biologic phenomena and a protein with numerous potential pharmaceutical applications. |
“A nation of sheep will beget a government of wolves.” |
Vasudha Narayanan
Vasudha Narayanan is an American scholar of Hinduism at University of Florida and former President of the American Academy of Religion.
References
Category:Living people
Category:University of Florida faculty
Category:Year of birth missing (living people) |
The invention relates to electrostatic discharge (ESD) protection, and more particularly, to ESD protection for circuits operating at high frequencies.
Electrostatic discharge (ESD) is a problem in integrated circuit (IC) technology. An ESD event occurs when a static charge builds up in a human operator or a machine and discharges through an IC during handling of the IC. This discharge typically produces a large current that passes through the IC in a short duration of time, which may result in damage or destruction of the IC if not properly handled or protected.
Several types of ESD circuits have been designed to protect an IC from failure due to an ESD event. Typically, an ESD circuit provides a current path to ground and/or supply when an ESD event occurs so that the high current resulting from the ESD event bypasses the ESD sensitive circuitry in the IC. ESD circuits may be implemented using gate grounded NMOS transistors, diode circuits and zener diodes. Although ESD circuits have proven useful in protecting ICs from ESD events, ESD circuits typically have a capacitive load. As a result, when an ESD circuit is coupled to the output or input of an IC, the capacitive load of the ESD circuit can degrade the performance of the IC at high frequencies.
Therefore, there is a need for an ESD protection scheme that provides increased ESD protection for a circuit operating at high frequencies without degrading the performance of the circuit. |
Influence of hip flexion on the course of the ureter. Ureteroscopic implications.
Early experience with the rigid ureteroscopy has identified two regions of the ureter that can be difficult to negotiate, the first at the vesicoureteric junction and the second anterior to the iliac bifurcation. Placing the patient in varying degrees of lithotomy has been proposed to overcome these problems. In this study the effects of these alterations of hip flexion on the course of the ureter have been studied by radiographs in patients undergoing ureteroscopy. The lower ureter was demonstrated to possess two curves, an upper curve at the iliac bifurcation which straightens with increasing degrees of lithotomy and a lower vesical curve in the pelvis which is unaltered by patient position. These findings and their clinical significance are described. |
Q:
Combining jQuery event listeners for multiple elements
How can I combine the following into two event listeners?
$(document).on "focus", "input", (e) ->
$element.addClass "class-name"
$(document).on "blur", "input", (e) ->
$element.removeClass "class-name"
$(document).on "focus", "textarea", (e) ->
$element.addClass "class-name"
$(document).on "blur", "textarea", (e) ->
$element.removeClass "class-name"
A:
Try the following code:
$("textarea").on("blur focus", function(event){
if ($(this).hasClass('active')) {
$(this).removeClass("active");
}
else {
$(this).addClass('active');
}
})
$("input").on("blur focus", function(event){
if ($(this).hasClass('active')) {
$(this).removeClass("active");
}
else {
$(this).addClass('active');
}
})
Done without a IDE but thats how you combine events. The .on() methods first parameter allows you to list events (Not to sure if it is limited in the amount but I haven't come across any issues as of yet.
|
-----BEGIN CERTIFICATE-----
MIIDKTCCAhECCQDomHTOW3ByHDANBgkqhkiG9w0BAQUFADBUMQswCQYDVQQGEwJV
SzETMBEGA1UECAwKU29tZS1TdGF0ZTEhMB8GA1UECgwYSW50ZXJuZXQgV2lkZ2l0
cyBQdHkgTHRkMQ0wCwYDVQQDDARSb290MB4XDTEzMDkxMDIyMjMwM1oXDTIzMDkw
ODIyMjMwM1owWTELMAkGA1UEBhMCQVUxEzARBgNVBAgMClNvbWUtU3RhdGUxITAf
BgNVBAoMGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDESMBAGA1UEAwwJbG9jYWxo
b3N0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtwpJq3YXwDzqsxcE
Bb7iCVG6eKW3kHFrzdmtF9flrkScaKxT0r6oqMn08IMqwDD0QcvC8ajauoJn8W79
MZ0XtqOk14dOKYsVRJp3ZXHK1/u9Fk4tTYPyWAiNgqON9bhBCpr7vArTpqXjvAoJ
MhxEOLmnIWhbQLZuEIk43LvlkZfP7SP89EvhY1f5rDK9JJjAyeuyIUdbew7+YfO7
vgSem9BAKtXzo3yHZulkpccX7SsH4da4C++HKSdVoDJUtP9ywx4xHNQBG5JwUQJ3
mjJw/pHlg2ga0tbCR/2V6N3sRf1gwpT/PJXOs160OrUU1YTSQzoiigfEtECSaKpL
dk1e/QIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQCrrqJByw3G1ZdZdAee5wg9hpRS
heTbV/DEUrSMQXPKtJbQuO+xxyT8O0wga8Ii+0TlfN4H7lRccmUM6P51FiDu8m7B
aJJ+5paI53M/X7S2HomnxuOoyGQFGHBFu+dnqaxDOi+nkHkITNQrl8QBBOrlWVFs
wdR1kOMVvFQDt3r11/iUk2OGvWhftt3tHLyWQlzYr3E5GxrBRtU6zntooQWR/dy2
Tvxon+1sZx10shewXzcNx/OY991vl1ttzHNmi+YZo2PHRJAKi5bOyJMZpIwfuDCL
KJQ+ITKv1eadXsReUfF4ZYLhCspfauhVUdjpcZ43PTfnoonCmYtAa+27OEjV
-----END CERTIFICATE-----
|
Listed buildings in Strickland Roger
Strickland Roger is a civil parish in the South Lakeland District of Cumbria, England. It contains nine listed buildings that are recorded in the National Heritage List for England. Of these, one is listed at Grade II*, the middle of the three grades, and the others are at Grade II, the lowest grade. The parish is almost completely rural, and the listed buildings consist of houses, a gatehouse, farmhouses and farm buildings, a bridge, and a cottage associated with a mill.
__NOTOC__
Key
Buildings
References
Citations
Sources
Category:Lists of listed buildings in Cumbria |
Trump signs bill renewing NSA’s internet surveillance program
WASHINGTON (Reuters) - U.S. President Donald Trump on Friday said he signed into law a bill renewing the National Security Agency's warrantless internet surveillance program, sealing a defeat for digital privacy advocates.
WASHINGTON (Reuters) - U.S. President Donald Trump on Friday said he signed into law a bill renewing the National Security Agency's warrantless internet surveillance program, sealing a defeat for digital privacy advocates. |
package chunk
import (
"context"
"errors"
"io"
"time"
)
var (
// ErrStorageObjectNotFound when object storage does not have requested object
ErrStorageObjectNotFound = errors.New("object not found in storage")
// ErrMethodNotImplemented when any of the storage clients do not implement a method
ErrMethodNotImplemented = errors.New("method is not implemented")
)
// IndexClient is a client for the storage of the index (e.g. DynamoDB or Bigtable).
type IndexClient interface {
Stop()
// For the write path.
NewWriteBatch() WriteBatch
BatchWrite(context.Context, WriteBatch) error
// For the read path.
QueryPages(ctx context.Context, queries []IndexQuery, callback func(IndexQuery, ReadBatch) (shouldContinue bool)) error
}
// Client is for storing and retrieving chunks.
type Client interface {
Stop()
PutChunks(ctx context.Context, chunks []Chunk) error
GetChunks(ctx context.Context, chunks []Chunk) ([]Chunk, error)
DeleteChunk(ctx context.Context, userID, chunkID string) error
}
// ObjectAndIndexClient allows optimisations where the same client handles both
type ObjectAndIndexClient interface {
PutChunksAndIndex(ctx context.Context, chunks []Chunk, index WriteBatch) error
}
// WriteBatch represents a batch of writes.
type WriteBatch interface {
Add(tableName, hashValue string, rangeValue []byte, value []byte)
Delete(tableName, hashValue string, rangeValue []byte)
}
// ReadBatch represents the results of a QueryPages.
type ReadBatch interface {
Iterator() ReadBatchIterator
}
// ReadBatchIterator is an iterator over a ReadBatch.
type ReadBatchIterator interface {
Next() bool
RangeValue() []byte
Value() []byte
}
// ObjectClient is used to store arbitrary data in Object Store (S3/GCS/Azure/Etc)
type ObjectClient interface {
PutObject(ctx context.Context, objectKey string, object io.ReadSeeker) error
GetObject(ctx context.Context, objectKey string) (io.ReadCloser, error)
// List objects with given prefix.
//
// If delimiter is empty, all objects are returned, even if they are in nested in "subdirectories".
// If delimiter is not empty, it is used to compute common prefixes ("subdirectories"),
// and objects containing delimiter in the name will not be returned in the result.
//
// For example, if the prefix is "notes/" and the delimiter is a slash (/) as in "notes/summer/july", the common prefix is "notes/summer/".
// Common prefixes will always end with passed delimiter.
//
// Keys of returned storage objects have given prefix.
List(ctx context.Context, prefix string, delimiter string) ([]StorageObject, []StorageCommonPrefix, error)
DeleteObject(ctx context.Context, objectKey string) error
Stop()
}
// StorageObject represents an object being stored in an Object Store
type StorageObject struct {
Key string
ModifiedAt time.Time
}
// StorageCommonPrefix represents a common prefix aka a synthetic directory in Object Store.
type StorageCommonPrefix string
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.