text
stringlengths 20
1.01M
| url
stringlengths 14
1.25k
| dump
stringlengths 9
15
⌀ | lang
stringclasses 4
values | source
stringclasses 4
values |
|---|---|---|---|---|
QStyleOptionSizeGrip Class Reference
The QStyleOptionSizeGrip class is used to describe the parameter for drawing a size grip. More...
#include <QStyleOptionSizeGrip>
Inherits: QStyleOptionComplex.
This class was introduced in Qt 4.2.
Public Types
Public Functions
- 2 public functions inherited from QStyleOption
Public Variables
- 2 public variables inherited from QStyleOptionComplex
- 7 public variables inherited from QStyleOption
Detailed Description. located.
No notes
|
http://qt-project.org/doc/qt-4.8/qstyleoptionsizegrip.html
|
crawl-003
|
en
|
refinedweb
|
Voxel for subdividing a local area of space. More...
#include <voxel.h>
Inherits rtl_voxel.
List of all members.
A local voxel is used for subdividing space which contains a group of objects. This class is used by rtl_groupobj. You probably have no need for this class directly, if you think you do you probably should be inheriting from rtl_groupobj.
Creates a local subdivision of space for the given object. The object is needed to provide the bounding space of the local subdivision.
Subdivides the voxel at a given depth. Use add(rtl_groupmem*,int,int,int) if you use this function. This function will cause abort if you use add( rtl_groupmem* ).
|
http://pages.cpsc.ucalgary.ca/~jungle/software/jspdoc/rtl/class_rtl_lclvoxel.html
|
crawl-003
|
en
|
refinedweb
|
You can create a SAX parser by using the Java APIs for
XML Processing (JAXP). The following source code shows
how:
import java.io.IOException;;
...
String xmlFile = "";
try {
SAXParserFactory factory = SAXParserFactory.newInstance();
factory.setNamespaceAware(true);
SAXParser parser = factory.newSAXParser();
DefaultHandler handler = /* custom handler class */;
parser.parse(xmlFile, handler);
}
catch (FactoryConfigurationError e) {
// unable to get a document builder factory
}
catch (ParserConfigurationException e) {
// parser was unable to be configured
catch (SAXException e) {
// parsing error
}
catch (IOException e) {
// i/o error
}
If you read the SAX
documentation, you will find that SAX may deliver contiguous text as multiple calls to
characters, for reasons having to do with parser efficiency and input
buffering. It is the programmer's responsibility to deal with that
appropriately, e.g. by accumulating text until the next non-characters
event.
characters
Xerces will split calls to characters at the end of an internal buffer,
at a new line and also at a few other boundaries. You can never rely on contiguous
text to be passed in a single characters callback.
SAX is very clear that ignorableWhitespace is only called for
element content whitespace, which is defined in the context of a DTD.
The result of schema validation is the Post-Schema-Validation Infoset (PSVI).
Schema processors augment the base Infoset by adding new properties to
element and attribute information items, but not character information items.
Schemas do not change whether a character is element content whitespace.
Outside the scope of startElement, the value of the
Attributes parameter is undefined. For each instance of Xerces'
SAX parser, there exists only one Attributes instance which
is reused for every new set of attributes. Before each
startElement callback, the previous values in this object
will be overwritten. This is done for performance reasons in order
to reduce object creation. To persist a set of attributes
beyond startElement the object should be cloned, for
instance by using org.xml.sax.helpers.AttributesImpl.
startElement
Attributes
org.xml.sax.helpers.AttributesImpl
An erratum for the Namespaces in XML Recommendation put namespace declaration
attributes in the namespace "". By default,
SAX2 (SAX 2.0.2) follows the original Namespaces in XML Recommendation, so
conforming parsers must report that these attributes have no namespace. To
configure the parser to report a namespace for such attributes, turn on
the xmlns-uris feature.
When using Xerces 2.6.2 (or prior) or other parser implementations
that do not support this feature, your code must handle this discrepancy
when interacting with APIs such as DOM and applications which expect a namespace
for xmlns attributes.
Yes. As of SAX 2.0.2 encoding and version information is made
available through the org.xml.sax.ext.Locator2
interface. In Xerces, instances of the SAX Locator interface
passed to a setDocumentLocator call will also implement
the Locator2 interface. You can determine the encoding
and XML version of the entity currently being parsed by calling the
getEncoding() and getXMLVersion() methods.
org.xml.sax.ext.Locator2
Locator
setDocumentLocator
Locator2
getEncoding()
getXMLVersion()
|
http://xerces.apache.org/xerces2-j/faq-sax.html
|
crawl-003
|
en
|
refinedweb
|
I am trying to diagonalize a anti-symmetric matrix in sympy. I constructed a random two by two anti-symmetric matrix in sympy and used the diagonalize command. It gives me an error saying it cannot calculate the eigenvectors. Is there a problem with sympy when the eigenvalues are purely imaginary?
import sympy import numpy as np mat1=np.random.rand(4) m1=sympy.Matrix(2,2,mat1) m2=-1.0e0*m1.transpose() m=m1+m2 view(m) m.diagonalize()
|
https://ask.sagemath.org/questions/8982/revisions/
|
CC-MAIN-2019-51
|
en
|
refinedweb
|
IEEE/The Open Group
2013
Aliases: logbf(3p), logbl(3p)
PROLOG
This manual page is part of the POSIX Programmer’s Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
NAME
logb, logbf, logbl — radix-independent exponent
SYNOPSIS
#include <math.h>
double logb(double x); float logbf(float x); long double logbl exponent of x, which is the integral part of logr exponent of x.
If x is ±0, logb(), logbf(), and logbl() shall return -HUGE_VAL, -HUGE_VALF, and -HUGE_VALL, respectively.
On systems that support the IEC 60559 Floating-Point option, a pole error shall occur;
otherwise, a pole error may occur.
otherwise, a pole error may occur.
If x is NaN, a NaN shall be returned.
If x is ±Inf, +Inf shall be returned.
ERRORS
These functions shall fail if: These functions may fail if:(), ilogb(), scalbln()
The Base Definitions volume of POSIX.1-2008, Section 4.19, Treatment of Error Conditions for Mathematical Functions, <float.h>, .
|
https://reposcope.com/man/en/3p/logb
|
CC-MAIN-2019-51
|
en
|
refinedweb
|
When addressing the question of what it means for an algorithm to learn, one can imagine many different models, and there are quite a few. This invariably raises the question of which models are “the same” and which are “different,” along with a precise description of how we’re comparing models. We’ve seen one learning model so far, called Probably Approximately Correct (PAC), which espouses the following answer to the learning question:
An algorithm can “solve” a classification task using labeled examples drawn from some distribution if it can achieve accuracy that is arbitrarily close to perfect on the distribution, and it can meet this goal with arbitrarily high probability, where its runtime and the number of examples needed scales efficiently with all the parameters (accuracy, confidence, size of an example). Moreover, the algorithm needs to succeed no matter what distribution generates the examples.
You can think of this as a game between the algorithm designer and an adversary. First, the learning problem is fixed and everyone involved knows what the task is. Then the algorithm designer has to pick an algorithm. Then the adversary, knowing the chosen algorithm, chooses a nasty distribution
over examples that are fed to the learning algorithm. The algorithm designer “wins” if the algorithm produces a hypothesis with low error on
when given samples from
. And our goal is to prove that the algorithm designer can pick a single algorithm that is extremely likely to win no matter what
the adversary picks.
We’ll momentarily restate this with a more precise definition, because in this post we will compare it to a slightly different model, which is called the weak PAC-learning model. It’s essentially the same as PAC, except it only requires the algorithm to have accuracy that is slightly better than random guessing. That is, the algorithm will output a classification function which will correctly classify a random label with probability at least
for some small, but fixed,
. The quantity
(the Greek “eta”) is called the edge as in “the edge over random guessing.” We call an algorithm that produces such a hypothesis a weak learner, and in contrast we’ll call a successful algorithm in the usual PAC model a strong learner.
The amazing fact is that strong learning and weak learning are equivalent! Of course a weak learner is not the same thing as a strong learner. What we mean by “equivalent” is that:
A problem can be weak-learned if and only if it can be strong-learned.
So they are computationally the same. One direction of this equivalence is trivial: if you have a strong learner for a classification task then it’s automatically a weak learner for the same task. The reverse is much harder, and this is the crux: there is an algorithm for transforming a weak learner into a strong learner! Informally, we “boost” the weak learning algorithm by feeding it examples from carefully constructed distributions, and then take a majority vote. This “reduction” from strong to weak learning is where all the magic happens.
In this post we’ll get into the depths of this boosting technique. We’ll review the model of PAC-learning, define what it means to be a weak learner, “organically” come up with the AdaBoost algorithm from some intuitive principles, prove that AdaBoost reduces error on the training data, and then run it on data. It turns out that despite the origin of boosting being a purely theoretical question, boosting algorithms have had a wide impact on practical machine learning as well.
As usual, all of the code and data used in this post is available on this blog’s Github page.
History and multiplicative weights
Before we get into the details, here’s a bit of history and context. PAC learning was introduced by Leslie Valiant in 1984, laying the foundation for a flurry of innovation. In 1988 Michael Kearns posed the question of whether one can “boost” a weak learner to a strong learner. Two years later Rob Schapire published his landmark paper “The Strength of Weak Learnability” closing the theoretical question by providing the first “boosting” algorithm. Schapire and Yoav Freund worked together for the next few years to produce a simpler and more versatile algorithm called AdaBoost, and for this they won the Gödel Prize, one of the highest honors in theoretical computer science. AdaBoost is also the standard boosting algorithm used in practice, though there are enough variants to warrant a book on the subject.
I’m going to define and prove that AdaBoost works in this post, and implement it and test it on some data. But first I want to give some high level discussion of the technique, and afterward the goal is to make that wispy intuition rigorous.
The central technique of AdaBoost has been discovered and rediscovered in computer science, and recently it was recognized abstractly in its own right. It is called the Multiplicative Weights Update Algorithm (MWUA), and it has applications in everything from learning theory to combinatorial optimization and game theory. The idea is to
- Maintain a nonnegative weight for the elements of some set,
- Draw a random element proportionally to the weights,
- So something with the chosen element, and based on the outcome of the “something…”
- Update the weights and repeat.
The “something” is usually a black box algorithm like “solve this simple optimization problem.” The output of the “something” is interpreted as a reward or penalty, and the weights are updated according to the severity of the penalty (the details of how this is done differ depending on the goal). In this light one can interpret MWUA as minimizing regret with respect to the best alternative element one could have chosen in hindsight. In fact, this was precisely the technique we used to attack the adversarial bandit learning problem (the Exp3 algorithm is a multiplicative weight scheme). See this lengthy technical survey of Arora and Kale for a research-level discussion of the algorithm and its applications.
Now let’s remind ourselves of the formal definition of PAC. If you’ve read the previous post on the PAC model, this next section will be redundant.
Distributions, hypotheses, and targets
In PAC-learning you are trying to give labels to data from some set
. There is a distribution
producing data from
, and it’s used for everything: to provide data the algorithm uses to learn, to measure your accuracy, and every other time you might get samples from
. You as the algorithm designer don’t know what
is, and a successful learning algorithm has to work no matter what
is. There’s some unknown function
called the target concept, which assigns a
label to each data point in
. The target is the function we’re trying to “learn.” When the algorithm draws an example from
, it’s allowed to query the label
and use all of the labels it’s seen to come up with some hypothesis
that is used for new examples that the algorithm may not have seen before. The problem is “solved” if
has low error on all of
.
To give a concrete example let’s do spam emails. Say that
is the set of all emails, and
is the distribution over emails that get sent to my personal inbox. A PAC-learning algorithm would take all my emails, along with my classification of which are spam and which are not spam (plus and minus 1). The algorithm would produce a hypothesis
that can be used to label new emails, and if the algorithm is truly a PAC-learner, then our guarantee is that with high probability (over the randomness in which emails I receive) the algorithm will produce an
that has low error on the entire distribution of emails that get sent to me (relative to my personal spam labeling function).
Of course there are practical issues with this model. I don’t have a consistent function for calling things spam, the distribution of emails I get and my labeling function can change over time, and emails don’t come according to a distribution with independent random draws. But that’s the theoretical model, and we can hope that algorithms we devise for this model happen to work well in practice.
Here’s the formal definition of the error of a hypothesis
produced by the learning algorithm:
It’s read “The error of
with respect to the concept
we’re trying to learn and the distribution
is the probability over
drawn from
that the hypothesis produces the wrong label.” We can now define PAC-learning formally, introducing the parameters
for “probably” and
for “approximately.” Let me say it informally first:
An algorithm PAC-learns if, for any
and any distribution
, with probability at least
the hypothesis
produced by the algorithm has error at most
.
To flush out the other things hiding, here’s the full definition.
Definition (PAC): An algorithm
is said to PAC-learn the concept class
over the set
if, for any distribution
over
and for any
and for any target concept
, the probability that
produces a hypothesis
of error at most
is at least
. In symbols,
. Moreover,
must run in time polynomial in
and
, where
is the size of an element
.
The reason we need a class of concepts (instead of just one target concept) is that otherwise we could just have a constant algorithm that outputs the correct labeling function. Indeed, when we get a problem we ask whether there exists an algorithm that can solve it. I.e., a problem is “PAC-learnable” if there is some algorithm that learns it as described above. With just one target concept there can exist an algorithm to solve the problem by hard-coding a description of the concept in the source code. So we need to have some “class of possible answers” that the algorithm is searching through so that the algorithm actually has a job to do.
We call an algorithm that gets this guarantee a strong learner. A weak learner has the same definition, except that we replace
by the weak error bound: for some fixed
. the error
. So we don’t require the algorithm to achieve any desired accuracy, it just has to get some accuracy slightly better than random guessing, which we don’t get to choose. As we will see, the value of
influences the convergence of the boosting algorithm. One important thing to note is that
is a constant independent of
, the size of an example, and
, the number of examples. In particular, we need to avoid the “degenerate” possibility that
so that as our learning problem scales the quality of the weak learner degrades toward 1/2. We want it to be bounded away from 1/2.
So just to clarify all the parameters floating around,
will always be the “probably” part of PAC,
is the error bound (the “approximately” part) for strong learners, and
is the error bound for weak learners.
What could a weak learner be?
Now before we prove that you can “boost” a weak learner to a strong learner, we should have some idea of what a weak learner is. Informally, it’s just a ‘rule of thumb’ that you can somehow guarantee does a little bit better than random guessing.
In practice, however, people sort of just make things up and they work. It’s kind of funny, but until recently nobody has really studied what makes a “good weak learner.” They just use an example like the one we’re about to show, and as long as they get a good error rate they don’t care if it has any mathematical guarantees. Likewise, they don’t expect the final “boosted” algorithm to do arbitrarily well, they just want low error rates.
The weak learner we’ll use in this post produces “decision stumps.” If you know what a decision tree is, then a decision stump is trivial: it’s a decision tree where the whole tree is just one node. If you don’t know what a decision tree is, a decision stump is a classification rule of the form:
Pick some feature
and some value of that feature
, and output label
if the input example has value
for feature
, and output label
otherwise.
Concretely, a decision stump might mark an email spam if it contains the word “viagra.” Or it might deny a loan applicant a loan if their credit score is less than some number.
Our weak learner produces a decision stump by simply looking through all the features and all the values of the features until it finds a decision stump that has the best error rate. It’s brute force, baby! Actually we’ll do something a little bit different. We’ll make our data numeric and look for a threshold of the feature value to split positive labels from negative labels. Here’s the Python code we’ll use in this post for boosting. This code was part of a collaboration with my two colleagues Adam Lelkes and Ben Fish. As usual, all of the code used in this post is available on Github.
First we make a class for a decision stump. The attributes represent a feature, a threshold value for that feature, and a choice of labels for the two cases. The classify function shows how simple the hypothesis is.
class Stump: def __init__(self): self.gtLabel = None self.ltLabel = None self.splitThreshold = None self.splitFeature = None def classify(self, point): if point[self.splitFeature] >= self.splitThreshold: return self.gtLabel else: return self.ltLabel def __call__(self, point): return self.classify(point)
Then for a fixed feature index we’ll define a function that computes the best threshold value for that index.
def minLabelErrorOfHypothesisAndNegation(data, h): posData, negData = ([(x, y) for (x, y) in data if h(x) == 1], [(x, y) for (x, y) in data if h(x) == -1]) posError = sum(y == -1 for (x, y) in posData) + sum(y == 1 for (x, y) in negData) negError = sum(y == 1 for (x, y) in posData) + sum(y == -1 for (x, y) in negData) return min(posError, negError) / len(data) def bestThreshold(data, index, errorFunction): '''Compute best threshold for a given feature. Returns (threshold, error)''' thresholds = [point[index] for (point, label) in data] def makeThreshold(t): return lambda x: 1 if x[index] >= t else -1 errors = [(threshold, errorFunction(data, makeThreshold(threshold))) for threshold in thresholds] return min(errors, key=lambda p: p[1])
Here we allow the user to provide a generic error function that the weak learner tries to minimize, but in our case it will just be
minLabelErrorOfHypothesisAndNegation. In words, our threshold function will label an example as
if feature
has value greater than the threshold and
otherwise. But we might want to do the opposite, labeling
above the threshold and
below. The
bestThreshold function doesn’t care, it just wants to know which threshold value is the best. Then we compute what the right hypothesis is in the next function.
def buildDecisionStump(drawExample, errorFunction=defaultError): # find the index of the best feature to split on, and the best threshold for # that index. A labeled example is a pair (example, label) and drawExample() # accepts no arguments and returns a labeled example. data = [drawExample() for _ in range(500)] bestThresholds = [(i,) + bestThreshold(data, i, errorFunction) for i in range(len(data[0][0]))] feature, thresh, _ = min(bestThresholds, key = lambda p: p[2]) stump = Stump() stump.splitFeature = feature stump.splitThreshold = thresh stump.gtLabel = majorityVote([x for x in data if x[0][feature] >= thresh]) stump.ltLabel = majorityVote([x for x in data if x[0][feature] < thresh]) return stump
It’s a little bit inefficient but no matter. To illustrate the PAC framework we emphasize that the weak learner needs nothing except the ability to draw from a distribution. It does so, and then it computes the best threshold and creates a new stump reflecting that. The
majorityVote function just picks the most common label of examples in the list. Note that drawing 500 samples is arbitrary, and in general we might increase it to increase the success probability of finding a good hypothesis. In fact, when proving PAC-learning theorems the number of samples drawn often depends on the accuracy and confidence parameters
. We omit them here for simplicity.
Strong learners from weak learners
So suppose we have a weak learner
for a concept class
, and for any concept
from
it can produce with probability at least
a hypothesis
with error bound
. How can we modify this algorithm to get a strong learner? Here is an idea: we can maintain a large number of separate instances of the weak learner
, run them on our dataset, and then combine their hypotheses with a majority vote. In code this might look like the following python snippet. For now examples are binary vectors and the labels are
, so the sign of a real number will be its label.
def boost(learner, data, rounds=100): m = len(data) learners = [learner(random.choice(data, m/rounds)) for _ in range(rounds)] def hypothesis(example): return sign(sum(1/rounds * h(example) for h in learners)) return hypothesis
This is a bit too simplistic: what if the majority of the weak learners are wrong? In fact, with an overly naive mindset one might imagine a scenario in which the different instances of
have high disagreement, so is the prediction going to depend on which random subset the learner happens to get? We can do better: instead of taking a majority vote we can take a weighted majority vote. That is, give the weak learner a random subset of your data, and then test its hypothesis on the data to get a good estimate of its error. Then you can use this error to say whether the hypothesis is any good, and give good hypotheses high weight and bad hypotheses low weight (proportionally to the error). Then the “boosted” hypothesis would take a weighted majority vote of all your hypotheses on an example. This might look like the following.
# data is a list of (example, label) pairs def error(hypothesis, data): return sum(1 for x,y in data if hypothesis(x) != y) / len(data) def boost(learner, data, rounds=100): m = len(data) weights = [0] * rounds learners = [None] * rounds for t in range(rounds): learners[t] = learner(random.choice(data, m/rounds)) weights[t] = 1 - error(learners[t], data) def hypothesis(example): return sign(sum(weight * h(example) for (h, weight) in zip(learners, weights))) return hypothesis
This might be better, but we can do something even cleverer. Rather than use the estimated error just to say something about the hypothesis, we can identify the mislabeled examples in a round and somehow encourage
to do better at classifying those examples in later rounds. This turns out to be the key insight, and it’s why the algorithm is called AdaBoost (Ada stands for “adaptive”). We’re adaptively modifying the distribution over the training data we feed to
based on which data
learns “easily” and which it does not. So as the boosting algorithm runs, the distribution given to
has more and more probability weight on the examples that
misclassified. And, this is the key,
has the guarantee that it will weak learn no matter what the distribution over the data is. Of course, it’s error is also measured relative to the adaptively chosen distribution, and the crux of the argument will be relating this error to the error on the original distribution we’re trying to strong learn.
To implement this idea in mathematics, we will start with a fixed sample
drawn from
and assign a weight
to each
. Call
the true label of an example. Initially, set
to be 1. Since our dataset can have repetitions, normalizing the
to a probability distribution gives an estimate of
. Now we’ll pick some “update” parameter
(this is intentionally vague). Then we’ll repeat the following procedure for some number of rounds
.
- Renormalize the
to a probability distribution.
- Train the weak learner
, and provide it with a simulated distribution
that draws examples
according to their weights
. The weak learner outputs a hypothesis
.
- For every example
mislabeled by
, update
by replacing it with
.
- For every correctly labeled example replace
with
.
At the end our final hypothesis will be a weighted majority vote of all the
, where the weights depend on the amount of error in each round. Note that when the weak learner misclassifies an example we increase the weight of that example, which means we’re increasing the likelihood it will be drawn in future rounds. In particular, in order to maintain good accuracy the weak learner will eventually have to produce a hypothesis that fixes its mistakes in previous rounds. Likewise, when examples are correctly classified, we reduce their weights. So examples that are “easy” to learn are given lower emphasis. And that’s it. That’s the prize-winning idea. It’s elegant, powerful, and easy to understand. The rest is working out the values of all the parameters and proving it does what it’s supposed to.
The details and a proof
Let’s jump straight into a Python program that performs boosting.
First we pick a data representation. Examples are pairs
whose type is the tuple
(object, int). Our labels will be
valued. Since our algorithm is entirely black-box, we don’t need to assume anything about how the examples
are represented. Our dataset is just a list of labeled examples, and the weights are floats. So our boosting function prototype looks like this
# boost: [(object, int)], learner, int -> (object -> int) # boost the given weak learner into a strong learner def boost(examples, weakLearner, rounds): ...
And a weak learner, as we saw for decision stumps, has the following function prototype.
# weakLearner: (() -> (list, label)) -> (list -> label) # accept as input a function that draws labeled examples from a distribution, # and output a hypothesis list -> label def weakLearner(draw): ... return hypothesis
Assuming we have a weak learner, we can fill in the rest of the boosting algorithm with some mysterious details. First, a helper function to compute the weighted error of a hypothesis on some exmaples. It also returns the correctness of the hypothesis on each example which we’ll use later.
# compute the weighted error of a given hypothesis on a distribution # return all of the hypothesis results and the error def weightedLabelError(h, examples, weights): hypothesisResults = [h(x)*y for (x,y) in examples] # +1 if correct, else -1 return hypothesisResults, sum(w for (z,w) in zip(hypothesisResults, weights) if z < 0)
Next we have the main boosting algorithm. Here
draw is a function that accepts as input a list of floats that sum to 1 and picks an index proportional to the weight of the entry at that index.
def boost(examples, weakLearner, rounds): distr = normalize([1.] * len(examples)) hypotheses = [None] * rounds alpha = [0] * rounds for t in range(rounds): def drawExample(): return examples[draw(distr)] hypotheses[t] = weakLearner(drawExample) hypothesisResults, error = computeError(hypotheses[t], examples, distr) alpha[t] = 0.5 * math.log((1 - error) / (.0001 + error)) distr = normalize([d * math.exp(-alpha[t] * h) for (d,h) in zip(distr, hypothesisResults)]) print("Round %d, error %.3f" % (t, error)) def finalHypothesis(x): return sign(sum(a * h(x) for (a, h) in zip(alpha, hypotheses))) return finalHypothesis
The code is almost clear. For each round we run the weak learner on our hand-crafted distribution. We compute the error of the resulting hypothesis on that distribution, and then we update the distribution in this mysterious way depending on some alphas and logs and exponentials. In particular, we use the expression
, the product of the true label and predicted label, as computed in
weightedLabelError. As the comment says, this will either be
or
depending on whether the predicted label is correct or incorrect, respectively. The choice of those strange logarithms and exponentials are the result of some optimization: they allow us to minimize training error as quickly as possible (we’ll see this in the proof to follow). The rest of this section will prove that this works when the weak learner is correct. One small caveat: in the proof we will assume the error of the hypothesis is not zero (because a weak learner is not supposed to return a perfect hypothesis!), but in practice we want to avoid dividing by zero so we add the small 0.0001 to avoid that. As a quick self-check: why wouldn’t we just stop in the middle and output that “perfect” hypothesis? (What distribution is it “perfect” over? It might not be the original distribution!)
If we wanted to define the algorithm in pseudocode (which helps for the proof) we would write it this way. Given
rounds, start with
being the uniform distribution over labeled input examples
, where
has label
. Say there are
input examples.
- For each
:
- Let
be the weak learning algorithm run on
.
- Let
be the error of
on
.
- Let
.
- Update each entry of
by the rule
, where
is chosen to normalize
to a distribution.
- Output as the final hypothesis the sign of
, i.e.
.
Now let’s prove this works. That is, we’ll prove the error on the input dataset (the training set) decreases exponentially quickly in the number of rounds. Then we’ll run it on an example and save generalization error for the next post. Over many years this algorithm and tweaked so that the proof is very straightforward.
Theorem: If AdaBoost is given a weak learner and stopped on round
, and the edge
over random choice satisfies
, then the training error of the AdaBoost is at most
.
Proof. Let
be the number of examples given to the boosting algorithm. First, we derive a closed-form expression for
in terms of the normalization constants
. Expanding the recurrence relation gives
Because the starting distribution is uniform, and combining the products into a sum of the exponents, this simplifies to
Next, we show that the training error is bounded by the product of the normalization terms
. This part has always seemed strange to me, that the training error of boosting depends on the factors you need to normalize a distribution. But it’s just a different perspective on the multiplicative weights scheme. If we didn’t explicitly normalize the distribution at each step, we’d get nonnegative weights (which we could convert to a distribution just for the sampling step) and the training error would depend on the product of the weight updates in each step. Anyway let’s prove it.
The training error is defined to be
. This can be written with an indicator function as follows:
Because the sign of
determines its prediction, the product is negative when
is incorrect. Now we can do a strange thing, we’re going to upper bound the indicator function (which is either zero or one) by
. This works because if
predicts correctly then the indicator function is zero while the exponential is greater than zero. On the other hand if
is incorrect the exponential is greater than one because
when
. So we get
and rearranging the formula for
from the first part gives
Since the
forms a distribution, it sums to 1 and we can factor the
out. So the training error is just bounded by the
.
The last step is to bound the product of the normalization factors. It’s enough to show that
. The normalization constant is just defined as the sum of the numerator of the terms in step D. i.e.
We can split this up into the correct and incorrect terms (that contribute to
or
in the exponent) to get
But by definition the sum of the incorrect part of
is
and
for the correct part. So we get
Finally, since this is an upper bound we want to pick
so as to minimize this expression. With a little calculus you can see the
we chose in the algorithm pseudocode achieves the minimum, and this simplifies to
. Plug in
to get
and use the calculus fact that
to get
as desired.
This is fine and dandy, it says that if you have a true weak learner then the training error of AdaBoost vanishes exponentially fast in the number of boosting rounds. But what about generalization error? What we really care about is whether the hypothesis produced by boosting has low error on the original distribution
as a whole, not just the training sample we started with.
One might expect that if you run boosting for more and more rounds, then it will eventually overfit the training data and its generalization accuracy will degrade. However, in practice this is not the case! The longer you boost, even if you get down to zero training error, the better generalization tends to be. For a long time this was sort of a mystery, and we’ll resolve the mystery in the sequel to this post. For now, we’ll close by showing a run of AdaBoost on some real world data.
The “adult” census dataset
The “adult” dataset is a standard dataset taken from the 1994 US census. It tracks a number of demographic and employment features (including gender, age, employment sector, etc.) and the goal is to predict whether an individual makes over $50k per year. Here are the first few lines from the training set. 37, Private, 284582, Masters, 14, Married-civ-spouse, Exec-managerial, Wife, White, Female, 0, 0, 40, United-States, <=50K
We perform some preprocessing of the data, so that the categorical examples turn into binary features. You can see the full details in the github repository for this post; here are the first few post-processed lines (my newlines added).
>>> from data import adult >>> train, test = adult.load() >>> train[:3] [((39, 1, 0, 0, 0, 0, 0, 1, 0, 0, 13, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 2174, 0, 40, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), -1), ((50, 1, 0, 1, 0, 0, 0, 0, 0, 0, 13, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 13, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), -1), ((38, 1, 1, 0, 0, 0, 0, 0, 0, 0, 9, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 40, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), -1)]
Now we can run boosting on the training data, and compute its error on the test data.
>>> from boosting import boost >>> from data import adult >>> from decisionstump import buildDecisionStump >>> train, test = adult.load() >>> weakLearner = buildDecisionStump >>> rounds = 20 >>> h = boost(train, weakLearner, rounds) Round 0, error 0.199 Round 1, error 0.231 Round 2, error 0.308 Round 3, error 0.380 Round 4, error 0.392 Round 5, error 0.451 Round 6, error 0.436 Round 7, error 0.459 Round 8, error 0.452 Round 9, error 0.432 Round 10, error 0.444 Round 11, error 0.447 Round 12, error 0.450 Round 13, error 0.454 Round 14, error 0.505 Round 15, error 0.476 Round 16, error 0.484 Round 17, error 0.500 Round 18, error 0.493 Round 19, error 0.473 >>> error(h, train) 0.153343 >>> error(h, test) 0.151711
This isn’t too shabby. I’ve tried running boosting for more rounds (a hundred) and the error doesn’t seem to improve by much. This implies that finding the best decision stump is not a weak learner (or at least it fails for this dataset), and we can see that indeed the training errors across rounds roughly tend to 1/2.
Though we have not compared our results above to any baseline, AdaBoost seems to work pretty well. This is kind of a meta point about theoretical computer science research. One spends years trying to devise algorithms that work in theory (and finding conditions under which we can get good algorithms in theory), but when it comes to practice we can’t do anything but hope the algorithms will work well. It’s kind of amazing that something like Boosting works in practice. It’s not clear to me that weak learners should exist at all, even for a given real world problem. But the results speak for themselves.
Next time
Next time we’ll get a bit deeper into the theory of boosting. We’ll derive the notion of a “margin” that quantifies the confidence of boosting in its prediction. Then we’ll describe (and maybe prove) a theorem that says if the “minimum margin” of AdaBoost on the training data is large, then the generalization error of AdaBoost on the entire distribution is small. The notion of a margin is actually quite a deep one, and it shows up in another famous machine learning technique called the Support Vector Machine. In fact, it’s part of some recent research I’ve been working on as well. More on that in the future.
If you’re dying to learn more about Boosting, but don’t want to wait for me, check out the book Boosting: Foundations and Algorithms, by Freund and Schapire.
Until next time!
Good post! I came here knowing nothing about Adaboost but now I think i understand the concept 🙂 . But I think you should make some clarifications: The “epsilon t” in the proof, which you simply refer to as ” the error of ht on Dt” is actually the weighted training error (sum of all D which are misclassified), while the “training error” that you mentioned in the second part of the proof is the “real error” (the number of misclassified examples). Just my two cents 🙂
And by the way, I just realized that they chose the “decision stump” as a weak learner for a reason: you know, given a data “x”, the decision stump evaluates w*x (think of it as a simple linear classifier), then if w*x >= threshold, return 1, else return -1. With this definition, it can be shown that we can always have a decision stump that correctly classifies at least half of the data (therefore satisfying the weak learner criterion) as follows: suppose the results are not more than 50% correct, then we make another decision stump: w*x = threshold, return 1 , else return -1. So the decision stump can always be considered a weak learner. I wonder if this is correct? 😦
You’re right that decision stumps will always get >= 50% of the data right, but unfortunately that’s not sufficient to make them weak learners. By way of counterexample: take as your dataset the set of all binary strings of length
, and the goal is to learn the parity (whether there’s an odd or even number of 1’s in the string). With high probability, a sample drawn from this dataset will have positive labels for a
fraction no matter which bit you use in the decision stump!, and as n tends to infinity this tends to 1/2. To be a weak learner, you need a *constant* advantage over random guessing, not one that diminishes as n grows.
But why O(1/n) ? I thought the probability for odd number of 1’s is equal to the probability for even number number of 1’s (e.g, if you have 001 , which is odd, you flip the bits to get 110 which is even, therefore the fractions must be equal?) 😦
The 1/n is the error term. What I mean is that in a learning problem you draw a random (small) sample of items to learn from, and in the random choices made to create that sample, you might not get exactly half. But you’ll still get very close.
Hi, I really like your explanation with mathematic formulation and code and I wonder when the next post about boosting will come.
And just one question, since we can connect weak learner with strong learner in a clever way like adaboost, I wonder if there is any algorithm can do the same but achieve other error bound or any other variants.
the sequel to this post is at:
How can we proof that the draw() function in utils.py can pick the indexes proportionately by their weights?
Great post again. I have had the sudden realization that one of the reasons I find your posts easier to understand than the CS (or ML or stats) literature is because you have a math background. Its the same reason I shut down reading physics books by physicists but have no trouble following math ones (like arnold). I used to think its a notational thing but its not. This might sound strange but I think because math people are much let anxious about symbolic usage and let the notations follow the narrative, on other hand quantitative fields try too hard to get ‘mathy’ and overdo it with the symbol pushing (econ is the worst offender here).
I’m not sure I understand the minLabelErrorOfHypothesisAndNegation function. It seems to count the number of misclassifications (posError) and the number of correct classifications (negError). Then it returns the minimum of a posError or negError rate. This seems to be used as the default error function in the code. But how is this an error rate when negError < posError? Since that counts correctly classified examples, wouldn't it be 1-error rate?
I'm likely missing something obvious here and appreciate any light anyone can shed. Thank you for an excellent post on boosting.
|
https://jeremykun.com/2015/05/18/boosting-census/?like_comment=54945&_wpnonce=a8be5d15ec
|
CC-MAIN-2019-51
|
en
|
refinedweb
|
Dear All,
I’ve installed VS 2012 , created a WPF app , add to it Entity Model (EF5)
I’ve added some entity to the model (customer , order , ..)
When I opened the data source window - in order to drag and drop them to the window so I can create the data grid-
I could not find my entity sets
I’ve tried to add data source manually :
Add new data source -> Object -> my application namespace
I found the classes created by EF Temple (customer, order) and the entity container that contain the entities sets, I’ve added all of them, the same result happens :
When I drag them to the designer , a gird is added , but when I run the application the grid didn’t display any data.
I’ve tried to solved this by assigning the DataContext of the grid to an instance of the entity set in code at run time:
Var dc = New MyEntitiesContainer();
CustomarsGrid.DataContect = dc.CustomarSet.Local ();
Didn’t work ether.
Why is this problem , is it cause the EF5 uses DbContex? and is there a better way to solve it ?
Cause now , I can’t have a master details grid , automatically binged from the designer drag and drop .
i found the answer her
|
https://social.msdn.microsoft.com/Forums/en-US/d4730ab9-8499-43cd-b79b-4bbd7977a413/vs-2012-ef-5-data-source-not-showing-my-entities?forum=vswpfdesigner
|
CC-MAIN-2019-51
|
en
|
refinedweb
|
Hi Hoss,
> : I think the initial geosearch feature can start off with
> : <str>10,20</str> for a point.
>
> +1.
Fundamentally, how is a string a point?
>
> The current XML format SOlr uses was designed to be extremely simple, very
> JSON-esque, and easily parsable by *anyone* in any langauge, without
> needing special knowledge of types .
Whoah. I'm totally confused now. Why have FieldTypes then? When not just use
Lucene? The use case for FieldTypes is _not_ just for indexing, or querying.
It's also for representation?
> It has been heavily advertised as
> only containing a very small handful of tags, representing primitive types
> (int, long, float, date, double, str) and basic collections (arr, lst,
> doc) ... even if id neverh ad a formal shema/DTD.
Which is leading to this confusion. Your argument is kind of weird too --
just because you never had or advertised a feature like this (which SOLR
allowed for a while I think), why prevent it? Allowing namespaces does _not_
break anything.
> adding new tags to that
> -- name spaced or otherwise -- is a very VERY bad idea for clients who
> have come to expect that they can use very simple parsing code to access
> all the data.
I disagree. I've got a number of projects here that could potentially use
this across multiple domains (planetary science, cancer research, earth
science, space science, etc.) and they all need this capability. Also what's
"simple" have to do with anything? Even "simple" parsers will parse what
SOLR-1586 outputs.
>
> introducing a new 'point" concept, wether as <point> or as
> <georss:point/>, is going to break things for people.
Show me an example, I fundamentally disagree with this.
>
> As discussed with Mattman in another thread -- some public methods in
> XMLWriter have inadvertantly made it possible for plugin writers to add
> their own XML tags -- but that doesn't mean we should do it in the core
> Solr distribution.
And why is that? Isn't the point of SOLR to expand to use cases brought up
by users of the system? As long as those use cases can be principally
supported, without breaking backwards compatibility (or in that case, if
they do, with large blinking red text that says it), then you're shutting
people out for 0 benefit? It's aesthetics we're talking about here.
> If you write your own custom XMLWriter you aren't
> allowed to be suprised when it contains new tags, but our "out of hte box"
> users shouldn't have to deal with such suprises.
What surprise -- their code won't break?
>
> As also discussed in that same thread thread: it makes a lot of sense
> in the long run to start having Response Writers that can generate more
> "rich" XML based responses and if there are already well defined standards
> for some of these concepts (like georss) then by all means we should
> support them -- but the existing XmlResponseWriter should NOT start
> generating new tags.
I agree with this, but rather than waiting for that to come 2-3 months down
the road, why not buy into the need for this now, with what exists?
>
> The contract for SolrQueryResponse has always said:
>
>>>>>> A SolrQueryResponse may contain the following types of Objects
>>>>>> generated by the SolrRequestHandler that processed the request.
>>>>>> ...
>>>>>> Other data types may be added to the SolrQueryResponse, but there
is
>>>>>> no guarantee that QueryResponseWriters will be able to deal with
>>>>>> unexpected types.
>
> ...unless things have changed since hte last time i looked, all of the
> "out of the box" response writers call "toString()" on any object they
> don't understand.
Actually most of them call some variation of #toExternal, regardless, which
returns a String. Also, #toInternal returns the same type, a String.
> So the best way to move forward in a flexible manner
> seems like it would be to add a new "GeoPoint" object to Solr, which
> toStrings to a simple "-34.56,67.89" for use by existing response writers
> as a string, but some newer smarter response writer could output it in
> some more sophisticated manner.
I'm not convinced of that.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
http://mail-archives.apache.org/mod_mbox/lucene-solr-dev/200912.mbox/%3CC74538D0.75E5%25Chris.A.Mattmann@jpl.nasa.gov%3E
|
CC-MAIN-2019-51
|
en
|
refinedweb
|
Execute a file
#include <process.h> int execve( const char * path, char * const argv[], char * const envp[] );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The execve() function replaces the current process image with a new process image specified by path. The new image is constructed from a regular, executable file called the new process image file. No return is made because the calling process image is replaced by the new process image. path path. Similarly, if the set-group ID mode bit is set, the effective group ID of the new process is set to the group ID of path.
|
http://www.qnx.com/developers/docs/qnxcar2/topic/com.qnx.doc.neutrino.lib_ref/topic/e/execve.html
|
CC-MAIN-2019-51
|
en
|
refinedweb
|
hi. when i run method test_login in soapUI (any version):
@ladonize(str, str, rtype=str)
def test_login(self, username, password):
return "test"
i get error:
Traceback (most recent call last):
File "/home/
output = dispatcher.
File "/home/
req_dict = self.iface.
File "/home/
return self._request_
File "/home/
m = re.match(
File "/home/
return _compile(pattern, flags).
TypeError: expected string or buffer
but in console client in python-console:
from suds.client import Client
url = 'http://
client1 = Client(url)
client1.
it work it return 'test'
what is happend in soapui ?
Thanks
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- ladon Edit question
- Assignee:
- jsgaarde Edit question
- Last query:
- 2011-07-29
- Last reply:
- 2012-01-08
Maybe that has something to do with SUDS honoring the SOAP 1.1 standard and soapUI isn't. From the error you sent it looks like soapUI is not sending the namespace prefix when posting a request. Can you use some kind of sniffer program like Wireshark to examine and send the raw request?
I almost certainly can garantee that it will look something like:
...
<SOAP-ENV:
</test_login>
...
It should send something like:
...
<SOAP-ENV:
</test_login>
...
BTW:
The ServiceExample service at the ladonize.org site is not official and therefore not refered to under examples. It has no implementation, but the WSDL it preoduces is correct. Calling it will fail. The only reason that service is there is for testing because we are redesigning the browsable API catalog.
Best Regards Jakob Simon-Gaarde
Support soapUI is bad because they not want to fix theirs bugs because I am not use pro version.
shit proprietary software. :)
I just took a quick look at soapUI - and saw it is a test library. I suggest you use suds and Pythons unittest framework in combination.
:-)
Support for soapUI was commited later on
your wsdl from http://
ladonize. org/python- demos/ServiceEx ample// soap/descriptio n
it not work too
|
https://answers.launchpad.net/ladon/+question/166247
|
CC-MAIN-2019-51
|
en
|
refinedweb
|
In the last couple of React tutorials, you got familiar with basic React concepts like JSX, routing, and forms. In this tutorial, we'll take it to the next level and try to understand animations in React.
Getting Started
Create a directory called
ReactAnimations. Navigate to the directory and initiate the project using Node Package Manager or npm.
mkdir ReactAnimations cd ReactAnimations npm init
Install
react and
react-dom to the project.
npm install react react-dom --save
We'll be using
webpack module bundler for this project. Install
webpack and webpack development server.
npm install webpack webpack-dev-server --save-dev
Install the
babel package to convert
JSX syntax to JavaScript in our project.
npm install --save-dev babel-core babel-loader babel-preset-react babel-preset-es2015
Create a configuration file required by
webpack-dev-server where we'll define the entry file, output file, and the babel loader. Here is how
webpack.config.js looks:
module.exports = { entry: './app.js', module: { loaders: [ { exclude: /node_modules/, loader: 'babel-loader?presets[]=es2015&presets[]=react' } ] }, output: { filename: 'bundle.js' } };
Create an
index.html file where the application will be rendered. Here is how it looks:
<html> <head> <title>TutsPlus - React Animations</title> </head> <body> <div id="app"></div> <script src="bundle.js"></script> </body> </html>
Create a file called
app.js. Inside
app.js import the required react libraries as shown:
import React from 'react'; import {render} from 'react-dom';
Create a stateless component called
Home which renders a
H1 tag.
const Home = () => { return ( <h2>{'TutsPlus - Welcome to React Animations!'}</h2> ); };
Render the Home component inside the app element in the
index.html page. Here is how
app.js looks:
import React from 'react'; import {render} from 'react-dom'; const Home = () => { return ( <h2>{'TutsPlus - Welcome to React Animations'}</h2> ); }; render( <Home />, document.getElementById('app') );
Save the above changes and start the
webpack server. You should have your app running at.
Animations in React
React provides a number of add-on utilities for creating React apps.
TransitionGroup and
CSSTransitionGroup are the APIs provided for animation.
From the official documentation,
The
ReactTransitionGroupadd-on component is a low-level API for animation, and
ReactCSSTransitionGroupis an add-on component for easily implementing basic CSS animations and transitions.
Appear Animation
Let's start by trying out a simple animation in React. Install the
react-addons-css-transition-group to the project.
npm install react-addons-css-transition-group --save
Import
ReactCSSTransitionGroup inside the
app.js file.
import ReactCSSTransitionGroup from 'react-addons-css-transition-group'
Inside the
Home component that you created, wrap up the
h2 tag inside the
ReactCSSTransitionGroup tag.
<div> <ReactCSSTransitionGroup transitionName="anim" transitionAppear={true} transitionAppearTimeout={5000} transitionEnter={false} transitionLeave={false}> <h2>{'TutsPlus - Welcome to React Animations'}</h2> </ReactCSSTransitionGroup> </div>
Using the
ReactCSSTransitionGroup tag, you have defined the portion where animation would take place. You have specified a name for the transition using
transitionName. You have also defined whether the transition appear, enter and leave should happen or not.
Using the transition name defined inside the
ReactCSSTransitionGroup, you'll define the CSS classes which would be executed on appear and when in active state. Add the following CSS style to the
index.html page.
.anim-appear { opacity: 0.01; } .anim-appear.anim-appear-active{ opacity: 2; transition: opacity 5s ease-in; }
As you would have noticed, you need to specify the animation duration both in the render method and in the CSS. It's because that's how React knows when to remove the animation classes from the element and when to remove the element from the DOM.
Save the above changes and refresh the page. Once the page has loaded, within a few seconds you should be able to see the animated text.
Enter/Leave Animation
To get a better understanding of the enter and leave animation, we'll create a small React application. The app would have an input text box to enter the name. You'll see how to add the enter animation when a name is added to the list.
Inside
app.js, create a new class called
App.
class App extends React.Component { }
Initialize a
data list and a
name variable inside the initial state of the component.
class App extends React.Component { constructor(props) { super(props); this.state = { data: [], name:'' }; } }
Inside the render portion of the App component, place an input text box for entering the name and a button to add the name to the array list.
<div> Enter Name <input onChange={this.handleChange} <input onClick={this.add} </div>
Define the input
handleChange event and the
add event inside the App component.
handleChange(e){ this.setState({name:e.target.value}) }
The
handleChange event sets the value of the input text box to the
name variable. Here is how the add method looks:
add(){ var arr = this.state.data.slice(); arr.push({'id':(new Date()).getTime(),'name':this.state.name}) this.setState({data:arr}) }
Inside the
add method, the entered name and a unique ID is pushed to the
data array list.
Bind the
handleChange and
add method in the App component's constructor.
constructor(props) { super(props); this.add = this.add.bind(this); this.handleChange = this.handleChange.bind(this); this.state = { data: [], name:'' }; }
You'll be displaying the entered names inside a list. Modify the render HTML code to add the list.
<ul> { this.state.data.map(function(player) { return <li key={player.id}>{player.name}</li> }) } </ul>
To animate the newly added items, we'll add the
ReactCSSTransitionGroup tag over the
li elements.
<ul> <ReactCSSTransitionGroup transitionName="anim" transitionAppear={false} transitionEnterTimeout={5000} transitionEnter={true} transitionLeave={false}> { this.state.data.map(function(player) { return <li key={player.id}>{player.name}</li> }) } </ReactCSSTransitionGroup> </ul>
Add the following
CSS transition style to the
index.html page.
.anim-enter { opacity: 0.01; } .anim-enter.anim-enter-active { opacity: 2; transition: opacity 5s ease-in; }
Here is the complete App component:
class App extends React.Component { constructor(props) { super(props); this.add = this.add.bind(this); this.handleChange = this.handleChange.bind(this); this.state = { data: [], name:'' }; } add(){ var arr = this.state.data.slice(); arr.push({'id':(new Date()).getTime(),'name':this.state.name}) this.setState({data:arr}) } handleChange(e){ this.setState({name:e.target.value}) } render() { return ( <div> Enter Name <input onChange={this.handleChange} <input onClick={this.add} <ul> <ReactCSSTransitionGroup transitionName="anim" transitionAppear={false} transitionEnterTimeout={3000} transitionEnter={true} transitionLeave={false}> { this.state.data.map(function(player) { return <li key={player.id}>{player.name}</li> }) } </ReactCSSTransitionGroup> </ul> </div> ) } }
Save the above and refresh the page. Enter a name and enter the add button, and the item should be added to the list with animation.
Similarly, the leave animation can also be implemented in the above code. Once the delete functionality has been implemented in the application, add the
leave and
leave-active class to the
index.html. Set the
transitionLeave to
True in the
ReactCSSTransitionGroup tag in the render method, and you should be good to go.
Wrapping It Up
In this tutorial, you saw how to get started with using animations in React. You created a simple React app and saw how to implement the appear and enter animation. For in-depth information on animations in React, I would recommend reading the official documentation.
The source code from this tutorial is available on GitHub.
Over the last couple of year, React has grown in popularity. In fact, we’ve a number of items in the marketplace that are available for purchase, review, implementation, and so on. If you’re looking for additional resources around React, don’t hesitate to check them out.
Do let us know your thoughts in the comments below. Have a look at my Envato Tuts+ instructor page for more tutorials on React and related web technologies.
Envato Tuts+ tutorials are translated into other languages by our community members—you can be involved too!Translate this post
|
https://code.tutsplus.com/tutorials/introduction-to-animations-in-reactjs--cms-28083
|
CC-MAIN-2019-51
|
en
|
refinedweb
|
This blog post talks about using Terraform workspaces as a mechanism to maintain consistent environments across multiple cloud regions. While the examples in the post are AWS-centric, the concepts highlighted here are really cloud agnostic.
Short intro to Terraform State & Workspaces
For Terraform to be able to map resources in your config files to resources that have been provisioned in AWS or any other provider, it maintains a sort of lookup table in the form of the “Terraform State”. For example, if you were to have the following in your tf project
resource "aws_s3_bucket" "my-s3-bucket" { bucket = "my-s3-bucket" acl = "private" tags { Name = "my-s3-bucket" Environment = "dev" } }
Terraform will maintain a reference to the ARN of the actual S3 bucket and its other attributes in its state file, like so
{ "type": "aws_s3_bucket", "primary": { "id": "my-s3-bucket", "attributes": { "acceleration_status": "", "acl": "private", "arn": "arn:aws:s3:::my-s3-bucket", "bucket": "my-s3-bucket", "cors_rule.#": "0", "force_destroy": "false", "id": "my-s3-bucket", "logging.#": "0", "region": "us-east-1", "replication_configuration.#": "0", "server_side_encryption_configuration.#": "0", "tags.%": "2", "tags.Environment": "dev", "tags.Name": "my-s3-bucket", "versioning.#": "1", "versioning.0.enabled": "false", "versioning.0.mfa_delete": "false" }, "meta": {}, "tainted": false }, "deposed": [], "provider": "provider.aws.east1" }
Within a Terraform state, there can only be one resource for a given name. In it’s simplest form, if I wanted to create many instances of resources like S3 buckets, for example, I would define multiple resources in my terraform config - one per resource. This becomes a bit tedious (not to mention a big violation of the DRY principle) when all the resources are exactly the same in terms of configuration except for, perhaps, its name. This is especially true for services like AWS API Gateway where Terraform configs requires at least 5-6 resources to be defined for even a simplistic “Hello World” type scenario.
Terraform workspaces (previously referred to as Terraform environments), is a way to address this concern with repetitive configurations. It is essentially a mechanism to partition the Terraform state so that many instances to the same resource can exists within it. The most commonly stated use case for this is to define a resource like an ec2 instance or a load balancer once per SDLC environment - in other words, define the resource once but
terraform apply using the same configuration separately for “dev”, “qa”, and “prod” environments. This same capability can also be used to manage multi-region deployments.
The case for multi-region Deployments
Before we talk about how Terraform workspaces can solve for multi-region deployments, I do want to take a moment to talk about “why” we want to have multi-region deployments. It comes down to
- You have a desire to insulate yourself against the failure of an entire cloud region. While unlikely, we have seen occurrences where an entire AWS cloud region (comprised to multiple availability zones) has had cascading failures bringing down the entire region altogether. Depending upon the business criticality of the services that you are running in the cloud, that may or may not be an acceptable risk.
- You have a desire to reduce service latency for your customers. This is especially true for global businesses where you’d like to make sure, for example, that your customers in Asia are not forced to go half way across the globe to retrieve an image from an S3 bucket in N. Virginia.
- You have a desire for complete isolation between regions for the purposes of blue-green type deployments across regions. For example, you would like to limit the availability of a modified API Gateway end point to a single region so as to monitor and isolate failures to that single region.
Configuration
Our intent from this point on is to create a single set of terraform configs that we can then apply to multiple regions. To this end, we will define Terraform workspaces that map to individual regions, and refactor our resources (if needed) so that we don’t have namespace collision in AWS.
We’ll start by defining the configuration to reference the workspace name in our provider definition
provider "aws" { region = "${terraform.workspace}" }
Note that once this config is added,
terraform init will no longer work in the
default workspace, since (as you may have guessed) there is no
default region for AWS. However, if we were to create a workspace corresponding to a valid AWS region and then
terraform init, that would work
shanid:~/dev$ terraform workspace new us-east-1 Created and switched to workspace "us-east-1"! You are now on a new, empty workspace. Workspaces isolate their state, so if you run "terraform plan" Terraform will not see any existing state for this configuration.
Once the workspace is created, we should be able to run
terraform init,
terraform plan and
terraform apply as usual.
Once we have provisioned our resources in this region, create a workspace for a second region and re-run the terraform in that workspace to create the exact same set of AWS resources in that region.
shanid:~/dev$ terraform workspace new us-west-2 Created and switched to workspace "us-west-2"! You are now on a new, empty workspace. Workspaces isolate their state, so if you run "terraform plan" Terraform will not see any existing state for this configuration.
The only (minor) gotcha to look out for is with regards to AWS resources that are global or globally named. IAM is an example of a global resource, and S3 is an example of a resource that has a globally scoped name. Consider the following example,
resource "aws_iam_role" "lambda_role" { name = "my_lambda_role" assume_role_policy = <<EOF { "Version": "2012-10-17", "Statement": [ { "Sid": "", "Effect": "Allow", "Principal": { "Service": "lambda.amazonaws.com" }, "Action": "sts:AssumeRole" } ] } EOF }
If we were to attempt to create this resource in multiple resources, we’d start running into issues. This would work just fine in the first region, but in subsequent regions, you’d start seeing errors when applying your terraform since the resource
my_lambda_role already exists. The easiest way to solve for this, is to include the region/workspace in the name of the resource being created. For example, the following config will create distinctly named IAM roles
resource "aws_iam_role" "lambda_role" { name = "my_lambda_role_${terraform.workspace}" assume_role_policy = <<EOF { "Version": "2012-10-17", "Statement": [ { "Sid": "", "Effect": "Allow", "Principal": { "Service": "lambda.amazonaws.com" }, "Action": "sts:AssumeRole" } ] } EOF }
This would create a
my_lambda_role_us-east-1 role in us-east-1 and a
my_lambda_role_us-west-2 role in us-west-2. And we have maintained our objective of a single configuration that can be deployed seamlessly into multiple regions.
Conclusion
Hopefully this approach makes it easier for you to manage your cross-region deployments much more easily with Terraform. I should acknowledge that using workspaces is probably not the only way to go about solving for this problem, but this is the way that we’ve solved for most of our deployment related challenges with the least possible amount of repetition in our configs.
As always, please feel free to leave a comment if you’re having issues with the sample config or if you’re running into issues that I have not covered in this post.
|
https://shanidgafur.github.io/blog/terraform-workspaces-for-multi-region-deployment
|
CC-MAIN-2019-51
|
en
|
refinedweb
|
Carrying') #set the style we wish to use for our plots sns.set_style("darkgrid") #print first 5 rows of data to ensure it is loaded correctly df.head()
For categorical plots we are going to be mainly concerned with seeing the distributions of a categorical column with reference to either another of the numerical columns or another categorical column. Let’s go ahead and plot the most basic categorical plot whcih is a “barplot”. We need to pass in our x and y column names as arguments, along with the relevant DataFrame we are referring to.
sns.barplot(x="Country",y="Units Sold",data=df)
A barplot is just a general plot which allows us to aggregate the data based on some function – the default function in this case is the mean. You can see from the plot above that we have chosen the “Country” column as the categorical column, and the “Units Sold” column as the column for which we present the mean (i.e. average) of the relevant data held in the “Units Sold” column. So we can now see the average “Units Sold” by “Country”.
We can change the “estimator object” – that is the function by which we aggregate the data by setting the estimator to a statistical function. Let’s import numpy and plot the standard deviation of the data based on the categorical variable “Country”.
import numpy as np sns.barplot(x="Country",y="Units Sold",data=df,estimator=np.std)
As a quick note, the black line that you see crossing through the top of each data bar is actually the confidence interval for that data, with the default being the 95% confidence interval. If you are unsure about what confidence intervals are and need a quick brush up – please find some relevant info here.
Let’s now move on to a “countplot” – this is in essence the same as a barplot except the estimator is explicitly counting the number of occurences. For thar reason we only set the x data.
sns.countplot(x="Segment",data=df)
Here we can see a countplot for the categorical “Segment” DataFrame column.
Now we can move onto boxplots and violinplots. These types of plots are used to show the distribution of categorical data. They are also sometimes called a “box and whisker” plot. It shows the distribution of quantitative data in a way that hopefully facilitates comparison between variables. Let’s create a box plot…
sns.boxplot(x="Segment",y="Profit",data=df)
The boxplot shows the quartiles of the dataset, while the whickers extend to show the rest of the distribuiton. The dots that appear outside of the whiskers are deemed to be outliers.
We can split up these boxplots even further based on another categorical variable, by introducing and “hue” element to the plot.
sns.boxplot(x="Segment",y="Profit",hue="Year",data=df)
Now I see the profit split by “Segment” and also split by “Year”. This is really the power of Seaborn – to be able to add this whiole new layer of data very quickly and very smoothly.
Let’s go on now to speak about violin plots. Let’s create a violin plot below:
sns.violinplot(x="Segment",y="Profit",data=df)
It’s very similar to a boxplot and takes exactly the same arguments. The violinplot, unlike the boxplot, allows us to plot all the components that correspond to actual data points and it’s essenitally showing the kernel density estimation of the underlying distribution. If we split the the “violin” in half and lay it on it’s side – that is the KDE reresentation of the underlying distribution.
FYI the violinplot also allows you to add the “hue” element. However what it also allows you to do, which a box plot doesn’t, is to split the vilion plot to show the different hue on each side. Let me show you below and it will become a lot clearer:
sns.violinplot(x="Segment",y="Profit",data=df,hue="Year",split=True)
Let’s no move on to the “stripplot”. This is a scatter plot where one variable is categorical.
sns.stripplot(x="Segment",y="Profit",data=df)
One peroblem here is that it’s not always easy to see exactly how many individual points there are stakced up, as when they get too close to eachother they merge together. One way to combat this is to add the “jitter” parameter as follows:
sns.stripplot(x="Segment",y="Profit",data=df,jitter=True)
You can also use the “hue” and “split” parameters, similar to the boxplots and violin plots.
Another useful plot that kind of combines a stripplot and a violin plot, is a swarmplot. It’s probably just easiest to show you an example and you will no doubt understand what I mean.
sns.swarmplot(x="Segment",y="Profit",data=df)
As an FYI swarmplots probably aren’t a great choice for really large datasets as it’s quite computaionally expensive to arrange the data points and also it can become quite difficult to fit all the data points on the chart – the swarm plots can become very wide!
Finally let’s look at “factorplots” – these are the most generic of the categorical plots we have come across. Using factorplots you can pass in your data and parametersand then specify the “kind” of plot that you want – wheteher that be for e.g. a bar plot or a violin plot. I will show two quick examples of how to create a bar plot and a violin plot below.
#create bar plot with factorplot method sns.factorplot(x="Segment",y="Profit",data=df,kind="bar") #create violin plot with factorplot method sns.factorplot(x="Segment",y="Profit",data=df,kind="violin")
I prefer to call the plot itself specifically, but just be aware that you can use “factorplot” and then specify the “kind”.
Hi,
Completely off topic but I thought I would be more likely to get a reply on your most recent post.
I have a solid understanding of the basics and have completed the courses on coursera that you suggested.
Your blog posts are very useful however I find that just following what you do isn’t as helpful as discovering it for myself. You never really mention how you actually learnt these processes outlined in your blog posts.
Hi Alex – thanks for your comment, I’m always especially interested to hear opinions such as these relating more to the overall design and delivery of content, rather than relating to the content itself (although of course I am also very interested in those comments too!)
You raise an interesting point here, and actually one that I have thought about myself many times over the couple of years since I began writing this blog. At the very start I did indeed promise that I would concentrate as much on explaining and documenting the learning process itself, as I would on other content.
I agree with you that I have strayed a little from that path, but now is as good a time as any to address that. May I ask – what do you think would be most useful for me to present to do this? Do you mean you would like to see more recommendations of online courses/resources and why and when to use each one? Or do you mean potentially writing more subjectively about my learning process/state of mind and what I did and why I did those things?
Please do let me know what kind of things you want to see, and I will be more than happy to oblige. After all, I write things hoping they will be read…
Thanks for the reply, I think both of the suggestions you offered would be very helpful. Just to give you some background, I have a job in the investment industry although it is not require very much programming at all. When I ask friends how they taught themselves programming they always reply saying that they learnt by needing to use programming to solve a problem but since my work isn’t very heavily programming orientated I find it difficult to do this at work. Therefore, I look to online resources, such as your blog, for guidance on what I could potentially work on and learn.
Hence the thought processes behind why, how, where you learnt to do the processes in each blog post would be useful.
|
https://www.pythonforfinance.net/2018/09/21/seaborn-module-and-python-categorical-plots/?utm_source=rss&utm_medium=rss&utm_campaign=seaborn-module-and-python-categorical-plots
|
CC-MAIN-2019-51
|
en
|
refinedweb
|
In this article I will demonstrate how can you write the code to add the dynamic control on the view via the button click event in WPF with MVVM pattern using prism library.
If you are new in MVVM pattern using Prism Library then you can follow my very first article to start the MVVM and add the dlls into the project from the following:
Now I will show you a demo to add the dynamic control on the view via the click event of a button from the view in view model.
Note:- In this article I am using Visual Studio 2013 and ‘Prism.Unity’ via nugget Packages.
Step 1: Create a project named ‘PrismMVVMTestProject’ of WPF application.
Step 2: It’s a better approach to create the 3 different folders in the project for Model, View and View model respectively.
Step 3: Create pages in all folders,
i. Create a View Named ‘TestView.xaml’ in the Views folder.
ii. Create a Model Named ‘TestModel.cs’ in the Models folder.
iii. Create a ViewModel named ‘TestViewModel.cs’ in the ViewModels folder.
Step 4: Add the namespace named ‘Prism.MVVM’ in the TestModel page to inherit the class named ‘Bindable Base’ and ‘System.Windows.Controls’ for ‘StackPanel’. Create a property named Message where ‘ref‘ parameter allows you to update its value,
Step 5:
a. Add the below namespaces on the TestViewModel page,
b. Create a property of TestModel class object where ‘ref‘ parameter allows you to update its value.
c. Get the stackpanel from the TestView.cs and set it to the model property.
d. Attach a command to the method which will act like event where will add the dynamic label control to the stack panel.
e. Create a dynamic label control and add it to the model property of stackpanel which will reflect on the view.
Step 6:
Step 7: Add ‘PrismMVVMTestProject.ViewModels’ namespace and bind Data Context of TestView Page to the ViewModel named ‘TestViewModel’ constructor with a stack panel as a parameter.
Step 8: Change the ‘StartupUri’ from default page ‘MainWindow’ to ‘TestView’ page,
Run the page and see the output:
After clicking on the ‘Add Label’ button, it will add a dynamic label into the stackpanel
Read more articles on WPF:
View All
|
http://www.c-sharpcorner.com/article/how-to-add-the-dynamic-control-in-to-the-view-from-view-mode/
|
CC-MAIN-2018-09
|
en
|
refinedweb
|
Given a generic parameter TEnum which always will be an enum type, is there any way to cast from TEnum to int without boxing/unboxing?
See this example code. This will box/unbox the value unnecessarily.
private int Foo<TEnum>(TEnum value)
where TEnum : struct // C# does not allow enum constraint
{
return (int) (ValueType) value;
}
.method public hidebysig instance int32 Foo<valuetype
.ctor ([mscorlib]System.ValueType) TEnum>(!!TEnum 'value') cil managed
{
.maxstack 8
IL_0000: ldarg.1
IL_0001: box !!TEnum
IL_0006: unbox.any [mscorlib]System.Int32
IL_000b: ret
}
I'm not sure that this is possible in C# without using Reflection.Emit. If you use Reflection.Emit, you could load the value of the enum onto the stack and then treat it as though it's an int.
You have to write quite a lot of code though, so you'd want to check whether you'll really gain any performance in doing this.
I believe the equivalent IL would be:
.method public hidebysig instance int32 Foo<valuetype .ctor ([mscorlib]System.ValueType) TEnum>(!!TEnum 'value') cil managed { .maxstack 8 IL_0000: ldarg.1 IL_000b: ret }
Note that this would fail if your enum derived from
long (a 64 bit integer.)
EDIT
Another thought on this approach. Reflection.Emit can create the method above, but the only way you'd have of binding to it would be via a virtual call (i.e. it implements a compile-time known interface/abstract that you could call) or an indirect call (i.e. via a delegate invocation). I imagine that both of these scenarios would be slower than the overhead of boxing/unboxing anyway.
Also, don't forget that the JIT is not dumb and may take care of this for you. (EDIT see Eric Lippert's comment on the original question -- he says the jitter does not currently perform this optimisation.)
As with all performance related issues: measure, measure, measure!
|
https://codedump.io/share/jPgKYs5KjdkX/1/c-non-boxing-conversion-of-generic-enum-to-int
|
CC-MAIN-2018-09
|
en
|
refinedweb
|
Coffeehouse Thread60 posts
Forum Read Only
This forum has been made read only by the site admins. No new threads or comments can be added.
Hey Beer, Linux Message Getting Through
Back to Forum: Coffeehouse
Conversation locked
This conversation has been locked by the site admins. No new comments can be made.
Pagination
There's finally a tutorial site on converting your Windows PC to a Linux one. People are listening.
Wow.
I mean I usually disagree with pretty much everything you write but this is pretty low. But it's good to know that I'm not actually a real programmer because in my language Text is different than text.
I don't really know what to say to this other than "no".
They both use the same CLR you are an idiot my friend, stick to linux
That's rediculous. Any programmer that differentiates two identifiers purely by their case should be shot. Even in languages that do support case I never, ever do that. I also don't support it when people use PropertyName for a property and then propertyName for the associated field. It just doesn't show up at first glance.
I have never, ever needed case sensitivity. However, I have had compiler errors more than once because I forgot that for some reason Hashtable has no capital T. Case sensitivity is useless.
I also don't agree VB is for "less experienced developers". It's for RAD, and very good at that. It has nothing to do with experience level.
If you have a situation where case is the only way to avoid a namespace collision, you seriously need to rethink your design.
While we can disagree on the roots of it, VB .Net is not a "cut and paste" language but a fully featured, powerful first-class programming language. It is suitable for advanced and begining users alike.
While I'm sure you weren't trying to make this point earlier, I just figured I'd get us all back on the same page.
Um, OK so you "dont support" the widely accepted industry standard. How do you name your fields and properties then?
oops, double post, sorry
nevermind
Private m_someString as String
Public Property SomeString() As String
Get
Return m_someString
End Get
Set(ByVal value As String)
m_someString = value
End Set
End Property
Much harder to make a mistake this way. And you can use m_ + Intellisense to see all your members.
VB.NET and Old School VB are entirely different languages, you only show your ignorence further my firiend. Do you not understand the difference in the .NET CLR & COM or what? Obviously not.
Similar to what I would use
private string _myStr;
public string MyStr
{
get {return _myStr;}
set {_myStr = value;}
}
I use Marsella's method in C#, Sampy's method in C++, and in VB I use mMemberName.
...
Maybe I should try finding a style that works for all languages...
No. C# is case sensitive because C/C++ were and it's aimed at developers from those backgrounds.
C was only case sensitive because it made compilers quicker and easier.
There is no real excuse for it in a modern filesystem either, it lingers on *nix boxes for legacy reasons (although notably Mac OS X has a case-insensitive filesystem)
BTW, that link is *so* funny.
That was hiliarious and made my day. I love you, Minh.
@Case sensativity:
I don't want to maintain anyone's code where the only difference between private variables and public properties is case. ;(
I got a question about that code: If you need to change the value of that variable in the same class (so you can choose between both), which one should you change? The private variable or the public property?
The public property, as the property might have some pre/post set/get code to process. It is also important in inheritance but I cant quite remember why atm.
The property.
Of course, I would never write code like this. If I had an object, say an employee, who had data that described it I wouldn't write this:
Public Class Employee
Public Property FirstName() As String
Public Property LastName() As String
...
End Class
I'd use a description object:
Public Class Employee
Public ReadOnly Property Description() As Description
End Class
Where Description would look something like:
Public Class Description
Inherits DictionaryBase(Of String, Object)
' Add some events in here to detect state change
End Class
But that's just me
|
https://channel9.msdn.com/Forums/Coffeehouse/36419-Hey-Beer-Linux-Message-Getting-Through
|
CC-MAIN-2018-09
|
en
|
refinedweb
|
I want to port a Windows Phone 8 game to iOS, but I have some trouble with Farseer Physics Engine.I get this error message in the following line:
world = new World(new Vector2(0, 1));The type `Microsoft.Xna.Framework.Vector2' is defined in an assembly that is not referenced.
What is wrong? The code works perfectly in my Windows Phone 8 project. But in Xamarin, I always get this error message.
You can find my project on dropbox: Project
It sounds like the reference to MonoGame in the Farseer project needs to be updated to use the iOS version.
How can I do that? It's my first iOS project.
How can I integrate Farseer Physics in a Xamarin iOS project? Does someone know how to do that?
You have to download the source code for Farseer, and either use Monogame to compile it to an iOS library you can use, or if you're using VS 2015 you should be able to just copy the files from the Farseer project to a new shared project for your game which you reference from your iOS project. I have done that for my Win10 & Android project, all nice and easy.
I use VS 2015 but it's not working. I get many error messages I created a MonoGame iOS project and a shared project. I added the files from the Farseer source code to my shared project and added a reference from the MonoGame iOS project to the shared project.You can find my project on dropbox: projectWhat is wrong with my project? How can I use Farseer on iOS?I want to create a game that runs on Windows Phone and iPhone.
Ahh, you've just added the CSPROJ files. What you need to do is open the Farseer Physics Monogame solution, copy the source folders and class files as-is into the new project, it should look like this:
Obviously, the folders should contain the same structure and content as the Farseer Physics Monogame solution, but only the classes and folders, not the rest of the stuff.
Also, seems like your Monogame for iOS reference is wrong, you might need to delete the reference and re-add it (or re-add the NuGet package).
Give it a go and let me know if you get stuck.
I get this error message:The type or namespace name 'DebugView' does not exist in the namespace 'FarseerPhysics' (are you missing an assembly reference?)What is wrong? I copied all the files from Farseer Physics MonoGame to my shared project and I created a new reference from Monogame for iOS to the shared project.In addition, should I rename the class "DebugViewBase.cs" to "DebugView.cs"?
My project:
If that's your only error (looks like it is), just delete the using statement.
Otherwise, you'll have to do the same thing with the Farseer Physics DebugView project, create a new SharedProject, copy all folders/files in, and reference it from your main project. I haven't done this with my game though, so I'm not 100% sure it's that straight forward. Theoretically it should be
|
http://community.monogame.net/t/farseer-physics-engine-not-working-on-iphone/6975/9
|
CC-MAIN-2018-09
|
en
|
refinedweb
|
I have some cpp code that is looping through an array of char looking for a delimiter. The code saves the chars in a string until it finds the delimiter, then it adds the string to a vector of string and continues processing.
The input char array is,
Cl.N1C=CC=N1.HCl
the delimiter is '.', so the parsed strings should be,
Cl
N1C=CC=N1
HCl
The code seems to work find for the first two strings, but then it seems to stop and not find the third string.
This is the code,
The output from he above is,The output from he above is,Code:
#include <iostream>
#include <vector>
#include <string>
extern "C" { int parse_string_test_( char *INP_PASS, int *LENGTH); }
int parse_string_test_( char *INP_PASS, int *LENGTH ) {
vector<string> found_fragments;
string temp_read;
int i, passed_length;
// number of occupied positions in passed char array
passed_length = *LENGTH;
// print initial values
cout << "char array" << endl;
cout << "LENGTH " << passed_length << endl;
for(i=0; i<passed_length; i++) { cout << INP_PASS[i]; }
cout << endl;
cout << endl;
// parse char array into strings using . as delimiter
for(i=0; i<passed_length; i++) {
// add characters to temp_read until delimiter is found
if(INP_PASS[i] != '.') {
temp_read.push_back(INP_PASS[i]);
}
// when delimiter is found
else if(INP_PASS[i] == '.') {
// add temp read string to vector of string
found_fragments.push_back(temp_read);
cout << "temp_read " << found_fragments.size() << endl;
cout << temp_read << endl;
// clear temp read structure to continue looking for next string
temp_read.clear();
}
}
return 0;
}
char array
LENGTH 16
Cl.N1C=CC=N1.HCl
temp_read 1
Cl
temp_read 2
N1C=CC=N1
...then nothing. The function returns to the calling code, but may not have returned normally, it is hard to tell.
This appears to work up to a point, but does not find the last string HCl. The size of the char array that is passed to the functions prints as correct (16), so the for loop should process all 16 characters in the array. I don't see here why it stops.
This was compiled using g++-3. Some of the unusual syntax results from this being a cpp function that is called from fortran. The char array that is passed to the cpp prints as correct and has the correct size, so I don't think that is part of the problem.
Any suggestions,
Thanks,
LMHmedchem
|
http://forums.codeguru.com/printthread.php?t=536793&pp=15&page=1
|
CC-MAIN-2018-09
|
en
|
refinedweb
|
Introduction: Making LCD Thermometer With Arduino and LM35/36
Hello, take you less than 10 minutes to build it, once you have all the parts of course. :)
Step 1: Gathering the Parts
These are the part you need to build the thermometer:
-. Also you can buy them separately from the following stores: Adafruit, SparkFun, Aliexpress, Banggood, etc.
*If you dont have a 10k pot you can use 50k like me !
Step 2: Building the Thermometer
By following the Fritzing schematic above, plug the LCD in the breadboard and then connect it to the Arduino board with jumpers. After that plug the potentiometer and the sensor in the breadboard, connect the left and the right pins of the pot to ground and +5V and the middle one to the LCD display.
Then connect the sensor to ground and to +5V and to the Arduino but be very carefully, because if you connect it wrong the sensor will heat up to 280+ C(540 F) and might get damaged.
Once you have connected everything move on the next step.
Step 3: Programming the Arduino
To get it work you have to use one of the two codes below. Upload it to your Arduino using theintegrated development environment, for short IDE, which you can download from Arduino's official page and you are done !!!
If you don't see anything on the LCD or you see rectangles, turn the pot clockwise/anti-clockwise until you see the letter clear.
Now you have a thermometer and you can measure the temperature of the air around you, inside your house or outside.
The first code is from Gaige Kerns, and it can be used to read from LM36 or LM35. Thanks Gaige !!!
Also check out my new thermometer project here !!!
<p>// include the library code #include // initialize the library with the numbers of the interface pins LiquidCrystal lcd(12, 11, 5, 4, 3, 2); // initialize our variables int sensorPin = 0; int tempC, tempF; void setup() { // set up the LCD's number of columns and rows: lcd.begin(16, 2); } void loop() { tempC = get_temperature(sensorPin); tempF = celsius_to_fahrenheit(tempC); lcd.setCursor(0,0); lcd.print(tempF); lcd.print(" "); lcd.print((char)223); lcd.print("F"); delay(200); } int get_temperature(int pin) { // We need to tell the function which pin the sensor is hooked up to. We're using // the variable pin for that above // Read the value on that pin int temperature = analogRead(pin); // Calculate the temperature based on the reading and send that value back float voltage = temperature * 5.0; voltage = voltage / 1024.0; return ((voltage - 0.5) * 100); } int celsius_to_fahrenheit(int temp) { return (temp * 9 / 5) + 32; }</p>
#include <LiquidCrystal.h> LiquidCrystal lcd(12, 11, 5, 4, 3, 2); //Digital pins to which you connect the LCD const int inPin = 0; // A0 is where you connect the sensor void setup() { lcd.begin(16,2); } void loop() { int value = analogRead(inPin); // read the value from the sensor lcd.setCursor(0,1); float millivolts = (value / 1024.0) * 5000; float celsius = millivolts / 10; lcd.clear(); lcd.setCursor(0,0); lcd.print(celsius); lcd.print("C"); lcd.setCursor(0,1); lcd.print((celsius * 9)/5 + 32); //turning the celsius into fahrehait lcd.print("F"); delay(1000); }
3 People Made This Project!
Recommendations
We have a be nice policy.
Please be positive and constructive.
53 Comments
HI, I am making a thermometer as my project for my apprenticeship. I want to make it one that will measure body temperature and that you can program different temps into it. For example, if a persons body temperature calls between 36.5⁰C-37.2⁰C a green led will come on to say that it is normal. Any advice would be appreciated. Thank you
Hi , is it possible to add esp8266 between lcd and lm35 ?
i wanna monitor the temperature via web browser too
First of all, great project. But it doesn't work for me. By the way, i'am a newbie. Everything works, but as you can see on the pic, i'am in my living room an not in a sauna. So please, help.... Thank you.
Hey there,
I tried all the codes provided, yet I'm still getting a very non-reasonable pattern of readings like this 7.73, 0.00, 41.57, 3.97 ,0.00 ,41.78 ,3.97 ,0.00 ,40.82 ,6.34 ,0.00 ,25.78... in Celsius.
Any help?
Thanks in advance
Can you provide a photo of your hardware setup ?
I don't have an LCD so I'm viewing the results on the serial monitor, and so I made these connections. The arduino is powered by the laptop itself.
follow instructions to the letter and pin. problem!!! lcd backlight won't turn on!!!
PLEASE HELP!!!!!
Can you possibly also make this without the screen, but instead have the arduino measure the temperature of something periodically and have it gather data for you?
thank you!
|
http://www.instructables.com/id/Electronic-Thermometer-with-Arduino-UNO/
|
CC-MAIN-2018-09
|
en
|
refinedweb
|
SVN Client/Mac OS X/Java Update 1.6.0_31: A task(commit, update, refresh, etc) could sometimes fail with an IndexOutOfBoundsException.
Mac OS X: Fixed .sh scripts to work correctly with relative paths in arguments.
SVN Client/Mac OS X/Java Update 1.6.0_31: A task(commit, update, refresh, etc) could sometimes fail with an IndexOutOfBoundsException.
Mac OS X: Fixed .sh scripts to work correctly with relative paths in arguments.
DTD Validation: Unexpected(invalid) elements were sometimes not reported when validating with a DTD.
Mac OS X: Resolved a critical issue that prevented the application from starting with Java SE 6 Update 27(1.6.0_27).
The "Selected project files" scope from the "Find/Replace in Files" dialog did not work when the dialog was invoked from the Find menu.
Author API bugfix: an Author fragment containing change tracking markers was not serialized correctly.
The results of the "Find All" action were affected by any modification in the editor content. The effect was that when selecting a "Find All" result from the list, the cursor was positioned incorrectly in the editor.
Sometimes the Eclipse platform user interface was blocked while an XML file was opened in the Oxygen plugin.
Fixed a NullPointerException that appeared when the Oxygen plugin was installed in an Eclipse environment that included Maven(and/or WTP).
The action of renaming an unversioned file in the Working Copy view of the SVN Client tool removed the file from disk.
The application could not open files from disk after an upgrade from an old version to the latest version due to a bug of importing automatically the user preferences from the old version.
The action Indent on Paste reported an error when it was executed in the XSLT editor.
Now an option declared in a XProc transformation scenario does not overwrite anymore a variable with the same name that is declared in a XProc script that is used in the scenario.
Pressing Enter under a folded element scrolled the edited document to other document fragment instead of keeping the same edited fragment visible.
Now a validation error message obtained by running a validation scenario displays the main validated file from the scenario as the location of the error.
The validation of a XML document that included a XML signature was very slow due to downloading the schema from the W3C website. Now the schema comes with Oxygen so that the validation is fast.
Fixed a StackOverflowError in folding action Collapse Child Folds.
The Paste action did not insert the pasted text in a correct location in Author mode in some cases.
A wrong error message was reported instead of the correct error message from the Schematron schema when a Schematron schema was applied through a NVDL schema.
A NullPointerException was reported when generating HTML documentation for an XSLT stylesheet.
The application could not exit due to a NullPointerException obtained on the Exit action. It happened on very rare cases due to the data collected for reporting usage statistics.
A NullPointerException was reported when creating a new XML file from a W3C XML Schema if one of the options "Add optional content" and "Add first choice particle" was selected and the schema did not have a global element.
Fixed slow edit in large Relax NG schemas when schema diagram was visible.
Short description of a DITA topic was displayed twice in the XHTML output of a DITA transformation, before and after the topic title.
Short description of a DITA topic was not included anymore in the meta description tag in the XHTML output of a DITA transformation.
The application blocked in the dialog box for creating a new XML document from some remote XML Schemas when the dialog was closed too quickly due to the delay that was needed for parsing the remote schema and updating the dialog box.
Fixed a NullPointerException that happened when opening an XML file in the XSLT Debugger perspective.
MAC OS X: Ctrl+click on a file or folder in Project view or Archive Browser view triggered both the contextual menu and the rename action. Now only the contextual menu is displayed.
The tool that creates documentation for XML Schema did not generate in the documentation valid XML instances from a hierarchy of XML Schema types.
Fixed a NullPointerException that appeared when opening or editing a W3C XML Schema.
When a validation scenario was associated with the current document and the Check Well-formed action was started, it was applied in fact a number of times equal with the number of validation units from the scenario.
SSH connections remained dangling when opening/saving files from a SFTP server.
Now the floating license servlet outputs more detailed logging messages. The logging parameters are configurable according to the mechanism of the container (Apache Tomcat, etc).
The auto-close empty tag feature closed the current start tag when the user typed a '/' character even if this character was typed inside an attribute value.
When pasting text in Author editing mode the whitespaces between words with different properties and enclosed in different tags were lost.
Split editors no longer reset their position whenever the document is modified by an action.
Any preference with a value different than the default one that was set by the user in the Preferences dialog was not applied correctly in the application and was not preserved when the application was restarted. It happened when that preference was stored at project level.
Now the list of actions from the contextual menu of the DITA Maps Manager view can be filtered from a custom Startup plugin.
Fixed a NullPointerException in the SVN Client tool that appeared when a SVN working copy was loaded after switching from other working copy, which tried to compare the current content of the working copy with the content cached at previous accesses of the same working copy.
Sometimes the SVN Client tool hanged on startup when the auto-refresh option for SVN working copies was activated.
The password of the URL of a remote document that was opened by HTTPS or SFTP was displayed in the page header when the document was printed from the Oxygen application.
The embedded help could not be opened in the Large File Viewer tool started from Oxygen XML Author (only on Mac and Linux platforms).
The text copied from a Web browser or an Office suite application and pasted in Author editing mode had 2 strange characters at the beginning of the pasted text due to a wrong detection of the text encoding (only on the Linux platform). The same problem appeared in drag and drop operations between a Web browser/Office suite application and Author editing mode.
Now the special XML characters like '<' and '&' are not escaped anymore in Grid editing mode inside CDATA, XML comment and DOCTYPE subset nodes of the XML document.
In some custom Eclipse-based environments like ZendStudio 8 the Pretty Print action of the Oxygen plugin for Eclipse inserted 'null' strings instead of newline characters when executed on a one-line XML document for breaking it on more than one line.
An XML comment marked with change tracking was ignored by the change tracking management actions when some whitespace characters separated the XML comment and its change tracking marker.
On Mac and Linux computers the user help could not be opened from the Author tool of the Oxygen Editor product.
The XSD documentation generation tool and the XSLT documentation one could not be used if the user enabled the option for DTD validation in XSLT 2.0 transformations in the user preferences.
The search references/declarations now ignore the hidden folders like .svn by default.
The Preview action invoked from the Rename Component dialog displayed nothing when the Rename Component action executed on a resource that was not part of the current search scope.
Avoid deadlock on opening files that appeared on some Windows computers.
Some XQuery compilation errors were not reported in the XQuery editor.
Paste in the Author editing mode: Fixed error due to side effect of Saxon Enterprise Edition validation option. Also fixed problem of duplicated paragraphs in pasted content.
Fixed a NullPointerException that appeared when deleting a profiling attribute value.
Fixed an IllegalArgumentException that appeared when loading a huge vectorial image in Author editing mode.
Now the DITA conref references without fragment identifier are resolved correctly in Author editing mode.
The tools for generating PDF documentation for an XSLT stylesheet and for a W3C XML Schema did not use the FOP configuration file set in the user preferences.
References to remote Webdav or FTP images can be inserted in a document edited in Author mode using the toolbar actions.
Fixed errors that appeared in some cases when opening the XSLT Debugger perspective in the Oxygen Eclipse plugin.
Fixed a NullPointerException that appeared when searching XSLT template references in the XSLT editor.
Now the XLink namespace is declared by default when inserting an image in a DocBook 5 document edited in Author mode.
Fixed a ConcurrentModificationException that appeared when an XML document with bidirectional language support was opened automatically on startup.
Fixed an error that appeared when the Colors page was opened in the Preferences dialog box when the current version of Oxygen was installed as an upgrade from an older version.
The text typed in the editable text areas of the Find/Replace dialog was not visible when a dark color (for example black or dark blue) was set in the user preferences as background color of the editor panel.
The namespace of XSLT parameters was not computed and displayed correctly sometimes when editing an XSLT stylesheet.
The combo box from the Insert Entity dialog did not receive the focus automatically when the dialog was opened.
The default value of the args.xhtml.toc parameter of the DITA WebHelp transformation scenario did not end with a file extension.
Fixed inconsistent formatting in the Author editing mode when an entity reference was present between elements.
Fixed a StackOverflowError in the Import Text action that was applied to a file from history that did not exist on disk anymore.
Fixed an ArrayIndexOutOfBoundsException in the XSLT Debugger perspective.
Fixed a memory problem in the XSLT debugger. The memory was not released completely at the end of the XSLT transformation if breakpoints existed.
In Author mode in the Eclipse plugin the size and style of the default font could not be configured in the user preferences.
On Linux machines the installer wizard does not offer the option of starting the application at the end of installation when the installer was started as root user. In case of upgrade if the previous version was installed as normal user the user preferences could not be imported automatically in the new version because the application was started as root user at the end of installation.
Fixed a BadLocationException that appeared when a document with XML folds was modified in other application.
Fixed a BadLocationException that appeared when moving the mouse while pressing the left button in a document with XML folds.
The shortcut of the Stop Debugger action did not work because it was captured by a different component.
Fixed an error in the dialog for creating a new document. The error appeared when the new document was based on a DTD and the user tried to type a root element name in the combo box that listed all possible root elements.
Outline view was not able to display a function name that followed the '}}' sequence of characters in an XQuery document.
The application crashed at startup when it tried to reopen automatically an XSLT stylesheet that contained an <xsl:decimal-format> element.
Fixed a NullPointerException that appeared when opening an XSLT stylesheet that contained an <xsl:decimal-format> element.
Fixed a NullPointerException that appeared when editing a document with XML folds and trying to change the font size with Ctrl + mouse wheel.
The line number was not painted correctly in a document with XML folds when trying to change the font size with Ctrl + mouse wheel.
The validation against a Schematron schema through a NVDL schema that used the Schematron one always failed.
Now the secondary toolbar is present again in the DITA Maps manager view after it was removed in a previous version.
The menu actions for inserting generic topic references were promoted to the top of the contextual menu of the DITA Maps Manager view.
Fixed a memory problem that resulted in an Out Of Memory error when there are many validation errors detected by a Schematron schema.
The shortcut for closing the current view (Ctrl+F4) was removed because it was also used for closing an editor so it had the unexpected effect of closing a view that received the focus. Now the shortcut is associated only with the action that closes the current editor.
The action for adding or editing the conref attribute in a DITA topic was not applied on the selected element if the whole element was selected so that the cursor was positioned after the element end tag.
The user defined file templates that had an unsupported extension were filtered in the new file dialog.
Fixed a NullPointerException that appeared when creating a new profiling condition set.
Fixed a BadLocationException that appeared on some editing actions like pretty print when both folding and line wrap were enabled.
The DocBook to PDF transformation did not render MathML equations in the PDF output.
Fixed the validity errors from the template for new EPUB files.
Simple quote characters and double quote ones could not be inserted in the grid editing mode.
Special characters were displayed as escaped characters in the Open using FTP/WebDAV dialog.
The rev attribute was not ignored when the validity of a DITA map was checked based on a profiling condition set.
The DITA topic references that had external scope or peer scope were parsed completely when checking the map validity and completeness. If these topic references did not specify a format they were not reported as errors.
When checking the DITA map validity all the keydef elements that did not have a href attribute were reported as errors.
Removed the file association for EPUB files. Now the files with the .epub extension are not opened by default with the Oxygen application if the user did not specify that in the installer wizard.
Fixed a NullPointerException in the refresh task that was executed automatically when the user switched back to the window of the SVN Client tool.
Fixed a NullPointerException that appeared when all the occurrences of a user defined name were highlighted in the XSLT editor.
The edit conflict action from the SVN Client tool did not open the two compared revisions of an image file with the image viewer. This produced encoding errors.
The folded state of the child elements was not preserved when the parent element was collapsed and expanded in the editor panel.
The Find/Replace in Files dialog box did not display the checkbox for enabling regular expressions when the user interface language was set to German or Dutch because the labels from the dialog box were too long in these languages.
When the ID of an Author action was changed by editing the Author document type that contained the action the new ID was not set correctly so that the action disappeared from the Author toolbar.
|
http://www.oxygenxml.com/build_history_12_2.html
|
CC-MAIN-2018-09
|
en
|
refinedweb
|
Get the IRQs associated with a device
#include <pci/pci.h> pci_err_t pci_device_read_irq( pci_devhdl_t hdl, int_t *nirq, pci_irq_t *irq );
The pci_device_read_irq() function gets the IRQs associated with a device. You must have already attached to the device by successfully calling pci_device_attach().
There could be multiple IRQs associated with a single device. In general, the irq parameter should point to an array of pci_irq_t types, and you should specify the number of entries the array in the value pointed to by nirq.
By modifying the parameters, you can control returned values as follows:
Otherwise, you should allocate space for an array of pci_irq_t items and set nirq to point to the number of items allocated. Upon successful return, nirq contains a value as follows:
For example, if nirq contains the value of -2 upon successful return, all but two of the requested number of IRQs were successfully returned.
If the device uses more than one IRQ, it is unspecified as to which device functionality is associated with which IRQ. IRQs are returned in the irq array in enabled interrupt source order. See also Capability ID 0x5 (MSI) and Capability ID 0x11 (MSI-X) in the Capability Modules and APIs appendix.
Because the IRQs for a device provide the ability to attach interrupt handlers,_irq() and hence be able to attach interrupt service routines.
If any error occurs, you should assume that the storage that you provided contains invalid data.
|
http://www.qnx.com/developers/docs/7.0.0/com.qnx.doc.pci_server/topic/pci_device_read_irq.html
|
CC-MAIN-2018-09
|
en
|
refinedweb
|
Kernel APIs, Part 2
Deferrable functions, kernel tasklets, and work queues
An introduction to bottom halves in Linux 2.6
Content series:
This content is part # of # in the series: Kernel APIs, Part 2
This content is part of the series:Kernel APIs, Part 2
Stay tuned for additional content in this series.
This article explores a couple of methods used to defer processing between kernel contexts (specifically, within the 2.6.27.14 Linux kernel). Although these methods are specific to the Linux kernel, the ideas behind them are useful from an architectural perspective, as well. For example, you could implement these ideas in traditional embedded systems in place of a traditional scheduler for work scheduling.
Before diving into the methods used in the kernel to defer functions, however, let's start with some background on the problem being solved. When an operating system is interrupted because of a hardware event (such as the presence of a packet through a network adapter), the processing begins in an interrupt. Typically, the interrupt kicks off a substantial amount of work. Some amount of this work is done in the context of the interrupt, and work is passed up the software stack for additional processing (see Figure 1).
Figure 1. Top-half and bottom-half processing
The question is, how much work should be done in the interrupt context? The problem with interrupt context is that some or all interrupts can be disabled during this time, which increases the latency of handling other hardware events (and introduces changes in processing behavior). Therefore, minimizing the work done in the interrupt is desirable, pushing some amount of the work into the kernel context (where there is a higher likelihood that the processor can be gainfully shared).
As shown in Figure 1, the processing done in the interrupt context is called the top half, and interrupt-based processing that's pushed outside of the interrupt context is called the bottom half (where the top half schedules the subsequent processing by the bottom half). The bottom-half processing is performed in the kernel context, which means that interrupts are enabled. This leads to better performance because of the ability to deal quickly with high-frequency interrupt events by deferring non-time-sensitive work.
Short history of bottom halves
Linux tends to be a Swiss Army knife of functionality, and deferring functionality is no different. Since kernel 2.3, softirqs have been available that implement a set of 32 statically defined bottom halves. As static elements, these are defined at compile time (unlike the new mechanisms, which are dynamic). Softirqs were used for time-critical processing (software interrupts) in the kernel thread context. You can find the source to the softirq functionality in ./kernel/softirq.c. Also introduced in the 2.3 Linux kernel are tasklets (see ./include/linux/interrupt.h). Tasklets are built on top of softirqs to allow dynamic creation of deferrable functions. Finally, in the 2.5 Linux kernel, work queues were introduced (see ./include/linux/workqueue.h). Work queues permit work to be deferred outside of the interrupt context into the kernel process context.
Let's now explore the dynamic mechanisms for work deferral, tasklets, and work queues.
Introducing tasklets
Softirqs were originally designed as a vector of 32 softirq entries
supporting a variety of software interrupt behaviors. Today, only nine
vectors are used for softirqs, one being the
TASKLET_SOFTIRQ
(see ./include/linux/interrupt.h). And although softirqs still exist in
the kernel, tasklets and work queues are recommended instead of allocating
new softirq vectors.
Tasklets are a deferral scheme that you can schedule for a registered function to run later. The top half (the interrupt handler) performs a small amount of work, and then schedules the tasklet to execute later at the bottom half.
Listing 1. Declaring and scheduling a tasklet
/* Declare a Tasklet (the Bottom-Half) */ void tasklet_function( unsigned long data ); DECLARE_TASKLET( tasklet_example, tasklet_function, tasklet_data ); ... /* Schedule the Bottom-Half */ tasklet_schedule( &tasklet_example );
A given tasklet will run on only one CPU (the CPU on which the tasklet was scheduled), and the same tasklet will never run on more than one CPU of a given processor simultaneously. But different tasklets can run on different CPUs at the same time.
Tasklets are represented by the tasklet_struct structure (see Figure 2), which includes the necessary data to
manage and maintain the tasklet (state, enable/disable via an
atomic_t, function pointer, data, and linked-list reference).
Figure 2. The internals of the tasklet_struct structure
Tasklets are scheduled through the softirq mechanism, sometimes through ksoftirqd (a per-CPU kernel thread), when the machine is under heavy soft-interrupt load. The next section explores the various functions available in the tasklets application programming interface (API).
Tasklets API
Tasklets are defined using a macro called
DECLARE_TASKLET (see
Listing 2). Underneath, this macro simply
provides a
tasklet_struct initialization of the information
you provide (tasklet name, function, and tasklet-specific data). By
default, the tasklet is enabled, which means that it can be scheduled. A
tasklet can also be declared as disabled by default using the
DECLARE_TASKLET_DISABLED macro. This requires that the
tasklet_enable function be invoked to make the tasklet
schedulable. You can enable and disable a tasklet (from a scheduling
perspective) using the
tasklet_enable and
tasklet_disable functions, respectively. A
tasklet_init function also exists that initializes a
tasklet_struct with the user-provided tasklet data.
Listing 2. Tasklet creation and enable/disable functions
DECLARE_TASKLET( name, func, data ); DECLARE_TASKLET_DISABLED( name, func, data); void tasklet_init( struct tasklet_struct *, void (*func)(unsigned long), unsigned long data ); void tasklet_disable_nosync( struct tasklet_struct * ); void tasklet_disable( struct tasklet_struct * ); void tasklet_enable( struct tasklet_struct * ); void tasklet_hi_enable( struct tasklet_struct * );
Two disable functions exist, each of which requests a disable of the
tasklet, but only the
tasklet_disable returns after the
tasklet has been terminated (where the
tasklet_disable_nosync
may return before the termination has occurred). The disable functions
allow the tasklet to be "masked" (that is, not executed) until the enable
function is called. Two enable functions also exist: one for normal
priority scheduling (
tasklet_enable) and one for enabling
higher-priority scheduling (
tasklet_hi_enable). The
normal-priority schedule is performed through the
TASKLET_SOFTIRQ-level softirq, where high priority is through
the
HI_SOFTIRQ-level softirq.
As with the normal and high-priority enable functions, there are normal and
high-priority schedule functions (see Listing 3).
Each function enqueues the tasklet on the particular softirq vector
(
tasklet_vec for normal priority and
tasklet_hi_vec for high priority). Tasklets from the
high-priority vector are serviced first, followed by those on the normal
vector. Note that each CPU maintains its own normal and high-priority
softirq vectors.
Listing 3. Tasklet scheduling functions
void tasklet_schedule( struct tasklet_struct * ); void tasklet_hi_schedule( struct tasklet_struct * );
Finally, after a tasklet has been created, it's possible to stop a tasklet
through the
tasklet_kill functions (see Listing 4). The
tasklet_kill function ensures that
the tasklet will not run again and, if the tasklet is currently scheduled
to run, will wait for its completion, and then kill it. The
tasklet_kill_immediate is used only when a given CPU is in
the dead state.
Listing 4. Tasklet kill functions
void tasklet_kill( struct tasklet_struct * ); void tasklet_kill_immediate( struct tasklet_struct *, unsigned int cpu );
From the API, you can see that the tasklet API is simple, and so is the implementation. You can find the implementation of the tasklet mechanism in ./kernel/softirq.c and ./include/linux/interrupt.h.
Simple tasklet example
Let's look at a simple usage of the tasklets API (see Listing 5). As shown here, a tasklet function is created with
associated data (
my_tasklet_function and
my_tasklet_data), which is then used to declare a new tasklet
using
DECLARE_TASKLET. When the module is inserted, the
tasklet is scheduled, which makes it executable at some point in the
future. When the module is unloaded, the
tasklet_kill
function is called to ensure that the tasklet is not in a schedulable
state.
Listing 5. Simple example of a tasklet in the context of a kernel module
#include <linux/kernel.h> #include <linux/module.h> #include <linux/interrupt.h> MODULE_LICENSE("GPL"); char my_tasklet_data[]="my_tasklet_function was called"; /* Bottom Half Function */ void my_tasklet_function( unsigned long data ) { printk( "%s\n", (char *)data ); return; } DECLARE_TASKLET( my_tasklet, my_tasklet_function, (unsigned long) &my_tasklet_data ); int init_module( void ) { /* Schedule the Bottom Half */ tasklet_schedule( &my_tasklet ); return 0; } void cleanup_module( void ) { /* Stop the tasklet before we exit */ tasklet_kill( &my_tasklet ); return; }
Introducing work queues
Work queues are a more recent deferral mechanism, added in the 2.5 Linux
kernel version. Rather than providing a one-shot deferral scheme as is the
case with tasklets, work queues are a generic deferral mechanism in which
the handler function for the work queue can sleep (not possible in the
tasklet model). Work queues can have higher latency than tasklets but
include a richer API for work deferral. Deferral used to be managed by
task queues through
keventd but is now managed by kernel
worker threads named
events/X.
Work queues provide a generic method to defer functionality to bottom
halves. At the core is the work queue (struct
workqueue_struct), which is the structure onto which work is
placed. Work is represented by a
work_struct structure, which
identifies the work to be deferred and the deferral function to use (see
Figure 3). The
events/X kernel
threads (one per CPU) extract work from the work queue and activates one
of the bottom-half handlers (as indicated by the handler function in the
struct
work_struct).
Figure 3. The process behind work queues
As the
work_struct indicates the handler function to use, you
can use the work queue to queue work for a variety of handlers. Now, let's
look at the API functions that can be found for work queues.
Work queue API
The work queue API is slightly more complicated that tasklets, primarily because a number of options are supported. Let's first explore the work queues, and then we'll look at work and the variants.
Recall from Figure 3 that the core structure for the
work queue is the queue itself. This structure is used to enqueue work
from the top half to be deferred for execution later by the bottom half.
Work queues are created through a macro called
create_workqueue, which returns a
workqueue_struct reference. You can remote this work queue
later (if needed) through a call to the
destroy_workqueue
function:
struct workqueue_struct *create_workqueue( name ); void destroy_workqueue( struct workqueue_struct * );
The work to be communicated through the work queue is defined by the
work_struct structure. Typically, this structure is the first
element of a user's structure of work definition (you'll see an example of
this later). The work queue API provides three functions to initialize
work (from an allocated buffer); see Listing 6. The
INIT_WORK macro provides for the necessary initialization and
setting of the handler function (passed by the user). In cases where the
developer needs a delay before the work is enqueued on the work queue, you
can use the
INIT_DELAYED_WORK and
INIT_DELAYED_WORK_DEFERRABLE macros.
Listing 6. Work initialization macros
INIT_WORK( work, func ); INIT_DELAYED_WORK( work, func ); INIT_DELAYED_WORK_DEFERRABLE( work, func );
With the work structure initialized, the next step is enqueuing the work on
a work queue. You can do this in a few ways (see Listing
7). First, simply enqueue the work on a work queue using
queue_work (which ties the work to the current CPU). Or, you
can specify the CPU on which the handler should run using
queue_work_on. Two additional functions provide the same
functionality for delayed work (whose structure encapsulates the
work_struct structure and a timer for work delay).
Listing 7. Work queue functions
int queue_work( struct workqueue_struct *wq, struct work_struct *work ); int queue_work_on( int cpu, struct workqueue_struct *wq, struct work_struct *work ); int queue_delayed_work( struct workqueue_struct *wq, struct delayed_work *dwork, unsigned long delay ); int queue_delayed_work_on( int cpu, struct workqueue_struct *wq, struct delayed_work *dwork, unsigned long delay );
You can use a global kernel-global work queue, with four functions that address this work queue. These functions (shown in Listing 8) mimic those from Listing 7, except that you don't need to define the work queue structure.
Listing 8. Kernel-global work queue functions
int schedule_work( struct work_struct *work ); int schedule_work_on( int cpu, struct work_struct *work ); int scheduled_delayed_work( struct delayed_work *dwork, unsigned long delay ); int scheduled_delayed_work_on( int cpu, struct delayed_work *dwork, unsigned long delay );
There are also a number of helper functions that you can use to flush or
cancel work on work queues. To flush a particular work item and block
until the work is complete, you can make a call to
flush_work. All work on a given work queue can be completed
using a call to
flush_workqueue. In both cases, the caller
blocks until the operation is complete. To flush the kernel-global work
queue, call
flush_scheduled_work.
int flush_work( struct work_struct *work ); int flush_workqueue( struct workqueue_struct *wq ); void flush_scheduled_work( void );
You can cancel work if it is not already executing in a handler. A call to
cancel_work_sync will terminate the work in the queue or
block until the callback has finished (if the work is already in progress
in the handler). If the work is delayed, you can use a call to
cancel_delayed_work_sync.
int cancel_work_sync( struct work_struct *work ); int cancel_delayed_work_sync( struct delayed_work *dwork );
Finally, you can find out whether a work item is pending (not yet executed
by the handler) with a call to
work_pending or
delayed_work_pending.
work_pending( work ); delayed_work_pending( work );
That's the core of the work queue API. You can find the implementation of the work queue API in ./kernel/workqueue.c, with API definitions in ./include/linux/workqueue.h. Let's now continue with a simple example of the work queue API.
Simple work queue example
The following example illustrates a few of the core work queue API functions. As with the tasklets example, you implement this example in the context of a kernel module for simplicity.
First, look at your work structure and the handler function that you'll use
to implement the bottom half (see Listing 9). The
first thing you'll note here is a definition of your work queue structure
reference (
my_wq) and the
my_work_t definition.
The
my_work_t typedef includes the
work_struct
structure at the head and an integer that represents your work item. Your
handler (a callback function) de-references the
work_struct
pointer back to the
my_work_t type. After emitting the work
item (integer from the structure), the work pointer is freed.
Listing 9. Work structure and bottom-half handler
#include <linux/kernel.h> #include <linux/module.h> #include <linux/workqueue.h> MODULE_LICENSE("GPL"); static struct workqueue_struct *my_wq; typedef struct { struct work_struct my_work; int x; } my_work_t; my_work_t *work, *work2; static void my_wq_function( struct work_struct *work) { my_work_t *my_work = (my_work_t *)work; printk( "my_work.x %d\n", my_work->x ); kfree( (void *)work ); return; }
Listing 10 is your
init_module function,
which begins with creation of the work queue using the
create_workqueue API function. Upon successful creation of
the work queue, you create two work items (allocated via
kmalloc). Each work item is then initialized with
INIT_WORK, the work defined, and then enqueued onto the work
queue with a call to
queue_work. The top-half process
(simulated here) is now complete. The work will then, at some time later,
be processed by the handler as shown in Listing 10.
Listing 10. Work queue and work creation
int init_module( void ) { int ret; my_wq = create_workqueue("my_queue"); if (my_wq) { /* Queue some work (item 1) */ work = (my_work_t *)kmalloc(sizeof(my_work_t), GFP_KERNEL); if (work) { INIT_WORK( (struct work_struct *)work, my_wq_function ); work->x = 1; ret = queue_work( my_wq, (struct work_struct *)work ); } /* Queue some additional work (item 2) */ work2 = (my_work_t *)kmalloc(sizeof(my_work_t), GFP_KERNEL); if (work2) { INIT_WORK( (struct work_struct *)work2, my_wq_function ); work2->x = 2; ret = queue_work( my_wq, (struct work_struct *)work2 ); } } return 0; }
The final elements are shown in Listing 11. Here, in module cleanup, you flush the particular work queue (which blocks until the handler has completed processing of the work), and then destroy the work queue.
Listing 11. Work queue flush and destruction
void cleanup_module( void ) { flush_workqueue( my_wq ); destroy_workqueue( my_wq ); return; }
Differences between tasklets and work queues
From this short introduction to tasklets and work queues, you can see two different schemes for deferring work from top halves to bottom halves. Tasklets provide a low-latency mechanism that is simple and straightforward, while work queues provide a flexible API that permits queuing of multiple work items. Each defers work from the interrupt context, but only tasklets run atomically in a run-to-complete fashion, where work queues permit handlers to sleep, if necessary. Either method is useful for work deferral, so the method selected is based on your particular needs.
Going further
The work-deferral methods explored here represent the historical and current methods used in the Linux kernel (excluding timers, which will be covered in a future article). They are certainly not new—in fact, they have existed in other forms in the past—but they represent an interesting architectural pattern that is useful in Linux and elsewhere. From softirqs to tasklets to work queues to delayed work queues, Linux continues to evolve in all areas of the kernel while providing a consistent and compatible user space experience.
Downloadable resources
Related topics
- Develop and deploy your next app on the IBM Bluemix cloud platform.
- Much of the information available on tasklets and work queues on the Internet tends to be a bit dated. For an introduction to the rework of the work queue API, check out this nice introduction from LWN.net.
- This useful presentation from Jennifer Hou (of the Computer Science department at the University of Illinois at Urbana-Champaign) provides a nice overview of the Linux kernel, an introduction to softirqs, and a short introduction to work deferral with tasklets.
- This synopsis from the Advanced Systems Programming course at the University of San Francisco (taught by Professor Emeritus, Dr. Allan Cruse) provides a great set of resources for work deferral (including the concepts that drive them).
- The seminal Linux Device Drivers text provides a useful introduction to work deferral (PDF). In this free chapter ("Timers, Delays, and Deferred Work"), you'll find a deep (though slightly dated) discussion of tasklets and work queues.
- For more information on where and when to use tasklets versus work queues, check out this exchange on the kernel mail list.
- Browse all of Tim's articles on developerWorks.
- In the developerWorks Linux zone, find hundreds of articles, tutorials, discussion forums, and a wealth.
|
https://www.ibm.com/developerworks/library/l-tasklets/index.html
|
CC-MAIN-2018-09
|
en
|
refinedweb
|
Let's start by implementing our own class instance of a predefined interface within the System namespace. The motivational context is the following: We need to sort an ArrayList of strings in ascending order by the length of the string. OK. That sounds simple enough. So how are we going to do that? If we look at the public methods of ArrayList, we see that it provides an overloaded pair of Sort() member functions:
System.Collections.ArrayList Sort: Overloaded. Sorts the elements in the ArrayList, or a portion of it.
Let's look at the documentation for the two different methods and see which one, if either, fits the bill. Here's the one with an empty parameter list:
public virtual void Sort() ...
No credit card required
|
https://www.safaribooksonline.com/library/view/c-primer-a/0201729555/0201729555_ch04lev1sec1.html
|
CC-MAIN-2018-09
|
en
|
refinedweb
|
Can you append to a .feather format?
Is there a way to append to a .feather format file using pd.to_feather?
I am also curious if anyone knows some of the limitations in terms of max file size, and whether it is possible to query for some specific data when you read a .feather file (such as read rows where date > '2017-03-31').
I love the idea of being able to store my dataframes and categorical data.
See also questions close to this topic
-?
- How to receive packets on Feather M0 BLE from Android device using custom service
I am building an application on Feather M0 with BLE module that is to be controlled from an Android device using custom service.
I took an example code Bluetooth Le Gatt from GitHub:
And modified it using this write-up as a guide:
Specifically: Read and write functions to BluetoothLEService file:
public void readCustomCharacteristic() { if (mBluetoothAdapter == null || mBluetoothGatt == null) { Log.w(TAG, "BluetoothAdapter not initialized"); return; }; } BluetoothGattCharacteristic mReadCharacteristic = mCustomService.getCharacteristic(UUID.fromString("6E400003-B5A3-F393-E0A9-E50E24DCCA9E")); if(mBluetoothGatt.readCharacteristic(mReadCharacteristic) == false){ Log.w(TAG, "Failed to read characteristic"); } } public void writeCustomCharacteristic(int value) { if (mBluetoothAdapter == null || mBluetoothGatt == null) { Log.w(TAG, "BluetoothAdapter not initialized"); return; } /*check if the service is available on the device*/; } /*get the read characteristic from the service*/ BluetoothGattCharacteristic mWriteCharacteristic = mCustomService.getCharacteristic(UUID.fromString("6E400002-B5A3-F393-E0A9-E50E24DCCA9E")); mWriteCharacteristic.setWriteType(BluetoothGattCharacteristic.WRITE_TYPE_NO_RESPONSE); mWriteCharacteristic.setValue(value,android.bluetooth.BluetoothGattCharacteristic.FORMAT_UINT8,0); if(!mBluetoothGatt.writeCharacteristic(mWriteCharacteristic)){ Log.w(TAG, "Failed to write characteristic"); }else{ Log.w(TAG, "Success to write characteristic"); } }
Added this code to DeviceControlActivity for the buttons on the new layout to work:
public void onClickWrite(View v){ if(mBluetoothLeService != null) { mBluetoothLeService.writeCustomCharacteristic(0xAA); } } public void onClickRead(View v){ if(mBluetoothLeService != null) { mBluetoothLeService.readCustomCharacteristic(); } }
I am using the following example program to receive packets on the Feather M0 Board:
If I use Bluefruit LE Connect app I can see on the serial monitor incoming packets, but when I use the app I am trying to build nothing shows up on the screen. Write function also does not work.
Any help would be much appreciated.
- TypeError: Cannot convert pyarrow.lib.ChunkedArray to pyarrow.lib.Array
I am converting a
csvfile to
feathertype using the code as below,
import pandas as pd import feather df = pd.read_csv('myfile.csv') feather.write_dataframe(df, 'myfile.feather')
myfile.csvis over
2Gand when I run the code I get the error message as below:
File "table.pxi", line 705, in pyarrow.lib.RecordBatch.from_pandas File "table.pxi", line 739, in pyarrow.lib.RecordBatch.from_arrays TypeError: Cannot convert pyarrow.lib.ChunkedArray to pyarrow.lib.Array
I've looked at similar questions and have found that
featherstarted to support large file over 2G recently. But my feather version is 0.4 so I think mine one is already able to support large file. Why do I get this error? Any ideas would be appreciated, thanks.
- read and write a dataset description as a pandas dataframe "attribute"?
The R-help for
feather_metadatastates "Returns the dimensions, field names, and types; and optional dataset description."
@hrbrmstr Kindly posted a PR to answer this SO question and make it possible to add a dataset description to a feather file from R.
I'd like to know if it is possible to read (and write) such a dataset description in python / pandas using
feather.read_dataframeand
feather.write_dataframeas well? I searched the documentation but couldn't find any information about this. It was hoping something like the following might work:
import feather import pandas as pd dat = pd.DataFrame({'a': [1, 2, 3], 'b': [4, 5, 6]}) dat._metadata = "A dataset description ..." feather.write_dataframe(dat, "pydf.feather")
Or else perhaps:
feather.write_dataframe(dat, "pydf.feather", "A dataset description ...")
|
http://codegur.com/44608076/can-you-append-to-a-feather-format
|
CC-MAIN-2018-09
|
en
|
refinedweb
|
On Fri, 2008-09-05 at 19:44 +0200, Ingo Molnar wrote:> * Gary Hade <garyhade@us.ibm.com> wrote:> > > Add memory hotremove config option to x86_64> > > > Memory hotremove functionality can currently be configured into the > > ia64, powerpc, and s390 kernels. This patch makes it possible to > > configure the memory hotremove functionality into the x86_64 kernel as > > well.> > hm, why is it for 64-bit only?> > > +++ linux-2.6.27-rc5/arch/x86/Kconfig 2008-09-03 13:34:55.000000000 -0700> > @@ -1384,6 +1384,9 @@> > def_bool y> > depends on X86_64 || (X86_32 && HIGHMEM)> > > > +config ARCH_ENABLE_MEMORY_HOTREMOVE> > + def_bool y> > so this will break the build on 32-bit, if CONFIG_MEMORY_HOTREMOVE=y? > mm/memory_hotplug.c assumes that remove_memory() is provided by the > architecture.> > > +#ifdef CONFIG_MEMORY_HOTREMOVE> > +int remove_memory(u64 start, u64 size)> > +{> > + unsigned long start_pfn, end_pfn;> > + unsigned long timeout = 120 * HZ;> > + int ret;> > + start_pfn = start >> PAGE_SHIFT;> > + end_pfn = start_pfn + (size >> PAGE_SHIFT);> > + ret = offline_pages(start_pfn, end_pfn, timeout);> > + if (ret)> > + goto out;> > + /* Arch-specific calls go here */> > +out:> > + return ret;> > +}> > +EXPORT_SYMBOL_GPL(remove_memory);> > +#endif /* CONFIG_MEMORY_HOTREMOVE */> > hm, nothing appears to be arch-specific about this trivial wrapper > around offline_pages().Yes. All the archs (ppc64, ia64, s390, x86_64) have exact samefunction. No architecture needed special handling so far (initialversions of ppc64 needed extra handling, but I moved the codeto different place). We can make this generic and kill all arch-specific ones.Initially, we didn't know if any arch needs special handling -so ended up having private functions for each arch. I think its time to merge them all.> > Shouldnt this be moved to the CONFIG_MEMORY_HOTREMOVE portion of > mm/memory_hotplug.c instead, as a weak function? That way architectures > only have to enable ARCH_ENABLE_MEMORY_HOTREMOVE - and architectures > with different/special needs can override it.Yes. We should do that. I will send out a patch.Thanks,Badari
|
http://lkml.org/lkml/2008/9/5/276
|
CC-MAIN-2018-09
|
en
|
refinedweb
|
#define MCLOCKDELAY delay(5)...void ShiftRegister595::shiftOut(byte out){ bool pinState = false; pinMode(clockPin, OUTPUT); pinMode(dataPin, OUTPUT); digitalWrite(dataPin, LOW); digitalWrite(clockPin, LOW); for (int i=7; i>=0; i--) { digitalWrite(clockPin, LOW); if ( out & (1<<i) ) { pinState= true; } else { pinState= false; } digitalWrite(dataPin, pinState); MCLOCKDELAY; digitalWrite(clockPin, HIGH); MCLOCKDELAY; //digitalWrite(dataPin, LOW); } digitalWrite(clockPin, LOW); MCLOCKDELAY;}
#include <SPI.h>digitalWrite(RCKpin, LOW);SPI.transfer(your_data_byte);digitalWrite(SRCKpin, HIGH);
Why use software when you have fast onboard hardware - the SPI port?Code: [Select]#include <SPI.h>digitalWrite(RCKpin, LOW);SPI.transfer(your_data_byte);digitalWrite(SRCKpin, HIGH);SCK, goes to SRCK (shift register)MOSI goes to serial data inMISO not usedSS got to RCK (output register)OE/ to GND if not using for PWMMCLR to +5 if not being used
Here is a good and simple library, why write another?
Why not just use a shift register without a 2nd stage then?Like 74AC299 or equivalent?
I suppose having all outputs change together on the RCLK after shifting a bit in is somewhat better.But since only 1 bit is changing, I'm not sure you'd see much difference.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
Thank you for subscribing!
Arduino
via Egeo 16
Torino, 10131
Italy
|
http://forum.arduino.cc/index.php?topic=129768.0
|
CC-MAIN-2016-44
|
en
|
refinedweb
|
The Java programming language is strongly based on the concepts defined in the object-oriented paradigm. This means that it is common to manipulate fields, methods, variables, and other elements through class instances, which are stored in variables that access the class’s features.
The manipulation of objects in Java uses the memory for variable storage while the application is running. However, there are several situations when it is required to serialize the object, i.e. store them in another location other than the memory in order to later access them and store them back in memory.
This store operation in locations other than the memory is called serialization. The inverse operation, i.e. reading and subsequent placement of objects in memory, is called deserialization. Nowadays there are several techniques, patterns, libraries, frameworks and solutions to help Java developers serialize and deserialize the objects in a simple and fast fashion that allow several additional features beyond the storage.
This article presents a technical comparison between approaches that allow serialization of Java objects into binary files and with the XML format that store the object on a file inside the computer's file system. The article also compares these two storage modes with the binary serialization of objects inside a relational database. The comparison evaluates the time spent on serialization/deserialization, the features available for each approach and technical details required when you need to make a decision regarding the available choices to persist Java objects. With the information presented in this article the reader will get an overview of how to implement serialization and deserialization of simple objects in files and inside a database.
Now we will see the serialization and deserialization concepts, the details of the testing environment, and the data set used for the comparison between the approaches.
Data serialization and deserialization
Before the discussion of the technical details involved in object serialization in Java, it is important to know which are the main scenarios for using this feature and what are the gains when using it. The main applications for serialization/deserialization are: interoperability, cache servers, object-relational mapping, state persistence in games and collaborative applications.
When we create an objects we have an element of the programming language that have behavior, represented by its methods, and characteristics, represented by fields that are usually accessed through public methods know as getters and setters. The object’s characteristics store data according to existing data types in Java and also according to the types of data created by the user. In many situations the developer has to have a way to exchange data between heterogeneous applications (not developed in Java) or homogeneous (developed on the Java platform). This interoperability aspect is one of the main reasons for the persistence of Java objects through serialization/deserialization. For instance, an external financial system may require that, at a certain time, all the data stored inside the Java objects are sent to external audit software. Another example includes the communication through components (such as Web Services) that requires some kind of serialization/deserialization of objects to exchange information between different systems with open protocols like SOAP.
Nowadays cache servers, such as Memcached, are being broadly deployed to speed up Web applications. The purpose of these servers is to use caching techniques to fasten the access to objects already created. The use of serialization/deserialization in this scenario plays an important role as the core of these servers depends directly on how serialization/deserialization is implemented.
Another well known example of serialization is found on applications that map Java class models on database models. The implementation and use of this mapping is known by the acronym ORM (Object-Relational Mapping) and its implementation is facilitated by frameworks like Hibernate and Spring. These frameworks use the concepts of serialization/deserialization internally in order to encapsulate the details involved in the information persistence.
The use of serialization and deserialization in games is perhaps the clearest example of the application of this feature. In video games there is a story that must be followed by the character during several hours of gameplay. In this context most games provide the save and load option that stops the game in order to continue it at another appropriate time.
Saving the game state can be done by the user or automatically (auto-save), where at specific times (after the defeat of a boss level, for example) the mechanism automatically saves the player's progress. Here the act of saving is implemented as the serialization of all the objects that make up the state of the player (items in the backpack, points, elapsed time) and the level (enemies eliminated, changes in the elements of the scenario, open doors). The deserialization is performed manually when the user loads a saved game or automatically when the character dies or performs an action in the game that cannot be undone because it is required for the history’s progress (eliminating the princess to be rescued, for example).
The object’s serialization/deserialization is also used in video games when they support more than one player, i.e. multiplayer. This setting requires the serialization of objects that store specific information such as the position of the player, their stats and other vital information. The serialized object is then transmitted via the network to a server that will forward it to the other participants of the same game. The entire process of serialization/network transmission/deserialization should be as fast as possible so that all participants have a sense of presence and immersion on the virtual environment.
The same serialization process used in multiplayer games is also employed in remote synchronous collaborative applications. This type of application allows more than one person to work together with a team to perform some kind of work collaboratively. For example, collaborative modeling sessions of a UML diagram. In this type of collaboration one or more participants use a CASE tool to create together the elements of the diagram. To ensure the correct data visualization between all participants is necessary to perform the steps serialization/network transmission/deserialization when every change happens in the model in order to propagate to all elements participating in the modifications.
The steps to serialize an object in Java are not complex when using the platform provided serialization mechanisms. Considering the programming aspect, a class should implements an empty interface called Serializable in order to be serialized. This interface has no content and it notifies the virtual machine that its Java objects can be serialized. Most objects serialized are basically POJOs (Plain Old Java Objects) that contains data that implement the Serializable interface so that it can be serialized/deserialized.
In order to serialize an object the developer have develop a way to store an object identifier and the values of all the public fields so that this object can be recreated in the deserialization process. A major limitation of the serialization happens when there are dependencies between objects, such as associations and aggregations. This limitation occurs because one or more fields of a class have the data types of other classes. In such scenarios the serialization mechanism must serialize all the other linked objects.
In addition to speed up the serialization/deserialization of objects, the developer must also take other factors into consideration when evaluating the serialization mechanisms. Factors such as size of the serialized object, interoperability, security, compression, encryption, and others can make the implementation easier or harder. Therefore, in order to help the developer choose how to work with serialization this article will present a comparison between the standard Java binary serialization, the XML serialization used in Java Beans, and the binary serialization using a MySQL database. The next section presents the characteristics of the test environment and how the data set was generated to perform the comparison of the approaches.
Test environment and methodology
The test environment chosen to compare the three serialization/deserialization approaches featured a desktop computer equipped with the Intel Core i7 950 microprocessor which contains four cores (8 cores seen by the operating system due to Intel’s Hyper Threading technology), running at 3.06 GHz each, 12 GB of DDR3 RAM, a 64 KB L1 cache, a 256 KB L2 cache and a 8 MB L3 cache. This computer also had a 1TB SATA 2 HD whose theoretical maximum data transfer rate is approximately 300 MB/s. The operating system was a 64 bit Windows 2008 R2 Enterprise with SP1 running in a real (non-virtualized) installation with a MySQL 5.5 and a Java 2 SE 1.6.0_26 version. The OS file system chosen was a single NTFS partition.
The MySQL database was chosen for testing because it showed the best results while reading and writing when using the tables set with the MyISAM engine. The other databases evaluated were SQL Server 2008, Oracle 11g, and PostgreSQL 9.1.
When comparing the data recording through the three chosen approaches (binary serialization, XML and database) one need to consider a simple POJO. Therefore, all the tests used a new custom object with fields that contain the most used Java data types: Integer , UUID ( Universal Unique Identifier) , String , Date , Long , Float , Double , Boolean, and a 1024 byte array. Listing 1 shows the source code of MyObjectToSerialize class that implement the Serializable interface required for the serialization and deserialization of objects. In addition, the class contains private fields with internal variables, public getters and setters methods, the default constructor without parameters (in compliance with the Java Bean standard), and the static method called getMyObjectToSerialize() which takes as parameters the values of the fields and returns an object.
Listing 1. Contents of the MyObjectToSerialize.java file
import java.util.*; import java.io.Serializable; // You must implement the empty Serializable interface // to be able to serialize/deserialize objects of this class public class MyObjectToSerialize implements Serializable { // Private fields with the most common Java datatypes private int fInt; private String fString; private byte[] fByte; private Date fDate; private String fUUID; private Long fLong; private Float fFloat; private Double fDouble; private Boolean fBoll; // Empty constructor as recommended bu the Java Bean standard public MyObjectToSerialize() { } // This method receive the values and returns a MyObjectToSerialize instance public static MyObjectToSerialize getMyObjectToSerialize(int fI, String fS, byte[] fB, Date fD, String fU, Long fL, Float fF, Double fDo, Boolean fBo) { MyObjectToSerialize o = new MyObjectToSerialize(); o.setFInt(fI); o.setFString(fS); o.setFByte(fB); o.setFDate(fD); o.setFUUID(fU); o.setFLong(fL); o.setFFloat(fF); o.setFDouble(fDo); o.setFBoll(fBo); return o; } // From now on we have the getters and setters for each private field public int getFInt() { return fInt; } public void setFInt(int id) { fInt = id; } public String getFString() { return fString; } public void setFString(String fString) { this.fString = fString; } public byte[] getFByte() { return fByte; } public void setFByte(byte[] fByte) { this.fByte = fByte; } public Date getFDate() { return fDate; } public void setFDate(Date fDate) { this.fDate = fDate; } public String getFUUID() { return fUUID; } public void setFUUID(String fUUID) { this.fUUID = fUUID; } public Long getFLong() { return fLong; } public void setFLong(Long fLong) { this.fLong = fLong; } public Float getFFloat() { return fFloat; } public void setFFloat(Float fFloat) { this.fFloat = fFloat; } public Double getFDouble() { return fDouble; } public void setFDouble(Double fDouble) { this.fDouble = fDouble; } public Boolean getFBoll() { return fBoll; } public void setFBoll(Boolean fBoll) { this.fBoll = fBoll; } }
The POJO in Listing 1 contains the object which we will use in the serialization/deserialization tests. We also need to create multiple objects with random values for the POJO’s fields since the test will check the serialization and deserialization performance. Since the goal is to compare the performance for three persistence approaches, we chose to create very simple tests. In real world scenarios it is likely that the values obtained can be different. Nevertheless, the tests can serve as a starting point for evaluating the serialization approaches discussed in this article and can be used as an argument for more investment in this area. The readers who are interested only in binary serialization can check the references section for a link to a project that compares the performance of more than 20 possible binary and XML serialization in Java. However, this project only takes into account the execution times and does not test serialization into databases.
The dataset for the tests is 1,000 object of the MyObjectToSerialize class whose values for each field were generated randomly. To assemble the test dataset we used the binary serialization format, but for each approach this initial dataset was used on to initialize the process.
A class called RandomValues was created to generate the files that are part of the test suite. The commented source code of this class is in the RandomValues.java file and is shown in Listing 2.
Listing 2. The RandomValues.java file that contains the process to generate the set of MyObjectToSerialize objects
import java.io.*; import java.math.BigInteger; import java.util.*; public final class RandomValues { / / The AB field is used to indicate which characters can be used / / to create a random value for the String data type static final String AB = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; / / The variable rnd will be used to generate random values for many datatypes static Random rnd = new Random(); / / The following method returns a random string with the size // of the len parameters and based on the characters of the private field AB String randomString( int len ) { StringBuilder sb = new StringBuilder( len ); for( int i = 0; i < len; i++ ) sb.append( AB.charAt( rnd.nextInt(AB.length()) ) ); return sb.toString(); } // This method perform the default binary serialization of Java // for the object in the first parameter // and place the contents in the file location specified in the second parameter private static void saveObject(Serializable object, String filename) throws IOException { ObjectOutputStream objstream = new ObjectOutputStream( new FileOutputStream(filename)); objstream.writeObject(object); objstream.close(); } public static void main(String[] args) { int qtdObjs; String path; // Here we handle two parameters: the amount of objects // and the ser/des approach // Checking the parameters if(args.length!=2) { System.out.println("Use: RandomValues qtd path"); return; } try { qtdObjs = Integer.valueOf(args[0]).intValue(); } catch (NumberFormatException ex) { System.out.println("Number of objects is invalid!"); return; } path = args[1]; // A RandomValues object that will generate the random values RandomValues r = new RandomValues(); // Main loop to create all the objects for( int i = 0; i < qtdObjs; i++ ) { // A new random integer int fI = rnd.nextInt(); // A new 50 lenght String String fS = r.randomString(50); // Creating 1024 random de byte values byte[] fB = new byte[1024]; rnd.nextBytes(fB); // A new random Date value Date d = new Date(rnd.nextLong()); // A new random UUID value String uuid = UUID.randomUUID().toString(); // A new random Long value Long fL = rnd.nextLong(); // A new random Float value Float fF = rnd.nextFloat(); // A new random Double value Double fDo = rnd.nextDouble(); // A new random Boolean value Boolean fBo = rnd.nextBoolean(); // Create the MyObjectToSerialize with all the prévios // random values for the fields MyObjectToSerialize m = new MyObjectToSerialize(); m= MyObjectToSerialize.getMyObjectToSerialize(fI,fS,fB,d,uuid,fL,fF,fDo,fBo); try { // Serializes the object with the binary format and the file name // at the selected folder // The variable i is the main loop counter saveObject(m, path + "/object" + i + ".ser"); } catch (Exception e) { e.printStackTrace(); } } } }
The main method of the RandomValues class takes two parameters that must be set when the program is called from the console: the number of objects to be generated and the storage location of the binary files. Then the method stores the parameter values in variables and initializes a loop to generate the objects. Inside the loop variables the data types Integer, String, byte array, Date, Long, Float, Double, and Boolean are created and receive random values by the methods of the Random class, represented by rnd object. Finally, the MyObjectToSerialize object is created from the static method getMyObjectToSerialize and this object is serialized in binary form by the SaveObject method, which makes use of the ObjectOutputStream and FileOutputStream classes.
Once the POJO and the class that generates the tests were defined we must implement how the performance measurement will be performed. There are many tools in and techniques that can be used to instrument the code and measure their execution time, such as the tools include JAMon, Visual JM, JProbe and the JavaMelody. However, to measuring the performance of serialization/ deserialization in this article we chose to create a timer similar to a class, called Stopwatch, whose source code was stored in Stopwatch.java file shown in Listing 3. We opted for a custom class to make the test simpler and easier to understand.
Listing 3. The Stopwatch.java file that contain the class responsible to perform the running time measurement
import java.text.SimpleDateFormat; import java.util.Calendar; // This class perform time measurements for the performance tests // Its contents are based on the Stopwatch class produced by Carlos Quintanilla // and available at: public class Stopwatch { // Time constants private final long nsPerTick = 100; private final long nsPerMs = 1000000; private final long nsPerSs = 1000000000; // Variables to store the time and control the watch private long startTime = 0; private long stopTime = 0; private boolean running = false; // Starting the time interval measurement public void start() { this.startTime = System.nanoTime(); this.running = true; } // Stoping the time interval measurement public void stop() { this.stopTime = System.nanoTime(); this.running = false; } // Restarting the time interval measurement public void reset() { this.startTime = 0; this.stopTime = 0; this.running = false; } // Get the time in nanoseconds // 1 Tick = 100 nanoseconds public long getElapsedTicks() { long elapsed; if (running) { elapsed = (System.nanoTime() - startTime); } else { elapsed = (stopTime - startTime); } return elapsed / nsPerTick; } // Get the time in the following formart: // 00:00:00.0000000 public String getElapsed() { String timeFormatted = ""; timeFormatted = this.formatTime(this.getElapsedTicks()); return timeFormatted; } // Format the time as 00:00:00.0000000 private String formatTime(final long elapsedTicks) { String formattedTime = ""; SimpleDateFormat formatter = new SimpleDateFormat("00:mm:ss.SSS"); Calendar calendar = Calendar.getInstance(); if (elapsedTicks <= 9999) { calendar.setTimeInMillis(0); formattedTime = formatter.format(calendar.getTime()) + String.valueOf(String.format("%04d", elapsedTicks)); } else { calendar.setTimeInMillis(elapsedTicks * nsPerTick / nsPerMs); String formattedTicks = String.format("%07d", elapsedTicks); formattedTicks = formattedTicks.substring(formattedTicks.length() - 4); formattedTime = formatter.format(calendar.getTime()) + formattedTicks; } return formattedTime; } }
This class begins by defining some constants used to convert measurement periods. Then variables of type Long are created to store the start time, pause and resume control inside the methods start(), stop() and reset(). Since the start() method begin the time counting using the nanoTime() method of the System class we should perform a time conversion to transform in nanoseconds into seconds. This conversion is performed by the getElapsedTicks () method which uses the equivalence of 1 Tick = 100 nanoseconds. The time is then returned by the getElapsed() method which, in turn, calls formatTime () to actually format the time in a user friendly string that show the hour, minute, second, millisecond and ticks elapsed.
We chose to create a new class called ObjectSerDes to perform the serialization and deserialization tests. This class receives five parameters when called from the console:
- The first parameter indicates what action should be performed. If the letter S is provided a serialization test will be performed and if the letter D is typed a deserialization test will happen;
- The second parameter is used to specify which type of approach that will be used in the tests. The possible values for this parameter are: FS, XML and MySQL for the test execution using binary files stored in File System (files), XML format or inside a MySQL database, respectively;
- The third parameter is the the number of objects that will be created for the test. As previously mentioned, the comparison of the approaches use 1,000 objects;
- The fourth parameter is the number of times that the same test will be repeated. This repetition is very important because it is possible to obtain statistical values such as mean, standard deviation, median, and mode that identify trends and provide statistical confidence for the tests’ results;
- The fifth and last parameter is the path that contains the files generated by RandomValues class previously discussed in this section. This set of files has to be the same for each test performed with the three approaches to ensure that we are comparing the same data across the approaches. These objects are initially serialized in binary format; however each test will measure the serialization/deserialization chosen by the second parameter value.
The file that performs the tests was named ObjectSerDes.java and its partial content is shown in Listing 3.
Listing 3. Partial contents of the file ObjectSerDes.java which performs tests for serialization and deserialization
import java.sql.*; import java.util.*; import java.io.*; import java.beans.XMLDecoder; import java.beans.XMLEncoder; public class ObjectSerDes { public static void main(String[] args) { // FIRST PART: PARAM CAPTURE/HANDLING int MAX_OBJS = 0; int MAX_TESTS = 0; String op; String path; String method; // Here we get the five parameters: // 1) Serialization or deserialization (S or d) // 2) The approach used (FS,XML or MySQL) // 3) The amount of objects // 4) The number of test repetitions // 5) The path with the files // Parameter Checks if(args.length!=5) { System.out.println("Use: ObjectSerDes {S,D} {FS,XML,MySQL } qtd_objects qtd_tests path"); return; } op = args[0]; method = args[1]; try { MAX_OBJS = Integer.valueOf(args[2]).intValue(); MAX_TESTS = Integer.valueOf(args[3]).intValue(); } catch (NumberFormatException ex) { System.out.println("Something wrong with the numeric values!"); return; } path = args[4]; // SECOND PART: TEST EXECUTION try { MyObjectToSerialize[] objs = new MyObjectToSerialize[MAX_OBJS]; Stopwatch timer = new Stopwatch(); Connection conn = null; // Deserialization tests if(op.equals("D")) { for( int cont = 0; cont < MAX_TESTS; cont++ ) { if(method.equals("FS")) { timer.start(); for( int i = 0; i < MAX_OBJS; i++ ) objs[i] = (MyObjectToSerialize) loadObject(path + "/object" + i + ".ser"); timer.stop(); } if(method.equals("XML")) { timer.start(); for( int i = 0; i < MAX_OBJS; i++ ) objs[i] = (MyObjectToSerialize) loadObjectXML(path + "/Ser_object" + i + ".xml"); timer.stop(); } if(method.equals("MySQL")) { conn = getConnectionMySQL(); timer.start(); for( int i = 0; i < MAX_OBJS; i++ ) objs[i] = (MyObjectToSerialize) loadObjectDB(conn,i); timer.stop(); } System.out.println("Test " + method + " Deserialize " + cont + " (N=" + MAX_OBJS +") - Time:" + timer.getElapsed()); } } else // Serialization tests { // Get the object to serialize! for( int i = 0; i < MAX_OBJS; i++ ) objs[i] = (MyObjectToSerialize) loadObject(path + "/object" + i + ".ser"); // Starting the tests for( int cont = 0; cont < MAX_TESTS; cont++ ) { if(method.equals("FS")) { timer.start(); for( int i = 0; i < MAX_OBJS; i++ ) saveObject(objs[i], path + "/Ser_object" + i + ".ser"); timer.stop(); } if(method.equals("XML")) { timer.start(); for( int i = 0; i < MAX_OBJS; i++ ) saveObjectXML(objs[i], path + "/Ser_object" + i + ".xml"); timer.stop(); } if(method.equals("MySQL")) { conn = getConnectionMySQL(); cleanDB(conn); timer.start(); for( int i = 0; i < MAX_OBJS; i++ ) saveObjectDB(objs[i],conn,i); timer.stop(); } System.out.println("Test " + method + " Serialize " + cont + " (N=" + MAX_OBJS +") - Time:" + timer.getElapsed()); } } } catch (Exception e) { e.printStackTrace(); } } }
The ObjectSerDes class, shown in Listing 3, is incomplete because it only contains the main() method. The next sections of this article will describe the missing methods guided by the explanation of each approach used for serialization/deserialization of objects. The tests with binary serialization to the file system require the SaveObject() and loadObject() methods. The tests with XML serialization require the saveObjectXML() and loadObjectXML(). The tests with serialization in MySQL you must have the getBytes(), getConnectionMySQL(), cleanDB(), saveObjectDB() and loadObjectDB() methods.
The main() method of the ObjectSerDes class was divided into two parts: the first part handles the five parameters that the program requires to run: action, serialization/deserialization approach, number of objects, number of repetitions and path in the variables op, method, MAX_OBJS, and MAX_TEST, respectively. For instance, to perform 50 serialization tests using MySQL with 1,000 objects stored on the files at c:\TestsSer path the following command line must be typed on the operating system console: java ObjectSerDes S MySQL 1000 50 c:\TestsSer.
The second part of the main() method begins with a try/catch block that will be used to handle any exceptions that may occur during all tests. Shortly after the beginning of this block an array of objects of the MyObjectToSerailize class (the POJO) is created with the number of elements equal to the number of objects displayed in the third parameter. This array will be used to initialize values as we shall see later. Other objects are also created to store the time (the Stopwatch class) and to store the connection with the database (Connection class).
The next lines of the program check which the action will be performed in the test through the contents of the variable op. If it contains the D value a deserialization tests will be executed and if the value stored is S serialization tests will be done.
If the user action chosen is serialization, the objs array is filled with the values of objects already serialized and generated by the auxiliary program RandomValues that creates many files with objects serialized. This filling is done through a simple loop that deserializes objects on the loadObject() method without computing its running time, since the option chosen by the user was to test the serialization. The storage of objects in the objs array is just a necessary step for the initialization of the serialization tests and not part of the test itself.
Inside the if or else blocks corresponding to the serialization or deserialization actions there is a verification of the method variable to see what value (FS, MySQL or XML) represents the approach being tested.
Finally, when the loop that performs the testing is completed a message is printed indicating how long it took to perform the operation according to the provided test parameters.
After the creation of the POJO and the classes that generates the tests, do the measurement of the execution time and perform the tests we can begin to run the serialization and deserialization tests for each of the three approaches.
Conclusion
Class instantiation through objects is one of the main elements that characterize the Java programming language. It is common to apply the operation known as serialization and its counterpart, the deserialization, in applications that need to persist Java objects in another location other than the memory. Nowadays there are some libraries, frameworks, tools and solutions that can be used to fulfill this goal.
This article presents the serialization and deserialization concepts along with examples where they are employed. The article also described the test environment used and how a POJO was created to receive a data set.
|
http://mrbool.com/comparing-the-serialization-and-deserialization-of-java-objects/31071
|
CC-MAIN-2016-44
|
en
|
refinedweb
|
I’ve become rather pedantic about my coding style over the years. I’ve worked in a number of people’s code, and have always felt most comfortable in the core NT code because of the consistency of formatting, naming, etc… This is a coding style that we often call "Cutler Normal Form" in deference to Dave Cutler.
Despite this I recently made a change in the way I place my braces around blocks of code. CNF says that braces go at the end of the line that will execute the code block, as follows:
if (foo) { do something; } else { do something else; }
I used to really like this style. It made it clear to me when the statement being evaluated was continued into the next block. Of course I always use braces, even when I only want one statement in the if or else clause, so this was a quick way to look and be sure i’d set things up correctly.
I’ve now transitioned over to:
if (foo) { do something; } else { do something else; }
This was the preferred style of the folks in the UMDF group when I joined the project. It took me a while to warm up to this. However i eventually found two things that i like about it.
First it leaves more open white space. In my "old age" (i.e. mid thirties) i find that i like more whitespace in my code. It improves the readability for me, and makes me work harder to keep my functions fitting on a single page – which is a good threshold for whether they’re understandable or not.
The second is that it makes it much, much easier to put part of the block under an IFDEF. This to me was the winner. Now i can do:
#if bar if (foo) { do something specific to bar; } else #endif { do something else; }
Rather than:
#if bar if (foo) { do something specific to bar; } else // note that there would otherwise be a { here #endif { do something else; }
Or even worse:
#if bar if (foo) { do something specific to bar; } else { #else { #endif do something else; }
Perhaps it’s a silly thing to change something as fundamental(ist) as brace formatting style to get around a little inconsistency in how you preprocess out part of a conditional. But i like consistency … the hairs on the back of my neck go up when i see code that’s not in my normal format. So in the end this made me more comfortable.
This has come up quite a bit for me when debugging something or refactoring something. When refactoring i’ll frequently #if out a chunk of impacted non-critical functionality (usually replaced with a failure case) until i’m ready to deal with that chunk of code. For debugging it can be useful to do the same thing if you’re trying to track down the cause of a crash and are at your witts end.
And I’ve come to find it prettier.
-p
PingBack from
I’ve always preferred the more expanded version, though in very simple cases I’ll write one-liners:
if(value > 100) value = 100;
I consider that better than the four-liner (including braces) and it clearly shows that only one instruction will occur.
I’m still waiting on a mainstream app/plugin that transparently formats code according to the user (maybe at the checkout point?). Having code formatted as you like to see it has a massive impact on how easy it is to read and modify.
I’d also been a CNF patriot … until I moved over and spent a while in C# and now I’m a fan of the new way, that is, the way you describe.
if (bar)
{
foo();
}
else
{
dang();
}
There’s a couple of other CNF things I’m a fan of, such as, braces always. That is, it doesn’t matter if it’s a single line body or multi line, you always use braces, never ever
if (bar)
foo();
else
dang();
I’ve been playing in open source for a while now and it takes me back to my old unix days but, those with coding styles in the current open source (linux) world seem to be very heavy proponents of NOT using braces for single line bodies. (I haven’t actually gone and read the linux kernel programming style guidelines but they do exist). Certainly in the last couple of days as I’ve been heavily adding print statements (for debugging) to some code it would have been easier to just add the print rather than the print AND the braces as I try to work out where the heck this code is going. So, I’ll remain a proponent of braces everywhere.
Another CNF’ism that I quite like is not to assume a boolean result (actually prohibited in C#). That is, use
if (foo == NULL)
{
return ERROR_SOMETHING_BAD;
}
rather than
if (!foo)
{
return ERROR_SOMETHING_CONFUSING;
}
Of course Dave is also a fan of always comparing to zero so you find a lot of
if (foo != FALSE)
which I found hard to read for a long time. But, the code produced for that is always likely to be better than for
if (foo == TRUE)
You’ll never get me to produce my locals in alphabetical order though 🙂
Say hi to the little un for me.
-P (the other)
Peter's a topic stealing stealer person. So rather than pout about how he's stolen my thunder
I am a bit older than you, in my 50’s and have been coding for over 30 years. I used to think that the difference in bracing styles was a generational thing, i.e the old guys, like me, liked the more expanded style, while the young Turks liked the more compact style. It is nice to see some of you younger guys agreeing with us dinosaurs.
As a coder in his 60’s I concur with sidnsd and the general theme. There ia a little program called astyle that does reformat code for you.
Enjoy!
btw
btw
value = max (value, 100); // neat and concise
Agree with this formating style, but with "else" I put it on the same line as the closing }.
"I'll remain a proponent of braces everywhere." Same here.
|
https://blogs.msdn.microsoft.com/peterwie/2008/02/04/pedantic-coder-where-do-braces-go/
|
CC-MAIN-2016-44
|
en
|
refinedweb
|
module Halipeto.Template ( CustomFn, Result (Attr, Text, Xml, Repeat, Continue, Skip), Position (Before, After, Replace), hal, UpdateDict, Page (Page), TreeSite (TreeSite), path, template, dictionary, Context (Ctx), state, funcs, site, readTemplate, evalElement, evalDocument ) where\end{code} \begin{code}
import Data.Maybe import Data.Char import Halipeto.Dictionary import Text.XML.HaXml.Parse hiding ( reference ) import Text.XML.HaXml.Types import Text.XML.HaXml.Posn\end{code} \subsection{Context} The context is the environment in which the template is processed. Functions may modify the context (ie, return a new instance) if necessary. Generally only the state will be modified. The context contains three dictionaries (the type below is more general, but all functions in Halipeto assume that f implements the Dictionary class and s the SubDictionary class). The Dictionary type is described later. It is a pure data structure that associates keys (strings) with values. The funcs dictionary contains the custom functions available to the template engine (see below). The state dictionary provides a unified way for the system to store and retrieve text. The site component defines the structure of the site that is being generated. Non--textual data, or large quantities of text, should be manipulated indirectly. Functions may include references to other data or execute IO actions, for example. In such cases the state dictionary would still be used to manage the associated meta--data (eg table names or keys for SQL access). %%Haddock: The context within which a template is evaluated \begin{code}
data Context s f = Ctx {state :: s String, -- ^ State dictionary funcs :: f (CustomFn s f), -- ^ Functions dictionary site :: TreeSite s -- ^ Site structure }\end{code} \subsection{Custom Functions} The template is modified by custom functions that are stored within the context. Functions are invoked by appearing as attributes in the template, under a non-empty namespace (the name of the function corresponds to the attribute name; namespace and function name together define a hierarchical key for the dictionary --- see the Dictionary documentation for more details). The argument supplied to the function is the value of the corresponding attribute. %%Haddock: The attribute value \begin{code}
type Arg = String\end{code} %%Haddock: A function invoked by the template \begin{code}
type CustomFn s f = Context s f -> Arg -> IO (Context s f, Result s f)\end{code} Note that currently fuctions do not have access to the XML structure of the template. This has not been necessary so far, and I'm reluctant to introduce it until I find a compelling need (partly because I'm not sure how until I have an example, and partly because I'm not at all sure it's necessary). The return code of the function controls subsequent processing. %%Haddock: Control the position of inserted elements \begin{code}
data Position = Before -- ^ Insert data before current contents | After -- ^ Insert data after current contents | Replace -- ^ Replace current contents\end{code} %%Haddock: The result from a function called by the template engine \begin{code}
data Result s f = Attr Name String -- ^ Add an attribute | Text Position String -- ^ Add text | Xml Position [Element Posn] -- ^ Add XML | Repeat (CustomFn s f) -- ^ Recurse on function | Continue -- ^ Process next attribute | Skip -- ^ Delete contents\end{code} %%Haddock: The XML namespace for builtin functions \begin{code}
hal :: String hal = "hal"\end{code} These types are discussed in more detail in the documentation for Custom Functions. \subsection{Pages} The Page data type carries information used to process a particular page. Pages are grouped together in a hierarchy using TreeSite. In addition, some information related to site structure is stored in the state dictionary. See the Pages documentation for more details. %%Haddock: Modify the state to contain values for this page \begin{code}
type UpdateDict s = s String -> [String] -> s String\end{code} %%Haddock: Description of a page \begin{code}
data Page s = Page {path :: [String], -- ^ Path to page template :: String, -- ^ Page template dictionary :: UpdateDict s -- ^ State for page }\end{code} %%Haddock: Hierarchical site structure \begin{code}
data TreeSite s = TreeSite {page :: Maybe (Page s), -- ^ Parent page children :: [TreeSite s] -- ^ Sub-pages }\end{code} \subsection{Reading a Template} Templates are read as XML (so you have to use XHTML). This is necessary because the HaXml parser ``corrects'' HTML --- an important feature of HaXml, but a problem here because it will discard something like \begin{verbatim} \end{verbatim} which is invalid (or at least pointless) HTML, but a valid template. %%Haddock: Current implementation uses HaXml \begin{code}
type Template = Document Posn\end{code} %%Haddock: Read and parse a template \begin{code}
readTemplate :: String -> IO Template readTemplate name = do text <- readFile name return $ xmlParse name text\end{code} \subsection{Applying Functions} We visit the elements in the HTML document in pre-order, checking for attributes with associated namespaces. If an attribute exists, we evaluate the function and modify the HTML accordingly. Note that changes to the HTML document are global, but changes to the context only apply to sub--nodes in the tree. If we use recursive functions without accumulators then this corresponds to passing both context and tree as function arguments, but returning only modified HTML (so returning to a higher level function uses an earlier context, as expected). All changes are restricted to sub-trees, so there is no need to re-evaluate elements. Repeating functions repeat over the initial context and structure, not over modified structure (but the sub-structure may itself change each iteration). %%Haddock: Evaluate the element (and its contents) \begin{code}
evalElement :: (SubDictionary s, Dictionary f (CustomFn s f)) => Context s f -> Element Posn -> IO (Element Posn) evalElement ctx e@(Elem _ _ _) = evalAttributes ctx evalContents e []\end{code} The function nxt below is a continuation that evaluates the element contents. In general, when we are evaluating a template, we evaluate the attributes and then the contents (which is why evalElement above passes evalContents as the continuation). \begin{code}
evalAttributes :: (SubDictionary s, Dictionary f (CustomFn s f)) => Context s f -> (Context s f -> Element Posn -> IO (Element Posn)) -> Element Posn -> [Attribute] -> IO (Element Posn) evalAttributes ctx nxt (Elem nm [] cn) at = nxt ctx $ Elem nm (reverse at) cn evalAttributes ctx nxt (Elem nm (a@(anm, val):as) cn) at = if pth == [] then evalAttributes ctx nxt (Elem nm as cn) (a:at) else case fn of Just f -> evalFunction ctx nxt (Elem nm as cn) at f $ attVal val Nothing -> evalAttributes ctx nxt (Elem nm as cn) (a:at) where fnm@[pth,_] = parseFunction anm fn = search (funcs ctx) fnm\end{code} No error is flagged if function lookup fails because not all attributes with namespaces need to be functions (consider the xml namespace). A future improvement might let the user specify which namespaces should be associated with functions. \begin{code}
parseFunction :: Name -> [String] parseFunction = parseFunction' "" "" parseFunction' :: String -> String -> String -> [String] parseFunction' p n "" = [p,n] parseFunction' "" n (c:s) | c == ':' = parseFunction' n "" s | otherwise = parseFunction' "" (n++[c]) s parseFunction' p n (c:s) = parseFunction' p (n++[c]) s\end{code} If a function returns a Repeat constructor (with a ``repeat function'') then we do the following: \begin{itemize} \item create a new element that contains the remaining attributes and all the content of the current element \item evaluate the new element and sub-elements (continuation evalContents) --- this is the ``first iteration'' \item after executing the first iteration, call evalFunction with the initial element, the repeat function, and the modified context (continuation skip - we're already managing the contents) --- this gives the ``remaining iterations'' \item combine the results from the first iteration and the remaining iterations to give the final result \end{itemize} Note the recursion on calling evalFunction, which is terminated by a return value of Continue. This is not tail recursive, so we may need to improve things later. \begin{code}
evalFunction :: (SubDictionary s, Dictionary f (CustomFn s f)) => Context s f -> (Context s f -> Element Posn -> IO (Element Posn)) -> Element Posn -> [Attribute] -> CustomFn s f -> String -> IO (Element Posn) evalFunction ctx nxt (Elem nm at cn) at' f val = do (ctx', res) <- f ctx val case res of Attr n v -> evalAttributes ctx' nxt (Elem nm at cn) ((n, AttValue [Left v]):at') Text p s -> case p of Before -> evalAttributes ctx' nxt (Elem nm at ([CString False s noPos]++cn)) at' After -> evalAttributes ctx' nxt (Elem nm at (cn++[CString False s noPos])) at' Replace -> evalAttributes ctx' nxt (Elem nm at [CString False s noPos]) at' Xml p e -> case p of Before -> evalAttributes ctx' nxt (Elem nm at ((map (\x -> CElem x noPos) e)++cn)) at' After -> evalAttributes ctx' nxt (Elem nm at (cn++(map (\x -> CElem x noPos) e))) at' Replace -> evalAttributes ctx' nxt (Elem nm at (map (\x -> CElem x noPos) e)) at' Repeat f' -> loopAttribute ctx' (Elem nm at cn) at' f' val Continue -> evalAttributes ctx' nxt (Elem nm at cn) at' Skip -> evalAttributes ctx' skip (Elem nm [] []) at' skip :: Context s f -> Element Posn -> IO (Element Posn) skip _ e = do return e loopAttribute :: (SubDictionary s, Dictionary f (CustomFn s f)) => Context s f -> Element Posn -> [Attribute] -> CustomFn s f -> String -> IO (Element Posn) loopAttribute ctx e@(Elem nm _ _) at1 f val = do (Elem _ at2 cn2) <- evalAttributes ctx evalContents e [] -- first (Elem _ at3 cn3) <- evalFunction ctx skip e [] f val -- remain return $ Elem nm (joinAtts at1 at2 at3) (cn2++cn3) revAppend :: [a] -> [a] -> [a] revAppend base [] = base revAppend base (x:xs) = revAppend (x:base) xs joinAtts :: [Attribute] -> [Attribute] -> [Attribute] -> [Attribute] joinAtts at1 at2 at3 = reverse (revAppend (revAppend at1 at2) at3) evalContents :: (SubDictionary s, Dictionary f (CustomFn s f)) => Context s f -> Element Posn -> IO (Element Posn) evalContents ctx (Elem nm at cn) = do cn' <- mapM (evalContent ctx) cn return $ Elem nm at cn' evalContent :: (SubDictionary s, Dictionary f (CustomFn s f)) => Context s f -> Content Posn -> IO (Content Posn) evalContent ctx (CElem e pos) = do e' <- evalElement ctx e return $ CElem e' pos evalContent _ c = do return c\end{code} \subsection{Driver} The following code generates HTML from a template. %%Haddock: Evaluate a complete template \begin{code}
evalDocument :: (SubDictionary s, Dictionary f (CustomFn s f)) => Context s f -> Document Posn -> IO (Document Posn) evalDocument ctx (Document p st elt msc) = do elt' <- evalElement ctx elt return $ erase $ Document p st elt' msc\end{code} \subsection{Removing Elements} Version 1.0 of Halipeto had some problems generating valid XHTML. In particular, repetition repeats the contents of an element, but not the element itself. This is for good reason --- the document's tree structure is strictly respected so that the scope of any change to the stae is always clearly defined. However, the usual solution --- adding an additional div or span element to carry the repeating attribute --- is not always consistent with the XHTML DTD. I'm unsure how to handle this. Having "special" functions that don't respect the document's tree structure sounds confusing. Maybe I need to introduce a completely different mechanism that involves re-writing the tree (this would perhaps give a neater solution to the problem I faced in the Pancito site, where database information was arranged by row then column, but needed to be displayed by column then row). For now, I'm going to implement a completely ad--hoc solution. The attribute hal:erase (unless defined as a function, probably in error) will be used to indicate that an element should be removed from the document. The contents of the element are not removed, but included in the parent element. I'd appreciate feedback on this. It implies that templates will still not comply with DTDs, even though the final document will (but then that has always been possible) --- is this a problem? \begin{code}
erase :: Document Posn -> Document Posn erase (Document p st elt msc) = Document p st (eraseChildren elt) msc eraseChildren :: Element Posn -> Element Posn eraseChildren (Elem nm at cn) = Elem nm at $ foldl eraseContent [] cn eraseContent :: [Content Posn] -> Content Posn -> [Content Posn] eraseContent cn (CElem el pos) = if hasErase el' then cn++cn' else cn++[CElem el' pos] where el'@(Elem _ _ cn') = eraseChildren el eraseContent cn x = cn++[x] hasErase :: Element Posn -> Bool hasErase (Elem _ at _) = any f at where f ("hal:erase", _) = True f _ = False\end{code} \subsection{Attribute Values} HaXml parses attributes as lists of strings and references, which is nice and correct, but not the simple interface we want for Halipeto. So these functions, pulled from the pretty printer internals of HaXml, convert the attribute value to a string before the custom function is called. \begin{code}
attVal :: AttValue -> [Char] attVal (AttValue esr) = concatMap (either id reference) esr reference :: Reference -> [Char] reference (RefEntity er) = entityref er reference (RefChar cr) = charref cr entityref :: EntityRef -> [Char] entityref n = "&" ++ show n ++ ";" charref :: CharRef -> [Char] charref c = "&" ++ show c ++ ";"\end{code}
|
http://hackage.haskell.org/package/halipeto-2.4/docs/src/Halipeto-Template.html
|
CC-MAIN-2016-44
|
en
|
refinedweb
|
So for example, I have a static variable inside a recursive function, and I want that variable to be static through out each call of the recursion, but once the recursion is finished, I want that variable to be reset so that the next time I use the recursive function it starts from scratch.
For example, we have a function:
<?php
function someFunction() {
static $variable = null;
do stuff; change value of $variable; do stuff;
someFunction(); # The value of $variable persists through the recursion.
return ($variable);
}
?>
someFunction();
someFunction();
$variable
Prodigitalsons answer is the best solution, but since you asked for a solution using static variables and I don't see an appropriate answer here's my solution.
Just set the static variable to null when you're done. The following will print 12345 on both calls.
function someFunction() { static $variable = 0; $variable++; echo $variable; if ($variable < 5) someFunction(); $returnValue = $variable; $variable = null; return $returnValue; } someFunction(); echo "\n"; someFunction(); echo "\n";
Or combine this with the previous answer with an initializer:
function someFunction($initValue = 0) { static $variable = 0; if($initValue !== 0) { $variable = $initValue; } $variable++; echo $variable; if ($variable < 5) someFunction(); $returnValue = $variable; $variable = null; return $returnValue; } someFunction(2); echo "\n"; someFunction(3); echo "\n"; someFunction(); echo "\n"; someFunction(-2);
Will output:
345 45 12345 -1012345
|
https://codedump.io/share/5e7QOwNMPtCq/1/how-do-you-clear-a-static-variable-in-php-after-recursion-is-finished
|
CC-MAIN-2016-44
|
en
|
refinedweb
|
Back to index
00001 /* Copyright (C) 2001 /* This file contains a bit of information about the stack allocation 00020 of the processor. */ 00021 00022 #ifndef _STACKINFO_H 00023 #define _STACKINFO_H 1 00024 00025 /* On x86_64 the stack grows down. */ 00026 #define _STACK_GROWS_DOWN 1 00027 00028 #endif /* stackinfo.h */
|
https://sourcecodebrowser.com/glibc/2.9/sysdeps_2x86__64_2stackinfo_8h_source.html
|
CC-MAIN-2016-44
|
en
|
refinedweb
|
Message-ID and Mail.app Deep Linking on iOS and macOS
Last week, we concluded our discussion of device identifiers with a brief foray into the ways apps use device fingerprinting to work around Apple’s provided APIs to track users without their consent or awareness. In response, a few readers got in touch to explain why their use of fingerprinting to bridge between Safari and their native app was justified.
At WWDC 2018,
Apple announced that
starting in iOS 11 apps would no longer have access to a shared cookie store.
Previously,
if a user was logged into a website in Safari on iOS
and installed the native app,
the app could retrieve the session cookie from an
SFSafari
to log the user in automatically.
The change was implemented as a countermeasure against
user tracking by advertisers and other third parties,
but came at the expense of certain onboarding flows used at the time.
While iCloud Keychain, Shared Web Credentials, Password Autofill, Universal Links, and Sign in with Apple have gone a long way to minimize friction for account creation and authentication, there are still a few use cases that aren’t entirely covered by these new features.
In this week’s article,
we’ll endeavor to answer one such use case, specifically:
How to do seamless “passwordless” authentication via email on iOS.
Mail and Calendar Integrations on Apple PlatformsMail and Calendar Integrations on Apple Platforms
When you view an email on macOS and iOS, Mail underlines detected dates and times. You can interact with them to create a new calendar event. If you open such an event in Calendar, you’ll see a “Show in Mail” link in its extended details. Clicking on this link takes you back to the original email message.
This functionality goes all the way back to the launch of the iPhone; its inclusion in that year’s Mac OS X release (Leopard) would mark the first of many mobile features that would make their way to the desktop.
If you were to copy this “magic” URL to the pasteboard and view in a text editor, you’d see something like this:
"message:%3C1572873882024.NSHIPSTER%40mail.example.com%3E"
Veteran iOS developers will immediately recognize this to use a custom URL scheme. And the web-savvy among them could percent-decode the host and recognize it to be something akin to an email address, but not.
So if not an email address, what are we looking at here?
It’s a different email field known as a Message-ID.
Message-IDMessage-ID
RFC 5322 §3.6.4
prescribes that every email message SHOULD
have a “Message-ID:” field
containing a single unique message identifier.
The syntax for this identifier is essentially an email address
with enclosing angle brackets (
<>).
Although the specification contains no normative guidance for what makes for a good Message-ID, there’s a draft IETF document from 1998 that holds up quite well.
Let’s take a look at how to do this in Swift:
Generating a Random Message IDGenerating a Random Message ID
The first technique described in the aforementioned document
involves generating a random Message ID with a 64-bit nonce,
which is prepended by a timestamp to further reduce the chance of collision.
We can do this rather easily
using the random number generator APIs built-in to Swift 5
and the
String(_:radix:uppercase:) initializer:
import Foundation let timestamp = String(Int(Date().time
IntervalInterval Since1970 * 1000)) let nonce = String(UInt64.random(in: 0..<UInt64.max), radix: 36, uppercase: true) let domain = "mail.example.com" let MessageSince1970 * 1000)) let nonce = String(UInt64.random(in: 0..<UInt64.max), radix: 36, uppercase: true) let domain = "mail.example.com" let Message ID = "<\(timestamp).\(nonce)@\(domain)>" //"<[email protected]>"ID = "<\(timestamp).\(nonce)@\(domain)>" //"<[email protected]>"
We could then save the generated Message-ID with the associated record in order to link to it later. However, in many cases, a simpler alternative would be to make the Message ID deterministic, computable from its existing state.
Generating a Deterministic Message IDGenerating a Deterministic Message ID
Consider a record structure that conforms to
Identifiable protocol
and whose associated
ID type is a
UUID.
You could generate a Message ID like so:
import Foundation func message
ID<Value>(for value: Value, domain: String) -> String where Value: Identifiable, Value.ID == UUID { return "<\(value.id.uuidID<Value>(for value: Value, domain: String) -> String where Value: Identifiable, Value.ID == UUID { return "<\(value.id.uuid String)@\(domain)>" }String)@\(domain)>" }
Mobile Deep LinkingMobile Deep Linking
The stock Mail client on both iOS and macOS
will attempt to open URLs with the custom
message: scheme
by launching to the foreground
and attempting to open the message
with the encoded Message-ID field.
Generating a Mail Deep Link with Message IDGenerating a Mail Deep Link with Message ID
With a Message-ID in hand,
the final task is to create a deep link that you can use to
open Mail to the associated message.
The only trick here is to
percent-encode
the Message ID in the URL.
You could do this with the
adding method,
but we prefer to delegate this all to
URLComponents instead —
which has the further advantage of being able to
construct the URL full without a
format string.
import Foundation var components = URLComponents() components.scheme = "message" components.host = Message
ID components.string! // "message://%3C1572873882024.NSHIPSTER%40mail.example.com%3E"ID components.string! // "message://%3C1572873882024.NSHIPSTER%40mail.example.com%3E"
Opening a Mail Deep LinkOpening a Mail Deep Link
If you open a
message: URL on iOS
and the linked message is readily accessible from the INBOX
of one of your accounts,
Mail will launch immediately to that message.
If the message isn’t found,
the app will launch and asynchronously load the message in the background,
opening it once it’s available.
As an example, Flight School does this with passwordless authentication system. To access electronic copies of your books, you enter the email address you used to purchase them. Upon form submission, users on iOS will see a deep link to open the Mail app to the email containing the “magic sign-in link” ✨.
Other systems might use Message-ID to streamline passwordless authentication for their native app or website by way of Universal Links, or incorporate it as part of a 2FA strategy (since SMS is no longer considered to be secure for this purpose).
Unlike so many private integrations on Apple platforms, which remain the exclusive territory of first-party apps, the secret sauce of “Show in Mail” is something we can all get in on. Although undocumented, the feature is unlikely to be removed anytime soon due to its deep system integration and roots in fundamental web standards.
At a time when everyone from browser vendors and social media companies to governments — and even Apple itself, at times — seek to dismantle the open web and control what we can see and do, it’s comforting to know that email, nearly 50 years on, remains resolute in its capacity to keep the Internet free and decentralized.
|
https://nshipster.com/message-id/
|
CC-MAIN-2021-49
|
en
|
refinedweb
|
ALAudioRecorder API¶
NAOqi Audio - Overview | API
Namespace : AL
#include <alproxies/alaudiorecorderproxy.h>
Method list¶
As any module, this module inherits methods from ALModule API. It also has the following specific methods:
Methods¶
- void
ALAudioRecorderProxy::
startMicrophonesRecording(const std::string& filename, const std::string& type, const int& samplerate, const AL::ALValue& channels)¶
This method launches the recording of the audio signal measured by the microphones formated as specified. The resulting recording is written in the specified file.
Note that these recording capabilities are currently limited to the following formats:
- four channels 48000Hz in OGG.
- four channels 48000Hz in WAV uncompressed.
- one channels (front, rear, left or right), 16000Hz, in OGG.
- one channels (front, rear, left or right), 16000Hz, in WAV.
#include <iostream> #include <alproxies/alaudiorecorderproxy.h> #include <qi/os.hpp> int main(int argc, char **argv) { if (argc < 2) { std::cerr << "Usage: alaudiorecorder_startrecording pIp" << std::endl; return 1; } const std::string pIp = argv[1]; AL::ALAudioRecorderProxy proxy(pIp); /// Configures the channels that need to be recorded. AL::ALValue channels; channels.arrayPush(0); //Left channels.arrayPush(0); //Right channels.arrayPush(1); //Front channels.arrayPush(0); //Rear /// Starts the recording of NAO's front microphone at 16000Hz /// in the specified wav file proxy.startMicrophonesRecording("/home/nao/test.wav", "wav", 16000, channels); qi::os::sleep(5); /// Stops the recording and close the file after 10 seconds. proxy.stopMicrophonesRecording(); return 0; }
- void
ALAudioRecorderProxy::
stopMicrophonesRecording()¶
This method stops the recording of the signal collected by the microphones started with
ALAudioRecorderProxy::startMicrophonesRecording.
|
http://doc.aldebaran.com/2-4/naoqi/audio/alaudiorecorder-api.html
|
CC-MAIN-2021-49
|
en
|
refinedweb
|
Table of Contents generated with DocToc
- dbevolv
- Usage
- Writing database migrations
- Building more complex upgrade / downgrade scripts
- Migration design guidelines
- Rebasing a database
- Getting the list of tenants
- Computing the database name / schema name / index name / keyspace (depending on underlying db kind)
- Testing your newly added script locally before committing
- Project examples
- Upgrading / downgrading a database
- Inspecting the migrations inside a schema manager
- Getting the list of already installed migrations in a database
- Using a test instance in automated tests
- Development
dbevolvdbevolv
Allows to evolve data store instances. Supports automatic testing, multi-tenancy, test database generation, custom scripts, big data stores.
Supported data storesSupported data stores
- cassandra
- elasticsearch
- mysql
UsageUsage
Writing database migrationsWriting database migrations
Create a git repo with the following structure:
/db.conf /build.sbt /version.sbt /.gitignore /project/plugins.sbt /build.properties /migrations/0010/ /0020/ /0030/ /0040/ /0050/
The
db.conf should contain the description of the data store schema. You must also specify the connection strings for all the environments. For example:
database_kind = cassandra has_instance_for_each_tenant = true schema_name = reverse_geo app_name = reverse_geo-schema-manager create_database_statement = "CREATE KEYSPACE @@DATABASE_NAME@@ WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 }" test_configurations = [ { tenant = "mycustomer1" }, { tenant = "mycustomer2" } ] dev { host = "my-dev-cassandra-host1,my-dev-cassandra-host2,my-dev-cassandra-host3" schema_version = "0050" } qa { host = "<the qa host>" schema_version = "0040" } preprod { host = "<the preprod host>" schema_version = "0030" } sandbox { host = "<the sandbox host>" create_database_statement = "CREATE KEYSPACE @@DATABASE_NAME@@ WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 2 }" schema_version = "0030" } prod { host = "<the prod host>" create_database_statement = "CREATE KEYSPACE @@DATABASE_NAME@@ WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 3 }" schema_version = "0030" }
Here are the different parameters you can configure:
- database_kind: which kind of data store we are targeting. See "Supported data stores" for valid values.
- schema_name: the logical name of this database schema.
- app_name: the name of this schema manager (required by app-util).
- schema_version: the migration version the given environment is supposed to be at. If not specified, all migrations will be applied. Specifying it is mandatory for dev, qa, preprod, sandbox, and prod.
- docker_namespace: optional. The namespace under which the various docker images will be tagged. Ex: if set to myregistry, the docker images will be tagged as myregistry/xyz.
- host: the host or hosts name(s) to connect to.
- port: the port to connect to. Leave empty for default port.
- create_database_statement: The CQL / SQL / HQL statement to use if the database does not even exists when running the schema manager. The
@@DATABASE_NAME@@place holder will automatically be replaced by the actual schema / keyspace name (see also "Computing the database name / schema name / index name / keyspace" below).
- name_provider_class: See "Computing the database name / schema name / index name / keyspace" below.
- test_configurations: configurations for which to generate test instances during the
buildTestContainertask. This allows you to have various keyspaces / indices / databases within the test containers.
For multi-tenant databases:
- has_instance_for_each_tenant: whether this database have a distinct instance for each of your tenants. Default is 'false' (the database is a 'global' one).
- tenant_repository_class: when
has_instance_for_each_tenantis true, you must supply a tenant repository. See 'Getting the list of tenants' below.
- tenant_configuration_provider_class: when
has_instance_for_each_tenantis true, you can supply an optional configuration provider that will inject a different property depending of the tenant. See 'Tenant specific configuration' below.
- tenant: only used within
test_configurations, defines a tenant name for which a test db instance should be created.
For Cassandra stores only:
- max_schema_agreement_wait_seconds: sets the maximum time to wait for schema agreement before returning from a DDL query (default: 30).
For Elasticsearch stores only:
- shard_number: how many shards the index should have.
- replica_number: in how many additional replicas each shard should be replicated (0 means no replication).
For MySQL stores only:
- username: the username to use to connect to the data store instance.
- password: the password to use to connect to the data store instance.
Note: most of the settings can have a default value at the top, but can be overriden for a given environment. See for example
create_database_statement in the above example.
The
build.sbt file should activate the
Dbevolv SBT plugin that will take care of everything:
enablePlugins(DbevolvPlugin) organization := "your organization name"
The
version.sbt file should contain the initial version of this particular schema manager. Always 1.0.0 for new project, this will be automatically managed in Jenkins after each build:
version in ThisBuild := "1.0.0"
The
build.properties file should contain which SBT version to use:
sbt.version=0.13.11
The
plugins.sbt should point to this plugin on Artifactory (the funky piece of code make sure to always use the latest version available from Artifactory):
addSbtPlugin("com.mnubo" % "dbevolv-sbt-plugin" % "1.0.11")
The directories names in
/migrations constitute the migration versions. Migrations will be applied in the lexical order of those directory names. Ex: when asking dbevolv to upgrade to version '0002' in the above example, '0001' will be executed first, then '0002'.
Migration directories must contain 2 files named
upgrade.??? and
downgrade.???. The extension depend on the data store type. For example, for Cassandra:
/migrations/0001/upgrade.cql /downgrade.cql
The upgrade file should contain what it takes to upgrade a given database to the given version. The downgrade file should contain what it takes to downgrade from the given version to the previous version.
Each statement can be laid out on multiple lines, and be terminated by a ';' character. Lines starting with a '#' character will be considered as comments and will be ignored. Empty lines are ignored.
Building more complex upgrade / downgrade scriptsBuilding more complex upgrade / downgrade scripts
If you need complex logic, you can create a custom Java / Scala class and reference it as if it was a statement, with the '@@' keyword at the begining of the line. Example:
CREATE TABLE .... ; # Some comment @@com.mnubo.platform_cassandra.UpgradeFields;
Your class should be located at the usual Maven/SBT location. In this example: src/main/scala/com/mnubo/platform_cassandra/UpgradeFields.java. It must have a constructor with no parameters, and an execute method taking a 2 parameters.
- the connection to the database. Exact type of the connection depends on the data store type.
- the name of the database (postgres) / schema (mysql) / keyspace (cassandra) / index (elasticsearch)
Example:
package com.mnubo.platform_cassandra; public class UpgradeFields { public void execute(com.datastax.driver.core.Session connection, String dataseName) { // Your upgrade logic here } }
Note: you can also use this trick in downgrade scripts.
If your custom script needs additional dependencies, you can add them in a
build.sbt file through the libraryDependencies SBT key. See SBT documentation
Migration design guidelinesMigration design guidelines
You migrations MUST be (and will be tested for):
- Idempotency. The schema manager must be able to run a migration twice without any effect on the end result. This is critical when something goes wrong during the application on a migration in production. We must be able to retry a fixed version of a faulty migration, or the same migration after a corruption is fixed.
- Perfect rollback. When we have dozens of namespaces, the likelyhood of failure in one of them is great. In that case, the schema manager must be able to rollback all the already migrated namespaces to stay consistent. Even if the upgrades involved a loss of information. In that situation, the upgrade must store the lost information somewhere to be able to retrieve it when rolling back.
- Immutable in production. Once a migration has been applied to production, you cannot modify the migration anymore. If you do, the schema manager will refuse to execute any further migrations.
- Forward compatible for the application in production. Obviously, it must not break the current version of the application. In other words, your migration must support both the new and the old version of your application.
Rebasing a databaseRebasing a database
Sometimes, especially when a database came through a lot of migrations, you are in a situation where lots of databases and columns are created in earlier migrations to be removed in later migrations, making the database quite long to create. This is especially problematic in multi-tenant databases that gets created for a new tenant. It can also happen that there is too many migrations, and that makes the build pretty long.
A solution to that problem is to 'rebase' the migrations. It means taking the result of all of those migrations, and make a single script having the same end result as them. dbevolv helps you do that in a safe way.
Begin by creating a new migration directory, with a new version number. Put a single script
rebase.*ql in it. Do not create a
rollback.*ql file, rolling back a rebase migration is not supported. Ex:
/migrations/2000/rebase.cql
dbevolv does not support the automatic filling of that script right now. So you will have to use the existing data store tools to forge it for you from the latest test image (see below).
As always, you can test locally that your rebase script is sound by running:
sbt buildTestContainer
Rebase migrations are treated a bit differently than the others. Lets take an example where we do have the following migrations:
0010 0020 0030 0100 (rebase) 0110 0200 (rebase) 0210
- first, dbevolv will make sure that the database resulting from a rebase script is the same as the one resulting from all the previous migrations.
- your rebase migrations do not need to be idempotent.
- when applied on an existing database (version <=
0030in our example), the rebase scripts will not be applied, but all metadata about previous migrations up to the rebase will be erased. This is done for each rebase encountered along the way. For example, if the database had these migrations installed before:
[0010, 0020], then after running the schema manager it would have
[0200, 0210].
- when applied on a new database, dbevolv will start at the latest rebase, and only apply further migrations. In our example, it would apply only
0200and
0210because
200is the latest migration of type
rebase.
- WARNING!: once rebased, you cannot go back to previous migrations anymore. Which means that rolling back a database will only bring you to the previous rebase, even if you asked to rollback to a previous migration. For example, if a database is at version
0210in our example, rolling back to
0030will actually only bring the database to
0200.
Cleanup: after a given
rebase migration has been applied to all environments, you can safely delete the previous migration directories from the build.
Getting the list of tenantsGetting the list of tenants
In order for dbevolv to know for which tenants to create and maintain a database instance, you need to provide a class implementing TenantRepository. You can place the class in
src/main/java/... or
src/main/scala/..., or just reference the jar in the dependencies in your
build.sbt:
libraryDependencies += "mycompany" % "mytenantrepo" % "1.0.0"
The constructor must have one and one argument only, which is the typesafe config loaded from the
db.conf file. This allows you to configure your class easily.
package mycompany.tenants import com.mnubo.dbevolv._ class MyTenantRepository(config: Config) extends TenantRepository { // Configuration specific to this particular repository private val host = config.getString("tenantdb.host") private val port = config.getInt("tenantdb.port") private val dbConnectionPool = ... override def fetchTenants = { using(dbConnectionPool) { connection => // Pseudo JDBC like API connection .execute("SELECT customer_name FROM customer") .map(row => row.getString("customer_name")) .sorted } } }
Then, you could add your repository specific configuration in the
db.conf file. In the previous fictitious example, it would look like:
has_instance_for_each_tenant = true tenant_repository_class = "mycompany.tenants.MyTenantRepository" tenantdb.host = "mydbhost" tenantdb.port = 3306
Tenant specific configurationTenant specific configuration
Sometimes, you need specific configuration for certain tenant. For example, large customer might require more Elasticsearch shards in their indices. You can achieve that by supplying a configuration provider. As for the tenant repository, you can reference the jar with your class in the dependencies:
libraryDependencies += "mycompany" % "mytenantconfigprovider" % "1.0.0"
The constructor must have one and one argument only, which is the typesafe config loaded from the
db.conf file.
package mycompany.tenants import com.mnubo.dbevolv._ class MyTenantConfiguration(config: Config) extends TenantConfigurationProvider { override def configFor(tenant: String) = { // load config from a database or a config file for this particular tenant } override def close() = ... }
Then, you could reference this class in the
db.conf file. In the previous fictitious example, it would look like:
has_instance_for_each_tenant = true tenant_configuration_provider_class = "mycompany.tenants.MyTenantConfiguration"
Note: you can provide an empty config for a given tenant. dbevolv will simply apply the default configuration from the
db.conf file for this tenant.
Computing the database name / schema name / index name / keyspace (depending on underlying db kind)Computing the database name / schema name / index name / keyspace (depending on underlying db kind)
The actual database / keyspace name will be computed the following way:
- for global databases: the logical schema_name will be used.
- Ex: myappdb
- for databases per tenant: the name will be suffixed with the customer's / tenant name.
- Ex: myappdb_mycustomer
Sometimes, this is not suitable. For example, QA keyspace names might be totally custom. Or historical keyspaces might be jammed together. For all these use cases, you can customize the keyspace name provider. For example:
package com.mnubo.ingestion import com.typesafe.config.Config class LegacyDatabaseNameProvider extends DatabaseNameProvider { private val default = new DefaultDatabaseNameProvider def computeDatabaseName(schemaLogicalName: String, tenant: Option[String], config: Config) = tenant }
And then, in your
db.conf file, you need to override the default database name provider in the relevant environments:
prod { host = "<the prod host>" name_provider_class = "com.mnubo.ingestion.LegacyDatabaseNameProvider" }
Testing your newly added script locally before committingTesting your newly added script locally before committing
Just run:
sbt buildTestContainer
This will build the test container, through all the migration scripts. You can then look at 'Using a test instance in automated tests' to connect to this instance and verify it is working well.
Project examplesProject examples
Upgrading / downgrading a databaseUpgrading / downgrading a database
To get usage:
docker run -it --rm -e ENV=<environment name> <schema_name>-mgr:latest --help
This should result to something like:
Upgrades / downgrades the mydatabase database to the given version for all the tenants. Usage: docker run -it --rm -v $HOME/.docker/:/root/.docker/ -v /var/run/docker.sock:/var/run/docker.sock -v $(which docker):$(which docker) -e ENV=<environment name> mydatabase-mgr:latest [options] -v <value> | --version <value> The version you want to upgrade / downgrade to. If not specified, will upgrade to latest version. -t <value> | --tenant <value> The tenant you want to upgrade / downgrade to. If not specified, will upgrade all tenants. --history Display history of database migrations instead of migrating the database. --help Display this schema manager usage. Note: the volume mounts are only necessary when upgrading a schema. You can omit them when downgrading, getting help, or display the history. Example: docker run -it --rm -v $HOME/.docker/:/root/.docker/ -v /var/run/docker.sock:/var/run/docker.sock -v $(which docker):$(which docker) -e ENV=dev mydatabase:latest --version 0004
Note: the help message is slightly different for the databases that don't have one instance by tenant (global databases).
BehaviourBehaviour
The schema manager will upgrade one tenant at a time. For each tenant, it will apply (or downgrade) all the necessary migration to reach the target version. If one of the tenants upgrade fail, it stopped. It is recommended to rollback all tenants to the origin version immediately, so the faulty migration could be fixed and reapplied to all of the migrations. Since migrations are checksumed, you cannot have a system with different flavours of the same migrations. This would make any subsequent upgrades or downgrades to fail immediately.
The schema manager will also perform some validation before starting to upgrade. It will check that the schema of the target instance match the expected schema (tables, columns, types).
Common errorsCommon errors
If the database has been corrupted so that smooth migration is impossible, you will see a message explaining the issue(s) encountered and how to fix it:
18:10:04.988 [main] ERROR com.mnubo.dbevolv.Table - Table mytable does not contain a column somecolumn (type = text) 18:10:04.989 [main] ERROR com.mnubo.dbevolv.Table - Table mytable does not contain a column someothercolumn (type = double) Exception in thread "main" java.lang.Exception: Oops, it seems the target schema of orb3a1 is not what it should be... Please call your dearest developer for helping de-corrupting the database. at com.mnubo.dbevolv.DatabaseMigrator$.upgrade(DatabaseMigrator.scala:91) at com.mnubo.dbevolv.DatabaseMigrator$.migrate(DatabaseMigrator.scala:69) ...
In this particular example, to repair the database, you need to create the
objectmodel and
hdfs_import_period_sec columns in the
odainterpolationparams table. You should then be able to restart the upgrade.
Inspecting the migrations inside a schema managerInspecting the migrations inside a schema manager
docker run -it --rm --entrypoint=/bin/bash <schema_name>-mgr:latest ls -la /app/migrations
Getting the list of already installed migrations in a databaseGetting the list of already installed migrations in a database
docker run -it --rm -e ENV=<environment name> <schema_name>-mgr:latest --history
Example output in dev on the mydatabase Cassandra database:
History of myfirst mysecond mythird
Using a test instance in automated testsUsing a test instance in automated tests
Each time a new migration is pushed to Gitlab, Jenkins will generate a test database instance with all the tables up to date. To start it:
docker run -dt -p <database kind standard port>:<desired_port> test-<schema_name>:latest
For example, with the Cassandra reverse_geo database:
docker run -dt -p 40155:9042 test-reverse_geo:latest
This will start a Cassandra instance, with a
reverse_geo keyspace (the logical database name) containing all the reverse_geo tables up to date. You can point your tests to use the 40155 port on the DOCKER_HOST in order to create a session.
DevelopmentDevelopment
The schema manager builder is actually a SBT plugin. To test the sbt plugin, we are using the scripted sbt plugin (yes, a pluging to test a plugin...). To launch the (quite long) tests, do:
sbt library/publishLocal dbevolvElasticsearch/publishLocal dbevolvElasticsearch2/publishLocal scripted
And go fetch a cup of coffee, you'll have time.
If you want to runs tests only on one kind of data store, specify the test build directory you want to fire (relative to src/sbt-test:
sbt library/publishLocal dbevolvElasticsearch/publishLocal dbevolvElasticsearch2/publishLocal "scripted schema-manager-generator/cassandradb"
Documentation for the scripted plugin is not the best. You can find a tutorial here: Testing SBT plugins
|
https://index.scala-lang.org/mnubo/dbevolv/dbevolv/1.0.17?target=_2.10
|
CC-MAIN-2021-49
|
en
|
refinedweb
|
Updates the log record with additional information.
#include "am_log.h" AM_EXPORT am_status_t am_log_record_set_loginfo_props(am_log_record_t record, am_properties_t log_info);
This function takes the following parameters:
Opaque handle to the log record.
Key value pairs to be set in the log record.
This function returns am_status_t with one of the following values:
If log_info was successfully added.
If any error occurs, the type of error indicated by the status value.
Sets all log info values as properties map.
The log_info is expected to have the required log info members as key value pairs and user is expected to delete the am_properties_t pointer only when he is done with amsdk.
|
https://docs.oracle.com/cd/E19636-01/819-2140/adoco/index.html
|
CC-MAIN-2019-04
|
en
|
refinedweb
|
I have started coding in a Linux OS for the TI-83/84/SE series using BatLib. The system is very easy to use and installing new programs is very simple. I already have the following commands working:
whoami
cat
ls
login (logs you into a root terminal)
passwd
exit
pwd
And I plan on adding a whole bunch more. The program runs TI-BASIC Hybrid underneath, but in a way that makes the addition if commands very easy. Just store them as AppVars with the correct header. It's very cool, and as soon as I get the chance, I'll post a screenshot!
Date: 02 Dec 2012 23:23
Number of posts: 83
RSS: New posts
I have started coding in a Linux OS for the TI-83/84/SE series using BatLib. The system is very easy to use and installing new programs is very simple. I already have the following commands working:
O_O That sounds rather cool O_O I wanna see it :D Maybe I can optimise shtuff :3
Z80 Assembly>English>TI-BASIC>Python>French>C>0
Haha definitely :D Oh yeah, and I circumvented that dim(84 problem causing the calc to crash when running BatLib commands:
Where "Test" is the AppVar to run
dim(64,"UTest","VYTEMP prgmYTEMP
Problem solved ^_^
That is how I normally do it, actually, which is probably why I never noticed the dim(84 problem .__.
Z80 Assembly>English>TI-BASIC>Python>French>C>0
Ummmm, I'm surprised that you've managed to get Linux based OS on a calc
The Silver Phantom welcomes you
It took three tries lol!
Awesome! Also, have you seen the latest FileSyst update? I made a quiet update a little while ago with a handful of things added.
Z80 Assembly>English>TI-BASIC>Python>French>C>0
Maybe, I'm not sure…can you give me a link?
Z80 Assembly>English>TI-BASIC>Python>French>C>0
Is this the idea I gave you at the thing were you said you lost your RAM? If so, I feel like a genius, because I've never even seen a Linux computer before (I know, I am really behind the curb).
Coffee + Radiohead = ^^
Erm I don't think so sorry, I've been trying to do this for a looong time and only with BatLib available has such a program become feasible. Today, I added in the "sudo" command, the "exit" command, and some others :) Progress is coming along quite nicely. I've also added some touches to the OS runner itself. I've added a really great command that lets you run BASIC code from the shell (including entire programs) and I'm also working on a script command that will let you run Linux code in a created program. I've also included another command called "ticalc" which simply reverts the calculator to a primitively normal state, where you can run calculations in math class, etc. The whole idea is that you could travel a whole day using this OS, but never have to come out into the host OS of the calculator :)
Well, it was a nice thought…
Coffee + Radiohead = ^^
Anyway, here's a screenie:
Here's the a second mirror for it:
That is really cool O_O I was worried that people wouldn't understand the full power of some of the BatLib commands, but it seems you have figured out how to really use them. That is already impressive :D making a file system will be a pain in the but, though, with BatLib. I plan to fix up as many bugs as I can this winter, but I also recently wrote a line editing program (so you can overwrite lines of code in a BASIC program). If I can some how figure out a way to make more room in BatLib, I will add a few more DB commands (like the DBRead and DBDel commands). That should help in making a file system :)
Z80 Assembly>English>TI-BASIC>Python>French>C>0
Yeah that would be splendid :) Writing to the end of the file has not been a problem and overwriting bytes in a file hasn't been either, but inserting data into the middle of an appVar I have found very tricky…I have some ideas on how to do it, but it will be annoying, and I'm sure, pretty frustrating to make work.
Also, my program utilizes a handy glitch of the OS, or maybe BatLib. If you name an AppVar with a special character as the first character, say the "." or the "/" sign, those AppVars don't show up in the AppVar menu. They are still accessible with BatLib though. All of the commands in the Linux system don't show up in the appVar menu. On the other hand, for every command you can run, there is an AppVar. For example, whoami is stored as ".whoami" as an AppVar. Here is the code:
Disp dim(21,"U/user
All of the files and commands are stored in a similar way :D
One thing I do know is that expanding or inserting more data into a variable is kinda hacky. I remember that the guy who wrote calcsys found a way to change the length of vat entries; you may want to look into it since you could mimic its vat structure.
Yeah, editing the VAT can be a bit of a challenge (mostly because you have to be sure to update a bunch of pointers and move the FP and operator stack). However, inserting or removing data from a variable is a bit easier, especially using the OS routines which will automatically update the necessary pointers.
Z80 Assembly>English>TI-BASIC>Python>French>C>0
Hehe, I am glad you found that! That is actually something that TI did (and on purpose— this was back when TI had some snazzy programmers). This is the technique that MirageOS, DoorsCS and other shells use to hide programs/appvars.
Also, you might want to check out 94-InsString, but I apparently never added in the ability to delete bytes from a file .__. This will be another thing that I need to look into. As it is, though, this command should let you insert or append lines of code to a program. It could also be useful for making a program editor.
Z80 Assembly>English>TI-BASIC>Python>French>C>0
Yeah, it proved handy. :)
How do you type quickly like that on the calculator? By the way, excellent job!
Lol, actually, the only reason why it looks that fast is because the animation is sped up :) And actually, the screenshot was taken using a computer so that helps, kind of. Thank you though! :D
Hey, why don't you introduce yourself on the Introduce yourself thread? We're always glad to have new members!
I am excited about the joined Linux OS and Scope OS programs.
Coffee + Radiohead = ^^
Okay, are they still combined or not anymore? I need to know soon.
Coffee + Radiohead = ^^
We can make them compatible with each other, but I think that my project has gone too far to do a true meshing. We can make them two, closely affiliated programs that can run off of the same variables, programs, etc. simply put, they use the same software in the same places etc. and installing a program in one program installs it in the other. I'm actually about to release the first version of LinuxOS (version 3.0) with BIOS version 5.0. The program will really benefit as soon as a dim(84 bug is released, and Filesyst gets restructured. Once that happens, I am going to rebuild most of the commands for use in a filesystem format. For example, the password files will actually be in /etc/shadow, instead of in an appvar.
As for now, here is the program:
Mirror 1
Mirror 2 (in case the first one doesn't work)
Keep in mind that this requires the very newest version of BatLib, released just a day ago. To download it, click here.
While I highly doubt that this program will crash your calculator resulting in a RAM clear, (if it does, tell me exactly what you ran) I cannot fully guarantee that it won't. As of yet, I have not had this program crash my calculator since it got out of the very beginning stages, and I consider it quite stable. A full list of all the programs can be done by executing this command
dim64,"U/bin","EPROGS
In the program PROGS, you will now see all the files and programs currently installed. You should be able to add more with the install command though I can't remember if it's bugged or not. The program cat is currently bugged unfortunately, or better said, the fileRW is, so neither "cat" nor "more" currently work. Running "more" will give you a syntax error and running "cat" will run the login command. If you're curious on seeing how the programs are constructed, it's not hard. Just type in dim(21,"U. plus the program name. So, for example, to see how the program "more" is constructed, run dim(21,"U.more
Speaking of which, you should learn some BatLib commands while you're at it, so you totally understand how the program works.
Hmm, I am going to have to make more drastic changes to dim(84, then.
Z80 Assembly>English>TI-BASIC>Python>French>C>0
Yes apparently :/ It looks like some commands work, just not all of them. I know dim(56, 29 and 109 work.
Do you mean that they don't work when using dim(84 or they just don't work? If you mean the former, then I am fairly surprised that those ones are the ones that work o_O I thought dim(29 and dim(109 would be two of the most likely culprits.
Z80 Assembly>English>TI-BASIC>Python>French>C>0
The former, they work fine normally. Yeah, you can go test it, but if consistently crashed it with dim(64.
Hmm, okay, thanks. I do not know when dim(84) will be fixed because I am not sure of what is causing the issue. I might think it is fixed and it still have issues under certain circumstances. For now, I guess it will be best to use dim(64) to create and run the tempprogram. For example:
dim(64,"EPROG","VLOSTEMP prgmLOSTEMP
Z80 Assembly>English>TI-BASIC>Python>French>C>0
Yeah, that's what I'm using right now. Unfortunately, this is somewhat slower than dim(84 :/ Oh well
Hey, I have an idea: since PrgmSCOPEOSI, PrgmLINUXOS, and PrgmGUI are all separate yet linked and connected programs, I think we could create a main index OS to join them all in a linked method. What do you guys think?
Coffee + Radiohead = ^^
I think maybe Boba Foxx would like to go into making that, since he wanted to make a GUI for Scope…
Coffee + Radiohead = ^^
I could write a wrapper for all of them once they're mostly finished.
It would probably join Linux's command-line functionality, and scope's shells 'n' stuff.
I'm thinking maybe a hotbutton or something that changes the screen to half-graph and half-homescreen and has the terminal running on the bottom.
This is giving me ideas o.o I am thinking I could make a simple text editor for these programs since FileSyst and Linux OS have their own interpreted programming language. Then we could use the text editor to save .LNX or .FS programs and have Linux OS or FileSyst run the respective programs, reading each line of code at a time. Then, if there is a bug, you could open up the bottom half of the screen as a debugger and watch it step through each line of code.
I have 5 days until classes begin again, but I might be able to make a built in debugging tool (Just enter DEBUG() mode and FileSyst will break at certain points, such as when it reads each argument of a command).
Also, in other news, since the only non-calc language I am familiar with is Python, I had an idea that I think I could easily implement. I could make some commands similar to read(), write(), readline(), and seek() to help us start modifying files. Using write() would automatically augment the variable size when necessary.
Z80 Assembly>English>TI-BASIC>Python>French>C>0
I saw that I missed this… I don't know what to call it. Any idea's?
Coffee + Radiohead = ^^
I think that the "hotkey" should be [MODE]? I edited GUI and made GUI2 with a few changes and [MODE] as a swap key, but it wasn't really more that a concept…
Coffee + Radiohead = ^^
I think they could be made all compatible with each other and maybe provide methods for launching any of the other programs.
Z80 Assembly>English>TI-BASIC>Python>French>C>0
I am thinking of a sort of main OS that connects it all neatly…
Coffee + Radiohead = ^^
That all sounds very nice! :D As a heads-up, all of my commands are loaded like this:
Say I wanted to run the command "whoami". When I type whoami on the command-line, the calculator adds the string "U." to it and uses dim(64 to copy the desired program (basically, all of the Linux commands are appVars starting with the char "." written in Hybrid Basic) to a tempprogram which is then run. This way, all you need to do to add a program is just put it in an appVar starting with the period. (".") As soon as you do that, the program is runnable from the command line using the name of the appVar minus the period. There are some other things that you need to do, such as adding the program to the /bin manifest so that the calc knows the program exists. Actually, I should change this, which is not difficult, it would only take up an extra byte XD Besides that, adding the program to the /bin file will make sure the program gets deleted when you run the delete system routine present in the main LinuxOS program. The system parses the /bin file and deletes all of the appVars referenced in it when you delete the system. Also, since all of the AppVars can be archived (and are by default during installation saving you 3KB of RAM) you don't generally need to worry about command program size. During installation, the program does need to have about 4KB of RAM space though. Also, on the command line, once you type in the command, you can add arguments after separating them from the command using a space, for example "whoami -h". The string "-h" is submitted to the program/command being run in Ans. For example, here's the code for the echo command:
Disp Ans
When you type "echo Hello World" on the command line, "Hello World", as a String, is submitted to echo in Ans.
Nice, that is cool o.o If you want, I could write a routine in BatLib BASIC to search for all the appvars that start with a "." in their name, then it automatically rights the list of names to /bin. (It will work with the hybrid basic commands in FileSyst, too)
Z80 Assembly>English>TI-BASIC>Python>French>C>0
Some appVars already use "." as the first character. What about something like ">:" or something that is completely random?
Coffee + Radiohead = ^^
Very few appvars actually start with a "." and in fact, I've never seen other programs specifically use it. And in fact, even other hidden appvars won't use "." as the beginning byte of their name because all we do to make hidden appvars is subtract 40h from the first token. "." would never be the first token except under specific cases.
However, you are correct that we cannot rule out other people naming appvars like this. Typically, in cases like this, a simple header is used in the variable data. for example, you could start the program with:
: ::
Then you just use dim(15 (I think that is the right command) to read the first two bytes of the program for verification and make sure they are 3F and 3E.
Z80 Assembly>English>TI-BASIC>Python>French>C>0
What about backed-up Axe programs that you can make? The code all starts with "."
Coffee + Radiohead = ^^
We are talking about the appvar name, not the data. the name of the appvar might be ".whoami" and the actual code would be normal hybrid BASIC code. For example, if you pretend that you could edit the appvar in the program editor:
PROGRAM:.echo :Disp Ans
Z80 Assembly>English>TI-BASIC>Python>French>C>0
Sorry. That's pretty neat!
Coffee + Radiohead = ^^
Besides that, adding the program to the /bin file will make sure the program gets deleted when you run the delete system routine present in the main LinuxOS program.
When you say that, what do you mean by the /bin file? Is this another appvar or a folder? If it is a folder, I can make it store all of the appvars starting with "." to the /bin folder and all the rest to a folder named appvars :D
Z80 Assembly>English>TI-BASIC>Python>French>C>0
Oh, actually, LinuxOS isn't on filesys yet, just normal BatLib. Yes, /bin is an AppVar with the names of all the programs and dependencies that Linux uses separated by BASIC newline tokens.
As for writing a BatLib BASIC command to find all of the "." files, that would be really handy:
I would want to be able to search for any char not just a period
And I would prefer the data just given in Ans instead of directly written to bin
Seperating the names with a newline would be nice :)
If I could choose what kind of variable to search for, that would be convenient
I need it to be FAST. I don't care about order, I just need it to get there.
Speaking of which, does the newest version if Filesyst have commands in BatLib order?
Also, I've been considering writing a mod of this that uses the Bash script since that's what I'm most familiar with. Or I might just write it at some point if I make the wrapper, and I'd just have it use linux by default, but it could switch it to bash if you use the # character.
Which brings me to my second point: would there be some method of inputting the special characters like ~,#, $, and %, or have you just written the commands so that you don't need anything like that?
So far, none of the commands written use those characters (although they do appear under certain circumstances). If a situation came up requiring use of these characters, I would probably use substitution characters instead.
EDIT: O_o This post didn't show up even after I refreshed several times, so I posted again. The one below has a revised FileSyst code.
Yes, FileSyst now has commands in the same order as BatLib.
Have you checked command 118? You might find that useful. This isn't super fast, but it takes only a few seconds for a long list of appvars.
The output is Str1="." if there are no appvars that start with "." else it contains a string with the names of the appvars, separated by newlines.
Z80 Assembly>English>TI-BASIC>Python>French>C>0
D: I don't why, but my post isn't here D: I'll have to retype it XD
FileSyst has the same command order as BatLib
The code that I came up with is:
Str1 is either "." which means no appvar names started with a "." or it is a list of the appvars that started with a ".", separated by newlines.
Now for the FileSyst one, this will create OS pointers to the appvars in the appropriate folders.
Delvar Adim(118,1 While Ans≠".DNE Ans→Str1 sub(Ans,2,length(Ans)-1 ;just get the name part If sub(Ans,1,1)=". Then ",bin/ "+sub(Ans,2,length(Ans)-1 Else ",Appvars/ "+Ans End dim("VPTR("+Str1+Ans+") A+1→A dim(118,1,A End
Then if you want to run the command whoami, you can just use:
dim("OPEN(bin/ whoami)
I believe that unless I forgot to add it, OPEN() will return 0 if the program couldn't be executed, else it returns 1. So if you had this:
Input Str1 If not(dim("OPEN(bin/ "+Str1+") <<program didn't exist, so the command doesn't exist>>
Z80 Assembly>English>TI-BASIC>Python>French>C>0
Ah, that is handy! Will it work even though the appVars are archived?
As for the script you wrote, I'll use that when installing packages etc. to update the database :) I suppose it shouldn't be difficult to add in a percentage complete output? I'll be able to do that myself I'm sure :)
EDIT:
It's not working :/ It's only reading the AppVars that appear in the AppVar memory menu, not the ones with special characters…
Thought I should create a new post since it's on an entirely different part of the program:
Zeda, it would be great if you created a file extension for Linux applications, but I suggest you call the file extension ".sh". That's how it's done on normal Linux systems. (sh stands for shell) Also, for your idea to make a program that runs Linux script commands from a variable, been there, done that :P There is a command in Linux called script (in the AppVar .script) that runs a program var as Linux shell script :D Callable from the command line and all. I'll give you a screenshot later. If you want to run Linux programs from FileSyst, you need look no farther! :D
If you want, I could so very easily create another program called aScript to run an AppVar as a variable, I'll just copy the script program into aScript and modify byte 2 from "E" to "U" :P
To grab the code of script from Linux, just run this command from the homescreen:
dim(64,"U.script","ETEMP
That is very helpful! I could make .sh programs open with appvar U.script, as long as I know what inputs it should have. Then you could do something like OPEN( Script.SH). Of course, I could use a lowercase file extension, but maybe I will instead make extensions non-case sensitive.
Z80 Assembly>English>TI-BASIC>Python>French>C>0
Well, that's weird, maybe the OS system routine isn't good enough for this >.< I couldn't actually test with "." so I tested with "P" instead (which worked). I am guessing the OS ignores special starting characters since they are deemed as "hidden."
If it wasn't for the special char thing, it would work if the appVars are archived (the OPEN() function, too).
Z80 Assembly>English>TI-BASIC>Python>French>C>0
What exactly went wrong? I'm kind of confused…
How the script works right now is that you put in Ans the name of the program you want to run, and it automatically appends an "E" to it. I've also finished creating a copy of the program that would work for AppVars instead. It just appends "U" to Ans instead of "E".
There, I've just finished the sudo command, so now it forwards arguments to the program it runs. Now, if I wanted to install the program SPECCHAR:
seth@calc$ sudo install specchar
Input [sudo] password
Install prgm SPECCHAR
install as: SPECCHAR
seth@calc$
I'm not sure what is going wrong…
Z80 Assembly>English>TI-BASIC>Python>French>C>0
What did you try to do? Was it Linux? What is the bug? You're explanation didn't make sense to me XD
Oh, the issue is with the fact that I am using an OS routine to search for the appvar names with BatLib. The OS routine skips over anything that starts with a "." (as well as some other tokens), that is why it wasn't finding any of the appvars.
Z80 Assembly>English>TI-BASIC>Python>French>C>0
OhOhOh, I see yeah that makes sense now lol
Yeah it makes sense to me that the OS routine wouldn't work. Otherwise, I feel like they would have put the better OS routine into the memory menu XD
Do you have another idea.
Ah, just as a note, the archudel asm program detects deleted appVars starting with a period. You maybe be able to get some inspiration from that. I actually have the source code to the program somewhere on my computer here…
.nolist
; Archive Undelete, by Dr. D'nar
;
; Note:
; If an object's header crosses page boundries, it will not be processed. This
; is for my own personal sanity.
#include "ti83plus.inc"
;===============================================================================
;
; Equates
;
; Constants
firstpage .equ $08
; RAM
spaddr .equ appBackUpScreen
currentSector .equ spaddr+2
lastPage .equ currentSector+1
oldPage .equ lastPage+1
objectLocation .equ oldPage+1
totalData .equ objectLocation+2
;===============================================================================
.list
;
; Header
;
.org $9D93
.db t2ByteTok, tAsmCmp
xor a
jr nc, start
.db "Undelete",0
start:
im 1
b_call(_ClrScrn) ; It breaks in MOS if we don't clear the screen. ?
b_call(_HomeUp)
;; Empty vars area (many need to be 0)
; ld hl, appbackupscreen
; ld b, 250
; xor a
;initapp:
; ld (hl), a
; inc hl
; djnz initApp
ld (spaddr), sp
in a, (06)
ld (oldPage), a
; Find model
ld c, 0
in a, ($02)
bit 7, a
jr z, calc83p
in a, ($21)
and 3
bit 0, a
jr z, calc84p
; else, we have an SE
calcse:
inc c
calc84p:
inc c
calc83p:
ld ix, lastPageTable
ld b, 0
add ix, bc
ld a, (ix)
ld (lastPage), a
; Main Menu
b_call(_RunIndicOff)
ld hl, bannerText
b_call(_PutS)
; b_call(_NewLine)
; b_call(_GetKey)
scan:
; Begin search. Each sector of archive memory is four pages, except the last,
; which is two pages. If the sector's first byte is $FE, it is the (a) swap
; sector. If it is $F0, it has data. If it has something else… eh, press
; onward.
; B is the page we are on
ld b, firstpage
searchLoop:
ld a, (lastPage)
cp b ; note to self: this assumes that I'm always entering this loop with the correct value of B
jp z, doneSearch
ld a, b
out (06), a
ld a, ($4000)
cp $FE
jr z, nextSector
cp $F0
jr z, goodSector
; cp $FC ; BrandonW claims that $FC and $FF are also valid.
; jr z, goodSector ; As far as I can tell, they're not used.
; cp $FF
; jr z, goodSector
nextSector:
ld a, 4
add a, b
ld b, a
jr searchLoop
goodSector:
; This scans the sector for data. At the end of the page, the page is updated
; to the next, and $4000 is subtracted from the data pointer. If a program is
; found, it displays it.
; HL is the address we are looking at
; B is the page we are on. This is loaded from RAM when needed.
ld a, b
ld (currentSector), a
nextPageLoop:
ld hl, $4001
sectorSearch:
ld a, (hl)
cp $FF
jr z, sectorEmpty
inc hl
inc hl
inc hl
cp $FC
jr z, keepGoing
ld de, $8000-20
call cphlde
jr nc, keepGoing ; Objects whose header spans page boundaries will not be processed.
ld a, (hl)
and %00011111
cp ProgObj
jr z, foundProg
cp ProtProgObj
jr z, foundProg
cp AppVarObj
jr z, foundProg
keepGoing:
dec hl
dec hl
ld e, (hl)
inc hl
ld d, (hl)
inc hl
add hl, de
ld de, $8000
call cphlde ; check for crossing of page boundary
jr nc, nextPage
jr sectorSearch
nextPage:
ld a, (currentSector)
inc a
ld (currentSector), a
ld b, a
; sanity check
and %00000011
or a
jp z, errVarExtendsBeyondEndOfSector
ld a, b
out (06), a
ld de, $C000 ; Subtract $4000
add hl, de
jr sectorSearch
sectorEmpty:
ld a, (currentSector)
and %11111100
ld b, %00000100
add a, b
ld b, a
jp searchLoop
foundProg:
; HL points to object VAT entry
ld (objectLocation), hl ; points to start of VAT entry
push hl
ld a, (hl)
cp ProgObj
jr z, foundProgObj
cp ProtProgObj
jr z, foundProgObj
foundAppVarObj:
ld a, 'a'
jr foundDispType
foundProgObj:
ld a, 'p'
foundDispType:
b_call(_PutC)
; name
inc hl
inc hl
inc hl
inc hl
inc hl
inc hl
ld a, (hl) ; note length of name
cp 9
jp nc, errVAT
inc hl
ld b, 0
ld c, a
ld de, OP1+1
ldir ; copy name to temp area
push de
pop hl
xor a
ld (hl), a ; zero-terminate string
ld hl, OP1+1
b_call(_PutS)
; size
ld a, 10
ld (CurCol), a ; update to next col
ld hl, (objectLocation)
dec hl
ld d, (hl)
dec hl
ld e, (hl)
push de
pop hl
b_call(_DispHL) ; size
ld a, 'b'
b_call(_PutC)
keepWaiting:
b_call(_GetCSC)
or a
jr z, keepWaiting
cp skEnter
jr z, proceedWithTheExtraction
cp skClear
jp z, quit
cp skMode
jp z, quit
cp skDel
jp z, quit
; push hl
push bc
b_call(_ClrScrn) ; It breaks in MOS if we don't clear the screen. ?
b_call(_HomeUp)
pop bc
; pop hl
ld hl, (objectLocation)
jp keepGoing
proceedWithTheExtraction:
push de
pop hl
b_call(_EnoughMem)
jp c, lowMem
ld hl, (objectLocation) ; points to start of VAT entry
ld a, (hl)
ld (OP1), a
ld bc, 6
add hl, bc
ld a, (hl) ; note length of name
inc hl
ld b, 0
ld c, a
ld de, OP1+1
ldir ; copy name to temp area
push de
pop hl
xor a
ld (hl), a ; zero-terminate string
ld ix, OP1+1
b_call(_ChkFindSym)
jp nc, nameExists
ld ix, (objectLocation)
ld l, (ix-2)
ld h, (ix-1)
ld a, (ix+6)
add a, 9 ; was 6 for the VAT; three more bytes due to entry header?
ld b, 0
ld c, a ; BC is now the size of the VAT entry.
or a
sbc hl, bc
ld (totalData), hl ; total sum of data to copy
push bc
push ix
b_call(_CreateProg) ; HL: VAT; DE: Data
pop ix
; Appvars and programs are the same. We just have to copy the type byte from one to the other.
ld a, (ix)
ld (hl), a
inc de
inc de
pop bc
push ix
pop hl
add hl, bc ; hl now points to the data in the archive
ld bc, (totalData)
ld a, (currentSector)
b_call(_FlashToRAM)
ld hl, doneMsg
jr msgQuitNoNewLine
; = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
doneSearch:
ld hl, doneSearchMsg
b_call(_PutS)
jr quitNoNewLine
lowMem:
ld hl, lowMemMsg
jr msgQuit
nameExists:
ld hl, nameExistsMsg
jr msgQuitNoNewLine
errVarExtendsBeyondEndOfSector:
ld hl, varExtendsBeyondEndOfSectorMsg
jr msgQuit
errVAT:
ld hl, errVATMsg
; jr msgQuit
msgQuit:
push hl
b_call(_NewLine)
pop hl
msgQuitNoNewLine:
b_call(_PutS)
quit:
b_call(_NewLine)
quitNoNewLine:
ld a, (oldPage)
out (06), a
ld sp, (spaddr)
; b_call(_RunIndicOn)
res DonePrgm, (IY+DoneFlags)
ret
;===============================================================================
;
; Routines
;
cphlde:
or a
sbc hl,de
add hl,de
ret
;===============================================================================
;
; Data
;
lastPageTable:
.db $14, $28, $68
bannerText:
; 1234567890123456
.db "Archive Undelete"
.db "v1.1 Dr. D'nar"
; .db "Press any key…"
.db 0
; .db "
; .db 0
doneSearchMsg:
.db "Search complete."
.db 0
lowMemMsg:
.db "Insufficient "
.db "memory."
.db 0
nameExistsMsg:
.db "Program exists."
.db 0
doneMsg:
.db "Extraction "
.db "successful."
.db 0
varExtendsBeyondEndOfSectorMsg:
.db "Archive error."
.db 0
errVATMsg:
.db "Header error."
.db 0
.end
.end
Oh, it is easy to search the VAT or the archive— BatLib already has custom routines for that so that I don't need to worry about the slow OS routine. The issue is that programs are not stored in the VAT alphabetically, they are stored as they are created. The OS routine returns the varname that comes alphabetically next and I didn't want to waste code space coming up with a sorting algorithm to do the same (though honestly, it wouldn't be difficult if I had a little more room).
I was thinking of making a routine that just returned the nth variable in the VAT of a certain type. It would be faster, but it would not be alphabetised.
Maybe I will try to make command 128 do something like this:
dim(128,"name"). Then the command returns the alphabetically next variable. Again, I will have a good amount of trouble making the routine fit. If I do it right, i won't need to alphabetise, either >.>
Z80 Assembly>English>TI-BASIC>Python>French>C>0
Well fortunately, alphabetizing is not required for the bin file :)
Yeah, that is indeed a good thing (plus, FileSyst doesn't store things alphabetically either, yet). I am at the moment trying to write the code for searching for the next var alphabetically. However, I really should just right a code to just retrieve the nth var in the VAT. That code would be rather small and fast.
Later: I apparently never hit "Post It" since I got distracted by coding and other things. Anyways, the routine to search the VAT alphabetically is a little over 180 bytes, but I only have 118 bytes left in BatLib. I guess I am going with the smaller option, then XD
Z80 Assembly>English>TI-BASIC>Python>French>C>0
Yes, that's fine :) If you have the hex code for the alphabetical routine, I can just put that into LINUXOS and it will install it, no problem :)
CDC5402A30987E01FAFF09044EFE1520051B7AB3282537ED42ED4B2E98ED42093F20E3CB7A280AAF936F9F9267EF9247C9010100CDB0403E3E12C911EC862B7E12B728031C18F721EC8611EC87CDCE40CDB04021EC87EDB0C9
It isn't pretty and that will not at all work except in BatLib (it calls specific routines in BatLib). You need to run that with dim(22), it cannot be its own assembly program. Inputs:
dim(22,«hexcode»,#)
If # is 0, it returns how many appvars there are
If # is greater than the number of appvars there are, ":" is returned
Otherwise, Ans is returned as a string containing the name of the nth appvar to appear in the VAT. (no prefix byte is returned)
The bad news is that this will not work with FileSyst :/ The good news is that FileSyst has enough room for this command and an updated version, too, that can support other variable types.
EDIT: Also, the bolded 15 in the code is what var type it looks for. 05 will look for unprotected programs, 06 will look for protected programs, 16 will look for tempprograms, and 17 will look for groups. 01 and 0D are for lists, but an extra byte will be added to the end of the name (it's an OS thing that is very annoying to correct for, but I am sure they have a reason to waste a byte x.x). Those are the only variable types it will find. The code for the other variable types is actually probably a lot easier/smaller/faster. The other var types have a fixed size VAT entry :)
Also, random, but before I forget, my idea on why Lists have an extra 00 byte at the end of their name is because of how the OS handles using Ans
Z80 Assembly>English>TI-BASIC>Python>French>C>0
Will 15 work for AppVars then? That is after all, what matters at this point :)
Yep, 15 cooresponds to an appvar. Also, because I know you will see the use of this, 15h as a token is "rowSwap(", 35h is "5", 55h is "U" and this is where the prefix bytes come from. Basically, I "mask" out the upper bits of the byte so 55h is converted to 15h and the same is for 35h. If you wanted to confuse somebody, it just so happens that "dim(" is B5 which is recognised as 15h so it can be used as an appvar prefix.
Z80 Assembly>English>TI-BASIC>Python>French>C>0
I had to read that twice to get it, but now that I understand, that's great! XD While I must say, I don't understand why exactly I would every do this (besides confusing people) it's a fun thing to know, and I might do it just to. XD
Also, I've updated the BIOS to 6.2 which has a major update. Now, when Linux is not installed, the option won't appear to boot it, which avoids that little bug.
Okay, how do I open the program? When I send it to my calc, nothing happens… What is .8xo?
Coffee + Radiohead = ^^
The program is a group file, which is kind of like a zip file for a TI-Calculator, except it doesn't compress it, it just sticks it in one file. Go into the memory menu and at the very, very, bottom, there should be an option called groups. Go to that, and ungroup the group LinuxOS. Once you do so, you should have 3 new programs on your program screen. They are:
LINUXOS
LINUX
BOOT
If you haven't already, put the VERY NEWEST version of BatLib on you calc (the link is available on one of my earlier posts) and run it. It's in the appmenu. That will install the BatLib parser hook and will allow you to run the Linux programs.
When you first start, you should run LINUXOS. A pretty splashscreen should appear, and then you should have the option to build the system. Click that, and the program takes it from there. You'll be prompted about halfway through to put in a username and password after which program execution will continue. The installation should build all programs, then optimize them for RAM usage and full functionality. This will take about 2 mins to complete. After installation finishes, you can then either run LinuxOS again, where it will give you the option to boot the system (Using BIOS 1.0, highly outdated), rebuild the system, which is great for developing, and delete the system. (gotta love hardcoding menus) Since all programs are stored in archive, the delete system routine is the only current way to clear all Linux programs off your calculator. At this point, LINUXOS can be safely archived, which is convenient since it's 7000 something bytes. Once you do that, you again have two options. You can boot directly into Linux using BIOS 5.0 (which I've since upgraded to 5.2. This is not publicly released yet, and just has some cosmetic fixes). This will work absolutely fine, and Linux will run from there. You also have the option of running BOOT, which will attempt to set itself as the start-up program (but only if you have Start-up running on the calculator) and give you three options. You can shutdown the calculator from there. When you turn the calc back on, it will be at the BIOS 5.0 screen. You can boot Linux, or you can exit into the TI-OS. Booting Linux from there should work exactly the same as booting Linux directly. Keep in mind that to boot Linux from the BOOT program, prgmLINUX must be unarchived. Altogether, the total tax on your RAM comes to about 1600 bytes. Installation requires 3000 bytes of RAM with LINUXOS unarchived.
Also, Codebender and Xeda, here's a little pro-trick:
I discovered purely on accident that if you shutdown the calculator from the BIOS screen, then hold [on] when booting back up, it will boot directly into Linux. This is probably some bug of BatLib that is actually quite handy. Call it a hack if you will XD
O_o That is pretty cool! What are you doing to shutdown? Are you using an asm opcode to actually turn off the calc? If so, one of the opcodes suspends the CPU and resumes where you left off. BatLib clears the flag that the OS sets saying that the ON button was pressed, so when you resume the program, you don't get an ERR:BREAK. However, I did not even think of this use, I only added it so that the error wasn't thrown with the getKey commands or PopUp XD Nice!
Z80 Assembly>English>TI-BASIC>Python>French>C>0
Actually, it also works by holding the ON button when booting the program :)
I'm gonna have to get you guys the newest BIOS version…
So do you remember when we made the discovery that BatLib commands worked in expr(? Well, I'm using that ability for the newest BIOS. It utilizes a complex use of sub( to create a menu based on whether or not Linux is present on the calculator.
I just realized that my link to my program is no longer on here…where did it go? Burr?
Where was the link's source originally?
Coffee + Radiohead = ^^
To ubuntu one and dropbox. There isn't really any reason it should have gotten deleted I don't think…
What do you mean it was deleted? It never disappeared for me…
Coffee + Radiohead = ^^
Well…I don't see it…
Give me a URL…. Are we talking about the same download? :/
Coffee + Radiohead = ^^
!
|
http://tibasicdev.wikidot.com/forum/t-598385/linux-os-in-hybrid-ti-basic
|
CC-MAIN-2019-04
|
en
|
refinedweb
|
Buildout recipe for generating Lighttpd configuration files
Project description.
Basic usage
Basic buildout.cfg:
[buildout] parts = django lighty-conf [django] recipe = djangorecipe project=lighttpdrecipetest version = 1.1 fcgi = true settings = settings extra-paths = ${buildout:directory}/${django:project} unzip = true download-cache = dlcache [lighty-conf] recipe = lighttpdrecipe host = example.com redirect_from = media = /favicon.ico => ${buildout:directory}/media/favicon.ico
This recipe will generate a following config file:
$HTTP["host"] == "example.com" { server.document-root = "/var/sites/lighttpdrecipetest" server.follow-symlink = "enable" dir-listing.activate = "enable" fastcgi.server = ( "/fcgi" => ( ( "bin-path" => "/var/sites/lighttpdrecipetest/bin/django.fcgi", "socket" => "/tmp/example.com.socket", "check-local" => "disable", "max-procs" => 4, "min-procs" => 4, ) ) ) alias.url = ( "/favicon.ico" => "/var/sites/lighttpdrecipetest/media/favicon.ico", "/admin_media" => "/var/sites/lighttpdrecipetest/parts/django/django/contrib/admin/media/", "/media" => "/var/sites/lighttpdrecipetest/media/", ) url.rewrite-once = ( "^(/favicon.ico.*)$" => "/$1", "^(/admin_media.*)$" => "/$1", "^(/media/.*)$" => "/$1", "^(/.*)$" => "/fcgi$1", ) $HTTP["url"] =~ "^/media/" { expire.url = ( "" => "access 1 seconds" ) } } $HTTP["host"] == "" { url.redirect = ( "^(/.*)" => "" ) }
Now you just need to symlink this config to /etc/lighttpd/conf-available/ (or what your distribution uses) and you actually have a pretty high chance that it will work on the very first attempt.
So just by writing several lines for lighttpdrecipe we configured Lighttpd to use 4 fastcgi worker processes, set up rewrites and aliases for media files, Django admin media files and favicon.ico. Also we set up a redirect from to example.com
That’s exactly what I need most of the time, so perhaps that’s what you need as well.
Recipe options
- host (required)
List of host names or regular expressions of the server we are setting up, each on the separate line. At least one is required.
Recipe will try to guess if you provide simple host name or a regular expression and depending on that will use corresponding match operator.
- template (optional, default value is “djangorecipe_fcgi.jinja”)
- Template to use for config generation. Lighttpdrecipe sets up Jinja with filesystem template loader. It searches for templates in the lighttpdrecipe installation directory and in ${buildout:directory}, so you can provide your own template and extend the default template
- redirect_from (optional)
- List of hostnames (or regular expressions) to redirect from to our main host. Use it if you want to redirect all your users to www or non-www version of your site.
- redirect_to (optional, default value is the first line of the “hosts” option)
- Primary domain where all users will be redirected to if they try to visit a site listed in the redirect_from. If “redirect_from” is specified and “redirect_to” is not specified and the first “hosts” line looks like a regexp, then an exception will be thrown.
- priority (optional, default value is 11)
- Generated config file will be named [priority]-[config_name].conf
- config_name (optional, default value is [redirect_to])
- That’s the second part of the generated config name. In the case of simple hostname without explict redirect_to specified, config will be named like 11-example.com.conf
- processes (optional, default value is 4)
- Number of fastcgi worker processes
- media_url (optional, default value is “/media”)
- Url to serve media files.
- media_root (optional, default value is ${buildout:directory} + “/media”)
- Media files location
- dir_listing (optional, default value is “enable”)
- Enable directory listing?
- socket (optional, default value is [redirect_to] or ${django:project})
- Config will use /tmp/{{ socket }}/socket for communications with lighttpd
- bin_path (optional, default value is ${buildout:bin-directory}/django.fcgi)
- Script to start fast cgi processes. Default value works with Django recipe fcgi file
- document_root (optional, default value is ${buildout:directory})
- Site document root
- far_future_expiry (optional, default value is “no”)
- Set expiry of media files to the far future
- rewrite_admin_media (optional, default value is “yes”)
- Configure rewrite rule and alias for serving Django admin media files
- admin_media_url (optional, default value is “/admin_media”)
- URL to serve Django admin media files. Default value matched Django default
- admin_media_path (optional, default value is ${django:location}/django/contrib/admin/media/”)
- Location of Django admin media files. Matches the location if Django admin media files if djangorecipe is used
- media (optional, default value is “”)
- Pairs of /media_url => /path/to/my/media/on/the/server each on the separate line Each line will create a rewrite rule and alias.url in the config
- expiry_period (optional, default value depends on “far_future_expiry” option)
- If “far_future_expiry” is set then expiry_period is set to “12 months”, if not set - “1 seconds”. If you provide explict “expiry_period” then your value is used.
- extra (optional)
- Value of “extra” option (if given) in inserted verbatim near the end of $HTTP[“host”] match section
Customizing template
Lighttpdrecipe uses Jinja2 template for config generation. Template context includes all options specified for the recipe and additionally “options” and “buildout” variables. So you can access any variable from the buildout.cfg like this {{ buildout.buildout.directory }} or {{ buildout.buildout[‘bin-directory’] }}.
Jinja environment is configured to use filesystem loader that looks for templates in the lighttpdrecipe installation directory and in the {{ buildout:directory }}, e.g. the main buildout directory. This allows you to use your own template, overriding default values for variables or even whole template blocks.
Custom tests
Two additional tests are provided for the Jinja environment:
- true
this test for “affirmative” string, e.g. one of the following (case insensitive): ‘yes’, ‘y’, ‘true’, ‘enable’, ‘enabled’.
Example usage:
{% if dir_listing is true %} Dir_listing is enabled {% endif %}
- simple_host
Tests if the argument is a “simple host name”, e.g. single line string which consists of alphanumeric characters, hyphens and dots.
For example:
""
will pass the test, but:
".*\.example.com"
or:
""" a.example.com b.example.com """"
will not.
Example usage:
{% if host is simple_host %} Output simple host condition {% endif %}
Specifying different default option values
You can easily specify different default option values by extending default template.
Here’s the example:
{%- extends "djangorecipe_fcgi.jinja" -%} {%- set processes = processes or '2' -%}
This template will work just as the standard one but default value for “processes” will be ‘2’.
Custom templates
I don’t expect my template to work for everyone, so if you find general infrastructure of lighttpdrecipe and create another template which you can think can be useful for someone else, please contact me at redvasily at gmail.com and I’ll include your template in the lighttpdrecipe
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|
https://pypi.org/project/lighttpdrecipe/0.2.4/
|
CC-MAIN-2019-04
|
en
|
refinedweb
|
The Catalan numbers Cn are closely related to the central binomial coefficients I wrote about recently:
In this post I’ll write C(n) rather than Cn because that will be easier to read later on.
Catalan numbers come up in all kinds of applications. For example, the number of ways to parenthesize an expression with n terms is the nth Catalan number C(n).
Number of digits
Here’s a strange theorem regarding Catalan numbers that I found in Catalan Numbers with Applications by Thomas Koshy:
The number of digits in C(10n) … converges to the number formed by the digits on the right side of the decimal point in log10 4 = 0.60205999132…
Let’s see what that means. C(10) equals 16,796 which of course has 5 digits.
Next, C(100) equals
896,519,947,090,131,496,687,170,070,074,100,632,420,837,521,538,745,909,320
which has 57 digits. These numbers are getting really big really fast, so I’ll give a table of just the number of digits of a few more examples rather than listing the Catalan numbers themselves.
|---+------------------| | n | # C(10^n) digits | |---+------------------| | 1 | 5 | | 2 | 57 | | 3 | 598 | | 4 | 6015 | | 5 | 60199 | | 6 | 602051 | | 7 | 6020590 | | 8 | 60205987 | |---+------------------|
I stopped at n = 8 because my computer locked up when I tried to compute C(109). I was computing these numbers with the following Mathematica code:
Table[ IntegerLength[ CatalanNumber[10^n] ], {n, 1, 8} ]
Computing
CatalanNumber[10^9] was too much for Mathematica. So how might we extent the table above?
Numerical computing
We don’t need to know the Catalan numbers themselves, only how many digits they have. And we can compute the number of digits from an approximate value of their logarithm. Taking logarithms also helps us avoid overflow.
We’ll write Python below to determine the number of digits, in part to show that we don’t need any special capability of something like Mathematica.
We need three facts before we write the code:
- The number of decimal digits in a number x is 1 + ⌊log10x⌋ where ⌊y⌋ is the floor of y, the greatest integer not greater than y.
- n! = Γ(n + 1)
- log10(x) = log(x) / log(10)
Note that when I write “log” I always mean natural log. More on that here.
This code can compute the number of digits of C(10n) quickly for large n.
from scipy import log, floor from scipy.special import gammaln def log_catalan(n): return gammaln(2*n+1) - 2*gammaln(n+1) - log(n+1) def catalan_digits(n): return 1 + floor( log_catalan(n)/log(10) ) for n in range(1, 14): print( n, catalan_digits(10.**n) )
The code doesn’t run into trouble until
n = 306, in which case
gammaln overflows. (Note the dot after 10 in the last line. Without the dot Python computes
10**n as an integer, and that has problems when
n = 19.)
Proof
How would you go about proving the theorem above? We want to show that the number of digits in C(n) divided by 10n converges to log10 4, i.e.
We can switch to natural logs by multiplying both sides by log(10). Also, in the limit we don’t need the 1 or the floor in the numerator. So it suffices to prove
Now we see this has nothing to do with base 10. We only need to prove
and that is a simple exercise using Stirling’s approximation.
Other bases
Our proof showed that this theorem ultimately doesn’t have anything to do with base 10. If we did everything in another base, we’d get analogous results.
To give a taste of that, let’s work in base 7. If we look at the Catalan numbers C(7n) and count how many “digits” their base 7 representations have, we get the same pattern as the base 7 representation of log7 4.
Note that the base appears in four places:
- which Catalan numbers we’re looking at,
- which base we express the Catalan numbers in,
- which base we take the log of 4 in, and
- which base we express that result in.
If you forget one of these, as I did at first, you won’t get the right result!
Here’s a little Mathematica code to do an example with n = 8.
BaseForm[ 1 + Floor[ Log[7, CatalanNumber[7^8]] ], 7 ]
This returns 466233417 and the code
BaseForm[Log[7, 4.], 7]
returns 0.46623367.
|
https://www.johndcook.com/blog/2018/07/13/digits-catalan-numbers/
|
CC-MAIN-2019-04
|
en
|
refinedweb
|
One $1 billion run rate, NSX is the growth engine within VMware. On Thursday, VMware announced a host of updates to the NSX platform to advance security, automation, and application continuity. I recently sat down with the VMware product team to understand their short and long term vision for NSX.
Open source roots
NSX is the successor of an open source project from a company called Nicira. After purchasing Nicira for $1 billion, VMware invested roughly a year of development integrating Nicira's platform with vSphere, and maintained a dual code base. One product, NSX-V, commonly referred to as NSX, is fully integrated with vSphere. The second product is NSX-T. NSX-T is closer in architecture to the original Nicira product, and it supports non-vSphere hypervisors including KVM.
SEE: VMworld 2016: VMware lays out its strategy for cross-cloud support
NSX-T was the upgrade path for Nicira customers. However, VMware has focused much of the development attention on NSX-V. VMware recently announced the first major update to NSX-T and at least the third major update to NSX-V, continuing the improvements on security, vSphere integration, and container management. I found the most interesting point of my conversation with VMware surrounding the potential of NSX-T.
Software is eating networking
There's an irony that Nicira co-founder Martin Casado now works as a general partner for Andreessen Horowitz (A16). A16Z coined the term software is eating the world. The irony is that NSX is an abstraction of physical networks and new approaches to application development are in turn eating legacy network concepts.
In place of traditional network concepts, solutions such as Docker expose concepts like network namespaces to developers. Serverless applications have little to no networking options presented to the developer, and there's limited traditional network knowledge needed in these development techniques. As these methods grow in popularity, solutions such as NSX must evolve to keep pace.
I understand how legacy environments benefit from NSX. It's obvious that VMware's now 2400 NSX customers know the value. My question to the NSX product team was how does a product that abstracts switches, firewalls, routers, and load balancers add value in a serverless infrastructure. VMware's belief is that NSX-T offers the flexibility needed to support hybrid environments including serverless.
Someone else's network
With just a single update within the last few years, I assumed NSX-T was an orphaned project within VMware. I was surprised to discover how integral NSX-T is to the future of VMware's support of hybrid network infrastructure. Much of the technology needed to support vSphere integration with public cloud IaaS originates with NSX-T.
VMware's chief technology strategy officer Guido Appenzeller demonstrated NSX running on AWS instances during VMworld 2015. The code required to create the micro-NSX instances on each AWS instance leveraged NSX-T code. In addition to IaaS platforms, VMware positions NSX-T for future integration with serverless and container orchestration platforms.
Serverless and container platforms hide the complexity of the network from developers. While the complexity is hidden, applications ultimately operate on traditional network concepts such as switches, routers, load balancers, and firewalls. VMware believes there's opportunity for NSX-T to facilitate the orchestration between microservices-based applications and the traditional network. Integration between NSX-V and NSX-T normalizes the network operations of hybrid cloud by providing a concept abstraction for managing across platforms.
Network virtualization remains a space to watch closely. While the network becomes invisible to developers, operations teams need a way to make the integration look seamless. NSX is one of many products positioned to help enterprises reach the goal of integrated network management.
Also see
- Is VMware NSX more than just a security platform? (TechRepublic)
- Video: The most important tech underneath VMware's new Cross-Cloud Architecture (TechRepublic)
- VMware NSX: 3 different use cases (TechRepublic)
- AWS, VMWare announce strategic partnership, new hybrid cloud service (ZDNet)
- VMware's next play: Managing all clouds for enterprises .
|
https://www.techrepublic.com/article/why-vmwares-nsx-must-evolve-to-keep-up-in-a-serverless-future/
|
CC-MAIN-2019-04
|
en
|
refinedweb
|
Kirk Munro started his professional career in 1997 as a developer at FastLane Technologies Incorporated, where he worked on an advanced scripting language called FINAL (FastLane Integrated Network Application Language). 10 years later while working at Quest Software he returned to his scripting language roots and became a Poshoholic when he started working with PowerShell and PowerShell-based applications like PowerGUI. Today he is a member of the PowerGUI team and spends all of his professional time using PowerShell and helping others use PowerShell through newsgroups, online forums, events, and his Poshoholic blog.
Kirk is also an ecoholic and a father of two children. His children participate in home-based learning with his wife instead of traditional school. He tries to practice natural, holistic living outside of the office as much as possible. When traveling, natural food stores are one the first places he will visit. He’s still waiting for companies to start giving out organic cotton t-shirts at trade shows and conferences.
1. What does being an MVP mean to you?
For me, being an MVP means having even more support, opportunities and resources available to continue doing what I love to do: helping others in the community through online support and through face-to-face interaction.
- If you could ask Steve Ballmer one question about Microsoft, what would it be?
When is Microsoft going to show the true compassion, innovation and leadership over environmental issues in the software industry that the world needs?
- What do you think the best software ever written was?
I had a few things immediately jump in my head when I read this question. PowerShell, hands down, is the best professional software I use. It really is the best thing since sliced bread. The other things that jumped into my head are games from my childhood. The first release of King’s Quest I, where you actually had to think of the commands you wanted to type instead of just moving a mouse pointer around and clicking; and Ultima III: Exodus, for its ability to take me on a fantastic adventure without painting the graphics so detailed that I couldn’t use my imagination to picture it myself. These fit into my definition of best because they were a great part of the inspiration behind my pursuing a career working with computers in the first place. I still play them from time to time.
- If you were the manager of Admin Frameworks/PowerShell, what would you change?
I’d add support for namespaces and drop the recommendation for third-party snapins to use silly prefixes that obscure their names.
- What are the best features/improvements of Admin Frameworks/PowerShell?
Its self-discoverability, flexibility, capability, and versatility. It takes quite a while after you start using PowerShell before you discover any limitations that can’t be worked around.
- What was the last book you read?
“La colère de Mulgarath” (Book 5 in the Spiderwick Chronicles series, “The Wrath of Mulgarath”, translated into French). I read to my kids pretty much every night before they go to sleep, and we just finished reading the entire series.
- What music CD do you recommend?
Avril Lavigne – The Best Damn Thing. Not deep or meaningful at all, but I enjoy it.
- What makes you a great MVP?
Who said I was great? (Thanks to that person!) I’m just a guy who is passionate about what he does who loves to help other people. I’ve been helping friends, family, neighbours and co-workers with computer problems since we got our first computer (a TRS-80) many years ago. I also help people in a grocery store, in a library, or at the market if the opportunity presents itself. Giving time to help others and seeing and feeling the happiness that results is a wonderful experience. If that makes me a great MVP, well then, great!
- What is in your computer bag?
My laptop (obviously), “Presenting to Win” by Jerry Weissman, my new Microsoft LifeCam NX-6000 webcam so that I can see my kids when I’m travelling and show them a little bit of where I am, a 150GB pocket drive, a USB drive or two, a retractable RJ-45 cable and a soft DVD case (currently holding “The Transformers”), and a small bottle of hand sanitizer.
- What is the best thing that has happened since you have become an MVP?
Being recorded on .NET Rocks!, dnrTV and RunAs Radio, and having all three shows posted in the same week! Carl, Richard and Greg do a great job of those shows, and it was truly an honor to be invited to talk about PowerShell and PowerGUI on them.
- What is your motto?
Do better, in everything that you do.
- Who is your hero?
There are too many people doing many great things to have one hero. My hero these days is anyone who challenges the conventional way of thinking about things and uses their passion to influence positive changes in life in a way that is beneficial for people and for the planet. My kids and my wife do that, and that makes them my heroes. David Suzuki, Dr. Jane Goodall, John Taylor Gatto, Al Gore and Woody Harrelson are all heroes that come to mind. There are lots more, but these are a few examples.
- What does success mean to you?
Success means being proud of who you are, enjoying what you do, doing it well, and being able to do all of that without regret or remorse.
A real pleasure to meet you.
Regards to you all.
|
https://blogs.technet.microsoft.com/canitpro/2008/04/03/mvp-profile-kirk-munro/
|
CC-MAIN-2019-04
|
en
|
refinedweb
|
User Authentication in Symfony2 with UserApp.io
UserApp.io is a handy user management tool and API. It provides a web interface to deal with user accounts (and the many features this involves) and an API to hook them into your own web application. The purpose of this service is to make it easier and safer to manage user authentication by not having to worry about that on your own server.
It has SDKs and various wrappers for many programming languages and frameworks and the price is affordable. Yes, it comes with a price but you can get started freely with quite a lot of things to play around with. I recommend checking out their features page to get more information. Also, it’s very easy to create an account and experiment with creating users, adding properties to their profiles, etc, so I recommend you check that out as well if you haven’t already.
In this article, we are going to look at how we can implement a Symfony2 authentication mechanism that leverages UserApp.io. The code we write can also be found in this small library I created (currently in dev) that you can try out. To install it in your Symfony app, just follow the instructions on GitHub.
Dependecies
In order to communicate with the UserApp.io service, we will make use of their PHP library. Make sure you require this in your Symfony application’s composer.json file as instructed on their GitHub page.
The authentication classes
To authenticate UserApp.io users with our Symfony app, we’ll create a few classes:
- A form authenticator class used to perform the authentication with the UserApp.io API
- A custom User class used to represent our users with information gathered from the API
- A user provider class used to retrieve users and transform them into objects of our User class
- A Token class used to represent the Symfony authentication token
- A logout handler class that takes care of logging out from the UserApp.io service.
- A simple exception class that we can throw if the UserApp.io users don’t have any permissions set (that we will convert to Symfony roles)
Once we create these classes, we will declare some of them as services and use them within the Symfony security system.
Form authenticator
First, we will create the most important class, the form authenticator (inside a
Security/ folder of our best practice named
AppBundle). Here is the code, I will explain it afterwards:
<?php /** * @file AppBundle\Security\UserAppAuthenticator.php */ namespace AppBundle\Security; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\Security\Core\Authentication\SimpleFormAuthenticatorInterface; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; use Symfony\Component\Security\Core\Exception\AuthenticationException; use Symfony\Component\Security\Core\User\UserProviderInterface; use UserApp\API as UserApp; use UserApp\Exceptions\ServiceException; class UserAppAuthenticator implements SimpleFormAuthenticatorInterface { /** * @var UserApp */ private $userAppClient; public function __construct(UserApp $userAppClient) { $this->userAppClient = $userAppClient; } /** * {@inheritdoc} */ public function authenticateToken(TokenInterface $token, UserProviderInterface $userProvider, $providerKey) { try { $login = $this->userAppClient->user->login(array( "login" => $token->getUsername(), "password" => $token->getCredentials(), ) ); // Load user from provider based on id $user = $userProvider->loadUserByLoginInfo($login); } catch(ServiceException $exception) { if ($exception->getErrorCode() == 'INVALID_ARGUMENT_LOGIN' || $exception->getErrorCode() == 'INVALID_ARGUMENT_PASSWORD') { throw new AuthenticationException('Invalid username or password'); } if ($exception->getErrorCode() == 'INVALID_ARGUMENT_APP_ID') { throw new AuthenticationException('Invalid app ID'); } } return new UserAppToken( $user, $user->getToken(), $providerKey, $user->getRoles() ); } /** * {@inheritdoc} */ public function supportsToken(TokenInterface $token, $providerKey) { return $token instanceof UserAppToken && $token->getProviderKey() === $providerKey; } /** * {@inheritdoc} */ public function createToken(Request $request, $username, $password, $providerKey) { return new UserAppToken($username, $password, $providerKey); } }
As you can see, we are implementing the
SimpleFormAuthenticatorInterface and consequently have 3 methods and a constructor. The latter takes a dependency as the instantiated UserApp.io client (passed using the service container, but more on this in a minute).
This class is used by Symfony when a user tries to login and authenticate with the application. The first thing that happens is that
createToken() is called. This method needs to return an authentication token which combines the submitted username and password. In our case, it will be an instance of the
UserAppToken class we will define in a moment.
Then the
supportToken() method is called to check if this class does support the token returned by
createToken(). Here we just make sure we return true for our token type.
Finally,
authenticateToken() gets called and attempts to check whether the credentials in the token are valid. In here, and using the UserApp.io PHP library, we try to log in or throw a Symfony authentication exception if this fails. If the authentication is successful though, the responsible user provider is used to build up our user object, before creating and returning another token object based on the latter.
We will write our user provider right after we quickly create the simple
UserAppToken class.
Token class
<?php /** * @file AppBundle\Security\UserAppToken.php */ namespace AppBundle\Security; use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken; class UserAppToken extends UsernamePasswordToken { }
As you can see, this is just an extension of the
UsernamePasswordToken class for the sake of naming being more accurate (since we are storing a token instead of a password).
User provider
Next, let’s see how the authenticator works with the user provider, so it’s time to create the latter as well:
<?php /** * @file AppBundle\Security\UserAppProvider.php */ namespace AppBundle\Security; use Symfony\Component\Security\Core\Exception\AuthenticationException; use Symfony\Component\Security\Core\Exception\UsernameNotFoundException; use Symfony\Component\Security\Core\User\UserProviderInterface; use Symfony\Component\Security\Core\User\UserInterface; use Symfony\Component\Security\Core\Exception\UnsupportedUserException; use UserApp\API as UserApp; use UserApp\Exceptions\ServiceException; use AppBundle\Security\Exception\NoUserRoleException; use AppBundle\Security\UserAppUser; class UserAppProvider implements UserProviderInterface { /** * @var UserApp */ private $userAppClient; public function __construct(UserApp $userAppClient) { $this->userAppClient = $userAppClient; } /** * {@inheritdoc} */ public function loadUserByUsername($username) { // Empty for now } /** * {@inheritdoc} */ public function refreshUser(UserInterface $user) { if (!$user instanceof UserAppUser) { throw new UnsupportedUserException( sprintf('Instances of "%s" are not supported.', get_class($user)) ); } try { $api = $this->userAppClient; $api->setOption('token', $user->getToken()); $api->token->heartbeat(); $user->unlock(); } catch (ServiceException $exception) { if ($exception->getErrorCode() == 'INVALID_CREDENTIALS') { throw new AuthenticationException('Invalid credentials'); } if ($exception->getErrorCode() == 'AUTHORIZATION_USER_LOCKED') { $user->lock(); } } return $user; } /** * {@inheritdoc} */ public function supportsClass($class) { return $class === 'AppBundle\Security\UserAppUser'; } /** * * Loads a user from UserApp.io based on a successful login response. * * @param $login * @return UserAppUser * @throws NoUserRoleException */ public function loadUserByLoginInfo($login) { try { $api = $this->userAppClient; $api->setOption('token', $login->token); $users = $api->user->get(); } catch(ServiceException $exception) { if ($exception->getErrorCode() == 'INVALID_ARGUMENT_USER_ID') { throw new UsernameNotFoundException(sprintf('User with the id "%s" not found.', $login->user_id)); } } if (!empty($users)) { return $this->userFromUserApp($users[0], $login->token); } } /** * Creates a UserAppUser from a user response from UserApp.io * * @param $user * @param $token * @return UserAppUser * @throws NoUserRoleException */ private function userFromUserApp($user, $token) { $roles = $this->extractRolesFromPermissions($user); $options = array( 'id' => $user->user_id, 'username' => $user->login, 'token' => $token, 'firstName' => $user->first_name, 'lastName' => $user->last_name, 'email' => $user->email, 'roles' => $roles, 'properties' => $user->properties, 'features' => $user->features, 'permissions' => $user->permissions, 'created' => $user->created_at, 'locked' => !empty($user->locks), 'last_logged_in' => $user->last_login_at, 'last_heartbeat' => time(), ); return new UserAppUser($options); } /** * Extracts the roles from the permissions list of a user * * @param $user * @return array * @throws NoUserRoleException */ private function extractRolesFromPermissions($user) { $permissions = get_object_vars($user->permissions); if (empty($permissions)) { throw new NoUserRoleException('There are no roles set up for your users.'); } $roles = array(); foreach ($permissions as $role => $permission) { if ($permission->value === TRUE) { $roles[] = $role; } } if (empty($roles)) { throw new NoUserRoleException('This user has no roles enabled.'); } return $roles; } }
Similar to the form authenticator class, we inject the UserApp.io client into this class using dependency injection and we implement the
UserProviderInterface. The latter requires we have 3 methods:
loadUserByUsername()– which we leave empty for now as we don’t need it
refreshUser()– which gets called on each authenticated request
supportsClass()– which determines whether this user provider works with our (yet to be created) User class.
Let’s turn back a second to our authenticator class and see what exactly happens when authentication with UserApp.io is successful: we call the custom
loadUserByLoginInfo() method on the user provider class which takes a successful login result object from the API and uses its authentication token to request back from the API the logged-in user object. The result gets wrapped into our own local
UserAppUser class via the
userFromUserApp() and
extractRolesFromPermissions() helper methods. The latter is my own implementation of a way to translate the concept of
permissions in UserApp.io into
roles in Symfony. And we throw our own
NoUserRoleException if the UserApp.io is not set up with permissions for the users. So make sure that your users in UserApp.io have permissions that you want to map to roles in Symfony.
The exception class is a simple extension from the default PHP
\Exception:
<?php /** * @file AppBundle\Security\Exception\NoUserRoleException.php */ namespace AppBundle\Security\Exception; class NoUserRoleException extends \Exception { }
Back to our authenticator again, we see that if the authentication with UserApp.io is successful, a
UserAppUser classed object is built by the user provider containing all the necessary info on the user. Having this object, we need to add it to a new instance of the
UserAppToken class and return it.
So basically this happens from the moment a user tries to log in:
- we create a token with the submitted credentials (
createToken())
- we try to authenticate the credentials in this token and throw an authentication exception if we fail
- we create a new token containing the user object and some other information if authentication is successful
- we return this token which Symfony will then use to store the user in the session.
The
refreshUser() method on the user provider is also very important. This method is responsible for retrieving a new instance of the currently logged in user on each authenticated page refresh. So whenever the authenticated user goes to any of the pages inside the firewall, this method gets triggered. The point is to hydrate the user object with any changes in the storage that might have happened in the meantime.
Obviously we need to keep API calls to a minimum but this is a good opportunity to increase the authentication time of UserApp.io by sending a heartbeat request. By default (but configurable), each authenticated user token is valid for 60 minutes but by sending a heartbeat request, this gets extended by 20 minutes.
This is a great place to perform also two other functions:
- If the token has expired in the meantime in UserApp.io, we get an
INVALID_CREDENTIALSvalued exception so by throwing a Symfony
AuthenticationExceptionwe log the user out in Symfony as well.
- Although heartbeat requests are made to be as cheap as possible (which means no real user data is retrieved), the user
lockedstatus does get transmitted back in the form of an exception. So we can take this opportunity and mark our User object locked as well. The
lockedstatus can then be used in the application, for example, by checking against it and denying access to various parts if the user is locked.
If you want, you can make an API request and update the user object with data from UserApp.io here as well but I find it doesn’t make much sense for most use cases. Data can be updated when the user logs out and back in the next time. But depending on the needs, this can be easily done here. Although keep in mind the performance implications and the cost of many API calls to UserApp.io.
And basically that is the crux of our authentication logic.
The User class
Let’s also create the
UserAppUser class we’ve been talking about earlier:
<?php /** * @file AppBundle\Security\UserAppUser.php */ namespace AppBundle\Security; use Symfony\Component\OptionsResolver\OptionsResolver; use Symfony\Component\Security\Core\User\UserInterface; class UserAppUser implements UserInterface { private $id; private $username; private $token; private $firstName; private $lastName; private $email; private $roles; private $properties; private $features; private $permissions; private $created; private $locked; public function __construct($options) { $resolver = new OptionsResolver(); $this->configureOptions($resolver); $params = $resolver->resolve($options); foreach ($params as $property => $value) { $this->{$property} = $value; } } /** * Configures the class options * * @param $resolver OptionsResolver */ private function configureOptions($resolver) { $resolver->setDefaults(array( 'id' => NULL, 'username' => NULL, 'token' => NULL, 'firstName' => NULL, 'lastName' => NULL, 'email' => NULL, 'roles' => array(), 'properties' => array(), 'features' => array(), 'permissions' => array(), 'created' => NULL, 'locked' => NULL, 'last_logged_in' => NULL, 'last_heartbeat' => NULL, )); $resolver->setRequired(array('id', 'username')); } /** * {@inheritdoc} */ public function getRoles() { return $this->roles; } /** * {@inheritdoc} */ public function getToken() { return $this->token; } /** * {@inheritdoc} */ public function getSalt() { } /** * {@inheritdoc} */ public function getUsername() { return $this->username; } /** * {@inheritdoc} */ public function eraseCredentials() { } /** * {@inheritdoc} */ public function getPassword() { } /** * @return mixed */ public function getId() { return $this->id; } /** * @return array */ public function getProperties() { return $this->properties; } /** * @return mixed */ public function isLocked() { return $this->locked; } /** * Locks the user */ public function lock() { $this->locked = true; } /** * Unlocks the user */ public function unlock() { $this->locked = false; } /** * @return mixed */ public function getFirstName() { return $this->firstName; } /** * @return mixed */ public function getLastName() { return $this->lastName; } /** * @return mixed */ public function getEmail() { return $this->email; } /** * @return mixed */ public function getFeatures() { return $this->features; } /** * @return mixed */ public function getCreated() { return $this->created; } /** * @return mixed */ public function getPermissions() { return $this->permissions; } }
Nothing particular here, we are just mapping some data from UserApp.io and implementing some of the methods required by the interface. Additionally we added the
locked/unlocked flagger.
The last class we need to create is the one that deals with logging the user out from UserApp.io when they log out of Symfony.
<?php /** * @file AppBundle\Security\UserAppLogout.php */ namespace AppBundle\Security; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; use Symfony\Component\Security\Http\Logout\LogoutHandlerInterface; use UserApp\API as UserApp; use UserApp\Exceptions\ServiceException; class UserAppLogout implements LogoutHandlerInterface { /** * @var UserApp */ private $userAppClient; public function __construct(UserApp $userAppClient) { $this->userAppClient = $userAppClient; } /** * {@inheritdoc} */ public function logout(Request $request, Response $response, TokenInterface $token) { $api = $this->userAppClient; $user = $token->getUser(); $api->setOption('token', $user->getToken()); try { $api->user->logout(); } catch (ServiceException $exception) { // Empty for now, error probably caused by user not being authenticated which means // user is logged out already. } } }
Here again we inject the UserApp.io PHP client and since we implement the
LogoutHandlerInterface we need to have a
logout() method. All we do in it is log the user out from UserApp.io if they’re still logged in.
Wiring everything up
Now that we have our classes, it’s time to declare them as services and use them in our authentication system. Here are our YML based service declarations:
user_app_client: class: UserApp\API arguments: ["%userapp_id%"] user_app_authenticator: class: AppBundle\Security\UserAppAuthenticator arguments: ["@user_app_client"] user_app_provider: class: AppBundle\Security\UserAppProvider arguments: ["@user_app_client"] user_app_logout: class: AppBundle\Security\UserAppLogout arguments: ["@user_app_client"]
The first one is the UserApp.io PHP library to which we pass in our application ID in the form of a reference to a parameter. You will need to have a parameter called
userapp_id with your UserApp.io App ID.
The other three are the form authenticator, user provider and logout classes we wrote earlier. And as you remember, each accepts one parameter in their constructor in the form of the UserApp.io client defined as the first service.
Next, it’s time to use these services in our security system, so edit the
security.yml file and do the following:
Under the
providerskey, add the following:
user_app: id: user_app_provider
Here we specify that our application has also this user provider so it can use it.
Under the
firewallkey, add the following:
secured_area: pattern: ^/secured/ simple_form: authenticator: user_app_authenticator check_path: security_check login_path: login logout: path: logout handlers: [user_app_logout] target: _home anonymous: ~
What happens here is that we define a simple secure area which uses the
simple_form type of authentication with our authenticator. Under the
logout key we are adding a handler to be called (our
UserAppLogout class defined as a service). The rest is regular Symfony security setup so make sure you do have a login form being shown on the
login route, etc. Check out the documentation on this for more information.
And that’s all. By using the
simple_form authentication with our custom form authenticator and user provider (along with an optional logout handler), we’ve implemented our own UserApp.io based Symfony authentication mechanism.
Conclusion
In this article, we’ve seen how to implement a custom Symfony form authentication using the UserApp.io service and API as a user provider. We’ve gone through quite a lot of code which meant a very brief explanation of the code itself. Rather, I tried to explain the process of authentication with Symfony by building a custom solution that takes into account the way we can interact with UserApp.io.
If you followed along and implemented this method inside your bundle and want to use it like this, go ahead. You also have the option of using the library I created which has a very quick and easy setup described on the GitHub page. I recommend the latter because I plan on developing and maintaining it so you can always get an updated version if any bugs are removed or features introduced (hope not the other way around).
If you would like to contribute to it, you’re very welcome. I also appreciate letting me know if you find any problems or think there are better ways to accomplish similar goals.
Replies
thanks
This also works with soap webservice ?
where they would have to change to work with a soap webservice ?
regards
Hey,
I'm not sure. You can consult their website to see what can and cannot be done with their service. Personally, REST is all I care about
I have to do something similar but instead of using userapp.io have to
use soap webservice that changes would have to do in this instance?
regards
1 more reply
|
https://www.sitepoint.com/user-authentication-symfony2-userapp-io/
|
CC-MAIN-2019-04
|
en
|
refinedweb
|
by Zoran Horvat
Feb 18, 2014
An array of integers is given, such that each number appears exactly three times in it with exception of one number which appears only once. Write a function returning number which appears once in the array.
Example: Suppose that array consists of numbers 2, 4, 5, 1, 1, 4, 1, 2, 3, 5, 5, 4, 2. The function should return value 3, because that is the number which appears only once. All other numbers appear three times.
For similar problem, please refer to exercise Finding a Number That Appears Once in Array of Duplicated Numbers.
Another variation of the problem is covered in exercise Finding Two Numbers That Appear Once in Array of Duplicated Numbers.
This problem resembles a similar problem where all numbers appear exactly twice, except one which appears once. Solution to this problem is explained in exercise Finding a Number That Appears Once in Array of Duplicated Numbers. Although solution is not directly applicable to problem were numbers appear three times each, we can still make use of it.
Suppose that we can isolate one particular bit in each of the numbers in the array. Now we can add values of that bit in all numbers and see whether the result is divisible by 3 or not. This test tells us about the number which appears once, because all other numbers either contribute with value 3 or with value 0. If sum is divisible with 3, then this bit in the number which appears once must be 0; otherwise it must be 1.
We can now proceed towards solving the problem by making modulo 3 sums for each of the bits in numbers in the array. But since summation modulo 3 has greatest value 2, it is obvious that intermediate results cannot be stored in one bit each. One efficient way is to keep intermediate sums in a pair of bits for each bit in the number. Alternative, we could use two integer numbers A and B, such that bits in B represent low-order bits of the modulo 3 sum, while bits in A represent high-order bits of the modulo 3 sum.
The operation then proceeds by analyzing what bitwise operations should be applied so that digits in base 3 represented by bits of A and B really resemble modulo 3 addition results. Suppose that A and B are just one bit long. In that case, when digit K (0 or 1) is added to two-bit number AB, the result of modulo 3 addition operation is given in the following table:
Values X in the output indicates values that are not important because inputs can never be reached in normal operation – namely, intermediate result can never be 11 (binary), which is 3 decimal because we are performing modulo 3 addition. To extract closed form functions for new A and B, we will use Karnaugh maps.
These expressions will give us the way to combine bits from all numbers in the array. Finally, each bit in the result which corresponds to AB=00 will be zero, otherwise 1. So, resulting number is just A OR B. Below is the pseudocode which implements this algorithm. Note that all Boolean operations in the code are bitwise operations.
function FindUniqueNumber(v, n) -- v – array of integers -- n – number of elements in a begin a = b = 0 for i = 1, n begin a’ = (a AND NOT v[i]) OR (b AND v[i]) b = (b AND NOT v[i]) OR (NOT a AND NOT b AND v[i]) a = a’ end return a OR b end
Quite an astonishing piece of code when you know how complicated it is to find which number appears exactly once.
Below is the C# console application which lets the user enter array of integers and then prints the number which appears once in the array.
using System; class Program { static int FindUniqueNumber(int[] array) { int a = 0; int b = 0; for (int i = 0; i < array.Length; i++) { int a1 = (a & ~array[i]) | (b & array[i]); b = (b & ~array[i]) | (~a & ~b & array[i]); a = a1; } return a | b; } static void Main() { while (true) { int[] a = ReadArray(); if (a.Length == 0) break; int unique = FindUniqueNumber(a); Console.WriteLine("Number appearing once is {0}.", unique); Console.WriteLine(); } } static int[] ReadArray() { Console.WriteLine("Enter array (ENTER to quit):"); string line = Console.ReadLine(); string[] parts = line.Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries); int[] a = new int[parts.Length]; for (int i = 0; i < a.Length; i++) a[i] = int.Parse(parts[i]); return a; } }
When application above is run, it produces output like this:
Enter array (ENTER to quit): 2 4 5 1 1 4 1 2 3 5 5 4 2 Number appearing once is 3. Enter array (ENTER to quit): 3 8 5 6 2 8 6 4 7 9 7 6 5 9 1 5 9 4 3 3 1 1 7 8 4 Number appearing once is 2. Enter array .
|
http://codinghelmet.com/exercises/number-appearing-once-in-array-of-numbers-appearing-three-times
|
CC-MAIN-2019-04
|
en
|
refinedweb
|
I have been reading up on the Sound API for Java for a couple of days I am unable to make sense of it. I am decent programmer, I just having difficulty getting my head around the API.
I have been trying to capture audio from my microphone and display a wave graph in real time.
I am having trouble capturing audio, they say in the tutorial to do this, but I cant seem to get it to work.
Any suggestions and help would be much appreciated, a line by line answer would be ideal.
Please and thank you.
import javax.sound.sampled.AudioFormat; import javax.sound.sampled.AudioSystem; import javax.sound.sampled.DataLine; import javax.sound.sampled.LineUnavailableException; import javax.sound.sampled.TargetDataLine; public class FindLine { public static void main (String[] args){ AudioFormat format = new AudioFormat(22000,16,2,true,true); ... } } }
How to capture sound from microphone with java sound API?
The tutorial does not cover how to select microphone. I am enumerating mixers with the following code System.out.println(Searching for
Input level monitoring with Java Sound API
I would like to monitor the microphone input level from Java Sound API (and create a small input level meter UI). I’m not interested in capturing only to see if the device is ready/working. Any idea i
Java Sound API: Capturing sound output from a Target Port
I’m writing a simple piece of software that streams audio over LAN. I have all of the network parts implemented, but what I’m stumbling on is using the Java Sound API. I have successfully captured aud
API for capturing sound on Windows
I need a C++ API to enumerate input devices and capture sound for Windows Vista, Windows 7 and Windows 8. If there is no common API I can use OS specific API for different versions of Windows. I found
actionscript sound capturing
I wrote something to capture sound from my microphone. I can visualise the sound data with SoundMixer.computeSpectrum. My problem: is there a way to mute the sound and still get sound data from SoundM
Graphic sound analyzer of microphone
I am building on an app which has a function which records the sound which comes in the microphone. It would be handy to give a graphical view of the incoming sound, like
Some Questions About the Java Sound API
I’m relatively new here and to the usage of Java’s Sound API and audio programming altogether. I have been wondering if it’s possible to do the following things with Java’s Sound API: extract the val
Java Sound API Initialization
I use the following code to play back sound in my game. import javax.sound.sampled.AudioSystem; import javax.sound.sampled.Clip; import javax.sound.sampled.AudioFormat; import javax.sound.sampled.Audi
Realtime microphone sound level monitoring
I’m trying to access sound volume data from the microphone in realtime. I’ve tried AVAudioPlayer but it only monitors sounds from a source like an mp3 and not from a microphone. I’ve also tried The Sp
Java Sound refresh Lines list after attaching a microphone
I have a simple capture/playback Swing app that has to detect if there is no appropriate microphone attached to the computer and warn the user. After a lot of fiddling around I have found the only sol
Answers
This will get you the default one set by your OS.
AudioFormat format = new AudioFormat(8000.0f, 16, 1, true, true); TargetDataLine microphone = AudioSystem.getTargetDataLine(format);
To select a particular input device (TargetDataLine) it is better to enumerate the mixers and filter the name of the Mixer you want.
Mixer.Info[] mixerInfos = AudioSystem.getMixerInfo(); for (Mixer.Info info: mixerInfos){ Mixer m = AudioSystem.getMixer(info); Line.Info[] lineInfos = m.getSourceLineInfo(); for (Line.Info lineInfo:lineInfos){ System.out.println (info.getName()+"---"+lineInfo); Line line = m.getLine(lineInfo); System.out.println("/t-----"+line); } lineInfos = m.getTargetLineInfo(); for (Line.Info lineInfo:lineInfos){ System.out.println (m+"---"+lineInfo); Line line = m.getLine(lineInfo); System.out.println("/t-----"+line); } }
|
http://w3cgeek.com/java-sound-api-capturing-microphone.html
|
CC-MAIN-2019-04
|
en
|
refinedweb
|
Posted 27 May 2009
Link to this post
Posted 28 May 2009
Link to this post
Hello Matt,
The AppointmentTooltip type is not some embedded in the dll type - it is actually the user control which is loaded in the tooltip. In order to use it you should have the same namespaces and you load it as you do with every standard user control you define believe that examining the full source code will give you a better understanding on the demo scenario. In case you need further assistance, do not hesitate to contact us again.
All the best,
Posted 17 Oct 2009
Link to this post
I had this problem and the critical piece is to register the control in the aspx page as shown below even though the control is only used in the code-behind.
<%
<%
@ Register Src="~/Controls/QuestionIntent.ascx" TagName="QuestionIntent" TagPrefix="uc
|
http://www.telerik.com/forums/type-appointmenttooltip-is-not-defined
|
CC-MAIN-2016-44
|
en
|
refinedweb
|
/* system.h Header file for system dependent stuff in the Taylor UUCP package. This file is not itself system dependent.. */ #ifndef SYSTEM_H #define SYSTEM_H #if ANSI_C /* These structures are used in prototypes but are not defined in this header file. */ struct tm; struct uuconf_system; struct uuconf_port; struct sconnection; struct sstatus; struct scmd; #endif /* Any function which returns an error should also report an error message, unless otherwise indicated. Any function that returns a char *, rather than a const char *, is returning a pointer to a buffer allocated by zbufalc which must be freed using ubuffree, unless otherwise indicated. */ /* The maximum length of a remote system name. */ extern size_t cSysdep_max_name_len; /* Initialize. If something goes wrong, this routine should just exit. The flag argument is 0, or a combination of any of the following flags. */ /* This program needs to know the current working directory. This is used because on Unix it can be expensive to determine the current working directory (some versions of getcwd fork a process), but in most cases we don't need to know it. However, we are going to chdir to the spool directory (unless INIT_CHDIR is set), so we have to get the cwd now if we are ever going to get it. Both uucp and uux use the function fsysdep_needs_cwd to determine whether they will need the current working directory, and pass the argument to usysdep_initialize appropriately. There's probably a cleaner way to handle this, but this will suffice for now. */ #define INIT_GETCWD (01) /* This program should not chdir to the spool directory. This may only make sense on Unix. It is set by cu. */ #define INIT_NOCHDIR (02) /* This program needs special access to the spool directories. That means, on Unix, this program is normally installed setuid. */ #define INIT_SUID (04) /* Do not close all open descriptors. This is not used by the UUCP code, but it is used by other programs which share some of the system dependent libraries. */ #define INIT_NOCLOSE (010) extern void usysdep_initialize P((pointer puuconf, int iflags)); /* Exit the program. The fsuccess argument indicates whether to return an indication of success or failure to the outer environment. This routine should not return. */ extern void usysdep_exit P((boolean fsuccess)); /* Called when a non-standard configuration file is being used, to avoid handing out privileged access. If it returns FALSE, default configuration file will be used. This is called before the usysdep_initialize function is called. */ extern boolean fsysdep_other_config P((const char *)); /* Detach from the controlling terminal. This probably only makes sense on Unix. It is called by uucico to try to get the modem port as a controlling terminal. It is also called by uucico before it starts up uuxqt, so that uuxqt will be a complete daemon. */ extern void usysdep_detach P((void)); /* Get the local node name if it is not specified in the configuration files. Returns NULL on error; otherwise the return value should point to a static buffer. */ extern const char *zsysdep_localname P((void)); /* Get the login name. This is used when uucico is started up with no arguments in slave mode, which causes it to assume that somebody has logged in. It also used by uucp and uux for recording the user name. This may not return NULL. The return value should point to a static buffer. */ extern const char *zsysdep_login_name P((void)); /* Set a signal handler for a signal. If the signal occurs, the appropriate element of afSignal should be set to the signal number (see the declaration of afSignal in uucp.h). This routine might be able to just use signal, but Unix requires more complex handling. This is called before usysdep_initialize. */ extern void usysdep_signal P((int isig)); /* Catch a signal. This is actually defined as a macro in the system dependent header file, and the prototype here just indicates how it should be called. It is called before a routine which must exit if a signal occurs, and is expected to set do a setjmp (which is why it must be a macro). It is actually only called in one place in the system independent code, before the call to read stdin in uux. This is needed to handle 4.2 BSD restartable system calls, which require a longjmp. On systems which don't need to do setjmp/longjmp around system calls, this can be redefined in sysdep.h to TRUE. It should return TRUE if the routine should proceed, or FALSE if a signal occurred. After having this return TRUE, usysdep_start_catch should be used to start catching the signal; this basically tells the signal handler that it's OK to do the longjmp, if fsysdep_catch did not already do so. */ #ifndef fsysdep_catch extern boolean fsysdep_catch P((void)); #endif /* Start catching a signal. This is called after fsysdep_catch to tell the signal handler to go ahead and do the longjmp. This may be implemented as a macro in sysdep.h. */ #ifndef usysdep_start_catch extern void usysdep_start_catch P((void)); #endif /* Stop catching a signal. This is called when it is no longer necessary for fsysdep_catch to handle signals. This may be implemented as a macro in sysdep.h. */ #ifndef usysdep_end_catch extern void usysdep_end_catch P((void)); #endif /* Link two files. On Unix this should attempt the link. If it succeeds it should return TRUE with *pfworked set to TRUE. If the link fails because it must go across a device, it should return TRUE with *pfworked set to FALSE. If the link fails for some other reason, it should log an error message and return FALSE. On a system which does not support links to files, this should just return TRUE with *pfworked set to FALSE. */ extern boolean fsysdep_link P((const char *zfrom, const char *zto, boolean *pfworked)); /* Get the port name. This is used when uucico is started up in slave mode to figure out which port was used to call in so that it can determine any appropriate protocol parameters. This may return NULL if the port cannot be determined, which will just mean that no protocol parameters are applied. The name returned should be the sort of name that would appear in the port file. This should set *pftcp_port to TRUE if it can determine that the port is a TCP connection rather than a normal serial port. The return value (if not NULL) should point to a static buffer. */ extern const char *zsysdep_port_name P((boolean *pftcp_port)); /* Expand a file name on the local system. On Unix, if the zfile argument begins with ~user/ it goes in that users home directory, and if it begins with ~/ it goes in the public directory (the public directory is passed to this routine, since each system may have its own public directory). Similar conventions may be desirable on other systems. This should always return an absolute path name, probably in the public directory. It should return NULL on error; otherwise the return value should be allocated using zbufcpy or zbufalc. If pfbadname is not NULL, then if the function returns NULL *pfbadname should be set to TRUE if the error is just that the file name is badly specified; *pfbadname should be set to FALSE for some sort of internal error. */ extern char *zsysdep_local_file P((const char *zname, const char *zpubdir, boolean *pfbadname)); /* Return whether a file name is in a directory, and check for read or write access. This should check whether zfile is within zdir (or is zdir itself). If it is not, it should return FALSE. If zfile is in zdir, then fcheck indicates whether further checking should be done. If fcheck is FALSE, no further checking is done. Otherwise, if freadable is TRUE the user zuser should have search access to all directories from zdir down to zfile and should have read access on zfile itself (if zfile does not exist, or is not a regular file, this function may return FALSE but does not have to). If freadable is FALSE, the user zuser should have search access to all directories from zdir down to zfile and should have write access on zfile (which may be a directory, or may not actually exist, which is acceptable). The zuser argument may be NULL, in which case the check should be made for any user, not just zuser. There is no way for this function to return error. */ extern boolean fsysdep_in_directory P((const char *zfile, const char *zdir, boolean fcheck, boolean freadable, const char *zuser)); /* Return TRUE if a file exists, FALSE otherwise. There is no way to return error. */ extern boolean fsysdep_file_exists P((const char *zfile)); /* Start up a program. If the ffork argument is true, this should spawn a new process and return. If the ffork argument is false, this may either return or not. The three string arguments may be catenated together to form the program to execute; I did it this way to make it easy to call execl(2), and because I never needed more than two arguments. The program will always be "uucico" or "uuxqt". The return value should be TRUE on success, FALSE on error. */ extern boolean fsysdep_run P((boolean ffork, const char *zprogram, const char *zarg1, const char *zarg2)); /* Send a mail message. This function will be passed an array of strings. All necessary newlines are already included; the strings should simply be concatenated together to form the mail message. It should return FALSE on error, although the return value is often ignored. */ extern boolean fsysdep_mail P((const char *zto, const char *zsubject, int cstrs, const char **paz)); /* Get the time in seconds since some epoch. The actual epoch is unimportant, so long as the time values are consistent across program executions and the value is never negative. If the pimicros argument is not NULL, it should be set to the number of microseconds (if this is not available, *pimicros should be set to zero). */ extern long ixsysdep_time P((long *pimicros)); /* Get the time in seconds and microseconds (millionths of a second) since some epoch. The actual epoch is not important, and it may change in between program invocations; this is provided because on Unix the times function may be used. If microseconds can not be determined, *pimicros can just be set to zero. */ extern long ixsysdep_process_time P((long *pimicros)); /* Parse the value returned by ixsysdep_time into a struct tm. I assume that this structure is defined in <time.h>. This is basically just localtime, except that the ANSI function takes a time_t which may not be what is returned by ixsysdep_time. */ extern void usysdep_localtime P((long itime, struct tm *q)); /* Sleep for a number of seconds. */ extern void usysdep_sleep P((int cseconds)); /* Pause for half a second, or 1 second if subsecond sleeps are not possible. */ extern void usysdep_pause P((void)); /* Lock a remote system. This should return FALSE if the system is already locked (no error should be reported). */ extern boolean fsysdep_lock_system P((const struct uuconf_system *qsys)); /* Unlock a remote system. This should return FALSE on error (although the return value is generally ignored). */ extern boolean fsysdep_unlock_system P((const struct uuconf_system *qsys)); /* Get the conversation sequence number for a remote system, and increment it for next time. This should return -1 on error. */ extern long ixsysdep_get_sequence P((const struct uuconf_system *qsys)); /* Get the status of a remote system. This should return FALSE on error. Otherwise it should set *qret to the status. If no status information is available, this should set *qret to sensible values and return TRUE. If pfnone is not NULL, then it should be set to TRUE if no status information was available or FALSE otherwise. */ extern boolean fsysdep_get_status P((const struct uuconf_system *qsys, struct sstatus *qret, boolean *pfnone)); /* Set the status of a remote system. This should return FALSE on error. The system will be locked before this call is made. */ extern boolean fsysdep_set_status P((const struct uuconf_system *qsys, const struct sstatus *qset)); /* See whether a remote system is permitted to log in. This is just to support the remote.unknown shell script for HDB. The zscript argument is the script name, as return by uuconf_remote_unknown. The zsystem argument is the name given by the remote system. If the system is not permitted to log in, this function should log an error and return FALSE. */ extern boolean fsysdep_unknown_caller P((const char *zscript, const char *zsystem)); /* Check whether there is work for a remote system. It should return TRUE if there is work, FALSE otherwise; there is no way to indicate an error. */ extern boolean fsysdep_has_work P((const struct uuconf_system *qsys)); /* Initialize the work scan. This will be called before fsysdep_get_work. The bgrade argument is the minimum grade of execution files that should be considered (e.g. a bgrade of 'd' will allow all grades from 'A' to 'Z' and 'a' to 'd'). The cmax argument is the maximum number of items to return in calls to fsysdep_get_work; a value of 0 means there is no limit. This function should return FALSE on error. */ extern boolean fsysdep_get_work_init P((const struct uuconf_system *qsys, int bgrade, unsigned int cmax)); /* Get the next command to be executed for a remote system. The bgrade and cmax arguments will be the same as for fsysdep_get_work_init; probably only one of these functions will use them, namely the function for which it is more convenient. This should return FALSE on error. The structure pointed to by qcmd should be filled in. The strings may point into a static buffer; they will be copied out if necessary. If there is no more work, this should set qcmd->bcmd to 'H' and return TRUE. This should set qcmd->pseq to something which can be passed to fsysdep_did_work to remove the job from the queue when it has been completed. This may set qcmd->bcmd to 'P' to represent a poll file; the main code will just pass the pseq element of such a structure to fsysdep_did_work if the system is called. */ extern boolean fsysdep_get_work P((const struct uuconf_system *qsys, int bgrade, unsigned int cmax, struct scmd *qcmd)); /* Remove a job from the work queue. This must also remove the temporary file used for a send command, if there is one. It should return FALSE on error. */ extern boolean fsysdep_did_work P((pointer pseq)); /* Save the temporary file for a send command. This function should return a string that will be put into a mail message. On success this string should say something like ``The file has been saved as ...''. On failure it could say something like ``The file could not be saved because ...''. If there is no temporary file, or for some reason it's not appropriate to include a message, this function should just return NULL. This function is used when a file send fails for some reason, to make sure that we don't completely lost the file. */ extern const char *zsysdep_save_temp_file P((pointer pseq)); /* Save a file in a location used to hold corrupt files. This is called if a bad execution file is found by uuxqt. This should return the new name of the file (allocated by zbufalc), or NULL if the move failed (in which the original file should remain). */ extern char *zsysdep_save_corrupt_file P((const char *zfile)); /* Save a file in a location used to hold failed execution files. This is called if a uuxqt execution fails. This should return the new name of the file (allocated by zbufalc), or NULL if the move failed (in which case the original file should remain). */ extern char *zsysdep_save_failed_file P((const char *zfile)); /* Cleanup anything left over by fsysdep_get_work_init and fsysdep_get_work. This may be called even though fsysdep_get_work_init has not been. */ extern void usysdep_get_work_free P((const struct uuconf_system *qsys)); /* Add a base name to a file if it is a directory. If zfile names a directory, then return a string naming a file within the directory with the base file name of zname. This should return NULL on error. */ extern char *zsysdep_add_base P((const char *zfile, const char *zname)); /* Get a file name from the spool directory. This should return NULL on error. The pseq argument is TRUE if the file was found from searching the work directory; this is, unfortunately, needed to support SVR4 spool directories. */ extern char *zsysdep_spool_file_name P((const struct uuconf_system *qsys, const char *zfile, pointer pseq)); /* Make necessary directories. This should create all non-existent directories for a file. If the fpublic argument is TRUE, anybody should be permitted to create and remove files in the directory; otherwise anybody can list the directory, but only the UUCP system can create and remove files. It should return FALSE on error. */ extern boolean fsysdep_make_dirs P((const char *zfile, boolean fpublic)); /* Create a stdio file, setting appropriate protection. If the fpublic argument is TRUE, the file is made publically accessible; otherwise it is treated as a private data file. If the fappend argument is TRUE, the file is opened in append mode; otherwise any previously existing file of the same name is removed. If the fmkdirs argument is TRUE, then any necessary directories should also be created. On a system in which file protections are unimportant and the necessary directories exist, this may be implemented as fopen (zfile, fappend ? "a" : "w"); */ extern FILE *esysdep_fopen P((const char *zfile, boolean fpublic, boolean fappend, boolean fmkdirs)); /* Open a file, using the access permission of the user who invoked the program. The frd argument is TRUE if the file should be opened for reading, and the fbinary argument is TRUE if the file should be opened as a binary file (this is ignored on Unix, since there all files are binary files). This returns an openfile_t, not a FILE *. This is supposed to be able to open a file even if it can not be read by the uucp user. This is not possible on some older Unix systems. */ extern openfile_t esysdep_user_fopen P((const char *zfile, boolean frd, boolean fbinary)); /* Open a file to send to another system; the qsys argument is the system the file is being sent to. If fcheck is TRUE, it should make sure that the file is readable by zuser (if zuser is NULL the file must be readable by anybody). This is to eliminate a window between fsysdep_in_directory and esysdep_open_send. If an error occurs, it should return EFILECLOSED. */ extern openfile_t esysdep_open_send P((const struct uuconf_system *qsys, const char *zname, boolean fcheck, const char *zuser)); /* Return a temporary file name to receive into. This file will be opened by esysdep_open_receive. The qsys argument is the system the file is coming from, the zto argument is the name the file will have after it has been fully received, the ztemp argument, if it is not NULL, is from the command sent by the remote system, and the frestart argument is TRUE if the protocol and remote system permit file transfers to be restarted. The return value must be freed using ubuffree. The function should return NULL on error. */ extern char *zsysdep_receive_temp P((const struct uuconf_system *qsys, const char *zfile, const char *ztemp, boolean frestart)); /* Open a file to receive from another system. The zreceive argument is the return value of zsysdep_receive_temp with the same qsys, zfile and ztemp arguments. If the function can determine that this file has already been partially received, it should set *pcrestart to the number of bytes that have been received. If the file has not been partially received, *pcrestart should be set to -1. pcrestart will be passed in as NULL if file restart is not supported by the protocol or the remote system. The function should return EFILECLOSED on error. After the file is written, fsysdep_move_file will be called to move the file to its final destination, and to set the correct file mode. */ extern openfile_t esysdep_open_receive P((const struct uuconf_system *qsys, const char *zto, const char *ztemp, const char *zreceive, long *pcrestart)); /* Move a file. This is used to move a received file to its final location. The zto argument is the file to create. The zorig argument is the name of the file to move. If fmkdirs is TRUE, then any necessary directories are created; fpublic indicates whether they should be publically writeable or not. If fcheck is TRUE, this should make sure the directory is writeable by the user zuser (if zuser is NULL, then it must be writeable by any user); this is to avoid a window of vulnerability between fsysdep_in_directory and fsysdep_move_file. This function should return FALSE on error, in which case the zorig file should still exist. */ extern boolean fsysdep_move_file P((const char *zorig, const char *zto, boolean fmkdirs, boolean fpublic, boolean fcheck, const char *zuser)); /* Change the mode of a file. The imode argument is a Unix mode. This should return FALSE on error. */ extern boolean fsysdep_change_mode P((const char *zfile, unsigned int imode)); /* Truncate a file which we are receiving into. This may be done by closing the original file, removing it and reopening it. This should return FALSE on error. */ extern openfile_t esysdep_truncate P((openfile_t e, const char *zname)); /* Sync a file to disk. If this fails it should log an error using the zmsg parameter, and return FALSE. This is controlled by the FSYNC_ON_CLOSE macro in policy.h. */ extern boolean fsysdep_sync P((openfile_t e, const char *zmsg)); /* It is possible for the acknowledgement of a received file to be lost. The sending system will then now know that the file was correctly received, and will send it again. This can be a problem particularly with protocols which support channels, since they may send several small files in a single window, all of which may be received correctly although the sending system never sees the acknowledgement. If these files involve an execution, the execution will happen twice, which will be bad. This function is called when a file is completely received. It is supposed to try and remember the reception, in case the connection is lost. It is passed the system, the file name to receive to, and the temporary file name from the sending system. It should return FALSE on error. */ extern boolean fsysdep_remember_reception P((const struct uuconf_system *qsys, const char *zto, const char *ztemp)); /* This function is called to see if a file has already been received successfully. It gets the same arguments as fsysdep_remember_reception. It should return TRUE if the file was already received, FALSE otherwise. There is no way to report error. */ extern boolean fsysdep_already_received P((const struct uuconf_system *qsys, const char *zto, const char *ztemp)); /* This function is called when it is no longer necessary to remember that a file has been received. This will be called when the protocol knows that the receive message has been acknowledged. It gets the same arguments as fsysdep_remember_reception. it should return FALSE on error. */ extern boolean fsysdep_forget_reception P((const struct uuconf_system *qsys, const char *zto, const char *ztemp)); /* Start expanding a wildcarded file name. This should return FALSE on error; otherwise subsequent calls to zsysdep_wildcard should return file names. */ extern boolean fsysdep_wildcard_start P((const char *zfile)); /* Get the next wildcard name. This should return NULL when there are no more names to return. The return value should be freed using ubuffree. The argument should be the same as that to fsysdep_wildcard_start. There is no way to return error. */ extern char *zsysdep_wildcard P((const char *zfile)); /* Finish getting wildcard names. This may be called before or after zsysdep_wildcard has returned NULL. It should return FALSE on error. */ extern boolean fsysdep_wildcard_end P((void)); /* Prepare to execute a bunch of file transfer requests. This should make an entry in the spool directory so that the next time uucico is started up it will transfer these files. The bgrade argument specifies the grade of the commands. The commands themselves are in the pascmds array, which has ccmds entries. The function should return NULL on error, or the jobid on success. The jobid is a string that may be printed or passed to fsysdep_kill_job and related functions, but is otherwise uninterpreted. If pftemp is not NULL, then on an error return, *pftemp will be TRUE for a temporary error, FALSE for a permanent error. */ extern char *zsysdep_spool_commands P((const struct uuconf_system *qsys, int bgrade, int ccmds, const struct scmd *pascmds, boolean *pftemp)); /* Get a file name to use for a data file to be copied to another system. The ztname, zdname and zxname arguments will all either be NULL or point to an array of CFILE_NAME_LEN characters in length. The ztname array should be set to a temporary file name that could be passed to zsysdep_spool_file_name to retrieve the return value of this function; this will be appropriate for the temporary name in a send request. The zdname array should be set to a data file name that is appropriate for the spool directory of the other system; this will be appropriate for the name of the destination file in a send request of a data file for an execution of some sort. The zxname array should be set to an execute file name that is appropriate for the other system. The zlocalname argument is the name of the local system as seen by the remote system, the bgrade argument is the grade, and fxqt is TRUE if this file is going to become an execution file. This should return NULL on error. */ #define CFILE_NAME_LEN (15) extern char *zsysdep_data_file_name P((const struct uuconf_system *qsys, const char *zlocalname, int bgrade, boolean fxqt, char *ztname, char *zdname, char *zxname)); /* Get a name for a local execute file. This is used by uux for a local command with remote files. Returns NULL on error. */ extern char *zsysdep_xqt_file_name P((void)); /* Beginning getting execute files. To get a list of execute files, first fsysdep_get_xqt_init is called, then zsysdep_get_xqt is called several times until it returns NULL, then finally usysdep_get_xqt_free is called. If the zsystem argument is not NULL, it is the name of a system for which execution files are desired. */ extern boolean fsysdep_get_xqt_init P((const char *zsystem)); /* Get the next execute file. This should return NULL when finished (with *pferr set to FALSE). The zsystem argument should be the same string as that passed to fsysdep_get_xqt_init. On an error this should return NULL with *pferr set to TRUE. This should set *pzsystem to the name of the system for which the execute file was created; this is not guaranteed to match the zsystem argument--that must be double checked by the caller. Both the return value and *pzsystem should be freed using ubuffree. */ extern char *zsysdep_get_xqt P((const char *zsystem, char **pzsystem, boolean *pferr)); /* Clean up after getting execute files. The zsystem argument should be the same string as that passed to fsysdep_get_xqt_init. */ extern void usysdep_get_xqt_free P((const char *zsystem)); /* Get the absolute pathname of a command to execute. This is given the legal list of commands (which may be the special case "ALL") and the path. It must return an absolute pathname to the command. If it gets an error it should set *pferr to TRUE and return NULL; if the command is not found it should set *pferr to FALSE and return NULL. */ extern char *zsysdep_find_command P((const char *zcmd, char **pzcmds, char **pzpath, boolean *pferr)); /* Expand file names for uuxqt. This exists because uuxqt on Unix has to expand file names which begin with a ~. It does not want to expand any other type of file name, and it turns a double ~ into a single one without expanding. If this returns NULL, the file does not need to be changed; otherwise it returns a zbufalc'ed string. There is no way to report error. */ extern char *zsysdep_xqt_local_file P((const struct uuconf_system *qsys, const char *zfile)); #if ! ALLOW_FILENAME_ARGUMENTS /* Check an argument to an execution command to make sure that it doesn't refer to a file name that may not be accessed. This should check the argument to see if it is a filename. If it is, it should either reject it out of hand or it should call fin_directory_list on the file with both qsys->zremote_receive and qsys->zremote_send. If the file is rejected, it should log an error and return FALSE. Otherwise it should return TRUE. */ extern boolean fsysdep_xqt_check_file P((const struct uuconf_system *qsys, const char *zfile)); #endif /* ! ALLOW_FILENAME_ARGUMENTS */ /* Run an execute file. The arguments are: qsys -- system for which execute file was created zuser -- user who requested execution pazargs -- list of arguments to command (element 0 is command) zfullcmd -- command and arguments stuck together in one string zinput -- file name for standard input (may be NULL) zoutput -- file name for standard output (may be NULL) fshell -- if TRUE, use /bin/sh to execute file ilock -- return value of ixsysdep_lock_uuxqt pzerror -- set to name of standard error file pftemp -- set to TRUE if error is temporary, FALSE otherwise If fshell is TRUE, the command should be executed with /bin/sh (obviously, this can only really be done on Unix systems). If an error occurs this should return FALSE and set *pftemp appropriately. *pzerror should be freed using ubuffree. */ extern boolean fsysdep_execute P((const struct uuconf_system *qsys, const char *zuser, const char **pazargs, const char *zfullcmd, const char *zinput, const char *zoutput, const char *zchdir, boolean fshell, int ilock, char **pzerror, boolean *pftemp)); /* Lock for uuxqt execution. If the cmaxuuxqts argument is not zero, this should make sure that no more than cmaxuuxqts uuxqt processes are running at once. Also, only one uuxqt may execute a particular command (specified by the -c option) at a time. If zcmd is not NULL, it is a command that must be locked. This should return a nonnegative number which will be passed to other routines, including fsysdep_unlock_uuxqt, or -1 on error. */ extern int ixsysdep_lock_uuxqt P((const char *zcmd, int cmaxuuxqts)); /* Unlock a uuxqt process. This is passed the return value of ixsysdep_lock_uuxqt, as well as the arguments passed to ixsysdep_lock_uuxqt. It may return FALSE on error, but at present the return value is ignored. */ extern boolean fsysdep_unlock_uuxqt P((int iseq, const char *zcmd, int cmaxuuxqts)); /* See whether a particular uuxqt command is locked. This should return TRUE if the command is locked (because ixsysdep_lock_uuxqt was called with it as an argument), FALSE otherwise. There is no way to return error. */ extern boolean fsysdep_uuxqt_locked P((const char *zcmd)); /* Lock an execute file in order to execute it. This should return FALSE if the execute file is already locked. There is no way to return error. */ extern boolean fsysdep_lock_uuxqt_file P((const char *zfile)); /* Unlock an execute file. This should return FALSE on error. */ extern boolean fsysdep_unlock_uuxqt_file P((const char *zfile)); /* Lock the execution directory. The ilock argument is the return value of ixsysdep_lock_uuxqt. This should return FALSE if the directory is already locked. There is no way to return error. */ extern boolean fsysdep_lock_uuxqt_dir P((int ilock)); /* Remove all files in the execution directory, and unlock it. This should return FALSE on error. */ extern boolean fsysdep_unlock_uuxqt_dir P((int ilock)); /* Copy files into the execution directory indicated by ilock. The code will already have checked that all the files exist. The copying may be done using the link system call. The elements in the pzfrom array will be complete filenames. The elements in the pzto array will be either NULL (in which case the file should not be copied) or simple base names. If pzinput and *pzinput are not NULL, then *pzinput is the name of the standard input file; if it is the same as any element of pzfrom, then *pzinput will be set to the zbufcpy of the full path for the corresponding pzto value, if any. */ extern boolean fsysdep_copy_uuxqt_files P((int cfiles, const char *const *pzfrom, const char *const *pzto, int ilock, char **pzinput)); /* Expand a file name on the local system, defaulting to the current directory. This is just like zsysdep_local_file, except that relative files are placed in the working directory the program started in rather than in the public directory. This should return NULL on error. */ extern char *zsysdep_local_file_cwd P((const char *zname, const char *zpubdir, boolean *pfbadname)); /* Add the working directory to a file name. The named file is actually on a remote system. If the file already has a directory, it should not be changed. This should return NULL on error. */ extern char *zsysdep_add_cwd P((const char *zfile)); /* See whether a file name will need the current working directory when zsysdep_local_file_cwd or zsysdep_add_cwd is called on it. This will be called before usysdep_initialize. It should just check whether the argument is an absolute path. See the comment above usysdep_initialize in this file for an explanation of why things are done this way. */ extern boolean fsysdep_needs_cwd P((const char *zfile)); /* Get the base name of a file. The file will be a local file name, and this function should return the base file name, ideally in a form which will make sense on most systems; it will be used if the destination of a uucp is a directory. */ extern char *zsysdep_base_name P((const char *zfile)); /* Return a filename within a directory. */ extern char *zsysdep_in_dir P((const char *zdir, const char *zfile)); /* Get the mode of a file. This should return a Unix style file mode. It should return 0 on error. */ extern unsigned int ixsysdep_file_mode P((const char *zfile)); /* Get the mode of a file using the permissions of the user who invoked the program. This should return a Unix style file mode. It should return 0 on error. */ extern unsigned int ixsysdep_user_file_mode P((const char *zfile)); /* See whether the user has access to a file. This is called by uucp and uux to prevent copying of a file which uucp can read but the user cannot. If access is denied, this should log an error message and return FALSE. */ extern boolean fsysdep_access P((const char *zfile)); /* See whether the daemon has access to a file. This is called by uucp and uux when a file is queued up for transfer without being copied into the spool directory. It is merely an early error check, as the daemon would of course discover the error itself when it tried the transfer. If access would be denied, this should log an error message and return FALSE. */ extern boolean fsysdep_daemon_access P((const char *zfile)); /* Translate a destination from system!user to a place in the public directory where uupick will get the file. On Unix this produces system!~/receive/user/localname, and that's probably what it has to produce on any other system as well. Returns NULL on a usage error, or otherwise returns string allocated by zbufcpy. */ extern char *zsysdep_uuto P((const char *zdest, const char *zlocalname)); /* Return TRUE if a pathname exists and is a directory. */ extern boolean fsysdep_directory P((const char *zpath)); /* Walk a directory tree. The zdir argument is the directory to walk. The pufn argument is a function to call on each regular file in the tree. The first argument to pufn should be the full filename; the second argument to pufn should be the filename relative to zdir; the third argument to pufn should be the pinfo argument to usysdep_walk_tree. The usysdep_walk_tree function should return FALSE on error. */ extern boolean usysdep_walk_tree P((const char *zdir, void (*pufn) P((const char *zfull, const char *zrelative, pointer pinfo)), pointer pinfo)); /* Return the jobid of a work file, given the sequence value. On error this should log an error and return NULL. The jobid is a string which may be printed out and read in and passed to fsysdep_kill_job, etc., but is not otherwise interpreted. */ extern char *zsysdep_jobid P((const struct uuconf_system *qsys, pointer pseq)); /* See whether the current user is privileged. Privileged users are permitted to kill jobs submitted by another user, and they are permitted to use the -u argument to uucico; other uses of this call may be added later. This should return TRUE if permission is granted, FALSE otherwise. */ extern boolean fsysdep_privileged P((void)); /* Kill a job, given the jobid. This should remove all associated files and in general eliminate the job completely. On error it should log an error message and return FALSE. */ extern boolean fsysdep_kill_job P((pointer puuconf, const char *zjobid)); /* Rejuvenate a job, given the jobid. If possible, this should update the time associated with the job such that it will not be eliminated by uustat -K or similar programs that check the creation time. This should affect the return value of ixsysdep_work_time. On error it should log an error message and return FALSE. */ extern boolean fsysdep_rejuvenate_job P((pointer puuconf, const char *zjobid)); /* Get the time a job was queued, given the sequence number. There is no way to indicate error. The return value must use the same epoch as ixsysdep_time. */ extern long ixsysdep_work_time P((const struct uuconf_system *qsys, pointer pseq)); /* Get the time a file was created. This is called by uustat on execution files. There is no way to indicate error. The return value must use the same epoch as ixsysdep_time. */ extern long ixsysdep_file_time P((const char *zfile)); /* Touch a file to make it appear as though it was created at the current time. This is called by uustat on execution files. On error this should log an error message and return FALSE. */ extern boolean fsysdep_touch_file P((const char *zfile)); /* Get the size in bytes of a file. If this file does not exist, this should not give an error message, but should return -1. If some other error occurs, this should return -2. */ extern long csysdep_size P((const char *zfile)); /* Return the amount of free space on the containing the given file name (the file may or may not exist). If the amount of free space cannot be determined, the function should return -1. */ extern long csysdep_bytes_free P((const char *zfile)); /* Start getting status information for all systems with available status information. There may be status information for unknown systems, which is why this series of functions is used. The phold argument is used to pass information around, to possibly avoid the use of static variables. On error this should log an error and return FALSE. */ extern boolean fsysdep_all_status_init P((pointer *phold)); /* Get status information for the next system. This should return the system name and fill in the qstat argument. The phold argument will be that set by fsysdep_all_status_init. On error this should log an error, set *pferr to TRUE, and return NULL. */ extern char *zsysdep_all_status P((pointer phold, boolean *pferr, struct sstatus *qstat)); /* Free up anything allocated by fsysdep_all_status_init and zsysdep_all_status. The phold argument is that set by fsysdep_all_status_init. */ extern void usysdep_all_status_free P((pointer phold)); /* Display the process status of all processes holding lock files. This is uustat -p. The return value is passed to usysdep_exit. */ extern boolean fsysdep_lock_status P((void)); /* Return TRUE if the user has legitimate access to the port. This is used by cu to control whether the user can open a port directly, rather than merely being able to dial out on it. Opening a port directly allows the modem to be reprogrammed. */ extern boolean fsysdep_port_access P((struct uuconf_port *qport)); /* Return whether the given port could be named by the given line. On Unix, the line argument would be something like "ttyd0", and this function should return TRUE if the named port is "/dev/ttyd0". */ extern boolean fsysdep_port_is_line P((struct uuconf_port *qport, const char *zline)); /* Set the terminal into raw mode. In this mode no input characters should be treated specially, and characters should be made available as they are typed. The original terminal mode should be saved, so that it can be restored by fsysdep_terminal_restore. If flocalecho is TRUE, then local echoing should still be done; otherwise echoing should be disabled. This function returns FALSE on error. */ extern boolean fsysdep_terminal_raw P((boolean flocalecho)); /* Restore the terminal back to the original setting, before fsysdep_terminal_raw was called. Returns FALSE on error. */ extern boolean fsysdep_terminal_restore P((void)); /* Read a line from the terminal. The fsysdep_terminal_raw function will have been called. This should print the zprompt argument (unless it is NULL) and return the line, allocated by zbufcpy, or NULL on error. */ extern char *zsysdep_terminal_line P((const char *zprompt)); /* Write a line to the terminal, ending with a newline. This is basically just puts (zline, stdout), except that the terminal will be in raw mode, so on ASCII Unix systems the line needs to end with \r\n. */ extern boolean fsysdep_terminal_puts P((const char *zline)); /* If faccept is TRUE, permit the user to generate signals from the terminal. If faccept is FALSE, turn signals off again. After fsysdep_terminal_raw is called, signals should be off. Return FALSE on error. */ extern boolean fsysdep_terminal_signals P((boolean faccept)); /* The cu program expects the system dependent code to handle the details of copying data from the communications port to the terminal. This should be set up by fsysdep_cu_init, and done while fsysdep_cu is called. It is permissible to do it on a continual basis (on Unix a subprocess handles it) so long as the copying can be stopped by the fsysdep_cu_copy function. The fsysdep_cu_init function does any system dependent initialization needed for this. */ extern boolean fsysdep_cu_init P((struct sconnection *qconn)); /* Copy all data from the communications port to the terminal, and all data from the terminal to the communications port. Keep this up until the escape character *zCuvar_escape is seen. Set *pbcmd to the character following the escape character; after the escape character, zlocalname should be printed, possibly after a delay. If two escape characters are entered in sequence, this function should send a single escape character to the port, and not return. Returns FALSE on error. */ extern boolean fsysdep_cu P((struct sconnection *qconn, char *pbcmd, const char *zlocalname)); /* If fcopy is TRUE, start copying data from the communications port to the terminal. If fcopy is FALSE, stop copying data. This function may be called several times during a cu session. It should return FALSE on error. */ extern boolean fsysdep_cu_copy P((boolean fcopy)); /* Stop copying data from the communications port to the terminal, and generally clean up after fsysdep_cu_init and fsysdep_cu. Returns FALSE on error. */ extern boolean fsysdep_cu_finish P((void)); /* Run a shell command. If zcmd is NULL, or *zcmd == '\0', just start up a shell. The second argument is one of the following values. This should return FALSE on error. */ enum tshell_cmd { /* Attach stdin and stdout to the terminal. */ SHELL_NORMAL, /* Attach stdout to the communications port, stdin to the terminal. */ SHELL_STDOUT_TO_PORT, /* Attach stdin to the communications port, stdout to the terminal. */ SHELL_STDIN_FROM_PORT, /* Attach both stdin and stdout to the communications port. */ SHELL_STDIO_ON_PORT }; extern boolean fsysdep_shell P((struct sconnection *qconn, const char *zcmd, enum tshell_cmd tcmd)); /* Change directory. If zdir is NULL, or *zdir == '\0', change to the user's home directory. Return FALSE on error. */ extern boolean fsysdep_chdir P((const char *zdir)); /* Suspend the current process. This is only expected to work on Unix versions that support SIGTSTP. In general, people can just shell out. */ extern boolean fsysdep_suspend P((void)); /* Start getting files for uupick. The zsystem argument may be NULL to get files from all systems, or it may specify a particular system. The zpubdir argument is the public directory to use. This returns FALSE on error. */ extern boolean fsysdep_uupick_init P((const char *zsystem, const char *zpubdir)); /* Get the next file for uupick. This returns the basic file name. It sets *pzfull to the full name, and *pzfrom to the name of the system which sent this file over; both should be freed using ubuffree. *pzfull should be passed to ubuffree after it is no longer needed. The zsystem and zpubdir arguments should be the same as the arguments to fsysdep_uupick_init. This returns NULL when all files been returned. */ extern char *zsysdep_uupick P((const char *zsystem, const char *zpubdir, char **pzfrom, char **pzfull)); /* Clean up after getting files for uupick. */ extern boolean fsysdep_uupick_free P((const char *zsystem, const char *zpubdir)); /* Translate a local file name for uupick. On Unix this is just like zsysdep_local_file_cwd except that a file beginning with ~/ is placed in the user's home directory rather than in the public directory. */ extern char *zsysdep_uupick_local_file P((const char *zfile, boolean *pfbadname)); /* Remove a directory and all the files in it. */ extern boolean fsysdep_rmdir P((const char *zdir)); #endif /* ! defined (SYSTEM_H) */
|
http://opensource.apple.com//source/uucp/uucp-11/uucp/system.h
|
CC-MAIN-2016-44
|
en
|
refinedweb
|
?
If the screen says general protection fault it's wasn't a MIPS box :-)
> #define __KERNEL_SYSCALLS__
>
> #include <linux/version.h>
> #ifdef MODULE
> #ifdef MODVERSIONS
> #include <linux/modversions.h>
> #endif
> #include <linux/module.h>
> #else
> #define MOD_INC_USE_COUNT
> #define MOD_DEC_USE_COUNT
> #endif
Ouch. You can replace that all with a single line:
#include <linux/module.h>
> int init_module(void)
[...]
> void cleanup_module(void)
[...]
The use of init_module and cleanup_module is deprecated, use something
like this instead:
#include <linux/init.h>
static int __init foo_init_module(void)
{
return 0;
}
static void __exit foo_cleanup_module(void)
{
}
module_init(foo_init_module);
module_exit(foo_cleanup_module);
> int test_open(void )
> {
> int ifp,bcount;
> mm_segment_t fs;
> char buffer[0x1000];
^^^^^^
And this is the BIG no-no. Never allocate large amounts of data on the
kernel stack which is only 8k which are used for various other stuff
also..
>
> // for file opening temporarily tell the kernel I am not a user for
> // memory management segment access
> fs = get_fs();
> set_fs(KERNEL_DS);
> // open the file with the firmware for uploading
> if (ifp = open( "/etc/hotplug/isl3890.arm", O_RDONLY, 0 ), ifp < 0)
^^^^^^^^^^^^^^^^^^^^^^^^^^
Hard coding file names is generally considered bad design; this topic has
been discussed to death numerous times on linux-kernel. The general
recommendation is to use a special such as /dev/foodevice; the firmware
would then simply be loader by cat bar > //dev/foodevice or similar.
For 2.4.23 (I'm going to merge with 2.4.23-rc1 tonight) and 2.6 the
recommendation is to use CONFIG_FW_LOADER, the new standard interface
for loading firmware.
Ralf
|
https://www.linux-mips.org/archives/linux-mips/2003-11/msg00059.html
|
CC-MAIN-2016-44
|
en
|
refinedweb
|
Hello
I want to connect WCF service ("") with use of c++ and curl.
But i cannot get response from API means i could not connect the service.
I used following code snippet.
/*
* main.cpp
*
* Created on: 06.10.2010
* Author: root
*/
#include <iostream>
#include <curl/curl.h>
using namespace std;
inline static
int WriteToString(char* ptr, size_t size, size_t nmemb, string* str)
{
return str ? str->append(ptr, size * nmemb), size * nmemb : 0;
}
int main(int argc, char **argv) {
string request("<?xml version=\"1.0\" encoding=\"UTF-8\" ?>"
"<s:Envelope xmlns:s=\"\" "
"xmlns:a=\"\" "
"xmlns:xsi=\"\" "
"xmlns:xsd=\"\">"
"<s:Header>"
"<a:Action s:mustUnderstand=\"1\">"
"</a:Action>"
"<a:To s:mustUnderstand=\"1\"></a:To>"
"<
View Complete Post,
Actually i have installed SQL Server 2008 R2 on XP Pro SP3 it works fine after instaling first time but when i restarted my pc SQL Server Service didn't restarted and so i tried to restart that
manuly by clicking start in Sql Server Configuration Manager at that it gave this error "The request failed or the service did not respond in a timely fashion. Consult the event log or other application error logs for details."
I tried to repair it again but it doesent resolved .So i Uninstalled it SQL Server 2008 R2 and all its shared tools and installed it again but nothing changed it again gave me the same problem as in 1st instalation after restating maching.
Any idea! Where i am going wrong?.
i got this thing in Event log of Application
Event 1
"FCB::RemoveAlternateStreamsByHandle(BackupSeek): Operating system error (null) occurred while creating or opening file 'C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\transport.mdf'. Diagnose and correct
the operating system error, and retry the operation."
Event 2
"FCB::RemoveAlte
Hall of Fame Twitter Terms of Service Privacy Policy Contact Us Archives Tell A Friend
|
http://www.dotnetspark.com/links/42690-failed-to-connect-wcf-service-using-c-and.aspx
|
CC-MAIN-2016-44
|
en
|
refinedweb
|
Updated: Please read the new post here.
I’ve been thinking recently about how to provide an ‘add-in’ framework for Suteki Shop. The idea is that you could ‘drop in’ additional functionality without changing the core system. A good example of this would be payment providers, so if I wanted to have a PayPal payment provider I could simply write that as a separate assembly and then simply drop it into the bin directory of the website and it would just work. Suteki Shop is build around the Windsor IoC container, so it is already designed as a collection of components. What I needed was a way for add-in assemblies to be discovered and some mechanism to allow them to register their components in the container.
I found this excellent post by Hammett where he builds a composable website using MEF. I took this as my inspiration and tweaked it so that MEF is only used for the initial assembly discovery and installation.
Here’s a snippet of my Global.asax.cs file:
public class MvcApplication : HttpApplication, IContainerAccessor { ... protected void Application_Start() { HostingEnvironment.RegisterVirtualPathProvider(new AssemblyResourceVirtualPathProvider()); RegisterRoutes(RouteTable.Routes); InitializeWindsor(); InitializeAddins(); }
void InitializeAddins() { using (var mefContainer = new CompositionContainer(new DirectoryCatalog(HttpRuntime.BinDirectory, "*AddIn.dll"))) { var lazyInstallers = mefContainer.GetExports<IAddinInstaller>(); foreach (var lazyInstaller in lazyInstallers) { var installer = lazyInstaller.Value; Container.Install(new CommonComponentInstaller(installer.GetType().Assembly)); installer.DoRegistration(Container); } } } void InitializeWindsor() { container = new WindsorContainer() .Install(new CoreComponentsInstaller()) .Install(new AddinInstaller(Assembly.GetExecutingAssembly())); var controllerFactory = Container.Resolve<IControllerFactory>(); ControllerBuilder.Current.SetControllerFactory(controllerFactory); } static IWindsorContainer container; public IWindsorContainer Container { get { return container; } } }
In the InitializeWindsor method we create a new windsor container and do the registration for the core application, this is standard stuff that I’ve put into every MVC/Monorail based app I’ve written in the last 3 years. The InitializeAddins method is where the MEF magic happens. We create a new directory catalogue and look for any assembly in the bin directory that ends with ‘AddIn.dll’. Each add-in must include an implementation of IAddinInstaller attributed as a MEF export. We then do some common windsor registration with an AddinInstaller and allow the add-in itself to do any additional custom registration by calling its DoRegistration method. Note that we only keep the MEF CompositionContainer long enough to set things up, after that it’s disposed.
Note that we also register a custom virtual path provider ‘AssemblyResourceVirtualPathProvider’ so that we can load views that are embedded in assemblies as resource files rather than from the file system. It’s described in this Code Project article.
Here’s a typical implementation of IAddinInstaller, note the MEF export attributes:
[Export(typeof(IAddinInstaller)), PartCreationPolicy(CreationPolicy.NonShared)] public class Installer : IAddinInstaller { public void DoRegistration(IWindsorContainer container) { // do any additional registration } }
The CommonComponentInstaller does registration for the components that are common for all add-ins. In this case, controllers and INavigation implementations:
public class CommonComponentInstaller : IWindsorInstaller { readonly Assembly assembly; public CommonComponentInstaller(Assembly assembly) { this.assembly = assembly; } public void Install(IWindsorContainer container, IConfigurationStore store) { container.Register( AllTypes .FromAssembly(assembly) .BasedOn<IController>() .WithService.Base() .Configure(c => c.LifeStyle.Transient.Named(c.Implementation.Name.ToLower())), AllTypes .FromAssembly(assembly) .BasedOn<INavigation>() .WithService.Base() .Configure(c => c.LifeStyle.Transient.Named(c.Implementation.Name.ToLower())) ); } }
INavigation is just a simple way to provide an extensible menu. Any add-in that wants to add a menu item simply implements it:
public class CustomerNavigation : INavigation { public string Text { get { return "Customers"; } } public string Action { get { return "Index"; } } public string Controller { get { return "Customer"; } } }
public class NavigationController : Controller { readonly INavigation[] navigations; public NavigationController(INavigation[] navigations) { this.navigations = navigations; } public ViewResult Index() { return View("Index", navigations); } }
Now the ‘Customers’ menu appears as expected:
An add-in itself is just a regular C# library project:
Views need to be marked as Embedded Resources rather than Content, and controllers should inherit AddinControllerBase rather than the standard Controller, but other than that they are laid-out and behave just like a regular MVC project.
So far this is working nicely. I should probably also take a look at the MVCContrib portable areas as well.
The complete example is on github:
6 comments:
Nice. How this compares to the PortableAreas Project in MVCContrib?
Seems similar in concept to Turbine:
Anonymous,
Portable Areas is probably most similar to this, although I haven't really looked at it yet. Note that my implementation doesn't make any use at all of MVC areas.
Troy,
Isn't turbine more a general IoC framework for ASP.NET MVC rather than something that addresses add-ins?
This is similar to some of what MVC Turbine does, I like this example though as its short and clear.
When I have time I need to look into what you've done with the views. I didn't know you could externalize them to a separate DLL. Is it just a matter of having the right directory structure and including them as embedded resources?
I love this type approach to MVC applications! This is how MVC Turbine was build, as a composition engine for MVC by using the "Blade" concept.
Frank brings up an excellent point that this is way simpler to grok than Turbine so people get their "a ha!" sooner.
If want to chat about composition and MVC, hit me up through twitter sometime, @jglozano.
Rats, almost forgot. Here's a screencast that @darrencauthon, a committer on Turbine, did leveraging the same embedded resource concept with the Nerd Dinner sample:
|
http://mikehadlow.blogspot.com/2010/10/experimental-aspnet-mvc-add-ins.html
|
CC-MAIN-2016-44
|
en
|
refinedweb
|
On Mon, Oct 13, 2008 at 1:12 AM, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote: > Problem: You have a package containing a large number of > classes, of which only a few are typically used by any > given application. > > If you put each class into its own submodule, then > client code is required to use a lot of tedious > 'from foo.thingy import Thingy' statements to import > the classes it wants to use. This also makes all the > submodule names part of the API and makes it hard to > rearrange the packaging without breaking code. > > If you try to flatten the namespace by importing all > the classes into the top level module, you end up > importing everything even if it won't be used. > > What's needed is a way of lazily importing them, so > that the import won't actually happen unless the > imported names are referenced. > > It's possible to hack something like that up now, but > then tools such as py2app and py2exe, that try to find > modules by statically examining the source looking for > import statements, won't be able to accurately determine > which modules are used. At best they'll think the > whole package is used and incorporate all of it; at > worst they'll miss it altogether. > > So I think it would be good to have a dedicated syntax > for lazy imports, so the top-level foo package can say > something like > > from foo.thing lazily import Thing > from foo.stuff lazily import Stuff > ... > > Executing a lazy import statement adds an entry to a > list of deferred imports attached to the module. Then, > the first time the imported name is referenced, the > import is performed and the name becomes an ordinary > attribute thereafter. > > If py2exe et al are taught about lazy imports, they > will then be able to determine exactly which submodules > are used by an application and exclude the rest. How is this mechanism supposed to behave in the presence of things like... # baz.py from foo lazy import bar def fcn(): return bar.obj(...) It would seem that py2exe, etc., would need to include the bar module regardless of whether baz.fcn() was called in any particular invocation of a program, and even if baz.fcn() was never called in any invocation. - Josiah
|
https://mail.python.org/pipermail/python-ideas/2008-October/002202.html
|
CC-MAIN-2016-44
|
en
|
refinedweb
|
public interface CSProcess
This is the JCSP interface for a process - an active component that encapsulates the data structures on which it operates.
In this JCSP binding of the CSP model into Java, a process is an instance of a class implementing this CSProcess interface. Its actions are defined by the run method.
Running processes interact solely via CSP channels, events or carefully synchronised access to shared objects -- not by calling each other's methods. These passive objects form the CSP interface to a process. They are not present in the Java interface and must be configured into each process via public constructors and/or mutators when it is not running (i.e. before and in between runs). It is safe to extract information from the process via accessor methods, but only after (or in between) runs.
For other general information, see the JCSP overview.
import org.jcsp.lang.*; ... other imports class ProcessExample implements CSProcess { ... private/protected shared synchronisation objects (channels etc.) ... private/protected state information ... public constructors ... public configuration/inspection methods (when not running) ... private/protected support methods (part of a run) ... public run method (the process starts here) }The pattern of use for these methods is simple and well-disciplined. The public constructors and configuration methods must install the shared synchronisation objects into their private/protected fields. They may also initialise other private/protected state information. The public configuration/inspection methods (simple sets and gets) may be invoked only when this process is not running and are the responsibility of a single process only -- usually the process that constructed it. That process is also responsible for invoking the public run method that kicks this one into life (usually, via a
Parallelor
ProcessManagerintermediary). The private support methods are triggered only by the run method and express the live behaviour of this process.
A process instance may have several lives but these must, of course, be consecutive. Different instances of the same process class may, also of course, be alive concurrently. Reconfiguration of a process via its configuration/inspection methods may only take place between lives. Dynamic reconfiguration of a live process may take place -- but only with the active cooperation of the process (for example, through channel communication).
This is not to say that the semantics of processes connected in parallel are simply the sum of the semantics of each individual process -- just that those semantics should contain no surprises. Value can added just through the nature of the parallel composition itself. For example, connect simple stateless processes into a channel feedback-loop, give them some external wires and we get a component that contains state.
The process design pattern defines some powerful simplifications that bring us that control. Backed up with the theory of CSP, it also addresses and offers solutions to some fundamental issues in concurrency and multi-threading.
In unconstrained OO, threads and objects are orthogonal notions -- sometimes dangerously competitive. Threads have no internal structure and can cross object boundaries in spaghetti-like trails that relate objects together in a way that has little correspondence to the original OO design. A process combines these ideas into a single concept, gives it structure and maintains strong encapsulation by guarding the distribution and use of references with some strict (and checkable) design rules. A process may be wired up in parallel with other processes to form a network -- which is itself a process. So, a process may have sub-processes that have sub-sub-processes ad infinitum. This is the way the world works ...
The simplicity of the process design pattern is that each process can be considered individually as an independent serial program, interacting with external I/O devices (the synchronisation objects -- channels etc.). At the other end of those devices may lie other processes, but that is of no concern to the consideration of this process. All our past skills and intuition about serial programming can safely be applied. The new skills needed to design and use parallel process networks sit alongside those earlier skills and no cross-interference takes place.
Paralleland
Alternativeclasses. Here is another very simple one:
import org.jcsp.lang.*; // LaunchControl is a process to control the launch of a space rocket. // It is configured with a countdown time in seconds -- this must be above // a minimum threshold, MIN_COUNTDOWN, else the launch is immediately aborted. // There are two control lines, abort and hold, that respectively abort // or hold the launch if signalled. The hold is released by a second // signal on the same line. // During countdown, the count is reported by outputting on the countdown // channel. // If not aborted, LaunchControl fires the rocket (by outputting on its fire // channel) when the countdown reaches zero. An ABORTED launch is also // reported on this fire channel. // After a successful or aborted launch, LaunchControl terminates. // The status attribute records whether the launch was FIRED or ABORTED // and may then be inspected. public class LaunchControl implements CSProcess { public static final int MIN_COUNTDOWN = 10; public static final int FIRED = 0; public static final int HOLDING = 1; public static final int COUNTING = 2; public static final int ABORTED = 3; public static final int UNDEDFINED = 4; private final int start; private final AltingChannelInputInt abort; private final AltingChannelInputInt hold; private final ChannelOutputInt countdown; private final ChannelOutputInt fire; private int status = UNDEDFINED; public LaunchControl (final int start, final AltingChannelInputInt abort, final AltingChannelInputInt hold, final ChannelOutputInt countdown, final ChannelOutputInt fire) { this.start = start; this.abort = abort; this.hold = hold; this.countdown = countdown; this.fire = fire; } public int getStatus () { // inspection method return status; // (can only be used in between runs) } public void run () { final CSTimer tim = new CSTimer (); // JCSP timers have final long oneSecond = 1000; // millisecond granularity long timeout = tim.read () + oneSecond; // compute first timeout final Alternative alt = new Alternative (new Guard[] {abort, hold, tim}); final int ABORT = 0; final int HOLD = 1; final int TICK = 2; int count = start; boolean counting = (start >= MIN_COUNTDOWN); // abort if bad start while ((count > 0) && counting) { countdown.write (count); // public address system tim.setAlarm (timeout); // set next timeout switch (alt.priSelect ()) { case ABORT: // abort signalled abort.read (); // clear the signal counting = false; break; case HOLD: // hold signalled long timeLeft = timeout - tim.read (); // time till next tick hold.read (); // clear the signal fire.write (HOLDING); // signal rocket hold.read (); // wait for the release timeout = tim.read () + timeLeft; // recompute next timeout fire.write (COUNTING); // signal rocket break; case TICK: // timeout expired count--; timeout += oneSecond; // compute next timeout break; } } status = (counting) ? FIRED : ABORTED; // set status attribute fire.write (status); // signal rocket (go/nogo) if (counting) countdown.write (0); // complete countdown } }
Parallel,
PriParallel,
Alternative,
ChannelInput,
ChannelOutput,
One2OneChannel,
Any2OneChannel,
One2AnyChannel,
Any2AnyChannel,
ChannelInputInt,
ChannelOutputInt,
One2OneChannelInt,
Any2OneChannelInt,
One2AnyChannelInt,
Any2AnyChannelInt,
ProcessManager
void run()
|
http://www.cs.kent.ac.uk/projects/ofa/jcsp/jcsp-1.1-rc4/jcsp-doc/org/jcsp/lang/CSProcess.html
|
CC-MAIN-2013-20
|
en
|
refinedweb
|
29 August 2008 15:04 [Source: ICIS news]
TORONTO (ICIS news)--Bayer CropScience confirmed reports on Friday that one worker died and a second one was injured in an explosion and fire at its West Carbamoylation Center near Charleston, West Virginia.
?xml:namespace>
The explosion occurred at around 10:25 pm local time on Thursday, resulting in a chemical release in the immediate area of the structure which developed into a fire several minutes later, the company said in a statement to ICIS news.
The fire was brought under control by emergency response personnel from the site and was extinguished at about 2:00 am.
At about the same time, a "shelter in place" issued by authorities for the communities surrounding the site was lifted and roadways in the area were reopened, Bayer said.
Monitoring of the air in and around the site showed no chemical exposure either on or off the site, it said.
Employees had assured the integrity of the piping, tanks and equipment in and around the other operating facilities of the site, it added.
The company did not comment on the type of products it made at the site or on impacts on.
|
http://www.icis.com/Articles/2008/08/29/9152821/BayerCrop-confirms-worker-killed-in-US-accident.html
|
CC-MAIN-2013-20
|
en
|
refinedweb
|
Timeline
04/17/12:
- 01:09 Changeset [4810] by
- linux: fix a few compilation warnings.
- 01:02 Changeset [4809] by
- Fix a weird problem with lib6 versioned symbols.
- 01:02 Changeset [4808] by
- osx: do not enforce flat namespace in copy mode on OS X.
04/06/12:
- 23:05 toilet edited by
- toilet 0.3 (diff)
- 22:44 libcaca edited by
- (diff)
- 22:42 Changeset [4807] by
- release: libcaca 0.99.beta18
- 22:30 Changeset [4806] by
- build: fix copyright information.
- 22:30 Changeset [4805] by
- figfont: support setting the canvas width and smushing mode from the …
- 22:30 Changeset [4804] by
- build: fix "make dist", which was broken because of the vcproj -> vcxproj …
- 20:42 Changeset [4803] by
- figfont: stick the source canvas's width, if specified.
04/05/12:
- 23:14 Ticket #108 (Cheap Viagra in Israel) created by
- My qwestion when buy best viagra?
Note: See TracTimeline for information about the timeline view.
|
http://caca.zoy.org/timeline?from=2012-05-04&daysback=30&authors=
|
CC-MAIN-2013-20
|
en
|
refinedweb
|
java.lang.Object
org.netlib.lapack.DSTEBZorg.netlib.lapack.DSTEBZ
public class DSTEBZ
DSTEBZ is a simplified interface to the JLAPACK routine dsteb * ======= * * DST. * *. * * Arguments * ========= * * RANGE (input) CHARACTER * = 'A': ("All") all eigenvalues will be found. * = 'V': ("Value") all eigenvalues in the half-open interval * (VL, VU] will be found. * = 'I': ("Index") the IL-th through IU-th eigenvalues (of the * entire matrix) will be found. * * ORDER (input) CHARACTER * = 'B': ("By Block") the eigenvalues will be grouped by * split-off block (see IBLOCK, ISPLIT) and * ordered from smallest to largest within * the block. * = 'E': ("Entire matrix") * the eigenvalues for the entire matrix * will be ordered from smallest to * largest. * * N (input) INTEGER * The order of the tridiagonal matrix T. N >= 0. * * VL (input) DOUBLE PRECISION * VU (input) DOUBLE PRECISION * If RANGE='V', the lower and upper bounds of the interval to * be searched for eigenvalues. Eigenvalues less than or equal * to VL, or greater than VU, will not be returned. (input) DOUBLE PRECISION array, dimension (N) * The n diagonal elements of the tridiagonal matrix T. * * E (input) DOUBLE PRECISION array, dimension (N-1) * The (n-1) off-diagonal elements of the tridiagonal matrix T. * * M (output) INTEGER * The actual number of eigenvalues found. 0 <= M <= N. * (See also the description of INFO=2,3.) * * NSPLIT (output) INTEGER * The number of diagonal blocks in the matrix T. * 1 <= NSPLIT <= N. * * W (output) DOUBLE PRECISION array, dimension (N) * On exit, the first M elements of W will contain the * eigenvalues. (DSTEBZ may use the remaining N-M elements as * workspace.) * * IBLOCK (output) (output) (workspace) DOUBLE PRECISION array, dimension (4*N) * * IWORK (workspace) INTEGER array, dimension (3*N) * * INFO (output). * * ===================================================================== * * .. Parameters ..
public DSTEBZ()
public static void DSTEBZ(java.lang.String range, java.lang.String order, int n, double vl, double vu, int il, int iu, double abstol, double[] d, double[] e, intW m, intW nsplit, double[] w, int[] iblock, int[] isplit, double[] work, int[] iwork, intW info)
|
http://icl.cs.utk.edu/projectsfiles/f2j/javadoc/org/netlib/lapack/DSTEBZ.html
|
CC-MAIN-2013-20
|
en
|
refinedweb
|
Introduction:
ASP.NET MVC allows you to break/partition your large application into smaller parts. You can use Area in ASP.NET MVC (C# and VB.NET) projects easily. But I have found an issue regarding Area in ASP.NET MVC 3 Tools Update when working with a ASP.NET MVC 3 (VB.NET) project. Note that I am saying ASP.NET MVC 3 Tools Update and ASP.NET MVC 3 (VB.NET), because this issue is specific to both of them. You will not find this issue in ASP.NET MVC 2 (VB.NET), ASP.NET MVC 3 (C#), ASP.NET MVC 3 RTM(not Tools Update) (VB.NET), etc, project. In this article, I will show you the issue with Area and also show you a quick solution.
Description:
To see this issue in action, create an ASP.NET MVC 3 (VB.NET) project. Then, add an Area in this project. Next, add a controller inside this Area. Now run this application and navigate to this controller action. You will see the following screen,
Something going wrong in this project. Now follow the same process as above but now with ASP.NET MVC 3 (C#). You will find that everything will work well ASP.NET MVC 3 (C#) project. Now compare your ASP.NET MVC 3 (C#) Area's controller namespace with ASP.NET MVC 3 (VB.NET),
ASP.NET MVC 3 (C#):
ASP.NET MVC 3 (VB.NET):
The above screens shows that ASP.NET MVC 3 (VB.NET) project adding wrong namespace in controller inside an Area. You may be thinking that why the controller's namespace(in above screen) is wrong in ASP.NET MVC 3 (VB.NET) and correct in ASP.NET MVC 3 (C#) project. The reason is that every route registered in an Area(in MyAreaAreaRegistration.cs file) have DataTokens["Namespaces"] equal to a string array with one string element which value equals to MyApplication.Areas.MyArea.*, which tell the Framework that look in the namespaces starts with ApplicationName.Areas.MyArea before looking anywhere else and DataTokens["UseNamespaceFallback"] equal to false, which tell the Framework that look only in the specified namespaces. Since the controller's namespace in ASP.NET MVC 3 (VB.NET) project is MyApplication, that's why it shows you the 'The resource cannot be found' screen. So the quick way to make your ASP.NET MVC 3 (VB.NET) project work, just replace MyApplication namespace with MyApplication.Areas.MyArea.Controllers namespace. Run again your ASP.NET MVC 3 (VB.NET) application, you will find that everything will work just fine.
Again note that this issue is only specific to ASP.NET MVC 3 (VB.NET) and ASP.NET MVC 3 Tools Update.
Summary:
With Areas in ASP.NET MVC, you can easily break/partition your large application into smaller units. In this article, I showed you an issue regarding Area in ASP.NET MVC 3 (VB.NET) project. I also showed you a quick solution. Hopefully you will enjoy this article too.
Great work. Thanks for providing a work around.
Pingback from An Issue with Area in ASP.NET MVC 3 (VB.NET) | ASP.NET and ASP.NET MVC | Syngu
|
http://weblogs.asp.net/imranbaloch/archive/2011/08/16/area-issue-in-asp-net-mvc-3-vb-net.aspx
|
CC-MAIN-2013-20
|
en
|
refinedweb
|
11 March 2009 09:00 [Source: ICIS news]
By Mark Watts
LONDON (ICIS news)--Borealis posted a net loss of €122m ($154m) in the fourth quarter of 2008, dropping from a €58m gain in the same period a year earlier due to plummeting demand, the Austria-based petrochemicals producer said on Wednesday.
More than half the loss was due to inventory impairment at year-end, the company said.
Borealis’ sales dropped 16% in the fourth quarter to €1.35bn, while it fell to an operating loss of €199m from a gain of €28m in the year earlier period.
For the full year of 2008, the company posted a 55% drop in net profit to €239m.
“Though the global recession has impacted our business, we have come through 2008 with some solid results,” said CEO Mark Garrett.
“We expect 2009 to remain very difficult, probably more difficult than 2008 and we don’t really expect to see an improvement in demand in the world economy until 2010,” he told ICIS news.
Borealis is facing the triple impact of the financial crisis, falling demand in key end-user markets and the effect of large-scale polyolefins plants coming on stream in the near-term.
Demand from the automotive industry for polypropylene (PP) had remained flat this year and was not expected to improve, though Borealis, along with other major PP producers, had noted resilience in food packaging applications.
The company plans to restrict capital spending as much as possible in 2009 and focus on its two major projects in ?xml:namespace>
Garrett said expansion of the Borouge petrochemicals complex and its new 350,000 tonne/year low density polyethylene (LDPE) plant in
"Outside those two investments we've been trying to preserve as much cash as we can to allow us to make those investments," said Garrett.
"They're vital for our future," he added. "If we can complete them, with Borouge scheduled for mid-2010, we could catch the beginnings of improvement in the global economy."
Borealis had been lucky that it managed to set up its financing and debt repayment schedules before the crisis hit, Garret said,
“We have about €500m of committed back-lines which don’t mature for the most-part until 2013,” added CFO Daniel Shook.
“We don’t have much debt maturing over the next several years, we’ve got a good liquidity position and will continue to work with our banks to makes sure that’s robust,” he added.
Borealis’ interest-bearing debt increased by €453m in 2008 largely due to investment projects such as the LDPE plant in Stenungsund.
Borealis has suspended its shareholders' dividend until business conditions improve. The company is jointly owned by
($1 = €0.79)
To discuss issues facing the chemical industry go to ICIS connect.
|
http://www.icis.com/Articles/2009/03/11/9199125/borealis-posts-q4-net-loss-of-122m-as-demand-bottoms-out.html
|
CC-MAIN-2013-20
|
en
|
refinedweb
|
daylight, timezone, tzname, tzset - sets and accesses time
zone conversion information
#include <time.h>
void tzset(void);
extern int daylight; extern long timezone; extern char
*tzname[];
Standard C Library (libc.so, libc.a)
Interfaces documented on this reference page conform to
industry standards as follows:
tzset(): POSIX.1, XSH4.2
Refer to the standards(5) reference page for more information
about industry standards and associated tags.
The tzset() function uses the value of the environment
variable TZ to set time conversion information used by
several other functions, including ctime(), ctime_r(),
getdate(), getdate_r(), localtime(), localtime_r(),
mktime(), strftime(), and strptime().
If the TZ variable is not set, tzset() uses implementation-dependent
default time zone information. This information
is located in the /etc/zoneinfo/localtime file. See
the section Time Zone Handling for details.
The tzset() function sets the external variable tzname as
follows:
tzname0 = "std"; tzname1 = "dst";
where std indicates the standard time zone and dst designates
the alternative time zone (such as Daylight Savings
Time). (These variables are described below in the section
TZ Environment Variable.)
The tzset() function also sets the external variable daylight
to 0 if Daylight Savings Time conversions should
never be applied for the time zone in use. Otherwise, daylight
is set to a nonzero value.
The external variable timezone is set to the difference,
in seconds, between Coordinated Universal Time (UTC) and
local standard time. For example:
---------------
TZ timezone
---------------
EST 5*60*60
GMT 0*60*60
JST -9*60*60
MET -1*60*60
MST 7*60*60
PST 8*60*60
---------------
Time Zone Handling [Toc] [Back]
The operating system uses a public-domain time zone handling
package that puts time zone conversion rules in easily
accessible and modifiable files. These files are in
the directory /etc/zoneinfo/sources. The time zone compiler
zic(8) converts these files to a special format
described in tzfile(4) and places them in the /etc/zoneinfo
directory. This format is readable by the C library
functions that handle time zone information.
The tzset() function uses the tzfile-formatted file linked
by /etc/zoneinfo/localtime to set the time zone conversion
information. The /etc/zoneinfo/localtime link is set during
installation to a file in the /etc/zoneinfo directory.
For example, for time zone information consistent with the
city of New York on the American continent, /etc/zoneinfo/localtime
is linked to /etc/zoneinfo/America/New_York.
If the TZ environment variable is defined, the defined
value overrides the time zone information in /etc/zoneinfo/localtime.
TZ can be set by a user as a regular
environment variable for converting to alternate time
zones. See the section TZ Environment Variable for
details.
Getting Time Zone Information [Toc] [Back]
The libc routines ctime() and localtime() return the local
time and time zone information. The ctime() routine
returns a string that corresponds to the local time; for
example, Tue Oct 27 13:35:29 1992.
The localtime() routine returns a pointer to a tm structure
(defined in <sys/time.h>) that contains the local
time expressed in fields of the tm structure. For time
zone information, there are three relevant fields: A
option that is set to 1 if daylight savings time is currently
in effect. Otherwise, the option is set to 0. Seconds
east of Greenwich. For example, -18000 means 5 hours
west of Greenwich. Abbreviation for the current time zone
(for example, EST, PDT, GMT).
Setting Time Zone Information [Toc] [Back]
The /etc/zoneinfo/localtime link can be changed by the
system administrator to any file in the /etc/zoneinfo
directory.
For example, the following command changes the local time
zone to be consistent with the city of New York on the
American continent:
# ln -sf /etc/zoneinfo/America/New_York /etc/zoneinfo/localtime
Subsequent calls to the time zone related functions in
libc (ctime() and localtime()) use this link for the
default time zone information.
If the time zone and daylight savings time information in
the /etc/zoneinfo/sources directory is incorrect for your
time zone, you can change the information in the source
files and then use the zic command to generate a corresponding
/etc/zoneinfo file.
A user can override the default time zone information by
setting the TZ environment variable as described in the
section TZ Environment Variable.
TZ Environment Variable [Toc] [Back]
When TZ appears in the environment and its value is not a
null string, the value has one of three formats:
: :pathname stdoffset[dst[offset][,start[/time],end[/time]]]
[Tru64 UNIX] If TZ has the single colon format (:), Coordinated
Universal Time (UTC) is used.
[Tru64 UNIX] If TZ has the colon-pathname format (:pathname),
the characters following the colon specify the
pathname of a tzfile(4) format file from which to read the
time conversion information. A pathname beginning with a
slash (/) represents an absolute pathname; otherwise, the
pathname is relative to the system time conversion information
directory /etc/zoneinfo.
If TZ does not begin with a colon (:), the components of
the string are as follows: Three or more characters that
are the designation for the standard (std) or alternative
(dst) time zone (such as Daylight Savings Time). Only std
is required. If dst is not supplied, the alternative time
does not apply to the locale. Upper- and lowercase letters
are explicitly allowed. Any characters, except digits, a
leading colon (:), comma (,), minus (-), plus (+), and
ASCII NUL, are allowed. Indicates the value to be added
to the local time to arrive at GMT. The offset has the
form:
hh[:mm[:ss]]
The minutes (mm) and seconds (ss) are optional. The
hour (hh) is required and can be either one or two
digits. The offset following std is required. If no
offset follows dst, the alternative time is assumed
to be one hour ahead of standard time. One or more
digits can be used; the value is always interpreted
as a decimal number. The hour value must be
between zero and 24. The value for the minutes and
seconds, if present, must be between zero and 59.
If preceded by a minus sign (-), the time zone is
east of the Prime Meridian; otherwise it is west,
which can be indicated by a preceding plus sign
(+). Indicates when to change to and return from
alternative time. The start argument is the date
when the change from standard to alternative time
occurs; end is the date for changing back. If start
and end are not specified, the default is the US
Daylight Saving Time start and end dates. The format
for start and end must be one of the following:
The Julian day n (1 <= n <= 365). Leap days are not
counted. That is, in all years, including leap
years, February 28 is day 59 and March 1 is day 60.
It is impossible to explicitly refer to February
29. The zero-based Julian day (0 <=n <= 365). Leap
days are counted making it possible to refer to
February 29. The dth day (0 <= d <= 6) of week n
of month m of the year (1 <= n <= 5, 1 <= m <= 12).
When n is 5, it refers to the last d day of month m
which may occur in either the fourth or fifth week.
Week 1 is the first week in which the dth day
occurs. Day zero is Sunday. Describes the time
when, in current time, the change to or return from
alternative time occurs. The time parameter has the
same format as offset, except that there can be no
leading minus (-) or plus (+) sign. If time is not
specified, the default is 02:00:00.
As an example, the TZ variable value
EST5EDT4,M4.1.0,M10.5.0 describes the rule defined in 1987
for the Eastern time zone in the US. EST (Eastern Standard
Time) is the designation for standard time, which is 5
hours behind GMT. EDT (Eastern Daylight Time) is the designation
for alternative time, which is 4 hours behind
GMT. EDT starts on the first Sunday in April and ends on
the last Sunday in October. In both cases, since time was
not specified, the changes occur at the default time,
which is 2:00 A.M. Note that the start and end dates did
not need to be specified since they are the defaults.
[Tru64 UNIX] For users of the SVID2 habitat, TZ is
defined by default in the following format:
stdoffset[dst[offset]]
[Tru64 UNIX] For users of the SVID3 habitat, TZ is
defined by default in the following format:
:pathname
See the section TZ Environment Variable for definitions of
the parameters used in these formats.
Functions: ctime(3), ctime_r(3), difftime(3), getdate(3),
getdate_r(3), getenv(3), localtime(3), localtime_r(3),
mktime(3), strftime(3), strptime(3), time(3)
Commands: date(1), zdump(8), zic(8)
Files: tzfile(4)
Standards: standards(5)
timezone(3)
|
http://nixdoc.net/man-pages/Tru64/man3/tzname.3.html
|
CC-MAIN-2013-20
|
en
|
refinedweb
|
Search Type: Posts; User: alacenaire
Search: Search took 0.02 seconds.
- 15 Aug 2010 10:59 PM
Thanks sven.
- 26 Jul 2010 11:30 PM
Sven i have not seen this translations in the last beta release, hope to see this translations in the next release. Thanks in advance.
- 9 Jul 2010 5:24 AM
Ok no pb.
Thanks.
- 9 Jul 2010 3:34 AM
Hi sven,
Seems that the translation is not yet added.
Can you add it to the next release as you say ?
Thanks in advance.
- 7 Jul 2010 1:01 AM
- Replies
- 1
- Views
- 1,223
Hi,
I would like to know if a plan to include arabic language is set ?
In this post Sven talk about this :.
Or any other...
- 17 Mar 2010 1:38 AM
- Replies
- 2
- Views
- 964
Ok sven i made it. And it's ok
But it is possible to include this method for the next release ?
public class MyRowEditor<M extends ModelData> extends RowEditor{
String m_buttonId =...
- 16 Mar 2010 8:04 AM
- Replies
- 2
- Views
- 964
Hi,
I didn't find anyway to set the Id to the save and cancel button in a RowEditor ?
Can you add this method to set the full id or a suffix id for each compoment in the RowEditor in the next...
- 16 Mar 2010 8:01 AM
Sorry for the wrong forum ...
#RowEditor
rowEditor_cancelText=Annuler
rowEditor_dirtyText=Vous devez valider ou annuler vos modifications
rowEditor_saveText=Sauver...
- 16 Mar 2010 7:21 AM
Hi,
Can you add the RowEditor Translation for the french language.
Or how we can update it in our project ?
Thanks
- 25 Jan 2010 8:08 AM
- Replies
- 4
- Views
- 1,348
Thanks
- 25 Jan 2010 12:14 AM
- Replies
- 4
- Views
- 1,348
Hello do you have date for for the 2.1.1 release ?
Thanks
- 26 Oct 2009 1:32 AM
- Replies
- 1
- Views
- 831
Perhaps you can try with a special column render
- 30 Sep 2009 11:56 PM
- Replies
- 1
- Views
- 1,182
Hi,
m_toolbar = new ToolBar();
m_panel = new ContentPanel();
m_panel.setTopComponent(m_toolbar);
// Show the toolbar
- 19 Jun 2009 4:00 AM
- Replies
- 1
- Views
- 1,522
Hi,
Is it not possible to add a widget renderer to a TreeGrid ?
It tried it and I have an error.
Thanks
Folder model = TestData.getTreeModel();
- 19 Jun 2009 3:49 AM
- Replies
- 2
- Views
- 1,179
Ok seems the answer is the same as here :
isn't ?
Thanks.
- 19 Jun 2009 1:38 AM
- Replies
- 2
- Views
- 1,179
Hi,
I would like to know if it's possible to customize the icon
for the TreeGrid like the setIconProvider method in the TreePanel
I know the method TreeGrid.getStyle() to customize the icon...
- 8 Jun 2009 7:04 AM
Ok thanks sven but what do you think about this method when you use maven dependencies ?
- 8 Jun 2009 4:48 AM
I think that this way is not really clean, especially if you use maven dependencies.
For each new update of GXT now you have to update the jar file (Automatic and transparent with maven) and the...
- 8 Jun 2009 12:03 AM
Ok, Do you know why the resssources are not more included in jar file ?
Is it just for the millestone release or for all the next release ?
Thanks.
- 7 Jun 2009 11:48 PM
Hi,
I have some trouble to find the ressources (css, images ...) in the jar file "gxt.jar" for GXT 2.0 M2.
In the previous release the ressources are well included in the jar file.
Can...
- 29 Apr 2009 12:24 AM
I have more info...
The problem is when you set the format of a tilmefield with a null value the bind crash.
m_timeField.setFormat();
- 28 Apr 2009 11:17 PM
Sorry guy,
So the TimeField Binding crash if the TimeField is not set with a date.
- GXT version : 1.2.3
- Host mode & web mode
- Mozilla 3.0.8 ; IE6
- Windows XP
here is the error on...
- 28 Apr 2009 7:54 AM
It seems that when you try to bind a model on a timefield the method
public Time findModel(Date date) {
if (!initialized) initList();
DateWrapper w = new DateWrapper();
...
- 27 Mar 2009 12:11 AM
- Replies
- 3
- Views
- 938
Yes. Thanks !
it works
- 24 Mar 2009 3:15 AM
- Replies
- 3
- Views
- 938
Doesn't work for me too ...
Can you tell me how you implement you special binding ?
thanks
Results 1 to 25 of 25
|
http://www.sencha.com/forum/search.php?s=d13cad7f9606dee4e98546cb138e0459&searchid=3105187
|
CC-MAIN-2013-20
|
en
|
refinedweb
|
Up to [cvs.NetBSD.org] / src / sys / dev
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.11 / (download) - annotate - [select for diffs], Sun Nov 25 15:29:24 2012 UTC (5 months, 3 weeks ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, tls-maxphys-nbase, tls-maxphys-base, khorben-n900, agc-symver-base, agc-symver, HEAD
Changes since 1.10: +2 -12 lines
Diff to previous 1.10 (colored)
move context struct to a header for the benefit of fstat.
Revision 1.10 / (download) - annotate - [select for diffs], Sat May 19 16:00:41 2012 UTC (11 months, 4 weeks ago) by tls
Branch: MAIN
CVS Tags: yamt-pagecache-base6, yamt-pagecache-base5, jmcneill-usbmp-base10
Branch point for: tls-maxphys
Changes since 1.9: +13 -10 lines
Diff to previous 1.9 (colored)
Fix two problems that could cause /dev/random to not wake up readers when entropy became available.
Revision 1.9 / (download) - annotate - [select for diffs], Fri Apr 20 21:57:33 2012 UTC (12 months, 3 weeks ago) by tls
Branch: MAIN
CVS Tags: jmcneill-usbmp-base9
Changes since 1.8: +3 -5 lines
Diff to previous 1.8 (colored).
Revision 1.8 / (download) - annotate - [select for diffs], Tue Apr 17 02:50:38 2012 UTC (13 months ago) by tls
Branch: MAIN
Changes since 1.7: +43 -9 lines
Diff to previous 1.7 (colored)], Fri Mar 30 20:15:18 2012 UTC (13 months, 2 weeks ago) by drochner
Branch: MAIN
CVS Tags: yamt-pagecache-base4, jmcneill-usbmp-base8
Branch point for: yamt-pagecache
Changes since 1.6: +6 -7 lines
Diff to previous 1.6 (colored)
reorder initialization to improve error handling in case the system runs out of file descriptors, avoids LOCKDEBUG panic due to double mutex initialization
Revision 1.6 / (download) - annotate - [select for diffs], Tue Dec 20 13:42:19 2011 UTC (16 months, 4 weeks ago) by apb, jmcneill-usbmp
Changes since 1.5: +2 -6 lines
Diff to previous 1.5 (colored)
Revert previous; the #include was already present, and I got confused by a merge error.
Revision 1.5 / (download) - annotate - [select for diffs], Tue Dec 20 12:45:00 2011 UTC (16 months, 4 weeks ago) by apb
Branch: MAIN
Changes since 1.4: +6 -2 lines
Diff to previous 1.4 (colored)
#include "opt_compat_netbsd.h"
Revision 1.4 / (download) - annotate - [select for diffs], Mon Dec 19 21:53:52 2011 UTC (16 months, 4 weeks ago) by apb
Branch: MAIN
Changes since 1.3: +17 -5 lines
Diff to previous 1.3 (colored)
Add COMPAT_50 and COMPAT_NETBSD32 compatibility code for rnd(4) ioctl commands. Tested with "rndctl -ls" using an old 32-bit version of rndctl(8) (built for NetBSD-5.99.56/i386) and a new 64-bit kernel (NetBSD-5.99.59/amd64).
Revision 1.3 / (download) - annotate - [select for diffs], Mon Dec 19 21:44:08 2011 UTC (16 months, 4 weeks ago) by apb
Branch: MAIN
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored)
Return ENOTTY, not EINVAL, when the ioctl command is unrecognised.
Revision 1.2 / (download) - annotate - [select for diffs], Mon Dec 19 11:10:08 2011 UTC (16 months, 4 weeks ago) by drochner
Branch: MAIN
Changes since 1.1: +4 -4 lines
Diff to previous 1.1 (colored)
make this build with RND_DEBUG
Revision 1.1 / (download) - annotate - [select for diffs], Sat Dec 17 20:05:39 2011 UTC (17 months ago) by tls
Branch: MAIN.
This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.
|
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/rndpseudo.c?only_with_tag=MAIN
|
CC-MAIN-2013-20
|
en
|
refinedweb
|
Programming WebLogic Web Services
The following sections provide information about using SOAP 1.2 as the message format:
By default, a WebLogic Web Service uses SOAP 1.1 as the message format when a client application invokes one of its operations. You can, however, use SOAP 1.2 as the message format by updating the
web-services.xml file and specifying a particular attribute in
clientgen when you generate the client stubs.
Warning: BEA's SOAP 1.2 implementation is based on the W3C Working Draft specification (June 26, 2002). Because this specification is not yet a W3C Recommendation, BEA's current implementation is subject to change. BEA highly recommends that you use the SOAP 1.2 feature included in this version of WebLogic Server in a development environment only.
When a WebLogic Web Service is configured to use SOAP 1.2 as the message format:
clientgenAnt task, when generating the Web-service specific client JAR file for the Web Service, creates a
Serviceimplementation that contains two
getPort()methods, one for SOAP 1.1 and another for SOAP 1.2.
The following procedure assumes that you are familiar with the
servicegen Ant task, and you want to update the Web Service to use SOAP 1.2 as the message format. For an example of using
servicegen, see Creating a WebLogic Web Service: A Simple Example.
"
useSOAP12="True" >
</service>
</servicegen>
Note: If you are not using
servicegen, you can update the
web-services.xml file of your WebLogic Web Service manually. For details, see Updating the web-services.xml File Manually.
For general details about the
servicegen Ant task, see Creating the Build File That Specifies the servicegen Ant Task.
Because the WSDL of the Web Service has been updated to include an additional port with a SOAP 1.2 binding, the
clientgen Ant task automatically creates new stubs that contains these SOAP 1.2-specific
getPort() methods.
For details, see Generating the Client JAR File by Running the clientgen Ant Task.
See Invoking a Web Service Using SOAP 1.2 SOAP 1.2:
useSOAP12="True"attribute to the
<web-service>element that describes your Web Service. For example:
<web-service
name="myWebService"
useSOAP12="True"...>
...
</web-service>
When writing your client application to invoke the SOAP 1.2-enabled WebLogic Web Service, you first use the
clientgen Ant task to generate the Web Service-specific client JAR file that contains the generated stubs, as usual. The
clientgen Ant task in this case generates a JAX-RPC
Service implementation that contains two
getPort() methods: the standard one for SOAP 1.1, called
get
ServiceName
Port(), and a second one for SOAP 1.2, called
get
ServiceName
PortSoap12(), where
ServiceName refers to the name of your Web Service. These two
getPort() methods correspond to the two port definitions in the generated WSDL of the Web Service, as described in Overview of Using SOAP 1.2.
The following example of a simple client application shows how to invoke the
helloWorld operation of the
MyService Web Service using both SOAP 1.1 (via the
getMyservicePort() method) and SOAP 1.2 (via the
getMyServicePortSoap12() method):
import java.io.IOException;
public class Main{
public static void main( String[] args ) throws Exception{
MyService service = new MyService_Impl();
MyServicePort port = service.getMyServicePort();
System.out.println( port.helloWorld() );
port = service.getMyServicePortSoap12();
System.out.println( port.helloWorld() );
}
}
|
http://docs.oracle.com/cd/E13222_01/wls/docs81/webserv/soap12.html
|
CC-MAIN-2013-20
|
en
|
refinedweb
|
:
December 13,253
Related Items
Related Items:
South Florida sentinel
Preceded by:
Morning sentinel
Succeeded by:
Orlando sentinel (Orlando, Fla. : 1953)
Full Text
within HALF. 75-mik A MILLION radius PEOPLE of Orlando LIVE, the IN YOUR SENTINEL TODAY
or vhich creates 24 per cent of Florida': (!f) rianbo I enttnelTis I Radio Page 4 State . Page T
livestock production. 56 per cent of Florida'stamed rntng Churches :: Page 5 Sports _. Pgs. 8-9
I ida'* citrus.vegetable cropS' 92 per ceet of Flor Pearson ..__ Page Financial' .... Page 10
a Privilege to Live in Central Florida-The World Most Beautiful Place for Abundant Living
VOL. XXIII-NO. 31246 For Editorial. General Wormat oa. Call 3-1681 [!' Phones ORLANDO. FLORIDA. SATURDAY. DECEMBER 13. 1947 For AtlnrtiuJl Want Adi Can 411 [I Phonei SIXTEEN PAGES
Veteran Jew Lewis'INTELLECTUALLY, Miners Shed FAT.AFL. .' AgainIn Congress GetsSchwellenbach,'Molotov's Blistering Attack I
Fighters Cut !' / Non-Communist Creed Row
Threatens Four
WASHINGTON r TAP] John L. Lewis marched his Big Crisisl
600.000 United Mine Workers out of the AFL for the second
Bloody SwathJERUSALEM time yesterday in a bitter row stemming from his refusal to Cost Curb Plan I -- I-!
sign a non-Communist affidavit. I More of the Christmas Spirit! J JiN ''I: U.S. Britain
[AP] Veteran Lewis notified AFL Pres. William Green of the new WASHINGTON [AP] Sec. ,
\1 Jewish I - - ." plit with this roughly scrawled
underground i of Labor Schweflenbach yes'terday -
note: j
fighters went on the warpath I "Green .\.'1_we disaffiliate. outlined to Congress France Rapped
from Haifa to Hebronin o 12/47.: specific proposals for price
j He had assailed AFL leaders as I
a series of bloody clashes intellectually fat and stately i! ceilings and roll backs as Republicans j I
with Arabs and last night the", b:' j,asses" because! they decided to debated whether or'I fUl7; rqi For F Reich i PeaceLONDON
death toll from 13 days of bitter ,comply with the Taft-Hartley Act not to place their own anti-in-
communal fighting in 1 requiring union officers to swear I I
Palestine Communists. flation bill before the House I: L >' /
neared 200.Jewish they are not I [AP] A savcge
They did this so their unions Monday on a "take it or leave I
forces struck I t ( Russian attack the
at
seven against
could have access to the National ; it" basis. rrTh
places-Heifa, Yazur Gaza Sha- Labor Relations Board, with its I United States. Britain and
fat. Tireh. Ramie and in Jerus- 1 Srhwellenbarh sent the proposed
alem itself on this Moslem facilities for.: selecting collective price controb legislationto France last night reduced:
,bargaining agents etc. Lewis :c! 2iJiUr
Sabbath. NClaiming j would have nothing to do with the House Banking.Commit- % Big Four relations to the
responsibility! for the act. ,, tee with a note saying he will lowest point since the wj' and
five of these operations the So that Lewis' defiance would submit! a wage, control bill
threatened almost immediate
underground Irgnn Zvai Leu mi not deprive AFL unions of accessto shortly. VTh3IQRc an
also threatened new attacks on federation''' breakup of the London session
the NLRB the
But Chmn. Wolcott I R-Mich]
the British Army "if the of the Foreign Ministers Con
British continue to interfere changed its constitution in sucha emphasized definitely there will filE tp S
that the 15-man executive
and pt'rmltrahi to import way be no action at the special session C'ii517Q7rS .3 -1$ ference.
council of which Lewis was a
arms from abroad." on the Schwellenbach Bill. paa #ir nw t -5 *rndrA The most acrimonious foreign
member removed from the -
was I, the drafted by Secy. of >-' ministers meeting ever held end
A British soldier was killed of federation "officers." ] or one _
roster
and another was wounded when Lewis then withdrew from the i Commerce Harriman asking priority -_ -"' ed abruptly, official observerssaid
Arabs fired on a British convoy council.K. and allocation authority. -< J4/ff 7'g/ when British For Secy.
entering Jaffa last night Schwellenbach said price con- '5% 6&844'O'A'MJ -
The day's disorders throughout C. Adams! editor of the trols would be limited to those '. I 'Pattern For Peace'
__. ___ I.MVJournal.. insists! the miners ,q (bi1Wo4'i : / I
Palestine brought death to commodities that: basically affect --- LONDON [AIM Sec. of State
25 persons 20 of them Arabs. An had made "no deal" for political the cost of living or agricultural - cqaSE- Marshall and Foreign Sec.
Associated Press tabulation collaboration with any and industrial produc- s Bevin Joined last night in
Ehowed 198 had been killed i in the other labor group. tion. and those "essential to effectuation praising the growth of British
tt _
The I'MW, which had been in of the foreign policyof American friendship and
Britain Blames U. S. F the AFL since its founding in the United States." -: -- understanding as a "patternfor
LONDON [Uf J Britain will r 1800! ) first withdrew in the great .. peace" in a turbulent
He declared maximum
,
refuse any UX order to use its split of labor led by Lewis in a world. Before the Pilgrims
troops to impose Palestine par. tty Wr 1936. Lewis helped form the CIO price ceiling should be applied IE7ktk 3 Society, they stressed the desire -
tition. Foreign Sec. Bevin said to organize industrial unions only if the commodity is found 1 dt for world peace. The
In a bitter speech in Commons over the hot objection of the old to be in short supply and its :t't; society's aim is to promote U
yesterday, blaming the U. S. S line craft unionists of the AFL. price has risen unreasonably British friendship.
for Britain's failure to get The miners returned to the beyond that prevailing in -.
agreement between Jews and AFL in 1946.Italian. June, 1047. ? Bevin termed Soviet For Min.
Arab without UX action. 11 iI Under could his not proposals be lower price than ceilings the- \ \ils -p i' 4i'if Molotov's in Germany attack on"insults Allied and policies
Land Strike
Holy since the United Nations abuse."
partition.General The Assembly toll for the voted entire for HERE WE GO AGAIN! Virginia Ends June in highest 11 price and June prevailing 18 1047 between except F declared U. S. Secy.the attack of State made Marshall it 'dif-
Middle East stood at 314. ; Victory cases where there have been ; 1L' fl
iicult for the
to inspire respect
The bloodiest fighting of the Hill [above] come latelyto I decreased costs or market de "
of the Soviet Union.
dignity
day occurred at Tiren, a village be known as The Sleepy Hotly DisputedROME clines. _
near Haifa. Time Gal, was recovering last Wolcott, noting that the measure --. Conference sources said Molotov -
Twelve Arabs were killed I I night in a Phoenix, Ariz., hospital [IAPI] Rome's 48-hour would authorize price ceilings tossed his conciliatory attitude
there and six others wounded I from another of her general strike the latest bat- on things "in short supply" --------- -- of the past few days out
when Jewish commandoes i;' asked: the window of sedate Lancaster
attacked
periodic doses of tle in the left'sVinter offen- I
with grenades and automatic sleeping pills. sive" Prem. De Gasperi'sChristian "Is there anything that isn'tin ITU President I House and launched an
She is the one-time friend of against French SAid
weapons. I the Democratic Govern- short supply except toy balloons Assembly Bill Parley hour-long attack.
A house was demolished and a slain gangster, Bugsy I
"
with table
dozen others were damaged and Siegel.! ment-ended at midnight and radios? Says Publicity'Bit He accused the Western Pow
set afire In the battle which last both sides loudly.! claiming vie- Speaker :Martin [H.-MaSSo] said ers of making "enormous prof
-- ---
ed for an hour. ----I I tory.A nothing has been decided" Okays Red StandPARIS Tiresome'INDIANAPOLIS Stirs DebateWASHINGTON its" out of Germany through
Haifa Itself was relatively secretly! I printed extra edition about the GOP strategy and Wol [ A P ] o hidden reparations." He also
quiet Arabs leaving Mosques House Planning of the Christian Democratic cott added it probably won't be Woodruff Randolph, International declared the United States. Britain -
found the streets lined with Party's newspaper! II decided "until we look the situation fUP] The French Typographical i 1 [IUPJ] Senate- and France were trying to
British armored cars and Bren Ponolo, on the street just at over during the weekend." l"ationaJsspmbry last night approved I I'nion president said yesterday House negotiators reached :, "perpetuate the division of Ger- '
gun carriers. One Jew and an I 12 nYlock, said in big black Schwellenhach\ explained his by a vote of 411 to 183 : that neither the Wagner agreement many" as part of a strategic plan
Arab were killed by J gunfire, and Petrillo Curb headlines lriI..p l-'ail'. 'price control outline was "my the GO' ernment's firm !stand and l Act nor the Taft-Hart-: on several I provisions in to employ their occupation zones
..a British officer and three en- But the Communist-controlled own idea"and cannot be classed in the current diplomatic crisis Icy: Law compels the sign- the Emergency European Aid against what he described as the
listed men were wounded by bullets Chamber of Labor of Rome Provo as an Administration Plan. with Russia.At ing of contracts unless two Bill yestesrday, one of which "democratic countries of Eu-
directed at a jeep. WASHINGTON [ U P ] The ince, which ordered 500,000 workers the same time. the French conditions are established." may release the first $150 millionof rope."
Arabs staged a prison break at House Labor Committee yester- Wednesday night to back RescuesSix Ministry of Foreign Affairs Declaring the kind of publicity U. S. aid to France Italy and The sudden unexpected verbal
Athlit nine miles south of Haifa. day branded Music Czar Petrilloas up its demands for sweeping Helicopter abruptly rejected the seecond of being given the ITUis Austria by the end of next week. assault by Molotov came duringa
One Arab was killed five were submitted a "dictator" and "tyrant" and Winter unemployment relief asserted Crash Survivors three Soviet protest notes con- getting a bit tiresome" But the conferees deadlockedover conference showdown on reparations
wounded and five others were. to Congress a fivepoint demning the expulsion of 19!) '
in calling them back that Randolph said these two House provisions allowing and made it clear that
l
known to have escaped. The of- him and legislative his American program Federa-to curb the Government had yielded all WESTOVER FIELD. Mass Russian citizens frotn France. conditions are that agreement $60) million in aid to China and the "cold war" for Europe wouldbe
ficer in charge of the prison was [AP) Braving a snowstorm a between ----- --- -- fought out the basis of the
tion of Musicians (AFL]. along the line. The Assembly rote came at the parties be on
injured.Two Arabs killed and In a blistering report which The Chamber's vote to end the helicopter yesterday completedthe the end of a full-scale debate reached.:' and "that at least Fonr Years Of Relief? Marshall Plan and the so-called
were a hazardous rescue of six Franco-Sosiet relations inwhich one of the parties Molotov Plan"' of co-operation (
police railway guard was wounded accused Petrillo of ruling over strike, ratified later by as- on request WASHINGTON' AP1 President l-
American soldiers who survivedthe that the be the Soviet dominated
sembled delegations from individual French Communists agreement among -
'a small within
in Gaza. In Ramie an Arab kingdom our Truman wants Congressto ;:: !'
watchman was killed and a second republic" the committee called unions came after thou- crash of a big military trans- castigated; the Government'sRussian written and signed. underwrite Western Eu planned economy states of the
wounded by Jewish bombs for "diligent prosecution" of sands of Romans had gone back port in Labrador wastelands in policy as carrying out The American Newspaper' rope's Recovery Program for
the union chief for viola' work under the protection of which 23 others died. the desires of American "war Publishers Assn. has filed I East.A
which wrecked a bus company alleged j'I to at least four years Alf M. bridge between the two
tion of the Lea After emergency treatment at mongers." with the National Labor Relations ,
and an adjoining garage. AntiFeatherbedding club-swinging police. andnn said yesterday' after through Big Four agreementson
Act. It also urged the I The largest police force as- the small RCAF hospital in French Interim Foreign Minister Board a complaint talking with Mr. Truman at Germany appeared completely .
UN Sidetracks Plan Justice Department to consider sembled in Rome in recent times Goose Bay, four of the rescued Andre Marie told the Assembly charging the ITU and its the While House. impossible! following
whether Petrillo has violated the -numbering 67,000 menswungtheir -Lt J. M. Bickley Abilene Tex., ': that the 19 Russians ex executive council with defying -- --- - - -- -- the |
For Legal Abortion anti-trust laws. I I clubs throughout the city Sgt. Joseph Stefanowciz Warren, pelled had been guilty of "anti- the Taft-Hartley Law by requiring that a reserve of 150 meeting's developments.
Ohio, and Cpl. Gene L. Harter French activity." He did notgive attempting to coerce local I There were indications thatMo1otovs
GENEVA= (IUPI] The UN commission The report was writteen by yesterday driving jeering unions and million bushels of wheat be keptin
publishers into
Fort Wayne. Ind. and Cpl. John details that France switch from conciLa-::
human and the firm saying this .
on rights yesterday Rep. Kearn [IR.Pa,1 himselfa throngs enforcing the law country.Chairman
Shaner Horseheads N. Y., were was': not obliged to explain any violating by adopting tion to an uncompromising offensive
defeated 10 to 4 a Soviet member of Petrillo's union. declaration of Interior Min. Ma- rules of Eaton of the House
conditions -
sent to Walter Reed Hospital, expulsion of foreigners from her working had come at the direction -
proposal outlawing intoleranceand Kearns headed a subcommittee rio Scelba that the Government without signing formal Foreign Affairs Committee
"national hatred" propa-- which made a seven-month investigation would "protect those who wantto Washington. The two other survivors soil. contracts. emerging from the three-hour, of the Kremlin.
ganda, and sidetracked a measure : of Petrillo and his work." -Lt.-Col. Harry Bullis, I meeting told reporters that'I Soviet sources indicated Mel-
which would have legalized union. { Despite a growing wave of Portland, Mich., and Tech. Sgt. Pepper and Holland i "we're in a mess." ,' otov had torn up a prepared
abortions under specific circum- William J. Bujak, remained be- I' speech and made a completely
Governmentorganizedprivately
stances. The Lea Act is aimed specifically violence half-ton hind. Offer Tax Cut Bill Butter Tops $1 a Pound He criticized his House colleagues new one. The official So-'ict
operated ''
bitterly for the
at Petrillo's practice of requiring amend
WASHINGTON [lAP] Sens. monitor usually releases :\Icoo;
radio stations to hire trucks, each protected by two WASHINGTON [APt! Butter ments they tacked on to the bill, '
a
17 Die in Railroad Wreck Bad !j Pepper and Holland [ID-VIal| introduced prices climbed abet tov's speeches during or lust
given number of standby musi- carbine armed police, carried Weather Delays 1 SI 1 a pound asserting the measure had turned
yesterday legislation to after a conference session" but it
CLERMONT-FERRAND cians regardless whether they those who wanted to go to their Washington yesterday withSI into "a farm bloc bill to protect
France [AP) Seventeen persons are needed. Constitutionality of jobs today I Saturday 1 and Romans Search for Lost Flier permit married couples in all 05: for nest gradeI ;;. thee price of farm products was without a text three bcurs
were burned to death and more the law has been upheld by the crowded them to the running DAYTONA BEACH [EAPI] Bad States to divide their incomes for afterward last night.
than 20 injured last in weather yesterday hampered efforts income tax purposes. Several
night a Court. hoards.!
collision on a rail line between I Supreme in the three-day-old aerial other similar bills are pendingto I The Weather For Central Florida I Plan Offered Distillers
Clermont-Ferrand and Mont- I I hunt for Charles F. Lovan. Jacksonville extend community property .
contractor and flier privileges. Another bill by Pepper ORLANDO AXH) VICINITY: TODAY'S TIDES Use of Grain
lucon. about 200 miles south of who . Reducing
Pauley Admits Grain Speculation Partly cloudy with occasionalrain Dartna B ach and New Smyrna V ach
Paris. has been missing since Tuesday would permit school teachersto and cool T,40s High 8.17 a m and 8.36 pm Low WASHINGTON [API Sec of
I night. deduct from income taxes as moderately today ,
WASHINGTON JUP] EdwinW. Candidate Harold E. S t ass e n tomorrow. 1.41 am and 2 27 pm Agriculture Anderson offered a
Fever Hits Los AngelesSAN Government 'insiders" expenses any funds spent attend- Cocoa: Beach Tides: High 8 27 a m and plan last night to allow the cation's -
FRANCISCO [lAP) An Pauley millionaire special as- complained Earthquake Hits Chile ing Summer !schools."< 8 46 p.m. Low i51 m and 2.37 p.m distillers to resume wh...:.ky
'1 food
in the
sistant the of Army. were speculating
to Secretary Sebastian Inlet Tide High 8 22 a m
outbreak of Q Fever in Los Angeles admitted to a Senate Committee market and asked Pauley bare SANTIAGO. Chile [API] A violent Cracker Jim Sez: and a 41 pm. Low 1.46 a m. and 2.32 pm production late in this month
mainly involving handlersof Sun Phae.: Ris 707. seta 5.31. on a somewhat restricted ba
yesterday that he had speculated his operations. Pauley'answer earth tremor shook Santiago Husband of Novelist i Done read a lot abouten how : 3-
dairy cows and other livestock Under the plan, distillers wrr-Id:
::
yesterday. The national telegraphs .
heavily in commodities! hut he to that. in substance! was that Wins Final DecreeLOS them fancy folks! over there in '
was reported yesterdayby reported the quake was : LOCAL TEMPOE"ATURES be allowed to use 2% busheL> of
: challenged to clear Stassen. with Presidential! ambitions England what i i. km to the King
Dr.Vitton L. Halverson, State ( Congressmen felt in Valparaiso and Curico ANGELES [Il"PJ] Former done married Recorded by U. 8. Weather Bureau at. grain a month. No wheat would
: making got up an worry-- Municipal Airport-
their own skirts before accusing was a political
health director. regions, but said no damage or All-American football star Rob- in abouten how much Maximum 75: Minimum '2 be used however.
of "gambling" in foods. play and that his [IPauley'sldealings ) money _
j anyone 1 am 71 : 1 p m-------- 06.'
J. hh
Movies were none of Stassen'sbu"iness. casualties were reported. ert Herwig :yesterday clarified they got to live on.. "'': :-''''''"" ...,,,.. 2 .m. ____n_ fi9 0 2 pot-------- 67
Tonight's The \ear-old former Democratic his marital status by obtain- Iffen that there lam. -_-__ '70 3pm. uh___ 115 No Frost Seen
__ ___ Danger
for Keeps 110. 4.m. 11 4 Pin. _____ 65
BEACMAMThi Tune
-- --
3.IS. 9.34 I National i Treasurer testified Torpedo Blast Kills EightROME ing a/inal divorce from Novelist Prince fellow what I s S m. u___-- 70 1 II m. ______ 65 LAKELAND ( API] Partly:
Pauley freely that he
:i2'A7.;:.. : _____
: R time Band: 1:12. i spent a rough 1-2: hours telling Kathleen I Forever Amber] Win- married Elizabeth 6 m nnn 70 15"m 647am.
3.20. 5 2ft. 7 36 9 44 held close, to $1 million worth ofgrains [API The Italian News nn__ 70 7 pm. _______ 63 cloudy and continued warm;
GRAND. Th Pm.te Affairs of Bpi% Ami: o the predominantly Kepuh- and .genc'-: Ansa aaid eight persons sor and then re-marrying coedOVERNIGHT would eit him a i tit-i, 8 am. nnn_ 10 5 ,,m. _-__n_ (,'30I Vo.- siveras toiecasx tosX' n'ht.:;;
other
commodity- _______ __ ___
3-38 5 49 9 02 t lsot The Son pi Ru t7: ,; \ \ am. 71 9 PM. 62n
\ \\
<\( <\ n
liran Senate .II'In'lratoos eewuoa. tie patch of land I _______ ____ .
1.17. 4 JO.<< 743 tuxea 'aw'rte acveptei\ the <;Tt'.t\ about\)> others : m. 73 'I) pm. u 6Z by the Federal State Frost Warning
NOWB. Tw *'*.comT Kit MI'S *b.T W, VnmmiUrr that bps mar)., <>;)- injured yesterday: by the explosion -. ,an learn to workl; II am nnn 73 tt em nnn 62l5oon Service. The future outlook
Army 3. but that subsequently __ _
1020 (alx Lot and Lrtrn: 2 2O. S.3S. :f post Sept n uu 68 Midmght n n 61
'.55. i: eralions were an entirely legal: he unloaded more than of a torpedo that was being AND what he could was for no frost danger through
CAMEO: 'Trail Street: 2 OO. 3 68. 56. private affair and had no connection reactivated at San Nicolo De DAYTIME DELIVERY grow a garden on. *" Monday.
FoUiea 9 3O. !i)t.) cent of them _
-J.55. 9 55 also Tom Thumb : per at a big : with '"" _' -w-J TEMPERATURES ELSEWHERE
his hands
with his Government Lido the an --
outskirts of
RIALTO: Dangerous Venture: 12:30. 3.55. on Venice. > .
Witn Women sacrifice of profit in accordance When you order merchandise WASHINGTON (AP Weather Bureau report -
r-7-30. 11:00: lalsol Tbat War : ; brains stead of livin off of what
61G. 9 35. with an with from Orlando of temperatures for the 24 hours end-
2'L y.. Life 2 OO. 3.55. job.He agreement his ,somebody hands him them folks inv 8pm *
Where There's :
10 SHOPPIHG DAYS lIFT
':I5. 9 40 was called before the committee chief. Army Secy Kenneth C. !937aoecember1947.go stores, specify quick, could shore be happy. That High Low 1 High Law
rascal -
DRIVEINSon of Old Wyoming also after GOP Presidential Royall. safe delivery by Sentinel- Ajhevllle 39 33 Lot Angeles 611 44
Tokyo ROM 0.45. 10.OO. ... M.*. Tue faW711 ?rt $/ Star the I' don't stand a chance of doin Atlanta 44 36 LouisvIlle 3'1 29Ati'ta
--- -- -- Express Jack Clt7 41 2'1 MemphIs 37 30
no good iffen he's gonna wait on Birmingham 39 33
13 Rabbit Line that lea'esdaily MerIdian 37 34
'! 0 I some other country to give him SOlIton 39 3" Miami 73 117Burralo
FOR CHRISTMAS GIFTS Poles Fear German Chinese Report 40,000 on schedule for 41 32 24 Mum -SI.Pal 27 1'1
14E16 17 18 19 2021E323 Central Florida towns I food an pocket money to take B..rbn.ton 31'1 Mobile 44 38
LOOK 'Spirit' For New War Reds Near Destruction :care of his family with. Why Charlotte 38 37 Montl"me1'Y U 40
. Merchants telephone Chat.nOOl' 39 35 Sew Orleans 44 43
Where everyone is looking In 2fS26 j I down here by Bogey creek when Chicas. 27 15 New' York 30 2IJ
the Classified Want-Ads "GIFTSPOTTER. PORTLAND. Ore (JAP] Polish NANKING [lAP) ProGovernment 27 6291 for Agent to call for 'the newlyweds don't feel like Cincinnati n 25 Norfolk U 36Cieweland
Ambassador \\ niewicz yesterday merchandise. 26 25 Philadelphia 40 25 I
Chinese
you will be able newspapers reported workin we let's em coolish Danal 27
stay
28293031 pho.mx 60 27
to easily find gifts for all mem- I told the City Club his coun- yesterday that 40,000 Corn- I till they make em a patchwork Denver ;I 11 I Plttoburgls 30 25
ben of the family. This Gift try fears that "the rebirth of the I I' Detroit 28 U I Pos-Ud. Me 35 20
([munist troops of Gen. Liu Po- quilt of their own an show that Duluth 18 9 I RIcl1mond 44 34
Spotter. will be your daily aggressive, German spirit" will <! 1948 January 1948 : ain't be El Paso U 25 I 5t. Louis 30 26
they lazy no more.
guide to better Christmas Gifts. start a new war which could be'Cheng were surrounded north- 0 l r JEXPE gonna Fort Worth 44 28 San Antonio 4J 34
Winter is plumb near ready to Oaioeiton 41 38. 8. PraDelaCO 111 39Jackaonviflp
Dial 4161 avoided by the "friendly co-op- ,east of Hankoand hopefully JOT .Mm 7b* VW on.. fn S* 55 52 Savannah 49 45Kassas
I : =S set in an them foreign folks bet- ,
23
Clt7 3'1 Seattle 48 35Ko
Ask for Want-Ads I eration" of the U. S., Russia and predicted that they would be Fa12 3 I L-d.T'- ,, jade lace" II.'" i I ter be gittin ready to work for a wml 82 'i4 Vikobsrq 40 34
Britain. I destroyed soon. i f - I livin. Knoxville 31 32 Waah1Qtoa 41) 30)
Little Rock 31 21. Wilmington 46 38
-
. -
-
Page 2 Telephones: 4161 or 3-1681 @r1anh mrnntu &tnttntt Saturday, December 13, 1947. Army Rocket, Soviet Rejects'Jap
Doctors CheatHollywoodites r Missile: Men
:-u h iCrash VictimsMEMPHIS Spoils Plan
Out Of Drinks! & ; : fUPJ} Personnel WASHINGTON [API Russia!
HOLLYWOOD (tUP] Six p '? ,' r ,' from the Rocket and Guided :Mis- was reported yesterday to be
famed Hollywood personalities lIe Testing Ground at White threatening a deadlock en rep.
took a ralncheck yester. j (; 4j Sands. N M, were aboard the arations from Japan wh: e demanding
$10 billion from
day on the plea of Actor's C-47 transport that crashed mysteriously ,k Get'
Agent Walter Kane that they near the Memphis Airport many.Diplomatic informants said
pet together and "have a Thursday. it was disclosed the Soviet delegate has served,
drink on me," following his yesterday as full Identificationof notice on the 11-natlon Far
death. the 20 dead was awaited. Eastern
I Commission! that a
Kane. former husband of Officials] at Ft. Bliss. El Paso, United States proposal! on *haring ,
Screen Star Lynn Bari was t : S. .. :4 ; ;: : Tex.. said that nine men from anjwar indemnity from
regaining consciousness after t. that post and White Sands were Japan, would he refused!
having taken an overdose of ': : among the casualties The only A majority of the other nations -
sleeping!] tablets and writing ( dead identified thus far by name represented on the131.-
_ _ _ a farewell note to his friends. 9 were Sgt Ernest H. Fleming] 19. mission have accepted t'.". rroposal. : >
The agent, one of the best #. 1'n' of Xew burgh. N. Y. and Pvt. J It was I'UhmHCIus!
known representatives of tv Taylor. Washington both stationed month in an effort to hi o. k a 10-
stars in Hollywood, had invited :. at Biggs Field. El Paso month stalemate on the nc.d: : :
Howard Hughes, Rudy :+ : where the plane took off on its of distributing the wins .3))
Vallee Jack Dempsey, Pro tl-fated) flight. pfants and other rel'Jm:
ducer Harry Conn Attorney 'S items to he exacted from '..--3:
xSS, Army officials] here disclosed"
Gregson Bautzer and Jonah .compensation for her vcr-A:
that two of the dead Negro
were
*
Jones to drink to his memor' time aggression.The {
> 4 :' S soldiers and there wa 9 ,
reparations ; '"
qur'tT o
-t po ir ilitja 2M 1 Yktim--an
SSS.S" under consideration
.5 hv t'.aeom: > -
aerial "hitrhhikf"r"--alqJ hadporlahod.
mission apart from the Jtr: ;:n--
.
Piecing together; the
rvS '-Se
s: : ' . I .. peace treaty
5- I mutilated toi>o and limbs ---
:
i t'iwfcj mv Ji ,iTt nA S 1' "a .o difficult that authorities .-
w-.m..nnmn..n were not !sure if they had ApfcfurcofWATCH
--
c1dhn* I SHOWN LEAVING THE HEARSES in Greenwood Cemetery ore 'left to right, Elder R P Douberly, S-Sgt. R. Williams, SO or 21 bodice.Seventeen ONE OF THE strangest law- .
caskets containing the bodies of two of Orlando's war dead, Savannah, Ga, Legion Chaplain Russell Shaw and Sgt. JamesB. bodies had been defmitelv suits in the history of Cleve-
Pfc. Manual G. Cox, left, and Pvt Elvin T. Bussell, right Pre- McCarty, Sibley, Iowa, The two Army sergeants accompanied identified by name and land Common Pleas Court was I
ceeding the flag-draped caskets and their guard of honor, are the bodies here from New York. the casualty list of 20. as carried on file in the name of a five- .
.. I '- _.L .L. on the plane's departure year-old who asked that 07/77//X
T TT -5F "W manifest will be released as soon girl
as all families have been notified.It the court award her $2,500
I Last Taps Sounded For Orlando War Heroes was; disclosed] that the victims from the woman she contends
included four two stole her ,
majors. captains father. Little Joy rIM, 13* boil
Orlando's returned his Pfc Cox. and the these ]leaves with one first lieutenant and Carol Fink is the plaintiff and
I More than 400 people stood In two of war nephew. men us a supreme the remainder enlisted men. - -- -
reverent silence in Greenwood dead. Rev. Fayette Hall]], pastor of the debt to them:' he said. the defendant is Mrs. Dolly
Cemetery as taps was sounded The body of Pfc Cox. son of College Park Baptist Church In addition to his parents, Benedict Fink, 26, now wife THE RADIO
over the graves of two Orlando :Mr and Mrs. H. N Cox 19 GlennSt. representing Pvt. Bussell. Russell is surtitrd by his Bandits Get $79,606 No. 2 of Joy's father.
services under the direction "idoh.. Ruth Russell ,
soldiers who had grown up to- arrived here Thursday.Pvt. Military ; a --- - -
gether, fought together. died together Bussell's] body arrived of the American Legion !stpp-daughter, Mr... CatherineHall in Daring Holdup YOU HAVE
and who were buried side Wednesday. He was the son of were held] at the grave with Legion and one !sister, Mrs. John < Red Cross Seeks
by side yesterday. :Mr and :Mrs. Thomas C. Bussell, Chaplain Russell Shaw of- n. Webb Jr., France Field, i I MIAMI BEACH I API An I WANTED IS
A special honor guard made 1338 20th St. ticiating. Canal /one. Himed bandit and a shadowy Willis A. SmithA
up of Army and American Legion Funeral ervices for the two Those in attendance who over- Cox. in aridnton to his parents accomplice\ seized two payrolls
members were at attention oldiers. who were both killed flowed the Fairchild Chapel is survived by two brothers J. V. totalling $10606! from construc search i is being made for HEREFOR
as a white-gloved squad June 8. 1944. were held at Fair- heard the Rev. Hall say that he Cox Orlando and Pfc. Leonard tion officials] on busy Washington Willis A. Smith believed to be
fired a three-volley salute in child Funeral Home with Roy was now fully reminded of the Cox Scott Field. Ill.: and two sisters -
Ave. during daylight yesterdav in Orlando with his brother-in-
honor of Pvt. Klvln T. Bussell, B. Douberly] of the Church of tremendous price paid for victory Adron Cox and Gladys CHRISTMAS
Day'Saints "The sacrifice of Strickland both of Orlando. law, Arthur Taylor, by the
34, and Pfc. Manuel 1 G. Cox:, 20, Latter representing- L supreme__ __ Alexander :Mahler.] 40. and Albert ]
----- Home Service Dept. of the Orange
I Brosof. 31. returnring together -' ",..
of
County Chapter the
BATTLE OF ALMOST A CENTURY Storm Blows Up I City Employes from a bank and each American Red Cross!" which has -1' ,,,,\_ ?",
carrying a payroll in a paper been notified that Smith's wifeis l j : I ij
Over Royal Stipend Decorate Trees bag. were the victims. They said critically ill in a Thomasville, I I it\ U )
Med Pals Engage In Fisticuffs the robbery was acted out with Ga. hospit\\1. 'rkrQ-r1t
LONDON (l"P1] A political Christmas spirit swept such precision that thorough rehearsal Anyone having any informa- r-
A-man 78 years of age Is not the victim. who Goddard said .torm was blowing up yesterday through City Hall yesterdaywith was mdicateed tion concerning Smith's whereabouts I rr"JCV #
too old to engage;: in heated verbal was two years younger than around parliamentary recommendations arrival of about a dozen is requested to contact
exchanger fistic encounter himself] a neighbor and a friend of a 50,000 pound trees enough to take care of CollectionFor the Red Cross at 231 E. JacksonSt. I
-even though he admits he is for the past 57 years t S200.0001] yearly allowance for all departments. Garbage .. or phone 2-0711.
tmttt Jtfttit mill h UJ too old for that sort of thing. "I'm guilty all right Judge," Princess Elizabeth and Prince While girls in some offices Month 1,685 Tons ------ 'T'I
A. G. Goddard, 78. who resideson said. "I his debated COLLEGE PARK /}
*r tittctlt* in **r Goddard slapped. Philip. the Duke of Edinburgh.A merits of various Garbage collected in Orlando
until Ckrittmtt.imimmmimiimmii. Goddard Ave" which he says face after he railed me names. select committee of membersof trees, all grown on city last month totalled 1.6R5 tons. up SHOE REPAIRING
was named for him pleaded He fell down and I straddled all parties in Commons was property: those in the city 503 tons over November 1946. Guaranteed Workmanship
guilty to assault and battery yes- him and every time he opened formed to decide what sum to clerk's office decorated a the monthly report of J. B. Shea- Sew Factory Machinery 'r
A CHRISTMAS WATCH to terday when arraigned before his mouth" I fiUeci it with allot the couple and, if possible tree in rcord time soon having rouse, city sanitary chief. showed SHOE REPAIR SHOP
E. Duckforth.
Peace Justice G.
!sand. lights!': burning and wrap-
prevent minority differences yesterday.!': Higher labor rates!' the great new
(In 5 and JOe Store]
last through many a Christ'mas Goddard was arrested. on complaint "I admit I'm'too old to be doing from spilling into political fields. lied gifts piled: under it. Treein have boosted the per-ton collection Floyd Wheeler, Mgr
-Wittnatttr, fine product signed by GV Keeling things like that. Judge" he the tax a es"or's: office cost to $5.87. compared with _ COLLEGE PARK_ STROMBERGCARLSONS -
added. "But he said I'd been was the second decorated. S4.!91 in November, 1944.!
LonginefWittnauer.. telling lies about him and he in Goods To Russia $1.50 $1.50
e TOWN suited me. It's too bad it happened -
;? Once 'Best Man' Now
/ Located OB the Patio JI JIDOWN But Judge. when you put Termed 'Shocking'WASHINGTON Pair ArrestedIn Pearce's wicetl 1M vtrytWy's budge
Reached two roosters in a ca someone Just Best Man . .
From 120 N. aa4
OraaceIS |lAP) Russia
I is bound to lose some feathers Dining Room
West St.
Washington he said philosophically. still gets wartime lend-lease Crash; One HurtBoth HOLLYWOOD |IAPI] Claudia
OWL BOOK SHOP
Dell stage and screen actress
America the Senate Mezzanine Hotel
from Angebilt
Goddard was released on his goods -
drivers involved] in a
said yesterday that she and Dan :
Committee learned
own recognizance pending final Appropriations -
two-car collision at Orange A\'e. Emmett Los Angeles chewinggum This lovely adaptable table
disposition of the case. :yesterday and Chmn. Bridges Special Sunday
I [R.-N.H] branded it "an under- and South St last night were manufacturer, will be mar model] of STROMBERG-
THE CURLY LOCKS BoostIn ground movement" by our own charged and released on bond by ried tonight. with her former TURKEY DINNERChoice CARLSOX superiority has
formerly The FRANCES I Pepper Fights officials violating the intent of the Orlando Police Dept. husband, Eddie Silton, as best many features of larger sets.
Shrimp Crabmeat Fruit Cup Striking ultra-modern all
UNDER NEW MANAGEMENT: Fuel Oil Price Congress. j i Marion G. Peeler] 25. Rt. 4. man. louvered, brown cabinet 3-
Specializing In AilTypea "It's shocking to the American Orlando. was charged for having Cream of Chicken Soup condenser. The DYNA
Jewelry Company of Hair-Do's I rSpe- o' to Oran Morning Sent nc' ] 1 public and it's shocking to me," i faulty brakes and Anna Mae Garner Baby Arrives ChoiceCombination gang TOM1C model has AC-DC
140 E. ROBINSON. TEL. 2-3306 WASHINGTON Sen. Peppertold Bridges told Willard Thorp. Asst. :Morgan, 50. 415 Boone St., driver Mr. and Mrs. Ingram B. Gar- or Ambrosia facilities. powerful 5H inch r
It N. Orange Ave the Senate yesterday that Secy. of State, who denied an at- of the other car was charged ner Jr., 715 N. Hyer St. :yesterday Roast Tom Turkey speaker. Built-m loop antenna.
Tel.362; I oil companies were contemplating ] tempt was made to defeat the in-I with reckless driving police said. announced the birth Thursday -' Oyster Dressing Wonderful for Christmas at
SAN JUAN HOTEL BLDG. increasing fuel oil to
prices Cranberry Sauce
i tent of Congress. I Peeler suffered cuts and at Orange Memorial Hospital]
utilities in Jacksonville.
Din*I ID fAYHEttTS ..4RR4NCED&riyIonfr public !: bruises about the ]legs and his of a !son Jock Gregory. Mrs. Garner Choice
Tampa and Gainesville. These wife Agnes. 23. sustained a broken is the former Miss Netsy Lee Buttered Birdseye Brocolli $35.10Claude
increases if effective. will lead Marshmallow Yams
I
/I'
'King Anthony thumb officers said. Butt. i
I ISoe'"lol I I Creamed Green Peas
DIAPER SERVICEI to higher utility rates in these
---- ---
W I I r KMrvati.n. mr Immediate Delivery cities and probably] pave the way Dies in England I II I I' Birdseye Corn Buttered Spinach: I H. Wolfe Inc.
llU/A" for increases!': elsewhere in Flor ,
I PHONE 2-3357 ida. said. I LONDON (LPI Anthony William -' Apopka Lions Receive Charter Choice
Pepper Hall, 53-year-old claimant to'I Cocoanut Cream Pie Cherry PIe The Finest of Everything
I the throne of Great Britain as I II [ to Or'ondrMorn nq Sen'.nel] |dent; Wilbert K. Shopkin third Apple Pie Hot Mince Pie Electrical for the Home
I "King Anthony I," died yester- APOPKA- The newlyorganized vice-president: Don M. Chamber- Hot buttered Rolls
: day still convinced that he was Lions Club here was for- lin, secretary: Charlies A. Hood, For your week Coffee day or evening Tea .'.....1 until 19 E. Washington St.
I a direct descendant of King mally presented with its!" charter treasurer: Lion Tamer J D. Gil- Christmas w* are serving" FftEC wavY Orlando, Florida
liard and Brooks E Kilgore c"..... of Win*- Mutcatel Port .r
Henry VIII.Uruguay Thursday by Dist. Lion Gov I Shtrry, I :
EXCLUSIVELY FOR Hoke Johnson Daytona Beach Tail Twister i --
Cabinet Quits Master! of ceremonies for the
charier meeting; was International
In Formality Move Lion Counselor GeorgeH.
MONTEVIDEO. Uruguay [API Ra..t. More than 30 members
WINTER PARK The entire cabinet of Uruguay present! heard newly-
resigned yesterday to give Pres. elected Pres. C. L. Clements I
accept the charter for the club.
Luis Battle Berres "full libertyof
action" in selecting new ministers The Winter Garden Lions Club NHtR-U FTCOMPLETELY
i sponsored the new organizationand
their president. Frank
3 NEW BUS ROUTES Wallace Says Ike CanI I ing.Loomis, was present at the meet NEWI AMAZINGLY
Win Ticket Other officers of the Apopka DIFFERENT SO EASY TO USE
Any
on group are .T. W Fletcher Phil ..
With Hourly Service I ALBANY N. Y. [UP) Gen. lips. first vice-president.: Thomas PAY ONLY : Immediate
Eisenhower could be president A. Shepherd second vicepresiDIAPER .. .. Delivery
in 1948 on any ticket he choseto
run on, Henry Wallace pre-
Effective December 15
Monday -
dicted yesterday.T. ABC $1 ,
I SERVICE
L Duncan Rites Held
ALOMA and LAKE KNOWLES Funeral services were held yesterday I New Accounts and Future \\
In Ft. White for Thomas Reservations Are Solicited WEEKLY ..
Leaves ACL Depot 15 minutes after each hour 7:15 AA1. L. Duncan father of Mrs. Judson Telephone 2-1177
Walker of Orlando who died
thru 6:15 P.M. (Extra trips at 6:45: A.M. and 6:45 P.M.: ) Wednesday at St Vincent's Hospital -
] in Jacksonville. Intermentwas
S
[Serves Showalter Airpark] in Itchtucknee Cemetery, Ft. ANNOUNCINGCRYSTALS
White. I WATCHES for all shape I'' ;: .5 I,
VIRGINIA HEIGHTS Elks To Attend PartyA EXPERT 1 HOUR WATCH SERVICE REPAIRING ::14 ;
motorcade of Orlando Elks JEWELRY t S
Leaves ACL Depot 15 minutes before each hour members will ]leave the Elks BLOCK'S 18 W. Church St. -.. us . -.
Home on Eola Dr. tomorrow at S
7:45 AM. thru 5:45 P.M. ,
:1pm. to attend the' annual 5.. .
Christmas! party at the Harry- "W''aLmLii, c '.j c a.L.TU .. ..
HANIBAL SQUARE Anna matilla Crippled Children's Homeat Limited Time Only! Standing or Sittiivglk's S. c
Unbreakable tW MOTS* .kern S
Leaves ACL Depot 5 minutes after each hour )'OtI'.o ..4 --a. --- .. _ S
CRYSTALS50c S .. P ced at Only -
Caldwell & ttiag --ria. s
8:05 A.M. thru 6:05: P.M. (Extra trip at 6:35 A.M.: ) Harvey Procter MtVfTUftyw MT_ -- ....
Modern Home Appliances pprcziaMttl 2% S i 14 95 '{
SALES & SERVICE torn*..:t .aa.: :. doe THE PERFECT XMAS GIFT FOR HER
For exact routes telephone Orlando 2-0744, ask your You'll ipprrlat ear terries ifp STORE
rtm..t CONSULT them about ORLANDO JEWELRY
Bus Drit'er or consult the "Riders' Digest. vonr RADIO aid WASHING MACHINE 2H S. Oranv*
2211 Repair CDGCWATER 11*. : and Specializing American hi all vetches.Swiss FLORIDA'S LARGEST RADIO AND APPLIANCE STORESI
PHONE X-im ORLi.DO
l Estimates Frc.
_
Orlando Transit Co. _.c. Garland Cleaners $T KTI
I fcOftlANDO MIAMI
o andGr1.nd t3 N. ORANGE -ORLANDO # Phone$30<
Write for new map showing Winter Park bus routes
:t
; at Cocord
r
: It ..
.
':County School I Saturday, December 13, 1947 (Orlando fHnrntttg irrntmrl Telephones j I : 4161 or 3-1681 Page 3
LIGHTING FIXTURES Y1dd.1.add.dXY.t.1.d..d.1.E.1neat.l'.7ttfEatsoYf'AC'aeAE'e' '
,
Select your fixtures with I; Board Meets ry,.r.Gcf" % PLAY BALL! I
: individuality, distinction .
1 and design for good light- :I' The Orange County School .q I< Mit ;t : FOOT e BALLS Ri
/ ing.Johnson. I Board was occupied with routine BASKET BALLS R
t I[ business at the regular bimonthly v R
VOLLEY BALLS
I session yesterday. A number d
Electric Co. f lof appointments were made and y TENNIS RACQUETS TABLE TENNIS BOXING GLOVES
la I four bids on school equipmentand ERECTOR
III .>3 E. Church St. -:- Phone 5136 work acceptedN. SETS ROLLER SKATES It
K. Bellamy was awarded a
JOSEPH BUMBY HARDWARE
CO. =
,I well-digging job at Tangerine
colored school with a low bid of ORLANDO WINTER PARK I
Streamlined Styling Plenty speeayt $jOO. Bowstead's Camera Shop Y II
was authorized to furnish the "..n7nnnnnn :n :r twxrxrnnnn snnnn te 7S
16-lneh Front Whee'VELOCIPEDE' Vocational School with a movie
; projector costing $414. Holler
Chevrolet Co. was low bidder ona THANKS LOT JUDGIE.l HAVE TO RUSH NOW "
bus chassis; which will be delivered -
22.95 for $1.375. DAYS TIL CHRISTMAS ANOl'M
OItL'19MORE AT
Mi>s Gladys Fieldas named PURCELL'SUlrRCII
i secretary to Prin. Roger Williams
It'a beauty! Strong,sturdy F \T 1n.'G..E
.11. Apopka High:; School, .
""'---r- frame with bright baked and Miss Ktelyn Langham!; appointed fi .. iAbir -T-----
enamel finishBillbearing secretary to J. P.
pedal and heavy rubber Glover, superintendent of veterans DR. ROYAL W. FRANCE of Eco- I of I
education professor sion the Marshall plan on their Rollins
Urea nomics at Rollins College, Dr. Louis Orr, Forum radio program over WHOa from Dyer p -
Miss Gerry Hicks was named
girls' physical education instructor nationally known urologist and leading Or- Memorial Hall on the Rollins Campus. The 1 1I
GREAT .SOUTHERN STORES at Winter Park High School lando physician, William B. Whitaker, head of next Rollins Forum, scheduled for Jan. 8, will I
692 X. ORANGE .-\, .:. PHOXK -t880PREINVENTORY and Miss Mary Ruth Hill was be on veterans' problems, according to
named basketball coach at Lake- the Rollins Speech Department, and Dr. Rhea aker, the moderator. On the Jan. 8 I
I view High. Mrs. Mary ElizabethSullivan Marsh Smith, Rollins professor of history [left be veterans' representatives from Roil Whit-I
Delaney was school.At appointed. a teacherat to right], as they carried on a heated discus- ( other schools. I II
the time the board
same I
awarded tion of a contract basketball for construc-court at Local Lions I[ Navy AnnouncesEnlistment I The seven nations in the Arab t
League are Saudi Arabia
I Pine Castle School to J. M. Gog- Egypt
'gan for the low-bid price of $872. Hear : HereOf Iraq. Trans-Jordan. Syria. Lebanon -'
SPECIALSClose Apopka
PAINT
Three Recruits and Yemen I
( O IPI."TF.S TRAINING .
Robert A. Hough son of Mrs. Club ReportA I S. S. Kienker. CBM. in chargeof SENSATIONAL OFFER] : _ -_ :-,-=IEJllA
Margaret Hough Maitland, has Navy recruiting in this area. Monday Only
out specials on the followingsizes completed recruit training at the report of the Charter Nightof yesterday announced reenlistment Monday Only 9 H
of DeVoe first quality paints I*. S. Naval Training Center San the Apopka Lions Club held of Don L. Williamson. 22. to .\. I. to 1 P. A.M. to 7 P.M.
Diego. Hough entered service Thursday was presented yes- Lake City with rating of aviation ASSORTED COLORS
\y-Ca\. Cans Sept. ;5) at Jacksonville. terday at the Orlando Lions metalsmith. Williamson has
$5.18I -- ---- -- -- Club luncheon by C. N. Farrell. I departed for Charleston. S l'or 98c 9c
GREY FLOOR 8 DECK gal. I I Officers of the newlyformedclub re-assignment THIS CERTIFICATE IS VALUABLE
I I WARREN'SFine are Curtis L. Clements, At the same time Kienk, an This certificate and only 9Sc entitles bearer to one of our famous $13.50 ballpoint pens.
&Gal. and 1'j-GaI. Cans president; J.V.. Fletcher Phillips nounced enlistment of Kram-is Instantly writes on any paper cloth and other surfaces. Makes 6 to 8 carbon copies. Gives
Interior SEHI-GLOSS WHITE gal. $4.28 : Furniture first vice-president; T. A. Andre Teague Jr., 17. Fruntanri '", up to 3 years use without refilling.:;
FLOOR COVERINGS Shepherd, second vice-president; Park and Joseph Olen Spence. 5-: Chrome-plated tarnish-proof cap. Carries 50-year service guarantee.INK :3ifA
APPLIANCES 18, Forest Lake Academy, each
K. third vice-
Wilbert Shopkin,
i Inferior-Cal. GLOSS WHITE $4.59 300 Fairbanks Open Monday Ave. Evenings-:- Winter Park i president; Don M. Chamberlain for three for years.San Diego They for have"Ijoot departed ; 4- -- - -"
-
gal. secretary: C. A. Hood, treasurer; training.The : .,. : O
J. D. Gilliard lion tamer; and i
All above in good fresh condition (tF VITAMINS Brooks E. Kilgore. tail twister. recruiting officer an >< a
nounced that effective immedi DRIES AS IT WRITES IDEAL XMAS GIFT NO BOTTER NEEDED
DON'T BUCK YOU UPtry speaker Chester of E.the Whittle Orlando, Lions.guest i I ately all recruits will hereafter First time offered at this amazingly low price. Get yours now. You'll be pleased with its
tubercu-!I be assigned to Recruit Training smooth dependable performance. Recommended highly by business and professional people
IRON
NUXATED discussed facts about
THOMAS LUMBER COMPANYGore and e Command. Great Lakes: insteadof teachers" students" and pen artists.< It's truly a masterpiece.< If you cannot come at
When foot doctor steel roa a medldiw losis-how the disease attacks i
4o so't help you.fat triet another daedidiM. LLkKUXATED *- I San Diego as has been the above time", leave" money before sale starts to receive your order.STROUD'S .
tse, If eltamlua don't buck foe VP, trf md affects a person. I| procedure heretofore.In .
Ave. & R. R. Ph. 4107 for Delivery IRON to help build Dor* full rad
color In roar blood. For fall nd blood twlpt nun Explaining the work of the
3
of ni to fed hut wonderful sack to KX7XATED Tuberculosis and I NO. lJllteor.a: Limit: 2 pens
IRON tableti for quit awhile Gins them a fair Orange County I I
trial. But UM vnlj M directed en the teM. Health Assn.. Whittle urged' some types of paper mills ORANGE AT PINE Accepted UntilTuesday
THIS STORE ONLY to a customer
about four gallons of turpentineare
II. *_+ .. wyr Lions to purchase Christmas
sometimes produced per ton ... .
of incomefor
Seals the only source -
+.i' t:+; of pulp. 1948 STREAMLINE STYLEAssociated
t.. tt the fight against TB. :
. Ian John R. Keene, president | i-
expressed thanks" to the ---
CHRISTMAS SPECIAL Committees who made the banquet a"I ,
| for Lions International I
Pres. Fred Smith a success.
Tommy Howe, of Orlando
Senior High::; "School was introduced .
as the Lion Cub of
the month.
Next week's meeting will feature t
a quartet of blind men it
was announced. The program is
in line with the Lions'; general
program of sight conservation, .
Keene said
I -- -
-:uu -SPECIAL :uu:
10ETOR CHRIStHAS ,, Pf'rmant'ntf'anStSO Up
BEAUTY
I
Y, K e II er 4 SHOP k '
W'146 E. Church Expert Technician-:. Phone 3.1114'YSY.TSral p.I,' I
PUNCH BOWL SfcEeiAL/ :.?:rTST: 3'JY.?
RUPTUREDThe
NEW Dobbs Trust IS different
Balbless. belUess, strapless. No
ptncbinr. binding, slipping or .cbafInc. -
Washable unitary FREE:
demonstration
THE DOBBS TRUSS. 12 Carolina Ct.
Noun I to S. Phone 2-1217
e.\ Q\\\\\\\\\\\\\\\\\\\",
,
,
I .I
I ,, a r viw +
1
,
,
,
,
Exclusive 7
,
., at
"e
BIG
1
l Associated
a ,, STORU
:
,
,
.
6 .xt
: INNERSPRING :
/ / I \ : MATTRESSES :
i BOX SPRINGS :
HOLLYWOOD BEDS : rt
! OUTSTANDING VALUE i MANUFACTURED TO YOW i
INDIVIDUAL ORDER ,
AT FACTORY PRICES 0 r
: ldattreu Renovating A IBpeclaltrAAJwbera j
RICH CRYSTAL SET INCLUDES 14 PIECES 0 ID c"ntraJ Florida y
Similar To Stock Less Ladle j Can C. Today j
'
,
0 Ileep Better ToalghV'ECHOLS
,
ONE 8'/2 QUART PUNCH BOWL BEDDING CO. :
0 tm laaford h'lry Jut South ut :
: the Caderpaj i XMAS SALE PRICE
ONE 18" PUNCH BOWL TRAY
: Phone Winter Pull: n* : .
P. O. Box 1S7. Orlando FU. has the largest, most complete showing of Small
TWELVE 5-OZ. PUNCH CUPS C 0
----------------------. Radios in Central Florida-all sizes, all makes, all colors, and
priced from 14.95 up. 1.00 weekly buys any radio priced 9 5,.
WHILE THEY LAST- under $50. Select Yours tomorrow. .
Here it is . a powerbilt diminutive, superblystyledplastic
table model radio that has all the features you
LAY AWAY 1 '
YOUR GIFTS $1295 expect in more expensive sets.
NOW FOR XMASJACKSOXVIIJE. SOc WEEKLY YOUR CHOICE AC-DC CIRCUIT 5 TUBES
OF THE BEST PERMANENT MAGNETIC SPEAKERIN
RADIO SLIDE RULE DIALAUTOMATIC PAY ONLY 51 I WEEKLYPhilco
VOLUME CONTROL
The Lumitile for a.
overage size bathroom RC -victor COVERS F.C.C.'S NEW BROADCAST
costs less than $125.00 Zenith
N installed. Individual aluminum StrombergCorlsoe) BAND '
tile (not sheet Emerson 'e
wall boarding) in 12 CrosbyEspey FLORIDA'S LARGEST RADIO AND APPLIANCE STORES ---
0o beautiful colors. Will not crack chip
I
craze, stain or warp. Teletone
Phone or write for prices en com MajesticAir
a / 1 1t. plete installation. King Weil
W' UP SEVEN STEPS TO MusolormAtlas ',e MercY.adw of Sekcta.Setter TAMPA OUANDO LAKELAND ST PCTI I
!M14.MI." TA'IPWEST PALM RE rH. FORT LAIDEKDALE. ORLANDO. ST. Ortfaosonie SARASOTA MIAMIRESIDENTIAL I
P PETERSBURG.- : OCALA GAINESVILLE:, DELANO, AND HOLL lUOD. I Wade-Scott Inc. Apex a
,
119 S. ORANGE AVE.
100 W. Amelia Phone 2-2920
I
,
i
.
{
I
Page 4 Telephones 4161 or 3-1681 ,rlanfcn Ulnrntag &rattnI Saturday, December 13, 1947 ,
4 GALLUP POLL SHOWS BRIDGE TOP GAME
Rollins Leaders : Two Convicted
Tell Kiwanians Half Of U.S. Plays CardsBy
: As Court Ends WHOO1t
College Aims GEORGE GALLUPDir are shown by the following votes *'
[ American Institute Public Opinion] I of card players: I *
Prediction that the curriculum I I The Fall term of Criminal PRINCETON-When an Pi.I
| 'Of Rollins College will Improveas Court was adjourned :yesterdayby American sits down at the card ,I noch-Other '
much In the next 50 years as It Judge William Murphy at Bridge Poker le Games Today's Complete Radio Programs '
has in the past half century was I"conclusion of three jury trials. table the chances are high that Men ........... 14% 2';% 21% 38% ,
coupled here yesterday by its Unless a special case should'' he wants to play bridge, pinochle, j I[ Women .39 9 16 45
president with a hope that two i be docketed, and with exception or poker. j i By Education
basic ideas never will change. of the usual Wednesday plea In Its continuing study of customs I I College ......... 45 17 12 26 !i
days, court will not convene'' and habits of Homo-Amer-'I High School 22 18 20 40
These Dr. Hamilton Holt 5:00: a.m.-Sign On 12:15: p.m.-League of Women Voters
again until early in January.A icanus, the Institute finds that Grammar v
told the Kiwanis Club, 10oh'egidng i about 52,500,000 of the nation's School... . 9 19 22 50 '
- 5.00()( a.m.-Whoot'n Antics
help to young people in I jury acquitted John R.Butler estimated 94- By Age D ; 1230 p.m.The American Farmer ABC
formulating and living to L. K. Cox of O
and
up 000,000 adults 21.29 no 14 22 21 433Q.49 j 5:15: a.m.-\\"hoot"n Antics 12:45: : p.m.-The American Farmer ABC
ideals and making it possible! charges!: of lolation of the fish Oo
play cards. .... 22 19 18 41 Z
for them to associate with the I and game!: laws. Karl Helmswas Thousands of 50 & 'over.....-26 13 18 43 ). 5.30: a.m.-Whoot'n Antics 1.00; p.m.-UN Highlights ABC ,- ,
best notably through faculty convicted by another jury *
appointments of public intoxication and was citizens, of representative the- Americans are increasingly O 2 5:45: a.m.-Whoot'n Antics 1:15: p.m.-UN Highlights ABC
I fined $:3 or three months in taking up card playing, with A
These two things have not total population a 6:00: a.m.-County Newspaper [Purcell CompanyJ) 130 Town
,changed from the time of Socrates Bounty Jail. I were asked .3 million decks being sold last I A : p.m.-Our Speaks O ,.
and Plato to the present day," fin the final case of the court I whethertheyplayed .year and a rising trend of sales '* 6:15: a.m.-Whoot'n Antics 1:45: p.m.-Our Town Speaks r y r
the educator said. *ssion Odell LIndsey was found
cards I
reported in 1917.
Oddly enough,
Dean Wendell C. Stone said the guilty of a charge of driving regularly, occasionally or not at 630: a.m.-Whoot'n Antics 2:00: 5,00: p.m.-Metropolitan Opera ABC (Texas
|*'present Rollins system is based 'without a valid operator's license alL Here is the resulting pictureof however this nation has never | Company) *yi
'on the idea that "true learning but the Jury recommended America's card playing habits: itself originated a popular card j 6:45: a.m.-Morning Devotions
takes place in small groups suspended sentence and Judge :i 8,500.000 [f9o] men and women game. Just to take the three favorite 7:00:()( a.m.-News [American Laundry & Cleaning 5:00:()( p.m.-Saturday Concert
where students have a chance to Murphy directed entry of such play regularly. games: Bridge is a refinement Company] 5:30: p.m.-Cathedral Hour
talk out ideas presented to them. an order. 44,000,000 [147I] play occa I of the English game of
Don A. Cheney, special assist- I sionally. whist; poker originally was an 7:05: a.m.-Whoot'n Antics 5:45: pm-News Commentary ABC (Brotherhood
ant to Dr. Holt,described the program Mallory Baby Announced 41.500,000 [44Mne) >.er play. I importation from France with a of Railroad Trainmen)
as an "account of steward I Lt. and Mrs. Norman Doug Those who play regularly or I dash of Persian influence; while I 7:30:: a.m.-Shopper's Hayride ( reiner's. Grocery)
ship from Orlando's largest in 'l 6:00: ) p.m.-Supper Edition [IMartie Williams
las Mallory announce the birth occasionally were then asked to pinochle probably came from
7:45: a.m.-Shopper's Hayride (IMeiner's: om
dustry. of a daughter, Sara Marshall I II name their favorite game, that is Germany a combination of be- D Grocery) Realtor) .
Taken in as new members of Mallory yesterday at the Orange the one they would choose if they zique and skat. 8:00: a.m.-Martin Agronsky ABC [Violet Dell &15 p.m.-Sports Journal [Walter Menges] Z
the Kiwanis Club were Robert I Memorial Hospital Mrs. ,, had the choice. This is how the The origin of cards is tangledin 0 Florists) (ABC Co-op] ,
B. Murphy, architect Charles Mallory is the former Mary top favorites appear in the bid legendary history scholars I y 630: p.m.-Philo Vance o
Crlder. jewelry, and William Smith, daughter of Mr. and Mrs. '! ding: variously crediting China, India, i = 8:15: a.m.-Small Stuff GO
Max Handley, lumber.A M. A. Smith, 115 Lucerne Cir. i Approximately 12,000,000 pre- and Korea. The present 52-card 7.00 p.m.-Saturday Swing Club A
violin solo was played by a Mallory is the son of Dr. and j I fer either contract or auction i pack was first dealt in France i 850: a.m.-Small Stuff d
Rollins student, Miss Ann Lovell, Mrs. :Meredith :Mallory of this bridge. I more than 500 years ago. Di 8:45: a.m.-News Summary ABC 730 p.m.-The: Whoot Owls.(Dixie Lily Milling Co.] a
Sanford. city. Approximately 10,500,000 would' 8:00 p.m. -Tiger Den
i call for pinochle.Approximately 9:00: a.m.-Who Knows
I' Rats are sometimes killed by Before World War II Britain |I 10,000.000 wouldset ( 8:30: p.m.-Saturday Swing Club
piping motor exhaust gases into produced only one-third of its the table up for poker. HEARlI 9:15: a.m.-Who Knows?
their burrows. food. This leaves about 20.000,000card 9:00: p.m.-Gancbustt>rs ARC [IL. E. Waterman Co.)
I c 9:30: a.m.-Tom Thumb Follies
____. ... __ -:: players whose favorites are I IIrro.CV' 930: p.m.-Murder & Mr. Malone ABC (WineGrowers
f(0 other ("The Official .
some games. / 9:45: a.m.-Tom Thumb Follies ) .
Rules of Card Games" lists --k
DEPENDABILITYThe t some 150 games.) Behind the / 10:00: a.m.-U. S. Navy Band ABC 10:00: p.m.-Professor. Quiz; ABC (American Oil Co.)
i iIt top three come: All the rummy .
! satisfaction of buying gifts games, exclusive of gin rummy rh V- ( of.PJ. p"ec.I 10:15: a.m.-Growing Pains [Orlando Nurseries] 10:30: p.m.-Hayloft Hoedown ABC .o
from a long established firm. Tt ,I five large hundred miscellaneous, gin rummy group, and led a I : R.dio 10:30: a.m.-High News 110: ( p.m.-News of Tomorrow 'Oo 4jl
; by pitch, whist, euchre cribbage. brMdca lna your s arum tne.d.ta.e popierrlijioas 10:43: a.m.-High News 11:15: :> p.m.-Tris Coffin in Washington ABC oZ -
i solitaire, hearts, casino. H.M.s. Rirbuds sputa
I{1 The more education a person O 11:00: a.m.-Abbott & Costello ABC 1130: p.m.-Orange Blossoms
BARNEY LINENS i iIMPORTERS "t"cM f wou,ONE GOD,0NI1OCr
has the more he likes to play
4 cards almost = 11:15: a.m.-Abbott & Costello ABC 12.00:!: a.m.-News (Coliseum) pO
; proportionately
SUNDAYS 10:00 A. M.
1, twice as many college graduates 11.30 a.m.-Piano Playhouse ABC 12:05: a.m.-The Owl Room Coliseum
r play as those with only a gram- WDBO DIAL] 580VOICE Os aus
: 312 North Park Are. Phone 626 V :|: mar school education. Younger 11:45: a.m.-Piano Playhouse ABC 1230: a.m.-The Owl Room I
i I i I people are more inclined to play Fns ppMVu H.A
One Block :North of the Post Office "
!I than the older generation and 12:00: p.m.-Noon Edition [Wilkins Awning( Ca| 1:00: a.m.-Sign Off
WINTER PARK i men slightly more than women. OF PROPHECYThe I
;
Interesting sidelights on pref.
'. -- erences for the favorite games
it: t LISTEN TO THE ORANGE COUNTY Elementary School Quiz "Who Knows" 9:00: A. M. Ie
Orlando Sentinel
Radio
Morning Program Grand Ave. Elementary School vs. West Central Elementary School
ABC CBS MUTUAL NBC ABC CBS MUTUAL NBC .0
WHOO WDBOSM WLOF WORZ WHOO WOBO WLOF WOMZ ..DQ
ltO 1230 740 990 no 121 740 Oa
see Sire On _____ Rii &: ShineChurch ___ 330 Mt. opera. ABC __ Mather House P'rty OreheitraMather Orch of Nation __
9:IS Whoofn Antic ..____ In WlldWd 3 45 Met. Opera. ABC __ Home P'rty Orchestra Orch of Nation __
5:30 Whoosh Antics Lily and Curly -- 4 00 Met Opera ABC Stocks-Weather Sports -Parade Doctor Today ___ Zaf
'n -
6:45 Whoot'n Antic. ------ Lily and Curly 415 Met. Opera ABC ____ Trea. Bandstand Sport Parade Doctors Today __
6.00 County Newspaper Newt-Lily A Curly Newi-Revellle ___ Sign On &: Newt 4 30 Met. Opera ABC ____ Sat. at Chase _n. Noro Morales Or. Musicana __u.
6'IS Whoofn Antics __u__ Farm Forum ____ Reveille _____u__ Sunrise Jamboree 445 Met Opera. ABC __ Sat at Chase Notre D. YS. U.8 C Musicana Av
6:30 Whoofn Antic. ___n_ Here to -Vet*. .- New -R.velUo .-.. Farm Newt ---. 5 00 Saturday Concert phiI.delphia Orch. Col.! Bon' ChoIr Ed..rdTomIlDSOn _
645 Morning Devotion --- UP *: AP News ? Reveille. _uun Georgia Playboy -_-__ I
5 15
: Saturday Concert Philadelphia Orch. Col Boys' Choir W Berqnist Orch /
7:00: New oil Miuio Yawn Patrol Kew-Mns. Clock New ._. 5.30 Cathedral Hour Philadelphia Orch. Kings of Highway L Herman Quintet v
'7:15: Whoot'n Antic ?n-- Slncinc Salesmen Musical Clock 740 Club ________ 5 45 News Com'ntary. ABC Philadelphia Orch. Kings of Highway Sport-Fishin News
7:30: shoppers Hayrid -00- Wake Up &: Listen Mews-Mui. Clock: Spot Summary --. 600 Supper Edition ._ ._ News __ Lloyd Bartletfs Or News Summary __
7:45: Shopper' :Harrlda --- News 00- -- ----- News-Easy Listnin' 740 Club "6:15 Sports Reporter _un Feature Musical Lloyd Bartletfs Or NBC Symphony __
8:00: Martin Aironaky, ABC CBS News ____ New This Mornin News. Mike Mike 6 30 Philo Vance _u nu Sport Pas of Air John Bosnian NBC Symphony _
815: Email Stuff ..-,__ Renfro Valley ___ Frankie Carle __ R.LtJbert.Orc'nlat 6'45 Philo Vance u_ -- Salute to Bong Sports Parade NBC. Symphony _
8:30: Small Stuff ______ lUnfro Valley Glee Club A Amb. Richard libert 7.00 Saturday Swing Club Uly &: Curly n__ Hawaii Call __ NBC Symphony _
8 45 New lSumm.",. ABC_ Breakfast BrtTltle Air Lane Trio n_ The Four KnishUOO 7.15 Saturday Swing Club Eye on Ball __ Hawaii Call NBC Symphony _
Who Knows _- New u__ Colleciata Band Story Shop _____ 7.30 Th Whoot Owl __n RomanceRomance __ Newscope Curtain Time __
>:15 Who Knows? -___ Bator Dr. Comes 4 Knights Story Shop _____ 7 45 The Whoot Owl Twin Views _Curtain Time ___ 4 M
"'30 Tom Thumb Follies ._ Birthday Party __ Robert Hurltlgh Coffee With Com 8 00 Tiger Den First Nishter Twenty Questions Mu. Modern Mood 3 i
945 Tom Thumb Fellle __ Birthday Party __ Helen Hall __ Coffee With Coon 8'15 Tiger Den First Nuhter .--- Twenty Question Mu. Modern Mood I
1000: U.:"S. Nan Band. ABC Late Listen ___n Dixie Four __ Frank Merrlvell 8:30: Saturday Swing Club Bill Goodwin ._. Concert Hour _. Mu. Modern Mood i
1015: OrowlBf reins _--_ Musical Pirn. __. Frank Vaster Frank Merriwell 8 45 Saturday Swing Club Ned Calmer Concert Hour Mu. Modern Mood 1J
10:30: HISS New .....--___ Mary Lee Taylor_ Shady Valley Folk Archie Andrew 000 Gangbusters. ABC Joan Davis __ Stop If Heard ___ :Alt Parade _____ ,1
10'45 Hlsh New* Mary Le. Taylor Shady Valley Folk Archie Andrew 9 15 Oangbusters. ABC Joan Davis stop If Heard Hit Farad _____ ,
11.00 Abbott oil Costello.ABC W. Sweeney New Bill Harrincton Meet th* Meets 9 30 Murder & Mr Malone Vaughn Monroe Name That Song WORZ Jamboree .
11:15 Abbott a>Conallo. ABC Let's Pretend -_ Bone Stylist Meet the Meek II 45 Murder A Mr Malone Vaughn Monroe Name That Song WORZ Jamboree .
11:JO Piano Playhouse. ABC Ad nture's Club Say With Musle Smilin' Ed M C'n.1 10 00 Prof. Quls. ABC -:---Eat Nits Serenade Chicago Theater WORZ Jambore. .0
1145 Piano Playhouse. ABC Adventure Club Bay With Music Smilln' Ed M'C'net 10:15: Prof. Quls. ABC Sat Nits Serenade- Chicago Theater WORZ Jamboree .O
12 00 Noon Edition ____ Theater of Today Pan Americana Story Tim. -_ 10'30 Hayloft Hoedown ABC Abe Burrow _n Chicago Theater Her.'* to Veteran 990 ON YOUR DIAL o
12:15 League. Women Voter Theater of Today Albert Warner story Time _u 10'45'Hayloft Heedown. ABC Moon Dreams Chicago Theater Dance Band -_ YOUR DIAL
12:30: The Am. Farmer. ABC Star Over H'wood Flight Into Put Horn U What You l1oo Non et Tomorrow Ne... 8porta Parade __ News NBC 990 ON I
12'45 The Am. Farmer ABC Star Over H'wood Flight Into Fast Home is What You 11'15 T. COUlD. Wash.. ABC Oilla. Roundup _u_ Morton Downey __ W. W. Chaplin __ 6:30: PM. PHILO VANCE. The noted detective, Z
1:00: U N Highlight. ABC_ Orand Central Sta Lunch at Sardis Nat. Farm. Horn Jl.30 Orange Blossoms n_ Oilla. Roundup Kora-Kractln __ Guy Lombardo Or. 6:00: PM SUPPER EDITION Charles Thomas seated at his desk is amused as his secretary and '
1:15: U N Highlight ABC. Grand Central Btu Lunch at Bsrdl Nat. Farm. Horn 1145tOranse Blossoms Otis Roundup Korn-News u___ Guy Lombardo Or. w
1:30. Our Town Speak ABC County Fair Band for. Bond Veteran Adviser 12 Olf 4sws The Owl Room News _uun Sign Off ____ "News u I7_I _L brings you the top local and regional news of the District Attorney Markham discuss the clues found G
1 45 Our Town Speak ABC County Fair un Americans Report en Europe 12 1* Th. Owl Room _u__ Dance Orch. ____ Desl Arnag tt: Or. I O in the latest murder case.! Be sure and have your A
300: Met. Opera. ABC __ Olv 4>: Take. --_ Olivernd Caroleera Music of th* Not 12'SO The Own Room ___- Dance Orch. ____ Adrian Rollini Or. a0 day, prepared and edited by WHOO's news staff dials set to 990 when this threesome becomes involved O '
2:15: Met. Opera. ABC ___ Otve 4> Take ____ _Clefel'nd Caroleer Music of the M'nt 12<"I* The Owl Room Dance Orrh. _. Mu Mermaid Room
2:30: Met. Opera. ABC Country Journal Bob Leighton'* or. Harlow Burgess Or 1.008110 OU n_________ Newt _n______ 'News--and Sign-Off C under the direction of Franklin H. Stevenson. This in one of the most thrilling of the Philo ye
2 45 Met. Opera. ABC _-__ Country Journal Bob Lelghton' Or. Harlow Burgess. Or 81111 Off _____ newscast_ sponsored by Martie Williams, Realtor. Vance stories rOhs
300 Met.. Opera,ABO ,.., MatherHousP'rty Wllllston B. Choir Orch of NaUtili I
3.15 Met. Opera. ABC Mather House F'rty WillUton B. Choir Orch of Nation
,.&-
TOP WESTERN BAND I riIT.1ir'f ''
514"i I :
I t tI VI
I -+ J ,oQ
LL- Jf f p a
: i ,
......H... .
=
0 990 ON YOUR DIAL 990 ON YOUR DIAL O ;
a f ,.
' 9:00: P.M. GANGBUSTERS. Blond lovely Nancy 9:30: P.M MURDER: AND MR MALONE. John
Douglas appears to be a sweet friendly young girL J. Malone is the famous super-sleuth penned by
She is but on the famous Gangbusters program she Craig Rice. His business is the law and when heusually
portrays the tough gun-packing gangster's takes a case, you'll find a cold corpse too hot to
r p.C boll or sophisticated babe. Listen for thrills and handle. ranc's Robinson portrays feminine rolls
chills and nationwide clues of wanted criminals. on this suspense program. The Wine Growers Guild
1. E. Waterman Co. brings you Gangbusters. presents Murder and Mr. }Ialone.DON'T .
.
r
i
wag tO /
_
THE WHOOT OWLSNOW
MISS THESE O
VAILABLE FOR ENGAGEMENTSDANCES 0 8:00: A.M. Martin Agronsky woo
aOs 11:30: A.M. Piano Playhouse
. PARTIES . SHOWS . ENTERTAINMENTS
12:30 P.M. The American Farmer
TRUE SHOWMEN, Shorty Shedd and the WHOOT OWLS 2:00: P.M. Metropolitan Opera
present top arrangements Western, hillbilly, folk songs .
7:30: P.M. The Whoot Owls ar I
FOR APPEARANCES OQ :
10:00: P.M. Professdr Quiz O I I
CALL, WRITE, PHONE I 990 ON YOUR DIAL ZO G (
WHOO ORLANDOTUNE O COMPLETE ABC PROGRAMS aa t
INCLUDING METROPOLITAN OPERA .,
IN
.
9900N
pl 990 ON YOUR DIAL! )'OUR
O orQgoaK
THE WHOOT OWLS RADIO SHOW o R -
7:30 A.M--- WHOO 990 dial
: --- on your
tf- "
-- t
_1
WHOO To Feature Saturday, December 13, 1947 < r1anbll turntnu &tnttntl Telephones: 4161 or 3-1681 Pcg
: t The rlaitdo Churches Junday : School Dr. Marshall Program C. Dendy, pastor !''Orlando at Worship I Optimists HearEmbalmers I Service Slated
Adventist Bishop. pastor the Re*. Fathers Harry F a m. Morning worship at 11 o'clock. Pre- of the First Presbyterian Church 9 Chief I
Turnler and Mark T McHugh. assistants. Christmas sermon from the text. Matt. _
CENTRAL ORLANDO ADVENTIST-RobInson Confessions: Saturday afternoon and evening 212. "When Jesuswas born There of Orlando will be interviewedby I, DAVE ENLOW i Home last Sunday afternoon, Including '
and Rotalind Avea. Fenton E. Froom 4and 1309. Sunday Masses: 7. 8. came Wise Men from the East . They Miss Lillian Simkus this I'I Church Eaitor: Orlancjo Morning Sentinel such Christmas favoritesas :< Discuss Funerals
minuter. 8.30 a m. Sabbath achool (Satur 9. 10. 11 and 12 o'clock noon Sacrament presented unto Him silt" Evening worship For Youth Night]
I' Orlando Youth for Christ will
day. 11 a m. morning worship. Guest of Baptism administered 1 p m. Sunday at 7:30.: Sermon text: Matt 1:23 "Be morning on the High News prgram Silent Night, Away in a Manger The funeral home of today represents
upeaker. Elder L. C. Ev&nx. president of afternoon hold a Virgin . Shan bring forth a ', hear Bill McGarrahan, outstanding and Jingle Bells. I!
Florida Conference. Farewell addresa. 3 son and they will shall call his name at 10:30: a.m. over station' kids' evangelist and Jimmie i a complete unit capable !I
p.m.Atlanta.speaker Elder R. H. Wentland of Christian God Emmanuel with, us.which" Christmas being interpreted music throughthe is. \\'1100. Johnson of Raleigh, N. C., todayat j Speaker on the program, spon- of housing every part of a funeral -I Monthly Youth Night servic_________ 4
CHRISTIAN-OCOeP. P. H Mears. minis dsT MYP meets at 5:30.: Report to News of Florida high schools 7:15: p.m. in the First Baptist sored by the Sans Pareil Class of service, Neil Franklin president will be held at First Presbyterial
WINTER PARK AOVENTIST-Meet in ter. Bible school: 9.45 a m. Morning wor- the pastor. the sick and strangers. !
Woman's Club. Fenton E. Froom. mlntster.II ship 11 o'clock. Secmon: "Four Needs of with reports from Apopka, Tampa Church. |, Central Christian Church, was of the Florida State Funeral Church tomorrow at 7:30: p.ml _ _
30 am. Sabbath achool: Saturday. the Soul. I i I CONCORD PARK METHODIST CHURCH I' Lakes Wales, Alachua, New McGarrahan has dramatized i Mrs. Gerald Forrest, William McGee I with the pastor, Dr. Marshall d_ _ .
11 am. morning worship. Guest speaker 1 -701 W. Concord Ave. at Parramore. I II i berry and others as far south as Old Testament stories before conducted the worship ser- Directors and Embalmers Assn., :
; I
Robert M. Eldridee of Nashville. Tenn TABERNACLE: CHRISTIAN-130 E. Central School I
William M. Irwin. pastor. Church Dendy speaking on the sufcjec!
Ave Oren Whitton. minister. Re. I:'at 945 ajn Moraine Warship at 11'OO I i, Alvah Fla., will be heard when thousands of boys and girls in vice. Singing was led by Mrs. told members of the Optimist I _
Baptist 22S Church S. Hrer.Bldg. Ph Ph.4303.2-0837.Office.9:45: Room Bible 5. a m Topic" Methodist: "Spiritual Youth Preparation Fellowship ForAdvent at Joe Williamson reads dispatchesfrom Orlando, both in the schools and j, Marshall Huff, accompanied by Club yesterday I This Is News.
WINTER PARK BAPTISTInterlachenat School 11 Morning worship Sermon 6'30 p.m. Evening Worship at 7.30 pm. correspondents! to the Win- in the evening meetings at the Mrs. William McGee. I I I Franklin an executive of the'II Rich Steck will read the
Conutock. The Rer. Raymond P. Iniersoll. topic: "Our Rork." 6-30 Bible study group. Topic: "The Prospects of Christianity." ter Park High School Production Alliance Church where he and I _
pastor. 9.45 am. Sunday schooL 11 7.30 Evening Evangelistic service. Topic. i I I Carey Hand Funeral Home said Scripture' lesson, and the eve| _ _
Dr. Vincent ,
which this 15-min- Bennett
Club of
a m. morning orshlP. Sermon by the "Can a Person tie Saved and Not Be a I II LIVINGSTON MEMORIAL METHODIST produces Johnson conclude two weeks of Wheaton -( ning prayer will be offered by I
pastor. 6:15 pm Tralnuic Union. 73O Church Member?" I 1 -Taft. The Rev Douglas Harrell. pastor. ute program every Saturday services tomorrow. |I III outstanding author and ( "It is a regrettable situation that Miss Betty Shearouse. _ _
pm. hymns evening with worshIP.brief ainsinc sermon. of Christian CENTRAL CHRISTIAN Cathcart & !' Church School 10.00 a m. No church service I morning. The rally will begin at 7:15: p.m. ,,I Bible teacher, former assistant to i the public knows so little about (
Rldtewood Ave. Dr. Paul C. Carpenter. this Sunday. j I I this week only in order to allow the president Wheaton College !'our type of business." ', Jon Sheppod. guest oloistv 'will_ _ _
LAKE HILL BAPTIST-Orlo Vista. The pastor. Church School. 9.45 a m. Classesfor I: will !! sing$ The Lord's Prayer by Hof ____ __
Rev. D. V. McAllister pastor. Sunday all ages Morning worship, 11 a m THE WINTER PARK METHODIST Presbyterian ChurchTo McGarrahan more time for his highlight a citywide : He discussed briefly facilities
school 10 a.m. Morning worship 11 a m. Evening worship 1:30: P m. CHURCH-Corner Interlachen and Morse unique Bible dramatizations. I II I Youth for Christ Jubilee Jan. 3 necessary to the efficient opera- meister. and the Chapel Choir o)|
Training union. 6:30 p.m. Evening worship Blvd. The Rev. Kenneth O. Rogers min Honor W. R. O'Neal to 11, sponsored by the Christian the senior high department will
CHRISTIAN MISSIONARY ALLIANCE- later. Christine Baldwin director; Elizabeth ---- tion of a modern funeral home.
7:30
p.m.LOCKHART Anderson and Delaney SU The Rev. H. P. Cole. organist J Archie Kent. Sunday Dr. B. E. Hicks of I'I Business Men's Committee. equipment and the procedure followed sing! Abide With Me. by Willis _________
A dedication service featur- new pastor
BAPTIST--John R. Chiles Rankin pastor. Sunday school 9 45 am. School superintendent. 9.45 a m. Dorothy Sikes. H. Monk arranged by Ira AVil|
.III. pastor. Sunday school 9 50 a m. Worship 11am. morning worship. Evangelist Jimmy church School. 11.00 am. Morning Wor- ing the presentation of a tabletin Faith Tabernacle in Pine Castle. !'I 17-year-old in handling funerals.
.. at 11. Subject of sermon: "A Travailing Johnson. song leader Bill McGarrahan ship. Subject. "The- Book of We." 6:30p : of W. R. O'Neal will is going into his second week of !,I Chicago high school girl and one son.The
Saviour and a Travailing Churchlisa 11.30 p.m. Young People's services. 7.30p m Youth Fellowship. Wednesday evening memory of the nation's outstanding marimba public Is cordially invite _ _
93.11-1 Thess. 2:9): ). Training union 6.30 m. evening service. Evangelist Jimmy 7.30 p m. Midweek service. There be held in the Bible School audio special meetings at 7:30: p.m. each University Club to attend this service. _ _ _
Worship at 1:30 p.m. Johnson. Song leader. Bill McGarrahan. will be no Fellowship Supper this month. I players will also appear on
p.m. torium of the First Presbyterian day. |i the
program. Saturday meetings
EULAH BAPTIST-Sunday school at I COLLEGE PARK METHODIST-Princeton Church tomorrow at 9:45: a.m. j ---- will be To Install Jan. 1
Church of ChristCHURCH held at First Baptist Prior to the middle of the 1
10 a m. Morning worship at 11 a m. BTU at Edgewater. Parsonage: 71S W. O'Neal served as superintendent An author and outstanding I i _ _ _
.
at 6.30 and evening worship at 7:3O p.m. or CHRIST-118 E JeffersonSt. Yale The Rev. H Maurice Felton. minister Church. and the others at the Al- Century cotton rags served fo
Br.. Curry cf Plant City. the new pastor Gilbert E. Shaffer minister. Bible Church School at 9 45 a m D. C Mc- of the Bible School for 48 years. student of eschatology. Dr. Hicks liance Church. New officers of the University almost thousand theft
will be here for his first service. study 1O'OO a m Preaching and Communion C.II. genera su..rlntendent.. Mr. Audent"Fredrick I will include discussion of the Club will be installed on Jan. a years as
11.00 a m. Preaching and Communion Moran. organist and choir director I II |I ---- ( basis for most paper manufa
LUCERNE PARK BAPTIST-Cor. Division 7:30: p.m.CHURCH. Morning worship at 11 a m. The Obituaries j| atomic bomb, prophecy and simi-- Sans Pareil Class of Central 11. at appropriate ceremonies in ture. _ _
and Raleigh SU. The Rev. Geo. A. sermon subject is "The Christmas Star." ; lar subjects in his campaign the club headquarters at the
Downs. D D. pastor. Sunday school: 9 45a OF CHRIST-Apopka. Bible The Youth Fellowship. Groups will meetat MR. JKRNERAL: W. PADCSETTLEESBI'RGMr. Christian Church will hold its
m. Morning sermon 11 a m. BTU 6.30p study 10 00 a m Preaching and Commu- 6 45 p m. Evening worship at 7:30 p.m. i i> which will continue for an in- monthly meeting and Christmas A n g e b i 11 Hotel. They are:
m. In the annex. Evening evangelistic nina H'OO a m Preaching and Communion : Jerneral W. definite period. George: Sipple. president: Henry I
sermon. "Signs of the Times" 7-30 p.m. 7.30 p m Revival meeting each evening FIRST METHODIST S. Main St. at Padgett. 7t:{ died Friday at the party at the home of Mrs. Royce ;;::0
at 7 30 Walter Henderson minister ---- Jacobs. secretary-treasurer: and
Both sermons by the pastor. Jacksori. Dr John Branscomb. pastor. i I Weimer, 1714 Charles St.. on Dec.
of the Seventh Avenue Church of Christ. The Rev Robert M Blackburn. associate. j home of his daughter Mrs. Irvini : Jack Pedrick chairman of the ..... _
Orlando Gideons will not meet i I 16 at 8 Class Pres. Bill Mc- 312 Park Ave.ci I
p.m.,
Miami doing the preaching.
Mills St.
"NORTH' PARKBAPTIST-N. 11 a m Text: 'C ounce to Stand. 7.30p Ward, west of Leesburg.
.*. Woodward Ave W. R. Clarke pastor. m Text "Why I Am A Methodist." i! I'until after the first of the :year, I I I Gee announced. i board of directors. I One Block North of the Postoffic: ,
9 45 am. Bible School. 11 a m. Morning 1 CHURCH OF CHRIST-Ocoee. Bible 1 9.45 a m. Church School. Morning service -! A native of Lake County, Mr. ;: Pres. A. P. Swaidmark announced I New directors include V.'. J. .
OraUtude worship with Expresses sermon Itself.by "pastor 6.30 "Real pm. 1 study 11OO 10: OO am.a m. Preaching Preaching and and Communion Communion -- broadcast over WLOP. >i Padgett was a lifelong residentof I i I i Chaplain O.: H. 'Gerstenkorn of Steed R M. Howard and Dr. Handkerchiefs ________
Baptist Training Union. 7.4S p m. Evening j I 7:30: p m.I 1 CASSELBERRY COMMUNITY; METHODIST Lake and Sumter Counties. i ---- !:, Florida State Sanatorium will Thomas Butt. while holdover directors "
to.the service Blind.with" sermon by pastor. "Sight I CHURCH OP CHRIST-Winter Garden. Sunday-The School.Rev.9 Nattl 45 a m.Thompson Morning pastor.serv- |I; A farmer. he also was a Spanish- I Dr. Robert McCaslin, Park I II II continue a series of Bible studies | are Leroy B. Giles. William 4 DAIUIC \IJ *
I Bible study 10 00 a m. Preaching and Ice 11. Choir practice Wednesday 8 p.m. i i American War veteran. Dial J. Rolfe Davis. Campbell -
and I Lake Presbyterian pastor, will I!I tomorrow at 3 p.m. at the band- II
Communion 11 00 a m. Preaching I
FIRST BAPTIST-Cor. Main and Pine I i Surviving are seven daughters I Thornal and D. A. @ LInEns }4___
Layton.
Sts. Sunday School. 9 30 a m. Morning 1:Communion 7:30 p.m. { CONWAY METHODIST-The Rev C. BCallaway. speak on the subject. How to Become stand in Eola Park sponsored by ,
worship. 11 a m. Baptist Training Union. I pastor. 9 45 Sunday School: 11 :Mrs. Edna Johnston Mrs. Clau-1 Great Christians tomorrowat the Christian Business Men's itnporrtu '
6:30 Powell: pm.Tucker.Evening D. worship.D., pastor.7:30 p SubjectSunday m. J. i Church of Christ. Scientist .Morning.45 evening!; worship.song service.7pm. Young People. die Ward. :Mrs. Minnie Clark and 7:30: p.m. in the sixth and last !I Committee. J. Dwight Peck and HALIFAX SELLS R.RERT .. "'-- ..\.1&.. "
morning. "December." He will FIRST-Rosalind CHURCH Ave.OF and CHRIST WaU St.SCIENTIST Sun-- Mrs. Grace Harris all of Lees- ,, of a series of sermons on some of'| Harry Wimberly are in charge of LONDON [TAP] The Earl of VkaM .. rjMonograming
bring service.an evangelistic Nursery message maintained at the at evening all day service at 11 a m Subject "God the Amelia ROADWAY Wm Harry METHODIST Moore-minister.Broadway H.at < burg: :Mrs. Hattie Lou Armstrongand the common problems of our day. the service. I j Halifax. former Ambassador to __ _____ __
Preserver of Man." Sunday school: at 11 j the United States sold Handkerchiefs for Christmas
services. M Tlnklepaugh. superintendent of Church :Mrs. Polly Mock both of I a Rubens I.
DELANEY ST. BAPTIST-1917 Delaney: am. School. 9 45 a m. Church School. 10 95I ;; Palmetto. and :Irs.'Hlie Mae i i i Dr. Marshall C. Dendy, First' Plans are being completed for 'masterpiece yesterday for the Arc Sure Te PtoaM.
worship. Sermon by the Rev.
I
St. Malvln C. Swlcegood pastor. 9 45 a m. Morning For Ladies and Gentlemen I
Sunday School. R. J. Kleser. aunt. 11 a m. Congregational Robert Blackburn. associate pastor of The \Voodard. Goulds; three sons, Presbyterian pastor will addressi the 51st annual missionary con- equivalent of $2 ..720.I PURE LINEN __________
Worship with pastor in charge. 3 pm. CONGREGATIONAL-Winter Park Cor- First Methodist Church 7 30 p m Evening' vention of the Alliance Church I
Tom. Center Hill: John Padgett, i i the West Palm Beach Youth for PRINTS
will be presented by
worship Program
Sunday School Rally with Holden Heights ner Interlachen and New England Avn.I :
Baptist Church. 6:15: Training Union The Rev. Louis Schuls. 8.T D.. Minister. 'the Steinway Singers a very fine colored Leesburg and Sidney, Palmetto; < Christ rally tonight, returning by here, January 12 to 18. The Rev. .. INITIALS EMBROIDERIES I _
program Mrs. W. B Morgan director. 1:30 I I Church School. 945 :m'top Morning worship chorus. a sister, :Mrs. Lizzie Brantly. i plane in time for his Sunday H. P. Rankin, pastor, will direct RADIO APPLIQUES
with the in charge. ChristmasInevitable.
Evening worship pastor 11 a.m. r : 1, : :
Wednesday. 7:30 Praer meeting conducted Pilgrim Fellowship 7:30: p m. TRINITY METHODIST Lake Mann. Dade City; 12 grandchildren and services here. the convention. WHITE HAND ROLLED _ _
by the pastor. Friday, 7:30 Christmas Prayer meeting. Wednesday. 7:30: p.m. t a m. and 7-45 p m. Douglas Harrell. pas- : two great-grandchildren. I I District Supt T. Mangham:: SERVICE 7. AND HEMSTITCHED
asked to I tor. Revival services each evening at 7:45.: j;
Everyone la bring an
program.Inexpensive gift and gifts will be ex- I EpiscopalTHE I' I Services will be held .in the The Rev. Douglas Harrell, Trin- will take an active part in the A Fast-Efficient: IJ We Gift Wrap
changed. There is a nursery maintained WALKER MEMORIAL METHODIST ity Methodist pastor goes into program. Featured missionary Guaranteed Work
Church
CATHEDRAL CHURCH OF ST. .* Ave. 11 a m. Text: Tuscanooga Sunday at I
2200 S Fern Cre .
s Visitors Welcome We
for all Sunday ervea. his second and final week of speakers will be the Rev. E. P. -- I may tempt
-
LUKE (EPISCOPAU-N Mam at JeffersonSt. "The Terminal of Hope 7:30: p m Text: 10 a.m. The Rev. R Strickland .COOPER'S I .
CHRISTMAS BAPTIST Christmas The Very Rev. Melville E Johnson. The WON of the world. J. D. Murray special evangelistic services to- Howard, missionary to French I but sever urge to buy.
will officiate. Interment will be I Ize
School House The Rev. Clyde Duncan D D. Dean The Rev. Robert K. Gumm. pastor !i morrow. speaking night '|West Africa and Mrs. Vera F. , Music Store 1 Petotker. Michigan. In the 11JIDJIIer. _ _
Canen. Third Sunday in Advent. Dec. 14. j every S
pastor. 10 a m. Sunday School. Cecil A I in Tuscanooga Cemetery under 'I W. Church St. I
George Tucker R.supt Hunt.11 a 7-30 m Worship Tuesday the evening Rev. 9 1947.30 am.1:30 Nursery a.m. The Kindergarten Holy Communion.Church Nazarene I the direction of the Page-Theus I except Saturday at 7:43: ;:; o'clock. i i Barnes, missionary to Argentina. II I !! - '-
prayer meeting. '.30 Friday Community School and Women's Bible Class at Cathedral i CENTRAL CHURCH OF THE NAZARENE Funeral Home. I i
Sing. Public Is Invited to any and all of School; Senior High and College Class -402 E Jackson St. Walter F. | Broadway Methodist Church
these. service 3 pm. Sunday Sunday (at Parish House. 11 a m. Morning prayer. Masters pastor Bible School 9 45 a m. I I I will hear the Rev. Robert Black- iI
School Rally with the Holden Heights Sermon by The Very Rev. Melville E Morning Worship 11 a m Youth Group MR. SAMUEL SPATZ I
Johnson. D D.. Dean. 4pm. RehearsalI Service burn. First Methodist associate
Baptist Church. meetings 6 30 P m Evening 7:3O:
I I 1 for Acolytes participating in Christmas pm Prayer meeting. Wednesday. 7:30: NEW SMYRNA: BEACH- pastor. tomorrow at 10:55: a.m. YOWELL DREW IVEY CO. IN ORLANDO
MILLER MEMORIAL BAPTIST 2025 Midnight Eucharist. 4pm Adult Confirmation p m Samuel Spatz 55 of Brooklyn
i Class at Chapter House. 5pm The Steinway Singers, an outstanding
W. Central Ave. M. D Jackson pastor. I
Sunday School. 9 45 a m Morning wor,: Rehearsal for those with speaking parts FIRST CHURCH OF THE. NAZARENE- I died at 3 p.m. Thursday at Sunny colored chorus. will pre-
ship. 11 a m. Training Union. 6:15: p m. i In Christmas Pageant. 6 30 p m YoungPeople's 1030 W Kaley Ave The Rev W. D. I South Hospital where he had ,
Evening: worship. 7:30 pm. Service League. 7.30 pm. Evening Croft. pastor Sunday School. 9-45 a m. sent the evening program at 7:30:
prayer. Preaching services.. 11am and 7.3O p m. been receiving care since Nov. o'clock.
COLLEGE PARK BAPTIST-Edgewater: Youth Groups meet at 6:30: p m. Prayer 30. I
Dr. at Yale Awe. Fayette L. Hall. pastor. Jewish meeting Wednesday. 7-30 p m. 1
Born Feb. 2. 1892. in Russia. 1 Bonnie Sweitzer and .To Ann
Sunday School. B 45. a m. Morning wor JEWISH-Congregation Obey Shalom. E I
ship. 11 am. Message by the pastor. Church and Eola Dr. Morris A. Ekop Presbyterian I i he had come to this country Davis! played their accordions for
Training Union. 6 30 p.m. Evening: serv-,
Rabbi; Pinkos Noble. Rev : Sabbath services 1 about 30 He is sur- the children at the Parental
teL 7:30 II m. Nursery maintained daring each Friday at 8.IS p m. with sermon FIRST PRESBYTERIAN Church and years ago.
morning aen.tee.PAIRVIIEW by Rabbi Skop; Saturdays at 8:30 a m. Main St. The Rev. Marshall C. Dendy. i vived by a daughter.Miss Helen
Rev P. Powell
D the Jack
D. pastor
with Torah service and Kiddush; Sunda7Kell.lou.
SHORES BAPTIST MISSION School at 10 am. and Daily assistant pastor the Rev. Lindsay E. Mc- Spatz of Brooklyn. Arrangements
Fairview Shores. Sponsored by the College -> Hebrew School at 3 30 p m. Sunday Nalr. DO. pastor emeritus. 11 a m will be announced later
Park Church. School WORSt Sermon by Dr. Oir
Baptist Sunday Dec. 14 at 10 am. Chanukah Asf.mbIJf Broadcast over ) coiytnftitlyfocattd
9 48 a m. Morning worship at 11. Evening with Drndy "This I. News 6.30 p m. Youth Settle Funeral Home is in
playlets by Young Judaea Groups
service. 7:3O: P.... headed by Mrs. Lawrence Levy and Mrs.Luskis's i Vesper meetings 7 3O p m Evening warship "- charge. fuitrat
f Nursery Group; Book Forum for sermon by Dr. Dendjr: "Isaiah's God
horn
Adults Community 9 45 a m Bible School: White Christmasfor I provideshomelikecomfort
CatholicCHURCH at 10-30 a m ; Jewish
Council Radio Broadcast over Station Thornweil Orphanage. MI:. (". ii. LUEBS
OF ST. MARGARET MART WHOO at 2:15: p m. with Rabbi Skop. Mr. Charles
Canton and Knowles Aves.. Winter Park. GUI Bear and Mr. Meyer Shader. baritone GRACE COVENANT PRESBYTERIAN KISSIMMEE:; : :Mr. aid 0'
'The Rev. Father Daniel O. Resarty. pastor. participating. Conmay Road and Jassmme St. The Rev Henry )Luebs. *>5. retired Bell privacy.
Cpnzaaslons: Saturday afternoon and evening Jack P Powell pastor 7 30 pm Preaching -
... and 7-$. and before the Masses onSunday. by the pastor Song service led by Telephone> Co. employe and veteran
Sunday Manes: 8:30.: 10:30: and LutheranST. Col Norman Wood 6.30 p m Young of the Spanish American
11:30.: Children's instruction class '.30 PAUL'S LUTHERAN-Affiliated with People's Leazue 9.30 a m. Sunday School.
a>n. Saturday morning. Sacrament of the American Lutheran Conference and J L. Mallard. cuff "'ar. died at his home. 214 AlmaSt.
Baptism administered by appointment. the National Lutheran Council Corner ., Thursday. He is survived by ]
H. Church and S. Lake Sts. The Rev 0 CALVARY PRESBYTERIAN 709 Edne- Leubs.
fT. lAMa ROMANCATUOLIC-217 N. E. lAden pastor Morning worship at 11 water Dr 9 45;; a m Sunday School. his widow. Mrs. Jo
snge Awe Rt. Rev Man. John O. o'clock. The Advent Message of John theBaptist. classes f oraliaces 11 a m Morning Services will be held In the
I Church School at 9 45;; a m. Luther worship service. Sermon by the Rev. A. Riedel Funeral Home at 2:30: p.m --
I League at 6 p.m A Froehlirh Nursery conducted for small
children during morning worship service. Sunday. The Rev. M. E. Taylorof
; TRINITY EV. LUTHERAN CHURCH-E. Young Peoples Vespers 6:30: "Pat" Woodward Orlando will officiate. Interment -
*"* Livingston Ave. at Ruth St Albert H D. leader 7 30 Evening service Ser
rv Besalski M. A. pastor. 9 45 a m. Sunday mon by the Rev A. A. Froehlich. will he in Rose Hill Cemetery -
School and Bible Class. 11 00 a m. Divine
Worship. 12.30 p m. The Lutheran Hour PARK LAKE PRESBYTERIAN CHURCH -
(WLOF). 3.30 p.m. Junior Walther Corner of Colonial and Highland. Dr. JUNIOR
K> TRC NATIOUS ,League. Robert H McCaslin. pastor. Sunday The average American used -
School is held at 9 45 a m. Morning service "-
Iv HEAR Methodist at 11 OO a b Sermon. "More Than nearly 250 pounds of paper in J '_
Others" Pioneer and Senior Youth 1045.!
STIRRING OOSS MEMORIAL METHODIST-308 E. Groups meet at 6 30 p' m. Evening service .
Jackson St. The Rev. John T. Dingley at 7 30 p m. "Becoming a Great Christian Jl
6OSPCL MESSAGES minister. Church achool: begins at, 8.45. The vested choir under the direction of RAINCOATS
8". Morning worship at 11 o'clock. The mlnb- Mr J1mes H.mlltonII gIve the an- BLOOD TESTS for Marriageand
tar will speac on "The Keeping Power of hwn "And the Glory of the Lord" from Health Cards. -24-Hour
DR.VWLTERA.MAIERLUTHERAN God." 'Ihe Intermediate and Senior Metho- he MessiahSalvation ; ,1
"
... dlat Youth Fellowship groups meet at 6.45 Service 4\
p m. The evening service begin at 7:30.
Clinical and Research
The minister will speak on "Jesus, and ArmyTHE
HOURWITH the Little Folk." This is Loyalty night SALVATION ARMY CHURCH- Laboratory
for the Junior Church Sunday School 10 00 p.m. Morning mor- log E. Central Avenue Boom Z07 THE
THE -hip service 11 00 pm Young People'sService
HOLDEN HEIGHTS METHODIST-26th : 6 00 p m James Couture will bring Phone 5841 $25SIZES
LUTHERAN HOUR CHORUS St. at Orange Blossom Tratl-441. J O. hp message Street meeting 7.15 pm I
.
Carder minister. Church school at 10 Evaneelistic Service BOO p m. Captain CHINA I "
CVCftlT SUNDAYWLOF and Mrs E. H Ferking. offices to charge .:
115 E. Central Ave. DEPENDABLETYPEWRITER I .
-
MARTVisit ,
ELECTRIC AND GAS : UnitarianFIRST 9-15 /.c
UNITARIAN East Central at Repairs and ServiceOn
12:30: P.M. Rosalind. The Rev. William A. Constable All Standard MalinHOWELL'S the CHINA MART where
1.1I APPLIANCESNationally and the Rev. Wilma L. Constable joint
ministers Sermon topic: "The Quest for OFFICE MACHINES you will find GIFTS of the
Truth Community Forum at 8 p.m. in
TRINITY EV. LUTHERAN the church: Professor George Saute will lit So. Court St. -:- Ph. 4544JT1551x finest assortment of CHINA
CHURCH ; Known speak on "World Organisation.** GLASS and POTTERT for
119 E. Livingston Ave.. at Ruth St. -- -- CHRISTMAS at reasonable
Unity :
Name Brandsfo
Albert Besalski. M.A.. Pastor \ S
.
11-00: A.M. Divine Worship UNITY-S03 n. Orange Aye. The Rev prices. . _
9.45 A M. Sunday School Carolyn H. Parsons pastor. Sunday -: 4
School 9 45 a m. Devotional service 11 !! DIXNERWARE"Florida's
OPEN !STOCK 1
ST. LUKE'S: EV. LUTHERAN a m Subject. "The Immaculate Conception i
CHURCH IMMEDIATE DELIVERY Week-day classes: Monday Tues- China . a wonderful gift for
d.7. and Thursda7. 10 a m. and Monday Largest
_ _ _ la Blavia [Route <26< 2 mL s.w. .. 8pm. Book review Friday 2 p to. Two : ( .Iaaiu' and Glassware House" and her
Oviedo I APPLIANCE CENTER daily prayer .enleea, 12 noon and 3 : your daughter '
Stephen M. Tuhr. Pastor p.m. except Saturday afternoon.
8:30 A.M. English Divine Worship I. I DR. P. D. NAPIER 441-44S N. Orange Ave. 1 mother, for "junior" means #
9:30 A.M. Sunday School E. Jackson Phone 2-3736 Other Churches
10 JO A.M. Slovak Divine 531 Cathcart St. Ph. 2-OS7C .
Worship BRETHREN IN CHRIST CHURCH 1712 : -/
size and not ..
a an ; -
Cook St Charles ?lye. pastor. Bible I I age ; . -
School 10.00 a m Worship service 11'OOa '
m Young people'a meeting 7.OO -- -
p.m They're perfect and
You Are Cordially Invited to Attend Evangelistic 7.45 pm. practical J
II0PEN7DATSAWEEK 8 A. M.-ll P. M.
THE BUSINESS MEN'S BIBLE CLASS CHURCH or GOO-2200 S. HuM Ave with full, sweeping '1I ic ,
4 Sunday School. 9 45 a m. Morning wor- J
9:30 ship. 11 a m. Evangelistic service. C.30 ORANGE BLOSSOM TRAIL
EVery Sundayorniol"FIRST .
p m. I backs, the new collar, covI ;
- BAPTIST CHURCH ;at: I I : ,j c
COMMUNITY CHURCH OF GOD SOl .
W. Amelia Ave. the Rev. Laura V Hill i er-up hoods. Zelan-pro- Lr, : .aL. ; .., .
"We Will Be Glad OPEN AIR MARKET
to Greet You" Church School. 9 45 a m. Worship and %
preaching. 10 45 a m Christian Crucaders I cessed in Tattersall and f4,
6.45 pm. EvangelistIc service 7:30 p.m.
1 1905 South Orange Blossom Trail
;) west CHRISTIAN on Winter LIGHT Garden SPIRITUAI Road E. Adams miles L Central Florida's most complete variety ol fresh fruits and vegetables.I I lovely plain colors. Sizes 9 .
HOME AND HOSTESS GIFTS St Sunday. 8 pm "The. Lost Sheep." the C _ _ _ _ _ _ t
Rev Hess and other workers. Message to 15, similar to illustra,7
U For Gar, Christmas Giving and Entertaining for all The Rev. Thrash pastor. .
:1 Featured at : : : ; ; ; ; I : :' :
THE HOUSE OF HASTINGS lins KNOWLES College 9 MEMORIAL 45 a m. Morning CHAPEL worship-Rol tion.
I I Sermon b* the Rev Theodore S. Darrah I CHRISTMAS-CHRISTMAS |
"Coun lon
!' in Good Taste"k' Dean of the Chapel His topic will be
538 Park Avenue, South WINTER PARK Florida Pholle sn "And the Word Became Flesh. The
1d.T-r-t/ "> :' O-.2lill': .j Iii! :0 'iIifl!, <::.. ' 11,1, Menu Octet: will sing O. How Shan I Receive ij SPECIAL OFFER JS
three.. arranged by Luvatt. Prof
Alphonse Carlo will olftT a violin solo. V<
On Patio from 120 North Orange & 35 West Washington RELIGIOUS SOCIETY OFFRIENDS- JK Of my famous tree ripened citrus fruit Uj
Sorosis House. 108 Liberty St. 11 a.m.
I First Day. Richard P. Lochner. ; FIT FOR A "KING"
I Springs.ALTAMONTE Children's CHAPEL Sunday- School Altamonte in jg FROM MY OWN "KING GROVES" & 'V. -
the chapel at 9:30: a m Mrs. Griffen's
The Whistling Oyster I Bible! Class at the Community House at
I 9 30 a m. Regular Sunday morning warship J At 153; > Discount on 2 or More Bushels \
4b, I lUbject.at "Singing 11-00 am.at Chaplain Midnight."Menl '1 $j| Of Select Hand Picked Fruit s*.
- Wedding Presents WITl'otESSES--440 ORLANDO' COMPANY S Hughey OF JEHOVAH St Public |: GUARANTEED DELIVERY by special cars to principal j| I
talk Subject "The Truth About Jehovah's
- Christmas Witnesses Speaker D J. Richards Time ; northern cities and surrounding areas. XJ
Gifts IvegTun1oehcnssShop
3 OO p m Watchtower study subject "The :
Love of Man to Man Tim.: 4 15 pm. ks FOR YOUR CONVENIENCE WERE OPEN NIGHTS KjfXC I Third l"looi111t
A\n SUNDAYS TOO UNTIL 10:00: P.M. jsJ.V
ANY
gift that matters The Burmese name for Ran.
goon. "Yan-Gon," means "end of Call in orders-Phone 7267 or come to our plant at &
war." Ji HOI W. Washington fOt.II .
RECEIVED THIS WEEK: Miriam Haskell Jewelry &
_ _ :
Swedish Stemware French Evening Bags Dolls KING FRUIT COMPANY W
DR. P. D. NAPIER
Marghab Linen Churchill Throws Castleton China All Kinds of Gift Packs -:- No Order Too Lane or Small
Fine Christmas Cards, Etc. NERVE CHIROPRACTOR SPECIALIST I j ONLY THE BEST FRUIT SHIPPED 1
FREE tangerines: to customersALSO
I' Complete X-ray Laboratory I kc... We Sell Fruit for Local vie -:. Briac Ow Containers fe _.:.-3m'i.. Tb. s..'; Cb.cbt
The largest stock of fine china & crystal in the city. j 531 Cathcart St Phone 2-U7C i I l j
; ; ;I.I..r.' ; ; ;-I.;LLI.I.' ;>'
&!&(
n u u ////u// I J.1ir. ;.., ;...;.., ;... jo, ;..,. , , .;..,.;.., ;..,.
...
'i
_
-
( I fHontfng iit1nrt I THE MERRY-GO-ROUND |I THEY WILL DO IT EVERY TIME By HotlofTHE PUBLIC THOUGHT _
Published July. Labor AtOf except Day. ThankJCtvug Sunday. Nnr y and. !*QirUtma. Dty roortftel by Why Paratroopers DiedI WHEN A NEW VOU' CERTAlWLY HAVE' <T COMES IT /i-3. Bus Service To Station Would -
,
ntne'-Star Co. OrUndo Dally N.w.papen. lac.] at I3a
South Or cf. AY*.. Orlando n*. GAL DOG A JE-lgB4 THE D06COMES SHOWj; / Et ;'
Entered as eeond-clasa: matter at the Peat Office at I DREW PEARSON '
Orlando. rionda. under the Aet of Much Id. 1OT ._ INTO EELCATT.LAT AND V1PPER.LOOKS 1t'h Provide ChoiceEditor For Passengers
WASHINGTON-Here is more about the 800 STANCE// WOWWHarCONFOeAATIOM'J
TELEPHONES: : : Advertising. Want Ada 41U; EditorUL TrK; KENNELSVIPPEB LIKESOMEBODV
U. S. paratroopers shot down by our own troops : Several months ago; one
3-18S1.
General Information ffff t
Sub crlptu' B Price 35c per wlu II JO per mo. aagMAITIM over Sicily and the Army's attempt not to rectifythe LOOKS HIT of the readers wrote this columnin
.
error but to punish officers who wanted to EVERWCH J PROBABLY THE HIM WITH A e' !i4 regard to having a bus stop at
I
A..s.... Earrea AM. fvMJMia 2.ENs
i correct the causes of this tragedy.One 5EST POR& W the depot. If my memory servesme
6. W. lixrrr. Int. Ma. HIMIT IAIXH. Earreiuu. DitarrotCAM. of the men who took part in this Sicilian A CHAMPION THE SHOW SHOVEL right. he or she said this was
HOIRMAN.. MAMAama. IlL MIlTON J. Auirm, Aav. Ma*. the only city this size in the
airborne infantry operation and was luckythe i
CML MIL NOMHT COMSOMMI.SlC'TiUa.J. (
HAKM.I HAMILTON. country that was forced to depend
W. UMMOM. Cm Oa. MoL CKAIUS MUUN, PiiM Sun. enough to live through it was Lt. d2 on cab service to and from (
ROIUT f. WAITU. CUM. M... K. T. MH.LI. Trro. Slin. I :oL David Laux. Afterward he W4 the depot. I believe the bus company
toward
Member W Tka AiteeiaUd Prti directed his energies should extend this servicein
Associated Press Is exclusively en making sure that future Army the interest of the people. At
to the use for republication of all ransports carrying trooperswere least we can take our choice in
accredited to tt or not
-
dlipatehei" accredited to this paper and equipped with self-sealing fares in the face of new cab rates
en. the local news published Herein. gasoline tanks so they could not under the meter system.
rKhts for r" Ub11cat1OD of special be shot down so easily by anti- ED.O.
herein are alao reserved.
;, lircraft fire. A transport carry- i1F7' [ THAXK TOur!
6 SAT., DEC. 13, 1947 ling paratroopers must necessarily - - landlord Problems
Please make PUBUCTHOCGIIT _
low and slow therefore I TOOT
fly ; NF9t Discussed further letter brief. W*
I it is an easy target from Editor: "A Northerner" has! a would like them typewritten
the ground. no matter who is IW& vsfY! 4C piece in your paper recently double spaced If possible.
Our Program ; .firing. And the planes shot down headed "Golden Rule Practice On I THE EDITOR.
Elimination of Political Job Duplication Pearson over Sicily had no self-sealing Rents Is Suggested.:' ..
Lower Tout. Efficiency "I Goversmeal.TODAY'S tanks. armor plate or any other protection what The heading sounds good. I
I ; a aEcPAr
1'l'o
soever. C4 1M4it like it. If Mr. Northerner will The filth in many of the kitchens
follow it. he will be willing, to the vermin Infested food _ _
THOtGHTS However when Lanx was opposed on better pay twice or three times as much storage rooms and the sloppv'
protection for these planes, he finally wrote a for a room in the South he
as
Thou shall come to thy grave in a full age, way in which dishes and glasses
like as a shock corn cometh in in his season. letter direct to !Sec. of War I'otI mOon!! who 5C does in the North. I am speakingfrom
turned the letter over to one of the officers .0t-S experience. The man or are washed in luke warm instead
Job 526. :
: :
opposing Laux on self-sealing tanks-Gen. , : #2-13 woman who keeps roomers. :; of very hot water-all of these
An old and and Barney Giles.' And Giles Immediately ordered whether in the South or the are apparent to any one who ts
age serene bright, lovely as a
North does 'so for a I living as wellas
Lapland night, shall lead thee to thy Lana to Alaska.A familiar with food serving establishments
grave.- fun which he or she gets, out
Wordsworth : day or two later. after Col.: Laux had arrivedin Forgery SuspectIs Canada Allows Gift FruitChristmas of it. It is very seldom you find as I am. If they only
Alaska. Giles followed him up with an a wealthy person cleaning up 'knew most of the people who are
Community Co-Operation amazing 600-word( telegram, if Congress ever gets of after strangers who come to stay sick with "colds." influenza and
fruit in
shipments friends
gift to citrus to
ship
I
around to investigate, would be revealing evi-- with them a few weeks out of the more serious ailments can trace
citrus fruit to Canada valued Canada the
up during holiday sea
hope that some day Winter 1 I dence. Jailed HereRichard year. Five months out of the their infections to these eating
pVRLAXDOAXS to $25 are exempt from the new son in larger amount. will be of _ _
\J Park will be a part of the incor- Gen. Giles telegraphed Gen. Dale V. Gaffney Canadian import regulations. Alvin particular benefit to express year is about the limit of time establishments.
porated limits of this city but Winter Park, at Nome. Alaska, directing him to secure from A. '"o es. secretary of the fruit shippers. that rooms can be rented to We had one sanitary inspectoiwho
C. Gordon. 39.! alias Northerners.!' Many rooms remain insisted on enforcing the
Col. Laux all reports papers and letters relative Florida Express Fruit Shippers ""'hill' Canadian shipmentsfrom
justly proud of its identity, has other ideas. Otis Richard Gordon. being heldin vacant for S or 10 months because law. but the City Council quick'v'
to self-sealing tanks and paratrooper transports. Assn.. announced here yesterday.He our members!' are a minor
However that the landlords. who
should not and does not to
pre- : try threw him out of his job. Let s
Orange County jail in defaultof said he had been informed part of the business, nevertheless -
the demand for
the supply rooms hope that the enforce-
vent two cities from co-operating in mat- present
By this time Gen Gaffney smelled a rat. And 2.300 bond on a charge of by the Canadian MinJtry I they amount to many thousands during the rush season find that ment officials will be equally
ters which their "
promote progress.In being a tough Irishman with a son who was in passing five forged checks here. of Finance that gift of packages. Voges said. the season is during January' and courageous. and let's see if (he*
the meeting to discuss ho\e' sent prior to Jan. 16 The change in the regnlation -
a proposed a troop-carrier outfit he got on the telephone and is believed l to be wanted in oth :; February only. On this basis a too will lose their jobs. At lea.-
freeway around Orlando and Winter Park Mould he permitted under a which he announced waconfirmed that would rent for S3; in
I proceeded to bawl out Gen. Giles for sending Cot.I and cities. room their consciences] be clearA.
er Florida Georgia temporary change;:: in the reg- in a telegram rereited the North should rent for S12 to
for highway Xo. 3, representatives of the Laux to Alaska. G. OSTERML'LLERMarh
Det. Chief L. S. Rose said last ulations.Previously.. by the association! yes.terday $15 in the South. It should be
two communities expressed satisfaction at When I want any officers of lieutenant old U.S.-Canad- from J. W. Sirers"
an ,
I remembered that the room in the Street Transit
such conference and be colonel rank here I'll make them myself." night
a suggested they up ian agreement made it possibleto speaking for the assistant deputy North is held and paid for duringthe
said. "You don't need to yourself Gordon, arrested in Tampaon Problems Get Airing
held more'orten. he concern ship citrus gifts to Canadanot Canadian Minister of .'i- short visit to the South.
This is an excellent idea for out of the with sending them to me." information supplied h- exceeding,: So in value despite nance."Would. Mr. Northerner !says! he knowsof !' Editor: Look forward each
j When Giles remonstrated. Gaffney shot back: the curb establishedlast that bona- morning to reading "Public
import your
first meeting came a suggestion from the Orlando police, was said to Confirm a case where rooms are listed"
Winter Park deleation. for the creation of "Don't gi\e me any of that. Barney. What's ha\e cached checks in Valdoxtaand I month to conserve American fide Christmas gifts sent by persons with the rent control board for Thou hC column as you always
the matter. Has Laux got:: something on :you?" l'iuglas;:: <;Ia.. a<* well asKissimniee dollars held in Canada Vocesexplained. abroad to friends in Canada less than half of what is actually print both sides of a story. For
two routes from Orlando into Winter Park Thus Col. Laux, the man who tried to prevent St. Petersburg;::, "\\> announced thisto not exceeding $25 in value charged. He forgets. that these this reason. I want to add my two
which would not cross railroad tracks. future mistakes in the Army, sat out the Ocala, Tampa and Sanford. under our membership on Nov. 2o.:: ent prior to Jan. Ifi. 1048! are prices were put on by the Gov- cents' worth. There ha"e'been
This is one of the best suggestions we 1 rest of the war in Nome, Alaska, nearest' point the name of R. B. Williamson. he said. not subject to recently announced ernment when it had projects numerous complaints from a
have heard in a long time. Danger ever | to Siberia.' B. B. Hancock. K. B. The increased exemption. per import regulations," down here that kept workers party living on Marks Street
Hammond. H. B. Hard wick. II. mittIng Americans and tourists Sivers said. here the year around and that if between the Highland Lake
lurks at railroad crossings and careful as Meanwhile the Army had searched his files. Apartments and Mills St. This
-- -- ---
B. Hardwick. B. H. Hammond | the Government enforced the old
all be accidents i and frankly admitted they wanted to burn all '
may occur. and R. O. Gordon. j ruling it would have a revolution'on party doesn't want the bus to
his reports letters etc.. which demanded self- A LONG, LONG TAIL AWINDING its hands right here. Becausethe stop between those points as
In the routes suggested by the Winter I sealing tanks in troop-carrying planes. LauxI His practice dating back to a landlords would have to there is no sidewalk on the south
Park representatives the streets wouldbe I managed: to keep one copy of his letter to Stim- year ago.: was to put the initials either rebel or go out of business. I I side of the street and people getting .
opened through northeast Orlando to son, however-the letter recently published in "ACLRR" under each signature. New Comet Only Ordinary The Government would rather.' on and off the bus trample
enter Winter Park east and west of the this column.In Rose said.Greece. have an obsolete law disobeyed.ANOTlISGRL'NTLED. :.. the grass., The grass she speaks
Atlantic Coast Line and the SeaboardAir this letter. Col.! Laux told the Secretary of :'; of is next to the pavement there-
Line [Dinkey Route tracks. j War that there had been "criminal negligence": And Turkey WASHINGTON': [API An unidentified The result is that some comets LANDLORD.: I i I fore is considered city property
wanderer a comet come within seeing distance I In my estimation, as well as
may
i in regard to troop-carrying transports and that
While this would somewhat of I with a tail 7"i million miles long WHOO Reception others, this complaint is a yen
create "
a he. Laux. "was prepared to prove it. May Get Extra AidTAC"OL only once in a million years. Thisis has
-has been observed:; in Australia. selfish one. An aeed:: lady
scenic drive, its real value would be in the However no investigation was ever made And scholar everywhere have too long even for Dr. Abbot. To improve Soon been boarding the bus at LaurelSt )
possible saving of lives. If it saved just one Meanwhile. Brig. Gen. like"' Dunn. who was : \. Wa-h. (fTP) GeorgeC. shown polite interest.. who i is 75.UofF : Editor: I would like to know I every day but now is forcedto
in a lifetime, it would be worth all it cost the reduced in rank when he protested Army McGhee. State Department Which show how much times why your new radio station i I walk either to Mills or to the
communities. However, its creation wouldbe failures three times was later recommended Coordinator for Aid to Greece have changed.: ProfessorTo WHOO with 10.000 watts carries |, Highland Lake Apartments as a
of considerable economic value. and well for promotion by the Navy. He has never been and Turkey, revealed last night I'ntil mankind learned about such poor reception where I live.' result of this selfishness. To go
worth the expenditure to construct it. promoted. Nor has the Army done anything that Adminstration officals are them, a comet was about ns : Address LocalBuilders' which is only IS miles from Or- even farther this party wants
the bus taken off of Marks St
about some of the high-ranking officers who still "giving serious consideration . welcome as a tax collector with | lando.
: '
run the Air Corps and whose gambling with the !smallpox.! I During the daytime the reception --entirely. For someone owning
How Orlando Got That j people's lives is probably worse than Gen. Bennett to the question of additional aid For man used to study the ExchangeThomas is fair but at night it comesin j''not only one car, but several that
Way I Meyers'! : gambling with other people'smoney. to Greece during the present fiscal skies for heavenly tips on his Larrick. professor of and fades out and wobbles. complaint is understandable who don't but
YTO-A'S CHAMBER: OF Commerceis i .,'ear." earthly affairs, as astrologers. architecture at the University!': of I I1 have tried it on two sets, a | how about the people
D Quite a few good officers He told the Tacoma World Affairs still do. And a comet. barging in Florida. will be the featured !six tube and an eleven tube and and now have to walk several
are now
young getting -
interested in how Orlando "thebeautiful" blocks to get this bus.!' especiallyin
Council the $300 million the the Several
unexpectedly. usually was interpreted speaker at monthly meetingof found it to be same.
recognition in the Army and are doing A-l
got that way. :j voted by Congress last Spring to mean famine. war. the Central Florida Builders' persons that I have talked to... bad weather? Being a working -
The other day an official of that or- jobs. But when it comes to ousting those responsible -' after Pres. Truman's historic plague and assorted disasters.Dr. Exchange Monday at 8 p.m.. at !say they are having the same girl and having no car. I can
for fine
tragic the old brass hat our
ganization asked The Orlando Morning errors protecth'e Stop Communism" speech may Charles Greeley Abbot of the Chamber of Commerce Bldg. difficulties. Can you explain certainly appreciate know
Sentinel for information association still operates. not be enough to keep Greece the Smithsonian Institution. is Fred Fortes. executive secretary -I! this? transit system. I happen to
some on the sub- * i that the manager of the High-
j I afloat until the current fiscal one of world's leading authoritieson said it would he an open !, H. L. WESTERj :
ject !, When Chuck Luckman held his first conference year ends next Tune 30. the Solar System. But he tolda meeting and all persons especially j Lake Mary.fEditors land Lake Apartments DetitionecrtV
Well we sent over the story of how as food czar. one of his severest hecklerswas ----- reporter yesterday we still veterans interested in the I [ note: We are still ona unceasingly for Marks two years St. for to the gE'tthis
somebody way back in the pioneer days decided Izzy Stone of PM. When Chuck Luckman Teenagers Held After have a lot to learn about comets. .building industry are invited to test period. Our coverage or benefit bus of on her guests. And now
to plant some azaleas in the park bowed out as food czar. Izzy was one of many Partly it's because they take in attend. our !signal was !so' powerful at this-why must people be so
[Eola] which the late, great Jacob Sum- who came around to congratulate him on the Killing Older Brother so much territory. They have Members!' of the organizationare first that the Federal Communications selfish? It's things like this that
merlin had given the town. swell job he had done . The Luckman Food GADSDEN. Ala. |fI'P] SheriffIra been known to approach as near urged to bring employes with Commission ordered us makes one wonder why our boys
them. The annual election of of-
Committee served without salary and with most C. Ballard v'Stenlahdrl' two as fiO.OOO miles to the sun. There to put resistors! on our towers.!'! fought this last war.
Col. H. H. Dickson, pioneer road builder ficers and directors will be held.
Harold. wander almost
brothers 15. and Leon are : they -
'guesses may
of them paying their own expenses.. i I These we are now fightins IRATE BUS RIDER
and father of :Mr. H. N. Dickson, con- Rrew>:ter. IS. for the fatal shooting as far as the nearest fixer! tooth and nail to have removed. Colonial town.
tributed the azalea ravine and others have I' John Dean. a 16-year-old high school studentof and clubbing of their older star or 25 millions of millions of Cab Driver Dozes; Have faith and patience. Our
added spots of beauty from time to time. Charleston. W. Va who recently won an essay brother. Lewis Brewster. 34. during miles. night coverage will be improved Reader Agrees With
Meanwhile, The Orlando Morning\ Sentinel, contest on what place organized: labor holds ina they a killed family their argument.brother. They after said heatl'aneed comet This. take rattling time: alone, eten at for:3K.1 a Four Workers Hurt we feel !sure' within the next fuller Warren Stand
years ago sold half a million small azaleasfor democracy.. called at the White House recently upon them with an miles a second. which is par ATLANTA !ft'Pl A taxicab few weeks. Remember to aborna labor Editor: I was much pleasedto
10 cents each. These flowers today are accompanied f by Sen. Harley Kilgore and Eucene. open knife for the comet course plunged through the guard railing babe there is always read the communication of
Carter. president of the West Virginia State Federation ---- -- - pain) of JacksonvilleHe
Warren
huge specimen plants which cover yards in ------ around a manhole yesterday Fuller
of Labor. four workers. is really a great man and
all of the injuring telephone
parts city.
; And when the youngster Informed Tru. Guard Enrolls 79 Injured were William Ollis!'; Elton. Closer Inspection isn't afraid to come out and show
But, all in all, it is the people of Or- 1 man that he was a student at Stonewall .Tack- Company 24. Frank B. Lemon. 25 Jack Of Cafes Needed his colors. Every fair-minded
lando who desire their city to be beautifuLThe son High School in Charleston, it caused the James and Robert Vincent. Elton Editor: Thursday's paper reports person is sick and disgusted with
housewives and the heads of the President' to drop an interesting bit of American Seventy-nine recruits!' were en- Day by the State National Guard. and Lemon were seriously' hurt, that the city finally got I this warmongering.The .
Werner of four with fractures of both legs. around to closing: up a restaurantthat politicians with their ear
houses of Orlando will buy almost history. rolled Company K. 124th: In- was one top
any The cab driver. Floyd Green. to the ground. think it is
kind "Coming from a school with a name like that." fantry. :National) Guard. duringthe recruiters in the all-Florida contest was operating after the always
of flower sell.
one wants to dozed off and "down ",ithRussia"
said he must have revoked becauseof a popular slogan
awarded the license!': had been
two-months' he Orange
| he said "it's rather appropriate for you to be the recent contest to
failed{ the red around and have read an issueof
to see lights unclE'anlinesThis'\ is what I
We don't know the effective strengthof Bowl .
whether bringing trip.Second
Daytona plansto winner of an essay contest on democracy. Stone- if the
manhole. He it. but voters
charged
the was would call gentle slap on the
in a ;
the local I unit to 79 men. Capt and third places
emulate Orlando's azalea and camellia- wall Jackson and leader.
was a great man a great the local contest won hy with running through a red light wrist-an attitude that is quite know their business mostof
Fred G. Kuhlman. commanding were
planting, but we do know that what has "Young man. do you realize that when Stone- officer reported yesterday.The S-Sgt.:: Gerald' F. King: with 12, and reckless!' driving. characteristic of this administration them will go back to the farm
been done here may be done in almost any I wall Jackson was your age. sixteen. he walkedall new. recruits, Kuhlman and ("pi. Jack C. Roberts with after next election. They are
Peninsular Florida. the way from Charleston Washington and If the license had to be revoked there voting to send money to
city in Daytona already said, bring the unit to 40 percent eight.;:: -
sat the of the of War until Famous Names Still while veterans!'! are
Europe
on steps Secretary because of unsanitary conditions -
Kuhlman said there
has its own type of beauty; its sweeping of its authorized strengthof ; were openings -
he was given an appointment to the Military the revocation should searching for shelter. The Administration
IRS men. : for 100 men in the company .
golden beaches are incomparable and its Academy at West Point?" : S-Sgt. JosephVenier.,, Sit and issued! an invitationot Making HistoryST have been accompanied by a sub- has sold the idea to .
wooded trails along the Halifax River are j' Young Dean said this was news to him. but j Magnolia Ave.. was credited all veterans and nonveteransto LOUIS (API! Bearersof stantial fine. Thereafter if the the American people that th4*
picturesque. I'j he planned to tell his classmates all about it. with winning the local contest attend unit meetings .at the famous names enliven the owner in clear violation of law Communists are going to ger
i iwith 39 recruits. in return for National Guard Armony on day in the court of Circuit insisted on running the place them. The Reader's Digest
which he was awarded a free trip Thursday nights at 8. The National Judge Waldo C. Mayfield. without a license the closing up .January 1947 gives; 14,000egls
INTERPRETING THE NEWS FROM RUSSIA'ColdWar'NotLikelyToGetHot should have been tered Communists in the United)
of the place
and tickets to the Miami Orange Guard is open to men of "Yesterday I sent Thomas
Bowl football game New Yeafs'Pr 1years; of age and over. | Jefferson Campbell to the accompanied by a Xiay jail sen States out of 140 million people
Think that and write
I Only by those means will one over
-& tence.
penitentiary, he said. The
Congressman tomorrow
the owners of these! restaurants your
ii i day before two defendantswere -places that constitute a men- May God be with you always
Benjamin Franklin and
ace to the health and even lives Fuller Warren.
I T J, M. ROBERTS JR. Communists could rally Russian economic conquest! in Ulysses"I wonder Grant if any more i of our residents and tourists business.- Tangerine. READER,
AP ccre gn Affairs Analyst' 1 enough strength. would probably Scandinavia but on the wholeit famous names will come be- b*' taught that we mean
In two years of maneuvering produce civil war And civil'war appears now that the Demarcation fore me today." the judge remarked i I .
Russia has failed to occupy any in France or Italy now would line between Rus&ian
important positions beyond'thoseshe contain a far greater threat of held and Allied-held. territory \ t Next defendant: Theodore I I
held at the end of the shoot spreading into a general conflict ha-. become the front for the Roosevelt Means.
ing war. and it begins to appear than did the Spanish civil! war. cold war. I ( Hour
that the "cold war" now will be which became a testing ground I !Installed 24
It will be waged! by the Allies I- '
fought out front which
on a is i I among the nations for World I .
becoming relatively stabilized. War II. Every Russian action with economic weapons and by Health Officer Plans Anywhere Servict
the Bolshevists with both economic ,
Developments in France and shows that she is coins,: to run no
Italy indicate that the weapon and sabotage Failure )
Commun immediate risk of that. Food Handlers' School -
of the Reds Ft
ists to"upy ance
not
either are strong into enough to pull Her reaction to the refusal of and Italy if that does pine to Dr George W. Edwards. city
country the Soviet
thus Iran to go through with a post be the ultimate outcome of thepresent health officer. is arranging sessions
sphere. dashing Moscow'shope war promise of oil concessionshas campaigns-will not pre-- here of a food handlers Eat. 1932
to all of
base for use economic attack Europe as a been comparatively mild. Al- vent them from fomenting school sponsored by the State NATURAL GAS FOR
the
remainder of the capitalist on world.As though the situation in Greece strikes. trying to dry up any ex- .5 Board of Health. at dates to be
remains serious. there are some chance of goods between Western .ai announced he said
pointed out by a Congressional : !! yesterday.I HOME OR BUSINESS
Subcommittee, there signs that the Bolshevists are Europe and the foodsurplusareas The course' is I YOUR
remains -
the permitting the guerrilla war to under Soviet control. and restaurant employes the wrong
thf'do fail possibility to take that o\er if die out. and every sign that they doing everything else possible to and right way of doing their I S FASTER COOKING
have no intention of permittingit foster a collapse of the Western work.
and :: C REFRIGERATION
:France Italy through; quasi SILENT SERVEL
to develop into a general Bal world. They will keep it up perhaps -
the
legal means Communists
:
kan rumpus. for until it S ECONOMICAL WATER HEATING
might resort to force. Thereare years succeedsor Seaboard Security Okayed
two factors, however, Moscow's attitude toward Tur- until they are beaten bv a WASHINGTON (lAP! Th Interstate I I MODERN AIR CONDITIONING
key has been much less belligerent demonstration that people
everywhere ,
which militate against that. Commerce Commission
CLEAN HOME HEATING
First, it is increasingly l obvious since the Turkish Army became have more to pain under '" yesterday! announced approval
for practical an Western Democracy than under CAPT. di--officer;; of the Orlando
that the support the Communistshave purposes FRED C. KUHLMAN, commo -- of a new $7.500.000 railroad equipment
obtained among the French advance outpost of American any sort of Totalitarianism.When Notional Guard unit, presents two tickets to the Orange! trust certificate for theI Natural Gas and Appliance Co.
and Italian people is economicrather I military power. Molotov demon the time of that decision Bowl football game to S-Sgt Joseph Werner, who was awprdeda I Seaboard Air Line Railroad Co. j
strates fear of the '
a great
results -arrives it will also bring theshowdown
and SANFORD
than political, that no
if he forces unilateral Allied free trip to the game tor winning the two-months recruiting J ORLANDO
whether. if beaten
great proportion of the popula I consolidation of the Western Ger on 39 Left Kuhlman Rags which once were virtual- 1249 N. Orange Are. FU. State Bank Bldg.I .
contest to
by obtaining recruits. right: ,
tion In either country can be in the cold war. the Reds will resort j" ly the only source of paper pulp :;
Phone
persuaded to revolt I man position. to a world war in one last i S-Sgt. Gerald F. King, contest runner-up with 12 recruits; and'i i now supply only about three per I Phone 4678 U5JIrIaitha
Secondly, such an attempt, if I There is Mill great fear of pasm of revolution. i Werner. i cent of that used.
... ..
A .
Saturday, December 13, 1947 fHnrataa &nitnrl Telephones: 4161 or 3-1681: Page 7 Bay Bridge :f.lans. Stalle
- - -- - - ---- ----- -- I
__ Out-Of-StateStudy Bid Gets BackingTALLAHASSEE Work Fatality ST PETERSBURG ( Artle- I mg one single rompi ( ::
the entire
issueYeterda's
proposed bridge across lower
/ f AP 1 The (institutions and guaranteed by Toll At 107 Tampa Bay from St. Petersburgto bridge came after blow the against' authority tb|
Board of Control said yesterdayit ontract so that they would be Manatee County received a
Xi Ye ite DJ.YBee is ready to put into operation I available, to students from" FlorIda In Florida severe setback yesterday when calculation reported of that alternate through. plant a r
/ a plan to contract with out-of- --ic-;: from year to year.
not a !single" bond house entereda construction costs! of ih. spaj
State universities for professional I Henson Markham, Jackson TALLAHASSEE [LAPI] One .
had been reduced to sss.2tiO
bid
Shipping Prohibition Move Hits Snag I' training of Florida I vxlle board member, said there hundred and seven Florida men i on revenue certificates 000 and low bidder s'
students any time the Budget seemed to be an erroneous Impression 'which would have financed con- .
TALLAHASSEE [AP] The Florida Beekeepers Assn. appealed, Commission releases a $100.000 that the fund is to provide were killed this year while at i' struction. to !Mart to work. on the b.r.jof .;
with little success, to the State Plant Board yesterday for help in i appropriation.The scholarships, whereas it work, Chm. Carl B. Smith of the this figure.At .
enforcing a new law prohibiting shipment of second hand bee action came after Pres J actually was set up to solve a State Industrial Commission said 1 Members of the !St. Petersburg the original ope- .
equipment and bees on combs into the State. Ilillis Milter of the "n1'erltyof '; problem created when Florida- yesterday.: Port .Authority. !said thpy"f'rt' struction bids. cont> -
The delegation was told the Plant Board sympathizes with Florida and Pres. Doak S with no medical, dental or vet not. entirely surprised by muted proposals in e\:
the absence of bid from bond lirn.proved .'
SI5 million debt
the alms of the law to prevent spread of a bee disease, but it Campbell of Florida State l tnt erinarv medical schools of its Traffic accident claimed 27 .
has no funds nor personnel. to check all roads" at the State line versity reported thev had (ownfoun out-of-State colleges lives and 19 persons! were companies, hut admitted lack in a referendu.-.
of for the bond wasserious. Grazier said there .
and turn bark the banned bees.. worked out a tentative plan for declining to admit Florida stu- killed. by electric. !shock Ten. requests. .
a market for "municip!
The beekeepers were asked to draw up a suggested programof - rleni'To their crowded classes. died as a result! of 1)1..ion.| l i Other authf'ritmp!-
enforcement and present it at the January meeting of the Vets To Get AidTALL.JIASSEE "It is not to help any !student and 11 were fatally injured in Allen C Grazier fhe attorney for financial hoviipp; -
board. i [,\ll] who N. already I going to college . the authority. said next step millions in unsold -'
Hoard of Control agreed )'''*. ," Markham haid. "Plentyof falle. would be to determine whetherthe this type.Theater .
I terday to'I" war vets! 20 them cain go and pay their Nine were drowned or asphyxiated port group can legally call - - -
Club Board Check
Hears Barker Expects bond houses to act
as
upon
the if In. 14 had accidents with
rent of university own way they can get machinery -
per .
(Special' to OrTin-te Mrn -g::I $""..n1 1] [Spiol, to Orlondo Mom' Serf nell] and loans four perished in agents for the authority in selling Coupon Book' make t
!scholarships! pro.sided plane
EUSTIS William J. Barker TAVARES A check for .imphell and Miller were instvur'pd : SI 5 million worth of revenue Ideal Xmas (,iff. BuK 4nv 1 F1
by the :SfrfvidO: Huge : accidents, five were assaulted
.
S51.802 is expected by the baT- to enter preliminary dis- certificates.If State Theatre.
president-elect of the Lake County Board of In- )1 f'morioll'II Ofl. Originally:; the 'tn.'ili.nwith officials of other two were struck hy falling trees
and six hy other thi! proposal goes throughit
limited
Mount Dora Kiwanis Club hoard had participation falling object!
truction next week from the Statp colleges of medicine dentist .
. that these bond
in the fund to non-veterans. .i1Jl1T ..- and The Industrial Commission reported will mean companies
told Eustis Kiwanians this State. The money, which i-v veterinary medicinein :: WIll receive commissionsfor ;::
- --- the accidents widowed
week of food conditions in represents the county's sixth DR. J. HILLIS MILLER an effort to work out contracts
selection of !students to hont rV; women. left 02 minor children !selling bonds:: rather than; hav-
Europe. Barker served the installment from the State. . plan supportedThe guaranteeing admission of a certain -
to outside :schools and aio prepared .. fatherless and deprived IS dependent -
Red Cross as a field directorin will go largely for teachers'salaries. number of Florida studentsa ;
to look into contract terms
of of
parents a means
Europe during the war. ad t was paused! to help > pnr. FREDDIE'SFOR
with officials of other unuersi-
j.. provide education in specialized The legMathp art limit the !upport
.1 ties. courseshich no Florida State amount the. "State" can pay to Nearly. half the accident STEAKS
FSU Students To Study Ringling Collection I The Cabinet. Budget Comn. colleges offer rather than to establish 1flfO per student per. >ear. ff"rlar..d'. in Central Florida 7 MI..He Ch.ck.n.Orlando Shrlm"on Santord& Oyster HiwsySteak .' "Th. Time So, Keeps'1k.
TALLAHASSEE [IAPI] Art treasures collected by John Ririghng twice has turned down requests . : expensive schools for a :Markham said "the amazing though! :"Ft: took place in !South' guisE DINNERS $1.50 Up 1k.
late circus magnate, and bequeathed to the State. will he studied for release of the. 1917legislative few Florida students. thing is unless we had a great Florida. 21 in North Florida Cocktail Bar O0.n Sunday :2 ......
next Spring by students of Florida State University. :; appropiralion on Members of the Board of Control number of students" it always and se\en. in Northeast. Flor- and Package Clowd Monday
The Board of 'ontrol yesterday. approved. a co-<)perati\e. grounds the State financi.il condition said the purpose of the law will be cheaper to pay $1.000.a I ida.
t agreement which will permit FSU art !student. to attend. a would not permit it. "seems! to be not that individual student to some other institutionthan cent of the fatali- MGMs'DESiRE
The latest made students should receive benefits to build and maintain Thirty per Lff Meet At
request was a
three-week Spring seminar at the John and Mabel Ilinjlins;; ties occured within a 50-milp
Museum of Art at Saf-a..ola. by a group of Florida dental students hut that certain facilities couldhe costly Florida medical and dental radium of Tampa. 17 per cent TOM & JERRY'S
-
_ _ The seminar which also will t>e open to students of the university at Emory \-n \'ersity. afforded in these out-of-State college. i within a 50-mile radius of Miami, Package Cocktail Lounge
of Florida and to the public, probably will become an an- and 12 per cent in .?acK<=onille Grill
nual affair, FSt" spokesmen said. Smith estimated: the culont-< Roof' 17-S2-2 Blocks SOBtfcMattland
Figures Show Huge Citrus Yield Rise represented i an industrial I loss of Winter Park Cnderpati: Ph... US."
Rolleston To Speak Council To Meet : about Cl,12" 000 ME'
---- --- -----
''Special, to OrlonHn MTnirvj' S n'mel] [Sp-'0l' to Orlando M....rn.na Cn:: +.n..1!] Citrus acre,'gp in Florida now Florida Ia't !season nearly -7 iTOium hoxe-. (California S21.-
CLERMONT: JayCees GRO\"ELAXD-C'itv Council exceeds: the ai"re.iEP planted to dOllhlrd l l the national produr- too are:: TOfiioono; hoxP? : Tex TAFFRAIL CLUB Robl MITCHUM
will meet Tues! at The Gables will meet at the City Hall citrus: fruit thioiiRhout the whole lion in 19:1.:;. =. 112 ooo' ac IPL'vooom:!: ; boxes:: Richard HARTCitro'
to hear Bill Rolleston! State Monday night. A. S Brooks United States 22 years' :; "ago, fig The Florida production last .\rlzona. 20ooo) ) acres :;.: OII.OOII MoreHof
president. will preside.! _ _ ures released by the Federal -eason was f; .:i70OOO boxes as boxes; other States. 4.VX( ) acres! FLOOR SHOW Time
-- - I Bureau of Agricultural Kconom- against a national production 22 i 410000 boxes: nation, 818,000 S.\T. NITR
I 13 Veterans Barred | irs in conjunction with its years ago of -900000) ( ) boxes. ..icres lfl2.lW.000! ) ( boxes. ORCHESTRA FI"S :\II'SI AND ENTERTAINMENT. : CLOSED MONDAY
Disagreements Postpone monthly report show. The IninMii's report gives both Acreage planted to !
oranges
crop
_ _ _
Thirteen veter- _ _ 1 :MI WEST ON WINTER GARDEN ROD
TA IP.API
Cane Syrup Co-Op Plans [ .1. C. Townsend Jr.. agricultural acreage and production at five- :and production last season was:
IDS in the Tampa area have been ,statistician said yesterday Florida Near intervals during the period Florida. :270.OOO an's..1.. OO.OOO
QUINCV (t'PI| Disagreements barred from further Veterans had :3S0.200) acres of bearing: Horn 1010-20! through 19-tf>--I7. Itewers boxes; California, 210.200 acres Cocktail BarBkSsOTil
yesterday postponed realizationof Readjustment allowances under citrus trees last season compared California. Texas and Ari- :,;..li OO, ) hues: Texas.! 32000)() 4 Mi. south ... Z P.M.I .
the Georgia-Florida Cane the GI Bill of Rights because with a national total of /ona as well as Florida and contains -. ..u-res, 5.000.000( boxes; Arizona. On Orange SHO BOAT Dining Room
they falsely claimed payments. .t.S7.000( acres in 1\2! t.2i.: The national statistics on each variety 7.100 acres. 1.200.000) boxes; other I .
Syrup Co-operative, planned by \Villiam\ E Culbreath Jr. Florida acreage for the IT 16-47 'If citrus fruit. States. ".!'ino acres. 410.000 boxes: 011'" P.M. Op 'M>-.-L st Oar
Growers of the"two States at State Employment Service ason was 515.0X( ). Total citrus acreage and pro nation, 551.700: ( ) acres l1 ,!J8n.oon The finest In food at popular prices Enjoy the congenial Alexander, t Ragtime
meetings here and in Cairo, Ga. manager reported yesterday. Through improved cultural duction last !season was given as boxes atmosphere in one or Orlando's finest dining rooms. Band"
Principals were reportedly at praeliceuitriis production in follows: Florida. 3S9.200::! acres, Grapefruit acreage and production .1' Pe.'e -
Because of fires Americans lost .
I II III
I I -- ----- -- :s
last season was: Florida. 91- :
odds over location of the general enough work time during 1946 to 4
i (ooo acres. 29! .ooo.000 boxes: Call II ---
offices and blending plant. make 920.000 autos. Three More ArrestedIn mile* east of T0M0RR0W- ..
Soldier Weeps- fornia. 14f>m acres. 3.240.000 TROCADERO CLUB: ::! : on Cheney I
--- --- Extortion Probe JOxP!': Texas. so.ooo acres. :!::1.* OO.- I
- Dance to the brand new music of Wild Wind Reaps! (000 boxes: Arizona. 12.!}(00 acres DANCING Every | J KNOWLTOVShi ORCHESTRA Every
MAR I ANN A | I TP| Three more 1
SAMMY GOBLE & his orchestra MacDill noo.ooo ho.xe-: nation, 198.50(> Daily R I Sat. Mght. Cover' 50c Sat. night only.
_ TAMPA I IAP) : men have been arrested in the "acres.' !59.RJOOOO' boxes -Open III
TOSITE 8:30-12 P.M. Field soldier appeared be- extortion plot that threatenedthe Town..rnd. !said acreage II
fore Peace Justice Joseph G. life of a Graceville banker'sdaughter. !' BEER-FOOD-WINE Phone 1910-J3
planted to tangerines wa included -
-- LAKESIDE PARK Spicola yesterday! on a ;::: Sheriff Barkley Cause in the totaN for orangeseeept a * * * * * * * * * * * * * * I 1GENECELLYlIViNG
2t4! Miles South of Orlando on Old Dixie Highway charge of driving while in !said'; yesterday. in Florida the chief To Have a Pleasant Evening Dance at the i
toxicated. Cause! said two of the men |pi'otl tiring:; area which last season IN A
I "How much have you had Doyle Hines. 22. and Don lorri
;
had a tangerine acreage;: of SILVER STAR BARXMAS "
I
THE NEW LOOK to drink today, asked Spi- son. 17. had confessed their part :2.1,710 acies and a production! KB1GWAY
SEE cola. in a threat to kill Margaret 4.7N.fHNI) IM.VTS. : HOLIDAYS ONLY SPECUL: PRICES ON PACKAGE GOODS
Not a drop, sir; !" repliedthe Jones, 13. unless S25.0OO; was Florida, "also, had 4.500! acre- COCKTAILS BEER FOOD PACKAGE GOODS :l / Ma;!
at EL PATIO soldier as he took a stand paid. Harry (Crutchfield the planted to limel.it;; eason. vtthprndiictinn !'Ix1iIf'S: from City Limits on Cheney' Highway )f e
(onsulerable:; distance from third man. refused to make a totaling;: 17OOOO boxesCalifornia's k * * * * * * * * * * * * *'* * I MPona1I
--
---- ---
RESTAURANT .:. COCKTAILS .:- DANCING Spicola statement. lemon acreage last
Spicola: "I thought! you
3 MILES SOUTH ON ORANGE BLOSSOM TRAIL -- ----- season!' was!' given as' fififiOO acres. ,
aid you hadn't had anything THE HITCHING POST
f
.f'mon production in Californiaaggregated
I TO drink, I can smell it from Liquor License
1 n 700 ooo' boxes. I
TODAY hprp"SoI TAVARES, FLA. I
I'r: "I beg your par- Requests Shifts ,.., ,.
I \'". BRING" SATURDAYgt1; ii'nc 1:17011 MI.-'I"' didn't the soldier know which apolo- Okayed By, StateTALLAHASSEE nti'iiiiiFOR t 97 C SUNDAY Choice of Two DINNER Meats 97 C
"".k THIS AD \\a\. t theind 1 was blowing"Attorney I
[lAP] The SPAGHETTI Served Family Style .Opee 9245Geerg.
fit WITH State Beverage Department approved Srrred S to j P.M. All You Want-Just Help Yourself S.ndeO I
'" Plans To Ask applications for 17 new F Closed Monday Sundays-8:00 A.M. to 7:30 P.M.
liquor licenses in Florida during Rt. 17-92 Winter Park Affairs Of Bi Anti
.:::f and Receive One Sterling Silver -:% Mental Hospital Probe :N' ember Dir lames. T. Vocelle said most '",, ; 8 A.M. to %-'11) P.M.Week Days-Regular Menu 5 P.M. to 7:30: P.M. Tid 0noidoe I I"SON
SIMULATED DIAMOND s' :MIAMI II'PI| A State official of the new applications were for CLOSED"' : 1'-\Tl'RO'R'F.SI SG OF RUsTY"lT.iaooso'o'Iob'chood
to ask County I
\ osterday planned a THESUMMER
license for newly constructed establishments -
.2 SOLITAIRE ENGAGEMENT RINGS r- Grand Jury investigation of
in'the Dade County I SET HOUSE
"'
] $" '// '''.. n.'e ilmulttrd dlamllndo rrprrsrnt the utmostM claims; that veterans were sub- .
1 of modern tclrnrealrn Many sorltl leaders. milL -. lected to "atrocious treatment"in area.The I CHOICE -0005-
.t_: ::: -. a and our flnr t L people wear aimulatedjety :: department also appro'ptftransfer ,I TASTILY "REPAREDStukSo. Gary DUCK, I IN 39748.<< Orange
m i lamllndl and keep tMlr high rJr.d diamond In ... a mental hospital here. of fi1>!} licenses!'; including I Seafood. Fr Chrek.n- .....t' Starllnr' Blossom Trail .....to
I: j tyy: u"'lll Subject be amazed them: to COMPARE most any THESE kind ;: State Atty. Glenn C. Mincer those of 4* (consumption: of the I D..n 30 A.M. t..4 P.M We serve the) tame delicious foods from noon ti11bat W !
nI aid ha would give the R..nabl. .. you get during the evening.
.o VIm TOUR GENUINE DIAMONDS SEE: : IF ; jury a premises businesses! : and 15 package -
'; rOO CAN TELL THE DIFFERENCE! :1 WINTER PARK French
letter written Arthur Keenea
: '' & Many b.auUrul rlnn for and V" a veterans' organization by official. stores!:: 525 Orlando Av.. Killarnty K n.n.s 117I -M. rritd JUMBO SHRIMP 51.25 _
: .,t : Glitntle Display-Better Ring Sterling I or ------ -- --- ---- ., NOW
:;: t, Gold-Pillrd' Clusters a, nhnvn 1 9.t and up who said one ( exserviceman patient \ > ( ;
S Mrn Rlnr 1.'5 and uo. Prlres. oubJ..rtn "" \\a>= chained to a bed in FCC Meeting Time : :
: CLUSTERS: and MN.S: RINGS. 1 95 and up :: the :Mnnn Retreat Home. SWANEE RIVER r
Announced I OpooitSHI
%l Change
a. GUARANTEED I FINE FOODS I G'egn.., Pick .ii.
:1 [coOn'[ tO ()'!""",, M'rn nq bn' -<
4 All Minn Offend Ar. in Our.nt*.d LAKELAND: The December,. 473 South Orange 'Macom er Atfair'lIck
Sterling Silv.r M Gold.Fill..dALBERT'S meeting of the Florida ritrm Dial 2-0883 C.tSOOJ III I
'ommIion: will he held here "Loye And Learn"TyosonovDibomced
DRUG STORE I next Wednoidav<; at 1 1.10) p m mtrad ,
232 S. ORANGE = of at 10.)0; am. the UMM!
hour Chm. Rollie Tillman. Lake
9A.M.to7P.M."TIME" \Valp announced yesterday.He -j
said the time was: (changed!
because of a meeting of the com BESSER'S RESTAURANTWe
is here and it's for "YOU"FINANCE missions advertising committee Serve 2 Meals Dally
Western Reel Poultry SourCreamPumpernickie
u
A Rye Bread
f "''Y. .1. B Prevatt Tavare new IIS W. Church St. lei.. ZZ2ZWARD'S )
_ _ MUSIC: Yet music tonight ond advertising' i \ chairman. will preside ---- - CLUB CABANA
) ; at the committee meeting
j week of Orlando's
every doy evening -
LOANS ---- -- HOLIDAY INN
populor Fort Gotlin. :3 Miles North of Orlando
Lounge, Roy W. Whidden and Dealers Map Protest Ralfwav Brtirrro Sanford A: OrlandoOn Highway 441
Sybil Gridley on alternate evenings Hlgbwav 17-12!!
at the console piano from On Mileage ArrestTAMPA Open Surrla\" Closed Monday FOR YOUR DANCING PLEASURE
1 UP TO eight till closing. FULL COURSE
TAVERN: Al Rousch and Peck [APIV.. D. Harris CH"HE$ DINNERS $1.75 UP STEWART MARTIN )i U' ORCHESTRA
Morin behind the bar will mm of nearby Sulpuh Springs. vice- Phone W.P. ,nc., .:- Cocktail Bar ,
your favorite from noon till; president: of the Florida Trailer wi otir to lI.ouet, ..< Print Folios
J$3OOL. midnight. Miss Rossie Crisp to Dealers Assn., said yesterday:: the -- - -- -- EVERY NIGHTALSO
greet you. directors of his group would
DINING ROOM: Popular eating meet, here Monday to investigateand CAR OWNERS THE MOVIE BARA
spot adjoining the lounge serves protest an incident involving -
\.. On Honnenold Furniture. dinner /from 5:30: till 9. Miss, the arrest of a trailer driver Don't Be Denied the RightTo New Show Each Monday and ThursdayAND
1 Nadine Parer receptionist bids He said a driver hauling a
.T Equipment Notes Co- lakUI, you welcome. It's a date-see trailer to Tampa was stopped in Drive Your Carl THE BEST STEAKS IN TOWN
Automobiles Tracks etc you tonight. near Inverness and after a roadside Also! (hicken and Sea Food from 6 'til Closing
jail The best way to protect yourself -
hearing" : was placed in
New Cocktail when officials failed to collect Is with an American Fire NO COVER CLOSED SUNDAY
LOUNGE the mileage! tax. & Casualty Company policy. I I'I
REDUCED PAYMENTS SAVE MONEY-IIrinD YOu' ....t.r snCooaI
-- --
..
Borrow Pay Monthly Serxire N. -. T:M Midnight number.our. months to ayth.
Recreation Site "r.mium.DON
-L. t S 10004)U.M, S 701 5.! FORT Early "'1Jrh! :! : r.: rr.1I11JTi111"ryiii7:11jH'i'!'!! !" : ;;":I RJW]! 0J11ii; ! !IIIIIIIII1.E'I
_ _ _ tann! 10 ..$ GATLIN Completion Predicted MOTTPh. -- .
__.__ .__.___.._..._._,,_ _; 3110.10;tI8.118!III "" :147 17 t '11.3 I HOTEL i-py Ct: !\n\VATER Campbell member IP| of Co'itt the 8116 128 S. Court St. = For a Delightful Evening . :=
T M. RICHMOND. Manager
-;;qtp Rnad Board. and Joseph ii FLAMINGO CLUB
1P friendly, Private, Quick and Confidential Loan Service Houre Clearwater Mayor. iomt -- f
'I' pnnounced yesterday that aiii
"Famous For Flnt Food For 29 YearsPresenting "
Service is the Keynote of "TIME" .i .: ''re Negro recreation area on _- : Dangerous Venture
> P.nellas: ('ount'i e of Da
'TIME" is New-"TIME" Will Help You ( '\-P\\3\ would be com =: 3 FLOOR SHOWS NIGHTLYFeaturing 'THAT WAY WITI
-
(psfffl( next Spring the fir"t of -
". _i K i nd in Florida It i 1'= brins Today -
ffor Your Convenience we will remain until 8 P.M. ... ZL:21Louis :
open
I 515 Orange Ave.. North -" tKtpfi hthe- State RoadPRIVEIN Only : THE CARTWRIGHT TWINS-Dance Team
Tom Thumb
''every Monday, Wednesday and friday until ChristmasACROSS 'IPI" TOMMY RYAN-Tenor
------
vs. Walcott Fight = COUNT MAURICI Magician
FROM WE
410 Zinf 9"Thunder
TIME FINANCE SERVICE INC. TI.eI6t..e Mountain"With -- and Sophisticated Music of
Tim HoltTomorrowBill = JAY MILLER and HIS ORCHESTRAN
__
___
_ . -
u F.lliotWOMINC. New SerlalRialtoNOWHWHOfS
Wall Street Telephones 3-t50 anti 3-259
: ( "SONG OF OLD WYOMING" :, Cover or No Minimum . Except Saturday Night Cover Me .
Connected With
Not Any Companyof I I fIN TF1 IINH <)l OK| FIUMK IEV I : Phone 5910 . Dinner 6 Til Closing . Closed Sundays GUILTY"DA
Similar Name in Orlando III'' ...., -.'-. M.. ,SO. -'- "TOK1.... ROSF..... "' B\ RON RRR -.. OxM4SSFN. i ----- --- . .
. .. ,_ .... --,, ----- ------- .-- ,
("h.I.'n l' T. J. ("an H." r ("< al.' h. I. III ",TTv , : ; :: : : ::: "''''''''IItI''' .
?-
;;;
-- ------
Gambl ing nChampionipyPmd
--
.
-- - -
Page 8 Telephones: 4161 or 3-1681 Orlanoo! ? Corning rntmrl Saturday,.December 13, 1947
Pacific Coast ...
By BOB HAYESFa'e Husky Son Answers Louis 'Fears' LesnevichMore
Pte the Fort Lauderdale boy who looked pretty
Rollins last Fall and who ) tC' I 'Room For Rent'Ad
\\-ei{ -, ohman; i-nd with Pro Game Case
> Jl: I Hints for O'Hriens Pharmacy in a Class A i' > ::
potcage> | Glenn Bow- !! \v........ By Bob HayesThe Than 'Walcott
usteao u as: All-State eager last year.: ; . joe
.:W' .itll; hter. Shirley Evans are judging a dog show Robert M I Hayes fam-
F" .d"rdille today. . Gardner Lamed national intercolleg Comes To LightHONOLULU :; ily expanded to five members
at . Rollins.I l in the Sugar E yesterday with the arrival NEW YORK [UPTo] ? i.oui said! rr: =tci-Kv: : at a press conference
..! MIS: champion> now at : play of OHS will betoadies v r';'> : ; of a third son at 5'lo: a m. that Gus Lesnevich. ]lichr heavyweight champion. would _ _ _
I',. Tournament. . Coach Paul O'Xeil I i :'
Bow Gainesville . I API] A gridder'scomplaint at the Florida Sanitarium.The be a more dangerous challenger for his heavyweight crown in
today.
at thp" ( meeting in I latest: arrival in The June than Jersey .Toe Walcott.
Orlando that his team's victory
here at -
\nnual Florida State I Tennis Championships Orlando Morning Sentinel Louis who dethroned
was nearly last! Friday night( Walcott. .
TTHIIX Club will! start, here .Ian. 19. . Sam Hardman, cost him a wager although Sports Editor Hayes' house- said he and Wolcott were not':- ---- -- -*- _ _
I former KolliiiK. :grid; star, became the pappy of a hah girl last he het on it to win exploded hold tipped the scales at a matched for a return bout In '
I SatUKl.ij . Joe JuMicr, Tar baseballoarh, Poa)",. the Tar nine yesterday into a police investigation -' hefty nine pounds three June and that thorp \va; ;i good; litlr fight at Ma
I Will itpen .1 ilill"1 Hie ('lIh"1..iI)' of (JeorRia; here March 2122. into gambling on last Sundays I ounces The mother. Bessie. ,possibility that lhr\ would not i ibe (;a"'f'w.
I and pla) a slilf schedule, of big-time:; teams. . A Class!" AAAI (the former BettJane Wea- matched. He said Lesne\irh Ixniis.: natty in a grey. checked
I baseballiuti! i-eprrsrntati\e! was here this week bid-dogging a championship fray in the R 44.F dock I and infant son-for had an excellent ihance to be suit and showing practically no
I Rollins baseball! player. Tsh! Tsh! I thought there were rules! Pacific Coast pro football League. k5 ' whom poppa Bob is receiving selected as the June opponent facial marks:: from Friday's bat _ _
I against! -urh ('arr)in'o-on.:;!' . Pauline Beta and Sarah Palfrey The Hawaii Warriors won. 7-6. endless selections of Sitting at a long table in 20th tie. told reporters: III'..
I Cooke. two top women's tennis pros, probably "ont arrive inSanford and became league champs-but names from which he and Century Snorting: Club headquarters '.I would prefer to fight Wal--
the and the :Missus have to makea
squawking gridder sev
I for a few days )t't. . Irsss yet the Brow ombt'rsurl'ri..t'd iott because I think he would
eral of his teammates had tJhr 'ielection-are reported do-
wagered ,
I . 'aic newspapermen!' and give me les trouble than Lenevich. :>
that would ing fine.
they triumphby
photographers!; ith his statements Walcott had down
me
I There's a strong likelihood that the Jack Kramer-Bobby Riggs) 19 points or more. The Hayes have two other i
and the Cooke-Betz net tour may wind up being about Lesnoirh. It wa twice and he didn't do anything
pro net tour pro son"l1ke.: 4. and Pat. 22
The players, yet unnamed, the ('champion' first conference about it If Lesnevich had me
I one ant '.. arne tour. Eatin's hard these days. . Over in Day- months I
and Honolulu Ramblers ga\e with the |pt-c--s !jnrr don i t\\ in'. I know he would
tona o '- they call Turner Scott. long-time wrestling promoterand . '
Iho..t' huge;; odd although theWarriors Friday! night'si:;
bt :> ..11 here. Turner (The Great) Scott. . Central Florida tta :
had lost to the sameopponent !
Kernir" ir> s annual dog show is slated here at City Auditorium
the Lo Angeles
I the mile of January. . The re-match between Billy Kinard and ; Bears Cards
35-34 week
Bulldogs, just one ; SEC Bypasses Freshman Rule
Jimm> Cn"l1hrukIonday: night at Legion Arena. a Wilbur Stokes before. I ;
offering:; .: ight!: to be a lulu. They fought a much-disputed: draw tR tta VieForNFL
last ''imp 'Ji' . Detective Capt. Eugene, Ken Commissioner Still Not Named
s-ye- .
said he to 'P4'. .
nedy was preparing : *
Bear Wolf will tell Florida's high school coaches! today how ;,. .
r
they can help the (;ator athletic\ !situation while Dutch StanleyIs file gambling charges against 14 Western Title EDGEWATER PRKl1s: ,: f fAPl Action on a series: of pr,..
members of the Warriors. Gambling
gonna tell Vm what the I'ofF can and will do for Florida posals: ,: which would align Southeastern Conference regulat! ;.< -
by athletes althoughon CHICAGO The Western
high !schools. . Don Dumphy. who probably influenced a lot pro [API with those under consideration by the National: Collegiate AthJf'II'
themselves is in Ha )
illegal [ i\ iMon championship of the Na-
of people in his broadcast of the I/ouis-Walcott fight, worte a it ::"-' : : >:''': :;A W ':.:;;: <:''4: f'' 'i s!'-0'; ',; j/I"'if/ !>','.- F, tion.il Football I League will been Assn was: postponed yesterday l until after the parent group. nu"
in Xew York month I .. - --- --
for maga/ine just before the fight advancing waii.Richard next :
story a national !s1srt| :; W. Kellett. a directorof I led! Sunday! .1 t i\ic 1 show-
the possibilit of a Walcott WIH! . ,\Alberty, star the Warriors aid the boardof EX-OHS GRID STARS: Pat Pattillo, left, a halfback and Jim down between! the favored Bears The deferment tame aa --iirprise -
OilS trackman last sear, is one of Florida's best distance runners directors would meet last Robinson, right o center are two former Orlando High and the ;surprising:; Cardinals before at the aftE'rnoonp"'n of Denmark WinsIn
this jear..t strong: man in the Apopka High School night with League CommissionerRufus football stars who will participate in the annual Phi Delta a jammer! count of more the body's annual meeting a? it
football picture this jear was Harold Morris, assistant! coach, Klawans to decide on the Theta-S'gma Nu football game--a charity event-at Florida than 4..000 fans in Wrigley had been freely predicted in official I
who is i a former Georgia back and well-versed in the T. . team's future. Klawans is fly- Field in Gainesville tonight. Field. circles the revision! of theconference's
ing here from San Francisco. -A, .A, Each Chicago entry has won by-laws would be a 'A' LeagueThe
:Mel .Allen top baseball and World Series broadcaster, was All sources agreed that no eight and lost three games and mere formillit'v. It marked the
waterhi \ for, the Alabama. football team in imo.! . Powell Shef-- bribery was involved and that Sundays finale will determinethe second straight l year that the I''
fer former" OIlS buckfield star is a key backfield man for the I players bet only on themselves Gator Fraternities Clash Today Western titlist which will postponement was \oted. I ]IVnm.irk Sporting| GoocK
11th Airborne grid squad in Japan tied for the Japan Service !Ito win. face the Eastern champion for I'nder another action agreed:; I aiid Uumby Hardware hoop arrays -
None of the Bulldogs was in- the league crown, presumably on in executive. session staged! a hair raising nip-
1GAINESVILLE upon
League te. who will meet the First Cavalryeleven Sunday for rvv[ ('-'Tdp v '- '- --' Playing for Phi Delta Theta
the ser .,,',. crown. . Coach Ed Stack of Clermont High School volved.This. I I Thc annual; from Orlando will be Allan Hut- Dec. 21 Wrigley Field.If. Act ins::: Commissioner X". W.Dougherty I and-tuck battle in the nightcap
it was explained. is why how e v e r. Philadelphia'sEagles : of Tennessee will I nf the Class; !' A Loop twin bill!! at ?
was pre:tifed a .22 rifle by his Hilltopper football !squad' at theschool' Phi Delta Theta-Stgma :Xu football I hll1 on. tarkle. ]1'K) poundPat: :
.: '-mhly'ednesday.. . Gene and Harold Farmer. sixfootthree the Warriors were so confidentof game to he played here tonight Pattillo. left half. 145: James defeat Green Bay Sunday. continue in that role for an I I DaIS Armory last night. tup
an victory: they will tie the Pittsburgh Steel- selection Denmarkers eking out a 4Mb
easy indefinite time pending; -
will have six Orlandoans Robinson. center. 205.;:; and AndySerros. .
twms!': at Clermont. tackle and end. respectively, made '
for the Eastern and .
Guard 'Flash""ill1am.o:
crown a
prs Commissioner win on ?
of to
The Warriors ies of the teams' roster:: The !" tackle 165. a successor
saw mo
first ann second string All-CFC teams this The twins are among
year. will be necessitated the shot.
playoff nifty lay-up
the first and the l"th in series 99- John Hultin. halfback 150. and Mike Connor, re-
seniors and the only set of twins performing in the conference. . game were con game, a on with the '
following; Sunday league
will DP signed.It In the i n it i a 1 encounterO'Brien's
Winter Garden RI'C'I'.ation.n.. i Is 20x50 Tinred that in their second year contract. at the University Sam Vaughn end. 215.
erecting seven l ; title contest being shoved backto
meeting; they could beat the of Florida i is! played for charity in the Sigma Xu lineup. was generally; believed by Pharmacy. paced by
barracks i buildings:; to handle Joe EIIIIT'a<;hlnltton Baseball Dec.2R.. A similar change
: Bulldogs by a lea-f three with the GamE'\ ,lip Junior Welfare Lf'f' burg also has three representatives delegates that Dougherty would high scoring Pete Fay who garnered -
School<< students late in IalillarKI''lmm"e! High won'tfield would result! if the Cards and .
touchdown A number. of League and Junior Chamber in the tilt. .tack Bat- continue in office after Fred 16; tallies dumped a game
a basketball. team this ,..ar. "Xo gym," reports Coach Pears! played a tie game Sunday. JayCee five. 41-28. It was the
them made up a pot of $6nooand of Commerce sharing pro- I tle. back. 1 10. and George Han Russell] sports editor of the
John Coluniho. . TheVilliani'.on Football Rating; system instructed a Honolulu {'eeft:;. Sigma Nu has!' won eight ford. end. 100. wear PDT color!" Nashville Banner. said Thursday Winter Park lads' third consecutive
rated Florida's Gators. Xo. Ill oter the nation; put Rollins at 161, gambler to bet it on the Warriors and lost six in the series with while Herman Wink quarter night he had declined to permita win.
MiamI at 111 SteNon at ::0.), and Florida State U. at 501. That's to lead by at least set en three games resulting in a tie. hat-k.150. play for Sigma i Nu. Illinois RapsGraziano special! committee to recom- O''IEN .U (First I Cam. .YCIIS) (ZI'
ont of 781 I ratings..1. \'". (.Jimmi,,' Harwell, former Vandy points! at the half and 12: to - ----- -- mend him as governing head of IgittiI .. .. tl
Arnold I 1 0 :z IIruteU :2 :2 5
athlete and popular member of the Denmark ,softball" team, is 14 points! at the finish.
the 12-college league.EDGEWATER TYI.r 0 0 0 KI.kl.nd' II 0 0
pastor of the hutch of Christ In DaUona Reach..John Ix>ve- The gambler bet the Demaret Leads At MiamiMIAMI Smsth.rst 0 0 0 R Smlth.f 0 0 0
money Mot hf 0 1 I G Swofford' 4 0 I.y.
Joy Jr. :213! : S. Iljer a IG-jear-oldster, bagged a turkey' that among some of the 27.000 personsat Poll PARK, Miss. '-. .' 8 0 I'IJ Wbit.kn.t: 8 I 1WeUDla.
dressed out 21: |"'un.l.... It was his first. . Pat Pattillo Jr., Or. the game. but the amount of- '!'API] A pact between the Sugar Krlly.c ..' 0 O'0 0 0.Gools7.C Swofford! 0 2 8 0 GClbne.e 4 _ _
lando. Jack Battle' l.rrvls;: and >jrKey. MrClelland. Daytona fered drove the odds up. and he : [IAPI| Jimmy Demaret aban had a r!) and Dahlbender Bowl and the Southeastern Con 2 2 SLoci, 1 0 7Hsoeock4
Beach were members of the championship, Phi Delta Theta told the players he had to give of Ojai. Cal nervous as a poker 68. Other* at 137 were Ted CHICAGO. I JAP] The. Illinois ference appeared in the making 2 5 0 2 i0i'ennthgto.II D"bit." a .. 0 3 0 1 1Kieinf'iter.g GI
Intramural tntu-ti football team at FIrida..Julian Stenstrom 19 points. Krull.! Pliilmont. Pa.. Glenn State tthletltomm. yesterday yesterday!'; with the league's football - -I -- -
player with four aces hut rolling described as, "a complete farce" Totals II 5411 Total U 621I
Teal. Jacksonville and Ben in the
popular former Sanford sjMiitswriter' and currently a Stetsonministerial The Warriors led at the half. champion playing Score 117 Jel1oda)
cut the birdies shot a six-under- Ilogan. Ilerslie.v. Pa. j I recent Poll by the National each Jan. 1. I __ __ __ '
student has a 15-miniite sportsrast 0\rr Sanford's' 7-0, so got back about SI.100 on New Orleans!' game OBOes n H 11 5 8 1'1-41
Boxing Assn. which showed sentiment JayCees __ 12 1 7 a-41 ________
AVHRR at 6:13: ...m. daily. bets made on that basis. but lost par 64 in the second round of The years leading money winner I Sam Corenswet. president of nu
-. the remainder. the SlO.OOOJiami: Open Golf and a native of Houston. slightly in favor of }per the Sugar Bowl), in an informal 454 C._'
After the game. the bettor- Tournament terda'\' to take a Tex. Demaret readily: admitted rutting !Middleweight Champion address!' to the conference's annual DEIIIM.IIK'situ 1451 ,I SUM Y (..eMW., _ _
Famed Tennis Stars players suspected a sellout and two stroke lead at 132. that he was "nervous"!' he kept Uocky Graziano's return to the meeting pointed out that H..r.f 5 6 14 Kieblef> 3 I 7ssmpsoa2
Compete met to talk it over. Ed Furgol of Detroit pulled his drives down the middle and ring.The with exception of three 'years, 3 01 S 'R1IAbY iSseppri,' 8 304Koff.f 0 0C.
All except one player were into second place with a 68 his iron shots hitting the handkerchief Illinois commission was SEC teams had been invited to .,bU.f 1 1 3'RMarrl' 6 '115Den&lllon
/In Exhibition Play Here Sunday convinced that everyone had which brought his total to 131. sized greens.While . the first to bar Graziano becauseof all of the 14 games. lie suggested Helm..c C 0 3 0 3 'Ps5tet.1,1\1' Arnold, 5 1 2 I 11 4 ________
played his best. This one demanded Another stroke behind at IX the crooning Texan his war record. Several otherStates that the conference appoint L Skth.g 2 I LSiIta; I 1 1
Gardner I-arned and Buddy Behrens. a pair of Rollins Col- that the others pay him were two other Detroiters. Walter rolled Into the lead. defending passed similar resolutions a committee to sit; with Hudsoa.e 2.2151Wiiiisnsa.g 4''
lege tudetit; '": who hold! national ratings in the tennis!' world. will I I what he had hoped to win. They Burkemo. who posted a champion Sammy Snead as- which prompted the NBA to con one from the Sugar Bowl to "dis- J.1enn.a 0 I III .
play an exhibition match at the Orlando Tennis Cluh Sundayat refused. second round 67. and Sammy erted he "was awful' as he shota duct its poll. cuss things!: of mutual interest tou Totals -1112481- Total -n-12 46-
p on That player grumbled to Coach n -rd. with a US. Rating with the :JJ.3R--.l: for a HI total. His "In our opinion. no poll could ,. especially the distribution of Score bs perlOttEItenmark '
Ten'lab offi ials said the exhibition would be open" to the Keith Molesworth that although Detroiters: were Dave Douglas.::?; worst performance was on the have been'*more partial from itsinception. tickets! to the game." 8.513 14 310 10 7Dumb" 5dOOtfIIaiL '
that, admission will. - - ---- the Warriors had won the game Wilmington. Del winner of the par four 10th hole where his i the commission declared : George Swamu' and LarrrLanIY.
publn -c..r: no : .
he had lost his bet. recent Orlando Open who cardeda drive went out of hounds and he "and this commission protested
be charged ripate in the Sugar: Bowl Tour. Molesworth! immediately reported four-undpr-par cat took three putts for a six. vigorously the manner in Kennedy Top InBoys'
Vikings McMurry
Lamed. allonal Intercollegiate nament. I[ ( to the Warriors' Board Fred hansJr... of New Five players were bunched at which the poll was! being made. _____
; champion and 13th I Behrens. 19-year-old National of Directors. ()rleaiitrailer in the first! 1-T8. They were Bob Hamilton. Hurler Ranch Contest
ranking" plaxer in the nation, tied 137 with Kvansville. Ind. Jim Milward. Eastern
round. wa at : AHILE; E. Tex. |IAPI| Mis-
Junior Singles and Doubles The board asked police to investigate Texas TideExchange
will be making Ins linal! appearance two leading; amateurs.! Frank Three Lakes. Wis.: : Harry :Mid- I unbeaten
and cancelled nun \\illey College's
an ex WILLIAMSPORT. Pa. [API
before journejtng to :NewOrleaii champion as well as the National !Stranahan of Toledo, and Gene dlecoff. :Memphis.! Tenn.: Skip
hibition game scheduled with The Eastern League's double Vikinc.i'ld, ;: with embattled Me-
i *' win-re he will parti- I Interscholastic champion. is one the IKihlbender of Atlanta. Haas Alexander. Lexington; N. C.. and Grid Murry College here today in the
Bulldogs Sunday. pitching/: crown for 1U7? goes to
of the country's most promising "We blew this thing wide openin fired a 1\\\-par 7::. Stran- Claude Harmon. Palm Beach. Bill Kennedy. Scranton's flashy tirst anmirtl I B"\s' Ranch Bowl.
-- ----- -- -
-- --- --- -
\
Game MoviesAUSTIN
potential Davis Cup member. Hawaii'' said Kellett. "If League statistics:: released yesterday -
I 1.dined 21-year-old Chicagoan, players bet. even on themselves Rules Satisfy Cycle Racing I : Tex [API Texa and showed the Scranton ace WATER
.
\on. his! collegiate title by de there is always the danger they Alabama will enter their Sugar compiled the lowest earned run _
rating;: Victor Seixas in a grueling will be susceptible to taking Card Listed Bowl duel Jan. 1 sight unseen average of 2.62 tallies per game _
five,set match last June money to throw a game." hut they'll know plenty about and led the circuit in games won CLOSETS
.'er serving: in the Army and Grid Coaches each other ertheless.. and lost with a 15-2 performancefor _
lLIAM PENN p< ,)\ enng\ from a case of frozen Medford Battles For SundayA Coaches Blair Cherry of Texas: an .882 average.
( # -et and wounds encountered and Red Drew of the Crimson Two other pitchers won more 54500BATH
___: "m an exploding mine. Lee To 0-0 Tie NEW YORK [ AP] Football colorful Negro; motorcycle Tide have exchanged motion I games than Kennedy but suffered -
defeats.
coaches and players are pretty racing program has!: been scheduled -I pictures so they will know something more They were
R MERCURYOUTBOARD JACKSONVILLE [API Ied.ford's much satisfied with the rules as; for the Florida Livestock about building a defense Dick Koecher of the championship each __
Club and Edward
I Mustangs from :Medford. they are. I.ou Little said ypsterday lor the other.Pellone. Utica
Exposition Groun-ls halfmiletrack Garcia of Wilkes-Barre. Each TUBS
MOTORS :\Iaand: Robert E. Lee's Generals after studying! approximately -
battled 1 0-0 tie in Sunday. Dec. 14. The accounted for 17 wins hut Koech
SALES & SER'ICEHAGOOD to-tu an 1.000 letters and cards. program 4"i and 5 Ft.
) / pro a Philadelphia Phillies pros.
intersectional fofttball here Bows
game Little coach at Columbia is under the .sponsorship of
BROS. next season was beaten
list!': night in the Gator Howl. pect Complete with Trim
chairman of the Football the Orlando Ramblers Motorcycle -
eight times and Garcia 10.
21: W. Pine Phone 9664 The :Medford eleven unbeatenand
U Toda untied in 14 previous encounters Coaches' Rules Committee and Club is expected to drop To Williams Garcia also hurled the most $98.50While
each Fall he canvasses his fellow -
innings [2251, faced the most
had the ball inside the some of the top drivers in the
"FREE PARKING General; 10 twice during the mentors! for rules! sugges NEW YORK (fAP] Ike Williams batsmen |1"831.] !started' the most They Last _ _
!
South.
lions! ideas or innovations. lie .
sharp-punching lightweight games f29( |. pitched the most
with minute and ;
42
game one Cash Terms
t Just across the street from seconds to'play.. Medford gained compiles the answers and mails Leading the field of entries already champion from Trenton. complete games!' I 1191 and gave up or .
c I and for customers of possession of the ball on the Lee the results to the members as a in from Jacksonville, N. .1., gave Tony Pellone of the most hits ((219J.mIGIIT ).
Blended \efl. CARLISLE HUGHES five but an unnecessary roughness basis; for discussions at the an- Tampa. Miami. Atlanta and local Greenwich Village a savage LIBBYFREEMAN
Whlsisy. ,1.--: the"visitors nual meeting. 'heating in a 10-round non-title FUTUHK:
:- SPORTING GOODS }penalty put performers.!': is the veteraniloots' .\TIIE S. Ga; -If initial &
$5 Pisol65 fight last night at :Madison suc-
hack to the Lee 20 where the
% Grau, ,;' -. :. (;pnerii Is held.Auburn Basketball Results Stocklin Square Garden nearly !stoppingthe ': ('e>ses! are any indication of big
103 W. Pine Tel. 6814
Na Spalts '-2.. : !. Time trials are set for 2 p.m. rugged welterweight in the things: to come. Georcia's five-
HUNTING SUPPLIES TOYS ,b,..." 43. Cioida ..1.Flo.d. with the races getting under way closing rounds! The decision of I foot eight-inch guard. Joe Jordan. Til W. Church St. Tel. 669 _ _
FISHING TACKLE REPAIRS Ekes Out Tee Sothen 50. Aiiesi'esy.. 16. Stetsen 36. 33.Cas. at :3 p.m. Admission will be $1 the offiicals, for a change. was has!': a bright future. The fleet LEESBCRGSuanysidc _ _
w.,ten stee 50. K."t St..t. .5. and reserved sections have been unanimous! Williams weighed frE'shl114nr'ordeil ::19?f points his! Highway. 4 _ _
// / /
Win Over Florida Maanok Wnlcyan 61. Atlantic CS. WOOS ChristianOhio ,., S4.WiKOntin 50. set off for white patrons. 13DV! Pel lone 11.)'.. ,I, first three games for the Bull- TeL lit Red -.
49. Pittsburgh M.VWI dog! this! season.
GAINESVILLE; I M. Lynchburq 34. - ------
[ API Auburn D..v'dse" 56. ......""tIde d Lss 45.Coi.'sba I SOX FOLLOWS FATHER --
? basketball tE'amOn its 68, P..tt I"stltute Si.Naenitos Syntet Captures r -
!\ qt r Southeastern Conference 5. H..v..fo.d S3. NEW YORK [lAP] Hugo Cas- u.u
\IIr "th."y 5. W. V. Wesisyan $1.DtPauw bib will replace his father Julio
nt.rhpfp, 1 last right ny nosing 56 Carleton 44.lona . 'Martinez Castello. as the New Kissimmee PurseNEW
out the I nI\ er,1t> of Florida 52 Brooklyn Cotlcv II.L.y.ia NEED CASH
.... ; I 11.J Tampa. I 47.Baltimore Miami. )35.C3. Maryland. 52. York Unit ersilY fencing coach YORK [IAPI The H & S. GIFTFOR
Groroia 71. Ertkme 37 i: for the 1948-49: school year. The stable's Syntet. with Jockey Hal
.ASSOCIATED\ STORES SUGGESTS ApHLco "Ma' aehutt 54. Norwich 37andolDhMacvn Elder Castello. coach at NYU for Featherston aboard. won the six-
Best Trailer Shop Florida" Stat U. 57.S3.Troy Gallaudrt(1..1 TchrvS 39. 20 years. was granted a year'sleave furlong Kissimmee Purse at IDEASCHRISTMAS
of absence yesterday. The
Gulfstream Park yesterdaY.. a
EXPERT REPAIRING HKLI.O.: SKV! son; has assisted his father the driving winner by a length anda
ATHENS.: CH Bob ('hoss.lac"n"1 past two seasons.Tangerine. half Ned Luck.
over _
; 2225:!:! W. Washington ; tIle!! Kl, f>o
Dial 6894 Ned Luck came up from last SHOPPINGThen
.
on Coach Ralph! .lordansGeorgia ::
(On Winter Garden stead ( (flirt aRgreRation./ is i the< BowlInformation place to beat by a half lengththe
tired favorite. His Grace,
talle-t Bulldog! rage-; at f\\' "".
Fkilco Radios hit sterling il tf - which had set the early pace.
the Family Loan Company -
-- --- see
--- -
offer you the quality you need I
lot 10119 >t ed performance Ivy GROVE and FARM iThpY Here s Tangerine Bowl ticket sates today. Easy Credit No Red
1 rout NEW PHILCO east terms I informationGame. 115 ... Jan 1. J)M WALL TILETiIe.OPlastic Tape. Repay in easy monthly installments -
a A' jc ted IRRIGATION 'I Stadium. Mat! S4,20. S3.M. S2.40 .ndII months.
20
to
;.:: ...., PAY AS $ A ; Snouid Y-j SO! AJ SO ene(includes teat taxEnd S1.20' ''include* tact.Tttet I up
LITTLE AS A EQUIPMENT :OM O tr. Dr-ve" Irt Dai id .ale.. A Dow Chemical Plastic
WEiKON I I G W ttels on Page Vt of Mart ..r0,.. Secretary. Elk. Clue. 409 2321 S. Kuhl Phone %.%821 Stop In or Phone 2-1651
MANY MODELS the December 6th !Saturday. C. Central Ave.. Orlando.Local. .
jf ,_ ._ _,, SALES-SERVICE I Evening Post.It Lobby San Juan Hotel: Williams WYCKOFF HARDWARE
R. W. Callis ManagerFAMILY
1FLORIDA'S Cigar Shop or Jack Nolloway's. .
LARGEST RADIO AND APPLIANCE STORES I FREE ENGINEERING SERVICE answers many questions I Get money today for
I AND DESIGN concerning the driving of auotr that Gift Idea.
>biles.I .
YOCR DOW "TOWS CLEANER
I I HAlL B OIIOS.ENY[ NEW YORK CLEANERS & HATTERS LOAN CO.
I GENERAL INSURANCE 22 W. PINE ST. PHONE 4809
I (Ill N OUK6E *V|. PHONE SI89 Hats leaned and Blocked Pressing While You Wait SOl Florida Bank Bldg. Phone 2-1661
J5 aee ss .usa. I Dry Cleaning Alterations
.
_
-
- .
_
-1 SSSIA Uo gtlf.y Shore's Brownie Doone Tops Trials RUt
_
V I Hit MOSHtt 11 jfe .1. - -- -
Saturday, December 13, 1947
Fishing trips for the weekend of Dec. 12-15: :
---- -- -
Speckled perch, over in Lake Jessup, have been hitting City John Mill
small plugs [such as the midget didget or the Paul Bunyan ,
silver shiner! better than live bait. lately. The outlook is I The Seven Stalwarts Of The 1947 AP All-Professional Football Line
this will continue. Perch are also hitting large bass flies be- 'Man Impressive _
---- -- --
hind spinners. when trolled The specks [black crappies] should -- "
really do business this weekend with the finest fishing pf all due 1'7"--- I
around Dec. 27. However this weekend should be good enough. on s T'rT:
f .w1 .
and other lakes to reasonable anglers. ,
Lake Jessup. satisfy any )In Open Stakes -Yi; -- uL ..
.
Lake Apopka black bass are hitting good again and they are .
taking just about everything cffered. Florida Anglers reports: I ," '. '.
"The rod and reel advocates are rutting a wide swath in the 1 By HAL DAVIS {. I ':
ranks of Capt. Joe'.s crew these days and the Florida Anglers; '(Lr C'S'cf' Cc""
Assn. are paying out prize money hand over fist. To date, :31 With 15 bevies of quail located I. ;
tagged: fish. hare been caught; and the !?.VIfHH) rash prize Lake by the dogs. the Piney-- I s ., ;
Apopka Fish linden ju-t started' Xov.. woods!' field trials had its most I -
productive day yesterday as the I .
The high man i in numbers caught i is Milton Collins of Mont- Open all-age stake neared completion 1 4A' '
verde. He has a $20 and a couple of $10 bass to his credit. Next on the Bronson ranch. 1r 1I .1r---!
three I
Only more dogs to be
are
high man is C..E. Britton. :Miami and he came up with a $20 and seen in the feature event. ,
A then a S10 prize. Eddie Braswell still holds top honors with a I
:year's open all-age win-
single catch his $100 opening day bass.
ner. Shores' Brownie Doone.
'Others within the past five days who came in with prize owned by Gerald :M. Livingston. jf
tagged winners were W. S. Bowers and ,V. B. Owens Apopka, Xew York and handled by .,."" n_ n_ < = _. _ ,'''' --.--- -
John F. Clifton. Cleveland. Ohio. Nathan Xash Geneve, Ohio. John -
George Evans Quitman. Ga..
Paisley, Vets. Trailer Camp. Jack Lane. Mr. Blyee W. W. Ellington scored three finds to top the field 1 IOs DICK' HUFFMAN-Tackle I AL WliTERT: fockit \.5
A. D. Smith C. G. McDonald and W. S. Smith. These were in this department during his allotted -J Los Angeles Rams Philadelphia. Eaql2' i.
caught at Orange Lodge. McCarleys. Mac's, Tom's and Winter Gar hour between 10 and 11 "... -'F''''' '! ..\W/'f'.. -o *- -- F : ,
den City DO<'ks. o'clock. Two stands in which : j t -
"Mr. Blyee had a string of II other nice ratrhes to go: with Evans could not flush marred an I I .,
his prize winner and most of the others had good lurk also. otherwise. !:: good performance.For .
I dogs; turned up with two .- .
There is little doubt hut that the anglers!; who keep trying day finds each. Probably the best! I
after day eventually catch up with some of Capt. Joe's bass band of these was. Stein City ,John .. .
in less than 42 days 31 have been caught which is a bit better than owned by R. /. CatPs, "Spartanliurg ;t -Ii
one every other day. , S. (-'., and handled by .
j "Edward MacIIugh. famous gospel singer and one of the finest .InIIPYrlclir1, of th.alllf' city. _ue_ : . .
and best known voices on the air, came in with a tagged prize last Another to score:; a deuce was ur 4 .i ,1iy.jtt:
week. Mr. MacIIugh. we understand i is!' about to make Orlando his Mercer Mill :Man. owned by Col .
home. Welcome to the City Beautiful. He now resides' at R. R 2. B. C. Cuss!' Alhanv. (,'a. and .
Box 328 A."We handled by John (;at('=. r.f.'e.-
learned that "'. B. O\\.n..,*\IHIIIl.a| has two tagged;!; prizes burg. Ga. Roth stands won- well r.: .
to his! credit John Lemon St. Petersburg has a couple and W. II. - - .
Pointer Lost ,
-4 Dean Apopka also has two of Capt. Joe's crew on his list." Dog
I I A valuable livrr and white . -c- .
II .o-
-I|I picked pointer has been lost ,
_
---- -- ---- --- ----- a-"' -
during the prwerdiitgs I of the I $2O55t5 - : '
Ramblers Face Rugged I'lney\vood field trials between MAC SPEEDIE-End RILEY THESON-Guard CLYDE TURNER-Center-- BRUNO BANDUCCI-Guard BRUCE ALFORD
Oilaitdo and KNshuiuee. Cleveland Browns Los Angeles Rams Chicago Bears San Francisco 49ers N. Y. Yankees
I The" dog with a solid liter .
+- A <
{ J"
head liver !IiIHlt| on left front .bd.1
Foe In OAB
TigersTodayBoasting shoulder and of medium sire'
& was last seen' late Monday.
Three NFL Linemen On
Repeat
.\n]on. finding; thisdog:; is -
eight victories. by one-sided margins. and a tie in nine requested to contact Lester!
starts. the rugged high scoring Orlando Ramblers encounter the White
at Orlando 3-1226 or
toughest foe of their campaign to date In Orlando Air Base's 14th 2-2715. By FRANK ECK Bears and Steve Van Buren of ers are former AllAmericanmen. the best back in the country." formation for the 49t '
Air Force Flying Tigers today at Greater Orlando Stadium. Game [rAP Newsfeo-ures Seem Editor] the Philadelphia Eagles. They are Graham Such a statement takes in a lot. ley was Cleveland's n"
time is 8:15: o.m. | handled and his race was good. :i NEW YORK Three players Besides Sanders the four other Xorthwestern's All American of territory but it will be recalled fullback.
In a co-feature tilt the North.,. | if not as impressive as some of from the Nat tonal Football Conference players. selected back of 1913. and Hoffman who that Flaherty coached the j The first tram line is big and
Side all.star school; his contemporaries.Fast League. all linemen repeated on after checking reports from Associated made the 1916 All-Ameriran as Washington! Redskins in the rival fast and comprises men whoplayed _ _
grammar works
against!!! the Horatermen. delivery owned by Bracy the Associated Press 1947 All- Press sports writers in a Tennessee tackle. Huffman National League. The Yankee i Important| rolt- m the
I
touch footballers collide with a The fracas may develop Into a Bobbitt. Winston-Salem N. C., Pro team announced yesterday. 14 cities. are Back Otto Graham N 22 and the )oun (,i't! plajer coach feels that Sammy Baugh | success of their r "ppctiretrams.
A South Side contingent. Startingat running duel between Leroy and handled by Paul Walker of They are Tackle Al Wistert, and End Mac Speedie of the on the All-Pro. of the Redskins still is the out- ,. The line a\ 'i-ages 214
7 p.m.. three quarters will be Hoequist, mercury footed Rambler the same place, went- bird hunting 2fi, of the Philadelphia Eagles, Cleveland Browns. End Bruce Four members of the first standing passer in the pro ranks.' pounds.
played prior to the Rambler- in all directions scored on Guard Riley Matheson. 31, of the Alford of the Yankees and team performed for Texas However Luckman received Turner center for "':+ (c-
Tiger game-opening kickoff and signal-caller and Ralph I two cones and pointed twice In Los!' Angeles Rams and Center Guard Bruno Banducci of the schools during their undergraduate the call over Baugh in view of made the All-Pro foi! I-
completed between the halves of Weiss!I. speedy Tiger right halfback which Walker was unable to produce Clyde | Bulldog| Turner, 28, of San Francisco 40ers.! playing days. They are Sanders the winning streak he helped time while Wistert. h .. _ _ _
the second contest who also excels!'; as a passer.In !' ': birds for Judges George the Chicago Roars.' Although there are 18 teams from the University of Texas build up for the Chicago Bears. .,kle, and Riley Matin (
the latter- phase Weiss will Stanbury Jefferson City Tenn., The" only player to repeat playing in the two professional Alford from Texas Christian! When Luckman and Baugh tan- guard. both were cht< , -
Coach Walter 1Loater'aRamblers from the1.. ..,mnkan first consisted' Turner from Ilardin- in the the fourth in '
face a worthy rival in Pierce and D. Roy Persons. Monticello Conference leagues. the team !: University. gled early season season suci
who hare amasseda Robertson Rambler left half. is Oiban [Speck of players from six teams. The Simmons University and Matheson Bear tosser completed 22 out of i iSI The second string I '
total of 309 points to but nix whose deadly heaving throughout Ga.Adonis :Mike !Sanders, 27, brilliant back with second team. almost as powerfulas who played for the Texas : passes in a 5)W20 victory. posed of Ken Kavancago '
for their collective opponents the grind has' Skyline pointedso the New York Yankees. the first eleven. is made up College of Mines. The second team backfield of Bears, and Ma.
present !: con- times lost but
will be favored to dump the tributed much to his team's suc Handler many Tom Stewart we count The :National League placedsix of men from nine different pro The All-Pro backfield consistsof Baugh. Johnny Clement of Pittsburgh Cards. ends; John \Vo-i', p.
Tigers who have. compiled a31 cess. was sur- players on the first team, the clubs.!' In all 11 clubs are represented a powerful array with Graham Frankie Albert of San San Francisco, and M.lr'
'- reason's record thus far. i i pried:: on two occasions to flush Conference five Other National on the first two teams. and Luckman as the two outstanding Francisco and Marion Motley of Brooklyn tackles: Coal r. ('
Bvt the Tigers, pointing for Hoequist a 180-pounder and birds. Mike, owned by Dr. L. K. Leaguers on the team are fresh Six Conference stars and five passers! and Sanders Cleveland rates' close to the first:; sey, Chicago Cards.! iI .,
till meeting for weeks, have the 170-pound Robertson will Firth Canton. Ohio apparentlycould man Tackle nick Huffman of the from the =National" League are on and Van Buren as hard runners. team. Clement was! a triple Barwegan, N. Y. Yank- Land
-I hown much improvement of start for the Ramblers today as not resist the terrapins on Los Angeles Rams and Backs the second team. Sanders is considered by his threat star for the Steelers Albert Bob Nelson. Los s :::'
late. .and intend to shoot the will Mason': Wharton, 190 le; Al his!': course. Sit! Lurkman of the Chicago Two of the first team play Yankee coach. Ray Flaherty, as proved master in the T..,, Dons, center.
Lang. 200. It: Jack Hendrix 155. Champion Bomber Comman-
-- - - - ---- --- --- - --- ------ - -- --- - -
.lli.:: Earl Ward 150. c; Ray Rouse. der's John ran one of the better '
SOLUNAR TABLES 215. rg; Dean Heaton 210 rt: races of the day and produced a 'Memorial Football Team FetedMemorial TulaneAdded I ATHENS.I.OXE Ga.-2Go.LOSS. 4 I
''Auhine Batt!':. IRQ. re: Mallard bevy in grand style; for his han- Vitter Named .
According to the Sol nar .Clark, 165, rhb; Bob Potter, 190. dler John Gates. and his owner. Junior High School's Johnson, dean of St. Luke'si To VMI Slate 1 champs Southern! won Conference 15 gaim' ' 0 <
,
tables calculated for this area lb.The George Sears, :Moultrie. Ga.Forshalee football team was! feted at its I]I i Episcopal Church acted as toast: LEXINGTON Va. [EUPI] Virginia ing only one under the J,
ot the State the best timesfor i Tiger lineup: J. C. Ray. Fritz owned by annual po-t-season" banquet last Stegeman. _ _
-, ..& hunting and fishing will 150 le: Al Beatty 1f),'), It: Jay Boyre A. Williams" new Pineywoods DeLand Head night at the ('hamber of Commerce master. Military Instituteester- 1
_ IF M as follows with Major Daniels 180 Ig: Owen Raiford. president ran a good; building. Honored guests; iiulndril day announced a nine-game
periods Indicating the best 170. c, John Hale 205, rg; Jim rare with emphasis on his finish Sponsored by the Memorial Charle* Pope. Joel Ta) lor nol football schedule for 1?>18, with
time and Minor periods the .Gainp5. 185. rt; John Tilton IfiO. and pointed one bevy and [Sp" r'o Pr'T"irDELAND > Mer"rq' Senteet'! Dads Club the dinner was at- fOrt Waters, and Helton (>ray, Tulane replacing Georgia Techas ]RAIl))II(Q)
next best hours: re: Hal Kennard. 1R5.) qb; John one !skunk for Frank Cummins Replacing Bill tended by members of the school ro-cnptain of the Cherokee
A. M. P. M. Rapert. 155. Ihb; Jim Dunn, his handler. Steinecke as!' manager of the De- team their dads, school officialsand Junior High!; School tram Rial- a VMI foe. |!
Day Mln. MaJ. Mln. Mi}. 155, fb.Delaware. Essig's Don Cavelier owned Land Red Hats local baseball guests. ney Block and Bob Stine Memorial The schedule; : Sept. 25. Ca- REPAIR SERVICECall
Sat. 6:30 12:40 6:55: 1:05 by Tom DeVane Columbus Ga., club. i is! Joe Vitter. outfielderwho The Very Rev. Melville E. co-raptain. Joe Stine, tawlia here; Oct. 2, George Washington "Scotty" at
Sun. 7:15 1:30 7:40 1:55 and handled by Herman- Smith, joined the DeLand team in eighth grade; and hihtoseight; Washington.. 1>. C.
*."2.jer,,.ur Solunar. In tlur.tl period.n.*are. U...tin...... iVfc in Lists; Dates found one bevy as did Cedar- mid-season" last year I|i "squad' captain. and Bud Petti- I night 1: Oct. 9. William andla I'Y BRITT'S 3-1618
Slack' ty. .thw-tor.. Minor......tor.. ..c.nd kMtxriod > WILMINGTON.: Del. {EAPI] Del- 'wood Joe handled by Joe Mc- Steinecke resigned at the closeof Cameron FavoredIn I grew, another eighth grade at Lynchburg..; Oct. 16. Richmond 356 N. Orange
light ty a. aware Park yesterday applied to Call. Clover, S. C. the lf>47 season, and rumor I captain.. at Richmond, Va.: Oct. :L''V!: --- -- --- -
the State Racing Commission for The judges have ordered the has had Vitter in his place ever I Bowl Contest Virginia at Charlottesville. Ya :
30 days of racing from May 29 26th brace of dogs. 0 Boy Jake since. Officials of the organization Special guests included OrvilleR. Oct. 30, Davidson here: Nov. 6. "" d
.
flashes From to July 5. 1D18. Delaware's! application and Councillor to he ready for a announced yesterday' that PASADKNA. ('a I. [API Foot- Davis. Memorial principal W. Tulane at New' Orleans: Nov. it.? CAMERAS -
for years has been 7 o'clock start tomorrow morn- Vitter will continue to hold down ball observers took a long lookat R. Boone principal Orlando The Citadel here: and Nov. :2'j!: I
Browns! tantamount his place in the outfield wellas the Cameron Senior High Rex Williams of Tech at Roanoke. Ya. :
to confirmation as ing. After this brace Accolade'sLady as College Aggiesof Virginia The Ideal Gift eIt' I IWe
there is only one track In the owned by Dr. J. L. Smal- manage. Oklahoma yesterday! and the City Recreation Dept., William I
State. I' Last the hit installed them favorites Gilmartin. Ed Waite and have 'f'm _ _
ley. Dublin. Ga., will conclude year new manager;?: promptly Phillies Buy RookiePHILADELPHIA
--- -- --'-- the running in the first series of safely in 27 consecutive gamesto to trim Chaffey College of Carlisle Hughes, Orlando High [API The ;-7'" .;"'
the biggest: field trial event ever set a new record in the league. Ontario Cal.. in the Little Rose School coaches. Red: GalbraSth.
Phillip
CENTURY Philadelphia yestcrnavpurchased
OIL BURNERS president!' OHS Athletic A':sn.. T.P. .
,
held in the State. Any possible He had a fielding average of Bowl game today. Joe Bernard.\ l -ft-
-w
AND additional running:: will be at the .001!)! and a batting average of The California team. loser In Simmons and Brant leyBurcham handed: outfielder\ from the \Ia. _w-
OIL BURNING FURNACES discretion of the judges. :314 for his time with the Red one game this year as comparedto Orlando school trus- hanoy City. Pa I'.hiebinU of the
MAX The running of the open derby Hats last year.'hter has beenin the Aggles' undefeated untied tees, Col. H. Wurtele.. photographer Class D. North A'Lintir I fasne' CROTON _
VIEW.MASTER Is Here! T. RICHARDS who showed scenes of the
with 22 dogs!': will conclude this'ear's organized baseball' for 13 record boasts a crack passing for delh''J"In t th!If' soc !us to Watrtie- .is.ss! to (SI; .ct
Slnre second Memorial-Cherokee
1J2S- combination in Anse McCul- game
We now have nn N. ORANGE PHONE M303 Pineywoods program. years' starting with Pine Bluff their farm club\ .i i It I".J' t kt; !>n1...
complete and football and John
special,
Ark.. and making the roundsto lough-t
-j stocks of these famous Portsmouth. San Francisco' lads from I Lawton Okla., can Long. LOWER .,If It Bought -.t'c\/
Kodachrome three -dimensional Lakeland Meets I match passing with a good run- T.nw W
Statistic show that . December Hollywood Shreveport, St. Paul COST *
stereoscopic U Uit Most Hazardous Month for and Atlanta. ning attack.Hughson. ,", Exclusive
_J reels, bringing )'outhrilling Fire* due to Xmas Decorations . Local Coursters Jackie Robinson Tries LOANS ; Dealer _ _
i full-color Check Vonr Insurance and tee if IOu ...
views of world renowned are fully covered . The female and male lakeland Sections 8-3 9-5 To Undergo Hand as Mat RefereeLOS Loan.t.llment o..t.F'loor. A 11 Vt...1.iVl FOB XM.*
wonderlands.Reels Hi Spot cage arrays:: invade A\J.U.s; : [rAP, Ba"'e >;iii EI .,to' t !'OJ-
_ 35c each. 3 for Geiger Mutual Ins. Agency Davis: Armory today for a twin Memorial Operation on Elbow St..:' Jackie RuhllbOIl is going on AIr Condt.on.d. HERMAN'S IaViT;
100. MS S. Orante Aye. Phone (213 hill thelat- ies tangling ith Capture HOSTOX [IAPI| General Manager the wrestling circuit but only 1a
Pick's at7:30: p.m. and the gents Joe Cronin last night. announced <: a referee. The California Ath- FIRST NATIOI4AL BANK t) W Church St. Phone CIS
INVESTIGATE ttfORi YOU- -.UY1nttm collide with the fast:: Denmark Football CrownsThe that Tex Hughson the' letic Commission granted the lis.b-_-C.isi- o-It 1u. .'PsrSIIun
BROWN'SCAMERA Sporting Goods five at 8:30: p.m. Memorial I grade touch Boston:: Red Sox right-hand ace Negro athlete a license yesterday .
-- - will have his:: ailing pitching el- and Promoter Cal Eaton an-
foothdll decided SERVICE..for
championships were A NEW
Junior Elevens ClashIn how operated: on by Dr. GeorgeE. nounced that Robinson would
Thursday afternoon at Exposition -
STORE Bennett at Johns Hopkins make his debut next Wednesdayat
Park in a double contest. and DeSoto Owners
I Texas Rose Bowl In the opener. section 8-3 won Hospital in Baltimore next Monday the Olympic Auditorium. Plymouth
11* N. Or Bje TeL 477: Tow* TYLER. Tex. or Tuesday.!' i i
[APJ) Two of the eighth grade title from section Quicker Efficient Convenient
A HOME-TOWN TRANSACT*ON the country's strongest junior 8-6 by a 14 to 0 count. |I In 1938, LSU piled up 24 first ..- .. "
college teams the Tyler The first touchdown resulted Phillies Plan More downs to Mississippi's three yet -
I I Apaches and the Compton[ Cal.) from a pass, Eugene Howell to lost. 20-7.
': Tartars-inaugurate the Texas Payson Sullivan, with Billy Johnson Trades For Key Men
Rose Bow I here today. rushing over for the extra PHILADELPHIA [API] Gen.
NEW\ LOW PRICES' There appears:':: little to choose; point. The second score was a Mgr.I Herb Pen nock !said': yesterday !': CONSULT OUR
between the two teams. The pass' from Carlton Burroughs to the Philadelphia Phillies!; EXPERT
Apacfies boast an undefeated untied Eugene Howell. Howell ran for hope to make two or three more
ALUMINUM record while i I Compton the extra point. deals for key men before the for materiel estimates on new .
I dropped a single game 11-13- The second contest found section Spring training "sean' gets un- construction, repairs or remodelling! InC.4
in 10 contests this" vear.KYK 9-5 winning the ninth grade derwa'. See ,
__._____ at
CASEMENT WINDOWSNumber I
title by downing a fighting 9-4 THOMAS LUMBER COMPANY '_
; FOR THE BASKETATHK section team 6; to 0 A long pass! -
: Size Old Price New Price \< < ;,< Georgia! for- from Jimmy Beach; to Leroy PAINT Gore Ate. and R.R. !. Orlando
\V.-Pi! \1 '"I'< Sll. ;. -rurpd 40 C'rane;, J 1"M>' <-<) the! winning score. Thomas Lumber & Supply Co.
I'' 2323 3'-l" 3'.2 3/8" .' *, .11...... half .
1 1" .
x 20.75 16.60 ji a V (.11. -(1*av ;i'i!rnoon section WALL PAPER la Winter Park
\' 'i jl> .* ., .. die -. ,
'i'! ir H ''i 1 l'U -, \ ,c 'h grade title by sadThe
i
2424 3'.1" 4'.2 5/8" T
x :25.75! 20.60 He' .. .... Hones Paint Store
d./< /; -"u." :7 1. Winter Garden; oi'lymoutb.leSoto o- I
3323 4'.S 1/8" x 3'-2 3S23.25 18.60 n S. Mat. Ph. J677 Lumber ('on.pany4rew'
3424 4'-5 18"x ('.2 S/8" :28.00! 22.40
I
--
--
4424 5'.9 38"x ('.2 5/8" 31.00 24.80 - VICTORYI
I
OTHER SIZES/ AND SCREENS REDUCED ACCORDINGLY I -1 HAT I
AND DON'T FORGET-NO RUST-NO PAINTING I SHOP Provide for Tomorrow's Security lad
triephese.
settlep is at ass? a; 3Cur
1'1 I VP SEVEN STEPS *UWC$ CONDENSAtt k_ Zll South By Opening / n Interest-Bearing . ji rail ujad sill puk jour rar lip at kogie at ttihce,There petfoflIS isno
promptly.
car
Orange Ate. er I'a rder ad relSz. your
EL : i Halt Cknd Savings Account and Reqularly kartc tar 101'ousealeat piek-US asd deliverY. Try It esteeaud
SI a Stocks Deposit a Part of Your Income. rsJo% tki Itmi ia.iag. pleasaul mtOod el k&ViIg Your 'as
(Wl 2 !] iL -a5 Dry Clcamnf, vrwicw.
<0
<< ? t Pressing Alteration*, ORLANDO FLETCHER MOTORS INC.
gi -Prnsin While THE FIRST NATIONAL BANK AT ORLANDO
tOO AMELIA QVIANDO.FiOBlDA 'PHONE 2-W20 IT Wait DKSOTO-PLYMOUTHHCO
John Braves. Mr. Capital oad Surplus On. Miliioa DoflortEMtE X. Orance:: hI'. Phone visit j j1
S4M B4SS. Prop. Pb... 3-ZM1 I FEDERAL DEPOSIT INSURANCE COIPOIATtOB ag I
\. \
-
:' :...:keli": ..
> /Pace Uplovemenf I Page 10 _ __ Telephones; 4161 or 3-1681 rlanhfl fHnrttlfig 'rnttttfI Saturday, December 13, 1947 _ _
/ 'I Closing Stock Quotations II I Livestock Mart
t Citrus Report -- CL-SSlnE 17. Hauling and Mortar 19. Services Offered i
In STOCKS M THE SPOTLIGHT V 409. 39' 4GV ] I CARLOT SHIPMENTS REPORTED FOR 8. Funeral-Floral '
Designs
NEW YORK (API Sales closing prtce Johnl-M.n.me 1 LONG DISTANCE MOVING PAINTING-Inside or out. Our complete
andnstchas9'f the 1C most active Jones k L 81 1 33 321. 329. THOMAVILLE. Ga.. f rAP] (US THE U. S. FOR THURSDAY i Packing crating local AI service Includes plaster patching
- tocka yesterday: Jo, MIt .nn_ I 3746 36. 374. V DA] Livestock arrivals totaled I Fla.' Cal.'Arz.i La. |Te x.O'nd! FUNERAL SPRAYS and designs for "point. Moving & Storage.Co... floor and furniture reflDaDI
tock MartMARKETS Sunray Oil 23.700-11 up 4.Comwlth -KKennee..t- Commodity total car cars) c.r cars total i aU Central Florida. Deliveries twice US W. Columbia Phone 8154 and minor .tntural Ste.ar V
45 U% 65O cattle 250 calves. and 6.000
\ & iou iaOOO-2X ... Cop un 45. 45- Orangr 272 114 8 1 12 407 dally to ail tun.a services. Azalea & G.7Ie. ,ken.ed bonded e.ntne-
Sinclair Oil .!' UP *a.Pure 4'. hogs at the eight major packing Grapefruit I' 42 11: 4' 72 119 Shop at Casilrr. Winter Park. STORAGE SACK.f. h. tors. Ph. 2-1493 '_ _ _ _
AT A GLANCE Oil UP U*,. I.cede .nnn S 5 4" Tangerines 44'' I I 1'' 45 Phone 2-2221
- NEW YORK 16..0.2'. '4 up %:'a. Nd.. High Low Last plants in Albany. Columbus Mixed citrus 146 2' I I 13.: 161 phone WID.'P.rk. 41. PIPE CUT and threaded. to your apeciflrstion. -
Eastern
I STOCKS: Higher; oils lead selective Airlines 14.7OO-I&UP >.. uhleb C 16 N 0 10 10 9'. I; Moultrie, Thomasville, and Tif-- Unreported: 16 or.nf. 97 grapefruit; Ib. KaDj millers-ChuG Caie Florida Pipe & SupplyCo
I recovery.I Ohio' Oil 14.70O-3O up >.. tAb O-F GlaSs _ 3 55 54' I 3 t anserine,V 33 : rltrux 18. Laundry \Vori 630 W Church. phone 6118.
-- I BONDS: Study: rails improve.COTTON Texas Gulf Prod 13.2OO-19 UP *t. ,I Libby NM.0 1: 846Lls.ett i ton, Ga.; Dothan. Ala., and Jack- SUMMARY OF fASSINGS THROUGH THE I BABY AND CHILD CARE Afternoons
Work
:= oo 8r.I PAINTING and decorating.
[ : Mixed; null buying liquid up -.. & e: sonville and Tallahassee.V FLORIDA GATEWAYS I
Phillips Pe 12.2.57'a Lockheed U 141. aDd nenlDI. eseelleot care by ea- LAUNDRY-Do your own with modern guaranteed. H. E. Clogston A Song.
tl8<>. Panhand o I 12.10-7'9 up Loew.. Inc Ale_ -- 33 18' 1' 10.1 Increased supplies of hogs sold IncludIng dtvrrxi onxatSava noah for U- I 1 . nurao Ph 2-6712. equipment 60e per hour rental Phone .
CHICAGO Penn MR nu hour period ending 6 a tn.: Raseya 3245.PAJNNO
.
I WHEAT EaSY'; Washington develeI *- 'Tel & .&too-lso'-i' . I Loriflard (Pt 0 ___ I 1. 1. steady to mostly 50 cents lower.' .t West South Total BABY AND CHILD CAED.y. sector Washington.Sell-Service 6f Lu"dr and decorating. Interior
I nwnts.I United Air Line* 10OOO-17 up >/*. -M- I Oranges __ ___ 93 25 103 221 hour. ncUent proYded; 1 Just want It.
at you
Medium choice barrows and
I CORN: Lexer with wheat. Gen Motors 9.3OO-S7 u. ?.. Stark Trurki n n 12 53 51- 51'. to Grapefruit .h 1 1 3 23 103 E. H arvar d. 2-3296. LAUNDRESS Colored experienced Guaranteed nt..rt.r.satisfaction reasonable.
I OATS: Mixed; late rally in deferred Million Corp 900O-471. ll,%. [ Mar (RH'' __ 8 34 33'. gilts. 180-240 Ibs., brought largely Tangerines 14 41 BOARDING-ROME-For babies to does shirts only. Do extra special Pisnne3-'t536
0 0 I UP
I contracts. Marine Midland _ f'. 6'. 6'. Mixed citrus 14 11 62 2 Job 0 sleeves. c..nar.and cuffs. 20e _ _ _ _ _
by week
i Param Pct 9OOO-2Oa up .s. years or 25c hour. .
HOGS: Steady t. 25 e<.tm lowers *.* Marhal F.eld. 8 25 24'. 24'. S24-S24.25, with some lots Total car heltL 6 a.m. yesterday: 19 oraxees Anderson ph. 6794COLGEWOMAN lOa each 743 Easy PIANO 381-M to H
14'. 14'. '14'. IEVICGP.
$24. NEW YORK (API) M.rtn ( 11 I reaching hts 240- : 6 tanoerinePASSINGS T.
Kisn.
CATTLE: Mostly tedy; ". choice material I Hds. High Low Last Mo Ran .. n 4': : 4LMonsanto 270 Ibs. $24.5..ei POTOMAC YARD. AND PA5S'NGS c.r.-ehldren days 19. Services Uttered or ....kled your pl.n.achnl.at.
( Offc.
5 584. I : by
58' %
Chem .
available.NEW ACF-Brill Mot 6'SIS 6% $21.5$2270' AND DIVERSIONS AT CINCINNATI I (eoDI. 787 Antonette. Are Winter Pak.
- 1 26. Montsom Ward __n 27 52'. 51'. 52.Muna7 lbs. and For I lam_ ALARM _
24-hour
V Air Reduction __ 26% 26 up $20.25$23.75: period ending lam. yester- CS REPAIRED Any
YORK [fAPI] Paced by ''Alaska __ 18 3'. 3% 3% Corp n___ 39 16'. 151.\ 11 1601lhs. . lay: TINY TOT DAY NURSERY-Mrs. W. kind of d.k or electric equipment.We RADIO REPAIRING you're look-
Jun.al n : -
-N- $2-$23.50 R. Corbeau. R- ins tor. dependable and economIcal -
1Olf N.
3'. 3'. 3'% Tan- 319 E. fix everything Barker Repair
\\ils stock market enjoyed '' Allegheny Corp l 24 17.. n'. 17'. g ; $H Or- Mixed Phone 7687. Roli. 48 radio shop try Britts All makes
the a AUf Lud Stl . 1 28% 27 28 Na.h-K.llnator 40 8'. 8'. 8'. 12011 1m. ) OS1R Crape- ".r- Shop W Cent cal. Pn. 7696AWNINGSCANOPIESFor radios and phonos Free
ine Total
189 fruit Citrus
noes
189 % rep.I.
Al Chem A Dy. Medium
but selective 118' Nat Auto FIb __ 22 10". 10'. 10'. an sows, mostly estimates and delh Call"Scotty"
airly active rccovVry -.Allis-Ch Mfg ... 18 37'. 37% 8 1 __ 11. Special Notices trailers. .r7 .nle.
- _ 31'. 31'. I B.ltmor I '
i Am Airlines 149 8 7% 8 Nat Biscuit 0 21 31. $19-S22. 0 n 1 4 I 2 | Porch curtalR. tarpaulins. Venetian at Bntts .n..l E.ttc"st.r.
yesterday. j I Nat Can 8. 5'. Made to order. 356 N. Orange .
Sad 15 4% 4\\% 4'% nn 1 Buffalo .. __ blnd. Estmat.
Am Cable A ----- -
I Trends hardened before mid--''Am Can 16 79% Nat Cash Ret n___ I 39". 311. 39. The practical limit in Chicago' ____ 1 __ ADVICE Rev. DAILY-Spiritual readings. . Florida A. Co. .- --
no 10'9 Nat Container 13'. prlf A. M. Greater. D.D. 513 W. S Hughey':
____ 40 00 1. 1" Cleveland .. SColumbuo. _
Am Car A Fdy 5 I RADIO
Prod 10 270. the area wa for good | 4 ? Central. Phone 5837. and smallappllance repair
dealings quickened. There '. 39 "at Dalr nn 27. 27' $2-.13 O. 1 _
[la.yas Am Cyanamid __ 40 40 38 ALTERATION and service. Work FreeCaldwell
n TRAILERT mending. Done at
Ivere subsequent slowdowns with Am A For Pow __n 15 2'. 2'. 2% Na opt Stores 0_ 20 2 1 1. 20', and choice 180-240 Ib. soft and V Detroit 3 _. 10 2 __ ALL OWNERLak Jes- home. 2519 Conway road. In front pick-up and delIvery.ara.t.d.within cIty.
.amlDe Trailer
Am Home Prod __ 2fi 23'. 23'% 23'% New Haven ..1 1 c..D restroom .
semi-hard of Peel TPh.
hogs. I Ihlrd.I Ave.
_
lop gains: running to 2 points or Am Locomotive 35 20'. 19% 20% N. Gypsum 26 19181.\ 19'. N City 18 11 18 13 with 26 toilets. 10 la.atortes : 2-17.
fo trimmed in the majority of'ases Am Pow Lt 0... 20 8'. 8'. 8". Nat Lead 1 34 33'6'. 33'6'.. Cattle trading in Georgia, .14 5 1Pittsburgh = I 18 shorners. 2 bath tubs. Unnals ALLIS CHALMERS SERVICE and REFRIGERATION SERVICE Commercial &
Nat Po"
o L f' _.6 1. __ large! laundry room ice bouse and household
\ repairs
Am Rad St S .19 14 - parts: tractora and units. .
at the close and minor Am Roll Mill ___u 16 3S'. 11'2 Nat Supply .33.d 22". 21', 21'.. I i I Florida. and Alabama was closing Providence2. .. 3 1 __ cue .taurant. complete ..(er and Farm and Home Machinery P.e Co. 40 Good work. ch.re reasonable. Fer-
rather well distributed Am Smelt A _n_ 57'. 56'. 57". NeSt Corp 2 187 18'15' actively with prices firm for St Louis .- 1 n I market. 99 beautitul over W. Robinson phone 2-2713. gums,, Ren" r.rnr._ .. Fl,. 9752
asses I 1 Induit 23' 23',
Am Stl Fdrs ______ 27'. 2727'% Neipori : n:: : I I I Washington I 1 1 n 2300 ft. of lake .hor frontage. S.Orange .
ansfers of 1220.000 shares com- Am Sugar Ret ___ 2 44% 44 44'. NY Central RIc 13' 134. most classes. Compared with a Held for Potomac Yard. Blossom! BULLDOZER SERVICE Clearing. RADIO RPAI- Save money by
red with 910,000 Thursday and Am Tel A Tel n_o.10 151 150'. 150% NY Am Chi Aviat k St L pt. 15 6 121'8'. U9'5 121''.. I I l week earlier, most classes sold Bam. .. rfc..nslnmmt. oranf 3 grapefruit; FOR YOUR SHOPPING connnl..ne.I'unln" . rrbblnl and grading. Also pan y.ur radio to our shop.Lee .
No 137 W. Church St. Or-
Am Tob B _. 66 65'% 65'. : : I I 11 tangerines 1 Monday. December 15th. palmetto rake. Phone O.n.ly.
vere the best since last Friday. Am Visrote _un___n_ 7 54'. 54% 54'% i0orthern Pacific 22 19' IV'S 1 1-S15 higher. and were at new ctrs. 9am. 'til 9pm. Her- 2-4427 J T Murdock. Indo. Fa
A-hich In turn were the largest Am Wit Wks. ._ 20 16'. 16 16'"%. OhIo-OIl _ 137 30'. 29'. 30'. season. Strictly Orange County man s Loan Ofl(.. 27 W Church St. BEAD AND PEARL RUGS UPHOLSTERY CAr.
Oct 30. .Am Wol..n nn 19 42% 41 42'. 0113 EI..ator _._ 2 31'. 31'. 31'. good grade fed steer yearlingssold FAIR BARBER-SHOP opeVforbusiness E".r ewelry 8TL'OIG. Expert workmanship. .m.
22 33'. 33'2 33
Anaconda Cop nn Owens-tU Glass ___ 1'3 \. n 4 doors East of highway. .. Arcade.CONTRACTOR Guaranteed aeryico. Ph.
mothprofDe
71'
'Armour A ---- 35 14% 14% 14'. I, upwards to $26 in Alabama. Court RecordsSUITS M.lr.d..r Orlando.
The Associated Press! fiO- Assd Dry gi ... 3 14'. 14'% 14*. -F-A "ee ___ 20 34". 3. 3.'.I'.I'P.e Most good slaughter steers and J.n.y the Bab..r.ifSAOE and builders New 2-299 KI.nlze C. or Dew work.
stock composite! was up .4 ofa Atch T A _on 1 84% 8 84'. |I Pac Ton.Can. __ 4'. .. 4" IN COMMON LAW 51..nd..rlanl. Holiday buldln.; We RoFDo-RPAI
All Coast Line _____ 46". 46I' n heifers weighing 450 Ibs. up I prte. .. Dc. '.. 1206 remoelnl. repallnl. .. .tmate. WotEguaranteed.
the I IAt. Packard Motor _ 44. 4' 4". J. R. Gentry vs. Willie Hurst Replevin W. Yale op..t. flrst-clast 3 yearo to and
at 63.8 hut utility 0 41 : 2-2918. only.
34 '1
point _____ 34% 33
Atl bringing $19.50-$24. shop. 23O9 N. Or-
Rfnln. 1 Pan Am Airway, 9 5'. 8'. were Top damages $750 O..r. shingles to sell. Ph 8510. Smith
average; was off a Miade. It Cor ___on 21% 21'. 21% Panhandle P I 121 7'. 7'. 7'. medium grades S16.5O- IN CHANCERY NOTICE I am no longer reS phone 3-311S or 2-0681. Son. Winter Gardea Road at city
were
% 4s o !
__ 29 5 4
_
-_ SUIT for any debts other .
MIl Param 112 20". 20'. 20'. limitsSEPTIC
was the sixth straight; !session!' Patios Pleurf_ 9 9'. 9'. I'. : common. $12.50-$1550. Harold E. Stone vs. Louise E. Stone dtorce. Signed King H.PerdueSPIRITUALIST_ CNCRE SER"ICE-Fora roofs.
without an overall loss. The Bald Loco ______u 24 -14'. 14" 14'. Mire _ 19 44 43".4 $215 \ READINGS drlv.an. .. The TANKS I STAL and
Penney
______ 11'. some top-common, $16-517: daily. In cleaned. State
92 \ years
Bait A Ohio 11' Ann O. Barfield vs. William Anderson bet workmanshipand .ppro.
Penn Cent Aid 5 6'. 6'. 6'. Muriel .n".n.rnl.
market was broad. Of 1,039 Issues Barnsdell Oil _____69 36'. Penn P. Lt 0_ 17 18". 18'. 18'. canner and cutter grades, in- Meeks. Jr.. bill to del.r lien and for other 8pm 2613 Parker E. Washington: circles Thurs St..Phone Mon.; m.t.ral Frf. estimates. For In business. Altermatt. Call 673O or
n
registering, :569 rose!' and Bendix Aviat ___0 1 29'. 29' 29% Penn RR 16'. 16'. I IPepsiCola relief 3-1412. e..nr..e kinds. call 6780or 7571 for serviceSCALE
Bet Foods ______n 28 27 27% :, n n 18 231 339, 23"., | eluding buls. were $9-$12.75. Tbelma De lores Forester vs. Johnnie 1150 Buchanan C..ncrete Co.CLEANING REPAIRING an work
258 felLRailway BOb Steel -------20 98% 97". 98'. !, Pfizer. Chas- -Co- -= :: 48: 489. 484. I I cows brought Rex Forrester. dl.orc.Hel..a SPENCER SUPPORTS Individually guaranteed H. E. Hammond make Scale
i __ 2 15". 15'. 15". : designed 1202 E. Fh. AND PRESSING Cash
Bl.Kno.0 Caffee vs. Robert divorce.Pete Washington.
119 .
_ Orange Ave. Winter
Dodse 41 46'. 45". 46". C.r. '
Phelp. 8..lc.
bonds steadied. At I Boeing Airplane ... 14 22'% 21' 22'. Else 18 22' 22'. $1.50517.5. with heifer-types J. Pleicones TS. 2-35O6 Mrs. Warren. and carry prices will save youmoney. Park-Ph 1103
no 22' Bring us your clothes. 8u- j
I wheat yielded li to 2U Borden Co nn 3 42'% 41'. 41. Phla Corp 31'. : common. $12.- divorce. perior Cl.aser' 24 Grease traps In- _ _
1 31. 31. Boone St
.
Borg-Warner 52'% 51'% 52'% :_ SpnoTANK
13. Lost
and
Found
__
0 I PhilIp MornS 25'. INSTRUMENTS FILED
.50-S11.50 S11-S12.75 and .
21 : cutters. haul..d.drain
a bushel, corn 1 to 2U and Branlff Alrw 7'. 7'. 7'. : pum.d.
[ . CARPENTER
-0 Phillips Pet 122 58 51'. 51'. WORK-Houses washed
Adair Heights Inc to Orlando : fields related Septic
down 2%! 1. Bridgeport _n_ .- 13 9'. 9% 9 Pressed Car _ 14 11'11' 111 young strongweiglit cutters $12.- Denlop floors cleaned waxed
to Ph.
were up Briggs Rig ___ 4 31". 31. 31'. St 0 I i ment Co.. par rel mtg *7OOElva BLACK CLOTH PURE lost containing plihed. T.DI Co Ph 2'341 P0. Boa 181
00 Procler 5 69". 69". 69". -
0. I 75 in Central Florida. Rosa Gardner to Salmer Hummellet important papers. Monday evening 2-121 Cleaned .
finished off
20 cents to Budd Co ._ ____0 28 10% 10 10 Pub NJ __ __ 25 197 19'. SEPTIC TANKS ; Mo..r
I i V Bulova Watch 4 36% 36% 36% 'II S.e 0 wd S10. I in the Angebilt Pharmacy please CONCRETE WORK-Plain and colored sanitary pumping .
85 cents a bale. I I Burling Mills ::==: 11 204 20% 20*. Pure Pullman OU _nnuh_ ____ 1 25'113 52'. 1\.1 Canners cows sold actively at Emma Moore et al to Arthur BoutS mtg I return to ownera t the AnnblU Roar. floors. Beautiful. colored flagatene. sonable. Burke's Sewage Disposal.Rt .
I In the Curb a hoisted divi- Burr Add Mach _n_ 14 14% 1I'. -- -- from 5:9.25.$11.25: with shelly ll.ooo.Laura. I mar steps. driveways. outdoor fireplaces 19. Ins 231: 2-0618.
I I Lackey to .Cram mil $3R2S. BROOCH PIN LOST Star pattern. 5 I seawalls stepping stones.Nldy .
advanced National Pressure!': kind S.VM. TRACTOR SERVICE New ground
R.dl-
Calif Packing ._ 8 34% 33'. 34'% Corp n 0__ 1 10 I'. 97 Charles L. .pml..J tt George turquoise and 1 opal. keepsake k Evan Winter_Pack 4 9CONCRETE plowed. Lots leveled discing. Phone
I 2 points. Other forward Callahan Z-Lead ... 6 1'. 11. Radio K-nh nn I 9RemIni Some and choice slaughter Sheets e' ux SO. Rosalind and Tramor c.r..t..ra.. Re- 22-7.3or2-2926.
1. Co. to Howard J.Jermgan _ _ _
__ 12' JCor Gulf Life WORK" .
Can Dry 0 Ale 14 14'. 14 Rand 0 16 J J2' In.gr.ne ward. ph 9214. Driveway atena. --
Midwest Wood-
were Oil Canad Pacific n___ 10'. 10% 10'. Repub Ana __n_ 1 '. 7'. 79.Repub brought 522.50524.with et ux s. gibnosLOSTSlack walks, nOf. septic tanks. Llcen'ed. TREES Demossed. trimmed re-
n 6 __ Leroy B. Giles to Thomas Albert Scott and white bonded. Southern States moted. Full I insurance: J. B. Hausaton. -
Petroleum, Weyenberg Shoe, Carrier Corp ___ 16". 16% 16% Steel 2625". 257. a few around $19 medium Floor Co.
; pointer.
0 Renre Cop Br 6 19 19 et nx rel of rev. Answers to "Sport. Phone 8714 or 2-2206 for 525'a S S.mm..rln. Ph. 9"77
Ull __ __ 3 43% \ etm.tfs.
J Zinc, American Gas, Cities C.CaterpU. Tractor Co n. 5 54'. 443'2 R..al Drug o _n 52. 1'6. 7Reynolds grades were $15.75-$20, and top 5. M. Ragsdale et nx to Ralph R Ward 5118 or 4067.ENVELOPE COMMERCIAL SPRAY pantinj5r- TREE-SURGERY-All kinds. Palms
and Humble Oil. Lag- '/ 'ob B ___ 409 40 40'B I et articles of agreement $8.40. LOST containing receiptedbills trimmed or removed. Daaserouatreen
Celanese Corp 31 xd 26% 26 26 1 medium occasionally to $22; F. I allure .t our home drieo la 30miiutes.
Mali et to
Charles Elmo ux
27 26 2t". Al..D to May' B.I" Harper and cancelled r.bIDet. our specialty. Pine tree rerouted -
were Geo. A. Fuller Kais- Celotex Corp 10 % - buldln. maebinery.
__ common calves and vealers $12- mtg S20. rhei k. Lost since Dec. 1 la finest thrap. Lots cleared. Licensed
Cent foundry 9 8 V Stores 2 20'. 20\. 20'. equipment Special
Jr. et to
[ Adams Hat [still re- Ccrro de Pas .. I I 25'. 2i% 25'a Sae.u. Scan 36 I 8S \. 25-515.75. Culls brought W-$I: Elmo J. Hall et ux wd $10 V Cb.rle Winter Park or Orlando. S10 reard. price to contractor Raymond Hernia bonded. J. F. Kealon lit Irvin.
a cut dividend] and Certain-Tetd Prod 1 17 16'% 17 Rell Pap 37 10 I'. 5'. Angebill Holding Co. to Ross Bryarly Ed C.I Wlt r Park 27 Phone. 6210. Phone 2-1147. _ _ _ _
Cbes A Ohio 41!. 40'. 41% DistIl 33 32'. HORSH LOST-Bay m.bla.. Rea
of America. Turnover 8' 7'. 7'. Sb.Dlp) 32. 31. CHICAGO (UP) I USD A) Hogs: 11.000Sarrows $10.L bite CNCRE FLRS. etc. We form. PIOLTERJNoEapn 1orl. ..
Ch M Sii A Pac .37 % RR 1 11'. L. Gold to Leland B Boyd wd $10. fr. 9 hind feet branded concrete floors. In.bl7 pn"d' -
Chi & NW 18 14'. 13 14 Sears __ 31'. and (tits (enerallj steady to 25c "0 on right side. Ph 4731. -
was :310,000 shares vs. 200- [ Robuel 2f T. Ingram et to of Ta- _ driveways walks and steps. For price Shop. 23O3 Washington; 2-312.
.._ 61'. 62% __ 10.. Closed active and mostly steady. Cai. u B.nl -
Chrysler Corp 62 62% i S.nl n 27 114. Ii's $30O. MANCHESTER estimate 2-0256. Con-
Thursday. CIT Fman ._ ... I 384 38'% 36*. Shel UnIon OU _n 38 31 11. 30'. S. 25IO.lo.er. Bulk good and choice .arf Argo to John W. Shallenburg et oxwd Mixed. Name.TERRERLST tail.- mete Co. c.1 Dnham UPHOLSTERING high quality- .Eapruol..
Clef El Ilium __ h 35% 35% 35. Co n_ 5 33 32,, 32. 75-26 0. Practical top 26 OO Mar JasmIne .m.
$10. ,
about one for 2ft 10. W.lehtsund.r 1123 A. : 3-2302 R..d. BUILDING-New. homes. our furniture refinishIng Estimates
Coca Cola 4 172 171 171 Sinclair 011 ._ 168 18 16'. 10.0 CONTAC
161. to Robert Peterklnet
hh J. F. Holly et gX
Eggs and Poultry Colgate Palm P _ 11 41% 43% 43". Soconv-Vacuum 0 6t 16- 16'; 16 2 180 li scarce Few good choice spec wd $16960. 1 i WALE Brown IDtas.ij'M; ( building; any kind T.F gladly given In your home. Call w.
Col Fuel A Ir __0. 20 15'. 11'% SouAmG&P 17 4 3'. 3'. 140-1RO lbs 2.25-25' lull mod and Affidavit. of Mary L. Blystone. between Ful.rn. 133 E. Concord; 3-403. T. Jenkins. J.nIJ. Furnlu. Exrhsnee -
JACKSONVILLE! CAP) Florida nearby I Colum O A El .. 37 12 % <hrn Pacific 32 45'. H" H". choice SOTS 1 d..n sold 23 0 E. T Owen el ux &John Horvatb et BX Florence Moore. 908 Indiana, Ave St. CARPENTRY REPAIRS-Prompt service 2 -
eggs Cent Credit -_- 9 40'. 39% 40% S.tn.r Ry 24 35'. 35 35'. 2425Cattle. wd 910. Cloud. J. Reward no job to small. 2-1239 after UHLRYFurnturp rebuilt and _ _ _
All sales to retailers: Coml Solvents _u__ 8 22'% 22 22'% Sprry _ U 22'. '. 22'. 2.0. calvesSOO Steady cleanup Otto H. et u Furl B. Tracy 4. aU day Sat and Sundav. for estimate -
_ Wet Wi. Cur. Mkt. I Comwirh Edis .0 e 26'. 26 26'% SPlec Inc nO 1 9'. :2'. 51. trade on m..t killing r.sses] Vealers agreement ShU(1 & 14. Beauty Parlors CARPENTER AND PAINTER-General Call Artcraft. 2200 W. Church
A Met doi. In Crta Comwlth A South .1 2 2r2r.. __ 252H.. 25 strong to 5" hllhpr: ( 29 00 No Ann Mather ded 5mlU FUchbeck et vlr to repair. by experienced men. Reasonable 2-000.
_n___ 14 01. 78 79 {i Cons In -----_- 73 21: Std 0 N E 5 p_ 9 23". 22 3245 choice .If." h.r. head and few loadsof C. M. Tucker AMERICAN BEAUTY SALON 44 H rates free rail VENETIAN BLINDS Our factr
._______ 31 ci. 68 71 Con _' _nn 27 1' 1 13'.. Stand __ 95 6. 6014 f4.Slsnd coon 270-30.0. common and medium Claire Burch to S. A Waters e ux wd W. Church. Machine waves. tS up. mers Service. e.tmate -Bal. trained emplove, un ". .
____ 18 01. 86! 89 ask ... ... 1 121 12 Oil Ind n 55 39 39". steers active at 16025 OOCanners Cold waves. tlO up. Appointment Oard.l make of blinds or repaint to look like
line _____n_ 26 os. up 78 81 Cont Can . . 5 3331\ 32'. Stand Oil NJ - 47 76'. 78 '76', 14 2% and cutters alto artt. 1 50 $10First Federal Savings and Loan Assn. to phone 6931 Bonnie and Juanita. CARPENTER sorE and general ccpairing. I new.. Orlando Venetian Blind Mfg.
Sales direct to consumers. CoOt Motors 8 Stand Oil Oho. 39 27'. 27 27'. Medium and good cow ( R. Hill et ux am. CHRISTMAS SPECIAL SIS cold Jnlulr..t 51 27th St. CO 1739 Kuril Ave 8059.
Net Wt. Cur. Mkt Cont Oil Del .83 50'. 50 50 Std StI Sprl _ 6 13", 1315 13'. Bulls 16 OO-20 weak 00.. odd head 20 more than 21 00 Mrs Inn Murphy to Louise. V. Jones sm. waves. S850. Ph. 9725 Hay's Utopia R. A. Mormann. VENETIAN BLINDS-Made like new.
50 Odd headsausase
A Per dos. In Crt Corn Exchange . .50 D S3 53 Sterling 18 35'. 345'. bulls m.sty 00. d..n. Robert C. Johnston et ux to Emmett 1 Beauty Salon 805 E Washington. DRAGLINE and clam-shell .ente.. Lowest prices Best
0__...___ 94 01. 88 89 Corn Products 0 I 64% 05' Stevens JP I 31'. 31 31'. Peters et ux wd $1O. FlU und and clay for ( Adams Ph 9558-919 .ICe.. C.1
V_______ Zl 01. 7 8 79 ,Crane Co Uo_ 34'341. 34". ,I Stokely-Van Camp : 15',. m: m 510CR LIST Waldor V. Waggoner to Hugh C. Gtl- EDEWATR-i UVE.. 2422 Beauty Corp. Box 3468. Orlando Fla. Ih Central
___ I Stono & = : I you come.ou.l Orland. Fa.WASHNO
______ 18 01. 64 67 Curtis Steel 1 33'22 23\. Webster 114. PrnlhedCU chrst wd $10. On. 3-14..r 2102.ELECICAL
,
. lar. 28 01. np', II i Curtis Publlshg un 9% 9 9\. Stud.baker Corp ._ 17 309. 20 20 courtea Merrill D. Mack et I. to Wallace F. Wood V come again. B.s service all I Repaired. MACHINES REPAIED-
.
Florida dressed nOuh tales to retailers to eon- Wright un 23. 4% 4!. :ISunray' Oil _000237 I 10Y. 11SaIft I Pierr.C... .r and Beans: 1 et nx fid $10. b.uty eulur. Rna bar.KELLEY'S APLNCE. John- 24 hr. .
jCurtiss Am---------------
16Am..r. H.at.
.; -- k Co __nun 1 % 339. 339. Perry Holland et ax to James L BEAUTY SHOP=148 X. I to.ter. DP service. Caldwell and Harvey 2213
I Electric Co 23 E. Church. Phone
Ou k Flee __ Ion
._ -T- 0000 34'IAmer. wd $10. Church Edgewater Dr College Park. 2-1972.
Dressed Live Co B 43V % Clements ux St Phone 3-1014. Permanentwave 51811.V .
New. York style and Dra"nPn.n Or. A West 8 7'. .24'. .Co 36 55 574'. 58 Llaht & Traction ___ n_- 15". S. K. Kagaroslan et us to Waldorf V. *, ss up. complete Expert V W
Ark ______ __
Gas A. !
Red 2 Ib up 41 84 ''Detroit Edwon IS 2222 22% Texas Gulf Sulph 2 57'. 57'. 51'. .Nat, 5'. Wazgoner fsd HO. hair rUtlnl; waves laboratoryte ELECTRIC RAZOR SERVlC- ASHPOMACINE REPAR
hn __ __ al snlc.I
___ iDist 44 16'% 16 16'% T.a Pac 43'. 4V. 41'. R..rl. un 13'2 First Federal Savings and Assn. ted Schick. Remington .
Red 1H-3 ___ 47 84 I CnrlSnl ClO l Atlantic Co. _______ Lan ve experience Sunb.m. Barto .. next to Colony ,
___ __ 17*. 17'" 17". Tex rae 29". 29\. 0 4 to Lee Rencher et sir New parts and razors in Teater
heavy -- _ --__ 48 82 Dm. h I I _________ 5". Mami SILVER typesof ( I Winter Park 93.
47% 45'. 47ViDresser Tide A Oil 39 23'. 23'. Br..tH A..ron..teal hh et to Max Dr.Rosle BfAuY SALN-Al Mr. Olson. San Juan Pharmacy. 5569.
light __ 41 W.I. 23. Adcok u .
nn o 0 3 Alnraf 0 Barium S _________ 5i. and In
Trans-America . 6 0 WEL DRILLJGW. lpra1
53 52'.2I qed REFINISHED.
55 21% 20' 2P.
IDd..t 0 I Creole Pet.. Corp. 37 I.Rath Lucy. Phone 6220 21 W. Pine. FRNlRE- gph- '
Trans & Weit Ar 9 --nnu E. Carbon to F. E. Youngs et nxwd I .maler 2".2"
duPont de N _12 lBS 183 18SEastern 174. 16'. 17TnCoot Repair Shop.
The seven nations in the Arab -E- u h I Corp 3'? 6', 64. 64.Tweni Cle: Service . _n nn___n_ 37"i $10. .t..d an Insl.1 .el Juml
Washington St. Dial 2-1168.
League have an area nearly 150 Alrl ___150 17V. 16, 17"4 C-toa ___ 52 23". 2ila 22\. ( Bond'. Share Co. u_ IHe F. E. Youngs et ax to David W. Whldden 15. Schools and InstructionAUTO in natural on PItA plan .r write .
to Airplane Corp. 3' FURNITURE REFINISHED French. Phone 6.
UUnion FathUd h aGlen et wd $10. In".o. fa.
ux
Eastman Kodak . 24 43'. 43'. -
the size of Palestine. Alden Coal Co---------- 19'. John Franklin Wson i >x to Roy Learn to drive. wood or color Pick up today WELL DRILLING We equipped
tmes El Power Lt 67 17'. 16'% 17 Bag & P V 30'.5 3H. e E SHOL are
6 31.
I o Humble .
Oil A deliver Oa,l.
Re'------------ tomorrow. Jt
714Hecla
Com .
nerson. 8 15% 14% 15'. Union Carbide nn 119 Cbapman ,0 $1. ruel..r prepares you Sle.ar to drill halo. and deep weljs. Any
'iris RR __1__nn___51 8 8% I I Union ou Cal _uu li 24". 249. 10: Kauer-Frazer Mining Co--------------. _______ 10 14>%.. Earl L. KelDr Ci. sa t. Floyd )Wingertetug for State Driver s Test Orlando Auto Ph. 2-1493 .Ire UP to No water .. pay _ _ _
School
h nh : call 2-4879 FLOOR 38 montho
Everaharp 36 11% 11 Union Pacific 130 I Specialise down. t. pay
-F- n -0- I United An Line.---=:1J 171. 1:1.ln:: : : ln. Star .Co--------------- 21 R. L. Cannon et us to Edna W. Shook mtg I BALLROOM DANCING All types. ANDINGFlnl.hlnl.tratm..nt.. 20 Nothlnl. Well Drilling and Pump Sup-
___ __ '
Hudson Pw. __
Corp.
Farm Tel ft Rad I 74 7V. '19.Plreston. Aircraft __ 2H. 22'. 23\. 8'kI $5.750.B. Private and clase Ph. yrs. experience. Modern equipment. Ply. Route 3. Winter Garden Road
n I
I Uoted I NUes-Beement-Pond Co. ______ ___ 103. F. Fosgato In.trcU..n.
100 Key al Charles
I O. White et to .
I ? Work guaranteed. Phone '
T 3 49 49 49 Stri h 3 4 1 3-1066. Jane Studios. W. Lc.nad. Ir..mpt Orl.nd. P. 08.
I _._ II. ; Pantepee Oil of Ven. ___________ 10'SherwlnWtlllams 1 agreement for deed $2.25O. Dek.on 2 I service. C. R. .
Fllntkote nn___ 1 35' 34% 35'. United Corp 1 3" 2 2' __-_________ 71'. F. Fosgate et ux to E. Central. non till 10 p SAMPLE AVAILABLE of th large 2-
Florida Pow. .. .__ 13 13% 13' United Fruit 53 53'. Charle S.mue HOME SERVICES General bmild
1 113. Srhulte. Inc. _nn___________ et ox assign of contract SCHOOL OF REAL law and repairs; bedroom bungalow.
Fruehauf. Tra Pf 78 V. 78 78 8'% United Gu Imp 2 20'. 21 Whi. ESTAT. roofing new construction. any- It for you for 57250 on your lot.
2 Stand P. to Light _________n____ .. B. Brown et ux to Sue W. Batchelormta practice Prepare .amlnaU..n. G
Tax Questions I -G- United M k 1 33 161'. 16ii Technicolor _uun____ 13 $1.20O. brokers and salesmen 139 E. Pine St. where. Ph. 3-191. Jowswell.HOUSES I Gardner Real Elat... 409 8 Orange;
: -. 1 9% 9% 9% S Gypsum 1 10145 Textron .. _nUnu______ 14U Affidavit of R D. Elam. Phone 6568 WASHE by SteamLuxproceso. _phone 2-48 _ _ _ _._
| _===== 18 12 11% 12 U S Induo Chem 38 37 38 United ____ ____ -
I Corp. .
grb -- -- 18'. Lewis Brown et ux to B. Brown et ux ADULT .. longer than bI PORBUII.DING ADVICE and Information -
__ _____ 77 34' 34% 34'. U S U U'. I SHOL-Of Edueat. AP- c.an
n R.bb. 1 4 W. Va. Coal 4t Coke 171I wd $10. any Very reasonable.Eatimates on construction financing
00 o I and .the metho. c..U.
30 35" 35% 35V.Oen U 5 Steel 71 757.F .
n.n 6 7" .t ux to foxier A. Mouas Wash.Ing Let help you plan. Mills)
i Motors ======= 95 514. 55% 57 I ,FLOID FRUITS AND VEGETABLES DzIer A. DV.D. $10. efficiency. Parliamentary Law. f..rra Co. Phone 2-3825. and Nebraska.
Investor and Business men are ,Gen. Pub Utll 62 12 12% 12V.Gillette Vie Wh 2 4845 1 ;I ful Public Speaking Class sl.r Jan.
nn Cem Un 4 4 AP> New York priceson H. Stanford et ox to "
Edward
_____ JACKSNVI CtIen. Enrollment begins ISth. I HOLIDAY Wall. woodwork -
{ Sal 32 32 niw .10 554. 1th. 8EVlC
Invited ask for
t ns copies I 1 301 VleCh..mWk.P trlt .et.bl.as reported Bank. mtg $3500. 30. Good Flares To Eat
e Olmbel Bro .__._ 21% 21% 1l..rlda Tlu.Ue. E. Pine St Phone 6566 Orlando fof waxed. Before _
I y Federal-State Market News. Service to B. E. CummIngs et uswd
a. Informative booklet discussing I and Xmas
Goodrich iBF) 0. 557\ 57' Walker ''HI 0 W 3 20". 20'. 20'. : $10. afe "Autrey.2-4307. WHEN IN DAYTONA for a
1M pertinent Income Tax: Goodyear TAR 18 43' 42'. Walxorth C. . I 10', 10 10'. Snap Beans bu Plentiful few Harry A. Leiden et ux to Carrol a. Watson TUTORING In alf hUh school sciences. HOUSES WASHED Screens andwindows. day or a week-end .SJAC enjoy
Mot 20 :5'. 5'. 54 Warner Brog 12'. 20-30.. and by Look paint Job..
questions of particular Interestat Oraham-Palr Pct 11' 3 25. poorer and wasty et ux wd $10. math..maUc Enel.h Ik. a good sea platter or lobster.
pt 28 36'. 36'. 36% West Ind Nut 26' .. fo
1 26' B..U. 1 75-2 75. few 3 few City of Orlando to Mr. Fred C. LeRoyWd experienced schl Ph. Free .tmat. luaraDtH' deviled crab fresh fish
Val..ntne
is''time of rea. 'I Oreyhound Corp 6 11'. 11. 11'. West UD Tel n_ 20'. 20 20'. OO. Wax 3 50-4 OO. 0.f... $250.B. Winter Park. 16816. Call . f2t. right out of ."aahett.ocean .1.0. grade
Oulf Mob' Ohio 30 12% 12% 12% V Wntlni Air Br _0 1 36. 38 364. Avocados flat 7-10s 20. few 50.9II 250. E. Cummlngs et to Zulftm A.he HOUSES WASHED-Windows. cleaned AA Western 5tC5k5V hop. and chle-
Write or call personally for iQulf nhU_ 33 71% 70% 71% W..tnl EI..e. 0_ 29". 289 29Wh..lnl \. 8ta.l..nl.. pint few as 40. wd S10. I. Travel InformationAIR. general repairs estimatea. free. ken.. One block from the beach lathe
-HBayes Steel _n_ I 45'. 45 I. 45". bu hamp.r. City of Winter Park to Whom It May i Any small house In Orange County Gilbert prices reasonableSegular
a copy of this i Mfg 14 746 7V 7 .. 1 22'. 22" 22"aWIO..land ll Dmr.tcRouDd Hotel.
booJ.lr. Whle n n. 3 75.Cucumben Concern cancellation of lien. I BUS. waiLed 818. Ph. William tuncheona. lie
Homestake MID :=== S 39% 38% 39 18 5'8' STAMSIP-Teht.tour 2-421 .
: 8" bu fine quality 00-6 50 Orlando Development Co. to Sue MEU- ; and Choice m-lnes.. and on tap
f porto fully HEATER CLEANING furnaces UP
Heaters b..r
_.
'Holon Oil 83 28% 27 27 i 1 1" 11'. fair 1 SO-3 OO. barber et al wd S10. I .
HudsonMotor _____ 34 20'% 19'. 20 Wnoi.orth Endive Chicory bu 1 Ruckle et to Edmond J. Vorm- authorized and bnd..d travel consul thoroughly vacuum cleaned. to EaCU8ran.e
-t- 'FI 1 501.70.Eaeaeol. R C. ux tant. repaired for Winter.. Ph. 5668. 31. Good hints
Worthln" P
ALLEN CO.L''ESDIE''S 60'
& O" 5044Youngst a OO-2 SO.Kumqnata et ux qrd $10. I oti.
from .
across Chamber of .
'Illinois Central __. 38 26 26 26 -Y- .
t Alan C. Tate, ct ax s* Guidon T. Cb u- I MEAT CURING and smoking in Central and .pefralt
I' I Interlmke. Iron _._ 8 xd 13% 134 13'. Sh .T 0_ 1 7ev. 7494 754.Zonits Lettuce .101. Remain I 50- Cell et ux. mtg $650. E.Building.Central Orlando: ph. 8393.Travel leYc.. 118 Florida e most modern frozen .nd juicy Corns
lot Harvester 2"8'7 87% -z- food notify br .r.t. .
Deinsar to Ass C. Gravel I locker plant. We you aDd pick your own. $1 bsobel.
Int Nick Can 61 26" 26- 26% Product. 8 I 5% 6Approximats 2.00.Limes 28 bu cartons 2 00. 1ba car et 5L a m.H Ialter AIR. BUS. STEAMSHIP Reservations card when. your meat I. red and day sod Sunday W. .hlp north. Jnr
511 tal Bldr. TeL 2-2772 lot P.P 25 54' 53" 54% tlnal total J.teda 1,220.- Ala C. 0 raveae t u. to Delmar B. and tickets. Authorized agents all i guarantee aatixfaction Plant opendaily anteed delivery. 82 bushel plus luar-,
Inl o Tel 53 13U 12%, 000b' Squash bu Yellow. few 8 SO. Italian type P.lml. mtg 12.0. lines. Snnnlland Travel Bur.au 3 8 n. Central Florida QuickFreeze press. 219 N. Tampa corner W.
I.V Eaut Pine. Phone S3OI. and Storage Co 401 W. 13th
large 3 50-3 00.Tomatoes \alace Smith to Hugh I Washington. 2- 074._ _ _ _ _
lugs 6x6 holdovers 6 2S. Adams et $1. and Nassau. All 1 St. Sanford. Fla.
CRUIE8Huana KINO CO -Our tree
Wayne R. Ruf et to Laura C. Simmons Travel Agency, MASON. Carp..nt..r. "ork-lmnen. FRU. from deleo.
DUN AND .OSTREET et win .. $3.750. 118 E 8393. etc langa or rln..d .ur "rY
C.ntral will b. glad to
blo. n.thlnl 10 la : for shipping.
NEW YORK (UP) Dun and Bradstreefs. Laura C. Simmons et sir to Wayne R redy
HAVANA. CUBA. HOLIDAY 5.11K.penge .- to Phfn. take your .rde. Guaranteed denver
Ruff et nx. w d $10.Edward
dally weighted price index of 30 basic .
to AnthonyC. tours. Lanier Travel ServIce. MOTH boles neatly woven; In good order
J. et dlar.t.
commodities compiled for United Press Hansen et Urbach.1. S4.50O nx 30 I Pine Street Phone 8301. .. picot edging Also nice fruit for home use. 1.0
ECTROLUP ((193O-32 average equals 100)):
dayaerv Ice lOe a yd . a bushel for and '
; : -
Robert .unn.
Yesterday 30226 Butler Freeman et ux & John PITTSBURGH. PA.-Young couple desire ..aant..d .
also have
n. Ouun Tavlorlng: fur coats re- bushel for
Snipes d. $10 ride around Dec. 20. Share In.d. .r.Irlt.
.
Thursday _____ __ 30279 own con
-- -- -- -- paired Ph nice! your
L. T Hunt to Martha O. Walker, < and a.on.bl. 2-1871 tan.erlne
et ux expen Vivian.
Week ago ._ .__00 -_ 29825 . drt.lnl. Cal .. Washington
Month ago ________, 29144 S d $10Nicholas 8104. bpt..n 1 : OFFICE MACHINES REPAIRED 111
Year ago .__ 24136 Marlon et ux to Robert Scott Our service guaranteed Ceck NAVEL ORANGES- Sweet. Juicy tree
1847 high Dec 19) ._-nnhh______-- 302 B7 et ux. ..d. $10 17. Hauling and Moving George Stu.r. 1 S. Main S. phone I ripened Bring your own baskets
'; 1947 low (Jan. Ill 23280 Rb.r E. Cal.an et u" tn The Fnt 8188. 81 SO per bu Weekday morning only.
) UUhn B. .t mtg 51600C.rco AERO MAYFLOWER 1722 Virginia
TANSI C. PLUMBING Gas Fitting Bill KIng D
ct Inc to MaHel Rob'Ton .d $30. Long distance movlnl. Cal .. guaranteed repairs Phone 6OS9. ORANGES tl bushel: t.nlrne
< < < < < - er Van and 8t..r... free Residence 1729 Grand. U 25 bushel-half 65e:
COTTON CLOSING also local moving. storage H. Clark. Winder-
NUmate. baskets 45c. B.
"Gifts for All Occasions" NEW ORLEANS (AP Cotto's futuro. ad- packing caUnl and shipping. PIANO TUNING and repairing. Quality mere
"an.d here on trad. boying. 8 7988. workmanship at reasonable
Closing lI'.t.rd.1 were dy cents to 9S 140 D. _! prices. Fully g ganan teed. Call S300. I TEE RIPE FRUIT for ahlpping and
The Smart Gift Shop cents a pres bale higher. 5 ASSURED LOW household ship Associated Store for lmmedtateoervice. h.me u.e. Pb. 2-554.42' N. Shine
meat N. Y.. all coastal
Open High Low Spdal.t 8t
Clo PLASTER PATCHING Also Stucco 4-
S Cor. Sooth \ and Orange Ave. Dec. 36.21 36.2 36.OS 3.261 UP 1 Orlando points. Ablt, So. Orange Ave. repairs. Call Oober. Telephone TURKEYS-All .Ie. Hd.r smoked
March 36.3S 36.13 up 240.J"OR .
ready
3.3 3.35-3 9948. to serve Wider. Inter-
I Phone J 3112 May _._ 35.92 .! 35.73 35.1 UP 1O VAN A STORAGE CO.- Isken Rd .
1 July, 34 63 34 6 34.43 63.6 up 12 loads or from New PLUMBING 8EVICIW.at C..ntr.1Plumblnl ECo"I "
t
N. THE S for 28 years In Orlando -
Mn C.
n 31 68 up I York or en route. estimates Ph. 1
Oct 3.6 3.61
3.5
Night 7518. and finest
-bid. SZBfi or 135 N Main St !. 2-2231 rirrns paeklnl .hlpplnl United
PAINTING-Rouse Is an art: frit t. any
FIDELITY STORAGE and WarehouseCo. palnt"l States and Canada. See Leon for
NEW ORLEANS (AP) Soot cotton cloned axents for Allied Van conserve your Impr.p yourhome.
gift for perfection.
"MISERY"TKat your package
6ul Lne. Paint safe P. Curtis 1
ttaady SO r.ntsa bale higher. Sales 2 IM> Inc. Information without Stanley ;
Wet Central Avenue: phone
<: lea middling 31.7S; middling 36.00; on local and long distance movins. 8S2Q for p.tm.tnPAlNGPa.rh.ncnl. 422DELICOUE
good meddling 3.4 receipts 6.51; stock Also packing and crating. S6- By home made plea made
Yen Often Get From .t.nn. Uln
lumbago end at the Clover Grill. 7 S
18.11.NEW 61 W Jack ton. Call 7-3184. .ncfd sn"
Court take ordr f-r- all kInd
?
RHEUM ATlf pain. Brought on by Local moving 4121. I B. Price A Sons
KNOLLENBERQS
ORLEANS 'APAn.e ag.er is. of pies Reasonable price. 7150.
I I I 5% 5 I dampness and bad middling S/16ths-inch cotton at 10 Southern o- storage crating packing Also PAIN ESTIMATES-Color sugges Clover Prill Ph
wfabr. sends many folk to the store spot markets yesterday was cents abate scent for Deleher'g Long DistanceMoving ton.. Reliable painters rcommen- I
S BOOL At Olldden'a.. [ On Next Pace]
SOS Dial 4993.
-- Often Contnued
you start to feel I higher at 36.14 sapoun d; a".rfor Ma 1t. .
quirk relief after the first apoonful. Cau. age the past 3 market days 35.0.
tion: r B only as dUece Buy Middling 78.nch, average 3433 -
C-122.
pound. i I I DOW-JONES AVERAGES
I IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
I Citrus Auctions 1 NEW YORK (UP)
lilt lllllIllIllllllIIllI, Daily Stk Open High Lone Close Met Ch
I Inds 178 U 17848 IIP 141
= Come In and Look Around! i 0 RANG 8td.ESFlorIda Boxeg J 2 Hails 17.3 47.61 11.1...4 47.S4 4*.I.1. '..5
.$ = Md. Boxes R. T.Dn- i I I U .l" 3 I n.1 12.78 3.9.p'..
Wll bd. C
t Boxes1CTTT .S Sf k. 62.CS .)) 12.5 6J.M up 1.4
| CHRISTMAS GIFTS -Market term Car Lee. Car Atg Car Atg. Car Avg. Car Ave I Transactions in stocks used in averagee
New. York CUT genera;: lower) 1 2 35 14 2 59 6 3 87 1 4 04a 25 1 43 yesterday: 1".4 r.ilrd. _ _ _
Philadelphia hither) _n__ 1 2 92 5 2 64 -- ___ 371 7 1.29 Indu.tral.
FOR EVERYONE >1 gI Bo--n .neh.ne.d' _n._nn__ 0 1 247 __ __ 4 ..11 utilities, 3,6 total 25.6.
| : P.-.h -higher) _______ ___ 12'1 __ 2 4 17e 41.1 Bonds: Close Net Ch.
C... snn about ateadT 0 _____ __ __ 4 4 09d 1 44 Bonds __ u____. 575* u. tylie _______
__ rh aai urreBUlarl ____n_ _. A 3.31 -._ D 44". 1 32 I ) ht Rails _unn__._ 10272.0(503 _ _
1 I INo. STo.tn: ''Slightly lower) .____ _- 325* __ ___ 5 4 3oe 2 1 S3 I. 2nd Haile _nn_____ 54 II up Sit
/ MOSES PHARMACY ( 'r.nnal "i;ghtiy higher) __- _ 5 2 57 _. __. 2 ::"f I 138 ieut.it 101.3* UP S 12
V STORE SALES r>.-o- few 265 . 3 ?? JO te Ind. 100 M v. '.11
highert------------- ____ _
( < .. .. I 3321 I 205 1, _
w ONLY 1-1101 Colonial Dr. TeL 2-3467 :iav .1 L.npld 'Val ._ ..." ,._ 2 2 S3 3S 254 9 3 87 47 417 68 134 P0011GW gXCHANOEI .
Ill :
= F = a-irr.ulsr; b-higher; e lower. d-absut steady; e.bt unproved. 1- I JIZW YORK 'AP'/ CIOI"I '.r.l.n e.
No. 2 308 S. Orange Blosm. Trl. 9552 NO"Z store generally .ted, g-eneral higher. I change rates follow 'Gret Brttall dol
Alo have
_______ limited number New Saper-Powered Ia,,. others In cents"
GRAPEFRUIT (Seed} Canadian dollar in New York marI
nationally arlierti ed Tank Vacuum with ol
6 ((11111111111111111111111111111111111111111111The Florida Std lad I ket 1 3, 16 per cent. discount 81%1
lO-year written V> > of cent.
jniarantee. p our layaway S 4. BOxes I U. 8 C"Dt. up 3'18 a
plan to a"ure Chritmas deliYeryV Car WlrD Atg. V : at Britain S403V.. unchanged -
CTTT-Market tn A.. Cr A"I. Cr France 'Franc' 84"L. of a cent, 9n.ch.nIH.
New York City (steady) _n______._ ___ 1 1.1 1 1-07 1 97 Sweden
Philadelphia higher) uu____ __n__ __ ___ __ ___ 257 (Franc) 23 40, ..
Cleveland ________________ ------ -- --- -- --- changed
Chi.-ago ( HO.fr 0 ________ ___n____ -- --- --- -- --- I LatinAmencaArgentina free 2502 oft
Stouls(10 e.mmen&nn___________ -------- --- -- - I .01 of a cent Brazil free 5.50. unchanged. -
Cincinnati lower) _______________ __________ __ n_ -- --- -- I ; Mexico 20 112. unchanged.CHICAGO .
Dot 0_--nn___________ --------- -- --- -- --- -- --- ----
I B'i ? _=====___-.-=:==:== :-:----- --I -IBS- -i 1.07 2 iII '? CHICAGO ''AP') C6DA PRODUCE B\tte weak,
price unch.ni t two r"Dt pound;
GRAPEFRUIT (Seedless) AA 93 seor 87; 92-8 90-83.5;
II 8td Inil. RI,. Tessa C _7S Eggs weak; price \ to four
home of fine Innerspring Mattresses and CITY-Market Una "ML Boxes wirebd. Boxea Bozea e..n' a dopn J.e large NO. 1 eztaa
62-63; No. 2-
New York City (steady) ______ -- 3 2 11 3Jt -- --- 11..1 No.1.
teas 56-57: No. 54-55
Matching Box Springs. : 2-55 ; _ _ _
I higher -
Philadelphia --- -- J \Jj0commeod" esuremt receipt* -49
Cleveland' __ ___ -j I si _; --- 3B 5-39 5- da ; checks
;__III ___ leO 1JS fear JW --- 2 4ft
Drop in today and see QUALITY built Into Cbhaao (n ---- |
_
j __ - --- J-T
_ _ -5 423 S. ORANGE AVE., ORLANDO st. Louis __un-__ u 2 _- 2 24?* If oysters are immersed rar-
Cincinnati Oomert ----- --
these fine -- -- ------
4 sleep inducing products. Detnait ---- -__._.__ ----- -- -; .- --- 1 270Bal'06or. lionated water for five minutes
'
; ;
-=-V- I Tetala* .:::::::::::-:::-::::=" ::::" few-- -222- --e -n- -331-- 13 13* they are much easier to shuck.
i .f
Good Thing te Eat S3. Article for & >!. 33 Article for Sale 83. Articles for Sale
1UFE early oranges right tress the AIB COMPRESSORS 24 COMTORTS One bn! 33 ArtIcles for Sale 33 Articles for Salescirrrtrwy
stock for iCs.2 1 boys: SIS one satin
I rumfco
IT,... We pack and ship AJea Immediate delivery P and Caa be ec : new never-sued (17 . 1023Wilfred
Ore, Lagg CaC.rhJ:1 Ph 7684. Supply C*. C30 W .. (lit. between noon and 1 p aa at 301OS Dl SOFA Our-. ,.t S,aM Wt MAPLE Fret Ic at,. SWa1s '
KttiJ : ::hnpbnar* (E: Fr .;
32. Article for Rent AUTOMATIC WAT HEATERS CABIN CUE -1.s 4; priced al itj.s.t7Y. : es&.t Jo W n er_ Park if MMCH
Moris and lerD 10. IS J and BICTCIX-26. boys. good tOL 15 sae; aeo Archie SPA 7w.n beds errs: of drsw.r 'TE 4. PeSjpek,5v I
40 taJOB Phone ; tic ins bame News pa ads.
BULLDOZER with palmetto rak 4- Wlt Puk. ,at Sanford Boat works.CAMERAS "-1 p cces Coleman heater JQ4 advent .
aD A fw table top and 35 H.iCey ; 2-3872. org travel. omira. Bow RXGI8TKHBD
Cou.5 c -
due Hourly or rontad. .Ier.. 3 Reason BABY CAJGJtol' gasoline -Spanus Fnlvue. Box type teads Camera Shop 1039 S Orange Blonde and > ,
..tmal. Phone _ _ .a ledac lawn with reflex Southland SHOWKR.-.OO66 call 3-isis
2-42:7. A lo condition. a Hobbs "TU. coadlilos. _ (tales, (to !h ,
DRAGUNB-New-0 yd Jarc 2630 Elixaoetb St Shop 217 N Main oppczltg Post of- '
c Willard and Keiser Torn Theater I- : S4 C.I 4 fo fub t_ BARGAIN-.Orange
Orlando. Fia f".. phone Bell 10pt washing grading. SPORTSMAN A
Bl 346 Ph block Colonla1t.a; B 1ST _, aad
513. and polishIng machine tn
ir -
er _ _ _ Etfy' l T r. -i zIa7 SI KEEN WIRE Brass nee.t 3.Avs good '
ASBESTOS SWING new Am CABINET Sew One Of and bronse. 24 : 'r<;.':on Or wi.l! rent .ad1In. and ;
-T4
and .0.1. HARDWAI
DER AND alM metal trim; for Telephone w.1 :o 48. Saws hasuners. bits oui.d:ng Orange _ ,
hardware oa
iRA EI 4i8 Bkwsom TraIl.
asbestos 15. 3327. More lok b.Uder .
s.
p11w
ft 1..aU Te ."els. and otber tools 223 .
: PI80 0 .
aD flr pUhr. thousand ; .al ad cast iron or Winter Park eil-J TROPICAL AND .
a Jn. .
bud BEDROOM \ .
Wclolr Mdw" 3281. R e- SUITS-Maple; ciecUlcrefrigerator vent l fl"a; HdwalURED fish 1M.s.;
a
and Nebraska N.braa :
FtRNITCRE FOR RENT-Comfortable Il Il -. .. range. antlquea. : TODAY TI BOARD for bath :34. Arttclfs U anted gettsh: Stoic
clean Why bur at Inflated ANTIQUES-Choose from large curios many other lem The Opportunity CIRCULATING FPCES-S..r rva ad kitchen; medIcine Catfish (I Har"
p' u? Sola. wing chair tablet desk collection for Chm.lifts Wes- Shop Maituad s.zes. our dor snli. ant ; j *&&' .ab.i c-s. l.a IrcD boards Try ADDING MACHINE 10 key electric wood Dr '. WIB'e
lamp other Item. For 1ormUa ches_Trading 2 Cfaarch Post Office units to eneos l 1 -, '.1: and 2 :vate cart..Phone 1741 TROPICAL
pho',e 197.FR _ _ _ ANTIQCES-Chiaa. art goods silver BRCCI FLOOR CLEANER-Never arc r.l. TOMORROW * SCREEN WIRE-Bronse and ahusU BAND INSTRUMENTS lied, a ay shipment of FtBH r' .
BANDERS New American furniture sales .te on fine floors Us Bn.CeDe. CRISTAS LIGHTS -SUM coffee .i r.": Al widths Screen door grills. coed itio n. \e;ion Music House 211 :eapardLS asv.i
new edser. Reasonable rates Al mr. Terrific ba.aU.pr.at Or Smyth Lumber .. N. la e.. toat.rs. & clocks i 0 M. .< ard N.braa N. Rosa"rd._phone 5a3 Neb aska2_ ioTRAINBD ,
_ :
C R 1805 Railroad. suet sets fancy pottery;
Burke 8 Bumby 51 lano. largest collection Demies al. fl.ln.ad si\ISG MACHINES Factory rwr -
HOSPITAL Bale*. 733 W Church: 2-0156 fruit bassets at 222 W. CcnlisJ .1': guaranteed like new; portable DIAMOND RING eBts Oivo fal: qarr"f
eelcraft ft.
BOAT 26
Cruiser
-
BEWbel cbaln Hdw _ _ : AND EVERY DAYGIFTSHOPPING ai . Wiggins ar':.1&ra anti 10.,1 prre. Ilea fast and a crSrunky
Orlando four ; C347
Used
O .knc. Cu APARTMENT GAS KITCHEN-Com- sleeps as demonstrator - vnl. A nO SStar.rttS.NrrrRE. Creek f
iinactPh 1287, nlht MI7TPEWRTiR'R with 4-ft gas Will sell at liberal discount 115 COAT-Genuine plucked otter. ]. SCOOTER-CashmaB. good as new Law. Rt 4. Box
AL-Special ranse pl.t sink cabinet rdn..al.Ideal for h p Chrysler motor. Diamond T. length size 36 natural color luf : e' < make some boy or girl happy
rat.. Check .an.. 1 unit Pull a. Sa,e. i Service C. 103 S OrangeBlossom 5.bat t match. Pefec c : v. 1 t; s'm. A barons for osxo 1SED. pb S-nca. et. .'_no- :1l1d '
with George Stuart. 1 8. Iu SUph .bl..ma Modera AppJ_. Ins 4.& TwBATROM (1OOO. Phone 347 BickeClermont : HELPS .' S8S. jooo .1 Ave It 10150cmPCIINTIURE.Uned
F:a N. H
ne81S8_ _ _____ 10r''_ _ _ _ SCALES -''Borg Mag REDS F
TTPEWRITERS make, ako add- ADDING (165 numbers easy to read.BumbyEardware DINING T AB1 chairs and buffet S A ;NO MACHINES-Singer a PU.II:; $. 50AiUei.caSt
In. machines by week or month. WACL'E'r.. B.n.ss 102 W Chars S. Very .Apply t 4OO ...c'at.e also Singer staves tea *n i _
tmm.dlate d.l.r E H.
-
Office Equipment Elclan. Smith Equip 39 N Orange Are. BOAT-1frit: resisting metal Broad syDEWALT ,_ __ Lk. Ave sewIng macldB. ..call before you N H. RKDS 4OT
Corona A..nt. 220 s.; B5. Phone S4S4 16 H.P Neptune POWER SAWS -"DA FlNA- .n-o sell We cay -tow prices. SewoU Soc each I air
\ Also Paris
TOOL RENTAL-Paint sprayeri; skll-- KUlarney Flaning Camp I r;" TburBMod FursUtBre Co. 2 w. Fine Co \> mites r.. -
..... bnh_ .. power mOWCeSfioonnc ; AUWUiU BAT and Champion o.t Ki! .13.. Fl. metal p aners N.I J. saws D. dr1 Logan . ,",,'' on RaYlld O Mats. 7CS 't St. Dial 4070.,_ _ _ win 17-02 _
hone P.a .
a 5 i lit St
equipment concrete mixer bard 10tO' p.er. : E GIFT SPCOTTER
ClraonLR
telephone. Wount Dora 3733. RICh
and misr Youni 100 boat trailer . CORE'BAGS-mu- tropical < : 1 WILL BUT remove or saw jour FftiERS .
1 UTILITY
VARNISH
Tol .
W Washington R.ntal non All for (325 Mr Whiting handmade DINiNG 'Tetuh.na guSts trees. Can King Bulldia agE hens Telepho
613 Delaware .taa.Cloud 251 N Orange ROM SV1TE-6 pieces setof -- 'd .un. wterro. t Lasnber Castpaay telephone 1423 Vironia r-
n. 728'l-
HALL-IT Sri .pht. Special .
Rental trailers dl.h. .maI wine pr. 2278 --- pfoe
types and sizes. for every pu A BICYCLE-Boys'. 24. (15 Phone CASEMENT SAH-"AD.r.a": com West "a"bank A. 1'llt. P.rk. 33. Articles for Sale for Sale S j 50 per ES on. Bumby Hardware ORANGES grapefruit aaa UBgerhus SNYD5 QUA 17 .
Zf!,elent and pi.. will Lt 33.rttle l 0.J W. Church Highest give ,
; rourteou .nic. Fairbanks WlotrrPark. 8-8461 market prices palS L. K you lane:
__
___ .
show them Smyth Lumber MOrange
Co. GAS C. S.
Trl.r Service Fairbanks and BABY new Make and STO\'E-Aparmpnt 15. PIAOU.h! mahogany Lester SPIN ALUMINUM GREASE SEISi'sit Bronson 3-1226 Certified.
Clay Winte Park 97. me CARRIAOELk R.lrd. _ DEEP .PD': Used only 5 monlh Rearrablr and pepper to (2 .. OLD OOLD--We par SIsSies price ed hand-culled c
YOURSELF 2:13. CARPET S cEEPE 'Wagner"Konth WEAl -I Telephone Bumby 102 match for d amends, old goid pedigreed breed: c
D Ti-WORK Ret FENCE-H.ai.aeirxir.: 39 in 2-483. H.t'wa. watches
BULLDOZER -42. K hand carpet S sired New lEssor-
an.d
or polisher Itroela Al. Cai.r Vktor1 Pumps 01 all types. and 46 .n. polIcy: n"ID. hardware STONE broken jewelry teeth silverware
H D 10
sweepers (8 45 Slorex Co- a. ; rellsole and Barred RCK .
PIWb WAT KWlt
little .1\ 1 anIl dar KII PA1STSGPAPEING t
Smyth Lumber Co Brrkman
Sons
139 N
.very log fixtures and cloth You guessed . Orange .
d
.
1.1 sun Wiste
N Oranie and Railroad bl.d. .bl. power .ocr 25 E Pin Phone :316 A crt .aranf. KOtfoD. PIt.PIANOUpright .I. aD suesB for I
unit recently o.rhaull. CASH REGISTERS Immediate delivery work ..aran.d. 35 months t :t aa Nebraska 1. ,: ; 'iii:b> Hardware Io West Church OFFICE MACHINES and furniture Sovdcr Fa m ..6Ssiuitmerfiet
priced Box 9b5 LIBBY IRALUA.N. 711 West jet our pr ces heck with George
33. Article for Sale PhoneJTIJS on Nationa! and Ohmers. Church Street 9869DU FRIGIDAE All ."Ia A-I. used piano Case no 51 Stuart 13 S Main St Ph 515$. Flurt.uthkisAj
BOAT-14 ft: -bottom: 42 HPo New and rebuilt Florida Cash Register .I.phon raste New U""prD mu.h good but action and tone 10NAL-StA-3.. modern. : .
ANTIQUE FOOT needlepoint motor. and & 1578 N. 220 S Main; 885O crib mattress ills Daupb. cfl ent. For quick sale ("9 5 No . room set. 2 bed
cover. (IS STOL .It WInter Park 'LINE-KoroceaL The new -" -- -- FVRNACES-COIeyP.O. Phone calj. Associated, Stores. 14 N. room sets oil stove ice bos. recon- PIANO-Grand. Phone 64VSZ key ranch Ph v .
practically new (18 vacuum.anr.clae. BAT AND KICUaN..12'pr. CTHE clothes line strandedand PONT HOUSE :AUn'-1 6O per lemp or VIm. Keen Orange diuoned Actfll.lr D-
(10 Phone 141.J Winter ParkARMY with sold wire Knox A Co.. 25 gallon la ones (2 ga on In of .ay. sasesseace o .. Immediate dehv oat PAINT u HOUSEDwFwnt. (561 tors. 2300 . WE'PU-I25 fOr' your old-drop head 4S.partment.. :
.NAVY SURPLUS Champion twin outboard motor ex E_ Phone 2.1163. fives. Also Tufco red barn pointitemi.paste crY and ins'al.:a:ion. 513 VirgInia per gallon in ones U.5 per gallon: SHOT inCH S-I2. 16. and 2 Singer sewing machine regardless
wool blankets. GDSAI rellent condition (155 451 Ollle .. ELECTRIC Telechron" > (J 4 err gallon in ones Ph 2OJ46FUR D in 1.rs Also Tufcote bar paint gauge .n a .1.Uon a of age or condition Phone 3-2341 CLOSE IN I be::
mattresses clothing combat Winter,Park. 164-M CLS Elec'ric:' and "Westclox (3 30 per gallon in flees Large a 'tessi.pa5tei.. (3 40 per gallon in ones Knox Stores Co, :B Phone HIGHEST \RKET PRICES"paid for front w ng BOmn :
ah. bass bt BED SPREAD crocheted All"Gnn.1 Johnson Co, : ment J..t rK..d Present CATHoter bark maskmt (J 30 per gallon in flies Large shipment 2-3163. Ph SOICLOSB
tavebn. a.lalor's H.D .tl Ele'r 2 trans are that house paint win la oranges grapefruit and lanzrriBcsLester .
. bug bombs; pup tents; thousands 910; hostess aprons hot pads. E Phone 518.HITTOY advance soon so cel1 Will acri- Jut received Present tndica SCREEN DOOR HARDWARE-Binges. White. 3.1226. 08LoSeiractivo
of terns All roads lead to MorgansSalvage PIn.. block from Lorna 102 . prJe. Bumby Hard.a.. fl. Ph4. turns are that paint w soon lth. braces springs etc Kaex u..d'lurDlt..r.. __ apt -
w
Wagons,
tricyc Church WF BUY
Store ,46_E.burcb ,st._ Doone bus lneBREKFAST dolls buggies _ GAS RANGE F -.table advance in pr H.n.a. 510. C. 25 B Pine. Phone 2310.T' veiling Orlando Furniture Call us Co before uric adults oo'
W Church St. '
AIRPLANE MODELS-Complete stock SET-(25. roc kin It ftc Fair Stor 10 W. Church DOLL CARRIAGES-Tricycles, wag too .. la.aa 10 *" DISC SANDE&C! (61.SO No J store 615 W. Church phoae48(3 season to Apr i;
aad many other children SItu bicycle good PAINT -5 hp gag motor: 1 nens. maid c
Ill.
models and acc..rl. HO-O trunl. (3 flat-iron and STANDS Metal. .n t'Lt. SPRY Pease S. Mo' Dora -
CHRISTMAS
Railroad boats racing Model toaster 3 room set TEE our lay-awav plan on all oitlon Ph 2 6ol. 5 gal nks 315O 8. Orange phone 3 (900 a bedroo
.
.lt.
1.ln base :3.TT .
P metal
tan .o
very (1
supplies Haley'S. 214 N. Orange. 6668 electric r0n..ator. oil b.at. .t.- red metal sl.rdY.legs (1 Bomb Bard Furniture Co, 33: GAS HET b.nler 11 a 15. Blossom Tr.i. Southland Motor New standard make 3*. Fuel Oil and Iloodrust. .250 Apply 54CLOSB
Church 9217 Court
dio rol.a.a, bed wardrobe ware 102 W Church St ____ B..I. r. fora ds1n. Hoover 1 two slice automatic IN Con::
washing and sewing machines; tables HAMPERS FURNISHINGS Collars, bar cieaaer . alter PLASTERING TROW ELS-EKa light (25 Box 309 OILHa. your tanks filled and hi in* ;::.
CLOTHES -
supply D
St.r.Tc'
chairs raoatovea vU many other A'.o 10 am. with now Telephone Or anile 8021
APPLIANCESHot leads aluminum Know or baths and eatrxi
ness :
bargains 1051 N Orlando .. 'Winter in several colors Stores Co toy. 1.Dkpt etc. Knox. RADIATORS. In excellent Stores Co E s.. 1.-3163. and ovrrcoaTt "n- Winter Park TOO McGrxw Fuel Oil joined For light
Bumby Hardware 102 W. Church 2 Pin. 2-3163 GA 2 P. new Brown with t
Point from PakBrRW : .. Phone ..tr Bert. sonal
rangeg 11175 ap St Johnston 2-3129 buttons size 4O O'ncr ___ rates Ph 2
Immediate d.l.r. Spa iatr SUITE-12 piece rock : DRESSES 1 ensemble $. black GALVANIZED PIPE-2 105 ft New service will sacrifice for (30 t IRI'ooDf'orare Get H watt CITRUS AVB 5ed -
sU sizes; Savage Scaly mattresses COTTAGE in trailer camp Partly ''P 40-2 34 s men shoes black further CfiJTS- N. By.r.1Xt. It lasts. For panica.ari sad prim : adults
bd. In
table top 30 gal Wlt beaters city and springs: rok maple kn.-bole furnlbl O ca!h. Phone Win 9. slippers 10'i. other articles: 1218' Tel.pbcnc16 fo PW U D1 call 947 until Juae 1st or 970
f. Al. Cab : _
.
radiant beaters; heatersportable ; desk A,I .ood 14O Greenwood, Aipnuc 3> prewar won
(. as new S.Dn- I. '. Feme 1 ISO HP. WOOD Stove and >)inS DVPLU
-- GALVANIZED TtjBS CABIN -
ironers; radios all 20 town Rd Casselberry CHURNS Stone churns with dashers btck.ta-'p Hone Machlagry 430 WKobiiisast. )s grny .0 suit r-
.U DIXIE FLYER and strands special Cashand
aL water heaters -Large. aj steel wagon can: .b..lbaro.s Co sine 38. AUardice Apts.. up or BIO Isquire
( city gas 2. 3. 4. 5 and 6 gallon sizesBumby "p. _
BABY BED-Matching chest; chlldibighthal S89S while they UKyclea. at 222W Ccnical Hdw carry 14O1 WashlBgtoa. TgL6" Highway
coolers: electric roasters; coffee soakers Hardware 102 West Church I.s TYPEWRITER-Underwood standard .
Into play-table all sizes night KIng Fruit Co.
: 66stainless steel link aad .oonrt open Xmas Colonial GAS WATER HEATER-Norge reirleeralOr. -' rebuilt like new. priced to (;0. -_ HAMLIN AVE. 14apartamit .
and .balr. 229 Pasadena PI. pb 5 & 10. 110 E Colonial Dr. .u WOOD Loa slab (2 load I?'
a
cabID.ts.ORLND. SICfE'P.DRAWFRS' breakfast set with 4 chairs; 1424 F.rl Drue nx ,..
CO 210 3 3176 (12 95;- PUMPS deep and shallow slab wood $2.50 a strand delivered
.I.ul. quire 1414
Wilt u S (;.iubcsing otaihintelec- Ram r
APPINC. Phone 45J7ANTIQLES 8ICYCL' 2 br Slid girls ex- (U !5; coffee DRAPERU. lD.. like new: SUB >l cii hurt. mattress. Ph. well Ea'y p.t. nothing dvwa TRACTOR., h p.Piantec. Jr:' (4 so O H Spablrr Bus 116 talL
A..nu. heat I. KURt
Crass .. th 912
disc 2
a -
goixl urn :iblS10 b anki(9 9S Whitmircmrni rh able .. and a little aaonth. Bel r.IU..t. plow Tractor Flm roaisbed
Plume r.U.Dt/182
SifI..lace.
bas :4t k.. WashniunOlSLNO I.A3 REFRItthHA told-Sertel ( ,nter Garden Rd 1 aaile east .fOrio Church StTLXEUO WOOU SOB Sunday all
-Visit our unuitual I BED-Complete. (15 unn racquet -We buy sell. tr.d Call at Prrv W; & "u. Vbta Phone and up strands slot al price Cash NEW
Orlamlo
aol Ro.11 34- DUPlEX
stock formal. repair all kinds of a nia 70. Size Price and 14O1 W WashiBgtuB Tel Ai
RO1
where an evei changing strol.r' .h. Sl'lE. COlL or phone Park 199 i.I tarry
vites dally inspection for the collee ..d.. . $'a; bat bl full hOe of suppI. and photo fin pie U..I .. WIt.r POWER LAWN MOWER-Most $329 good conUitio Call at /6. KIng Fruit Co __ __ MimEs erg kltrhea pr. :..5. .
tot Jets Beery Jeweller MagrudeiA to match Ph 2-2575 i ishing at City Luggage Mahocanv liquor cabinet Taylor lot GO\mNEN SI RPLUS Builders 4 months ago will sacrifice for Otceul41. spacious
J WOOD. oak and aU 1e0lUisltea..atall' No
Also mi"' < hou'fhold eauipment A home la a harry.aasBcdimte S150 Weight 300 las,. cut. Call Pin. pets Season
,' Co Orange and Church ous furnish
ade. J..lf
_ ___ BAT Motor and trailer E.mrd. ne< Ph delivery Sales at 2.4388. YOUR'i PIO' telephone 2-1147. t* May (100. Ms
A I. cANOPIES< Roll csr- Joir motor 14 f' '.mi... CHRISTMAS TOYSUs our-wiA'- '---, Pine Castle Air Base oUr Salem _,___ __ __ P.rm.fl free A WELL-HEATED home ..1.3oa 9231_
'::. Veneban bllnda- to or- bottom nit,.abouae kind steel trail Wan plan f.r DIXIE FLYER .. all steel .al- P. 0 Box 1191 Tampa.GOt. Nat1. PUMPS Before" TOM buy see the estimates cCr Porl Sl 1117 that comfortable warm contented NEW TrmKG-IMXn
N. .
esItmitel Colonial AOICICo. ernar'uU' .. 5umlt condtotu (. line of tncycles. wseons etcH on $8 S: while they laM; .? Goulds Balanced FI.laaki. O D Ot. feeling Orlando Fuel Oil Co lac. era fUrnIshed
tn.rls CLUBC
81 Hillcrest A.. Phone 461J flat belt toni .boat included Price H Parruh Hsrdware 220 S Orarge all .1"S. o.n nights IntU Xma.Gat. woods with: w1-to.->4 let .at.r Y"rm fuly ..ut..ta.Co LTTLITY SPAR VARNISH Tough Ph Sll or Winter Park Fuel Oil Co.. week month or u. :
W South.
(4SO Phone 141WInter 1 Park Ph 2-1841 1005- n Machinery 18 hard : waterproof driesoternwht
AMMUNITION-Shot gun shells; 12 .... Hae..r. S Orlando McGregor irons 4 mixed moods with C. ..arln. Ph. Winter Park 2OO Also aice Urge sir .
16. 20 and 410 gauge 22 rifle cart BOX SPRING .bl. bed nrc (HUke CANOES Old -.n--on hand Correr Ave 'lnl.r PakRIKI"O leather bag 15 Special price this week have orange jul r .1
aU roe information craft Inc Pine Castle Telein 14cal101 PUMPS WATER SYSTEMS per gallon Bumby Hardware 21 j-eruliifTs and SoBs
free
ridges. Ions and abortsRecma8s n. PI.u 2-93 FOUNTAIN Orange WELL. 135 for our sue* sW I .
Kelvinator Pia.
Office 27 W Church nr 1 2465 of "altad. lt atee: . down patt 36 Church St ashingtesi
LaD .ut.m.tc. th.r.stat. Bumby Hardware __UD.ra" months to pay W1am l., 59 V SPAR-Tough. COLD SMOloe will reduce your pests
, 102 W. Church GAS STOVE-(35. CaU-WID&er N. Garland; 633X AI"lU and conditions tn PARK LAKE VIEW -'
tART improve growing
-A.-------& t IL y--- J: --S.---k----4- dnes
B. L'
-.- .aler. 1 bedrooms
-a -'.- + + .9. -o---e--w-e---- .w at 6--- . . -. DISHES 3J-piece sets. (8 95 up; Park ask for Mallnd 2-2021. o..mlbt. Special week your soil if used In your garden at han blinds oak tile requipmeat hi.
53-piece 5315. (16.95 up. Fair Store HAND DIE8Pli and lip. PIANOS-Just one more of those new gallon. Bumby Hardware planting time Send for full Information beaut If .
10 W. Churth St Kaox Soon Kimball studio piano* avail 102 W Church, on planting roses and sweet Par mo
_ ml season*
2.3163. Dec delivery MiLers. 145 peas 508 Brookhaven Dr 6314
_ _ abl. VENETIAN best cost Blvd
DIMNC ROOM SET-\ermont ma- Fairbaitits Ate Winter Park.PtMPS. BUS' DAIRY FERTILIZER WANTEDDr -
HOSE hose no more Central
CIITPOTTCHRISTMAS ".p.Pro'l1. table 4 "hal; ex_ ft. Riturd rel.. '10. WATER SYSTEMS. 189 Atenue Orlando Our Wet 'ed. in large or small quantities WINTER 1 PARK-9
-
C oa<" ion 1181 i ao t.I"lho. bedroom bautilitlea
WInter Park ph. 438.W.1"Dla. ..e. Knox Stores Co.. 23 E fate Phone W. A Jory and Company 415 number is nSrA-Bu.D Write. or phon. Uert. Austin Sentinel furnished I -
23163_ Robinson Ave. Phones 8712 and 9609 manufactured at starFILL _ _ _
DINING ROOM suite S piece; tuxedo HOUSE PAINT-"DuPont'. $560 per It Pays to see us first us about Best and good rich top soil For full WINTER PARK -- 1
I SHOPPING MADE EASYSolve 3 long. new girl s b,cycle. 616 D gallon IB ones (5 SO pr gallon in PIPE DIES: -.Armstrong. stocks and Alum. basswood. or cedar blinds Factory measure and quick delivery dial and ment stores Ground 1219 M floc : I
ls Put D. _Ph 20097.DOLLY ._ fives A Tufcote bar paintiseml dies In several size CmbloatoD5 price or Ilt.n.d. ran 1. Orlando J-4053 '
7.ew Nelson 217 llabette .. (3 SO per ones Knox Stores Co.. 2: E P. Plone V.lan Mfg c.rEN FILL DIRT and clay more APT close for 1 person a
What whom the (3 30 per gallon in lues Large shipment 2.3163 loads full Call 6464 dajs. IB With or u
the question on t give t by reading StiN Kistimmee.DOWNYFLAKE _ _ BL is-AI.rw.: stock measure. 35 S Main
just ..I.e. Present indicntiocs - 9.00- P H. 6" pumo Sic 9841 nlahts.roULTRY _ _ _
ads listed below This handy GIFT SPOTTER ''I appear each DONUT maclImo; 2Ha5 are that ho.. paint will soon PMP ul.engine Completely per ft at factory with... MANURE, the ton or 9 ROOMS famish .
old Sos 30S a advance in pr ce. Bumby nad.ar. rebuilt Winter tian Blind Mfg Co. 1739 Kohl Ave; sack Fairvilla Poultry Farm. Telephone new home Adu'c
day and offer you a ever-changing assortment of ChristmasGift 102 W Chur.h St Park. after p Ph : 8059 5927 I Ii month 21 E Esane ts.
JIGSAW-Pew I I .
I ECRIC I. b.p.
.0 ."
HF
Suggestions. .. Ave. A-T-S. the model 55 461.
Houses
.or .ho , P.retlD with pilot i 38. Plants. Flowers and Seeds lor K, 11
ELECTRIC TRAINS englneg. 4 W ."t>O cab ft. of space PUMPS An types of Deming- water nE.BUNDS COTTAGE _3:room
aarlorm.ls. 1 passenger KfUina dept. BWb Hardware systems for farm and home. No AZALEA SALE Also Belgian asaleas. or out Knlshed
Og5it eleclric: sw.tca and UDCIII. 10 W' Church.- _ down paymxr 36 months t pay Expert Auv size. Three day delivery Made 25c to SOc camelias 35c up 1341 Store. Lockhart
f[" '_ : whistling tenter station t.c.. 21 HOT WATER TAN fa.=Mwstee. services E.n*; Machioery at HarmonAve.. winter. Park
.
[ .' $ab ( Ogle horpe Ale automatic 30 gal 1 minute elec Co 430 W Robinson. CH8RLES. 18 Edcewater Ilolve.Phone ANNUALS.-Calendulas. petunias' and CLOSE IN-Nice; rra. t:
washrr Both
like Call
ELECTRIC TRAIJ Track mounteden tie, new 2.5. I many others Shrubs. C. J. WU
board AI. boys bicycle Pb. : 4 <'n stier 6 pm Hams 1411 E Concord.
v'. OAiI MOTOR 58.5cc. 5-h p. .66.. HOME FREEZtRS-Kelv natof, now PYREX WARE-A good selection genuine Ai-RICAN-VIOLETS Pansy plants DOWNTOWN.-Larg.nersprlngs .
SLPPUE tlivr something that 129.5. :down (2.75 per week ELECTRIC BLANKETS-General electrie ENGLNESGasiline. distillate and available at Bomb Hardware Kelrinator Pyrex oven ware Includingseveral VACUUM CLEANER- -i. and Rose Morn border petunia private gas. .
can use for all 12 months. Slightly used. ( entrance rand
Ollddrns.AMMERMANN Ih. b.d..t plan. Goodyear 3OO $42 01. (6 down (125 per Diesel "D"ln. for agricultural and Department. 102 WChnreh. gift sets. Knol Stores CD. 2 35. 1101 plants Peggy Jo s Garden. 2319 North Rosalind worn .
phone 947 .
N Orange Ave _ _ _ week on our budget plan. GoodyearJOO industrial istallations Florida Pp 60HlE HARMOIC---Marin. E Pine Phone 3161. Park Orange Ave Phone 2-1727. rred. 123 McKee S
's-Give her a wave UGHTR.- "Ronsn'pp". N. Orange Av.tLR'LAMP. Supply Co 630 W._ Church Ace PITCHERS-Stone ware water pitch VEGTBUSHREDDER: T AZALEAS Potted---or--la corsages. DOWNTOWN
for Cbn.tm. Make appointment "born.. "E.an. H.rmaD IIi ELECTRIC TRAINS American Echo and Chromatic Herman Loan era. Brown and green. ,5. Knox Phone AZalea Shop at C..l err Larnersprlngs -
now at East Pine Street I 27 La. 3-.Ylndret 615 and Lionel Flyer :.27 W Church St. Stores Co 25 E PIne. Pb 2316.PRESURCKER11 75c Knox Stores Co., 2 B Fine 22221. ; ass Iii
dial 6462 Ofae. -Wet Cb.rch lomplete with ac.S'O -' Phone 231413WASHING _ _ _ _ private entrance band
I LOUNGE CHAIR wih ottoman West Church Street ries tsr our lav.away plan. aey s. HAR ONICAs Harm navyband line of CAMELLIA COLLECTION SOO Reaallnd woferred .
CAN MISTER SE--A-b.autfu high (39 5O Orlando Co.. 141 FIREPLACE FlHINGI. 214 1 Oran.e Ave to Si St. Her including MACHINE:=- ..Orneral shrubs SO varieties 16 are .11..eetl 123 McKee & u -
quality modern .. canBister and 81Weot Church Street Solid brass ELECTRIC CHICKEN Picker 2' aan. Loan 27-W. Church St. the braD new .Wear-Ever.. Electric. Cal at 41 Courtlaad Avenue Call 2.14O4 for details _ _ _ S DUPLEX APARTMENI : .
black knobs set 4 Also piece bread box With to red match o. rIPi".o.and '"Sir SheT s reens .Knox Stores Co.. 25 E. Pine p BriKgs motor (new'. Sun 'a HUD" SEAL COAT'1366 Devon Bumby 102 W Cab I II COCO PLUMOSA PALMS--Any suePhone I rooms and bath I
Phone 2 3163 St T
Knox Stores Co 2 B. Pine. Phone Laa Office 2 oil burner Whizzer motor bike; dinette Orain Manor can be seen I -HEATEe. to 31531CAMELLIAS _ _ _ beach on Lake Coons
#
: West Church 8tr.t. HAVE YOUR REFRIGERATOR n set and buffet I'a b P. Hobart Saturday morning or afternoon and top'W.tn.houl. Belgian axaleaa. Shrubsto adult couple only i.
2-316. _ .: 50 lobed for Xmas in your Borne motor '. h p electric motor; Sunday afternoon, oreveo.inss. G. city and bottle home. Musselwhlte 3367 after 3 30
: beautify p m
CARVING scales sE'So1vral;; bathro.Daxey" easy TEI. SLUWBIRCHfR:16.ot\man. fatr trained men; free ..Uma cola Ic cooler hOt W. Colonial coo ICE REFRIGERATOR' steel 5 PIE -' Gahanlz. H and H l .and] Sales gal Since Walter I'J )Wllo.. Service Most- Nut-series HE your Prlnc.ton.RANGF. days or 4711 dsyot.IVINOOlDNVt : : t
(39 50 Orlando Furniture .. 2.454 ELECTRIC Ibs Can seen at s ; Pll. Ine -
can openers breakfast and dinner 14 REFRIGERATOR Good .PUl7. b 232 St Orlando for .MO. II E Rob- Grapefruit. I1mOil.-Umetangelo. -.
and 615 W Church St condition -2nd 51 t ad ltL A.s'
Spe .
r.1 _
sets; bird cages electric irons; hr.1. INNERSPRIIG MAT resonable. IQUI. 10 I- kumquat. persimmons nicely furnished hmodate '
gift sets food choppers; chicken fryers SMOKING STAND AND SETS--The cla Inul Chrllm. 5. or- E Miller St.ELCRC lRfUO.'TON SYSTEMS and supplies CHAIR folding Commode pear. fig pecan trees grapes shade > to 4 peru
dutch i gift that Fmlture .. 141 (IS SAW inland farms Florida ,1'BE Mills to Nebraska seasonal Ph 0756<!
: ovens Bumby Hrd.ae. .PPrcated Pur.J -Portable. 8- .rVI. Ja.ns Also rubber ring 1608 AsberSt trees shrubbery
102 W. Church StCDRnCHEST.tne I 301_W. Church_ ._ _ W 9ln. Wappat In metal carrying Pipe & Supply Co 630 W. Church PIANOS pianos Only a few kit.reondobr ; dial '::19.WHIz then 1 mile east to Pool Nursery. ORANGE AVB J717 S '
srlectlon l SHIRT"Atmao" by Shirt Craft. WEAL STOOLS G-.lerUD us. A Keiser Vogue Theater Phone 6118.ISLI rI ..rUe. Koblnson Music Co. 531Nprange BIKE POINSETTIAS for Xmas, new supp'yIf or sell easy term (
eranse. .. .Prt shirts In all asses stools and block Colonlaltown 5I3t__ LINOLEUM-We supply and =f3month pots ,Earl L Jones 1613 N Mills Marian. 83 West Cr'ORWIN .
colors (2 25 and up Knox Stores ___ _ _ _ er :
'
Purcells 3O1 W Church ELECTRIC sink and
and .lhout* I.uran policy for St Co. 25 E Pine Phone 2-3163. REFRIGERATORS New It.U. m.t.rlal on tops -Waso and Hamlin spinet. W Central 2-O879 PETUNIA Snapdragon calendula, MANOR-N'. u
moth .. PurtU'. JI W. SHOT GUN SHELLS-% discount Crosley Shelvador and Dew Nora A.doyan 2o01 EdgewaterDr iI. Christmas WASHING MACHINE carnation and other annuals. Ala- I bedroom bouse t 0
Church StCmAR' I on all gauge sheila. 410s 2O s. iso PORTABIE RADIO-"Em.rn' battery for immediate delivery Al ..frl Phone 2.11. _ _ one to dc"n. -Tr'.rD..i; leas. 2Sc up At E Colonial and Fern Phone 2-0483
and 12s In aU shot and electric (2995. Others good used boxes Ph 1. <;INK Second Joseph Bailey. 736 Jall ; Twe: super agitator wa< .ulpp
WrtghaHardwars hand. 41 east
CHEST. LNIN.'toa1 KIHE with famous Thor triple-duty creek turn north to Canton Ave WINTER PARK Stir. -
ly advertised "Th Sporting Goods. 127 E (1995 Pr .U'.31 W. Church' St. ELECTRIC BLANKETS-With exclusive -- S15 Phone 769-M winterPark 'hn 2:9.ROFIo5.n and red rinse 9 Ib capacity. high speed.1.ln non< :3 blocks No sale on Sundays Harper : large lake Comb: n
the home Furniture Co.. Gore Ph BO3SI RFFIGERATRBrad-. Cros Slumbr temperature cODtOI ane green Bumby motor driven pump runs Nursery 1912 B CantonDOUBt.E dining room 2 be.
14 and 115 W Church Streel I TOOL GRINDERS Electric tool Limited Wailer Service KEROSENE HATRTwo bUD.0ul &at.102 West Church St. Had Oly cl.al. requ;red Price (129 SO. PETUNIAS N..tartlum. kitchen and large r
White Enamel I I. grinders I double wheel bench type supply Thor Gladiron ironer Regular Since 1936 "T. Mot for Your Ph. .ar. Wale J Wilcox Service and Sales pansies ..anlum.. cyclemans'ian for season (IOSO. Pr .
rPAcS '. Loan d.aa.. 1495. Also hand grinder 17 45 and (99 95 special sale (89 95. Easy Money Always E. Robinson LAWN SPRINKLING POSTS: : fence cypress 7 It 3- 61 Robinson across others 1613 N Mills Earl son 24551WINTER
West Church Street. Ofi. 2 1 Kaol Stores Co 25 X Pine Phone t"ma Perdue Radio Sales a S.nle. ELECTRIC REFRIGERATORS -'New payments Surveys systems and .- Easy 3.inch butt (15 hundred 4 to 5- from 1931 Office E tones Nursery PARK and n .
221 N Main 23732.SHEElxG .tat. inch butt (25 hundred Can Winter '
and
HAIR electric 2.311 used Gus 908 Kuhl without obligations Fla. WATER PUMPS venal rentals 2
waffle Irons. JaddeD' Shallow well pumps
. DRYER.. four sues; electric i Rammers, hatchets saws Type 128 (2:"9 42 Ave,'_call. 728 Supply Co 630 W. Church: Pb. 6118 Park 598 _Littletree C. _ deep well Jet electric pumps 39. Livestock and Supplies_ homes. completely rto
percolators electric irons pressure i'r D- vises braces and .. > 140 69c R FLeedy ELECRIC IRONS Automatic LAWN-SPRINKLERS : PLAYGROUND EQUIPMENT For aD Hardware w Chur h St J500 for season I
eon Many
cookers; food ; bathroom and useful tool Items Knox ,Co WIDte ParkVACUUM UnIversaL Proctor p. homes Khol and paks. Place Io PIG BREEDERS-We have a ftw Realtor Ph Winter ,
.Ile. Stationary and .
Sam.a "t.n. 49c and now On display WOOD STOVE-Cast Iron. good con more fine OtC cross boar. left at W.
Stores Christmas
Co 25 -
Pin Phone 2 Bumby
3163ACCORDIONS
fruit CLZANER-"Reynl. ord.r 44J
; Complete 102 W
E Knox
.u.hold aal. lq.llr. Had.ae. Co.. 25 Pine Phone Baby carriage Seen at _
Leonard with kit of an Cu"h. Sor.s E at Southern Metal Fabricating Fine dlll (IS Leonard Frank Lock hart Fla NEW
dlb.a Hadwu. ata"hment. IRONER 2 3163. MOD4JRN DJPI.rx
Villa
311 Orange Blossom Trail I Assortment of sixes. Pr"el'.JI mCc.. o rle- Used Castle Call 5914. J a Af O.n. RABBITS-New Zealand '.Thor accommodate 1 to 4 .
1204 LAWN -
Church St Cot g. $115. FENCING-36. 42. and 48 RADIO.plioNOGgApHcowbIsatlon. WARDROBE TRUNK (IS; geMsheavy ouvhbred assortments Hutches If
HOSIERY _ _ 1196 erythlng turalshed
"Mun'ln-.r. hole Orange Ave Winter Park Pb. inch high Bomb (
Irof. Pun.I'.. Wes XMAS TREE Light bulbs seiec- 1103 West Church Struck Had.ar.. 10 A .urprl Christmas present given Irav.ln. .bal.Box(S In.. 1. 1. desired Low prices. 232 Magnolia; season Apply 14O1 31
.al. 72O5
Slr.1 I lion and extra alb e co.blaafon. Sp.alat NEW
S ELECTRIC
bedroom
IRONERS Oladiron l.- .fee bulbs to asrr fi your empty strings like new WATER i._ HEATR-2ul LINGOES FISH SE2lla18" Walter J. Wilcox Service WELLS PUMP. Water Systems -SHETLAND-PONY cart and saddle months with hoir*
h op:
TorA'UIOma&l p. : platter hand Sales sInce 1936 61 E Robinson. payments
Owe her with a Good selection tricycles, scooters. Dumore electric la1te. E.s F. Gentle with children. Can be seen WO deposit (40
Thor Oladiron A grand gift for yourgrandest bicy I. skates and other toys Now small batS rlDde. brand-new; PrD".tOD. RESTAURANT EQUIPMENT-2 sec Supply Co.630 W 6118 la Apopka Sat between 3 3O and S. Francisco Realtor P.
girl make all her ironing reduced 1O' lo clearance Wright s system. 30-sat.,' rha..r; air pressure LU.BE-2.0 n'105aoYel id- lions Vulcan ranges. 1 Universal W AS BAKroblnati. col- For information call 3813 Apopka Arcade: Phone 740
t -
Imported Front Uni Had.ar A Sporting Goods 127 B re"ger.'tVr- 20 cu ft reach-In ta ;
da. .a.l.r Walter J Wilcox. Inc. "12 and 120 Herman Loan snlp. prune,. median- ..d. 1- dlb.a5e. re WANTED TO BUY U..tock.Bref I UFCR.wIMHpD iffli -p
Service and Sales since 1936 61 B Office 27 West B.Church St. Gore Ph 8035 irs service set flaring tool' mitrometern. Ph 26O Winter. Oard.n Clarence I f.lerator. water cooler with glass several sixes and designs Bus&by veal and hoc Best price paid Call south Orange -o... . 4
ThompsonLADDERS ft commercial freeser Hardware 1O2 W Church St
Robinson across from Post Office raU:" r depth and thread !1.r. c. 2-4C38 rear of Market 5sv- .
KITCHEN-HELPERS-D.sry' line.Can CHRS. SGISRad' auses drawing instruments. board -Extension and step Pnun T equipment nay b p1a. .'AoING'"AC Easy Spin- HA YBURSER ltolie 5.r Station MO per r or :
openers ; I as.ATHLJT aDd .- trulesslideru 1.. 2112 tug saws: lawn and garden'tools. to..t.r or in ¶t ant old .Idlng but alto like part mule
blankets &ldr SICILY FTJILflsmnTelephone .
kne .hann., and comforters this
11.'rl L erne Terrace Ph All this and more at Mills N. t Does .
fruit ntal 5932 and ever ma. a tul .k's .a All rl.ht as f.r a. hsrseo .0. whe. -
r 5743 for
Knox Stores .. 25 B cr5.P Phone h.atn. Iad.; electric Ion coffee ELECTRIC WASHING MACHINE Nebraska- equipment- Modern AppJanc. la. In l. 1 Eay fetur. you u. get hIss to .0 Only III'ra mat IonNEW
2-3163 I mak.r.cookers; Jlic. 0 Wat. pressure N owaca lIable Several makes. Eel- MOTOR excellent RUG 2, 9 X 1 French Wilton Pb. you know: saves ... 'hoc rIdden b, children and ignorant womas -
; and heatIng BIKEWhtr'
sun
faal.ht. color Dept Bumby 3-2803 Can ; better water removal. easier rinsing so don" expert Pr-Ide .f Kentucky unfurnished 2 '
Large assortment of Hardware 10FCRMTURK cond11n. 3-lJ
i'GER lmp. folln. travel Irons. : W Church seen at Emory cubic quicker drying speedier easier ironing Looks classy Ought to His feed part of duplex u-
Attractive Xmas cleaners and b REFIGEAT0R2 f7if Phone
pajamas .atl.. food n osrlncerorin bIos to slow up bill is staggering Good saddle and 31651SPASONAL
destiny W Church St. electric Walter J. WilcoxService Slkil. bags .- New and MIXING BOWL SET of four 10 fra.
Pr.I..31 h.I. Pay Ironing no broken buttons to mendautomatic .
boxing : a.d. less steel inside and out to hp bridle if desired For full fascinating RBNTAL-
and Sales Since 1936 ; cash and 10 bowls. can also
fLACK SUITS Safe to 2S used for bak
ba.hlbal
-A very large selection "Th tennis ra per rent b heavy duty G E. compressor practually bell timer. automatic overload rt tr'ailu,: phone M irfee Tllden. 29 Lake Kola 4-ro:r
I. ma. 12 to Mot for Your Money Always DI. on your Purchase Sass Furntturt Co iso Bumby Hard.ar. W twitch aluminum: gear case ,. pie rlr furnished
atr.tpat. balls shut 625 W 10 new R
; Church
44 .1.i Pr.I!!s. JI W church S,. E Robinson fleboard .t skates St Phone 5820 Church S oue Phone anodised aluminum tub exclusive Mav ISiS Bdtor -c
SIMMONS EECRONIC-'BI.aet FUIBASKI foslppln.. fruit Bumbv Had.ar. 102 W St. FURNITURE SPECAL.heaters- MIRACEm Ii- The new RANOE Sm 2-711 splralator washing ac'ica Walter J. 10. Pet Mock and Supplies Ph W.nter Pa'
C.nl breakfast IP.crcc; Wilcox Services and Pales sli.' 136
Complete Bu.h.1 Ship in aul e. "Wond. many e
.k a.aUabl. f.r ,adl... 0-
PuNch
ALLENS AND ,un or and I Tubes 25 suite 61 B Robinson from males 47
immediate delivery 301 W. standard contaIners and saveonex- .UYSOW arsesiese cv fine ma- 6 Knox Stores Co. across Post BOSTON BtLLS-2 beautiful Itoomsi for Ic.J
Church St , irene carua 222 W. Ce.tal Hard.a. -tc for pani Dial hogany dresser Terms if d.slrl. 25 E Pine. a-3163 _ _ rors. to.saisc 19.Cola between I Office _ _ _ _ _ AKC r..t.rrd. vr old May be
m
CHILDREN S Electric-onraph Furniture am p _ _ _ at 1SOO N Ave AMERICA .
TEA SETS-Beautiful sets J.nka . MASON LEVELS A few only 48-inch WINDOWS Doors. Celotex Gypsum seen jranct 8T 121Lovriy
blue and gold 2pl"ll sod ROSAR1ES-Idei for confirmation Several models 19 95. ( Pon. 2.375 .1.mIDum levels. Knoa stares Co RO-P COSTING-Protect nu root board exhaust fans coal burning BOARD YOUR DOG at Crickets Acre corner rs.
gold Bumbv Hardware 102 W. 11 50 values for (350 Hermans (2295 (1 down and (1 weekly Associated FIRE PLACE SETS All brass nanT 25 I Pine Phone 2- the winter 12.5( IIal hot water beaten with (O and 2OO Kennel Longwood Fl.. A home home Light brra a
Church St Office 27 W Church St Stores. 143 N. Orange Ave mered bra's and bronze our and Springs can At GnddeoO._ _ _ _ gal tanks some pipe Prl_.. Or away from home DalmattoB at gtud AMELIA AVE II1) E
Beautnest
DISPLAY of beautiful woven hand THEATRE Pho"r 5 TOO new stork Also lust ..I.d S MArES. bed 1416 Aloaaa Ave -PHONORPI Electric ante Blossom Trail at_20th. COCKER PUPPIES-.. weeks'eTist apt : twin beds. Land .
bass Var "- '!r. and colors available TICKoul.bk CASTER WAGONS--s..-Way- ".Dt of gas room .. Bumby w,nter Park Pit._ rrd player 201 WASHING MACHINE atoves. heaters One buff male 7 months Merdwood kath: parking '. 5 .
itt IamS' P" nations at alt Florida State Fy" The ft nestroaaterwa ion. Hardware 102 W Church St NAILS' YES< 54 R Oglethorpe A. 36" mattresses air compressors Kennels West First !t Sanford peop: preferred 'u
ff! T.atr .
box offices Good any : any H.a. duty: construction. steel roller FURNITURE RUI. bedding- and poultry aDd 10'12 flZo40.Also REF CAMERA-4x6: with 84. 5 motors double deck Army cots. 5 gal COCKER SPAN:EL PUPPIES male after_ S p m 3-344g
'heatre Phone 4149 for d.tll barnn. large sesni pneumatic tires. odd pieces r 2O1 off for at W Central Hd. . case line onditioa (65 cans water heaters paint spray outfits ACK registered (35 Will hold uatll
bakf on enamel Only (14 '5. BUIB- cash Slaughter! Furniture Co 48 22 DeLuxe Vacuum ci raner "omplete with counter scales fool lockers.Prldgea Christmas if desired Fb Winter ClOSE Df-Private r I It
-.a -... 102 W Church St W. C.ntal_Phone 696 or 2-4142 OVENS for oil stoves Stack Includes attachments 12. SII\e collee. tea Orange Blossom Trail at Park 1315-R I:
[: : CHAIRS ASDD I-Sr wagons. FR-CAT Size 12 beaver-dyed one and. 102 two-burner W. types BumbyHardware. set 9 pieces (20 Cam.t 20th _ _ COCKER BPA IY.lr-Blacli--t-&i.1 CLOaK W-MsiBOlla A
metal Purel Church_ _ Ave. Winter Garden Wi.oniG-OUTm--c_ I'
: _
[,- .. rO.r. .n. bassinette with matt'CSyt RUG R. Vit Lin tiE! Loves children Ideal pet. See stairs double room
s 301 W Church St ORIENTAL New I:
baby ar'a. teet*,bsck beautiful R.ANOES-Electrlc. pD1ar trademarks coin w;th 110 volt outlet: and at 1622 Hillcrest.CASARY Nice Betahborhood A
chair All like (1 OOO Phone 34;2. J. B. heavy duty Reeo
ELECTRIC n.s Reasonable otter 1211 from (189 95 13.15. OaS mounted OB V-8 axe of Bksne par 2
AR. SI'Pt LIES 0.,e something that on splay TINs"Un.I-No arreplr fee at C W. Smythe. Hum- B; .. Ormont Pta.OILCIRCVLATINO city and bottle waist hlb brr. chassis wish i'b'nit V., motor with BIRD 'SInger! ; glassware couple $172CASSU.KRHYAga.
.i c ,an for all 1 "o"U AOl ARIIJM AND FISH Make 102 West Church Street Way -au TEar :o"l oven door WU. governo Used less than 10 hours rhl_ Apt D. 233 8 Orange Ave ..
Ol .'den* your Offered at substantial from OcKDSPANtELPuPpk.71rHhold
load of Monogram and B. discount
selection A SKATES FISHING Sa.s less Plan Hotel .
now deposit holds FRlIRE.
any KnsC FRYIzWvs heater just arrived Get Most for Always." toSee Herman J. Hull. Oakland. Litter registered All colors ring
.
yours .
metal and .
AHOBBYSHOP-Wo- article till Ch" stmas Harry Coster Microscope Loan $ Ihl. wl 1 E Fla hunting la sea.c .
and 138 Rd.e.o Dr Winter Park Oftlce,27 W Church, s*. big sacrifice fine furniture and latest they last. Bomb Hard.ar. Robinson_Ave __ _ Phone 68(2 9174-W
Sot.'hbend tools are the best. Harry BLANKETS put purchased for apes which recent Church RIO Cosapare the music of a WASHING :Itew Ito sal. COCKER -. Registered CLOaK .
P Lei. Inc 10 W l.I.t. Tel For double-bed':.non-uabYI' ly sold anf.rnlht. never used- con Ol-BAR MOTORE.IM H-P ba with that of a Symphony Butane gas system; Winchester Black 10 months old lei jewel cooking ID Lake E' i s .
11 Purcett.: Asod .Iors S99S TICC. Tr"nI. from listing baluful overstuff 2 and pbrma. .. Its lice comparing the rzn. 12 caliber lever act:oa. onboard Ave WInter ParlE.: MoralaaL privileges -
sot W St G ..dIUo .16. serene 2O8 X Hob
Curb al I. Junt 3 piece room suites 3 bedroom anie tone of a radio 81otor. 4'. hp '13 N Mllls --
I..n. iTMASPuPP
BiLathr a!-.De BEDSPREADS hikes (i-SO. for and girls. Vunt ., 64 : _WIDe _ co..onp. .10 C_ Pedigreed
Bates su 1 extra high that of the FRRNCRSS1C 2113 9
grade 4
Fn.' single D.ble our rrland M'f"k. 483 dinner OUTBOARD MOTORS On handEnnrude WATER-HEAins -We have l. I Shetland Sheep dogs (gslnsatareeoilKS
Human s W. a1. Assorted Pmllor. suites an different kind: 2 overstuff improved Westiaghouse radio Listen received private hniae dour e
L.1 Of Church N. Orange Ave Phone LIght Four gad large shIpment of tabletop ) Twlakleland Kenneo. rtglsteed -
St. .al.1 Purcel a 3O1 W Church S 2-173. loans* chairs 1 lars new cedar Sportsman Correct Z.phr.Craft Inc Phone and you 11 buy a Wettlhls. Walter class lined water heaters Also : Route 1. WInter Part.LOGS prl,Ilrgtsoranges_ fFORTKBgfS -
chest
ELECTRIC RAZORS Sunbesm6ch CARD TABLES Kouscho scales several unfinished chest of J.2465 J. W ilrox Sem.. cs since i uprtxht heaters ap to M gallons. OUT r
-k. Remington and Packard .:ectrie percolators .1.lr floor TWIRLING ]ATOSSI.. and used drawers .. ional chair vafinUhed OIL -- 1936 61 E RI Bumby Hardware 102 W Church 8t CATS BOARDED Special residential 9 clear
murlcal kitchen HEATERS care for house dogs, cocker
circulatingnil 8 saieljstst -
Pay (1 down and (1 weekly Associated .lamN. coffee maker . I.'tnm.nt. h.ronl"a.; .bai. several Mexican rush RABBIT Feeders and drbiktnz ..1ete.t" furnace heat bug T
WATER SYSTEMS
musical 10 House 218 bottom 2 wnfinished beaten SnaIl .' just Ml: 21 8 Bumby 23781.iOii8e .
Stores 143 N Orange Ave Phoae Church Bumby Rard.ar. 102 W. N Rosa hud. T.ltD )151. cabinets .haIr dish cupboard .mr Knox Stores all. Pine r"he. fou.t. Ka S.ORS C. 25 E Fine for farm or home Farm Hometrsrhlnery -BOLL asalsbl.: Pti 93S3BARWOOD
Pt !
night TUPS
Pe .5 ; tab C. 2 E I AKC Reeks- .
IJ TOYS-Erector sets :es. end tables .nun. floor Phn.2-3163OH PI 2311. Co 430 W Robinson Age tered Ready for Christmas Sired 615 8t..a.
wagons; tricycles -
\ f d.s& -
FISHING TACKLE-A good
rods reels artili. la baits .lin.cv black.! 1. (I 95 of Numbers alummlm. finished f'.ashtight.s Bumby bunb Hara".r. 102 pressure .ol.r 01 circu .ating Nesco Alpine; Dr ManlandOUTAR Ai .r.t.rord: player attach ate del very See at Orlando Sales Jo!!: Jf r "o blood :ne' tIs. B. L. sing e room.H1LLCWTAVR.
to ma.hntr .
:UUaD I.m Knox Shorts Knox W' Church StTY'So heater 3 .Jar.ur wood heaters well 1520 N Mills dial 7005SHOTGCWSRifl's and Service Company KO8 North Or- Too Fr n Ps:It FlorIda
Pine Phone 2-3163. stores Co 25 E Pine by pine or lot MOTOR-New 3' h p. A..nu. rmi-pt-lv.te bath
Phcre
c Phone n Will deliver and used anee 2 09:9
POX
23163FLECTRJC Carol .1- n. TBfUUBM PUPS each
HUNTING and supplies .ondllon. cla.-Ar to your door C.l at 1119 s S: 18 AI.r offl. Tra :vers. (12 ; j'ATCH&SUnredeeml'd (3 sale bath ansI tcrerB.'RWOOD
VET ; |awnr : BROli.ERSand 1 mobl. Mil e Pat Orange Blossom Trail .. rldlD. 5 up and now Fath'r graadaao'her thanughb
:anl.m. bags: camp grIll com b b"ac "r-sOs63041c hari It.1rha.r FIR COAT Na:.aral Sibral watches all lal.. : birr Pre Xmas sale all drastically reduced Ssh D.,n't mention g.-aadue 523 A\B 1 Ii' -
'0' ,a.,kie boxes fishing rods andre ',blnatoa.., ad tables and. se s fc:co.r karwheico. ;;ke new (325 Bl 21.lulrr.1 Ply Ol'J HOUSE FAINT-S3 2 gal des and tricycles: musical instru to snake room for new lines Cherokee DrveGKRIa.I.Il IB (Islet Some % rUV .
< Everyreac T ife N.:5tisi. 1 'ctr' :r'. mou h Fla ot fiat oil paint e..r ..frra'Iml" )MacKoy Pawn Shoo 404 W All weru-eads crofter S
Ca.hb.lu' shar>. 14 n >' .. o rrr usao;r :cvs call after 6PM. : wall m..t. guaranteed Hermaas Loan ofce SJIEPWIIU.u
w n : -
< r e c (3 7S
evrrashiom f4'n'h res per St Ph Mpples
filled : P.p Cbu. 27
Puwb T Hardware 102WChurch 5 o,. :.htnec Wmav heshi.. en s-0. sit WHaqardTRICYCLES.- FLOOR CVERGn..a fide gal beusuflern k Glass Ce 200 5 W. Church St. AKC sire ..a__. Horror INOinO! AVBsattBBle 7
JIAKr rat.n. ,deal for traders and small W per InolfUB *, CICirn Ph_ SHOTUSRE12.. 16 and 2 of LOB*-Worth 1__ trvaaard bv far busue-
XAath..1uA 1 ayarmentv Z.bune.tiltnectoern: rockers. d.k.AONS.-Pitnn ISc S yard brd I..&At : hwh ..r. Della V Dau Mrs W M Lee P. O- race heat near bus i
s Ie Pml..301 W.t electric ht t;ates Arvin" vtettlrockers r.rlu. :ando Furniture Co- 141 FRtI 5GPPINOBASKETS New PLYGRSWDGnt1. II4* UP 2 shells 3 UP aportinc 1 I Box JIIhoc_ *. na MAGNOLIA AVB 74
Cu'rl Street chairs, hot water beaters and 615 W Church St and >a bushel Amco Fred lucIte ; chaise lounge. (15 Ph. G..a. Roebucajb Co 9813 ; FOB IMMEDIATE DELTVSHTBuiltin OBBtMAN eNXJCB-Bswpsea tar- saio wish twin aede Fri& r
LEATHER 'CIA CASES. S Coleman andFlorence"; wood WHIZZER GIFT m -ftr>er S:ore. 300 W.s Robinson. Phone r- 045 1 5 SLJCtNO MACHINES. Globe :Sea ;' 8 weeks old FMo 9wJa 5.557 Lake. T.4.pbo., 33593.MAcIsOLIA .
four tain pn_untn. ranges ta an aa 34-lach circular mue$1: ->5 SAr 51 _ _ PIPE meat grinders ber. tabs: used sec Sobs "ss- PI. i
S:5 rear -Portab .
: bv mirror choice tell e and slip heW and used motes new and used: _ _
waJt man
a BTarabsarelglaks.
.. da 13 t. : re (. aO : FISHING tJot AVX. 544- F
I H Ial KBMNKL8
ais-cip
joint
Ir-
for
01' wChureh length loser cODto. TACKL. .dquar" grow 119C Orann- chiaa MAissoas Does boardHITS" -
sea and cast ,
lasatarasa I
_ .Inr .alaat (J 95 sixs ion-eters (4 .5 and & ltat"a WI.t.r sees
01 18"U-W l.ra. UP hogauy to (er 54 Sib dinette. frame 145., olhr. turr$!ur .*.. .omclr w,'h bn.ea._ Tru- .Ar.a. "..t.f'.r.' .ruts; _(P101345. _.Pp_& sa, f SDU11141T.Ylr-.r leather 1.1 staadarJ washing sxagsViBea.Hoe scgjewc OjpOjFtsawBt and h..J,u '.rs- fu':"sale ttarrakeets FB. 2-2148.aldl. _SIllP5521058 ''0041055 AVE 5'i
beam ___ oaMaot .wafea
.tr (JSaO, b.a1ln' Sit So WH,utr Mo- S>. s. leti Hoes 13ernoi 1 boner ( .. '..1 I sky i. twin b:
Bus 334 w Pt Phone 9664 'ho Pra. 301 w '_' S Oauor Are 2: V. hesBstltcter some AU eosapleto llsw at attsaaw.AB .
.8 Church Si.44444T44. 6 Fncnr r I.r.h O I 5." oomISPbaocAPHAMORI
J- II AT EorfTE-Ph 2-s n.achr.ee: D L ni aWs >rirsa Hasaaaa *4501, MO Asattaoe Far sate: male and
- FRll WlE Dairy lIne Al "I Fla lil5 11 l Cw3Js W WaaJUa Mgi euale A It C registers FttaceraM I P P Sw'.
types all ,_Cl, PSMMM Par. Shorec DavlsoB 81 iSs rooms. sin.
EaI at popu '- '---I,I 3.&lU.I ew umeaite '
: --j---A : tar prices S.i.noy Msr6oar.102 1'. PA.ofor P*immediate Ercest SHEET PuPPiHo R.if Beet. 7 ..Ita. b.uslisie
--.JA---I--- .'. ROCK; 9c a fh. |
: Cardl I I I I
:: Ib.l.n. 3-1904. after 3cm. f nes 1 'CPark U JOO Oleawood Dr AJ_ Win-, Continued On N xu. r
\
- -- -
-
-
Wrlunbu frrntinrl I 51.Houces for Sale 51., Houses for Sale QUICKIES By Ken Reynolds i 51. Rous for Sale 53 Acreage for Sale 56 Business Property for Sale | 60. Business Opportunities _ _
SAT DEC. 13. 1947 COPELAND DR.. 16 E.-Nlc* S-room DUPLEX Suburb. Has two 4-room Winter Park $50 DOWN
12
GE i 81.dou.b.drom -- 7. acres 4-. CLOSE (X> LAKE LOLA Apartment BUSINESS LISTINGS NEEDED-
,
mi.
i for $1560 Income yearlyor
tram home. Immediate apartments *
___ I God rp.l. : c I 2-story 2'i, Plymouth on paved road house
2 porches, live In 1 and have $780a ___ ."' ." $7: urnished 3 jolla al! in A-l Harlow O Fredi-k "Buslnesl
POI..IOa ar..Ded .p.rm.Dt heat Se'.Dt.g quarters S-lot landscaped P O Box 1350 Orlando ondmon "
i I newly redecorated and Headquarters 118 N
for Rent Orange
.
Roms garace. . .. $750. t.rm. How- year. Home .nd combined corner near lake An unusual _
painted 2
ard_Broker 306 ._ ; 4 acres land highway and 1OO buy at $26000 For this and other 120 ACRES extra choice citrus-I.D-d I' ear garage. frull PresentIncome
I III I QUICK' LOANS : $225 month See this for close
-ICETON AVK 16 W.-Large dou ft lake frontage 40 bearing trees bargains see Mrs Henkel 360 EdinPhone -* on I.ke. Warm section. Clay road.bood. 'I BUSINESS HOME INCOME Furnished -
In ,
ID'25'1
property Home .
I: COLLEGE and income $16OOO
close bUI and grills C. Golden. Broker -
rooms & PARK-Lnl Bargain A 2 CI..r.d Phone 467. ; bedroom home with
burgh Dr 267M or egg
$150. .
___ 14 terma Sam Johnson 208
completely I Co S.
COMPANY I
7161 -_ I 1 D\el Branch 1-12. 3 miles north of P.lm.r 8t. Main business setting clear profit of $4.3
H.rd.o for. .t.cb.d garage I> underpass Sun NEW 5-ROOM-White frame furnished | month Double
LOft RN1. Mrs. ii. L. Joeu.sk I _OpD. __ I new'bypass. by next mon;ft
OM center
:: i I I"Bu.t.r" ; city lights and water; 2 lots 40 ACRES-Bear Head Rd. oa CENTRAL AVE W Everything goes at $15,000 with -
Rd. Pine C..Ue. o' : '1 eA5K -Close In: large I II approxunately
A. T. ,
) Rtd. Price $12,SOO Terms e .
D.lr.ble 10 NOt nice location will take trailer in I across from Daetwier Norsery. -
DUPLX-Frnl.h.d. ? ; I lot: 9 room house: good location; 2 3 down Prove cv cry- _ _
I ".re. 3- trade 1 block West Blossom 1Prlcly. running r.- I 1 $9000 t thing yourself Call 'lliam.Mr .
JAMES HOTEL-South and 5WALL RECEIVE Or.n. .te Owner 9973 Mr W
Ro.Dd. __
Single $7 weekly UP. Double. and c.re. R..ltor.1 8. .m.no"l Inc 677 K Orange: 8855 I I 9 / Tr.1 on 38th St duce to $3500 for quick I EDGEWATER ] Vollick with J. Daniel Kolar, lsd
Several choice
for D.
'_.weekly. up. Phone 9253PARKBeautiful._ I 1:CONCORD AVE 914 W.-New 5-room DUPLEX-Close in East Side In- Bedroom house bath Furnished: 30 Ph. 2-2883 good car C Blount business locations in this fast J S Main 7811
twin bedrooms home furnished or unfurnished !'. come $50 Plus S rooms and bath I large orange trees $4. HenryBeal growing section available SO to 1OO
with private baths and show- Large floors tile bath for owner Price $12.5OO-Terms. A. Bear Lake . 21 ACRES-Fin* citrus and farmland I ft frontage Can be bought on easy BOB KERR MARINE and Sports
i iL.t electric r screened porch. I IKear i T. Davis Broker. 33 S. Main Phone I : cleared with trees terms
some Paved
I. available I by day or week to Jan. I II r.r.I street sewerage and Equipment for sal* at 218 Eas
I 1 block north of Routes .. buses. Sun '.i 3-1541. _ _ _ plete. 1 mile out city limit; rea all utilities Carrigan and Boland. Plant Street Winter Garden. Fin
shine open for inspection.COLONIAL I I W. J. Sangster, 2802 I Inc 672 Telephone
iookine Lake Virginia Pak !I DELANEY ST bedroom frameprewar IMMEDIATE POSSESSION S owners; N Orange; Carrtgan 245-Red
|j chase Ave Winter pal 27 GARDENS Attractive i like new A.b..to rof. Fenrr.l.2lCE8fDe |I. Bldg 2-4551 j BAR AND PACKAGE STORE We ,
'
vi-itFont-P- ; modern 2 bedroom furnished bun Paved street Die yard and neIghborhood /4 ,' (7i Small down payment balance like Citrus and farm GUEST HOME-Only 6 blocks from established Proven money maker-
.DR ; gales.I Beautiful lawn treesDon ; Only $ with terms Weir t #, ( rent Furnished or unfurnishedhouses I with some trees center of town -2 apartments In Lee.se.lIcense, furniture fixtures
3bua hues j owner nays. "get offer.:' : :: hey.: System 628 E. Pine; 4641 | _ $3OOO and up. Liberal discount planted 1 mile out city limits Rea I house also several guest rooms Iii' fine stock of liquor All for $10 am(noo
: Dudley Realtor 2-4745 for rash. For real good buys .n.bl.. W. J. S.nnle. 2802 S Fern addition, and 2 garage apt*. in rear plus Inventory Information off
at -
-Attractive rooms for young 1 i DUBSDREAD city limits; finished C U TAYLR BROKER 2516 N Creek I I showing exceptional return on Invest only James Kackett. '
Realtor
m.n. double $6 and uptq I bath fixtures nice 4 -- 1 1 :
&o COLLEGE PARK-S-room bungalow except 35 ACRES FENCED on Klsstmmee : ment Speak to Spigel Whitney Shah Blvd Opposite ACLRR Depot
,
80O6IxHf-. I Well lo.te. Cash SI SOO Balance rom bouse price S262O some terms Park Rd : high dry land electric Spiegel Realty Co Realtors. 706 Met-
AND: BOARD-700 Wouf easy terms 3-1615 I Ph owner 436O e lights on bard road Box 774 Stlandscaped I. calf Bldg 2-3269 BOYS-White. 14 to 15 years old t
1st. Take South City ba TWO DUPLEXES Fine C.oud..H. Morning Sentinel paper routes Ari -
GUEST ROME
Dabi- Upper 9 rooms -Nicely furnished well
CITY yards from I .p.rm.nt. I IR.nt
inea Ph a-7113. \1 DULEX-Horb.e.t. ply Mr Wolfe, .
LI3o
walk i Circulation
; rlht. electric kitrhn Income per year $2760 Price located 2-story tram guest home; Dept seaI -
,OLE AND DOUBLE room room horn in trllc.'b't: !'i Venetians lurbed.; 4 rooms. bath 122.0. $0.00 cash balance long . Lots for Sale S bedrooms: house In good condition: I I tine office afternoons 3 to 5pm
I men. and UP weekly All new unfurnished lOOxlOO corner lot I O"De R J. Bell 2322 E furnace heat oak floors tile roof
lease eJ13I I INGL large beautiful lot Incud.d. of fruit Price $1O5OO W.1 System. 628 E W..hl.ton. AMEI AVE W -los. ID. 5OxlIO. price S21.5OO Ask for I R-181. Harold CASSELBERRY BEAUTY SHOP
AND DOUBLE room for'' and .b.de Thin is Iltu.uon.d ID lii' P.ne: 4641.DUPLEXLakevlew.. R-OM house fuDlh. large lot-. Sunshine P.rk. nicely V Condict, Realtor 37 E Central I Completely equipped, Pleas :e:e-
I $1050. E J.tlesn. .
I Also double room with | center of one of the best reuldentlslsurroundIngs. c..h and Lock- Anot.r : 5137.HOMEARD phone Winter Park 22221.reom.ctflQ09flfO(1.
this .
buy .
A 60x140
Itchenett* on* with kitchentU.SCL AU city conveniences, r.1 / hart Rd.rAN' $ Prlc.tonS.hol INCOME on main highway
.2ni duplex with full tile North. 100x125 corner $750.
Pine call from 11 j jm. no city tax will new masonry Large store room below nice
O.n.r .cralc. CAFE Me
bath tile kitchen drains and nina BE BEAT-6 large rooms more Loren Dunn Broker fixtures, stock beeU
$5000 bedroom apt above Building almost
Total price $11500
| .
\tPm Venetian blindg, screened porch Nicely furnished 2 Ph 2-1269. le
Oil circulating _ _
I b..te. j
Wm. Large tot Call
mortgage like rent Exclusive I new Bill Douglas with S2650
n". fruit. Call Bill Douglas
.I. KcnUl Agencies Mathews with J. Daniel Kolar 2-4388 built nchestsa nd dressing table 1 cad.D-f.n.d.. bus stores BEVERLY SHORES-We offer large H F Boland Realtor, Carrigan Bide., |I Boland Realtor, with H F ____
: High shaded lot hool churches and 1 block of playpsrk Carrigan Bldg $73
or 7811 I.nd..d $5.5 lots In an exclusive location at 672 N Orange 2-1551 N
Orange 2
Thelma near Want trailer 1026 22nd -4aSlI
-- W* will supply you reasonable prices Phone 2-3129 and j
.( DLS LIMITS Lake front. Modern Realtor 13 W Washington tRII I I St I CONCRETE BLOCK
I tenant free of charge I C let us help you select your homesite j jWalter PLAJJT At
de.U.bl.d Just phone us your block bedroom bungalow. Gas of the best bun ROOM MODERN HOUSE-Furnished W. Rose Iniestment Co 49 | Haines City FIg Want to sell half
canes.Obll.toD. Rcsl Eutste Ageii- kitchen acres rich garden land DELNE ST Orlando-One Tile breakfastand r .. stove refrigerator new N Orange Ave Orwm Manor office INDUSTRIAL SITE-- Interest to get more capita and
40 8. Orange AvePhOfle251S _ $10.5.and$3OOO cab. Roper. Realty bath rooms fireplace life ime washing machine. city water. screenedporches 3356 N Orange Ave _ _ _ Close to main route and raOrvad, I started working partner hew AI outfit ;as
In lake region S 3 in production A good
HAVE RENTALS-$3 service ) -: roof cash Ropr Realty. acres COLI.EGE PARK-S foot lot Cheap I zoned commercial Corner tot 100 tOn propo-
d.rl.. Gardner R.a Estate. 409 COLONIALTOWN SECTION-An fr.me'cicelient .b 110.25..0 .'D' 2- I of oranges other with fruits.fruit Necessary on trees outbuildingGood Variety for cash C.I owner .t 6675. by 105 with five-room home In rood |t ITS- Come Smith look P O v"Box Plant 1415 Address Haines _ _
. value In a S-room condition In business section. Price
|) I LAKE FRONT fine homesitelots City
wheel tools. or see at Van
2 bedroom garden Buren
DUBSDREAD SECTION Nice LTS2 Hotel
tr.lle.
_ _
.to.
home built in rooms.screened xC- 40x2OO. $3500 Ask for Moriarty '
Business Ken tats porch 3-car. Lrl.. Near I bungalow. Only 115 for __ stock ID.lud.d. chickens rabbits. regIstered I city tax Very COD".meDce.No Call I CLOSE CS Service Station Best buy
quick sale Courtney .. NOrange I.' G : Nubian milk .o.t All for r.sn.bl. in Orlando for $2750
stores and bus S100OO furnished or 2-20. NEWtAN HARGIS INC Realtors, 29 I See Mr Waier -
$8.25O Will take house traileron _ _ _ _ _ _
OFFICE newly decorat- unfurnished for : 22471DUSSDREAD f I W, 8881 for details King Real Estate
can be bought ao Washington. or 6635. 30
USINES $850.G "But Sentinel Star ad said Money'f .
want .
'Quick trade Terms
Wagner Lake LAKE DAVIS E
your adjoining Church
5435
now .,al.bl. in ColoD.IWD. terms Lola Royal . 5 COUNTRY CLUB : HEIGH2 Open Sundays _ _
e. Lane 2-O672 Practically new concrete block ]i! I thought you had a revolver for sale!" I Coma Pla __ _coin all lots improvements each sacrifice. street owner COUNRYNTOE.lijrdware"
COIDI.I._2O233IURSERYMAN : CONWAY-Fine8 room furnished bedroom bungalow Full tiled ._--_ 3-BEDROOMHOME-At business' LUCERNE SECTION-Attractive 2- ., ceries soda fountain, gas stat,oni
At't.D rnDt : !' .Ie.h.re o.n.r 10 sell. 2-410. Rent *"5 mo Sacrifice,
large tiled screened porch breezeway story solid construction 10 de- SOOO Roper
modern I i i
home with all conveniences
; 51. Houses for Sale 51. Houses for Sale for further Information Wlnt.rPak ,
property suitable for display of' attractively landscaped on corner cacnarage. furnace. laundry tub i iLK 8-8592. will accept ..1 or later -LT--LT Dubsr.il hghtful bedrooms. 4'a baths oil I Realty Church and Main 2-3433I
|t 4rubbery 144 E church.liFFICE I Lot ItO J Owner beat Completely furnished Large tot I I DOWNTOWN
nice 10 acre grove lust 2 miles from x, loll I GROCERY Meat Mar
I Immediate
small psssi'ssiosi. tots low
2 with bath per Orlando It's beautiful: also nice 4 I for quick II.. IJ.75. Tem. W. BNichsissn KILRNEYAtr..Uv PINE CAST S -5 rooms and bath mo.1 are I as $495 Money maker, $30.000. terms Weir i bet 3-year lease 2 stores, 1 ___
eqtpped -
ft _
rm. $6 Furnished. Winter P.rk-IL.ke _
_
month. at 101 tenant house $27.500. .. 1S .Main: 1!. b.droms. bun"aow. gas NORTH OF ORWIS MANORCorner'property. KDO.I.-T.mPI 1 System 628 E Pine: 4641 I II with stock 55750 E B Burnett __
PDe. rom Ph :2 on lake 230 ft deep 12x15 ft cabin .Qulppe. I I.r. .a.. 195 ft frame construction 3 bedrooms Dr. Section) Lots areas tow .
Bi'Oker.37SSfain
el.phose9883 _ _ _ I 2-2933 _ DELANEY PARK (NEAR-2-bedroom) i nrear Price $10 SOO unfurnished grounds palm fmnt'l and glassed sunroom $295 I' ORANGE BLOSSOM TRAIL-The best I I Phone_jjntn
[RANGE AVE' 8 3JH Holland Arcade CLOSE IN DupJxID..tm..t i and sleeping porch house sitting $12 furnished Ask for H 1273 1 b..rll citrus treeo. 17S0 rooms.1".Pln" very spacious. plenty Lake Pont-Close In The price I* buy on th,i busy highway: 200 ft FILLING STATION small store two
2 rom,ODe Is corner room sult- Good ssuseied. .t rear of high lot under V. Condict R..lor. 37 E. 2-tiis8 I of closets. .1 southeast porch This only .050. 'e.i of the lo U50x142 froi tare with bedroom modern bun j jraloa | family house, 4 lots sell rester-
Ible for Doctor Dentist or Insurance bro. each. S9SOO 1 bedroom bin oak tree Price furnished S79OO C.ntr.I'Ph.6I __ ___ _ I I I is a sOle and span place on large lot completely furnished Priced i' ab e for quick sale Owner 170J So Ji
Cr.b. Realtor SOT '. $ .SCO. 2-btdroom and 1-bed- I Call Orr with O Harra-Moore. fruit trees garage and Pave.tr.t. bus .e.lc. lights and at $6 950 for quick sale C P Shum St St Cloud
r.nl M.tc.I' .cb Robr LAKE IVANlOE SECTiON J-b.d- PARK LAKE-I block from. fleer ina .lh b..rln" . balance way Realtor 14O N Orange. 2-3282
:
with Phone2-08360r2-8ii43. FILLING
2 1710 .
rom bungalow type garage 109_ _ _ IDUPLX | house The modest for the 1cah. o'l'iioN-iJEQhiP---
.
completely furm5h.d.
: real home and a real buy In this
4-bedroom 1'' rom small monthly payments ORANGE BLOSSOM TRAIL S. Here mechanical
apartment t '
lesstest in the city
work
:
I U6.8O. Vacant New concrete I Ibok. kitchen utIlities; OD a iarge fI ..cUon close to the lake. This is $10.5. Ib.r.I' Doing good b.s.
I '
O. anted Kent Carrigan Roland I Inc Owr.rrl.Carrlsan is the best thing for'! in
bad ness Orlando
t baths lower; upper $15.- | quiet street north section. terms C. R I we ve on good highway
Em.rck.
lot 260 X ISO with large a furnished brick veneer with 2 bedrooms R..lor. : Orafge:
I 5 b.rn& Bldg 672 N time Twenty two
000 Hmton 150 Robinson N Orange: Ph. some acrea of land || Business e'sewhere reason for : ,
cash Bill Douglas se : nt
R.ltor. 1. li I __ .
cItrus trees Paved street ,
C.l : I Ih..t.r fIreplace
ladies $12.6. clrcul.ln. hvlnl room Ph 3OO foot frontage For
PT. WANTED by 2 business : 7632. F Fr.ncl SALE 2:51LKEFONT a mighty nice new appoIntment Ph 9371
HOUSES FOR 4 furnished
Ideal
R..ltor. C.rl ; attic fan doors screened and !
school daughter 2 bed- store building 2 wells
deep ,
and high .1..0 ,
frooms. Ph. 4691 day time and 3-J664Vfter I CLNIALTWH SECTION-Modern gan Bldg. 672 N. Orange: ph. 2-4551 our best buy at $14 800 with liberalterms front porch also screened and ., homes for quick sale Onl$10.SOOMcKelvey LOTS In Interlaken Restricted sanitary arrangements for trailer pump FOUNTAIN LUNCHEONETTE Orarse
5pm. I for people who I Excu.I". with C. P. Shum ed porch that can be a sleeping Broker 64 C.ntral. c..nln. I park A small cabin that would do i! Ave A big business with a i il.
are partciular about the home they EAST SIDE-3-bedroom home Paved way. 10 N. Orange 2-3282 porch Brl.k garage. Sprinkling rom 8. Kydegger In"Ptm.nt Co. for living for low overhead net'ing about S1"OC
.-HOUSE for 6 mo. ; Close to buses and main linesof ns af>6 E Colonial Dr owner s time being monthly C W Walter '
J.Dui.t own street 2 lots $5775 with tent In yard: nicely EXCELLENT Bra: en
Prl. I, HOME J1.6. Excellent location for
around $150 mo. P travel Can be bought furnishedfor 1,3 down Call W A. Williams with LAKE FRONT-9 miles West of city. mediate . l.nd..J store.but. equipment 5 ..lh.1.tr..1 MAITLAND 2 restaurant sun- B72 N Orange_6509
.lon. Cloe t acres ".d dry, neighborhood fore and trailer
rlando i 111.500 or not furnished for J. Daniel Kolar 206 S Main 7811. Fine brick. J bedroom home Completely churches and schools. $12500 Special price $7.500. McKelvey or residence. 13O frontage o Lawrence I or tourist park, Price only S79OO OOI I FROZEN CUSTARD ice cream bus
..
for service $10.500 Open house Sunday Look furnished; 2 car .a..; .rI with $4 000 down and good terms Bro Ave. and 200 deep Phone 543-R ,
pr. man. 'k.r._64 E Central: room 8IN I Call Harra-Moore Realtors, 2-2380. I f ness Living quarters and ga-age
wits and.1f. 1-:: over $ 0.lb.d furI I. for our ad In Sunday paper for ad- vants fu.rtr. Well I.ndsc.pd. C.l Harold Volrl with J. Daniel I Winter Park | 109 E Pine.onlArtuio Room for tables and sndwrh r
dress. 4c Bennett 145 N I shrubs trees. A Ski UNO. palm |
208 S =
Ph8082. 7811 BEAir- ness Good
2.dlnlnchiah
or uDfurnlbe. Bonn.t ORLO VISTA and season approaching N<- _ _
Main: Boa house; 9 acrescitrus crone. 1 lot. I4S ft oa 3 furnished apartment
SMAILHOUSKCouple i 589. EDGEWATER MANOR- BoatIng and fishing. C C Garlelts.broker. paved .tre. with lush citrus trees dry 10x12 room Move In. El.ctrc. I building, Income $3OOO a year i I 1 Competition, Near school Lease W _ _
-i u Own our business I| CPELND DRIVE ,bum slow, 912 N. Jhl. ph. 2-1747. PINE CASTLE-Six-room house and I .. with lane rooms. water available. Ph '1393. Prce Corner Large lot, Owner leaving sell reasonable Write or"see ItGibson. -
p needed by Jan 1st Prefer i' and bath $5000 cash to move into this Die small house 2 lots fruit near bus. I I 2 baths lifetime roof metal cabinetsIn only_$535.. __. ___ city only $15750 Terma A C 14th St The North Pole, 708 b
near Winter Park Limit $50 Box I Screened porch garage Completelyrefinlsbed block bungalow LAKEFRONT Close in Large lot. all electric _Leesburg_CIa
concrete and stores Both are modern and the' kitcaer cversuted garage OR\IN MAOR2 adjoining Golden Broker. Branch office oa
8 or ph 11:1. Winter Park Price $7.500 00 with reasonable rom and dinette tile kitchen bath riparian rights Lovely concrete price is only $63OO See Mrs May with laundr 11.00 cash to falnl on lt 17-92 (31 x miles north of underpass). I. FILLING STATION GROCERY HarHware -
| on 8-Star Mrs i terms t desired Immediatepossession. tie floor on breezeway. This wu brick 2 bedroom home Extra largescreen with W. K. Price 246 S. Orange, I settle ." F A. Ahsa. Rlto.w. Ave in exclusive W.tmlntH sec Open Sunday_ _ _ _ Soda Fountain, Clean at- _ _
4rrprtr I full
For particulars see lake Hardwood
a home Priced porch o.rlokln. :17 Washington tractive business, grossed $20 OOO ='
21. Urgent you DI. tton These lots priced at $1050 each *
29 E. I _ _ _ _ RAILROAD FRONTAGE A.Ci.
Vergow Agency -
R..lor. $15.OOO. See at full tiled bath Fu.1oU year. Wilt give 3-year-lease,
[please. j i Church St Phone for. attached garage PINE ST. WEST-Frame residence of I II for immediate sale Exclusive with South city limits: desirable for includes stock, vt-it _ _
equipment,
I APARTMENT Snail unfurnished 1JJ. 5 rooms and bath Lot 65x149. I l.n. Bradford Broker 1204 E Colonial warehouse or factory: paved street and f T-
a house but a BROS.. with built in laundry trays This lures Price $1 500 Property al.'o _ _
Will aERMONT-NotJUt HAL AOENC. R..lor. The price is wtth terms Immediate THE I! 20233PRINCEON water, utilities 25OX3OO ft. Box 308 can
assum 1m. r.pn.lbWt planned i iconstructed 11 Orange A.. 5181. I home is new and equipped with ..nr ..139S BET TEA be bought at a reasonable figure E
I Box 296 S-Star and furnished for livingIn tian blinds electric water heater .lnn. MrNutt-Heasley! : SCO SECIONGo S-Star S Burnett, Broker, 37 f. Main, Phone
.70O Phone A. T. H..ltor. 15 W. Washington St. I mod.r home of 5 room. bath and ".!
I furnished or comfort: choice location in Cler-: Beat this value $14 I TOURIST COURT-Hrenwiy 441 9 2-3063.
HOUS-2 .Hom.. 3-year lease mont Florida Beauty Spot; erected I Buster Carter 3-1622. Jamerson I two porches. 20' frontage m theOrange $40. Broker P O Box 2586 units, owner's residence 6 rooms
I Permanent family of 3 adults $50 last year owner now finds Interests EDGEWATER HEIOHTS-Surrounded'' and C.rte. Realtors 12 S. MamKALEY PRINCETON AVE.. 31B W.-S rooms !I, equipped B..om . of Kitchen the otherI fully PAL TERRACE-Beautiful building and bath Met profit this year bOOO FISHING CAMP-"A camp flshenner
.
I to mo year around Ph Winter require residence elsewhere. .ompl.te: I furnished 2 car By owner j 1m. I Ii lake view and lake front. Attractive so far Owner retiring Price $22.SOO. can find "
11 I. by fine homes and located In one I' garage i I i household furnlfhims included at Ii i iI Most direct route fin
prices Carl Terms E S Burnett, Broker 37 S
ly beautiful e.bl1.I.t.
[ 10J.HOUS el.trf.d exclusive reslden AREA-Prlc* re- I | Orlando Oa Lake '
Itt.b.n. of Orlando most SOL I the price of $S.BOO 1 Apopka Beat,
( Sm.1 unfurDI.be about .; : bedrooms fur- list sections is this modern 2-story dured bungalow.Nicely PAR AVE 114 E-3 bdroru i i .erfi oper 31 N. Orange: 2-O442 Slain Phone 2-3063 Gal grounds Good income, Purr;-neo
J.nua prm.n.nt respectively In satinwood and cement brick home with 3 bedroomsand furnifhed Bearing fruit trees I nlshed bungalow "I.rtrk rdr"rat.r MC7flITT-ItEASLET. ISOPEN BUILDING LOTS-Select your home 250 FT LANE highway frontage cabins, boats outboard motors, dock
I .. couple; excellent ca.. BOi walnut furniture combIne sun and 2 Oak floors furnace 2- Paved street bus service city water I just decorated over h.l acre: W. Washington St. RETORS site now In the attractive Dubs Block (tor* building 3 cottages, 4 store, arterien well, tools etc Room
b.th.
1301 B-8tar- living rooms rullPd large pic car garage Nicely landscaped lot and electricity Now priced at $6.SOO garage citrus trees $12.500 dread Country Club section. Lots in acres In all High, dry l1 i miles I for growth Price S28.000. only $15 _ _
I business desires tore windows; and breakfast Owner left town we have the and only $2 SOO cash required McNuttHessley. PRINCETON AVE 1101 W -We offer all sizes Close in school bus and from town Ideal for service station 000 cash required Rob t 8 Hc'
man
HOUSEL.1: modern: furnished; rooms: central heating plant key $23500. terms W B. Nicholson : Realtors 15 9.'. Wash I Iington for sale one of the finest built i stores Priced reasonably Cash or tourist court etc Land value Increase I with Robert R Tyre Realtor 13 w
bdrom. numerous large closets asphalt tile St. I homes In Orlando. Second 235 N Main 7559WIN'ER and business opportunity sure
I yearly In food I Realtor S. Main 2-1619. floor Sbedrooms I terms Jane Bros I Washington. 6174.
mo ;
1..11 Co. floors on concrete; tile roof: 2 cargarage I I glass'a-in 1..plnl porch I finest residentialsubdivision here A good buy at $8500 terms,
J lo.tOD: ; r.f.nDr. 211 8St.r. and laundry; large landscaped 2 FOR PARK'S "
: lot bed-1 baths First floor large reception L'SPECON Hastings. Realtor. 62 ? X Central
HOME 3 large
1 EAST SIDE-Exclusive aectlonU0- LAKE FRONT Is Robert Dhn MacDonaid GROCERY, FISH AND poultry mar-
3 For unobstructed lake -
i expensively I .
iSEuDfurbe .drOI usual value. Modern block bums roons 3'i acres, Paved road Needssome | room dinVus; room breakfast rom. at and Arcade): 4237S7 ket-Fast growing
business Sick.
425 E Gore furnished 3 P.lm" A"p
A.Ferguson furnih.d: can sold withor music lounge. kitchen large Bunt.. Pal P.rl ________
..
9752I Howb.r will low. 3 bedrooms. living room dining painting Citrus and shade tr. I .0m.bath bedrooms. 2 Opea 2 to nues Andr.. R..lor. Winter I Real Estate Exchanged ness demands quick sa e. Reasocat;
p nf/ Furnace In
wtbout I b.th
I one a more complete and Inviting room Iltch.n. attractive den tile S miles from town $10.OOO Chenault 3-' r carage. with furnished b.m.nt. 4 dally. C R Realtor CIO Park Exclusive .".nt. cash buv Call owner, 2-O620 _ _
HOUSE Unfurnished will pay up. to b$60, per working mo. home and lo.ton in the osmepure bath nor 2-car garage with I Jennlng, Inc 672 N_Ojange. 72J4 I I above An outst.ndlnl property apartnent N Orange; Ph. 7348. BARGAIN-Lk. D.n. Section 2 HOME AND INCOME property Will GROCERY AND MEAT-Clean steer
for I.undr. maid. and bath For LAKE KILL.ARNEY-Near.New 2-bedroom I large oak tree exchange for Orlando property or business Best of
Ph. 8106 Mr Park. range 1. furh.rInform.ton. rom located on 23 lot $4O.OOO. liberal I nice locatIon to
Bowman ft .. Qul.k Ile. $21. rurnihe. $19.OOO frame Kitchen wired for elec terms. or will part including hnme Building wtih remodeling possibili will take half each 17 8 Salem St gale or trad for Detroit proptro
ROAN BAD For elderly R.I\r. 3371 dennont Flor unfurnished Exc.I.Dt Georgia Inc range 175 unfurnished I.. and garage apartment for $29.SOO on I I I tie; Immediate possession Ph 737 EUSt is 432 E MillerGROCERY
1.0, BOi 29 S-Star.- i yon Schiller R..lor. 7186FAIRVILLA I II than to .sb. . hDn'DC. rasher me Call H F. BI.nd. Realtor ''M, Winter Pak HOUSE-S room large lot for ear AND MEAT good location
New England I 1 mile west S-room I Inc 672 N_Orange, 7234__ Carriesn Bldg. I froDt-l"t-ln
ROM WAN COLONIALTOWN SECTIONHungalow. I Ii Or.n. NEW AND MODERN BY OWNER-Large lake or other property Owner Charlie reasonable._ph 2-4312
wU and share living furnished With 2 lota Corner -j I house. new 2 acres land on had LAKE FRONT Distinctly different ,, 2-4551 city limits fishing. and Morgan 53 West Church St I GASOLINE _ _
b.tna. STATION
expenses return for comfortableliving property near new schooL Price road Deep well with electric pump | bedroom home with bath fireplace Four-room block bungalow partly fur swimming Ph Restaurst
quarters for self and working $20. terms LJndberg. Broker; 911 i i i02'rsadfcont. cheap 3. J. Moore !' "th.dr.1 ceiling 100 ft of ,I SUBURBAN Nice 6-room fr.mpbun..low. I Dished on 100 x 15 foot lot on : 57-1 Beach Property I i on Work busy corner Shop Good and five-room lease and e beastar
hU.b.ne Away .HI-Dd Box 254 Mi.; 2-O818. | FERNCREEK 2115 :WllT sell or' perfect sand .ch. $10.5 Sammie unfurnished. Redecoratedand paved street within block of bus 55. Country Property for hale I Less than $4.OOO Calf Peter Breer
8t.r. I trade bedroom sleeping I Fr.nclso. Realtor Central sanded I Immediate possession North WATCH COCOA BEACH Opening
CASSELBEItItY-Attractivo home for p.lnte. for Fireplace $6.2S. with O Harra-Moo-e. 109 Z. P.ct
I II
UFRl''SH' BOUSS-Miolmuin 3 young couple. 2 bedrooms lake- I porches on lot 119 1 280 with 32 Arcade 740"LANCASTER. La. rom. Frr only $7250 Side Also new 2- .. BEAR LAKE-New frame bungalow season with offering bedroom Phone 2-2380 or S593
or .rouDd Orl.nd' | front concrete block. Close to highway citrus trees for. .m.l.r pl.r. i PARKImm.dlafep.Ion . . $AO month. Call 10.f", completely furnished Garace garden two bedrooms. b.th.I" room house 1 block from beach $3.OOO ,
by government ,. 1 Complete with elee on appointment: Kathryn Thomas or I fruit close-in. Clean and Neat $U- kitchen and dinette brerze"av. attached famished $1 '00 down balance less GROCER z-Old established Meat
here; permanent rental; ph. 243J cotlect. trio .tre. . hot water 3-bedroom. bungalow Tile bath and Wyan Smith Brokers. 230 E Concord SOO 00. See Mr. Perkins with garage. screened front porch han rent Pule;pber, Realtor, Cocoa fish and poultry market Good
M.rb.U Cocslns. H.ln. City. .. .t. oil circulating heater dr.tn.electric: kitchen beautiful playroom lOp. SWOPE. REALTOR. 6O East On lake front lot 80 ft on lake Beach, I lease, nines forces sale, $4500 cash,
Pla. Beautiful live oak trees. A real buy FAIRBANKS AVE. This delightful breezeway. 2-car garage. servant ,I I Pine Phone 5812 After office hour by 175 ft deep beach. 6 milesfrom I balance easy terms, By owner PhI
MUST MOVE by JI 1 need furnished at $9500 See Hlbbard Casselberry.BrokerWinter horn built last April must be sold 's quarters $20.SOO with t.rm. SOUTHEAST newly paved street I call $169.GOOD city limits Electric lights lump I 58. Heal Estate anted I 2 2611 ask for Mr McFarlaad
apt or Permanent cou Park; 2222.OWGEPARKTl I I at once It is fully furnished built on Call Lee Crawford with Robt. L. I IPryde I! in a very lovely neighborhood, this I I, and water h..te Price $5 OO GROVE. 4 acres. 305 seedlIng trees
pie. 16 mODth old baby Limit $30 prewar 2-bed- a I argecor ncr lot and most desirably Realtor 668 N. Orange; 24596.LAKE two-bedroom home completely fur- cash balance $30 per month. Inquire ACRES homes, business and groves i 6-room house Estimate 2.000 boxes
located has large living room and 'I FURNISHED; Look James A Neal west side of Bear Buyers waiting Courtney Realty i fruit. Direct-by-mall express brines
Ph 2-8: breezeway andattached I n'shed! for $10.SOO. -i ca.h will buy -HOM -
i I 392 V Orange dial 2-2471. : goes with the grov. $9 575,
garage. In A.1 on dining rom. 2 good sized bedrooms east of. For something in a real see I I make offer Your Lake. Owner _ _ _
Ih.p. LNCAS'u.t .Iu. .
51. Houses lor Sale 75-ft lot. paved street I ultra- kitchen. tile bath Venetian 5-rom Had.o Clyde McKenxie. Broker 104 W. Cen- oP nnr: f orabsrga its. M K FARM 60 Acres With ACREAGE. BUNGALOWS, large or Phone Casselberry 2-2221
In fine Price 112".500furnished blinds throughout screened floors. plastered la.I.. trad AY. 2-4775. . 22943.EW2BEDROMhome.. CLSE-IN conveniences 3bedroomframe small. Lakefronts in demand Write GROCERY STORE and market In
ADAIR SECTION- 3 bedrooms. 2 I I nel.hborho. B. Smith., front porch and car porte-cochere I Some fruit trees. Only $2500 cash. I large tot; residence .lc.leDt condition wire or call T K Hastings Realtor Lake County Well equipped doing
screened porches: redecorated new with Robt. L Pr d.. Realtor 668 H.I The. neighborhood I excellent close to balance $4300 Come in IU b.1.0 SUBURBAN-Lrn well built frame. I porch. ElectrIc pump and b.r.s 62'j E Central_(Arcade); 4237 fine business Must sacrifice dat te
leetri kitchen and Bendix $9700.Aittlnger I IAAIRUNHOE8EC I Or.na. 2-4598- schools bus service. shopping districtand to show you the best buy room..P..lou.living room shady has cornerLarge fireplace 1511 37th St. R.I Builders Inc room; tool house with extra shower. COLLEGE PARK LISTINGS wanted health U interested Ph. S004. Or-
Realty, 2-O074 I' spe- I one of Central Florida finest W. A. Williams with J. Daniel Kolar bay 2 good bedroomsbreakfast I Terms. G barn full of hay Tractor and We specialize in properties of this | lands _ _ _ _ _ _
Would 'CLEE-PAK,. choir fishing and swimming lakes Just one 20 S. Main 7811 nook.Indo.The house is fur I I NEAR--KE DAVIS-S- well fam equipment; 14 head of cattle I popular section. A. G Wagner, i GROCERY STORE and service eta-
your brand- I ready to show A. G .IKto.. Bro I Iker. from Block away Only S minute drive nished 2-car garage fruit trees I furnished home electric room refrigerator 16 acres young grove part bearing I Broker 1209 Edgewater Ph 3-2133, I lion 2 parments en corner lot
new bedroom home before Christ- The Sheridan. 12O9 golf course is ell) included Fenced and cross fenced $15000 cash winter Garden R<1
I and the
.
on : washer
.iy .te. gas stove venetlan -
This home. with all .Id..lk
mast ODD of Orlando choice Phone 3-2133 j furnl.hln. has of Copeland B.ndi On paved highway and school bus across from \iORZ station, pb 2-26.S
I 'D. LAKE FRONT One lne Attractive I "> orange .. FOR IMMEDIATE ATTENTION and
been priced at It 1850 garage
auctions Only $ cash rquird. $12.5 Park fine homes Modern 2-story terms right a. !me 4
J5o FranCisco with
shade your property
may be sold 1 I I trees Price to sell By owner. GROCERY With living quarters
Ia.Dc like Price $0.0. CONWAY AREA-Close In near Lake'Lancaster cash required balance OD $3.6S home with 4 bedrooms and den 2tbaths Realtor Rm 4. Central Arcade I I E through property Quick possession Startle Williams, Realtor 21 W, Very good Income S10.5OO lie jd-
I Gr.OoD .
"$ 677 N Herman. Orana. 9855 1.rok.r. I and Hour GI.s Late.This I',1 mODthl Exclusive lIsting with Lane large tiled .cr.n.d .rch. 2car tn'- : 7407 |110 I GARDEN PIce" less t Jones Isanacity with bBH.M J. t.rm.to. Mo W ashing ten. Phone 8106 tog building stock furniture, Terms,
.. furnished LNDAIiartYI. Ho..rd
Is a well bungalowFive i I Br.dford. Broker. 120t ColonIal la.. W.l two bedroom 6977 Chenault A Jennings. Inc.. Realtor.
S.Main.phoile
rOD.truc.d E lot. SOUTEA! LnlY3bpdr I ". 132 "
I .
rome p.ntr and Dr.. 2-0233. 1939. Nicely I.ndsc.pd 128.0. Ished 12 beautiful lots for garden HOME WANTED Northern buyers 672N. Orange 234i
ADAm LAKE SECTION brand-newunfurnished other closets Screened porch Electric I terms W B. NICholoD.. .. Venetian blinds, 1w heat Citrus. I i chicken farm etc Near bus line. not CELERY FARM=2O acres; lot time and investors Inquiring daily for i HOTEL Sale by owner dawntwn, ________
D.nr-Und-Ia home ;I kitchen large oil h eateran d ome S. Main; 2- 11.00. terms W.1 System 628 E.I I I far from city limits This is another offered; located in Sanford best businesses homes and farms Strout store possible, good Income, sma.
with 2 large bedrooms Corner windows other furniture all for only $6.800. 464 'I i Van Helen Special See this now farming section All tilled .nd in high Realty 318'? W Co-inial_ _ i down payment term Inquire Box _ _
bath. living tub room and dining.bower.room Kitchen tile $2.5OO cash and terms on 1.I.n. GORE AVE. 425 E.-I you don'ti MERRY MOUNT SUB-DIVISION- SUBUBAN-5 ..r.-2-bedrooms. ''I $8.SOO with termsee Van HotenBroker state of of hollow cultivation til : with mo.rDhome HOUSE WITH rooms or acts About I 2B9 S-Star_ _ _ _ _ _ _
McNutt
h. -Heasley. Realtors Waverly St. 2 bedroom bungalowwith I 6 W Church Rm 12. 5504 .con.trctln. lfe $7, cash Condition
SOO not
quip with new cabinet 5mb. new Washington St. i I want this the sales-.1.I II.h.a and bath furnished time roof and nicely furnished 2 con- HIGHWAY LUNCH STAND Beer
K.I.ln.tor. new 4-burner 1 man to show you a 5 year old. 2- white Johns Manville shingles.hardwood new .I.trlc r.frla.r.tor.P..d I I$2OOO and barn bearing citrus sldered Box 287 S-Star I license etc Owner will transfer
I garage .
1
-f. new 30-sal automatIc water story with 3 bedrooms immense living floors ..r..n.d porch; road clove to Winter Park 51-1. Lake County Property and nicely landscaped lawn Illness HOMES. GROVES. BUSINESSES -- teas* for $700, believe It or not! This
Breezeway and attached ga- CLNJLTOWN-Ve conveniently I room with fireplace and big ca..r. corner lot. nice lad.D; cash balance monthly Price : forces owner to sell Prr. $35.OOO Contact C B Davis, Realtor 41 I* an excellent opportunity for om-
h..te. This home without kitchen Not new but roomy secluded porch Price is $20.- ."D. price S49OO Own.rFrd SS2SO Call Nunez with H. P Roland FURNISHED FRAME HOUSE 9 with F. Allison Realtor 37 W, Washington St : Phone 7305 I one. Exactly ai advertised, nothing
equipment fn. with $1500 a n excellent investment for only ,,1. Salesman at E Gore from 2 to C Bennett Box 308 R R. No 3. Realtor Carrigan Bldg 672 N. Orange rom 1'i bath 23 1 lane citrus; lotI00x280' W Washington t.rm A. I more to buy See W m. Mathews, w,:a
With kitchen equipment $10.5OO do.n 1 $7500 for a comfortable twobedroomhome 4pm. or call C R. Emrlck. Realtor OrlandoMAIThANDAttrartite 24551.SttBU5tBAN5rsoinefrgrne"nire. I| reduced for quick sale. $8.- __ u I J Daniel Kolar. Real or. 2O6 S Main.I
.lh Two 500 ISO" Donn llv COUNTRY PROPERTY Since HOUSES WANTED-We have pros
front screened sleeping ; 610 N Orange. I I St M' Dora. F aI I Ph 2-4388.
Harold Volltck
$2.000 down Contact o"mO- 1916." Ask Asher Realtor pects for 2. 3 and bedroom homes _
porches an extra large kitchen I P.te. -
with J Daniel Kolar 2O6 8. Main; heart pine throughout wonderful : HARRISON 8T- ..r stores. schools bungalow Large shrubbery, and fruit trees screened SHADED, lake trust He probably knows 12 S Main in good locations CaU W B, Nicholson MARINE SPORTS SHOP Boat
7811ANOEBILT for. and bu. Charming 3 bedroom Garage New gas kitchen equipmentand front porch and home Complete in every detail, I of fishing
For I garage utility room Realtor, 2-1619; 14 8, Main 6t. kicker all kind equipment
a real good ,. let me showyou pleasureand
Dutch Colonial of cypress eon.tr.Uon. circulating h..te IDOlud.d. Price I I paved driveway. Price $5.SOO. liberalterms I furnished or unfurnished 2 acres orI LAKE FRO.T.E-Th.re's All new In new modern botd-
I this '
BWTION-$000 bargain one now-Zussman withClyde L.t.d OD a lOOxiSO ft. lot. $7750 Bryant with Herman Goodwin, j|I Mr. Told with M D Bailey. I less. 18.50. $10 TOO or $a.50. CaU 12-acre log located In Winter Garden near
New and nice 2-bedroom bungalow McK.DII.. 104 W. Central Ave; Sun r baths. 2 raT garage, Inc Broker. 677 N. Orange: 9855 I R..lor. 30 E Church St. Phone 4767 'i White, tract of beautifully .ode high landLocated OROVES-HOMES-BUSIy6ESSES-List Lake Apopka with large repair department
mil I :: . about 6 your property with aggressive Real-
2-75. I I !1 ; on a chain ,
.
Fruit trees Terms Coartney Realty Price of 500 I* reasonable with : SYLVIAN SHORES-- well equipped Long lease
I &Ur.cl. miles from Orlando 8OO of lake toes Cisenault 1, Jenninge. Inc.. 072N
392 N 2-2471. I terms available Allen Johnson Realtor MARKS ST. 1110 E. Colonlaltownnew ; SOUTBEAST-S3000 weil buIlt bungalow I moderate rent Stork $11000 Fran-
cash will buy Price
I cottage Orange Ave Phone 7234.
Good 4 room
'
<' frontage
140 N Orange 8612 Speclailz- 1 chise Johnson n-o'ors Century
: block construction: 3 bedroomhome. this bedroom frame bungalow rooms and bath Large lot with 22 on
COLONIALTOWN SECTION Beautiful log In Homes i iARLND 1 cash Rex-McGill R..ltors LISTINGS WANTED-Clients waiting, : Barbour Alumina Crai
3 bedroomhome I price $12.SOO unfurnished or completely furnished Located nicecorner I assorted citrus t trees This property 180. Dum ry
PARK on
ADAIR Romy.. new m.lnr bungalow of 3 sell furnished. OwnerMAITLAND plot Total price $7500 Exclusive .. designed for the busines, of Orange Phone4147_ I E. P Siayton, Realtor 32 E Pine and ligeins boats, Priced for qu cki
lot. Nice on lOfot.. I-I.nd.c.p bedrooms 2 lovely large porches at- ST-22S-Romlnc ; .U with C. P. 6hum.. Realtor- Pleasant living $11 000 W J Kistle". LAKEI'RON'r-Modernlsome. furnished St phone6651_ _ _ I|i I sale, S15 ooo L A. Grimes, Broker
a substantial reduction In price and t.che garage: furnlh.d with hot apartment See owner on premises. I I -One bedroom frame cot- 140 N Or.nl.. 2-3282. I Realtor. Post Office Bldg Eustis Fla or unfurnIshed with bearinggrovoa LISTINGS WANTED-Homes, groves, '' Ph Winter Garden2_ _. _________
will sell for 1-3 cash down Furnished |I radiators plot t. close to stores and highway. Phone 391 Red P 0 Box 1146 nd farm land 4 to 32 acresas rentals Let us help yon sell your RADIO SALES AND REPAIR Shop
HOLDEN at .
with variety of fruit and 4 rooms and Oakland CIa.SUBURBANChicken
SUBURBAN-F.m" 133
I : HEGHSUnu.u.n d..lr.d. Box property, Hall Bros Agency. 112 N. cash for quick sal, Tb Inven'ory
: $2000 -
equipped _ _
01 Investment Nicely and gas '
uDurnlh.e B.tt. I. tractive I Icompl.t.d |I furnihe with 24 fruIt
: I 52. Groves for
Washington Pc. $15.70 furnl.hee. stove. For sale trees. Salei r.D.h G Orange, dial 5159.LOThWANTEDNorth. I covers the purchase prl-e,
i ; teal of concrete blocks 4 lovely .I.ctrc r.fr..r.tor. n earstoresa nd office I I I
.
Phone 8513 little and glassed Call Real POI. bedroom home. section of D vld Andrews, Realtor Winter Park
opportunity Trade with Swaid'Louis rooms porch 15'5. G t.rl 180. King 30 E. i ABOUT
3 MILES from
'I Geeslin Realtor, 143 N. Main; Very rOiY. nrt. mm pactan a efficlent O Harra- . 2380.. 109 ; 8435 Open Sundays. road base city limits onpaied poultry house battery, picking house town Suitable for duplex aa to restrict RETAIL, BAKERY AND ICE CREAM
I
IiE&earThi3im I 2-1464. I Has livability and convenienceof ''E Pine I I.r we about 2'j and runs Several 1 citrus trees over Ions of record and city sonlns I I busineSs. Net profit more than
house. 2 porches 2 extra lota. On larger homes Corner lot nicely MUSSELWHTTE ST 2509 N-4 room I 97 large good fruit land trees which h eavyer has op abc i ut>f Everett anarre Wells of ground Broker. Price 1204 E.$79aO Colonial P0 Box 2949 _ _ j t I $10 OOO per year Equipment bought
bus line $2OOO net to owner Call I landscaped Good location Only 2 house. 2 bedrooms and screened tStUBAwt outside city. Clear fruit We consider this our best LISTINGS WANTED-W* have the new under OPA ceiling two years ago
3502trlcity
Ph 3-
Mrs B DD.t 4131 COLLEGE PARK-You will have to blocks from Clear Lake You 11 haveto porch By owner bua line Accessto buy for $3.300 and fruit goes with buyers U you have the property ITak* $4SOO cash and invoice stock
ADAIR moves bur if you want this modern 2- see it to appreciate it Compl.t.1| NORTH! ontana: near new lake ..CtOD.aod n..r fishing. Nice 5-room the deal $2900 and seller keeps : 4-room road.house; 10 Call A, T Carter 3-1622. Jamerson I or will invoice stock and equipment
PARKi5-.k furnished $5200 land paved dee- Stock and equipment free of debt
Owner good
you S-room furnished bungalow with 2 school bus stores; 5-room frame bungalow with 5 extra tots This the fri Terms $W>0 cash and STII acres and Carter 12 8 Main i
I
I Cor. 24th and Rio l Grand \ $3SOO W A McKenney been death in family and hays
house Pull tile b.t. breezeway and | baths and attached garage. Price furnished; garage; excellent eODdlI ",.Iu. plus at $5500 terms I I C. F. Gordon 64 CeDtr.l.Rm Hiway, 2-7144. SUPER ACTION We want good I. Has
attached garage. neighborhood I $78! with only $2850 down. King HIGH SCHOOL SEC10N-Be.utfu ton good lo.lon: plenty Ih.d. For Mark with Louis Geeslin R.lor. 143 I 8. Ph 8521 Broker: 4950 Cheney value listings for quick sales, Phone i ius I to leave, City Bakery Plant City,
New kitchen equipment in- I| Estate 30 E. Church; 8435 corner lot. well lo.t.d. NI. immediate "SIOD call owner N. Main; 2-1464. | LAKE- "T-home and rove. 2- BUY THIS and live at home Nice today Nobie Smith. Real Estate i Pta _- 7-
eluded $10.000 Call Runes with Open Sunday.._ New style bedroom bungalow -I 2-4153. Price $7000. modern home overlooking neat bungalow, 2'a acres land 124 S. Main; 6911 RADIO SHOP-Good location we.i 1
H. F BI.Dd. Realtor Cardigan I COLLEGE PARK-Princeton Well built Good condition. Large I I'bdrom lake 700 ft lake frontage Paved road electricity and phone 2 WE HAVE BUYERS wanting groves. I! equipped, good stock part; bargain
672 N 2-451. Bldl"1 AU2bdrom 2-car garage with furnished apartment !'WINTER miles from town You can grow your account sickness Ph evenings 40
_ _ furnished .. GARDENdrom home bearing grove addition flowers Only $SSOO. business property and homes For
ADAIR !Vicinity 3 l.ke.A very r.ld.nt . .i sacrifice for quirk down bedroom .p.rm.Dt up NORTHWEST SECTIONImmediate : . furnished with electric I al land Price including present fruit own fruit and balance Immediate sale list with F, A, Afflsoo RESTAURANT on 17-92 Sanfz-5
month on
,
$17O month Income rah $30
nice home of 3 large bedrooms reduced -I sale Easy Art Ridge assort .10. kitchen. electric water heater Venetian I crop $14.OOO with terms Louis S. $2750 Realtor i Realtor 37 W Washington highway Like Dew and fu
$22 terms. Exclusive BucketO'Neai. with Asher Peter
to $12.SOO. value of extra tot ate of Wells. Broker 1204 5OO I Dolive 27 W. U C Twner equipped Also living -
Enr.t E 118 E. Robinson; I', possession Fully furD"h.dlov.b blnd. all new: 1'acres: deep I Brol.r. Washington 12 S. Mam 2-Q-86 WILL PAY CASH for 10 best values quarter at
$15OO Furniture optional. Income i I ; opposite Vogue Theater; dial 2-37 R..lor.. new home Two large bedrooms well "Ith electric pump. 24 fruit I St. 1412. in tots priced around $5OO Ph. E.R enough land for cabins Priced rich
if desired Floor furnace More in 33502 : tile bath tile In Ilth.n Living trees nice yard landscaped 100 I LAKE COtTNTY-Warm section 16 5 MILES OUT on paved highway 15 : Fox, 76O1 Exclusive with Fred Garrela, Brn r'
for Xmas Show anytime O c. JERSEY AVE 111-2 bedroom bungalow I nd Garage hens acres. _' acres in citrus, balance _ _ _ 8561 or 4128.RESTAURANT.
CLOSE IN 4 nice homes;; 3 bedrooms room is argea On black top road new Federal i acres full bearing trees PB8 tan : ___
sell but
Stewart Real'or 9788-8033 2 baths ...b. Price cut 1 3 for new not quite complete: reasonable has laundry space and workbench highway coming through Buy 1 germes 200 Parson Browns, 147 cleared 5 rooms and screened porch :, WE DO NOT promise to we I and delicatessen
ADAIR ai Grammar quick sale Ph 4624. A. W. More"Ith priced for Immediate sale by Large corner lot. very nicely this place $8.000. by owner Ph. 279 I grapefruit Average production 60UO bungalow chicken house with All plenty fur do promise small to, work other on any property house Anus Priced runt for quick .al'
SCOm owner !' blocks off Kuhl.KFNISON of laving hens brooders large or or |1
school "drom framebungalow Walter Bass 217 S. Orange ? : landscaped It s truly outstanding at Red : boxes All the fruit goes with it at cultivating that list with Exclusive Courtney Realty, 392 N
that was '41 2 I COLONIALTOWN DR 103-Well
screened porches. Bendix. lot 1OO x rally new SErOSP.r rom frame block home Living room. $3 0 cash required Please come t Gardner Real Estate 409 S. Orange; 072 N Orange 2-4551 AND RADIO SHOP to ilsul-
ISO with several citrus trees Ul.5o.1 bedrooms. Living room and dInIng wood for.Venetian blinds screened -HARGIS. INC.. R..ltor. I,x26. Corner lot. 100x145 Only $11.- for further information Phone 2-4481 date partnership Gross of o.er
available Exclusive .. heat double garage W. 8881 6638. see Mr Stewart with Harold Shepherd FREE APPRAISALS on your home I
W.sl.ton I ,
We
Tom room combined 72' lot. For quick pb. 1 I i So consider this1 an exceptional $30 000. December expected to gross
JohDa. R.lor. 140 N Orange; | sale I69OO--.only $1BOO down Don a good buy ELena Norm withC i White Bros 824 N. 1 Realty Co 20 E. Washington StI 2s ACRES-5-room bungalow, 8 We will five you an estimate free $5,OOO. Bargain for Immediate sal
Re.ltor.
F miles south. Paved road $4 650Qu'ck cf charge on the current market
Batchelder 28
8612 S In Homes E Washington I
lzln miss oflerini Call : Phone 2-1688 I GROVE Ideal location and food lease Ke eI
| MIll -.c.s-305-.eln. tr No oblixa ,
thi .x.ltoD.1 9620-3-2266KALEY 1 action gets this gem John value of your property ion
BEVERLY SHRE- If It is a new ., Sampson NORTHWEST SECON-Te greatest WINTER PARK-1498 Michigan Just 6-room Woodruff Broker Phone 7811 Wm Mathews with J I 1O3 Orange Ave Daytona Bea r
house 7 looking for and StaIns. Metc.lf Bldg Phone 5159 ST-B..uUrl new bedroom II" '.'. b.drom. b.th. outside city bedroom cottage fruit. Direct-by-mall express business Jh5276Tw6 | Daniel Kolsc. Realtor FtoridaPhone_ _
want to see 10" and ..COLONIALTOWN block .. For pn. large living room ktch.n and . 1mlt.. kitchen by- goes with the grove $9.975. SMALL 16x16 houses with 8X10 _ _ SUNDRY STORE Located in grow ___
workm.nhlp. m.tol.l tbl.3bdrom '1 bedroom SECON-N. see Mrs Keller with T. Dorsey. ette. house entirely rrpt d. venetian owner close to shopping and bus. Pone C..lbr. 2-2221. porches not sealed inside electric HIGH LOT-Suburban. shade trees ing community, wonderful opp" -
2 tile baths full sized Steel .. Broker Ph 4412 blinds 160 at $44 S Immediate ty available located 11 miles east on I oases ts state lowest cash price I off gate beer etc
|I I .m.nt .Indo.. tile sills. possession JO grove 400fl tr. tunity Sandwiches
ACRES S-Star
$5.50.WL"DERMEREol SO Box 29B
rom. clcul.IDI automatichot full tiled bath and shower Price LAKE FRONT-Suburban Large lot. per mo lot ISO Exclusive { . house sm.1 nurse newer em State super highway _ _ _ _ Derives substantial income Bargain
Robert LPrrde I Fred Broker 8561 or 4328 bungalow of 1 and 100-ft frontages $895 each $195 : MUST HAVE 2 or 3-bedroom home In for
..Ie b..td $ 80O Tem. Phone A T. 'Buster'I Neat newsssa Ii d..lhnc with bathSod G.rrl. - consisting mainly of In. seed for quick sale Owner leaving
.. N. Orange 2- I ron.trct.on on I.r.plot down Owner 701 Lake Darts Drive nice neizbhornond, with low down
68 ; Carter 3-1622 Jamerson and Carter electricity $33OO terms Lane NOTTINGHAM ROAD bedroom of ground facing Lake Bessie i IUnl and Valenctano freeze damage North Ph 9400 _
4596 _ _ Realtors 1 S Main with Herman Goodwin. Inc Broker unfurnished bungalow lot lolU. An unusual and with crop $29 SOO without crop IF YOU HAVE $1000 and can afford I psymen' Call Vee Van Hoten Broker. STORE For sale or lease doing
BROADVIEWAVE.. 120-RlP!I COLLEGE: PARK-Furnished 5-room 6" N Orange: 9855 Vacant owner has left Attractively priced.p..lll of.nnl ., $25000 terms Ph o.ne 169 Winter $45 per mon'h I have a 4.month'- <> W "church"Rni 12 VW>4 ,I good-business beside a good ren
Lake Killarney i Price $17 OOO with terms Frank p.rtcu- I Garden old o-room cor: rete block house to NEEDED URGENTLY House suitable
rlhl on < bungalow of cypress construction . Beautiful lars see Vergowe A".nry. : income: excellent location Rlzht b
,
home-.Check with us we : Sleeping porch large living and din LKEFNSuburb. .. 2 tile Crebs. Realtor 507 M.k.1 Building. E. Church St Phone ]R..ltr.. 2 I 30ACE.an .-groxe-with-modern cether with 5 geret E S 21063 Burnett I 'or young minis er. Must be fur ness for right party Call 1 9180 Ownr -
P10cc
hat the krt Whit Bros Realtors; i ana room New kitchen appliancesand baths tile window sills and bate- phone 2-1"10NORTH _ _ I fuml.h.d home For com Broker. 37 S Main nished Down payment not over leaving for North _
824 N Ml. 2-1688 !I washing machine $8
muonr A STATION Doing food bu:
CITY IUUT M enrbuD Johnson R..ltor. 140 N Orange: garage. b.t house laundry and a frame home new Good neighborhood Monterev-colonial- mot unusuallyattractive homeof j Brokers 34O N. Orange 3-1676. 56. Business Property for gale I Rm 4. Central Arcade: "407. SERVICE ness Must sell-this week A.1-
&. . I 8612 "Specializing In Homes 10".1. lo-acre plot Beautiful Oak floors Large screened the finest of I IbO. and stock $1800 222 Cm-
prewar construction E Opportunities equipment
cash rail Mr Uowrey with KingReal COLLEGE PARK-Spacious new-masonry and landscaping For appoIntment porch breezeway. oversized garage 3 spacious bedrooms 2 tiled baths i a3. Acreage for Sale APT HOUSE-Amelia Ave 203 living Business melt St Kissimmee FIx
E.I.t. E Church. 8435OPI bungalow see Geo H .. Realtor. laundry 75-ft lot Price 2 apts. 4 sleeping rooms
on tot. Kltfd. Tiled kitchen.
J corner Cen t.y. 2-car I
I garage ..lhm.ld' quarters for family, Price reduced for TRAILER COURT 3 mile West of
Suidaysahadt tral heating Attic fan 1 J C."tr.l. I islOoOO. terms Wilbur Strickland GOLDENROD ROAD-Special price on
_ _ |
from Double Beautifully Breezeway. Broker 23 W. Churrb. 6675ORLO s room A b.uhful home IDnc.l.Dt S-acre tract for ..1. only quick sale to $14.400. $4.400 cash balance I BUSINESS OPPORTUNITIES since city, 2oO ft on new highway 660
UUI.I
3 bl.k. .r. furihe. I condition land Phone 2 1008. 45 W citrus: 4 bui dIngs -
L'JI.TWN I | McKelvey. 64 Cen terms 1920 Central. back; 3 acres large
bedroom house. Well VISTA house Van Bu- 1$6. !
3 2nd
,115.5 fD.nc.d. on a. Shown bY appointment Prescott V Steele, : $8OuO Terms L A Pitt Broker
onlurnL'ted 1 car garage. fruIt. I R..lor W.. An.d.. Phone LAKE FRONT I ran Ave Small house and 2 bIb H. C. Babcock Jr with Robert room8HIGHWAY_ APARTMENT BUILDING-Close In. 210 g Mam Ph. 7683.
and landscaped $8000 PhoneA 1 150x150 5l.200ch._Wilder_ _ R Tyre Rea'tor. W. Washington 17 beyond Fern Park 110 Corner location 4 modern wen fur _ _ _
T 'art.11622 and _. Just outside city; rambling bungalow -HOUSE 6174 1 I ft on Highway 6OO ft beautiful nished 3-room and bath: also large TAVERN :Within city limits, Exceptional -
J.m.rl Winter Park d..I.
ONE ROM on bedroom ultra modern penthouse BOWLING ALLEYS Total price living quarters Doing enormous -
Car" R..J" 1 S Main I throughout tract
s : COLONIAI.TOW N-A good CP.I p.n.ID. onbeastifulle 1 mile East of Winter "d.d Id..1 .
I 2-b.dro. bordering One of those hard to find apartment: tile bath and shower, | $8OOO cash, Believe me this la | business Personal reasons for
COLLEOE PARK SECTION New frame home convenient to eery. I.n..pd Park. approx.matel> 40O ft on paved PARK- b.r".I'.t
Chase
.m.at Oe'ronrreie block. oak thing; $$OOO. fine sand. 8 ml"e citrus road for QUIrk sale cash It's. WINTR 3-bedroom t.eD bungalow.and $'950.Terms $100 down and $15 Priced to yield 18" owner. 418 good, will bear moat rigid Investigation selling, Best possible location Coafidential -
trees man azaleabushel .7S Int.rla.beD T. Gordon Room 8. 64 Broadway See W A williams with J listing no phone informa-
floors 2 bedrooms .ad.nl. buy W. K Estate. 246S. 2 bathe. E I
InlDI rom. Prr. model kitchen tastefutly Williams with J
bedroom 1'j Central Ave Daniel Kolar 206 S. Main. 7811. lion See W, A
dinette full tie bath. fD.a.e. 3-room cottage-On So-ft. tot bous. b.th. Orange A'.. Ph. 6395 furnished Vacant; move right C. 8
l.hU Main
18 24 Ia Daniel Kolar 2Qg
x living dining
$2 050 approximately U and .t.r. 52.000. E. F. rom. rom.I ORWIN W Realtor 672 N. Orange
.uh : S."oa MANOR
on of H. P. Realtor. 32 E Pine Ph sunporch, den: car porte: 2-car ga- HrU W.l.f. BUSINESS LOT- TOURIST COURT-Lake front U B
.tt.1 Realtor 18.5.. .. 672NOri 65. I rage: new 20 vear roof and water rom. dining rm. 65. BLOSSOM TRAIL. S.- Highway First class Plenty room
and lawn ORNGE
>ge ph 2-4551 = pumt O.n fuel heat. Asking $13.- screened prcb. sprinkler : Mills St north ef Colonial fIr,, 100 for esssnu ion 520 159) casts will han-
COLLEGE PARK Built in 4l: anfurlhe Phone owner 2-2653 system large I-.r garage. fruit WTVDERMEKE-Priced for .ulel sale: 330 feet en highway high feet frontage IS the lime of progress BOWLING ALLEYS die, Potter with Herman Goodwin
COLONIAL DR Z-4 bedroom fr.m. .mpl.t.l' for trees and nicely l.nd.ap.d. Price lovely home with fruit 'cr"
-br. hOm .Plntm.ntI i .a., Ask Mr Overpeck far details Inc Broker 677 V Orange MSI
lent screened : n:shed. Lot 5xl50. : bearing fruit I 1 S17-SOO Phone Dan SUlec. 4196Guernsey shade trees Owner 12 ready for .ou or t.lle '
P.rl fume I of the best biro In Cen- '
cement Here Is one Just comple "tOa
COURT
Immediate TOURIST -
duplex guest home $14.500 furnished possession and Green leaving State
or $i SOO down 112.0 I 21 E. CentralORANGE IC. R".lon. Inquire Mrs Rufener pOSHIIOn gas It.ton and frame building caabe Hall Bros Agency Realtors 112 S teal Florida 7 excellent alleys. all i I high*av 1 furnished double
Chll.1 G. 1.0 lowest priced Orange Are teL S1&9 bowllrg equipment service counter furnished
GarUne) Estate. 409 South Oran do. May b* sewn at CD'.red. The property t unit, one bedroom apartment '
-
R.a. Ph i 44$1 Exclusive with Larry Powell, Broker. LAKE FRONT-Rambling 3-bedroom BLOSSOM TRAIL-3OO on this highway, $8000 00. See pia-vall machines: 50x98 buildlnc' 200 ft highway frontage Ldderpriced -
<' s Ph. 3-2092. I masonry home facing lake on 100' I Iroat..o S-room house and WINTER PARK SECTION-2-bedroom Mr Harrop or B. H Overpeck located to the heart of a thriving at only $23.fOO terms A.
( 1IGI"A I._ "*.da with frontage tot: tile bt master bedroom I| Other out buildings borne with porte cochere for $x>OO. CLOSE IN-S block from Lake Lola town Batnea now acHing over STwOBHmthly C Golden, Broker, Branch on 17-82
: t miss this little DUPLEX- r\D 2-bedroom apartment room futn-e bath { Must sell quick: i a. nf,e, $6 BOO Sam : Also bedroom prewar bungalow for BAL BROS.. AGENC R..1or I B* prompt and tacRMatH In your ; $21. M bwy It all. $10,800 34 miles north of underpass. Open
block housMr: to ""a..r Ur ap l"r_ apartmentdownstairs. h:garage. For quick sale: I Hathlns. Broker. 6 E CentraL Ph $629O Also 2-bedroom with garage I 12 N. . AY.. 1189.I I iBspertMn of tut 4-umt apartment each: balance on convenient terms I Sunday
Lane. living i,'.. with d.or:le and oarage .tab. Lot 75by i I price $14 500 I J-I36. I for $b490 See them A. C. Golden.Broter proorrty A food proposition for Exclusive with LANE BRADTORD ,
attastio steel ra..m.nl ..au... 110. with bow .n 75 by $:.5 .a can l.nle pr d.a fnDbe ORANGE A\E. Just I 1121 N Orlando Are .\.Ia'e I both buyer and seller Price $25000 BROKER-1204 E. CwfomaL Phone 23 BOATS-9 cabins motors and
tile .rtlan blinds ad,, heaters IIS ft. overlooking Only W B I Ofn-Coplte Park 188.Open equipment 35 acres land, Klllaraey -
lk. ly furnished home I 2-0233.
.au $5.: Immei.. DSloD. fo Snd. _ 4 large iace Let us show coo this property and
; ,
ACRE8f Pubing Camp Killarney CIa,
$ with enr.flent: t rwM. A. C 15
- Ce e 730 erms t Brr. i WI.m. R..lr. I iapts. 11.0. Tr. Knu R.1 Estate i| HOUSE 2 acres lsnd.North on lar. trees $3 : vol will be the lodge See Gee T
a.;. Roulston. R.lt. N. Orlando Av*. Wmtr Pal. 188. :i 2 West Washington 8t Phn. 110 Church 8435 I hiwai-441 Opposite 48 State Trailer T Lldorf.b.rll R..ltr.or.Dle phones 2-3. Brass Realty Co 19 E Central Ave
B-6$ '
2-4SM 090l5 1.ld.,. Sundays.1* ,i Park Hannah Alrorn. Lockhar. Fla or .- Ph 2-11SS. I [Continued On Next Face]
I
.
-
Saturday, December 13, 1947_< rittntn jfturnhm 'tttnrl Telephones: 4161 or 3-1681 Paqe 13
- ---- -
-- -
AND VLE STRL Co THE YANKEE WOMAN DOCTOR T YOU WILL SEE J
BUT TREES EE5 NOT YOUR FeOFE55IO4IAL wosoe A I IWILL
NOT
C r HHt5 WHO HOPE TO SET UP HEALTH I THAT SHE DOES ETHEECAL-AW
THEN CAN' ACTUAL iUCPOSE FcOOW THE CESTO*VDU ) I
CENTERS IN THE AVtEECAN /
NOT ACCOMPLISH
TOOK MY PISTOL AND IN 13115 AEA J CCOFE55EEONAL INTO THE SEA IF YOU DO NOT -* \
CONCESSIONS WILL Vi'rlT
HE2 MISSION
:z THREW ME (NTa THE THI5 HOSPITAL HONAIZ EE5TALE aOEC5..A D THI5 /WAN '
c: NALL .. M WILL Wy HERE AS A CEM.N EC 1
=-
E
-
zt
A _
N c
t: w ytC
Ii ? J
porn s
I -
f -
.
." YVE EE Coos. Sk 1PPE IZ 1 ON,GOLLY I Z OCM4'TTHEYE 6af ANYT'H+N11LL 6E
W SPOTTED US. KNOW wWAT TUTS
WILL
po 12 LOOL: SAE CU'-OM 111E DANCE Pa. A.V IMP O EMENT:
I FLOsTC TREY VI EE MEN AMOK
-
. T>iE DAVCECS. ''Co .- _
( n -
!: .1 -
I fC i
:cz l-
>-
1:1: \ T "
II;
... :
i\ /
_
WE DOJT KNOW WHAT STRANGE \, BUT HOW CAN WE. BE SIMPLY BY EXAMINING TA>, R: ; -,1\I5."-
POWERS THIS PILE OF ATOMIC RUB j SURE THAT THE. SPOT ALL AMERICANS MUST PAY TAXES f.' \=
GTE BlSH MAY STILL I POSSESS-SO,WE \ WE DUMP IT IN WILL WE CAN FTJD AN AREA FROM WM CM NO
AT IG MUST DUMP IT IN SOME UNINHAB- UMNHABITED'? TAXES HAVE EVER BEEN REPORTED- 4
WORTHLESS SECTION OF WELL KNOW :THERE ARE MO PEOPLE 4
THE CODUTRY"tl THERE.AUD THERE WELL DUMP
,,, ,,,* =EOMZ THIS DANGEROUSLY UNPREDICTABLE
: KM w.r.. t. y t.R/,' aCt3 dllltta T onv LOAD OF STARK RAVING EWERGY.V
=< ic
:: LI
.r
; 41 (
"
OH,HO! t WOWED YOU MUGS I'M DA \ PLEASE.HAUMEP| All TREES OKAY. JUST tD PROVE '-
TOUCHES1 GUY ON EAT.NOW IM GONNA \ HEAD HEELS MV PEOPLE MY WOTTA SWELL GUY 1AV its
PROVE I'M DA STRONGE1'WATCH ME I] BE5 CUSTOMER. FRENS.EE5 m WAIT'It ANtW .
PICK UP DlS BK5 HUNK WTT ONE |HESS MY FREH'' BAD ON GUY STEPS TKU DABEESNE55.
HAN AN' STAN' MM ON HIS -- -' '
w HEAR/ > DOOR DEN 11L BOUNCE a V '
HIS HEAD ON CM FlOOR ( .
= ; -
Ii.
>- ,
== '
r.u.:
-L'-
I '
c I'' 't < ; t4
: y .-1UST THEN:- x THE DOOR OPENS... DEAD
1 : 4i'HE \ L-C.J SILENCE IN STEPS_BUZ II SAWYER.IlfJItJ I
JUST DISCOVERED =4J- OH IMPORTER OH TH'USUAL- HE IS HAVlN HE.L BE" TAX-EN
THAT ONE OF HIS NEW (GULP> WHATS HIM FLOWN AWAY IN HIS FOR A RIDE OVER
QUICK,SO LOCK yoOE AGENTS WAS AN c.' HE COINS TOCO PAST LONG I
SELF IN YOUR QUARTERS IMPOSTER AND WAS G '. TO TWESTUPID THAT HE KEEPS GUNDERNETHEN SHOALEDCOVER
THE" HEAD'IS HAVING WORKING AS AN Ii IN A NEARBY VAU.MR
ONE OP HIS TANTRUMS UNDERCOVER MAN FOR. aQ FAKER?
AND YOU KNOW WHEN A RIVAL ESPIONAGE - '' _
HE GETS LIKE THAT RING" _-
HELL STOP AT
t.. NOTHING'
.-r..,
OUT'
-
? -- =
:- :C- i
, f
.
-. - "' c---' [I JUST TALKED TO THE AND fl STANDS JUST TRACV IS/ SHOW HIM
SUPERINTENDENT OP THE] 100 FEET FROM THE HERE MR RIGI-IT
MERE ARE MORE PICTURES, PARK DISTRICT ME. BUSIEST BOULEVARD INTNE' CLARK IN
MR CLARK THERE IS NO H KNOWS ABSOLUTELY CfTY.r
,
ABOUT THE )
QUESTION /
*- JNO NOTHING ABOUT IT
1MALEXANDERCOOKIE/
c;... -
.,
a
t- / HE_ TeI
....
w rBLANDIE
-.
Ii
1[, DID i tWELLTHEN I::1llilll!'"! ; ii I=, : :;,Ii
YOU EAT MYSANDWICH ,
> WHICH ONE OF vou ATE ? 'MHO ATE r1L .
MV SANDWICH WHILE
I WAS ON THE TELEPHONE ?) IT ? i'f rI
FOR GOODNESS' i iSAKESNQ
I DIDN'T h I i .
.. 7 DADDY! I i
\ I
-
I DIDNT "
IMs. I' ,
EITHER'
1 '
'
1 >
': J -\ ;
s J l
I IYIELL cn
,...,.,,-
CCQRIEAN- YOU NwHILE 50MEONE'Sc WAS OCC! I-IE'
NEARLY FCCkES ME. SO { TLRNINv TaE KEvN THE ONE WHO GOT )
YOU'?E THE CAM I HAVE TO THIS LOGKI PLUEC-ED A MINIiTt V
TrL4K FOR THE LC CF *1V AGO Tats SEEMS tO
'"' TRIGGER FINGER AND A1Y CALL FOR A SIT CF eREUEF
RIGHT FOOT F y Cl'' PITCHING
Ctj
'
t t
;
= xI
."
I / irr
<< hlt L.j ,
r K_ HAVE ( Ti.is e- I : I5 5, ooTESE. WRAP TW ELSE
E3.Oc5 A."D 2 HA-5 rl.EIS AS A G1 A'
ru xcss ExT lvOhr.S STILL CHEA EST! T SwP
C: Too A1.C.41 SY P..Ga
OJ, jjI FIVE.T5
EACH,3.I ..
I
tf
s .rte
#I
{
1
I
1 !.kr tir+s
,
--
14 Telephones: 4161 or 3-1681 (Jrlnndn morning jyrnttnrl Saturday, December 13, 1947
f OUT OUR WAY
I DROVE BY AND SAW XXI \ NO
SITTING: CTCHlMC A SIGN I WONDER
PAINTER WITH A STICK, / CLIR
: JUST LIKE THIS NO WONBROOMS
j DER dill LOOK UKE A WET I LOOK
RAG OM A HOOK NO / UiCE
VWOMDER. MDO lOOK UKE \ PIANO
A KITTEN BEIKJ& CA.RRVEDI PUSHERS! .
m--- s
K4P:3 -
'1a F 1
\
? l .
) : \1/L R 0
cT isa
11'L HE.cDE1.:: .. ......w v t2-13.-. or .. .rc n a... w
r-I
... -=--- . _. A..w,r (. PrrTlvu P a.1,
HERE'S ONE THEY WON'T PASS! The King and Queen of I Germ Fighter I L'A Iv TC I-I'N MS 12E
Q A O
N V R E 1
Bridge were on hand at the American Contract Bridge League'smeet HORIZONTAL VERTICAL N I T A E H
R! AFL C
in Atlantic City to get their award, the Cavendish Trophy, 1,6 Pictured 1 Diving birds 5 E N OGQOUOIO Q A
from William E. McKenney, NEA bridge editor. The pair, medical scientist 2 Trying Q E' E S A NAQ( o E o
Charles Goren, Philadelphia, and Mrs. Herbert G. Ansin, 13 Decorated 3 Distinct experience part A O Iz s E rt APE N N I u
4 John (Gaelic 1 tE s 1 s DEr
Boston, won the world mixed pairs championship. 15 Thankless )
E A E ?E
person 5 Street (ab.) s N'H
18 Norse god 6 Heap
OUR BOARDING HOUSE 17 Fodder vat 7 Wild ox 22 He contributed 42 Imp
19 Italian city 8 Solicitor greatly to 44 And
20 Seine general (ab) science
EGAD BANKER B OWN! f' A RESUMING FliJAMClA.U TNtS 15 A 21 River 9 Town (Corn- 25 Smells 46 Gaelic
RELATIONS WITH YOUR DEPOSITARY- -INE A 6LOW TO 23 Lamprey ish prefix) 27 Righteous 47 Row
CHECK HERE FOR*lOOO, A5 A.STARTEC/- LATER, THE BOOK- 24 Symbol for 10 Facility 48 Part of "be"samarium
WHEN FACTOR'i DIVIDENDS POUR lt\T EXPECT KEEPERS-- 11 Says 30 Girl's name 49 Devotee .
TO HAVE THE , HERE COMES 25 On time (ab.) 12 Staggers 32 Born 50 Snow vehicle
CASH DELN- A FIOOD OF 26 Type measure 14 East (Fr.) 35 Epic 52 Lion .
EREO BY Z SEE, MA302 FIFTYCENTTRUCK 28 Rupees (ab) 18 Symbol for 37 Essential 54 Constellation
ARMOREDDOtMG S AND LR TNET / CHECKS! 29 Italian resort indium character 56 Near
-- "O / 31 Puts on 21 Raged 38.Robins 58 Oleum (ab.'S
}{p f MQN 7ELLt=R -- 6Y THE TEL 33 Neither
1 .t4 .
't
1 it 10 I t
WAy,Dt0 You EVER Anger
134
',; CCNER TKAT 4t-CENT -
,135 Injury 11 .ot 15
'36 French city _
138 Exist 'II. 1 f 1'1
139 Symbol for .
I selenium40Monndm 0 ,5 L z. 7: 3
dye. r is U. 11 ":1. l'
:,41 Paid notice Y.r.2 :1;,
)43 War god 21 30 t 11 n.
;,45 Itemize : '
'Sainte ab 3S '
( ) M
51 Rotate i i14
:Margins 1
154 Astringent J\ J\ ;
io4o "I .ljL
mineral salt !,''- ),
(r3;
i I .q :' 54
r-
IthleatJ : germ theory
>
,. '57 of Bullfighter- 55 = = = S. = -E i' : = = :
6U61MESS=- 59 Child's vehicle 51 .v
60 Loaded i'
=- .
rr a K. BUT OONT DON'T r- AHO SO WIMT HAS TO HAVE DEEM DIXIES HONEYMOON _
TRY TO GET WORRYIAWAYI
YOUR ROOM GO WAY! BUT I'MM HAVE WOULDNT-
THE PLACE EVEN $ YOU
S3AOYi JUDe HEAVIL'Y DIDN'T-YAWN)
GUARDED N17E.-
L. 'I
1
C
W
rtl
tl tlu I !
,..,
-
I WANT TO MAKER A )UU NEVER CO I PC3NT KNOW I
SOMETHING YOU WANT. SHOTGUN.WHAT HUNTING WHAT PO VOU \ WA6 JUST TRYING
6KEEZ1X. I AM HAVING A I OH, JUST GIVE
I PO YOU WANT? ANT WITH A SHOTGUN1? TO BE HELPHX.
HAH? TIME THINKING OP ME ANYTHING,
SOMETHING FOR YOU NINA! -
FCZ FiRSTLIAS.P .
o
W
...
..
<
a -
rJ sAND
g 9 f
< l
C
r
OUR POOR \ YEAH! UXK J"B*QO-] THE POOR AND WECK I HEY I THOSE MEN
8R Q R-BUT WHO'D DO HM't1-THE M J E1 R tSA FIENDS REALIZE J NOT EVEN Sf1JTTtr1'TW[ REALIZE THAT ALWAYS I THEY'VE SET FIRE "
TERREt E THING THE ONE LEAST SUWECTEUKE THSTLDOK! / DOORS o'Trt'SHACKSCOTTOSWV THEY ARE THE FIRST I TO ONE Of THJPU6UC
M jc DE1 iM'Poop 1 DARE SAY -BJT .fl4 r BACK"OP'E1"Izi3 V\CTM'S WI EH 1 SHACKS1WRATH
OLD MRS, ulna? WIu. MAKE IJTTLEoiFFE32or t AAOlJSSPage )-
+cE TC1 1 E PLULE.z .
t -L-I --
d = I I
c c rye,
NIHH1 i.
.
t (
-.- .=
P / 1
a Yll/YI I\\\\
.E.. T
--
;- -
Jill AEX AGGIE L TOLD IM HEX AGGiE, HV geOT?K PUOK{( ?
1 ccu.p, r COME A FA5.T OtiE BROIfC 1 TeE:
VOML ANP PO K.W ) Opt Q Oti ACCOtth'1 OFI faPS O'E2 70 tRY liOlaSf
L L 5'T-, / ti 4 J tO STAY ROME.
r\
a 1I
1 l COQ
r l
L
i.
y
,
; from Preceding Pate 164.I Help AVantrd-Female I'70. Work Wanted-Male Mister Breger 76. TraUeri Track for Sale 78.. TraUeri, Truck for Sale I
rlanbn &
60. Business OpportunitiesTAVERN BLOCK Lya Avtiiiai: : 133 .. TRAILCR-Ustlonsl; sleep 4: satri { rntnt '
BEAUTICIAN Casselbcrry Beauty . Ar. A. Carolina Ct fire MOO; H. Diuiosima, Carolina WILL SACRIFICE un "94" fystam, DEC
Shop Completely equipped Phone D F. Po.el afur I 30 r m. 1 Moon lot 80i fully equipped. Also UU Deaot 13.19-7 15
WITH BAR -OR ILL-Mod-
No
Winter Park reasonable offer refused wisp-
era concrete block' construction. Dltr 2-222. BLOC LaYING or buIld oa toni plus i TRAILERA-Sqe tno new "Goshen" Hi kennel. Forest City Rd 4. SAVE
modern Uvlni quarters. Nearly i I, evening 21014.CARPENTRYFramIng. 1 tandem with plastic: sides. Also Na- of Apopka Highway. mie'I
3a acre bordtrtnt on Uki. Ideal for : BLAUTICIAN-Experlenc.d, with followina. tlooal Liberty "M" systemat I ole
IItre.mlt
Tourist eottasea. 30 oranse tree. i Phone a-3306. block Young a .Orange Bios- !' WEEK-END SPEC on Zimmer.COMPLETE .
Property nicely landscaped. This Un I j I painting: any kind of repair : som Trail at Amelia. Phone i iTRAHJER8 Palate . trailera. 5 HOURDRY
3-03.
,
outstandin business location just C0OKHOIJSIKEEPIR.Experienced i 1 110 Portland between 5 and I. -Please these Prank Reed Trailer sales. 201 N.OraseeSiossom .
B mile North on Hllh..., 441. Forfurther I only, full tlm*. live in or out. good i compare
law prices
CARPENTER wanted beslightly with similar toed used I 1.1
salary ether help. re- WOR
ter" C.rt.r.Information 3-11522.call.r.mer.oa A. T. BusCarted. .04 .ulr.d. P. 0 Box 311.Refer..ce Winter P.rk. .tr.n ContactH I tr.I.. anywhere Don't pay aver $60 $$100 to $300$
S Eggleston. Palm Tr.le Park. per foot We have them as low CLEANING
Mam.TOURIST I
Realtors 13 a.
J COUPLE WANTED AcU. expert- I ,I 125 PN fot. Sult. 20' 495:
.. work; new .
COURT furnished house enced. p.r.nent 1. \0 car. for CONTC&W.nu ,Tr.nle 9975: SI'.
1 .ro..nd. Woman |I ; no job toosmall i Vagabond 22' S1.475: a dosen 112.
for owner. S ether furnished houses wth I
also painting-Interior. exterl-
to cook and car house. Staterationality ; Good. clean used trailers cheap-
hav 11 rental units for tourutt. are
Plenty room for expansion. 600 ft. 1 ate and .aperl.nc in :I: or. Writ Cb.rl.R.lIIe. Z.U.oo.I 'P. Wln..rt 3330 8. Orange 11.01 Paint Job SERVICEPECK'S Fine Selection-Late Mode
hlfhway fronts(.. Only S23.500 first letter. Must have good refer- let .I Tn I.
terms. A. C Oolden. Broker. Branch ence. G salary and bom Box I 1 DEPENDABLE Energetic young j TRAILER--46: Curtis WrIght aluml-
17-92. 3l, mat north of underpass. 119 I man. age 18. desires good perma- !i num bottle ta heat SI SCO. Ph Automobiles
Bent year round outside work preferably Winter Park 2-2H21
wanted at Tramor
FOR large BUSINESS or small call OPPORTUNITIES.T. M. Harper I COUNTJR Cafetel..GIRLS Inlerestlnc and easy 'school fruit graduate farm references or dairy farm given: hlzb '; TRAILER-ZlmmerT 21. 27 and_ 30-fT. $25I Station Wag'rs,
with Asher Peter. Realtor. 12 8. Main; work. & . not necessary. II up ( Frank Reed Trailer Sales 301 N.
a-078fi. you art cOllrtou. and willing apply I on request. Bex 288 1-8t.r' ,: Orange Blossom Tr.l. I 1
I today. ELECTRIC AND ACETYLENE welding TRAILERS-New and used "Amencan QUALITY :r.k
EXCELLENT LOCATION for tr.U.rc.mp. I I I Any Car or Small Truck I CLEANERS I
GIRL to work Office and : can weld anything; desire permanent "Liberty." "Trout-
cai station stores. Plot 2501830. I 1 telephone .. enlna.. to Tooley- Job: reliable and sober: Willie wood" and 'Southern"lndln.Bell. Bonded Super Deluxe Jobs. SfiO Up 813 East Washington 1911 CHEVROLET ?- :
For. 672 details N. Oran.I-4I we Richard;_ Kasaros.Realtor. . Myron Studios. 208 N. Orange.- B. Kitchens.'O '. Fla. dealer for Coleman bottle gas equipment. Accessories .- Small dents or big wrecks -- -- - - Clean. s/
-- FOUNTAIN GIRL-Experience necessary EXPERT ROOFER-In or out of town and "PreW.y..ton
IN A PARTLY COLORED netibbor- apply Alberta Drug corner paildollies: awnings: ..teAnkn.y rtde like new againSTIVERS 1910 LASALLE T" c:
: work must have skilled wages. 1303 f
building hood ..e attached have a suitable II-room home for .oee-with I of_ d..rond_ Priaceton.HOUSEKEEPER ._ __ Catherine St_ _ _ _ I 50'Tral.r Phone Sales. 5(0 2-2505 N. Or.na.Blo I I, dan. s '
r, or restaurant $8500 Easily; financed. ': 2 J WAND.to Live care for in.Room. ': MAN OF INTEGRITY desires position 1I 1\\ T" RTh-I.t..t- an aln- 1936 FORD Pha :, -:."
Speak to Spierel WhitneySpieged rhldr.n. in first class dining room restaurant i I I sleeps 1
2421 8.
and .l.r
Realty Co.. Realtort. 708Metcalt or food store. Experienced in U I -1 4. oil burner Butane gas..Dnn. DO YOU KNOW
Bid* 2-3269. i I Kuhl.I _Fern JRestaurant._after 1 p private party arrangements. Box 265 r 'hrouoh-out used 3 weeks Bargain 62 1941 ODE f1". .;.
I MAII.e in; cooking general S-Star. \ ( See at Balmers Gas Station. ? I II I 0. .
AVAILABLE for distributorof : I
OPENING \
family.
4 hous.work : children in I miles west of Winter Garden onRI 1
internationally famous line of Ph 827PRACICAL _ RESTAURANT WORI-ounl.r manor .. 19J1 CHEVROLET S. ra
quality carbonated beverases in Or- I grill: 30 Box 5 = f
anus and SemInole Counties. NURSE-Middle "d 29. S-Star. _ _ _ tJROENFALE27 ft. LaSalle trailer i < :
and drive for .
car Fully furnished. .
Must be .0141wihin !
Man familiar with soft drink tradeIn t 1938 OLDSMOBH
man. Call 2-3293 from 10 to 5 Experienced \ A'1tI 3 o
and around Orlando preferredbut pi.I SALESMAN WI CAR- \ days. Inspect and make of- f
not required. I WAIRES WANTEDThrEX- ..m... to buildIng LWs1. f.r Awning new dolly new AssocatedStoe Coupe. Clean s- :
exceptionally toed opportunity for I supply hardware d..ler. etc InI 2 __ Butane ".tank ch.ts all tr'1 LOW
the right m.n. Dlrtrlbutor far- ply Green Tree. 371 N. Orange. I Fla Desires position. Can sf-11 I anything i c-'t- \ V I 1 Ph -/;
nlsh his own truck. Address Boo I time: !! What do you want sold "We insist another he this
WAITESFul of-Sundas on waiter- opens our cham- DsBUTIn you see new 1947 STUDEBAKER
268 3-Star : Box 297 8-Star- _ _ _ ; Special sleeps
CLARK F. BRtAN. Business Opportunities. WHITE WOMAN-Between 30-40 -to MN-.lb-l4 14 ton ...t truck I pagne so QUIET nobody in the place can hear it!" I 4 electric brakes- 8-ply truck tu.s''
Registered Real EotsisBroker. I learn short order cooking: good 1510 Ave., I - with truck wheels immediate d.I..r Transportation
118' E. Central. Ph. 20237. hours working conditions. Box 286 Rt 36._Box 99-B._ _ _ _ I I 75. Used Autos for Sale [ pd Autos for Sale I priced Park to sell Lot 16 Carol ,' I Champion
Established 1927. I B6tar. BUILDER AND ::3 man. 1313 175. [ I.r
YOUNG LADY for slcn card machine. '. 36st St. phone r W T. York. I I! CHEVROLET-1939 deluxe town ..- NASH-'41: 4 door sedan new TWO-WHEEL TRAILER for sale: '47
Must have high .chol education.Goid FIRST CLASS : contractor i dan Dent fall to see ths one motor good rubbr A-I 194. tat I SR Sn7d.r' S.or. Lockhart.Sewing : I
12,850 CASH-! starting salary. Off at U 30 by the PAINRBy telephone Felix Wlnn. Standard Mot or r. Orange clean Price (S9S b seen Monday If you are looking for Can MakeImmediate Sedan. Like
Sat. Please apply In own handwritIng. -i I 2-7662. !i' Blo" Tr.1 at Washington. Ph after 9am at Standard Oil good low priced transportation -
This Is all that Is required down to Box 280 S-6tar. 'I 3-1793. service station corner So. Orange Machine
buy this very busy restaurant, fully 111. Airplane Sales and Service CHEVROLET-1947 1103 I j sndSoulh_ 81 _____ ___ then see these cars : . i Delivery
equipped beer and wine license. stock I connrlbl. I
fixtures equipment .11 included. Good : TWIN ENGINE rating on Grumman I actual miles. R.do. OLDSMOBILE-1939. 4 i door sedan Operators they are probably wht you new. See this
ACHIEVE ADVANCEMENT with the .
blue. Right Jernigan i Mechanically 0 K. good have At
rubber. been
lease with additional Html quarters Widgeon land sea and Instruments. I looking | Regular FactoryList
Total only Telephone Company pay 1 Aviation UsedCsrs. 600 W. Central Ph. 3-1946. radio. By original owner. 850. Pb. KXPERIKXCKD
U needed. Close-in. price i Veteran's
I Increases liberal c.4U. vaca- t.lnln. Orl.nde
Winter Park .
S4.750.: This ls a marvelous opportunity -I tioou with pay make oper- 1 Country ., Winter Park_ 863._ I CADILLAC-1942. 4 door maroon 276-M. __ Steady work good pay. 5-day meek 1939 MERCURY 4 door sedan. one.
for fin continued income information I .Une .n Interesting and p.rm.n.ntlur. VETERANS FLIGHT TRAINING for spotless sedan executive driven. OLDSMOBILE19U 4-door. Maroon Congenial SurroundingsBus Pries
in offIce onl,. Ask for Ray '. High School education requir private. commercial. instructormultiengine $2175., _$700_ down. Box _305 S-Star._ rubbr. -very nice. 1/3 I leaves Union Station at 7:15: Good mechanicalcondition. I (IKo extra char '- !
Lennon. I .. limit 18 to 35. Apply Employment ratings. On-the-Job me- down 15 months Jim Jernl 4 M door ..
Office. 8 30 to 12 noon or 1 to rhanlc training. Ryan Field. Apopka. CHEVROLET-35: clean: two new gas Used C.r. 60O W. Ph EI".I S6 On 1947 CHEVROLET
KEWUAN-HAROIS.: INC.. Realtors I 4 30 p m.. wall St. Entrance. Southern Flaj tires. good transportation: S175: 3-1946. j in 10 CHEVROLET
29 W. W ashinf ton. 8881 6638. P. J Tuck. Old..nrod Rd Ph. 1208-W SUNNYTOWNSEWING
B.1 Tel T.1 I Winter P. O. Box 13 Rt. 1, i ji PONTIAC-1941. tudor sedan. DeLuxe 2 door sedan.
j 72. Autos-Trucks for RentD i Maitland. Can b. seen Saturday afternoon I I Wlnn. Standard Motors. F11 S793
and Sunday.I I)iBID.'oro Washington. Ph. CASSELBERRY FLA. ELECTRIC DELUXE Station
I HAVE SEVERAL Sood restaurantsIn VARNER U-DRIVE-IT-Drive It I 3-1793. Tr.1 a 19.13 WILLYS 4 door Wagon. -
e".IIeD' locations that can be Help Wanted-Male I yourself: low rates: by mile or day.D. i CHEVROLET '37: 4-door. clean i I 1------- -- sean REFRIGERATORS
165. .
..
purchased from less than 15000 to Vene U-Drive-It. Inc. 234 W good condition See 1I PLYMOUTH-i94l. 4-door special de- '
(30.000. If you ar. interested in I ATTENDANT for service station Ap- Central Ave Phone 2-3153. butcherat417 W. throuthou.. I luxe. Motor rebuilt new tires, very 1941 HUDSON 4 door sedan 7 SizeELECTRIC Like
real money m.kera-tbe listinis are I ply at Shell Service Station. Winter HERTZ-DRIV-UR-SELF SYSTEM sedan. Clean 1'rl..n Privately owned (975. 4353CheneHighway. new.
here In my office. Some are exclusiveand Park and for rent CAILLAC-42 upstairs I in rear. $395
Trucks
passenger cars Martina Used _ RANGES
fore. have Clyde never UcKensie.been Broker.advertised 104 be-W. AMBITIOUS YOUNG MAN-Perma- by hour. day or week Low rates, 375N Cars. 777 N. Orange. 84O9. PLYMOUTH 1940 business coupe I 50 CARS 1937 FORD 4 door sedan
Central Ave.. :'.!''. I I nent r.Sd.n, for conn.ctoD G.with L Or.n. phone 2-064. CADLC--191 "62"'4-door sedan. i Good buy at (895 See at City H.I $395 ELECTRIC HOT WATER See this one.
--- National finance 47
JI CUMBE O-DRIVE IT .. tires and puncture SfiviceStation 251 S .. 1938 CHEVROLET 2 door
O.n"
BU8UfIS8-WIU: sacrificedue experience -
A GOINO training program col..cton and trucks By day. I HEATERS
to health; food profits low Investment. h.lpful car .c..ry; salary week or month Competitive rates. : proof tubes distributor and fuel PLMounf-1938 coup. body and sedan. .. $695 i 1 1941 BUICK Special Sedan.i .
pump rebuilt all new wiring, new i Tires are
._2719_ -N. Orange_Ave. S20O good mo opportunity. liberal for car. ..10..nc.; 904 NOrange dial 2-4521- battery muffler and exhaust pipe.Price new Original paint Take up pay- AT ONCE 1939 FORD 2 door sedan 'i Beautiful.
EARN $200 PER WEEK SalaryMcLean -I' i|I oiiN'S U-DRIVE I INC -New carsI $2100 Phone 2-114. I I m entan d (300 cash. Ed Strickland ELECTRIC MIXERS
Trucking Company. Inc. Win- Box 291 BSta._ _ _ I I orres t by d., week or month 3000 Kuhl Ave : WANTE S695 1JM1 CHEVROLET 5-pacsen-
ston-Salem. N.' C. offers young men j jan : ACCOUNTANT College graduate No red tape. 2 locations. 242 N CHEVROLET '34 2-door sedan. 87 MODEL-A FORD 2 door New
Coupe. motor
PLYMOUTH 42 FROZEN
4-door i
opportunity to to into business for I with accounting major or equiva1 Orange. Ph. 2-4814. and 142 N.Garl.nd Runs perfect. Good solid transportation -I 1 &.!: STORAGE ger
Best bargain In town for JIMMY
1 time, $195 Jack Martins Used Cars : sedan. S295
themselves. We sell you a 1948 Model lent experience. Full responsi- Ph 2-4347- I j I UNITS sirs
Jack Martin's
L. J. Mack Diesel or 1948 Model C90 I ble. pem.n.ot poIton. 10. 300 ,' I 777_N. Orange._ 8409.___ I 1 .. 8409PLYMOUTH19.0 Used Cars. 777 N. Oraye 1936 PLYMOUTH 4 door 1941 CHEVROLET SedanS1U5
Autocar: Diesel Tractor We me yon ., 8-Star. _ _ j 73. Auto Service 4-door sedan: RELIABLE MOTORS
I' CHEVROLT-1935. 2-door Rcw sedan. $250
a three year lease contract. Earning OR CLERK excellent I tr.s..x..U..nt ELECTRIC VACUUM
sufficient to pay for truck in three BKKEEPER Keep gasoline inventory AUTO BRAKE JOBS and ..h.1 at 1409 CdlI''r.. Can be seen |i condition ProfIt .tb 212 S. Orange Blossom Trai 1933 PLYMOUTH 4 door '1941 PONTIAC Club .
Prophitt's" Used Can 500 W. Cen-I CLEANERS :
years not including ..Iar, Trucks records etc. Opportunity to ad alignment 1-day service. Wheels -- -- -- I i I
sold to owner-operators only tallitet.) vance. Single. State age. experience h.l.nr.1 while you wait. C. A. CHRYSLER SEDAN-1937 factory r.. traLPLYMOUTH I Phone seda n. $495- Clean. .P
Down payment of S25OO required. Apply salary five reer.nce. Auditor. W P.n" Sons. 1010 W Church built motor $v>0 Sc. at 595 W.Church '414-door sedan I, 3.28 : 1937 OLDSMOBILE 4 door ELECTRIC HEATERS
'
to: McLean Trucking Company.. J. Howey :. Bo..n-'D-tbe ALIGN MEN Free inspection. Call. 9438_ __ good tires body end motor. All i I sedan. S495
Inc Wlnston-Salem. North Carolina.A 1 Hills. Fla_ _ _ _ ____ Prompt repairs by expert mechanics CHEVROLET 1937 2-door Clean. .Ir. Bay It for (42O down. Joel 1947 FORD Tudor
REAL IIARGAL"SyOWNERA BOOKKEEPER-Living In region of A one-stop service at G- good transportation.- "Profit withProphilts' t ursnt 299 Kuhl _ _ ,I I II 1936 FORD V-S- lI i ton i
fully equipped modern restaurant I Mt. Dora. Zellwood. or Tavares. to years Service. 300 N Orange Used 500 W. C.ntral PLYMOUTH -: 41 rUb coupe; new truck. Good condition
doing a nice business. In Florida's handle books for groves and small C.n I paint. brand new .. new
I.rf uphols
BRAKES supply all
fastest stowing city in the citrus !I packing bouse. Address Box 36. Lake your REPAIEDW. tires gas ,I ten,. motor good A special at $350 I "HOME S495 COME IN Super. l Like i
o..ds.
belt. Regular dinners short orders Jeai. Fla and oil Dixie Sales and Service W.South CHEVROLET-Sedan. Really clean down See a Joel III Restaurant, I MODEL-A FORD pick NOW|
sandwiches, beer. Uptown. Two modern 2998 Kuhl AcePLYMOUTH
bedrooms fully equipped with :kuMust b eperl..ncd. Apply at Boone St.BDYDFNDER. _ _ _ Hog klln' good motor. Lk and FOKS" up. $295
drives Also !>.
at 246 -- Exceptionallygood i
nl. (
private bath Hot water, su heaters.Entire _ Curcb. .ep.I.ID and 'J R. "Homefolks" Smith new locaticn. 194 I I MODEL-A Ford 1 See
ofler. ( for quick sale. ton this
: for Convenient
building paneled In old hickory BOYS-White. 1-to-l years Payment Plan t new.
New
0:4 333 N. Location
colored ply wood. One section i Morning Satisfaction .1..nt..d. D.' Van.r. M.I. 1831Edl..1.Dr v! _ _ I i truck. $195 I
renting for $480 per year. Restaurant I I ply Mr. Wolfe. Circulation Dept 234 W. Central Ave. Phone 2-3153. CADILLAC 1947 Convertible coup PLYMOUTH 1940. Good 1939 '
renting for $1200 per year. A wonderful | Sentinetoffice. afternoons 3 toS pin Hydramatlc. radio. etc. I.s car. new motor. S795 2'5klr I PLYMOUTH Coupe. SEE ASSOCIATED '
opportunity for one or two BOY-16 or ov'.. helper" blue 74. Autos-Traier Wanted than 300 milesPearl ...exterior Brown-Street- phone 2-3901. I . $795 one.
couples. As an Investment a bargain j _print shop 139_E _Church. I II with leather upholstery white STUDEBAKER---4-Champion 4- Why did the hen cross the road MODEL-A FORD Panel BEFORE BUYING YOUR I
Land. building equipment a giveaway 1 side wall tires. Will sell outright or door. .. State. S1295. !
I I ELECTRIC
for quick sale price $9500. Call COOK for tugboat Salary S16S per AUTOS WASTED-IT1 BUT that car! trade. R S. Evans phone 4321 or Special at this price Jack Martins Wen. she heard there was a man truck. New tag. good APPLIANCE "
88-744 Auburndale. Fla _ _ I I O.Box_month.22.board Enterprise.and room.Fla.I .Apply P. Felix Wlnn. Standard Motors Orange 4771.; ;|I Used Cars.' 777 N Orange: 8403 ,:ajln bricks on the other side. and condition .h . 5395 1946 NASH 600"Sedan.
HERE ISAREALmanu making Top- Blossom Trail at Washington. CHRYSLER Windsor sedan: 1941-7 club I tAT she m..nt.d0 see.
and I CARPENTER sl.. and 3-1793. passenger excellent condition me- : SUOE8 KER-1941-C.mpf .
business: beer. wine gas I bonus to right party. Also experlenred | ; LOWEST PRICES
small grocery on highway to the I i chanically. For sale cheap. City Cab radio etc Very economical Cleanest
Pine Castle new air field: stock furniture m.sn. Ph. 7601. AUTOS WANTED Any make any Co 243 8. Orange Ave. i one In town and only 1095. R- s'I'I Have 2 I.t model panel truck One PINE ST. MOTORS ; Today's -
and living quarters. Can be COUPLE WANTED Actv..expert- moiel. any year. Name your price. DODGE-1946 half-ton pickup. This Evans_phone _43J1 or_4171. I I I 1938 Ford Sedan d.Uwe. Priced .
permanent. M. for 1 We it. K. and W. Motors EASIEST TERMSIN
Inquire ence. pay eor.
bought at amazingly low price: >
truck runs and looks good as STUDFBAKER 1918 sedan Commander from .
S35O to "9$
and help with house. Womanto a
grounds Garland and Amelia. 2-0529.
1 mile south Pine Castle. Bergen's .
Felix Wlnn. Motors. .
Standard
flea clean radio heater.
I cook and for house. StatenationalIty. very 135V.. PINE ST.HELP .
Filling Station. age care and in :i AUTOS WANTED-'48 models needed. Orange Blossom Trail at Washington.Ph. coed tires: 1400 4353 Cheney Highwar. I TOWNASSOCIATED special.
TOUR MONEY6SC6 this season witha I first letter. Must have ..xpri.nc I We pay up to S5.OOO for right car. 3-1793 upstairs 1 f.r. I alwa,. hats lots of low priced
-
service station and restaurant. I salary and home. re.r.nc.G 10 B|i Jack M..tn'. .. Used Cans 777 N.Orange. - II I THEBEST- Fords, Plymouth and :
Belling on account of Illness. ContactHolly + I .... UO-ulueo.-ttb- Ceool.ts --
i - : new
$$1495
flu Service Station. Davenport AUTOS WANTED Will ,-highest Coupes and Sedans-from 1165 to
CARPENTER or good FORDS-V-S's. Model A's from 1929to r.dl.tor. new br.ke. En.ln. In cxcelient I I
r!.. .pprentce.C.1 cash price for Inc 5395.
your car 1938
Oln' condition : STORE
3-158$ II m.DIHWASHEaWAEAppIY Coups sd.n. PlrUPLS'omp Pont.c r.n..rUbl.
WILL SACRIFICE my business gas. ater I 142 N. Garland 2-.34 or : Or- down lo.ton. leather upholster lined top.
oil. groceries meats for quick. sale at .n... 281.UTWAI" It I rant tell you rlcht I tl Yep. its a bit old. 1934 model but I 143 N. Orange :
at below replacement cost. Write Box : N'I|j Any-make. any you wrong. From M85 $395. for operation you cant beat I for a i
303 8-Star.: _ Mills I In Colonlaltown.MAN |! .h quicker. Wk11)1 R"Homefolks' Smith 333 N. Main. much higher price fan be oren at <; TRUCKS
I HAVI: A BUSINESS that a coupleor for et.t shddr,. cleaning Motors. 751 N. Mills: 22174.D. 754 Wilkinson Ave Fhone 2-25R1 '
family of 3 or 4 could certainly I route .. 1310 VARNER.lnc wants to buy your WILLYS EEDAN"39 4 dor. model R. (Home Folks)
handle profitably and does not require -I. Edl..te Drive.- .ut or truck and will pay top FORDMode A Very good condition. 48. in : new paint. J We are anxious to eut
more than $55OO cash. Present )&ILKERB-Men experienced-:' prices Immediately. D. Varner. Inc 6-16 tIre 1510 Oregon Ave. S450. postcard to O. Jackson Jr Kmsimmee inventory dnw our 1941 CHEVROLET Canopy
the end
by of the
owner is making money and the field chine milking. References necessary. Stu Sales and Service. 234 W FORD- for me to brine it to TOO for I I year
-t for expansion Is unlimited On account Apply In person. T. O. Lee Dam. .b.kr Phone 2-3153. <, luxe. i9noa.n.upri: Inspection.CONVENIENTLY. SMITH I . "o if )'ou'l help us. ..' help $CD5
of sickness owner has to re information you bv you some of the SIX 1947 G.M.C. .
INC. 1H tontake..
tire. Dial 3-1622. A T Carter Jamerson FnYMOTOR .I : LATi.tIn. best USED CARS in town at
car the FORD 1940 : new paint ra- ternm-tton of This is
12 S Malm like
and Caner .d.D one new
JRealtors. PLUMBERS-TOD ".I.r. plenty of dollar. S ecssa t ZOO W. Central or dlo. heater good mechanical condition Ki' lmm... Pta a well stocked sued I
WOULD YOU USE to osa your own work open shop. LIbbY & Freeman. Phone 5418FRANK ,, : reasonable 212 S car lot. 1937 to 1947 models Our I i $1C55
333 North Main
business? Groc.ry. frozen stard. 711 W. Church REED really knows-how to Orange Blossom Trail.se.t prices are reasonable. our terms i are BARGAIN PRICES! 1935 PLYMOUTH Pick-T'p.
Venetian blinds. r.st.urant. re.dy-to- "
regular 1 3 18
down on all mnd'ls.
the high dollar for :
get your ear
we.r. gift .bop drug .tor. trailer or equity. in five minutes. Why FORD-.1934.New coupe. A-I condition. and 24 months to par Come see I I UNUSUAL $:':;
metal
comm.rcl'llIuUdlD4J. C.s |! top. and two
upholstery
p.rk. hotel.. See.p.rtm.nt.us for 7 ourchoice. Investments WOOL PRESSER WANTED-Only experlenced give 'em Give us a chance. I tone paint Cheap 1440 W. Church. us W* will tr.d. nr ..1 .tr.Ih 1937 1941 FORD l i-ton sTzkPNew
need apply. New YorkCleaners 20lNOrsngeSlossom Tr.. 7883. T P Baker Motor Co. CHEVROLET Coup Radio
from *15OO to $1.000.000.Oeorgta 22 W. Pine ; I FORD '48 tudor sedan cream I I and heater excellent rnechanical motor. $15305
von Schiller. Realtor. 7186.Wfl.I. &H.tes. St I color. Less than 200 miles: radio. PROFESSIONAL RACER.- Telephone I .
START young m... with .sales tuna I UGH WEIGHT. car or truck wanted heater '48 tag. Bargain. $2195. Jack ninis Winter Park 469. ....kda ..YI I QUALITY CARS some body con.ton. Needs t 395 I' ,
for lot Orlando I 1
ability and good car in profitable near Martins Used Cars 777 N. Orange: !
City limIts. KInney. Rt. Box 279 I 1937 CHEVROLET 4 door sedan.This 1946 DODGE E Su
business No capital required for reliable : 8409. ____ | 7b. 47 CADILLAC "62" Coupe. Has
WELL DRILLER-First class fully Orl.ndo.R _ _ Trailers. Trucks for Sale everything one will need some motor VALUES
party Call Mr Nathan at FORD 40 Convertible and almost
experienced Fla. formation. Good coupe. new. I 'rk. so were selling it
Ban Juan Hotel Mon. or Tues Dee. in i j[ 8. EVANS. 'WonidoLangest Auto for FUly.QIIPpd. I
I CHEVROLET I94V I' Stake I'
hours top pay. Libby & Freeman. SI.1 Xm. ton cheap f 295
15th and 16th between Ham. and Dealer is only Interested In buyIng Cars. 777 N. Or- 44 PACKARD Super Sedan. Overdrive
body. Rood condition Private
( 7pm. 'l W. Church the finest. Will purchase any 1 .: M.tn'l. Usd Ph 8t Cloud. Fla B1.i ro..n.d radio end heater. j 1942 CHEVROLET Spl.1 DeLuxe ,. burban. A
- I /
year make model and Coupe. car in
or pay an onI I Cub
1 (llan
FURTHER SEARCH IS A WASTE of believable price on the spot. Call FORD '48 convertible. Less than i i CASE TRACTOR and Dlc-CP.i 4 PACKA 6 Sedan. Very low I mechanical condition.
time If y ouwantabus 10cm withS for 4321 4771. 25 mie. Santa Claus should take i See at Pharr's J Good tires. A
YOUNG MAN TO run copy I or bargain at $1295
WHO
and apartments meat'market above combined.Grocery All store new I Radio station Call Mr. . I this Cars. 777 N$2395.Orange.Jack 8409 Martin'sUsed i, c onsac Rd : Ph -4930I 41 CEVROLE Special Del. Sedan. 1947 CHEVROLET Fleetmaster beautiful utility -
equipment furniture and building I 9900. Please don't apply unless ableto HOUSE TRAILER W.ntd- 10 I CHEVROLET TRUCK-'46. excellent Cub Cop. An almost new 1946 OLDSMOBILE "76"
Location Is good and Improving rap- !. full time. _ _ _ on large .nd .m.l home. .. and FRDIIJI surd.hix..d.n good I condition: private .. price 4 PONTIAC Club Coupe. Radio. b proud t own I
Idly. Price $25 000. plus Inventory -O For storeroom .work by Mor- about Orlando. 3330 8. a Motors. SI '!7S Phone 2-214; I II heater low mileage. $2295 4 door sedan. Original -
Stock. See Oeo P Brass Realty Co.. I rison's- Cafeteria. Age 25 to 35. Must Oranga Blossom Trail after I p.m. Orange Blossom Trail at Wash- pick-up: a rood : ,' :1947 CHEVROLET rWetliine Sport
19 X. CentraL Ph. 2-3155. I have high school education or equiva only. 'inaton. 3-1793 _ _ _ _ _ I 00E31 to any test. $!>2$.. 4 OLDSMOBILE .5'.,. Sedan. Perfect 4 door sedan. Almost new. finish like new. wagon.
lent. Must be ..lnl worker Apply WANT 100 CARS-Any price, any !i rR-D '47 Club coupe. Less than W. Church. _ _ _ _ | In every Beautiful maroon car completely Will give approximately -
61. Bank Loans :Services; Mr. Holcomb. I I make or model. Phone for I mU. Beautiful color Take this; | '' Sedan. Very
buyer or I DODGE TRUCK-1941 I ton: '\ 4 CADIAC13 luip. B ow
yr
EXCELNT OPPORTUNITY for 4 drive in. Stivers Pont.c 62 W. Colonlal one home for Xmas S2195 Jack wheels. rood tire.. overload > owner c.r. Santa the same See this one.
FIRST NATIONAL BANK Deposits are :
I .. 18 to 22. To assist sales'manager Phone 2-230. M.rtD. Used C.r. 777 N. Orange. tprinzs. Aso.b.1! medal framrtrailer 1 1941 FORD 4 door sedan. '
Insured Corporation by Federal with Deposit 15,000 Insurance in circulation work. Must befree GET CASH-IN 5 MINUTES Anymake + _ _ _ __ Make offer. Jimmy 1st*11 41 OLDSMOBILE "66' 2 door se '. the cleanest) On.' service as a new car.
mom for each m.at I to travel all Western States.Transportation or FOR COUPE-1946 super d.lu. 1101 W ColonialDoDc.E dan. RadIo nice car. we've had in a pe..ar SeeIng -
d.po.lte _ I furnished expensesadvanced. 501 mod.l. St.rlnl-AI..nde. .blv to PhoneI I is believing l ... I I 1945 DODGE Pick-
PERSONAL cost less .ISTALMEN LOANS |'I Apply Mrs. A. Nay. room and :1 Molor.. O.nl. I Oner.2-4l34- prl.d_ _ .1. 2-3252 P1CKUP. '39. ZOO W. Church. 41 CADILLAC 6" Special Sean.J 1 1942 FORD Super DeLuxe Station$1295
11 I
301. Empire Hotel between I
Compare. When the loan S.nk, S 30. No phone calls. BADLY IN NEE 01 IIU and 1947 FORD-1933 tudor. C".D. very good 1942 H ton pick-up. Per- 41 CADILLAC 62" Sedan. Hydra- Wagon. Radio and heater. 1947 FORD STATION I
t 100. you get f 93-Payments S B 34 ; . olde rears. HarleyWadsworth I 1 I condition. n.w top. at The Orange I ODE mechanically The answer toI matic and even.tng. Low i Very little work If to WAGON. Driven Like
S ISO. you set 139-Payments 1 5 EXPERIENCED foreman P.ctlnbu"to take sausage 815 North Oranie Ay. Hut. 69 W_Church.__ I voor h.aUn. needs. Bargain at $495 mileage. ,I make it look and b new. up. new.
t 200. you set 1S -Paymenta full charge of :wholesale production.I Telephone 6597> _ _ _ _ { FORD-'32. V-8. good condition: sac R 8 . phooe 431 or 4771 Buy as is for only .$1295 less than 8000 miles
t 300 you get 27P.menta 2500 I . required Wilson Bros.. GET TOPASH PRICE for your car rUle H. Dlugozlma. Carolina FORD 1946 truck. 1H ton. Only J. C. McKELLAR, INC. 1949 FORD Super DeLuxe 2 door
5 400. you get 372-Payments: 3334Payments .. Moon. lot 50. lan This by the original own-
3500 Rio Orande. M5Sbb. make or model. Used I 36 000 miles New 82S tires Perfect e< car has been used See this
( 500. ,.get 41 67tlOOO. ph Car EJh.nlr.. 219 W. WashingtonSt FORD 1939 2-door. New condition throughout.cry* Orlando hut its black and looks new. Looks and one.
you get 930-Payment* 83 34 Sales Help Wanted Phone 22882ONTHEFPOTCASN_ good tires drives nice. A good p.lnt. Fish A Poultry. BO9 W crhurch: 4717 Drive i and you'll buy It. er. runs
Above
monthly payments 12 month.I PAID for good Jim Jernigan Used C.r. 6OO W. Central . .. ._ u like new.
Payments for 15 months are S195 Slo
include life . .m.l.r. clean used cars. Jim Cumbie Cars. Phone 3-1946. PRD-FROUSN-TACOR--4T 1947 FORD DeLuxe 2 door I
P.llr. of death. The 904 North Orange Avenue Phone FORD-'36 4 door sedan; new paint, 8 Booth. Dunn Hotel. Melbourne. Radio. One of the lowest m.le
Fln I SALISMAK 2-4521> overhauled: no dents radio. new cars in town. Beau
-I4' National Bank at Orlando. 4th foor tre : Phone 9191 W ale I RepossessedSold
Elevator Hours TO GET THE $ 510 N Summerlln. Sahara tan fInish. Ideal
I to 4. Bat. I \ for your '
t 1947 FORD
MOT 41 8.
Old established wholesale drug and .. mon. FoiTUC dump: f x Xmas gift 5-passenger
car or Central FORD 1938 $2295
r.l H..n. coupe. Good good R S DunnHPt1 I
6:. Loans I'p to $300 I sundry in own firm handwriting.Mi" ownear furnish Aosuer full- F.. Motors. 100 W. Jefferson: motor.Hugh'ey.'o"ondltlon. 8 tre. 2:7 Melbourne.. Phone_Booth.91t -TOUR PACKARD DEALER- 1937 NASH Ambassador Six. 4 door coupe. 8000 actual For
S door sedan. Radio Unpaid Balance
information tegardini and past 2-:42._ = 342 N. Ava. Phone 5147 an h@atfr.
AUTO Furniture. Diamond Loan*.- .1 rRDT 946 COK. 2 O.nl This miles and clean as A little
I experience." BET .-oor. $500 rash will buy. FORD '34: convertible: good top: : Miller trailer. 5' sides car has had bst fixing up and o havea
Economy Company. J. T. I
Pn.nr Box 231 or Chevrolet W motor care. See it. drive and good car CHEAP. cars Inruaning
Burnt ACME SAS CO. P. O. $ pre.r..d. new throughout 500. See with canvas top. A-I condition new. A
Ph. 20735EW ..e. 10 y.tc.1 Bldi. . Florida. Srhwer. 1843 W.lke .. WIDtrI at 325 Jasmine. miles north of Orange City on hIghway .- you'll know what we mean condition.
LANulckl made on fur I :I I Pak PR19t business coupe. Good 17._Voelbel.! _ _ _ _ NASH. "600" Club..Coupe.. $595 One 1936 PLYMOUTH Coup
!
,. Orlando 75. Csfd Autos for Sale i me.bnlc.1 condition. Good body HOUSE TRAILER 1941. Plymouth I I 19 5
21. of the best buys in a postwar I
i SALESMAN-Top notchl Age 24-3S and tires Priced for a quick sale.
special trade
Metcalt a own FM Home nial Fmanc. Co.. ;1 Does S100 weekly interest you? BUICK-1941. 18' house .tm Jernigan Used Cars 600 W. C.n for I larger trailer C Hoslwnrth.- White i car in town $1695 1942 DESOTO 2-door se- 1935! AUBURN Convert t:?
-
LOANS MADE from 110. to *3OO: I Follow definite contact.. Must haveOales 4. both for 11.25....h traie..1.eP seen Trailer Park S Orange Blossom Trl I j i TO LIQUIDATE : 194 NASH "r"light 4 dOr Man.II dan. New engine, tj:
neat car
AFLAME '
p.nonaIU' .ppea..r. behind post HUDSON TERR 3d. is. Z.IDn
strict fast service. Family of. Z.n.od. Fla As HOUSE TR'iTLER-Lsrge porch All 1941 PONTIAC Sedan
p.w.. and background with radIo. weather-eye sortotherequipment
Finance Service Inc 32 W. Central 10 BCICK-194l Club (135 Want to move It today Jack equipped Sleeps or 8. mast leave '' II thoroughly recondi-
Ave. Phone_BH37 _ _ _ _ I ThI.I.. IU.tm. opportunity. in its to field Join Fine eondilon. couP..peci& 84O9 M.rln'. Used Cars. 777 N. Orange: city .No reasonable I of.r refused. 1stspare. ESTATE 1941 "18" .Club$1395 II tioned and will give I 1 SC4t3
Complete given Car Can be bt..a 1 and S at 310 Carolina Mon :; OLSMOBI. New S 1939 PACKARD
WHEN TOO I' tntnlol. Ifce.. Copeland_ LASALLE 1939: convertible! coupe. HOUSE "TRAILER Porch and bed- I dependable service.
MOSSY Mr 29S
NEE IAtAcrpt.nc. .. t W.lke 450. 1011 North cover A real bow ... $12951M1 Sans" $3
!; S-Star giving age and. experience or BUICK-1934 "sedan. Excellent condition A C.I.t Or'DI room: furnished. S7OO or trade. | OLDSMOBILE "98" Town .
fce a N Orange Avenue in Or- ph. 7-0498 (370. Telephone 2-4888. venueLINCOLN1940. Carolina Moon Camp lot J22 dan. Hydramatic. radio .s! 193 BUICK .d
Phone 7136 Offices at Cocoa See at 1106 Guernsey A-I: radio I
: over- ,
1938 STUDEBAKER
Orl The First at Orlando heater. Scdr.n
Winter Haven and St. Cloud. Sam SALSMANor. .dot trI BCICK-1938 business drive. A bargaIn .t 1800. C.l HOUSE-TAr new TravIo N.ton.1 B.nl "Z.fn pmt '
: coupe 1941 PACKARD 2-
I oo 2-2284 Trust Department offers for sal I The best m the Olds $1393 ;
service!
I new concern give full information in condition Telephone 2-387 al'o 20 ft Elrar. Inonire Fay 1. 1937 PACKARD ConvertibleCoupe. s'10" Sw' !
I letter P. O. Box 2426 Jacksonville. Clayton_Street MOTORCYCLE -. 90-Harley-David- Clark. Lorkhart. Pbs r 0 Henry Davis .t the h..het bid. lulJ.ct to approval N 12" door sedan. and. 1934 CHEVROLET P, :
QUICK CASH LOANS Frtur.|! na. BCICK-'47. convertible: blueT- llsht son SI OHV God condition. P HOUSE TRAILER-22 ft. American of the Probate Court, the following: covers and pmtf.. Sat, I clean. s t'_ .
loans. 2-0264 or see 715 Floral Drve Very good me-
and auto Dr
an- < With top. walls low I S7cri.novice tlcot
DOt SAUSMAN'E'on .bl. mileage: clean ron"ton. sway for .
Ie. Loan Co.. 501 Florida I I II i Co. p15.I throughout all accessories: buy dl MERCRY.0 con.rlblecub .Ie.po. reasonable _Ph. 2-659 | 1942 PACKARD oly.Super u. chanically. Good 1934 HUDSON Seal ,. rk
BId.: R. W C.I. m.nle. rect from owner only Box 275 8-8t rd.o. TRAILER LaSalle.. I Cpr 'I T._
Phone 2-1951. I I 12-.1 ____________ ( coup .. . tr.s HOUSE IHi door sedan. This car ben tires. 191 G.M.C. 14-
I CAN USE several ambitious young BUICK Roadmaster. convertible .ol.1 Martins model. 27" 3 rooms excellent ell-cared for and has
REAL ESTATE LOANS-Get a small men with or without car This 1 Late 1947. light gre. all extras. Used Cars. Orange84O9.. dllon. can be seen at Palm Garden 1946 HUDSON I. extra. If you're j c :3 9
loan on your house when n.d..dPoMd. a highly profitable opportunity, for plastic seat covers Like new .r" 10TORCYC P.mou1.ht.. C.m. on 441. 2 miles north ofTstsre cc lvabH quality used car. 11939 STUDEBAKER f Tk.
Credit. 21 W Pine. Sat itair- .. I f.
IbO who will work Salary and W.w.r. Palms Tn.r! Park .r.m. gallon: Mr Heinltn! See this $ "..
of Grand nut. commission onntnaie hi commission BrICK= bump erasing springs. (355-(155 =25 15 1941 Up. S- '>
1941 PLYMOUTH
sedan PLYMOUTH DeLuxe 4-door
Mr Nathan at Hotel San Juan . 19J9ooSp.al : down balance 10 months. D. HOUSETAIR f Co
63. Mortgage C.I by. .041 condinon foe. 234W .re.I! S. SUPER-SIX i Actual MUST BE SOLD AT ONCD
Newl
Lan! "ond. or Tuesday Dec 15th 7 and Some r.pl. Fn.nrr 169!>. = C.ntr.1 Trail: % .paite._ .. .__ .$1095 sed a n. Thoroughlyreconditioned
Ham and
pm. Phone '
.t..n Mr Corl. 2-311. or see YERCRV 190conw.rtbl Must HOUSE TAILEbul 1947 26'. 1941 PLYMOUTH Special DeLuxe and
Sunda .
LOANS ,J714 Ct. ) make 3 wheels. 4 door sedan. One I Liberal Trade
.f
an
on types loner 67. owner ear
Employment: offer
Agencies Sat. and
short terms low pro.rty. BUICK-1939 Special sedijpry: your Sun. APt 3. bottle gas stove. Mike, Stadrl. 89. original paint, tires rz.dio guaranteed.
rt. 607 E. LVlngston. Lt n Allowances and Terms
Immrl-
i ate service Harlow 0 111 BROWN'S PERSONNEL clean Felix W.nn Standard Mo- Carolina Moon Trailer Park. Orange 4 DOOR SEDAN and heater > ...._ $1293 I
N' Orange Ave. Phone I1M. and Rinses R.g!< r If IEVIC tors.: Oran Ph
U.d HOUSE ; Visit the Old Rel .hie
work come to 315 W. Central II you for quick sale, at (!>30. R. S. Evans. .TAIE- Streamlite:: dor san. Just 1'ke new.
MORTGAGE LOANS oa-r.5Id.nt.1 want help r'l 8U6 Bl'ICK4 Supr sedanetteT PrivaTe 4771 27 ft 6 morth. One of best O.S We have
phpne4321or 12 to
and buslnes 0. 123 GUDla Street = reasonable. 2 nl.nlo Av. 1940 WILLYS 4 door many more 13 Years in Same T osxon
and Winter Park LAW mt erestrases. .: 69. Work Wanted-Female Phone 311. MERCURY 1942 sedan coupe. A-I HOUSE TRAILER H0.rdI93.But.ne WITH RADIO AND economical big car .ransporta- choose from each .
Belles Investment 25 W. Wash- C HE V R 0 LET196 convertIble conditon. .Also 1940 .-or deluxe rook In.. bon the market .___$ 695 prce
tnitxn PI Phone 1\1 j i DATE 'OKW by coloredwoman Cleanest tires and M.rc..r .acpton.ly. clean Chevrolet helper sprint (12 20 lbs o give maximum .
II I I 4* Jt '; radio 209t! ..r.n'. Used Cars Bob 4410 Watts 105 phone I!{1!I plumbr lead. fo. 1H blocks north t USED CAREXCHANGE
REAL ESTATE LO NIL. "t! To MOUSE WORK Part time 424i 777NOrange 149 .I ICIROLEI91 MERCURY 1946 tf Michigan n Mavyr. I
'
buy build or In..ne h.me i Washington AvenueSHORTHAND A.roor pd.n Low mlseaoe. PUnfb LIBERTY; 47-27 ft T.nd" bottle SPARE TIREThis STARLING- ,
but ness First she fono.In. .- .o"pe. gas range electric "fn fall
prpert JPt. AND TYPING done b. tion throughout A special at f.tor.
National ... floor at extra' Under hood I.mp. rear $19: size bed new awnings buy at
Air-condlUoned. _hom.. Ttlphont2-I042._ R S Evans phone 4321 or 4771 only ;;; '
windshield $2.575.
Elevator service. __ wiper spotlight fog'lights'. Peter ; Palms
$ LEsDY=Experienced. temporary rear view mirror non-glare mirror MOTOP-ETTE commercial delivery .llerYk
4" HOME LOANS-EaultaMe Life j work- Ph. 2-0422. fire extinguishers undercoat rust i 1947. only run 50 miles: up to 80 ';LIBERTT4j'y ft : Tandem: bot- automobile may be inspected at I ALEXANDER J I D. VARNER INC.
Assurance Society craig Jackson I I SECRETARY cmirt reporting, other I proofing oil filter gas filter hydraulic ,miles per battery.gal.: ok: Electric starterand I'| tie gas range: electric refrigerator i Central Storage G.r.... West Central ,
esi4. secretarial I Jack license plat frame. I Garage 249 full .
6O ria. flask Bidi. experience permanent or : bed like
temporary Box J 1 I-lt.r exhaust at n.Jn. hood ornament.radio Boone ItMODFL a real .buy. .D W.dr.p. .:. Trail-Dew I I AnnU. All bids should be dellvered MOTORS 219 W. Washing a
-- and antennae, electric cap. A .r to the Trust Department, lit
INVEST in your future. Own your TYPING DONE at home Mrs Elf undrrseat h -atFranity PRAl coups Hug _Pak 2Centrl Ave. PHONE 2-2SS-
own hone Consult First Federal i _Smlth Ph_31953COMPANION whitewall rims seat rovers that Ilrrr.have ( kllm' "o. motor Ycur choice. MOTORCYCI E New model I English: National Bank at Orl.ndo before .
F I.$
at .cul-h. Np r.nl Florida I OtwnSemdavs. Sam t .Sisen.
court SireeL
EIP. j keeper Winter car 2OO li-si tis snaitsia I m.rk.1 ( 1947. Phone 2-3153
Weekdays S""r.n 9-12. Have had hotel an4 rstetsriaecneons. S a nMartin's Used Cars. 777 N NAEH-4Z station wagon sood tires MAC lUcIRi91-first-class PHONE 7STS WE BUYSELLTRADLiCoDL
have OWD car Box 303 S-Star O'"n 8409 cOfli'tlonk sale. (850 Mc First
_ _ _ Coy Ph 2-m4 $723 .
takea
I 535 Citrus Ave
,
I
(Orlenhts flxmttng l fcftttittrl! Telephones: 4161 or 3-1681 J
[ Page 16 Saturday, December 13, 1947 YOWELL DREW IVEY CO. IN ORLANDO
I STORE HOURS SATURDAY 9:30 to 6
b1bodq
; \ V V
Boys and Girls
;: "'" f Come Visit Santa ,
k ., On IVEY'S Third Floor . ,t ,
11 tol and 2 to 4 clock ,, f
t V Santa has a stick of ;yummy candy and a I 4
1n writing tablet for each boy and girl who >: ii}
I\ey's to see him. ,
comes to ., .
: b SERBIN ,
-
TOYSof r r
.
GOLFER .r I
interestto 41 r
t K girls J.. I 1A .? /
$10.95 /jJ/V\I
and boys } / ( I
't.ft ", ." t c1A
Educational Jingle Blocks-it'I a Joy ..
Tey for to 6 year olds Large size, A .
G2
dozen a box Il
$3.50 ,,' ;
"I
{
e .e 1 pA !
for dolly clothe*-tiny chests. with Let's play nurse and doctor Com
three drawers and dressers, cornplete kits, including instructions f '
plate with mirror and two drawers. packed in regular doctor's suitcases Jj 1
$7.50 each 98c & $1.98
11 Styled for action. . in chambray i
,. inch of fed
:w i you n u /
: V. . for perfect comfort satisfaction
21
with thn Mod"nn n fragrance '
Wonderful books for children! The The favored Or series, with a collec I .. a1
Serbin Golfer with button
Bobbsey Twins, Honey Bunch lion of 36 books to choose from. A A tl goes to your heart!4 oz flacon $5.00. ,
Maida and Burgess Animal series. gIlt to be always c AA concealed fly-front and sleeves 'JV
% tronl j2J5. ,
trl'asur$2 .E 1 et. size G
65c each eachSuch (p kn taxi. in plain colors of green, blue or
lavender in sizes 12 to 20.
'!.
beautiful dolls to delight a For hours of fun for children and
little girl-brides, little girl and parents-electrically operated pro- t ,. Similar style in stripes
sleepy dolls magic skin dolls and lectors, simple to operate f
many others, all at Ivey's. '
$17.95 to 24.95 ; > '' BactogefoI1"
$3.95 to $19.95 1\-e,'. Inexpensive Dress Department
Films, priced 2 TSvev f\ ) \ Second Floor of Fashion
: ty t g originalIwlcvt A.,f
>< floconlil r
J *
's Top Circus
Fourth Floor ; 1A I.
'
Fait de"Toilett
e 81
,.ejj
fIe
..- 4'
e. G 8e.\
t: i e.
. .o
twA
M. _
D'ORSAVA
.-,
ti Its a 11'f
( \if l
>.t
d
t A, love song in BELL RINGER/
A'tf A ie scent. . serenading A, ,,. era
,It her to the stars : A ; F --r- at IVEY'S
. ParisbornINTOXICATION ..
r '
"
"' ? -
.gf"s x
r ti,
ag J 'f r.ta If in the
J Jlewelcut
ran
7
<- /'t' flacon.
i Now You're 99% OAA ; Ill-
Ii Intoxication Perfume ; .
i' VIUA{)
.' & ,
$10.00 $18.50 .t
tt ' .' . 100!10'""' Glamorous
Intoxication Eau de Cologne .
f\\ *$2.75 & $5.00 \ in this . .
.
A
h'ey. i nsmetir Department 7ft.
,v,. ,w A Plus ia: Street Floor wA TEXTRON ROBE
: c.I .Ae
t fr .I f ..
t $19.95 ..
GIFT BAGS for Busy Ladies
I .
.
_, .
.: .
o
$4.50 You're inspired! '
.' I. You're wearing radiant -
A 'f
ar Large and l lovely! Bags t rayon satin because :
) Y. to carry knitting, or par. it gleams like ,
\ cels collected on a shopping .
o 1
.
"CtR \ your shining eyes.You're
"' ,, t
Students : : Put Your A A tour Beautifully '" ', t II }- ., '
: J made of fine tapestries f" A : enjoying the new skirt '
and failles in plain :, with its colossal sweep .;, f
Christmas in .
Money colors or designs.
pay 4 '
I n . graceful as a
: Other knitting bags and boxes W music hall danseuse. 1 x,
Junior Floridian"SUITS I, #r ;
in plastics ,, Clever . coyly wrapping s 4w
you
.
4
2 50 to 7 59lve s '
I yourself in diamond-like
( >"'b AH Needlework Dept x H / rl'I facets of quilting . \ ?
7 7we Fourth Floor = n "ku in spectrum shades of "
8 Cerise lined and y '
V tWhen i i highlighted with
you come home for the Christmas
holidays you'U want a snazzy new suit white rayon taffeta .. --
n Be to see the grand selection at
h-..> s-make an investment in good groom '1 or Navy lined withCerise
I
ka fr ingSTUDENTS'.
; Flamingo
w with Apple Green. ,l trAw
k \ AA BATISTE BLOUSES This Textron t 4
t a ,
creation, in J V f
SUITSFor Charming sheer blouses in r 12 20.Ievf t tV -
to
fashionable and perfectly fitted suits A several dainty styles. They A 11 sizes 5 J1A
tee the alt-.I gabardine and worsted come in sizes 32 to 38. in white ..
suits m Ivey's Students Shop They're tan e y
blue or brown in chest sizes 34 to 37. 'It lk only and with short sleeves.e .
I Lace and net trim
y' :; : $39.50 AA'1 : $3.50 A Department Third Lingerie Floor : T i
: M CADET SUITS
s .. r Yw'O be sure to like the wonderful t Other blOU'\
\V\ new Fall colors In Ivey's lightweight r $3.fl8 to $5.00 '
tweed and worsted suits for boys of Ap. MAA rA
1] through 18. )
.r1 $26.50 $27.50 $28.50 .A A Ivey Neckwear Street Floor Department A
/
,
j "T Bot'!I' Shops :
""" I\'ey's Third Floor, .Beg U. S. Pat. Off. sf
r LOWn f
DREW e'
-
ty.sal a.w.
s
I
.
|
Permissions
|
Preferences
|
Technical Aspects
|
Statistics
|
Internal
|
© 2004 - 2011 University of Florida George A. Smathers Libraries.
Acceptable Use, Copyright, and Disclaimer Statement
SobekCM
TRACE ROUTE
Total Execution Time: 87
87
html_echo_mainwriter.add_text_to_page
Finished reading and writing the file
|
http://ufdc.ufl.edu/UF00079944/00253
|
CC-MAIN-2013-20
|
en
|
refinedweb
|
IN THIS ARTICLE
Why Leaderboards?
Leaderboards are one of the oldest social features in video games that are used to increase the level of competition amongst players. Global scoreboards generate longer gameplay times and appeal to the majority of player segments. In addition, leaderboards help increase player engagement and retention by motivating them to achieve a higher rank. If a player slips down in the ranks, they will usually try to re-assert their position at the top.
You can build leaderboards that update in realtime by using PubNub. Realtime scorekeeping is important since it gives users instant feedback which increases gamer satisfaction.
Setting Up Unity
To start out, check out my GitHub and clone/download the repo. If you don’t already have Unity installed, install it here. The repo contains an Assets folder which contains all of the Project Files. Open up Unity, and go to File -> Open Project and select the folder. It will take some time to load the project in Unity. When it completes, open up the Assets folder in your Project tab, and double-click on the LeaderBoard Unity Scene.
When you click on the LeaderBoard scene, you should see this:
To try out the demo, click the Play button at the top.
If you get the following error, follow the steps below:
Scene ‘LeaderBoard’ couldn’t be loaded because it has not been added to the build settings or the AssetBundle has not been loaded.
To fix this, go to File -> Build Settings. Click the Add Open Scenes button. Then go back to your Project tab, and double-click on the LeaderBoard, go back to your Build Settings, and click Add Open Scenes once again. Then in your Project Tab, double-click on the LeaderBoard scene again and run the project.
Running the Project
Now that your project is all set up, click the Run button. When you run the project, a PubNub Fire message is sent to the PubNub Function.As you can see in the screenshot below, when there are no scores stored in the KV Store, it will fill out every unfilled entry with “unset”. Below I’m going to add some more entries to the KV store by typing in a username and score.
Let’s add more entries. Lara, James, and Bob just got added to the high score list below.
Now let’s add Stephen to the list. As you can see, since his score is higher than Bob’s but lower than James, he is placed in the 5th spot. All players that are connected to the game will see this score update in realtime. This logic is all done in the PubNub Function using the KV Store and array sorting. Click the try our demo button below to check out how it works.
Open up two windows to see the high scores updating in real time
How Does it Work?
Creating a leaderboard can be a complicated task since you want all users to see the same information as new scores are added to the list. Using PubNub and PubNub Functions makes creating custom leaderboards for your application seamless.
In the main folder, I created a script called leaderBoard which handles all the sending and receiving of data. In the Start() function, we start out by defining some components and variables. The current demo is using my personal pub/sub keys. You will have to go in and replace the pub/sub keys to your own which you can find in the PubNub Admin Dashboard or create them by clicking the button below. Copy your pub/sub keys into the leaderBoard.cs code.
In the code above, we set each players UUID to a random number. However, if you were creating your game you would want to associate this number to a unique username so that way people can’t have the same usernames in your realtime leaderboard.
The code below is the entire leaderBoard.cs document. When the script runs for the first time, it initializes PubNub and sends a Fire message to the PubNub Function. This fire object tells the Function to send back the most recent data which is stored in the database (KV Store). When the client gets a response from the PubNub Function, it runs the pubnub.SubscribeCallback and iterates through the dictionary, replacing any data that has changed since the last update.
The TaskOnClick function takes the information you input in the input fields and publishes that data to the PubNub Function which then updates all clients currently subscribed to my_channel2.
using System.Collections; using System.Collections.Generic; using UnityEngine; using PubNubAPI; using UnityEngine.UI; using SimpleJSON; public class MyClass { public string username; public string score; public string test; } public class leaderBoard : MonoBehaviour { public static PubNub pubnub; public Text Line1; public Text Line2; public Text Line3; public Text Line4; public Text Line5; public Text Score1; public Text Score2; public Text Score3; public Text Score4; public Text Score5; public Button SubmitButton; public InputField FieldUsername; public InputField FieldScore; // Use this for initialization void Start () { Button btn = SubmitButton.GetComponent<Button>(); btn.onClick.AddListener(TaskOnClick); // Use this for initialization PNConfiguration pnConfiguration = new PNConfiguration (); pnConfiguration.PublishKey = "YOUR-KEY-HERE"; pnConfiguration.SubscribeKey = "YOUR-KEY-HERE"; pnConfiguration.LogVerbosity = PNLogVerbosity.BODY; pnConfiguration.UUID = Random.Range (0f, 999999f).ToString (); pubnub = new PubNub(pnConfiguration); Debug.Log (pnConfiguration.UUID); MyClass myFireObject = new MyClass(); myFireObject.test = "new user"; string fireobject = JsonUtility.ToJson(myFireObject); pubnub.Fire() .Channel("my_channel") .Message(fireobject) .Async((result, status) => { if(status.Error){ Debug.Log (status.Error); Debug.Log (status.ErrorData.Info); } else { Debug.Log (string.Format("Fire Timetoken: {0}", result.Timetoken)); } }); pubnub.SusbcribeCallback += (sender, e) => { SusbcribeEventEventArgs mea = e as SusbcribeEventEventArgs; if (mea.Status != null) { } if (mea.MessageResult != null) { Dictionary<string, object> msg = mea.MessageResult.Payload as Dictionary<string, object>; string[] strArr = msg["username"] as string[]; string[] strScores = msg["score"] as string[]; int usernamevar = 1; foreach (string username in strArr) { string usernameobject = "Line" + usernamevar; GameObject.Find(usernameobject).GetComponent<Text>().text = usernamevar.ToString() + ". " + username.ToString(); usernamevar++; Debug.Log(username); } int scorevar = 1; foreach (string score in strScores) { string scoreobject = "Score" + scorevar; GameObject.Find(scoreobject).GetComponent<Text>().text = "Score: " + score.ToString(); scorevar++; Debug.Log(score); } } if (mea.PresenceEventResult != null) { Debug.Log("In Example, SusbcribeCallback in presence" + mea.PresenceEventResult.Channel + mea.PresenceEventResult.Occupancy + mea.PresenceEventResult.Event); } }; pubnub.Subscribe () .Channels (new List<string> () { "my_channel2" }) .WithPresence() .Execute(); } void TaskOnClick() { var usernametext = FieldUsername.text;// this would be set somewhere else in the code var scoretext = FieldScore.text; MyClass myObject = new MyClass(); myObject.username = FieldUsername.text; myObject.score = FieldScore.text; string json = JsonUtility.ToJson(myObject); pubnub.Publish() .Channel("my_channel") .Message(json) .Async((result, status) => { if (!status.Error) { Debug.Log(string.Format("Publish Timetoken: {0}", result.Timetoken)); } else { Debug.Log(status.Error); Debug.Log(status.ErrorData.Info); } }); //Output this to console when the Button is clicked Debug.Log("You have clicked the button!"); } }
In order to make the leaderboards work, we now have to set up a PubNub Function. To make a Function, go to the PubNub Admin Dashboard, and click on your application. On the left-hand side, click the Functions button, and create a new Module. Make sure you are listening to the correct channel name, in this case, I called my channel “my_channel“.
In the function, we first have to import the KV Store and PubNub dependencies. Next we JSON parse the message received from the Unity client, and place the contents of the message into variables called username and score.
Next we use db.get to check if there is any data stored in the KV store. If there isn’t, we use db.set to create a string format of how the data will be structured. Once the data is in the KV store, we iterate through the array using value.score.some(item => {});. We use the prototype since we want to be able to return true at the end of the loop to cancel out of the loop once the entry has been correctly replaced. When the loop has been completed, it sends the new updated values to all clients subscribed to my_channel2 by sending a pubnub.publish message.
export default (request) => { const db = require("kvstore"); const pubnub = require("pubnub"); var json = JSON.parse(request.message); console.log(json); let { username, score } = json; //let { username, score } = request.message; var scorearray1 = []; var scorearray2 = []; var usernamearray1 = []; var usernamearray2 = []; //db.removeItem("data"); //reset the block db.get("data").then((value) => { if(value){ console.log("value", value); let i = 0; value.score.some(item => { if(parseInt(item) < parseInt(score)){ //Parse into int since variables are currently strings //Score scorearray2 = value.score.slice(0, i); scorearray1 = value.score.slice(i, value.score.length); console.log("values", scorearray2, scorearray1); scorearray2.push(score); var newList = scorearray2.concat(scorearray1); newList.splice(-1,1); //Username usernamearray2 = value.username.slice(0, i); usernamearray1 = value.username.slice(i, value.score.length); console.log("values", usernamearray2, usernamearray1); usernamearray2.push(username); var newList2 = usernamearray2.concat(usernamearray1); newList2.splice(-1,1); value.score = newList; value.username = newList2; db.set("data", value); return true; //break out of the loop using Array.prototype.some by returning true } i++; }); pubnub.publish({ "channel": "my_channel2", "message": value }).then((publishResponse) => { console.log("publish response", publishResponse); }); } else { db.set("data", { "username":["unset","unset","unset","unset","unset"], "score":["0","0","0","0","0"]}); } }); return request.ok(); };
That’s it, folks! It’s super easy to create a custom leaderboard using PubNub and Unity.
Debugging and Building
When you go to build your project, you may run into an error that says:
error CS0234: The type or namespace name 'TestTools' does not exist in the namespace 'UnityEngine'. Are you missing a reference? CS0246: The type or namespace name 'NUnit' could not be found. Are you missing an assembly reference?
To fix this problem, go to: Window -> Test Runner -> Select Play Mode
You will be asked to enable playmode. Then reset the editor.
Now when you go to build your project, those errors should be removed.
Wrapping Up
Setting up PubNub with Unity is straightforward and seamless. To download the Unity SDK, visit our Unity documentation. You can download my demo project on my GitHub here.
|
https://www.pubnub.com/blog/realtime-highscores-leaderboards-in-unity/
|
CC-MAIN-2019-51
|
en
|
refinedweb
|
Five Best Practices for GoLang CI/CD
Five Best Practices for GoLang CI/CD
Create CI/CD workflows with Artifactory and GoLang.
Join the DZone community and get the full member experience.Join For Free
±For developers programming in long-established languages like Java, JavaScript, or Python, the best way to build continuous integration and delivery (CI/CD) workflows with Artifactory is pretty familiar. A mature set of dependency management systems for those languages and container solutions, such as Docker, provide a clear roadmap.
But if you’re programming your applications in GoLang, how hard is it to practice CI/CD with the same kind of efficiency?
As it turns out, it’s gotten easier, especially with some of the latest innovations in Go.
Best Practices
At JFrog, we’re big fans of GoLang, as we use it as the language for several of our flagship solutions. We practice what we promote, too, using Artifactory at the heart of our CI/CD. Here are some of the practices we can recommend:
1. Use Go Modules
Unlike many established programming languages, initial releases of GoLang didn’t provide a common mechanism for managing versioned dependencies. Instead, the Go team encouraged others to develop add-on tools for Go package versioning.
That changed with the release of Go 1.11 in August 2018, with support for Go modules. Now, the native dependency management solution for GoLang, Go modules are collections of related Go packages that are versioned together as a single unit. This enables developers to share code without repeatedly downloading it.
A Go module is defined by a
go.mod file in the project’s root directory, which specifies the module name along with its module dependencies. The module dependency is represented by the module name and version number.
If you haven’t adopted Go modules yet, you’ll need to follow the steps below:
- Use
go mod initto generate a
go.modfile if previous package managers were used.
- Use
go mod tidyif other package managers were not used. This command will generate a populated go.mod file.
- If the version is v2 and above, you will need to change the module name to add the corresponding suffix, update to the import path, add module aware static analysis tools, and finally update code generator files, such as
.protofiles to reflect the new import path.
For example, here is a
go.mod file for a publicly available Go module for a structured logger:
module github.com/sirupsen/logrus require ( github.com/davecgh/go-spew v1.1.1 // indirect github.com/konsorten/go-windows-terminal-sequences v1.0.1 github.com/pmezard/go-difflib v1.0.0 // indirect github.com/stretchr/objx v0.1.1 // indirect github.com/stretchr/testify v1.2.2 golang.org/x/sys v0.0.0-20190422165155-953cdadca894 )
Note that the version numbers must conform to semver convention (for example, v1.2.1 instead of 20190812, or 1.2.1) as required by the go command. You should avoid using pseudo versions like the one shown above (v0.0.0-yyyymmddhhmmss-abcdefabcdef) — although commit hash pseudo-version were introduced to bring Go Modules support to untagged projects, they should be only used as a fallback mechanism. If the dependencies you need have release tags, use those tags in your required statements.
In your own code, you can import this Go module along with other dependencies:
import ( "fmt" "io/ioutil" "net/http" "os" // Public Go Module for logging log "github.com/sirupsen/logrus" )
Then you can reference the module functions in your GoLang code:
// Send text to the log log.Printf("Hello Log!")
2. Use GOPROXY to Ensure Immutability and Availability
Once you maintain your GoLang dependencies as versioned modules, you can keep them as immutable entities by setting up a GOPROXY. In this way, you can always guarantee what a specific version of a module contains, so your builds are always repeatable.
Will you be using Go modules that are publicly available open-source packages? Ones you create and share with the OSS community? Modules you keep private to just your team? Here are ways to do each, or all at once, and ensure that those unchanging versioned modules are always available for your builds.
3. Use Artifactory Repository Layouts
When you build your app (using
Go build), where will the binary artifacts generated be stored? Your build process can push those intermediate results to repositories in a binaries repository manager like Artifactory.
For these intermediate Go artifacts, you’ll use Artifactory’s generic repositories. Structuring those repositories can help you control the flow of your binaries through development, tests, and production with separate repositories for each of those stages. To help you do this, use the Custom Repository Layout feature of Artifactory with those generic repositories.
Create a custom layout that is similar to the following:
[org]/[name<.+>]/[module]-[arch<.+>]-[baseRev].[ext]
When you configure the custom layout, you should test the artifact path resolution to confirm how Artifactory will build module information from the path using the layout definitions.
4. Build Once and Promote
With your repositories properly set up for your Go builds, you can start to move them through your pipeline stages efficiently.
Many software development procedures require a fresh complete or partial build at each staging transition of development, testing, and production. But as developers continue to change shared code, each new build introduces new uncertainties; you can’t be certain what’s in it. Even with safeguards to help assure deterministic builds that may still require repeating the same quality checks in each stage.
Instead, build your Go-based microservices once, then promote them to the next stage once promotion criteria such as tests or scans are met. If you plan to containerize your Go microservice, the same principle applies: build each Docker image once and promote it through a series of staging repositories. In this way, you can guarantee that what was tested is exactly what is being released to production.
5. Avoid Monolithic Pipelines
Instead of a single, monolithic pipeline for your app, It’s better to have several, with each one building, testing, scanning, and promoting a different layer. This helps make your CI/CD process more flexible with different teams responsible for each layer, fostering a “fail fast” system that helps catch errors early.
For example, deploying a containerized application can typically be composed of five pipelines:
- Build the Go application using the JFrog CLI. This pipeline pulls the source code, builds the application with Artifactory repositories for dependencies and output binaries, and tests and promotes from a dev repo to a staging repository in Artifactory.
- Build a base layer of the containerized app, e.g. a Docker framework. Static or dynamic tags can be used based on company’s risk and upgrade policies. For example, If a dynamic tag such as
alpine:3.10is used as a base layer of Docker framework, then all patch updates will be included each time the Docker framework is built. This pipeline will include build, test and promote stages.
- Pull the promoted artifacts produced by the prior pipelines and build a containerized app.This will also have build, test, scan and promote stages.
- Build a Helm chart that points to a statically tagged & promoted version of a containerized app that was produced by prior pipeline.
- Deploy the containerized Go app to Kubernetes using the Helm chart.
Artifactory acts as your “source of truth” for your Go builds, providing a GOPROXY for both public and private modules and storing compiled binaries. Using the JFrog CLI to build your Go app helps the build process interact with Artifactory, and capture the build info that makes your builds fully traceable. Here is a sample snippet:
// Configure Artifactory jfrog rt c // Configure the project's repositories jfrog rt go-config // Build the project with go and resolve the project dependencies from Artifactory. jfrog rt go build --build-name=my-build --build-number=1 // Publish the package we build to Artifactory. jfrog rt gp go v1.0.0 --build-name=my-build --build-number=1 // Collect environment variables and add them to the build info. jfrog rt bce my-build 1 // Publish the build info to Artifactory. jfrog rt bp my-build 1
To explore this more, take a look at our example demonstration files for GoLang CI/CD that we’ll be using at GopherCon.
Published at DZone with permission of Ankush Chadha , DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
{{ parent.title || parent.header.title}}
{{ parent.tldr }}
{{ parent.linkDescription }}{{ parent.urlSource.name }}
|
https://dzone.com/articles/5-best-practices-for-golang-cicd
|
CC-MAIN-2019-51
|
en
|
refinedweb
|
- Type:
Bug
- Status: Resolved
- Priority:
Major
- Resolution: Fixed
- Affects Version/s: 3.0.0
-
- Component/s: build / infrastructure
- Labels:None
Most of the tests under org.apache.openjpa.persistence.jdbc.maps behave random when they test against a real database.
Those tests capture the JQPL path navigation for Maps (Covered in the spec in 4.4.4.1).
public class @Entity Division { private Map<Division, VicePresident> orga; }
Such structures can be navitated via KEY(), VALUE(), and ENTRY().
Our tests did create 2 Divisions with 2 orga entries. And using query.getResultList().get(0) to verify the results. And this was exactly the problem. using get(0) leads to random behaviour with real databases. On the default Derby database it didn't make any difference as the result from the index query was always in the order in which the data got written to disk. But this is not guaranteed for performance tuned databases like PostgreSQL, MariaDB and MySQL. In those cases we got random errors.
|
https://issues.apache.org/jira/browse/OPENJPA-2764
|
CC-MAIN-2019-51
|
en
|
refinedweb
|
In Google Kubernetes Engine (GKE), learn how to set up HTTP load balancing, see Setting up HTTP Load Balancing with Ingress.
Features of HTTP(S) load balancing
HTTP(S) load balancing, configured by Ingress, includes the following features:
- Flexible configuration for Services
- An Ingress defines how traffic reaches your Services and how the traffic is routed to your application. In addition, an Ingress can provide a single IP address for multiple Services in your cluster.
- Integration with Google Cloud network services
- An Ingress can configure Google Cloud features such as Google-managed SSL certificates (Beta), Google Cloud Armor, Cloud CDN, and Google Cloud
- You can provision your own SSL certificate and create a certificate resource in your Google Cloud project. You can then list the certificate resource in an annotation on an Ingress to create an HTTP(S) load balancer that uses the certificate. Refer to instructions for pre-shared certificates for more information.
- Self-managed certificates as Secret resources
- You can provision your own SSL certificate and create a Secret to hold it. You can then refer to the Secret in an Ingress specification to create an HTTP(S) load balancer that uses the certificate. Refer to the instructions for using certificates in Secrets for more information.
Limitations
The total length of the namespace and name of an Ingress must not exceed 40.
The HTTPS load balancer terminates TLS in locations that are distributed globally, to minimize latency between clients and the load balancer. If you require geographic control over where TLS is terminated, you should use a custom ingress controller and GCP Network Load Balancing instead, and terminate TLS on backends that are located in regions appropriate to your needs.
Multiple backend services
An HTTP(S) load balancer provides one stable IP address that you can use to route requests to a variety of backend services.
For example, you can configure the load balancer to route requests to different backend services depending on the URL path. Requests sent to your-store.example could be routed to a backend service that displays full-price items, and requests sent to your-store.example/discounted could be routed to a backend service that displays discounted items.
You can also configure the load balancer to route requests according to the hostname. Requests sent to your-store.example could go to one backend service, and requests sent to your-experimental-store.example could go to another backend service.
In a GKE cluster, you create and configure an HTTP(S) load balancer by creating a Kubernetes Ingress object. An Ingress object must be associated with one or more Service objects, each of which is associated with a set of Pods.
Here is a manifest for an Ingress:
apiVersion: extensions/v1beta1 kind: Ingress metadata: name: my-ingress spec: rules: - http: paths: - path: /* backend: serviceName: my-products servicePort: 60000 - path: /discounted backend: serviceName: my-discounted-products servicePort: 80
When you create the Ingress, the GKE ingress controller creates and configures an HTTP(S) load balancer according to the information in the Ingress and the associated Services. Also, the load balancer is given a stable IP address that you can associate with a domain name.
In the preceding example, assume you have associated the load balancer's IP
address with the domain name your-store.example. When a client sends a request
to your-store.example, the request is routed to a Kubernetes Service named
my-products on port 60000. And when a client sends a request to
your-store.example/discounted, the request is routed to a Kubernetes Service
named
my-discounted-products on port 80.
The only supported wildcard character for the
path field of an Ingress
is the
* character. The
* character must follow a forward slash (
/) and
must be the last character in the pattern. For example,
/*,
/foo/*, and
/foo/bar/* are valid patterns, but
*, /foo/bar*, and
/foo/*/bar are not.
A more specific pattern takes precedence over a less specific pattern. If you
have both
/foo/* and
/foo/bar/*, then
/foo/bar/bat is taken to match
/foo/bar/*.
For more information about path limitations and pattern matching, see the URL Maps documentation.
The manifest for the
my-products Service might look like this:
apiVersion: v1 kind: Service metadata: name: my-products spec: type: NodePort selector: app: products department: sales ports: - protocol: TCP port: 60000 targetPort: 50000
In the Service manifest, notice that the
type is
NodePort. This is the
required type for an Ingress that is used to configure an HTTP(S) load balancer.
In the Service manifest, the
selector field says any Pod that has both the
app: products label and the
department: sales label is a member of this
Service.
When a request comes to the Service on port 60000, it is routed to one of the member Pods on TCP port 50000.
Each member Pod must have a container listening on TCP port 50000.
The manifest for the
my-discounted-products Service might look like this:
apiVersion: v1 kind: Service metadata: name: my-discounted-products spec: type: NodePort selector: app: discounted-products department: sales ports: - protocol: TCP port: 80 targetPort: 8080
In the Service manifest, the
selector field says any Pod that has both the
app: discounted-products label and the
department: sales label is a member
of this Service.
When a request comes to the Service on port 80, it is routed to one of the member Pods on TCP port 8080.
Each member Pod must have a container listening on TCP port 8080.
Default backend
You can specify a default backend by providing a
backend field in your Ingress
manifest. Any requests that don't match the paths in the
rules field are sent
to the Service and port specified in the
backend field. For example, in the
following Ingress, any requests that don't match
/ or
/discounted are sent
to a Service named
my-products on port 60001.
apiVersion: extensions/v1beta1 kind: Ingress metadata: name: my-ingress spec: backend: serviceName: my-products servicePort: 60001 rules: - http: paths: - path: / backend: serviceName: my-products servicePort: 60000 - path: /discounted backend: serviceName: my-discounted-products servicePort: 80
If you don't specify a default backend, GKE provides a default backend that returns 404..
Support for Google Cloud features
You can use a BackendConfig to configure an HTTP(S) load balancer to use features like Google Cloud Armor, Cloud CDN, and IAP.
BackendConfig is a custom resource that holds configuration information for Google Cloud features.
An Ingress manifest.
Setting up HTTPS (TLS) between client and load balancer
An.
When the load balancer accepts an HTTPS request from a client, the traffic between the client and the load balancer is encrypted using TLS. However, the load balancer terminates the TLS encryption, and forwards the request without encryption to the application., create a Kubernetes Secret.
The Secret holds the certificate and key. To use a Secret, add its name in the
tls
field of your Ingress manifest as shown in the following example:
Using multiple TLS certificates
Suppose you want an HTTP(S) load balancer to serve content from two hostnames: your-store.example, and your-experimental-store.example. Also, you want the load balancer to use one certificate for your-store.example and a different certificate for your-experimental-store.example.
You IAP for your workloads.
|
https://cloud.google.com/kubernetes-engine/docs/concepts/ingress?hl=hu
|
CC-MAIN-2019-51
|
en
|
refinedweb
|
Speaker
Duncan Rand (Imperial College Sci., Tech. & Med. (GB))
Description
Named Data Networks (NDN) are an emerging network technology based around requesting data from a network rather than a specific host. Intermediate routers in the network cache the data. Each data packet must be signed to allow its provenance to be verified. Data blocks are addressed by a unique name which consists of a hierarchical path, a name and attributes. An example of a valid address could be "/ndn/uk/ac/imperial/ph/hep/data/somefile/1". The provision for in-network caching makes NDN an ideal choice for transferring large data sets where different endpoints are likely to make use of the same data within close succession. The naming of data rather than nodes also means that a data request could potentially be satisfied by multiple geographically disparate sites allowing for failover and load-balancing. We believe that the delegation of robustness and reliability to the network itself offers significant possibilities for computing in HEP. For example, the LHC experiments currently pre-place data and have more recently started making use of storage namespace federation and caching through the xrootd protocol. NDN offers interesting possibilities to simplify many of the the experiments’ data placement systems and to extend the data caching approach. Another advantage is that in the future it is likely that large commercial content delivery providers will be using NDN and will contribute effort into developing and maintaining the technology. The deployment of NDN will be a slow process, however it can run over the existing IP infrastructure allowing for a phased, non-disruptive parallel rollout. We will discuss results from an HEP NDN testbed, prototype *GFAL 2* and *root* NDN plugins, aspects of packet signing and security and implications for the LHC computing models.
Primary authors
Dr David Colling (Imperial College Sci., Tech. & Med. (GB)) Duncan Rand (Imperial College Sci., Tech. & Med. (GB)) Simon Fayer (Imperial College Sci., Tech. & Med. (GB))
|
https://indico.cern.ch/event/304944/contributions/1672621/
|
CC-MAIN-2019-51
|
en
|
refinedweb
|
I have a ball and multiple of alligned blocks. When the ball moves on the blocks, sometimes the ball collides with one of the blocks as you see in the picture. The ball was moving left to right and when at the joint of two blocks it sometimes bumps. As if there was a height difference, like a little crack. This does not happen with all of the joints. It occurs randomly. The blocks were created and alligned by code so I don't see why it has a difference in height. Only thing that I could think of is somewhere in floating points??
Below is the code from the "Block Manager" gameObject where it creates all the blocks. I would really like to know why this is happening for sure, and a solution would be even greater.
using UnityEngine;
using System.Collections;
public class BlockManagerScript : MonoBehaviour {
public GameObject block;
// Use this for initialization
void Start () {
for (int i = 0; i < 200; i++) {
GameObject blockCopy = Instantiate (block);
blockCopy.transform.SetParent (transform);
Vector3 position = block.transform.position;
position.x += block.GetComponent<SpriteRenderer> ().bounds.size.x * (i + 1);
blockCopy.transform.position = position;
}
}
// Update is called once per frame
void Update () {
}
}
One more point Xon, it's worth noting in general terms that you often SIMPLY DO NOT USE PHYSICS, AT ALL, in "puzzle" type games.
You do them, let's say, "logically". A question that comes up endlessly on this site is "how to tumble a cube in a puzzle game!" (OPs start off by trying to use the physx engine and applying toruqe, etc)
example,
Often you just don't, at all, use the physics engine to do "puzzle-like" games.
Note that I have no idea what the "feel" of your game is, so indeed you may want a "physic feel", and that's great. But just a warning to future googlers who are making "puzzle-type" games, often you just absolutely don't use any physics engine.
In your example, you would just move the cube "knowing" that levels exist at certain places, etc.
Physics Material 2D worked for me. - Create a Physics Meterial 2D. - Set friction is zero - Assign it into colliders (don't need for player) Hope it can help you
Answer by Alamarche
·
Dec 21, 2015 at 04:32 PM
First ill start off by saying you should probably have a CircleCollider on the ball rather than a BoxColldier. The sharp edges are getting caught in between the blocks. If that still doesn't work then do this:
Keep a reference to the first block you make (You should probably hand place this one in the scene so that you can easily reference it). From there, whenever you create a new block, you'd just increase the size of the first blocks collider rather than just making a new one every time. This would make one large collider with no gaps and everything should be smooth.
I've tried this before I wrote this question. It does help a bit on the problem but the way circle colliders behave in edges of platfroms just did not fit my game design. And even if you do the ball kind of jitters at joint, it moves the ball only like 0.001 units but it still means that its not alligning right, and its just that I would like to know why this is happenning and know a way to fix bug(?). Anyways thanks for the reply :- ). Also, about your second suggestion, this seems like it could be an way around for my game... hmm.. I'll give it a try. Thanks, wonder why I never thought of it.. ps, come to think of it now I really can't do that because the reason why I am making the ground with multiple seperate pieces is because at some point I need them to sperate with each pieces with there own collider, making the illusion of the ground breaking.
Answer by wibble82
·
Dec 21, 2015 at 05:10 PM
The problem you are seeing comes from the fact that a physics engine in a game doesn't see the world like we do :)
You and I can see a set of boxes next to each other, perfectly aligned, with an object moving along the surface. We therefore conclude that it should never bounce up, as it moving along something flat.
To the physics engine however, each of those boxes that make up the floor are entirely independent objects with which the sliding object can collide. Each frame it works out which ones the sliding object might collide with, and attempts to approximate what the correct physical reaction would be if it did. What you are seeing is an inconsistency when your sliding box is sitting on the surface of 1 box, but touching the corner of another. If the engine processes the surface first, it'll probably work fine, but if it happens to process the corner collision first, you'll see a blip!
This problem is made worse by the 'discontinuity' in your box-box collision. As your surface object is a box, the results from:
its lower edge hitting the edge of the box below it
its bottom right corner hitting the top right corner of the next box
Are substantially different - the first simply holds the box up, the 2nd would apply some force up and to the left.
Using a circle collider will certainly help. Technically the physics engine still has the same problem (it doesn't know which box you hit), but there is only 1 point in time at which a circle is potentially hitting 2 boxes - when it is directly above both their corners. In this situation, both boxes would agree that the correct collision response was simple to push the circle upwards, so you wouldn't see a blip. This might break down as you get to high speeds (as it's all approximations), but at suitably low velocities it'd probably be perfectly stable.
If you must use a box for your surface object, then you will either need to:
Use 1 large box collider, instead of lots of small ones for the floor
If you can't represent the floor with 1 box collider, you'll need to generate an edge collider for it
Note that an edge collider has 'connectivity' information (each edge knows about other edges), so it can handle the situation in which an object could hit multiple edges more elegantly.
-Chris
of course as Chris says the answer is
"Use 1 large box collider, instead of lots of small ones for the floor"
you simply can not "sit colliders together" like you have done
"You and I can see a set of boxes next to each other, perfectly aligned, with an object moving along the surface."
Actually Chris if you literally try this, with very sharp boxes (such as casino dice, which have a very sharp cut), in fact ................ it will do exactly whay PhysX is doing, ie, you WILL IN FACT CATCH THE EDGES!
It's that simple. You are right that the OP could use a sphere collider. But more likely you'd just make a box collider with "rounded edges". That is to say, essentially just add little sphere colliders (or perhaps capsule collider) at the edges.
In some cases you just add another box collider at 45 degrees (sort of a "sawn-off edge" if that makes sense). It's commonplace to have to do this for objects, when you "catch an edge"
Essentially this is the right answer.
Answer by InDNA
·
Dec 22, 2015 at 09:01 AM
Hmm.. Maybe your player object is being rotated when you move. It looks like your player is at a slight angle in the screenshot, so this may be a square wheel situation. Every time a corner of the square hits the ground, it bumps up do to an uneven rotation. If this were the case, it would probably still make the player object bob up and down, even when using a circle collider. This could be fixed by freezing your player's z-axis during movement.
If that's not it, i'll have to keep thinking man.
You could also try overlapping your block objects a little when you position them. This isn't really best practice as far as I know, but it may tell us if gaps between blocks are even the issue here.
// Overlaps blocks by 1%
position.x += (block.GetComponent<SpriteRenderer> ().bounds.size.x * 0.99f) * (i + 1);
I tryed overlaping as well as spacing the blocks before but it didn't help : -( I figured out a way to solve my problem and posted on this page have a look and tell me what you think : -)
Answer by xon235
·
Dec 22, 2015 at 09:04 AM
Okay I think I found a way to do this. I couldn't do it the way you guys described because of my game design (1. The blocks are only at the same height for test purpose and in the real game it will be randomly determined. 2. At the end of the platform I need it to sperate like its breaking, so I couldn't use one collider for all multiple blocks).
Anyways the way I handled it was, at BallScript's awake method, I made code to add four sperate edge colliders for each of sides in box colliders with little shorter length and to disable box collider at runtime . I call this cutting the corners. (corner cut).
Below is the Awake method in BallScript.
void Awake () {
rb = GetComponent<Rigidbody2D> ();
//get Boxcollider2D points
BoxCollider2D bc = GetComponent<BoxCollider2D> ();
Vector2[] points = new Vector2[4];
//Clockwise starting from left top
points [0] = Vector2.zero;
points [0].x -= bc.size.x / 2;
points [0].y += bc.size.y / 2;
points [1] = Vector2.zero;
points [1].x += bc.size.x / 2;
points [1].y += bc.size.y / 2;
points [2] = Vector2.zero;
points [2].x += bc.size.x / 2;
points [2].y -= bc.size.y / 2;
points [3] = Vector2.zero;
points [3].x -= bc.size.x / 2;
points [3].y -= bc.size.y / 2;
//add EdgeCollider
edges = new EdgeCollider2D[4];
Vector2 pointA;
Vector2 pointB;
//Clockwise starting from top
edges [0] = gameObject.AddComponent<EdgeCollider2D> ();
edges [0].points = new Vector2[]{new Vector2(points[0].x + colliderCornerCut, points[0].y), new Vector2(points[1].x - colliderCornerCut, points[1].y)};
edges [1] = gameObject.AddComponent<EdgeCollider2D> ();
edges [1].points = new Vector2[]{new Vector2(points[1].x, points[1].y - colliderCornerCut), new Vector2(points[2].x, points[2].y + colliderCornerCut)};
edges [2] = gameObject.AddComponent<EdgeCollider2D> ();
edges [2].points = new Vector2[]{new Vector2(points[2].x - colliderCornerCut, points[2].y), new Vector2(points[3].x + colliderCornerCut, points[3].y)};
edges [3] = gameObject.AddComponent<EdgeCollider2D> ();
edges [3].points = new Vector2[]{new Vector2(points[3].x, points[3].y + colliderCornerCut), new Vector2(points[0].x, points[0].y - colliderCornerCut)};
//Disable BoxCollider2D since we now have edges
bc.enabled = false;
}
This lets me move smoothly on the surface. This method is really easy on box colliders but I don't think it will be easy to implement the same method on different shapes. But I think this does it for now.
Thank you all for your suggestions and It will be great if someone has a better method to accommodate all kinds of shapes.
Thank you!
You DO sometimes have to use "jagged colliders", you're right.
So, rather than one collider the shape of the box, you use perhaps six colliders that are flat boxes, along each side - perhaps with small gaps at the corners, overlap, or whatever is needed in your situation.
Note you can very simply do this IN THE EDITOR. It's hard to see any need to do it programmatically.
Yes you are right. Also I knew that I could edit edge colliders in the editor but I had to do it with "hand", which being inaccurate. I would have liked to input perfect numbers through a input box, but the input boxes were disabled. Also I just did this programmatically because I didn't want to edit each edge colliders everytime I changed the size or offset etc. Since in my game edge colliders will sum up to something like a box collider, I just gave a box collider 2d component for representation and edits, then replaced it with edge colliders at runtime.
"The blocks are only at the same height for test purpose and in the real game it will be randomly determined."
It's totally normal that you have to swap back and fore between different types of colliders. So, it might be that you have to swap to "one long" collider when the cubes are perfectly level, and swap to individual colliders when step-like.
Yes true, I just thought that there would be a simpler way to handle it. I will put this in consideration if I come to similar problem with no other ways next time. Thanks you.
hi Xon I'm not sure if you saw my long answer below with the image. (hit reload to see it) To solve the problem of catching edges, you basically just add little round colliders at the corners (or perhaps a long thin capsule, or even just a box collider on a 45 angle). It's completely normal to do this when an object 'catches" Hope this also helps!
I would highly recommend you generate a single edge collider (which contains a list of edges) that represents your 'floor'. This should be a set of edges that represent the surface along which your object should move.
It is perhaps not the simplest approach, and there are many work arounds for this issue, but the most robust solution will be edge colliders for the floor - you can happily still use a box collider for your object (if it is indeed a box!).
As a mentioned breifly in my answer, this is because an edge collider (provided it is just 1 edge collider, with a list of points) contains 'connectivity information'. This is a very common feature of a physics engine - in 3D the same system exists for a mesh collider.
The connectivity information allows the physics engine to identify that the box may appear to hit both the edge it is above, and the corner of the next edge, but because it is aware of both features, it is able to make the decision to take the 'most relavent' edge.
There are certainly other approaches that will get you closer to your desired results - simply using a box with little spheres at the corners will undoubtly be a little better, but if what you're after is the right (and I use that term very loosely!) solution, the edge collider is the correct tool to use for a 2D mesh that represents the floor.
-Chris
As Chris explains, generally the correct solution is definitely that you have to dynamically 'change to' one big collider when you get smaller colliders 'next to each other'
this is completely standard and an "everyday procedure" in vid games.
hi Chris, it is not really realistic to say that using custom colliders will "get you closer to your desired results" :) An absolutely correct and proper solution (such as seen in, oh, Angry Birds) is to use, simply, a collection of colliders to create the approximation you want on a body. It's totally commonplace that on a boxy collider (as in the example I gave of a car) you add let's say a "supplementary" collider (perhaps a sphere or whatever) to deal with those annoying "edge collisions" where you "trip" (which is, indeed, precisely the nature of this QA!)
We may just have to agree to disagree there Fattie :) Certainly in physics there are always many ways to solve a problem. Ultimately a game physics engines is just a groce approximation of real physics, and making the game is as much about 'working with the engine' as it is 'doing things right'!
Generally though in my personal experience, fiddling the collision of the dynamic object to create rounded corners to solve this particular problem (vertex-edge discontinuities in the static object) is not the best way to go. The problem is in the ground, so I would attempt to fix the ground.
Conversely, if my problem was 'my dynamic object is behaving too boxy, and I want it to roll more on the corners', I would fiddle the collision to make it do so.
On Burnout I spent a long time with this exact problem - made worse by the fact that the cars went at 200mph! Although it was a pain, I fixed the terrain (by implementing vertex and edge connectivity data in the form of edge/vertex-cosines) because ultimately that's where the problem was. Fixing the cars would have meant fixing every car - and anything else I ever wanted to move on the ground. And worse, I would have had to explain to other people how to fix it, and get those rounded edges just right! It would have worked, but would be less robust and more work to maintain in the long term.
All that said, game development is often a choice between the 'right' solution and the 'quick' solution. They don't always agree, and the 'right' one isn't necessarily always the right one :)
Answer by Fattie
·
Dec 22, 2015 at 02:07 PM
Xon, are you aware very simply of adjusting the penetration default?
"The minimum contact penetration value
in order to apply a penalty force
(default 0.05). Must be positive. This
value is usually changed in
Edit->Project Settings->Physics"
"The minimum contact penetration value
in order to apply a penalty force
(default 0.05). Must be positive. This
value is usually changed in
Edit->Project Settings->Physics"
Often you can solve these sorts of physics problems by just adjusting that.
Second, note that it is very common when you're dealing with let's say "microphysics" like this, that you need unusually shaped colliders.
There was a suggestion above that you should use a round collider. that's not right, but what you very likely need is a collider that is shaped like a cube, but, has rounded edges - bevels if you will.
(If you think about it, this is exactly what happens in real life. Real life cubes of all types have gently rounded edges, even if only seen at a small scale.)
You should try a collider like this ...
Turn off the box collider and add little balls like that. (You may wish to also leave on the box collider, perhaps inset a little, depending on how your game plays.)
Consider also using long thin capsule colliders along the edges.
It's perfectly normal that you have to use a collection of colliders, to, make an object work in a video game, it is the usual thing. A very simple example is, have you yet done a car game. At first you might just put one box collider for the car. But it's better to have one for the "lower part" of the car up to the lower window line, and then a box for the "upper part" of the car. Further, you might use perhaps a capsule collider for along the front or back. And so on.
in short try basically adding small "rounded, bumper" colliders to your object, and see if you can get what you need.
Don't forget that in real life that dice or box would indeed have rounded edges. You don't have absolutely sharp edges in real life.
Yes I am aware of penetration setting and I tried different values but it didn't help, thank you.
Fattie is correct in suggesting this is an option to look at, but it is ultimately a work around. It will make the problem 'less bad', and maybe if you make the corners round enough it'll even be 'good enough'! Certainly this is elegant in in simplicity (minimal code changes = good!), so if you can get it to work it's probably the right way to go.
Ultimately though this isn't about real life rounded corners - it is about the results of a separating axis / feature detection algorithm when looking at 2 neighboring boxes. Regardless of whether the corners are rounded, there is a mathematical discontinuity that occurs as a box vertex passes through the boundary in which feature extraction picks up a vertex-vertex or vertex-edge collision, rather than an edge-edge collision.
As long as this discontinuity exists, there is potential for error, manifesting as a 'bump'. It is minimized if you go to the ultimate 'roundness' - a circle, as mathematically the discontinuity disappears. However the finite nature of the physics engine will still result in discontinuities in the predicted collisions.
Short version: worth a go cos it's simple, but if you need 100% robust, you'll need to generate a proper edge collider as in my other answer.
Hi Chris, it might be surprising but I can absolutely assure you that this is completely standard procedure in basically every vid game, particularly console titles. This is literally how you make video games, unless you go to a mesh collider which is generally not relevant.
Note too that you've said a couple of times that this is an "error" and PhysX is not behaving "like in reality". In fact it is not an error, and is utterly correct. If, for some reason in your game you do want "sharp edges" that cause that type of "jump", you'd do precisely that. Because that's exactly how perfectly square boxes would behave in the real world.
(Note that if the OP happened to want that behavior in his game ... this is precisely what he would do!)
Indeed, almost certainly IN THE REAL WORLD if you were making this product, you would have slightly rounded corners on the PC and ALSO on the floor cubes.
{Indeed note OP, you should probably "round the corners" on the FLOOR CUBES AS WELL.}
It is well worth noting that IN THE REAL WORLD, if you were LITERALLY trying to do this, it's quite impossible. If you get very sharp edges cubes (the best you will be able to get outside of a machine shop is using Vegas-style craps dice, which have quite a sharp edge (it's hardly "sharp" but it's sharp enough for a demo), try lining some up "perfectly" flat as if a floor -- note that it will be totally impossible for you to do that unless you have an incredibly good extremely high precision machine shop bench -- and then slide another one over the top.
Of course .. what will happen? Obviously it will catch every edge.
if you DO NOT want that to happen, with a real-life product, you have to bevel every edge.
Again it might be surprising, but this is precisely how all the video games you play, are made. You typically use a few primitive colliders, to make a shape - "rounding" corners to stop edge catching is a totally typical example! Enjoy!
Well Fattie, as I say above, we'll have to agree to disagree. In my day job I write/use physics engines for PS4 games, though in the past it was other consoles (I did a lot of work on the physics in several of the Burnouts for example). Certainly in these and many other console games I've worked on we were very careful about what problems we solved by fiddling collision, and what problems we solved by other.
2D 360 degress platformer example needed
0
Answers
Why is this happening? (gif attached)
2
Answers
Velocity from external objects
0
Answers
Replicating genesis Sonic's collision physics
1
Answer
Mobile platformer jump not working 2D
1
Answer
|
https://answers.unity.com/questions/1114475/unity-physics-2d-crack-between-colliders.html
|
CC-MAIN-2019-51
|
en
|
refinedweb
|
Containers share some results from my use of FireLens, and provide recommendations for configuring it. This post is a deep dive on FireLens, Fluent Bit, and Fluentd. If you’re not familiar with Fluentd or Fluent Bit, you may want to familiarize yourself with them and the FireLens documentation before reading on.
What this post covers
- Why we built FireLens
- How FireLens works
- My experience using FireLens – Reliability and Recommendations
At AWS, our new features are driven by conversations with our customers. You can participate in this process by creating and commenting on issues in our public containers roadmap. The feedback we received on application logging was distilled into the following requirements:
- Support a wide-array of AWS Services as log destinations. From CloudWatch, to Amazon Elasticsearch Service and Amazon S3 with Amazon Athena, AWS provides multiple services, which can store and search your application logs.
- Require no additional configuration beyond the Task Definition. No one wants to worry about installing, configuring, and troubleshooting logging agents. No one wants to sift through documentation to find their use case. An ideal solution would simply have a set of examples for common use cases, which can be used as-is!
- Use Open Source for extensibility. If your use case is not supported, simply contribute changes or plugins to Fluentd or Fluent Bit. There’s no need to involve us 🙂
- Decorate logs with ECS Metadata. Log messages should be able to identify the AWS resources that created them.
- Observability on the performance of the log solution. You can enable logging for the Fluentd or Fluent Bit container, inspect resource usage, and obtain log delivery metrics. This is in contrast to Docker Log Drivers, which are “hidden” inside of the Docker Daemon.
- Facilitate partner integration. Since the announcement of the FireLens Public Preview, we’ve seen many of our partners add support for Fluentd and Fluent Bit. We’re pleased that FireLens is driving new contributions in open source!
From those use cases, it was clear we needed to build a solution based on Fluentd and Fluent Bit. Fluent Bit is our recommendation- because its resource utilization is considerably less than Fluentd. We support Fluentd because it’s an established tool with hundreds of plugins. Long term, we hope that FireLens energizes the open source community to add many of the features and all of the destinations that Fluentd supports in Fluent Bit. We will play a role in this by continuing to contribute plugins and improvements to Fluent Bit.
Why not simply recommend Fluentd and Fluent Bit? Why FireLens?
Fluentd and Fluent Bit are powerful, but large feature sets are always accompanied by complexity. When we designed FireLens, we envisioned two major segments of users:
- Those who want a simple way to send logs anywhere, powered by Fluentd and Fluent Bit.
- Those who want the full power of Fluentd and Fluent Bit, with AWS managing the undifferentiated labor that’s needed to pipe a Task’s logs to these log routers.
Our answer for the first group is best demonstrated by the GitHub repository of examples that we have created. Most of these examples only require configuration in the Task Definition, and they can be used with minor modification by anyone. They are straightforward to use, and require no knowledge of Fluentd and Fluent Bit.
Our solution for the second group is shown in the options field of the FireLensConfiguration object in the task definition:
To serve any advanced use case, you can pull an entire Fluentd or Fluent Bit config file from S3. This will be included with the configuration that ECS generates for you- more on that in the next section.
Storing the config file in S3 makes updates easier. I’ve personally found this very useful when testing out configurations. Before FireLens I always baked my config file into my Fluentd or Fluent Bit image- if I needed to change my configuration, I had to re-build my image and re-push it to Amazon ECR. With FireLens, I simply edit the file and re-upload to S3; when my tasks launch they automatically pull the new configuration.
Will you support other log routing projects?
We hope FireLens energizes the open source community to contribute more plugins and improve Fluentd & Fluent Bit. Standardization on those projects will help focus community efforts; fragmentation of features between many projects is not ideal. That being said, the interface for FireLens is minimal- other projects could be supported. If another open source logging project becomes dominant and is heavily requested by our customers, then we will support it.
How FireLens works
Is it a Docker log driver?
No. The
awsfirelens log driver is syntactic sugar for the Task Definition; it allows you to specify Fluentd or Fluent Bit output plugin configuration.
FireLens internals
The diagram above shows how FireLens works. Container standard out logs are sent to the FireLens container over a Unix socket via the Fluentd Docker Log Driver. The driver supports both tcp and Unix sockets; we chose Unix socket because it is the faster and more performant option. In addition, the FireLens container listens on a tcp socket for Fluent forward protocol messages– this allows you to tag and send logs from your application code using the Fluent Logger Libraries.
Generating Fluent Configuration
When the ECS Agent launches a Task that uses FireLens, it constructs a Fluent configuration file with the following parts:
- The log sources. These are the Unix and tcp sockets mentioned above.
- Transformer to add ECS Metadata. Unless you opt out, we use the record transformer plugin to add metadata to every log object.
- Optional User provided configuration. If you specify your own configuration file, we use the include directive to import it in the generated configuration file.
- Log sinks derived from the Task Definition. The configuration options you specify with the
awsfirelenspseudo-driver are converted to Fluentd or Fluent Bit output plugin configurations.
The configuration file is generated using our Golang Fluent Config Generation Project. You can view this generated configuration file after you launch an ECS Task with FireLens that uses the EC2 launch type. The configuration files are stored on the host, at the path specified by the value of the environment variable
ECS_HOST_DATA_DIR. By default, this variable is set to
/var/lib/ecs.
You can find the generated configuration file for your task at the following path on your EC2 instance:
You can see sample FireLens Fluentd and Fluent Bit configurations and their Task Definitions here.
The generated config file is mounted into your log routing container at the following paths:
- Fluentd:
/fluentd/etc/fluent.conf
- Fluent Bit:
/fluent-bit/etc/fluent-bit.conf
These are the default config file paths used by the official Fluentd and Fluent Bit images. Any Fluentd or Fluent Bit container image can be used with FireLens as long as it uses those default paths.
Implications of Config Ordering- One reason to use Fluent Bit
Fluent Bit internal log processing pipeline
The diagram above shows the internal log processing pipeline for Fluent Bit. This ordering is always enforced, regardless of the order of sections in the configuration file. This is very convenient for FireLens users. It means that you can add log sources, filters, and outputs to your optional extra config file.
Recall the config file ordering from earlier:
- The log sources.
- Transformer to add ECS Metadata.
- Optional User provided configuration.
- Log sinks derived from the Task Definition.
If the user provided Fluent Bit config file includes a log source, ECS Metadata will be added to the logs it ingests even though the source comes after the ECS Metadata transformer. It also means that you can easily send logs to multiple destinations. You can even split these multiple outputs between the Task Definition and you optional config; one can come from the Task Definition log configuration section, and others can be present in your config. I’ve created an example that demonstrates this here.
Neither of the above are possible with Fluentd. Log messages flow through a Fluentd config file in the order that sections appear, and they are sent to the first output that matches their tag.
Log Tagging in the generated config file
Fluentd and Fluent Bit route log events via tags- each log message has a tag, and each configuration section includes a pattern, which determines which tags it will be applied to. As you can see in the examples, the record modifier that adds ECS Metadata matches * for Fluent Bit and ** for Fluentd. This means that all logs have ECS Metadata added (with the caveat noted for Fluentd in the previous section that not all events “pass through” this section). See the Fluentd documentation for an explanation on why ** is needed.
The log outputs generated from the Task Definition match
<container name>-firelens* and
<container name>-firelens**. So, if you’re using Fluent Bit and your container name is app, the match pattern is
app-firelens*.
Container standard out logs are tagged with
<container name>-firelens-<task ID>. So if your container name is
app and your Task ID is
dcef9dee-d960-4af8-a206-46c31a7f1e67, the tag is
app-firelens-dcef9dee-d960-4af8-a206-46c31a7f1e67.
The CloudWatch plugins for Fluentd and Fluent Bit both allow you to auto-create a log stream named by the log tag. Thus, your log stream can be named based on the container and task which its logs originated from.
Let’s use this information to accomplish something cool. Recall from the FireLens documentation that ECS injects the environment variables
FLUENT_HOST and
FLUENT_PORT (when you use the bridge or awsvpc network mode), which allow you to connect to the TCP port, which your log router is listening at.
Use the FireLens CloudWatch example task definition; with the following log configuration:
You can then use a Fluent Logger Library in your application code; example code for the Python logger library is shown below:
from fluent import sender # connect to FireLens log router # container name is 'app' logger = sender.FluentSender('app-firelens', host=os.environ['FLUENT_HOST'], port=int(os.environ['FLUENT_PORT'])) # send a debug message with tag app-firelens.debug logger.emit('debug', {'log': 'debug info'}) # send an error message with tag app-firelens.error logger.emit('error', {'log': 'Error: Something went wrong'})
In the log group
firelens-blog, you get separate log streams for the debug and error messages because each are tagged differently.
My experience using FireLens: reliability and recommendations
During the development of FireLens and the AWS Fluent Bit plugins, I wanted to test that they could reliably delivery my logs to destinations and would be tolerant against scenarios that could cause log loss. I also was interested in understanding the resource usage of Fluent Bit with the AWS plugins under various loads. To this end, I performed some experiments.
Please note that these results do not represent a guarantee. Your results may differ. I merely want to share my experience as a FireLens and Fluent Bit user.
Reliability
Reliability is key for any logging solution. There are many situations that can lead to log loss: misconfiguration of permissions or network, a lapse in availability of the destination service, etc. With FireLens, the most common cause of log loss will be task termination. When your task dies, the FireLens side-car container stops, and any unsent logs are lost forever. This can be mitigated by configuring Fluentd or Fluent Bit with a persistent file buffer, however, that option is not available on Fargate (no persistent storage) and necessitates a cumbersome process of collecting logs from the unsent file buffers after task termination.
Ideally, all logs should be sent by the time the logging side-car is terminated. To test this, I created a fake application that logs predictable events, which can later be counted at the log destination. This logger emits logs at a configurable rate per second for 1 minute. It then immediately exits.
Before we analyze the results of my tests, we must understand what happens when a Task shuts down.
Unless overridden with our Container Dependency feature, ECS ensures that the FireLens container starts first and stops last. (More precisely, it will start before any containers that use the
awsfirelens log driver, and will stop after any containers that use the
awsfirelens log driver).
So in my log loss test, the app container exited first. Since it is essential, this will trigger the Task to terminate. The ECS Agent then sends a SIGTERM to the Fluent Bit/FireLens container, notifying it that it should clean up and prepare to shut down. Then, 30 seconds later it will send a SIGKILL, forcibly stopping the container. (This 30 second timeout is called a “grace period” and is configurable in ECS on EC2).
However, while performing these tests, I discovered that Fluent Bit by default only waits 5 seconds after receiving a SIGTERM before shutting itself down. This means that it is not using the full 30 seconds that it is allowed. I also discovered that by default, Fluent Bit tries to flush logs to the output plugins every 5 seconds. For each flush, the AWS plugins can and will make multiple API calls. However, we can improve throughput by decreasing this interval.
Both of these settings can be changed with the Service section of the Fluent Bit configuration file. The Grace setting configures the SIGTERM timeout, and the Flush setting configures the flush interval.
I performed tests with both the default Fluent Bit settings, and with these “optimized” settings. You can see all of the code for my performances tests here. The tests were performed under the following conditions:
- The tasks ran on a c5.9xlarge Amazon EC2 instance.
- Every Task used the Amazon VPC network mode, so that each got its own Elastic Network Interface.
- The application container outputted logs for 1 minute and then exited.
- I used the task level CPU and Memory settings; each task was given 1 GB of memory and 0.5 vCPU.
- Tests were performed with Kinesis Data Firehose and CloudWatch Logs as destinations. For Kinesis Data Firehose I increased the throughput limit on my delivery stream to 30,000 records per second (the default is 1000 in most regions). It should be noted that most FireLens users will need to request limit increases in order to use Kinesis Data Firehose for their logs.
- For each log emission rate, I ran 5 test cases.
FireLens Log Loss Test with Fluent Bit Default Settings
MIN is the worst performing test case out of the 5 total test runs.
FireLens Log Loss Test with Fluent Bit “Optimized” Settings
The optimized settings clearly increase performance. The difference in results is most noticeable for the MIN value- the optimized settings provide more consistent results.
The CloudWatch Fluent Bit plugin very slightly outperforms the Firehose plugin in both testing scenarios. This is probably because the CloudWatch PutLogEvents API accepts 10,000 events per request, while the Firehose PutRecordBatch API only accepts 500. I suspect that each request adds a small amount of overhead; thus larger API batch sizes result in slightly higher throughput.
However, all in all, the results are very good even with the default settings. Many applications will not output logs at the rate needed to see a benefit from the optimized settings. However, for those applications that do output logs at a high rate, using these settings is encouraged.
As of version 1.3.2 of the AWS for Fluent Bit image, I have baked the “optimized” configuration file in the image at the path
/fluent-bit/configs/minimize-log-loss.conf. You can use it with FireLens by adding the following section to the container definition for your Fluent Bit container:
While the results of those tests were satisfactory, I was curious about the memory usage of the Fluent Bit container. In order to successfully send all those logs, was its memory usage spiking significantly? So I performed the tests with default settings again, but this time set a hard memory limit of 100 MB on the Fluent Bit container. This means that if it exceeds 100 MB of memory usage, it would get OOM-Killed, and logs would be lost.
FireLens Log Loss Test with Fluent Bit Default Settings – 100 MB Hard Memory Limit
The results indicate that up to 7,000 log lines per second, Fluent Bit can send logs to AWS destinations while consuming less than 100 MB of memory. Interestingly, the Firehose plugin once again performs slightly worse than the CloudWatch plugin. The results strongly suggest that the Firehose plugin is more readily OOM-Killed than the CloudWatch plugin. This is probably once again due to its smaller API batch size; the in-memory buffer is filled more quickly because logs are being sent slower.
Future Improvements
Based on these results, I’ve opened two issues for improvements:
- Batch multiple log lines into a single record in Fluent Bit Firehose Data Streams plugin – amazon-kinesis-firehose-for-fluent-bit#12
- Set Grace to 30 when FireLens users do not specify a custom config – containers-roadmap#579
Resource Usage
Fluent Bit CloudWatch
Fluent Bit Data Firehose
Tests were run on a c5.9xlarge Amazon EC2 instance.
These results from my resource utilization tests were already published in Centralized Container Logging. I suggest using them to estimate the Task Size, which you will need on Fargate when you use FireLens. You can also use these values to set the CPU and memoryReservation fields in your FireLens container definition. I recommend against setting a hard memory limit with the memory field however; Fluent Bit and Fluentd’s memory usage can occasionally spike, and this will cause your container to get OOM Killed. Since the FireLens container must be essential- this will kill your task. As shown in the previous section on log loss, Fluent Bit can process logs at a high rate without using more than 100 MB of memory. However, it is still safer to not use a hard memory limit.
Finally, I ran a FireLens Task that uses Fluent Bit to send logs to Kinesis Data Firehose. I let this Task run for two weeks, to ensure that its memory usage remained stable over time. The results verify that there are no long term memory leaks or other issues; it is stable over time. This is to be expected- Fluent Bit is an established tool with a size-able user base.
FireLens Fluent Bit Memory Usage over 2 weeks
Conclusion
In this post, you learned why we built FireLens, and how it works. Knowing how it works, you learned tips on how to write custom configuration files for Fluentd and Fluent Bit. Finally, you learned the results of my resource usage and log loss tests, from which you learned tips on provisioning resources for your log router, and optimize for reliability.
We would like your feedback as we continue to optimize the logging experience for AWS Containers customers. What should we add to FireLens or to our Fluent Bit integration? Please open issues or comment on GitHub at our aws/container-roadmap and aws/aws-for-fluent-bit repositories. We take feedback received there seriously; the number of +1s and comments on issues help us determine which features are most important to our customers.
Finally, AWS re:Invent 2019 is around the corner. If you are attending, consider signing up for one of the following sessions on FireLens and Fluent Bit. They will be led by myself and Eduardo Silva, creator of Fluent Bit.
|
https://aws.amazon.com/blogs/containers/under-the-hood-firelens-for-amazon-ecs-tasks/
|
CC-MAIN-2019-51
|
en
|
refinedweb
|
I want to know how to remove all periods occurring after the end of a word but not from float values in string.
Example:
import re
title= "Remove. dot from here but not from 4.334"
print title
title=re.sub(r'\.', '', title)
print title
You could use an assertion or two:
>>> re.sub(r'(?<!\d)\.(?!\d)', '', title) 'Remove dot from here but not from 4.334'
Precisely negative lookbehind and positive lookahead assertions
|
https://codedump.io/share/MhMa5xJwZuYr/1/regex-python-remove-full-stop-from-end-of-word-but-not-in-float
|
CC-MAIN-2017-39
|
en
|
refinedweb
|
These C API functions provide general Unicode string handling.
Some functions are equivalent in name, signature, and behavior to the ANSI C <string.h> functions. (For example, they do not check for bad arguments like NULL string pointers.) In some cases, only the thread-safe variant of such a function is implemented here (see u_strtok_r()).
Other functions provide more Unicode-specific functionality like locale-specific upper/lower-casing and string comparison in code point order.
ICU uses 16-bit Unicode (UTF-16) in the form of arrays of UChar code units. UTF-16 encodes each Unicode code point with either one or two UChar code units. (This is the default form of Unicode, and a forward-compatible extension of the original, fixed-width form that was known as UCS-2. UTF-16 superseded UCS-2 with Unicode 2.0 in 1996.)
Some APIs accept a 32-bit UChar32 value for a single code point.
ICU also handles 16-bit Unicode text with unpaired surrogates. Such text is not well-formed UTF-16. Code-point-related functions treat unpaired surrogates as surrogate code points, i.e., as separate units.
Although UTF-16 is a variable-width encoding form (like some legacy multi-byte encodings), it is much more efficient even for random access because the code unit values for single-unit characters vs. lead units vs. trail units are completely disjoint. This means that it is easy to determine character (code point) boundaries from random offsets in the string.
Unicode (UTF-16) string processing is optimized for the single-unit case. Although it is important to support supplementary characters (which use pairs of lead/trail code units called "surrogates"), their occurrence is rare. Almost all characters in modern use require only a single UChar code unit (i.e., their code point values are <=0xffff).
For more details see the User Guide Strings chapter (). For a discussion of the handling of unpaired surrogates see also Jitterbug 2145 and its icu mailing list proposal on 2002-sep-18.
Definition in file ustring.h.
#include "unicode/utypes.h"
#include "unicode/putil.h"
#include "unicode/uiter.h"
Go to the source code of this file.
|
http://icu.sourcearchive.com/documentation/4.4.1-2/ustring_8h.html
|
CC-MAIN-2017-39
|
en
|
refinedweb
|
Thank you very much Jaseem !
Worked like a charm, I can know make my old EOS350D to make long exposure shot (I just need to disable automounting of the DSLR as a disk).
Very first step of my automatic acquisition setup is made, there are so many experiments I can do now
Thank you again for your precious help.
Just a small up to know if someone can help me with that problem, or at leat give me hints about how to translate what we see from indi gui to PyIndi or even C++ client code.
Thank you in advance
Update wit logs on my problem:
Hi everybody,
First of all, thank you for this client, it is exactly what I needed for my experiments, being able to script everything, especially the CCD acquisition.
Unfortunately, I have trouble understanding how the indi client works, and how the python/c++ wrapper shoud be used.
Here is my specific usecase: I want to control a DSLR that uses an external serial shutter. This works when using the gui from kstars.
Unfortunately, I don't understand how I should set up the serial shutter port through PyIndi client.
The driver code that sends the text I want to modify looks like that:
IUFillText(&mPortT[0], "PORT", "Port", "");
IUFillTextVector(&PortTP, mPortT, NARRAY(mPortT), getDeviceName(), "DEVICE_PORT", "Shutter Release", MAIN_CONTROL_TAB, IP_RW, 0, IPS_IDLE);
And the Indi logs when I set the valuethrought the Gui look like that:
2017-07-17T17:09:31: Client 0: read
2017-07-17T17:09:31: Driver indi_canon_ccd: queuing responsible for
2017-07-17T17:09:31: Driver indi_canon_ccd: sending <newTextVector device="Canon DSLR Digital Rebel XT
2017-07-17T17:09:31: Driver indi_canon_ccd: read
2017-07-17T17:09:31: Client 0: queuing
2017-07-17T17:09:31: Client 0: sending <setTextVector device="Canon DSLR Digital Rebel XT
It looks like the client is sending a new text, ie (setTextVector), this is why, I tried the following code in my client:
self.sendNewText(Canon DSLR Digital Rebel XT (normal mode),"DEVICE_PORT","Shutter Release","/dev/ttyUSB0")
Unfortunately, the above line result in the following error:
No IText 'Shutter Release' in Canon DSLR Digital Rebel XT (normal mode).DEVICE_PORT
I would be extremely happy to know more about Indi, and the PyIndi client, to interact with this middleware in the general case.
Thank you in advance for your help
Dear all,
I am trying to setup a python script to acquire multiple images from my Canon DSLR EOS350D.
I am able to get images in bulb mode through a usb cable on ttyUSB0 using the gui included in kstars.
However, I cannot find in the PyIndi client or C++ command to send this kind of information.
There are still many things that I don't understand about indi drivers, I would be really happy if someone could tell me a bit more about those property/text/ ??? from indi/3rdparty/indi-gphoto/gphoto_ccd.cpp:
IUFillText(&mPortT[0], "PORT", "Port", "");
IUFillTextVector(&PortTP, mPortT, NARRAY(mPortT), getDeviceName(), "DEVICE_PORT", "Shutter Release",
MAIN_CONTROL_TAB, IP_RW, 0, IPS_IDLE);
As weird as it can be... testing with indi_canon_ccd now works as expected...
I don't really understand how this is possible, probably a switch somewhere is the code, I'll check that later. Now that I can acquire with the indi control panel, I'll check with Ekos, and then setup my python acquisition script.
Hey, thank you fenriques !
I think those are exactly the same unfortunately:
/indi/3rdparty/indi-gphoto/CMakeLists.txt:"exec_program(\"${CMAKE_COMMAND}\" ARGS -E create_symlink ${BIN_INSTALL_DIR}/indi_gphoto_ccd \$ENV{DESTDIR}${BIN_INSTALL_DIR}/indi_canon_ccd)\n
Hi all,
I am trying to use the indi_gphoto_ccd driver under linux. On my laptop, it works, I can even acquire images in bulb mode using a usb-serial adapter with a handmade signal converter.
However, when I connect the Canon DSLR to my small arm box (not a raspberry pi, but a S912 box under armbian), I cannot acquire any images, i obtain the following error (logged through the client):
Error starting exposure
It is a shame because if I use the following gphoto command, I can acquire images on this platform:
gphoto2 --capture-image-and-download --filename "test.jpg"
The latter command works perfectly.
How can I debug this ?
Thank you in advance, this is one of the last problem I have to solve to get myself a proper beginner indi setup.
Recently came across the same problem, I always use the github repo for indi library.
I had to update kstars-bleeding with sudo apt-get install kstars-bleeding
Unfortunately, after that, I got the following error:
Unable to open city database file "/usr/share/kstars/citydb.sqlite" "Driver not loaded Driver not loaded"
Any idea of why I am now getting this error ?
Thank you in advance
It is not clear to me if this problem have been solved ?
I am experiencing the exact same path problem.
PS: any comment on how to add cooling periods for the ccd between exposure, or simply writing better python code (avoid polling) would be much appreciated
Thank you Gaheel,
While the initial post was being reviewed by admin, I solved the peoblem, I'll post my python3 version of the tutorial:
import sys, time, logging
import PyIndi
import io
class IndiClient(PyIndi.BaseClient):
device=None
imgIdx=0
def __init__(self):
super(IndiClient, self).__init__()
self.logger = logging.getLogger('PyQtIndi.IndiClient')
self.logger.info('creating an instance of PyQtIndi.IndiClient')
def newDevice(self, d):
self.logger.info("new device " + d.getDeviceName())
if d.getDeviceName() == "CCD Simulator":
self.logger.info("Set new device CCD Simulator!")
# save reference to the device in member variable
self.device = d
def newProperty(self, p):
self.logger.info("new property "+ p.getName() +
" for device "+ p.getDeviceName())
if (self.device is not None
and p.getName() == "CONNECTION"
and p.getDeviceName() == self.device.getDeviceName()):
self.logger.info("Got property CONNECTION for CCD Simulator!")
# connect to device
self.connectDevice(self.device.getDeviceName())
# set BLOB mode to BLOB_ALSO
self.setBLOBMode(1, self.device.getDeviceName(), None)
if p.getName() == "CCD_EXPOSURE":
# take first exposure
self.takeExposure()
def removeProperty(self, p):
self.logger.info("remove property "+ p.getName() +
" for device "+ p.getDeviceName())
def newBLOB(self, bp):
self.logger.info("new BLOB "+ bp.name)
# get image data
img = bp.getblobdata()
# write image data to StringIO buffer
blobfile = io.BytesIO(img)
# open a file and save buffer to disk
with open("frame"+str(self.imgIdx)+".fit", "wb") as f:
f.write(blobfile.getvalue())
self.imgIdx+=1
# start new exposure for timelapse images!
self.takeExposure()
def newSwitch(self, svp):
self.logger.info ("new Switch "+ svp.name.decode() +
" for device "+ svp.device.decode())
def newNumber(self, nvp):
self.logger.info("new Number "+ nvp.name +
" for device "+ nvp.device)):
print("Server connected ("+self.getHost()+":"+str(self.getPort())+")")
def serverDisconnected(self, code):
self.logger.info("Server disconnected (exit code = "+str(code)
+","+str(self.getHost())+":"+str(self.getPort())+")")
"""
Now application related methods
"""
def takeExposure(self):
self.logger.info("<<<<<<<< Exposure >>>>>>>>>")
# get current exposure time
exp = self.device.getNumber("CCD_EXPOSURE")
# set exposure time to 5 seconds
exp[0].value = 5
# send new exposure time to server/device
self.sendNewNumber(exp)
#Configure logger
logging.basicConfig(format='%(asctime)s %(message)s', level=logging.INFO)
# instantiate the client
indiclient=IndiClient()
# set indi server localhost and port 7624
#indiclient.setServer("192.168.0.73",7624)
indiclient.setServer("localhost",7624)
# connect to indi server
print("Connecting and waiting 2secs")
if (not(indiclient.connectServer())):
print("No indiserver running on "+indiclient.getHost()+":"+
str(indiclient.getPort())+" - Try to run")
print(" indiserver indi_simulator_telescope indi_simulator_ccd")
sys.exit(1)
time.sleep(1)
# start endless loop, client works asynchron in background
while True:
time.sleep(1)
#One can now open images:
#from astropy.io import fits
#hdulist = fits.open('input.fits')
#hdulist.info()
#plt.imshow(hdulist[0].data)
#plt.show()
#del hdul[0].data
#hdulist.close
Dear all,
I would like to setup a simple script to acquire multiple images from my DSLR (Cannon EOS 350D). To do so, I tried to follow the nice tutorial here:
Unfortunately, I got the following error:
self.logger.info("new Message "+ d.messageQueue(m).decode())
AttributeError: 'SwigPyObject' object has no attribute 'decode'
def newMessage(self, d, m):
self.logger.info("new Message "+ d.messageQueue(m).decode())
indiserver indi_simulator_ccd
Dear all,
I would like to setup a simple script to acquire multiple images from my DSLR (Cannon EOS 350D). To do so, I tried to follow the nice tutorial here:
indilib.org/develop/tutorials/151-time-l...ith-indi-python.html
Unfortunately, I got the following error:
self.logger.info("new Message "+ d.messageQueue(m).decode())
AttributeError: 'SwigPyObject' object has no attribute 'decode'
Related to the following line:
def newMessage(self, d, m):
self.logger.info("new Message "+ d.messageQueue(m).decode())
It should be noticed that I use the indi server along with the CCD Simulator driver:
indiserver indi_simulator_ccd
What is wrong with this code ?
Thank you very much for your help
|
http://www.indilib.org/support/community/4037-thibault/profile.html
|
CC-MAIN-2017-39
|
en
|
refinedweb
|
CodePlexProject Hosting for Open Source Software
Hi,
As part of implementing a DLR language, I'm trying to compile the script in debug mode (so it can be debugged in VS like IronPython scripts)
I have my Debuginfo objects in the expression tree.
As suggested in an earlier post, I am compiling the lambda expression using CompileToMethod rather than lambda.compile.
but it fails with an exception when it returns from the Run method in the language specific ScriptScope .
Here is the Run method.
My ultimate aim is to write an IDE / debugger for the language so does anyone know of any examples / walkthroughs of implementing DebugContexts, TracePipelines etc ?
Thanks in advance.
{
DebugInfoGenerator dg =
DebugInfoGenerator.CreatePdbGenerator();
if (_compiledLambda ==
null)
{
return _compiledLambda(_sdl, scope);
}
The exception is a System.MethodAccessException
The stack trace is
"lambda_method$1$1.lambda_method$1(DLR.SDL.SDL, System.Dynamic.IDynamicMetaObjectProvider)"
" at lambda_method$1$1.lambda_method$1(SDL SDLRuntime, IDynamicMetaObjectProvider fileModule)\r\n
at DLR.SDL.SDLScriptCode.Run(Scope scope) in C:\\Workspace\\DLR.SDL\\DLR.SDL\\SDLScriptCode.cs:line 61\r\n
at Microsoft.Scripting.SourceUnit.Execute(Scope scope, ErrorSink errorSink)\r\n at Microsoft.Scripting.SourceUnit.Execute(Scope scope)\r\n
at Microsoft.Scripting.Hosting.ScriptSource.Execute(ScriptScope scope)\r\n
at Microsoft.Scripting.Hosting.ScriptEngine.ExecuteFile(String path, ScriptScope scope)\r\n
at Microsoft.Scripting.Hosting.ScriptEngine.ExecuteFile(String path)\r\n
at TestApp.Form1.runToolStripMenuItem_Click(Object sender, EventArgs e) in C:\\Workspace\\DLR.SDL\\TestApp\\Form1.cs:line 83"
The dump of the lambda \ expression tree is
".Lambda #Lambda1<Microsoft.Scripting.Utils.Func`3[DLR.SDL.SDL,System.Dynamic.IDynamicMetaObjectProvider,System.Object]>(\r\n
DLR.SDL.SDL $SDLRuntime,\r\n
System.Dynamic.IDynamicMetaObjectProvider $fileModule) {\r\n .Block(System.Double $I) {\r\n
$I = 0D;\r\n
.DebugInfo(C:\\WORKSPACE\\DLR.SDL\\TESTAPP\\BIN\\DEBUG\\DEBUG.SDL: 2, 5 - 3, 8);\r\n
.Block() {\r\n $I = 1D;\r\n .Loop {\r\n
.Block() {\r\n
.If ($I > 5D) {\r\n
.Goto #Label1 { }\r\n }
.Else {\r\n .Default(System.Void)\r\n
};
\r\n .DebugInfo(C:\\WORKSPACE\\DLR.SDL\\TESTAPP\\BIN\\DEBUG\\DEBUG.SDL: 16707566, 0 - 16707566, 0);\r\n
.Call System.Console.WriteLine((System.Object)$I);\r\n
$I += 1D\r\n }\r\n
};\r\n .Label\r\n
.LabelTarget #Label1:\r\n };\r\n null\r\n }\r\n}"
The same error occurs even if there are no DebugInfos in the expression tree.
Are all members and types you access from the lambda public? (e.g. DLR.SDL.SDL class)
Thanks Thomas
The SDL class declaration wasn't public ie
class SDL
When I made this public
public class SDL
it worked.
What is the correct way of putting DebugInfos into loops ?.
I have a FOR loop and I want the debugger to stop when the loop is entered and each time it evaluates the loop condition
Expression.Assign(variable, <start value>)
Expression.Loop
Expression.Label(exitlabel)
The Loop body consists of
Expression.IfThen(Expression.GreatarThan(variable, <end value>), Expression.Goto(exitlabel))
..loop body..
Expression.AddAssign(variable, <step value>)
I have found the putting a DebugInfo - CloseDebugInfo arrount the Assign, Loop and exit label block gives me the behaviour I want.
However, when I coded a DO .. WHILE loop where the condition is evaluated at the end of the loop body, the debugger did not stop on the loop condition.
Isn't the correct way to put the debug block around the IfThen in the loop body ?
Also is it ok to have a CloseDebugInfo immediately after a DebugInfo ? Again this seems to work but need to check.
Are you sure you want to delete this post? You will not be able to recover it later.
Are you sure you want to delete this thread? You will not be able to recover it later.
|
http://dlr.codeplex.com/discussions/217186
|
CC-MAIN-2017-39
|
en
|
refinedweb
|
.
and use this:and use this:
public class StringValue{ public string Value{get;set;} }
BindingList<StringValue> blist = new BindingList<StringValue>(); foreach (DataColumn col in DataSet1.Tables[0].Columns) { string total = DataSet1.Tables[0].Compute("Sum(" + col.ColumnName + ")", "ID > 0").ToString(); blist.Add(new StringValue(){Value=total}); } dataGridView1.AutoGenerateColumns = true; dataGridView1.DataSource = blist;
dataGridView1.DataSource = blist.Select(x => new { Value = x }).ToList();
If you are experiencing a similar issue, please ask a related question
Join the community of 500,000 technology professionals and ask your questions.
|
https://www.experts-exchange.com/questions/27300272/DataGridView-DataSource-BindingList.html
|
CC-MAIN-2017-39
|
en
|
refinedweb
|
Csharp Interfaces And Multiple Inheritance
Task
I want to test what happens if a class inherits two or more interfaces with the same method.
I make a silly example of a class that implements Spin in two different ways. First a ballerina-interface where Spin would mean that the ballerina rotates at a certain speed. Then a cat-interface. The Swedish word for purring is Spin, so do not be confused if it makes no sense in your favourite language.
This example is available here: [1]
Inheritance Diagram
It is this simple...
Object | +--- IBallerina | +--- ICat | myDancingKitten
IBallerina
Any ballerina can spin and answer if they need any toes cut to fit into a shoe of a certain size.
// a dancer in a silly dress public interface IBallerina { void Spin(int RPM); bool NeedToCutToe(int ShoeSize); }
ICat
Cats can spin (purr in english) and answer if they need a shave.
// Felis catus public interface ICat { bool NeedsShave(); void Spin(int RPM); }
The class myDancingKitten
First we need a to implement the spin-, needsshave- and needtocuttoe-methods and the other functions in a small class.
// A Felis catus in a silly dress public class myDancingKitten : IBallerina, ICat { public void Spin(int RPM) { Console.WriteLine("purr screeeeeeeech!!!!"); } public bool NeedsShave() { // // shaving cats is fun, right? // [2] // return true; } public bool NeedToCutToe(int ShoeSize) { // all cats have very small feet return false; } }
Small test class
We make a small test class with the original name program. Here we create three functions that take a ballerina, a cat and a dancing kitten and then calls its Spin function.
static class Program { static void PlayWithBallerina(IBallerina balle) { balle.Spin(216); } static void PlayWithCat(ICat kitty) { kitty.Spin(666); } // if I ever get a kitten that can danse I'll call it Belzeebub static void PlayWithMyDancingKitten(myDancingKitten Belzeebub) { Belzeebub.Spin(314); } static void Main(string[] args) { myDancingKitten Belzeebub = new myDancingKitten(); PlayWithBallerina(Belzeebub); PlayWithCat(Belzeebub); PlayWithMyDancingKitten(Belzeebub); Console.Write("Press Andy to continue . . . ."); Console.ReadKey(); } }
First Output
purr screeeeeeeech!!!! purr screeeeeeeech!!!! purr screeeeeeeech!!!! Press Andy to continue . . . .
More advanced usage
Since it is obvious that we intend different things when we spin the cat as if it was a cat or it was a ballerina (and perhaps also as if it was a dancing kitten).
We add two more cases of the spin-method in the dancing kitten class:
void IBallerina.Spin(int RPM) { Console.WriteLine("screeeeeeeech!!!!"); } void ICat.Spin(int RPM) { Console.WriteLine("purr purr..."); }
We now have three Spin-methods.
- First one method that tells us how the dancing kitten will spin if it is expected to behave as a ballerina. Clearly the poor cat does not like being tossed around like that.
- Also a method that tells us how the cat behaves if he is purring. This is nice. The cat likes to purr.
- A final one (the first one we implemented) that tells us how the cat behaves if someone knows he is a dancing kitten and wants him to spin. This is a little strange for the cat - first he likes it then he throws up.
Advanced output
The output is different now. The testprogram is the same, but the class is different.
screeeeeeeech!!!! purr purr... purr screeeeeeeech!!!! Press Andy to continue . . . .
Conclusion
This is really nice clearly a dancing kitten must be able to behave both as a cat and as a ballerina (even if he does not like it). Also a dancing kitten can behave just as a dancing kitten. This allows for nice and flexible inheritance, but still with some sort of strictness.
This page belongs in Kategori Programmering.
|
http://pererikstrandberg.se/blog/index.cgi?page=CsharpInterfacesAndMultipleInheritance
|
CC-MAIN-2017-39
|
en
|
refinedweb
|
The three most common changes you will make to your website involve the look (themes), the functionality (plugins), and modular elements (widgets).
In this article we will briefly define each again, and give you directions on how to install them.
using System; using Xunit; using System.Xml; public class XMLisValid { [Fact] public void testXMLValid(string source) { XmlDocument doc = new XmlDocument(); Assert.DoesNotThrow( delegate { doc.Load(source); }); } }
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
[Fact] public void testJSONValid(string source) { HashTable jsonHash = (Hashtable)Procurios.Public.JSON.JsonDecode(jsonCode); ArrayList jsonResults = (ArrayList)jsonHash["results"]; foreach (object objResult in jsonResults) { //Add asserts here asserting that jsonResults contains correct values(i.e. jsonResult["ExpectedVariableName"] should contain ???) } }
If you are experiencing a similar issue, please ask a related question
Join the community of 500,000 technology professionals and ask your questions.
|
https://www.experts-exchange.com/questions/24530175/How-do-I-validate-JSON-using-C-Xunit.html
|
CC-MAIN-2017-39
|
en
|
refinedweb
|
This blog post contains helpful tips and insights to make working with Node.js a smooth, safe and enjoyable experience, whether you’re just starting out with Node.js or have been using it for a while. We’ll be covering four topics:
- Debugging
- The ecosystem
- Throwing
- Control flow
Debugging
Node.js has a built-in debugger. For those who have worked with lower-level languages, like C/C++, the built-in Node debugger may feel familiar. It resonates with the likes of GDB or LLDB:
$ node debug myApp.js
Node.js developers tend to come from various backgrounds. For those comfortable with debuggers like GDB, the built-in Node debugger may feel like home. However, others come to Node.js from front end JavaScript development or perhaps from languages with powerful IDE support. These developers may prefer a more visual debugging experience. Enter Iron Node:
$ npm -g i iron-node $ iron-node index.js
Iron Node is built on top of the very awesome Electron. Electron provides a shared Node and Chrome environment. This marriage allows us to use Chrome Devtools on a Node codebase. Iron Node simply connects the dots to package that functionality.
There is one problem with this approach. Electron builds typically lag behind the latest Node version, and Iron Node typically lags behind the latest Electron version. This means that if we’re using cutting edge Node or v8 features Iron Node will choke on them. For instance, Node 4+ will run this perfectly:
require('http').createServer((req, res) => { debugger; res.end('hi'); }).listen(3000);
Currently Iron Node will throw a syntax error. This particular problem shouldn’t last long since Iron Node is in the process of being updated. In these scenarios, Babel can be used as a workaround for syntax dissonance between versions:
$ npm i -g babel babel-preset-es2015 $ babel --presets $(npm get prefix)/lib/node_modules/babel-preset-es2015 index.js > index.debug.js $ iron-node index.debug.js
It’s beyond our scope for this article, but as a side note both Iron Node can also can perform heap and CPU profiling – however bear in mind that such profiling includes the Iron Node environment alongside our app. An alternative is Node Inspector, this debugging environment hooks into Nodes Remote Debugging API so the profiling and debugging occur only in the context of the node process. It also means it doesn’t suffer from the version disparity as Iron Node does. On the other hand Node Inspector is noticeably slower and feels less integrated to work with since it operates over TCP and WebSockets instead of in memory.
Debug logs
Whilst
console.log is a familiar friend in times of need, littering default output with highly specific log statements eventually increases the difficulty of debugging other areas. As a result,
console.log debugging oscillates between the need for detail and the need for silence.
The
debug module allows us to instrument our code with logs that are hidden by default:
$ npm install debug --save
To create a debug logger we simply call the
debug module and supply a namespace:
var debug = require('debug')('myMod'); module.exports = function myMod(some, args) { debug('myMod called'); };
The debug logger is enabled via setting the
DEBUG environment variable:
$ node -e "require('./myMod.js')()" $ DEBUG=myMod node -e "require('./myMod.js')()" myMod myMod called +0ms
Or on Windows:
> set DEBUG=myMod > node -e "require('./myMod.js')()" myMod myMod called +0ms > set DEBUG=
We used the
-e flag to execute a code snippet to require our module and invoke the exported function. When the
DEBUG module matches the
myMod namespace the
debug module returns a logger function instead of a noop function.
If our code is more complex, it may be appropriate to provide fine-grained control of debug logs.
Say we have library module called
myLib that’s local the
myMod module:
var debug = require('debug'); var info = debug('myMod:myLib'); var verbose = debug('verbose:myMod:myLib'); var silly = debug('silly:myMod:myLib'); module.exports = function myLib(some, args) { info('myLib called'); verbose('myLib arguments' + JSON.stringify(arguments)); if (silly.enabled) { silly('myLib stack ' + Error().stack.replace(/Error\n\s+at Error \(native\)\n\s+/, '')); } }
We’ve sub-namespaced
myLib to
myMod, this convention means we can target debug logs and can either get all debug logs for a particular module using
DEBUG=myMod:* where the asterisk (
*) is interpreted as a wildcard or we target a specific library by referencing it specifically (
DEBUG=myMod:myLib). Multiple debug targets can be tied together with a comma:
DEBUG=myMod:myLib, myMod:myOtherLib.
Creating a stack is a potentially intensive operation. The
debug module supplies the
enabled property on each logger for these sorts of scenarios. Note how we check the
enabled property of the
silly log function.
For
verbose and
silly log levels, we’ve prefixed the namespace. The
loglevel:mod:lib pattern allows for a great deal of flexibility:
$ DEBUG=verbose:myMod:myLib node -e "require('./myLib')(1, 2)" #verbose my lib logs $ DEBUG=verbose:myMod:* node -e "require('./myLib')(1, 2)" # verbose logs for all myMod libs $ DEBUG=verbose:* node -e "require('./myLib')(1, 2)" # all verbose logs for an app $ DEBUG=*myLib node -e "require('./myLib')(1, 2)" # all loglevels for myLib
Remember on Windows we use
set. For instance, just taking the last line:
> set DEBUG=*myMod > node -e "require('./myLib')(1, 2)" > set DEBUG=
In addition to the primary benefit of easier future maintenance for ourselves, our organisations, and the Node community at large; integrating debug logs can be an invaluable code quality and self improvement exercise.
Much like writing tests and documentation, instrumenting code with debug logs help clarify our own perception of the logic often resulting in bug removal and improved approach.
Core debug logs
Node core has similar debug log support. The
NODE_DEBUG environment variable specifically turns logs for the following core functionality:
- fs
- http
- net
- tls
- module
- timers
For instance, say we have a Node server and we want to see what’s happening at a low level regarding HTTP and TCP operations. We can find out by setting the
NODE_DEBUG variable to
http,net:
$ NODE_DEBUG=http,net node server.js
Beautifying stack traces
When the run time crashes, when we
throw or use
console.trace a stack trace is output to the terminal. Typically, stack traces can be hard on the eyes.
cute-stack styles stack traces, making them easier for humans to parse.
npm install -g cute-stack cute -t table -e "ohoh"
The
cute executable wraps the
node binary – all the same arguments can be passed plus additional ones for
cute. For instance the
-t is used to specify the stack trace output type. We set the type to
table but there’s also
pretty (the default),
json,
json-pretty and
tree.
We can also require cute-stack directly at the top of a modules or applications entry point:
require('cute-stack')('table');
The ecosystem
The great thing about npm is that anyone can publish to npm. All you have to do is register an account and
npm publish. This also helps to explain the massive growth of the ecosystem. However, the scary thing about npm is also that anyone can publish to npm. This laissez faire approach to ecosystem management has been fundamental to rapid growth. The trade off is the increased burden of discovery and evaluation on the module user. For rapid prototyping, there’s no doubt 200,000+ modules at our fingertips is an amazing thing.
But somewhere before going live, someone has to check that these modules are production worthy. In this section we’re going to explore some useful module selection heuristics and then we’ll look at some ways to vet modules.
Dependent modules, users
The amount of modules relying on a module is a powerful metric. It carries a similar weight to word of mouth. The module pages of the npm website detail the dependents at the bottom of the page, however the npm command line tool doesn’t provide a way to retrieve these dependents.
We can use the
npm-dependents tool to retrieve dependents via the command line
$ npm i -g npm-dependents $ npm-dependents express express has 6927 modules depending on it
The
npm info command goes provide a list of npm users who are depending on a module in one or more of their own published modules. This will be a different (lower) number but it is a correlating indicator:
$ npm info express users | wc -l 1214
Popularity contest
Just because something is popular it doesn’t mean it’s Hapi framework or get in touch with near reassuring. If a small team has produced an amazing website to accompany a recently released module, then extra scrutiny should be applied to code quality. Shiny websites don’t correlate to good code.
Who wrote it?
Whilst it’s important to explore the ecosystem, we naturally begin to recognize prominent module authors. This is a healthy thing, learn who to trust and use their modules when you can.
Manual review
eval is called directly or indirectly via the likes of
new Function,
evalling user input on the server side is really very dangerous. It also has performance implications.
However, understanding the context is vital. For instance, some template engines use eval (for example
dust,
jade, Angular template logic…). If we’re using a template engine we have to know that we’re trusting the engine to thoroughly clean user input, and understand the flow of data into and out of the
eval.
Other things to look out for (also context-dependent) could be checking that the dependency makes use of streams instead of expecting to buffer all data first. In these cases, the question must be asked: What’s the largest possible amount of data that could be passed through this module. Buffering then synchronously processing data is a recipe for disaster with Node.js.
Auditing
The
auditjs module cross references top level dependencies with the OSS Index which holds a list of packages (and Node versions) with known vulnerabilities.
Simply install globally and run it in a project’s root:
$ npm -g install auditjs $ cd my-app $ audit
Throwing
Like many languages, JavaScript has a
throw keyword. However in JavaScript throwing is a destructive action. It’s the sledgehammer of error propagation.
As a rule of thumb, any
throw that occurs after the initialization (of a server, or a database connection, any environment that handles asynchronous operations) is probably the wrong thing to do.
So when we’re about to write
throw, the first question should be, could this happen after an app or environment has initialized.
It’s better to delegate the authority of process crashing to the top level of the application this is why we recommend not throwing inside modules unless they’re intended for use during initialization (and even then, consider allowing the application to decide anyway).
Throwing some time after initialization when the process is supposedly stable is less than ideal – particularly if the application is written as a monolith (all code running in one process, rather than separate micro-services).
If we follow the practice of only throwing when we explicitly expect to exit the process, then the amount of throws in our application should be minimal.
As a rule avoid throwing as much as possible after initialization.
In particular throwing errors that could have been handled without compromising stability, or without making the purpose of the process redundant, is a bad idea.
Never throw in a callback unless the callback is made at the top level of an application and the intent is to crash the process. Callbacks in modules should defer to the caller to decide how to handle an error.
Catching
As in many other languages, a throw may not crash a process, if it’s wrapped in try/catch. However there are certain serious caveats we need to be aware of.
Firstly, use of try-catch causes runtime de-optimizations resulting in unnecessarily slow execution – particularly for hot code paths. This means if we adopt throwing and try/catch all over a codebase it could significantly affect performance.
Additionally, JavaScript is a dynamic asynchronous language but try-catch is a synchronous construct originally designed for compiled languages.
When it comes to JavaScript, the try-catch is something of a square peg in a round hole, which can lead to developer confusion.
For instance, consider the following:
try { setImmediate(function () { throw Error('Oh noes!'); }); } catch (e) { console.log('Gotcha!', e); }
The error won’t be caught at all. The setImmediate function is an asynchronous operation so the throw happens after the try-catch block has been executed.
The point here is: never throw in an asynchronous context.
Creating functions that expect the try-catch pattern can lead to poor code quality. Beyond documentation or reading source code, we have no way to know whether a function could throw an error. Typically functions that may throw can work fine most of the time, which makes it very easy to omit the try-catch – until that one time when the process crashes. Or else the opposite can occur, a super defensive style of programming where we try-catch every single call (believe me, it’s not sustainable).
If a try-catch absolutely must be used (e.g.
JSON.parse), isolating the try-catch in a separate function and calling it from the original function confines de-optimizations to the purpose built function.
function parse(json) { var output = {}; try { output.value = JSON.parse(json); } catch (e) { output.error = e; } return output; } function doThings(json) { //doing things... json = parse(json); //doThings wont be affected by try-catch in parse if (json.error) { /*handle err*/ } json = json.value; //doing things... }
Throwing alternatives
For asynchronous operations, errors can be propagated through callbacks, we’ll explore callbacks in the next section.
For error handling in synchronous functions we have a couple of options
- Return
nullon error
- Return an
Errorobject on error
- Return an object that holds
valueand
errorproperties
- Use a Promise abstraction
- Use a callback abstraction
Returning
null on error is discouraged, because both error and value states occupy the same space – so the error may accidentally be treated like a value. If the
null response isn’t handled and there is an attempt to access a property on the
null value, the process will throw.
Beyond this, if type coercion is being applied to an un-handled null return value elsewhere in the application we may get unexpected booleans, or worse a NaN.
Returning an
Error object is slightly better than returning null, but also occupies the same space for errors and values, but won’t crash the process when other code attempts to access properties. This scenario could be worse, since subtle bugs that are difficult to trace could creep in elsewhere in the application.
Returning an error-value object was demonstrated in the
parse function previously, but here’s an additional example with a fictional tokenizing function:
function tokenize(template) { if (notParseable(template)) { return { error: Error('couldn\'t parse it guvna') }; } var tokenObject = parse(template); return {value: tokenObject}; }
In this case, if we forget to handle the error, we’ll at some point try to interact with the value, at which point the app will likely throw. The problem should be easier to identify because we’ll see an object with an error property instead of an object with a value property, and then be able to trace that object to the function that returned it.
There’s definitely an argument for using asynchronous abstractions, particularly with promises (as long as you don’t mind the overhead of using promises).
A promisified tokenize function might look like this:
function tokenize(template) { return new Promise(function (resolve, reject) { if (notParseable(template)) { return reject(Error('couldn\'t parse it guvna')) } resolve(parse(template)); }); } tokenize('invalid }}template') .then(doMoreThings) .catch(handleError);
Whilst promises are typically for asynchronous operations, they conceptually don’t have to be. Additionally, they always behave an in asynchronous manner whether the internal mechanics are asynchronous or synchronous. This consistent behaviour causes consumers to always treat Promises in the same way, allowing for trivial switching between the two operation types without disruption.
We’ll be discussing callbacks shortly, since they’re heavily associated with asynchronous operations we wouldn’t recommend creating synchronous functions that use a callback paradigm (with the exception of iterator callbacks such as those used in functional programming, e.g.
forEach,
map, etc.)
Control flow
In JavaScript, the fundamental unit of asynchronous operations is the callback. A callback is a function that is supplied so that it can be invoked when an asynchronous operation is complete.
Callbacks are an implementation of continuation passing style programming (CPS). A continuation is essentially an operational building block, it’s a flow-control primitive.
The prevailing and recommended type of callback is the errback, or error first callback:
var fs = require('fs'); fs.readFile('not-a-file', function (err, data) { if (err) { return console.error('Oops', err); } console.log(data + ''); });
This approach was popularized by Node, and continues to be used in many modules throughout the ecosystem.
Expecting an error as the first parameter helps to induce.
The basic asynchronous unit (the callback) can be wrapped in higher level control flow patterns to increase code organization and associate semantic meaning with asynchronous logic.
Event emitters */ });
Event emitters tend to facilitate a pub-sub communications architecture. This can be the right approach in some scenarios but cumbersome in others.
Streams
Streams apply a basic functional programming paradigm to asynchronous operations. Specifically streams are about transferring (and transforming) large data sets in multiple pieces asynchronously.
var fs = require('fs'); var source = fs.createReadStream('/dev/random'); var transform = require('base64-stream').encode(); var destination = fs.createWriteStream('./ran'); source .pipe(transform) .pipe(destination);
Here we created a read stream, which pipes through a transform stream to base64 the binary data from
/dev/random, and pipe the resulting content into a write stream pointing to file
./ran.
This approach stops our process from filling up with memory, it only takes a piece at a time and pipes it through to its final destination.
Since streams are built on event emitters, error handling is much the same:
source .on('error', console.error) .pipe(transform) .on('error', console.error) .pipe(destination) .on('error', console.error);
Errors do not propagate through a pipeline. Notice how we listen for errors all streams.
Another caveat is if one streams in the pipeline closes or errors, any cleanup on other streams in the pipeline is manual (this can lead to memory leaks).
The
pump module solves both the error propagation and clean up scenarios:
$ npm i --save pump
var fs = require('fs'); var source = fs.createReadStream('/dev/random'); var transform = require('base64-stream').encode(); var destination = fs.createWriteStream('./ran'); pump(source, transform, destination, function (err) { if (err) return console.error('Error in pipeline', err); console.log('Pipeline finished') });
This type of control flow is perfect for data processing, but can also be applied to object processing (using object streams).
Promises
Unlike event emitters and streams, promises are for single values.
querySomeDb({get: 'icecream'}) .then(function (icecream) { console.log('got ma icecream', icecream); }) .catch(function (err) { console.error('where is icecream?', err); });
Promises allow us to treat logic as an object, we can pass around a value we don’t have yet. Like streams, they’re also highly composable:
Promise.resolve(5) .then(function (n) { //return an async op return new Promise(function (resolve, reject) { setTimeout(function () { resolve(n + 10); }, 100); }) }) .then(function (n) { return n * 10; //returning a value actually returns a promise }) .then(function (n) { console.log(n); //150 });
Since promises are part of the EcmaScript 2015 standard and are implemented in more recent versions of v8 we’ll be seeing a lot more of them.
Control flow frameworks
The basic asynchronous unit (the callback) can be wrapped in higher level control flow patterns to increase code organization and associate semantic meaning with asynchronous logic. One library that has been particularly successful in this area is async.
The async library has a variety of control flow patterns all of which boil down to performing operations in series or in parallel and optionally collating the results.
Performing a series of operations using a pure errback approach can lead to excessive nesting (often referred to as callback hell). This can be mitigated by simply breaking out functions and referencing them by name instead of nesting each of them, however for larger scale projects a control flow framework can make a lot of sense.
Often times we need to perform operations in series when the result of one operation is needed for a following operation. For this case, there’s
async.waterfall
async.waterfall([ function (cb) { getPerson({query: id}, cb); }, function (person, cb) { findPets({ species: person.preference.species, breeds: person.preference.breeds }, function (err, pets) { cb(err, {pets: pets, person: person}); }); }, function (result, cb) { selectOnePet({ criteria: result.person.profile, pets: result.pets }, cb); }, function (err, pet) { if (err) { return console.error(err); } if (!pet) { return console.log('Sorry :( no pet for you'); } console.log('Congrats, you have a ', pet); });
The ability to itemize each distinct step in a set of interdependent operations makes the
async library a powerful choice. If you’re thinking of checking out
async take a look at steed as well – whilst still a work in progress it’s shaping up to be the lodash to asyncs underscore, providing the same API with 50%-100% performance improvements against async. Matteo Collina, the author of Steed, will be talking about Steed and how he obtained massive performance gains at Node.js Interactive 2015.
Choosing a control flow approach
A combination of approaches can be used throughout a codebase to best fit individual scenarios. promises, or event-emitters (and often there is).
Conclusion
The intent of this blog post was to cover ground on four areas that require particular attention and understanding when working with Node.js. Whether you’re just getting started or have been using Node for a while, I hope there was something in here for you. This post was assembled from the first four articles in a ten part series on NodeCrunch. If you found it helpful, check out the ten tips for coding with Node.js series.
|
https://www.nearform.com/blog/working-node-need-know/
|
CC-MAIN-2017-39
|
en
|
refinedweb
|
My First Minimal Plone Content Type
Short background
We work a lot with Plone Content Management System (see [1]) at work. Plone is a tool for building, storing and managing content via a web page. It is extremely customizable and has a huge number of add-ons. Plone is build on and "contains" Zope and Python.
Plone could easily be build to host complex software sites like SourceForge, community sites like FreeSoftwareFoundation (they use Plone already: [2]) and personal blogs.
Content types
In Plone a central concept is content type. A content type could be a news item in a newspaper, or a song on a record, or a photo in an album. Using a framework called archetypes it is quite easy building your own content types - that is what this tutorial means to demonstrate.
Please note that this is a minimalistic approach - I am sure there are more of them out there. I also use loops in at least one place where I do not need it - I'll try to explain why. This tutorial is pretty much based on the instant message example (found here [3]) by Kamon Ayeva.
The MyMessage content type
This tutorial will illustrate one way of creating a minimal content type. This is an extremely silly content type that only stores a number. As the screenshot illustrates there is also a title. (There is of course also meta data.)
A first glance at the files
My content type will be called MyMessage and it contains four files and one folder:
~/Plone-3.0/zeocluster/Products/MyMessage/ config.py __init__.py message.py Extensions/Install.py
A short description:
- __init__.py contains code that pretty much registers our content type to zope.
- config.py contains global variables used in our content type. (This file could easily be removed but that not is considered best practice.)
- message.py contains the content type. In our example pretty much a schema and a short class definition.
- Extensions/Install.py contains code to making our content type known to a specific Plone instance. Unfortunately this file has to be stored in a separate folder called Extensions. This file contains about seven lines or code that could be removed but that are kept for a reason.
config.py: global variables
This is the contents of config.py:
PROJECTNAME = "MyMessage"
It only contains one line of code. Fortunately the variable PROJECTNAME is used so much that it is worth it.
(This file often also contains information important when you want to change the visual appearance when viewing your content type, or "trams" as Darth Bildt would have called it.)
__init__.py: making it known to Zope
This is the contents of __init__.py:
from Products.Archetypes.atapi import process_types, listTypes from Products.CMFCore import utils # Product imports from config import PROJECTNAME # Import the content types modules import message def initialize(context): content_types, constructors, ftis = process_types( listTypes(PROJECTNAME), PROJECTNAME) allTypes = zip(content_types, constructors) for atype, constructor in allTypes: kind = "%s: %s" % (PROJECTNAME, atype.portal_type) utils.ContentInit(kind, content_types = (atype,), extra_constructors = (constructor,), fti = ftis, ).initialize(context)
This file looks complicated and indeed it is. On the other hand it is quite generic - if you intend to use it you most likely only have to change the line with import message to import my_own_content_type.
It is also quite common to include custom permissions (that is outside the scope of this tutorial). If you want that see the instant message tutorial (found here [4]) by Kamon Ayeva. Since it appears to be quite common to want to have strange permission hierarchies I have left the loop at the end of this file - so that you could easily add it if you'd want to.
Extensions/Install.py: importing it in a Plone instance
This is the contents of Extensions/Install.py:
# Python imports from StringIO import StringIO #CMF Imports from Products.CMFCore.utils import getToolByName # Archetypes imports from Products.Archetypes import listTypes from Products.Archetypes.Extensions.utils import installTypes, install_subskin # Products imports from Products.MyMessage.config import PROJECTNAME def install(self): """Install content types, enable the portal factory""" out = StringIO() print >> out, "Installing %s" % PROJECTNAME # Install types classes = listTypes(PROJECTNAME) installTypes(self, out, classes, PROJECTNAME) print >> out, "Installed types" # Register types with portal_factory # (only needed to work around the possibility that users create # blank instances of content types) factory = getToolByName(self, 'portal_factory') types = factory.getFactoryTypes().keys() if PROJECTNAME not in types: types.append(PROJECTNAME) factory.manage_setPortalFactoryTypes(listOfTypeIds = types) print >> out, "Added %s to portal_factory" % PROJECTNAME # return log-string return out.getvalue()
The core of this file is the below four lines. The rest might however be needed to avoid a strange bug: a user might create a new item that and it might remain as a ghost if the browsing session is aborted.
def install(self): out = StringIO() classes = listTypes(PROJECTNAME) installTypes(self, out, classes, PROJECTNAME)
The out variable is just a sort of a log string that stores information about the installation. The classes variable is a container variable with the types we want to install. The reason for using this intermediate way is the generic approach of this file. If you want to use this file in your project - all you need to change is: from Products.MyMessage.config import PROJECTNAME.
message.py: the content type
# Archetypes imports from Products.Archetypes.atapi import * # Product imports from Products.MyMessage.config import PROJECTNAME # Schema definition schema = BaseSchema.copy() + Schema(( IntegerField('body', required = 1,), )) class MyMessage(BaseContent): """An Archetype for MyMessage application""" schema = schema _at_rename_after_creation = True registerType(MyMessage, PROJECTNAME)
This file contains three parts of interest:
- A schema: this is the content this content-type can store. In this case extremely silly, only an integer is stored in our content type. The integer is called body and it is required.
- class MyMessage: a python class using the schema we just defined. Also the class has the flag _at_rename_after_creation set to true (meaning that the url and id of each instance of MyMessage will have a meaningful and non-random value).
- registerType(MyMessage, PROJECTNAME): the class is registered.
Minimal set of changes required
If you want to use this example and change it to fit your needs you should only have to do the following modifications:
- config.py: change the name of you project.
- __init__.py: no changes needed
- message.py: you will probably change this a lot :)
- Extensions/Install.py: the last import needs t be changed from "from Products.MyMessage.config ..." to "from Products.YourFolderName.config ..."
Use of the MyMessage content type
If you now want to add this to your Plone instance you need to create the four files above (see links below for download) and put them in something like ~/Plone-3.0/zeocluster/Products/MyMessage.
Now if you (re)start your Plone site you can install MyMessage under site setup > Add-on Products. It will look something like this:
Now that the package is installed you can add an instance of type MyMessage:
Fill in the values (if body is not an integer you are going to have to change the value):
And finally, this is what a regular user would see:
Download
You can download the MyMessage content type here: [5]
This page belongs in Kategori Programmering
This page is part of a series of tutorials on Plone Cms.
|
http://pererikstrandberg.se/blog/index.cgi?page=MyFirstMinimalPloneContentType
|
CC-MAIN-2017-39
|
en
|
refinedweb
|
public class Naerling : Lazy<Person>{
public void DoWork(){ throw new NotImplementedException(); }
}
Original...
loctrice wrote:Seems OriginalGriff cannot look at your screen, read your mind, or access your HDD.
wizardzz wrote:a numeric sort then works to put dates in order.
wizardzz wrote:my date
General News Suggestion Question Bug Answer Joke Praise Rant Admin
Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.
|
https://www.codeproject.com/Lounge.aspx?msg=4506213
|
CC-MAIN-2017-39
|
en
|
refinedweb
|
This article has been reproduced from the Costa Digital blog.
nearForm has been working with Costa Cruises on strengthening its digital presence and infrastructure.
This post provides an insight into how nearForm consultants plan and execute technical solutions.
Combining Riot.js, Node.js, Browserify, Pure.css and ES6 to rapidly prototype a performant conference voting application
Business demands change and fluctuate constantly. There are occasions that require a quick turnaround with a hard deadline.
This was one of those occasions.
The hard deadline in this case was an internal conference, where our goal was to engender excitement for technology among stakeholders.
We decided to build a real-time application that took input from personal devices (mobile, tablet, laptop) and displayed results on the presenter’s screen.
We called our concept ‘Atmos’, the real-time conference voting application.
We had one developer (myself) and two and a half days to have a working proof of concept, followed by the weekend and Monday for tidy-up, polishing, cross browser testing and performance testing. All told, from the back end to the front end, Atmos was completed in around five days.
Live demo
A running demo of Atmos can be found at.
Try using the demo in a browser and on a tablet or mobile device at the same time.
Viewing the source
Atmos can be found on GitHub here. The code is intended both as a reference for this article and as a potential starting point for anyone wanting to build a scalable (both in project scope and deployment) real-time application using some of the latest tools and techniques.
Setting up
To run Atmos locally, you’ll need Node.js 0.12+ or io.js 2+.
Clone from the v1 branch:
$ git clone --branch v1 $ cd atmos && npm run setup $ npm run start:dev # start dev and real-time servers $ npm run stop:dev # power down servers
There’s a large amount of development dependencies. Setup takes approximately three to five minutes to complete.
Several of the
npm run scripts will likely fail on Windows; however, examining
package.json contents should reveal how to get going on a Windows machine.
Considerations
Interestingly, the primary constraints for our scenario match those of many other projects, though for different reasons and at difference scales.
Time
As mentioned, we had five days and there was no room for deadline extension.
Network
There’s no such thing as a reliable network. In particular, conference WiFi is typically poor at handling high load. What’s more, esoteric firewall setups or proxy setups at the venue could have caused issues.
Robustness
This was a live demo to demonstrate the virtues of technology to non-developers. Noticeable failure could significantly hinder our message.
Process
With little time for bike-shedding, the top considerations had to influence our tools, priorities and workflow.
Device support
Given the time constraints, we opted to support modern browsers and modern devices only. All conference participants had received iPhones and iPads; however, there was still an inclination towards BlackBerry devices.
As a trade-off, we supported touch screen BlackBerries, but did not implement support for key-only BlackBerries (adjusting the user interface alone would demand a significant time investment that we could not afford).
Nor did we pay much attention to IE. Even IE11 can be a time hog when it comes to compatibility and ~99% of our audience would be on (non-Windows) mobile devices anyway.
Progressive enhancement for SEO and accessibility was not followed on this project. However, our design and tool choices have made it easy to retrofit progressive enhancement with server-side rendering.
EcmaScript 6
There’s a direct correlation between code size and product quality. Defect density can be measured in bugs per 1000 lines of code and averages around .59 bugs per 1000 lines for open source projects or .72 bugs per 1000 lines on proprietary code bases. Either way, there will always be a ratio of bugs to code size. The more boilerplate we can shed, the better.
EcmaScript 6 (a.k.a EcmaScript 2015) was finalized in June 2015. Parts of it have already been implemented in modern browsers and in Node.js. However, for cross-browser consistency and to run Node without additional flags, we transpiled the ES6 code into ES5 code as part of the build process (see the ‘Build process’ section for details).
There was only a subset of ES6 features we wanted to use for this project to help keep the code clean and readable.
We stuck with micro-syntax extensions such as the following:
- lambdas (arrow functions)
- destructuring
- default parameters
- enhanced object literals
- rest operator
- spread operator
- const
These little pieces of sugar helped keep code clean, light and descriptive.
In particular, we used destructuring to emulate configuration-based enums, which were then used to establish lightweight multiplexing (more on this later).
Since
const tokens are transpiled to
var keywords, usage of
const was more of a mental assist. It prevented the (generally) bad habit of reassignment and made us think about what exactly constitutes an actual variable reference. Whilst there wouldn’t be a direct performance benefit from using
const in a transpilation context, we’re still facilitating the JavaScript engine by using variables that won’t be reassigned. In other words, the interpreter has to jump through hoops when a reference keeps changing. Employing an enforceable practice of non-reassignment should make runtime optimizations more likely.
Another gem is the lambdas. The removal of noise around a function enhances readability. However, there are a couple of caveats.
First, there’s a potential debugging issue (a similar problem to using anonymous functions). The code base was small enough in our case to let that go on this occasion. Second, the lexical treatment of
this differs from standard functions.
The context (represented by
this) in an arrow function takes on the context of the surrounding closure. If the surrounding closure isn’t called with
new, or given a context via
call,
apply or
bind then
this in a lambda function defaults to either the global object or
undefined when in strict mode. All of that is fine; what may be unexpected though, is that the lexical lambda context rule supercedes the context binding methods (e.g.
call,
bind,
apply).
function f(fn) { fn.call({some: 'instance'}) } (function () { 'use strict'; f(function () { console.log('ƒ this: ', this) }) f(() => console.log('λ this: ', this) ) }()) // logs: // ƒ this: Object {some: "instance"} // λ this: undefined
It’s important to know this difference. Some libraries do set callback function context.
For instance, the through2 module allows us to call
this.push inside the user supplied callback. If the supplied callback is an arrow function, calling
this.push will fail (or worse, if there’s a global push method). Instead of the object which
through2 attempted to supply as the context for the callback function the
this keyword will refer to the global object or
undefined (depending on the mode). In such cases we either have to supply a normal function, or pass values via the second parameter of the
cb argument (we’ll talk more about
through2 later).
Adopting ES6 syntax resulted in less code being written than using ES5, without obfuscating the intent of the code (in some cases, quite the opposite).
For this project, we steered clear of macro-syntax extensions such as classes, modules and generators.
For one thing, whilst learning the syntax of these language additions is straightforward, understanding the implications of their usage is a longer journey than we had time for.
Further, there’s the issue of code bloat during transpilation of macro-syntax extensions, plus runtime inefficiency (generators being the prime candidate for slow execution when transpiled).
Finally, it was important to keep the project simple. Classes aren’t the right paradigm for linear/cyclical data flow management (actually… they aren’t the right paradigm for a prototypal language but that’s another story!). Iterators (counterpart to generators) encourage a procedural approach (which is somewhat backwards). Also, the ES6 module system isn’t a good fit for current tooling. In my opinion, CommonJS modules are cleaner.
We also used the following ES6 language additions:
The
Object.assign and
Array.from methods simply afforded a nice way to do mixins and convert array like objects to arrays-proper (no more
Array.prototype.slice.call(ArrayLikeThing), hooray!).
The
Set constructor returns a unique list object. By pushing unique ids (determined browserside) onto a set, we could keep a constant running total of voters, which allowed us to calculate aggregated percentages.
And one EcmaScript 7 method: Object.observe.
Object.observe was fundamental to model management.
Using
Object.observe meant that we could store data in a plain JavaScript object and react to changes in that object. This drove the data flow: when a vote for an item came into the server, the relevant corresponding object was modified. When the object was changed, the change was both broadcast to all open sockets and persisted to disk.
Back-end platform
We considered building a peer-to-peer real-time application using WebRTC, but it wasn’t practical.
For one thing, iOS Safari does not support WebRTC. Even if it did, we would need to research and define an adequate peer-to-peer network architecture for sharing data among the 300 devices. Whilst this would be an interesting diversion, there wasn’t time to spare.
On top of that WebRTC peer connections aren’t serverless. We would still have needed a switchboard (for making connections) and relay servers (for bypassing firewall restrictions).
We settled instead on creating a mediator server that would count incoming votes and broadcasting totals. We used Node.js for this task.
Node is excellent at high-concurrency real-time connections; it has much higher concurrency than our needs.
Also the language of Node is JavaScript.
Working in multiple languages isn’t just about switching syntax – it’s about approach. The flow of logic is different. Writing everything in one language sped up full-stack prototyping because it eliminated the need to context switch between languages. It also made sharing code and configuration between environments trivial.
We built the back end against Node 0.12 and io.js 2.3. This allowed us to compare reliability and speed of platforms.
Object.observe is natively implemented in Node 0.12 and io.js 2.3 which means our server won’t run on Node 0.10 (polyfilling
Object.observe is expensive, so that’s not an option; this is also why it wasn’t used in the browser).
Node’s ecosystem was also leveraged for the build process. I’ll talk more about this as we go.
Choosing a front-end framework
To speed up development time, we wanted some form of view layer that provides data-binding capabilities.
We also wanted to be able to isolate features into components in order to reduce time-wasting bugs that result from global collisions and general state confusion.
Angular is the predominant framework in use at Costa Digital. Whilst componentization is a little muddied, Angular is nevertheless an excellent framework with a strong ecosystem.
However, for this project we chose Riot.js. The driving factor in this decision was file size.
The less data we have to send across the wire, the faster the app will load and establish a real-time connection. Ideally, using a framework should result in less code than writing an equivalent implementation without a framework.
When minified, Angular is 145.5kb, whereas Riot.js is 11 times smaller at 12.75kb.
Other alternatives were also deemed too large: Ember clocks in at a whopping 493kb, almost half a megabyte before we write a single line of application code!
Whilst Ember is between 126kb and 155kb gzipped, mobile browsers (Safari in particular) have low cache sizes.
Ember will still decompress in the browser to take up half a megabyte prior to any initialization, taking up a significant portion of the cache (increasing the likelihood of a reload after switching tabs).
In fairness, Ember isn’t primarily a view layer like React and Riot, it’s an entire MVC suite. But then so is Angular and it’s a third of the size of Ember.
React is 121.7kb and that’s before you include a flux implementation.
Another option was to write Atmos using future standards with the Web Components polyfill (which is the basis for Polymer). The promise of this approach, is that over time we’ll be able to shed pieces of the (currently 117kb) polyfill as browser support grows. However, Web Components haven’t been implemented as fast as expected by browser vendors, and anyway we had five days, not five years.
Riot.js
We built our real-time application in Riot.js.
Riot feels like Angular: templates are essentially HTML with a DSL overlay. It’s also inspired by React’s virtual DOM, where changes are measured and executed by diffing an efficient DOM representation.
The API surface of Riot is a small yet powerful set of primitives, which makes for a short and shallow learning curve. Perfect for our time-limited needs.
Unlike React where HTML can be written inline alongside JavaScript code (the JSX format), Riot’s paradigm leads us to declare component specific JavaScript code inline, among the HTML.
For instance, here’s how a React component might be written:
var Hello = React.createClass({ change: function (e) { this.setState({msg: e.target.value}) }, getInitialState: function () { return {msg: this.props.msg} }, render: function() { return (<div> <div>Hello {this.state.msg}</div> <input onBlur={this.change}/> </div>) } }); React.render(<Hello msg="World" />, document.body)
We can view the results here.
Here’s the equivalent in Riot.js:
<hello msg=World></hello> <script type="riot/tag"> <hello> <div> Hello {msg} </div> <input onchange={change} /> this.msg = opts.msg; this.change = function (e) { this.msg = e.target.value } </hello> </script>
The
script element with type
riot/tag creates a Riot context inside a standard HTML page. We don’t use inline
riot/tag
script elements on the Atmos code base. Instead, we compile tag files separately (which also eliminates the need to load the Riot compiler in the client).
To inject a Riot tag into the DOM we use
riot.mount:
riot.mount('msg')
In some ways, this looks like the return of the 90s… but there is a vital difference.
The lack of componentization and handler scoping were the primary driving forces behind the failure of attribute references handlers in early web applications. Not least because the early web was document-centric, rather than the application delivery platform it is today.
The event handler attributes in a Riot component can only reference methods that exist in their scope (which is determined by the base element, e.g. the element which gets mounted,
<hello> in the example). Vanilla HTML handler attributes can only reference methods on the global scope – which we know is a recipe for disaster.
Application structure
The Riot.js philosophy is one of “tools not policy”, which means we had to define our own structural approach for our application. To establish clean code boundaries, we wanted a modular structure. Writing small single purpose modules helps to avoid human error.
Client-side modularity
We used Browserify for modules in the browser. Browserify enables us to write CommonJS modules for our front-end code. CommonJS is the module system implemented in Node. Use
require to load a module, use
module.exports to export a module.
For example, Atmos has a front-end module (located in app/logic/uid.js), which enables us to consistently identify a devices browser between page refreshes or closing and opening the browser.
//app/logic/uid.js const uid = () => Math.random().toString(35).substr(2, 7) module.exports = () => (localStorage.uid = localStorage.uid || uid())
The
sync.js module app/logic/sync.js (which provides real-time communication) uses the
uid module by requiring it (also converting it into an array of integers representing byte values, in preparation for sending binary data across the wire):
const uid = require('./uid')().split('').map(c => c.charCodeAt())
For demonstration purposes, let’s see how Browserify processes a
require statement.
In the
atmos/app folder we can run the following:
sudo npm install -g browserify browserify <(echo "require('"$PWD"/logic/uid')")
Standardizing a paradigm across environments by using the same module system for server and client implementations yields similar cognitive benefits to writing the entire stack in the same language.
View components
Browserify can be augmented with transforms. Riotify is a Browserify transform that allows us to
require a Riot view (a
.tag file).
This allows us to create view-packages, where a view is a folder that contains
package.json,
view.tag and
view.jsfiles (and optionally a
style.tag file).
In Atmos, the
tabs view is a tiny component that outputs links based on the configuration of a menu array.
app/views/tabs/package.json
{ "main": "view.tag" }
The
package.json file has one purpose: to define the entry-point for the
tabs folder as the
view.tag file instead of the default
index.js as per Node’s module loading algorithm. This allows us to require the
tabs folder (instead of
tabs/view.tag). Requiring a view folder helps to enforce the idea that the view is an independent module.
<tabs> <div class="pure-menu pure-menu-horizontal"> <ul class="pure-menu-list"> <li class="pure-menu-item" each={item, i in menu}> <a href="{item.href}" class="pure-menu-link">{item.name}</a> </li> </ul> </div> <script> require('./view')(this) </script> </tabs>
The
view.tag file employs the
each attribute (part of Riot’s markup-level DSL), to loop through objects in
menu, referencing each object as
item. Then we output the
item.name linking into to the
item.href for each item.
At the bottom we
require the
view.js file (
.js is implied when omitted).
It’s important to understand that the
tag file actually represents a sort of component object. We’re just building that object using HTML syntax.
The root tag (
<tabs> in this case) is a declaration of a component. When we pass
this to the function returned by
require('./view') we are giving the
view.js‘ exported function the components instance. Another way to think of it is: we’re giving
view.js the components scope.
const menu = require('@atmos/config/menu.json') module.exports = (scope) => scope.menu = menu
The
view.js file is the component controller (or perhaps it’s a ViewController…). When we attach the
menu array to the
scope object (e.g. the
this object from the
view.tag file) we make it available to the component.
Finally, our applications entry point can load the tab view and mount it.
const riot = require('riot') /* ... snip ... */ require('./views/tabs') /* ... snip ... */ riot.mount('*') /* .. snip ... */
Passing the asterisk to
riot.mount essentially tells
riot to mount all required tags.
Scoped styles
Modularizing CSS seems to be the final frontier of front-end development. Due to the global nature of CSS selectors, it’s all too easy for web application styles to become entangled and confusing. Disciplines such as OOCSS and SMACSS have arisen to tackle this problem.
But when it comes to protecting the sanity of a code base, tools are better than convention.
Riot.js supports scoped style tags. For instance:
<my-tag> <p> Awesome </p> <style scoped> p {font-size: 40em} :scope {display:block; outline: 1px solid red} </style> </my-tag>
This won’t style all
p tags at size 40em, only
p tags inside
my-tag. Also the special pseudo-selector
:scopeapplies to the
my-tag tag.
Scoped styles were proposed as a native specification, but sadly may never be implemented across all browsers. Fortunately, Riot.js does support the syntax.
Style modules
It’s possible to compose a tag from several sources by re-declaring the tag and compiling each declaration separately. Browserify in conjunction with Riotify automatically compiles the tags via the
require statement.
This means we can decouple style from structure whilst also isolating its domain of influence to a particular view.
Let’s take a look at the
excitement-in view (this is the view that uses emoticons for user input):
app/views/excitement-in/view.tag
<excitement-in> <p class=question>How excited are you?</p> <face onclick={ fastcheck.bind(null, 'excited') }> <input onclick={ excited } <label for="r-excited" class="pure-radio"><img src="assets/excited.{ext}"></label> </face> <face onclick={ fastcheck.bind(null, 'neutral') }> <input onclick={ neutral } <label for="r-neutral" class="pure-radio"><img src="assets/neutral.{ext}"></label> </face> <face onclick={ fastcheck.bind(null, 'bored') }> <input onclick={ bored } <label for="r-bored" class="pure-radio"><img src="assets/bored.{ext}"></label> </face> <script> require('./view')(this) require('./style.tag') </script> </excitement-in>
The views
style.tag is required in the
view.tag.
app/views/excitement-in/style.tag
<excitement-in> <style scoped> face {display:block;margin-top:1em;margin-bottom:1em;text-align:center;} label {opacity:0.5;width:9em;} label img {width:9em;} input[type=radio] {display:none;} input[type=radio]:checked + label {opacity:1;} .question { margin: ; margin-top: 0.7em; margin-bottom: 0.1em; } </style> </excitement-in>
In the
style.tag file, the base element (
<excitement-in>) is declared again and the view components styles are placed inside a scoped style element.
There’s a little more boilerplate than the standard CSS file. The advantage of having the base tag in the styles file is that it reinforces the specific relationship between the styles and the view.
The styles for each component are pulled into the JavaScript bundle during the build process. Consequently there is a single HTTP connection for all JavaScript and component styles.
Scoped package names
Let’s take a look at the
package.json file in the
config folder:
{ "name": "@atmos/config", "version": "1.0.0" }
The
name is using a fairly new npm feature: scoped package names.
Using scoped names prevents us from accidental public publishing, whilst leaving the door open for private publishing.
If we don’t have a paid npm account called ‘atmos’ and we accidentally run
npm publish, it will fail.
If we have an unpaid account called ‘atmos’ it will still fail unless we run
npm publish --access public, which is much less likely to happen by accident.
The
app,
config,
inliner and
srv packages all have names scoped to
@atmos.
Using scopes also makes it easy for us to self-host modules on our own repository.
Let’s take a look at
.npmrc
@atmos:registry = ""
An
.npmrc file alters npm settings for that folder only. In this case we associated the @atmos namespace with
localhost port
4873. So if we tried to
npm publish (with or without the
--access) flag npm won’t publish to the public npm repository, but instead will attempt to publish to
localhost:4873.
We can run a local repository with the excellent sinopia module (which defaults to running on localhost:4873).
Whilst Sinopia was set up and left for future use (see the
scripts.repo field in app/package.json), we ended up using
npm link because it eliminates the need to reinstall updated packages. Additionally, only two of the packages (inliner and config) were sub-dependencies of
app and/or
srv so it didn’t seem worth it.
Shared configuration
Dependency resolution in Browserify and Node is generally equivalent. We can also require package-modules as opposed to just referencing files by path.
The
npm link command creates a symbolic link to a package. If we
sudo npm link in a folder containing a
package.json file, the module will be linked from the global npm installs directory (type
npm get prefix to see where that’s located on your system). We can then link to the global link by running
npm link <package name> in a folder which requires the linked package as a sub-dependency.
With
npm link we can share our configuration with both the frontend and backend code:
$ sudo npm link config $ pushd app $ npm link @atmos/config $ popd $ pushd srv $ npm link @atmos/config
The
npm link command removes the need to reinstall every time we change configuration settings.
This was the process we used during most of the development. However, for convenience, the linking process has been automated. Simply execute
npm run setup in the
atmos directory.
In the config folder we have four files:
- package.json
- .npmrc
- menu.json
- chans.json
We’ve examined
package.json and
.npmrc already. Let’s take a look at
menu.json:
[ {"href": "#mood", "name": "Mood"}, {"href": "#results", "name": "Results"} ]
This is only used on the front end; we’ve seen it already in the
app/views/tabs/view.js file.
The final (and most interesting) file is
chans.json:
{ "excitement": { "EXCITED": , "NEUTRAL": 1, "BORED": 2 }, "pace": { "FAST": 3, "PERFECT": 4, "SLOW": 5 }, "topic": { "TOPIC_A": 6, "TOPIC_B": 7, "TOPIC_C": 8, "TOPIC_D": 9, "TOPIC_E": 10 } }
The
chans.json file is used in both the client and server. It provides a shared contract allowing us to segregate data sent across the wire into channels. We use it to multiplex real-time streams.
Real-time connections
Transport
We decided to use WebSockets, which are supported in all current major desktop browsers, iOS Safari, all modern Android webKit browsers and even BlackBerry 10 OS.
Employing WebSockets kept the JavaScript payload small. For instance, the engine.io library (which provides transport progressive enhancement) is an additional 54kb when Browserified and minified.
We also chose to build our own thin abstraction around the transport on the server side (app/logic/sync.js). Again, this avoided the extra weight that socket.io (91kb) or websocket-stream (200kb) would add on the client side. Our small abstraction isolates transport communication logic, making it easy to dynamically switch out the transport in the future (in order to provide support for old browsers, implement a new paradigm like peer-to-peer, or interact with a third-party data service like Firebase).
We did use websocket-stream on the server side so we could easily attach our data pipeline to each connection.
Streams
For any server task that involves shuffling data around, Node streams are almost always the right way to go. They’re essentially an implementation of asynchronous functional programming, where the immutable objects are binary chunks of a data set (or actual objects in the case of object streams). They’ve been called “arrays in time”, and that’s a great way to think about them.
With streams we can process data in a memory-controlled way. In this particular project, that’s of no major benefit because we’re only taking in eight bytes per vote, and sending out floating point numbers to every connection when a percentage changes. Pipeline capacity is not a problem in our case.
The main benefit of streams in this project is the ability to architect data-flow as a pipeline.
Let’s take a look at the srv/server.es file. On line 9 we call the
transport function and pass it a callback. The
transport function can be found in srv/lib/transport.js. All it does is accept an incoming WebSocket and wrap it in a stream.
In the callback we use that stream:
transport(stream => { // register incoming votes stream.pipe(sink()) // send votes out to all clients broadcast(stream) })
Incoming data flow is extremely simple. We pipe incoming data to a
sink stream. The
sink function can be found in srv/lib/conduit.js, and it looks like this:
const sink = () => through((msg, _, cb) => { msg = Array.from(msg) const stat = msg.pop() //grab the channel const uid = msg.map(c => String.fromCharCode(c)).join('') const area = areaOf(stat) registerVoter(uid, stat, area) Object.keys(stats[area]) .forEach(n => { n = +n if (isNaN(n)) return //undefined instead of false, so that //properties are stripped when stringified //(deleting is bad for perf) stats[area][n][uid] = (n === stat) || undefined }) cb() })
The
through function is imported from the through2 module. It provides a minimal way to create a stream. This stream processes each incoming message from the client, registers new voters and records or updates their votes.
Using streams allows us to describe a birds eye view (the pipeline), that can be zoomed into at each processing point (the stream implementation).
Channels
HTTP connections are expensive. They take time and resources to establish.
WebSockets are effectively bidirectional, long-lived HTTP connections (once established, more like TCP connections).
WebSocket connections are resource intensive. They constantly use a devices antenna, requiring power, CPU and memory. This affects mobile devices in particular.
We wanted a way to segregate and identify incoming and outgoing data without using multiple transports. This is called multiplexing, where multiple signals can be sent through one transport.
Let’s take a look at the
transport call at line 9 of server.es again:
transport(stream => { // register incoming votes stream.pipe(sink()) // send votes out to all clients broadcast(stream) })
We’ve already discussed incoming data. Let’s see how we send data out by taking a look at the
broadcast function on line 17 of server.es:
function broadcast (stream) { stream.setMaxListeners(12) // declarative ftw. source(EXCITED).pipe(channel(EXCITED)).pipe(stream) source(NEUTRAL).pipe(channel(NEUTRAL)).pipe(stream) source(BORED).pipe(channel(BORED)).pipe(stream) source(FAST).pipe(channel(FAST)).pipe(stream) source(PERFECT).pipe(channel(PERFECT)).pipe(stream) source(SLOW).pipe(channel(SLOW)).pipe(stream) source(TOPIC_A).pipe(channel(TOPIC_A)).pipe(stream) source(TOPIC_B).pipe(channel(TOPIC_B)).pipe(stream) source(TOPIC_C).pipe(channel(TOPIC_C)).pipe(stream) source(TOPIC_D).pipe(channel(TOPIC_D)).pipe(stream) source(TOPIC_E).pipe(channel(TOPIC_E)).pipe(stream) }
The astute among you may note that this could have been written in about three lines of code. This code is repetitive on purpose.
Whilst it’s true that in many cases “Don’t repeat yourself” is an axiom worth observing, there are times when a declarative approach has more value. In this case, we’re describing data flow at the top level, so we want to be explicit.
Our channels are represented by constants that refer to an integer. These constants are set in config/chans.json and are shared between the server and the client. In srv/lib/enums.js we load the
chans.json file and flatten out the object structure, leaving us with a shallow object containing the channel names and numbers.
enums.js processes
chan.json into an object that looks like this:
{ EXCITED: , NEUTRAL: 1, BORED: 2, FAST: 3, PERFECT: 4, SLOW: 5 TOPIC_A: 6, TOPIC_B: 7, TOPIC_C: 8, TOPIC_D: 9, TOPIC_E: 10 }
At the top of
server.es we load these as constants:
const { EXCITED, NEUTRAL, BORED, FAST, PERFECT, SLOW, TOPIC_A, TOPIC_B, TOPIC_C, TOPIC_D, TOPIC_E } = require('./lib/enums')
This is where EcmaScript 6 destructuring really shines. It doesn’t matter what order we specify for the constants, as long as they match the properties of the object. This means as long as we keep the names the same in
chans.json we can change the number of each channel and add new channels without disrupting anything.
Streams are built on EventEmitters, which have a default soft limit of 11 listeners. Nothing breaks if this limit is met; however, a warning of a potential memory leak is displayed. We happen to be creating eleven pipelines and attaching them all to the same stream. This leads to an
end event listener getting added to the
stream object eleven times. Since we know it’s not a memory leak, we call
stream.setMaxListeners and bump the limit from 11 to 12 to avoid outputting the warning.
If we wanted to add hundreds of channels, we could pass an object as the second argument to each of the
.pipe(stream) calls. The object would contain an
end property with a value of
false:
source(TOPIC_A).pipe(channel(TOPIC_A)).pipe(stream, {end: false})
This would stop the listener from being added. If necessary, we could then add a single listener for clean up. However, since we’re only exceeding by one we simply bumped the maximum listeners setting.
Let’s take a look at the
channel stream, at line 31 of srv/lib/conduit.js.
const channel = chan => through((data, enc, cb) => { cb(null, Buffer.concat([Buffer([chan]), data])) })
Each time a chunk passes through the stream, we prefix the channel number to it. This gives us a maximum of 256 channels. If we wanted more than that we would consider using the varint module which can create and recognize variable byte-length integers in a chunk of binary data. We only needed 12 channels, so we stuck with a single byte slot to hold the channel number.
Notice how we us
cb instead of
this.push to pass data down-stream. As discussed in the EcmaScript 6 section, this is because we’re using a lambda function as the callback so in the above case
this would refer to
undefined instead of our stream instance.
Finally we’ll take a look at the
source stream on line 4 of srv/lib/conduit.js.
const source = stat => { var init var stream = through() const area = areaOf(stat) const voters = stats[area].voters const subject = stats[area][stat] if (!init) { init = true stream.push(percentages[stat] + '') } Object.observe(subject, () => { const votes = Object.keys(subject) .map(uid => subject[uid]) .filter(Boolean).length percentages[stat] = (votes / voters.size || ) stream.push(percentages[stat] + '') }) return stream }
Here we refer to the channel as the
stat. For our purposes, these terms are interchangeable depending on context. In srv/lib/data.js we take advantage of the ES6 computed properties to set up clean and clear models.
For example, here’s the
stats object:
const stats = fs.existsSync(at('stats')) ? Object.seal(require(at('stats'))) : Object.seal({ excitement: { voters: new Set(), [EXCITED]: hash(), [NEUTRAL]: hash(), [BORED]: hash() }, pace: { voters: new Set(), [FAST]: hash(), [PERFECT]: hash(), [SLOW]: hash() }, topic: { voters: new Set(), [TOPIC_A]: hash(), [TOPIC_B]: hash(), [TOPIC_C]: hash(), [TOPIC_D]: hash(), [TOPIC_E]: hash() } })
Again, we’re being purposefully declarative (and therefore somewhat repetitive).
Whenever we set up a
source stream in
server.es we begin to observe the object that exists at the property corresponding to the channel number in the
stats object (the
subject).
Any time the
subject changes, we recalculate the vote percentages for that particular subject area.Then we push the new percentage along the stream (where the channel number is added then sent out across the WebSocket transport).
We also use EcmaScript 6 destructuring to manage channels on the browser side.
For instance, in app/views/topic-out/view.js:
const sync = require('../../logic/sync') const chans = require('@atmos/config/chans.json') const {TOPIC_A, TOPIC_B, TOPIC_C, TOPIC_D, TOPIC_E} = chans.topic const map = (name) => (n) => { return { [name]: parseInt(n * 100, 10) + '%', ['_' + name]: n } } module.exports = (scope) => { sync(TOPIC_A, scope, map('topicA')) sync(TOPIC_B, scope, map('topicB')) sync(TOPIC_C, scope, map('topicC')) sync(TOPIC_D, scope, map('topicD')) sync(TOPIC_E, scope, map('topicE')) }
We’re only interested in the topic channels. Each of these channel numbers is passed to the
sync function, which listens for data on the transport whose prefix corresponds to a specified channel number. It then pops the channel number off the chunk, converts the byte array into floating point number, runs it through the supplied
map function and mixes the resulting object into the
scope, calling
scope.update to ensure the UI reflects the updated object.
See app/logic/sync.js for implementation details.
Channels are used in the same way when sending data to the server, for instance app/views/pace-in/view.js:
const sync = require('../../logic/sync') const chans = require('@atmos/config/chans.json') const {FAST, PERFECT, SLOW} = chans.pace module.exports = (scope) => { scope.fast = () => sync.vote(FAST) scope.perfect = () => sync.vote(PERFECT) scope.slow = () => sync.vote(SLOW) }
Each of the channels is passed to
sync.vote, which adds the channel number to the outgoing byte-array (the outgoing byte-array in this case is the 7 byte
uid we created for the device).
We don’t use streams on the client side. Once the core
stream module is required, it adds
100kb to the payload when Browserified. We could have used the very lightweight implementation of streams called
pull-stream by Dominic Tarr. However, for this project, simple callbacks on the browser side were sufficient.
UI
As with every other part of the project, we wanted to create the UI quickly and with minimal resource impact.
Pure.css
For styling the application, we used Pure.css, mostly for its responsive grids.
This was our first time using Pure.css, but we found it was easy to get moving quickly and it made responsive prototyping effortless.
Whilst Pure.css already has a small footprint, we used an optimization process to extract only the styles we needed (see ‘Preprocessing’ below).
Visual scaling
The application needed to work on a wide range of screen sizes, from small mobile screens up to 1080p resolution on a large projector screen. All visuals were created for limitless, pixelation-free scaling without sending large images to the client. This meant all graphics had to be created with HTML and CSS or with SVG. The smiley faces are SVG images, with small PNG fallback images on BlackBerry.
We used
em units for all measurements (instead of pixels or percentages). This meant we could scale all elements by changing the base font size. However, with time running out, we simply used browser zoom at the venue to get the right size for the projector screen, whereas we used responsive grids to reflow the layout on smaller devices.
Preprocessing
All of our code needed to be processed prior to deployment, both on the server side and client side. On the server, we needed ES6 to ES5 transpilation and linting. On the client, we needed Browserification, Riotification (if those are words), ES6 transpilation, CSS, JavaScript and HTML minification.
npm: the task runner
There’s a few strong task runners with great ecosystems out there.
Well-known task runners include Grunt, Gulp and Broccoli.
Nevertheless, if we’re not dealing with a massive application with complex build process requirements, we prefer to use
package.json
scripts.
The
scripts field in
package.json allows us to define shell tasks that run in a context-specific environment, in that the path of these shell tasks includes the
node_modules/bin folder. This allows us to drop the relative path when referencing executable dependencies.
The shell is extremely powerful. It has a streaming interface: we use the pipe (
|) to connect outputs. We can also use
&& to create task chains,
& to run tasks in parallel and
|| for fallback tasks.
To execute a task ,we use
npm run. For instance, the
dev task in app/package.json
scripts object looks like this:
"dev": "light-server -s . -w 'views/**, logic/**, main.js, index.dev.html' -c 'npm run build:app'"
This starts a server on and watches files, rebuilding when they change.
To run this we execute:
npm run dev
EcmaScript 6
To transpile our ES6 code for the client side, we included the following in app/package.json
scripts field:
"build:app": "Browserify -t babelify -t riotify ./main.js -o build/app.js",
Browserify and the Riotify have already been covered.
Babelify is another Browserify transform that uses the babel library to convert our ES6 code into ES5 code.
On the server,
babel itself is listed as dependency.
In srv/index.js we do the following:
require('babel/register') require('./server.es')
Requiring
babel/register alters the requiring process itself, so any modules required after that will be transpiled (if necessary). In effect, we transpile on initialization.
Standard
During rapid development, code discipline is not a primary focus. Ultimately, though, we want neat, readable code to come back to.
Standard is a type of linter that enforces a non-configurable code style. The idea behind this is philosophical, the premise being “let’s stop bike-shedding and just go with something”. This seemed to have cohesion with project priorities, so we used it to determine code discipline for this project.
Standard has a
--format mode which rewrites code according to the rules of Standard. With this, we could partially automate (it’s not perfect) the tidy up process, thus saving time for more thought-intensive tasks.
Standard uses eslint as the parser. We’re able to change the parser to babel-eslint to apply standard linting and formatting to EcmaScript 6 code by installing babel-eslint as a dependency and adding a
standard.parser property set to
babel-eslint in the
package.json files.
For instance in the srv/package.json file we have:
... "standard": { "parser": "babel-eslint" }, "scripts": { "lint": "standard" }, "dependencies": { "babel": "^5.6.14", "babel-eslint": "^3.1.20", ...
The notable thing about Standard is that it restricts semi-colon usage to the rare edge cases. This is why there are no semi-colons in the code examples.
It’s difficult to talk about semi-colons without bike-shedding, so we won’t.
If Standard offends sensibilities there’s also Semistandard (…of course there is).
Uncss, Inliner and HTML Minify
We didn’t use a CSS preprocessor like Sass, LESS, or Stylus. The benefits of scoped styles combined with Pure.css were sufficient for our purposes.
We did use uncss, an awesome utility that loads the page in a headless browser and cross references stylesheets DOM selector matches. Then it outputs the net CSS.
Let’s take a look at the
build:compress task in app/package.json
scripts field.
"build:compress": "uncss | cleancss --s0 --skip-import --skip-aggressive-merging | ./node_modules/.bin/@atmos/inliner index.dev.html | html-minifier --collapse-whitespace --remove-attribute-quotes --collapse-boolean-attributes > index.html",
For this to work, we have to also be running the
dev task so we have a server on
localhost:4000.
Notice how we load the index.dev.html page (rather than the index.html page).
Each of the executables in this tasks pipeline are project dependencies.
Once we have the CSS subset, we pass it through the cleancss utility cutting further bytes.
Then, we pipe it through
@atmos/inliner, which was written for the project.
Unfortunately,
npm currently has a bug with scoped package executables. The relative path has to be specified, which is why we couldn’t simply write
inliner or
@atmos/inliner.
The
inliner takes an HTML file, and parses it using JSDOM, removing all
link tags (it leaves inlined
style tags alone). Then it creates a new
style tag and writes the CSS that is piped to the process (our minified CSS subset). Finally the
inliner outputs an HTML file when done.
On both mobile networks (which participants ended up using due to slow WiFi), and strained WiFi networks the major issue is not broadband speed, but connection latency.
In other words, the making of the connection is the bottleneck. This is why watching video over 3G isn’t always terrible, but it generally takes longer for the video to start playing than on a typical functioning WiFi connection.
The
link tag blocks page rendering until it has downloaded, which means that in non-optimized form, rendering is reliant on three (probably low-latency) HTTP connections.
By inlining the CSS we reduce render blocking connections down to zero, avoiding potential sluggish page loading.
Each views’ CSS is actually compiled by Riot into JavaScript. The
script tag to load the applications JavaScript is placed at the bottom of the page. This setup allows styles for page structure to load close to instantly even on a slow connection, while component styles load alongside component functionality.
The only other HTTP request on page load is the font import. Again, we place this at the bottom of the HTML structure to avoid render blocking.
Finally, we pass it through
html-minifier to squeeze out all the slack we can.
Task composition, flag delegation and Minifyify
Let’s take a look at the
build:dist and
build tasks in
package.json
script field:
"build:dist": "npm run build:assets; npm run build:app -- -d -p [minifyify --map app.js.map --output build/app.js.map]", "build": "npm run build:compress && npm run build:app && npm run build:dist",
Because
npm run is just another shell command, we can execute other tasks by their
script alias. Now we can compose tasks from other tasks. This is what our
build task does.
We can also pass flags by proxy to the executables that are called within another task. In the
build:dist we use a double dash (
--) to instruct the task runner that the following flags apply to the last executable in the
build:apptasks (which is the
Browserify executable).
We specify the
-d flag which tells Browserify to retain data for creating sourcemaps, then we add the
-p flag to load the Minifyify plugin (Minifyify is a Browserify plugin, not a Browserify transform).
Long story short, by the end of the build process we have minified JavaScript (with a sourcemap).
Reliability and recovery
There were some significant unknowns. We didn’t know whether a bug in our code or in a sub-dependency might be triggered by interactions between ~300 active WebSocket connections and we didn’t have time to stress test. Even if we had time, there’s no guarantee that we would perfectly emulate a live environment.
So if the server crashed, we needed to fail gracefully (or rather, fail in a way that nobody notices).
Persistence
If the server crashed, we needed to retain state which could be reloaded on server restart. Various database options were considered, but this meant another process to deploy and monitor. LevelDB was a prime candidate because it runs in-process with the leveldown/levelup modules). However, since our deployment environment (Digital Ocean) ran on solid-state disks, we decided to keep it simple and persist directly to disk. This was one of the last things we added. With time running out, choosing straightforward file system manipulation meant avoiding learning another API.
Reconnection
If the server crashed, the clients would lose their connection. The clients needed to be able to reconnect when the server came back online, without the user noticing.
In addition, the ability to reconnect would smooth over any short-term intermittent connectivity issues the mobile or WiFi networks at the venue might have.
Thanks to closure scope and asynchronous mutual recursion, we were able to implement a reconnection strategy in
sync.js quickly and with a small amount of code.
On line 5 of app/logic/sync.js we create our WebSocket connection:
var ws = wsab('ws://' + location.hostname + ':4001')
wsab is a small function near the bottom of
sync.js. It simply creates a binary WebSocket that uses ArrayBuffers instead of the default Blobs.
This is one of the few places where we use
var to declare a reference. The
ws token is a variable because if the client should disconnect for any reason we point
ws to a new
WebSocket instance holding the new (hopefully live) connection.
Lines 22-36 of app/logic/sync.js contain most of the rest of the magic:
const recon = (attempt = ) => { const factor = (attempt + 1) / 3 const t = ~~(Math.random() * (2e3 * factor)) + 1e3 * factor setTimeout(() => { ws = wsab('ws://' + location.hostname + ':4001') ws.addEventListener('error', () => recon(attempt + 1)) ws.addEventListener('open', attach); }, t) } const attach = () => { ws.addEventListener('close', () => recon()) ws.addEventListener('message', e => update(e.data)) reg = true }
Whilst the WebSocket connection is created as soon as
app/logic/sync.js is required, the
attach function is invoked the first time its exported function is called.
The
attach function has two roles. It routes incoming messages to the
update function (which parses incoming messages then populates and updates a relevant components scope accordingly). It also attaches a
close listener to the WebSocket. This is where the
recon function comes in.
The
recon function returns a function that will repeatedly attempt to establish a new connection to the server. There is no limit to the amount of attempts, however each attempt will take longer than the last.
Whilst the server could probably handle 300 (exactly) simultaneous connection requests, time for proving this assertion was lacking. So we introduced pseudo-randomness to the exponential backoff strategy to prevent such a scenario. Without the variability in time till reconnect, all clients would try to connect simultaneously.
Time allowing, we could have made a completely seamless offline-first experience by recording current selections in
localStorage and sending the selections back to the server upon reconnection.
Supervisor
Finally, we used the supervisor utility to secure minimal downtime in the event of a server crash.
npm install -g supervisor@0.6
We had to use the 0.6.x version as the 0.7.x line seems to break (on Ubuntu) when used with
nohup (at least on Digital Ocean this appears to be the case).
Supervisor watches a process and restarts it if the process dies.
This was the command we ran from the
atmos directory to start our server:
nohup supervisor srv &
Behaviour consistency
Several libraries are required to ensure cross-platform consistency near the top of app/main.js (our front ends entry point).
Lines 5-11 of app/main.js:
// polyfills/behaviour consistency require('core-js/fn/set'); require('core-js/fn/array/from'); require('core-js/fn/object/assign') require('fastclick')(document.body) require('./logic/support').blackberry()
The core-js module is divided up by feature. So we get to load only what we need.
The fastclick module removes the 300ms delay before a touch is registered on mobile devices. Without this, mobile interaction seems lethargic.
Finally, our purpose-written app/logic/support.js library is used to customize the display by adding a
blackberry class to the
html element if the device is a BlackBerry. The
support library is used elsewhere to detect SVG support, and load PNG faces instead of SVG faces (again this primarily for BlackBerry).
Deployment
We kept deployment very simple. We used an Ubuntu Digital Ocean instance with
node and
git installed on it. We pulled in changes onto the server with git, and ran the server with
nohup. The
nohup (“no hangup”) command allows us to start a process over SSH and terminate the client session without killing the process.
Due to its high performance and aggressive caching policy, we used nginx to serve static files, simply creating symlinks to the local atmos git repository from the nginx serving folder.
Testing
Unfortunately, like most time-constrained projects, we didn’t set up any automated tests.
TDD is awesome when there’s time and forethought; however we were prototyping and exploring possibilities as we went.
Moving forward, the testing strategy will mostly be at the component level.
We could also do with a stress-testing suite to see how much activity the server can take before it comes under strain.
Future
We’d like to break up Atmos more, decouple the view components and make them interchangeable. We’d like to make it very easy to create custom components so that Atmos can be repurposed, yet utilize the real-time infrastructure. We’ll also look into an easy zero-config deployment strategy (possibly with docker containers).
Offline vote recording as discussed in the Reconnection section would also be a nice feature.
We could look into using nginx to round-robin multiple WebSocket servers as well as serving static files. This would further protect availability in the event of a server crash: disconnected clients would quickly reconnect to the an alternative WebSocket server while the crashed server restarts. We would at this point either switch to a database to manage persistence across processes (LevelDB looks like a good choice) or implement a lateral transport layer (e.g. TCP or maybe a message bus) that achieves eventual consistency across the services (maybe we’d use SenecaJS to abstract away the details).
We should probably also fix the layout issue in Internet Explorer.
Conclusion
Being informed about current progressions in the ecosystem allowed us to make decisions that increased productivity whilst avoiding time sink-holes.
Before commencing a project, it’s worth weighing up the priorities and choosing an approach that meets the criteria. For us, it was mainly about payload size because we wanted the real-time application to feel instant, despite poor network conditions.
Cross-platform functionality was less important because we had a specific target audience. Therefore, we sacrificed universal compatibility in favour of small file size. For instance, we used plain WebSockets instead of engine.io or socket.io because old browsers simply weren’t important.
We hadn’t heard of Riot.js before starting this project, but it was a breeze to work with. We think the reasons for this include Riot’s small API ideology, single-minded purpose and concepts that parallel pre-existing paradigms without wrapping abstractions in esoteric language (transclusion, anyone?).
In summary, small is beautiful, research time is never lost time, tailor tools to priorities and always be open to different approaches.
Stay curious and see you next time!
Want to work for nearForm? We’re hiring.
Phone +353-1-514 3545
|
https://www.nearform.com/blog/quickly-build-social-real-time-application/
|
CC-MAIN-2017-39
|
en
|
refinedweb
|
@Retention(value=RUNTIME) @Target(value={FIELD,METHOD}) public @interface XmlElementWrapper
//Example: code fragment int[] names; // XML Serialization Form 1 (Unwrapped collection) <names> ... </names> <names> ... </names> // XML Serialization Form 2 ( Wrapped collection ) <wrapperElement> <names> value-of-item </names> <names> value-of-item </names> .... </wrapperElement>
The two serialized XML forms allow a null collection to be represented either by absence or presence of an element with a nillable attribute.
Usage
The @XmlElementWrapper annotation can be used with the following program elements:
The usage is subject to the following constraints:
XmlElement,
XmlElements,
XmlElementRef,
XmlElementRefs,
XmlJavaTypeAdapter.
See "Package Specification" in javax.xml.bind.package javadoc for additional common information.
XmlElement,
XmlElements,
XmlElementRef,
XmlElementRefs
public abstract String name
public abstract String namespace
If the value is "##default", then the namespace is determined as follows:
XmlSchemaannotation, and its
elementFormDefaultis
QUALIFIED, then the namespace of the enclosing class.
public abstract boolean nillable
public abstract boolean required
If required() is true, then the corresponding generated XML schema element declaration will have minOccurs="1", to indicate that the wrapper element is always expected.
Note that this only affects the schema generation, and not the unmarshalling or marshalling capability. This is simply a mechanism to let users express their application constraints.
|
http://docs.oracle.com/javase/7/docs/api/javax/xml/bind/annotation/XmlElementWrapper.html
|
CC-MAIN-2015-11
|
en
|
refinedweb
|
I tried to use WPF for the first time today and noticed that it is very buggy. I get random errors, windows don't work the way they should, the designer keeps going black and is out of date. Ranaming a window in solution explorer fails to update the window name in code and in namespaces so I have to edit every line manually.
I was trying to create a simple MDI application which it appears is no longer supported. I've tried to test if a window was disposed using the .IsDisposed property which is missing now as well. I can't figure out how to test for a window that is disposed or waiting to be disposed.
I guess for now I am going to stick with Windows Forms because it seems like WPF has a long way to go yet...
Forum Rules
|
http://forums.codeguru.com/showthread.php?475102-is-WPF-still-BETA&p=1833013&mode=threaded
|
CC-MAIN-2015-11
|
en
|
refinedweb
|
{-# LANGUAGE RankNTypes, NamedFieldPuns, BangPatterns, ExistentialQuantification, CPP, ParallelListComp #-} {-Async, runParAsyncHelper, new, newFull, newFull_, get, put_, put, pollIVar, yield, ) where import Control.Monad as M hiding (sequence, join) import Prelude hiding (mapM, sequence) import Data.IORef import System.IO.Unsafe import Control.Concurrent hiding (yield) import GHC.Conc hiding (yield) import Control.DeepSeq import Control.Applicative import Data.Array import Data.List (partition, find) --import Text.Printf -- --------------------------------------------------------------------------- -- MAIN SCHEDULING AND RUNNING -- --------------------------------------------------------------------------- data Trace = forall a . Get (IVar a) (a -> Trace) | forall a . Put (IVar a) a Trace | forall a . New (IVarContents a) (IVar a -> Trace) | Fork Trace Trace | Done | Yield Trace data Sched = Sched { no :: {-# UNPACK #-} !ThreadNumber, -- ^ The threadnumber of this worker workpool :: IORef WorkPool, -- ^ The workpool for this worker status :: IORef AllStatus, -- ^ The Schedulers' status scheds :: Array ThreadNumber Sched, -- ^ The list of all workers by thread tId :: IORef ThreadId -- ^ The ThreadId of this worker } type ThreadNumber = Int type UId = Int type CountRef = IORef Int type WorkLimit = (UId, CountRef) -- ^ The UId and the count of tasks left or Nothing if there's no limit -- When the UId is -1, it means that the worker will remain alive until -- purposely killed (by globalThreadShutdown). -- -- The reason for a work limit is to make sure that nested threads properly exit. -- Imagine a scenario where thread A, a worker thread, encounters a runPar. It -- recursively enters worker status, but it needs ot leave worker status at some -- point to finish the task that caused it to call runPar. Suppose now that it -- encounters another call to runPar. If it has the ability to finish and return, -- we must make sure it returns first for the nested runPar or else it will return -- to the wrong place! The work limit helps achieve this. -- -- TODO: Perhaps the work limit need not restrict what a thread can work on, but -- instead it simply provides the singular point that a thread is allowed to return -- from. The only concern is some potential for bad blocking - is that a legit -- concern? isWLUId :: WorkLimit -> (UId -> Bool) -> Bool --isWLUId Nothing _ = False isWLUId (uid, _) op = op uid shouldEndWorkSet :: WorkLimit -> IO Bool shouldEndWorkSet (u,_) | u == -1 = return False shouldEndWorkSet (_, cr) = do c <- readIORef cr return (c == 0) idleAtWL :: WorkLimit -> MVar Bool -> Idle --idleAtWL Nothing m = Idle Nothing m idleAtWL (uid, _) m = Idle uid m -- | The main scheduler loop. -- This takes the synchrony flag, our Sched, the particular work queue we're -- currently working on, the uid of the work queue (for pushing work), our -- work limit, and the already-popped, first trace in the work queue. -- -- INVARIANT: This should only be called by threads who ARE currently marked -- as working. sched :: Bool -> WorkLimit -> Sched -> (IORef [Trace]) -> UId -> Trace -> IO () sched _doSync wl q@Sched{status, workpool} queueref uid], go) Full a -> (Full a, loop (c a)) Blocked cs -> (Blocked (c:cs), go) r Put (IVar v) a t -> do cs <- atomicModifyIORef v $ \e -> case e of Empty -> (Full a, []) Full _ -> error "multiple put" Blocked cs -> (Full a, cs) mapM_ (pushWork status uid queueref . ($a)) cs loop t Fork child parent -> do pushWork status uid queueref child loop parent Done -> if _doSync then go -- We could fork an extra thread here to keep numCapabilities workers -- even when the main thread returns to the runPar caller... else do -- putStrLn " [par] Forking replacement thread..\n" forkIO go; return () -- But even if we don't we are not orphaning any work in this -- thread's work-queue because it can be stolen by other threads. -- else return () Yield parent -> do -- Go to the end of the worklist: -- TODO: Perhaps consider Data.Seq here. -- This would also be a chance to steal and work from opposite ends of the queue. atomicModifyIORef queueref $ \ts -> (ts++[parent],()) go go = do mt <- atomicPopIORef queueref case mt of Just t -> loop t Nothing -> do -- SCARY: we better be working on the top queue in the pool! cr <- -- | Process the next work queue on the work pool, or failing that, go into -- work stealing mode. -- -- INVARIANT: This should only be called by threads who are NOT currently -- marked as working (or if they are, the task they were working -- on executed a runPar). reschedule :: WorkLimit -> Sched -> IO () reschedule wl q@Sched{ workpool, status } = do wp <- readIORef workpool case wp of Work uid cr wqref _ | isWLUId wl (uid >=) -> do incWorkerCount cr nextTrace <- atomicPopIORef wqref case nextTrace of Just t -> sched True wl q wqref uid t Nothing -> do _ -> steal wl q -- RRN: Note -- NOT doing random work stealing breaks the traditional -- Cilk time/space bounds if one is running strictly nested (series -- parallel) programs. -- | Attempt to steal work or, failing that, give up and go idle. steal :: WorkLimit -> Sched -> IO () steal wl q@Sched{ status, scheds, no=my_no } = -- printf "cpu %d stealing\n" my_no >> go l where (l,u) = bounds scheds go n | n > u = do -- Prepare to go idle m <- newEmptyMVar atomicModifyIORef status $ addIdler (idleAtWL wl m) -- Check to see if this workset is ready to close s <- shouldEndWorkSet wl if s then do -- Time to close this workset --printf "cpu %d shutting down workset %d\n" my_no myPriLimit endWorkSet status (fst wl) return () else do -- There's more work being done here, so I'll go idle finished <- takeMVar m unless finished $ go l | n == my_no = go (n+1) | otherwise = readIORef (workpool (scheds!n)) >>= tryToSteal where tryToSteal (Work uid cr wqref wp) | isWLUId wl (uid >=) = do incWorkerCount cr stolenTrace <- atomicPopIORef wqref case stolenTrace of Nothing -> decWorkerCount uid cr status >> tryToSteal wp Just t -> do sublst <- newIORef [] atomicModifyIORef (workpool q) $ \wp' -> (Work uid cr sublst wp', ()) sched True wl q sublst uid t tryToSteal _ = go (n+1) -- --------------------------------------------------------------------------- -- UTILITY FUNCTIONS -- --------------------------------------------------------------------------- -- | Push work. Then, find an idle worker with uid less than the pushed work. -- If one is found, wake it up. pushWork :: IORef AllStatus -> UId -> (IORef [Trace]) -> Trace -> IO () pushWork status uid wqref t = do atomicModifyIORef wqref $ (\ts -> (t:ts, ())) allstatus <- readIORef status when (hasIdleWorker uid allstatus) $ do r <- atomicModifyIORef status $ getIdleWorker uid case r of Just b -> putMVar b False Nothing -> return () -- | A utility function for decreasing the task count of a work set. -- If the count becomes 0, endWorkSet is called on the work set. decWorkerCount :: UId -> CountRef -> IORef AllStatus -> IO Bool decWorkerCount uid countref status = do done <- atomicModifyIORef countref $ (\n -> if n == 0 then error "Impossible value in decWorkerCount" else (n-1, n == 1)) when done $ (endWorkSet status uid >> globalWorkComplete uid) return done -- | A utility function for increasing the task count of a work set. incWorkerCount :: CountRef -> IO () incWorkerCount countref = do atomicModifyIORef countref $ (\n -> (n+1, ())) -- | A utility for popping an element off of an IORef list. -- The return value is Just a where a is the head of the list -- or Nothing if the list is null. atomicPopIORef :: IORef [a] -> IO (Maybe a) atomicPopIORef ref = atomicModifyIORef ref $ \lst -> case lst of [] -> ([], Nothing) (e:es) -> (es, Just e) -- --------------------------------------------------------------------------- -- IDLING STATUS -- --------------------------------------------------------------------------- data Idle = Idle {-# UNPACK #-} !UId (MVar Bool) data ExtIdle = ExtIdle {-# UNPACK #-} !UId (MVar ()) type AllStatus = ([Idle], [ExtIdle]) -- | A new empty PQueue of Statuses newStatus :: AllStatus newStatus = ([], []) -- | Adds a new Idler to the AllStatus. addIdler :: Idle -> AllStatus -> (AllStatus, ()) addIdler i@(Idle u _) (is, es) = ((insert is, es), ()) where insert [] = [i] insert xs@(i'@(Idle u' _):xs') = if u <= u' then i : xs else i' : insert xs' -- | Adds a new External idler to the AllStatus. addExtIdler :: ExtIdle -> AllStatus -> (AllStatus, ()) addExtIdler e (is, es) = ((is, e:es), ()) -- | Returns an idle worker with uid less than or equal to the given one -- (if it exists) and removes it from the AllStatus getIdleWorker :: UId -> AllStatus -> (AllStatus, Maybe (MVar Bool)) getIdleWorker u q = case q of ([],_) -> (q, Nothing) ((Idle u' m'):rst, es) -> if u' <= u then ((rst,es), Just m') else (q, Nothing) -- | Returns true if there is an idle worker with uid less than the given one hasIdleWorker :: UId -> AllStatus -> Bool hasIdleWorker uid q = case getIdleWorker uid q of (_, Nothing) -> False (_, Just _) -> True -- | Wakes up all idle workers at the given uid with the True signal endWorkSet :: IORef AllStatus -> UId -> IO () endWorkSet status uid = do (is, es) <- atomicModifyIORef status $ getAllAtID mapM_ (\(ExtIdle _ mb) -> putMVar mb ()) es mapM_ (\(Idle _ mb) -> putMVar mb True) is where getAllAtID (is, es) = ((is', es'), (elems1, elems2)) where (elems1, is') = partition (\(Idle u _) -> u == uid) is (elems2, es') = partition (\(ExtIdle u _) -> u == uid) es -- --------------------------------------------------------------------------- -- WorkPool -- --------------------------------------------------------------------------- -- | The WorkPool keeps a queue where each element has a UId, a list of -- traces, and the countRef of how many workers are working on Traces -- of this UId. -- -- It should be that by the natural pushing done in sched, this pool -- should always be in order. We take advantage of this by making -- guarantees but not actually checking at runtime whether they're true. data WorkPool = Work {-# UNPACK #-} !UId CountRef (IORef [Trace]) WorkPool | NoWork -- | Pop the next work queue from the work pool. This should only be called -- if both the work pool contains a pool, and the queue in that pool is -- empty. Thus, it should only be called by the pool's owner. wpRemoveWork :: UId -> IORef WorkPool -> IO CountRef wpRemoveWork uid pRef = atomicModifyIORef pRef f where f :: WorkPool -> (WorkPool, CountRef) f (Work uid' cr' _ p') | uid == uid' = (p', cr') f (Work uid' cr' wq' p') = let (p'', cr'') = f p' in (Work uid' cr' wq' p'', cr'') f NoWork = error "Impossible state in wpRemoveWork" -- --------------------------------------------------------------------------- -- PAR AND IVAR -- ---------------------------------------------------------------------------)) data IVarContents a = Full a | Empty | Blocked [a -> Trace] -- Forcing evaluation of a IVar is fruitless. instance NFData (IVar a) where rnf _ = () -- From outside the Par computation we can peek. But this is -- nondeterministic; it should perhaps have "unsafe" in the name. pollIVar :: IVar a -> IO (Maybe a) pollIVar (IVar ref) = do contents <- readIORef ref case contents of Full x -> return (Just x) _ -> return (Nothing) -- --------------------------------------------------------------------------- -- GLOBAL THREAD IDENTIFICATION -- --------------------------------------------------------------------------- -- Global thread identification is handled byt the globalThreadState object. -- The main way to interact with this object is to attempt to establish global -- Scheds, shut down the threads and clear the Scheds, or to mark a work set -- as complete. data GlobalThreadState = GTS (Array ThreadNumber Sched) !UId !Int -- | This is the global thread state variable globalThreadState :: IORef (Maybe GlobalThreadState) globalThreadState = unsafePerformIO $ newIORef $ Nothing -- | This is called when a work set completes (see decWorkerCount). -- We do this so that we can know if it's okay to do a -- globalThreadShutdown. globalWorkComplete :: UId -> IO () globalWorkComplete _ = atomicModifyIORef globalThreadState f where f Nothing = error "Impossible state in globalWorkComplete." f (Just (GTS retA n c)) = (Just (GTS retA n (c+1)), ()) -- | Attempts to set the global Scheds. If they are already extablished, -- this returns a Failure with a new UId (to interact with the global -- threads) and the current global Scheds. Otherwise, it establishes -- the given array as the global Scheds, and returns a Success containing -- the UId to use. data GTSResult = Success UId | Failure UId (Array ThreadNumber Sched) globalEstablishScheds :: Array ThreadNumber Sched -> IO GTSResult globalEstablishScheds a = atomicModifyIORef globalThreadState f where f Nothing = (Just (GTS a 1 0), Success 0) f (Just (GTS retA n c)) = (Just (GTS retA (n+1) c), Failure n retA) -- | Attempts to shutdown the global threads. If there are unfinished tasks, -- this shuts down nothing and returns False. Otherwise, this shuts down -- all threads, un-establishes the global Scheds, and returns True. -- If the Scheds are currently unestablished, this does nothing and returns -- False. -- -- TODO: This can sometimes leave threads hanging who are not doing any work -- but have not yet marked themselves as idle. Things won't exactly -- break, but there may be MVar errors that are thrown. globalThreadShutdown :: IO Bool globalThreadShutdown = do ma <- atomicModifyIORef globalThreadState f case ma of Nothing -> return False Just a -> do let s = status $ a ! (fst $ bounds a) (is, es) <- atomicModifyIORef s $ \x -> (newStatus, x) mapM_ (\(ExtIdle _ m) -> putMVar m ()) es mapM_ (\(Idle _ mb) -> putMVar mb True) is return True where f (Just (GTS a n c)) | n == c = (Nothing, Just a) f gts = (gts, Nothing) -- --------------------------------------------------------------------------- -- RUNPAR -- --------------------------------------------------------------------------- -- [Notes on threadCapability] -- -- We create a thread on each CPU with forkOnIO. Ideally, the CPU on -- which the current thread is running will host the main thread; the -- other CPUs will host worker threads. -- -- This is possible using threadCapability, but this requires -- GHC 7.1.20110301, because that is when threadCapability was added. -- -- Lacking threadCapability, we always pick CPU #0 to run the main -- thread. If the current thread is not running on CPU #0, this -- will require some data to be shipped over the memory bus, and -- hence will be slightly slower than the version using threadCapability. -- -- If this is a nested runPar call, then we can do slightly better. We -- can look at the current workers' ThreadIds and see if we are one of -- them. If so, we do the work on that core. If not, we are once again -- forced to choose arbitrarily, so we send the work to CPU #0. -- {-# INLINE runPar_internal #-} runPar_internal :: Bool -> Par a -> a runPar_internal _doSync x = unsafePerformIO $ do -- Set up the schedulers myTId <- myThreadId tIds <- replicateM numCapabilities $ newIORef myTId workpools <- replicateM numCapabilities $ newIORef NoWork statusRef <- newIORef newStatus let states = listArray (0, numCapabilities-1) [ Sched { no=n, workpool=wp, status=statusRef, scheds=states, tId=t } | n <- [0..] | wp <- workpools | t <- tIds ] res <- globalEstablishScheds states case res of Success uid -> do #if __GLASGOW_HASKELL__ >= 701 /* 20110301 */ -- See [Notes on threadCapability] for more details (main_cpu, _) <- threadCapability =<< myThreadId #else let main_cpu = 0 #endif currentWorkers <- newIORef 1 let workLimit' = (-1, undefined) let workLimit = (0, currentWorkers) m <- newEmptyMVar rref <- newIORef Empty atomicModifyIORef statusRef $ addExtIdler (ExtIdle uid m) forM_ (elems states) $ \(state@Sched{no=cpu}) -> do forkOnIO cpu $ do myTId <- myThreadId --printf "cpu %d setting threadId=%s\n" cpu (show myTId) writeIORef (tId state) myTId if (cpu /= main_cpu) then reschedule workLimit' state else do sublst <- newIORef [] atomicModifyIORef (workpool state) $ \wp -> (Work uid currentWorkers sublst wp, ()) sched _doSync workLimit state sublst uid $ runCont (x >>= put_ (IVar rref)) (const Done) takeMVar m --printf "done\n" r <- readIORef rref -- TODO: If we're doing this nested strategy, we should probably just keep the -- threads alive indefinitely. After all, we can get some weird conditions -- doing it this way. At the least, we should put this in steal where the -- shutdown occurs. b <- globalThreadShutdown -- putStrLn $ "Global thread shutdown: " ++ show b case r of Full a -> return a _ -> error "no result" Failure uid cScheds -> do #if __GLASGOW_HASKELL__ >= 701 /* 20110301 */ -- See [Notes on threadCapability] for more details (main_cpu, _) <- threadCapability myTId cTId <- readIORef $ tId $ cScheds ! main_cpu let doWork = cTId == myTId #else cTIds <- mapM (\s -> (readIORef $ tId $ s) >>= (\t -> return (s,t))) (elems cScheds) let (main_cpu, doWork) = case find ((== myTId) . snd) cTIds of Nothing -> (0, False) Just (s,_) -> (no s, True) #endif rref <- newIORef Empty let task = runCont (x >>= put_ (IVar rref)) (const Done) state = cScheds ! main_cpu if doWork then do --printf "cpu %d using old threads, of which I am one\n" main_cpu currentWorkers <- newIORef 1 sublst <- newIORef [] let workLimit = (uid, currentWorkers) atomicModifyIORef (workpool state) $ \wp -> (Work uid currentWorkers sublst wp, ()) sched _doSync workLimit state sublst uid $ task else do --printf "cpu %d using old threads, of which I am not one\n" main_cpu currentWorkers <- newIORef 0 sublst <- newIORef [task] m <- newEmptyMVar atomicModifyIORef (status state) $ addExtIdler (ExtIdle uid m) atomicModifyIORef (workpool state) $ \wp -> (Work uid currentWorkers sublst wp, ()) takeMVar m --printf "cpu %d finished in child\n" main_cpu r <- readIORef rref -- globalThreadShutdown case r of Full a -> return a _ -> error "no result" -- | The main way to run a Par computation runPar :: Par a -> a runPar = runPar_internal True -- | An asynchronous version in which the main thread of control in a -- Par computation can return while forked computations still run in -- the background. runParAsync :: Par a -> a runParAsync = runPar_internal False -- | An alternative version in which the consumer of the result has -- the option to "help" run the Par computation if results it is -- interested in are not ready yet. runParAsyncHelper :: Par a -> (a, IO ()) runParAsyncHelper = undefined -- TODO: Finish Me. -- --------------------------------------------------------------------------- -- PAR FUNCTIONS -- --------------------------------------------------------------------------- new :: Par (IVar a) new = Par $ New Empty newFull :: NFData a => a -> Par (IVar a) newFull x = deepseq x (Par $ New (Full x)) newFull_ :: a -> Par (IVar a) newFull_ !x = Par $ New (Full x) get :: IVar a -> Par a get v = Par $ \c -> Get v c put_ :: IVar a -> a -> Par () put_ v !a = Par $ \c -> Put v a (c ()) put :: NFData a => IVar a -> a -> Par () put v a = deepseq a (Par $ \c -> Put v a (c ())) yield :: Par () yield = Par $ \c -> Yield (c ())
|
http://hackage.haskell.org/package/monad-par-0.3/docs/src/Control-Monad-Par-Scheds-TraceInternal.html
|
CC-MAIN-2015-11
|
en
|
refinedweb
|
#include <RS232Connector.hh>
Definition at line 12 of file RS232Connector.hh.
Definition at line 10 of file RS232Connector.cc.
Definition at line 17 of file RS232Connector.cc.
A Connector belong to a certain class.
Only Pluggables of this class can be plugged in this Connector.
Implements openmsx::Connector.
Definition at line 26 of file RS232Connector.cc.
Get a description for this connector.
Implements openmsx::Connector.
Definition at line 21 of file RS232Connector.cc.
Definition at line 31 of file RS232Connector.cc.
References openmsx::Connector::getPlugged().
Definition at line 37 of file RS232Connector.cc.
Implements openmsx::SerialDataInterface.
Implemented in openmsx::MSXRS232.
Referenced by openmsx::RS232Tester::plugHelper().
|
http://openmsx.sourceforge.net/doxygen/classopenmsx_1_1RS232Connector.html
|
CC-MAIN-2015-11
|
en
|
refinedweb
|
I am doing a C project in NB 6.1RC1 on WinXP with the MinGW tools.
When I compile anything, the include directories are not found! For example, here is the start of some code (GPC_WIN and
GPC_MinGW are defined):
#include "comp.h"
#include <stdio.h>
#include <memory.h>
#ifdef GPC_WIN
#define JAVA_LOCATION "\"c:\\Program Files\\Java\\jre1.6.0_05\\bin\\java\""
#define TP_LOCATION "C:\\NetBeansProjects\\tekplot\\tekplot\\dist\\tekPlot.jar"
#include <process.h>
#ifdef GPC_CYGWIN
#include <w32api/winsock2.h>
#endif
#ifdef GPC_MinGW
#include <winsock2.h>
#endif
#include <time.h>
#include <errno.h>
#include <windows.h>
#endif
#ifdef GPC_UNX
#define GPC_OSX
#define JAVA_LOCATION "/usr/bin/java"
#ifdef GPC_OSX
#define TP_LOCATION "/Users/jar/Tekdraw2/tekPlot/dist/tekPlot.jar"
#else
// Note: unable to use ~ here
#define TP_LOCATION "/home/jar/Tekdraw2/tekPlot/dist/tekPlot.jar"
#endif
// Note:Only include the main include directory in NetBeans C options
#include <unistd.h>
#include <errno.h>
#include <netdb.h>
#include <sys/socket.h>
#include <netinet/in.h>
#endif
NetBeans "sees" the comp.h include file because the #ifdefs are properly colored. But when I try to compile the code,
make cannot seem to find any of my include files. comp.h is in C:\nbprojects\graphic2dll\trunk\include
mkdir -p build/Windows-Debug/MinGW-Windows/src
gcc.exe -c -g -IC\:/nbprojects/graphic2dll/trunk/include -IC\:/MinGW/include -o
build/Windows-Debug/MinGW-Windows/src/tkfPush.o src/tkfPush.c
src/tkfPush.c:9:18: comp.h: No such file or directory
src/tkfPush.c: In function `tkfpush':
src/tkfPush.c:60: error: storage size of 'addr' isn't known
src/tkfPush.c:61: error: storage size of 'inputaddress' isn't known
GPC_WIN and GPC_MinGW are defined in comp.h
The problem is the MinGW make. When I used cygwin's make, this worked. why? If the MinGW make is no good, you should
warn people it that, or else modify the make files accordingly.
Although compiler settings are changed in NetBeans 6.1, I recommend to read this tutorial:
This issue suggests a usability issue in the product. Escalated to P2.
I followed all of those setup instructions. But the old version does not let you specify make. The new one does. I used
c:\MinGW\bin\mingw32-make.exe.
That did not work.
Using c:\cygwin\bin\make.exe
did work.
Why??
Yes it sure is a usability issue. It wasted 2 days for me too.
And I have the newest version of the released MinGW tools installed too.
Why? I don't know. It is old bug. (issue 79512 : "MinGW mingw32-make.exe not supported")
Instead of 'mingw32-make.exe' need to use 'C:/msys/1.0/bin/make.exe' ('make' from MSYS).
I think the issue is that MinGW's make tries to imitate Microsoft's nmake. So, if you allow users to specify the MinGW
make, you need to create a different sort of Makefile. If you cannot do that, you need to warn users not to use the
MinGW make in the GUI.
I agree. Need to warn users not to use the MinGW make in the GUI.
Also I think your problem should be resolved in the future. IDE generates strange string
('-IC\:/nbprojects/graphic2dll/trunk/include' instead of '-IC:/nbprojects/graphic2dll/trunk/include').
This from MinGW:
> >Comment By: Keith Marshall (keithmarshall)
Date: 2008-04-19 20:43
Logged In: YES
user_id=823908
Originator: NO
This has nothing to do with `make' -- the issue is with GCC's resolution
of your include file paths.
MinGW's GCC can't understand POSIX paths, even when you use MSYS. If you
must specify absolute include file paths within your source code, then you
*must* specify them in *native* Windows syntax, (although you *may* use
normal slashes, in preference to backslashes, as the directory separators).
Most projects avoid this issue, by using *relative* include file paths.
Cygwin's GCC *can* understand POSIX paths, WRT it's own emulated POSIX
mapping of the file system; this is why it does work in Cygwin.
I'm closing this as `invalid' for now. If you feel I've misinterpreted
your problem, please feel free to add a follow-up comment, and I'll reopen
it.
----------------
So, you need to change the make file if the user uses MinGW or MSYS. Hence, I think this is a real bug.
I am now thinking that when I use the cygwin make.exe, it also calls the cygwin gcc. That would agree with what the
MinGW people said.
In this case, the C/C++ settings page is very wrong for Windows. What I have concluded is that you MUST use the MinGW
libraries and include files if you want to do anything that "plays with" Windows, e.g., a dll. If you look at the
include files in cygwin vs MinGW, you will see that the latter have all the correct Windows declarations. But, unless NB
changes the Makefile, you MUST use the cygwin tools. So neither the cygwin nor the MinGW tools setting will work.
The GUI needs to explain this to users properly and prevent them from doing the wrong thing.
I think this is a NB6.1 blocker.
Yes. I cannot build project by 'mingw32-make.exe'. But I replaced this utility on 'c:\msys\1.0\bin\make.exe' and I have
not problem with build. At least I cannot understand you problem. Can you attach your
project?
-------------------------------------------------------------------------------
Running "C:\msys\1.0\bin\make.exe -f Makefile CONF=Debug" in C:\tmp\mingw
/usr/bin/make -f nbproject/Makefile-Debug.mk SUBPROJECTS= .build-conf
make[1]: Entering directory `/c/tmp/mingw'
mkdir -p build/Debug/MinGW-Windows
gcc.exe -c -g -IC\:/nbprojects/graphic2dll/trunk/include -o build/Debug/MinGW-Windows/tkfPush.o tkfPush.c
mkdir -p dist/Debug/MinGW-Windows
gcc.exe -o dist/Debug/MinGW-Windows/mingw build/Debug/MinGW-Windows/tkfPush.o
make[1]: Leaving directory `/c/tmp/mingw'
Build successful. Exit value 0.
Created attachment 60558 [details]
My project
Here is the issue as I see it:
1) If you use the cygwin include files and libraries, your executable will only run in the cygwin environment. This
should be noted in the GUI.
2) If you want your executable to run in Windows directly, you must use the MinGW includes and libraries.
3) If what the MinGW people say is true, the problem is the gcc compiler, not the version of make. But it is actually
the Makefile that is the problem. If the user opts to use the MinGW tools, the Makefile needs to use windows \ path
separators. If the user chooses the cygwin tools, it needs to use the / separator, or maybe either.
4) I think that the cygwin make must launch the cygwin gcc. That would explain why it works using the cygwin make.exe.
5) To fix this, NetBeans should
-> Make a different Makefile for each chosen toolset
-> Document the issues raised above, preferably in the GUI itself.
-> If NB does not want to create a separate Makefile for MinGW, the GUI needs to disallow the use of the MinGW
mingw32-make.exe.
I really think this needs fixing before the 6.1 release!
We will disallow mingw32-make.exe in the tool set and provide an error dialog explaining why if the user attempts to select the MinGW make.
Added a check to disallow mingw32-make.exe.
comparing with:***@hg.netbeans.org/main/
searching for changes
changeset: 78930:0d5b094f36cd
user: Thomas Preisler <thp@netbeans.org>
date: Tue Apr 22 20:03:36 2008 -0700
summary: 133260 Include files not found
changeset: 78931:0374d6b5dc38
tag: tip
user: Thomas Preisler <thp@netbeans.org>
date: Tue Apr 22 20:04:52 2008 -0700
summary: 133260 Include files not found
Fixed.
Now disallowing mingw32-make.exe as a make in any compiler set. If the user selects this make, the validation fails and the following error message is
displayed: mingw32-make.exe is not compatible and is not supported. Use make form MSYS.
The plan is to also document this in the tool chain documentation with a more elaborate explanation why mingw32-make.exe doesn't work with our projects.
Changes pushed to trunk. Waiting for QA to verify so the fix can go into 6.1 patch.
changeset 0d5b094f36cd in main
details:;node=0d5b094f36cd
description:
133260 Include files not found
changeset 0374d6b5dc38 in main
details:;node=0374d6b5dc38
description:
133260 Include files not found
I would say "use make from MSYS or Cygwin"
I was unable to find an easy way to install MSYS. There is no Windows installer available for it any more.
verified in dev build 20080423100942
jarome, latest MSYS you can find here:
this link is derivable from mingw.org
The link to MSYS installer is
It is available from the MinGW download area on SourceForge.
Please see
Thanks for the link. But I was unable to find that link from the MinGW page.
But, however, the cygwin make works properly, and many people have that installed already, so there is no reason not to
suggest using either of them.
I went to and then clicked on the sourceforge download link and see no MSYS executable file there. So I claim this is
hard to find. There are onlt tar.bz2 files.
jarome, please use Ctrl-F on your sourceforge page with 'msys' expression. You should look through not only Latest File
Releases but also MSYS Base System below.
It is hidden! You have to click + to find it.
But I still think you should also suggest the cygwin make.exe. Many more people have already installed cygwin so that
they can connect to Linux environments. Why not?
Insofar as possible we'd like to remain toolchain neutral, hence the reluctance to make specific recommendations. The
community (including yourself) is available to help future users who may run into this issue.
Jesse
I've trnsplanted the changesets;node=0d5b094f36cd and;node=0374d6b5dc38 into release61_fixes repository as resp.
changeset: 77488:b7e78c87abdf
user: Thomas Preisler <thp@netbeans.org>
date: Tue Apr 22 20:03:36 2008 -0700
summary: 133260 Include files not found
changeset: 77489:58982d4cd1db
tag: tip
user: Thomas Preisler <thp@netbeans.org>
date: Tue Apr 22 20:04:52 2008 -0700
summary: 133260 Include files not found
*** Issue 79512 has been marked as a duplicate of this issue. ***
*** Bug 226706 has been marked as a duplicate of this bug. ***
|
https://netbeans.org/bugzilla/show_bug.cgi?id=133260
|
CC-MAIN-2015-11
|
en
|
refinedweb
|
Created on 2010-04-15 00:51 by george.hu, last changed 2013-11-18 11:09 by serhiy.storchaka. This issue is now closed.
Have this problem in python 2.5.4 under windows.
I'm trying to return a list of files in a directory by using glob. It keeps returning a empty list until I tested/adjusted folder name by removing "[" character from it. Not sure if this is a bug.
glob.glob("c:\abc\afolderwith[test]\*") returns empty list
glob.glob("c:\abc\afolderwithtest]\*") returns files
When you do :
glob.glob("c:\abc\afolderwith[test]\*") returns empty list
It looks for all files in three directories:
c:\abc\afolderwitht\*
c:\abc\afolderwithe\*
c:\abc\afolderwiths\*
Ofcourse they do not exist so it returns empty list
06:35:05 l0nwlf-MBP:Desktop $ ls -R test
1 2 3
06:35:15 l0nwlf-MBP:Desktop $ ls -R test1
alpha beta gamma
>>> glob.glob('/Users/l0nwlf/Desktop/test[123]/*')
['/Users/l0nwlf/Desktop/test1/alpha', '/Users/l0nwlf/Desktop/test1/beta', '/Users/l0nwlf/Desktop/test1/gamma']
As you can see, by giving the argument test[123] it looked for test1, test2, test3. Since test1 existed, it gave all the files present within it.
See the explanation at , which uses the same rules.
Ok, what if the name of the directory contains "[]" characters? What is the escape string for that?
The documentation for fnmatch.translate, which is what ultimately gets called, says:
There is no way to quote meta-characters.
Sorry.
If you want to see this changed, you could open a feature request. If you have a patch, that would help!
You probably want to research what the Unix shells use for escaping globs. the only way is to program a filter on the
listdir.
On Wed, Apr 14, 2010 at 6:34 PM, Shashwat Anand <report@bugs.python.org>wrote:
>
> Shashwat Anand <anand.shashwat@gmail.com> added the comment:
>
>'
>
> ----------
> status: pending -> open
> type: behavior -> feature request
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <>
> _______________________________________
> be the only way is to write a filter on the listdir.
You repeated the same comment twice and added an 'unnamed' file. I assume you did it by mistake.
Shouldn't the title be updated to indicate the fnmatch is the true source of the behavior (I'm basing this on indicating the fnmatch is invoked by glob). I'm not using glob, but fnmatch in my attempt to find filenames that look like "Ajax_[version2].txt".
If nothing else, it would have helped me if the documentation would state whether or not the brackets could be escaped. It doesn't appear from my tests (trying "Ajax_\[version2\].txt" and "Ajax_\\[version2\\].txt") that 'escaping' is possible, but if the filter pattern gets turned into a regular expression, I think escaping *would* be possible. Is that a reasonable assumption?
I'm running 2.5.1 under Windows, and this is my first ever post to the bugs list.
Following up...
I saw Eric Smith's 2nd note (2010-04-15 @1:27) about fnmatch.translate documentation stating that
"There is no way to quote meta-characters."
When I looked at:
did not see this statement appear anywhere. Would this absence be because someone is working on making this enhancement?
I don't think so. That quote came from the docstring for fnmatch.translate.
>>> help(fnmatch.translate)
Help on function translate in module fnmatch:
translate(pat)
Translate a shell PATTERN to a regular expression.
There is no way to quote meta-characters.
The 3.1.2 doc for fnmatch.translate no longer says "There is no way to quote meta-characters." If that is still true (no quoting method is given that I can see), then that removal is something of a regression.
The note about no quoting meta-chars is in the docstring for fnmatch.translate, not the documentation. I still see it in 3.1. I have a to-do item to add this to the actual documentation. I'll add an issue.
As a workaround, it is possible to make every glob character a character set of one character (wrapping it with [] ). The gotcha here is that you can't just use multiple replaces because you would escape the escape brackets.
Here is a function adapted from [1]:
def escape_glob(path):
transdict = {
'[': '[[]',
']': '[]]',
'*': '[*]',
'?': '[?]',
}
rc = re.compile('|'.join(map(re.escape, transdict)))
return rc.sub(lambda m: transdict[m.group(0)], path)
[1]
i m agree with answer number 6. the resolution mentioned is quite easy and very effectve
thanks
The attached patch adds support for '\\' escaping to fnmatch, and consequently to glob.
I have comments on the patch but a review link does not appear. Could you update your clone to latest default revision and regenerate the patch? Thanks.
Noblesse oblige :)
> The attached patch adds support for '\\' escaping to fnmatch, and consequently to glob.
This is a backward incompatible change. For example glob.glob(r'C:\Program Files\*') will be broken.
As flacs says a way to escape metacharacters in glob/fnmatch already exists. If someone want to match literal name "Ajax_[version2].txt" it should use pattern "Ajax_[[]version2].txt". Documentation should explicitly mentions such way.
It will be good also to add new fnmatch.escape() function.
Here is a patch which add fnmatch.escape() function.
I am not sure if escape() should support bytes. translate() doesn't.
I think the escaping workaround should be documented in the glob and/or fnmatch docs. This way users can simply do:
import glob
glob.glob("c:\abc\afolderwith[[]test]\*")
rather than
import glob
import fnmatch
glob.glob(fnmatch.escape("c:\abc\afolderwith[test]\") + "*")
The function might still be useful with patterns constructed programmatically, but I'm not sure how common the problem really is.
> I think the escaping workaround should be documented in the glob and/or fnmatch docs.
See issue16240. This issue left for enhancement.
Patch updated (thanks Ezio for review and comments).
The workaround is now documented.
I'm still not sure if this should still be added, or if it should be closed as rejected now that the workaround is documented.
A third option would be adding it as a recipe in the doc, given that the whole functions boils down to a single re.sub (the user can take care of picking the bytes/str regex depending on his input).
It is good, if stdlib has function for escaping any special characters, even if this function is simple. There are already escape functions for re and sgml/xml/html.
Private function glob.glob1 used in Lib/msilib and Tools/msi to prevent unexpected globbing in parent directory name. ``glob.glob1(dirname, pattern)`` should be replaced by ``glob.glob(os.path.join(fnmatch.escape(dirname), pattern)`` in external code.
I've attached fnmatch_implementation.py, which is a simple pure-Python implementation of the fnmatch function.
It's not as susceptible to catastrophic backtracking as the current re-based one. For example:
fnmatch('a' * 50, '*a*' * 50)
completes quickly.
I think it should be a separate issue.
Escaping for glob on Windows should not be such trivial. Special characters in the drive part have no special meaning and should not be escaped. I.e. ``escape('//?/c:/Quo vadis?.txt')`` should return ``'//?/c:/Quo vadis[?].txt'``. Perhaps we should move the escape function to the glob module (because it is glob's peculiarity).
Here is a patch for glob.escape().
Could anyone please review the patch before feature freeze?
Updated patch addresses Ezio's and Eric's comments.
Updated patch addresses Eric's comment.
Looks good to me.
New changeset 5fda36bff39d by Serhiy Storchaka in branch 'default':
Issue #8402: Added the escape() function to the glob module.
Thank you Ezio and Eric for your reviews.
|
http://bugs.python.org/issue8402
|
CC-MAIN-2015-11
|
en
|
refinedweb
|
HOUSTON (ICIS)--Europe is going to see more cracker shutdowns and plant idlings in the coming five years as producers adapt to market demand and Middle East production capacities, the CEO of Dow Chemical said on Wednesday.
“What we are going to see in the next five years in Europe, is, in my belief, more shutdowns and more idlings because you can’t keep [crackers] running at the [current] slim margins,” Andrew Liveris told analysts during Dow’s third-quarter results conference call.
Dow, for its part, may re-evaluate its crackers in Europe once its Sadara petrochemicals project in ?xml:namespace>
However, Dow Chemical's European crackers in
“We are in the lowest-cost of the highest-cost position in
Liveris also said that it would generally make not much sense to ship ethane from the
However, Liveris said that this makes sense only if a company already has ethane cracking capacities in place in
“There has been ethane available around the world for a long time, but it hasn’t moved for a reason,” he said.
And even though Dow has liquid petroleum gas (LPG) cracking capability in the
“I think [INEOS] is more a one-off, rather than systemic,” he added.
|
http://www.icis.com/resources/news/2012/10/24/9607055/europe-to-see-more-cracker-shutdowns-in-next-five-years-dow-ceo/
|
CC-MAIN-2015-11
|
en
|
refinedweb
|
Network.Protocol.ZigBee.ZNet25.Encoder
Contents
Description
XBee ZNet 2.5 (ZigBee) frame encoder/decoder functions
Synopsis
- encode :: Frame -> [ByteString]
- data DecoderState
- initDecode :: DecoderState
- decode :: MonadState DecoderState m => ByteString -> m [Either String Frame]
Frame encoder
encode :: Frame -> [ByteString]Source
Serialize a
Frame, escape control characters, and wrap the result with
framing bytes. Return an array of
ByteString suitable for transmission
to the XBee modem.
Note that this function returns an array of
ByteString. Encoding
takes place in a piece-wise manner and for efficiency's sake the individual
bits are not concatenated to form a single
ByteString. Typically this is
a non-issue however if you need a single
ByteString representation of the
Frame you can always obtain it by calling
concat.
Here's an example that illustrates
encode usage as well as the
on-the-wire frame format:
import qualified Data.ByteString as B import Network.Protocol.ZigBee.ZNet25 import Text.Printf main = hexdump $ B.concat $ encode (ATCommand 0 (commandName "ND") B.empty) hexdump = mapM_ (putStr . printf "%02x ") . B.unpack
This prints:
7e 00 04 08 00 4e 44 65
The leading
7e byte is the frame delimiter. This is followed by the 16-bit
frame length (4 bytes in this case), that many bytes of data (the
serialized
ATCommand frame), and the final checksum byte.
Stateful frame decoder
data DecoderState Source
decode runs in the
State monad.
DecoderState tracks the
decoder's in/out-of frame state, current frame length, and other state
variables.
Instances
initDecode :: DecoderStateSource
decode :: MonadState DecoderState m => ByteString -> m [Either String Frame]Source
Decode a
ByteString in the
State monad, reversing the
encode
process. Once a frame delimiter byte is found, the inner frame payload is
unescaped, the checksum is verified, and finally a
Frame is deserialized.
Note that this function may produce zero or more errors or
Frames depending
on the
DecoderState and input byte string. Errors will be reported for
checksum errors and
Frame deserialization failures.
Here's a slightly more complex example that
encodes two separate frames,
runs each array of
ByteStrings through
decode and prints the result
after running the
State monad:
import Control.Monad.State import qualified Data.ByteString as B import Network.Protocol.ZigBee.ZNet25 main = putStrLn $ show $ evalState (mapM decode bs) initDecode where bs = concat $ map encode [atndCommand, txRequest] atndCommand = ATCommand 1 (commandName "ND") B.empty txRequest = ZigBeeTransmitRequest 2 addr nwaddr 0 0 $ B.singleton 0x55 addr = address $ B.pack [ 0xde, 0xad, 0xbe, 0xef, 0xba, 0xda, 0xba, 0xda ] nwaddr = networkAddress $ B.pack [ 0x55, 0xaa ]
This prints:
[[],[],[],[Right (ATCommand 1 "ND" "")],[],[],[],[Right (ZigBeeTransmitRequest 2 de:ad:be:ef:ba:da:ba:da 55:aa 0 0 "U")]]
Note a few things:
- Each call to
encodeapparently produced four separate
ByteStrings. This is a by-product of the
encodeimplementation as described above.
decodewas only able to produce a result once the final
ByteStringof each
Framewas processed. In this case the result was
Right
Frame. If an error had occurred, we'd see
Left
Stringinstead.
|
http://hackage.haskell.org/package/zigbee-znet25-0.1.1.0/docs/Network-Protocol-ZigBee-ZNet25-Encoder.html
|
CC-MAIN-2015-11
|
en
|
refinedweb
|
Thanks for submitting this feedback. Microsoft.Owin package underwent some re-factoring post preview based on feedback. The class 'IntegratedPipelineExtensions' which contains the UseStagemarker() extension was moved to the namespace Microsoft.Owin.Extensions based on feedback. The aspnet identity package (preview) - trying to use the UseStageMarker() - has a dependency on the preview version of Microsoft.Owin.
To resolve this issue try one of the following:
1. Update all the packages including the *aspnet.Identity* packages – You will still have to fix up any template code changes made in RC by yourself.
2.[Recommended]: Use VS 2013 RC to create projects. By this way you automatically get the template code changes done to accommodate katana changes as well as RC version of all packages.
After fixing all the references pointing to the right location, I can't repro the issue.
Visual studio will fallback reference path to bin folder if he can find a dll with same name. I guess the issue is that your bin folder has some old version files and VS can still compile with them. Please manually remove bin folder in your web project before your next try.
|
https://connect.microsoft.com/VisualStudio/feedback/details/801735/could-not-load-type-owin-integratedpipelineextensions-from-assembly-microsoft-owin-version-2-0-0-0-culture-neutral-publickeytoken-31bf3856ad364e35
|
CC-MAIN-2015-11
|
en
|
refinedweb
|
Summary: selective import breaks normal overload resolution> 2012-09-16 06:03:26 PDT ---
The consequences of this bug are commonly observed by unwary as spurious
template instantation fails around std.string split and (previously) replace if
std.regex is imported.
This happens because std.string publicly and selectively imports a bunch of
functions from std.array and that brings about a pack of bad side effects.
(marked as critical as it cripples Phobos usage in a very unfriendly way)
The bug simplified:
//2 modules with unambigiuos template function
module m2;
void split(T)(T k)
if(is(T : int)){}
//second one
module m;
void split(T)(T k)
if(is(T : string))
{
}
//another one to call them
import m;
import m2: split; //removing : split makes it work
void main(){
split("abc");
split(123);
}
Output:
tryit.d(5): Error: template m2.split does not match any function template
declar
ation
tryit.d(5): Error: template m2.split(T) if (is(T : int)) cannot deduce template
function from argument types !()(string)
So, apparently, selectively imported symbol hides all others.
Tested on DMD v2.060, was there since at least 2.056.
--
Configure issuemail:
------- You are receiving this mail because: -------
--- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2013-01-09 17:58:21 PST ---
With current dmd implementation, this is an expected behavior.
(But, I'm not sure whether is an expected language design.)
A selective import adds an alias declaration in importing module. So:
import m;
import m2: split; //removing : split makes it work
is same as:
import m;
import m2;
alias split = m2.split;
// in here, the name `split` has just one overload m2.split
// (does not contain m1.split)
Therefore, in main, split("abc") does not match any function template
declaration.
===
In addition, renamed import works as same way. With current implementation,
import m : x = split;
behaves same as:
import m;
alias x = m.split;
--
Configure issuemail:
------- You are receiving this mail because: -------
--- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> 2013-01-09 18:11:34 PST ---
1. If the current behavior is correct,
import mod : name;
is just equal to
import mod : name = name;
2. If this bug report is correct (== current behavior is incorrect),
import mod : name;
just makes `name` visible in symbol look up. And,
import mod : name = name;
merges overload set in the importing module.
Then the two are different.
I think #2 is more flexible and controllable design.
--
Configure issuemail:
------- You are receiving this mail because: -------
Kenji Hara <k.hara.pg@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #3 from Kenji Hara <k.hara.pg@gmail.com> 2013-07-09 23:26:07 PDT ---
I finally concluded that the current selective import behavior is not good.
Then I fixed this issue in the pull request, but it's a breaking change.
Dmitry, could you please comment your opinion in github discussion?
--
Configure issuemail:
------- You are receiving this mail because: -------
|
http://forum.dlang.org/thread/bug-8667-3@http.d.puremagic.com%2Fissues%2F
|
CC-MAIN-2015-11
|
en
|
refinedweb
|
<<
hello,
is it possible to change Module Bluetooth adress with AT Commands or is there another way to change it?
Hi, very usefull ible.
I have one question. Is it possible to configure the HC-05 through AT commands to be seen as a keyboard/gamepad/mouse? According to the command ref pdf (appendix 2) you posted, there is such functionality. The question is if this would sufice, or a firmare flashing would be needed for it.
Dear Hazim, thank you for this very useful application. I have an EN pin instead of KEY pin on my HC05 and it does not seem to be connected to PIO11 (Pin34) (I have checked it with an AVO. Do you think short circuiting the EN pin with Pin34 will solve the problem?
My second question is, how can I pair the HC05 connected to an Arduino uno with an HC06 connected to an ATTiny 85?
Cheers.
Dear friend,
In my Hc-05 have tiny push button to put AT mode.
what i doing to put configure mode
1) disconnect power pin.
2) press the tiny push button
3) same time connect the power.
Done.
EN pin should be the same as KEY pin. The default baud rate in AT command mode is different for different devices. My HC05 had it set at 9600. Try setting different baud rate and see if that solves the problem.
Same problem. Do you got the solution???
HC-05 bluetooth why I did not respond to anything when I type AT? please help, I want to change the name and passwordnyaa
Hey, this instructable is missing one thing. To communicate Arduino with HC-05 you have to set line ending box in Arduino Serial Monitor to "Both NL and CR"
Hope it helps.
One IMPORTANT thing, Newline feed (\n) and Carriage return (\r) are needed on every AT command entered. So if you're using Arduino's serial monitor make sure you select "Both NL and CR" on the dropdown.
Thank Youuuu!!!
WOW! THANK YOU for sharing this! I have been stuck on this tutorial for 3 days now, never being able to display any response in my serial monitor from the HC-05. I even bought another HC-05, thinking that my original was defective. You rock :)
Thanks for this!
THANKS!! THAT WAS NEEDED :) :)
Very useful set of instructions.
I have the same module but found that you could enter AT mode by disconnecting power to the HC-05, pressing the reset button on the module and reapplying power.
When initially connected the red LED would flash quickly. When in AT mode, the LED flashes much more slowly.
Thank you, this worked for me.
To clarify, you must:
1) disconnect power from module
2) press and hold the little button on the module
3) reconnect power and continue holding the button until you see the light blinking slowly
This is the module I'm using:
same module, i cant see any button
Hello,
I have a CZ-HC-05 Bluetooth module that I've wired to an Arduino UNO Rev3 per the instructions on this website. I have successfully gotten the LED to blink slowly (2 seconds on, 2 seconds off) indicating to me that I'm in AT command mode. However, when I open the serial monitor and type AT I don't get an OK response from the HC-05. I copied and pasted the code from this website into the Arduino IDE so I'm certain it's correct. My serial monitor is set to 9600 to match the serial port baud rate. I also set the serial port to Both NL & CR. I have tried typing AT\n\r as well and still no response from the HC-05. Can anyone help me?
Same Problem, no response, have you got it?
The default rate for the BT module is 38400.
hello, thanks for everything you done.
my broblem is the HC 05 is not responding after verifying the wiring the code every thing many times, so could you tell me what could be the problem ???
thanks again ..
I've been searching and searching and I have not been able to find your sketch for this tutorial. (PS: Im new to BT and Arduino)...one week ago I thought a "sketch" was just a basic drawing of something...but now it also means Arduino code too. :-)
Hello, I'm having a problem. I followed all the instruction and can enter AT command mode. I entered "AT" but it returns like this. The same goes "AT+VERSION?". I try other commands like "AT+NAME=MYBLUE" but HC-05 name doesn't change. What is wrong in this case?
I have already configured my HC-05 as a master. I would like to communicate it with an android app where in this app will be used as the slave. I followed the instruction wherein i configured it at master using AT command. I would like to test if I can send data using HC-05 to android app so i run the program with the same code including BTSerial.write("test") at the last if statement hoping this data willl be send to my app, but it fail to do so. What can I do to test it? Thanks
I tried this tutorial with hc-05, with my arduino MEGA R3, but when i sent AT, the monitor didn't show anything. My module has EN instead of KEY. I soldered wire with Pin34 and gave it 5v But still sam problem.
Had the same problem today, look at for nice tutorial.
(keep in mind those options in serial monitor in arduino ide)-...
Also it seems that my module communicates ok both ways while in AT mode, and when in normal mode it only sends data to phone. the data i send from phone gets lost some ware, strange.. same issues anyone?
Hi. You need to finish the command with a terminator : AT /r/n or AT ENTER
For somme reasons , it's not the same on the hc-06 .
I've chimed in late. Does "finish the command..." deal with the differences needed for HC-06? Are you saying that 6 days asadsalehhayat is using a HC-06 and not a HC-05? Other than the terminator, is dealing with a HC-06 the same as a HC-05? Thanks...
I'm using an HC05
Hi, i only don't understand one thing. Let's say we want to put HC-05 in master mode and we do that successfully by sending the appropriate device. How does it know with which (slave) device to set up a connection with and how will it pair with it without knowing its password?!
Thanks! :)
Ok, I noticed that there's a bind command. So I should provide the master module with the slave's address. What about the slave's password?
How do we successfully connect two Bluetooth modules with each other (till the level of data transmission and reception)?
I have been able to link the two Bluetooth modules and connect them. But having pulled out the config pin (making the devices in the working mode), data transmission is not happening.
Some expert, Please help.
1. On both blue tooth devices, put the in AT mode, and type this command in the serial monitor: "AT+BAUD?". This should give you the current baud rate of the devices. The default for mine said it was 38400, but it was actually set to 9600. If it's not set to 9600, do so. Make this change in the code as well "BTSerial.begin(9600)". If you ever need to go back to the AT command, just do "BTSerial.begin(9600).
2. Make sure one of the Bluetooth is a master, and the other is a slave via the AT commands.
3. If you want to tell the Bluetooth device to only find each other. Find the address of both devices (write them down). Make sure that AT+CMOD is set to 0 for both devices. Finally use the AT+BIND command to apply eachother's addresses.
4. To send data from master to slave, use:
BTSerial.write(number or character);
To receive the data on your slave, use:
If (BTSerial.available())
{
Serial.println( BTSerial.read() );
}
Hope this helps and somewhat answers your question.
you are right about baudrate. normally hc-05 is baudrate 9600 but in this code wrote 38400 then I change to 9600 but program wasn't work. I was try to work along 3 hours as a 9600 baudrate but I didn't. then I didn't touch any code, just copy/past from original code, it was work. now I can use AT Commands with 38400.
There's no such thing as 'normally hc-05' - different manufacturers put different firmware with different commands and different capabilities.
I also made a typo. I say "If you ever need to go back to the AT command, just do "BTSerial.begin(9600)". That number should say 38400.
thanks.....nice information.
i have a question also..how many bluetooth modules (HC-05) can be connected to bluetooth dongle?
7
I have a HC-05 question : Can I use the AT Command "AT+PIO=2,1" to set the pio port 2 to High state "over the air"? I can set the pio 2 port to HIGH via UART (Rx-Tx) and it works fine, but not when HC-05 is wireless connected to a remote device.
|
http://www.instructables.com/id/Modify-The-HC-05-Bluetooth-Module-Defaults-Using-A/
|
CC-MAIN-2015-11
|
en
|
refinedweb
|
In this continuing series of Longhorn articles, I will talk about the APIs that developers will use to write the next generation of Windows applications.
By now you should have heard of several new acronyms and names that are usually mentioned whenever someone talks about Longhorn. These include WinFX (which is the topic of this article), WinFS, Indigo, and Avalon. In this article I will focus on WinFX and discuss briefly the rest of the technologies. I will give you a high-level introduction to WinFX and what it means to developers.
So what is WinFX? Put simply, WinFX is the set of APIs that you will use to write Windows applications in Longhorn. Windows programmers today use Win32; WinFX is the next generation of APIs for Windows. The "Win" in WinFX stands for Windows and the "FX" stands for .NET Framework Extension (think of WinFX as an extension of the .NET Framework in Longhorn).
WinFX is not a revolutionary set of APIs for programming Windows. Rather, it is an evolution. If you look back at the early days of Windows, we first had Win16 APIs, followed by Win32. When Windows 95 was launched in 1995, 32-bit applications were the de facto standard, even though DOS and 16-bit applications were still supported. Going forward, Win32 applications will still be supported, but WinFX is the way to go in Longhorn.
Today, programmers generally have two choices when they write Windows applications, Win32 or the .NET Framework.
In Longhorn, the Win32 APIs will still be supported, but the WinFX will contain the primary APIs to use for writing Windows applications. While Win32 APIs are C-styled, WinFX is designed to be used natively by .NET applications (which means that your Longhorn applications are now managed).
What does it mean to a .NET developer? It simply means that your .NET applications built today will be able to run without modifications in Longhorn. Of course, if you want to take advantage of the new features in Longhorn, you need to use the newer system namespaces in WinFX, which I will describe in this article.
Figure 1 shows how a developer can write a Windows application today. If he uses .NET, then most of the functionality can be found from the .NET Class Libraries. If there is a need, he can access the Win32 APIs through Platform Invoke. A traditional Windows developer uses C/C++ and accesses the Win32 APIs directly (the application is unmanaged). Of course, if there is a need, you can still access the .NET Class Libraries, but this is not common.
Figure 1. Current Windows development.
Figure 2 shows the development in Longhorn -- you can still write unmanaged Windows applications since Win32 is still supported. But the recommended way would be to write a managed application using WinFX. There are two types of managed applications that a developer can write in Longhorn -- Longhorn-specific Windows applications, or generic Windows applications that can run on all Windows platforms. If you want to write Longhorn-specific applications, use the extended APIs in WinFX. If you want to write a generic Windows application, use the classes in the .NET Framework (part of WinFX).
Figure 2. Windows development in Longhorn.
You've heard the term "Managed Code" many times. So what does it mean? Basically it means that a managed code is managed by a runtime environment (CLR in the case of .NET). And this runtime environment ensures that applications behave themselves. For example, in a managed code, the garbage collector will automatically manage the memory of a .NET application. It will automatically reclaim memory when an object is de-referenced or goes out of scope.
Contrast this to Win32 APIs, which is unmanaged. Unmanaged code means that the programmer has to explicitly take care of memory de-allocation, or else when the program exits it will result in memory leaks.
WinFX is a new .NET-based API that provides managed access to the three Longhorn pillars -- Presentation (Avalon), Data (WinFS), and Communication (Indigo). The more than 70,000 individual APIs in Win32 will be now be represented in about 529 .NET namespaces (at last count).
Figure 3. The WinFX namespaces chart.
The WinFX is divided into three layers each containing sub units:
In the following section, I will give you a brief introduction to the various layers and the functionalities available at each layer.
|
http://www.onjava.com/pub/a/windows/2004/07/13/winfx.html
|
CC-MAIN-2015-11
|
en
|
refinedweb
|
JBoss AS 5 Performance TuningJBoss AS 5 Performance Tuning will teach you how to deliver fast applications on the JBoss Application Server and Apache Tomcat, giving you a decisive competitive advantage over your competitors. You will learn how to optimize hardware resources, meeting your application requirements with less expenditure.
also read:. Learn about thread pool tuning, EJB tuning, and JMS tuning, which are crucial parts of enterprise applications.
The persistence layer and the JBoss Clustering service are two of the most crucial elements which need to be configured correctly in order to run a fast application. These aspects are covered in detail with a chapter dedicated to each of them.
Finally, Web server tuning is the last (but not least) topic covered, which shows how to configure and develop web applications that get the most out of the embedded Tomcat web server.
What This Book Covers
Chapter 1, Performance Tuning Concepts, discusses correct tuning methodology and how it fits in the overall software development cycle.
Chapter 2, Installing the Tools for Tuning, shows how to install and configure the instruments for tuning, including VisualVM, JMeter, Eclipse TPTP Platform, and basic OS tools.
Chapter 3, Tuning the Java Virtual Machine, provides an in-depth analysis of the JVM heap and garbage collector parameters, which are used to start up the application server.
Chapter 4, Tuning the JBoss AS, discusses the application server’s core services including the JBoss System Thread Pool, the Connection Pool, and the Logging Service.
Chapter 5, Tuning the Middleware Services, covers the tuning of middleware services including the EJB and JMS services.
Chapter 6, Tuning the Persistence Layer, introduces the principles of good database design and the core concepts of Java Persistence API with special focus on JBoss‘s implementation (Hibernate).
Chapter 7, JBoss AS Cluster Tuning, covers JBoss Clustering service covering the lowlevel details of server communication and how to use JBoss Cache for optimal data replication and caching.
Chapter 8, Tomcat Web Server Tuning, covers the JBoss Web server performance tuning including mod_jk, mod_proxy, and mod_cluster modules.
Chapter 9, Tuning Web Applications on JBoss AS, discusses developing fast web applications using JSF API and JBoss richfaces libraries.
JBoss AS Cluster Tuning
6th Circle of Hell: Heresy. This circle houses administrators who accurately set up
a cluster to use Buddy Replication. Without caring about steady sessions.
Clustering allows us to run applications on several parallel instances (also known as cluster nodes). The load is distributed across different servers, and even if any of the servers fails, the application is still accessible via other cluster nodes. Clustering is crucial for scalable Enterprise applications, as you can improve performance by simply adding more nodes to the cluster.
In this chapter, we will cover the basic building blocks of JBoss Clustering with the following schedule:
- A short introduction to JBoss Clustering platform
- In the next section we will cover the low level details of the JGroups library, which is used for all clustering-related communications between nodes
- In the third section we will discuss JBoss Cache, which provides distributed cache and state replication services for the JBoss cluster on top of the JGroups library
Introduction to JBoss clustering
Clustering plays an important role in Enterprise applications as it lets you split the load of your application across several nodes, granting robustness to your applications. As we discussed earlier, for optimal results it’s better to limit the size of your JVM to a maximum of 2-2.5GB, otherwise the dynamics of the garbage collector will decrease your application’s performance.
Combining relatively smaller Java heaps with a solid clustering configuration can lead to a better, scalable configuration plus significant hardware savings.
The only drawback to scaling out your applications is an increased complexity in the programming model, which needs to be correctly understood by aspiring architects.
JBoss AS comes out of the box with clustering support. There is no all-in-one library that deals with clustering but rather a set of libraries, which cover different kinds of aspects. The following picture shows how these libraries are arranged:
The backbone of JBoss Clustering is the JGroups library, which provides the communication between members of the cluster. Built upon JGroups we meet two building blocks, the JBoss Cache framework and the HAPartition service. JBoss Cache handles the consistency of your application across the cluster by means of a replicated and transactional cache.
On the other hand, HAPartition is an abstraction built on top of a JGroups Channel that provides support for making and receiving RPC invocations from one or more cluster members. For example HA-JNDI (High Availability JNDI) or HA Singleton (High Availability Singleton) both use HAPartition to share a single Channel and multiplex RPC invocations over it, eliminating the configuration complexity and runtime overhead of having each service create its own Channel. (If you need more information about the HAPartition service you can consult the JBoss AS documentation.). In the next section we will learn more about the JGroups library and how to configure it to reach the best performance for clustering communication.
Configuring JGroups transport
Clustering requires communication between nodes to synchronize the state of running applications or to notify changes in the cluster definition. JGroups () is a reliable group communication toolkit written entirely in Java. It is based on IP multicast, but extends by providing reliability and group membership.
Member processes of a group can be located on the same host, within the same Local Area Network (LAN), or across a Wide Area Network (WAN). A member can be in turn part of multiple groups. The following picture illustrates a detailed view of JGroups architecture:
A JGroups process consists basically of three parts, namely the Channel, Building blocks, and the Protocol stack. The Channel is a simple socket-like interface used by application programmers to build reliable group communication applications. Building blocks are an abstraction interface layered on top of Channels, which can be used instead of Channels whenever a higher-level interface is required. Finally we have the Protocol stack, which implements the properties specified for a given channel.
In theory, you could configure every service to bind to a
different Channel. However this would require a complex thread
infrastructure with too many thread context switches. For this
reason, JBoss AS is configured by default to use a single Channel
to multiplex all the traffic across the cluster.
The Protocol stack contains a number of layers in a bi-directional list. All messages sent and received over the channel have to pass through all protocols. (that is, its layers) is determined by the creator of the channel: an XML file defines the layers to be used (and the parameters for each layer).
Knowledge about the Protocol stack is not necessary when
just using Channels in an application. However, when an
application wishes to ignore the default properties for a Protocol
stack, and configure their own stack, then knowledge about what
the individual layers are supposed to do is needed.
In JBoss AS, the configuration of the Protocol stack is located in the file, default protocol for JGroups and uses multicast (or, if not available, multiple unicast messages) to send and receive messages.
A multicast UDP socket can send and receive datagrams from multiple
clients. The interesting and useful feature of multicast is that a client
can contact multiple servers with a single packet, without knowing the
specific IP address of any of the hosts.
Next to the UDP transport configuration, three protocol stacks are defined:
- udp: The default IP multicast based stack, with flow control
- udp-async: The protocol stack optimized for high-volume asynchronous RPCs
- udp-sync: The stack optimized for low-volume synchronous RPCs
Thereafter, the TCP transport configuration is defined . TCP stacks are typically used when IP multicasting cannot be used in a network (for example, because it is disabled) or because you want to create a network over a WAN (that’s conceivably possible but sharing data across remote geographical sites is a scary option from the performance point of view).
You can opt for two TCP protocol stacks:
- tcp: Addresses the default TCP Protocol stack which is best suited to high-volume asynchronous calls.
- tcp-async: Addresses the TCP Protocol stack which can be used for low-volume synchronous calls.
If you need to switch to TCP stack, you can simply include the following
in your command line args that you pass to JBoss:
-Djboss.default.jgroups.stack=tcp
Since you are not using multicast in your TCP communication, this
requires configuring the addresses/ports of all the possible nodes in the
cluster. You can do this by using the property -Djgroups.tcpping.
initial_hosts. For example:
-Djgroups.tcpping.initial_hosts=host1[7600],host2[7600]
Ultimately, the configuration file contains two stacks which can be used for optimising JBoss Messaging Control Channel (jbm-control) and Data Channel (jbm-data).
How to optimize the UDP transport configuration
The default UDP transport configuration ships with a list of attributes, which can be tweaked once you know what they are for. A complete reference to the UDP transport configuration can be found on the JBoss clustering guide (. jboss.org/jbossclustering/cluster_guide/5.1/html/jgroups.chapt. html); for the purpose of our book we will point out which are the most interesting ones for fine-tuning your transport. Here’s the core section of the UDP transport configuration:
The biggest performance hit can be achieved by properly tuning the attributes concerning buffer size (ucast_recv_buf_size, ucast_send_buf_size, mcast_recv_buf_size, and mcast_send_buf_size ).
<UDP singleton_name="shared-udp" mcast_port="${jboss.jgroups.udp.mcast_port:45688}" mcast_addr="${jboss.partition.udpGroup:228.11.11.11}" tos="8" ucast_recv_buf_size="20000000" ucast_send_buf_size="640000" mcast_recv_buf_size="25000000" mcast_send_buf_size="640000" loopback="true" discard_incompatible_packets="true" enable_bundling="false" max_bundle_size="64000" max_bundle_timeout="30" . . . . />
As a matter of fact, in order to guarantee optimal performance and adequate reliability of UDP multicast, it is essential to size network buffers correctly. Using inappropriate network buffers the chances are that you will experience a high frequency of UDP packets being dropped in the network layers, which therefore need to be retransmitted.
The default values for JGroups’ UDP transmission are 20MB and 64KB for unicast transmission and respectively 25MB and 64KB for multicast transmission. While these values sound appropriate for most cases, they can be insufficient for applications sending lots of cluster messages. Think about an application sending a thousand 1KB messages: with the default receive size, we will not be able to buffer all packets, thus increasing the chance of packet loss and costly retransmission.
Monitoring the intra-clustering traffic can be done through the jboss.jgroups domain Mbeans. For example, in order to monitor the amount of bytes sent and received with the UDP transmission protocol, just open your jmx-console and point at the jboss.jgroups domain. Then select your cluster partition. (Default the partition if you are running with default cluster settings). In the following snapshot (we are including only the relevant properties) we can see the amount of Messages sent/received along with their size (in bytes).
Besides increasing the JGroups’ buffer size, another important aspect to consider is that most operating systems allow a maximum UDP buffer size, which is generally ower than JGroups’ defaults. For completeness, we include here a list of default maximum UDP buffer size:
So, as a rule of thumb, you should always configure your operating system to take advantage of the JGroups’ transport configuration. The following table shows the command required to increase the maximum buffer to 25 megabytes. You will need root privileges in order to modify these kernel parameters:
Another option that is worth trying is enable_bundling, which specifies whether to enable message bundling. If true, the transport protocol would queue outgoing messages until max_bundle_size bytes have accumulated, or max_bundle_time milliseconds have elapsed, whichever occurs first.
The advantage of using this approach is that the transport protocol would send bundled queued messages in one single larger message. Message bundling can have significant performance benefits for channels using asynchronous high volume messages (for example, JBoss Cache components configured for REPL_ASYNC. JBoss Cache will be covered in the next section named Tuning JBoss Cache).
On the other hand, for applications based on a synchronous exchange of RCPs, the introduction of message bundling would introduce a considerable latency so it is not recommended in this case. (That’s the case with JBoss Cache components configured as REPL_SYNC).
How to optimize the JGroups’ Protocol stack
The Protocol stack contains a list of layers protocols, which need to be crossed by the message. A layer does not necessarily correspond to a transport protocol: for example a layer might take care to fragment the message or to assemble it. What’s important to understand is that when a message is sent, it travels down in the stack, while when it’s received it walks just the way back.
For example, in the next picture, the FLUSH protocol would be executed first, then the STATE, the GMS, and so on. Vice versa, when the message is received, it would meet the PING protocol first, them MERGE2, up to FLUSH.
Following here, is the list of protocols triggered by the default UDP’s Protocol stack.
<stack name="udp" description="Default: IP multicast based stack, with flow control."> <config> <PING timeout="2000" num_initial_members="3"/> <MERGE2 max_interval="100000" min_interval="20000"/> <FD_SOCK/> <FD timeout="6000" max_tries="5" shun="true"/> <VERIFY_SUSPECT timeout="1500"/> "/> <pbcast.GMS <FC max_credits="2000000" min_threshold="0.10" ignore_synchronous_response="true"/> <FRAG2 frag_size="60000"/> <pbcast.STATE_TRANSFER/> <pbcast.FLUSH </config> </stack>
The following table will shed some light on the above cryptic configuration:
While all the above protocols play a role in message exchanging, it’s not necessary that you know the inner details of all of them for tuning your applications. So we will focus just on a few interesting ones.
The FC protocol, for example can be used to adapt the rate of messages sent with the rate of messages received. This has the advantage of creating an homogeneous rate of exchange, where no sender member overwhelms receiver nodes, thus preventing potential problems like filling up buffers causing packet loss. Here’s an example of FC configuration:
<FC max_credits="2000000" min_threshold="0.10" ignore_synchronous_response="true"/>
The message rate adaptation is done with a simple credit system in which each time a sender sends a message a credit is subtracted (equal to the amount of bytes sent). Conversely, when a receiver collects a message, a credit is added.
- max_credits specifies the maximum number of credits (in bytes) and should obviously be smaller than the JVM heap size
- min_threshold specifies the value of min_credits as a percentage of the max_credits element
- ignore_synchronous_response specifies whether threads that have carried messages up to the application should be allowed to carry outgoing messages back down through FC without blocking for credits
The following image depicts a simple scenario where HostA is sending messages (and thus its max_credits is reduced) to HostB and HostC, which increase their max_credits accordingly.
The FC protocol, while providing a control over the flow of messages, can be a bad choice for applications that are issuing synchronous group RPC calls. In this kind of applications, if you have fast senders issuing messages, but some slow receivers across the cluster, the overall rate of calls will be slowed down. For this reason, remove FD from your protocol list if you are sending synchronous messages or just switch to the udpsync protocol stack.
Besides JGroups, some network interface cards (NICs) and switches
perform ethernet flow control (IEEE 802.3x), which causes overhead
to senders when packet loss occurs. In order to avoid a redundant flow
control, you are advised to remove ethernet flow control. For managed
switches, you can usually achieve this via a web or Telnet/SSH interface.
For unmanaged switches, unfortunately the only chance is to hope that
ethernet flow control is disabled, or to replace the switch.
If you are using NICs, you can disable ethernet flow control by means of
a simple shell command, for example, on Linux with the ethtool:
/sbin/ethtool -A eth0 autoneg off tx on rx on
If you want simply to verify if ethernet flow control is off:
/sbin/ethtool -a eth0
One more thing you must be aware of is that, by using JGroups, cluster nodes must store all messages received for potential retransmission in case of a failure. However, if we store all messages forever, we will run out of memory. The distributed garbage collection service in JGroups periodically removes messages that have been seen by all nodes from the memory in each node. The distributed garbage collection service is configured in the pbcast.STABLE sub-element like so:
<pbcast.STABLE
The configurable attributes are as follows:
- desired_avg_gossip: Specifies the interval (in milliseconds) between garbage collection runs. Setting this parameter to 0 disables this service.
- max_bytes: Specifies the maximum number of bytes to receive before triggering a garbage collection run. Setting this parameter to 0 disables this service.
You are advised to set a max_bytes value if you have a high-traffic cluster.
Tuning JBoss Cache
JBoss Cache provides the foundation for many clustered services, which need to synchronize application state information across the set of nodes.
The cache is organized as a tree, with a single root. Each node in the tree essentially contains a map, which acts as a store for key/value pairs. The only requirement placed on objects that are cached is that they implement java.io.Serializable.
Actually EJB 3 Stateful Session Beans, HttpSessions, and Entity/Hibernate rely on JBoss Cache to replicate information across the cluster. We have discussed thoroughly data persistence in Chapter 6, Tuning the Persistence Layer, so we will focus in the next sections on SFSB and HttpSession cluster tuning.
The core configuration of JBoss Cache is contained in the JBoss Cache Service. In JBoss AS 5, the scattered cache deployments have been replaced with a new CacheManager service, deployed via the /deploy/cluster/jbosscache-manager.sar/META-INF/jboss-cache-manager-jboss-beans.xml.
The CacheManager acts as a factory for creating caches and as a registry for JBoss Cache instances. It is configured with a set of named JBoss Cache configurations. Here’s a fragment of the standard SFSB cache configuration:
<b><entry><key>sfsb-cache</key></b> <value> <bean name="StandardSFSBCacheConfig" class="org.jboss.cache.config.Configuration"> <property name="clusterName">${jboss.partition.name:DefaultPartition}- SFSBCache</property> <property name="multiplexerStack">${jboss.default.jgroups.stack:udp}</property> <property name="fetchInMemoryState">true</property> <property name="nodeLockingScheme">PESSIMISTIC</property> <property name="isolationLevel">REPEATABLE_READ</property> <property name="useLockStriping">false</property> <property name="cacheMode">REPL_SYNC</property> . . . . . </bean> </value> </entry>
Services that need a cache ask the CacheManager for the cache by name, which is specified by the key element; the cache manager creates the cache (if not already created) and returns it.
The simplest way to reference a custom cache is by means of the org.jboss.ejb3. annotation.CacheConfig annotation. For example, supposing you were to use a newly created Stateful Session Bean cache named custom_sfsb_cache:
@Stateful @Clustered @CacheConfig(name="custom_sfsb_cache") public Class SFSBExample { }
The CacheManager keeps a reference to each cache it has created, so all services that request the same cache configuration name will share the same cache. When a service is done with the cache, it releases it to the CacheManager. The CacheManager keeps track of how many services are using each cache, and will stop and destroy the cache when all services have released it.
Understanding JBoss Cache configuration
In order to tune your JBoss Cache, it’s essential to learn some key properties. In particular we need to understand
- How data can be transmitted between its members. This is controlled by the cacheMode property.
- How the cache handles concurrency on data between cluster nodes. This is handled by nodeLockingScheme and isolationLevel configuration attributes.
Configuring cacheMode
The cacheMode property determines how JBoss Cache keeps in sync data across all nodes. Actually it can be split in two important aspects: how to notify changes across the cluster and how other nodes accommodate these changes on the local data.
As far data notification is concerned, there are the following choices:
- Synchronous means the cache instance sends a notification message to other nodes and before returning waits for them to acknowledge that they have applied the same changes. Waiting for acknowledgement from all nodes adds delay. However, if a synchronous replication returns successfully, the caller knows for sure that all modifications have been applied to all cache instances.
- Asynchronous means the cache instance sends a notification message andthen immediately returns, without any acknowledgement that changes have been applied. The Asynchronous mode is most useful for cases like session replication (for example, Stateful Session Beans), where the cache sending data expects to be the only one that accesses the data. Asynchronous messaging adds a small potential risk that a fail over to another node may generate stale data, however, for many session-type applications this risk is acceptable given the major performance benefits gained.
- Local means the cache instance doesn’t send a message at all. You should use this mode when you are running JBoss Cache as a single instance, so that it won’t attempt to replicate anything. For example, JPA/Hibernate Query Cache uses a local cache to invalidate stale query result sets from the second level cache, so that JBoss Cache doesn’t need to send messages around the cluster for a query result set cache.
As far as the second aspect is concerned (what should the other caches in the cluster do to refl ect the change) you can distinguish between:
Replication: means that the cache replicates cached data across all cluster nodes. This means the sending node needs to include the changed state, increasing the cost of the message. Replication is necessary if the other nodes have no other way to obtain the state.
Invalidation means that you do not wish to replicate cached data but simply inform other caches in a cluster that data under specific addresses are now stale and should be evicted from memory. Invalidation reduces the cost of the cluster update messages, since only the cache key of the changed state needs to be transmitted, not the state itself.
By combining these two aspects we have a combination of five valid values for the cacheMode configuration attribute:
Should I use invalidation for session data?
No, you shouldn’t. As a matter of fact, data invalidation it is an
excellent option for a clustered JPA/Hibernate Entity cache,
since the cached state can be re-read from the database in case
of failure. If you use the invalidation option, with SFSBs or
HttpSession, then you lose failover capabilities. If this matches
with your project requirements, you could achieve better
performance by simply turning off the cache.
Configuring cache concurrency
JBoss Cache is a thread-safe caching API, and uses its own efficient mechanisms of controlling concurrent access. Concurrency is configured via the nodeLockingScheme and isolationLevel configuration attributes.
There are three choices for nodeLockingScheme:
- Pessimistic locking involves threads/transactions acquiring locks on nodes before reading or writing. Which is acquired depends on the isolationLevel but in most cases a non-exclusive lock is acquired for a read and an exclusive lock is acquired for a write. Pessimistic locking requires a considerable overhead and allows lesser concurrency, since reader
threads must block until a write has completed and released its exclusive lock (potentially a long time if the write is part of a transaction). The drawbacks include the potential for deadlocks, which are ultimately solved by a TimeoutException.
- Optimistic locking seeks to improve upon the concurrency available with Pessimistic by creating a workspace for each request/transaction that accesses the cache. All data is versioned; on completion of non-transactional requests or commits of transactions the version of data in the workspace is compared to the main cache, and an exception is raised if there are inconsistencies. This eliminates the cost of reader locks but, because of the cost associated with the parallel workspace, it carries a high memory overhead and low scalability.
- MVCC is the new locking schema that has been introduced in JBoss Cache 3.x (and packed with JBoss AS 5.x). In a nutshell, MVCC reduces the cost of slow, and synchronization-heavy schemas with a multi-versioned concurrency control, which is a locking scheme commonly used by modern database implementations to control concurrent access to shared data.
The most important features of MVCC are:
- Readers don’t acquire any locks.
- Only one additional version is maintained for shared state, for a single writer.
- All writes happen sequentially, to provide fail-fast semantics.
How does MVCC can achieve this?
For each reader thread, the MVCC’s interceptors wraps state in a lightweight container object, which is placed in the thread’s InvocationContext (or TransactionContext if running in a transaction). All subsequent operations on the state are carried out on the container object using Java references, which allow repeatable read semantics even if the actual state changes simultaneously.
Writer threads, on the other hand, need to acquire a lock before any writing can start. Currently, lock striping is used to improve the memory performance of the cache, and the size of the shared lock pool can be tuned using the concurrencyLevel attribute of the locking element.
After acquiring an exclusive lock on a cache Full Qualified Name,.
Should I use MVCC with session data too?
While MVCC is the default and recommended choice for JPA/Hibernate
Entity caching, as far as Session caching is concerned, Pessimistic is still the
default concurrency control. Why? As a matter of fact, accessing the same
cached data by concurrent threads it’s not the case with a user’s session. This is
strictly enforced in the case of SFSB, whose instances are not accessible
concurrently. So don’t bother trying to change this property for session data.
Configuring the isolationLevel
The isolationLevel attribute has two possible values, READ_COMMITTED and REPEATABLE_READ which correspond in semantics to database-style isolation levels. Previous versions of JBoss Cache supported all database isolation levels, and if an unsupported isolation level is configured, it is either upgraded or downgraded to the closest supported level.
REPEATABLE_READ is the default isolation level, to maintain compatibility with previous versions of JBoss Cache. READ_COMMITTED, while providing a slightly weaker isolation, has a significant performance benefit over REPEATABLE_READ.
Tuning session replication
As we have learnt, the user session needs replication in order to achieve a consistent state of your applications across the cluster. Replication can be a costly affair, especially if the amount of data held in session is significant. There are however some available strategies, which can mitigate a lot the cost of data replication and thus improve the performance of your cluster:
- Override isModified method: By including an isModified method in your SFSBs, you can achieve fine-grained control over data replication. Applicable to SFSBs only.
- Use buddy replication. By using buddy replication you are not replicating the session data to all nodes but to a limited set of nodes. Can be applicable both to SFSBs and HttpSession.
- Configure replication granularity and replication trigger. You can apply custom session policies to your HttpSession to define when data needs to be replicated and which elements need to be replicated as well. Applicable to HttpSession.
Override SFSB’s isModified method
One of the simplest ways to reduce the cost of SFSBs data replication is implementing in your EJB will not occur.
If your session does not hold critical data (such as financial information), using the isModified method is a good option to achieve a substantial benefit in terms of performance. A good example could be a reporting application, which needs session management to generate aggregate reports through a set of wizards. Here’s a graphical view of this process:
The following benchmark is built on exactly the use case of an OLAP application, which uses SFSBs to drive some session data across a four step wizard. The benchmark compares the performance of the wizard without including isModified and by returning true to isModified at the end of the wizard.
Ultimately, by using the isModified method to propagate the session data at wider intervals you can improve the performance of your application with an acceptable risk to re-generate your reports in case of node failures.
Use buddy replication
By using buddy replication, sessions are replicated to a configurable number of backup servers in the cluster (also called buddies), rather than to all servers in the cluster. If a user fails over from the server that is hosting his or her session, the session data is transferred to the new server from one of the backup buddies. Buddy replication provides the following benefits:
- Reduced memory usage
- Reduced CPU utilization
- Reduced network transmission
The reason behind this large set of advantages is that each server only needs to store in its memory the sessions it is hosting as well as those of the servers for which it is acting as a backup. Thus, less memory required to store data, less CPU to elaborate bits to Java translations, and less data to transmit.
For example, in an 8-node cluster with each server configured to have one buddy, a server would just need to store 2 sessions instead of 8. That’s just one fourth of the memory required with total replication.
In the following picture, you can see an example of a cluster configured for buddy replication:
Here, each node contains a cache of its session data and a backup of another node. For example, node A contains its session data and a backup of node E. Its data is in turn replicated to node B and so on.
In case of failure of node A, its data moves to node B which becomes the owner of both A and B data, plus the backup of node E. Node B in turn replicates (A + B) data to node C.
In order to configure your SFSB sessions or HttpSessions to use buddy replication you have just to set to the property enabled of the bean BuddyReplicationConfig inside the /deploy/cluster/jboss-cache-manager.sar/META-INF/jboss-cache-manager-jboss-beans.xml configuration file, as shown in the next code fragment:
<property name="buddyReplicationConfig"> <bean class="org.jboss.cache.config.BuddyReplicationConfig"> <b><property name="enabled">true</property></b> . . . </bean> </property>
In the following test, we are comparing the throughput of a 5-node clustered web application which uses buddy replication against one which replicates data across all members of the cluster.
In this benchmark, switching on buddy replication improved the application throughput of about 30%. No doubt that by using buddy replication there’s a high potential for scaling because memory/CPU/network usage per node does not increase linearly as new nodes are added.
Advanced buddy replication
With the minimal configuration we have just described, each server will look for one buddy across the network where data needs to be replicated. If you need to backup your session to a larger set of buddies you can modify the numBuddies property of the BuddyReplicationConfig bean. Consider, however, that replicating the session to a large set of nodes would conversely reduce the benefits of buddy replication.
Still using the default configuration, each node will try to select its buddy on a different physical host: this helps to reduce chances of introducing a single point of failure in your cluster. Just in case the cluster node is not able to find buddies on different physical hosts, it will not honour the property ignoreColocatedBuddies and fall back to co-located nodes.
The default policy is often what you might need in your applications, however if you need a fine-grained control over the composition of your buddies you can use a feature named buddy pool. A buddy pool is an optional construct where each
instance in a cluster may be configured to be part of a group- just like an “exclusive club membership”.
This allows system administrators a degree of fl exibility and control over how buddies are selected. For example, you might put two instances on separate physical servers that may be on two separate physical racks in the same buddy pool. So rather than picking an instance on a different host on the same rack, the BuddyLocators would rather pick the instance in the same buddy pool, on a separate rack which may add a degree of redundancy.
Here’s a complete configuration which includes buddy pools:
<property name="buddyReplicationConfig"> <bean class="org.jboss.cache.config.BuddyReplicationConfig"> <b><property name="enabled">true</property> <property name="buddyPoolName">rack1</property></b> <property name="buddyCommunicationTimeout">17500</property> <property name="autoDataGravitation">false</property> <property name="dataGravitationRemoveOnFind">true</property> <property name="dataGravitationSearchBackupTrees">true</property> <property name="buddyLocatorConfig"> <bean class="org.jboss.cache.buddyreplication.NextMemberBuddyLocatorConfig"> <b><property name="numBuddies">1</property> <property name="ignoreColocatedBuddies">true</property></b> </bean> </property> </bean> </property>
In this configuration fragment, the buddyPoolName element, if specified, creates a logical subgroup and only picks buddies who share the same buddy pool name. If not specified, this defaults to an internal constant name, which then treats the entire cluster as a single buddy pool.; that is, any node can handle a request for any data. However, data gravitation is expensive and should not be a frequent occurrence; ideally it should only occur if the node that is using some data fails or is shut down, forcing interested clients to fail over to a different node.
The following optional properties pertain to data gravitation:
- autoDataGravitation: Whether data gravitation occurs for every cache miss. By default this is set to false to prevent unnecessary network calls.
- DataGravitationRemoveOnFind: Forces all remote caches that own the data or hold backups for the data to remove that data, thereby making the requesting cache the new data owner. If set to false, an evict is broadcast instead of a remove, so any state persisted in cache loaders will remain. This is useful if you have a shared cache loader configured. (See next section about Cache loader). Defaults to true.
- dataGravitationSearchBackupTrees: Asks remote instances to search through their backups as well as main data trees. Defaults to true. The resulting effect is that if this is true then backup nodes can respond to data gravitation requests in addition to data owners.
Buddy replication and session affinity
One of the pre-requisites to buddy replication working well and being a real benefit is the use of session affinity, also known as sticky sessions in HttpSession you are replicating SFSBs session, there is no need to configure anything since SFSBs, once created, are pinned to the server that created them.
When using HttpSession, you need to make sure your software or hardware load balancer maintain the session on the same host where it was created.
By using Apache’s mod_jk, you have to configure the workers file (workers. properties) specifying where the different node and how calls should be load-balanced across them. For example, on a 5-node cluster:
worker.loadbalancer.balance_workers=node1,node2,node3,node4,node5 worker.loadbalancer.sticky_session=1
Basically, the above snippet configures mod_jk to perform round-robin load balancing with sticky sessions (sticky_session=1) across 5 nodes of a cluster.
Configure replication granularity and replication trigger
Applications that want to store data in the HttpSession need to use the methods setAttribute to store the attributes and getAttribute to retrieve them. You can define two kind of properties related to HttpSessions:
- The replication-trigger configures when data needs to be replicated.
- The replication-granularity defines which part of the session needs
to be replicated.
Let’s dissect both aspects in the following sections:
How to configure the replication-trigger
The replication-trigger element determines what triggers a session replication and can be configured by means of the jboss-web.xml element (packed in the WEB-INF folder of your web application). Here’s an example:
<jboss-web> <replication-config> <b><replication-trigger>SET</replication-trigger></b> </replication-config> </jboss-web>
The following is a list of possible alternative options:
- SET_AND_GET is conservative but not performance-wise; it will always replicate session data even if its content has not been modified but simply accessed. This setting made (a little) sense in AS 4 since using it was a way to ensure that every request triggered replication of the session’s timestamp. Setting max_unreplicated_interval to 0 accomplishes the same thing at much lower cost.
- SET_AND_NON_PRIMITIVE_GET is conservative but will only replicate if an object of a non-primitive type has been accessed (that is, the object is not of a well-known immutable JDK type such as Integer, Long, String, and so on.)This is the default value.
- SET assumes that the developer will explicitly call setAttribute on the session if the data needs to be replicated. This setting prevents unnecessary replication and can have a major beneficial impact on performance.
-.
- FIELD level replication only replicates modified data fields inside objects stored in the session. Its use could potentially drastically reduce the data traffic between clustered nodes, and hence improve the performance of the whole cluster. To use FIELD-level replication, you have to first prepare (that is bytecode enhance) your Java class to allow the session cache to detect when fields in cached objects have been changed and need to be replicated.
In all cases, calling setAttribute marks the session as dirty and thus triggers replication.
For the purpose of evaluating the available alternatives in performance terms, we have compared a benchmark of a web application using different replication-triggers:
In the first benchmark, we are using the default rule (SET_AND_NON_PRIMITIVE_GET). In the second we have switched to SET policy, issuing a setAttribute on 50% of the requests. In the last benchmark, we have formerly populated the session with the required attributes and then issued only queries on the session via the getAttribute method.
As you can see the benefit of using the SET replication trigger is obvious, especially if you follow a read-mostly approach on non-primitive types. On the other hand, this requires very good coding practices to ensure setAttribute is always called whenever a mutable object stored in the session is modified.
How to configure the replication-granularity
As far as what data needs to be replicated is concerned, you can opt for the following choices:
In order to change the default replication granularity, you have to configure the desired attribute in your jboss-web.xml configuration file:
<jboss-web> <replication-config> <b><replication-granularity>FIELD</replication-granularity></b> <replication-field-batch-mode>true</replication-field-batchmode> </replication-config> </jboss-web>
In the above example, the replication-field-batch-mode element indicates whether you want all replication messages associated with a request to be batched into one message.
Additionally, if you want to use FIELD level replication you need to perform a bit of extra work. At first you need to add the @org.jboss.cache.pojo.annotation. Replicable annotation at class level:
@Replicable public class Person { ... }
If you annotate a class with @Replicable, then all of its subclasses will
be automatically annotated as well.
Once you have annotated your classes, you will need to perform a post-compiler processing step to bytecode enhance your classes for use by your cache. Please check the JBoss AOP documentation () for the usage of the aoc post-compiler. The JBoss AOP project also provides easy to use ANT tasks to help integrate those steps into your application build process.
As proof of concept, let’s build a use case to compare the performance of ATTRIBUTE and FIELD granularity policies. Supposing you are storing in your HttpSession an object of Person type. The object contains references to an Address, ContactInfo, and PersonalInfo objects. It contains also an ArrayList of WorkExperience.
A prerequisite to this benchmark is that there are no references between
the field values stored in the Person class (for example between the
contactInfo and personalInfo fields), otherwise the references will
be broken by ATTRIBUTE or FIELD policies.
By using the SESSION or ATTRIBUTE replication-granularity policy, even if just one of these fields is modified, the whole Person object need to be retransmitted. Let’s compare the throughput of two applications using respectively the ATTRIBUTE and FIELD replication-granularity.
In this example, based on the assumption that we have a single dirty field of Person’ class per request, by using FIELD Replication generate a substantial 10% gain.
Tuning cache storage
Cache loading allows JBoss Cache to store cached data in a persistent store and is used mainly for HttpSession and SFSB sessions. Hibernate and JPA on the other hand, have already their persistence storage in the database so it doesn’t make sense to add another storage.
This data can either be an overflow, where the data in the persistent store has been evicted from memory. Or it can be a replication of what is in memory, where everything in memory is also refl ected in the persistent store, along with items that have been evicted from memory.
The cache storage used for web session and EJB3 SFSB caching comes into play in two circumstances:
- Whenever a cache element is accessed, and that element is not in the cache (for example, due to eviction or due to server restart), then the cache loader transparently loads the element into the cache if found in the backend store.
- Whenever an element is modified, added or removed, then that modification is persisted in the backend store via the cache loader (except if the ignoreModifications property has been set to true for a specific cache loader). If transactions are used, all modifications created within a transaction are persisted as well.
Cache loaders are configured by means of the property cacheLoaderConfig of session caches. For example, in the case of SFSB cache:
<b><entry><key>sfsb-cache</key></b> <value> <bean name="StandardSFSBCacheConfig" class="org.jboss.cache.config.Configuration"> . . . . . <b><property name="cacheLoaderConfig"></b> <bean class="org.jboss.cache.config.CacheLoaderConfig"> <b><property name="passivation">true</property> <property name="shared">false</property></b> <property name="individualCacheLoaderConfigs"> <list> <bean class="org.jboss.cache.loader.FileCacheLoaderConfig"> <property name="location">${jboss.server.data.dir}${/}sfsb</property> <property name="async">false</property> <property name="fetchPersistentState">true</property> <property name="purgeOnStartup">true</property> <property name="ignoreModifications">false</property> <property name="checkCharacterPortability">false</property> </bean> </list> </property> </bean> . . . .. </entry>
The passivation property , when set to true, means the persistent store acts as an overflow area written to when data is evicted from the in-memory cache.
The shared attribute. The default value is false.
Where does cache data get stored?
By default, the Cache loader uses a filesystem implementation based on the class org.jboss.cache.loader.FileCacheLoaderConfig, which requires the location property to define the root directory to be used.
If set to true, the async attribute read operations are done synchronously, while write (CRUD – Create, Remove, Update, and Delete) operations are done asynchronously. If set to false (default), both read and writes are performed synchronously.
Should I use an async channel for my Cache Loader?
When using an async channel, an instance of org.jboss.cache.
loader.AsyncCacheLoader is constructed which will act as an
asynchronous channel to the actual cache loader to be used. Be aware
that, using the AsyncCacheLoader, there is always the possibility of
dirty reads since all writes are performed asynchronously, and it is thus
impossible to guarantee when (and even if) a write succeeds. On the
other hand the AsyncCacheLoader allows massive writes to be written
asynchronously, possibly in batches, with large performance benefits.
jboss.org/jbosscache/3.2.1.GA/apidocs/index.html.
fetchPersistentState determines whether or not to fetch the persistent state of a cache when a node joins a cluster and conversely the purgeOnStartup property evicts data from the storage on startup, if set to true.
Finally, checkCharacterPortability should be false for a minor performance improvement.
The FileCacheLoader is a good choice in terms of performance, however it has some limitations, which you should be aware of before rolling your application in a production environment. In particular:
- Due to the way the FileCacheLoader represents a tree structure on disk (directories and files) traversal is “inefficient” for deep trees.
- Usage on shared filesystems such as NFS, Windows shares, and others should be avoided as these do not implement proper file locking and can cause data corruption.
- Filesystems are inherently not “transactional”, so when attempting to use your cache in a transactional context, failures when writing to the file (which happens during the commit phase) cannot be recovered.
As a rule of thumb, it is recommended that the FileCacheLoader not
be used in a highly concurrent, transactional. or stressful environment,
and, in this kind of scenario consider using it just in the testing
environment.
As an alternative, consider that JBoss Cache is distributed with a set of different Cache loaders which can be used as alternative. For example:
- The JDBC-based cache loader implementation that stores/loads nodes’ state into a relational database. The implementing class is org.jboss.cache. loader.JDBCCacheLoader.
- The BdbjeCacheLoader, which is a cache loader implementation based on the Oracle/Sleepycat’s BerkeleyDB Java Edition (note that the BerkeleyDB implementation is much more efficient than the filesystem-based implementation, and provides transactional guarantees, but requires a commercial license if distributed with an application (see for details).
- The JdbmCacheLoader, which is a cache loader implementation based on the JDBM engine, a fast and free alternative to BerkeleyDB.
- Finally, S3CacheLoader, which uses the Amazon S3 solution (Simple Storage Solution) for storing cache data. Since Amazon S3 is remote network storage and has fairly high latency, it is really best for
caches that store large pieces of data, such as media or files.
When it comes to measuring the performance of different Cache Loaders, here’s a benchmark executed to compare the File CacheLoader, the JDBC CacheLoader (based on Oracle Database) and Jdbm CacheLoader.
In the above benchmark we are testing cache insertion and cache gets of batches of 1000 Fqn each one bearing 10 attributes. The File CacheLoader accomplished the overall best performance, while the JBDM CacheLoader is almost as fast for Cache gets.
The JDBC CacheLoader is the most robust solution but it adds more overhead to the Cache storage of your session data.
Summary
Clustering is a key element in building scalable Enterprise applications. The infrastructure used by JBoss AS for clustered applications is based on JGroups framework for the nodes inter-communication and JBoss Cache for keeping the cluster data synchronized across nodes.
- JGroups can use both UDP and TCP as communication protocol. Unless you have network restriction, you should stay with the default UDP that uses multicast to send and receive messages.
- You can tune the transmission protocol by setting an appropriate buffer size with the properties mcast_recv_buf_size, mcast_send_buf_size, ucast_recv_buf_size, and ucast_send_buf_size. You should as well increase your O/S buffer size, which need to be adequate to accept JGroups’ settings.
- JBoss Cache provides the foundation for robust clustered services.
- By configuring the cacheMode you can choose if your cluster messages will be synchronous (that is will wait for message acknowledgement) or asynchronous. Unless you need to handle cache message exceptions, stay with the asynchronous pattern, which provides the best performance.
- Cache messages can trigger as well cluster replication or cluster invalidation. A cluster replication is needed for transferring the session state across the cluster while invalidation is the default for Entity/Hibernate, where state
can be recovered from the database.
- The cache concurrency can be configured by means of the nodeLockingScheme property. The most efficient locking schema is the MVCC, which reduces the cost of slow, or synchronization-heavy schemas of Pessimistic and Optimistic schemas.
- Cache replication of sessions can be optimised mostly in three ways:
- By overriding the isModified method of your SFSBs you can achieve a fine-grained control over data replication. It’s an optimal quick-tuning option for OLAP applications using SFSBs.
- Buddy replication is the most important performance addition to your session replication. It helps to increase the performance by reducing memory and CPU usage as well as network traffic. Use buddy replication pools to achieve a higher level of redundancy for mission critical applications.
- Clustered web applications can configure replication-granularity and replication-trigger:
- As far as the replication trigger is concerned, if you mostly read immutable data from your session, the SET attribute provides a substantial benefit over the default SET_AND_PRIMITIVE_GET.
- As far as replication granularity is concerned, if your sessions are generally small, you can stay with the default policy (SESSION). If your session is larger and some parts are infrequently accessed, ATTRIBUTE replication will be more effective. If your application has very big data objects in session attributes and only fields in those objects are frequently modified, the FIELD policy would be the best.
Speak Your Mind
|
http://www.javabeat.net/jboss-as-5-performance-tuning/
|
CC-MAIN-2015-11
|
en
|
refinedweb
|
When CONFIG_EXT3_FS_POSIX_ACL is not defined, ext3_init_acl() is an inline function in fs/ext3/acl.h which doesn't check if a file is a symlink before applying umask. I've always liked my acls to be available (so never noticed), but came across this recently when trying to explain why RedHat Enterprise 3's BOOT kernel creates symlinks 755 during kickstart. I'm *assuming* this is a bug (acl code treats symlinks specially): It doesn't affect functionality, but those 755 symlinks can be noisy in your security reporting :-) Can anyone tell me if there's a good reason why umask *should* be applied to symlink permissions? Otherwise I guess (for 2.6.9): --- fs/ext3/acl.h 2004-12-07 08:15:07.859199829 +0000 +++ fs/ext3/acl.h.khy 2004-12-07 08:05:11.631931063 +0000 @@ -5,6 +5,7 @@ */ #include <linux/xattr_acl.h> +#include <linux/stat.h> #define EXT3_ACL_VERSION 0x0001 #define EXT3_ACL_MAX_ENTRIES 32 @@ -79,7 +80,8 @@ static inline int ext3_init_acl(handle_t *handle, struct inode *inode, struct inode *dir) { - inode->i_mode &= ~current->fs->umask; + if (!S_ISLNK(inode->i_mode)) + inode->i_mode &= ~current->fs->umask; return 0; } #endif /* CONFIG_EXT3_FS_POSIX_ACL */
|
https://www.redhat.com/archives/ext3-users/2004-December/msg00002.html
|
CC-MAIN-2015-11
|
en
|
refinedweb
|
You can subscribe to this list here.
Showing
1
results of 1
Hi everyone.
I have this problem with semantic-ia-fast-jump on a particular
variable (tag), which in my project is called GPIOC. When I tried to
execute the very first time on finding the place where the GPIOC
variable is defined, it found it. But when I try to find it again, it
doesn't. semantic-ia-fast-jump works fine on finding the other
variables and functions in my project. I deleted all the contents in
~/.semanticdb and then it works well, but just for one time.
This is what I get:
M-x semantic-ia-fast-jump:
Could not find suitable jump point for GPIOC
M-x semantic-analyze-current-context:
Context Type: #<semantic-analyze-context context>
Bounds: (1560 . 1565)
Prefix: "GPIOC"
Prefix Classes: 'function
'variable
'type
Encountered Errors: '(error "Cannot find definition for \"GPIOC\"")
--------
-> Local Args: void
-> Local Vars: void
I call semantic-ia-fast-jump in the main.c, while the GPIOC is defined
in a header file.
M-x semanticdb-find-test-translate-path listed the header file in
which the GPIOC is defined.
This is how the GPIOC is defined in that header file:
#ifdef _GPIOC
#define GPIOC ((GPIO_TypeDef *) GPIOC_BASE)
#endif /*_GPIOC */
Any idea on this?
Visar Zejnullahu
|
http://sourceforge.net/p/cedet/mailman/cedet-devel/?viewmonth=201207&viewday=21
|
CC-MAIN-2015-11
|
en
|
refinedweb
|
Generate Query Objects on the fly for your Entity Framework entities using T4 templates. Don’t worry about LINQ, let the objects do all the work for you.
I’ve read some stuff about T4 templates in the last 2-3 years, but only recently I decided to give it a try. My first attempt was to generate Query Objects for Entity Framework, that’s what I’ll talk about in this article – what’s their purpose and how to use them.
In part 2 I’ll create a demo ASP.NET MVC application that uses query objects created with this template. I already have another T4 template that creates javascript objects for my entities, and I’m developing a custom ASP.NET view template for those objects.
Many thanks to Colin Meek [4], his work has really helpful.
A Query Object is an object that represents a database query [1]:.
Assuming that you have a repository like this (I’m using this implementation):
public IQueryable All<T>(Expression<Func<bool, T>> expression) where T : class
Instead of:
var albuns = from x in repository.All<Album>()
where x.Artist.Name == "Metallica"
&& x.Genre.Name.Contains("Metal")
&& x.Price >= 5 && x.Price
select x;
You can do this way:
var search = new AlbumSearch();
search.PriceFrom = 5;
search.PriceTo = 10;
search.Artist = new ArtistSearch(){ Name = "Metallica" };
search.Genre = new GenreSearch(){ NameContains = "Metal" };
var albuns = from x in repository.All<Album>(search.GetExpression())
select x;
I’m using the MVC Music Store database, this is the model: created a T4 template that generates automatically all the query objects, one for each entity in our model. All the generated objects have all the public properties of their respective entities, including association properties. All objects were marked with the [Serializable] attribute, so you can easily serialize it if you need.
String properties, Datetimes and numeric values have some additional properties.
For a property named Name are generated the following properties in the query object:
For Datetime and numeric properties (int, float, …) are generated range properties (excluding Primary and foreign key properties).
Assuming a property named Price the following properties are generated in the query object:);
}
This is the generated search model:
In the demo solution double-click ModelSearch.tt and change the following lines, according to your needs:
string inputFile = @"Model.edmx";
string namespaceName = @"MusicStore.Model";
string filenameSuffix = "Search.gen.cs";
When you save the template file or you rebuild the project the code will be regenerated. If you don’t want to generate the code, remove the value of the Custom Tool property in the property browser of the template file (by default the value is TextTemplatingFileGenerator).
[1] T4 (Text Template Transformation Toolkit) Code Generation – Best Kept Visual Studio Secret ToolkitCodeGenerationBestKeptVisualStudioSecret.aspx
[2] Code Generation and T4 Text Templates
[3] Query Object
[4] LINQ to Entities: Combining Predicates
[5] Implementing ISession in EF4
Download the demo project: MusicStore-T4.r.
|
http://www.codeproject.com/Articles/233907/Entity-Framework-and-T4-Generate-Query-Objects-on?fid=1642928
|
CC-MAIN-2015-11
|
en
|
refinedweb
|
Survey period: 2 Jun 2014 to 9 Jun 2014
They are coming out of the woodwork. The question is, though: do you want one.
MacSpudster wrote:At least 661, or 66.97% (thus far) of us are smart enough to not buy such dumb products.
MarcR. wrote:I hate those that encode a function that does more than one thing.
public class SanderRossel : Lazy<Person>
{
public void DoWork()
{
throw new NotSupportedException();
}
}
Jason Hutchinson wrote:I'm not even sure if they would technically work for me because my glasses prescription is stronger than the maximum recommendation.
Jason Hutchinson wrote:I wouldn't want to have a screen in front of my face 24/7.
General News Suggestion Question Bug Answer Joke Rant Admin
Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.
|
http://www.codeproject.com/Surveys/1622/Will-you-buy-a-smartwatch-or-pair-of-smartglasses.aspx
|
CC-MAIN-2015-11
|
en
|
refinedweb
|
Dear MatPlotLib users,
I am having trouble with the performance of matplotlib.
For data analysis, I want to be able to place multiple graphs on screen,
with multiple lines, each consisting of 16000 data points.
I have benchmarked my solution, but it did not perform too well.
For example: 6 graphs with 6 lines each, takes 12.5 seconds.
This graph indicates my benchmark:
In comparison, matlab takes only 2.48 seconds for drawing those.
I also noticed that memory usage during the benchmark rises to too high levels.
I have, during a different experiment, plotted 36 graphs with 1 line.
This is about 9MB of total (x,y) data alltogether, but execution of the benchmark
spikes 1GB of memory usage.
My question:
- Is this performance of matplotlib to be expected?
- Can my code (see below) be improved in any way?
Thank you very much in advance,
Mike
···
================================
The code I use for the benchmark
for nr_of_graphs in range (1,7):
for nr_of_lines in range(1,7):
root = Tk.Tk()
#nr_of_lines = int(argv[0])
#nr_of_graphs = int(argv[1])
m = myLinMultiPlot()
m.drawxy("test {0}L on {1}G".format(nr_of_lines, nr_of_graphs), nr_of_graphs, nr_of_lines)
root.mainloop()
The code that plots the actual lines
class myLinMultiPlot(Tk.Toplevel):
def drawxy(self, test_name, plots, lines):
pointsize = 16000
figure = Figure(figsize=(2,1), dpi=100)
storage = []
axes_arr = []
for p in range(0,plots):
for li in range(0,lines):
shift = li * 100
axes = figure.add_subplot(plots,1,1 + p)
axes_arr.append(axes)
xarr = xrange(0,16000)
yarr = []
for x in xarr:
yarr.append(math.sqrt(x + shift))
strg = [xarr,yarr]
storage.append(strg)
startdraw = timeit.default_timer()
for a in axes_arr:
for l in storage:
a.plot(l[0],l[1])
canvas = FigureCanvasTkAgg(figure, master = self)
canvas._tkcanvas.pack(side=Tk.TOP, fill=Tk.BOTH, expand=1)
canvas.show()
canvas.blit()
//This is the time depicted in my benchmark!
durationdraw = timeit.default_timer() - startdraw
|
https://discourse.matplotlib.org/t/performance-after-benchmarking-is-low/16276
|
CC-MAIN-2021-43
|
en
|
refinedweb
|
Automagica
Automagica is an open source Smart Robotic Process Automation (SRPA) platform. With Automagica, automating cross-platform processes becomes a breeze. With this open source library we want to provide a comprehensive and consistent wrapper around known and lesser known automation libraries .
Refer to our website for more information, registered users can access the portal.
Need expert support?
We can support you end-to-end in all your automation needs, from estimating automation potential for processes to technical implementation and integration. Please send an e-mail to [email protected] for enquiries and rates.
Getting started
Prerequisites
- Python 3.7 from
Installation instructions
Install Automagica on the bot host machine:
pip install
Importing the activities
Before getting started, don't forget to import the activities from automagica in your python script. If unsure, it is possible to import all the activities for development purposes by starting your script with:
from automagica import *
Support
Automagica officially supports Windows 10. Linux and MacOS are not officially supported.
Examples
Browser working with Excel:
SAP Automation (Production example, sensitive information is blurred):
Folder and File manipulation
Example code
This is a simple example that opens Notepad and types 'Hello world!'.
PressHotkey('win','r') Wait(seconds=1) Type(text='notepad', interval_seconds=0) PressKey('enter') Wait(seconds=2) Type(text='Hello world!', interval_seconds=0.15)
This is a simple example that opens Chrome and goes to Google.com.
browser = ChromeBrowser() browser.get('')
For more info and examples see the documentation.
Running the other examples
Running the examples is easy:
cd examples dir cd <example-name> automagica -f app.py
Optional (to enable Optical Character Recognition)
For Windows, install Tesseract 4 from here.
For Linux (Ubuntu):
sudo apt-get install tesseract-ocr
For MacOS:
brw install tesseract
Failsafe
As a safety feature, a failsafe mechanism is enabled by default. You can trigger this by moving your mouse to the upper left corner of the screen. You can disable this by running the following command in the editor:
Failsafe(False)
Automagica with Natural Language
Wouldn't it be cool if we could write Robotic Process Automation scripts in plain ol' English rather than the already easy Python scripting language? Well it's possible with Automagica! We have cooked up a more human-friendly interface to get started with automation!
How it works
Natural language for Automagica (.nla) looks like this:
open the browser navigate to google.com search for oranges
Try it yourself
A Wit.ai key is included, so you can get a headstart!
Install (in addition to the above) the following required package:
pip install
Then install Natural Language for Automagica:
git clone cd natural-language-automagica pip install .
Then you can get started by running the examples:
cd examples nla google.nla nla wikipedia.nla nla youtube.nla
We are quickly expanding the Natural Language Understanding features of this part of Automagica to make automation accessible to all!
Important notes
For the
Type-function to work, you need to set the "United States-International" keyboard layout on your system. If the keyboard layout is not available, outcomes of the function might be different.
|
https://pythonawesome.com/open-source-robotic-process-automation/
|
CC-MAIN-2021-43
|
en
|
refinedweb
|
Chapter 8 - Inside The Model Layer
Much of the discussion so far has been devoted to building pages, and processing requests and responses. But the business logic of a web application relies mostly on its data model. Symfony's default model component is based on an object/relational mapping layer known as the Propel project (). In a symfony application, you access data stored in a database and modify it through objects; you never address the database explicitly. This maintains a high level of abstraction and portability.
This chapter explains how to create an object data model, and the way to access and modify the data in Propel. It also demonstrates the integration of Propel in Symfony.
Why Use an ORM and an Abstraction Layer?
Databases are relational. PHP 5 and symfony are object-oriented. In order to most effectively access the database in an object-oriented context, an interface translating the object logic to the relational logic is required. As explained in Chapter 1, this interface is called an object-relational mapping (ORM), and it is made up of objects that give access to data and keep business rules within themselves.
The main benefit of an ORM is reusability, allowing the methods of a data object to be called from various parts of the application, even from different applications. The ORM layer also encapsulates the data logic--for instance, the calculation of a forum user rating based on how many contributions were made and how popular these contributions are. When a page needs to display such a user rating, it simply calls a method of the data model, without worrying about the details of the calculation. If the calculation changes afterwards, you will just need to modify the rating method in the model, leaving the rest of the application unchanged.
Using objects instead of records, and classes instead of tables, has another benefit: They allow you to add new accessors to your objects that don't necessarily match a column in a table. For instance, if you have a table called
client with two fields named
first_name and
last_name, you might like to be able to require just a
Name. In an object-oriented world, it is as easy as adding a new accessor method to the
Client class, as in Listing 8-1. From the application point of view, there is no difference between the
LastName, and
Name attributes of the
Client class. Only the class itself can determine which attributes correspond to a database column.
Listing 8-1 - Accessors Mask the Actual Table Structure in a Model Class
public function getName() { return $this->getFirstName().' '.$this->getLastName(); }
All the repeated data-access functions and the business logic of the data itself can be kept in such objects. Suppose you have a
ShoppingCart class in which you keep
Items (which are objects). To get the full amount of the shopping cart for the checkout, write a custom method to encapsulate the actual calculation, as shown in Listing 8-2.
Listing 8-2 - Accessors Mask the Data Logic
public function getTotal() { $total = 0; foreach ($this->getItems() as $item) { $total += $item->getPrice() * $item->getQuantity(); } return $total; }
There is another important point to consider when building data-access procedures: Database vendors use different SQL syntax variants. Switching to another database management system (DBMS) forces you to rewrite part of the SQL queries that were designed for the previous one. If you build your queries using a database-independent syntax, and leave the actual SQL translation to a third-party component, you can switch database systems without pain. This is the goal of the database abstraction layer. It forces you to use a specific syntax for queries, and does the dirty job of conforming to the DBMS particulars and optimizing the SQL code.
The main benefit of an abstraction layer is portability, because it makes switching to another database possible, even in the middle of a project. Suppose that you need to write a quick prototype for an application, but the client hasn't decided yet which database system would best suit his needs. You can start building your application with SQLite, for instance, and switch to MySQL, PostgreSQL, or Oracle when the client is ready to decide. Just change one line in a configuration file, and it works.
Symfony uses Propel as the ORM, and Propel uses PHP Data Objects for database abstraction. These two third-party components, both developed by the Propel team, are seamlessly integrated into symfony, and you can consider them as part of the framework. Their syntax and conventions, described in this chapter, were adapted so that they differ from the symfony ones as little as possible.
note
In a symfony project, all the applications share the same model. That's the whole point of the project level: regrouping applications that rely on common business rules. This is the reason that the model is independent from the applications and the model files are stored in a
lib/model/ directory at the root of the project.
Symfony's Database Schema
In order to create the data object model that symfony will use, you need to translate whatever relational model your database has to an object data model. The ORM needs a description of the relational model to do the mapping, and this is called a schema. In a schema, you define the tables, their relations, and the characteristics of their columns.
Symfony's syntax for schemas uses the YAML format. The
schema.yml files must be located in the
myproject/config/ directory.
note
Symfony also understands the Propel native XML schema format, as described in the "Beyond the schema.yml: The schema.xml" section later in this chapter.
Schema Example
How do you translate a database structure into a schema? An example is the best way to understand it. Imagine that you have a blog database with two tables:
blog_article and
blog_comment, with the structure shown in Figure 8-1.
Figure 8-1 - A blog database table structure
The related
schema.yml file should look like Listing 8-3.
Listing 8-3 - Sample
schema.yml
propel: blog_article: _attributes: { phpName: Article } id: title: varchar(255) content: longvarchar created_at: blog_comment: _attributes: { phpName: Comment } id: article_id: author: varchar(255) content: longvarchar created_at:
Notice that the name of the database itself (
blog) doesn't appear in the
schema.yml file. Instead, the database is described under a connection name (
propel in this example). This is because the actual connection settings can depend on the environment in which your application runs. For instance, when you run your application in the development environment, you will access a development database (maybe
blog_dev), but with the same schema as the production database. The connection settings will be specified in the
databases.yml file, described in the "Database Connections" section later in this chapter. The schema doesn't contain any detailed connection to settings, only a connection name, to maintain database abstraction.
Basic Schema Syntax
In a
schema.yml file, the first key represents a connection name. It can contain several tables, each having a set of columns. According to the YAML syntax, the keys end with a colon, and the structure is shown through indentation (one or more spaces, but no tabulations).
A table can have special attributes, including the
phpName (the name of the class that will be generated). If you don't mention a
phpName for a table, symfony creates it based on the camelCase version of the table name.
tip
The camelCase convention removes underscores from words, and capitalizes the first letter of inner words. The default camelCase versions of
blog_article and
blog_comment are
BlogArticle and
BlogComment. The name of this convention comes from the appearance of capitals inside a long word, suggestive of the humps of a camel.
A table contains columns. The column value can be defined in three different ways:
- If you define nothing, symfony will guess the best attributes according to the column name and a few conventions that will be described in the "Empty Columns" section later in this chapter. For instance, the
idcolumn in Listing 8-3 doesn't need to be defined. Symfony will make it an auto-incremented integer, primary key of the table. The article_id in the
blog_commenttable will be understood as a foreign key to the
blog_articletable (columns ending with
_idare considered to be foreign keys, and the related table is automatically determined according to the first part of the column name). Columns called
created_atare automatically set to the
timestamptype. For all these columns, you don't need to specify any type. This is one of the reasons why
schema.ymlis so easy to write.
- If you define only one attribute, it is the column type. Symfony understands the usual column types:
boolean,
integer,
float,
date,
varchar(size),
longvarchar(converted, for instance, to
textin MySQL), and so on. For text content over 256 characters, you need to use the
longvarchartype, which has no size (but cannot exceed 65KB in MySQL). Note that the
dateand
timestamptypes have the usual limitations of Unix dates and cannot be set to a date prior to 1970-01-01. As you may need to set older dates (for instance, for dates of birth), a format of dates "before Unix" can be used with
bu_dateand
bu_timestamp.
- If you need to define other column attributes (like default value, required, and so on), you should write the column attributes as a set of
key: value. This extended schema syntax is described later in the chapter.
Columns can also have a
phpName attribute, which is the capitalized version of the name (
Id,
Title,
Content, and so on) and doesn't need overriding in most cases.
Tables can also contain explicit foreign keys and indexes, as well as a few database-specific structure definitions. Refer to the "Extended Schema Syntax" section later in this chapter to learn more.
Model Classes
The schema is used to build the model classes of the ORM layer. To save execution time, these classes are generated with a command-line task called
propel:build-model.
> php symfony propel:build-model
tip
After building your model, you must remember to clear symfony's internal cache with
php symfony cc so symfony can find your newly created models.
Typing this command will launch the analysis of the schema and the generation of base data model classes in the
lib/model/om/ directory of your project:
BaseArticle.php
BaseArticlePeer.php
BaseComment.php
BaseCommentPeer.php
In addition, the actual data model classes will be created in
lib/model/:
Article.php
ArticlePeer.php
Comment.php
CommentPeer.php
You defined only two tables, and you end up with eight files. There is nothing wrong, but it deserves some explanation.
Base and Custom Classes
Why keep two versions of the data object model in two different directories?
You will probably need to add custom methods and properties to the model objects (think about the
getName() method in Listing 8-1). But as your project develops, you will also add tables or columns. Whenever you change the
schema.yml file, you need to regenerate the object model classes by making a new call to propel-build-model. If your custom methods were written in the classes actually generated, they would be erased after each generation.
The
Base classes kept in the
lib/model/om/ directory are the ones directly generated from the schema. You should never modify them, since every new build of the model will completely erase these files.
On the other hand, the custom object classes, kept in the
lib/model/ directory, actually inherit from the
Base ones. When the
propel:build-model task is called on an existing model, these classes are not modified. So this is where you can add custom methods.
Listing 8-4 presents an example of a custom model class as created by the first call to the
propel:build-model task.
Listing 8-4 - Sample Model Class File, in
lib/model/Article.php
class Article extends BaseArticle { }
It inherits all the methods of the
BaseArticle class, but a modification in the schema will not affect it.
The mechanism of custom classes extending base classes allows you to start coding, even without knowing the final relational model of your database. The related file structure makes the model both customizable and evolutionary.
Object and Peer Classes
Article and
Comment are object classes that represent a record in the database. They give access to the columns of a record and to related records. This means that you will be able to know the title of an article by calling a method of an Article object, as in the example shown in Listing 8-5.
Listing 8-5 - Getters for Record Columns Are Available in the Object Class
$article = new Article(); // ... $title = $article->getTitle();
ArticlePeer and
CommentPeer are peer classes; that is, classes that contain static methods to operate on the tables. They provide a way to retrieve records from the tables. Their methods usually return an object or a collection of objects of the related object class, as shown in Listing 8-6.
Listing 8-6 - Static Methods to Retrieve Records Are Available in the Peer Class
// $articles is an array of objects of class Article $articles = ArticlePeer::retrieveByPks(array(123, 124, 125));
note
From a data model point of view, there cannot be any peer object. That's why the methods of the peer classes are called with a
:: (for static method call), instead of the usual
-> (for instance method call).
So combining object and peer classes in a base and a custom version results in four classes generated per table described in the schema. In fact, there is a fifth class created in the
lib/model/map/ directory, which contains metadata information about the table that is needed for the runtime environment. But as you will probably never change this class, you can forget about it.
Accessing Data
In symfony, your data is accessed through objects. If you are used to the relational model and using SQL to retrieve and alter your data, the object model methods will likely look complicated. But once you've tasted the power of object orientation for data access, you will probably like it a lot.
But first, let's make sure we share the same vocabulary. Relational and object data model use similar concepts, but they each have their own nomenclature:
Retrieving the Column Value
When symfony builds the model, it creates one base object class for each of the tables defined in the
schema.yml. Each of these classes comes with default constructors, accessors, and mutators based on the column definitions: The
new,
getXXX(), and
setXXX() methods help to create objects and give access to the object properties, as shown in Listing 8-7.
Listing 8-7 - Generated Object Class Methods
$article = new Article(); $article->setTitle('My first article'); $article->setContent('This is my very first article.\n Hope you enjoy it!'); $title = $article->getTitle(); $content = $article->getContent();
note
The generated object class is called
Article, which is the
phpName given to the
blog_article table. If the
phpName were not defined in the schema, the class would have been called
BlogArticle. The accessors and mutators use a camelCase variant of the column names, so the
getTitle() method retrieves the value of the
title column.
To set several fields at one time, you can use the
fromArray() method, also generated for each object class, as shown in Listing 8-8.
Listing 8-8 - The
fromArray() Method Is a Multiple Setter
$article->fromArray(array( 'Title' => 'My first article', 'Content' => 'This is my very first article.\n Hope you enjoy it!', ));
note
fromArray() method has a second argument keyType. You can specify the key type of the array by additionally passing one of the class type constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME, BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM. The default key type is the column's phpname (e.g. 'AuthorId')
Retrieving Related Records
The
article_id column in the
blog_comment table implicitly defines a foreign key to the
blog_article table. Each comment is related to one article, and one article can have many comments. The generated classes contain five methods translating this relationship in an object-oriented way, as follows:
$comment->getArticle(): To get the related
Articleobject
$comment->getArticleId(): To get the ID of the related
Articleobject
Articleobject
Articleobject from an ID
$article->getComments(): To get the related
Commentobjects
The
getArticleId() and
setArticleId() methods show that you can consider the article_id column as a regular column and set the relationships by hand, but they are not very interesting. The benefit of the object-oriented approach is much more apparent in the three other methods. Listing 8-9 shows how to use the generated setters.
Listing 8-9 - Foreign Keys Are Translated into a Special Setter
$comment = new Comment(); $comment->setAuthor('Steve'); $comment->setContent('Gee, dude, you rock: best article ever!'); // Attach this comment to the previous $article object $comment->setArticle($article); // Alternative syntax // Only makes sense if the object is already saved in the database $comment->setArticleId($article->getId());
Listing 8-10 shows how to use the generated getters. It also demonstrates how to chain method calls on model objects.
Listing 8-10 - Foreign Keys Are Translated into Special Getters
// Many to one relationship echo $comment->getArticle()->getTitle(); => My first article echo $comment->getArticle()->getContent(); => This is my very first article. Hope you enjoy it! // One to many relationship $comments = $article->getComments();
The
getArticle() method returns an object of class
Article, which benefits from the
getTitle() accessor. This is much better than doing the join yourself, which may take a few lines of code (starting from the
$comment->getArticleId() call).
The
$comments variable in Listing 8-10 contains an array of objects of class
Comment. You can display the first one with
foreach ($comments as $comment).
note
Objects from the model are defined with a singular name by convention, and you can now understand why. The foreign key defined in the
blog_comment table causes the creation of a
getComments() method, named by adding an
s to the
Comment object name. If you gave the model object a plural name, the generation would lead to a method named
getCommentss(), which doesn't make sense.
Saving and Deleting Data
By calling the
new constructor, you created a new object, but not an actual record in the
blog_article table. Modifying the object has no effect on the database either. In order to save the data into the database, you need to call the
save() method of the object.
$article->save();
The ORM is smart enough to detect relationships between objects, so saving the
$article object also saves the related
$comment object. It also knows if the saved object has an existing counterpart in the database, so the call to
save() is sometimes translated in SQL by an
INSERT, and sometimes by an
UPDATE. The primary key is automatically set by the
save() method, so after saving, you can retrieve the new primary key with
$article->getId().
tip
You can check if an object is new by calling isNew(). And if you wonder if an object has been modified and deserves saving, call its
isModified() method.
If you read comments to your articles, you might change your mind about the interest of publishing on the Internet. And if you don't appreciate the irony of article reviewers, you can easily delete the comments with the
delete() method, as shown in Listing 8-11.
Listing 8-11 - Delete Records from the Database with the
delete()Method on the Related Object
foreach ($article->getComments() as $comment) { $comment->delete(); }
tip
Even after calling the
delete() method, an object remains available until the end of the request. To determine if an object is deleted in the database, call the
isDeleted() method.
Retrieving Records by Primary Key
If you know the primary key of a particular record, use the
retrieveByPk() class method of the peer class to get the related object.
$article = ArticlePeer::retrieveByPk(7);
The
schema.yml file defines the
id field as the primary key of the
blog_article table, so this statement will actually return the article that has
id 7. As you used the primary key, you know that only one record will be returned; the
$article variable contains an object of class
Article.
In some cases, a primary key may consist of more than one column. In those cases, the
retrieveByPK() method accepts multiple parameters, one for each primary key column.
You can also select multiple objects based on their primary keys, by calling the generated
retrieveByPKs() method, which expects an array of primary keys as a parameter.
Retrieving Records with Criteria
When you want to retrieve more than one record, you need to call the
doSelect() method of the peer class corresponding to the objects you want to retrieve. For instance, to retrieve objects of class
Article, call
ArticlePeer::doSelect().
The first parameter of the
doSelect() method is an object of class
Criteria, which is a simple query definition class defined without SQL for the sake of database abstraction.
An empty
Criteria returns all the objects of the class. For instance, the code shown in Listing 8-12 retrieves all the articles.
Listing 8-12 - Retrieving Records by Criteria with
doSelect()--Empty Criteria
$c = new Criteria(); $articles = ArticlePeer::doSelect($c); // Will result in the following SQL query SELECT blog_article.ID, blog_article.TITLE, blog_article.CONTENT, blog_article.CREATED_AT FROM blog_article;
For a more complex object selection, you need an equivalent of the WHERE, ORDER BY, GROUP BY, and other SQL statements. The
Criteria object has methods and parameters for all these conditions. For example, to get all comments written by Steve, ordered by date, build a
Criteria as shown in Listing 8-13.
Listing 8-13 - Retrieving Records by Criteria with
doSelect()--Criteria with Conditions
$c = new Criteria(); $c->add(CommentPeer::AUTHOR, 'Steve'); $c->addAscendingOrderByColumn(CommentPeer::CREATED_AT); $comments = CommentPeer::doSelect($c); // Will result in the following SQL query SELECT blog_comment.ARTICLE_ID, blog_comment.AUTHOR, blog_comment.CONTENT, blog_comment.CREATED_AT FROM blog_comment WHERE blog_comment.author = 'Steve' ORDER BY blog_comment.CREATED_AT ASC;
The class constants passed as parameters to the add() methods refer to the property names. They are named after the capitalized version of the column names. For instance, to address the
content column of the
blog_article table, use the
ArticlePeer::CONTENT class constant.
note
Why use
CommentPeer::AUTHOR instead of
blog_comment.AUTHOR, which is the way it will be output in the SQL query anyway? Suppose that you need to change the name of the author field to
contributor in the database. If you used
blog_comment.AUTHOR, you would have to change it in every call to the model. On the other hand, by using
CommentPeer::AUTHOR, you simply need to change the column name in the
schema.yml file, keep
phpName as
AUTHOR, and rebuild the model.
Table 8-1 compares the SQL syntax with the
Criteria object syntax.
Table 8-1 - SQL and Criteria Object Syntax
tip
The best way to discover and understand which methods are available in generated classes is to look at the
Base files in the
lib/model/om/ folder after generation. The method names are pretty explicit, but if you need more comments on them, set the
propel.builder.addComments parameter to
true in the
config/propel.ini file and rebuild the model.
Listing 8-14 shows another example of
Criteria with multiple conditions. It retrieves all the comments by Steve on articles containing the word "enjoy," ordered by date.
Listing 8-14 - Another Example of Retrieving Records by Criteria with
doSelect()--Criteria with Conditions
$c = new Criteria(); $c->add(CommentPeer::AUTHOR, 'Steve'); $c->addJoin(CommentPeer::ARTICLE_ID, ArticlePeer::ID); $c->add(ArticlePeer::CONTENT, '%enjoy%', Criteria::LIKE); $c->addAscendingOrderByColumn(CommentPeer::CREATED_AT); $comments = CommentPeer::doSelect($c); // Will result in the following SQL query SELECT blog_comment.ID, blog_comment.ARTICLE_ID, blog_comment.AUTHOR, blog_comment.CONTENT, blog_comment.CREATED_AT FROM blog_comment, blog_article WHERE blog_comment.AUTHOR = 'Steve' AND blog_article.CONTENT LIKE '%enjoy%' AND blog_comment.ARTICLE_ID = blog_article.ID ORDER BY blog_comment.CREATED_AT ASC
Just as SQL is a simple language that allows you to build very complex queries, the Criteria object can handle conditions with any level of complexity. But since many developers think first in SQL before translating a condition into object-oriented logic, the
Criteria object may be difficult to comprehend at first. The best way to understand it is to learn from examples and sample applications. The symfony project website, for instance, is full of
Criteria building examples that will enlighten you in many ways.
In addition to the
doSelect() method, every peer class has a
doCount() method, which simply counts the number of records satisfying the criteria passed as a parameter and returns the count as an integer. As there is no object to return, the hydrating process doesn't occur in this case, and the
doCount() method is faster than
doSelect().
The peer classes also provide
doDelete(),
doInsert(), and
doUpdate() methods, which all expect a
Criteria as a parameter. These methods allow you to issue
DELETE,
INSERT, and
UPDATE queries to your database. Check the generated peer classes in your model for more details on these Propel methods.
Finally, if you just want the first object returned, replace
doSelect() with a
doSelectOne() call. This may be the case when you know that a
Criteria will return only one result, and the advantage is that this method returns an object rather than an array of objects.
tip
When a
doSelect() query returns a large number of results, you might want to display only a subset of it in your response. Symfony provides a pager class called sfPropelPager, which automates the pagination of results. Check the pager documentation at /cookbook/1_2/en/pager for more information and usage examples.
Using Raw SQL Queries
Sometimes, you don't want to retrieve objects, but want to get only synthetic results calculated by the database. For instance, to get the latest creation date of all articles, it doesn't make sense to retrieve all the articles and to loop on the array. You will prefer to ask the database to return only the result, because it will skip the object hydrating process.
On the other hand, you don't want to call the PHP commands for database management directly, because then you would lose the benefit of database abstraction. This means that you need to bypass the ORM (Propel) but not the database abstraction (PDO).
Querying the database with PHP Data Objects requires that you do the following:
- Get a database connection.
- Build a query string.
- Create a statement out of it.
- Iterate on the result set that results from the statement execution.
If this looks like gibberish to you, the code in Listing 8-15 will probably be more explicit.
Listing 8-15 - Custom SQL Query with PDO
$connection = Propel::getConnection(); $query = 'SELECT MAX(?) AS max FROM ?'; $statement = $connection->prepare($query); $statement->bindValue(1, ArticlePeer::CREATED_AT); $statement->bindValue(2, ArticlePeer::TABLE_NAME); $statement->execute(); $resultset = $statement->fetch(PDO::FETCH_OBJ); $max = $resultset->max;
Just like Propel selections, PDO queries are tricky when you first start using them. Once again, examples from existing applications and tutorials will show you the right way.
caution
If you are tempted to bypass this process and access the database directly, you risk losing the security and abstraction provided by Propel. Doing it the Propel way is longer, but it forces you to use good practices that guarantee the performance, portability, and security of your application. This is especially true for queries that contain parameters coming from a untrusted source (such as an Internet user). Propel does all the necessary escaping and secures your database. Accessing the database directly puts you at risk of SQL-injection attacks.
Using Special Date Columns
Usually, when a table has a column called
created_at, it is used to store a timestamp of the date when the record was created. The same applies to updated_at columns, which are to be updated each time the record itself is updated, to the value of the current time.
The good news is that symfony will recognize the names of these columns and handle their updates for you. You don't need to manually set the
created_at and
updated_at columns; they will automatically be updated, as shown in Listing 8-16. The same applies for columns named
created_on and
updated_on.
Listing 8-16 -
created_at and
updated_at Columns Are Dealt with Automatically
$comment = new Comment(); $comment->setAuthor('Steve'); $comment->save(); // Show the creation date echo $comment->getCreatedAt(); => [date of the database INSERT operation]
Additionally, the getters for date columns accept a date format as an argument:
echo $comment->getCreatedAt('Y-m-d');
Database Connections
The data model is independent from the database used, but you will definitely use a database. The minimum information required by symfony to send requests to the project database is the name, the credentials, and the type of database. These connection settings can be configured by passing a data source name (DSN) to the
configure:database task:
> php symfony configure:database "mysql:host=localhost;dbname=blog" root mYsEcret
The connection settings are environment-dependent. You can define distinct settings for the
prod,
dev, and
test environments, or any other environment in your application by using the
env option:
> php symfony configure:database --env=dev "mysql:host=localhost;dbname=blog_dev" root mYsEcret
This configuration can also be overridden per application. For instance, you can use this approach to have different security policies for a front-end and a back-end application, and define several database users with different privileges in your database to handle this:
> php symfony configure:database --app=frontend "mysql:host=localhost;dbname=blog" root mYsEcret
For each environment, you can define many connections. Each connection refers to a schema being labeled with the same name. The default connection name used is
propel and it refers to the
propel schema in Listing 8-3. The
name option allows you to create another connection:
> php symfony configure:database --name=main "mysql:host=localhost;dbname=example" root mYsEcret
You can also enter these connection settings manually in the
databases.yml file located in the
config/ directory. Listing 8-17 shows an example of such a file and Listing 8-18 shows the same example with the extended notation.
Listing 8-17 - Shorthand Database Connection Settings
all: propel: class: sfPropelDatabase param: dsn: mysql://login:[email protected]/blog
Listing 8-18 - Sample Database Connection Settings, in
myproject/config/databases.yml
prod: propel: param: hostspec: mydataserver username: myusername password: xxxxxxxxxx all: propel: class: sfPropelDatabase param: phptype: mysql # Database vendor hostspec: localhost database: blog username: login password: passwd port: 80 encoding: utf8 # Default charset for table creation persistent: true # Use persistent connections
The permitted values of the
phptype parameter are the ones of the database systems supported by PDO:
mysql
mssql
pgsql
sqlite
oracle
hostspec,
database,
username, and
password are the usual database connection settings.
To override the configuration per application, you need to edit an application-specific file, such as
apps/frontend/config/databases.yml.
If you use a SQLite database, the
hostspec parameter must be set to the path of the database file. For instance, if you keep your blog database in
data/blog.db, the
databases.yml file will look like Listing 8-19.
Listing 8-19 - Database Connection Settings for SQLite Use a File Path As Host
all: propel: class: sfPropelDatabase param: phptype: sqlite database: %SF_DATA_DIR%/blog.db
Extending the Model
The generated model methods are great but often not sufficient. As soon as you implement your own business logic, you need to extend it, either by adding new methods or by overriding existing ones.
Adding New Methods
You can add new methods to the empty model classes generated in the
lib/model/ directory. Use
$this to call methods of the current object, and use
self:: to call static methods of the current class. Remember that the custom classes inherit methods from the
Base classes located in the
lib/model/om/ directory.
For instance, for the
Article object generated based on Listing 8-3, you can add a magic
__toString() method so that echoing an object of class
Article displays its title, as shown in Listing 8-20.
Listing 8-20 - Customizing the Model, in
lib/model/Article.php
class Article extends BaseArticle { public function __toString() { return $this->getTitle(); // getTitle() is inherited from BaseArticle } }
You can also extend the peer classes--for instance, to add a method to retrieve all articles ordered by creation date, as shown in Listing 8-21.
Listing 8-21 - Customizing the Model, in
lib/model/ArticlePeer.php
class ArticlePeer extends BaseArticlePeer { public static function getAllOrderedByDate() { $c = new Criteria(); $c->addAscendingOrderByColumn(self::CREATED_AT); return self::doSelect($c); } }
The new methods are available in the same way as the generated ones, as shown in Listing 8-22.
Listing 8-22 - Using Custom Model Methods Is Like Using the Generated Methods
foreach (ArticlePeer::getAllOrderedByDate() as $article) { echo $article; // Will call the magic __toString() method }
Overriding Existing Methods
If some of the generated methods in the
Base classes don't fit your requirements, you can still override them in the custom classes. Just make sure that you use the same method signature (that is, the same number of arguments).
For instance, the
$article->getComments() method returns an array of
Comment objects, in no particular order. If you want to have the results ordered by creation date, with the latest comment coming first, then override the
getComments() method, as shown in Listing 8-23. Be aware that the original
getComments() method (found in
lib/model/om/BaseArticle.php) expects a criteria value and a connection value as parameters, so your function must do the same.
Listing 8-23 - Overriding Existing Model Methods, in
lib/model/Article.php
public function getComments($criteria = null, $con = null) { if (is_null($criteria)) { $criteria = new Criteria(); } else { // Objects are passed by reference in PHP5, so to avoid modifying the original, you must clone it $criteria = clone $criteria; } $criteria->addDescendingOrderByColumn(CommentPeer::CREATED_AT); return parent::getComments($criteria, $con); }
The custom method eventually calls the one of the parent Base class, and that's good practice. However, you can completely bypass it and return the result you want.
Using Model Behaviors
Some model modifications are generic and can be reused. For instance, methods to make a model object sortable and an optimistic lock to prevent conflicts between concurrent object saving are generic extensions that can be added to many classes.
Symfony packages these extensions into behaviors. Behaviors are external classes that provide additional methods to model classes. The model classes already contain hooks, and symfony knows how to extend them by way of
sfMixer (see Chapter 17 for details).
To enable behaviors in your model classes, you must modify one setting in the
config/propel.ini file:
propel.builder.AddBehaviors = true // Default value is false
There is no behavior bundled by default in symfony, but they can be installed via plug-ins. Once a behavior plug-in is installed, you can assign the behavior to a class with a single line. For instance, if you install the sfPropelParanoidBehaviorPlugin in your application, you can extend an
Article class with this behavior by adding the following at the end of the
Article.class.php:
sfPropelBehavior::add('Article', array( 'paranoid' => array('column' => 'deleted_at') ));
After rebuilding the model, deleted
Article objects will remain in the database, invisible to the queries using the ORM, unless you temporarily disable the behavior with
sfPropelParanoidBehavior::disable().
New in symfony 1.1: Alternatively, you can also declare behaviors directly in the
schema.yml, by listing them under the
_behaviors key (see Listing 8-34 below).
Check the list of symfony plug-ins in the wiki to find behaviors (). Each has its own documentation and installation guide.
Extended Schema Syntax
A
schema.yml file can be simple, as shown in Listing 8-3. But relational models are often complex. That's why the schema has an extensive syntax able to handle almost every case.
Attributes
Connections and tables can have specific attributes, as shown in Listing 8-24. They are set under an
_attributes key.
Listing 8-24 - Attributes for Connections and Tables
propel: _attributes: { noXsd: false, defaultIdMethod: none, package: lib.model } blog_article: _attributes: { phpName: Article }
You may want your schema to be validated before code generation takes place. To do that, deactivate the
noXSD attribute for the connection. The connection also supports the
defaultIdMethod attribute. If none is provided, then the database's native method of generating IDs will be used--for example,
autoincrement for MySQL, or
sequences for PostgreSQL. The other possible value is
none.
The
package attribute is like a namespace; it determines the path where the generated classes are stored. It defaults to
lib/model/, but you can change it to organize your model in subpackages. For instance, if you don't want to mix the core business classes and the classes defining a database-stored statistics engine in the same directory, then define two schemas with
lib.model.business and
lib.model.stats packages.
You already saw the
phpName table attribute, used to set the name of the generated class mapping the table.
Tables that contain localized content (that is, several versions of the content, in a related table, for internationalization) also take two additional attributes (see Chapter 13 for details), as shown in Listing 8-25.
Listing 8-25 - Attributes for i18n Tables
propel: blog_article: _attributes: { isI18N: true, i18nTable: db_group_i18n }
Column Details
The basic syntax gives you two choices: let symfony deduce the column characteristics from its name (by giving an empty value) or define the type with one of the type keywords. Listing 8-26 demonstrates these choices.
Listing 8-26 - Basic Column Attributes
propel: blog_article: id: # Let symfony do the work title: varchar(50) # Specify the type yourself
But you can define much more for a column. If you do, you will need to define column settings as an associative array, as shown in Listing 8-27.
Listing 8-27 - Complex Column Attributes
propel: blog_article: id: { type: integer, required: true, primaryKey: true, autoIncrement: true } name: { type: varchar(50), default: foobar, index: true } group_id: { type: integer, foreignTable: db_group, foreignReference: id, onDelete: cascade }
The column parameters are as follows:
type: Column type. The choices are
boolean,
tinyint,
smallint,
integer,
bigint,
double,
float,
real,
decimal,
char,
varchar(size),
longvarchar,
date,
time,
timestamp,
bu_date,
bu_timestamp,
blob, and
clob.
required: Boolean. Set it to
trueif you want the column to be required.
size: The size or length of the field for types that support it
scale: Number of decimal places for use with decimal data type (size must also be specified)
default: Default value.
primaryKey: Boolean. Set it to
truefor primary keys.
autoIncrement: Boolean. Set it to
truefor columns of type
integerthat need to take an auto-incremented value.
sequence: Sequence name for databases using sequences for
autoIncrementcolumns (for example, PostgreSQL and Oracle).
index: Boolean. Set it to
trueif you want a simple index or to
uniqueif you want a unique index to be created on the column.
foreignTable: A table name, used to create a foreign key to another table.
foreignReference: The name of the related column if a foreign key is defined via
foreignTable.
onDelete: Determines the action to trigger when a record in a related table is deleted. When set to
setnull, the foreign key column is set to
null. When set to
cascade, the record is deleted. If the database engine doesn't support the set behavior, the ORM emulates it. This is relevant only for columns bearing a
foreignTableand a
foreignReference.
isCulture: Boolean. Set it to
truefor culture columns in localized content tables (see Chapter 13).
Foreign Keys
As an alternative to the
foreignTable and
foreignReference column attributes, you can add foreign keys under the
_foreignKeys: key in a table. The schema in Listing 8-28 will create a foreign key on the
user_id column, matching the
id column in the
blog_user table.
Listing 8-28 - Foreign Key Alternative Syntax
propel: blog_article: id: title: varchar(50) user_id: { type: integer } _foreignKeys: - foreignTable: blog_user onDelete: cascade references: - { local: user_id, foreign: id }
The alternative syntax is useful for multiple-reference foreign keys and to give foreign keys a name, as shown in Listing 8-29.
Listing 8-29 - Foreign Key Alternative Syntax Applied to Multiple Reference Foreign Key
_foreignKeys: my_foreign_key: foreignTable: db_user onDelete: cascade references: - { local: user_id, foreign: id } - { local: post_id, foreign: id }
Indexes
As an alternative to the
index column attribute, you can add indexes under the
_indexes: key in a table. If you want to define unique indexes, you must use the
_uniques: header instead. For columns that require a size, because they are text columns, the size of the index is specified the same way as the length of the column using parentheses. Listing 8-30 shows the alternative syntax for indexes.
Listing 8-30 - Indexes and Unique Indexes Alternative Syntax
propel: blog_article: id: title: varchar(50) created_at: _indexes: my_index: [title(10), user_id] _uniques: my_other_index: [created_at]
The alternative syntax is useful only for indexes built on more than one column.
Empty Columns
When meeting a column with no value, symfony will do some magic and add a value of its own. See Listing 8-31 for the details added to empty columns.
Listing 8-31 - Column Details Deduced from the Column Name
// Empty columns named id are considered primary keys id: { type: integer, required: true, primaryKey: true, autoIncrement: true } // Empty columns named XXX_id are considered foreign keys foobar_id: { type: integer, foreignTable: db_foobar, foreignReference: id } // Empty columns named created_at, updated at, created_on and updated_on // are considered dates and automatically take the timestamp type created_at: { type: timestamp } updated_at: { type: timestamp }
For foreign keys, symfony will look for a table having the same
phpName as the beginning of the column name, and if one is found, it will take this table name as the
foreignTable.
I18n Tables
Symfony supports content internationalization in related tables. This means that when you have content subject to internationalization, it is stored in two separate tables: one with the invariable columns and another with the internationalized columns.
In a
schema.yml file, all that is implied when you name a table
foobar_i18n. For instance, the schema shown in Listing 8-32 will be automatically completed with columns and table attributes to make the internationalized content mechanism work. Internally, symfony will understand it as if it were written like Listing 8-33. Chapter 13 will tell you more about i18n.
Listing 8-32 - Implied i18n Mechanism
propel: db_group: id: created_at: db_group_i18n: name: varchar(50)
Listing 8-33 - Explicit i18n Mechanism
propel: db_group: _attributes: { isI18N: true, i18nTable: db_group_i18n } id: created_at: db_group_i18n: id: { type: integer, required: true, primaryKey: true,foreignTable: db_group, foreignReference: id, onDelete: cascade } culture: { isCulture: true, type: varchar(7), required: true,primaryKey: true } name: varchar(50)
Behaviors (since symfony 1.1)
Behaviors are model modifiers provided by plug-ins that add new capabilities to your Propel classes. Chapter 17 explains more about behaviors. You can define behaviors right in the schema, by listing them for each table, together with their parameters, under the
_behaviors key. Listing 8-34 gives an example by extending the
BlogArticle class with the
paranoid behavior.
Listing 8-34 - Behaviors Declaration
propel: blog_article: title: varchar(50) _behaviors: paranoid: { column: deleted_at }
Beyond the schema.yml: The schema.xml
As a matter of fact, the schema.yml format is internal to symfony. When you call a propel- command, symfony actually translates this file into a
generated-schema.xml file, which is the type of file expected by Propel to actually perform tasks on the model.
The
schema.xml file contains the same information as its YAML equivalent. For example, Listing 8-3 is converted to the XML file shown in Listing 8-35.
Listing 8-35 - Sample
schema.xml, Corresponding to Listing 8-3
<?xml version="1.0" encoding="UTF-8"?> <database name="propel" defaultIdMethod="native" noXsd="true" package="lib.model"> <table name="blog_article" phpName="Article"> <column name="id" type="integer" required="true" primaryKey="true"autoIncrement="true" /> <column name="title" type="varchar" size="255" /> <column name="content" type="longvarchar" /> <column name="created_at" type="timestamp" /> </table> <table name="blog_comment" phpName="Comment"> <column name="id" type="integer" required="true" primaryKey="true"autoIncrement="true" /> <column name="article_id" type="integer" /> <foreign-key <reference local="article_id" foreign="id"/> </foreign-key> <column name="author" type="varchar" size="255" /> <column name="content" type="longvarchar" /> <column name="created_at" type="timestamp" /> </table> </database>
The description of the
schema.xml format can be found in the documentation and the "Getting Started" sections of the Propel project website ().
The YAML format was designed to keep the schemas simple to read and write, but the trade-off is that the most complex schemas can't be described with a
schema.yml file. On the other hand, the XML format allows for full schema description, whatever its complexity, and includes database vendor-specific settings, table inheritance, and so on.
Symfony actually understands schemas written in XML format. So if your schema is too complex for the YAML syntax, if you have an existing XML schema, or if you are already familiar with the Propel XML syntax, you don't have to switch to the symfony YAML syntax. Place your
schema.xml in the project
config/ directory, build the model, and there you go.
Don't Create the Model Twice
The trade-off of using an ORM is that you must define the data structure twice: once for the database, and once for the object model. Fortunately, symfony offers command-line tools to generate one based on the other, so you can avoid duplicate work.
Building a SQL Database Structure Based on an Existing Schema
If you start your application by writing the
schema.yml file, symfony can generate a SQL query that creates the tables directly from the YAML data model. To use the query, go to your root project directory and type this:
> php symfony propel:build-sql
A
lib.model.schema.sql file will be created in
myproject/data/sql/. Note that the generated SQL code will be optimized for the database system defined in the
phptype parameter of the
propel.ini file.
You can use the schema.sql file directly to build the tables. For instance, in MySQL, type this:
> mysqladmin -u root -p create blog > mysql -u root -p blog < data/sql/lib.model.schema.sql
The generated SQL is also helpful to rebuild the database in another environment, or to change to another DBMS. If the connection settings are properly defined in your
propel.ini, you can even use the
php symfony propel:insert-sql command to do this automatically.
tip
The command line also offers a task to populate your database with data based on a text file. See Chapter 16 for more information about the
propel:data-load task and the YAML fixture files.
Generating a YAML Data Model from an Existing Database
Symfony can use Propel to generate a
schema.yml file from an existing database, thanks to introspection (the capability of databases to determine the structure of the tables on which they are operating). This can be particularly useful when you do reverse-engineering, or if you prefer working on the database before working on the object model.
In order to do this, you need to make sure that the project
databases.yml file points to the correct database and contains all connection settings, and then call the
propel:build-schema command:
> php symfony propel:build-schema
A brand-new
schema.yml file built from your database structure is generated in the
config/ directory. You can build your model based on this schema.
The schema-generation command is quite powerful and can add a lot of database-dependent information to your schema. As the YAML format doesn't handle this kind of vendor information, you need to generate an XML schema to take advantage of it. You can do this simply by adding an
xml argument to the
build-schema task:
> php symfony propel:build-schema --xml
Instead of generating a
schema.yml file, this will create a
schema.xml file fully compatible with Propel, containing all the vendor information. But be aware that generated XML schemas tend to be quite verbose and difficult to read.
Summary
Symfony uses Propel as the ORM and PHP Data Objects as the database abstraction layer. It means that you must first describe the relational schema of your database in YAML before generating the object model classes. Then, at runtime, use the methods of the object and peer classes to retrieve information about a record or a set of records. You can override them and extend the model easily by adding methods to the custom classes. The connection settings are defined in a
databases.yml file, which can support more than one connection. And the command line contains special tasks to avoid duplicate structure definition.
The model layer is the most complex of the symfony framework. One reason for this complexity is that data manipulation is an intricate matter. The related security issues are crucial for a website and should not be ignored. Another reason is that symfony is more suited for middle- to large-scale applications in an enterprise context. In such applications, the automations provided by the symfony model really represent a gain of time, worth the investment in learning its internals.
So don't hesitate to spend some time testing the model objects and methods to fully understand them. The solidity and scalability of your applications will be a great reward.
|
https://symfony.com/legacy/doc/book/1_2/zh_CN/08-inside-the-model-layer
|
CC-MAIN-2021-43
|
en
|
refinedweb
|
In the tutorials so far in this course, you've used functions many times. In this tutorial, you'll see how to create new ones! After that, you'll learn about loops in Python, one of the most important concepts in programming.
Your own functions! give it a go. Replace the code in python_intro.py with the following:
def hi():print 'Hi there!'print 'How are you?'hi()
Okay, our first function is ready!
You may wonder why we've written the name of the function at the bottom of the file. The first time (line 1), we're defining what the function does. The second time (line 5), we're calling the function, i.e. asking Python to actually execute the function.
Note that because Python reads the file and executes it from top to bottom. When Python is executing the function, if it hasn't yet found the definition, it will throw an error. Hence, we define the function before calling it.
Let's run this now and see what happens:
$ python python_intro.pyHi print lines have the same whitespace at the start of a line: python wants all the code inside the function to be neatly aligned.
-:
def hi(name):
As you can see, we now gave our function a parameter that we called name:
def hi(name):if name == 'Commonlounge':print 'Hi Commonlounge!'elif name == 'Dave':print 'Hi Dave!'else:print 'Hi anonymous!'hi()
Remember: The print function is indented four spaces within the if statement. This is because the function runs when the condition is met. Let's see how it works now:
$ python python_intro.pyTraceback (most recent call last):File "python_intro.py", line 10, inhi(:
hi("Commonlounge")
And run it again:
$ python python_intro.pyHi Commonlounge!
And if we change the name?
hi("Dave")
And run it:
$ python python_intro.pyHi Dave!
Now, what do you think will happen if you write another name in there? (Not Commonlounge or Dave.) Give it a try and see if you're right. It should print out this:?
def hi(name):print 'Hi ' + name + '!'hi("Rachel")
Let's call the code now:
$ python python_intro.pyHi Rachel!
Multiple parameters and return values
So far, we have seen functions which take one parameter, and print something based on that. In fact, a function can take multiple inputs, and also return a value. Here's a simple example,
def subtract(x, y):return x - yz = subtract(5, 2)print z # Outputs: 3
The above subtract function takes two inputs, which it calls x and y. It then returns the result of subtracting y from x. Hence, when we call subtract(5, 2), the returned value is 3. We can assign this value to a variable, or use it any other way we want.
Note that we can take as many more inputs as we want, and we can also return a string, list, dictionary, etc. Here's an example of a function which returns a dictionary.
def math(x, y):return { 'sum': x+y, 'difference': x-y, 'product': x*y, 'quotient': x/y }print math(5, 2)# Outputs: {'sum': 7, 'difference': 3, 'product': 10, 'quotient': 2.5}
Congratulations! You just learned how to write functions! :)
Loops
Programmers don't like to repeat themselves. Programming is all about automating things, so we don't want to greet every person by their name manually, right? That's where loops come in handy.
Still remember lists? Let's do a list of people:
people = ['Rachel', 'Monica', 'Phoebe', 'Ola', 'You']
We want to greet all of them by their name. We have the hi function to do that, so let's use it in a loop:
for name in people:
The for statement behaves similarly to the if statement; code below both of these need to be indented four spaces.
Here is the full code that will be in the file:
def hi(name):print 'Hi ' + name + '!'people = ['Rachel', 'Monica', 'Phoebe', 'Ola', 'You']for name in people:hi(name)print 'Next person'
And when we run it:
$ python python_intro.pyHi Rachel!Next personHi Monica!Next personHi Phoebe!Next personHi Ola!Next personHi You!Next person
As you can see, everything you put inside a for statement with an indent will be repeated for every element of the list people.
You can also use for on numbers using the range function:
for i in range(1, 6):print i
Which would print:
12345 by that we mean it includes the first value, but not the last.
Conclusion
That's it. You totally rock! This was a tricky chapter, so you should feel proud of yourself. We're definitely proud of you for making it this far!
Based on content from
|
https://www.commonlounge.com/discussion/6a9814434abe48f7a5cec1ca102774f8
|
CC-MAIN-2021-43
|
en
|
refinedweb
|
I’m a novice Ruby programmer and I’ve come up against a problem which I
really have no idea as to how to fix. I’m making a small Ruby/RoR web
application to poll and display information from SNMP devices. The
problem I’m having is trying to poll an IP range for SNMP enabled
devices. I hacked together a small method to do this using the
SNMP Scanner gem/command line app as a basis
(). I just modified it by throwing it into
a method and have
it return an array of “live” IP addresses.
In application.rb
class IPAddr
The broadcast method calculate the broadcast
address of the range (if any)
def broadcast
return @addr + (IPAddr::IN4MASK - @mask_addr)
end
# The each_address method iterates over each address
# of the ip range
def each_address
(@addr…broadcast).each do |addr|
yield _to_string(addr)
end
end
end
[/code]
#In network_controller.rb def poll(inc_ip) # Default Settings timeout = 200 mib = "sysDescr.0" protocol = "2c" comunity = "public" verbose = false args = [timeout,mib,protocol,comunity] live = [] iprange = IPAddr.new(inc_ip) threads = [] iprange.each_address do |ip| begin threads << Thread.new(ip,args) do |ip,args| timeout,mib,protocol,comunity = args begin SNMP::Manager.open(:Host => ip, :Community => comunity, :Port => 161, :Timeout => (timeout/1000.0)) do |man| res = man.get([mib]) answer = res.varbind_list[0].value live << "#{ip}" print "#{ip}:\t#{answer}\n" end end end rescue next end end ThreadsWait.all_waits(threads) return live end
To test, I just an action to poll a range (10.1.1.1-10.1.1.254) and
flash the first result to me:
#In network_controller.rb def live_devices live = Array.new(poll("10.1.1.1/24")) flash[:notice] = live[0] redirect_to :action => 'list' end
This works fine and reveals the IP addresses of two SNMP devices on my
network just fine. However, if I try to poll 192.168.1.1/24, the
application hangs and seems to spawn hundreds of threads, most of which
never complete. In the command line window I can see it returning the
first and only SNMP device within that range, the router at 192.168.1.1.
My knowledge of CIDR notation is cursory but 192.168.1.1/24 should scan
between 192.168.1.1 and 192.168.1.254 unless I’m mistaken. I’m stumped
as to what the problem is. Either there’s a serious problem with the
threading somewhere or something else. Another thing I noted is that
using the SNMP scanner gem from the command line to scan a single IP
address works fine, but using the code above to scan single IP returns
nothing.
This is all very confusing
Edit: I don’t think I’m initialising the IPAddr object I want
correctly as calling “iprange = IPTest.new(inc_ip)” after renaming the
IPAddr class in application.rb to IPTest throws an error. I think this
is where my problem lies.
I’ve moved the code from application.rb to iptest.rb in /lib and use
require ‘iptest’ in environment.rb but now calling the live_devices
action just yields a “wrong number of arguments (1 for 0)” error.
Perhaps it’s not loaded correctly?
|
https://www.ruby-forum.com/t/custom-class-problem/85218
|
CC-MAIN-2021-43
|
en
|
refinedweb
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.