text
stringlengths
454
608k
url
stringlengths
17
896
dump
stringclasses
91 values
source
stringclasses
1 value
word_count
int64
101
114k
flesch_reading_ease
float64
50
104
Lately, I’ve been doing a lot of work managing batch-processing tasks. Broadly speaking, there are two types of triggers for such a task: time-based and logic-based. The former can be easily done by cron/scheduled jobs. The latter can be a bit tricky, mostly because it can involve dependencies on other tasks. In this post, I will talk about how I’ve been using the AWS Simple Workflow service (SWF) to take some of the headache out of orchestrating tasks. What’s a Workflow? So what do I mean by ‘workflow’ exactly? I define it as a sequence of activities for accomplishing a well-defined objective. Furthermore, it can involve ordering, dependency, and logic. If this seems a bit abstract, it may be helpful just to think of a workflow as something that can be described with a flow chart. Consider the following two task definitions: - Task A: Generates a random letter and prints it into a local file /var/tmp/a.out. This task runs daily, and does not have any dependency on any other tasks/conditions. Let’s assume that this task is actually implemented by a Python script called a.py. - Task B: Loads the letter from /var/tmp/a.out from Task A, return a random fruit/vegetable name starting with that letter. This task needs to run after a successful completion of task A. Let’s assume that this task is implemented by another Python script called b.py. So, for example, if the output of Task A is the letter “a”, then Task B might output “apple” or “avocado.” Based on these requirements, we could draw the following flow chart: Where: - Rectangles represent activities - Diamonds represent decisions - Ovals represent process states This example workflow is not only time-based, but also involves a bit of logic. If you were to try to use just a cron job to orchestrate these tasks, you’d also have to introduce some coupling between the two tasks. Depending on the complexity of the original scripts files, you could: - Merge the two scripts into one, kicking off one task after the other with a check on the completion and result, or - Have a separate script to manage the ordering and dependency. This would minimize the changes to the original scripts. The downside of both of these approaches is that if there are any future changes to the workflow logic, you will have to change the scripts correspondingly. Even worse, if the scripts belong to multiple projects, the coupling will make the source code more messy and complicated. Finally, you’ll also need to have something in place to monitor the progress of script execution, keep execution history for analysis, and send alerts when certain tasks fail, etc. So as the true complexity of the problem dawns on us, we start to wonder: wouldn’t it be great if there was something that could manage all this without touching your original codes? And of course, the answer is simple: AWS Simple Workflow. But how? Introducing SWF The AWS SWF service is a central management tool which provides task coordination and state tracking in the AWS Cloud. To work with SWF, you can either: - Build an application from scratch on top of the SWF framework, or - Introduce an agent which acts as an intermediary between your existing application and SWF. This agent will be responsible for managing execution of your application, but will otherwise be totally independent from it. I have found the second approach to be more common in practice. This is because the applications I’ve been trying to retrofit into a workflow are usually already running in a production environment. Having to rebuild them from scratch on top of the SWF framework would be a nuisance. So for the remainder of this blog, we’ll implement an agent-based solution to the example workflow I introduced earlier. Let’s head over the AWS console and navigate to Simple Workflow Service Dashboard. I’ve annotated the parts that are of interest: The first thing we then do is create a Domain. This is for scoping the requirements of your workflow. Say that you need SWF to manage multiple processes with completely independent business logic. In that case, I highly recommended that you create a separate domain for each project, so then you can easily track workflow execution. In the SWF dashboard, you can find the “Manage Domains” button on the upper-right corner. By clicking on it, you will find the list of currently registered domains as well as deprecated ones if any. Initially, it will be empty: But after clicking the “Register New” button, you’ll be taken to the ‘Register Domain’ page, where you can fill in the details of the new domain to be registered: Next, you click on “Register” button. When the new domain is successfully registered, you’ll see this message: You then go back to the “Manage Domains” window, where your newly-registered domain will be listed: Next, we will need to register a Workflow Type. A workflow type effectively maps to what’s represented in our flow chart. Returning to the SWF dashboard, we need to select the domain from the dropdown list that the workflow type will belong to. Once domain is selected, click on the link named”Register a New Workflow Type” listed under “Quick Links” in the dashboard. A new workflow type registration page will appear: The task list in the registration form can be thought of as a queue containing all the pending tasks. There are two types of task. Decision Tasks decide what will be the next workflow activity. Activity Tasks perform the actual activities. You can use different task lists for queuing decision tasks and activity tasks, especially when handling fairly complex flow logic. However, for a simple workflow, it’s not usually necessary. Once all the details are confirmed, click on the “Continue” button to enter the “Review” page: Task Priorities are useful when you execute multiple workflow types within the same domain. Child Policies are needed when the execution of your workflow type has child executions, which tells SWF what to do with the child executions when the parent execution is being terminated. However in this example, we can simply choose the default child policy, which means all the child executions will be terminated when the parent is terminated. After reviewing the workflow type registration details by clicking on the “Review” button , the new workflow type will be successfully registered by clicking the “Register Workflow” button: Once a SWF workflow type is registered, we can then register the Activity Types for the tasks defined in the flow chart. It’s important to understand that the activity in the SWF domain is not the actual task or command to kick off a program. Instead, it’s the name of a step in the SWF workflow execution process. Click on the link “Register a New Activity Type” listed under “Quick Links” in the dashboard, and you will see the activity type registration page. We can then register the activity type for Task A: We can repeat the same step for Test_Task_B using all the same details (except the Activity Type Name). So to summarize, here are the things we’ve set up so far: - A SWF Domain: TEST_SWF - A SWF Workflow Type: TestWorkflow 1.0 - 2 SWF Activity Types: - Test_Task_A 1.0 - Test_Task_B 1.0 Let’s now look at how we link everything together. Orchestrating Tasks Suppose that we need to conditionally execute a sequence of tasks. Furthermore, we’ll delegate someone to work on the list of tasks, and somebody to make the decision on which task to do. We’ll refer to these roles as ‘the worker’ and ‘the decider’ respectively. Thinking in terms of what we might see on a flow chart, the decider focuses on diamond-shaped and oval-shaped tasks, analyzing what the current state is and choosing what activity to perform next. For example, the decider might check if we’re at the start of an execution cycle, and if current conditions are OK for the next task to run. The worker, on the other hand, actually performs the activities; for example, running task A by executing the appropriate Python script. In order to run the correct task, the worker needs to ask the decider a question: “what’s the task?”. Once the decider has made its decision, the worker is notified. It executes the task, lets the decider know the result of the execution, and then ask the same question again: “what’s the task?”. SWF is the mediator that helps the decider and worker communicate with each other. It does this by: - Scheduling decision tasks for the decider during a workflow execution, notifying it of a point where a decision needs to be made to get the execution going. This is very similar to the real-life situation where the worker asks the decider the question “what’s the task?” - Collecting decisions made by the decider. Note that a decision is not simply a “Yes” or ‘No’. Instead, it’s an action, such as starting certain activity task or completing or terminating the current workflow execution. - Scheduling activity tasks for the worker if the decider tells it to. You can consider this step as SWF service passes the decision of “what task to run” from the decider to the worker. - Collecting activity task result from the worker, and asking the decider what will be the next step by scheduling a decision task. Again, SWF service asks the decider the same question: “What’s next?” Note that SWF service does not make any decisions or handle any logic of the workflow execution. Instead, what it does basically is separate the flow chart into two groups of tasks. This is very helpful when you’re implementing a very complex solution consisting of several tasks, and you don’t want the dependencies among the tasks to complicate the solution even more. So all we need to do is write programs for both the decider and worker. The decider program needs to get decision tasks from SWF once scheduled, and then responds to SWF with the decision made, which it has based on an evaluation of the current state. A response can be scheduling a new activity task, terminating the current workflow execution on errors, or completing the execution if no more tasks are to be run. The worker program needs to get activity tasks from SWF service once scheduled, and then executes the actual task by kicking off the corresponding task script based on the activity type. In our case, we’ll make it that Test_Task_A maps to the a.py script, and Test_Task_B maps to b.py. Implementing Decider and Worker scripts We’re going to implement our decider and worker in Python using the boto3 library. First, let’s start with the decider program, which we’ll call ‘decider.py‘. Firstly, let’s have it initialise the connection to the SWF service: import boto3 client = boto3.client('swf') Next, we use the ‘client’ object to poll decision tasks from the SWF service: Now, based on the initial conditions and the outcomes of previously-completed activity tasks, we make decisions and take action. This involves scheduling the next activity task, completing the workflow execution if there are no more activity tasks, or terminating the workflow execution due to failures/errors. Thus, the ‘decision’ can be considered as the result of the decision task, and will be reported to the SWF service. Each decision task scheduled by the SWF service has all the history events, including the previously handled decision tasks and executed activity tasks, so that the decider can easily get the context from the current decision task. In the code snippet, based on the result from the”findNextActivity” method , the “decide” method will complete the workflow execution if the next activity is “complete” (meaning there are no more activities to run), or schedule the next activity task if the conditions allow, or fail the workflow execution if there are failures in the history. Now let’s take a look at the worker, which we’ll call ‘worker.py‘. After initializing its connection to the SWF service, it polls for activity tasks from the service: Based on the type of the activity task, it then executes the corresponding application program. For example, if the type of the activity task received by the worker program is ‘Test_Task_A’, then the Python script ‘a.py’ will be executed: Note that, via the “respondActivityTaskCompleted” and “respondActivityTaskFailed” functions, it also reports to the SWF service whether the execution succeeded or failed, along with the result if necessary. So to summarize, we now have the following two scripts: - decider.py, which: - polls decision tasks from task list “TestTasks” - reports decision to SWF service by scheduling activity task, fail workflow execution or complete workflow execution - worker.py, which: - polls activity tasks from task list “TestTasks” - kicks off the corresponding script based on the activity type - reports the execution result of the current activity task to SWF service Putting It All Together Now that we’ve got all of the pieces in place, let’s put it all together and take it for a spin. First, we start a workflow execution by clicking “Start a new Workflow Execution” listed under ‘Quick Links’ on the SWF dashboard. This will pop up the following wizard dialog: We fill in the details then click on “Continue”, which takes us forward to the next stage: We don’t need to provide any additional options, so simply click on “Review” to review a summary of the execution: Having checked the details, we click on “Start Execution”. The following message will be displayed: Closing the current dialog, we go to the “My Workflow Executions” screen, where we can find the current running execution: Now let’s drill into the execution, and figure out how our decider and worker can interact with SWF to get the job done. In the ‘Workflow Execution ID’ column, we click on ‘Demo’ to enter the workflow execution page, where we can find 3 tabs: ‘Summary’, ‘Events’, and ‘Activities’. The ‘Summary’ tab displays the configurations of the workflow execution: However, it’s the second two tabs that are of most interest when walking through the workflow execution. First, let’s look at what’s under the ‘Events’ tab after a workflow execution is kicked off: I’ve annotated the important parts of this screen. In short, the events indicate that until a decision is made, there won’t be any more activity tasks scheduled or started. We can confirm this by clicking on the ‘Activities’ tab: So basically what has happened here is that the SWF service is waiting for a decision from the decider program. This is where we can run decider.py to handle the first decision task and let it tell SWF service what to do next: $ python decider.py Received a Decision Task Making decision on what is next Decision Made: Schedule activity -- Test_Task_A Now that a decision is made, SWF service should have scheduled an activity task of type “Test_Task_A”.To check if this has happened, we can return to the ‘Events’ tab, where we’ll see a couple of new events: In order to find out which activity task is scheduled, we need to check under ‘Activities’ tab. According to the flow chart, this is exactly what we expect: that Task A will be the first task of the workflow. So now we can run worker.py to handle the first activity task (‘A’): $ python worker.py Received a Activity Task Execute Test_Task_A with command - python /var/tmp/TEST_SWF/a.py > /dev/null 2>&1 Test_Task_A succeeded with output: b We see that the execution of Task A has randomly picked the letter “b” and printed it into output file a.out, which will be the reference for Task B. The result of the activity task execution will be reported to SWF service from the worker: And, if we look at the status of the activity: We see that it is consistent with what’s indicated in event 7. Now we need to run decider.py again to handle the second decision task scheduled by SWF service: $ python decider.py Received a Decision Task Making decision on what is next Test_Task_A succeeded Decision Made: Schedule activity -- Test_Task_B The decider program goes through the events history and realizes that Test A has succeeded. It then makes the decision that it’s OK to run Task B, and asks SWF to schedule an activity task of Test_Task_B. Returning to the ‘Events’ log, we can see this taking place: And a new activity of “Test_Task_B” scheduled under the ‘Activities’ Tab: Next, we run worker.py again to handle the second activity task (‘B’): $ python worker.py Received a Activity Task Execute Test_Task_B with command - python /var/tmp/TEST_SWF/b.py > /dev/null 2>&1 Test_Task_B succeeded with output: banana This time, Task B picks up the output from Task A (the letter “b”) and randomly finds a fruit/vegetable name starting with “b”, in this case “banana”. Task B succeeds, which we can confirm on the ‘Events’ tab: And we see on the ‘Activities’ tab that the status of both activities is now marked as ‘Completed’: Finally, we run decider.py to handle the third decision task: $ python decider.py Received a Decision Task Making decision on what is next Decision Made: Complete the workflow execution The decider walks through all the history events and sees that all the tasks involved in the workflow have been completed successfully. Consequently, it decides to mark the workflow execution as completed. We can verify this on the ‘Events’ tab: If we return to the “My Workflow Executions” screen, we can also see that the workflow execution is now marked as “Completed”: Conclusion When you have a problem that requires coordinating multiple tasks that have dependencies, SWF can be an excellent option. It gives you a single point for registering tasks and storing the state of your workflow, which makes it easier to keep track of how things are progressing. It’s easy for task orchestration to become an ad-hoc mess of inter-dependent scripts. A cloud-based workflow engine like SWF will help you bring some order to the chaos. {{ parent.title || parent.header.title}} {{ parent.tldr }} {{ parent.linkDescription }}{{ parent.urlSource.name }}
https://dzone.com/articles/orchestrating-tasks-using-awsswf
CC-MAIN-2018-09
refinedweb
3,088
58.72
[Date Index] [Thread Index] [Author Index] Re: Export with jLink At 03:18 AM 10/9/2004, Jerome Beauquis wrote: , You will need to provide more details to get any specific help, but I have a suggestion that will probably allow you to find the problem easily. When you use J/Link to call Mathematica, you normally see only the result of the computation, not the full sequence of Print and Message output that is generated. It is very likely that your program is failing in a simple way, but you just can't see it because you do not see warning messages coming from Mathematica. An extremely useful and simple debugging technique is to use J/Link's PacketPrinter class to log all the output that Mathematica sends to your program. This is as simple as adding one line: ml.addPacketListener(new PacketPrinter()); This will cause all the packets that Mathematica sends to Java to be printed on System.out. If your program is not a console program, you can display J/Link's built-in console window by adding just a few lines more (do this before you want to start logging): // At the start of your program: import com.wolfram.jlink.ui.*; .... ConsoleWindow cw = ConsoleWindow.getInstance(); cw.setSize(450, 400); cw.show(); cw.setCapture(ConsoleWindow.STDOUT | ConsoleWindow.STDERR); If you do this, it's likely that you will see the problem right away--a package isn't being found, a function is returning unevaluated because you gave it bad arguments, etc. Todd Gayley Wolfram Research
http://forums.wolfram.com/mathgroup/archive/2004/Oct/msg00301.html
CC-MAIN-2015-11
refinedweb
258
58.62
28 April 2010 05:24 [Source: ICIS news] By Judith Wang SHANGHAI (ICIS news)--Major oil and gas producer PetroChina posted a 71.2% year-on-year surge in its first-quarter net profit to yuan (CNY) 32.5bn ($4.76bn), largely due to spikes in crude prices and better demand for petroleum and petrochemical products. In a filing to the Shanghai Stock Exchange (SSE), PetroChina said that the average realised price for crude oil soared 88.7% year on year to $70.01/bbl (€53.2/bbl) during the period. Total turnover for the group was up 75% at CNY318.8bn “This is a redeeming set of results following the modest earnings decline suffered in 2009,” said Gordon Kwan, Hong Kong-based head of regional energy research at Mirae Asset Securities. Kwan said PetroChina’s earnings were restored back to pre-crisis levels, with the first-quarter results coming in as the highest level achieved by the company since overall demand started to slump in the third quarter of 2008. “Booming car sales have helped to lift sales volume of refined products by over 27% year on year to a record 27m tonnes,” Kwan said. The numbers referred PetroChina’s sales of gasoline, diesel and kerosene in the March quarter. The strong figures were in line with higher consumption given the strong car sales in ?xml:namespace> Based on official statistics, automotive sales in the country surged 72% year on year to 4.6m units in the first quarter. PetroChina produced 2.1% more crude oil at 210m barrels in the January-to-March 2010 period compared to the same period last year, while its output of marketable natural gas jumped 16.5% to 609.9bn cubic feet, based on the report accompanying its financial results. The company processed 215m barrels of crude oil, representing an increase of 16.2% year on year, according to the filing. Its ethylene output surged 37% year on year to 908,000 tonnes in the first quarter, PetroChina said. Production of other petrochemicals had also been strong in the first three months of the year, with synthetic resin output rising by 32.3% to 1.38m tones and synthetic rubber posting a 57.3% increase in production. ($1 = CNY6.83 / $1 = €0.76) Read John Richardson and Malini Hariharan’s blog – Asian Chemical Connection
http://www.icis.com/Articles/2010/04/28/9354379/petrochinas-q1-profit-surges-71.2-on-oil-price-spike.html
CC-MAIN-2015-22
refinedweb
391
66.54
Today, we are happy to announce a major improvement that will make it easier to send data into the Elastic Stack. First, we are launching an experimental release of our Elastic Agent, which is a single, unified agent that makes installation and management easier. Second, we are launching Ingest Manager, a new app in Kibana that lets you quickly add integrations for popular services and platforms in a few clicks. It will also help you centrally manage an entire fleet of Elastic Agents. This experimental release will showcase our vision for the future and allow you to try out our new solution. There is no migration path for future releases so you must test in a dedicated cluster. The challenges of ingesting data at scale A critical factor when choosing a monitoring solution is how easily you can ingest data from your applications and platforms. Time spent setting up and managing solutions adds to your total cost of ownership. Beats are the current solution for shipping data to the Elastic Stack and they make many things easier over generic solutions like syslog. However, when users get started for the first time, they must install modules on the command line, edit long YAML files, copy in a password, or configure and use the keystore. We want to make getting started as simple as running a single command. As users' adoption of the Elastic Stack grows, they discover that we currently have a total of seven Beats in addition to APM agents, APM server, endpoint security, and more. Installing this many binaries is complex, particularly in enterprise environments where each binary involves installation via configuration management solutions, progressive deployments, change management, and audit requirements. Another challenge is the process of adding integrations for new data sources. Today, users must edit YAML files and upload them to all their servers. They often use tools like Ansible or Chef to push out configurations. Unfortunately, this makes adding a new data source a complex process that often requires third-party tools and coordinating across teams. This is even more complex when dealing with hundreds of thousands of agents spread across multiple networks and data centers Introducing Elastic Agent and Ingest Manager Elastic Agent is a single, unified way to add monitoring for logs, metrics, and other types of data to each host. You no longer need to install multiple Beats and other agents. This will make it easier and faster to deploy across your infrastructure. Additionally, Elastic Agent has a single, unified configuration. Thus, there is no need to edit multiple configuration files for Filebeat, Metricbeat, and others. This will make it easier to add integrations for new data sources. Ingest Manager provides a web-based Kibana UI to add and manage integrations for popular services and platforms. This release has support for nine integrations, and we plan to add support for our 100+ Beats modules over the next few releases. Our integrations not only provide an easy way to add new sources of data, but they also ship with out-of-the-box assets like dashboards, visualizations, and pipelines to extract structured fields out of logs. You don’t need to spend a lot of effort configuring the system because it’s done for you automatically for common services. This makes it easier to get insights within seconds. Easier configuration Configuring integrations is now easier thanks to our configuration editor UI. Instead of editing long YAML files with many irrelevant settings, we now provide a convenient, web-based UI that is more concise and offers guidance and validation. In the screenshot above, users are invited to select an Elastic Agent configuration with the default already selected. The Elastic Agent configuration can be applied to multiple Elastic Agents. This makes it even easier to manage configuration at scale. Next, users define their data source by supplying a name and description. They can then configure the path to their access and error logs. When the user is done, they may save the data source. This will add NGINX monitoring to all agents enrolled into the default agent configuration. The next time these agents check in, they will receive the update. Having those configurations automatically deployed is way more convenient than having to do it yourself using SSH, Ansible playbooks, etc. Advanced users sometimes prefer YAML files and APIs. Ingest Manager has an API-first design and anything you can do in the UI you can also do using the API. This makes it easy to automate and integrate with other systems. Centrally manage your Fleet You can see the state of all your Elastic Agents on the Fleet page. Here you can see which agents are online, which have errors, and the last time they checked in. You can also see the version of the using SSH, Ansible playbooks, or other configuration methods. Data streams make index management easier The data collected by Elastic Agents is stored in indices that are more granular than you’d get by default with Filebeat. The advantages are that it gives users more visibility into the sources of data volume, and control over lifecycle management policies and index permissions. We call these new indices “data streams” and we will have more improvements on this concept in future releases. In the screenshot below, you can see we’ve broken out the data streams (or indices) by data set, type, and namespace. The data set is defined by the integration and describes the fields and other settings for each index. For example, you might have one data set for process metrics with a field describing whether the process is running or not. Another data set for disk I/O metrics will have a field describing the number of bytes read. This solves the issue of having indices with hundreds or thousands of fields because we only need to store a small number of fields in each index. This makes them more compact with faster autocomplete, and as an added bonus the Discover page will only show relevant fields. Namespaces are user-defined strings that allow you group data any way you like. For example, you might group your data by environment (prod, QA) or by team name. This makes it easier to search the data from a given source using index patterns, or to give users permissions to data by assigning an index pattern to user roles. Many of our customers already organize their indices this way, and now we are providing this best practice as a default out of the box. The future of Beats and Beats Central Management Beats are not going away and users can continue using them alongside Elastic Agent. In fact, the Elastic Agent runs Beats under the covers. Elastic Agent is a lightweight interface on top that allows for easier deployment and central management. Beats Central Management is a beta version product that we released a few years ago for central management. As we learned more about our customers' use cases, we decided to redesign the system as our new Ingest Manager. Beats Central Management is deprecated and still works, but we do not officially support it. Ingest Manager will replace Beats Central Management and make it easier to manage many agents at scale. This is an experimental release so we encourage you to wait until Ingest Manager is generally available (GA) before you use it in production. Limitations of this release This is an experimental release and there is no migration path for future releases, so you must test in a dedicated cluster. In a future release, we plan to add support for a new way of managing rolling indices that will make the experience easier for users. However, any data stored in this release will not be migrated in our next release and you must wipe any data and settings changed in Kibana and Elasticsearch to avoid future conflicts. We recommend using a dedicated test cluster or deployment that can be deleted when you are done. Ingest Manager is currently only available to users with the superuser role. This role is necessary to create indices, install integration assets, and update agent configurations. In order to use Fleet, the Elastic Agents must have a direct network connection to Kibana. It’s also possible to run the Elastic Agents in standalone mode in cases where a network connection is not available or not needed. Furthermore, this release only includes support for nine integrations with more coming in future releases: - System logs and metrics - Custom logs - AWS - Nginx - Redis - Mysql - Kafka - Cisco devices - Netflow logs You can read more about the limitations of this release in our documentation. Experimental releases are not officially supported, but we encourage you to report issues in our discuss forum. Try it out You can try out the new Elastic Agent and Ingest Manager yourself. You may download Elastic Agent from our downloads page. The easiest way to get started is to create a new cloud deployment for testing. Since this is an experimental release, it should only be used in a dedicated test environment that can be deleted when you are done. Next, you must enable Ingest Manger by turning on a flag. This step is only temporary for the current release and Ingest Manager will be enabled by default in future releases. On the create deployment page, enter the flag below as a user settings override to enable Ingest Manager. xpack.ingestManager.enabled: true It can be difficult to find the user settings overrides, so see the screenshot below. It’s at the bottom of the Kibana configuration box. On-prem clusters require a few extra steps like enabling security, so please see our documentation on how to enable Ingest Manager in this situation. The first time you open this app, it will ask you to enable Fleet for central management. On the Overview page, click the button to “Enroll a new agent.” When the flyout opens, follow the instructions to enroll and run the Elastic Agent. Learn more in our Ingest Manager documentation. We are making the current release of Elastic Agent and Ingest Manager free and open. We would like to encourage collaboration with the community so you can find the code on GitHub for Elastic Agent and Ingest Manager. More coming soon! This is just the first release of an exciting new product. We hope it shows the vision of how we’re making ingestion easier with the Elastic Stack. It will get even better with each release and we’re excited to have the community with us on this journey. Please feel free to share your thoughts in our forums.
https://www.elastic.co/blog/introducing-elastic-agent-and-ingest-manager
CC-MAIN-2021-25
refinedweb
1,774
53.1
Interaction tag as plugin On 21/10/2015 at 06:32, xxxxxxxx wrote: Hi I have an Interaction tag acting as a point constraint plugin. I've placed the code in the draw method, and that works in the view port except for a slight delay when dragging. But it doesn't work when rendering to the PV. Is that because the draw method isn't called when rendering to the PV? import c4d from c4d import gui #The tag has a user data field (link) for a point selection tag. def draw(bd) : #Get the number of points from the object that belongs to the tag in the user data field count = tag[c4d.ID_USERDATA,1].GetBaseSelect().GetCount() #Get the object that the tag belongs to pointObject = tag[c4d.ID_USERDATA,1].GetObject() #Convert the tag's data to a BaseSelect so we can do something with them PointS = tag[c4d.ID_USERDATA,1].GetBaseSelect() #Points in the tag will have an enabled state value in our BS instance pntArray = PointS.GetAll(tag[c4d.ID_USERDATA,1].GetObject().GetPointCount()) #Calculate the global position of point newPos = pointObject.GetMg() * pointObject.GetPoint(pntArray.index(1)) #Set up the matrix components off = newPos v1 = c4d.Vector( op.GetMg().v1 ) v2 = c4d.Vector( op.GetMg().v2 ) v3 = c4d.Vector( op.GetMg().v3 ) #Build the Matrix objMatrix = c4d.Matrix(off,v1,v2,v3) #Set ops Matrix op.SetMg(objMatrix) Am i supposed to use the message method instead? If so, what message should the plugin listen for? Or is there an other way of approaching this with out making a full plugin. Any help appreciated -b On 21/10/2015 at 06:38, xxxxxxxx wrote: Hi Bonsak, 1. draw() is not called when rendering 2. draw() is really only for drawing in the viewport, don't do any scene changes in it 3. any reason you're not using a plain Python Tag? 4. not sure, but if the Interaction Tag also supports a main() function, you should use that instead -N On 21/10/2015 at 06:53, xxxxxxxx wrote: I see. I was planning for some added functionality with selected/unselected states etc but i can use a python tag for now. Seemed convenient with the Interaction tag. Thanks for the help. -b On 22/10/2015 at 01:46, xxxxxxxx wrote:. It does have limited uses but it's a workflow that can be useful. Hope that helps, Adam On 22/10/2015 at 01:51, xxxxxxxx wrote: Thanks Adam. I'll definitely try that. -b On 27/10/2015 at 09:01, xxxxxxxx wrote: Originally posted by xxxxxxxx. Could you please post an example how you use the CallFunction. -Pim On 27/10/2015 at 10:12, xxxxxxxx wrote: Hi Pim, This is an example of how I would move the data from a python tag to an interaction tag: First the python tag: # Set up the function that is going to be called from the other python object def GetMatrix() : if not matrix: return None bc = c4d.BaseContainer() bc.SetMatrix(0, matrix) return bc matrix = None def main() : obj = op.GetObject() global matrix #Assign the global variable with some data matrix = obj.GetMg() And then the Interaction tag: def draw(bd) : # The python object you want to call the function from py_op = op[c4d.ID_USERDATA,1] # Call the function from the python tag to get the BaseContainer bc = c4d.CallFunction(py_op, "GetMatrix") #Get the matrix matrix = bc.GetMatrix(0) #Do stuff! print matrix Hope that's useful. Thanks, Adam On 28/10/2015 at 05:56, xxxxxxxx wrote: Thanks, very useful. It seems like a very easy way to communicate between plugins! I am only confused about py_op. How / why does it point to the python object? The manual is not very clear to me: Parameters:| - op ([ BaseList2D]()) – The object to search the function within its script. ---|--- _<_t_>_ -Pim On 28/10/2015 at 06:15, xxxxxxxx wrote: The 'op' variable by default in the interaction tag refers to the object the tag is on and not the tag itself. The interaction tag I was using was on a Null object. I set a UserData link box onto the Null and put the PythonTag into it as an easy way of referencing it. Hence : py_op = op[c4d.ID_USERDATA,1] #op is the Null object #ID_USERDATA,1 being the LinkBox with the PythonTag referenced to it. I guess I could have just used op.GetFirstTag() too, as the PythonTag was first on the Null object. On 28/10/2015 at 09:04, xxxxxxxx wrote: Ok, clear now. If I want to communicate with another plugin, the op will be that plugin. -Pim On 28/10/2015 at 09:08, xxxxxxxx wrote: I think that he CallFunction command might unfortunately be limited to certain objects, it looks like plugins are not included. From the documentation: "This works for both Python and C.O.F.F.E.E. scripting tags, effectors, XPresso nodes, Interaction tags and also for Python generators." On 28/10/2015 at 09:21, xxxxxxxx wrote: I agree,it is not very clear. As I read it, it should also be possible for plugins. A plugin is also an (scripting) object. Perhaps Maxon can clarify? -Pim On 29/10/2015 at 10:35, xxxxxxxx wrote: Hello everyone, I'm sorry, but a Python plugin is not a scripting object. CallFunction() can not be used to communicate with a Python plugin. CallFunction() only works for NodeData derived things, which already provide a scripting option (like Python tag, Interaction tag, Python Generator,...). On 29/10/2015 at 12:33, xxxxxxxx wrote: Thanks,that clarifies it for me. -Pim
https://plugincafe.maxon.net/topic/9140/12132_interaction-tag-as-plugin
CC-MAIN-2020-40
refinedweb
946
67.04
Hi everyone, Currently I am working on java project which uses methods and classes present inside a DLL. Suppose I have such a method inside the DLL(named MyDLL.dll): Method inside my DLL code extern "C" __declspec(dllexport) int myMethod(); corresponding JNA implementation import extern "C" __declspec(dllexport) Class myClass { //////code inside class }; So, now the question is how I am gonna use this native class inside my java code like i did for the native method? Or I have an alternative doubt to it: if the method inside my DLL is declared as follows: extern "C" __declspec(dllexport) int myMethod(); that means i just need to declare a native equivalent of 'myMethod' to use it in my java code like: public native int myMethod(); Now i can call the function as follows: int var = myMethod(); //********************Now the NEW part***********************\\ Inside the DLL, now I also have a class along with the method as follows: class MyClass { public: int var; }; extern "C" __declspec(dllexport) MyClass __cdecl myMethod() { MyClass obj; obj.var = 45; return obj; } ///////////////////////////DLL code ends\\\\\\\\\\\\\\\\\\\\\\\\ I hope you all noticed that now my return type is an object of a class rather than a normal int. So, now the bigger question is, how I am going to use this native function (myMethod) inside my JAVA code? Previously the return type was just an integer, so it was easy. But now what or rather how? See, I have mentioned my 2 doubts. So, clarification of either of the doubt will do. It's very urgent. So, i would really be grateful if someone can provide me with any kind of solutions or helpful links? Thanks in advance, With regards, Satya Prakash. Forum Rules
http://forums.codeguru.com/showthread.php?507347-XML-Binding.-JAXB-in-Eclipse-Helios&goto=nextnewest
CC-MAIN-2017-13
refinedweb
285
66.78
Revision history for MooseX-Object-Pluggable 0.0012 2013-11-11 03:59:19Z - removed use of deprecated Class::MOP::load_class - repository migrated from shadowcat to the github moose organization 0.0011 2009-04-27 - Version number FAIL on last release 0.0010 2009-04-27 - Change how _original_class_name works so it sucks less. 0.0009 2008-11-25 - Avoid throwing an error when load_plugins is called on already-loaded plugins 0.0008 2008-07-18 - Cleanup Attribute declarations - Eliminate extension mechanisms and the tests 0.0007 2008-01-22 - Fix for Moose 0.34 0.0006 2008-01-11 - Deprecate the Extension mechanism - Added load_plugins - Test while classes are immutable for good measure. - Remove use strict and use warnings. Moose does it for us. 0.0005 2007-04-13 - Goodbye Class::Inspector, hello Module::Object::Pluggable - More Tests - App namespaces functionality. - Test for app namespaces functionality 0.0004 2007-01-23 - PODFixes 0.0003 2007-01-19 - Forget anon classes, go back to applying to $self - goodbye __anon_subclass and _anon_subclass, hello _original_class_name - Props to mst for pointing out the error of my ways - A couple more minor tests 0.0002 2007-01-16 - Forgot Class::Inspector dep on Makefile 0.0001 2007-01-16 - Initial Release!
https://metacpan.org/changes/release/ETHER/MooseX-Object-Pluggable-0.0012
CC-MAIN-2016-40
refinedweb
207
52.97
Packages are special folders that can contain class folders, function, and class definition files, and other packages. The names of classes and functions are scoped to the package folder. A package is a namespace within which names must be unique. Function and class names must be unique only within the package. Using a package provides a means to organize classes and functions. Packages also enable you to reuse the names of classes and functions in different packages. Note Packages are not supported for classes created before MATLAB® Version 7.6 (that is, classes that do not use classdef). Package folders always begin with the + character. For example, +mypack +mypack/pkfcn.m % a package function +mypack/@myClass % class folder in a package The parent of the top-level package folder must be on the MATLAB path. List the contents of a package using the help command: help event Contents of event: EventData - event.EVENTDATA Base class for event data PropertyEvent - event.PROPERTYEVENT Event data for object property events listener - event.LISTENER Listener object proplistener - event.PROPLISTENER Listener object for property events You can also use the what command: what event Classes in directory Y:xxx\matlab\toolbox\matlab\lang\+event EventData PropertyEvent listener proplistener MathWorks® reserves the use of packages named internal for utility functions used by internal MATLAB code. Functions that belong to an internal package are intended for MathWorks use only. Using functions or classes that belong to an internal package is discouraged. These functions and classes are not guaranteed to work in a consistent manner from one release to the next. Any of these functions and classes might be removed from the MATLAB software in any subsequent release without notice and without documentation in the product release notes. All references to packages, functions, and classes in the package must use the package name prefix, unless you import the package. (See Import Classes.) For example, call this package function: +mypack/pkfcn.m With this syntax: z = mypack.pkfcn(x,y); Definitions do not use the package prefix. For example, the function definition line of the pkfcn.m function would include only the function name: function z = pkfcn(x,y) Define a package class with only the class name: classdef myClass but call it with the package prefix: obj = mypack.myClass(arg1,arg2,...); Calling class methods does not require the package name because you have an object of the class. You can use dot or function notation: obj.myMethod(arg) myMethod(obj,arg) A static method requires the full class name, which includes the package name: mypack.myClass.stMethod(arg) Functions, classes, and other packages contained in a package are scoped to that package. To reference any of the package members, that that is in the package mysubpack: mypack.mysubpack.myFcn(arg1,arg2); If mypack.MyFirstClass has a method called myFcn, call it like any method call on an object: obj = mypack.MyFirstClass; myFcn(obj,arg); If mypack.MyFirstClass has a property called MyProp, assign it using dot notation and the object: obj = mypack.MyFirstClass; obj.MyProp = x; You cannot add package folders to the MATLAB path, but you must add the package parent folder to the MATLAB path. Package members are not accessible if the package parent folder is not on the MATLAB path, even if the package folder is the current folder. Making the package folder the current folder is not sufficient to add the package parent folder to the path. Package members remain scoped to the package. Always refer to the package members using the package name. Alternatively, import the package into the function in which you call the package member, see Import Classes. Package folders do not shadow other package folders that are positioned later on the path, unlike classes, which do shadow other classes. If two or more packages have the same name, MATLAB treats them all as one package. If redundantly named packages in different path folders define the same function name, then MATLAB finds only one of these functions. Suppose a package and a class have the same name. For example: fldr_1/+foo fldr_2/@foo/foo.m A call to which foo returns the path to the executable class constructor: >> which foo fldr_2/@foo/foo.m A function and a package can have the same name. However, a package name by itself is not an identifier. Therefore, if a redundant name occurs alone, it identifies the function. Executing a package name alone returns an error. In cases where a package and a class have the same name, a package function takes precedence over a static method. For example, path folder fldrA contains a package function and path folder fldrB contains a class static method: fldrA/+foo/bar.m % bar is a function in package foo fldrB/@foo/bar.m % bar is a static method of class foo A call to which foo.bar returns the path to the package function: which foo.bar fldrA\+foo\bar.m % package function In cases where the same path folder contains both package and class folders with the same name, the package function takes precedence over the static method. fldr/@foo/bar.m % bar is a static method of class foo fldr/+foo/bar.m % bar is a function in package foo A call to which foo.bar returns the path to the package function: which foo.bar fldr/+foo/bar.m If a path folder fldr contains a classdef file foo that defines a static method bar and the same folder contains a package +foo that contains a package function bar. fldr/foo.m % bar is a static method of class foo fldr/+foo/bar.m % bar is a function in package foo A call to which foo.bar returns the path to the package function: which foo.bar fldr/+foo/bar.m
https://fr.mathworks.com/help/matlab/matlab_oop/scoping-classes-with-packages.html
CC-MAIN-2021-43
refinedweb
967
57.67
Using YARA from Python¶ YARA can be also used from Python through the yara-python library. Once the library is built and installed as described in Compiling and installing YARA you’ll have access to the full potential of YARA from your Python scripts. The first step is importing the YARA library: import yara Then you will need to compile your YARA rules before applying them to your data, the rules can be compiled from a file path: rules = yara.compile(filepath='/foo/bar/myrules') The default argument is filepath, so you don’t need to explicitly specify its name: rules = yara.compile('/foo/bar/myrules') You can also compile your rules from a file object: fh = open('/foo/bar/myrules') rules = yara.compile(file=fh) fh.close() Or you can compile them directly from a Python string: rules = yara.compile(source='rule dummy { condition: true }') If you want to compile a group of files or strings at the same time you can do it by using the filepaths or sources named arguments: rules = yara.compile(filepaths={ 'namespace1':'/my/path/rules1', 'namespace2':'/my/path/rules2' }) rules = yara.compile(sources={ 'namespace1':'rule dummy { condition: true }', 'namespace2':'rule dummy { condition: false }' }) Notice that both filepaths and sources must be dictionaries with keys of string type. The dictionary keys are used as a namespace identifier, allowing to differentiate between rules with the same name in different sources, as occurs in the second example with the dummy name. The compile method also has an optional boolean parameter named includes which allows you to control whether or not the include directive should be accepted in the source files, for example: rules = yara.compile('/foo/bar/my_rules', includes=False) If the source file contains include directives the previous line would raise an exception. If includes are used, a python callback can be set to define a custom source for the imported files (by default they are read from disk). This callback function is set through the include_callback optional parameter. It receives the following parameters: - requested_filename: file requested with ‘include’ - filename: file containing the ‘include’ directive if applicable, else None - namespace: namespace And returns the requested rules sources as a single string. If you are using external variables in your rules you must define those external variables either while compiling the rules, or while applying the rules to some file. To define your variables at the moment of compilation you should pass the externals parameter to the compile method. For example: rules = yara.compile('/foo/bar/my_rules’, externals= {'var1': 'some string’, 'var2': 4, 'var3': True}) The externals parameter must be a dictionary with the names of the variables as keys and an associated value of either string, integer or boolean type. The compile method also accepts the optional boolean argument error_on_warning. This arguments tells YARA to raise an exception when a warning is issued during compilation. Such warnings are typically issued when your rules contains some construct that could be slowing down the scanning. The default value for the error_on_warning argument is False. In all cases compile returns an instance of the class yara.Rules Rules. This class has a save method that can be used to save the compiled rules to a file: rules.save('/foo/bar/my_compiled_rules') The compiled rules can be loaded later by using the load method: rules = yara.load('/foo/bar/my_compiled_rules') Starting with YARA 3.4 both save and load accept file objects. For example, you can save your rules to a memory buffer with this code: import StringIO buff = StringIO.StringIO() rules.save(file=buff) The saved rules can be loaded from the memory buffer: buff.seek(0) rule = yara.load(file=buff) The result of load is also an instance of the class yara.Rules. Instances of Rules also have a match method, which allows you to apply the rules to a file: matches = rules.match('/foo/bar/my_file') But you can also apply the rules to a Python string: with open('/foo/bar/my_file', 'rb') as f: matches = rules.match(data=f.read()) Or to a running process: matches = rules.match(pid=1234) As in the case of compile, the match method can receive definitions for external variables in the externals argument. matches = rules.match('/foo/bar/my_file', externals= {'var1': 'some other string', 'var2': 100}) External variables defined during compile-time don’t need to be defined again in subsequent calls to the match method. However you can redefine any variable as needed, or provide additional definitions that weren’t provided during compilation. In some situations involving a very large set of rules or huge files the match method can take too much time to run. In those situations you may find useful the timeout argument: matches = rules.match('/foo/bar/my_huge_file', timeout=60) If the match function does not finish before the specified number of seconds elapsed, a TimeoutError exception is raised. You can also specify a callback function when invoking the match method. By default, the provided function will be called for every rule, no matter if matching or not. You can choose when your callback function is called by setting the which_callbacks parameter to one of yara.CALLBACK_MATCHES, yara.CALLBACK_NON_MATCHES or yara.CALLBACK_ALL. The default is to use yara.CALLBACK_ALL. Your callback function should expect a single parameter of dictionary type, and should return CALLBACK_CONTINUE to proceed to the next rule or CALLBACK_ABORT to stop applying rules to your data. Here is an example: import yara def mycallback(data): print data return yara.CALLBACK_CONTINUE matches = rules.match('/foo/bar/my_file', callback=mycallback, which_callbacks=yara.CALLBACK_MATCHES) The passed dictionary will be something like this: { 'tags': ['foo', 'bar'], 'matches': True, 'namespace': 'default', 'rule': 'my_rule', 'meta': {}, 'strings': [(81L, '$a', 'abc'), (141L, '$b', 'def')] } The matches field indicates if the rule matches the data or not. The strings fields is a list of matching strings, with vectors of the form: (<offset>, <string identifier>, <string data>) The match method returns a list of instances of the class yara.Match. Instances of this class have the same attributes as the dictionary passed to the callback function. You can also specify a module callback function when invoking the match method. The provided function will be called for every imported module that scanned a file. Your callback function should expect a single parameter of dictionary type, and should return CALLBACK_CONTINUE to proceed to the next rule or CALLBACK_ABORT to stop applying rules to your data. Here is an example: import yara def modules_callback(data): print data return yara.CALLBACK_CONTINUE matches = rules.match('/foo/bar/my_file', modules_callback=modules_callback) The passed dictionary will contain the information from the module. You may also find that the default sizes for the stack for the matching engine in yara or the default size for the maximum number of strings per rule is too low. In the C libyara API, you can modify these using the YR_CONFIG_STACK_SIZE and YR_CONFIG_MAX_STRINGS_PER_RULE variables via the yr_set_configuration function in libyara. The command-line tool exposes these as the --stack-size ( -k) and --max-strings-per-rule command-line arguments. In order to set these values via the Python API, you can use yara.set_config with either or both stack_size and max_strings_per_rule provided as kwargs. At the time of this writing, the default stack size was 16384 and the default maximum strings per rule was 10000. Here are a few example calls: yara.set_config(stack_size=65536) yara.set_config(max_strings_per_rule=50000, stack_size=65536) yara.set_config(max_strings_per_rule=20000) Reference¶ yara. compile(...)¶ Compile YARA sources. Either filepath, source, file, filepaths or sources must be provided. The remaining arguments are optional. yara. load(...)¶ Changed in version 3.4.0. Load compiled rules from a path or file object. Either filepath or file must be provided. yara. set_config(...)¶ Set the configuration variables accessible through the yr_set_configuration API. Provide either stack_size or max_strings_per_rule. These kwargs take unsigned integer values as input and will assign the provided value to the yr_set_configuration(…) variables YR_CONFIG_STACK_SIZEand YR_CONFIG_MAX_STRINGS_PER_RULE, respectively. - class yara. Rules¶ Instances of this class are returned by yara.compile()and represents a set of compiled rules. match(filepath, pid, data, externals=None, callback=None, fast=False, timeout=None, modules_data=None, modules_callback=None, which_callbacks=CALLBACK_ALL)¶ Scan a file, process memory or data string. Either filepath, pid or data must be provided. The remaining arguments are optional. - class yara. Match¶ Objects returned by yara.match(), representing a match. Array of strings containig the tags associated to the matching rule.
https://yara.readthedocs.io/en/v3.8.0/yarapython.html
CC-MAIN-2019-18
refinedweb
1,404
56.35
why not try opning that key as read only (HKEY_LOCAL_MACHINE has read-only permissions for a normal user) , if the key exist act as 'stand alone' else try to write it. that way you only have to run CPCTuner as administrator only once so it can write the key and afterwards you can run CPCTuner as a normal user and read the key with read-only access. Another way to make a 'Stand Alone' version is using #ifdef's (C++): I don't know if you can do that with delphi.I don't know if you can do that with delphi.Code:#ifndef STAND_ALONE_VERSION // Code to be exluded from the standalone version e.g: socket comunnications. . . . #endif //STAND_ALONE_VERSION /Me. Bookmarks
http://www.mp3car.com/software-and-software-development/102112-hqct-software-development-5.html
CC-MAIN-2016-07
refinedweb
121
72.16
On Fri, May 25, 2007 at 03:28:17PM -0500, Paul Elliott wrote: > OK I will, be comming out with a new version, shortly which will have > the following features. > > 1) .cc .h source code the same except for copyright messages > 2) configure.ac and Makefile.am changed to use ax_boost_base.m4 > instead of my home brew system. > 3) copyright problems fixed, will say gplv2 or later. > 4) remove obsolete spec files, but leaving the ones for current distros. > > I will probably make a release probably Sat or Sun. > > It will take this long because I still have to verify that the > system still builds on Fedora, opensuse, mandrake and ubuntu 7.04. > I still do not have a debian sid system for testing, but if > ubuntu works other debian based systems will probably work possibly > with minor changes. > > When all this is done I will put a new release on berlios and > send you guys an email. OK, there is new version released at berlios in the files section: It 1) Fixes the copyright notice problem. 2) fixes some problems with fedora spec files. You don't care about this. 3) uses ax_boost_base.m4 instead of my homebrew system to manage boost ax_boost_base.m4 is documented here: This will require that the rules file be changed. Here is a .diff ----------cut here with a chain saw------------ --- rules.orig 2007-05-27 16:39:28.000000000 -0500 +++ rules 2007-05-27 16:56:31.000000000 -0500 @@ -41,7 +41,7 @@ ifneq "$(wildcard /usr/share/misc/config.guess)" "" cp -f /usr/share/misc/config.guess config.guess endif - ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --with-boost_lib_postfix=$(BOOST) CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --with-boost=/usr --with-boost-filesystem-options=gcc-mt --with-boost-regex-options=gcc-mt CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" build: build-stamp ----------cut here with a chain saw------------ 4) I have hard coded -O2 -g in CPPFLAGS, rather than let auto* tools figure out what to do. 5) changes to the Install documetentation. Within one week I plan to have another release that will support translation. It will not have any new translations, but it will publish a .pot file so that people can translate peless. I will have to decide how to handle some parameterized translation strings and change some c++. I need to decide if peless should use the compose library: or boost::format. Thank you for helping to get peless into debian! -- Paul Elliott 1(512)837-1096 pelliott@io.com PMB 181, 11900 Metric Blvd Suite J Austin TX 78758-3117 Attachment: pgpmKd6LrTOSj.pgp Description: PGP signature
https://lists.debian.org/debian-mentors/2007/05/msg00414.html
CC-MAIN-2016-40
refinedweb
459
68.97
info_outline Solutions will be available when this assignment is resolved, or after a few failing attempts. Time is over! You can keep submitting you assignments, but they won't compute for the score of this quiz. Sum Multiple Terms Write a function that receives multiple arguments and returns the sum of them. Example: sum_multiple(2, 3, 5, 7) == 17 sum_multiple(2, 3) == 5 If no arguments are provided, an Exception should be raised. Check the test cases for the complete spec. Test Cases test sum multiple terms - Run Test def test_sum_multiple_terms(): assert sum_multiple(2, 3) == 5 assert sum_multiple(2, 3, 5, 7) == 17
https://learn.rmotr.com/python/base-python-track/functional-programming/sum-multiple-terms
CC-MAIN-2018-22
refinedweb
103
57.27
The Lifecycle of a Plot¶ This tutorial aims to show the beginning, middle, and end of a single visualization using Matplotlib. We'll begin with some raw data and end by saving a figure of a customized visualization. Along the way we try to highlight some neat features and best-practices using Matplotlib. Note This tutorial is based.¶ We'll use the data from the post from which this tutorial was derived. It contains sales information for a number of companies. import numpy as np import matplotlib.pyplot as plt¶ This data is naturally visualized as a barplot, with one bar per group. To do this with the object-oriented approach, we() method: fig, ax = plt.subplots() ax.barh(group_names, group_data) labels = ax.get_xticklabels() If we'd like to set the property of many items at once, it's useful to use the pyplot.setp()<<<< Out: [None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None] Next, we add labels to the plot. To do this with the OO interface, we can use the Artist.set()<< Out: [(-10000.0, 140000.0), Text(0.5, 0, 'Total Revenue'), Text(0, 0.5, 'Company'), Text(0.5, 1.0, 'Company Revenue')] We can also adjust the size of this plot using the pyplot.subplots()<< Out: [(-10000.0, 140000.0), Text(0.5, 0, 'Total Revenue'), Text(0, 0.5, 'Company'), Text(0.5, 1.0, 'Company Revenue')] For labels, we can specify custom formatting guidelines in the form of functions. Below we define a function that takes an integer as input, and returns a string as an output. When used with Axis.set_major_formatter or Axis.set_minor_formatter, they will automatically create and use a ticker.FuncFormatter class. For this function, the x argument is the original tick label and pos is the tick position. We will only use x here but both arguments are needed. def currency(x, pos): """The two args are the value and tick position""" if x >= 1e6: s = '${:1.1f}M'.format(x*1e-6) else: s = '${:1.0f}K'.format(x*1e-3) return s We can then apply this function to the labels on our plot. To do this, we use the xaxis attribute of our axes.(currency) Combining multiple visualizations¶ It is possible to draw multiple plot elements on the same instance of axes.Axes. move our title up since it's getting a little cramped ax.title.set(y=1.05) ax.set(xlim=[-10000, 140000], xlabel='Total Revenue', ylabel='Company', title='Company Revenue') ax.xaxis.set_major_formatter(currency): {'eps': 'Encapsulated Postscript', 'jpg': 'Joint Photographic Experts Group', 'jpeg': '} We can then use the figure.Figure.savefig() in order to save the figure to disk. Note that there are several useful flags we 3.843 seconds) Keywords: matplotlib code example, codex, python plot, pyplot Gallery generated by Sphinx-Gallery
https://matplotlib.org/tutorials/introductory/lifecycle.html
CC-MAIN-2020-50
refinedweb
480
60.51
Christine Dodrill - Blog - Contact - Gallery - Resume - Talks | GraphViz - When Then Zen h is a project of mine that I have released recently. It is a single-paradigm, multi-tenant friendly, turing-incomplete programming language that does nothing but print one of two things: It does this via WebAssembly. This may sound like a pointless complication, but actually this ends up making things a lot simpler. WebAssembly is a virtual machine (fake computer that only exists in code) intended for browsers, but I’ve been using it for server-side tasks. I have written more about/with WebAssembly in the past in these posts: This is a continuation of the following two posts: All of the relevant code for h is here. h is a somewhat standard three-phase compiler. Each of the phases is as follows: As mentioned in a prior post, h has a formal grammar defined in Parsing Expression Grammar. I took this grammar (with some minor modifications) and fed it into a tool called peggy to generate a Go source version of the parser. This parser has some minimal wrappers around it, mostly to simplify the output and remove unneeded nodes from the tree. This simplifies the later compilation phases. The input to h looks something like this: h The output syntax tree pretty-prints to something like this: H("h") This is also represented using a tree of nodes that looks something like this: &peg.Node{ Name: "H", Text: "h", Kids: nil, } A more complicated program will look something like this: &peg.Node{ Name: "H", Text: "h h h", Kids: { &peg.Node{ Name: "", Text: "h", Kids: nil, }, &peg.Node{ Name: "", Text: "h", Kids: nil, }, &peg.Node{ Name: "", Text: "h", Kids: nil, }, }, } Now that we have this syntax tree, it’s easy to go to the next phase of compilation: generating the WebAssembly Text Format. WebAssembly Text Format is a human-editable and understandable version of WebAssembly. It is pretty low level, but it is actually fairly simple. Let’s take an example of the h compiler output and break it down: (module (import "h" "h" (func $h (param i32))) (func $h_main (local i32 i32 i32) (local.set 0 (i32.const 10)) (local.set 1 (i32.const 104)) (local.set 2 (i32.const 39)) (call $h (get_local 1)) (call $h (get_local 0)) ) (export "h" (func $h_main)) ) Fundamentally, WebAssembly binary files are also called modules. Each .wasm file can have only one module defined in it. Modules can have sections that contain the following information: h only uses external function imports, function definitions and named function exports. import imports a function from the surrounding runtime with two fields: module and function name. Because this is an obfuscated language, the function h from module h is imported as $h. This function works somewhat like the C library function putchar(). func creates a function. In this case we are creating a function named $h_main. This will be the entrypoint for the h program. Inside the function $h_main, there are three local variables created: 0, 1 and 2. They correlate to the following values: As such, this program prints a single lowercase h and then a newline. export lets consumers of this WebAssembly module get a name for a function, linear memory or global value. As we only need one function in this module, we export $h_main as "h". The next phase of compiling is to turn this WebAssembly Text Format into a binary. For simplicity, the tool wat2wasm from the WebAssembly Binary Toolkit is used. This tool creates a WebAssembly binary out of WebAssembly Text Format. Usage is simple (assuming you have the WebAssembly Text Format file above saved as h.wat): wat2wasm h.wat -o h.wasm And you will create h.wasm with the following sha256 sum: sha256sum h.wasm 8457720ae0dd2deee38761a9d7b305eabe30cba731b1148a5bbc5399bf82401a h.wasm Now that the final binary is created, we can move to the runtime phase. The h runtime is incredibly simple. It provides the h.h putchar-like function and executes the h function from the binary you feed it. It also times execution as well as keeps track of the number of instructions the program runs. This is called “gas” for historical reasons involving blockchains. I use Perlin Network’s life as the implementation of WebAssembly in h. I have experience with it from Olin. As part of this project, I wanted to create an interactive playground. This allows users to run arbitrary h programs on my server. As the only system call is putchar, this is safe. The playground also has some limitations on how big of a program it can run. The playground server works like this: The output of this call looks something like this: curl -H "Content-Type: text/plain" --data "h" | jq { "prog": { "src": "h", "wat": "(module\n (import \"h\" \"h\" (func $h (param i32)))\n (func $h_main\n (local i32 i32 i32)\n (local.set 0 (i32.const 10))\n (local.set 1 (i32.const 104))\n (local.set 2 (i32.const 39))\n (call $h (get_local 1))\n (call $h (get_local 0))\n )\n (export \"h\" (func $h_main))\n)", "bin": "AGFzbQEAAAABCAJgAX8AYAAAAgcBAWgBaAAAAwIBAQcFAQFoAAEKGwEZAQN/QQohAEHoACEBQSchAiABEAAgABAACw==", "ast": "H(\"h\")" }, "res": { "out": "h\n", "gas": 11, "exec_duration": 12345 } } The execution duration is in nanoseconds, as it is just directly a Go standard library time duration. This will be updated in the future, but h has already found a bug in Innative. There was a bug in how Innative handled C name mangling of binaries. Output of the h compiler is now a test case in Innative. I consider this a success for the project. It is such a little thing, but it means a lot to me for some reason. My shitpost created a test case in a project I tried to integrate it with. That’s just awesome to me in ways I have trouble explaining. As such, h programs do work with Innative. Here’s how to do it: First, install the h compiler and runtime with the following command: go get within.website/x/cmd/h This will install the h binary to your $GOPATH/bin, so ensure that is part of your path (if it is not already): export GOPATH=$HOME/go export PATH=$PATH:$GOPATH/bin Then create a h binary like this: h -p "h h" -o hh.wasm Now we need to provide Innative the h.h system call implementation, so open h.c and enter in the following: #include <stdio.h> void h_WASM_h(char data) { putchar(data); } Then build it to an object file: gcc -c -o h.o h.c Then pack it into a static library .ar file: ar rsv libh.a h.o Then create the shared object with Innative: innative-cmd -l ./libh.a hh.wasm This should create hh.so in the current working directory. Now create the following Nim wrapper at h.nim: proc hh_WASM_h() {. importc, dynlib: "./hh.so" .} hh_WASM_h() and build it: nim c h.nim then run it: ./h h And congrats, you have now compiled h to a native shared object. Now, something you might be asking yourself as you read through this post is something like: “Why the heck are you doing this?” That’s honestly a good question. One of the things I want to do with computers is to create art for the sake of art. h is one of these such projects. h is not a productive tool. You cannot create anything useful with h. This is an exercise in creating a compiler and runtime from scratch, based on my past experiences with parsing lojban, WebAssembly on the server and frustrating marketing around programming tools. I wanted to create something that deliberately pokes at all of the common ways that programming languages and tooling are advertised. I wanted to make it a fully secure tool as well, with an arbitrary limitation of having no memory usage. Everything is fully functional. There are a few grammar bugs that I’m calling features. This article was posted on 2019 M06 30. Facts and circumstances may have changed since publication. Please contact me before jumping to conclusions if something seems wrong or unclear. Tags: #wasm #release
https://christine.website/blog/h-language-2019-06-30
CC-MAIN-2019-47
refinedweb
1,361
67.45
Button css työt. animate picture - distance learning scheme and a button under the scheme for ...image editors. 2. Cascading Style Sheets. (4 marks) Use suitable CSS style sheets to organise the layout, as well as the look and feel of your whole website consistently. Replicate your complete (primary) website and replace the styling for the whole replicated site using purely CSS style sheets for ALL the formatting so that they will all have as in the image:. Link buttons to the Drift Chat Widget on my website CSS expert for wordpress button fluid must start now I need some stylesheet added for a WP site so that a button can be clickable CSS expert for wordpress site , must be able to start now simple project] On my Homepage: [kirjaudu nähdäksesi URL:n] I would like to style my search box, make it look bette...$10, since I already have part of the code but don't know how to add it correctly to my website. Look here: [kirjaudu nähdäksesi URL:n] [kirjaudu nähdäksesi URL:n] followed by location. (Everything? .. blue button/box with the text "PB&A/CSS" NOTE: Vector files (EPS/AI) Hello //////////////////////////////// ////////////////////////////// //////////////////////////////////// like "{% endif %}" in the HTML file Those are from a django app.) Deliverables: - Site looks like the Use a plugin to hide upcoming products which is suppose to hide "add to cart button" on woo-commerce but it does not works on the Shop page. However it does works on individual products pages and i need to have this fixed for the Shop page. THANKS !.... I need a javascript created to check what page is being view, set javascript parameters using data from spans and detect button click. The data will be written to a facebook pixel. Hello. I want to replace the button tag on my page. I wish this finish asap. I need new freelancer no Indian. If you have experience, bid for me. Thanks. Hello dear freelancers. Im using wp plugin, which fully covers my needs, BUT. I dont like it...plugin: [kirjaudu nähdäksesi URL:n] Need to: 1. Remove "get my location" buttons 2. Remove "reset form" button 3. Change size of forms. 4. Background Want final to look similat to [kirjaudu nähdäksesi URL:n] JavaScript JS, JavaScript JSON, HTML, CSS, ... ac... ...have had a developer sort it on the contact page but it still does not work on the home page. What happens is as soon as I add a recaptcha google button then the contact form disappears. I believe down to CSS or javascript. I am afraid I have no budget left for this but am about to have a big project coming up which if you can sort this for me I will got an appointment booking page, after the customer hit Submit button it insert informations into the database, display a message "Appointment Booking Sucessfully" and then automatic forward to our homepage. The informations is saved in the database but no message display and no forward the customer to the home page. This is the url you can check ...plugin should work on the "[kirjaudu nähdäksesi URL:n]". Please... ...frontend, nodejs, react PayPlal integration - Nodejs We have paypal flow running [kirjaudu nähdäksesi URL:n] 2. We need to add “paypal” button for MDZA token only like this: 3. When user press on the “paypal” button , we need to start the purchase process. I see here is 2 possibility: 1) Iframe or other integration on the same page - prefered 2...
https://www.fi.freelancer.com/job-search/button-css/4/
CC-MAIN-2019-04
refinedweb
581
72.46
StrDup function Duplicates a string. Syntax Parameters - pszSrch Type: PCTSTR A pointer to a constant null-terminated character string. Return value Type: PTSTR Returns the address of the string that was copied, or NULL if the string cannot be copied. Remarks StrDup will allocate storage the size of the original string. If storage allocation is successful, the original string is copied to the duplicate string. This function uses LocalAlloc to allocate storage space for the copy of the string. The calling application must free this memory by calling the LocalFree function on the pointer returned by the call to StrDup. Examples This simple console application illustrates the use of StrDup. #include <windows.h> #include <shlwapi.h> #include <stdio.h> void main(void) { char buffer[] = "This is the buffer text"; char *newstring; // Note: Never use an unbounded %s format specifier in printf. printf("Original: %25s\n", buffer); newstring = StrDup(buffer); if (newstring != NULL) { printf("Copy: %25s\n", newstring); LocalFree(newstring); } } OUTPUT: - - - - - - Original: This is the buffer text Copy: This is the buffer text Requirements Show:
http://msdn.microsoft.com/en-us/library/bb759969(v=vs.85).aspx
CC-MAIN-2014-42
refinedweb
174
58.79
Hi people I read a lot of docs before post it here, anf for my surprise this subject is extremely debated in some foruns and tutorials, either in C or C++ (specially) programming..(I use C++) In big designs ( although you can do it in a small one, if you want ) sometimes you need to build a data structure based on another data structure. Lets considere only 2 units: a.cpp / a.h and b.cpp / b.h. Lets call them simply as A and B, for simple commodity... // a.h #ifndef A_H // avoid 2+ including #define A_H // avoid 2+ including struct a_t { uint8 a,b,c; }; #endif // avoid 2+ including // b.h #ifndef B_H // avoid 2+ including #define B_H // avoid 2+ including #include a.h // need to know about a_t struct b_t { a_t my_a; // type from a.h !! uint8 c,d,e; }; #endif // avoid 2+ including // a.cpp #include a.h // self include (C++ approach) #include b.h // to know about b_t void main(void) { b_t data; // a instance of b_t; // using b_t type variable .... data.my_a.a=1; data.c=2; }; Everything is ok: A depend on B, BUT not vice versa....easy... Now imagine that A must create a new struct based on b_t (declared in b.h ) Lets modify a.h to: // a.h #ifndef A_H // avoid 2+ including #define A_H // avoid 2+ including #include "b.h" // to know about b_t type struct a_t { uint8 a,b,c; }; struct a1 // NEW !!! { b_t my_b; // from b.h !!! uint32 t; }; #endif // avoid 2+ including Now start the confusion.... a.h wants to create a type based on a struct declared on b.h, so a.h must include b.h. BUT, b.h was already including a.h, sine the beginning... So we have a mutual depenedency, also called cyclical dependence... I understood that the #ifdef XX_H statements (called "compilation guard" ) will make the compilation skipp over one of these files, since that after the first compilation, its definition will occur, so when the next file compile, it will find a already defined guard condition, skipping on it... Forward declaration: After many readings, I learned there is a solution for mutual inclusion SINCE IF the depenedence is based ONLY in pointers / references. To use a_t in a b.h WITHOUT include a.h into b.h , you can do: struct a_t; // forward declaration : like a prototype for functions... struct b_t { a_t *my_a; // it is a pointer to the type, not a type it self !!! } BUT, not solve the case when you really need export structures between 2 files, when they depends each other. I saw lot of rules been afirmed, but criticised late, and vice-versa. The 2 polemic ones: 1- Only c (cpp) files can #include H files... 2- All #includes must be made into H files, so it can work alone... Many tradeoffs were mentioned against the 2 rules above. It seems there is not a "unique" true about it... In my case, I´m in troubles due to cyclic depenedence. I have a file xxx.h that simply ignores a type that was defined into another H file wich WAS really included into xxx.h> The trick I did, is have a globals.h where I put some structures that causes this cyclical depenedcies. It works, but is ugly and not professional. Well, this example I wrote is just to ilustrate about the "nature" of this issue. There can be some sintax error, some wrong detail, etc...BUT, in fact such cyclical condition exists and leads to a good headache in bigger design. Some guys says it is a bad design, other says it is needed if the project gets complex / big. My design has 82 filles...it´s not huuuggee, but enough big to reach such complexity. Thanks in advance guys !!! Ricardo Raupp You have posted this same question elsewhere in the forums. Please do not cross-post queries. ---Tom
https://community.nxp.com/thread/57265
CC-MAIN-2018-22
refinedweb
656
76.93
Hi my friends, I wanna make simple example in order to understand some basics, so I made these steps - First i create file as a name Prusa - Startproject mysite - Startapp register - runserver and everything is ok - i made register/templates file and made settings.py arrangement - i created two ile under templates index.html and about.html - first i create this model on models.py from django.db import models # Create your models here. class Patient(models.Model): name = models.CharField(max_length=100) surname = models.CharField(max_length=100) ilness = models.CharField(max_length=200) - views.py i made this codes from django.shortcuts import render from django.http import HttpResponse from .models import Patient # Create your views here. def About(request): return render(request, 'about.html') def Anasayfa(request): return render(request, 'index.html') def Doctor(request): post = Patient.object.all() return render(request, 'index.html', {'post': post}) - register.urls.py i made these codes from django.urls import path from .views import About, Anasayfa urlpatterns = [ path('', Anasayfa, name='index'), path('about/', About, name='about'), ] - mysite.urls.py i made these codes from django.contrib import admin from django.urls import path, include urlpatterns = [ path('admin/', admin.site.urls), path('', include('register.urls')), ] - register.admin.py file i made these codes from django.contrib import admin from .models import Patient # Register your models here. admin.site.register(Patient) - templates/index.html i made these codes <h1>Hello</h1> <div> {% for post in posts %} <div> <p>{{ post.name }}</p> </div> {% endfor %} </div> After all when i runserver i see only hello , but i expect see the patient name, i created super user and i added 2 patient form django admin panel but, i see nothing except Hello . How can i see patient names under the Hello word?
https://forum.djangoproject.com/t/how-to-show-models-in-homepage/9279
CC-MAIN-2022-21
refinedweb
295
55.2
0 Hello ladies and gents, I was trying to write a small example of a pointer to a two dimensional array like this after looking up how to write the syntax at Narue's Et.Conf. world like this: #include <iostream> #include <iomanip> void array(short (*myArray)[4][4]); using namespace std; int main() { short Map[4][4] = {0}; short (*pMap)[4][4] = ⤅ array(pMap); cout << "Press enter to exit\n"; cin.ignore(cin.rdbuf()->in_avail() + 1); return 0; } void array(short (*myArray)[4][4]) { short size = sizeof myArray[0]/ sizeof myArray[0][0]; for (int i = 0; i < size; i++) for (int j = 0; j < size; j++) { cout << (*myArray)[i][j] << " "; if (j%4 == 3) cout << endl; } } Works like a charm, though, when I wrote *myArray[j] instead of (*myArray)[j], the output was that the first row was all 0, but the rest were random numbers :-| Can someone tell me why this happens :?: Thanks for the help,
https://www.daniweb.com/programming/software-development/threads/38192/pointers-to-arrays
CC-MAIN-2018-43
refinedweb
159
63.06
Haskell programming tips From HaskellWiki Latest revision as of 12:15, 5 June 2012 [edit]. [edit] 2 Be concise [edit]. [edit] 2.2 Avoid explicit recursion Explicit recursion is not generally bad, but you should spend some time trying to find a more declarative implementation using higher order functions. Don't define raise :: Num a => a -> [a] -> [a] raise _ [] = [] raise x (y:ys) = x+y : raise x ys because it is hard for the reader to find out how much of the list is processed and on which values the elements of the output list depend. Just write raise x ys = map (x+) ys or even raise x = map (x+) and the reader knows that the complete list is processed and that each output element depends only on the corresponding input element. If you don't find appropriate functions in the standard library, extract a general function. This helps you and others. Another example: the function 0 _ = [[]] but then we can also omit the pattern for 1-tuples. tuples :: Int -> [a] -> [[a]] tuples 0 _ = [[]] tuples r l = if r == length l then [l] else let t = tail l in map (head l :) (tuples (r-1) t) ++ tuples r t Don't overuse lambdas Like explicit recursion, using explicit lambdas isn't a universally bad idea, but a better solution often exists. For example, Haskell is quite good at currying. Don't write zipWith (\x y -> f x y) map (\x -> x + 42) instead, write zipWith f map (+42) also, instead of writing -- sort a list of strings case insensitively sortBy (\x y -> compare (map toLower x) (map toLower y)) write comparing p x y = compare (p x) (p y) sortBy (comparing (map toLower)) which is both clearer and re-usable.Actually, starting with GHC-6.6 you do not need to define (Just a remark for this special example: We can avoid multiple evaluations of the conversions with a function that is present in GHC.Exts of GHC 6.10: sortWith :: (Ord b) => (a -> b) -> [a] -> [a] sortWith.): foreach2 xs ys f = zipWithM_ f xs ys linify :: [String] -> IO () linify lines = foreach2 [1..] lines $ \lineNr line -> do unless (null line) $ putStrLn $ shows lineNr $ showString ": " $ show line [edit] 3 Use syntactic sugar wisely People who employ syntactic sugar extensively argue that it makes their code more readable.? [edit] [edit] 3.2 do notation do notation is useful to express the imperative nature (e.g. a hidden state or an order of execution) of a piece of code.Nevertheless it's sometimes useful to remember that the Instead of do text <- readFile "foo" writeFile "bar" text one can write readFile "foo" >>= writeFile "bar" . The code do text <- readFile "foo" return text can be simplified to readFile "foo" by a law that each Monad must fulfill. You certainly also agree that do text <- readFile "foobar" return (lines text) is more complicated than liftM lines (readFile "foobar") .By the way, the [edit] 3.3 Guards Disclaimer: This section is NOT advising you to avoid guards. It is advising you to prefer pattern matching to guards when both are appropriate. -- AndrewBromage Guards look like -- Bad implementation: fac :: Integer -> Integer fac n | n == 0 = 1 | n /= 0 = n * fac (n-1) which implements a factorial function. This example, like a lot of uses of guards, has a number of problems.The first problem is that it's nearly impossible for the compiler to check) But in this special case, the same can be done even more easily with pattern matching: -- Good implementation: fac :: Integer -> Integer fac 0 = 1 fac n = n * fac (n-1) Actually, in this case there is an even more easier to read version, which (see above) doesn't use Explicit Recursion: -- Excellent implementation: fac :: Integer -> Integer fac n = product [1..n] Note however, that there is a difference between this version and the previous ones: When given a negative number, the previous versions do not terminate (until StackOverflow-time), while the last implementation returns 1. Guards don't always make code clearer. Compare foo xs | not (null xs) = bar (head xs) and foo (x:_) = bar x or compare the following example using the advanced pattern guards parseCmd ln | Left err <- parse cmd "Commands" ln = BadCmd $ unwords $ lines $ show err | Right x <- parse cmd "Commands" ln = x with this one with no pattern guards: parseCmd ln = case parse cmd "Commands" ln of Left err -> BadCmd $ unwords $ lines $ show err Right x -> x atLeast :: Int -> [a] -> Bool atLeast n x = n == length (take n x) or non-recursive but fairly efficient atLeast :: Int -> [a] -> Bool atLeast n = if n>0 then not . null . drop (n-1) else const True or atLeast :: Int -> [a] -> Bool atLeast 0 = const True atLeast n = not . null . drop (n-1) The same problem arises if you want to shorten a list to the length of another one by take (length x) y Use sharing If you want a list of lists with increasing length and constant content, don't write map (flip replicate x) [0..] because this needs quadratic space and run-time. If you code iterate (x:) [] then the lists will share their suffixes and thus need only linear space and run-time for creation. This is very inefficient. If you access the elements progressively, as in [x !! i - i | i <- [0..n]] you should try to get rid of indexing, as in zipWith (-) x [0..n] . If you really need random access, as in the Fourier Transform, you should switch to Arrays. Clear what it does? No? The code is probably more understandable removeEach :: (Eq a) => [a] -> [[a]] removeEach xs = map (flip List.delete xs) xs but it should be replaced by removeEach :: [a] -> [[a]] removeEach xs = zipWith (++) (List.inits xs) (tail (List.tails xs)) . Useful techniques are described in Avoiding IO. ++ replicate (mod (- length xs) m) pad - Conversion from a day counter to a week day:mod n 7 - Pacman runs out of the screen and re-appears at the opposite border:mod x screenWidth See - Daan Leijen: Division and Modulus for Computer Scientists - Haskell-Cafe: default for quotRem in terms of divMod? ".)
http://www.haskell.org/haskellwiki/index.php?title=Haskell_programming_tips&diff=45892&oldid=23902
CC-MAIN-2013-48
refinedweb
1,021
67.38
I have been learning JavaSe & FX for only a few months, although I was once a programmer in COBOL, Assembler and Basic, long ago I have been looking at the date/time stuff on TutorialsPoint and have tried a bit of sample code and it does not compile. I gives the error 'IllegalFormatConversionException'. The code is at URL It is this; import java.util.Date; class DateDemo { public static void main(String args[]) { // Instantiate a Date object Date date = new Date(); // display time and date using toString() System.out.printf("%tc", "Current Time : ", date); } } Could someone tell me what the problem is. Thank you.
http://www.tutorialspoint.com/forums/viewtopic.php?f=25&t=2122&p=2437
CC-MAIN-2013-20
refinedweb
104
60.24
Here a simple code which I have to add on project: import java.io.*; import java.util.Scanner; public class Ana { static public void main(String[] args) { try{ File gecicidosya=new File("D:\\B.txt"); File sdosya=new File("D:\\A.txt"); Scanner oku = new Scanner(sdosya); BufferedWriter yaz=new BufferedWriter(new FileWriter(gecicidosya)); while(oku.hasNextInt()) { System.out.println("while started"); oku.nextInt(); System.out.println("file readed"); } oku.close(); yaz.close(); System.out.println("finish"); } catch(Exception e) { System.out.println("problem "+ e); } } } But it does not work :( It does not give any error. It writes "finish" but even D:\\A.txt is about 60kb while(oku.hasNextInt()) doesn't work :( Can you please help me about it ? (I use "scanner" instead of bufferreader because bufferreader cannot scan for integer. anyway that it is not important) Thanks!
https://www.daniweb.com/programming/software-development/threads/262168/very-simple-sanner-code-doesnt-work
CC-MAIN-2018-17
refinedweb
139
55.2
benken_parasoft ✭✭✭ About - Username - benken_parasoft - Joined - Visits - 798 - Last Active - Roles - Members, Staff - Points - 175 - Badges - 11 - 461 Reactions - Let's say you have SOAtest test suite where test 1 invokes operation A and test 2 invokes operation B. In the test suite you must select "Tests run as group". This option indicates that both tests must always be run together and not independently.…in Run Two Clients in Sync. Comment by benken_parasoft August 10 - You can trust that the tool works as documented. In other words, if you specify -environment "QA" then please be assured that the environment named "QA" will be activated in any tst files which define that. In general, the HTML report can be used …in How to edit .properties file Comment by benken_parasoft August 8 - it seems as though the changes are not reflecting back to SOATEST Clicking "share" opens a dialog to export some of the preference settings to a properties file. This is a copy of the settings. Making edits to the file is not supposed to "…in How to edit .properties file Comment by benken_parasoft August 7 - Quality Tasks has a table view. I could be wrong, but I think being able to copy and paste into Excel was one of the reasons why it was added. First, open the Configure Contents dialog from the small sub menu (down arrow) in the tool bar for the… - You might also consider not using this tool and instead using what's built in. I recently gave this answer in another post: See Configuring Test Suite Properties. There is a Delay in milliseconds option that "Lets you set a delay before and/or a…in Issue in wait plugin Comment by benken_parasoft August 1 - Run a POST method Your first test would use a REST Client tool to perform the POST. Automatically launch a web page Your next test would use a Browser Playback tool with Navigate action configured. - In general, you want to use the Spell tool. In SOAtest preferences, you can "expand SOAtest’s built-in dictionary by extending it with additional sets of ispell-format dictionaries". See Adding Dictionaries. I do not have exact steps for Japane… - but we are not sending response is in one string As mentioned, chained tools will receive the outgoing message as a string. In your case, the string that was built from your Form XML view. We need to keep the “item” elements count sam… - Someone from Parasoft will need to troubleshoot this with you. Maybe it is related to creating a PDF report or maybe has nothing to do with that, like if you created an HTML report instead. - The small screenshot does not provide enough detail to say why that happened as well as what steps are required to reproduce. This looks like something you should bring up with Parasoft Support. They would be better able to collect the required in… - See Configuring Test Suite Properties. There is a Delay in milliseconds option that "Lets you set a delay before and/or after test execution." - From Updating Messages with Change Advisor: A change template specifies how to map the elements/operations/resources and schemas (either XML or JSON) from one service version to those in another. Once a change template is defined, it can be ap… - Tools chained to the outgoing message output (response message in this case) can be used to transform the message before it is sent. One such tool that can do this is the Extension tool. If you chain an Extension tool then the "input" argument of … - You could also try "workspace_loc" variable or "project_loc" variable. If you use "project_loc" then you must give it a project name like "${project_loc:TestAssets}" - You get to decide what port numbers you use. You might be able to use the same port number for both if that is what you want. However, the answer depends a lot on the VM network and deployment configuration, not something I'd be able to comment on…in SOAtest Server Port Comment by benken_parasoft July 16 - Is there any way to use these paths as relative to workspace rather than absolute paths? You can use variables. In particular, I find "env_var" to be pretty handy. See Using Variables in Preference Settings. - could you point us to product documentation where these things are explained with some examples. Parasoft Support could probably help you with this. I know Parasoft also offers training opportunities. We run into more of cases like re…in CLI Import and execution Comment by benken_parasoft July 16 - The file scope calculation, where the tool determines which files to test or execute, can be configured based on a list of paths or patterns to match which files should or shouldn't be included. However, test suites (within tst files) can use a dat…in How run a test conditionally ? Comment by benken_parasoft July 13 - we have same project referred in two different names Any particular reason why you have a copy of the file, and are not only using the one from your git workspace? is there any way to refer the current project always in the data source… - there is format difference between cli and ui env files It wasn't clear that you were using the -environmentConfig, which takes a different kind of XML file. In contrast, you can make the tst file reference a .env/.envs file which just work…in Environment Variable Masking Comment by benken_parasoft July 12 - What condition do you need satisfied? Do you need to wait for fixed number of seconds or wait based on some other criteria? - I'd recommend running against the .envs file from both the UI and the soatestcli. You should see exactly the same behavior. In other words, how variables are read from an envs file should be the same, regardless of whether the tst is from the UI o…in Environment Variable Masking Comment by benken_parasoft July 11 - for Diff to solve the issue, every time my response should be same. No? I wouldn't be able to answer this without having some explanation about how you are getting the expected values for your assertions. If the values are dynamic, like pul… - Do you mean ParaBank Example Project? It is hard to say what's wrong without more detail. However, if I were you, I'd try deleting it then re-create it. Or create a new empty workspace and create the ParaBank Example Project there.in Parasoft Example Project Comment by benken_parasoft July 11 - I also tried key[name="isDone"], but no luck To clarify, that works fine if "isDone" is the name of a simple element. I provided a similar example recently. Similar questions have been posted to the forum recently: assertor option when th… - Git doesn't have a file locking mechanism. However, it looks like there is an extension that will allow you to do this. See git-lfs.in Lock/Unlock Parasoft Project Comment by benken_parasoft July 5 - You are trying to create assertions for "customer ID 1", in't this right? In my example, I showed you how you can use an XPath that's based on ID as opposed to position. I believe you can also parameterize the ID in your XPath if needed. In other… - This is a current limitation in the REST Client. You could work around this by using some other tool. You could consider calling "curl" from an External tool, for example. Now, for the explanation: The URI specification defines certain charact…in Commas in the parasoft API URL Comment by benken_parasoft July 3 - Also consider using XPaths that are not sensitive to order, not selecting based on index but instead on some other criteria. I recently provided an example in your other post: assertor option when the response tree is changing If you are trying … - I use "OASIS 1.1.1" for both of "Binary Token" and "Thumbprint" and my SOATest version is 9.10.5 The reasons why I asked is because you showed something different in your screenshot. I attach my ".tst" file for you, would you please co…in Does SOATest support Thumbprint SHA1? Comment by benken_parasoft July 3 - Here's an example XPath for a service that returns a list of books. Notice I select the first book, using an index of 1: /*:Envelope/*:Body/*:getItemByTitleResponse/*:Result/i[1]/title/text() Instead of hard coding an index of '1' I can use … - Oh, I see this is a duplicate: How to use context.report in output extension tool - Make sure you are using 9.10.5. In number 8, it doesn't look like you picked "Thumbprint KeyIdentifier". As previously mentioned, you need to pick "OASIS 1.1.1" under Emulation Options section.in Does SOATest support Thumbprint SHA1? Comment by benken_parasoft July 2 - I tried adding context.report(“a is not 1) in the else part but no luck The "report" method from com.parasoft.api.ScriptingContext sounds like what you want and it does work. See what I recently posted here: Print Message in Quality Task … - If you do not receive an answer from the forum community, I would recommend contacting Parasoft Support. - I want to know does SOATest 9.10.5 support thumbprint sha1 WS-Security for signing soap body? Yes, I believe so. Under click Emulation Options, click OASIS 1.1.1. Under WS-Security, select Thumbprint KeyIdentifier.in Does SOATest support Thumbprint SHA1? Comment by benken_parasoft June 28 - This functionality is provided by Parasoft SOAtest/Virtualize Server which has an API for manipulating Parasoft assets. A Java-based client is available, which you can use from Maven-based java projects as follows: In your pom.xml, add the build…in Read .tst file using java. Comment by benken_parasoft June 26 - To put it another way, DNS lookup failed. The host name could not be resolved to an IP address. - You could make your script return your JSON document as a string then chain a JSON Data Bank to your Extension Tool. - but I want to execute tests without any change in my ".tst" files and without create dummy ".tst" files I know. I just highly recommend against trying to do what you are asking. It is less confusing to do one of the two things previously…in Execution Sequence Comment by benken_parasoft June 21 - You could create a new tst file that references the other ones as referenced test suites. You can add referenced test suites into this "master" tst file in any order you like, similar to adding a normal test suite. Then you would just only run thi…in Execution Sequence Comment by benken_parasoft June 21 - Parasoft does not support file upload? I think you already have the answer: "Unable to perform user action: File inputs are not currently supported in Chrome" However, I want to say that even if something is not supported out-of-box, jus… - There were some similar questions posted recently. Perhaps you can take a look at these: Connect parasoft soa to HP ALM HP QC - For the WAR deployment, configuration settings for the SOAtest/Virtualize server are specified in a config.properties file. In particular, you will want to configure the "working.dir" property. For details, see Server Configuration If instead y…in Set default workspace on soatest server Comment by benken_parasoft June 18 - I have configured the left hand side is my source and right hand side is target. Concerning left vs right, when you double click a difference shown under quality tasks, SOAtest happens to show the "Expected Content" on the left and the "Actu…in Ignore differences options in diff tool Comment by benken_parasoft June 18 - I would generally avoid trying to manually construct ignored XPaths. It is way too easy to make a mistake or a typo. Have you tried letting SOAtest add the ignored difference automatically? I recently described how to do this: Ignore namespaces i…in Ignore differences options in diff tool Comment by benken_parasoft June 15 - Click "Help > Help Contents > Parasoft SOAtest Extensibility API" to open the javadocs then click ScriptingContext. You will notice that ScriptingContext has a couple methods named "report" that "Reports an error message and causes the tool t…in Print Message in Quality Task Comment by benken_parasoft June 13 - From an earlier post: To capture all traffic, enable the option in the test configuration to "Report traffic for all tests". Next, in the Parasoft preferences under Reports, enable "Overview of checked files and executed tests" and disable "On…in Reports Comment by benken_parasoft June 13 - To ignore a difference in general, it is generally easiest to right-click the error message in the Quality Tasks view and select Ignore XPath from the right-click menu.in Ignore namespaces in diff Comment by benken_parasoft June 13
https://forums.parasoft.com/profile/comments/400177/benken_parasoft
CC-MAIN-2018-34
refinedweb
2,141
61.67
21 July 2010 16:57 [Source: ICIS news] TORONTO (ICIS news)--Air Products has signed a contract to build a large on-site air separation unit for China’s Pucheng Clean Energy in Shaanxi province, the US-based industrial gases major said on Wednesday. Pucheng, a Chinese state-owned firm, would use the industrial gases from the unit in a coal gasification process for chemical production, Air Products said. The project at Weinan in ?xml:namespace> The plant would produce 8,200 tonnes/day of oxygen, over 3,100 tonnes/day of nitrogen, over 375 tonnes/day of compressed dry air and would also produce liquid products for the merchant market in the region after starting up by mid-2013, Air Products said. Last month, Air Products announced it would build a large hydrogen production facility
http://www.icis.com/Articles/2010/07/21/9378248/air-products-to-build-gas-plant-for-coal-chem-production-in.html
CC-MAIN-2013-48
refinedweb
136
54.97
Hello all! I’ve got a human model with a gun in hand and I would like to know if it’s possible to make bullets (which can be represented by any bullet-like model) being fired from the gun? If I have the bullet model, can I make it move from the gun to the target? Is any piece of code available,please? hi and welcome to panda, for your questions.short answer. yes its possible. small addition. bullets move so fast, you wont see them unless your game has bullet-time. for the “how-to”, its as simple as loading a model and move it forwards. you can do that with a task or a lerp-interval. both things are covered in the manual and you need both things to move your player. those belong to the very basics of object manipulation so once you know a little more about game-programming it’s really easy to do. greetings, thomas So, I just need to load the bullet and then reparent it to the gun? Btw, is there going to be any clash if I load a model with the same name everytime? For example, if I press ‘f’ I load a model named “bullet” and then move it towards the target. If I subsequently press ‘f’ again, it will load another model with the same name… How do I cater for that part? Using “arrays” of models? Lastly, is it possible to automatically move a model towards a given target in Panda? you dont neccessarily want to parent it to the gun, since it would follow the gun then. just position it to the gun and then move it from there. there is no problem loading the model several times. but you have to keep track of them yourself. may it be by using node-path tags, or keeping them in lists,dictionaries, sets or whatever you like. for your last question: its semi-automatic. you can set up a task, or a lerp interval to move it, it will go pretty much straight. you can also use lookAt to get something like a missle-homing behavior. a general answer to your "can panda do … ". in 99% of the cases the answer is “yes, if you know how to code python” . in about 1% its “no cause your hardware isnt capable of doing it” or “no except you can code c++” once you practiced programming a bit but those exceptions really are rare. I’ve managed to do this till now: def enemy(self, task): #elapsed = task.time - self.prevtime if (math.sqrt((self.enemy1.getX()-self.player.getX())**2 + (self.enemy1.getY()-self.player.getY())**2) <= 4) or (self.isShooting is True): if (self.enemy_ammo>0) and (self.enemy_bullet_loaded is False): enemy_bullet = loader.loadModel('models/bullet') enemy_bullet.reparentTo(self.enemy1) enemy_bullet.setScale(0.1) enemy_bullet.lookAt(self.player) enemy_bullet.setX(self.enemy1.getX()+28) enemy_bullet.setY(self.enemy1.getY()+4) enemy_bullet.setZ(57) self.enemy1.play("fire") # Need to enter bullet movement here self.enemy_ammo = self.enemy_ammo - 1 if (self.player.getY()>self.enemy_bullet.getY()): self.enemy_bullet_loaded = False return Task.cont It’s for the enemy part. However, how do I make the bullet move towards the player’s model? And how do I check for collision between the ‘player’ model and the ‘enemy_bullet’ model? I’ve seen the tutorials, but I don’t understand anything… Since it looks like you are doing the movement inside of a task (instead of using a poslerp), you really arent that far away. I think an easy first solution for getting your bullet to travel at the guy just involves a little bit of linear algebra. So once you have your node path already looking at the node path of its destination target, most of the work is already finished! Define a speed somewhere (with respect to the size of models environ etc), and some panda calls can help you along the way. self.speed = 100 #some number that makes sense to you, with respect to the speed of the task velocityVector = self.bulletNode.getQuat().getForward() #returns a unit vector pointing forward from your model, should already be poiting at the target since you called lookAt() velocityVector = velocityVector * speed #now a vector with magnitude of speed self.bulletNode.setPos(self.bullet, velocityVector[0], velocityVector[1], velocityVector[2]) #this just adds your velocity onto the bullets current position Eventually (well actually at this speed rather instantly), the bullet will go toward his target (or the position he was at when you called lookAt()). As for collisions, there is a good manual page worth reading on them, as well as rapidly moving objects (which bullets are). I’m stuck with the bullet. It does not move… Can you give me the links to the manual concerning rapidly moving objects? Secondly, I have thought of using a sort of “laser gun” instead of the bullet. Can this be done using Collision Ray? The enemy will “fire” its collision ray, while the player will do the same. Concerning collision detection, I’m still not being able to understand it. Is there any code available that checks if there is collision between two particular objects? For example, if I have three actors, I want to check if there is collision between actor1 and actor 2 only. How do I do it?
https://discourse.panda3d.org/t/urgent-newbie-question-firing-bullets/5153
CC-MAIN-2022-27
refinedweb
897
56.86
I use eval() and exec() function in recent python development, and i am not sure which function to use in which scenario, so i investigate python’s document and write down how to use them and the difference between eval() and exec() python function. 1. Eval Function. 1.1 eval function description. This function is used to calculate the value of the specified expression.The Python code it executes can only be a single expression, not complex logic code, which is similar to lambda expression. 1.2 eval function definition. eval(expression, globals=None, locals=None) - expression : Required, it’s value can be either a string or an instance of a code object (which can be created by the compile function). If it is a string, it is parsed and interpreted as a Python expression. And the expression will use the globals and locals parameters value as global and local namespace. - globals : Optional, it represent the global namespace (holding global variables) if supplied, must be a dictionary object. - locals : Optional, represent the current local namespace (holding local variables) if supplied, can be any mapping object. If this parameter is ignored, it will take the same value as globals. - If both globals and locals are ignored, their value will be local and global namespaces within the context where the eval() function is called. 1.3 eval function return value. - If expression parameter is a code object, and the compile function’s mode parameter is ‘exec’ when the code object is created, then eval() function returns None. - If expression parameter is an output statement, like print(), eval() returns None. - If expression parameter is just an expression, then eval() function returns the expression caculated result value. 1.4 eval function example. :~$ python3 Python 3.7.1 (default, Dec 14 2018, 19:28:38) [GCC 7.3.0] :: Anaconda, Inc. on linux Type "help", "copyright", "credits" or "license" for more information. >>> # declare global variable x, y and assign integer value. >>> x = 10 >>> y = 20 # evaluate x + y expression, and return a. >>> a = eval('x + y') >>> print('a: ', a) a: 30 >>> # evaluate x + y expression, but use globals parameter to override global x(10), y(20) value to x(1), y(2) >>> b = eval('x + y', {'x': 1, 'y': 2}) >>> print('b: ', b) b: 3 >>> # evaluate x + y expression, but set global x value to 1, and y is used a local variable y's value 3. >>> c = eval('x + y', {'x': 1, 'y': 2}, {'y': 3, 'z': 4}) >>> print('c: ', c) c: 4 >>> # execute output function print and return None. >>> d = eval('print(x, y)') 10 20 >>> print('d: ', d) d: None 2. Exec Function. 2.1 exec function description. Execute Python code dynamically. That is to say exec can execute complex Python code, unlike the eval function which can only evaluate an expression. 2.2 exec function definition. exec(object[, globals[, locals]]) - object : Required, it is the Python code that need to be executed. It’s value has to be a string or a code object. If object is a string, the string is parsed into a set of Python statements and then executed (unless a syntax error occurs). If object is a code object, it is simply executed. - globals, locals : Same as eval function. 2.3 exec function return value. The return value of the exec function is always None. In Python 2, exec is not a function, but a built-in statement, but Python 2 has a function execfile(). 3. Difference Between eval & exec Functions. - eval() function can only evaluate a single expression, exec() function can run code snippets dynamically. - eval() function can has return value, exec() function always return None.
https://www.code-learner.com/what-is-the-differences-between-python-eval-and-exec-function/
CC-MAIN-2020-40
refinedweb
610
57.27
Hide Forgot hal-0.5.9-0.git20070218.fc7 $ hal-device-manager GTK Accessibility Module initialized Traceback (most recent call last): File "/usr/bin/hal-device-manager", line 13, in <module> import Const ImportError: No module named Const Seems to be fixed, hal-device-manager starts fine for me. Are you still seeing this ? I am seeing this with the hal V hal-0.5.9-0.git20070304.fc7 This also happens for me with hal-0.5.9-0.git20070401.1.fc7 Works fine with the hal-gnome package installed, so this is a dup of bug 234696. *** This bug has been marked as a duplicate of 234696 ***
https://partner-bugzilla.redhat.com/show_bug.cgi?id=230022
CC-MAIN-2019-47
refinedweb
109
68.16
Using Spark and MX component sets Writing a simple application in MXML Compiling MXML to SWF Files The relationship of MXML tags to ActionScript classes Understanding the structure of an application built with Flex You use two languages to write applications in Flex: MXML and ActionScript. MXML is an XML markup language that you use to lay out user interface components. You also use MXML to declaratively define nonvisual aspects of an application, such as access to data sources on the server and data bindings between user interface components and data sources on the server. Like HTML, MXML provides tags that define user interfaces. MXML will seem very familiar if you have worked with HTML. However, MXML is more structured than HTML, and it provides a much richer tag set. For example, MXML includes tags for visual components such as data grids, trees, tab navigators, accordions, and menus, as well as nonvisual components that provide web service connections, data binding, and animation effects. You can also extend MXML with custom components that you reference as MXML tags. One of the biggest differences between MXML and HTML is that MXML-defined applications are compiled into SWF files and rendered by Adobe® Flash® Player or Adobe® AIR™, which provides a richer and more dynamic user interface than page-based HTML applications. You can write an MXML application in a single file or in multiple files. MXML also supports custom components written in MXML and ActionScript files. Flex defines two sets of components: MX and Spark. The MX component set was included in previous releases of Flex, and is defined in the mx.* packages. The Spark component set is new for Flex 4 and is defined in the spark.* packages. The Spark components use a new architecture for skinning and have other advantages over the MX components. The MX and Spark component sets contain many of the same components. For example, both component sets defines a Button control, TextInput control, and List control. However, while you can use MX components to perform most of the same actions that you can perform by using the Spark components, Adobe recommends that you use the Spark components when possible. Because MXML files are ordinary XML files, you have a wide choice of development environments. You can write MXML code in a simple text editor, a dedicated XML editor, or an integrated development environment (IDE) that supports text editing. Flex supplies a dedicated IDE, called Adobe® Flash™ Builder™, that you can use to develop your applications. The following example shows a simple “Hello World” application that contains just an <s:Application> tag and three child tags, the <s:Panel> tag and the <s:Label> tags, plus a <s:layout> tag. The <s:Application> tag defines the Application container that is always the root tag of an application. The <s:Panel> tag defines a Panel container that includes a title bar, a title, a status message, a border, and a content area for its children. The <s:Label> tag represents a Label control, a very simple user interface component that displays text. <?xml version="1.0"?> <!-- mxml\HellowWorld.mxml --> <s:Application xmlns:fx="" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns: <s:layout> <s:VerticalLayout/> </s:layout> <s:Panel <s:Label </s:Panel> </s:Application>The executing SWF file for the previous example is shown below: The executing SWF file for the previous example is shown below: Save this code to a file named hello.mxml. MXML filenames must end in a lowercase .mxml file extension. The first line of the document specifies an optional declaration of the XML version. It is good practice to include encoding information that specifies how the MXML file is encoded. Many editors let you select from a range of file encoding options. On North American operating systems, ISO-8859-1 is the dominant encoding format, and most programs use that format by default. You can use the UTF-8 encoding format to ensure maximum platform compatibility. UTF-8 provides a unique number for every character in a file, and it is platform-, program-, and language-independent. If you specify an encoding format, it must match the file encoding you use. The following example shows an XML declaration tag that specifies the UTF-8 encoding format: <?xml version="1.0" encoding="utf-8"?> In addition to being the root tag of an application, the <s:Application> tag represents a Spark Application container. A container is a user-interface component that contains other component sets, and uses layout rules for positioning its child components. By default, the Spark Application container lets that you set the position of its children. In the previous example, you set the layout of the container to VerticalLayout so that the Application container automatically lays out its children in a vertical column. You can nest other types of containers inside an Application container, such as the Panel container shown above, to position user interface components according to other rules. For more information, see Visual components. In an XML document, tags are associated with a namespace. XML namespaces let you refer to more than one set of XML tags in the same XML document. The xmlns property in an MXML tag specifies an XML namespace. xmlns:fx="" The namespace for top-level ActionScript elements, such as Object and Array, and for tags built into the MXML compiler, such as <fx:Script>. xmlns:mx="library://ns.adobe.com/flex/mx" The namespace for the MX component set. xmlns:s="library://ns.adobe.com/flex/spark" The namespace for the Spark component set. In general, you include the Spark and MX component namespaces so that you can use any components from those sets. Where possible, use the Spark components. However, not all MX components have Spark counterparts, so the components in the MX namespace are also sometimes necessary. You can define additional namespaces for your custom component libraries. For more information on namespaces, see Using XML namespaces. The properties of an MXML tag, such as the text, fontWeight, and fontSize properties of the <s:Label> tag, let you declaratively configure the initial state of the component. You can use ActionScript code in an <fx:Script> tag to change the state of a component at run time. For more information, see Using ActionScript. If you are using Flash Builder, you compile and run the compiled SWF file from within Flash Builder. After your application executes correctly, you deploy it by copying it to a directory on your web server or application server. You can deploy your application as a compiled SWF file, as a SWF file included in an AIR application or, if you have Adobe LiveCycle Data Services ES, you can deploy your application as a set of MXML and AS files. End users of the application do not typically reference the SWF file directly in an HTTP request. Instead, you embed the application SWF file in an HTML page. The HTML page then uses a script to load the SWF file. Collectively, the HTML page and the script are known as the wrapper. When the SWF file is embedded in the HTML page, users then access the deployed SWF file by making an HTTP request to the HTML page, in the form: For more information on wrappers, see Creating a wrapper. Flex also provides a command-line MXML compiler, mxmlc, that lets you compile MXML files. You can use mxmlc to compile hello.mxml from a command line, as the following example shows: cd flex_install_dir/bin mxmlc --show-actionscript-warnings=true --strict=true c:/app_dir/hello.mxml In this example, flex_install_dir is the Flex installation directory, and app_dir is the directory containing hello.mxml. The resultant SWF file, hello.swf, is written to the same directory as hello.mxml. For more information about mxmlc, see Flex compilers. Adobe implemented Flex as an ActionScript class library. That class library contains components (containers and controls), manager classes, data-service classes, and classes for all other features. You develop applications by using the MXML and ActionScript languages with the class library. MXML tags correspond to ActionScript classes or properties of classes. Flex parses MXML tags and compiles a SWF file that contains the corresponding ActionScript objects. For example, Flex provides the ActionScript Button class that defines the Flex Button control. In MXML, you create a Button control by using the following MXML statement: <s:Button When you declare a control using an MXML tag, you create an instance of that class. This MXML statement creates a Button object, and initializes the label property of the Button object to the string "Submit". An MXML tag that corresponds to an ActionScript class uses the same naming conventions as the ActionScript class. Class names begin with an uppercase letter, and uppercase letters separate the words in class names. Every MXML tag attribute corresponds to a property of the ActionScript object, a style applied to the object, or an event listener for the object. For a complete description of the Flex class library and MXML tag syntax, see the ActionScript 3.0 Reference for the Adobe Flash Platform. You can write an MXML application in a single file or in multiple files. You typically define a main file that contains the <s:Application> tag. From within your main file, you can then reference additional files written in MXML, ActionScript, or a combination of the two languages. A common coding practice is to divide your Flex application into functional units, or modules, where each module performs a discrete task. In Flex, you can divide your application into separate MXML files and ActionScript files, where each file corresponds to a different module. By dividing your application into modules, you provide many benefits, including the following: In Flex, a module corresponds to a custom component implemented either in MXML or in ActionScript. These custom components can reference other custom components. There is no restriction on the level of nesting of component references in Flex. You define your components as required by your application. You can also use sub-applications rather than modules to develop applications that are not monolithic.
https://help.adobe.com/en_US/Flex/4.0/UsingSDK/WS2db454920e96a9e51e63e3d11c0bf5f39f-7fff.html
CC-MAIN-2018-09
refinedweb
1,688
54.32
Since my last HaXml missive [1], I've managed to get some XML namespace handling code working with HaXml. The namespace processing itself is implemented as a transformation/filter that is applied to XML content after general entity substitution has been performed. The XML content model has been extended to use QNames for element and attribute names (this change was made some time ago), and also to carry XML-Infoset-like information with each element (including a list of in-scope namespaces). When namespace processing is performed, the xmlns attributes are scanned and removed from the XML content. Element and attribute names containing ':' are reprocessed to be in a namespace+local name form. Also, is a default namnespace is in scope, element names not containing a ':' are similarly processed (but not attribute names, because the meaning of unprefixed attributes is determined by the containing XML element). I've created a small suite of test cases for namespace processing, which work by extracting the list of element and attribute QNames from a processed document, and comparing the result with a given list. Also since my last message [1], I've created a test suite for the XML validator, based on the W3C XML conformance data. HaXml passed all but two of these tests without further modification. I've created another snapshot [2] of my work. This represents all of the major functional changes I plan to make at this time, though there is a good deal of code tidying, and a few small features I'd like to add, which I may get round to at some time. My changes are also rather devoid of external documentation. The test harness [3] is one place to look. The namespace handling functions are in module Namespace.hs [4]. #g -- [1] [2] [3] [4] ------------ Graham Klyne For email:
http://www.haskell.org/pipermail/libraries/2004-June/002276.html
CC-MAIN-2014-42
refinedweb
304
60.14
dtml in rst patch ? --Simon Michael, Thu, 01 Dec 2005 18:47:05 -0800 reply Stefan sent me a small patch a long time ago enabling DTML in reStructuredText pages. All: do you think this is a good idea ? Some people love DTML, some hate it and don't want it even as an option; reST is known to be a stickler for precision and predictable formatting; I'm not sure that enabling DTML in reST is a big win. Stefan: it came bundled with another patch ("change RecentChanges? ZCatalog query-style to avoid deprecation warning"), which I couldn't apply without the above. I'd like to apply it separately. I'd also like you to get proper credit for it in the change history. Would you mind sending it separately ? Possibly it will need to be redone against the current file layout, I don't know. If not no big deal, I'll just do it later. Thank you! chinese update + bracket links patch ? --Simon Michael, Thu, 01 Dec 2005 18:56:12 -0800 reply I have a similar problem with this patch bundle T.C. Chou sent me a few months back: [Updated zh-TW & zh-CN po files tcchou@tcchou.org**20050529041057] { [use_bracket_links option doesn't work tcchou@tcchou.org**20050530174333] { T.C., I rejected the second patch (bracket links) as it didn't seem right, and that code has since been reworked. I don't think I heard back from you about it. Now I'm not sure how to apply just the po file patch, or if you already resubmitted it. Do I remember correctly that you sent me a link to your own darcs repo, from which I could pull directly ? Could you resend, or if some of your work is not yet in the main Zwiki repo, please resend it as a separate patch. All developers: perhaps there's some easy way to get around this that I'm missing, but for the time being it seems the best thing is to send only one patch at a time - don't let it send several of them in a bundle. That way I can quickly apply or reject them individually. Thanks! Zwiki 0.48 released, news --Simon Michael, Thu, 01 Dec 2005 19:18:27 -0800 reply Zwiki is a powerful, easy to use and administer, GPL wiki engine for Zope 2. It works in both standard Zope and CMF/Plone. Version 0.48 has been released at . More useful urls are at the end of this message. Very quiet month in Zwiki-land; I've been paying the bills. Thanks to Stefan Rank, Frank Laurijssens, and especially Encople Degoute for keeping things moving in a good direction! I posted , but time has been short and I'm not sure a year-end 1.0 push will happen. But you never know.. Best wishes for the year-end holidays. -Simon Zwiki 0.48.0 2005/12/01 Summary French and dutch translation updates & several small bugfixes. Changes, |;| instead of space) (Stefan Rank) french translation updates (Encolpe Degoute) i18n code cleanups (Encolpe Degoute) Additional translations for Dutch (Frank Laurijssens) Useful urls: - - start here - free experimental zwiki hosting - zwiki demos and other wikis - blog - wikipedia entry * - darcs repository interface if you don't see the Unsubscribe button, you may have lost your email address cookie --Simon Michael, Thu, 01 Dec 2005 19:20:46 -0800 reply Tom Cloyd: > Hi Tom.. I'll look at it asap. Quick thing to try - re-enter your > email address (the one you would subscribed as in the past) in user > options ("options" at top right). Then visit the subscribe form again, this time one or both buttons should be Unsubscribe buttons. dtml in rst patch ? -- Thu, 01 Dec 2005 20:23:44 -0800 reply If there's no security issue, it's just one more functionality to maintain :) dtml in rst patch ? --tom, Fri, 02 Dec 2005 07:25:06 -0800 reply It would be nice to be able to add wiki metadata (such as the author or last edited time) to the docinfo block of a page. However, I agree that there's a good chance that maintaining this feature would be fairly difficult. I guess that if someone's already provided the patch, then why not? dtml in rst patch ? --Simon Michael, Sat, 03 Dec 2005 08:13:06 -0800 reply Thanks Stefan. I'll apply this I guess. As a matter of interest, what do you use it for ? I have the impression that the people using Zwiki's DTML feature are a very small minority; and that the DTML-lovers who'd choose RST over STX are a very small minority of those. Comment box? --DeanG, Sat, 03 Dec 2005 10:26:38 -0800 reply Did some formattng move the comment box out of sight, or is it just my odd setup? dtml in rst patch ? --Frank Laurijssens, Sat, 03 Dec 2005 15:13:42 -0800 reply DTML support seems to disappear quickly. Last month, I filed bug 4895 at plone.org because a lot of translations had disappeared when I upgraded from Plone 2.1 to 2.1.1 and the i18n stuff in DTML no longer worked. Comment box? --DeanG, Sat, 03 Dec 2005 19:25:59 -0800 reply Odd browser render issue. RecentChangesCamp? --DeanG, Sat, 03 Dec 2005 20:02:45 -0800 reply Gathering in Portland Oregon February 3-5, 2006 ...dangerously close to PyCon? 2006, February 24-26, 2006 Addison, Texas (near Dallas) policy changes coming --Simon Michael, Sun, 04 Dec 2005 19:23:23 -0800 reply I've posted for your feedback.. I hope to post it more widely later. Thanks -Simon use utf-8 encoding for python files --Encolpe Degoute, Tue, 06 Dec 2005 14:33:58 -0800 reply I put encoding headers on all ZWiki files in my repository. I may fix some strange behavior around encoding. use utf-8 encoding for python files --Simon Michael, Thu, 08 Dec 2005 07:10:07 -0800 reply Thanks.. I'm not seeing these in your public repo, the one linked at CodeRepos.. ? use utf-8 encoding for python files --Encolpe Degoute, Thu, 08 Dec 2005 07:20:26 -0800 reply It's only on my laptop in fact. I forgot to synchronise. I will synchronise tonight. It makes all translations change too. Strange html page titles -- Fri, 09 Dec 2005 07:34:12 -0800 reply Hello I have recently set up a Zwiki at spyse.sf.net and am quite happy with it. One thing I don't get is why the window title of the html pages is so strange. The main page has the title "Spyse Home", but the window title is "Spyse Home Spyse Home". Why? How can this be fixed? thanks for your help, Andre Strange html page titles --Simon Michael, Fri, 09 Dec 2005 10:32:09 -0800 reply I think the html title (which you see in the window titlebar, bookmarks, etc.) is the folder's title property plus the page name. Strange html page titles --tom, Fri, 09 Dec 2005 13:00:18 -0800 reply A common pattern in the ZWiki world is to have the FrontPage page be your "store front" to the world while organizing the rest of your content under a page that uses the title of your web site as it's title. So, for example, you could create a page called "Spyse" and organize all of your content under that page heirarchically. Then, you would put all of your "splash" content on your FrontPage page with links to the content under your "Spyse" main page. This is how ZWiki.org and a lot of wiki pages are organized. ZWiki.org even uses a little DTML to create a "portlet" of links to the content under the "main" ZWiki page. It's on the left-hand side of the page, and fairly simple to implement. This, of course, isn't the only way to do things, but it works pretty well for a lot of ZWiki site maintainers, and it would make your page titles look a little more intuitive. Hope that helps! Tom Purl Strange html page titles --EmmaLaurijssens, Fri, 09 Dec 2005 14:58:59 -0800 reply Another thought: if you are running Plone, the portal name is always added to the page title. Strange html page titles --Simon Michael, Sat, 10 Dec 2005 09:35:12 -0800 reply More about page hierarchy: the simplest arrangement is having your front page also be the main parent of all content. Then visitors will see the front page + subtopics without having to dig around. I usually start wikis that way. When the subtopics get overwhelming and you want a simpler front page, you can move most or all of them to a separate page which is not parented under the front page, as I did with . Note, if you run with DTML enabled it's now possible to limit the depth of the subtopics list. does this, and also it displays the subtopics of ZWiki rather than its own. In this situation it might be simpler now to move ZWiki content under FrontPage again. A related issue is whether to give your front page a topical name, like ZWiki, or something generic like FrontPage. The former is sometimes clearer and more recognizable, but when you need to remember a valid page url the latter is easier, also plone recognizes it as the folder's default view by default. Strange html page titles --simon, Sat, 10 Dec 2005 09:44:48 -0800 reply PS, wandering further from this thread's original topic: note that the zwiki.org hierarchy and subtopic ordering has deteriorated a bit of late, don't take it as a textbook example.. Zwiki contributor policy update --Simon Michael, Sun, 11 Dec 2005 08:03:23 -0800 reply Hi all! I'm slightly burned out and bored with certain areas of Zope 2 Zwiki development. I think the product will provide some value for a while yet, and it's not too late to shake things up and make a bigger splash. If we don't do this during the period of Zwiki & Zope 2's relevance, our good work will bring less benefit than it might have. So I'm putting out a call for help. I'd really like to see more people take on development of Zwiki. What are the roadblocks - of my making, and otherwise - to a more active Zwiki developer community ? For one thing I needed to nail down some copyright/license issues more explicitly, to make contributing and accepting contributions more of a no-brainer. Here's my latest thinking: LICENSE Much Zope code uses the ZPL. We want to maximize code sharing and participation with the whole Zope community. Much of the rest of the FOSS world uses the GPL, and the same goes for them. Dual GPL/ZPL licensing may seem a good option, but I'm convinced it's not worth the added complexity, legal uncertainty and fragmentation; either straight GPL or straight ZPL is preferable. GPL is the mainstream license for the future IMHO, I think it's still the best option, and I have no plan to leave it. Also I think we should adopt GPLv3?? I no longer think the single copyright holder policy is best for this project, and I'm going to drop it. I am changing the main repo's policy to multiple copyright holders (& allowing multiple licenses), with the simple condition that the overall project manager is assigned the right to relicense to newer license versions. The powerful darcs revision control system (together with new CONTRIBUTORS list) should help us to keep track of copyright & licensing status and even remove problematic commits later if needed. CONTRIBUTOR'S AGREEMENT To ensure that everyone gets proper credit for their work; a clear audit trail and legal status for the project; and that the project can remain license-compatible with other free & open-source software in future, I have added a very simple contributor agreement/contributor list: . All Zwiki contributors should read and consider signing this file, to help us meet these goals. You can follow this easy procedure to add your name to the glorious list: (install darcs if needed, see) darcs get --partial cd ZWiki echo "- Your Name <your@email>" >>CONTRIBUTORS.txt darcs record -a -m"signed it" CONTRIBUTORS.txt (enter your name & email address again) darcs send This will become the authoritative list of code committers (at least), and I'll be working to make sure all of you are listed properly. Many have donated their time and creativity over the years - this list will make that clearer. All comments, help and other ideas welcome. And I hope to see some of you online or off. Happy holidays, and thanks -Simon ButtonBar?? --DeanG, Mon, 12 Dec 2005 08:14:25 -0800 reply Anyone implemented a "ButtonBar?" plain text formatting assistant for StructuredText or reStructuredText? A button bar is similar to the one in MediaWiki? editor where it isn't a WYSIWYG editor, but a toolbar which will insert the markup alongside your text. Saw this implemented in PMWiki? I like this a lot better than WYSIWYG, as it retains the PlainText? nature of the wiki content. Re: ButtonBar? --Bill Page, Mon, 12 Dec 2005 08:24:45 -0800 reply We have implemented something like that at not just for StructuredText but also for the Axiom and LaTeX? interfaces. It uses some basic javascript. Cross browser compatibility is a bit of a problem. I would be glad to discuss ways of improving this. Re: ButtonBar? --DeanG, Mon, 12 Dec 2005 08:27:27 -0800 reply Nice! +1 on the comment Preview!! Strange html page titles -- Thu, 15 Dec 2005 13:31:12 -0800 reply After playing around with your hints and reparenting pages in various ways I still cannot figure out how to make the window title more intuitive. If it only was true that the window title was folder title + page title, but that does not seem to be the case. The title I get is TWICE the title of any page I view. When I change the title field of /SpyseHome?, for example, from "Spyse Home" to "XYZ", the window title becomes "XYZ XYZ". It should be something like "Spyse Wiki - XYZ", however ("Spyse Wiki" is the top-level title of the ZWiki instance). How do you guys manage to have it well titled? IRC down? -- Fri, 16 Dec 2005 10:53:00 -0800 reply Had trouble logging onto IRC via GAIM today. Is it down? IRC down? --Encolpe Degoute, Sat, 17 Dec 2005 00:42:11 -0800 reply No, GAIM it's down for IRC stuff. Use XChat?. Migrating namespaces -- Tue, 20 Dec 2005 06:48:50 -0800 reply Looking for advice, history, etc.. How have you dealt with content coming into a Zwiki when migrating a wiki that has actively used the Sub-wiki page forward-slash namespacing? Do they easily fold into Topics/Subtopics? At what point have decreed "New Subwiki!"/WikiFarm? Do you keep up the pattern with keeping the namespace? Namespace/Page , or Namespace-Page diff -- Tue, 20 Dec 2005 08:26:07 -0800 reply After some searching I found that adding /diff after a page's url gives me access to the change history - very nice! Would it be possible to add the date and author of each change, too? And add an optional overview of all modifications on one page instead of separate pages (not Full History)? Thanks a lot. diff --Phil Schumm, Tue, 20 Dec 2005 10:08:43 -0800 reply I had a brief conversation with Simon back in March regarding potential enhancements to ZWiki's diff interface (I am including that conversation below since it never made it onto zwiki.org). Suffice it to say that some additions/changes to the diff page would make it much more useful for us too, and the changes you suggest (i.e., adding the datetime and author of each change and a concise way to look at the full history) are certainly among them. Unfortunately this is simply not a priority for me right now (as you can tell -- I've done nothing on it since March), and that's unlikely to change in the near future. -- Phil On Mar 28, 2005, at 5:43 AM, Phil Schumm wrote: Although ZWiki's history browsing mechanism (via calling the diff method on a page) has some nice features (e.g., the ability to page back and forth between successive changes and nicely formatted comparisons), there are a few problems. For example, using the "Revert change" button fails to reset the page's last_edit_time appropriately. In addition, going back more than 20 revisions and/ or locating a particular revision by date or author requires using the ZMI. A number of issues have already been posted WRT these matters, for example: Clearly, the biggest limitation here is the reliance on the ZODB for document storage. Nevertheless, an improved interface that addresses some of these issues would be very helpful to our users (and, I suspect, to others out there). With this in mind, I was wondering if someone had already written down some ideas on this -- a sort of ZWiki Enhancement Proposal, if you will. If not, does anyone think this would be helpful, and if so, where on zwiki.org is the best place to do it? I'd prefer to see where others are on this first before I start coding a solution just for myself. On Mar 28, 2005, at 12:24 PM, Phil Schumm wrote: At 9:13 AM -0800 3/28/05, Simon Michael wrote:Thanks Phil. You're asking in the right place. There's no prior work on this as far as I can remember. When it's time to make it more of a proposal, you could open a wishlist issue in the IssueTracker. Ok, I will.The current history feature can be made a lot more useful with just UI improvements, but is still hampered by the reliance on zodb history. Two workarounds (which I haven't tried myself) are to never pack your zodb, possibly mounting a separate zodb just for your wikis (zope.org does this); and using DirectoryStorage? to store revisions on the filesystem. It would be great to have solid, non-memory-bloating storage of page revisions 1, 2, ... n that worked out of the box. I have several ZWikis?, and each is stored in its own ZODB file using a separate mount point so that I can repack individually, and so that I can repack the rest of the ZODB without affecting the Wikis. This strategy also makes the Wikis easier to move (since for the moment, my creation_time properties are still getting reset when I copy/extract a ZWiki). This strategy works well for me. I don't store code in the Wikis (nor any of my own personal writing), but instead use them for project documentation and other types of collaborative writing. Thus, it's not a problem to discard changes older than one year every once in a while. And since we keep nightly archives, nothing is ever truly lost. In my case, I have disabled the "Revert changes..." button on the history page (since it doesn't reset the last_edited_time) and have, for the moment, overridden manage_change_history_page() (still available via the "full history" button) so that the interface works a bit better for users without management permissions or experience with the ZMI. But these are only intended as stop-gap measures. I don't know how you might feel, but personally I like ViewCVS?'s interface a lot. For example, suppose that "full history" took you to a formatted list of previous versions, each item indicating the username, date, and edit note corresponding to the version (here the edit note would be similar to the commit message in CVS). We might cull from this list any versions which did not result in an actual change to the page's content, and perhaps also present it in batched form. Within each item in the list, links could be presented either (1) to take the user to the source of the previous version, or (2) to revert to that version. And finally, we could have a form at the top and/or bottom that would permit you to diff between any two versions (including the current one), perhaps using a similar output format to ViewCVS?. On Mar 31, 2005, at 9:19 AM, Simon Michael wrote: It sounds good. I also like trac's diff display. I18Nlayers with ZWiki in Plone? --Bill Page, Tue, 20 Dec 2005 17:55:19 -0800 reply In Plone there is a product called I18NLayer which provides multi-lingual document features, i.e. documents can have different language variants which are displayed depending on the browser language settings. I think it would be very cool if this feature was available to ZWiki pages in Plone. In fact is sort-of kind-a works because the I18NLayer does attempt to insert itself if one attempts to specify a translation for a wiki page. What happens is that the original version of the FrontPage becomes an ZWiki page named en in a folderish I18NLayer object named FrontPage. Access to FrontPage still works because the I18NLayer maps this to the en page. Things fail when it tries to create for example the fr object which would be the French variant of the FrontPage. The fr Zwiki page is created but I get an error "copy error" message. But I can patch things up in the ZMI by manually editing the content of fr. Now in Plone I can switch between the English and French version of FrontPage. Anyone have any ideas about making this really work? Is there much interest in this sort of feature? SearchPage? thorough search -- Tue, 20 Dec 2005 18:41:40 -0800 reply +1 !! Remove the "for spam" comment and chuck that one into the searchpage product code. :D New ZWiki Theme --TomPurl, Thu, 22 Dec 2005 07:40:31 -0800 reply Hey again guys. I've been working on a new theme for ZWiki that's a copy of the Kubrick theme for Wordpress. You can see a rough snapshot of it on the ZWikiKubrick page. Anyhoo, so far I've been editing my .pt files via the ZMI, which has been very nice and handy. Now, however, I'm to the point where I would like to save my .pt files to disk so I can do things like check my HTML into darcs. The problem is that I have no idea how to do this. I've scoured this web site for some info, but I couldn't find any docs on this. I also looked at the source code for ZWiki, but quickly became lost. Can someone please point me in the right direction? Is there a page that I'm missing? If the page doesn exists, then could someone then give me a 30-second overview as to how something like this is done? Thanks in advance! New ZWiki Theme --Tom Purl, Thu, 22 Dec 2005 07:49:18 -0800 reply I just realized that my question was very vague. What I want to do is to integrate a new theme/skin into the ZWiki product. So, when you're looking at the the ZWiki product folder, there would be something like a ZWikiKubrick folder. I'm not too concerned with doing anything fancy at this point, like making the theme an option for new wikis. I just want to add it to the filesystem so I'm no longer doing my editing/revision management through the ZMI. Thanks again! kupu_library_tool -- Fri, 30 Dec 2005 10:59:23 -0800 reply as a Resource Type:Linkable. Error: Resource type: linkable, invalid type: ZWiki Page Any thoughts?
http://zwiki.org/GeneralDiscussion200512
CC-MAIN-2019-22
refinedweb
4,006
71.95
: $ tar -zxvf doalarm-0.1.7.tg Compile doalarm: $ cd doalarm-0.1.7 $ make $ ./doalarm Sample output: Error: missing required parameter Usage: doalarm [-hr] [-t type] sec command [arg...] Run command under an alarm clock. Options: -t Type of timer: 'real' (SIGALRM), 'virtual' (SIGVTALRM), --timer= 'profile' (SIGPROF), 'cpu' (SIGXCPU). Default 'real'. -r --recur Recurring alarm, every sec seconds. -h --help Show help text (this message). --version Display version. doalarm 0.1.7 (14 Dec 2001) Run foo as follows: $ doalarm 20 foo You can also do it with bash using sleep and job control: $ foo & sleep 10 && kill %1 && fg Good one, I have to download and use it. Thanks. The tip from Professor Fapsanders is also useful, we can make it more significant to kill the last background process by this: $ sh foo & sleep 5 && kill $! && fg // Jadu, unstableme.blogspot.com Great, thanks! Warning: the tip from Professor Fapsanders only works if “foo” does not require any input (background processes cannot do that). For the general case, you need to background the alarm process instead, as the sample “timeout” script does. $ sh foo & sleep 5 && kill $! & fg ### (note the last “&” is not “&&”, so you foreground the job immediately) How can i suppress the stupid ‘alarm clock’ output when the timeout expires? I’m running “perl -e ‘alarm shift @ARGV; exec @ARGV’ 5 cat” it terminates the cat command after 4 seconds but then i get stupid ‘Alarm clock’ output on the screen. I have to use this command in a shell script and i don’t want this output. I have tried redirecting standard error and std out but if i specify >/dev/null at the end of cat command, it redirects ‘cat”s output not from perl -e….. Any ideas? Thanks a lot Yup, you can redirect the error output to stdout: append ” >/dev/null 2>&1″ to the command even m facing the error, in the code below #include #include #include using namespace std; void onAlarm(int a) { cout<<"Alarm Buzzz\n"; sleep(2); exit(0); } int main() { signal(SIGALRM, onAlarm); cout<<"enter\n"; alarm(3); execl("./sant/a.out","./a.out",(char*)0); } if the file a.out has a sleep of say 10 seconds then it wont execute the onAlarm() function, instead it would just show Alarm clock can u help? Thanks Peter. But the problem is appending >/dev/null 2>&1 to the command redirects stdout and stderr for the “command” not for the perl. So even by appending this to the command i still get “Alarm Clock” after command terminates. For example perl -e ‘alarm shift @ARGV; exec @ARGV’ 5 foo arg1 arg2 > /dev/null 2>&1 ‘ will redirect output and stderr from ‘foo’ command not from the alarm command. Thanks hey, you’re right… that’s funny. I tried to dig some deeper using strace and funnily it does not show up then: strace perl -e “alarm shift @ARGV; exec @ARGV” 5 cat >/dev/null 2>&1 interesting issue, I do lack enough time to investigate regards Thanks. Using the perl snippet is neat. Pretty much all UNIX systems come with bash and perl. So, this is cool. Thanks, the doalarm program worked very nicely for my purposes. God bless you! There is a command “timeout” in the latest Ubuntu Linux (10.10). Example: date; timeout 10m foo; date Thanks, that works great! thanks a lot ! the do alarm program works fine for me.
http://www.cyberciti.biz/faq/shell-scripting-run-command-under-alarmclock/
CC-MAIN-2016-22
refinedweb
573
73.47
User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:2.0b11pre) Gecko/20110129 Firefox/4.0b11pre Build Identifier: Web plugins (e.g. Flash) are not currently used by Firefox for Mobile (Fennec). Flash is available on Android 2.2 and later (a large proportion of Android Smartphones). If it is available on the phone it is installed on, it should be made use of - enable/disable-able in the add-ons preferences like desktop plugins. Reproducible: Always Steps to Reproduce: 1. Go to a webpage that uses a plugin installed on the device 2. Attempt to view/use content Actual Results: Plugin not used, and webpage not displayed as the designer intended as a relult Expected Results: Plugin is used by Fennec to optimize User eXperience. making this a meta bug, unless there's already one tracking flash for android fennec support. For The Record: What is blocking flash(/other-plugins-in-future) support in Firefox-on-Android? I know that currently only the default browser has made use of flash, is there no open API? 2.0next per blassey. I don't really care if we support or don't support flash. flash = in top 3 user requests / complaints only 3 users request flash support? really? have you seen the android reviews. I've only seen 3 that DON'T request/complain about flash. Many are giving as little as 1 star because of it. I feel as soon as an API is discovered/released it should be made use of (of course with an end-user option to "disable plugins such as Flash").... Oh, thanks for the clarification Brian. I did suspect it was lack of API documentation... I certainly couldn't find any. One of the things Google boasts about Android is the ability for different apps to interact with one-and-other... I would request someone important in Mozilla email Google (CC'ing Adobe), requesting API documentation, and post the reply here. to clarify my thoughts. Comment #3 should have read: I do not care if we support or don't support flash "in this release". We are basically a few weeks from shipping and do not think we have the ability to provide a high quality browser experience w/ flash and ship on time. Fennec 1.x did not provide flash support, and at this point, I would consider adding flash to be a feature request. I am sorry, it was a bit bitchy and trolly. I should do better. I assume you mean sipping Beta 5? Or are you referring to Final? (In reply to comment #9) > I assume you mean sipping Beta 5? Or are you referring to Final? If we magically had a patch today, it would be at risk for final. Barring that magic I don't see how we can get flash support in for this final release. what brad said I have built and loaded a plugin which shows up in about:plugins, but it doesn't get initialized. What parts are missing in Fennec for this to work? The following changeset mentions some parts which still needs to be implemented: But are those needed for the plugin to get initialized at all? NP_Initialize is not called in my case. *** Bug 636541 has been marked as a duplicate of this bug. *** *** Bug 643099 has been marked as a duplicate of this bug. *** *** Bug 644647 has been marked as a duplicate of this bug. *** (In reply to comment #2) > For The Record: > What is blocking flash(/other-plugins-in-future) support in Firefox-on-Android? > I know that currently only the default browser has made use of flash, is there > no open API? I don't think so bacause Opera Mobile 11 for Android can use flash plugin Maybe someone from Mozilla can contact Google's Android Team directly about this. Or even Adobe. For the record the Dolphin mini and Dolphin HD browsers on Android also support flash just fine. Scott pointed me towards this source links in the stock browser. Not sure if anyone has gone digging in the source before.;a=tree;f=WebKit/android/plugins;h=dbba8af7508f22b2a26109f23d76504a7816016c;hb=refs/heads/honeycomb-release;a=blob;f=core/java/android/webkit/PluginManager.java;h=e5eeb8cf59c5039e022a402172125f86fa7f8716;hb=HEAD;a=tree;f=core/java/android/webkit;h=a5b9c890cd867e9114596f19b51e79b60926974a;hb=HEAD Although I am investigating this during last week, we need several changes. - We needs change nsXREDirProvider to use JNI wrapper. - We should add android_npapi.h, ANPSystem_npapi.h and etc to module/plugin/base/public - NP_Initialize needs 3rd parameter that is JNIEnv. flash player uses it. plugin-container doesn't run under JavaVM, so we create JavaVM on this process, or use IPC to connect chrome process. Although I don't get success to load flash, I continue to investigate. This code works about:plugins, but NP_Initialize still returns error. I took brad's work and started on: This kinda renders the sample plugin okay (minor clipping, rect verses oval): Makoto+Blassy, we should sync up today. Blass*e*y (In reply to comment #6) >. It can't be documentation as the Dolphin browser has it working, Mozilla needs to get there act together on this as I was prepared to switch to Firefox but have gone back to Dolphin, until you get flash working. (In reply to comment #24) > It can't be documentation as the Dolphin browser has it working, Mozilla > needs to get there act together on this as I was prepared to switch to > Firefox but have gone back to Dolphin, until you get flash working. We're working on it. But please not that Dolphin uses the same webkit as the stock browser, they get it for free. Thanks for your work on this. Once Flash is working in FireFox, we'll have a definitive choice for best mobile browser IMO. I'm excited to see progress on this. I believe that this implementation is one of the most important to Fennec in this days. All we believe that open standards are the way, and HTML5 is our goal but Flash is very important ... Why ? Well, all we know there are a war between IOS and Android, and in IOS side there are a lot of good stuff in hardware and software world, and in Andriod side we have this too. But it's improbable the we (Fennec) get authorization to run in IOS (Apple politics), then the mobile future for us is Android. Despite the great value of Android (Open source, open market, etc..) for the end user they two tend to be equivalents, similar. In this scenario one big difference is tha capability of Android to run ALL sites, even those that run Flash, and of course for the final user doesn't matters if it's Flash or Java or JavaScript ! Today the advertising of Motorola Xoom on TV say .... AND IT RUN FLASH ! Why this ? It's because people want to access all sites. Today the default Android browser runs Flash, we (Fennec) not, I believe the we are losing a great opportunity of grow our market share on Android devices, because we don't run what a final user that bought a Android device (not an IOS) wants to run ! In the future when we start to run Flash, there would be time to recover the lost space in Android market share ? Understood: Flash is a reality today, which is why we are working on it (see above). Android tablets use Flash aggressively in their advertising because it is one of the few differentiators to the iPad. In my opinion though, that does not suddenly make Flash any more or less important. Just saying. Has this stalled? It got P1 five months ago and including Firefox 5 we're looking at releasing at least two major versions without Flash which doesn't look good considering we're being touted as the only browser on Android to not support Flash: I understand this comment isn't the most helpful, but I'd rather we nipped reviews like this in the bud. Paul, we are working on it. But it is going to take some time. The "other browsers" are either WebKit clones or proxy browsers. We are on it! Opera Mobile supports Flash and it is not a WebKit clone. I don't think it's a proxy browser either, is it? Bugs are the place to discuss technical issues related to the topic. Although, all of your points are interesting, they are not helping this work move forward. Please take these conversations else where. *** Bug 678912 has been marked as a duplicate of this bug. *** *** Bug 678914 has been marked as a duplicate of this bug. *** *** Bug 678920 has been marked as a duplicate of this bug. *** . (In reply to ekerazha from comment #36) > . He meant that, as *this* is a bug, it is a place for *technical* discussion, and *not* the place for 'me too's, 'program X already does this', or other nontechnical comments. Technical discussion consists of comments that actually move the process of fixing it forward, like "line X in file Y is the source of the bug" or "this patch fixes it for me." Created attachment 556870 [details] [diff] [review] front-end patch Created attachment 556872 [details] [diff] [review] android plugins Josh, please review the plugin bits. Comment on attachment 556872 [details] [diff] [review] android plugins chris, please review the android bits note: this is froyo only. Comment on attachment 556872 [details] [diff] [review] android plugins Review of attachment 556872 [details] [diff] [review]: ----------------------------------------------------------------- r+ from me, comments aside (which are mostly nit-picking) - If we disable it by default, it might be good to land this to make it a bit easier to work on? ::: dom/plugins/base/ANPAudio.cpp @@ +90,5 @@ > +{ > +public: > + NS_DECL_NSIRUNNABLE > + > + AudioRunnable(ANPAudioTrack* s) { ANPAudioTrack* aTrack? I suppose it doesn't really matter what with it not being public. @@ +144,5 @@ > + at.write, > + bytearray, > + wroteSoFar, > + buffer.size - wroteSoFar); > + wroteSoFar += retval; not that we use it afterwards I suppose, but this ought to be below the if (retval < 0) below. @@ +251,5 @@ > + > + s->keepGoing = false; > + > + // deallocation happens in the AudioThread. There is a > + // potential leak if anp_audio_start is never called, but It wouldn't be a big deal to handle this case though? I could see Flash changing in a later version and this coming back to bite us. ::: dom/plugins/base/ANPPaint.cpp @@ +295,5 @@ > + p->textSkewX = skew; > +} > + > + > +/** Return the typeface ine paint, or null if there is none. This does not typo (s/ine/in/) @@ +322,5 @@ > + if (!paint) > + return; > + > + ANPPaintPrivate* p = (ANPPaintPrivate*) paint; > + // p->typeface.mFont = typeface->mFont; Do we want a not-implemented LOG here? ::: dom/plugins/base/nsNPAPIPluginInstance.cpp @@ +875,5 @@ > nsresult > nsNPAPIPluginInstance::IsWindowless(PRBool* isWindowless) > { > +#ifdef ANDROID > + *isWindowless = PR_TRUE; Is this correct? Going on the comments in the headers, I'd have thought this depends on the drawing model? (if it is, maybe a comment explaining why would be good?) @@ +1129,5 @@ > NPP npp = t->npp; > uint32_t id = t->id; > > + // Some plugins (Flash on Android) calls unscheduletimer > + // from this callback. Does Flash expect the timer to be unscheduled if it calls this though? If this was a repeat timer, it would continue - should we check for this? ::: dom/plugins/base/nsPluginHost.cpp @@ +2236,5 @@ > if (NS_FAILED(rv)) > continue; > + > + nsCString path; > + nextDir->GetNativePath(path); Unused variable? ::: dom/plugins/base/nsPluginInstanceOwner.cpp @@ -1902,5 @@ > #endif > > nsEventStatus nsPluginInstanceOwner::ProcessEvent(const nsGUIEvent& anEvent) > { > - // printf("nsGUIEvent.message: %d\n", anEvent.message); I guess this was accidentally removed? @@ +2852,5 @@ > + aFrameRect.width != pluginSurface->Width() || > + aFrameRect.height != pluginSurface->Height()) { > + > + pluginSurface = new gfxImageSurface(gfxIntSize(aFrameRect.width, aFrameRect.height), > + gfxImageSurface::ImageFormatARGB32); Why do we use an ARGB32 surface here instead of RGB16? ::: embedding/android/AndroidManifest.xml.in @@ +22,5 @@ > + <uses-permission android: > + <uses-permission android: > + <uses-permission android: > + <uses-permission android: > + <uses-permission android: We already have ACCESS_NETWORK_STATE above @@ +23,5 @@ > + <uses-permission android: > + <uses-permission android: > + <uses-permission android: > + <uses-permission android: > + <uses-permission android: Included twice? ::: embedding/android/GeckoApp.java @@ +136,5 @@ > > + public static final String PLUGIN_ACTION = "android.webkit.PLUGIN"; > + > + /** > + * A plugin wishes to be loaded in the WebView must provide this permission Grammar nit-pick :) (s/A plugin wishes/Plugins that wish/) @@ +159,5 @@ > + > + synchronized(mPackageInfoCache) { > + > + // clear the list of existing packageInfo objects > + mPackageInfoCache.clear(); Do we need to do all of this work more than once? I suppose if you install new plugins while fennec is running, but is that likely/are there better ways to handle that? (or have I misunderstood?) @@ +162,5 @@ > + // clear the list of existing packageInfo objects > + mPackageInfoCache.clear(); > + > + > + for (ResolveInfo info : plugins) { blimey, didn't know you could do that in Java... Cool! ::: embedding/android/GeckoAppShell.java @@ +1498,5 @@ > + n = 2; > + else > + n = 4; > + > + if (n == 0) n can never be zero here - is the above meant to be an else if (format == PixelFormat.RGBA_8888)? (this is how it's treated below) @@ +1518,5 @@ > + info.width = info.canvas.getWidth(); > + info.height = info.canvas.getHeight(); > + > + info.buffer = ByteBuffer.allocateDirect(bufSizeRequired); //leak > + Log.i("GeckoAppShell", "!!!!!!!!!!! lockSurfaceANP - Allocating buffer! " + bufSizeRequired); Could we use Bitmaps instead of ByteBuffer for these? Perhaps when bug #662891 is resolved. @@ +1582,5 @@ > + Log.i("GeckoShell", "post to " + (mainThread ? "main " : "") + "java thread"); > + // if (mainThread) > + getMainHandler().post(new GeckoRunnableCallback()); > + // else > + // getHandler().post(new GeckoRunnableCallback()); Comment explaining why this is always posted to the main thread? ::: layout/generic/nsObjectFrame.cpp @@ +1682,5 @@ > nsObjectFrame::PaintPlugin(nsDisplayListBuilder* aBuilder, > nsRenderingContext& aRenderingContext, > const nsRect& aDirtyRect, const nsRect& aPluginRect) > { > + if (mInstanceOwner) { Should this be in an android-only #ifdef? ::: mobile/app/mobile.js @@ -427,5 @@ > pref("browser.ui.touch.bottom", 4); > pref("browser.ui.touch.weight.visited", 120); // percentage > > -// plugins > -#if MOZ_PLATFORM_MAEMO == 6 Maybe this should just be extended with an Android case? This will enable plugins on desktop and Maemo != 6 too. @@ -432,5 @@ > pref("plugin.disable", false); > -#else > -pref("plugin.disable", true); > -#endif > -pref("dom.ipc.plugins.enabled", true); Has this pref been purposefully removed? Comment on attachment 556872 [details] [diff] [review] android plugins Review of attachment 556872 [details] [diff] [review]: ----------------------------------------------------------------- Lets put all of the Android files in "dom/plugins/base" into their own sub-directory called "android". Is "android_npapi.h" an exact copy of the file from the Android source or did you modify it? ::: dom/plugins/base/PluginPRLibrary.cpp @@ +35,5 @@ > * the terms of any one of the MPL, the GPL or the LGPL. > * > * ***** END LICENSE BLOCK ***** */ > > +#include "base/basictypes.h" Can you also make this ifdef ANDROID? Is this even necessary? ::: dom/plugins/base/npfunctions.h @@ +49,5 @@ > #include "npruntime.h" > > +#ifdef ANDROID > +#include <jni.h> > +#endif Any changes to npfunctions.h will need to be upstreamed to npapi-sdk, then we can sync npapi-sdk to Mozilla. ::: dom/plugins/base/nsNPAPIPlugin.cpp @@ +115,5 @@ > > #include "mozilla/plugins/PluginModuleParent.h" > using mozilla::plugins::PluginModuleParent; > > +using namespace mozilla::dom; What is this for? @@ +2348,5 @@ > // fall through > default: > +#ifdef ANDROID > + LOG("unhandled get value: %d", variable); > +#endif Can we make this a debug-only logging statement for all platforms? ::: dom/plugins/base/nsNPAPIPluginInstance.cpp @@ +74,5 @@ > > static NS_DEFINE_IID(kIOutputStreamIID, NS_IOUTPUTSTREAM_IID); > static NS_DEFINE_IID(kIPluginStreamListenerIID, NS_IPLUGINSTREAMLISTENER_IID); > > +NS_IMPL_THREADSAFE_ISUPPORTS0(nsNPAPIPluginInstance) I don't think nsNPAPIPluginInstance is thread-safe. @@ +87,5 @@ > #endif > #endif > +#ifdef ANDROID > + mDrawingModel(0), > + mSurface(nsnull), These initializations are going to be out of order. @@ +1205,5 @@ > if (!t) > return; > > + if (t->running) > + return; Seems like you could leave the timer running here. How about instead of just bailing and letting this run indefinitely you post a runnable that unschedules the timer? ::: dom/plugins/base/nsNPAPIPluginInstance.h @@ +67,5 @@ > NPP npp; > uint32_t id; > nsCOMPtr<nsITimer> timer; > void (*callback)(NPP npp, uint32_t timerID); > + PRBool running; People will assume that this "running" variable will reflect whether or not the timer is running. It really reflects whether or not we're actually in the callback. Please change the name to reflect that, something like "inCallback". @@ +213,5 @@ > NPDrawingModel mDrawingModel; > #endif > > +#ifdef ANDROID > + PRUint32 mDrawingModel; Why not just use the same mDrawingModel declaration above, which is currently used for Mac OS X? And why not have the type be mDrawingModel? ::: dom/plugins/base/nsPluginInstanceOwner.cpp @@ +1707,5 @@ > + } > + else { > + NS_ASSERTION(PR_FALSE, "nsPluginInstanceOwner::DispatchFocusToPlugin, wierd eventType"); > + } > + mInstance->HandleEvent(&event, nsnull); Are you sure you don't want to call PreventDefault() and/or StopPropagation() here? ::: layout/generic/nsObjectFrame.cpp @@ +1694,5 @@ > + gfxContext* ctx = aRenderingContext.ThebesContext(); > + > + mInstanceOwner->Paint(ctx, frameGfxRect, dirtyGfxRect); > + return; > + } Android ifdef? Chris -- Thanks for your feedback. I basically fixed everything in the next patch. I am probably going to do some thing later (like perf work): > ANPAudioTrack* aTrack? I suppose it doesn't really matter what with it not being public. Okay > not that we use it afterwards I suppose, but this ought to be below the if (retval < 0) below. We use it in an unlikely log. Either way, fixed. > It wouldn't be a big deal to handle this case though? I could see Flash changing in a later version and this coming back to bite us. There will be honeycomb audio changes which I can address this issue. > typo (s/ine/in/) Fixed > Do we want a not-implemented LOG here? Fixed > Going on the comments in the headers, I'd have thought this depends on the drawing model? Added comment. Right now, all we support is windowless. There is a window interface in honeycomb that allows us to return a Native widow. So, fix later when we support honeycomb. > Does Flash expect the timer to be unscheduled if it calls this though? If this was a repeat timer, it would continue - should we check for this? In any case, it is illegal. I reported this to Adobe. They will leak because they are misusing the API. > I guess this was accidentally removed? commented out code like this should be removed with fire. > Why do we use an ARGB32 surface here instead of RGB16? This is only in the ANP_BITMAP_DRAWING_MODEL case which we should probably consider removing. Flash doesn't use it, only the sample plugin does. It is a simpler API, but not a very useful API for flash. > ACCESS_NETWORK_STATE Cleaned that up. > Grammar nit-pick :) (s/A plugin wishes/Plugins that wish/) schoolboy. fixed. > Do we need to do all of this work more than once? Plugin scanning should be dynamic. I don't think I care the much at this point. I will file a followup! > n can never be zero here - is the above meant to be an else if (format == PixelFormat.RGBA_8888)? (this is how it's treated below) Yes, you're right. I fixed that and we have a specific test for 8888. If the pixalformat is something else, then we keep n at 0 and return null. You never know. > Bitmaps instead of ByteBuffer Maybe. Its a lot of work for possibility no gain. We want to see if the plugins get resized a lot, i know that we did this in the widget code for software rendering, but this may be something different. I'll keep a comment there and we should get data. Also, this path will only be on pre-honeycomb. > postToJavaThread It only can go to the main handler. I want to discuss with blassey a bit more when he gets back, but sending to just the main thread wfm. I will remove the commented out code and just leave the LOG. > nsObjectFrame::PaintPlugin Yup.. ifdef missing :) thanks! > mobile/app/mobile.js For this change, i am simply going to disable plugins on Android. In the front end patch, we can enabled them.. Josh. Thanks for the quick review. I have address all of your concerns. The android_npapi is exactly the same expect for the 4 typedefs at the bottom of the file. These if'defs are ironically used in the header, but aren't defined on android -- at least not through the standard includes that gecko is using. > +#include "base/basictypes.h" removed. > +using namespace mozilla::dom; removed. > Can we make this a debug-only logging statement for all platforms? Yes, converted it to a NPN_PLUGIN_LOG instead. > I don't think nsNPAPIPluginInstance is thread-safe. We only need the isupports to be thread safe. Take a look at the SufaceGetter xxxx > These initializations are going to be out of order. Fixed. > runnable that unschedules the timer? I reported the problem to Adobe. I really hate to work around shitcrap like this, but it is probably a good idea. Fixed. > Please change the name to reflect that, something like "inCallback". Fixed. > Are you sure you don't want to call PreventDefault() and/or StopPropagation() here? I am not sure. I don't see any reason for that. I haven't seen any problems that lead me to believe that this is a significant issue right now. > Why not just use the same mDrawingModel declaration above, which is currently used for Mac OS X? And why not have the type be mDrawingModel? On android, the drawing model is of type ANPDrawingModels (an enum). On Mac, it is of type NPDrawingModel (also an enum). You can't assign one to the other without casting. Would you rather me change the MacOS one to an PRUint32? > I remove the npfunction changes. This is something that google+android should standardize if they want. To me, this is a crappy workaround. It really should have gone through the standardization process. Or - it should have been changed in android_npapi. New patch coming up... Created attachment 559709 [details] [diff] [review] patch v.2 still includes np_function changes. building without them were kinda cumbersome. Lets see about moving these changes into the proper header. josh, what can I do there? Comment on attachment 559709 [details] [diff] [review] patch v.2 Please just finish the move of android files to their own directory and file a bug on syncing npfunctions with npapi-sdk, like we talked about. For the record - I only reviewed the interaction of this implementation with existing plugin code. I didn't review the bulk of the android implementation itself. Comment on attachment 556870 [details] [diff] [review] front-end patch Some general changes I'd like to see in the front-end patch: * Remove the Site Menu entry. We don't want that menuitem shown for all pages and we can't limit it to flash-only pages. And we don't overly promote this feature at this stage. * We need to make sure session history is used to preserve state when creating the new parent process tab. We don't want the back/forward state to be lost. * "PluginReloadChromeEvent" -> "PluginDemandLoad" Comment on attachment 559709 [details] [diff] [review] patch v.2 This part landed in inbound as: But had to be backed out again due to qt build bustage and oranges on other platforms: minor changes on inbound. basically didn't need a #include which caused that Bq failure. and needed to ifdef a change for android that dealt with the empty string verses null in one of the mCachedAttrParamValues. also, i added license headers to the new files. filed 687265 for the fennec UI bits. filed 687266 for upstreaming the np_function bits. Bug 687267 tracks honeycomb support (In reply to Doug Turner (:dougt) from comment #50) > That changeset was backed out. The actual landing was: Please can the inbound changesets be added to the bug each time, since otherwise it makes following multiple landings/backouts harder than it need be, for the people doing the merge. Thanks :-) Comment on attachment 559709 [details] [diff] [review] patch v.2 Comment 53 says this has been checked in (in a modified form); marking so. Comment on attachment 556870 [details] [diff] [review] front-end patch The front-end part has been moved to bug 687265 apparently, marking this as obsolete. Tweaking summary per commit message. Blocks the front-end part in bug 687265. Hi, I have a fair reason to have Flash working on Fennec. I have several websites (corproate is one) that has flash in a section that uses NTLM authentication. So I would benefit from both, the NTLM Authentication (GREAT JOB by the way, works flawlessly) and adding the Flash would be a major + for us. Thanks! Hi, I have a fair reason to have Flash working on Fennec. I have several websites (corproate is one) that has flash in a section that uses NTLM authentication as well. So I would benefit from both, the NTLM Authentication (GREAT JOB by the way, works flawlessly) and adding the Flash would be a major + for us. Thanks! If setting the litmus flag was on purpose please reference the appropriate test in a comment. Clearing flags that were set on an old bug.
https://bugzilla.mozilla.org/show_bug.cgi?id=630007
CC-MAIN-2017-04
refinedweb
4,102
67.04
0 I was tried to debug to find an explanation to this but i still don't really understand the concept. Here goes. //pass in value //973 456.2 77F //973 456.2 77F #include<iostream> using namespace std; int main() { char letter; int n; float m; cin>> m; cin.clear (); cin.ignore (200, '\n'); cin>> letter>> n>> n; cout<< letter<< m<< n<< endl; //pass out 9973456 } I am stuck in how does cin.clear() and cin.ignore(200, '\n') work and does it really ignore 200 characters? If possible, a total explanation of how the whole snippet works will be desirable. Thanks again for spending time to look at my code. I welcome any suggestion and criticism. :)
https://www.daniweb.com/programming/software-development/threads/413257/clarification-of-cin-function
CC-MAIN-2017-39
refinedweb
118
77.33
Argh, Sezai beat me to this post about SPFormContext and SPControlMode by a few hours! I have to admit my sentiment is the same as his - I'm super stoked to have found this class. Oftentimes, we need some code to execute, but only in the "published" state (old MCMS terminology). We might want a component to run certain logic, but it's really only relevant if the page is in a live/published state. In other words, the logic does not matter when we are viewing the page as authors, editors, or administrators - we either don't care, or we just don't want the logic to execute. (Could be vice-versa; execute some code only if we're NOT in published state.) For example, my UE developer asked me to hide all mark-up surrounding a publishing site field. After all, if there isn't any content to display, then why bother rendering the DIV tags, or possibly some heading (H) tags? By performing a check for content, we can avoid a situation where a "News" header appears, but there's nothing it. So, I created a control that wraps around all the mark-up that comprises a UI element/section. If there is no content, the control, and its children, will not render. However, we always want it to render in editing mode; otherwise, we can't add content back in! This scenario was fairly simple to solve: write a control that inherits from Microsoft.SharePoint.WebControls.BaseFieldControl, and only run the code to check for content if we are in published mode: if (this.ControlMode == SPControlMode.Display){ // do something.} This is all fine and well, since BaseFieldControl can be traced back to Microsoft.SharePoint.WebControls.FormComponent, which is the last point in the hierarchy that has the ControlMode property. If you go further up the tree, Microsoft.SharePoint.WebControls.SPControl does not have the ControlMode property... I have no idea why not. Why is this a problem? Well, my UE developer wanted to check multiple fields. I could not inherit from BaseFieldControl any longer, since it is meant to represent a single field, not multiple fields. So I decided to inherit from SPControl instead. (In the end, I probably could have inherited from System.Web.UI.WebControls.WebControl, but it seemed to make sense to stick within the SharePoint namespace.) After much searching, including spending a lot of time in Reflector, specifically searching for Microsoft.SharePoint.Publishing.WebControls.PageDisplayMode and Microsoft.SharePoint.Publishing.WebControls.SPControlMode (both enums), I finally came across this *internal* and *sealed* class in the Microsoft.Office.Server.Utilities namespace: PageUtility. But we can't use it! However, inside PageUtility is a method called IsPageCurrentlyInSomeEditMode() (nice, huh?) and more importantly, a property called FormContextMode, which returns an SPControlMode object... interesting. Looking closer, I saw a line (similar to) SPContext.Current.FormContext.FormMode (!!). As Sezai pointed out, FormContext is an SPFormContext object, which contains two (potentially) very useful properties: FormMode and FieldControlCollection: Now, I can do a check like this: if (SPContext.Current.FormContext.FormMode == SPControlMode.Display){ // do something.} Also, with FieldControlCollection, I can iterate over the list of defined fields for the current page, looking for some specified fields. Nice! SPFormContext is definitely useful, and I'm surprised there hasn't been any postings about it until Sezai came along (try searching for SPFormContext...). Nice write up dude ! Seems you came across this the exact same way as me, tracing up through the class reference until you hit the FormComponent class. Then open up Reflector to see how it is ACTUALLY implemented by using SPFormContext. Seems the best way to learn how to code with SharePoint is to open up reflector on Microsoft's SharePoint Assemblies to see how they do it ! Pingback from SharePoint 2007 link love 08-30-2007 at Virtual Generations If you are developing WCM solutions with moss you need FULL control over rendering. I also needed to show/hide elements of html depending on whether or not data had been entered in field controls. It's nice that Microsoft provides a series of web controls out of the box, but if you develop a lot of your own custom controls you need to know about classes like these, I too am surprised there has been so little 'publicity' given to this class until now. Pingback from Links (8/30/2007) « Steve Pietrek’s SharePoint Stuff Overview The National Native Title Tribunal of Australia assists people to resolve native title issues Pingback from How We Did It: Australia National Native Title Tribunal website - advanced web content management | SharePointed
http://www.sharepointblogs.com/spsherm/archive/2007/08/29/spformcontext.aspx
crawl-002
refinedweb
769
55.74
rianna Dar995 Points Ternary statement in arrays challenge task. Hi, I just wrote ternary statement using formula from previous video of arrays but i get alert ''did you include boolean expression to evaluate?" i dnt actually understand what i have been asked to do :( int value = -1; string textColor = null; if (value < 0) { textColor = "red"; } else { textColor = "green"; } //ternary if statement { return (value<0)? _textColor ="red" : textColor="green"; } 1 Answer Manish Giri16,266 Points I haven't done the challenge, but I'm guessing they expect you to do it one of these two ways - { textColor = value < 0 ? "red" : "green"; } OR { return value < 0 ? "red" : "green"; } Adrianna Dar995 Points Adrianna Dar995 Points thank You for your reply! yes, i forgot to include variable name at the begin of statement instead of repeating it in a middle twice. Silly me :) thats challenge passed now, thank you once again ;)
https://teamtreehouse.com/community/ternary-statement-in-arrays-challenge-task
CC-MAIN-2022-27
refinedweb
147
61.87
Ruby on Rails: Scopes What is scope in Rails? Scopes in Rails are special methods to run SQL queries that you can build in any rails model. A scope will always return an ActiveRecord::Relation object, even if the conditional evaluates to false , whereas a class method, will return nil. we frequently run similar queries in our rails console to query our database and also understand the structure of the result we are receiving before going further with the development of our applications. Why use Scopes? & why is it useful A use case for scopes is often for filtering by status, date, date ranges, ordering, groupings, and more. Compared to class methods, scope methods are incredibly fast and quite easy to return the desired result in fraction of time. Scopes help you D.R.Y out your active record calls and also keep your codes organized. Scopes make it easy to find the records you need at a particular time. Lets start with the basic, We’ll use a sample model named Book to illustrate what scopes allow you to do. On your homepage, you only want to show published books of course. So in your action, you would use the following code to ensure that. Class Book < ActiveRecord::Base scope :published, -> { where(:published => true) } end # This retuns ActiveRecord::Relation object Then in our controller or views, we can return the newly scoped objects. class BooksController < ApplicationContrpller def index @books = Book.published end end Taking arguments. scopes can also receive parameters, let’s see how we can create a scope to get all books written by a specific author. class Book < ActiveRecord::Base scope :author_name, -> (name) { where(:authorName => name) } end Using conditional with scopes. The scope named available, in the code block is a typical example of how to use conditional with scopes. class Book < ActiveRecord::Base scope :available, -> (bool) { where("available = ?", bool) if bool.present? } end Chaining Scopes are extremely powerful due to their ability to be chained together. Think of them as a chain links class BooksController < ApplicationContrpller def index # return all available & published books. @books = Book.published.available end end Summary It’s always a good idea to use scopes for selecting, sorting, joining or filtering data through your database, and then you can use class methods to chain those scopes, or even write more complex logic. This is very important to note that the scope is intended to return an ActiveRecord::Relation object which is composable with other scopes. In short scopes should be chainable. Hope this article helped you understand the ActiveRecord Scoping method and its uses. Thank you for reading! ❤️
https://akladyous.medium.com/ruby-on-rails-scopes-35e3565d8d79?source=post_internal_links---------6----------------------------
CC-MAIN-2022-33
refinedweb
436
64.81
Feature #7148 Improved Tempfile w/o DelegateClass Description I propose improved Tempfile without DelegateClass(). Present Tempfile has following problems. confusing inspect t = Tempfile.new("foo") #=> #<File:/tmp/foo20121012-6762-12w11to> t.is_a? File #=> false #dupdoesn't duplicate IO t = Tempfile.new("foo") t.dup.close t.read #=> IOError: closed stream finalizer performs unlink even when it has been duplicated t = Tempfile.new("foo") path = t.path #=> "/tmp/foo20121012-7533-1q537gq" File.exist? path #=> true tt = t.dup t = nil GC.start File.exist? path #=> false I think these problems caused by using DelegateClass(). Therefore, I made a patch to resolve the problems. The patched Tempfile class is a subclass of File. Files History Updated by Anonymous almost 7 years ago Hi, In message "Re: [ruby-core:47930] [ruby-trunk - Feature #7148][Open] Improved Tempfile w/o DelegateClass" on Fri, 12 Oct 2012 14:04:08 +0900, "Glass_saga (Masaki Matsushita)" glass.saga@gmail.com writes: I propose improved Tempfilewithout DelegateClass(). Present Tempfilehas following problems. - confusing inspect - #dupdoesn't duplicate IO - finalizer performs unlink even when it has been duplicated I have no objection about (1), but what we expect when we call Tempfile#dup might differ, for example, I'd expect it to copy the underlying temporary file. So making Tempfile a subclass of File may not be the ideal solution. matz. Updated by Glass_saga (Masaki Matsushita) almost 7 years ago Hello, Yukihiro Matsumoto wrote: I'd expect it to copy the underlying temporary file. Is the behavior of #dup you expect like the following? def dup dupe = self.class.new(@basename) IO.copy_stream(self, dupe, 0) dupe end I think the reason why Tempfile uses DelegateClass is that to implement Tempfile#open without it used to be difficult. To implement it as subclass of File, self must be reopened with full configuration, mode and opts. IO#reopen used not to accept them, but now it accepts after r37071. Updated by headius (Charles Nutter) almost 7 years ago JRuby has been running with Tempfile < File for a couple years now, and have received only minor bug reports about it. It works very well, and has no delegation cost. Updated by Glass_saga (Masaki Matsushita) almost 7 years ago Are there some reasons not to make Tempfile a subclass of File? I think it's a better solution, even if it's not an ideal solution. Updated by mame (Yusuke Endoh) almost 7 years ago - Status changed from Open to Assigned - Assignee set to matz (Yukihiro Matsumoto) - Priority changed from Normal to 3 - Target version set to 2.6 Updated by normalperson (Eric Wong) over 4 years ago "Glass_saga (Masaki Matsushita)" glass.saga@gmail.com wrote: Feature #7148: Improved Tempfile w/o DelegateClass I would still like this for 2.3.0, just hit a snag with IO.copy_stream using Tempfile :x Also, Charles hit a similar problem not long ago, too: [ruby-core:68700] [Bug #11015] Updated by Glass_saga (Masaki Matsushita) over 4 years ago I think the problem you faced was resolved at r50118, wasn't it? Updated by normalperson (Eric Wong) over 4 years ago Sadly, r50118 actually caused my problem because I was using src_offset for IO.copy_stream Updated by headius (Charles Nutter) over 4 years ago It doesn't sound like anyone opposes this idea, so are we just missing implementation? Updated by nobu (Nobuyoshi Nakada) over 4 years ago Updated by matz (Yukihiro Matsumoto) over 4 years ago It's OK for me to implement Tempfile without using DelegateClass. If JRuby does similar thing already, it might be a good idea to share implementation. Besides that, we might need to think about killing/redefining some unnecessary/invalid methods of File class, e.g. reopen. I am afraid dup is one of them. Matz. Updated by Glass_saga (Masaki Matsushita) over 4 years ago - Assignee changed from matz (Yukihiro Matsumoto) to Glass_saga (Masaki Matsushita) Updated by sowieso (So Wieso) 6 months ago I guess this is related: tf = Tempfile.new tf.unlink tf2 = tf.dup puts tf.fileno # => 10 puts tf2.fileno # => 11 tf2.close print tf2.fileno # => 11 print tf.fileno IOError: closed stream from /usr/local/rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/delegate.rb:349:in `fileno' It closes the wrong fd. Using normal File instead of Tmpfile makes it work like usual. Libraries that accept an IO object and duplicate it internally don't work correctly with Tempfile (in my case rubyzip). This really needs a fix. Also available in: Atom PDF
https://bugs.ruby-lang.org/issues/7148
CC-MAIN-2019-39
refinedweb
751
58.58
Wiki Needs Trust Metrics Someone suggested that Wiki needs a killfile, but kill-files don't work here. AdvoGato uses TrustMetric s for much the same purpose. How could that be made to work here? If something is true, constructive and helpful ... ... leave it in and ... edit it to make it fit the document better. If something is false, destructive or unhelpful ... ... extract what lessons you can and then ... delete it. [If this were done, there would be constant deletions and restorations, deletions and restorations, over and over again. For example, all the scurrilous insulting of LinusTorvalds , DennisRitchie , RichardStallman , AndyTanenbaum ? , TedNelson , would be deleted. Then it would be put back. Etc. No, the suggestions below are the correct way to go, I believe. But they are not the WikiWay ...] You are claiming that it is not true that the vast majority of the people are trust-worthy and responsible. I believe you are wrong, and that the current brush-fire will die out and the wiki will survive. [Sorry, I misread you before. I am not claiming what you say I am at all. My claim is that by the above criteria, it would be correct to delete that material. I then am assuming that Kulisz will keep putting it back. This is not a current thing, much of that material has been there for a long time and people have just let it go. But I think there are some people now who will not let it go. So unless Kulisz doesn't keep putting it back, we could have the kind of activity I describe above going on for a long time despite the fact the vast majority of people here are trusty-worthy and responsible. The other problem is that amongst that irrational, vicious, vitriol, there are some legitimate criticisms. It is difficult to delete it, difficult to let it stay, but difficult to edit it without a total rewrite, which is thankless since Kulisz will then just restore the original stuff or close enough to it.] We'd have to abandon SoftSecurity . People would need to create accounts and login with them. But there'd be no requirement for account names to map to real names. Instead we'd have consistent pseudonyms so that over time you'd come to have expectations of people. Every user would get a homepage based on their account name and kept in a different namespace to regular wiki pages (much like WikiPedia 's /Talk). As soon as an account is created your 'juice' or trust would be set to T . This would be the threshold value. If your juice falls below that value (say because you upset sufficient people with high levels of juice) you'd lose the ability to edit any pages other than your homepage. At the same time people would be able to sponsor new wikizens by certifying them. Negative behaviour by those you sponsor would of course reduce your own juice. This way, we'd always know who had said what and no newbie could go on a rampage that caused massive amounts of harm over a prolonged period of time. Of course, all of this has already been explained so much better over on . Take a special look at and (who represents precisely the kind of attack that the trust metric was designed to thwart) and of course the FAQ: . Isn't it a demonstration of a broken trust metric if bytesplit is certified at the Journeyer level? Nope, Advogato is using a two-dimensional trust-metric (see this page for a diagram: ) where someone can be a highly-rated open sourcerer but have their diary rated beneath the visibility threshold. Actually, it would seem that the certification metric is irrelevant for trust. The diary rating is the metric that controls visibility of posts. Why have the certification at all, unless the diary rating is also related to the certification level in some non-obvious way? Yep, the diary rating and the certification metric are indeed related. The idea is that diary ratings from people you've directly or indirectly certified count for more than those of random members of the community. Wiki Scoring Proposal, from StevenNewton Every page on a wiki has a score, say 0, 1, or 2 Every visitor can browse at a certain threshold Some pages are marked as "seed" pages, and get a score of 3 always Other pages are scored based on how many links they have to them, and the score of the linking pages. Ideally, a page with just a few links from pages scored a 2 would have a higher ranking than a page with many links from pages all ranked 0. A page is scored by looked at pages link to it, counting any seed pages as 3. For the non-seed pages, the system looks back another layer, and counts any seed pages there, and scores that page as the avg ((3*seed pages)+pages). Now all the pages that link to the original pages are scored, either as a 3, as a score, or 0 for pages that have no pages linking to them. The base pages is then scored as the average of the scores of all the pages that link to it. Illustration of scoring (example - I don't know if these counts are really right): To score Once and Only Once: Seed pages, score 3: FrontPage WikiWikiWebFaq Pages linking to Once and Only Once: WikiWikiWebFaq WikiEngines RecentEdits Score for RecentEdits is 1 Score for WikiEngines is: (3 for WikiWikiWebFaq + 1 for RecentEdits )/2 = 2 Score for Once and Only Once is: (3 for WikiWikiWebFaq + score for WikiEngines + score for RecentEdits )/3 (3 + 2 + 1) / 3 = 2 Thinking about a second dimension of trust, now. A visitor can attach an arbitrary score of 0-3 to any page, but that score is for that user only. In other words, if a visitor thinks WikiEngines is a boring topic, he or she can score it as 0, and that score will be used in place of the community score, for that visitor only , which presumes that there must be some way for wiki to identify a particular visitor. Just to be clear, for that visitor the score of 0 not only applies to that page, but to the scores assigned to other pages based on links from it. So the score for Once and Only Once becomes (3 + 0 + 1) / 3 = 1.33... While this is no doubt a technical tour de force it scarcely counts as the SimplestThingThatCouldPossiblyWork . WardsWiki has survived for years largely undamaged. Let's see how things progress without such technical changes. Quite right. The tour de force is a thought experiment by me, not a serious proposal that I wish to pursue here. I have adjusted it to suggest a second dimension of trust - visitor self-scoring, based on the discussion on this page. SoftSecurity is a good thing. TrustMetrics ? are interesting, too. Both are attempts to mirror in a technical way real human community interactions. For example, in any trust metric, I would expect friendship (trust) to be unidirectional. That is, if I trust you, you are not required to trust me. Also, it should not be the case that friends of my friend are automatically my friends as well. -- StevenNewton The above assumes that trust is unitary. So someone who writes only pablum would get a high trust value while anyone controversial would get a low value. And of course, there is no way to distinguish between, say, a controversial left-winger (eg, NoamChomsky ) from a controversial right-winger (eg, CostinCozianu ). Rather, it conflates individuals' trust in people into "the community's trust" in someone. That just gets you into the problem of aggregation of preferences. Specifically, it is impossible to aggregate preferences in any non-arbitrary way. [The latter claim is highly debatable, however, the weaker claim that we don't know much of an idea of how to do it now, if it is possible, is enough to establish that this proposed "tour de force" will not work. It enforces community solidarity over the honest individuals search for truth. An individual interested truly in the search for truth could quite like get shut out of such a system. I am working on a program that might get around this problem, but it would never search as a replacement for Wiki even if it was good, because of network and lockin effects] Actually this would work assuming you had a multi-dimensional trust metric so that users could be rated in as many dimensions as the system support. Some of those rating dimensions would be collaborative and some would be based on your particular perspective. Advogato already does this. Certifications are collaborative whilst diary ratings are perspective-based. Also we'd also want to start new users just below the edit threshold otherwise persistent trolls could just keep creating new accounts. That particular problem has plagued WikiPedia for a while now. [What I think you want (what my program alluded to above is intended to do) is to let everyone edit everything, but allow users to have filters based on their own evaluations of reputation. These filters could be arbitrarily finegrained, allowing them to see additions from certain people only on certain subjects, and they could be turned up or down depending upon the users mood - does he want to get down to business and really learn something, or instead slum around with what he considers various interesting crackpots? Both are possible.] The program alluded to by our friend in the square brackets sounds very much like PurpleWiki (available at: ) which has a model of wiki that tracks fine-grained elements (finer than the page level that is) and as such offers TransClusion s. [Yes, my (only partly designed and implemented) program is at the very fine-grained level (alas, in some ways it is not as fine-grained as wiki, since because of expediency in programming (the use of Tk canvas widgets to handle justified text formatting on the desktop version), it does not allow structure inside each individual "paragraph" (which is the unit of granularity)). In fact there are no "pages" in the wiki sense, but pages are created dynamically from focal items (what are here WikiNames ), based on selecting a set of items from the set of all items that are explicitly related to it. These items could thus potentially be in many "pages" at once. If you know Ecco or Lotus Agenda there are similarities there. Unlike PurpleWiki , the item level of granularity is there from the beginning. I've been "working" on this stupid program since before I heard of wikis or indeed before they existed, but I am not a superman like Kulisz so I haven't made a lot of progress.] The downside to letting everyone edit everything (like the downside of killfiling people on UseNet ) is that you'd still see the side-effects. If someone you like or have whitelisted responds to flame-bait then you end up having to wade though the ensuing flame-war. The beauty of collaborative filtering is that the system filters based on the totality of your preferences. It should be possible to make an objectionable person 'disappear' from your perspective and reduce the visibility of anything they touch just by applying a rating. Thus if I rate someone (called Alice) as 0 then anyone who rates Alice as 10 or who Alice rates highly up ends up with with a lowered rating from my perspective. Allow the community's perspective to be an input to your trust metric (if I rate Bob as a 10 and Bob rates Charlie as a 0 then the system tentatively assumes that I have a low opinion of Charlie) and I can filter out most of the undesirables (present and future) just by rating a few individuals. [I didn't mean everything , but they should be able to add comments everywhere as they wish. The hope is that they can be filtered out using various mechanisms such as those you describe. Maybe this is hopeless. My main interest now for my own program is in the single user version, which people can use to develop their own worldview over time, and then expose parts of it for commentary from and to help others. The collaboration model is more along the lines, to use a political/ethical metaphor, of Kant's kingdom of ends rather than Rousseau's body politic. Each person would have his own sovereign structure which they could consider separately from the totality at any time.] The difficulty with any security system is that it must deal reasonably with a variety of different kinds of 'attacks'. These range from newbies who commit social blunders, to WikiSociopath ? s all the way up to people bent upon the deletion/corruption of the entire wiki. As such the system has to be based on feedback so that the more serious the transgression the more severe the response. It should be easier to lose trust than to gain it that way people have a disincentive to misbehave or tolerate misbehaviour. The downside is that someone who is sufficiently unpopular get visibly shunned and becomes a voice ranting in the darkness. The upside is that unpopular people ranting in the darkness are out of sight and so can safely be put from one's mind. In 2004 the community was infected by a small number of troublemakers (fewer than five - probably two or three). These troublemakers were sociopaths who the community had to deal with in some fashion. Once these particular troublemakers had gone, things settled down, - until the next set of high-strung Wikizens come along and start another bar room brawl. Remember that most of the people referred to as "troublemakers" are, in fact, people whose intentions are nothing but the highest. They see themselves as Keepers Of The Truth, etc., and are willing to cause all manner of "disruption" to see their goals met. Folk like that are not unlike religious extremists - except that they don't strap on Semtex vests. Well, not yet, anyway. The combination of system support for TheTimeOutStrategy and community resolution on the matter extinguished the winter 2003/2004 brushfire. The solution may not be "long term", but it seems to be working. It took nine years for serious troublemakers to emerge. If an episode like this happens no more than every three or four years, that's good enough for me -- especially if the learnings from this one prove helpful in addressing the next recurrence. For a solution to the required login see AccountlessUserIdentification . Let's be frank: Wiki "needs", or at least could make good use of, a whole lot of things. None of which WardsWiki is likely to provide. There are literally dozens (perhaps over a hundred) wiki codebases, most of which have more features than this one. Call it minimalism, elegance, pragmatism, apathy, negligence, whatever you want, but you're just not going to see drastic changes made to the codebase of this wiki to support things like trust metrics, karma, moderation, and so forth. There are parallels here between c2 and other online communities. A few cranks and/or stubborn vocal types take over discourse and either game or otherwise stoke up ill will around whatever technical mechanisms of social control exist. It happened all the time on usenet groups (especially when propagation was more reminiscent of uucp peer-to-peer and not large hubs like giganews), it happened on LambdaMoo with a few characters and the arbitration system (those that were there know who, no point in naming them), and doubtless many more communities where I've not witnessed it myself. See WikiDeclineLament ? . One might experiment with socio-technical mechanisms ElseWiki ? , but they're likely to find little traction here. The BookMarklet at UserName is a kind of SoftSecurity and is better than none. Even a consistently used DramaticIdentity helps to signify the general nature of posts being made, and is particularly useful for people with multiple IpUsername (e.g. dialup, or switch between work and home). This is, of course, marred by fake use of another person's DramaticIdentity , but generally this has not occurred much. If most regulars resume the use of UserName , naked IpUsername will help to identify spammers that do not visit here often. It seems we've been working on these problem, in parallel, but independently. I think you can separate out the two orthogonal issues and desires best with UserRanking (like AdvoGato 's TrustMetric ) and PerItemVoting (rather than ranking a user's blog quality). You don't need multi-scale voting, just a simple + or - 1 will do. The rest is handled though counting intrawiki linking. Or, on AdvoGato , how often users link to other users pages or content (each link can count as a vote). Ultimately, what this is all pining towards, I'll argue, is the GlassBeadGame and a new Internet that embodies the WikiWay . -- MarkJanssen The practical bottom line is that if you want a heavier GateKeeper approach to an IT wiki, you'll probably have to build it yourself(s) how you think it "should be" and hope people come. The WikiZens of this wiki will probably want to keep things more or less the same because it's a self-selecting group in that those who really hate the "open" style probably stopped coming, meaning the existing WikiZens will tend to favor the status quo. It's roughly comparable to a rock band changing their style: existing fans want things as-is because they are fans precisely because they like the band's "sound", and it takes a while to build a new fan base if they switch. In general it's far easier to lose fans than gain them. Perhaps it's better to focus on incremental fixes. - t See also EditsRequireKarma EditText of this page (last edited June 4, 2013 ) or FindPage with title or text search
http://c2.com/cgi-bin/wiki?WikiNeedsTrustMetrics
CC-MAIN-2014-52
refinedweb
3,017
60.04
Hey, I'm pretty new to Java and I was hoping someone could help me out. I wanted to know how to store the information that a loop shows. I've been asked to create a project which adds up the squares of the numbers from a to c, and this is my code so far. Class 1: public class sumSquares { public sumSquares(int a, int c) { while (a<=c) { u=(a*a); a=a+1; System.out.println(u); } } private int u; } Class 2: public class sumSquaresTester { public static void main(String[] args){ sumSquares sum=new sumSquares(1,5); System.out.println(sum); } } I am able to get the squares that i need from the variable u, but how do i store the values i get after each cycle of the loop? Thanks in advance for the help.
https://www.daniweb.com/programming/software-development/threads/131200/storing-output-loops
CC-MAIN-2017-17
refinedweb
139
79.3
GLSL Programming/Unity/RGB Cube< GLSL Programming | Unity This tutorial introduces varying variables. It is based.) Contents PreparationsEdit Since we want to create an RGB cube, you first have to create a cube game object. As described in Section “Minimal Shader” for a sphere, you can create a cube game object by selecting GameObject > Create Other > "GLSL shader for RGB cube" { SubShader { Pass { GLSLPROGRAM #ifdef VERTEX // here begins the vertex shader varying vec4 position; // this is a varying variable in the vertex shader void main() { position = gl_Vertex + vec4(0.5, 0.5, 0.5, 0.0); // Here the vertex shader writes output data // to the varying variable. We add 0.5 to the // x, y, and z coordinates, because the // coordinates of the cube are between -0.5 and // 0.5 but we need them between 0.0 and 1.0. gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; } #endif // here ends the vertex shader #ifdef FRAGMENT // here begins the fragment shader varying vec4 position; // this is a varying variable in the fragment shader void main() { gl_FragColor = position; // Here the fragment shader reads intput data // from the varying variable. The red, gree, blue, // and alpha component of the fragment color are // set to the values in the varying variable. } #endif // here ends the fragment shader ENDGLSL } } }. Varying VariablesEdit The main task of our shader is to set the output fragment color ( gl_FragColor) in the fragment shader to the position ( gl_Vertex) that is available in the vertex shader. Actually, this is not quite true: the coordinates in gl_Vertex for Unity's default cube are between -0.5 and +0.5 while we would like to have color components between 0.0 and 1.0; thus, we need to add 0.5 to the x, y, and z component, which is done by this expression: gl_Vertex + vec4(0.5, 0.5, 0. A Neat Trick for Varying Variables in UnityEdit The requirement that the definitions of varying variables in the vertex and fragment shader match each other often results in errors, for example if a programmer changes a type or name of a varying variable in the vertex shader but forgets to change it in the fragment shader. Fortunately, there is a nice trick in Unity that avoids the problem. Consider the following shader: Shader "GLSL shader for RGB cube" { SubShader { Pass { GLSLPROGRAM // here begin the vertex and the fragment shader varying vec4 position; // this line is part of the vertex and the fragment shader #ifdef VERTEX // here begins the part that is only in the vertex shader void main() { position = gl_Vertex + vec4(0.5, 0.5, 0.5, 0.0); gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; } #endif // here ends the part that is only in the vertex shader #ifdef FRAGMENT // here begins the part that is only in the fragment shader void main() { gl_FragColor = position; } #endif // here ends the part that is only in the fragment shader ENDGLSL // here end the vertex and the fragment shader } } } As the comments in this shader explain, the line #ifdef VERTEX doesn't actually mark the beginning of the vertex shader but the beginning of a part that is only in the vertex shader. Analogously, #ifdef FRAGMENT marks the beginning of a part that is only in the fragment shader. In fact, both shaders begin with the line GLSLPROGRAM. Therefore, any code between GLSLPROGRAM and the first #ifdef line will be shared by the vertex and the fragment shader. (If you are familiar with the C or C++ preprocessor, you might have guessed this already.) This is perfect for definitions of varying variables because it means that we may type the definition only once and it will be put into the vertex and the fragment shader; thus, matching definitions are guaranteed! I.e. we have to type less and there is no way to produce compiler errors because of mismatches between the definitions of varying variables. (Of course, the cost is that we have to type all these #ifdef and #end lines.) Variations of this ShaderEdit Varying VariablesEdit The story about varying variables is not quite over yet. If you select the cube game object, you will see in the Scene View that it consists of only 12 triangles and Section “Rasterization”. If you want to make sure that a fragment shader receives one exact, non-interpolated value by a vertex shader, you have to make sure that the vertex shader writes the same value to the varying variable for all vertices of a triangle. SummaryEdit And this is the end of this tutorial. Congratulations! Among other things, you have seen: - What an RGB cube is. - What varying variables are good for and how to define them. - How to make sure that a varying variable has the same name and type in the vertex shader and the fragment shader. - How the values written to a varying variable by the vertex shader are interpolated across a triangle before they are received by the fragment shader. Further ReadingEdit If you want to know more - about the data flow in and out of vertex and fragment shaders, you should read the description in Section “OpenGL ES 2.0 Pipeline”. - about vector and matrix operations (e.g. the expression gl_Vertex + vec4(0.5, 0.5, 0.5, 0.0);), you should read Section “Vector and Matrix Operations”. - about the interpolation of varying variables, you should read Section “Rasterization”. - about Unity's official documentation of writing vertex shaders and fragment shaders in Unity's ShaderLab, you should read Unity's ShaderLab reference about “GLSL Shader Programs”.
https://en.m.wikibooks.org/wiki/GLSL_Programming/Unity/RGB_Cube
CC-MAIN-2017-09
refinedweb
918
60.14
In this post I am going to explain some not that obvious differences of null in Java and null in Groovy. Let’s start with the following line: Object o = null This statement works fine in Java and Groovy (except that Java requires a semicolon at line end). However, it has slightly different effects. In Java null is a special literial, which is assigned to reference types that do not point to any object. Every time you try to do anything on a null reference (like calling methods or accessing member variables) a NullPointerException will be thrown. In Groovy null is an object! It is an instance of org.codehaus.groovy.runtime.NullObject. Most times NullObject will throw a NullPointerException if you try to access a method or a member variable. However, there are a few methods that can be called on NullObject: import org.codehaus.groovy.runtime.NullObject assert NullObject == null.getClass() assert true == null.equals(null) assert false == null.asBoolean() assert "null!" == null + "!" assert false == null.iterator().hasNext() As we can see the null object protects developers in some cases from NullPointerExceptions. asBoolean() returns always false and ensures that null can be converted to a boolean value when necessary. iterator() returns an instance of java.util.Collections$EmptyIterator. Because of that it is possible to safely iterate over objects without explicitly checking for null. Interestingly I haven’t found anything about NullObject in the official groovy documentation. It is not mentioned in Differences from Java nor in Groovy’s Null Object Pattern. There might be no practical use case for this but you can even create your own instance of NullObject: Class c = null.getClass() NullObject myNull = c.newInstance() But be aware that the equals() method returns only true if you pass in the default NullObject instance. So it might not work correctly for your own NullObject instance: assert false == myNull.equals(myNull) assert true == myNull.equals(null) You can also modify the metaClass of NullObject to add you own methods: NullObject.metaClass.myMethod = { println "I am null" } null.myMethod()
http://www.javacodegeeks.com/2013/11/groovys-magical-nullobject.html
CC-MAIN-2014-52
refinedweb
342
59.7
All I can say is, I know dozens of programming languages but I have never been “a convert.” It is definitely worth your time to learn Perl and to seek to do it well. Proudly put on your neophyte's robes and feel welcomed among the Esteemed Monks who regularly visit here. Never feel that you must in any way “discount” your growing professional experience with PHP, and never expect anyone around here to think negatively of it. “Most of us use PHP too.” You have nothing to prove, nor to defend, here. Perl is very different from PHP, in the sense that “all of what PHP can do” is only a portion of what Perl can do. Furthermore, whereas PHP by-design incorporates much of its functionality directly into the PHP executable itself, Perl by-design does not. Both of these approaches are “very defensible software design decisions,” just different ones. There really isn't a conflict here... you're not changing religions. Many of the designers of the PHP language system are “regulars” here. If you study the list of people who have contributed meaningfully to both systems, you find a lot of the same names. The ongoing commercial success of what they've done cannot be denied. Happily, you generally do not find anyone here trying to “preach the gospel” in either direction. (I find that very refreshing.) Fair warning: the more you learn about Perl, the more you'll use it. You'll find yourself consciously steering the “big” projects away from PHP and towards Perl. This will especially start happening when you've run into your first project that unexpectedly ran into the rocks of PHP's inherent (and, yes, deliberate, legitimate) design boundaries. One of those boundaries is “big-core vs. little-core.” (That's just my term.) PHP has a big set of core-features that are all hard-coded into the language. Fortunately, the “one way to do it” that they've chosen to integrate into the PHP language is a pretty-good selection. But hang around Perl for any length of time and you'll see continuous reference to this mantra: TMTOWTDI = There's More Than One Way To Do It. At first, it sounds like heresy... at best, a calling-card to bad design. But it doesn't work out that way. The core of Perl is relatively small, and upon that small framework is built a fairly-endless cascade of CPAN modules. Some of them, like DBIx::Class and Template::Toolkit, represent an abstraction of the functions that are elsewhere available. For these you will find not just this one but half-a-dozen or more alternate implementations. Meanwhile, you will also find packages like Moose that very fundamentally change the language itself. (And, in the spirit of TMTOWTDI, it's being chased right along by a little Mouse.) “You won't find that in PHP,” and really, you can't find that in PHP. The flip-side, of course, is that for whatever you are doing now, you might well say that, “but I have utterly no use for that in PHP!” And you are absolutely right ... live long and prosper ... until. One day, you hit the wall of PHP, and you can't readily go beyond it, and when you try to do so ... (hell, you have to get this thing to work somehow!) ... you know in your gut that you are now generating horrible cruft that you (or your successor) will have to maintain. You can't go back and change the tens of thousands of lines that you already did. You can't even argue in any way that the implementation and design of PHP is in any way “wrong.” But you “suddenly ran out of tool,” and you do remember that experience. No, I don't think that this assessment is a fair representation of my intent. I will never desparage PHP. In fact, I will always admire it. Like any tool, “PHP is what it is.” And it's designed to be what it is. It can do a huge number of things and it is very popular. Lots of hosting companies support it, to the point that their tech-support zombies will look at you strangely if you refer to anything else. So it must be doing something right . . . at least today. Nearly everything is “impossible to get out of,” such that once a project starts in a given direction, it basically cannot switch gears later. Once you're doing PHP, that project is always going to be in PHP. The same is true of Perl, o’course, but here is where the “small core” philosophy becomes useful: you can change virtually everything about Perl and still be in Perl. It's not, as we say, “monolithic.” If a great number of PHP projects had hit-the-rocks, then PHP by now would have faded away as an academic curiosity. Software folks do not continue to use tools that have substantially failed them. But... when I look, say, five years down the road when I think that most of today's “web” applications will be targeted instead at “iPhones and god-knows-what-else,” well, it's just me but... I don't really see PHP there. I do see Perl there. You see, he said, rambling on senselessly, there is a very fundamental difference of philosophy here, and that is: in the world of PHP, code and HTML are designed to be inter-mixed. PHP is specifically designed that way. It's one of PHP's advantages, at least in some people's eyes (though not mine). It is a deliberate and conscious design decision for which its designers do not (and need not) apologize. But now consider, what's going to happen when (amazing as it sounds now...) HTML is no longer part of the picture? And what if we (as usual...) don't quite know what's going to replace it? I'm not saying that it will happen that way, but I think it will, and what if it does? “You can't pick your winner until after the race is run, but nevertheless you must place your bets ahead of time.” Is a language that by-design meshes code with what is no longer “the presentation of choice” going to continue to be thought of as a winning horse? Is its “advantage” still there? Only time will tell. And... I don't know either! All I'm saying is that I do wonder... PHP will change. Of course it will. And the legacy-systems we have created will live on. But someone created “object-oriented COBOL,” too... (Hmmm, ADD 1 TO COBOL GIVING COBOL.) ... And it didn't do any good. A big language has a much harder time surviving a sea-change. Yes, you should learn Perl, for the same reason you should add any language to your toolkit. It gets easier to clearly express your intent in code as you learn the idioms common across different languages. You also get an idea for what concepts are easier to express in a particular language, which will give you whole new ideas for how to organize a project. I initially learned Perl because of how much easier it was to express regular expressions compared to PHP, and those regular expressions changed how I looked at text manipulation for a very long time indeed. Once I got the hang for coding in Perl, everything including GUI and Web development became much easier and definitely more powerful for me than in PHP. Your mileage may vary, of course. You don't lose anything by using Perl instead of PHP, but fewer libraries are effectively built-in to the language. Database handling and a bewildering assortment of Web-specific features are available via external libraries on CPAN. Now on to your specific questions: Go ahead and learn Perl. It's always worth your time to expand your knowledge. While several of the other monks have answered your explicit questions. There's one potentially bad idea lurking in your original post. Is it worth it to drop everything, take time to learn Perl, port that code over, and continue writing in Perl? Is there any reason why you would need to? If code is working in PHP and you don't have an explicit need to change it, why change? When learning a new language, it is often better to start off writing small pieces of code or tools than porting some critical (or even just working) code to the new language. Instead of a rewrite, Often learning a new language will force you to think about your primary language (and programming) differently. Once you get comfortable with the new language, you may see places where you could do a better job in the new language than in the old one. That is the time to consider building more production code in the new language. Several times in my career, I've seen someone come to the conclusion that a system should be re-written in a new language to improve the system. I can't think of a single time I've seen that go as planned. Often the new system turns out worse, because the programmers don't know the new language as well as they did the old one. Sometimes this ends up souring them on the new language forever. IMNSHO, you should definitely learn Perl. If possible, you should also make use of Perl where it fits with your other goals. You should probably not rewrite a significant chunk of functionality unless you have a really good reason. There are CPAN modules to do some of what you are talking about: CGI::Session, CGI::Session::Auth, CGI::Auth::Basic, Apache::Session (I haven't used any of these, so don't take this as a recommendation for a particular module.) If a couple of CPAN modules replace much of what you want to do, it might be worth changing. In general, though there should be some functionality that is unique to your site. That is what's risky to convert. It also depends, of course, on the site. If this is a personal project and no one but you is depending on it. Your risk is lower and you might want to experiment. If your job is riding on the site or lots of people are depending on it, I would take the lower-risk approach I mentioned. Like any other part of programming, these kinds of decisions are not black and white. They involve trade offs. If I had to decide between PHP and Perl for a new site, I'd pick Perl because I know it better. If I had to take an existing site in PHP and either fix it or re-write it in Perl, I'd bite my tongue and work in PHP (probably learning more PHP in the process), because that is the lower risk path. The main point of my previous post was that you don't have to rewrite everything to get some of the benefits of using another language. More exposure to different types of programming and different languages usually improves your programming in all languages and projects you work on. I have actually gained a lot of benefit from Perl in jobs where we were required to work in other languages. I have used Perl for testing, data generation, code generators, and a host of little tools to make my development go faster. Heh... the experience of learning a new language also transforms your future work in the languages that you already know! It's how you grow in this business... and there's no replacing it. And the “gurus” who are out there producing “PHP itself” ... do they know? You bet they do! That's the beauty of (and the endless allure of...) this business as a career: you always feel that you are lucky to be getting paid for doing this. And yet, the digital computer is always your master; never truly your slave. You now recognize the need to add another powerful tool to your personal tool-belt. Does that, therefore, provide an adequate (business|financial|technical|career) justification to scrap what you have already done? Ditto the expertise you have already acquired? N-O-!! Never forget the “FISI principle”: F**k It, Ship It! :-D At the end of the (business...) day, “what is done is done, and by the way, it's paying the freight.” What you do in the future is an entirely separate decision. Is there anything that you lose by using Perl instead of PHP? Let me preface this by saying that I'm pretty familiar with PHP; in fact, I've taught it professionally. I've also been working with Perl for a number of years; in fact, that's what I started with, while PHP (like a number of other languages) is something I picked up at a job where it was needed. Now, as to what you lose: unresolved (and unresolvable) bugs in standard PHP functions would have to be #1, followed closely by the long-standing vulnerabilities at #2. You'd also be losing developers who appear to be deaf to the community that actually uses the language. You'd lose the security "add-ons" that protect the language from itself. Gone is the extraordinary clumsiness in handling variables more complex than a scalar, and inside-out weirdness in scoping variables. You'd lose the "ceiling" of PHP: once past a certain (low) level of code complexity, PHP just runs out of steam and can't go any further, while Perl has not such limitation (no blame here, really; PHP is intended to be a presentation-only language with minimal utility outside of that, but people try to push it way beyond that.) There's a bunch of other things, mostly annoyances, that would be gone. As to positive bits - not much. Perl doesn't have anything quite as convenient as php.net's function lookup (e.g., for the 'trim' function) - but you'll have built-in documentation instead. It doesn't have the very nice "include/require" facility - which, in PHP, is (ab)used to create spaghetti code as often as not. But you can get all of those things, and much more, while still retaining all the goodies that Perl has, by learning one of the many templating systems available under Perl. This allows you to separate the presentation from the code - and you'll be amazed at how much clearer and easier this makes large projects. I also have three general Perl questions: 1) Does it get complicated using lots of different modules? Is it hard to keep them updated? 2) Can somebody point me to a thread detailing how to import subs, like a library? 3) Have there been any problems or gotchas you have experienced or noticed which consistently occur amongst converts? Modules, once you've learned the two basic styles (functional and object-oriented) are easy; when you look at the docs that come with it, the first thing that you'll (almost) inevitably see is an example of code using that module. Steal it. :) As to installing them, keeping them updated, and so on, the CPAN module (already installed with your Perl) makes that trivial. How to import subs is part of the standard Perl documentation: just type "perldoc perlmod" at your command line, and you'll have a document describing all the semantics of modules, etc. For a general overview of the docs, see "perldoc perl". For gotchas - not just for PHP, but for people who have experience in other languages who are just starting to explore Perl - I'd suggest checking out "perldoc perltrap". Well worth reading for the contrast, and as a reminder. All in all, I think you may find Perl a rather liberating experience. The only way I can judge that, having started from Perl, is that working with PHP feels very constrictive to me these days... See: zentara's code contributions. And you didn't even know bears could type...) Perl certainly can do everything php can do, and much better for many tasks (especially command line, batch processing, etc.). While it can do UI (Tk), but you don't learn perl to do UI. I think the biggest problem with perl, especially if you're using a shared host, is that it's not supported as much. Most things php are installed by default by most hosting packages, perl is not (I meant mod_perl, perl as command line and CGI usually is). You're right that getting all the package dependencies correctly can be a challenge, sometimes a big challenge, for example, the most popular framework Catalyst takes quite a bit of effort to install, and it's not included in most hosting plans. I do feel you're in better company using perl, I found perl programmers tend to be better/more versatile programmers than PHP, and Java programmers. I use them for many sites and run things under fastcgi, including Catalyst. They are very accommodating, friendly, and a nice place to be. Their uptime is not super though. So, I wouldn't put a serious business or client there. To get unlimited domains, fastcgi, ssh, svn, mysql, etc for $7-10/month is really quite good and worth the hour or two (or sometimes 10... like last month) of downtime that comes semi-annually. Regarding your Ajax update Q, here's a little demo script you can give a try: CGI/Ajax example: lookup a value when a field is filled in. Any language can do Ajax (it's just communicating back and forth over HTTP still). Perl excels at it and the JSON::XS package is one of the fastest, nicest data serializers out there; I prefer Ajax with JSON over XML but anything works. Say... does that mean you're hiring? Contact me... :-D Actually, I don't have any Catalyst apps out there right now, either. I quoted it because it's got a very large and very diverse list of add-ons right now in CPAN. A very good demonstration of just how much you can do, within one framework, and still be totally “within Perl,” and “within just one (of many) framework(s) within Perl.” I can't think of a better demonstration against: “this is the one-and-only PHP, and therefore all we've got to work with is this one-size-fits-all, so we gotta figure out a way to make this thing work somehow.” Hello salazar Have there been any problems or gotchas you have experienced or noticed which consistently occur amongst converts? Only one thing. If you are used to the PHP way, you may get an almost 1:1 transition in Web projects using HTML::Mason. Mason allows you (doesn't force you) to intersperse your HTML with stuff like [some.html] ... <table class="someclass"> % my $counter = 1; % foreach my $pr (@projects) { % my $rowcolor = ++$counter & 1 ? $color{DARK} : $color{LIGHT}; <tr class="tablefont" bgcolor="<% $bgcol %>"> <td> <% $pr->{topic} %>:</td> <td> <% $pr->{link} %> </td> </tr> % } </table> ... [download] which is almost a PHP idiom (in contrast to the "smarty" way ;-) And, you may implement catalyst-like controller logic right into the directory it belongs to (dhandler) Regards mwa what are the differences between using, say CGI::Application and HTML::Mason? I'm guessing it has to do with code separation? I didn't do CGI::Application so far (should I give it a try?) - but envision it as a all-or-nothing solution for a given web project - whereas Mason is conceptually a lightweight thing close to PHP or JSP and can even be used as an additional templating system for big ships like Catalyst sites. see: Comparison Another thing: I use both, PHP and Perl (and several other tools too) - and I think PHP *is* an appropriate solution for most small Web projects where the client is hosted on a cheap server (running *only* PHP, of course). Another Comparison (register w/fantasy name to download ;-). Any decision to “scrap 1,600 lines of” anything at all is not something to be taken lightly. It's hard to make an economic justification for scrapping. But I just finished chatting on the folks with some folks who are trying to figure out what it would take to re-deploy their existing massive PHP app to a portable-phone platform, and I basically had to say: “you're basically ‘on the wrong end of a sharp pointed threaded rod’ because all of your code is utterly and completely tied-in with your HTML.” Precisely the characteristic that is most fundamental to PHP's explicitly-chosen design ... is now biting them in the donkey. And it's really hard to think of “a five year old application” as now being “recalcitrant legacy code.” That's not much lifespan. And that's quite an engineering concern. Food for thought, definitely. Not scrapping 1600 lines of code is also a decision not to be taken lightly. On the systems I work with 1600 lines of code is a pinpoint, and this may also true for your large long term project: (didn't your original post say something about a games site? or am I confusing that with someone else?) In a coding system, rewrites need to be understood in context. For example, changing 1600 lines of code that has 30K of lines of working production ready code dependent on it, is likely to be a big problem. The change won't just affect the 1600 lines, but also the 30,000 lines that depend on it and the modules that depend on the 30K and so on... But fortunately you are still in early days, so if there is a time to rewrite is it probably now. I sense you are asking the right question: how much time will be saved or lost when you compare the time spent debugging and rewriting the 1600 lines to the time spent working around, teaching, documenting, extending and maintaining each version (PHP, Perl) of code? If the long-term savings are greater than the time spent rewriting, you have a win-win situation. In your case there is another time factor to consider: if you choose some other learning experience: (a) will it be as targeted to the skills you really want to master in Perl (b) how much time will an alternate learning project on top of a PHP project take? The downside of using this as a learning experience, is that it may be hard - any new language entails learning new concepts. Since you are trying to do something for real you may have to learn how to do something mind-bending when all you would really like to do is get the job done. If your gut says ... then you have little to lose. Best, beth Don't let that sort of thing cause you to “hit the wall.” You know that you can expect this to happen, if you start moving too soon... so if it does happen, “you must be moving too soon.” Have another (beer|smoke|cappucino), and just watch. At first. A lot of people here are being much more polite than I am on this subject, so I'm jumping in -- but a lot of the people here know more about PHP than I do, so take me with several grains of your favorite sodium compound. PHP has always struck me as a horrible language -- it's primary technical advantage is a smaller memory footprint than perl, but it gets that smaller footprint by not doing some very basic things, i.e. until very recently PHP has had no actual namespaces, which means no way to separate the behavior of components, which means mysterious bugs popping up as upgrades to component X and Y cause action-at-a-distance with component Z. Yes, I know you can fake namespaces with naming conventions, but there are limits to how well that works (trust me on that one: I do some emacs lisp programming, I know what life is like without real component separation). Further, I do have experience with using large projects written in PHP, and I've seen a definite pattern of "Let's use this, it's easy to setup", followed by constant buggy behavior that no one can seem to fix. It may be easy to get them setup, but it appears to be very hard to get them setup right. Now, obviously there are places like Yahoo that live-and-die by PHP, and for them it seems to work... so it would seem that coding conventions, automated tests, and a large, aggressive QA department can make up for many gaps in a language... but before embracing something like PHP, I think you need to ask yourself if you have the resources of a Yahoo at your disposal. All of this said: the big differences between languages are never really "technical" ones, but rather social ones (I don't think it's an accident that Python attracted the world's most annoying advocates...). PHP is a relatively young language that came in with the web 1.0 bubble, and had very little room to breath before it saw heavy use. Perl has it's roots in Unix sysadmins and system programmers -- it was a pretty strange animal by the standards of the Computer Science Department people, but it's original core community was much more experienced than PHP's... and perl had the advantage of a longer period of adoption, so there was room for at least one major revision before the it got slammed by the web craze. (You might think of PHP as perl with the perl4-era design errors locked-in). Priority 1, Priority 2, Priority 3 Priority 1, Priority 0, Priority -1 Urgent, important, favour Data loss, bug, enhancement Out of scope, out of budget, out of line Family, friends, work Impossible, inconceivable, implemented Other priorities Results (252 votes), past polls
http://www.perlmonks.org/?node_id=749311
CC-MAIN-2015-32
refinedweb
4,380
71.14
Short Description Short description is empty for this repo. Full Description Docker Boundary A Dockerfile for the boundary.com agent Building To build this, you should create your own Dockerfile that is based on this image and provide your custom env file which exports any installer environment variables you want. At a minimum, you must provide APICREDS. You may also provide additional installer variables in the same way (for a list of variables see:) Docker File FROM pguelpa/boundary Env File export APICREDS=my-org-id:my-api-key Running In order to capture network information, this container must be run with the --net=host flag. docker run --net=host <my-namespace>/boundary Docker Pull Command Owner pguelpa Source Repository
https://hub.docker.com/r/pguelpa/boundary/
CC-MAIN-2018-05
refinedweb
120
53.21
Name Flash Safe — API Details Synopsis #include <cyg/flashsafe/flashsafe.h> int cyg_flashsafe_init(cyg_flashsafe *flashsafe ); int cyg_flashsafe_data(cyg_flashsafe *flashsafe, cyg_flashsafe_key key, void **data ); int cyg_flashsafe_read(cyg_flashsafe *flashsafe, cyg_flashsafe_key key, void *data, cyg_uint32 *len ); int cyg_flashsafe_open(cyg_flashsafe *flashsafe ); int cyg_flashsafe_write(cyg_flashsafe *flashsafe, cyg_flashsafe_key key, void *data, cyg_uint32 len ); int cyg_flashsafe_commit(cyg_flashsafe *flashsafe ); const char *cyg_flashsafe_errmsg(int err ); Description The flash safe is accessed through this API. The flashsafe is initialized by calling cyg_flashsafe_init() passing it a pointer to a cyg_flashsafe structure. Within this structure the base, block_count and block_size fields must have been initialized to describe the area of flash to be managed. Typically, the structure would be defined statically as follows: cyg_flashsafe flashsafe = { .base = 0x40000000, .block_count = 3, .block_size = 0x2000 }; If the flashsafe already contains data, then items may be retrieved using cyg_flashsafe_data(). The key argument identifies the data item to be retrieved. The data argument is a pointer to a location where a pointer to the data will be stored. Typically the pointer returned will refer directly to the flash device, and will thus be read-only. No size is returned, the application should either know what size the data is (e.g a structure or fixed sized array), or arrange for the data to be self-sized (e.g. a zero terminated string or contains a size field). The function cyg_flashsafe_read() performs a similar job to cyg_flashsafe_data() except that the data is copied out of the flash memory. The data argument points to a buffer into which the data will be copied, and the len points to a location where the size of the buffer is stored when the call is made, and will contain the size of data copied in on return. This function is useful where it is intended to update the data read from the flashsafe, possibly to write it back to flashsafe. cyg_flashsafe_data() is useful where the data only needs to be read, and saves valuable RAM space. To open a flashsafe block for update the function cyg_flashsafe_open() should be called. This will select the oldest block in the safe, erase it and prepare it for writing. The function cyg_flashsafe_write() is used to write new data to the current open block. The key argument should be an application selected 16 bit value that is used to identify this data item. This value should be unique for each item, otherwise the behaviour is undefined. The data and len arguments describe a buffer containing the data to be written. The size of the data written must be less than or equal to the value of CYGNUM_FLASHSAFE_BUFFER_SIZE. The function cyg_flashsafe_commit() causes the current open block to be committed to the flash. This involves calculating the checksum and writing the header and trailer with the current sequence number. Each of these functions may return one of a number of error codes. These may include the following: - CYG_FLASHSAFE_ERR_OK - This is returned when the operation succeeded. - CYG_FLASHSAFE_ERR_FLASH - This is returned when the flash device failed to initialize. - CYG_FLASHSAFE_ERR_MISMATCH - This is returned when there is a mismatch between the size any layout of the flashsafe described in the initialized cyg_flashsafe structure and the flashsafe found in flash. - CYG_FLASHSAFE_ERR_FLASH_PROG - This is returned when the flash driver reports a programming error. - CYG_FLASHSAFE_ERR_FLASH_ERASE - This is returned when the flash driver reports a block erase error. - CYG_FLASHSAFE_ERR_NO_DATA - This is returned when there is no current valid block in the flashsafe. This will usually only happen when the flashsafe is new. - CYG_FLASHSAFE_ERR_BAD_KEY - This is returned when a given key cannot be found in the flashsafe. - CYG_FLASHSAFE_ERR_NOT_OPEN - This is returned when a cyg_flashsafe_write()or cyg_flashsafe_commit()are called before making a call to cyg_flashsafe_open(). - CYG_FLASHSAFE_ERR_NO_SPACE - This is returned when the size of data is too large for either the buffer or the flashsafe block as a whole. The function cyg_flashsafe_errmsg(), if given one of these error codes, will return a string describing the error.
http://doc.ecoscentric.com/ref/flashsafe-api.html
CC-MAIN-2019-30
refinedweb
645
62.68
ok say I have the following: $StandingsData[$i]['teamid'] $StandingsData[$i]['gamesplayed'] $StandingsData[$i]['points'] & want to sort this by say points, how do I do that ? 2 replies to this topic #1 Posted 18 April 2006 - 08:18 PM #2 Posted 18 April 2006 - 10:08 PM function points_sort ($a, $b) { if ($a['points'] == $b['points']) return 0; return ($a['points'] < $b['points']) ? -1 : 1; } usort ($StandingsData, 'points_sort'); // check results echo '<pre>', print_r ($StandingsData, true), '</pre>'; If you are still using mysql_ functions, STOP! Use mysqli_ or PDO. The longer you leave it the more you will have to rewrite. Donations gratefully received Donations gratefully received #3 Posted 18 April 2006 - 11:14 PM Thanks ! 0 user(s) are reading this topic 0 members, 0 guests, 0 anonymous users
https://forums.phpfreaks.com/topic/7771-solved-sorting-by-key/
CC-MAIN-2018-09
refinedweb
130
71.55
-2457 Full Text Egypt: Clashes erupt from Morsi decree /A10 I I I I Mostly sunny; gusty winds. Freeze warning tonight. PAGE A4 CITRUS CO U N T Y SN NOVEMBER 24, 2012 Florida's Best Communit Newspaper Serving Florida's Best Community 50* VOLUME 118 ISSUE 109 LOCAL NEWS: County accepts grave role Tourism County puts out new guide./Page A3 CHRIS VAN ORMER Staff Writer After a 33-year career, 12 with the county's Public Works Department, Bob TDD Glancy never figured he'd become a sexton. But since last month, that's the task Glancy, the county's grounds mainte- nance manager, assumed for Stage Stand Cemetery in Homosassa. Although his job is to keep the county's cemeteries clean and green, for one of them he is now responsible for its rules and records. That was the job of a sex- ton, the person who over- saw the burials in churchyards in olden days. As cemeteries moved out of churchyards, funeral direc- tors often took on the role of sexton. "I've done a lot of things in my career," Glancy said. '"Just add another one to them." Glancy inherited the job from Richard E "Dick" Wilder, a funeral home di- rector and county native RlBtime drmrA l who died in August. "I worked with Mr Wilder for a while, while he was overseeing the burials at Stage Stand Cemetery," Glancy said. "The county wasn't really involved in the actual burials. In these by- laws right here for instance, it states that the funeral See Page A2 Veterans take on Congress Bagels Part of the ministry team for Journey Church in Inverness also taught Rwanda how to make bagels./Page C1 WALL STREET: Cheery The stock market enjoys some Black Friday cheer, rising sharply to give major stock indexes one of their best weeks of the year. /Page A7 OPINION: It's especially gratifying to learn about our area's history in a personal way. COMMUNITY: Sponsors Citrus County Foster Parent Association seeks sponsors for foster and foster/ adoptive children for Christmas./Page C6 Star Wars Speculation runs rampant about the plot of Episode 7 of the popular Star Wars films./Page B6 Comics . . . . .C8 Community ...... .C6 Crossword ....... .C7 Editorial ......... A8 Entertainment . . .B6 Horoscope ....... .B6 Lottery Numbers . .B4 Lottery Payouts . .B6 Movies .......... .C8 Obituaries ....... .A5 Classifieds ....... .C9 TV Listings ....... C7 6 I18457 01i III 0 2 45~J? DAVE SIGLER/Chronicle Nine-year-old Rafaela "Fia" Taft lives her dream in her life-size playhouse provided by Children's Dream Fund, a non- profit organization that provides dreams for children who have been diagnosed with a life-threatening illness. Girl with rare cancer gets fre-size playhouse in backyard ERYN WORTHINGTON Staff Writer ,q porting her pink t boa, she cocks her 9, head side to side with a quirky smile on her face. Her long brown curls hang loosely past her shoulders as she changes her pose to pres- ent her giggling personality. She is quick to enter- tain her guests by show- ing them around her purple house. Stairs lead to the loft where her fluffy bed awaits, offering her a bird's-eye window view. Accented with pink curtains, flowers and lots of glitz, her home is her "dream" come true. bigger to play with," said 9-year-old Rafaela "Fia" Taft. "My friends and I wanted an area where we wouldn't keep my parents up at night." In October, Fia's long- awaited "dream" of a life- size playhouse was granted by the Children's Dream Fund, a nonprofit organization that provides dreams for children who have been diagnosed with a life-threatening illness. For the past two years, Fia has battled stage 3 malignant germ cell can- cer, an abnormal mass of tissue derived from germ cells. "I say it is the girl ver- sion of what Lance Arm- strong had," said her hnthpr f-V A rfl T Pft- MIKE WRIGHT Staff Writer INVERNESS A local restaurant suddenly closed its doors this week under mysterious circumstances and its future is unknown. Frankie's Grill on U.S. 41 just north of Kmart closed Monday morning. Charles and Charissa Robinson, who are listed as restaurant owners on the city's business license, could not be reached for comment. A phone number they gave the city water de- partment for emergencies was disconnected, as was their home phone number in North Carolina. Frank Pirrone, who opened Frankie's in 2001, also could not be reached for comment A restaurant employee, Michelle Pasteur, would not give a reporter Pirrone's cellphone num- ber, and his Inverness home DAVE SIGLER/Chronicle Frankie's Grill, on U.S.41 in Inverness, fell on hard times and was forced to close. number is disconnected. Pirrone had turned over the business but not the property to the Robin- sons under their corporate name of Charles Charissa Enterprises Inc. in July, ac- cording to city and county records. Court records show Bank of America filed suit in Au- gust to foreclose on a $640,000 loan from 2007. The bank says Pirrone's corporation, FP&P, stopped making payments in August 2011 and owes $536,156, plus $45,041 from a line of credit approved in 2005. Pirrone said he tried to make payments on the loan, but the bank refused the payments, according to court records. A phone hearing with Judge Carol Falvey is set for Dec. 6. The Citrus County Tax Collector's website shows FP&P owes $25,100 in property taxes from 2011 and 2012 for the Frankie's restaurant site. Pasteur, a prep cook who worked at Frankie's since it opened, said she hasn't been paid for three weeks and at least one food supplier is also owed payments. She said the restaurant's closing put about 15 people out of work. "I hope Frank can work something out," she said. "I've got nothing coming in and it's the holidays." Contact Chronicle re- porter Mike Wright at 352- 563-3228 or mwright@ chronicleonline. com. Associated Press Iraq war veteran Rep.-elect Tammy Duckworth, D-IIl., who lost both legs in combat before turning to politics, ar- rives Nov. 15 for a group photo on the east steps of the Capitol in Washington. In the mid-1970s, the vast ma- jority of lawmakers tended to be veterans. 9 more Iraq, Afghan war vets serve as leI slators KEVIN FREKING Associated Press ther- apy lay ahead. As the high- est-ranking double amputee in the ward, Maj. Duckworth became the go- to person for soldiers com- plaining of substandard care and bureaucratic ambivalence. Soon, she was pleading their cases to federal law- makers, including her state's two U.S. senators at the time Democrats Dick Durbin and Barack Obama of Illinois. Obama arranged for her to testify at congres- sional hearings. Durbin en- couraged wel- come because it comes at a time when the overall num- ber of veterans in Congress is on a steep and steady de- cline. In the mid-1970s, the vast majority of lawmakers tended to be veterans. For example, the 95th Congress, which served in 1977-78, had more than 400 veterans among its 535 members, according to the See Page A2 TODAY & next morning HIGH 70 LOW 32 Stage Stand Cemetery Assn. turns over management E..NTERTAINMENT: I-- ....... 111 1, igmia e e .La . ENTERTAINMENT: "My room was boring, Fia entertains her guests by posing with her boa in her so I wanted something See Page A4 new "dream" playhouse. Frankie's Grill closes doors without explanation A2 SATURDAY, NOVEMBER 24, 2012 GRAVE Continued from Page Al homes are to be keeping up grave sites as well as the in- terment and the location." The funeral homes did all the paperwork and sold the burial plots under the by- laws of the Stage Stand Cemetery Association. Al- though the county owns the land, Wilder would identify the burial plots and keep the burial records. "Mr. Wilder was a very nice guy," Glancy said. "He did it as a community serv- ice. Any maintenance prob- lems down there, he would get in touch with me. We worked together very well. He did a very good job that nobody wanted." Boxes of burial records were passed back to the county, as it is the cemetery owner. "There are no other ap- parent parties wishing to take over the role of manag- ing the cemetery leaving the property owner, Citrus County, in that role," mem- bers of the Citrus County Board of County Commis- sioners (BOCC) were ad- vised at their Oct. 23 meeting. County staff was directed to develop policies and procedures, called ad- VETERANS Continued from Page Al American Legion. The num- ber of veterans next year in Congress will come to just more than 100. Most served during the Vietnam War era. In all, 16 served in Iraq or Afghanistan, not all in a com- bat role. "We're losing about a half a million veterans a year in this country," said Tom Tarantino, chief policy offi- cer recog- nizes that the 16 Iraq and Afghanistan vets have wide- ranging political views. But at the end of the day, he said, their shared experiences make it more likely they'll put political differences aside on issues like high un- employment and suicide rates among returning vet- erans, or in ensuring that veterans get a quality educa- tion through the post-9/11 GI bill. Their election victories also provide a sense of as- surance to veterans. "The biggest fear we have as veterans is that the Amer- ica people are going to forget us," Tarantino said. "When you have an 11-year sus- tained war, the fight doesn't end when you pull out." Duckworth carries the highest profile of the incom- ing vets. She was co-piloting a Black Hawk helicopter in Iraq when a rocket-pro- pelled grenade landed in her lap, ripping off one leg and crushing the other. At Walter Reed, she worried about what life as a double amputee had in store. But during her recovery, she found a new mission tak- ing care of those she de- scribes as her military brothers and sisters. That MATTHEW BECK/Chronicle Citrus County is now responsible for the management of Stage Stand Cemetery in Homosassa. ministrative regulations or ARs, to operate a cemetery "It's been very enlighten- ing to us," Glancy said. "Grounds maintenance has been spearheading finding the facts of it. We're getting help from Land Division. We're getting help from Ken Frink (assistant county ad- ministrator and public works director), Larry Brock (assistant public mission led her to a job as an assistant secretary at the De- partment of Veterans Affairs during Obama's first term. "Had I not been in com- bat, my life would have never taken this path. You take the path that comes in front of you," Duckworth said from a wheelchair last week as she and her fellow freshmen went through ori- entation at the Capitol. "For me, I try to live every day honoring the men who car- ried me out of that field be- causeab- bard said she hopes the two of them can be a voice for fe- male veterans and the unique challenges they face. About 8 percent of veter- works director). And we are getting a lot of help from the funeral home directors." In fact, the county owns four other cemeteries. But one is closed and the others, so far, have sextons. Grounds maintenance has been putting together the records. "The county has gone ahead and remapped the whole area to make sure ans are women. They tend to be younger on average. Nearly one in five seen by the Department of Veterans Affairs responds yes when screened for military sexual trauma. Seven Republicans served in Iraq or Afghanistan. Most had back- ing from tea party support- ers who share their views that the size and scope of the federal government should be curtailed. Ron DeSantis of Florida where all the boundaries are," Glancy said. "We are going through the process right now of taking very old records and we are finding out who has been and who is waiting to be in family plots, purchased plots that we've got." Burials have continued since Glancy became sex- ton. When a funeral home calls, Glancy or another was a judge advocate officer in the Navy who deployed to Iraq as a legal adviser dur- ing the 2007 troop surge. Brad Wenstrup of Ohio was as a combat surgeon in Iraq. Kerry Bentivolio of Michigan served in an ad- ministrative capacity with an artillery unit in Iraq and retired after suffering a neck injury He also served as an infantry rifleman in Vietnam. E Jim Bridenstine of Okla- Suzanne (Sue) Rexford "Suzanne's Kitchen r Come On In!" NOW AVAILABLE AT WWW'.siizaiiiieskitCilell.COill ISBN 978-1-938690-08-2 OOODC3L county staff member goes to Stage Stand to find the bur- ial plot. They stake it for identification and tell the funeral home where it is. The funeral home then per- forms the funeral. "We do all the official bur- ial records here," Glancy said. "So I can tell you 10 years from now what day, who did it" Glancy admits he's using homa was a combat pilot in Iraq and Afghanistan. Scott Perry of Pennsyl- vania commanded an avia- tion battalion in Iraq in 2009 and 2010. Doug Collins of Georgia was a chaplain in Iraq. Tom Cotton ofArkansas, a Harvard Law School grad- uate, was an infantry pla- toon leader in Iraq and then was on a reconstruction team in Afghanistan. In be- tween, he was a platoon leader at Arlington National CITRUS COUNTY (FL) CHRONICLE skills beyond grounds keeping. "It was kind of frightening at first to take it on," he said. "But as you get into it, it kind of plays itself out. I just get the information of who I'm looking to put in and I find out where and I go back to find it." Glancy said he was pre- pared to handle genealogi- cal inquiries. "If you want to find some- one's grave in Stage Stand Cemetery, you would con- tact our office and we would find it," he said. An interesting fact Glancy discovered was that burial plots had been selling at the 1975 price: $100 each. "But we're not selling anything right now," Glancy said. "It's close to 99 percent sold out." The county may sell burial plots again in the future after it establishes ARs that are approved by the BOCC. But the price likely will change. "If it were a new ceme- tery, it would be easier," Glancy said. "When some- thing's been established since the 1800s, there are a lot of records. But we are going to do it. We're trying to do everything we can." Chronicle reporter Chris Van Ormer can be reached at cvanormer@chronicle online. com or 352-564-2916. Cemetery Cotton said the reason he ran for Congress is the same one that led him to enter the Army after the Sept 11 ter- rorist attacks. "I felt we had been at- tacked for who we are the home of freedom," Cotton said. "And I worry now our liberty is threatened at home by the debt crisis we face, which in the long term will mean less prosperity and less opportunity, and therefore less liberty" Our Goal Is A Healthier You New Patients & Walk-Ins Are Always Welcome Humana, Freedom, Medicare, United Health Care assignment accepted B.K. Patel, M.D. H. Khan, M. Internal Medicine Board Certified Family P Geriatrics Family & General Medicine Internal Medicine Intensive Care (Hospital) Long-Term Care (Nursing Home Active Staff at, both Seven Rivers & Citrus Memorial Hospitals D. actice - e ) Page A3 SATURDAY, NOVEMBER 24, 2012 TATE& LOCAL CITRUS COUNTY CHRONICLE United Way offering financial literacy seminar pants will attend five seg- ments to learn about man- aging finances. "People need the oppor- tunity to make their pen- nies go further," said United Way CEO Amy Meek. "People need to have those opportunities to fig- ure out small ways they can have financial gains in their lives. The jobs these days are hard to come by and sometimes are not pay- ing all the bills or they are not going as far as people need them to. We want to offer folks an opportunity to see how they can save. Small budgeting tips will ERYN WORTHINGTON Staff Writer Holidays are knocking at the door, and for some, money is tight. The United Way of Citrus County is offering the public a gift financial literacy "Earn It, Keep It, Save It" is a free Financial Literacy Forum from 8:30 a.m. to 12:30 p.m. Dec. 7 at the College of Central Florida, 3800 S. Lecanto Highway, Lecanto. Citizens needing financial direction are invited to learn about budgeting, credit reports, banking and home efficiency Partici- Around the COUNTY Crystal River plans tree lighting event The City of Crystal River kicks off this year's holiday season with its annual Christ- mas Tree Lighting Ceremony hosted by the Crystal River Pilot Club at 6 p.m. Friday, Nov. 30, at the gazebo at City Park behind City Hall on U.S. 19. Mayor Jim Farley will turn the switch to light the city's Christmas tree and will later read "'Twas the Night Before Christmas" to the children at- tending that evening. The free family-oriented program will include music provided by the Crystal River Middle School Jazz Band. Luminaries, which will be placed around the park in honor or memory of some- one, will be sold by the Pilot Club for $2 apiece. Following the event, the luminary may be taken home. For information, call Gail Granger at 352-795-7742. Citizen of the Year nominations sought The Citrus County Chronicle is seeking 2012 nominees for Citizen of the Year. Winners in the past have been honored for everything from philanthropy to volunteerism, civil rights work to service to country, and envi- ronmental efforts to govern- mental initiatives. While all nominations are considered, preference is usually given to community contributions that are above and beyond the role one plays in their day-to-day job. Email nominations to marnold@chronicleonline. com; or, mail to Mike Arnold, 1624 N. Meadowcrest Blvd., Crystal River, FL 34429 by Dec. 21. Manatee Festival wants vendors The city of Crystal River and the Citrus County Chamber of Commerce invite vendors to submit an application for the 26th annual Manatee Festival, Jan. 19 to 20,2013, in down- town Crystal River. Afew spaces are still available for the art festival. To apply, go to manateefestival.com and down- load an application, or call Jeff Inglehart at the Citrus County Chamber 352-795-3149. Veterans assistance available at library The Citrus County Veter- ans Services Department said a veterans case man- ager will be on site every Wednesday, beginning Nov. 28, at the Lakes Region Li- brary, 1511 Druid Road, In- verness, to assist veterans applying for benefits. To make an appointment, call 352-527-5915. Coalition board to meet Dec. 6 The Central Healthy Start Woman dies after Coalition will have its quar- 42 years in a coma terly board meeting at noon MIAMI -A 59-year-old Thursday, Dec. 6, at Langley Miami woman who spent 42 Health Services (previously years in a coma has died. known as Thomas E. Langley The Miami Herald reported Medical Center) at 1425 S. Ewarda OBara was a high U.S. 301, Sumterville. school student in 1970 when For more information, call she fell ill, threw up her medi- Heather Hollingsworth at cine and slipped into a diabetic 352-313-6500, ext. 119. coma. She died Wednesday. -From staff reports The Herald reported before * Registration for the forum is requested to ensure the supply of food and calendars. To register, call 352- 795-LIVE (5483) or register online at unitedway.org. make a difference." The United Way has part- nered with SunTrust, Cen- ter State Bank, Bank of America, Capital City Bank, Progress Energy and Florida Community Serv- ices in providing financial courses. Progress Energy and Florida Community Services will be instructing classes on ways to save on electric bills and making homes cost effi- cient, at low or no cost. Attendees also receive a money management budget- ing calendar Every month shows participants' re- sources for saving. Ex- penses can be listed ahead of time by date and month. Participants then break into a session where atten- dees meet individually with budget coaches. The budget coach will offer advice on managing the calendar and obtaining financial security. "A budget coach can sit down with a person and help save that person $50 per month and $600 a year," Meek said. "We are talking about a big savings for the community." Workforce Connection, Withlacoochee Technical Institute, the College of Cen- tral Florida and others will have booths available for personal guidance. "Sometimes the difference between a person in need and someone not in need isn't just dollars and cents," Meek said. "It's networking capital and the resources. Sometimes people just don't know whom to reach out to. This will hopefully expand their networking capabilities in the community" Publix and Walmart are joining the Financial Liter- acy Forum to provide atten- dees with free breakfast and lunch. In addition, a box of food will be given to each person to take home. Also, during the month of December, Citrus County Transit's Orange Line bus service will offer free fixed- route bus rides. Meek is looking for positive budget coaches who want to motivate participants. Expanding area a MATTHEW BECK/Chronicle Snorkelers seek a close-up encounter with the manatees in King's Bay, one of Citrus County's most popular tourist spots. TDC looking at different types of tourism to keep county a prime destination PAT FAHERTY Staff Writer While Citrus County tourism is irrefutably linked to manatees, there are ongoing efforts to ex- pand the area's appeal to visitors. The iconic animal, featured on the new visitor's guide, does more than its share for tourism, the county's largest industry Manatees attracted more than 93,000 visitors in 2011 who wanted to interact with them; they drive a unique local indus- try and benefit the broader busi- ness community as tourists eat, shop and sleep in Citrus County And those who spend the night at local hotels, motels, camp- grounds, RV parks and lodging, provide a measurable account of the annual visitor flow through the tourism development tax. Known as the bed tax, it adds 3 percent to the cost of transient lodging. That money is used to promote the county as a tourism destination. The nine-member Citrus County Tourist Development Council oversees spending of bed tax dollars. Its role is keeping Cit- rus County a prime destination in a state full of competitive places. After a decline in 2010-11, the overnight segment of the county's tourism industry appears to be regaining momentum. According to estimates from the Florida De- partment of Revenue, renting to visitors in Citrus County brought in $19.2 million for 2011-12 and is expected to hit $19.6 million in 2012-13. "The tourist tax is good news," Marla Chancey, EDC executive director said. "We did all right, over $600,000 for this year" Speaking at the November TDC meeting, she attributed it to the hard work of individual hotel properties, the record scallop season and higher room rates. The same meeting was a work- ing example of Citrus County's potential for diversifying tourist- attracting activities as it touched on various sports, history, scal- loping and other visitor opportunities. Dr Jayanth Rao gave a presen- tation on cricket, which is played year-round. He explained the sport, its history and where it stands in Florida. Locally it is splayed at Beverly Hills Commu- nity Park and Rao, who started a team there two years ago, was seeking TDC support for im- provements to the field. "There's a lot going on to de- velop cricket in this country," he said. "Initially it was played by doctors, but now we have IT peo- ple and more." He explained the visiting teams are not familiar with Citrus County and this is an opportunity for good exposure. It came out in the ensuing dis- cussion that improving the field could attract more visitors inter- Ellie Schiller Homosassa Springs Wildlife State Park is one of the attractions profiled in the new "Visit Citrus Official Visitors Guide." ested in the sport. "It's a niche sport we have not looked at," TDC chairwoman, County Commissioner Rebecca Bays said. "It is seed money that is going to create something," council member Rocky Hensley said, re- garding the $3,800 request, which was subsequently approved. Later the TDC was briefed on another unusual sport with the potential to bring in more visitors. Terry Johnson made a presen- tation on dragon boats and the annual regatta. The long, thin or- nate crafts are crewed by 20 pad- dlers, along with a steersman and a drummer "People move here just to train with our dragon boat team," Johnson said. "Many na- tional teams want to come over and train and be part of our race in March." Last year the event attracted 10 teams and more than 500 people. "We are trying to grow it and get it bigger," he said. "We could get as many teams as we have room for" Looking ahead, the TDC is planning to hire a public rela- tions firm to develop a media strategy. Contact Chronicle reporter Pat Faherty at 352-564-2924 or pfaherty@chronicleonline. com. State BRIEFS the teen lost consciousness, she asked her mother, Kay O'Bara, to never leave her side. She kept her promise, taking care of her daughter until she died five years ago. That's when Colleen O'Bara stepped in and contin- ued taking care of her sister in the Miami Gardens home. Kay O'Bara was a devout Catholic who said she felt the presence of the Virgin Mary in her daughter's room. Duval County cuts back on testing JACKSONVILLE -The new superintendent of Duval County schools is cutting out a series of student testing that leave "too lit- tle time for learning." The new policy begins Nov. 26. School officials said the pol- icy won't affect the Florida Com- prehensive Assessment Tests, which are required by the state. Superintendent Nikolai Vitti said the new policy will make room for another five to 10 days of teaching each school year. Vitti said schools had booked more tests than the calendar could handle. Woman dies when dive boat capsizes MIAMI -A diver from New Mexico who died in a Thanks- giving Day boating accident was a manager at one of the nation's leading research labo- ratories who was in Florida for a holiday dive trip with her nephew, authorities said Friday. An autopsy was planned Fri- day for Nina Poppelsdorf, 54, who was part of a group of about two dozen coming back from a dive outing Thursday when a large wave flipped over their 45-foot catamaran. -From wire reports A4 SATURDAY, NOVEMBER 24, 2012 DREAM Continued from Page Al "They had almost the same exact type of tumor. Testicular cancer is more common in males. She ended up with the ovarian cancer." Fia was born with cells from her mother's placenta that grew into cancerous tu- mors. Doctors told Angela the cancer was mixed ma- lignant, as there were dif- ferent types of cancerous cells. One was aggressive, called choriocarcinoma, which was almost pure when it started in her ovary The chance of having this tumor growing is two in a million. The oncologist and endocrinologist had never seen it before. Symptoms of puberty such as moodiness, breast development and stom- achaches began in Septem- ber 2009. "At work, I would joke around that the house was too small," Angela said, "just thinking that was her personality. She didn't like males at all. She wouldn't want her dad or brother even in the room at times." With Angela being in the medical field, she knew these symptoms were not normal for her 6-year-old lit- tle girl and a trip to the pe- diatrician was necessary However, the doctor dis- missed the symptoms as the early onset of puberty Then in March 2010, Fia went to her parents' bed with a severe stomachache. Angela called the doctor saying Fia was either going to start her menstruation or had appendicitis. Upon examination, the doctor noticed Fia was de- veloping rapidly and sent her to an endocrinologist CITRUS COUNTY (FL) CHRONICLE DAVE SIGLER/Chronicle Parents Angela and John Taft watch their daughter Ra dance in her life-size playhouse. After an ultrasound and blood work, Angela and John Taft received the worst news of their life Fia had a baseball-size tumor on her left ovary Tears filled Angela's face and she took a moment to collect her thoughts. She continued to tell Fia's story The next day they went to All Children's Hospital in St Petersburg to meet with a surgeon. Fia had surgery two days later where they cut her from hip to hip and took out her left ovary and fallopian tube. The tumor had metastasized to her ab- dominal area. "The first time I thought the hospital was great be- cause they had room serv- ice," Fia said. "I didn't know I was sick. After two days I was, like, yuck." Fia spent five days in the hospital and then was re- leased to go home. On her way home, she wanted to get a baby doll. Her body thought it just had a baby Fia's hormones overtook her body Angela said the av- erage pregnant woman has 280,000 internal units of pregnancy hormones. Fia had almost a million units. "It was around the time of the Octomom," Angela said. "We laughed saying she was more pregnant than the Oc- tomom. She was nesting and cleaning my shelves." Two days later, Fia re- turned to the hospital to have a port installed for chemotherapy Fia never asked questions or felt sorry for herself until she lost her hair six days after chemotherapy started. "Grandma took her to the store and got her a nice full wig," Angela said. "Kids were mean, though. They didn't like her wig. Some kids understood, but most of them didn't." After chemotherapy, Fia had one more surgery to re- move another mass that had grown. "That was one point where she said, 'Mom if I'm sick I just want to stay sick,"' Angela said. "She said, 'Mom, I'm not doing this again' and then she looked at the doctor and said 'You said I wouldn't have to do this again."' With tears rolling down her face, Angela continued, "I told her she had to fight." After the removal of the mass, she was put on re- striction for six weeks. Two weeks later, she was run- ning around. What is hoped to be the end of treatments and hos- pitalizations, the Taft family is now celebrating Fia's life by enjoying every day in her "dream" home. Trying to decide what type of "dream" she wanted was hysterical, Angela said. She wanted a two-story house with carpeted stairs That was one point where she said, 'Mom if I'm sick I just want to stay sick.' ... She said, 'Mom, I'm not doing this again' and then she looked at the doctor and said 'You said I wouldn't have to do this again.' Angela Taft mother of Rafaela "Fia" Taft. and an in-ground swimming pool. Then they met with dream coordinator Kim Brett She asked Fia if there was anyone famous she wanted to meet like Justin Bieber. Fia said no, she wanted to meet Jeremy Wade, "The Extreme An- gler" fisherman. "She is so smart," Angela said. "She then decided she wanted something that was going to stay with her and not just go away like a trip." She changed her mind to a playhouse, but she didn't want a small playhouse. "She wanted a loft in it," Angela said. "Her biggest thing was that she could sleep in it and it was big. She didn't want a little play- house with all of the fake cooking utensils, because she is too big for that" Florida Shed & Fence had her playhouse up and functioning in two days. However, it wasn't complete without all of the glitz that Brett added. Pink curtains, plants on the outside windowsills and inside entertainment was added and approved by Fia's design and specifications. Angela and John are over- whelmed by the life-sized playhouse in their back- yard, but know their daugh- ter deserves every inch of it. "I thought I was going to lose her," Angela said. "Peo- ple thought that I should have been angry No, I am so blessed. You kind of have to become spiritual. If some- thing is going to happen, you have to realize that this was the way this is supposed to have been. If she is going to be an angel, she was going to be an angel. I am so grateful to have her." Chronicle reporter Eryn Worthington can be con- tacted at 352-563-5660, ext. 1334, or eworthington@ chronicleonline. com. legal notices in today's Citrus County Chronicle Lien Notices...................C12 YESTERDAY'S WEATHER )PR HI LOPR HI LO PR 0.00 N --NA NA NA -. 68 34 0.00 FLORIDA TEMPERATURES City Daytona Bch. Ft. Lauderdale Fort Myers Gainesville Homestead Jacksonville Key West Lakeland Melbourne F'cast s pc pc s pc s s sc City Miami Ocala Orlando Pensacola Sarasota Tallahassee Tampa Vero Beach W. Palm Bch. F'cast pc s s s s MARINE OUTLOOK North winds around 15 knots. Seas 2 to 3 feet. Bay and inland waters will have a moderate chop. Sunny today. 71 36 0.00 76 42 0.00 THREE DAY OUTLOOK Ecalus aily W TODAY & TOMORROW MORNING High: 70 Low: 32 Gusty wind, mostly sunny and cooler. Near freezing late tonight. SUNDAY & MONDAY MORNING High: 68 Low: 36 Gusty winds, then sunny and cool. Frost possible by late Sunday Night. - MONDAY & TUESDAY MORNING High: 75 Low: 60 V Warmer with a few clouds returning. ALMANAC TEMPERATURE* Friday 74/39 Record 85/30 Normal 77/50 Mean temp. 57 Departure from mean -7 PRECIPITATION* Friday 0.00 in. Total for the month trace Total for the year 59.01 in. Normal for the year 49.01 in. *As of 7 p m at Inverness UV INDEX: 5 0-2 minimal, 3-4 low, 5-6 moderate, 7-9 high, 10+ very high BAROMETRIC PRESSURE Friday at 3 p.m. 30.13 in. DEW POINT Friday at 3 p.m. 3 HUMIDITY Friday at 3 p.m. 29 POLLEN COUNT** Today's active pollen: Composites, Grasses, Palm Today's count: 4.5/12 Sunday's count: 3.5 Monday's count: 4.0 AIR QUALITY Friday was good with pollutants mainly ozone. SOLUNAR TABLES DATE DAY MINOR MAJOR MINOR MAJOR (MORNING) (AFTERNOON) 11/24 SATURDAY 1:49 8:00 2:11 8:22 11/25 SUNDAY 2:28 8:39 2:50 9:01 CELESTIAL OUTLOOK DEC. 6 DEC.13 DEC.20 SUNSET TONIGHT 5:33 PM. SUNRISE TOMORROW ....................7:02 A.M. MOONRISE TODAY 3:05 PRM MOONSET TODAY............................ 3:30 A:01 a/10:46 a 3:20 p/10:36 p Crystal River" 12:22 a/8:08 a 1:41 p/7:58 p Withlacoochee* 11:28 a/5:56 a 10:49 p/5:46 p Homosassa*** 1:11 a/9:45 a 2:30 p/9:35 p ***At Mason's Creek Sunday High/Low High/Low 2:41 a/11:33 a 4:10 p/11:19 p 1:02 a/8:55 a 2:31 p/8:41 p 12:18 p/6:43 a 11:27 p/6:29 p 1:51 a/10:32 a 3:20 p/10:18 p Gulf water temperature 660 Taken at Aripeka LAKE LEVELS Location Thu. Fri. Full Withlacoochee at Holder 29.84 n/a 35.52 Tsala Apopka-Hernando n/a n/a 39.25 Tsala Apopka-lInverness 39.59 n/a 40.60 Tsala Apopka-Floral City 41.02 n/a nchrorag4 Juneau H4oo.u.. st H L 56 34 sf 40 24 57 41 s 61 36 63 28 s 43 23 72 46 s 51 30 57 30 pc 47 30 74 48 s 63 42 61 28 pc 45 28 47 17 sh 53 30 68 43 s 50 28 47 32 sh 51 36 49 36 pc 47 30 54 38 .03 sn 34 26 56 44 sn 38 20 70 32 s 59 34 60 36 .09 pc 39 25 66 29 s 50 25 42 30 pc 35 29 59 39 pc 37 24 54 32 .02 sn 36 28 71 32 s 55 31 54 33 pc 36 25 58 25 pc 44 23 66 56 s 61 42 51 18 s 69 33 38 26 pc 41 29 55 33 .10 pc 36 29 63 48 s 64 42 56 39 .02 s 41 28 60 28 pc 43 27 57 28 pc 45 25 78 53 .02 s 66 43 54 33 .25 pc 36 25 62 44 s 54 29 72 48 s 72 46 64 52 .23 s 50 33 66 55 s 76 57 59 41 s 39 28 62 52 .23 s 47 33 41 29 pc 34 29 27 18 .02 pc 33 24 75 41 s 57 32 76 39 s 55 29 59 46 .12 s 44 26 KEY TO CONDITIONS: c=cloudy; dr=drizzle; f=fair; h=hazy; pc=partly cloudy; r=rain; rs=rain/snow mix; s=sunny; sh=showers; sn=snow; ts=thunderstorms; w=windy. 02012 Weather Central, Madison, Wi. .- -La _- -- J-s..- :^ s us 60S . . .. -.--- Krwsa ,, D\Maan-i- s..-- . 4 E 30 61 42 FORECAST FOR 3:00 P.M. SATURDAY Friday Saturday City H LPcp. FcstH L New Orleans 76 51 s 60 41 New York City 56 43 pc 45 32 Norfolk 64 37 s 47 30 Oklahoma City 59 43 s 61 39 Omaha 41 23 pc 47 26 Palm Springs 86 57 s 85 56 Philadelphia 58 33 pc 46 31 Phoenix 85 52 s 84 56 Pittsburgh 53 36 sn 33 24 Portland, ME 52 32 pc 47 27 Portland, Ore 47 42 .52 sh 50 39 Providence, R.I. 55 32 pc 47 27 Raleigh 67 29 s 46 27 Rapid City 39 11 c 57 33 Reno 58 28 s 62 31 Rochester, NY 54 44 sn 35 27 Sacramento 65 39 s 67 43 St. Louis 55 37 s 42 29 St. Ste. Marie 54 27 .05 sn 27 22 Salt Lake City 51 30 pc 59 38 San Antonio 73 55 s 66 45 San Diego 67 55 s 74 55 San Francisco 65 48 s 68 52 Savannah 71 33 s 62 33 Seattle 48 43 1.23 sh 49 37 Spokane 45 32 trace sh 42 31 Syracuse 56 31 .02 sn 35 26 Topeka 44 31 s 51 32 Washington 61 36 pc 45 30 YESTERDAY'S NATIONAL HIGH & LOW HIGH 87 Riverside, Calif. LOW -1 Havre, Mont. WORLD CITIES SATURDAY Lisbon CITY H/L/SKY London Acapulco 86/72/pc Madrid Amsterdam 49/41/sh Mexico City Athens 61/50/c Montreal Beijing 43/26/s Moscow Berlin 44/40/c Paris Bermuda 73/66/pc Rio Cairo 73/58/pc Rome Calgary 37/19/pc Sydney Havana 77/58/pc Tokyo Hong Kong 79/71/sh Toronto Jerusalem 63/50/sh Warsaw 63/55/r 50/44/sh 54/48/sh 68/43/pc 36/23/c 30/25/s 50/48/sh 94/75/pc 59/47/pc 79/62/pc 52/43/sh 32/24/sf 43/38/c C I T R U S. C 0 U N TY Sair .ll Brunt Hv, 1624 N. Dunkerlield Meadowcrest Dunker e Cannondale Dr Blvd. A ve Crystal River, A '1 \ ,Meadowrei FL 34429 N 1:1 il I Inverness Courthouse office TompkinsSt. q a 1 .square 8 106 W. Main S 41 44 I I- CITRUS COUNTY (FL) CHRONICLE Ohitlw-Jip~ Keith Fluegel, 68 INVERNESS Keith Fluegel, 68, of Inverness, Fla., passed away Thursday, Nov. 22, 2012 at Shands Hospital in Gainesville. He was born in to Roy W and Jean (Harness) Fluegel. Keith was a truck driver and arrived in this area in 1982, Keith c o m i n g Fluegel from Ft. Lauderdale. He was Presbyterian and enjoyed riding motorcycles. Keith was a member of the VFW Post #7122, Floral City. He was preceded in death by one daughter, Kimberly Bass, her son, Billy Bass, and one brother, Gary Fluegel. He is survived by his loving wife of forty-eight years, June Fluegel; one son, Bryan (Brandy) Fluegel of Inverness; one brother, Terry Fluegel; his parents, Roy W and Jean Fluegel; six grandchildren and one great-grandchild. Private arrangements are under the care of Chas. E. Davis Funeral Home with Crematory, Inverness. Sign the guest book at. com. Laurence 'Larry' Downes, 82 HERNANDO Mr. Laurence "Larry" F Downes, age 82, of Hernando, Florida, died November 22, 2012 in Hernando, FL. The family will receive friends from 2:00 PM until 5:00 PM, Sunday at the Beverly Hills Chapel of Hooper Funeral Homes. Interment will be held at Holy Cross Burial Park, South Brunswick, New Jersey on a later date. Online condolences may be sent to the family at www. Hooper Funeral Home.com. Larry was born January 2, 1930 in Queens, NY, son of the late William and Mary (McGowan) Downes. Mr. Downes was an Army veteran serving during the Korean War. He was the owner and founder of FSI, a distribution company in NJ and former President of Fulfillment Management Association. He moved to Hernando, Florida from New Jersey in 2005. His hobbies included sudoku and playing the lottery. He was an avid fan of the NY Rangers. Larry was a member of VFW, NJ, the American Legion, Madeira Beach and St. Scholastica Catholic Church, Lecanto. He was preceded in death by 1 brother and 2 sisters. Survivors include his wife of 57 years, Helen of Hernando, 2 sons, Laurence M. (Carol) of West Windsor, NJ, and Terence (Corrine) of CA, daughter, Susie of Hernando, 4 grandchildren, Tommy (Kate) Elizabeth, Alexandra, Richie (Meg), 2 great grandchildren, Rafe and Jake and his beloved dogs, Daisy and Charlie. Winifred Hoag, 90 THE VILLAGES Winifred Hoag, 90, of The Villages, passed away Nov. 21, 2012. Private Cremation will take place under the direction of Brown Fuineral Home and Crematory in Lecanto, FL. Memorial services will be 2 p.m. Saturday Nov 24, 2012, at the Brown Fuineral Home in Lecanto, Fla. SO YOU KNOW Paid obituaries are printed as submitted by funeral homes. Bill Blake, 70 PINE RIDGE Bill Blake, 70, of Pine Ridge, went to be with the Lord, Tuesday morning, Nov 20,2012, at the Hospice of Citrus County Care Unit of Citrus Memorial Hospital in Inverness. He was born in Illinois and retired with his wife, Debbie and their horses to Pine Ridge. He was a loving and devoted husband, unselfish in all of his actions and demonstrated a quiet strength. Friends and family remember him as "The Natural Horse Whisperer of Pine Ridge." He always saw good in all people and animals and they responded in kind. One of his favorite hobbies was rebuilding and working on antique cars and he enjoyed restoring old hot rods. He is survived by his wife, Debbie Blake of Pine Ridge; daughters, Jamie Baldaccini and Kelly Partipilo (Phil) of Illinois; eight grandchildren and his beloved horse, Reno. Private arrangements are under the direction of Strickland Funeral Home with Crematory, Crystal River. Donations can be made in his honor to Hospice of Citrus County. Sign the guest book at. com. Albert 'Al' Letsch, 70 HERNANDO The Service of Remembrance for Mr. Albert "Al" R. Letsch, age 70, of Hernando, Florida, will be held 2:00 PM, Sunday, November 25, 2012 at the Inverness Chapel of Hooper Funeral Homes with Pastor Donnie Seagle officiating. Cremation will be under the direction of Hooper Crematory, Inverness, Florida. The family will receive friends from 1:00 PM until 2:00 PM, Sunday at the Inverness Chapel. The family requests expressions of sympathy take the form of memorial donations to American Cancer Society or the First Baptist Church of Inverness. Online condolences may be sent to the family at FuneralHome.com. Al was born October 25, 1942 in Bridgeport, CT, son of the late Albert and Eleanor (Hallock) Letsch. He died November 23, 2012 in Hernando, FL. He worked as the General Manager for a rubber company in CT, the Manager/Supervisor of a computer company in CA and was the owner of ATA Computers. Mr Letsch was a member of First Baptist Church of Inverness. Survivors include his wife, Linda J. Letsch of Hernando, 2 sons, Albert R. Letsch Jr. of UT, Jefferey Cogan of CA, 2 daughters, Jody Mitola of CT, Stacey Mazza of Hernando, mother, Eleanor Yakushewich, 5 grandchildren, Amanda, Dylan, Jousha, Sarah, and Ryan, and 2 great grandchildren, Annika and Kaz. Deaths ELSEWHERE Bryce Courtenay AUTHOR CANBERRA, Australia - Australian best-selling au- thor BryceCour. Deborah Raffin, 59 ACTRESS LOS ANGELES Debo- rah. Gail Harris, 81 BASEBALL PLAYER. -From wire reports Associated Press About 160 people have Idaho permits to keep and hunt with raptors, including Gary Moon, shown with his prairie falcon, Laser, near Kuna in the southern Idaho desert. Idaho falconers channel history, hunt with raptors Associated Press KUNA, Idaho Gary Moon releases "Laser," his young prairie falcon, as the sun's first rays set southern Idaho's desert horizon ablaze. The two-pound fe- male, a tiny radio transmit- ter strapped to each leg, lifts from Moon's leather gauntlet and with every rapid wing beat circles higher into the sky. Moon, a semi-retired 70-year-old businessman and mechanic from Boise, waits until his bird soars to 400 feet before sprinting to- ward a pond. With no ducks on the water, however, he reaches inside a sack at his side, flinging a homing pi- geon bit- ten by the falcon bug for life. "With falcons, it's the lure of the unexpected." With its arid southern plain scoured with deep river canyons, Idaho is rap- tor country More than 700 pairs nest each spring in the 485,000-acre Snake River Birds of Prey Na- tional resi- dents of the Middle East, China and Europe did hun- dreds. Falconers are active in many states. Moon joined more than 300 people from around the world who spent last week hunting with fal- cons in Kearney, Neb., dur- ing the annual meeting of the International Associa- tion of Falconry and Conser- vation of Birds of Prey In Idaho, about 160 peo- ple have state raptor per- mits, according to a 2011 Department of Fish and Game survey They re- ported harvesting 700 game birds, half of them ducks. That's just a sliver of the 210,000 ducks shot by all 14,100 licensed hunters in Idaho in 2011. Some animal rights groups have questioned the practice of keeping wild birds captive. That's one reason the U.S. Fish and Wildlife Service outlines strict requirements for peo- ple who want to hold rap- tors, to prevent them from being exploited. Powerball jackpot builds to $325M Associated Press DES MOINES, Iowa - tick- ets sold has decreased, but the sales revenue has made up for it, increasing by about 35 percent, said Norm Lin- gle, chairman of the Power- ball board of directors. And as the price went up, so did the pots of cash that entice thousands across the country to play "Christmas is coming and $325 million would come in handy," said Tim Abel, 63, who was buying a Power- ball ticket at New YorkCS71 Port Authority Bus Termi- nal. The Broadway stage- hand said he usually plays whenever the jackpot goes over $100 million. Iowa Lottery spokes- woman Mary Neubauer said of the price increase: "... we believed the jackpots would grow fast and grow large because of the change in the game, and it does ap- pear that it is working." Recent Powerball jack- pot winners include an Iowa couple that won a whopping $202 million on Sept. 26. A week later, a Delaware resident picked all six numbers for a $50 million payday A single winner on Sat- urday choosing a cash pay- out would get nearly $213 million before paying state and federal taxes. 376 YEAR SWIT DI I TY&oT FERO Meora Gades Add on artistic tIouh to your existing yard or pool or plan something i completelyy new! I'-.r^i4 "Often imitated, ?f Bnever duplicated" YOUR INTEIROCKING BRICKPAVERSPECIALIST M COPES POOL AND PAVER LLC I rt 352-400-3188 |" Sparrows Lottery officials said they're unsure what effect Thanksgiving and begin- ning of Christmas shopping season will have on Power- ball sales. Often, lottery sales pick up considerably in the days before high-dol- lar drawings when jackpots get so high. "I think this weekend will be very telling," said Lingle, who is also the ex- ecutive director of the South Dakota Lottery "To my knowledge we've never had a large jackpot run like this fall over a major holiday" ra&. E. z a,7ia Funeral Home With Crematory JEANNE RUPRECHT Memorial: Sat. 1:00 PM VFW Post 4337 Inverness MARGARET CARLSON Graveside: Mon. 2:30 PM Fero Memorial Gardens LOGAN HARBISON Arrangements Pending ROBERT BURKE Service: Today 11:00 AM New Testament Baptist 726-8323 000D4AM To Place Your "In Memory" ad, Saralynne Miller at 564-2917 scmiller@chronicleonline.com I : II :* n III, , TAVERN- Player's Poker Sunday's 1:30, Wednesday's 5:30 Thursday's Ladies Nite Jello Shots 2P1, Well Drinks Buy 2, Get 3rd FREE Full Liquor Bar, Great Finger Foods . Full smoking facility. . Only Full Liquor Bar in Citrus Springs 9542 N. Citrus Springs Blvd. Most fun you will have (Across from Fire Station) in Citrus Springs 465-0053 GUARANTEED! Homosassa 621-7700 .. 61 FREE INSPECTIONS Crystal River 795-8600 FREE INSPECTIONS Inverness 860-1037 TERMITE SPECIALISTS WINGED ANT WINGED TERMITE SINCE 1967 y Sc-BUSIL PEST CONTROL Toll Free 1-877-345-BUSH . .....A. .. pa si.. "We Cater to Cowards!" General & Cosmetic Dentistry HO PROFESSIONAL COMPASSIONATE FREE SECOND OPINION. Most Insurance Accepted cense #DN L Ledger Dentistry Jeremy A. Ledger, D.M.D., P.A. Ledgerdentistry.com Se Habla Espanol 3640 S. Suncoast Blvd., Homosassa, FL 34448 (352) 628-3443 I I SATURDAY, NOVEMBER 24, 2012 A5 AS~TH SAUDYMNVMER2,202SOKSEiusCUTY IN)ECHRONICL I IHwT E H "N'I REVIEW- NokiaCp 957938 3.56 +.25 Vringo 15679 3.87 +.12 RschMotn 692156 11.66 +1.40 can Stock Exchange. Tables show name, price and net change. BkofAm 565917 9.90 +.13 BrigusG g 11105 1.04 +.08 Microsoft 556647 27.70 +.75 Name: Stocks appear alphabetically by the company's full name (not abbrevia- S&P500ETF563144 141.35 +1.90 NovaGldg 10527 4.62 +.12 Intel 478970 19.72 +.36 tion). Names consisting of initials appear at the beginning of each letter's list. AlcatelLuc 555328 1.10 +.10 NwGoldg 10175 10.47 +.28 Facebook n 277872 24.00 -.32 Last: Price stock was trading at when exchange closed for the day. iShEMkts 370732 41.63 +.67 CheniereEn 9849 15.63 +.15 SiriusXM 179606 2.78 +.06 Amercan Exchange's Name Last Chg % Chg Name Last Chg % Chg Name Last Ch % Ch Emerging Company Marketplace. h- temporary exmpt from Nasdaq capital and surplus list- DBCmdyS 52.50 +10.45 +24.9 Richmntg 3.91 +.52 +15.3 ChiCeram 2.50 +.80 +47.1 inmgqualification. n-Stockwasa new issue in the last year.The 52-week high and low fig- Molycorp 8.62 +1.39 +19.2 Banro g 3.22 +.34 +11.8 MAP Phm 15.42 +2.60 +20.3 ures date only from the beginning of trading. pf- Preferred stock issue. pr- Preferences. pp- Danaos 2.90 +.30 +11.5 Augustag 2.78 +.27 +10.8 BComm 5.40 +.75 +16.1 Holder owesinstallments of purchase pnce. rt- Rightto buy security ata specified pnce. s- NQ Mobile 6.20 +.56 +9.9 EurasnMg 2.18 +.18 +9.0 Perfuman If 4.80 +.62 +14.8 Stock has split by at least 20 percent within the last year. wi- Trades will be settled when the Pretium g 14.31 +1.28 +9.8 RareEle g 3.59 +.28 +8.5 NatlBevrg 16.89 +2.17 +14. BarcShtC 18.20 -2.30 -11.2 Innsuites 2.05 -.15 -6.8 PointrTel 2.73 -.37 -11.9 GCSaba 3.47 -.35 -9.1 Ellomay 5.32 -.28 -5.0 CharmCom 4.58 -.55 -10.7 T _r-._ PrUVxSTrs20.20 -1.85 -8.4 Aerosonic 3.35 -.15 -4.3 HudsonTc 3.10 -.30 -8.8 DirChiBear 12.41 -.89 -6.7 BovieMed 2.89 -.11 -3.7 YouOnDrs 2.80 -.26 -8.5 CSVS3xlnSW19.98 -1.34 -6.3 DeltaAprl 14.56 -.56 -3.7 IntegElec 4.53 -.38 -7.7 DIARY 2,440 Advanced 487 Declined 107 Unchanged 3,034 Total issues 112 New Highs 19 New Lows 1,455,279,827 Volume 276 Advanced 105 Declined 48 Unchanged 429 Total issues 16 New Highs 6 New Lows 35,128,757 Volume DIARY 1,773 542 120 2,435 35 20 777,821,385 52-Week High Low Name 13,661.72 11,231.56Dow Jones Industrials 5,390.11 4,531.79Dow Jones Transportation 499.82 422.90Dow Jones Utilities 8,515.60 6,898.12NYSE Composite 2,509.57 2,102.29Amex Index 3,196.93 2,441.48Nasdaq Composite 1,474.51 1,158.66S&P 500 15,432.54 12,158.90Wilshire 5000 868.50 666.16Russell 2000 Net % YTD % 52-wk Last Chg Chg Chg %Chg 13,009.68 +172.79 +1.35 +6.48+15.83 5,051.76 +54.58 +1.09 +.64+11.43 440.59 -.46 -.10 -5.18 +3.42 8,225.51 +113.33 +1.40+10.01 +19.24 2,386.87 +29.63 +1.26 +4.76+13.37 2,966.85 +40.30 +1.38+13.88+21.52 1,409.15 +18.12 +1.30+12.05+21.62 14,733.03 +181.26 +1.25+11.70+21.17 807.18 +8.80 +1.10 +8.94+21.17Montg 59.47 +.36 BkNYMel 24.43 +.39 Barday 16.28 +.40 ABBLtd 18.81 +.53 BariPVixrs 30.00 -1.34 AESCorp 10.10 +.13 BarrickG 35.54 +.75 AFLAC 51.89 +.66 Baxter 68.81 +2.69 AGCO 45.61 +1.00 Beam Inc 55.51 +.80 AGL Res 37.55 -15 BeazerH rs 14.48 -.22 AK Steel 3.83 +.05 BectDck 77.73 +.91 AOL 36.45 +.85 Bemis 33.66 +.27 ASAGold 22.20 +.42 BerkHa A132606.00+1296.00 AT&T Inc 34.36 +.51 BerkHB 88.50 +.92 AUOptron 4.03 +.24 BestBuy 11.70 +.13 Abtab 64.47 +1.14 BioMedR 19.11 +.16 AberFitc 44.40 +.69 BIkHillsCp 34.08 +.19 BIkDebtStr 4.26 Accenture 68.18 +.62 BlkDebtStr 4.26 .17 AdamsEx 10.51 +.09 BlkEnhC&IGbOp 12.74 +.15 AMD 1.95 +.08 Blackstone 124.9574 +.15 AecomTch 21.87 +.35 Blackstone 14.95 +.15 Aeropost 14.45 +.53 BlockHR 18.23 +.25 Aeptnos 14.4599 +.83 Boeing 73.74 +.59 Agilent 36.88 +1.04 Boise Inc 8.78 +.26 Agilent 36.88 +1.04 BostBeer 115.49 +1.33 AgniLug 5 16.48 +1.1 BostProp 103.06 +1.39 AlcatLuc .10 +.10 BostonSci 5.59 +.09 Alleta 35 +.08 BoydGm 5.28 -.04 Allete 38.09 +.11 Brgg 32.6 +2 AiBGlbHi 15.54 +.04 BrMySq 32.62 +.21 AlliBnobHi 15.54 +.04 Brookdale 24.75 -.01 AlliBIno 8.65 +.04 BrkfidOfPr 16.37 +.06 AlliBstatern 18.24 +.25 Brunswick 24.91 +.23 Al hlstateNRs 7.284 +11 Bukeye 49.45 +.32 AlphaNRs 716.28 +11 BurgerKn 16.50 +.06 AIpAerMLP 16.21 +.04 CBLAsc 22.01 +.43 Altria 33.48 +.62 CBREGrp 17.87 +.18 AmBev 40.89 +.25 CBSB 35.85 +1.04 Ameren 28.55 -.17 CHEngy 64.91 -.04 AMovilL 24.15 +.49 CMS Eng 23.52 +.01 AmAdxle 10.46 +.35 CNHGbl 48.86 +1.36 AEagleOut 19.68 +.36 CNOFind 8.88 +.12 AEP 41.03 +.04 CSS Inds 20.29 +.18 AmExp 56.51 +.53 CSX 19.71 +.34 AmlntGrp 32.83 +.16 CVSCare 45.83 +09 AmSIP3 7.58 -.01 CYS Invest 12.55 +.14 AmTower 74.98 +.86 CblvsnNY 13.98 -.08 Amerigas 40.68 +.53 CabotOGs 49.88 +.42 Ameriprise 61.00 +.83 CallGolf 6.32 +.01 AmeriBrgn 41.38 +.53 Calpine 16.93 -.02 Anadarko 74.55 +2.04 Camecog 17.48 +.66 AnglogldA 31.27 +.33 Cameron 54.47 +1.35 ABInBev 86.98 +1.88 CampSp 36.70 +.25 Ann Inc 34.03 -.03 CdnNRsgs 28.42 +.91 Annaly 14.76 +.10 Canon 35.72 +1.16 Anworth 5.85 +.09 CapOne 58.97 +.66 Aonplc 57.74 +.50 CapifiSrce 7.91 +.15 Apache 77.14 +.84 CapMplB 14.59 -.01 AquaAm 24.93 +.06 CapsteadM 12.13 +.17 ArcelorMit 15.09 +.27 CardnlHIth 39.99 +.36 ArchCoal 6.62 +.11 CarMax 35.14 +.52 ArchDan 26.74 +.35 Carnival 39.08 +.78 AreosDor 11.57 +01 Caterpillar 84.16 +1.11 ArmourRsd 6.77 +09 Celanese 39.70 +.52 Ashland 70.26 +1.01 Cemex 9.09 +.03 AsdEstat 14.59 +.04 Cemigpfs 11.60 +.80 AssuredG 14.09 +.31 CenterPnt 19.26 -.04 AstaZen 46.46 +1.10 CnBBraspf 3.57 -.15 ATMOS 34.20 -.07 CenEIBras 3.18 -.04 AuRicog 8.27 +16 Cnthyink 38.52 +.69 Avon 14.26 +.29 Checkpnt 8.65 +.18 BB&TCp 28.81 +.43 ChesEng 17.83 +.24 BHPBilILt 70.92 +1.37 ChesUfi 43.30 -.13 BP PLC 42.02 +.42 Chevron 105.47 +1.37 BRFBrasil 18.82 ... Chieos 18.76 +.39 BRT 6.22 -.03 Chimera 2.63 +.05 BakrHu 41.83 +.50 ChinaDig s 2.42 +.01 BallCorp 45.07 +.46 ChinaMble 56.88 +.73 BeoBradpf 16.66 +.30 ChinaUni 15.90 +.55 BeoSantSA 7.46 +.18 Cigna 52.76 +.75 BeoSBrasil 6.96 +.11 CindBell 5.03 -.02 BkofAm 9.90 +.13 Cifgroup 36.03 +.26 CleanHarb 57.73 +.29 CliffsNRs 31.23 +.28 Clorox 74.65 +.31 Coach 59.66 +1.38 CCFemsa 133.85 +.90 CocaColas 37.93 +.54 CocaCE 30.56 +.21 Coeur 24.11 +.35 CohStlnfra 17.88 +.20 ColgPal 108.00 +1.20 CmclMfis 13.42 +.07 CmwREIT 14.64 +.14 CompSci 37.90 +1.04 Con-Way 27.59 +.24 ConAgra 28.41 +.28 ConocPhil s 56.67 +.62 ConsolEngy 32.69 +.41 ConEd 54.10 -.11 ConstellA 35.11 +.72 Cnvrgys 15.33 +.19 Cooper Ind 78.77 +.78 Copel 13.32 +.57 Corning 11.29 +.17 CosanLtd 16.64 +.01 CottCp 8.71 +.12 Covidien 57.42 +1.00 Crane 41.98 +.57 CS VS3xSIv 38.20 +2.29 CSVS2xVxS .95 -.10 CSVellIVSt 19.06 +.83 CredSuiss 23.14 +.49 CrwnCsfie 67.55 +1.01 Cummins 99.64 +1.36 CurEuro 128.91 +1.59 DCT Indl 6.32 +.08 DDRCorp 15.55 +.08 DNP Selct 9.48 -.01 DR Horton 19.53 +.08 DSWInc 68.12 +.94 DTE 58.88 -.14 DanaHIdg 13.95 +.27 Danaher 53.49 +.45 Darden 53.53 +.96 DaVitaHIth 111.43 +1.42 DeanFds 16.99 +.14 Deere 83.97 +1.14 DelphiAuto 34.05 +.45 DeltaAir 9.84 +.12 DenburyR 15.74 +.24 DeutschBk 43.87 +1.57 DBGoldDS 4.08 -.12 DevonE 53.23 +.34 Diageo 120.69 +2.94 DiamRk 8.62 +.06 DrxFnBull 108.05 +3.55 DirSCBear 16.11 -.52 DirFnBear 17.05 -.62 DirSPBear 17.85 -.73 DirDGIdBII 12.68 +.54 DrxTcBear 9.65 -.50 DrxEnBear 7.99 -.35 DrxSOXBII 23.98 +1.17 DirEMBear 11.19 -.56 DirxSCBull 54.58 +1.66 DirxEnBull 48.59 +1.84 Discover 41.46 +.33 Disney 49.26 +.58 DollarGen 49.41 +1.41 DomRescs 50.12 -.04 DowChm 29.38 +.56 DuPont 43.12 +.70 DukeEn rs 60.45 +.03 DukeRlty 13.43 +.15 E-CDarg 4.52 +.31 EMC Cp 24.81 +.46 EOG Res 118.99 +.85 EastChem 60.05 +.93 Eaton 51.58 +.85 EV EnEq 10.70 +.06 EVTxMGlo 8.72 +.11 Edisonlnt 43.49 -.33 EdwLfSci 85.60 +1.90 Ban 10.45 +.11 BdorGldg 15.43 +.28 EmersonEl 49.12 +.57 EmpDist 19.85 -.04 EnbrdgEPt 28.71 +.48 EnCanag 21.65 +.66 EndvSilvg 8.60 +.17 EngyTsfr 43.15 +.33 Enerplsg 13.07 +.50 EnPro 38.67 +.53 ENSCO 57.26 +.84 Entergy 62.04 -.24 EntPrPt 52.00 +.31 EsteeLdrs 59.62 +1.12 ExeoRes 8.10 +.12 Exelon 28.57 -.28 Express 12.21 +.45 ExxonMbl 89.09 +1.08 FedExCp 87.73 +.08 FedSignl 5.45 +.06 Ferrellgs 18.22 +.37 Ferro 2.74 +.11 FibriaCelu 10.12 +.19 RdlNRn 23.66 +.20 FidNatlnfo 35.78 +.19 FstHorizon 9.85 +.25 FstRepBk 34.20 +.42 FTActDiv 7.65 +.09 FtTrEnEq 11.91 +.20 RFirstEngy 41.07 -.13 Ruor 53.81 +.54 FootLockr 34.82 +.75 FordM 11.10 +.18 FordMwt 2.15 +.19 ForestLab 33.32 +.43 ForestOil 6.68 +.15 Fortress 4.24 +.01 FranceTel 10.71 +.15 FMCG 38.88 +.61 Fusion-io 24.28 +17 GATX 41.13 +.29 GNC 34.94 +.31 GabelliET 5.62 +.06 GabHIthW 9.13 +.02 GabUIl 6.57 GafisaSA 3.78 +.07 GameStop 27.07 -.01 Gannett 17.83 +.24 Gap 35.50 +.35 GenDynam 65.41 +1.05 GenElec 21.04 +.36 GenGrPrp 19.02 +.18 GenMills 40.77 +.31 GenMotors 25.21 +.61 GM cvpfB 39.50 +.50 GenOn En 2.40 Genworth 5.65 -.01 Gerdau 9.05 +.35 GlaxoSKIn 43.17 +.61 GlimchRt 10.69 +11 GoldFLtd 12.05 +.17 Goldcrpg 41.36 +.20 GoldmanS 120.31 +2.61 Goodyear 11.83 +.22 GtPlainEn 20.06 +.15 Griffon 9.68 +.32 GpFSnMxn 14.11 ... GuangRy 17.05 +.03 Guess 24.78 +.57 HCA HIdg 31.46 +10 HCP Inc 45.69 +.32 HSBC 50.23 +.85 HSBC Cap 25.88 -.01 HalconRrs 6.26 +.04 Hallibrtn 32.08 +.38 HanJS 16.25 +.22 HanPrmDv 13.42 +16 Hanesbrds 34.98 +.18 Hanoverlns 35.59 +.70 HarleyD 48.26 +.50 HarmonyG 8.15 +.26 HartfdFn 21.31 +.13 HawaiiEl 24.08 +.05 HItCrREIT 60.26 +.39 HItMgmt 8.23 +.08 HIthcrRlty 23.63 +.19 Heckmann 3.64 -.01 HeclaM 5.90 +.19 Heinz 58.43 +.81 Hershey 72.40 +.46 Hertz 15.00 +.35 Hess 51.12 +1.02 HewlettP 12.44 +.50 HighwdPrp 31.99 +.18 HollyFront 45.48 +.88 HomeDp 64.82 +.73 Honda 33.58 +.90 HonwIllIni 61.26 +.67 Hospira 29.42 +.18 HospPT 22.44 +.51 HostHofis 14.68 +.24 HovnanE 5.31 +.01 Humana 66.69 +.13 Huntsmn 16.71 +.16 IAMGIdg 12.24 +.30 ICICI Bk 37.64 -.58 ING 9.00 +.26 iShGold 17.03 +.20 iSAsfia 24.56 +.47 iShBraz 52.16 +.65 iSCan 28.18 +.40 iShGer 23.14 +.67 iShHK 19.16 +.38 iShJapn 9.29 +.11 iSh Kor 59.01 +.91 iSMalas 14.76 +.05 iShMex 66.98 +.85 iShSing 13.12 +.21 iSTaiwn 13.20 +.55 iSh UK 17.54 +.29 iShSilver 32.98 +.69 iShBTips 121.87 -.09 iShChina25 37.46 +.88 iSCorSP500141.83 +1.75 iShEMkts 41.63 +.67 iShiBxB 121.80 +.05 iShEMBd 121.45 +.07 iShB20OT 124.21 -.12 iShB7-10T 108.14 -.06 iS Eafe 54.54 +1.15 iShiBxHYB 92.37 +.31 iSR1KV 71.43 +.87 iSR1KG 65.33 +.85 iShR2K 80.47 +.79 iShUSPfd 39.76 +.07 iShREst 63.33 +.51 iShDJHm 20.68 +.24 iStar 7.83 +.09 Idacorp 41.13 -.07 ITW 60.62 +.85 Imafon 4.12 -.03 ImaxCorp 21.26 -.18 IngerRd 48.23 +.62 IntegrysE 52.60 +.02 IntnmfEx 131.19 +.67 IBM 193.49 +3.20 InfiGame 13.13 -.06 IntPap 36.26 +.80 Interpublic 10.32 +.35 InvenSense 10.38 +.61 Invesco 24.83 +.51 InvMtgCap 20.57 +.30 IronMt 32.60 +.01 ItauUnibH 15.25 +.28 JPMorgCh 41.09 +.36 Jabil 18.95 +.40 JanusCap 8.44 +.07 Jefferies 16.15 +.15 JohnJn 69.56 +.58 JohnsnCfi 27.22 +.46 JonesGrp 11.77 +.22 JoyGIbl 57.13 +1.47 JnprNtwk 16.70 +.49 KB Home 14.60 +11 KBR Inc 27.84 +.23 KKR 14.11 +.24 KTCorp 18.23 +.32 KCSouthn 77.61 +1.28 Kaydons 22.16 +.41 KAEngTR 24.74 +.17 Kelbgg 55.26 +.21 KeyEngy 6.21 +.07 MobileTele 17.52 +.17 Penney 17.29 +.04 Raytheon 56.20 +.36 Keycorp 8.45 +.16 MolsCoorB 40.51 +.43 Pentair 47.66 +1.42 Rltylnco 39.33 -.06 KimbClk 87.34 +1.06 Molymorp 8.62 +1.39 PepBoy 10.58 +.18 RedHat 49.74 +.68 Kimco 19.17 +.16 MoneyGrm 12.51 +.26 PepeoHold 19.11 +.03 RegionsFn 6.69 +.11 KindME 81.51 +.42 Monsanto 90.58 +1.19 PepsiCo 70.19 +.88 Renren 3.40 +.04 KindMorg 33.72 +.26 MonstrWw 5.62 +.07 Prmian 13.68 +.19 ResMed 40.50 +.44 Kinrossg 10.12 +.20 Moodys 47.32 +1.14 PetrbrsA 18.25 +.28 ResrceCap 5.85 +.04 KnghtCap 2.49 -.04 MorgStan 16.43 +.18 Petrobras 18.78 +.37 RetailPrpn 12.56 +.21 KodiakOg 9.07 +.14 MSEmMkt 14.74 +.26 Pfizer 24.53 +.18 Revlon 15.11 +.16 Kohls 52.25 +.28 Mosaic 52.65 +.94 PhilipMor 90.41 +1.69 ReynAmer 43.08 +.51 KrispKrm 9.32 +.15 MotrlaSolu 54.76 +.89 Phillips66n 49.82 +.43 Riontnb 48.35 +.40 Kroger 24.98 +.33 MurphO 58.41 +.88 PiedNG 29.67 -.10 RiteAid 1.05 +.01 LSICorp 6.71 +.13 NCRCorp 24.03 +.47 Pier1 20.11 +.15 RockwAut 78.39 +.99 LTCPrp 32.23 +.33 NRG Egy 19.95 -.03 PimoStrat 10.86 +.08 RockColl 56.57 +.55 LaZBoy 16.42 +.16 NVEnergy 17.85 -.05 PinWst 49.28 -.20 RockwdH 44.30 +.60 Ladede 39.01 +.41 NYSEEur 22.88 +.16 PioNtrl 107.99 +1.77 RylCarb 34.93 +1.08 LVSands 44.18 +.46 Nabors 14.02 +.34 PitnyBw 11.17 +.26 RoyDShllA 66.99 +.80 LeapFrog 8.44 +.01 NamTai 14.20 +.37 PlainsEx 35.91 +.73 Roce 12.90 +.11 LennarA 38.68 +.36 NBGrcers 2.29 +.12 PlumCrk 42.04 +.22 LeucNatf 21.10 +.08 NatFuGas 52.24 +.66 Polaris 84.02 +1.32 Lexmark 25.61 +1.39 NatGrid 56.90 +.90 PostPrp 47.28 +.30 SAIC 11.62 +.28 LbtyASG 3.99 +.07 NOilVarco 72.60 +1.00 Potash 38.38 +.03 SAPAG 77.21 +1.98 LillyEli 47.74 +.32 Navistar 19.83 +.09 PwshDB 28.06 +.10 SCANA 45.13 -.16 Limited 48.74 +.57 NewAmHi 10.53 ... PSUSDBull 21.93 -.21 SKTIcm 15.64 +.25 LincNat 24.61 +.37 NJRscs 39.19 -.16 PSIndia 17.48 -.01 SpdrDJIA 129.89 +1.74 Lindsay 75.36 +.34 NYCmlyB 12.90 +.23 Praxair 106.93 +1.75 SpdrGold 169.61 +2.05 Linkedln 107.62 +.03 Newcastle 8.09 +.10 PrecMxNik 13.78 +.22 SPMid 180.55 +2.15 LionsGtg 16.14 -.14 NewellRub 21.35 +.20 PrinFnd 27.33 +.57 S&P500ETF141.35 +1.90 LloydBkg 2.96 +.06 NewfidExp 24.14 +.16 ProLogis 34.09 +19 SpdrHome 26.37 +.34 LockhdM 91.83 +1.32 NewmtM 47.69 +.61 ProShtDow 34.83 -.48 SpdrLehHY 40.22 +.17 LonePineg 1.02 -.04 NewpkRes 7.57 +.10 ProShtQQQ 25.88 -.39 SpdrNuBST 24.45 +.02 LaPac 17.77 +.54 Nexeng 25.20 -.02 ProShtS&P 34.60 -.45 SpdrS&P RB 27.86 +.71 Lowes 35.15 +.60 NextEraEn 67.20 -.05 PrUltQQQs 54.12 +1.56 SpdrRetl 63.20 +.94 nBasA 48.62 +.63 NiSource 24.02 +.09 PrUShQQQ 30.42 -.92 SpdrOGEx 53.88 +.81 NikeB 96.75 +1.15 ProUltSP 58.73 +1.52 SpdrMetM 42.46 +.59 NobleCorp 34.44 +.35 ProShtR2K 25.75 -.26 STMicro 6.04 +.13 M&TBk 99.67 +1.38 NobleEn 96.55 +1.24 ProUltR2K 41.00 +.80 Safeway 16.96 +.49 MBIA 8.36 +.28 NokiaCp 3.56 +25 PrUltSP500 84.65 +3.19 StJoe 21.74 +.16 MDURes 20.41 +.09 NordicAm 9.55 +.41 PrUSSilvrs 40.27 -1.81 Sude 32.03 +.66 MEMC 2.57 -.03 Nordstrm 56.55 +.95 PrUVxSTrs 20.20 -1.85 Saks 10.52 +.32 MFAFnd 8.25 +10 NorfikSo 57.76 +.73 PrUltCrude 27.67 +34 Salesforce 159.45 +.67 MCR 10.04 +.04 NoestUt 37.73 -.16 ProUltSilv 56.04 +2.25 SallyBty 24.89 +.63 MGIC 1.67 NorthropG 65.36 +.43 ProUShEuro 19.66 -.51 SJuanB 12.95 +.10 MGMRsts 9.99 +.10 Novarts 60.62 +1.21 ProctGam 69.59 +1.12 SandRdge 5.72 +.10 Macquarie 41.82 +.26 Nucor 41.14 +.46 ProgsvCp 21.82 +.23 Sanofi 44.87 +1.16 Macys 41.73 +.72 NustarEn 43.02 +.83 PrUShSPrs 56.09 -1.48 Sdichlmbrg 71.18 +.97 MagelMPts 43.78 +.48 NuvMuOpp 15.78 +.05 PUShDowrs 49.04 -1.37 Schwab 13.23 +.17 Magnalntg 45.64 +.74 NvPfdlnco 9.87 +.12 PrUShL20rs 61.14 +.07 SeadrillLtd 39.46 +.58 MagHRes 3.92 +.11 NuvQPf2 9.16 +.03 ProUSR2K 28.47 -.55 SealAir 17.16 +.37 Manitowoc 14.50 +.05 OGEEngy 56.21 +.13 PUSSP500rs39.93 -1.60 SenHous 22.50 +.13 Manulifeg 12.55 +.16 OcciPet 76.17 +1.06 Prudenti 52.02 +.89 Sensient 35.38 +.13 MarathnO 31.93 +.43 Oceaneerg 54.11 +.29 PSEG 29.24 -.16 SiderurNac 5.06 +.19 MarathPet 58.98 +1.15 OfficeDpt 3.05 +.02 PubStrg 145.27 +.98 SilvWhtng 36.99 +.55 MktVGold 48.74 +.66 OfficeMax 9.55 +.06 PulteGrp 17.03 +.20 SilvrcpMg 5.82 +.21 MVOilSvs 38.57 +.55 OiSAs 3.88 +.02 PPrIT 5.50 +.03 SimonProp 151.62 +1.41 MVSemin 31.44 +.64 OldRepub 10.73 +.18 QEPRes 28.69 +.06 Skechers 18.91 +.23 MktVRus 28.04 +.42 Olin 20.86 +.27 Qihoo360 23.43 -.52 SmithAO 61.97 +.98 MktVJrGId 22.53 +.43 OmegaHIt 22.65 +.22 QuanexBId 20.62 +.17 SmithfF 22.00 +.27 MarlntA 35.24 +.42 Omnicom 47.46 +1.18 QuantaSvc 25.47 +.27 Smucker 86.05 +1.48 MarshM 35.78 +.32 OnAssign 19.47 +.18 QntmDSS 1.25 +.02 SonyCp 10.02 -.06 MStewrt 2.50 +.11 ONEOKs 45.98 -.02 Questar 19.34 +.07 SoJerInd 48.05 +.12 Mas 16.90 +.31 OneokPrs 58.25 +.29 RPM 27.48 +.12 SouthnCo 42.03 -.25 McDrmlnt 10.70 +.12 OpkoHlth 449 +.04 RadianGrp 4.24 -.02 SthnCopper 36.35 +.74 McDnlds 87.05 +104 o 3099 +.16 RadioShk 1.91 ... SwstAirl 9.37 +.14 McEwenM 3.82 +.29 -1 b b Ralcorp 71.42 -.36 SwstEngy 36.60 +.29 McEwenrt .15 .00 PG&E 40.17 +. 08 RJamesFn 37.91 +.39 Spartch 8.62 -.02 MeadJohn 67.40 +1.28 PNC 55.75 +.94 Rayonier 49.32 +41 SpecraEn 28.08 +25 Mechel 6.31 +21 PNM Res 20.40 -.11 Medids 43.29 +.01 PPG 123.37 +1.62 Medfnic 43.27 +.52 PPL Corp 28.08 -.15 S S Merck 44.28 +.39 PVH Corp 110.97 +1.37 Meritor 4.18 +11 PVRPrs 23.47 +.23 The remainder of the MetLife 33.23 +39 PallCorp 61.56 +1.04 MetroHlth 11.20 ... Pandora 7.84 +.04 NYSE ising can MKorsn 51.47 +.23 PeabdyE 25.15 +.25 found on the next page. MidAApt 61.57 +.08 Pengrthg 5.21 +.17 MitsuUFJ 4.62 +.08 PennWstg 10.88 +.21 IA E IA N 5 XC AN E1 Name Last Chg AbdAsPac 7.93 +.04 AbdnEMTel 20.28 +.17 AdmRsc 33.48 -.85 Adventrx .61 AlexeoRg 3.88 +.15 AlldNevG 33.34 +.21 AlphaPro 1.43 -.05 AmApparel .92 +.01 Argan 18.02 -.10 Augustag 2.78 +.27 Aurizong 3.91 +.03 AvalnRare 1.50 +.10 Banrog 3.22 +.34 CornstProg 5.09 +.04 BarcGSOil 21.10 +.15 CrSuislneo 3.86 +.03 BioTime 3.52 CrSuiHiY 3.20 BrigusGg 1.04 +.08 CAMAC En .67 -.04 CardiumTh .21 +.00 DeourEg .20 +.01 CelSd .34 +.01 DenisnMg 1.14 +.04 CFCdag 23.35 +.42 EVLtdDur 17.06 +.09 CheniereEn 15.63 +.15 EVMuniBd 14.77 +.01 CheniereE 21.13 +.34 EVMuni2 14.00 +.01 ChinaPhH .33 EllswthFd 7.05 +.03 ChinaShen .31 +.04 EmrldOrs 5.00 -.04 ClaudeRg .62 -.01 EurasnMg 2.18 +.18 ClghGlbOp 11.08 +.06 ExeterRgs 1.34 +.03 ComstkMn 2.20 -.02 FrkStPrp 11.22 +.11 GamGldNR 13.49 +.19 Gastargrs .74 +.02 GeoGloblR .11 +.04 GeoPeto .09 +.01 GigOpDcs 1.70 -.08 GoldResrc 16.18 +.04 GoldStdVg 1.43 -.05 GoldenMin 3.93 +.05 GoldStrg 1.81 +.15 GldFId 1.70 +.12 GranTrrag 5.67 +.14 GtPanSilvg 1.82 +.05 Hemisphrx .75 +.01 HstnAEn .51 +.01 ImmunoCII 1.99 +.04 ImpacMig 12.33 +.58 ImpOilgs 43.81 +.47 InovioPhm .48 +.02 IntellgSys 1.50 IntTowerg 2.17 +.02 Inuvo 1.33 +.20 KeeganRg 4.19 +.11 KimberRg .51 +.04 LkShrGldg .79 +.01 LongweiPI 2.20 NDynMng 3.74 +.22 RareBeg 3.59 +.28 NthnO&G 15.04 +.19 Rentech 2.74 MAGSlvg 10.20 +.03 NovaBayP 1.59 +.05 RexahnPh .42 +.02 MeetMe 3.00 NovaCpp n 2.07 -.01 Richmntg 3.91 +.52 Metalio 1.73 -.02 NovaGldg 4.62 +.12 Rubicon 3.11 +.09 MdwGoldg 1.53 +.07 NCaAMTFr 16.04 +.06 MinesMgt 1.15 +.06 as 5 0 NTS Inc .95 SamsO&G .55 +.02 NavideaBio 2.54 +.10 ParaG&S 2.47 +.11 Sandstgrs 12.26 +.39 NeoStem .65 -.01 PhrmAth 1.17 +.12 SilverBull .45 -.02 Neuralstem 1.06 +.02 PlatGpMet .93 +.01 SilvrCrstg 2.72 +.03 Nevsung 4.43 +.16 PolyMetg .98 -.01 SprottRLg 1.44 NewEnSys .51 +.00 Protalix 5.56 +.22 TanzRyg 4.71 -.01 NwGoldg 10.47 +.28 PyramidOil 4.04 +.01 Taseko 2.87 +.09 NAPallg 1.44 +.01 QuestRMg 1.12 +.08 Timminsg 3.38 +.10 TriangPet 5.81 +.23 Tuows g 1.43 +.01 USGeoth .43 Univ Insur 4.22 +.12 Ur-Energy .74 -.01 Uranerz 1.38 +.01 UraniumEn 2.21 +.06 VantageDrl 1.75 +.04 VirnetX 31.06 -.29 VistaGold 2.98 -.01 Vringo 3.87 +.12 Walterlnv 40.42 -.06 WFAdvlnco 10.30 +.08 IASD AQ AINL5AKT1 Name Last Chg AMAGPh 14.74 -.12 ASML HId 57.53 +2.50 Abiomed 14.25 +.28 Abraxas 1.81 -.02 AcadaTc 21.52 +.22 AcadiaPh 2.22 +.07 Accuray 6.49 +.02 AcelRx 4.15 -.12 Achillion 7.65 +.04 AcmePkt 19.03 +.76 AcfvsBliz 11.24 -.11 Actuate 5.22 +.06 Acxiom 17.59 +.11 AdobeSy 33.40 +.56 Adtan 18.50 +.29 AEterngrs 2.14 -.01 Affymax 24.37 +.34 Affymetix 3.49 +.27 Aixtron 12.60 +.60 AkamaiT 35.97 +.14 Akorn 12.95 -.02 AlaskCom 1.97 -.01 Alexion 94.71 +1.25 Alexzars 5.42 +.31 AlignTech 27.41 +.54 Alkermes 19.84 +.13 AllotComm 21.22 +1.16 AllscriptH 12.51 +.01 AlteraCp If 31.686 +.85 Amain 11.21 -.11 Amazon 239.88 +1.85 Amedisys 10.31 +.21 ACapAgy 31.66 +.24 AmCapLtd 11.81 +13 ACapMg 25.00 +.16 ARItyCT n 11.33 +.04 AmSupr 2.56 +.06 AmCasino 18.80 -.01 Amgen 87.60 +.95 AmicusTh 4.90 +.14 AmkorTdich 4.11 +.09 AmpioPhm 3.47 +.17 Anadigc 1.29 +.04 AnalogDev 40.74 +.63 Anlogic 73.16 -.52 Analystlnt 3.18 +.08 Ancestry 31.59 Ansys 67.22 +.27 AntaresP 3.90 +.08 AntheraPh .64 -.01 ApolloGrp 18.86 +.18 Apollolnv 8.03 +.01 Apple Inc 571.50 +9.80 ApIdMai 10.40 -.03 AMCC 6.58 +.05 Approach 24.15 +.53 ArQule 2.66 +.08 ArchCap 44.07 +.26 ArenaPhm 9.22 +.02 AresCap 17.47 +.05 AriadP 21.76 +.36 ArkBest 7.52 +.12 ArmHId 35.69 +.18 ArrayBio 3.40 -.06 Arris 13.90 +.16 ArubaNet 18.65 +.46 AscenaRts 20.35 +.64 AscentSolr .72 +.01 AsialnfoL 10.71 +.02 AspenTech 26.57 +.03 AssodBanc 13.01 +.33 AstexPhm 2.61 +.05 Astotchh .82 +.12 athenahlth 64.79 +.31 AfiasAir 42.49 +.26 Atmel 4.98 +.17 AutoNavi 11.55 +.35 Autodesk 31.80 +.46 AutoData 56.12 +.72 Auxilium 18.58 +.08 AvagoTch 33.55 +.73 AvanirPhm 2.53 +.02 AVEO Ph 7.20 +.49 AvisBudg 17.71 +.43 Aware 6.40 ... CleanEngy 13.23 +.11 BBCNBcp 11.42 +.49 Cleantchrs 3.85 -.24 B/EAero 44.73 +.20 Clearwire 2.21 +.03 BG Med 1.55 +.29 CoffeeH 6.88 +.23 BGC Pts 3.50 +.08 CognizTech 66.48 +.97 BMCSft 40.19 +.51 CogoGrp 2.54 +.03 Baidu 96.22 +2.98 Coinstar 46.00 -.08 Banner Cp 30.00 ... ColBnkg 17.46 +.36 Bazaarvcn 10.44 -.12 Comcast 36.91 +.42 BeacnRfg 31.79 +.21 Comcspd 35.81 +.30 BeasleyB 4.96 +.26 ComTouch 3.19 +.24 BebeStrs 3.75 +.03 CmcBMO 39.20 +.99 BedBath 60.16 +1.21 CommSys 10.27 +.04 BioRelLab 25.37 -.08 CmplGnom 3.14 -.02 Biocryst 1.61 -.08 Compuwre 8.74 +.16 Biogenldc 149.87 +2.51 Comverse 3.32 +.03 BioMarin 49.08 +.18 Conmed 26.75 +.21 BioMimefc 7.03 +.09 ConstantC 12.67 -.33 BioSanters 1.23 +.03 Coparts 30.60 +.35 BioScrip 10.01 +.01 Corcept 1.40 +.04 BIkRKelso 10.06 +.15 CorinthC 2.13 BobEvans 36.03 -.04 Cosi Inch .58 -.00 BonTon 11.25 +.06 Costeo 97.92 +1.18 BostPrv 9.28 +.26 CrackerB 63.26 +.34 BreitBurn 18.17 +.40 Craylnc 13.57 Bridgeline 2.40 +.04 Cree nc 31.37 +.52 Broadcom 31.58 +.39 Crocs 12.43 +.03 BroadSoft 30.51 -.28 Ctrip.eom 18.05 +.37 BroadVisn 8.35 +.20 CubistPh 39.74 +.09 BrcdeCm 5.64 +.12 Cyberonics 52.69 +.73 BrklneB 8.05 +.20 Cymer 83.63 +3.21 BrooksAuto 7.46 +.20 CypSemi 9.78 +.40 BrukerCp 14.53 +.02 CytRxrs 1.84 +.05 BldrFstSrc 5.25 +.18 Cytoloneth .66 +.03 CAInc 22.10 +.22 _ CBOE 29.56 +.09 1 CEVAInc 14.53 +.50 DUSA 8.00 +.03 CH Robins 60.98 +.76 DeclcsOut 33.08 -.41 CMEGrps 54.64 +.21 Delcath 1.35 +.10 CTC Media 8.61 +.10 Dell Inc 9.55 +.49 CVB Fnd 10.23 +.29 Dndreon 4.45 +.06 Cadence 13.00 +.10 Dennys 4.71 +.01 Caesars n 5.67 +.14 Dentspy 39.30 +50 CalaGDyIn 8.30 +.14 DexCom 12.38 -.16 CalaStrTR 9.97 +.16 DialGlobal .26 -.04 CdnSolar 2.41 +.13 DiamndF hlf 13.28 +30 CapCtyBk 10.94 +.45 DiambkEn 17.32 +.12 CapProd 6.66 +.02 DianaCont 6.34 +.12 CapFedFn 11.82 +.09 DigitalGen 9.74 +.11 CpstnTrbh .92 +.01 DigRiver 13.62 +.17 CardFnc 15.05 -.01 DirecTV 49.49 +.15 Cardiomgh .28 -.00 DiscCmAh 58.20 +.82 Cardtronic 23.11 +.32 DiscCmCh 54.19 +.71 CareerEd 2.74 +.07 DiscovLab 1.95 +.03 Carrizo 21.23 +.38 DishNetwk 35.75 +.66 CarverBcp 2.87 DollarTrs 42.03 +.56 CatalystPh .44 +.02 DonlleyRR 9.53 +.20 Catamarns 49.23 +.57 DrmWksA 18.05 -.72 CathayGen 17.91 +.47 DryShips 1.72 +.02 Cavium 32.56 +.80 Dunkin 30.49 +.05 Celgene 78.51 +.65 Dynavax 2.76 -.16 CellTherrs 1.34 +.09 E-Trade 8.14 +.03 CelldexTh 5.62 +.05 eBay 49.01 +.38 Celsion 6.66 +.24 ErthLink 6.42 +.10 CentEurop 1.89 +.05 EstWstBcp 21.75 +.62 CentAI 7.36 +.07 EbixInc 16.79 +.24 Cepheid 31.85 +.06 EducDevel 3.94 +.01 Ceradyne 34.87 -.01 8x8 Inc 6.36 +.09 Cereplasth .12 -.00 ElectSd 10.26 +.08 Cerner 78.06 +.02 ElectArts 14.37 +.40 CharterCm 70.00 +.13 EFII 18.32 +.39 ChkPoint 46.01 +.51 EndoPhrm 27.80 +.44 Cheesecake 34.48 +.30 Endobgix 13.94 +.01 ChelseaTh 1.58 +.10 EnrgyRec 3.17 +.26 ChildPlace 49.38 +.73 EngyXXI 33.93 +.12 ChiAutL rs 4.46 -.22 Entegris 8.68 +.25 ChiCeram 2.50 +.80 EntropCom 4.78 +.10 ChinaTcF 1.29 +.11 Equinix 186.76 +1.72 ChipMOS 10.24 +.30 Ericsson 9.01 +.26 ChrchllD 61.01 -.37 ExactScih 9.55 +.28 CienaCorp 14.58 +.18 Exelids 5.27 +.03 CinnFin 40.32 +.43 EddeTc 2.74 +.18 Cintas 40.86 +.39 Expedias 60.59 +.57 Cirrus 30.87 -.29 Expdlni 37.18 +.38 Cisco 18.84 +.36 ExpScripts 52.24 +.75 CitzRepBc 18.66 +.47 ExtmNet 3.49 -.05 CitrixSys 61.77 -.13 F5Netwks 92.16 +2.11 FLIRSys 20.03 +.34 Illumina 52.93 +1.24 FXEner 4.12 +.11 ImunoGn 11.65 -.02 Facebookn 24.00 -.32 ImpaxLabs 20.54 +.11 Fastenal 41.14 +.37 Incyte 18.30 +.31 FifthStRn 10.77 +.19 Infinera 4.86 +.10 FifthThird 14.89 +.31 InfinityPh 26.01 +.11 FindEngin 26.65 +.08 Informat 27.46 +.25 Fndlnst 18.27 -.06 Infosys 43.53 +1.17 Finisar 12.76 +.55 Insulet 22.15 +.04 FinLine 21.41 +.27 IntgDv 6.03 +.10 FstCashFn 47.50 +.29 Intel 19.72 +.36 FMidBc 12.61 +.46 Inteliquent 2.16 +.01 FstNiagara 7.41 +.18 InteractB 15.13 +.22 FstSolar 24.45 -.02 InterDig 41.39 +.46 FstMerit 13.99 +.29 InterMune 9.36 +.70 Fiserv 75.43 +.77 InfiSpdw 26.10 +.29 Flextrn 5.83 +.12 Intersil 6.92 +.13 FocusMda 24.52 +.21 Intuit 59.16 +.60 ForrestR 27.83 +.06 InvRIEst 8.47 +.13 Forfnet 19.06 +.36 IridiumCm 5.92 +.14 Fossil Inc 86.20 +2.65 IronwdPh 10.88 +.03 FosterWhl 22.68 +.72 Isis 9.06 +.28 Francesca 26.74 +.16 IvanhoeEh .50 -.01 FreshMkt 62.38 +2.25 Iba 14.79 +.42 FronterCm 4.49 +.07 FuelCellh .90 +.02 FullCrde 8.49 +.29 JA Solar h .61 -.00 FultonFncl 9.78 +.27 JDASoft 44.71 +.05 S JDS Uniph 11.63 +.40 JackHenry 38.46 +.07 GSI Group 7.26 +.02 JacklnBox 27.14 +.12 GTAdvTc 3.36 +19 Jamba 2.00 +.02 GalenaBio 1.68 +.01 JamesRiv 2.49 +.09 Garmin 38.61 +.56 JetBlue 5.10 +.04 Gentex 17.48 +.74 JiveSoftn 13.99 +.52 GeronCp 1.37 +04 JosABank 48.91 +.67 Gevo 1.60 +08 KCAP RFin 8.78 +.48 GileadSd 76.12 +.57 KEYWHId 12.97 +.52 GladerBc 14.46 +.38 KIT Digift .74 -1.33 Gleacherh .66 +.02 KLATnc 45.17 +1.04 Globeco 11.21 +.16 KeryxBio 2.95 +.09 GluMobile 2.48 +.05 Kforce 12.49 -.01 GolLNGLtd 39.89 +.02 KnightT 5.97 +.47 Google 667.97 +2.10 KraftFGpn 45.28 +.77 GrLkDrge 8.28 +.01 KratosDef 4.44 GreenMtC 28.13 +.36 Kulicke 10.68 +.08 Groupon 3.95 +.07 LKQ Cp s 22.01 +.30 GrpoRn 4.68 -.14 LPL Find 27.01 +.87 GulfportE 32.90 +.34 LSI Ind If 6.20 HMN Fn 2.80 -.10 LamResrch 35.34 +.84 HMS Hdgs 23.22 +.21 LamarAdv 40.20 -.02 HainCel 62.20 +.69 Lattice 4.05 +.18 Halozyme 5.72 +.03 LeapWirlss 6.11 +.06 HancHId 32.00 +.86 LegacyRes 24.26 -.15 HanmiFrs 12.06 +.09 LedxPhrm 1.74 +.02 HansenMed 2.31 +.16 LibGlobA 57.03 -.14 Harmonic 4.41 +.14 LibGlobC 53.94 +.03 Hasbro 38.25 +.57 LibCapA 109.04 +1.50 HawHold 5.94 +09 LibtylntA 19.22 +.18 HlthCSvc 23.09 +.08 LifeTech 50.08 +.86 Healthwys 9.75 +.28 LimelghtN 1.71 +.02 HrfindEx 13.70 +.07 LincElec 46.15 +.72 HeartWare 81.32 -.32 LinearTch 32.45 +.55 HSchein 80.75 +.86 LinnEngy 38.87 -.01 HercOffsh 4.63 +.15 LinnCon 37.21 +.10 Hibbett 54.87 +.97 Lionbrdg 3.68 +.08 HimaxTch 2.10 +.02 LivePrsn 13.45 +.12 Hollysys 10.55 +.79 LodgeNeth .19 -.03 Hologic 19.48 +.19 Logitech 7.02 +.26 Home Inns 25.89 -.10 LookSmth .83 +.05 HmLnSvc n 19.45 -.33 lululernn7067 69 HorizPhm 2.56 +.05 HorizTFn 14.17 -.01 HotTopic 9.81 +.15 MAPPhm 15.42 +2.60 HudsCity 8.16 +.13 MBFncl 19.22 +.66 HudsonTc 3.10 -.30 MCGCap 4.31 HuntJB 59.63 +.45 MELA Sci 2.39 HuntBncsh 6.23 +.12 MERTele 3.33 +.21 IAC Inter 42.85 +.45 MGE 48.83 -.27 IdexxLabs 94.05 +2.18 MIPSTech 7.55 +.01 II-VI 16.01 ... MKS Inst 24.29 +.21 IPG Photon 58.57 +.76 MTS 47.60 +1.21 iShAsiaexJ 57.46 +1.04 MagicJcks 16.10 -.07 iShACWI 46.94 +.72 MaidenH 8.97 +.04 iShs SOX 50.22 +.82 MAKO Srg 14.03 +.08 iShNsdqBio 138.22 +1.69 MannKd 1.97 +.03 IconixBr 19.15 +.21 MarfinMid 31.27 +.05 IdenixPh 4.77 +.11 MarvellT 8.07 +.25 Masimo 20.78 +.52 PMCSra 4.90 +.07 Mattel 36.87 +.60 PSS Wrld 28.46 Mattson h .87 +.09 PacWstBc 24.40 +.35 Maximlnig 28.18 +.52 Paccar 43.05 +.50 MaxwlT 6.77 -.03 PacBbsd 1.45 +.09 MedAssets 16.65 +.01 PacEthanh .31 -.00 MedicAcIn 2.75 ... PaciraPhm 16.22 +.22 MediCo 21.60 +.28 Pactera 7.06 +.20 Medivatns 49.94 +.33 PanASIv 19.42 +.37 MeleoCrwn 15.29 +.27 PaneraBrd 162.84 +1.56 Mellanox 84.97 +.56 PapaJohns 51.34 +.54 MEMSIC 3.08 +.09 ParamTch 19.73 +.43 MentorGr 14.38 +.11 Parexel 31.93 +.23 MercadoL 74.10 -1.30 ParkerVsn 1.90 -.02 MergeHIth 3.09 +.10 Patterson 33.83 +.33 Merrimkn 6.99 +.21 PattUTI 17.56 +.15 Microchp 29.99 +.58 Paychex 32.44 +.31 MicronT 5.68 +.16 Pendrell 1.11 +.01 MicrosSys 44.33 +.35 PnnNGm 47.01 +.21 MicroSemi 18.35 +.37 PennantPk 10.43 +.21 Microsoft 27.70 +.75 PeopUtdF 11.90 +.21 MicroStr 86.30 +1.03 Peregrin h .85 +.02 Misonix 5.25 +.63 PerfectWd 10.67 +.09 MitekSys 2.70 +.01 Perfrmntn 7.84 -.30 ModusLnkh 3.07 +.13 PerionNwk 9.57 +.22 Molex 26.62 +.56 Perrigo 103.38 +1.24 Momenta 10.60 -.04 PetSmart 69.09 +.22 Mondelez 25.62 +.21 Pharmacyc 53.79 +1.79 MonroMuf 31.83 +.08 PhotrIn 5.03 +.07 MonstrBvs 45.94 +.20 Plexus 22.37 +.07 Motricityh .70 +.09 PluristemT 3.53 +.21 Mylan 27.11 +.62 Polymom 10.15 +.39 MyriadG 30.38 +.34 Popular rs 19.96 +.79 NIl HIdg 5.14 +.17 Power-One 4.11 +.10 NPS Phm 9.73 +15 PwShs QQQ 64.90 +.97 NXP Semi 24.00 +.65 Pwrwvrsh .33 +.01 Nanosphere 2.79 +.07 PriceTR 65.70 +.80 NasdOMX 23.78 +.55 priceline 641.91 +2.33 NafiBevrg 16.89 +2.17 PrivateB 16.29 +.40 NatCineM 13.28 +.06 PrUPQQQs 50.65 +2.22 Natlnstrm 24.76 +.29 ProceraN 20.60 +.62 NatPenn 9.41 +.24 PrognicsPh 2.33 +.07 NektarTh 6.07 -.28 ProgrsSoft 20.07 +.11 NetApp 31.15 +.70 PUShQQQrs42.27 -2.01 NetEase 43.15 -.90 ProspctCap 10.71 +.06 Netflix 82.95 -.05 PureCycle 2.52 +.03 Neflist .73 +.02 QIAGEN 18.32 +.47 NetSpend 11.20 -.05 QlikTechh 18.94 -.30 Neurcrine 7.23 +.02 Qlogic 9.26 +.16 NYMigTr 6.40 +.10 Qualeom 63.13 +.99 Newport 12.08 +.02 QltyDistr 5.29 +.20 NewsCpA 24.30 +.48 QualitySys 18.24 +.12 NewsCpB 24.83 +.53 QuantFuh .76 +.07 NorTrst 48.29 +.48 Questeor 26.39 +.68 NwstBcsh 11.78 +.23 RFMicD 4.10 +.05 NovfiWrls 1.25 -.02 Rambus 4.74 +.14 Novavax 1.75 +.05 RandLogist 6.32 +.06 NuVasive 14.10 +.09 Randgold 107.39 +2.78 NuanceCm 20.65 +.18 RaptorPhm 5.00 +.07 NuPathe 2.79 +.04 ReconTech 1.82 -.12 NutriSyst 7.62 +.23 Regenrn 176.08 +1.53 Nvidia 11.90 +.08 RentACt 34.64 +.34 NxStageMd 11.84 +.10 ReprosTh 15.08 -.01 OCZTech 1.16 -.03 RschMotn 11.66 +1.40 OReillyAu 92.63 +1.08 ResConn 11.39 +.14 Oclaro 1.66 +.01 RexEnergy 12.75 +.27 OdysMar 2.70 +.21 RigelPh 8.34 +.17 OldDomFs 33.49 +.11 RiverbedT 17.73 +.30 Omeros 7.36 +.18 RosttaGrs 4.82 +.55 OmniVisn 14.98 +.63 RosettaR 47.83 +.72 OnSmcnd 6.17 +.21 RossSss 55.91 +.32 Oneothyr 4.75 -.01 RoviCorp 14.84 +.40 OnyxPh 76.60 +.02 RoyGId 84.77 +1.44 OpenTxt 55.53 +.47 RubieonTc 6.29 +.15 OpenTable 45.44 +1.49 Ranair 34.32 +.82 OpbmerPh 9.68 -.10 IWin Oracle 30.92 +.53 OraSure 7.75 ... S&TBcp 16.93 +.23 Orexigen 4.73 +.04 SBA Com 67.75 +.50 Orthfx 37.82 +.86 SEI Inv 22.50 +.25 OtterTail 23.70 +.04 SLMCp 17.05 +.16 Overstk 14.60 ... SORL 2.69 +.09 Oxi neh 41 +01 STEC 4.71 +.21 SalixPhm 41.90 +.47 SanderFm 47.96 -.23 PDCEngy 31.53 +.06 SanDisk 40.13 +.66 PDL Bio 7.60 +.07 Sanmina 9.22 -.01 PICO HId 18.09 +.17 Santarus 9.49 +.16 Sapient 10.50 +.05 TractSupp 90.73 +.90 Sareptars 29.35 +1.02 Tranzyme .67 -.02 SavientPh 1.15 ... Travelzoo 17.28 -.05 Scholastc 26.39 +.34 TrimbleN 54.86 +.81 SciClone 4.58 +.11 TripAdvn 38.00 +.60 SciGames 7.75 TriQuint 4.57 +.09 SeagateT 27.29 +.54 TrstNY 5.26 +.10 SearsHIdgs 47.52 +.03 Trusmk 22.41 74 SeattGen 25.52 +.25 Trustrk 22.41 +74 SecNf If 6.09 +.31 UTStarcm .94 +.06 SelCmfrt 26.03 +.66 UltaSalon 92.20 +1.68 Selectvlns 18.41 +.20 UlfimSoft 91.58 +1.85 Semtech 24.73 +.59 Umpqua 11.78 +.24 Sequenom 4.26 +.01 Unilife 2.48 -.06 SvcSource 4.57 -.01 UBWV 24.97 +.79 ShandaG s 3.27 +.04 UtdFnBcp 15.59 +.67 Shire 86.63 +1.23 UtdOnln 5.44 +.09 ShoeCarns 20.79 +.27 US Enr 1.66 Shutterfly 27.64 +.98 UtdTherap 53.53 +1.07 SigaTechh 2.45 -.05 UnivDisp 23.61 +.16 SigmaAld 72.20 +.86 UnivFor 37.29 +1.11 Silicnlmg 4.79 +.13 r SilicnMotn 13.62 +.26 UranmRsh .37 +.02 Slmware 5.28 +.45 UrbanOut 37.86 +51 SilvStdg 14.23 +.42 Sina 47.08 -.22 Sindair 11.66 +.24 VCAAnt 20.22 +.36 SiriusXM 2.78 +.06 VOXX Intf 6.18 +.21 SironaDent 62.50 +.26 ValueClick 18.62 -.04 Skullcandy 7.99 -.02 VanSTCpB 80.46 +.01 SkyWest 11.21 +.01 VanlntCpB 88.31 +.11 SkywksSol 21.77 +.42 VanTIntStk 45.20 +.86 SmartTcg 1.29 -.01 VaseoDta 7.71 +.40 SmithWes 9.84 +.02 Veeeolnst 27.66 +.38 SodaStrm 35.99 -.11 Vel 3.74 -.04 Sohu.cm 37.88 +.83 VBradley 27.72 +.27 Solazyme 6.88 -.19 VerintSys 26.04 +.15 SonicCorp 9.77 -.03 Sonus 1.43 +.02 Verisign 40.87 SouMoBc 24.36 ... Verisk 48.09 -.27 Sourcefire 47.15 +.37 VertxPh 41.46 +.35 SpectPh 11.30 +.14 ViaSat 35.95 +.30 Splunkn 28.89 +.22 ViacomB 50.48 +.77 Spreadtrm 17.84 -.14 Vical 2.87 +.06 Staples 11.91 +.11 VirgnMdah 34.01 +.29 StarSdent 2.67 +.32 ViroPhrm 23.86 -.12 Starbucks 51.19 +.68 VisChinah .21 +.01 SiDynam 12.94 +.27 VistaPrt 29.63 +.54 StemCells 1.90 +.02 Vivus 11.43 -.30 Stericyde 92.16 +.47 Vodafone 25.44 +.08 SMadden 43.67 +.46 Volterra 16.78 +.03 Statasys 70.78 +1.21 WarnerCh 11.95 +.10 Stayer 49.44 +2.13 W e 1. .1 SunBcpNJ 3.17 +.02 WashFed 16.30 +.15 SunesisPh 4.78 +.11 Web.com 14.81 +.23 SunPwrh 4.10 +.10 WendysCo 4.69 +.09 SupcndTch .28 +.01 WernerEnt 23.07 +.27 Supernusn 12.05 +.46 WDigital 35.09 +.71 SusqBnc 10.22 +.28 WestfldFn 6.69 +.04 SwisherHl If 1.36 -.02 Wesdrld 9.14 +.17 SycamNets 2.70 +.02 Wstptlnng 25.39 +.18 Symantec 18.47 +.26 WetSeal 2.91 +.06 Symetricm 5.85 +.02 WholeFd 95.06 +2.99 Synamrn 4.96 +.01 Windstrm 8.32 +.07 Synaptfcs 25.66 +.81 WisdomTr 6.14 +.05 Synopsys 32.76 +33 Woodward 36.22 +.83 SyntaPhm 8.18 +.35 n 1. Syntrolmh .48 -.01 XWnn 109.33 +1.30 THQrs 1.04 -.06 XOMA 2.81 +.02 TICCCap 9.86 +.23 Xlinx 34.19 +.49 tw teleom 25.36 +.01 YRC rs 6.99 +.02 TakeTwo 12.42 +.12 YY WIncn 11.32 +.01 Tangoe 13.15 -.07 Yahoo 18.57 +.17 TASER 8.07 -.06 Yandex 22.44 -.02 TechData 44.45 +.45 ZaZaEngy 1.87 -.03 Tellabs 2.87 +.04 zagg 6.61 +.02 TeslaMot 32.13 -.34 Zalicus .58 TetraTc 25.17 +.12 hongpin 10.86 -.05 TxCapBsh 45.19 +1.47 allow 26.11 -.07 Texlnst 29.59 +.39 onBc 20.66 +.48 TexRdhse 16.61 +.02 ZonBcp 20.66 +.48 Thoratec 38.03 +.79 opharm 4.38 +.08 ThrshdPhm 4.54 -.05 Zpcar 8.12 -.11 TibcoSft 25.26 +.27 Zogenix 2.57 +.08 TitanMach 21.62 +.54 Zoltek 6.75 +.13 TiVo Inc 10.16 +.07 Zumiez 20.51 +.21 TowerGrp 17.16 +.17 Zyngan 2.32 -.06 DIARY Advanced Declined Unchanged Total issues New Highs New Lows Volume CHIONICIEI w www.'chronicleonline.com IPay 563-5655 *o- l It's EZ ! *Charge may vary at first transaction and at each vacation start , ,I Yesterday Pvs Day Argent 4.8220 4.8220 Australia .9563 .9628 Bahrain .3769 .3770 Brazil 2.0846 2.1035 Britain 1.6031 1.5937 Canada .9925 .9975 Chile 478.35 478.45 China 6.2330 6.2367 Colombia 1820.50 1817.50 Czech Rep 19.54 19.75 Denmark 5.7500 5.7889 Dominican Rep 39.85 39.76 Egypt 6.0875 6.0904 Euro .7710 .7762 Hong Kong 7.7502 7.7508 Hungary 217.88 216.90 India 55.545 55.225 Indnsia 9615.00 9637.00 Israel 3.8600 3.8762 Japan 82.40 82.43 Jordan .7078 .7079 Lebanon 1504.00 1505.50 Malaysia 3.0590 3.0610 Mexico 12.9578 13.0232 N. Zealand 1.2136 1.2266 Norway 5.6624 5.6821 Peru 2.588 2.598 Poland 3.17 3.19 Russia 31.0415 31.1756 Singapore 1.2232 1.2251 So. Africa 8.8888 8.9432 So. Korea 1085.30 1085.75 Sweden 6.6251 6.6815 Switzerlnd .9283 .9351 Taiwan 29.20 29.15 Thailand 30.68 30.70 Turkey 1.7938 1.7975 U.A.E. 3.6730 3.6733 Uruguay 19.5499 19.5999 Venzuel 4.2927.09 0.09 6-month 0.14 0.14 5-year 0.69 0.61 10-year 1.69 1.55 30-year 2.83 2.73 S FUTURES Exch Contract Settle Chg Lt Sweet Crude NYMX Jan 13 88.28 +.90 Corn CBOT Dec 12 7451/2 +41/2 Wheat CBOT Dec 12 8473/4 +21/2 Soybeans CBOT Jan 13 14183/4 +101/2 Cattle CME Feb 13 132.72 +1.10 Sugar (world) ICE Mar13 19.14 -.50 Orange Juice ICE Jan 13 126.00 +.60 SPOT Yesterday Pvs Day Gold (troy oz., spot) $1751.30 $1714.30 Silver (troy oz., spot) $34.111 $32.361 Copper (pound) $3.b2/b $3.4b3b Platinum (troy oz.,spot)$bl6/.lo $15bb ... ... 3.83 +.05 -53.6 McDnlds 3.08 3.5 16 87.05 +1.04 -13.2 AT&T Inc 1.80 5.2 45 34.36 +.51 +13.6 Microsoft .92 3.3 15 27.70 +.75 +6.7 Ameteks .24 .6 21 37.26 +.53 +32.8 MotrlaSolu 1.04 1.9 23 54.76 +.89 +18.3 ABInBev 1.57 1.8 ... 86.98 +1.88 +42.6 NextEraEn 2.40 3.6 13 67.20 -.05 +10.4 BkofAm .04 .4 26 9.90 +.13 +78.1 Penney ...... 17.29 +.04 -50.8 CapCtyBk ...... ..10.94 +.45 +14.6 PiedmOfc .80 4.5 15 17.68 +.13 +3.8 CntryLink 2.90 7. 5 35 38.52 +.69 +3.5 RegionsFn .04 .6 12 6.69 +11 +55.6 Citigroup .04 .1 11 36.03 +.26 +36.9 SearsHIdgs .33 .. ... 47.52 +.03 +49.5 CmwREIT 1.00 6.8 26 14.64 +.14-12.0 Smucker 2.08 2.4 20 86.05 +1.48 +10.1 Disney .60 1.2 16 49.26 +.58 +31.4S 5 0 4 DukeEn rs 3.06 5.1 17 60.45 +.03 SprintNex .........5.64 +06+141.0 EPR Prop 3.00 6.7 20 45.02 +.33 +3.0 Texlnst .84 2.8 19 29.59 +.39 +1.6 ExxonMbI 2.28 2.6 11 89.09 +1.08 +5.1 TimeWarn 1.04 2.3 17 46.15 +1.18 +27.7 FordM .20 1.8 9 11.10 +.18 +3.2 UniFirst .15 .2 15 70.47 ... +24.2 GenElec .68 3.2 16 21.04 +.36 +17.5 VerizonCm 2.06 4.7 41 43.76 +.60 +9.1 HomeDp 1.16 1.8 23 64.82 +.73 +54.2 Vodafone 1.54 6.1 ... 25.44 +.08 -9.2 Intel .90 4.6 9 19.72 +.36-18.7 WalMart 1.59 2.3 14 70.20 +1.31 +17.5 IBM 3.40 1.8 13193.49 +3.20 +5.2 Walgrn 1.10 3.3 14 33.09 +.46 +.1 Lowes .64 1.8 21 35.15 +.60 +38.5 YRC rs ...... 6.99 +.02 -29.9 m A6 SATURDAY, NOVEMBER 24, 2012 STOCKS CITRUS COUNTY (FL) CHRONICLE CITRUS COUNTY (FL) CHRONICLE BUSINESS SATURDAY, NOVEMBER 24, 2012 A7 I MUTUALFUDSA I Name NAV Chg Name NAV Chg Advance Capital I: MultCGrA 8.48 +.11 Balancp 16.96 +.12 InBosA 5.90 RetInc 8.97 ... LgCpVal 19.32 +.24 Alger Funds B: NatlMunlnc 10.49 SmCapGr 6.85 +.07 SpEqtA 15.93 +.19 AllianceBern A: TradGvA 7.35 GblRiskp 17.53 +.05 Eaton Vance B: GIbThGrAp63.46 +.90 HlthSBt 10.45 +.11 HighlncoAp 9.36 ... NatlMulnc 10.49 SmCpGrA 37.98 +.44 Eaton Vance C: AllianceBern Adv: GovtC p 7.34 LgCpGrAd 30.32 +.34 NatMunlnc 10.49 AllianceBern B: Eaton Vance I: GIbThGrBt 54.32 +.77 FltgRt 9.09 GrowthBt 27.32 +.33 GblMacAbR 9.77 -.02 SCpGrBt 30.22 +.35 LgCapVal 19.38 +.25 AllianceBern C: FMI Funds: SCpGrCt 30.39 +.35 LgCappn 16.92 +.22 Allianz Fds Insti: FPA Funds: NFJDvVI 12.63 +.19 Newlnco 10.61 SmCpVi 31.38 +.34 FPACres 28.67 +.28 Allianz Funds C: Fairholme 30.03 +.21 AGICGrthC 26.54 +.35 Federated A: Amer Beacon Insti: MidGrStA 35.19 +.44 LgCaplnst 21.44 +.27 MuSecA 10.95 Amer Beacon Inv: Federated Instl: LgCaplnv 20.30 +.26 KaufmnR 5.20 +.03 Amer Century Adv: TotRetBd 11.60 EqGroAp 24.20 +.31 StrValDvlS 5.01 +.05 EqlncAp 7.86 +.07 Fidelity Adv Foc T: Amer Century Inv: EnergyT 35.73 +51 AIICapGr 30.68 +.39 HItCarT 23.04 +.20 Balanced 17.41 +.13 Fidelity Advisor A: DivBnd 11.25 ... Nwlnsgh p 22.59 +.26 Eqlnc 7.86 +.06 StrlnA 12.71 +.01 Growth 27.68 +.38 Fidelity Advisor C: Heritagel 22.49 +.24 Nwlnsghtn 21.27 +.24 IncGro 27.11 +.36 Fidelity Advisor I: InfAdjBd 13.45 ... EqGrl n 65.11 +.74 IntDisc 10.02 +.21 Eqlnin 26.20 +.31 InfitlGrol 11.17 +.26 FItRatel n 9.91 NewOpp 8.12 +.09 IntBdln 11.73 -.01 OneChAg 13.16 +.15 NwlnsgtIn 22.91 +.26 OneChMd 12.61 +.12 Sblnin 12.86 +.01 RealEstl 22.86 +.20 Fidelity AdvisorT: Ultra 25.88 +.32 BalancT 16.53 +.14 Valuelnv 6.29 +.08 DivGrTp 13.11 +.17 American Funds A: EqGrTp 60.70 +.68 AmcpAp 21.27 +.25 EqInT 25.79 +.31 AMutAp 28.11 +.31 GrOppT 41.10 +.55 BalAp 20.20 +.19 HilnAdTp 10.23 +.02 BondAp 12.94 ... IntBdT 11.71 CapIBAp 52.86 +.63 MulncTp 13.95 CapWGAp 36.50 +.65 OvrseaT 17.39 +.34 CapWAp 21.49 +.08 STFiT 9.35 EupacAp 40.42 +.84 Fidelity Freedom: FdlnvAp 40.18 +.55 FF2010n 14.27 +.10 GIblBalA 26.55 +.29 FF2010K 13.07 +.09 GovtAp 14.56 -.01 FF2015n 11.93 +.08 GwthAp 33.88 +.42 FF2015K 13.14 +.09 HITrAp 11.21 +.01 FF2020n 14.43 +.11 IncoAp 18.00 +.18 FF2020K 13.56 +.11 IntBdAp 13.76 ... FF2025n 12.02 +.11 InitGrlncAp 30.63 +.66 FF2025K 13.70 +.12 ICAAp 30.44 +.40 FF2030n 14.31 +.13 LtTEBAp 16.47 ... FF2030K 13.84 +.13 NEcoAp 28.62 +.43 FF2035n 11.84 +.13 NPerAp 30.68 +55 FF2035K 13.92 +.15 NwWrldA 52.90 +.77 FF2040 n 8.26 +.09 STBFAp 10.08 ... FF2040K 13.96 +.15 SmCpAp 38.95 +.41 FF2045K 14.11 +.16 TxExAp 13.32 ... Fidelity Invest: WshAp 31.02 +.38 AIISectEq 12.92 +.15 Ariel Investments: AMgr50n 16.29 +.11 Apprec 39.70 +.59 AMgr70rn 17.27 +.16 Ariel 49.91 +.62 AMgr20rn 13.34 +.04 Artisan Funds: Balancn 20.07 +.17 Intl 24.05 +.62 BalancedK 20.07 +.17 IntllnstI 24.22 +.63 BlueChGrn 49.13 +.59 InitVal r 29.70 +.57 BluChpGrK 49.19 +.60 MidCap 38.33 +.40 CAMunn 13.11 MidCapVal 21.42 +.27 Canadan 53.68 +.66 BBH Funds: CapApn 29.56 +.32 CorSeIN 17.67 +.25 CapDevOn 11.82 +.13 Baron Funds: Cplncrn 9.34 +.02 Asset 51.60 +.52 ChinaRgr 29.45 +.64 Growth 58.53 +.58 CngS 465.09 SmallCap 26.06 +.28 CTMunrn 12.23 Bernstein Fds: Contra n 77.54 +.90 IntDur 14.23 ... ContraK 77.56 +.89 DivMu 14.99 +.01 CnvScn 24.92 +.18 TxMgdlnt 13.64 +.28 DisEqn 24.48 +.31 Berwyn Funds: DiscEqF 24.49 +.31 Fund 31.98 +.35 Divlntln 29.50 +.52 BlackRockA: DivrslntKr 29.49 +.51 EqtyDiv 19.72 +.23 DivStkOn 17.22 +.22 GIAIAr 19.49 +18 DivGthn 29.69 +.40 HiYInvA 7.95 +.01 EmergAsrn28.77 +.37 InflOpAp 31.98 +.59 EmrMkn 22.23 +.26 BlackRock B&C: Eqlncn 46.65 +.57 GIAICt 18.10 +.16 EQIIn 19.42 +.24 BlackRock Instl: ECapAp 18.53 +.39 EquityDv 19.77 +.24 Europe 30.63 +.66 GlbAllocr 19.59 +.18 Exch 323.88 HiYldBd 7.95 +01 Exportn 22.59 +.28 BruceFund399.56 +1.95 Fideln 35.62 +.45 Buffalo Funds: Fiftyrn 19.95 +.22 SmCapn 28.38 +.34 FItRateHi r n 9.92 CGM Funds: FrInOnen 29.16 +.38 Focusn 28.02 +.29 GNMAn 11.77 -.01 MutI n 28.00 +.23 Govtlnc 10.62 Realtyn 28.47 +.25 GroCon 94.98 +1.12 Calamos Funds: Grolncn 20.94 +.27 GrwthAp 50.56 +.54 GrowCoF 95.03 +1.13 Calvert invest GrowhCoK 95.01 +1.13 Incop 16.60 GrStratrn 20.42 +.24 InflEqAp 13.72 +.26 Highlncrn 9.23 +.01 Social 30.51 +23 Indepnn 25.20 +.29 SocBdp 16.58 lntProBdn 13.54 -.01 SocEqAp 38.11 +.46 IntGovBdn 10.8914 .01 TxF Lg p 16.84 IntGoMun 10.76 Cohen &Steers: IntlDiscn 32.29 +55 RltyShrs 66.72 +.59 IntDSCprn 19.81 +.27 Columbia Class A: InvGrBd n 11 68 Acornt 29.86 +.34 InvGrBdn 811.00 DivOpptyA 8.65 +.11 Japanr 9.53 +.12 LgCapGrAt26.59 +.32 JpnSmn 8.93 +.03 LgCorQAp 6.49 +08 LgCapVal 1121 +14 MdCpGrOp 9.97 +.12 LatAm 48.45 +57 MidCVIOpp 8.20 +.09 LevCoStkn 30.81 +.34 PBModAp 11.27 +.08 LowPrn 38.95 +.45 TxEAp 14.49 LowPriKr 38.93 +.44 FrontierA 10.74 12 Magelln n 73.00 +.90 GlobTech 20.32 +.34 MDMurn 11.78 Columbia Cl I,T&G: MAMunn 12.96 EmMktOpln8.51 +.13 MegaCpStknll.77 +.16 Columbia Class Z: MIMunn 12.66 -.01 AcornZ 30.99 +.36 MidCapn 29.33 +.30 AcornlntZ 40.13 +.62 MNMunn 12.14 DivlncoZ 14.81 +.18 MtgSecn 11.34 -.01 IntTEBd 11.13 ... Munilncn 13.73 ... SelLgCapG 13.55 +.15 NJMunrn 12.47 +.01 ValRestr 49.20 +.63 NwMktrn 17.77 +.02 Credit Suisse Comm: NwMilln 32.65 +.31 ComRett 8.30 +.05 NYMunn 13.90 DFA Funds: OTC n 58.56 +.65 IntlCorEqn 10.19 +.21 OhMunn 12.58 USCorEqln12.14 +.16 o100ndex 10.13 +.14 USCorEq2nl2.00 +.15 Ovrsean 31.80 +.65 DWS Invest A: PcBas n 24.83 +.23 CommAp 19.07 +.25 PAMunrn 11.64 DWS Invest S: Puritn n 19.40 +.16 CoreEqtyS 18.10 +.27 PuritanK 19.39 +.15 CorPlslncx 11.24 -.03 RealElncr 11.48 +.03 EmMkGrr 15.93 +.38 RealEn 31.18 +.27 EnhEmMk 11.18 -.01 SAIISecEqF12.95 +.16 EnhGbBdrx10.41 -.01 SCmdtyStrtng.13 +.06 GIbSmCGr 38.53 +.54 SCmdtyStrFng.16 +.06 GIblThem 22.28 +.42 SrEmrgMkt 16.20 +.23 Gold&Prc 14.61 +.24 SEmgMktF 16.25 +.22 HiYldTx 13.30 ... SrslntGrw 11.67 +.22 IntTxAMT 12.35 ... SerlntlGrF 11.71 +.23 Intl FdS 42.22 +1.00 SrslntVal 9.31 +.19 LgCpFoGr 32.95 +.47 SerlntValF 9.34 +.19 LatAmrEq 39.97 +.50 SrlnvGrdF 11.68 MgdMuniS 9.72 ...StlntMun 10.91 MATFS 15.54 -.01 STBFn 8.59 SP500S 18.83 +.24 SmCapDiscn23.16 +.29 WorldDiv 23.62 +.37 SmllCpSrn 17.59 +.22 Davis Funds A: SCpValur 15.44 +.19 NYVenA 35.77 +.46 SWSelLCVrnll.62 +.16 Davis Funds B: SlSlcACap n27.86 +33 NYVenB 33.96 +.44 SkSelSmCp 19.53 +.23 Davis Funds C: SUratlncn 11.38 +.01 NYVenC 34.30 +.45 SrReRtr 9.73 +.02 Davis Funds Y: TaxFrBrn 11.86 NYVenY 36.22 +.47 TotalBdn 11.02 Delaware Invest A: Trend n 78.45 +.94 Diverlncp 9.41 ... USBI n 11.92 SMIDCapG 23.82 +.26 Utilityn 18.23 +.08 TxUSAp 12.46 ... ValStratn 30.72 +.35 Delaware Invest B: Value n 74.28 +.93 SelGrBt 34.34 +.39 Wrldwn 20.05 +.27 Dimensional Fds: Fidelity Selects: EmMCrEqnl9.12 +.28 Aimrn 38.96 +.43 EmMktV 28.23 +.41 Bankingn 19.25 +.35 IntSmVan 15.27 +.32 Biotchn 111.05 +1.13 LargeCo 11.15 +.14 Brokrn 48.78 +.49 TAUSCorE2r9.77 +.13 Chemn 115.37 +1.59 USLgVan 22.28 +.30 ComEquipn22.19 +.53 USMicron 14.64 +.15 Compn 60.19 +1.24 USTgdVal 17.24 +.20 ConDisn 27.95 +.35 US Small n 22.95 +.25 ConsuFnn 14.56 +.15 USSmVa 26.46 +.33 ConStapn 82.72 +1.25 IntlSmCon 15.30 +.29 CstHon 48.06 +.54 EmMktSCn20.43 +.24 DfAern 84.44 +.94 EmgMktn 26.21 +.40 Elecfrn 42.82 +.86 Fixdn 10.35 ... Enrgyn 51.09 +.73 IntGFxlnn 13.16 ... EngSvn 64.98 +.93 IntVan 15.87 +.34 EnvAltEnrnl6.24 +.19 InfProSec 12.95 ... FinSvn 60.02 +.59 Glb5Fxlnc nill.29 ... Gold r n 39.28 +.60 2YGIFxdn 10.14 Healiln 144.23 +1.29 DFARIEn 25.69 +.22 Insurn 52.38 +.56 Dodge&Cox: Leisrn 102.67 +1.05 Balanced 76.27 +.91 Materialn 70.64 +.94 GblStock 8.91 +18 MedDIn 59.59 +.63 Income 13.91 MdEqSysn 28.55 +.38 IntlS 33.46 +77 Mulnmdn 55.54 +.68 Stock 118.07 +1.93 NtGasn 30.67 +.40 DoubleUne Funds: Pharmn 15.22 +.19 TRBd In 11.39 ... Retail n 64.29 +.77 TRBd Npn 11.38 Softwr n 83.73 +.88 Dreyfus: Techn 98.52 +1.32 Aprec 44.11 +65 Telcm n 50.54 +.63 CTA 12.59 Transn 51.17 +.55 CorVAUtilGr n 54.81 Dreyf 9.71 +.12 Wirelessn 8.19 +.13 DryMidr 29.40 +.33 Fidelity Spartan: GNMA 16.10 5001dxlnvn 50.09 +.65 GrChinaAr 32.71 ... 5001dxl 50.10 +.65 HiYIdAp 6.55 Intllnxlnvn 33.63 +.69 StratValA 30.35 +.44 TotMktlnvn 41.08 +.52 TechGroA 33.18 +.39 USBondl 11.92 DreihsAclnc 10.57 ... Fidelity Spart Adv: Driehaus Funds: ExMktAdrn39.72 +.44 EMktGr 28.99 +.40 5001dxAdvn50.10 +.65 EVPTxMEmI 46.75 +.50 IntAd r n 33.65 +.68 Eaton Vance A: TotMktAd r n41.09 +.52 ChinaAp 17.89 +.44 USBond I 11.92 AMTFMulnc 10.22 +.48 OverseasA 22.30 +.22 First Investors A BIChpAp Eqtylncop 7.59 +.10 GloblAp 6.79 +.11 GovtAp 11.40 GrolnAp 16.51 +.24 IncoAp 2.59 MATFAp 12.73 MITFAp 13.08 -.01 NJTFAp 13.93 NYTFA p 15.50 OppAp 29.92 +.35 PATFAp 14.01 -.01 SpSitAp 23.80 +.26 TxExlncop 10.43 TotRtAp 16.75 +.14 Forum Funds: AbsStrl r 11.20 -.01 Frank/Temp Frnk A: AdjUS p 8.87 -.01 ALTFAp 12.08 AZTFAp 11.65 -.01 CallnsAp 13.19 CAIntAp 12.34 CalTFAp 7.64 COTFAp 12.63 CTTFAp 11.61 CvtScAp 14.97 +.09 DblTFA 12.37 DynTchA 32.58 +.36 EqlncAp 17.90 +.21 Fedlntp 12.73 FedTFAp 12.95 FLTFAp 12.14 -.01 FoundAlp 10.98 +.12 GATFA p 12.99 GoldPrMA 32.39 +.40 GrwthAp 49.71 +.58 HYTFAp 11.11 HilncA 2.05 IncomAp 2.18 +.01 InsTFAp 12.79 NYITFp 12.11 LATFA p 12.22 LMGvScA 10.28 MDTFAp 12.17 MATFAp 12.39 MITFAp 12.48 MNInsA 13.16 MOTFAp 12.94 NJTFAp 12.81 NYTFA p 12.32 NCTFAp 13.13 OhiolA p 13.33 ORTFAtp 12.78 PATFAp 11.12 ReEScAp 16.38 +.14 RisDvAp 37.90 +.52 SMCpGrA 36.50 +.43 Stratlnc p 10.70 TtlRtnAp 10.51 USGovAp 6.82 UbIsA p 13.35 VATFAp 12.45 Frank/Tmp Frnk Adv: GIbBdAdvn 13.52 +.01 IncmeAd 2.17 +.01 TGIbTRAdv 13.71 +.01 Frank/Temp Frnk C: IncomC t 2.20 +.01 USGvCt 6.78 Frank/Temp Mtl A&B: SharesA 22.11 +.24 Frank/Temp Temp A: DvMktAp 22.82 +.26 ForgnAp 6.57 +.15 GIBdAp 13.56 +.01 GrwthAp 18.91 +.37 WorldAp 15.67 +.26 Frank/Temp Tmp B&C: DevMktC 22.15 +.26 ForgnCp 6.40 +.15 GIBdCp 13.59 +.01 Franklin Mutual Ser: QuestA 17.47 +.15 GE Elfun S&S: S&S Inc 12.07 US Eqty 44.40 +.60 GMOTrust: USTreasx 25.00 GMOTrust III: CHIE 23.02 +.24 Quality 23.22 +.33 GMOTrust IV: IntllntrM 20.39 +.37 GMOTrust VI: EmgMktsr 11.22 +.18 IntlCorEq 27.76 +.53 Quality 23.24 +.34 Gabelli Funds: Asset 53.51 +.65 Goldman Sachs A: MdCVAp 38.12 +.46 Goldman Sachs Inst: GrOppt 25.61 +.28 HiYield 7.31 HYMuni n 9.52 MidCapV 38.51 +.46 ShtDrTF n 10.69 Harbor Funds: Bond 13.02 CapAplnst 42.00 +.53 Intllnvt 59.98 +1.29 Intl r 60.71 +1.31 Hartford Fds A: CpAppAp 32.97 +.38 DivGthAp 20.39 +.26 IntOpAp 14.72 +.29 Hartford Fds Y: CapAppl n 33.05 +.38 Hartford HLS IA: CapApp 42.22 +.57 Div&Gr 21.59 +.28 Balanced 21.23 +.20 MidCap 28.00 +.29 TotRetBd 11.90 Hennessy Funds: CorGrllOrig Hussman Funds: StrGrowth 11.11 -.03 ICON Fds: EnergyS 18.87 +.26 HIltcareS 17.40 +.20 ISI Funds: NoAm p 7.96 +.01 IVA Funds: WldwideIr 16.27 +.14 Invesco Fds Invest: DivrsDivp 13.50 +.16 Invesco Funds: Energy 36.89 +.54 Ublibes 16.67 -.02 Invesco Funds A: BalRiskA 12.94 +.07 Chart p 17.90 +.23 CmstkA 17.29 +.21 Const p 23.56 +.31 DivrsDivp 13.51 +.16 EqlncA 9.14 +.07 GrIncA p 20.73 +.22 HilncMu p HiYld p 4.35 +.01 HYMuA 10.24 InitGrow 28.23 +.52 MunilnA 14.13 -.01 PATFA 17.30 US MortgA 13.01 Invesco Funds B: MunilnB 14.11 USMortg 12.94 -.01 Invesco Funds Y: BalRiskY 13.03 +.07 Ivy Funds: AssetSC t 24.80 +.41 AssetStA p 25.69 +.43 AssetSbl r 25.95 +.43 HilncAp 8.53 .. JPMorgan A Class: CoreBdA 12.13 .. JPMorgan C Class: CoreBdp 12.18 JP Morgan Insth: MdCpVal n 28.32 +.28 JPMorgan R C: CoreBondn 12.13 ShtDurBd 11.01 JPMorgan Select: USEquityn 11.32 +.15 JPMorgan Sel CIs: CoreBdn 12.12 HighYld n 8.09 lntnTFBd n 11.49 LgCpGr 23.90 +.28 ShtDurBdn 11.01 USLCCrPIs n22.98 +.32 JanusT Shrs: BalancdT 26.83 +.20 ContrarnT 14.34 +.16 EnterprT 65.09 +.80 FIxBndT 11.01 GlUfeSciTr 30.61 +.34 GIbSel T 9.50 +.15 GITechTr 18.10 +.27 Grw&lncT 33.64 +.43 JanusT 31.50 +.43 OvrseasTr 31.95 +.62 PrkMCVal T21.74 +.23 ResearchT 31.92 +.42 ShTmBdT 3.10 TwentyT 61.09 +.90 VentureT 58.33 +.59 WrldWTr 44.95 +.66 John Hancock A: BondAp 16.38 IncomeA p 6.69 +.01 RgBkA 14.52 +.21 John Hancock B: IncomeB 6.69 +.01 John Hancock Cl 1: LSAggr 12.70 +.17 LSBalanc 13.48 +.11 LSConsrv 13.48 +.04 LSGrwth 13.41 +.15 LSModer 13.32 +.07 Lazard Instl: EmgMktl 19.19 +.26 Name NAV Chg Lazard Open: EmgMkOp 19.59 +.27 Legg Mason A: CBAgGrp 126.78 +1.58 CBApprp 15.84 +.19 CBLCGrp 23.98 +.31 GCIAIICOp 8.83 +.21 WAHilncAt 6.17 WAMgMu p 17.51 Legg Mason B: CBLgCGrt 21.75 +.28 Legg Mason C: CMSplnvp 29.50 +.39 CMValTrp 41.55 +.54 Longleaf Partners: Partners 26.14 +.34 SmCap 28.09 +.20 Loomis Sayles: LSBondl 15.00 +.07 StrlncC 15.32 +.09 LSBondR 14.94 +.07 StrncA 15.23 +.09 Loomis Sayles Inv: InvGrBdAp 12.76 +.03 InvGrBdY 12.77 +.04 Lord Abbett A: AffilAp 11.79 +.16 FundlEq 12.92 +.18 BdDebAp 8.02 +.01 ShDurlncAp 4.64 MidCpAp 17.51 +.23 Lord Abbett C: ShDurlncC t 4.67 Lord Abbett F: ShtDurlnco 4.63 -.01 MFS Funds A: MITA 21.73 +.29 MIGA 17.50 +.23 EmGA 47.89 +.60 HilnA 3.54 MFLA TotRA 15.12 +.12 UtilA 18.11 +.12 ValueA 25.30 +.33 MFS Funds B: MIGBn 15.66 +.21 GvScBn 10.49 HilnBn 3.54 MulnBn 9.16 -.01 TotRB n 15.12 +.12 MFS Funds I: Valuel 25.42 +33 MFS Funds InstI: IntlEqn 18.52 +.40 MainStay Funds A: HiYIdBA 6.08 +.01 MainStay Funds B: ConvBt 14.99 +.09 GovtBt 8.99 HYIdBBt 6.05 +.01 IncmBldr 17.50 +.15 IntlEqB 10.69 +.25 MainStay Funds I: ICAPSIEq 37.77 +.57 Mairs & Power: Growth n 83.81 +1.14 Managers Funds: Yacktmanpnl9.05 +.28 YacktFocn 20.48 +.29 Manning&Napier Fds: WIdOppA 7.56 +.16 Matthews Asian: AsiaDvlnvr 14.30 +.14 AsianGllnv 18.15 +.16 Indialnvr 16.95 -.01 PacTgrlnv 23.68 +.30 MergerFdn 15.91 +.03 Metro West Fds: TotRetBd 11.07 -.01 TotRtBdl 11.07 Midas Funds: Midas Fdt 2.78 +.05 Monetta Funds: Monettan 14.67 +.15 Morgan Stanley B: GlobStratB 14.81 MorganStanley Inst: IntlEql 14.18 +.28 MCapGrl 34.84 +.26 Muhlenkn 55.79 +.70 Munder Funds A: GwthOppA 28.38 +.36 Munder Funds Y: MCpCGrY 31.95 +.37 Mutual Series: BeacnZ 13.20 +.16 GblDiscA 29.63 +.36 GIbDiscZ 30.08 +.37 QuestZ 17.65 +.15 SharesZ 22.33 +.24 Neuberger&Berm Fds: Focus 22.32 +.29 Geneslnst 50.34 +.50 Intl ir 17.01 +.34 LgCapV Inv 27.49 +.38 Neuberger&BermTr: Genesis 52.13 +.52 Nicholas Group: Hilnc In 9.81 +.01 Nicholasn 49.47 +.51 Northern Funds: Bondldx 11.07 HiYFxInc 7.43 IntTxEx 11.11 SmCpldx 8.98 +.10 StkIdx 17.54 +.23 Technly 15.37 +.21 Nuveen Cl A: HYMuBdp 17.30 LtMBAp 11.30 Nuveen Cl R: IntDMBd 9.47 HYMunBd 17.30 +.01 Nuveen Cl Y: RealEstn 21.23 +.17 Oak Assoc Fds: WhitOkSG 42.64 +.57 Oakmark Funds I: Eqtylncr 29.19 +.26 Globall 22.36 +.39 Intl I r 19.91 +.44 Oakmark 49.19 +.63 Select 32.55 +.34 Old Westbury Fds: GlobOpp 7.58 +.05 GIbSMdCap 14.89 +.21 LgCapStrat 9.79 +.14 Oppenheimer A: AMTFMu 7.42 AMTFrNY 12.52 CAMuniAp 8.96 CapApAp 48.14 +.70 CaplncAp 9.21 +.03 DvMktAp 33.98 +.39 Discp 62.34 +.67 EquityA 9.49 +.13 EqlncAp 25.30 +.29 GlobAp 62.34 +1.09 GIbOppA 28.21 +.41 GblStrlncA 4.31 Gold p 33.84 +.53 IntBdA p 6.53 +.02 LtdTmMu 15.27 MnStFdA 36.87 +.48 PAMuniA p 11.67 SenFltRtA 8.27 USGv p 9.81 -.01 Oppenheimer B: AMTFMu 7.38 AMTFrNY 12.52 -.01 CplncB t 9.02 +.03 EquityB 8.69 +.12 GblStrlncB 4.32 Oppenheimer Roch: LtdNYAp 3.43 RoMuAp 17.23 RcNtMuA 7.70 Oppenheimer Y: DevMktY 33.68 +.39 IntlBdY 6.53 +.02 IntGrowY 29.93 +.58 Osterweis Funds: Stlncon 11.69 PIMCO Admin PIMS: ShtTmAd p 9.90 TotRtAd 11.57 PIMCO Instl PIMS: AIAsetAutr 11.25 +.03 AIIAsset 12.72 +.06 ComodRR 6.93 +.05 Divlnc 12.22 +.01 EmgMkCur 10.48 +.03 EmMkBd 12.34 Fltlnc r 8.86 +.01 ForBdUnr 11.41 +.08 FrgnBd 11.36 +.01 HiYld 9.52 InvGrCp 11.33 +01 LowDu 10.63 +.01 ModDur 11.15 RealRtnIl 12.61 -.01 ShortT 9.90 TotRt 11.57 TRII 11.12 TRIll 10.19 PIMCO Funds A: AIIAstAutt 11.18 +.03 LwDurA 10.63 +.01 RealRtAp 12.61 -.01 TotRtA 11.57 PIMCO Funds C: AIIAstAutt 11.06 +.03 RealRtCp 12.61 -.01 TotRtCt 11.57 PIMCO Funds D: RealRhip 12.61 -.01 TRtnp 11.57 PIMCO Funds P: AstAIIlAuthP11.24 +.03 TotRtnP 11.57 Parnassus Funds: Eqtylnco n 29.24 +.23 Perm Port Funds: Permannt 49.30 +.44 Pioneer Funds A: BondAp 9.94 InitValA 18.49 +.31 PionFdAp 41.56 +.53 ValueAp 11.92 +.17 Name NAV Chg Pioneer Funds B: HiYldBt 10.28 +.03 Pioneer Funds C: HiYIdC t 10.38 +.03 Pioneer FdsY: StratlncYp 11.25 +.01 Price Funds: Balance n 20.84 +.20 BIChip n 45.19 +.53 CABondn 11.71 CapAppn 23.30 +.18 DivGron 26.22 +.32 EmMktBn 14.11 -.01 EmEurop 18.19 +.25 EmMktSn 32.48 +.61 Eqlncn 26.04 +.32 Eqlndex n 38.09 +.49 Europen 15.68 +.35 GNMAn 10.01 Growth n 37.27 +.42 Gr&ln n 22.47 +.28 HIthSci n 42.52 +.54 HiYield n 6.86 +.01 InsflCpG 18.51 +.22 InstHiYId n 9.66 +.01 MCEqGrn 30.12 +.36 IntlBondn 10.07 +.07 IntDisn 45.14 +.63 Intl G&I 12.70 +.24 InflStkn 14.03 +.27 Japan n 7.79 +.09 LatAm n 40.30 +.72 MDShrtn 5.24 MDBondn 11.24 MidCapn 58.82 +.67 MCapVal n 24.85 +.25 NAmern 35.39 +.38 N Asian 16.47 +.27 New Era n 42.78 +.57 NHorizn 35.12 +.38 N Incn 9.94 NYBondn 12.12 OverSSFn 8.33 +.17 PSlncn 17.15 +.12 RealAssetr nlO.99 +.14 RealEstn 20.36 +.16 R2010n 16.61 +.14 R2015n 12.92 +.12 R2020n 17.90 +.19 R2025n 13.11 +.15 R2030n 18.83 +.23 R2035n 13.31 +.17 R2040n 18.94 +.25 R2045n 12.61 +.16 SciTecn 25.91 +.51 ShtBd n 4.85 SmCpStkn 35.39 +.39 SmCapVal n38.47 +.38 SpecGrn 19.35 +.27 Speclnn 12.94 +.03 TFIncnn 10.74 TxFrHn 12.06 TxFrSIn 5.72 USTIntn 6.30 USTLgn 14.02 -.02 VABond n 12.50 Valuen 26.10 +.32 Principal Inv: Divlnfllnst 9.98 +.17 LgCGIIn 10.15 +.12 LT20201n 12.64 +.11 LT20301n 12.48 +.13 Prudential Fds A: BlendA 18.08 +.22 HiYIdAp 5.62 MuHilncA 10.49 UtlityA 11.59 +.05 Prudential Fds B: GrowthB 18.01 +.22 HiYIdBt 5.61 Prudential Fds Z&l: MadCapGrZ 32.98 +.38 Putnam Funds A: AmGvAp 9.17 AZTE 9.65 ConvSec 20.10 +.10 DvrlnAp 7.61 EqlnAp 17.15 +.22 EuEq 19.79 +.47 GeoBalA 13.22 +.10 GIbEqtyp 9.40 +.14 GrlnAp 14.47 +.20 GIblHIthA 46.90 +.72 HiYdAp 7.81 +.01 HiYld In 6.07 +.01 IncmAp 7.23 IntGrlnp 9.48 +.19 InvAp 14.48 +.19 NJTxAp 10.00 MultCpGr 54.78 +.78 PATE 9.66 TxExAp 9.19 TFInAp 15.94 TFHYA 12.89 USGvAp 13.53 +.01 GIblUtilA 10.08 +.03 VoyAp 21.57 +.35 Putnam Funds B: TaxFrlns 15.95 DvrlnBt 7.54 Eqlnct 16.99 +.21 EuEq 18.90 +.45 GeoBalB 13.07 +.10 GIbEqt 8.45 +.13 GINtRst 17.41 +.31 GrInBt 14.20 +.19 GIblHIthB 37.29 +.57 HiYdB t 7.80 +.01 HYAdBt 5.94 IncmBt 7.17 +.01 IntGrlnt 9.36 +.19 InitGrthst 14.09 +.26 InvBt 12.98 +.17 NJTxBt 9.99 MultCpGr 46.71 +.67 TxExBt 9.19 TFHYBt 12.91 USGvBt 13.46 +.01 GlblUtilB 10.04 +.03 VoyBt 18.07 +.29 RS Funds: IntGrA 17.36 +.34 LgCAIphaA 44.10 +.50 Value 25.88 +.23 RidgeWorth Funds: LCGrStkAp 11.54 +.16 Royce Funds: MicroCapl 14.88 +.18 PennMulr 11.77 +.13 Premierlr 20.21 +.27 TotRetlr 13.97 +.15 ValSvct 11.69 +.16 Russell Funds S: StratBd 11.51 Rydex Advisor: NasdaqAdv 15.99 +.24 SEI Portfolios: S&P500En 38.90 +.51 SSgA Funds: EmgMkt 19.48 +.33 Schwab Funds: HIlthCare 20.85 +.27 lOOOInvr 40.27 +.51 S&P Sel 22.36 +.29 SmCpSl 20.98 +.23 TSMSelr 25.80 +.33 Scout Funds: Intl 32.23 +.67 Selected Funds: AmShD 43.64 +.53 Sentinel Group: ComSAp 34.72 +.48 Sequoia 164.75 +1.65 Sit Funds: LrgCpGr 47.42 +.59 SoSunSClnv t n22.35+.24 St FarmAssoc: Gwlh 55.34 +.73 Stratton Funds: Muld-Cap 37.09 +.44 RealEstate 30.29 +.23 SmnCap 54.92 +.65 SunAmerica Funds: USGvBt 10.19 -.01 TCW Funds: EmnMktln 9.31 +.02 TotRetBdl 10.30 TIAA-CREF Funds: Bdldxlnst 11.01 -.01 Eqldxlnst 10.84 +.14 IntlEqllnst 15.96 +.33 Templeton Instit: ForEqS 19.20 +39 Third Avenue Fds: IntlValnstr 16.11 +.26 REVallnstr 26.69 +.38 Valuelnst 48.61 +.87 Thornburg Fds: IntValAp 26.60 +.47 IncBuildAt 18.59 +.19 IncBuildCp 18.59 +.19 IntValue I 27.20 +.47 LtTMul 14.76 Thrivent Fds A: HiYld 4.99 +.01 Income 9.33 Tocqueville Fds: Goldtn 68.47 +1.02 Transamerica A: AegonHYBp 9.57 +.01 Flexlncp 9.37 Turner Funds: SmlCpGrn 34.89 +.39 Tweedy Browne: GblValue 25.18 +.32 US Global Investors: AIIAm 25.10 +.31 ChinaReg 7.38 +.13 GIbRs 9.95 +.12 Gld&Mtls 12.44 +.20 WdPrcMn 12.26 +.23 USAA Group: AgvGt 35.94 +.44 CABd 11.25 CrnstStr 23.19 +.20 GovSec 10.33 GrTxStr 14.70 +.09 Grwth 16.64 +.22 Gr&lnc 16.00 +.22 IncStk 13.53 +.18 Name NAV Chg Inco 13.56 Inl 25.08 +61 NYBd 12.69 -.01 PrecMM 28.91 +.39 SciTech 14.39 +.19 ShtTBnd 9.28 SmCpStk 14.62 +.17 TxElt 13.86 TxELT 14.10 TxESh 10.86 VABd 11.77 WIdGr 21.09 +.42 VALIC: MdCpldx 21.24 +.24 Stldx 26.59 +.35 Value Line Fd: LrgCon 19.56 +.24 Vanguard Admiral: BalAdmln 23.63 +.18 CAITAdmn 11.88 CALTAdmrnl2.18 CpOpAdl n 78.35 +1.24 EMAdmr r n 34.87 +.55 Energy 112.75 +1.50 EqlnAdm n n50.51 +.65 EuroAdml n 58.40 +1.41 ExplAdml n 73.61 +.83 ExtdAdm n 44.66 +.49 500Adml n 130.39 +1.69 GNMAAdn 10.99 GrwAdm n 36.50 +.49 HlthCrn 61.80 +.64 HiYldCp n 6.02 InfProAdnn 29.27 -.01 ITBdAdml n 12.18 ITsryAdml n 11.79 -.01 IntGrAdm n 59.57 +1.12 ITAdmln 14.54 ITGrAdrnn 10.46 LtdTrAdn 11.20 LTGrAdml n11.03 -.01 LTAdmln 11.96 MCpAdml nl00.25 +1.16 MorgAdmn 61.56 +.82 MuHYAdm nl1.42 NYLTAdn 11.98 PrmCaprn 72.14 +.93 PALTAd n 11.88 ReitAdm r rn 90.81 +.77 STsyAdml n 10.79 STBdAdmlnlO.65 -.01 ShtTrAdn 15.94 STFdAdn 10.88 STIGrAdn 10.86 SmCAdm n 37.73 +.43 TxMCaprn 71.32 +.93 TlBAdmlnn 11.16 -.01 TStkAdm n 35.22 +.44 ValAdml n 22.60 +.28 WellslAdmrn n59.35 +.29 WelltnAdm n58.96 +51 Windsor n 49.95 +.73 WdsrllAdn 51.85 +.68 Vanguard Fds: CALTn 12.18 CapOppn 33.91 +.54 Convrtn 12.87 +.06 DivAppln n 23.78 +.31 DivdGron 16.63 +.21 Energy n 60.03 +.80 Eqlnc n 24.09 +.31 Explr n 79.01 +.88 FLLTn 12.40 GNMAn 10.99 GlobEqn 18.31 +.27 Grolncn 30.24 +.39 GrthEqn 12.28 +.16 HYCorpn 6.02 HlthCren 146.42 +1.50 InflaPron 14.90 -.01 InlExplrn 14.48 +.27 IntlGr n 18.71 +.35 InitVal n 30.40 +.64 ITIGraden 10.46 ITTsryn 11.79 -.01 LifeConn 17.22 +.09 LifeGro n 23.41 +.27 Lifelncn 14.73 +.04 LifeModn 20.87 +.18 LTIGraden 11.03 -.01 LTTsryn 13.49 -.02 Morgn 19.83 +.26 MuHYn 11.42 Mulntn 14.54 MuLtdn 11.20 MuLongn 11.96 MuShrtn 15.94 NJLTn 12.52 NYLTn 11.98 OHLTTE n 12.89 PALTn 11.88 PrecMtlsrn 16.21 +.20 PrmcpCorn 15.10 +.20 Prmcp r n 69.49 +.90 SelValurn 21.10 +.25 STARn 20.72 +.20 STIGraden 10.86 STFedn 10.88 STTsryn 10.79 StratEqn 21.05 +.23 TgtRetlncn 12.21 +.05 TgRe2010n24.39 +.14 TgtRe2015nl3.48 +.10 TgRe2020 n23.93 +.22 TgtRe2025 nl3.63 +.15 TgRe2030 n23.38 +.27 TgtRe2035 nl4.06 +.18 TgtRe2040 n23.10 +.31 TgtRe2050 n23.00 +.30 TgtRe2045 nl4.51 +.20 USGron 21.01 +.25 USValuen 11.82 +.14 Wellslyn 24.50 +.12 Welltnn 34.13 +.29 Wndsrn 14.80 +.21 Wndsll n 29.21 +.38 Vanguard Idx Fds: DvMklnPl r n99.68 +2.11 ExtMktln 110.25 +1.22 MidCplstPln 09.24+1.25 TotlntAdmr r24.19 +.46 Totlntllnst r n96.76 +1.85 TotlntllP r n 96.78 +1.85 TotlntSig rn 29.02 +.56 500 n 130.37 +1.69 Balancedn 23.63 +.18 EMktn 26.53 +.42 Europe n 25.06 +.61 Extend n 44.60 +.49 Growth n 36.50 +.49 LgCaplxn 26.07 +.33 LTBndn 14.63 -.02 MidCap n 22.07 +.26 Pacific n 9.80 +.15 REITro n 21.28 +.18 SmCap n 37.66 +.42 SmlCpGlthn24.23 +.27 STBndn 10.65 -.01 TotBndn 11.16 -.01 Totllntl n 14.46 +.28 TotStkn 35.21 +.45 Value n 22.60 +.28 Vanguard Instl Fds: Ballnstn 23.63 +.18 DevMklnstn 9.57 +.21 EmrnMklnstn 26.53 +.42 Extln n 44.66 +.49 FTAIIWIdl r n86.11 +1.67 Grwthlstn 36.50 +.49 InfProlnstn 11.92 -.01 Instldxn 129.53 +1.68 InsPI n 129.54 +1.68 InstTStldxn 31.88 +.40 InsTStPlus n31.88 +.40 MidCplstn 22.15 +.26 REITInstrn 14.06 +.12 STBondldxn10.65 -.01 STIGrlnstn 10.86 SCInstn 37.73 +.43 TBIstn 11.16 -.01 TSInstn 35.23 +.45 Valuelstn 22.60 +.28 Vanguard Signal: 500Sgl n 107.71 +1.40 GroSig n 33.80 +.45 ITBdSign 12.18 MidCpldxn 31.63 +.36 STBdldxn 10.65 -.01 SmCpSig n 33.99 +.39 TotBdSgIn 11.16 -.01 TotStkSgl n 33.99 +.43 Virtus Funds A: MulSStAp 4.92 -.01 Virtus Funds I: EmMktl 9.98 +.14 Waddell & Reed Adv: Assets p 9.72 +.16 CorelnvA 6.65 +.10 DivOppAp 15.39 +.19 DivOppCt 15.20 +.19 Wasatch: SmCpGr 42.86 +.43 Wells Fargo Adv C: AstAIICt 12.23 Wells Fargo Adv: CmStklnv 21.33 +.26 Opptylnv 39.72 +.50 Wells Fargo Ad Ins: UlStMulnc 4.83 Wells Fargo Admin: Growth 41.22 +.50 Wells Fargo Instl: UItSTMuA 4.83 Western Asset: CrPIsBdF1 p11.65 -.01 CorePlusI 11.66 William Blair N: GrowthN 12.11 +.12 Stocks soar on Black Friday; tech leads the way Market watch Nov. 23, 2012 Dow Jones +172.79 industrials 13,009.68 13,009.68 Nasdaq composite Standard & Poor's 500 Russell 2000 +40.30 2,966.85 +18.12 1,409.15 +8.80 807.18 Associated Pressi- trade. Many stores opened ear- lier than ever this year, Ki- nahan said, allowing for earlier informal reports about their performance. Technology stocks soared, lifting the Nasdaq compos- ite index by more than 1 percent. Dell, chipmaker AMD and Hewlett-Packard were the top three gainers in the Standard & Poor's 500. Technology rose the most among the index's 10 per- cent for the week. The market closed early, at 1 p.m. EST Stocks started strong after news that German business confidence rose unexpect- edly in November after six straight declines. The gain in a closely watched index published by Munich's Ifo institute raised hopes that Europe's largest economy can continue to weather the continent's financial crisis. China's manufacturing ex- panded for the first time in 13 months in November, the latest sign that the world's second-biggest economy is recovering from its deepest slump since the 2008 global crisis. HSBC Corp. said its monthly Purchasing Man- agers' Index improved to 50.4 for November. We're by your side so your loved one can stay at home. yServices Include: kn fo soCompanionship p an o faLight Housekeeping Son rMeal Preparation h Shopping & Errands aIncidental Transportation C for afr eRespite Care apTransitorial Care t_______ Personal Care I lo. o he 3 1S To you, it's about making the right choice. To us, it's personal. Home Instead 4224 W Gulf to Lake Hwy. Lecanto FL 3446 4224 W Gulf to Lake Hwy., Lecanto, FL 34461 homeinstead.com HCS230036 HHA299993253 NEKWYORK STOCjECHNGE Name Last Chg SprintNex 5.64 +.06 SprottSilv 13.43 +.19 SprottGold 14.81 +.13 SP Marls 36.40 +.46 SP HIthC 40.02 +.49 SP CnSt 35.67 +.52 SPConsum 47.16 +.62 SPEngy 71.61 +1.00 SPDRFnc 15.84 +.19 SP Inds 36.74 +.47 SPTedh 28.85 +.46 SP UbI 34.09 -.09 StdPac 6.96 +.12 Standex 46.43 +.28 StarwdHl 53.47 +.83 StateSr 45.78 +.38 Steris 34.01 +.57 S IlwtrM 11.46 +.13 Sbyker 54.52 +1.02 SturmRug 54.57 +1.50 SubPpne 39.13 -.07 SunCmts 39.07 +.36 Suncorygs 33.92 +.63 Suntedich .82 +.01 SunTrst 27.48 +.68 SupEnrgy 19.05 +.19 Supvalu 2.71 +.04 SwiftTrans 8.65 .22 Synovus 2.37 +.09 Sysoo 31.00 +.52 TCF Fncl 11.87 TDAmeritr 15.90 TE Connect 35.50 TECO 16.21 TIM Part 18.35 TJXs 43.91 ThawSemi 16.84 TalismEg 11.68 TargaRsLP 36.97 Target 64.48 TataMotors 23.88 TeckResg 32.60 TeekayTnk 2.65 TelelBrasil 23.28 TelefEsp 13.20 Tenaris 39.58 TenetHtnrs 28.29 Teradata 62.28 Teradyn 15.93 Terex 24.02 TerraNitro 216.03 Tesoro 41.92 TetraTech 6.86 TevaPhrm 39.71 Textron 23.78 Theragen 1.52 ThermoFis 62.64 ThomCrkg 2.70 3DSys 41.74 3M CO 90.28 Tiffany 62.07 TimeWarn 46.15 Timken TitanMet TollBros TorchEngy Torchmark TorDBkg Total SA TotalSys Transomn Travelers Tredgar TriConfi TrinaSolar Tronox s TurqHillRs TwoHrblnv Tycolnti s Tyson UBSAG UDR UIL Hold UNS Engy USAirwy USG UltraPtg UndArmr s UniFirst UnilevNV Unilever UnionPac UtdContI UtdMicro UPS B 71.98 +.58 WPX En n 16.54 UtdRentals 41.25 +.25 Wabash 8.19 US Bancrp 32.58 +.53 WalMart 70.20 US NGs rs 22.99 +.03 Walgrn 33.09 US OilFd 32.32 +.20 WalterEn 29.26 USSteel 21.64 -.06 WsteMInc 32.36 UtdTedch 78.61 +1.28 Weathflnfi 9.83 S53.92 +.39 WeinRIt 26.95 WellPoint 56.06 WellsFargo 33.20 ValeSA 17.52 +.28 WestarEn 27.82 ValeSApf 17.13 +.27 WAstEMkt 15.73 ValeantPh 55.39 +.37 WstAMgdHi 6.34 ValeroE 31.92 +.92 WAstlnfOpp 13.32 ViyNBcp 9.51 +.29 WstnRefin 28.60 VangTotBd 84.75 +.02 WstUnion 12.80 VangTSM 72.38 +.93 Weyerhsr 26.72 VangREIT 64.04 +.47 Whrlpl 102.73 VangEmg 41.88 +.64 WhiteWvn 15.95 VangEur 46.74 +1.14 WmsCos 33.44 VangEAFE 33.79 +.71 WmsPrs 50.70 VarianMed 69.42 +.56 Winnbgo 14.03 Vectren 28.33 +.14 WiscEngy 36.19 VeoliaEnv 10.50 +.33 WT India 17.84 VeriFone 30.81 +.07 Worthgtn 22.62 VerizonOm 43.76 +.60 XcelEngy 26.02 VimpelCm 10.76 +.07 Xerox 6.66 Visa 148.12 +1.46 Yamanag 19.55 Vishaylnt 9.40 +.21 YingliGrn 1.29 VMware 89.71 +1.65 YoukuTud 17.87 Vornado 75.61 +.73 YumBrnds 74.00 WGL Hold 37.30 +.02 ZaleCp 5.03 NYSE diary Advanced: 2,440 Declined: 487 Unchanged: 107 Volume: 1.5 b Nasdaq diary Advanced: 1,773 Declined: 542 Unchanged: 120 Volume: 1.5 b AP industry groups. The stocks were bouncing back after confidence in tech stocks declined broadly, Kinahan said. AMD dropped sharply in recent weeks as investors fretted about its solvency HP plunged 12 percent on Tues- day after executives said that a company HP bought for $10 billion last year lied Page A8 SATURDAY, NOVEMBER 24, 2012 PINION "You don't write because you want to say something; you write because you've got something to say." F. Scott Fitzgerald, 1945 CITRUS COUNTY CHRONICLE CITRUS COUNTY CHRONICLE EDITORIAL BOARD Gerry Mulligan........... .................. publisher Mike Arnold ................... ................. editor GROWING UP EDEN Sharing one family's role in local lore Note: Muriel Eden-Paul will be at Floral City Heritage Days signing her book. The book is not in local libraries yet, but is available for Kindle from Amazon. s we go about our daily lives in Citrus County, we generally don't think much about what came before us. Our history surfaces from time to time, for example at the THE I 100-year anniver- sary of the His- Book w toric Old local hisi Courthouse in In- and cha verness, the re- cent Hernando OUR 01 Heritage Festival and Cracker Cat- What a r tle Drive and Flo- the story ral City's Heritage family Days with its tour of historic National Register homes. It's especially gratifying to learn about our area's history in a personal way, through sto- ries and images passed along through generations. That's ex- actly what a new book does, weaving local residents into historical occurrences here in our county. "Once Upon a Picket" by Muriel Eden-Paul, of the long- time Inverness-area Eden fam- ily, explores local history surrounding Fort Cooper and its ties to the Second Seminole War. The land that now encom- passes Fort Cooper State Park was donated by Eden-Paul's late father, Johnny Eden, to the state in 1972. She said she and her S e t( ar ea n siblings grew up hearing Fort Cooper stories and remembers archeological digs at the site to discover the fort ruins. Fort Cooper is the only Seminole War fort site open to the public. The role the family's land played in the history of the Second Seminole War events fascinated Eden-Paul's father, and she picked up where he left off to tell the ;SUE: story. You may already know aves in part of it from at- ory, sites tending the an- racters. nual March re- enactment of the INION: shoot-and-hide at- So hear tack by Seminole Chief Osceola and from the his band against evolved. General Mark An- thony Cooper and his First Georgia Volunteers. The author said in addition to her father's research, she used documents that Cooper's family had shared. She weaves her father and grandfather into the story, which includes her father helping discover the fort's ruins and the war's his- tory on the shores of Lake Holathlikaha. Eden-Paul said she loved being able to bring the charac- ters to life and weaving this historical event into something that affected the lives of people in the 1830s as well as the gen- erations that followed. We're glad she cares about preserva- tion, and we thank her for helping keep history alive in Citrus County. Donate to a school To the person who put the arti- cle in about donating bicycles: We donate to Homosassa Elementary School. You can call me at 352- 628-0513 up until 8 o'clock. Donate TVs here To the person who wants to know where to donate a television set: She can call Florida Sheriffs Willing to sacrifice With all this talk about eco- nomic failure, I'm on Social Se- curity. I'm 81 years old. Any increase in Social Security would probably be 2 percent. Now that doesn't amount to (much) to me. I'd be willing to give that up if it would help the 0 economy any. How about some of you other peo- ple? Think about it. Time to cut back I find it really interest- ) ing Himmel and i Deutschman and the rest CAL of the school board think the reason the school tax 563- failed was because of the placement on the ballot. Come on. The reason it failed is because people are tired of paying taxes. They don't know what's going to happen with all of this uncertainty with Oba- macare and the rest of the stuff. People are out of jobs, people -C Youth Ranch at 352-628-2277, or 352-795-8888, Hospice, or Daystar, 352-795-8668. Donate to Habitat To the person who wanted to know where they can donate some TV sets: The place to go is Habitat for Humanity. The address is 3685 E. Forest Drive and that's off Gulf- to-Lake (Highway) on your way through Inverness. have work cut back, their in- comes cut back (and) their hours are cut back. They can't afford more taxes. So, school board, live within your means, cut back where you have to and live on it. The rest of us are living on what we had to cut back, too. JIND It's time you do, too. Troublemakers F Today, Monday, Nov. 19, at (a supermarket), first someone acciden- tally took my cart. An announcement was made, but to no avail. Yia After 15 minutes of run- f579 ning around the store, I S579 found it at the opposite end of the store. Then about 15 minutes later, someone else stole my coupons from the seat of my cart. The first person totally inconsider- ate. The second person a thief. Keep your eyes on your stuff. There are strange people out and about. Sad state of zealots with mics merica, you are an idiot. You are a moocher, a zombie, soulless, mouth-breathing, igno- rant, greedy, self-indul- gent, envious, shallow and lazy The foregoing is a summation of "analy- sis" from conservative pundits and media fig- ures Cal Thomas, Ted Nugent, Bill O'Reilly and etc. - Leonar OTH VOI( seeking to explain Mitt Romney's emphatic defeat. They seem to have settled on a strategy of blam- ing the voters for not being smart enough or good enough to vote as they should have. Because Amer- ica wasn't smart enough or good enough, say these conservatives, it shredded the Constitution, bear hugged chaos, French kissed so- cialism and died. In other words, the apocalypse is coming. Granted, such thinking does not represent the totality of con- servative response to the elec- tion. The reliably sensible columnist Kathleen Parker of- fered a, well ... reliably sensible take on what's wrong with the Re- publican Party. Louisiana Gov. Bobby Jindal spoke thoughtfully to Politico about how conser- vatism es- tranged from reality much of the political right now is, there comes word of Henry Hamilton's suicide. He was the 64-year- old owner of a tanning salon in Key West. As d Pitts recently reported in HER The Miami Herald, he was found dead two CES days after the election with empty prescrip- tion bottles next to him, one for a drug to treat anxiety, another for a drug to treat schizophrenia. Hamilton, according to his part- ner, Michael Cossey, was stressed about his business and had said if President Obama were re-elected, "I'm not going to be around." Po- lice found his will, upon which was scrawled "F- Obama." Sometimes, they act the Hannitys, the O'Reillys, the Trumps, the Limbaughs, the whole conservative political info- tainment complex as if this were all a game, as if their non- stop litany of half truths, untruths and fear mongering, their echo chamber of studied outrage, practiced panic, intellectual in- coherence and unadulterated equine feculence, had no human consequences. Sometimes, they behave as if it were morally per- missible indeed, morally re- quired to say whatever asinine, indefensible, coarse or outra- geous thing comes to mind in the name of defeating or diminishing the dreaded left And never mind vulnerable people might hear this and shape their beliefs accordingly Did the conservative political infotainment complex kill Henry Hamilton? No. But were they the water in which he swam, a Greek chorus echoing and magnifying the out- sized panic that troubled his un- well mind? It seems quite likely One hopes, without any real ex- pectation, be- lieve, are not showmen. They are zealots. They do believe half the garbage they say, and they have microphones to say it with. That is infinitely more frightening. So one can only hope, with slightly more expectation, that the GOP will finally disenthrall it- self from this ongoing affront to decency and intelligence and thereby render it moot. Until it does, we can only ab- sorb the impact of these regularly scheduled meltdowns. And pity the likes of Henry Hamilton. For him, the apocalypse al- ready came. Leonard Pitts is a columnist for the Miami Herald, 1 Herald Plaza, Miami, FL 33132. Readers may contact him via email at lpitts@miamiherald. com. _ LETTERS to the Editor Gov. Scott responsible for election problems To Gov Rick Scott, I am writing to you because of what you have done to Florida since you were elected. Florida, or as it is being called, Flori-duh, is a joke. Third world countries run their elections better than Florida ob- viously can. You attempted to suppress the vote with make-believe accusa- tions of non-existent voter fraud. You cut back on days and times of early voting so people whom you didn't want to vote, namely people of color and the poor, might not vote. (They showed you how important voting was to them by waiting in line for hours and hours.) I wonder; when was the last time you waited in line for hours? Never mind. I know that answer. Never. I just read (what) one of the Florida supervisors of election said, "We're doing what we have always done." That is the problem. The sys- tem was bizarre enough in the disaster of 2000. It is worse now. The sad truth is Florida can't count votes in an effective, speedy way The incompetence is incredible, and the responsi- bility is yours. You were asked repeatedly to increase early voting, and you refused, later saying you did the "right thing." In what universe is that the right thing? The mandate the Democrats and the president have received is clear. There is a good reason why. the other Republicans did not want you campaigning with them. You are the most unpopu- lar and incompetent governor. Get out of the way and let democracy work. Florida is not a state you own; it is your solemn responsibility to represent not only the rich people in your world, but the entire population of Florida. You are failing miser- ably at this. I have lived in Florida for 17 years and I love the state. I am proud Florida, once again, voted for President Barack Obama. I will do all I can to see you are a one-term governor You should never have been elected, partic- ularly since you refused to talk about your personal financial dealings. Between now and then, I hope you begin to show some decency and show you know what democracy means. Organizing for America will be working to unseat you as gover- nor, and I will be working with them. So will many other Democrats and Independent voters. Count on it. Vicky lozzia Crystal River Good jobs scarce in Citrus County I read in the paper today (Sun- day, Nov 18) the jobless rate has gone down in Citrus and in the state of Florida again. DOE says how great that is! What they don't say is the main reason is our young people and people in general are leav- ing Citrus County and Florida. Especially in Citrus County where wages are low and based on a service, labor force. With the lack of jobs at Progress Energy, there are no re- ally good paying jobs in the county. A wage of $10 an hour is not a good-paying job if you're trying to raise a family or save any money Why not put the real spin on the report and tell all the rea- sons, not tell half truths? Ray Speerly Invern: DONATIONS CITRUS COUNTY (FL) CHRONICLE -'~ -~'~ -.w' w FREE4 DELIVERy, HAUL AWAY & RECYCLING on any appliance purchase $499 & up! FRIGIDAIRE SBuy All4 now$189996 sRP '899ECh $59 999 now J 9 each 7.3 Cu. Ft. Steam Electric Dryer * DV365ETBGWR gas dryer available at additional cost 26 Cu. Ft. Stainless Steel Side-by-Side Refrigerator * FFHS2622MS SRP'1199% no89999 Stainless Steel Self-Cleaning Electric/Gas Range * FFEF3048LS/FFGF3053LS SRP 699" now 499"9 1.6 Cu. Ft. Stainless Steel Over-the-Range Microwave * FFMV164LS SRP '249"99 no.19999 Stainless Steel Dishwasher * FFBD2411NS SRP'379" no29999 FREE $100 hhgregg gift card with purchase of ANY 4G LTE smartphone or Verizon Jetpack / Mobile Hotspot with new 2-yr activation or upgrade.! INAL 2 DA Oer ed Nve mber 24, 2012.on "INAL 2 DAYS! Offer ends November 24,2012. 7" 4GB Android Ice Cream Sandwich '" Touchscreen $4999 Tablet f S.,,,l . * LT 133 10 Ma.l. Re e 8GB 7" Android Ice Cream Sandwich Galaxy Tab 2 * P"1 I3TiYS,'.AR o '2.129- s17999 10% OFF ALL beatsoudio. headphones & speaker products beats best gift EVER! Qaih 1-No interest if paid in full within 12 months on purchases $397 $896; 18 months on purchases $897-$1496; 24 months on purchases $1497 & up with your h. h. gregg card. Interest will be charged to your account from the purchase date if the promotional balance, including optional charges, is not paid in full within 12, 18 or 24 months or if you make a late payment. Minimum Monthly Payments Required. Minimum Interest $2. Subject to credit approval. See inside for details. Excludes Verizon Wireless phones. 2 Excludes accessories, computers, tablets, Except where shown, Whirlpool brands, Electrolux brands, and GE brands are limited to 10% off, Epson printers, air conditioners, video game systems, Verizon Wireless phones, satellite TV systems, value priced TVs, Elite & Epson screens, manufacturers that prohibit discounting on unilateral price policy (UPP) products & h.h. gregg FineLines. 3 Activation/upgrade fee/line: up to $35. IMPORTANT CONSUMER INFORMATION: Subject to CustomerAgmt, Calling Plan & credit approval. Up to $350 early termination fee. Offers & coverage, varying by service, not available everywhere. See vzw.com. While supplies last. Restocking fee may apply. Rebate debit card takes up to 6 weeks and expires in 12 months. Verizon wireless phones not available in all stores. 02012 Samsung Telecommunications America, LLC. Samsung, Galaxy and Steller are all registered trademarks of Samsung Electronics Co., Ltd. 4G LTE is available in more than 300 markets in the U.S.; see verizonwireless.com/bestnetwork for details. LTE is a trademark of ETSI. 0 2012 Verizon Wireless. 4 -After $79.99 delivery mail-in rebate. Rebate will be a Visa'" prepaid card. See store for details. Savings calculated based on SRP (suggested retail price). Doorbuster rebates expire at 9 p.m. on Friday, November 23, 2012 or while supplies last. All items in this advertisement are limit one per customer and available in limited quantities. Sorry, no rain checks. Offers effective November 23-24, 2012 3.6 Cu. Ft. Steam Washer * WF365BTBGWR SATURDAY, NOVEMBER 24, 2012 A9 NATION & WORLD CITRUS COUNTY CHRONICLE Nation BRIEFS C1 BpIEyp ArS Clashes erupt across Egypt Arrested Up in smoke An unidentified protester is arrested Friday outside a Walmart store in Para- mount, Calif. Walmart employees and union sup- porters are taking part in nationwide demonstrations for better pay and benefits. Suit settled over phone book listing HELENA, Mont. 2011. It gained notoriety after it was featured as a joke on Jay Leno's show last year. High-rise fire leaves 27 injured NEW YORK Officials said a fire at a storm-dam- aged office skyscraper in New York City's Financial District has left more than two dozen people with smoke in- halation, including a fire- fighter. Four people have been taken to a hospital. The fire department said it's not yet clear what caused Fri- day's fire. Its tenants include Standard & Poor's and the city Department of Transportation. In all, 27 people were in- jured. The firefighter and most others were treated at the scene. Maine welcomes two elephants HOPE, Maine Maine has its moose, lobsters and puffins. Now, add elephants to the list. Two retired circus elephants, 41-year-old Opal and 43-year- old Rosie, have arrived at a newly built elephant rehabilita- tion com- fortable in what could be de- scribed as an old folk's home for elephants. Elizabeth Smart memoir planned SALT LAKE CITY Ten years after her kidnapping, Eliz- abeth Smart is telling her story. St. Martin's Press bought the rights to the Salt Lake City woman's memoir. It's being written by a congressman- elect from Utah, Chris Stewart, who has authored books with religious and patriotic themes. Smart's publicist said the book won't just be a story of d Smart's nine months of captivity, but how Elizabeth she turned Smart it into a cause for child advocacy after her improbable rescue by po- lice along a suburban street in March 2003. Smart said she was waiting for the conviction of Brian David Mitchell before collabo- rating on her story. Mitchell is serving two life sentences for snatching the then-14-year- old Smart from her bedroom at knifepoint. -From wire reports Opponents question Morsi 's newpowers Associated Press dan- gerous polarization in Egypt over what course it will take nearly two years after the fall of autocrat Hosni Mubarak Critics of Morsi accused him of seiz- ing dictatorial powers with his de- crees a day earlier that make him immune to judicial oversight and give him authority to take any steps against "threats : to the revolution". On Friday, the president spoke before a crowd of his supporters Mohammed massed in front of his Morsi palace and said his Egyptian edicts were necessary president.- hood erupted in several cities. In the Mediterranean city of Alexandria, anti-Morsi crowds attacked Brother- hood." Powerful pull Black Friday draws crow& Associated Press BEAVER FALLS, Pa. - Gravy was still warm. Dal- las Cowboys were still in uniform. Thanks were still being given across the country as the pilgrim- ages be- come inseparable from the holidays. Older folks pined for the days of Erector Sets and Thum- bels- burgh suburbs, a 32-inch television ($189) in her cart It was a consolation prize: Despite four hours on line, she missed the cheaper 40-inchers ($179) that she had heard about while listening to Inter- net radio. Jackson's resignation was common among those who flocked to cap- italism's temples for the consumer equivalent of genuflecting. Many said that this Black Friday bled into Thursday crossed a line, that mer- chants should not intrude like this. Christmas is about the message of Jesus, the feeling went - not about the gold, frank- incense and myrrh. Yet amid these protests, people still talked about Associated Press The checkout line at an Old Navy store in Sioux Falls, S.D., wraps around to the back of the store as customers wait to purchase their items on Black Friday. feeling powerless be- neath the moment- as if they had no choice but to shop. "You have to have these things to enjoy your chil- dren and your family," said Jackson's friend Ebony Jones, who had se- cured two laptops ($187.99 each) for her 7- and 11-year-olds. Why must we buy? To demonstrate our love for others? To add a few more inches to our televi- sions? To help America recover from a vicious re- cession, di- rector of the Center for Retail Innovation at the Wake Forest Schools of Business. Through a flood of advertising on TV, radio and newspapers, he says, retailers can create emotions. "Will Rogers said it's the art of convincing people to spend money they don't have on some- thing they don't need," Beahme says. Although advertising can serve useful purposes, he says, "there's some truth to that." Fire Island assesses future after Sandy Evidence of storm still everywhere Associated Press OCEAN BEACH, N.Y - New Yorkers who cherish Fire Island as an idyllic sum- mertime count- ing their blessings. That's because more than 4,000 structures survived, at least enough to be repaired. And some are crediting the carefully maintained wall of dunes, ranging from 10 to 20 feet tall, with taking the brunt of the storm's fury "The dunes were demol- ished, but without their pro- tection it would have been much worse," said Malcolm Bowman, a professor of physical oceanography at Stony Brook University. Evidence of the hit the dunes absorbed is every- where.vel- oped and includes a na- tional wilderness area. It has just 300 permanent residents, but on weekends from Memorial Day to Labor Day, the population is swelled by 75,000 visitors who rent homes ranging in size from multilevel palaces to rustic bungalows. A cou- ple of communities are fa- vorite destinations of gay and lesbian visitors. Cars are banned in the summer- time; denizens get around on bikes and boardwalks and tote their gear in red toy wagons. Associated Press An anti-narcotics agent stands guard by drugs dur- ing a drug destruction op- eration Friday before the media in Panama City. Ac- cording to police, 10 tons of cocaine, marijuana and heroin seized in drug opera- tions within the last four months were burned. Spain's King Juan Carlos in hospital MADRID Spain's King Juan Carlos has arrived at a hospital in Madrid to undergo hip surgery to give him greater mobility. Juan Carlos told govern- ment leaders gathered at the Iberoamerican Summit last week he had to "go back to the workshop." The 74-year-old monarch will have the operation on his left hip. In April he was flown back from a controversial ele- phant hunting safari in south- ern Africa after fracturing his right hip joint. One of FBI's most wanted arrested MEXICO CITY Mexican federal police said they've ar- rested one of the FBI's most- wanted fugitives, a Los Angeles man sought on charges of murder, kidnap- ping and rape. The federal police agency said Joe Luis Saenz, who is about 37, was taken into cus- tody in the western city of Guadalajara on Friday. Mexi- can officials expect extradition proceedings to begin in the coming days. The FBI said Saenz is ac- cused of fatally shooting two rival gang members in Los Angeles in July 1998 and of kidnapping, raping and mur- dering his girlfriend less than two weeks later. He is ac- cused of a fourth murder in Los Angeles County in October 2008. Thieves steal 18 tons of chocolate VIENNA, Austria - Thieves with a huge sweet- tooth have driven off with 18 tons of chocolate in Austria. State broadcaster ORF said on its website that the driver of a Slovak tractor trailer loaded the 33 pallets of milk chocolate onto his vehi- cle from the producer in the western town of Bludenz ear- lier this week supposedly to deliver an order from a company in the Czech Re- public. But, police in the west- ernmost province of Vorarlberg say that the li- cense plates and papers of the Slovak truck and driver were apparently counterfeit. The trip should have taken less than a day, but as of Fri- day four days after the truck was loaded the deliv- ery was still outstanding. EU summit ends; no budget deal BRUSSELS -A European Union summit charged with agreeing on a long-term budget for the 27-nation bloc has broken up without a deal. European Council Presi- dent Herman Van Rompuy, who presides over the sum- mits, said the national lead- ers had told him and European Commission Pres- ident Jose Manuel Barroso to continue working toward consensus over the coming weeks. -From wire reports SPORTS No. 7 LSU attempted to keep its BCS bowl hopes alive against Arkansas/B3 CITRUS COUNTY CHRONICLE * Auto racing/B2 * Basketball/B3 U Hockey, boxing/B3 * Golf, NFL/B4 U Scoreboard/B4 0 TV, lottery/B4 0 College football/B5 * Entertainment/B6 Jackson notI Former Lecanto colu Ja High Schoolguard Free tend averaging 1ppgprio their C.J. RISAK regu Correspondent poin juni, Briahanna Jackson, a fresh- poin man with the University of Cen- StatE tral Florida women's basketball woo' team, has been the spark plug Puei for the Knights thus far this sea- Tr son, although her efforts have Knig playing been reflected in the win mn thus far ckson, who graduated from edom High School but at- If y ted Lecanto High School Citt r to that she led the Pan- col s to their only undefeated the lJar season, averaging 18.6 spc its and 5.5 steals a game as a or scored a season-high 34 to Jacd .ts in an 83-75 loss to Missouri ond ha e on Wednesday at the Hard- nected d Tournament of Hope in floor, g rto Vallarta, Mexico. had eii railing 39-22 at the half, the On ghts got as close as six thanks Tourn well for UCF women et us know about your athletes you know of a former rus County athlete playing legiate sports, email us information at: )rts@chronicleonline.com kson's 24 points in the sec- lf. The 5-foot-4 guard con- [ on 12-of-30 shots from the rabbed eight rebounds and ght steals. Thursday in their final ament of Hope game against Mississippi State, Jackson scored just seven points but the Knights prevailed, 64-56. For the season, Jackson is aver- aging a team-best 17 points, with 5.9 rebounds and 4 steals a game. The win over Mississippi State lifted UCF to 2-5 for the year After a strong start through the season's first half,Antoin Scriven's production fell off. And so did the fate of his Western Michigan Uni- versity football team. Scriven, a junior running back and Citrus High School graduate, scored two touchdowns on short runs against Kent State on Oct. 20. That gave him eight TDs for the season in his role as the Broncos short-yardage back. Un- fortunately, WMU lost that game 41-24; it was its second straight loss and was the second in a five- losses-in-six-games streak suf- fered by the Broncos. Their season ended last Satur- day with a 29-23 home loss to Eastern Michigan, ending their campaign at 4-8 overall, 2-6 in the Mid-American Conference. Page B4 Winner takes all Victor of'Noles, Gators game could have path to BCS title game Associated Press 'Noles are ranked in the top 10 for their regular-season finale. Defense is each team's signa- ture, so expect points and yards to be tough to come by The Seminoles (10-1, 7-1) lead the nation in No. 4 UF total defense 4 UF and rank (10-1) at among the No. 10 FSU top five in (10-1) four other defensive Time: 3:30 categories. p.m. today Florida TV: ABC (10-1, 7-1 Southeastern Conference) isn't far behind, sitting fourth nationally in total defense. Both will need the help of at least an upset or two this week- end, ingredi- ents Photos by Associated Press Florida sophomore Trey Burton, above, and the No. 4 Gators travel to Tallahassee to take on the No. 10 Florida State Seminoles and quarterback E.J. Manuel, below, for a 3:30 p.m. kickoff today.- sonville State out of its zone and limited Missouri to a lone score. But the Gators have had to rely on that defense more with an offense that had had plenty of issues. Florida State has had those See Page B4 Bearcats coast past Bulls Associated Press CINCINNATI Brendon Kay threw for a touchdown and ran for another on Friday night, getting Cincinnati's of- fense scram- ble quar- ters. Associated Press South Florida quarterback Matt Floyd passes against Cincinnati in the first half Friday in Cincinnati. Wilbekin helps No. 7 UF men's hoops beat UCF 79-66 Associated Press GAINESVILLE Scottie Wilbekin may have played his way back into Florida's starting lineup. Or maybe Mike Rosario played his way out. Wilbekin had 17 points, five re- bounds be- fore being reinstated, and coach Billy Donovan said he needed to work his way back into the lineup. "I don't know what he expects for me to prove," Wilbekin said. "I'm just working. I'm just play- ing basketball. I'm not worried about that." Wilbekin may have done enough Friday to get his spot back It certainly helped that Rosario self-destructed. Florida's Casey Prather heads to the basket over Central Florida forward Kasey Wilson (32) as Knights teammates Tristan Spurlock (1) and Keith Clanton (33) look on during the second half Friday in Gainesville. Associated Press Rosario played just four min- utes what- ever reason, you don't quite exe- cute the pass. But then you have what I would consider a high-step- ping, one knee up, look away, up in the air, that's in the third row. We're not going to tolerate it "I gave him an opportunity to go back in there and he makes an- other poor decision," Donovan added. See Page B4 Page B2 SATURDAY, NOVEMBER 24, 2012 UTO RACING Race SCHEDULES Sprint Cup x-non-points race Feb. 18 x-Budweiser Shootout, Daytona Beach, Fla. (Kyle Busch) Feb. 23 x-Gatorade Duel 1, Daytona Beach, Fla. (Tony Stewart) Feb. 23 x-Gatorade Duel 2, Daytona Beach, Fla. (Matt Kenseth) Feb. 26 Daytona 500, Daytona Beach, Fla. (Matt Kenseth) March 4 Subway Fresh Fit 500, Avon- d, Ridge- way, Crown Royal Presents The Cur- tiss Shaver 400 at The Brickyard, Indi- anapolis (Jimmie Johnson) Aug. 5 Pennsylvania 400, Long Pond, Pa. (Jeff Gordon) Aug. 12 NASCAR Sprint Cup Series at The Glen, Watkins Glen, N.Y (Marcos Am- brose)- mond, Va. (Clint Bowyer) Sept. 16 GEICO 400, Joliet, III. (Brad Ke- selowski) Sept. 23 Sylvania 300, Loudon, N.H. (Denny Hamlin) Sept. 30 AAA 400, Dover, Del. (Brad Ke- sel, Fla. (Jeff Gordon) Nationwide Series Feb., Calif. - lyn,22 STP 300, Joliet, III. , III. . (Regan Smith) Associated Press Driver Brad Keseloskwi sprays team members with champagne Sunday after winning the Sprint Cup championship title at Homestead-Miami Speedway in Homestead. On0 to the next one Keselowski aside, NASCAR ready to move past 2012 Associated Press CHARLOTTE, N.C. he season hadn't even ended before NASCAR's top execu- tives were previewing 2013, the new "Gen 6" cars and elements of a five-year industry "action plan"f designed to engage and excite fans. The season ended with a cele- bratory final image of fresh-faced champion Brad Keselowski, drunk on the combination of his sponsor's beer and the joy of giving team owner Roger Penske his first championship. And the days since Sunday's finale have been a com- ing com- petitive, tightest racing that we can. And that's what we're testing now" So in one sense, NASCAR couldn't wait to get out of Home- stead and officially close a 2012 sea- son- gent, Keselowski grabbed world- wide attention with both thumbs by tweeting updates from his car The TV ratings were good, the buzz surrounding NASCAR was better but it wasn't sustainable as the Sprint Cup Series quickly fell into a stretch of nearly unwatch- able racing. California ran caution- free until rain brought out the yellow that eventually stopped the race. Texas had two debris cau- tions Tal- ladega exposed the disconnect be- tween drivers and fans. Sure, there Jeff Gordon celebrates Sunday after winning the NASCAR Sprint Cup auto race at Homestead-Miami Speedway in Homestead.- tona in July, promoter Bruton Smith was calling for mandatory cautions to spice up the racing and France was adamantly opposed to the need for gimmicks. But, France revealed that he'd dispatched sen- ior vice president of racing opera- tions Steve O'Donnell to North Carolina to repurpose NASCAR's research and development center and zero in on the correct rules package for the debut of the new car next year Hours before the race, AJ All- mendinger was suspended for fail- ing a random drug test. Nothing diverts attention like a scandal, and Allmendinger's woes and his job with straight-laced Penske Rac- ing con- firmed until the end of the summer So the industry watched and waited to see if Logano would get Allmendinger's seat over Sam Hor- nish Jr, a Penske loyalist who has done anything at The Captain's beck and call. When Logano did get the job, and it was revealed the hir- ing was at Keselowski's urging, it should have been a clear sign that something special had developed between team owner and driver. Otherwise, how would Ke- selowski have such pull? "He's passionate about the sport, and he wants me to be in- volved, as he has the rest of the team, and I think that we've stepped it up," Penske said. "I'd have to say that Brad has not only pushed me as an individual, he's pushed the team in a positive di- rection, and he's delivering." Keselowski delivered as soon as the Chase opened, stealing a win from Johnson at Chicagoland and hanging with the five-time cham- pion Ke- sel. Point LEADERS Sprint Cup Final Driver Standings 1. Brad Keselowski, 2,400.. 13. Kyle Busch, 1,133. 14. Ryan Newman, 1,051. 15. Carl Edwards, 1,030. Nationwide Series Final Driver Standings 1. Ricky Stenhouse Jr., 1,251. 2. Elliott Sadler, 1,228. 3. Austin Dillon, 1,227. 4. Sam Hornish Jr., 1,146. 5. Michael Annett, 1,082. 6. Justin Allgaier, 1,076. 7. Cole Whitt, 994. 8. Mike Bliss, 902. 9. Brian Scott, 853. 10. Danica Patrick, 838. 11. Joe Nemechek, 816. 12. Mike Wallace, 749. 13. Jason Bowles, 715. 14. Jeremy Clements, 701. 15. Tayler Malsam, 609. Camping World Final Driver Standings 1. James Buescher, 808.. 11. Jason White, 635. 12. Cale Gale, 634. 13. Ron Hornaday Jr., 591. 14. Todd Bodine, 574. 15. Ryan Sieg, 531. NHRA Final Driver Standings Top Fuel 1. Antron Brown, 2,555. 2. Tony Schumacher, 2,548. 3. Spencer Massey 2,505. 4. Shawn Langdon, 2,450. 5. Brandon Bernstein, 2,450. Funny Car 1. Jack Beckman, 2,610. 2. Ron Capps, 2,608. 3. Mike Neff, 2,497. 4. Cruz Pedregon, 2,429. 5. Courtney Force, 2,383. Pro Stock 1. Allen Johnson, 2,756. 2. Jason Line, 2,571. 3. Vincent Nobile, 2,512. 4. Erica Enders, 2,507. 5. Greg Anderson, 2,365. Pro Stock Motorcycle 1. Eddie Krawiec, 2,773. 2. Andrew Hines, 2,691. 3. Hector Arana Jr., 2,502. 4. Hector Arana, 2,432. 5. Karen Stoffer, 2,386. IndyCar Final Driver Standings 1.. Formula One 2012 Driver Standings 1. Sebastian Vettel, 273. 2. Fernando Alonso, 260. 3. Kimi Raikkonen, 206. 4. Lewis Hamilton, 190. 5. MarkWeb. Camping World Feb. 24 NextEra Energy Resources 250, Daytona Beach, Fla. (John King) March 31 Kroger 250, Ridgeway, Va. (Kevin Harvick) April15 -Good Sam Roadside Assistance Carolina 200, Rockingham, N.C. (Kasey Kahne) April 21 SFP 250, Kansas City, Kan. (James Buescher) May 18 -N.C. Education Lottery 200, Con- cord, N.C. (Justin Lofton) June 1 Lucas Oil 200, Dover, Del. (Todd Bodine) June 8 -WinStarWorld Casino 400k, Fort Worth, Texas (Johnny Sauter) June 28 UNOH 225, Sparta, Ky (James Buescher) July 14 -American Ethanol 200, Newton, Iowa (Timothy Peters) July 21 American Ethanol 225, Joliet, III. (James Buescher) Aug. 4 Pocono Mountains 125, Long Pond, Pa. (Joey Coulter) Aug.18-VFW200, Brooklyn, Mich. (Nel- son Piquet Jr.) Aug. 22 UNOH 200, Bristol, Tenn. (Tim- othy Peters) Aug.31 -Jeff Foxworthy's Grit Chips 200, Hampton, Ga. (Ty Dillon) Sept. 15 American Ethanol 200 (Fall), Newton, Iowa (Ryan Blaney) Sept. 21 Kentucky 201, Sparta, Ky (James Buescher) Sept.29 -Smiths 350, Las Vegas (Nelson Piquet Jr.) Oct. 6 Coca-Cola 250, Talladega, Ala. (Parker Kligerman) Oct. 27 Kroger 200, Ridgeway, Va. (Denny Hamlin) Nov. 2 WinStar World Casino 350, Fort Worth, Texas (Johnny Sauter) Nov. 9 Lucas Oil 150, Avondale, Ariz. (Brian Scott) Nov. 16 Ford EcoBoost 200, Homestead, Fla. (Cale Gale) CITRUS COUNTY (FL) CHRONICLE No. 4 Michigan men's hoops grabs 71-57 win Associated Press NEW YORK- Tim Hard- away Jr. scored 23 points be- fore re- bounds, and Angel Ro- driguez scored 10 points for Kansas State (5-1). Michigan (5-0) won the tournament, previously known as the Preseason NIT, for the first time. No. 3 Ohio State 91, UMKC 45 COLUMBUS, Ohio De- shaun Thomas scored 15 of his 21 points as No. 3 Ohio State coasted to a huge first-half lead in a victory against over- matched Missouri-Kansas. Lenzelle Smith Jr. added 13 points and LaQuinton Ross and Sam Thompson had 11 apiece as Ohio State (4-0) experi- mented with subs for almost the entire second half. Estan Tyler and Thomas Sta- ton each had seven points for the 'Roos (2-3). No. 5 Duke 67, VCU 58 PARADISE ISLAND, Ba- hamas Mason Plumlee, a 6- foot-10 center who helped break VCU's pressure, had 17 points and 10 rebounds to lead No. 5 Duke to a 67-58 victory over the Rams in the semifinals of the Battle 4 Atlantis. Plumlee, who had 20 points and 17 rebounds in the open- ing-round win over Minnesota, brought the ball across mid- court several times in each half to help the Blue Devils with- stand the pressure defense VCU calls "havoc." Both teams played good de- fense champi- onship game on Saturday night. Associated Press Kansas State's Rodney McGruder, left, knocks the ball from the hands of Michigan's Eso Akunne during the second half of the NIT Season Tip-Off championship game Friday at Madi- son Square Garden in New York. Michigan won 71-57. No. 8 Kentucky 104, LIU-Brooklyn 75 LEXINGTON, Ky.--Alex Poythress and Archie Goodwin each scored 22 points and the No. 8 Wildcats ran away from winless LIU-Brooklyn 104-75. Goodwin added nine re- bounds and nine assists. Poythress also had nine re- bounds. No. 16 N.C. State 82, UNC Asheville 80 RALEIGH, N.C. Richard Howell scored 23 points, includ- ing the go-ahead basket with 3:06 left, to help No. 16 North Carolina State rally past UNC Asheville 82-80. Howell finished with 15 re- bounds and also knocked down two free throws with 5 seconds left to secure the win for the Wolfpack (4-1), who finally shook free of the Bulldogs late after trailing most of the way. UNC Asheville (1-5) led by seven with 8% minutes left be- fore. Minnesota 84, No. 19 Memphis 75 PARADISE ISLAND, Ba- hamas . No. 22 Cincinnati 78, Iowa State 70 LAS VEGAS Sean Kil- patrick scored 32 points, leading No. 22 Cincinnati to a 78-70 win over Iowa State in the semifinals of the Global Sports Classic. After winning their first four games by an average margin of 34.5 points per game, the Bearcats (5-0) had their hands full with a talented Iowa State (4-1) team that stole the mo- mentum in the first half, dictated the pace at times to keep things close and pulled within 4 points with 46 seconds left No Cavalier attitude m"recoancels' Orlando rallies past Cleveland Associated Press ORLANDO Jameer Nelson had 22 points, Arron Afflalo scored 19 and the Or- lando Sun- day against Boston. Orlando had 16 turnovers in the first half against the Cavs, but just two after the break. The Magic connected on 11 of 21 3-pointers for the game. The Cavaliers have lost seven of eight and face Miami on Saturday Celtics 108, Thunder 100 BOSTON Paul Pierce scored 22 of his 27 points in the second half and the Boston Celtics snapped a two-game los- ing streak by beating the Okla- homa City Thunder 108-100.. Nets 86, Clippers 76 NEW YORK- Brook Lopez had 26 points, including consec- utive baskets during the game's decisive stretch, and the Brook- lyn Nets shut down the Los An- geles Clippers in the fourth quarter for an 86-76 victory. Brooklyn outscored Los An- geles 23-13 during a final pe- riod in which Chris Paul had no points, two assists and six fouls. Deron Williams didn't have a great game either, but he improved to 14-4 in the long- time. DeAndre Jordan had 12 points and 13 rebounds, and Jamal Crawford finished with 13 points. Hawks 101, Bobcats 91 CHARLOTTE, N.C. -Al Associated Press Orlando Magic forward Glen Davis drives around Cleveland Cavaliers center Anderson Varejao during the second half Friday in Orlando. The Magic won 108-104. Horford had 26 points and 13 rebounds, and the Atlanta Hawks beat the Charlotte Bob- cats 101-91 for their fourth con- secutive Both teams had identical 6-4 records coming in, but the Hawks led most of the game. The Bobcats. Pistons 91, Raptors 90 AUBURN HILLS, Mich. - Brandon Knight converted a layup with 7.8 seconds left to lead the Detroit Pistons to a 91-90 victory over the Toronto Raptors. Rap- tors, who have dropped three in a row. Grizzlies 106, Lakers 98 MEMPHIS, Tenn. Rudy Gay scored 21 points, and the Memphis Grizzlies beat the Los Angeles Lakers 106-98 to take back the NBA's best record for themselves once again. The Grizzlies improved to 9- 2 by taking the lead over the Lakers in the first quarter and never letting go. Zach Ran- dolph had 17 points and 12 re- bounds, HOUSTON James Harden scored 33 points, and Chandler Parsons had a career-high 31 to help the Houston Rockets coast to a 131-103 victory over the New York Knicks. Jeremy Lin added 13 points, seven rebounds and three as- sists for Houston in the first game against his former team. The Rockets entered the third quarter up by 12, and scored 10 straight points later in the quar- ter to extend their lead to 21. Carmelo Anthony scored a season-high 37 for New York, which dropped consecutive games for the first time this season. Spurs 104, Pacers 97 INDIANAPOLIS Tony Parker scored 33 points and the San Antonio Spurs erased a 17-point deficit on their way to a 104-97 victory over the Indi- ana Pacers. Tim Duncan had 22 points for San Antonio (10-3), which closed the game with a 17-2 run. Manu Ginobili scored 19. Season won't start before Dec. 14 now Associated Press More than a third of the NHL regular season and two of its marquee events have now been called off. The league announced its latest round of cancella- tions on Friday- Day 69 of its labor lockout. All games through Dec. 14 were wiped out, and this time All-Star Weekend, sched- uled for Jan. 26-27 in Columbus, Ohio, was lost, too. The New Year's Day outdoor Winter Classic al- ready was scratched. NHL Deputy Commis- sioner Bill Daly said losing the All-Star festivities is "extremely disappointing." "We feel badly for NHL fans and particularly those in Columbus, and we in- tend to work closely with the Blue Jackets organiza- tion to return the NHL All- Star events to Columbus and their fans as quickly as possible," Daly said in a statement Friday The Blue Jackets said fans holding tickets to the game, the skills competi- tion, and other events dur- ing that weekend could receive refunds. Brian Jack, a 35-year-old IT director who grew up in Pittsburgh, moved to Columbus 17 years ago and converted from a Penguins fan to a Blue Jackets sup- porter cam- paign to 48 games. A simi- lar bil- lion in revenue and also player contracts. "All players felt that this week would lead to some- thing," Detroit Red Wings defenseman Niklas Kron- wall wrote in an email to The Associated Press. "However as of today un- fortunately that doesn't seem to be the case. It's very disappointing." Camacho to be taken off life support Associated Press SAN JUAN, Puerto Rico - Hector "Macho" Cama- cho will be taken off life support, his mother said Friday night, indicating she would have doctors do that Saturday It was a decision the former championship boxer's eldest son opposed. The boxer's mother, Maria Matias, told re- porters outside the hospital where Camacho lay uncon- scious since being shot in the face that she had de- cided doctors should re- move life support, but only after three of his sons ar- rived in Puerto Rico early Saturday and had a chance to see him a last time. "I lost my son three days ago. He's alive only be- cause of a machine," Ma- tias said. "My son is not alive. My son is only alive for the people who love him," she added. The three other sons were expected to arrive from the U.S. mainland around midnight Friday. "Until they arrive, we will not disconnect the ma- chine," Cama- cho is clinically brain dead from a shooting Tuesday night in his hometown of Bayamon. But relatives and friends told The Associated Press they were still wrestling with whether to remove him from life support. "It is a very difficult de- cision, a very delicate deci- sion," former pro boxer Victor "Luvi" Callejas, a longtime friend, said in a phone interview. "The last thing we lose is hope and faith. If there is still hope and faith, why not wait a little more?" SPORTS SATURDAY, NOVEMBER 24, 2012 B3 B4 SATURDAY, NOVEMBER 24, 2012 Thursday's late box CITRUS COUNTY (FL) CHRONICLE FOr the recordd Patriots 49, Jets 19 Florida LOTTERY New England 0 35 0 14- 49 N.Y. Jets 0 3 9 7- 19 Second Quarter NE-Welker 3 pass from Brady (Gostkowski kick), 14:54. NE-Vereen 83 pass from Brady (Gostkowski kick), 9:43. NE-Gregory 32 fumble return (Gostkowski kick), 9:00. NE-Edelman fumble recovery in end zone (Gostkowski kick), 8:51. NE-Edelman 56 pass from Brady (Gostkowski kick), 3:08. NYJ-FG Folk 32, :02. Third Quarter NYJ-Team safety, 6:47. NYJ-Powell 4 run (Folk kick), 4:41. Fourth Quarter NE-Brady 1 run (Gostkowski kick), 12:02. NE-Ridley 9 run (Gostkowski kick), 11:07. NYJ-Keller 1 pass from Sanchez (Folk kick), 2:21. A-79,088. NE NYJ First downs 25 25 Total Net Yards 475 405 Rushes-yards 39-152 29-119 Passing 323 286 Punt Returns 3-32 1-1 Kickoff Returns 4-38 8-177 Interceptions Ret. 1-1 0-0 Comp-Att-Int 18-28-0 26-36-1 Sacked-Yards Lost 0-0 2-15 Punts 3-41.7 4-49.5 Fumbles-Lost 1-1 5-4 Penalties-Yards 8-36 5-35 Time of Possession 29:34 30:26 INDIVIDUAL STATISTICS RUSHING-New England, Ridley 21-97, Vereen 10-42, Woodhead 2-8, Brady 3-5, Edel- man- n. MISSED FIELD GOALS-New England, Gostkowski 39 (WL). NFL standings New England Buffalo Miami N.Y Jets Houston Indianapolis Tennessee Jacksonville Baltimore Pittsburgh Cincinnati Cleveland Denver San Diego Oakland Kansas City N.Y Giants Washington Dallas Philadelphia Atlanta Tampa Bay New Orleans Carolina Green Bay Chicago Minnesota Detroit San Francisco Seattle Arizona St. Louis AFC East W L T 8 3 0 4 6 0 4 6 0 4 7 0 South W L T 10 1 0 6 4 0 4 6 0 1 9 0 North W L T 8 2 0 6 4 0 5 5 0 2 8 0 West W L T 7 3 0 4 6 0 3 7 0 1 9 0 NFC East W L T 6 4 0 5 6 0 5 6 0 3 7 0 South W L T 9 1 0 6 4 0 5 5 0 2 8 0 North W L T 7 3 0 7 3 0 6 4 0 4 7 0 West W L T 7 2 1 6 4 0 4 6 0 3 6 1 Pct PF .727 407 .400 230 .400 187 .364 221 Pct PF .909 327 .600 210 .400 219 .100 164 Pct PF .800 267 .600 217 .500 248 .200 189 Pct PF .700 301 .400 232 .300 208 .100 152 Pct PF .600 267 .455 295 .455 242 .300 162 Pct PF .900 270 .600 287 .500 287 .200 184 Pct PF .700 263 .700 249 .600 238 .364 267 Pct PF .750 245 .600 198 .400 163 .350 174 Thursday's Games Houston 34, Detroit 31, OT Washington 38, Dallas 31 New England 49, N.Y. Jets 19 Sunday'sonday's Game Carolina at Philadelphia, 8:30 p.m. Thursday, Nov. 29 New Orleans at Atlanta, 8:20 p.m. Sunday, Dec. 2. Friday's women's basketball scores TOURNAMENT Aggie Hotel Encanto Thanksgiving Cla First Round New Mexico St. 55, George Mason 52 UC Irvine 69, Drake 64 Cal Classic First Round California 91, E. Washington 58 Georgetown 53, Cal St.-Fullerton 51 FlU Thanksgiving Classic First Round FlU 66, Iowa 65 LSU 71, West Virginia 63 GSU Thanksgiving Tournament First Round Florida A&M 70, Kent St. 56 Georgia St. 73, Georgia Southern 48 John Ascuaga's Nugget Classic First Round Nevada 86, Cleveland St. 79 Toledo 73, Santa Clara 48 Julie Costello Memorial Classic First Round Here are the winning numbers selected Friday in the Florida Lottery: CASH 3 (early) : :.: 4-0-8 CASH 3 (late) o'0-6-6 PLAY 4 (early) S 9-9-0-5 PLAY 4 (late) 7-5-4-9 FANTASY 5 16- 17 20 25- 31 MEGA MONEY 2-17-19-41 loida Lottey MEGA BALL 5 On the AIRWAVES TODAY'S SPORTS AUTO RACING 1:30 p.m. (CBS) Lucas Oil Off Road Racing (Taped) MEN'S COLLEGE BASKETBALL 7 p.m. (NBCSPT) Battle for Atlantis, Consolation Game: Teams TBA 9:30 p.m. (NBCSPT) Battle for Atlantis, Championship: Teams TBA NBA 7:30 p.m. (SUN) Cleveland Cavaliers at Miami Heat 9 p.m. (WGN-A) Chicago Bulls at Milwaukee Bucks BOXING 10 p.m. (HBO) Andre Berto vs. Robert Guerrero, welterweights COLLEGE FOOTBALL 5 a.m. (ESPN2) Arizona State at Arizona (Same-day Tape) 12 p.m. (ABC) Michigan at Ohio State 12 p.m. (MNT) Kentucky at Tennessee 12 p.m. (ESPN) Georgia Tech at Georgia 12 p.m. (ESPN2) Rutgers at Pittsburgh 12 p.m. (FSNFL) Alabama-Birmingham at Central Florida 12 p.m. (FX) Tulsa at Southern Methodist 12:30 p.m. (CW) Miami at Duke 2:30 p.m. (NBC) Grambling State vs. Southern 2:30 p.m. (FOX) Texas Tech vs. Baylor 3 p.m. (SUN) Maryland at North Carolina 3:30 p.m. (CBS) Auburn at Alabama 3:30 p.m. (ABC) Florida at Florida State 3:30 p.m. (ESPN) Oklahoma State at Oklahoma 3:30 p.m. (ESPN2) Wisconsin at Penn State 3:30 p.m. (FSNFL) Tulane at Houston 3:30 p.m. (NBCSPT) Air Force at Fresno State 6:30 p.m. (FOX) Stanford at UCLA 7 p.m. (ESPN) South Carolina at Clemson 7 p.m. (ESPN2) Missouri at Texas A&M 7 p.m. (FSNFL) Tulsa at Southern Methodist (Same-day Tape) 8 p.m. (ABC) Notre Dame at USC 10 p.m. (FSNFL) Texas Tech vs. Baylor (Same-day Tape) 10:30 p.m. (ESPN2) Louisiana Tech at San Jose State 12 a.m. (NBCSPT) Grambling State vs. Southern (Same-day Tape) 2 a.m. (FSNFL) Stanford at UCLA (Same-day Tape) GOLF 6 a.m. (GOLF) European PGA Tour: DP World Tour Championship Third Round 3 a.m. (GOLF) European PGA Tour: DP World Tour Championship Final Round Note: Times and channels are subject to change at the discretion of the network. If you are unable to locate a game on the listed channel, please contact your cable provider. Calvin 84, Thomas More 75, OT Junkanoo Jam First Round Illinois 82, Tulsa 75 Iowa St. 55, Loyola Marymount 33 LIU Turkey Classic First Round Colgate 75, LIU Brooklyn 61 Drexel 76, UMKC 40 NAU Thanksgiving Tournament First Round Tulane 74, Bradley 69 W. Michigan 78, N. Arizona 67 Omni Hotels Classic First Round San Diego St. 78, Auburn 57 Pepperdine Thanksgiving Classic First Round Pepperdine 70, South Dakota 54 Wyoming 55, Seton Hall 45 Radisson Hotel Thanksgiving Tourname First Round CS Northridge 47, South Alabama 40 Penn St. 80, Detroit 72 SHU Thanksgiving Tournament First Round Siena Heights 95, Wilberforce 64 St. Francis (Ind.) 86, Martin Methodist 66 SMU Hoops for the Cure Classic First Round Montana St. 58, Clemson 52 SMU 64, SIU-Edwardsville 46 UM Thanksgiving Tournament First Round Miami 76, FAU 61 Radford 85, S. Illinois 62 UNM Thanksgiving Tournament First Round Georgia 84, St. Bonaventure 48 New Mexico 81, North Texas 59 WDS Thanksgiving Tourrnament First Round Sacred Heart 54, Boston College 48 NBA standings EASTERN CONFERENCE Atlantic Division W L Pct GB New York 8 3 .727 - Brooklyn 7 4 .636 Philadelphia 7 5 .583 11 Boston 7 6 .538 Toronto 3 10 .231 Southeast Division W L Pct GB Miami 9 3 .750 - Atlanta 7 4 .636 11 Charlotte 6 5 .545 2Y Orlando 5 7 .417 Washington 0 10 .000 Central Division W L Pct GB Milwaukee 6 4 .600 - Chicago 5 6 .455 1 Indiana 6 8 .429 Cleveland 3 9 .250 Detroit 3 10 .231 4Y WESTERN CONFERENCE Southwest Division W L Pct GB Memphis 9 2 .818 San Antonio 10 3 .769 - Dallas 7 6 .538 Houston 6 7 .462 New Orleans 3 7 .300 5Y Northwest Division W L Pct GB Oklahoma City 9 4 .692 - Denver 7 6 .538 Utah 7 6 .538 Minnesota 5 5 .500 21 Portland 5 6 .455 Pacific Division W L Pct GI L.A. Clippers 8 4 .667 Golden State 7 6 .538 11 L.A. Lakers 6 7 .462 21 Phoenix 5 7 .417 Sacramento 3 9 .250 Friday's Games Atlanta 101, Charlotte 91 Orlando 108, Cleveland 104 Boston 108, Oklahoma City 100 Brooklyn 86, L.A. Clippers 76 Detroit 91, Toronto 90 Houston 131, New York 103 Memphis 106, L.A. Lakers 98 San Antonio 104, Indiana 97 Denver 102, Golden State 91 Utah 104, Sacramento 102 New Orleans at Phoenix, late Minnesota at Portland, late Today's Games L.A. Clippers at Atlanta, 7p.m. Oklahoma City at Philadelphia, 7 p.m. Charlotte at Washington, 7 p.m. Cleveland at Miami, 7:30 p.m. L.A. Lakers at Dallas, 8:30 p.m. Chicago at Milwaukee, 9 p.m. Utah at Sacramento, 10 p.m. Minnesota at Golden State, 10:30 p.m. Glantz-Culver Line Today NCAA Football FAVORITE OPEN TODAY 0/U UNDERDOG (55) Michigan (46Y2) at W. Forest (45Y2) UConn (64) Georgia Tech (54) Maryland (49Y2) Virginia (39/2) at Minnesota (67) at Duke (50Y2) Illinois (56Y2) Boston Coll. (61) Kentucky (45) Wisconsin (43Y2) Rutgers (63) Indiana (54'2) at UTSA (57Y2) Idaho (55) at Wyoming (79) Texas Tech (46Y2) Auburn (54Y2) Miss. St. (52) at UCLA (48Y2) at N. Mex. St. (60Y2) Air Force (72) Oklahoma St. (61) Missouri (65Y2) at Oregon St. (52Y2) at SMU (43Y2) Florida (75Y2) La. Tech (50Y2) S. Miss. (6862) Tulane (54Y2) New Mexico (56Y2) Rice (62) South Carolina (58Y2) UAB (46) at So. Cal (54) at Hawaii (51 Y2) North Texas (691/2) Troy (56) S. Alabama (61Y2) at FlU at Ohio St. 5 4 Vanderbilt 10 11 at Louisville 13 11 at Georgia 13 14 at N. Carolina 2212 2412 atVirginia Tech 1012 10 Michigan St. 812 812 Miami 5 612 B at N'western 1812 1912 at NC State 1312 14 1 atTennessee 1512 13 y2 at Penn St. 2 212 2 at Pittsburgh 2 112 6 at Purdue 512 512 Texas St. 2 1 Y2 B at Utah St. 39 38 San Diego St. 7 712 y2 Baylor-y 2 312 /2 at Alabama 33 33 4 at Miss. 112 112 8 Stanford Pk 212 BYU 2912 29 B at Fresno St. 1612 1612 - at Oklahoma 712 612 y2 at Texas A&M 19 22 2 Oregon 11 912 4 Tulsa 512 5 42 at Florida St. 8 7 at San Jose St. 3 312 at Memphis 3Y2 4 B at Houston 1312 1212 - at Colorado St. 212 312 - atUTEP 2 112 3 at Clemson 5 312 4 at UCF 22 21 2 V2 Notre Dame 7 512 UNLV 4 312 B at W.Kentucky 11 1112 - at MiddleTenn. 3 3 2 at La.-Lafayette 18Y2 1812 2 La.-Monroe 6 4 Pats destroy Jets 49-19 Associated Press EAST RUTHERFORD, N.J. Tom Brady couldn't believe what happened. Neither could Bill Be- lichick, nor the rest of the New England Patriots, for that matter. They were up 7-0 on the New York Jets one minute, and 28-0 the next. Literally Three touchdowns in 52 seconds. That was all it took to send the high-scoring Pa- tri touch- down passes and ran for a score as the Patriots (8-3) took advantage of five turnovers and used a 35- point second quarter in- cluding- less opening period, the Pa- triots then went on a touchdown spree despite holding the ball for only 2:14 as the Jets kept giving the ball away "I was unfortunately on the other side of that in a Pro Bowl where they scored on a fumble, then an inter- ception," Belichick said. "It doesn't take a lot to score like that- defensive touch- downs, special teams, they can add up in a hurry "Nothing surprises me in the NFL." The Patriots jumped on a poor decision by Mark Sanchez, who ruined a nice drive by keying in on Je- remy Kerley on second-and- 6 from the 23. Steve Gregory read the play the whole way for an easy interception. Brady then led the Patri- ots on a 15-play, 84-yard drive that was capped by Wes Welker's 3-yard touch- down catch on the first play of the second quarter. McIlroy tied for Dubai lead Donald, Warren also atop board Associated Press DUBAI, United Arab Emi- rates Rory McIlroy shot a 5-under 67 Friday and was tied for the lead with Luke Donald and Marc Warren after two rounds of the sea- son-ending Dubai World Championship. McIlroy, the top-ranked golfer, has already won the money titles on the Euro- pean and PGA tours. He was one stroke in front at 11- under 133 with Donald (68) and 189th-ranked Warren (67). Sergio Garcia, playing for the first time since laser eye HOOPS Continued from Page B1 Rosario's mistakes helped UCF (3-2) cut an 18- point down to seven to open the second half. But the Gators (5-0) re- sponded by dumping the ALL Continued from Page B1 problems this year, with quarterback EJ Manuel leading the way Manuel will be making his 29th career start Satur- day, though he had perhaps his poorest performance last year at Florida. Manuel was sacked four times and passed for just 65 of his team's 95 (not a mis- print) total yards in the game and if not for punter Shawn Powell kicking his team out of trouble, the outcome 21-7 Florida State could have been COLLEGE Continued from Page B1 Scriven had one carry for 4 yards and caught two passes for 14 yards in the game. He ended the season with 125 yards rushing on 32 at- tempts, a 3.9 yards-per-carry average, with a team-best seven touchdowns. He also caught 12 passes for 94 yards (7.8 yards per catch) and a TD, giving him eight scores for the season, also a team high. Unfortunately, the touch- downs he scored against KSU were his last of the season. Scriven saw limited action in WMU's final five games, not getting a carry or catching a pass against ei- ther Central Michigan or Buffalo. Following the loss to EMU last Saturday, Broncos head coach Bill Cubit was fired. He had headed the program for eight seasons, posting a 51-47 overall record. Carleigh Williams, a soph- omore defender for the Uni- versity of Central Florida women's soccer team and a Lecanto High School gradu- ate, enjoyed another suc- cessful season and so did the Knights. The 18th-ranked team in the nation swept through the Conference USA Tour- nament, posting consecutive 2-0 wins over Memphis on Oct. 31, SMU on Nov 2 and, my- self plenty of opportuni- ties," recover- ing to finish with a birdie and eagle. "Coming back from a long ball inside to Patric Young, who converted a three- point play, and then getting a huge 3-pointer from Kenny Boynton. Boynton finished with a season-high 24 points as Florida overcame a slug- gish start, dominated the paint and pressed the Knights into a bevy of sea- son. Manuel has completed 68.8 percent of his passes for 2,785 yards and 21 touchdowns with five inter- ceptions. The Florida defense that has allowed 11.8 points and 328.8 yards a game is easily the best Manuel has faced this year. in the championship match, over Tulsa on Nov 4. In the NCAA Tournament, UCF edged the University of Miami on overtime penalty kicks by a 5-3 margin on Nov 10 after the match was knotted 1-1. Last Friday in Gainesville, the Knights' hopes for an extended NCAA Tournament run ended when they were beaten 1-0 by the University of Florida. UCF finished its season at 17-5-2 with its first-ever Con- ference USA Tournament title. The Knights also set school and conference records with 15 shutouts. Williams, who has been a starter on defense through- out her career at UCF, was instrumental in that run; she started all 24 matches this season for the Knights, collecting two assists. Brad Kidd, a sophomore at Florida Atlantic Univer- sity and a Crystal River High School graduate, fin- ished third among the Owls men's golfers and tied for 19th overall at the 2012 Hat- ters Classic on Nov 5-6 at Victoria Hills Golf Club in Deland. Kidd shot a final round 73 to go with scores of 74 and 77 for an 8-over par 224 total. FAU finished fifth out of nine teams in the standings with an 895 total. University of Central Florida was first with an 870. The tournament con- op- portunities, 10-foot, 15-footers on a few holes that I just misread. But that was a solid round of golf." Donald said he wasn't get- ting his approach shots as close to the pin as the first day, but made up for it with the putter, including a diffi- cult birdie on No. 9 and nice par save on No. 12. turnovers. Boynton, three days after spraining his left ankle, made 7 of 15 shots and added eight rebounds. He played with his ankle tightly taped and got a pain-killing injection before the game. "I'll probably feel it when I take this tape off," Boyn- ton said. "We will have to be ready to go," Manuel said. "Get- ting scores on the board and not three and outs." A bit of turnabout from last year's Florida State win comes in the punting game, which could be espe- cially important if offense is sparse. The Seminoles had the edge a year ago with Pow- ell. This year the Gators have it with Kyle Christy, who leads the SEC an aver- age of over 46.3 yards a punt. Florida State has gone with freshman Cason Beatty, who has struggled some at times. Beatty aver- ages 37.6 yards a punt. cluded the fall season for the Owls, who will resume play Feb. 4 at Westwood Golf Club in Houston. Jesse Alves, a sophomore forward from Crystal River High School, and Zack Fagan, a sophomore de- fender from Citrus High School, helped Northwood University's men's soccer squad post a 13-6 overall record and a 7-3 mark in the Sun Conference. The Sea- hawks reached the Sun Conference Tournament semifinals before losing to top-seeded St. Thomas 2-1 on Nov 9 in Miami Gardens. Northwood reached the tournament semis with a 3- 2 overtime win over Thomas University (Ga.) Nov 3 in Thomasville,Ga. For the season, Fagan ap- peared in 13 matches for the NAIA Seahawks, starting seven. Alves appeared in 17 matches with four starts, col- lecting a goal and two assists. Kylie Fagan, a freshman at St. Leo University and a Citrus High School gradu- ate, finished 56th overall for the Lions women's cross country team at the NCAA Division II South Regional Nov. 3 at Sharon Johnston Park in Huntsville, Ala. Fagan posted a career- best 25:04.07 over the 6-kilo- meter course, third best among the Lions. St. Leo placed eighth in the 12-team field with 233 points; the University of Tampa was first with 24. SCOREBOARD CITRUS COUNTY (FL) CHRONICLE No. 8 LSU holds off Arkansas 20-13 Associated Pressa- bama pass- ing for the Razorbacks (4-8, 2-6), whose fall from preseason top 10 is now complete. The senior set the school record for career pass- ing yards in the loss. Arkansas' Cobi Hamilton set the school record for receptions in a career with 175. Satur- day in Indianapolis. It'll be a rematch of Nebraska's thrilling 30-27 home win over the Badgers in late September. Burkhead, making his first appear- ance State 28, Ohio 6 KENT, Ohio C.J. Malauulu re- turned an interception 33 yards for a touchdown 12 seconds after an- other Kent State TD and the No. 23 Golden Flashes completed a per- fect season in the Mid-American Con- Associated Press LSU wide receiver Jarvis Landry makes a leaping 22-yard touchdown reception Friday during the second quarter against Arkansas in Fayetteville, Ark. The No. 8 Tigers held off the Razorbacks 20-13. ference with their 10th straight win, 28-6 over Ohio. The regular-season finale was a tuneup for Kent State (11-1, 8-0 MAC), which will meet No. 24 Northern Illinois in next week's MAC championship. The win allowed the Golden Flashes to con- tinue. No. 24 Northern Illinois 49, Eastern Michigan 7 YPSILANTI, Mich. -Akeem Daniels scored a career-best four touchdowns and No. 24 Northern Illi- nois ended its regular season with its 11th straight victory, 49-7 against Eastern Michigan. Daniels finished with a career-best 112 yards on 12 carries as the Huskies (11-1, 8-0) ended a perfect run through the Mid-American Confer- ence and set the stage for next week's title game against No. 23 Kent State. Northern Illinois scored six straight touchdowns after Eagles (2-10, 1-7) tied the game late in the first quarter. West Virginia 31, Iowa State 24 AMES, Iowa Tavon Austin turned a touch pass from Geno Smith into a 75- yard touchdown with 6:31 left and West Virginia held on to beat Iowa State 31- 24 for- mation Moun- taineers, which ran out the clock. Syracuse 38, Temple 20 PHILADELPHIA-. Washington State 31, Washington 28 OT PULLMAN, Wash. -Andrew Furney kicked a 27-yard field goal on Washing- ton State's first possession of overtime, and the Cougars overcame an 18-point deficit in the fourth quarter to stun rival Washington 31-28 in the Apple Cup,. Miami ends year at Duke Associated Press DURHAM, N.C. It's an- other fin- ish in league play for Duke (6-5, 3-4). For the Hurri- canes (6-5, 4-3), there's only pride and the chance to fin- ish November with three wins in four games. Miami (6-5, 4-3) at Duke (6-5, 34) Time: 12:30 p.m. today. TV: CW. Still, Miami coach Al Golden says motivation shouldn't be a problem. '"At the end of the day, I don't think there is any ques- tion that we'll be defined by how we respond moving for- ward," Golden said. "We can make all the excuses that we want, but the reality is we're facing a very good team. A team that is obviously hun- gry, that is going to a bowl game and senior-laden or ex- perienced-laden on Senior Day Even despite this or re- gardless of this it was going to be a tough out, and we better get focused and ready to go." The Hurricanes self-im- posed a second straight post- season ban because of an NCAA investigation that is ex- pected al- lowing an eighth win if you accomplish that, is signifi- cant. The hurdle is Miami, an extremely talented foot- ball team that can ignite things offensively" The knock on the Hurri- canes this season has sel- dom been their offense - they average 421 total yards and nearly 30 points, and have scored 40 in each of their last two games. UCF Knights in the hunt Associated Press ORLANDO George O'Leary has been a football coach long enough to know how fortunate his team is this late in November. Central Florida went to Tulsa last week unbeaten in Conference USA play and needing just one victory to lock up both the East Divi- sion and home field advan- tage in the league championship game. The Knights, who had been on a six-game winning streak, lost 23-21. But thanks to an identical one-loss conference record and early-season victory over division chaser East Carolina, UCF (8-3, 6-1) has a rare chance at a football mulligan on Saturday in its regular-season finale against visiting UAB (3-8, 2-5) It's simple. Win and the Knights get a rematch with Tulsa in the C-USA title game on Dec. 1. It wouldn't be a home game like they wanted, but it's still a shot to accomplish their season goals nonetheless. O'Leary said it made for a very easy speech to his team this week. "Very few teams still have a chance to play for two championships," O'Leary said. "As I told them, it is a very unusual situation where that (Tulsa) game would've got us the divi- sional championship. That's all...we need to take advan- tage of it." After putting up no fewer than 31 points during their winning streak, the 21 the Knights put up against the Golden Hurricane was their lowest output since a 21-16 loss to Missouri back in September. O'Leary said the Knights' offense was "out of sync the whole game" at all positions. Fixing those issues will be paramount for the group of 20 UCF seniors playing in their final home game. A win would not only give them a shot at their second league title and Liberty Bowl berth. With 32 wins since 2009, they are one vic- tory short of tying the most victories for any UCF team over a four-year stretch. "Coming from high school, our football team was pretty good and we had a chance to win a state championship, but we got knocked off late my senior year. So I was never a cham- pion in high school," senior offensive lineman Theo Goins said. "So to come to UCF and be faced with the opportunity to be two-time champions...That's more than what I expected." Asked what needs to be done to ensure opportunity becomes reality, Goins said keeping a singular focus is the key "We've been working all season, that's how we got to the point where we are now," he said. "We take the wins with the losses...We know what's at stake." UAB, who beat the Knights 26-24 last season in Birmingham, it is expected to have harder time this year if it wants to play the spoiler role. sc5AtcA ACku5 - lrI~I1~ Drop your letter by the Crystal River Mall or the Citrus County Chronicle between Friday, November 23 and '-- - Friday, December 14,2012 CRYSTAL RA CI RO. ICJC All letters will be ;.t... .. i' .... all to read and enjoy MA L 1 ww.,,. .. online at! COLLEGE FOOTBALL SATURDAY, NOVEMBER 24, 2012 B5 ENTERTAINMENT CITRUS COUNTY CHRONICLE Spotlight on PEOPLE Fight ends in arrest LOS ANGELES - Halle Berry's ex- boyfriend Gabriel Aubry was arrested for investigation of battery Thursday after he and the Oscar-winning actress's current boyfriend got into a fight at her Holly- wood Hills Halle home, Berry has been dating French actor Olivier Martinez, and he said earlier this year that they are engaged. Guyana show canceled GE. No charge for May encounter LOS ANGELES - Prosecutors decided not to file any charges against Justin Bieber after investigators found no evidence that the pop star had mrapher kcafter leaving a movie Justin theater Bieber en- counter in a parking lot. -From wire reports 'Star ars' AP Photo/Phelan M. Ebenhack,. Episode 7 may bring new hope, or even a letdown RYAN NAKASHIMA Associated Press LOS sanc- tioned pro- duce them as president of Lucas- film. BIRTHDAY Consistency and tenacity will be the two most powerful qualities you'll use for fulfilling many of your objectives in coming months. A number of goals whose achievement didn't seem he also spoke with Lucas about three weeks before the Disney announcement and just missed a call from him the day the deal was made public Oct. 30. That suggests that Luke and on-screen sister Leia will be in- volved in some way in the sequel. After all, their characters are the last members of the Skywalker family, and the most potent wield- . "It'saminski Today's HOROSCOPE strength- AP Photo/Lennart Preiss, File In this Oct. 27, 2010 file photo, a Darth Vader costume produced for the second Star Wars movie "The Empire Strikes Back," released in 1980, is on display at Christie's auction house in London. wouldn't be the same. "Almost anything is possible," said Jay Shepard, a content editor at fan site TheForce.net. "But I don't believe it will be any type of plotline we've already seen." ened spirit. Try to do something useful as well as productive. Florida LOTTERIES SO YOU KNOW Last night's winning numbers, Page B4. THURSDAY, NOVEMBER 15 Fantasy 5:3 4 29 32 36 5-of-5 1 winner $164,113.38 4-of-5 163 $162.00 3-of-5 5,671 $13.00 WEDNESDAY, NOVEMBER 21 Powerball: 8 18 24 30 39 Powerball: 26 5-of-5 PB No winners No Florida winners 5-of-5 No winners No Florida winners Lotto: 3 19 24 34 37 41 6-of-6 1 winner $5 million 5-of-6 30 $4,477.50 4-of-6 1,834 $66.50 3-of-6 34,472 $5 Fantasy 5:1 22 28 35 36 5-of-5 No winner 4-of-5 311 $555 3-of-5 9,919 $24 INSIDE THE NUMBERS To verify the accuracy of winning lottery num- bers, players should double-check the num- bers printed above with numbers officially posted by the Florida Lottery. Go to, or call 850-487-7777. Today in HISTORY Today. Today's Birthdays: Basketball Hall of Famer Oscar Robertson is 74. Country singer Johnny Carver is 72. Former NFL Commissioner Paul Tagliabue (TAG'-lee-uh-boo) is 72. Rock drummer Pete Best is 71. Thought for Today: "Between flattery and admiration there often flows a river of contempt." Minna Antrim, American writer (1861-1950). RELIGION ------------ *rI r,,1w1 CITRUS COUNTY CHRONICLE Order of nuns to leave after 68 years --" Associated Press OGDEN, Utah -An order oof Roman Catholic nuns that N- moved to Ogden decades ago to build a hospital there confirmed plans to leave northern Utah after 68 years in the area. Just five sisters remain at ,_Mount Benedict Monastery 1ert/rj- in Ogden, about 30 miles -- VInorth of Salt Lake City They .-. -told the Standard-Examiner that they'll leave as soon as they sell their home. The announcement marked the first confirma- KERA WILLIAMS/Standard-Examiner tion of the sisters' plans to From left, Sister Danile Knight, Sister Stephanie Mongeon, Sister Jean Gibson, Sister Mary Zenzen and Luke Hoschette leave since they realigned eat dinner together at Mount Benedict Monastery in South Ogden, Utah. The order of Roman Catholic nuns that moved to Ogden decades ago to build a hospital there confirmed plans to leave northern Utah after 68 years in the area. See Page C5 One journey to another Couple who founded African ministry comes to Inverness NANCY KENNEDY Staff Writer INVERNESS Thanks to Richard and Robin Smyth, the African country of Rwanda now has a decent bagel. The Smyths, along with their four young adult children, re- cently moved to Inverness after spending the past seven years as missionaries in Rwanda where they established the African Bagel Company, part of a train- ing ministry that helps bring destitute African women out of poverty by teaching them a trade along with life skills, so they can provide for themselves and their families. Richard Smyth is now co-pas- tor with the Rev Kevin Brian at Journey Church in Inverness. Originally from Boston, the Smyths lived much of their mar- ried life in New Hampshire where they owned a big bed and breakfast home, which they used as a place to offer tempo- rary housing for whoever needed it unwed moms, wid- ows, homeless, visiting missionaries. At one point a pastor from Rwanda needed a place to stay for five days, which turned into five months. "That began our connection with Rwanda," Mrs. Smyth said. "We knew we were called to full- time ministry, but until then we didn't know where." They traveled to Rwanda for a two-week exploratory visit, and by the second day they knew that's where God wanted them. "So, we came back and told the kids we were going to sell everything except what would fit into two suitcases," Mrs. Smyth said. Her husband, who is trained as a registered nurse, opened a medical clinic for street boys and they began meeting many boys who weren't true orphans, boys who had mothers who couldn't take care of them so the boys lived on the streets. The men in Rwanda generally father children and then leave when things get tough, leaving the women destitute. There's no sense of accountability or re- sponsibility with the men in Sale away Our Lady of Grace Catholic Church in Beverly Hills will resume its monthly outdoor flea market from 8 a.m. to 2 p.m. today on the church property at 6 Roosevelt Blvd. in Beverly Hills off North Lecanto Highway (County Road 491). Shoppers are welcome. Up to 50 commercial and private ven- dors are expected to display their wares. Commercial ven- dors and private individuals are welcome to bring and sell goods. Spaces are available for $10. A mobile kitchen, "Cooking Good," will serve breakfast and DAVE SIGLER/Chronicle Kevin Brian, seated left, and Richard Smyth, right, are co-pastors at the Journey Church in Inverness. The pastors were joined by their wives, Betsy Brian and Robin Smyth, at the local church. many of the African countries, Mrs. Smyth said. Here come the bagels "We saw a lot of African pas- tors who were always looking for money, so we formed our own organization, Tentmakers of lunch items. Flea markets take place the fourth Saturday monthly except in June, July and August. Next month's flea market is Dec. 22. For more in- formation or to reserve a space, call Rose Mary at 352-527- 6459 or email wjeselso@ tampabay.rr.com. First Baptist Church of Beverly Hills will host a yard and bake sale from 8 a.m. to 1 p.m. Saturday, Dec. 1. Deli- cious baked goods and great deals on clothes, toys, electron- ics and housewares. The church is at 4950 N. Lecanto Highway, Beverly Hills. The Women of First Rwanda, where we tried to in- still in them to do what the apos- tle Paul did -'make tents' or start their own businesses while ministering," Richard Smyth said. They also started a training center for African women, many Religion NOTES Lutheran Church invite every- one to their annual "Snowman Bazaar" from 9 a.m. to 2 p.m. Saturday, Dec. 1. Crafters and companies will include: Ar- bonne, Celebrating Home, Scentsy, Embroidery by Barb, Miche bags, Wildtree Herbs, Mary K Cosmetics, Chocolates by Vanessa, Avon, Christmas crafts, Silpada Jewelry, hand- made teddy bears, Christmas ornaments, handmade bibs, paper bead necklaces, crochet items, tea towels, placemats, ceramics, gift baskets, wreaths and more. The Women of First Lutheran will also sell home- made baked goods. This is a Thrivent-sponsored event. The church is at 1900 State Road 44 W., Inverness. Call 352- 726-1637. A flea market, craft and bake sale will take place from 8 a.m. to 2 p.m. Saturday, Dec. 8, hosted by the St. Lawrence Altar Society, 320 E. Dade St., off C.R. 301. Sloppy Joe's, hotdogs and drinks avail- able. For table reservations, call Mrs. Petty at 352-793-7773. The Unity yard sale is from 8 a.m. to 3 p.m. Saturday, Dec. 8, at 2628 W. Woodview Lane, Lecanto. We provide shade trees, music, parking, chairs, meditation trial, labyrinth of them the mothers of street boys, to teach them skills so they could be self-sufficient. "The bagels, that was a God thing," Mrs. Smyth said. "I was in the kitchen showing some Page C5 and clean restrooms. You pro- vide clean, reusable household items, jewelry, books, DVDs, etc. Setup is at daylight. Sellers and buyers are needed. Table rentals available for $15 inside or $10 outside. Popcorn, cotton candy, small homemade snacks, sodas and coffee avail- able. For information and table rentals, call 352-746-1270 Tuesday through Friday. "HandBags For Hope," a sale of gently used donated handbags, will take place from 10 a.m. to noon Saturday, Dec. 8, at FresHope Ministries, 2991 See Page C2 Nancy Kennedy GRACE NOTES First world problems body or- dering a breakfast combo meal and I had to wait anyway I could've stayed in my car And it was cold outside. The apple I brought for lunch looked crisp and crunchy, but I was de- ceived. It was mushy and tasteless. Those are First World Problems, a meme (idea that spreads through the culture) that's spreading across the Internet, See Page C5 Terry Mattingly ON RELIGION Civil marriage and churches Editor's note: This is the first of two columns on the current debates about Holy Matrimony and civil unions. f the American public is truly changing its mind on marriage, then it's time for Catholic priests to start saying, "We don't," instead of continu- ing to endorse the govern- ment's right to legislate who gets to say, "I do." At least, that's an option that Catholics, and by im- plication other religious traditionalists, must be willing to consider, ac- cording to scholar George Weigel of the Ethics and Public Policy Center, who is best known as the offi- cial biographer of the late Pope John Paul II. In the wake of Presi- dent Barack Obama's vic- tory, supporters of same-sex unions will "press the administration to find some way to feder- alize the marriage issue," argued Weigel, in a syndi- cated essay that ignited fierce debates once posted at FirstThings.com and elsewhere online. "It seems important to accel- erate a serious debate within American Catholi- cism on whether the See Page C2 C2 SATURDAY, NOVEMBER 24, 2012 MARRIAGE Continued from Page C1 Church ought not preemptively withdraw from the civil marriage business, its clergy declining to act as agents of government in wit- nessing marriages for purposes of state law." If Catholic leaders take this step now, he noted, they would be "act- ing prophetically" and underlining the fact that there is a radical, and increasing, chasm between the church's sacramental definition of marriage and the legal meaning now being assigned to that term by judges and legislators. "If, however, the Church is forced to take this step after 'gay marriage' is the law of the land, Catholics will be pilloried as bad losers who've picked up their mar- bles and fled the game and any witness-value to the Church's with- drawal from the civil marriage business will be lost," argued Weigel. This action would, in effect, re- quire Na- tional Organization for Marriage. But what are ordinary believers supposed to do? "If a priest cannot in good con- science cooperate with the state in creating a marriage, can a good Catholic? ... An actual withdrawal of Catholics from the public and civil institution of marriage," she noted, responding to Weigel, re- quires more than a gesture. In- stead, it is "a huge endeavor that would require the creation of al- ternative means of enforcing the civil aspects of the marriage com- mitment (or leaving women and children unprotected). "Abandoning that legal frame- work in- stitution of marriage are taking place at the grassroots, argued Matthew Warner, blogging for The National Catholic Register. Will re- fusing conven- ience that lasts until one person gets bored. Now we want to get picky about which genders can participate, but can't really re- member? Terry Mattingly is the director of the Washington Journalism Cen- ter at the Council for Christian Colleges and Universities and leads the GetReligion.org project to study religion and the news. NOTES Continued from Page C1 E. Thomas St., Inverness. At "Hand- Bags for Hope" you will find it all, the dependable everyday handbag to a brand-new designer handbag with a price range from $5 to $40. Handbag donations accepted. Proceeds go to FresHope Ministries. Call 352- 341-4011. The Holy Myrrhbearers of St. Raphael Orthodox Church invite the public to their annual "Holiday Bake & Craft Sale" from 9 a.m. to 2 p.m. Saturday, Dec. 8, and noon to 2 p.m. Sunday, Dec. 9. Come and taste eth- nic Russian, Serbian, Greek, Syrian and Romanian, as well as traditional American baked goods. Craft tables featuring handmade jewelry and other items, plus Christmas decora- tions will also be featured. The church is at 1277 N. Paul Drive, In- verness, off U.S. 41 North across from Dollar General. Call 352- 726-4777.. Music & more First Baptist Church of Lake Rousseau will host Hope Street in concert at 6 p.m. Saturday, Dec. 1, at the church on West Dunnellon Road (County Road 488). The trio of John and Darlene Clemons and Jonni Hepler will present "A Cappella Christmas." The concert is free; a love offering will be accepted. Call the church at 352-564-9121 or 352- 795-5651. As part of the Homosassa First United Methodist Church's Art Se- ries for 2012, a concert of Christmas music by the Ditchfield Family Singers will be presented at 3 p.m. Sunday, Dec. 2, on the stage of the church's fellowship hall at 8831 W. Bradshaw St., Homosassa. General admission tickets are $12; reserved (first five rows, center) are $18. Call the church office at 352-628-4083, Jim Love at 352-746-3674 or Jim Potts at 352-382-1842. Lighthouse Baptist Church will host "Redhead Express" in concert at 5:30 p.m. Sunday, Dec. 2. The group consists of the parents and seven children (all play musical in- struments). They put on a high-en- ergy, entertaining American roots music show. A love offering will be collected after the show. A spaghetti dinner will be served at 4:30 p.m. for a donation of $5. Proceeds of the dinner will support Hope Prison Min- istries. The church is at the corner of Citrus Springs and W.G. Martinelli Blvd. Call 352-489-7515 or 208-3055 for information. Freedom Trio will be in concert at 5:45 p.m. Sunday, Dec. 2, at Her- nando Church of the Nazarene, 2010 N Florida Ave., Hernando. Celebra- tion Sounds, the church's choir and orchestra, will open the concert. There is no charge. A love offering will be collected. All are welcome. The group "Hope Street" will give an a cappella concert of music and fun at 6 p.m. Sunday, Dec. 2, at Faith Baptist Church of Homosassa, 6918 S. Spartan Ave., Call 352- 628-4793. Center Stage Jazz Band will perform at 7 p.m. Wednesday, Dec. 5, at Hernando Church of the Nazarene, 2101 N. Florida Ave, Her- nando. This concert will include sa- cred and secular Christmas music. Come and get in the Christmas spirit. Arbor Lakes Chorus will present its Christmas show titled "Sing We Now of Christmas" at 7 p.m. Friday, Dec. 7, at Hernando United Methodist Church, 2125 E. Norvell Bryant Highway (County Road 486), Hernando. The chorus is directed by Cory Stroup and accompanied by Harry Hershey. Admission is free. A love offering will be collected. Big band sounds, the jitterbug and World War II Just a few things that bring the 1940s to mind. Join us as the full choir and drama group look at Christmas from that perspec- tive while presenting "A 1940's Christmas Homecoming," at 6 p.m. Saturday, Dec. 8, and 2 and 6 p.m. Sunday, Dec. 9, at North Oak Baptist Church at the intersection of N. Elk- cam Blvd. and N. Citrus Springs CITRUS COUNTY (FL) CHRONICLE Blvd. in Citrus Springs. This musi- cal/drama presentation features a young soldier who is sent on a spe- cial mission just as he was preparing to go home to his family for Christ- mas. The public is invited. Admission is free. Call 352-489-1688 or 352- 746-1500 for more information. Everyone is invited to the third annual Nativity concert, "Rejoice All People," at 6 p.m. Sunday, Dec. 9, at St. Raphael Orthodox Church at 1277 N. Paul Drive, Inverness, off U.S. 41 North across from Dollar General. Matushka Mary Balmer will lead the choir in this concert of liturgi- cal music and carols celebrating the birth of Our Lord. Call 352-726-4777. Good Shepherd Lutheran Church will present its children's Na- tivity Play at 8:30 a.m. Sunday, Dec. 16. The chancel choir will present the musical cantata, "A Night For Rejoic- ing," at 11 a.m. Tuesday, Dec. 25.The church is on County Road 486 opposite Citrus Hills Boulevard in Hernando. Call 352-746-7161. The Dunnellon Presbyterian Church Concert Series for Fall-Win- ter 2012-13 will continue at 3 p.m. Sunday, Dec. 16, with the Central Florida Master Choir's program, titled "A'B'eautiful Christmas," which will in- dude Benjamin Britten's Ceremony of Carols, Christmas music by Alfred Burt, Irving Berlin and others. Conduc- tor Dr. Harold W. McSwain, Jr., is pas- tor of First Congregational United Church of Christ of Ocala. Piano ac- companist is Gaylyn Capitano, and guest harp accompanist is Victoria Shultz. The concert is free admission and open to the public. A love offering will be received for the artists. Dunnel- Ion Presbyterian Church is at 20641 Chestnut St., Dunnellon. Food & fellowship Everyone is invited to come out and enjoy the 8th annual free Christ- mas Dinner Theater at 8:30 p.m. Friday through Sunday, Dec. 2, at Calvary Chapel at 960 S. U.S. 41, In- verness. Watch as the crazy "Cricket County Cousins" remind us of how Christmas should be. Doors open at 6. Dinner starts at 7. The event is free. Reservations are required; call 352-726-1480. See NOTES/Page C3 Places of worship that offer love, peace and harmony to all. Al Come on over to "His" house, your spirits will be lifted!!! I SERVICING THE COMMUNITIES OF CRYSTAL RIVER AND HOMOSASSA Attend the worship service of your choice... ST. THOMAS CATHOLIC CHURCH MASSES: aturday 4:30 P.M. unday 8:00 A.M. 10:30 A.M. I. r -- t , i t I i SrCrystal 9 River Foursquare Gospel Church 1160 N. Dunkenfield Ave. 795-6720 A FULL GOSPEL FELLOWSHIP Sunday 10:30 A.M. Wednesday "Christian Ed" 7:00 P.M. Prayer Sat. 4-6 pm Pastor John Hager 'ST. ANNE'S THE SALVATION ARMY C"R SUNDAY Sunday School 9:45 AM. Morning Worship Hour 11:00 A.M. TUESDAY: Home League 11:30 A.M. Lt. Vanessa Miller STemple Beth David 13158 Antelope St. Spring Hill, FL 34609 352-686-7034 Rabbi Lenny Sarko Services Friday 8PM Saturday 10AM Religious School Sunday 9AM-Noon * : West Homosassa 6M UN Citrus First United HEKE, YOU'LL FIND A CAKING FAMILY Church of Christ Methodist IN CH KIST! 9592 W. Deep Woods Dr. church CKYSTXL Crystal River, FL 34465 Everyone RIVC 352.564.8565 Becoming VN ITD A Disciple of Christ A CTHODi ST W. Deep Woods Dr. 1 ru Sunday Worship CHU IKCH SnaofCr MUM__ I 8:00 am & 9:30 am 4801 N. Citrus Ave. l & 11:00 am (2 M i. N O f U S 19) -,, ( 2Sunday School 795-3148 t 9:30 am I11 U...4z "111 St. Benedict Catholic Church U.S. 19 at Ozello Rd. - MASSES - Vigil: 5:00pm Sun.: 8:30 & 10:30am DAILY MASSES Mon. Fri.: 8:00am HOLY DAYS As Announced CONFESSION Sat.: 3:30 4:30pm 795-4479 us Hwy.19 CITRUS COUNTY (FL) CHRONICLE NOTES Continued from Page C2 Everyone is invited to "Jacob's House BBQ Fundraiser" at 11 a.m. Saturday, Dec. 1, at FresHope Min- istries, 2991 E. Thomas St., Inverness. Menu includes chicken, baked beans, coleslaw and rolls for $7 per plate. All proceeds go to Jacob's House Halfway Home For Men. Call 352-341- 4011 or visit. Beverly Hills Community Church spaghetti suppers take place from 4 to 6 p.m. the third Friday monthly in the Jack Steele Hall at 86 Civic Circle, Beverly Hills. A donation of $8 per per- son, $15 for two and $4 for children 12 and younger includes all-you-can-eat salad, spaghetti with meat sauce, Ital- ian bread, dessert and coffee or tea. Tickets available at the door. St. John the Baptist Catholic Church, on the corner of U.S. 41 and State Road 40 East in Dunnellon, hosts its fish fry the first Friday monthly in the church pavilion. Cost is $7 for adults and $3.50 for children. Open to the public. Special events The 8th Annual Festival of Trees, sponsored by GFWC Brooksville Woman's Club and St. An- thony Catholic Church, will take place from 10 a.m. to 7 p.m. Friday and 8 RELIGION a.m. to 2 p.m. Saturday, Dec. 1, at St. Anthony Catholic Church, 20428 Cortez Blvd., Brooksville. Vendor spaces are available for $30 for two days with two 5-foot tables and two chairs. Handmade goods, wood crafts, baked goods, plants, jewelry, crochet, pillows, jams and more. Decorated trees by vendors on display. Applica- tions for rentals are available. Call Yvonne Malone at 352-796-6026 or 848-7988 or Karen Rey Mullane (church) at 352-796-2096. Shepherd's Way Baptist Church in Lecanto will sponsor a holiday pro- gram titled "A Christmas Encounter" at 6:30 p.m. Saturday, Dec. 8, at the church, 965 N. Lecanto Highway, Lecanto. Christmas cookies and bev- erages will be served after the performance. Congregation Beth Israel of Ocala will host a Chanukah party at 4:30 p.m. Sunday, Dec. 9, at the Collins Center, 9401 State Road 200, Building 300, in Ocala. The event will celebrate the Festival of Lights with the traditional lighting of the Chanukah candles, piano entertainment. All are welcome at a Hanukkah candle-lighting and celebration at 6 p.m. Wednesday, Dec. 12, on the grounds of the Old Historic Court- house in Inverness (at U.S. 41 and State Road 44). In addition to the cele- bration and music, latkes (potato pan- cakes) and doughnut holes will be served with coffee and tea. This will be the only public Hanukkah celebration in Citrus County. Sponsors are Joe's Family Restaurant, Seventh Heaven Salon & Spa, the Citrus County Chronicle, Citrus County Historical So- ciety and Congregation Beth Sholom of Citrus County, with thanks to Citrus County Parks & Recreation, Benny Cruz and Citrus County Sheriff Fire Rescue. The Unity Mystery Dinner The- ater Team will present mysteries for the audience to solve. Dinner is served. Schedule: Friday and Satur- day, Dec. 14 and 15 "Santa's Un- timely Demise"; Friday and Saturday, March 15 and 16 "Murder Most Green." Call the box office at 352- 746-1270. Come enjoy fun and fellowship at the "Happy Birthday Jesus Party" from 2 to 4 p.m. Saturday, Dec. 15, at New Hope United Methodist Church, 12725 Istachatta Road, Istachatta. All ages are welcome to join in playing old-fashioned, carnival-type games and prizes. Hot dogs, popcorn and cake will be served. FFRAwill have a fundraiser to raise money to help support its work- shops Train- ing Center at 130 Heights Ave. Inver- ness. It is not necessary to be present to win. For tickets and/or information, call Ron Phillips, president at 352-382- 7919 or Dave Deso at 352-634-2528. Visit. The St. Elizabeth Ann Seton Parish Men's Association is sponsor- ing its annual "A Day at the Races" trip to Tampa Bay Downs for an excit- ing day of thoroughbred horse racing on Wednesday, Jan. 23. Cost of $45 per person includes round-trip bus transportation from the church parking lot, entry fee and reserved seating in the clubhouse, racing form and a hot buffet luncheon. Worship "The Thanksgiving Life," from Philippians 4:6-20, is the sermon topic at 6 p.m. today and 9:30 a.m. Sunday by Pastor Stephen Lane at Faith Lutheran Church in Crystal Glen Subdivision off State Road 44 and County Road 490. Call 352-527-3325 or visit faithlecanto.com Everyone is invited to all of services and functions. Covenant Love Ministry meets in building 11 at Shamrock Acres In- dustrial Park, 6843 N. Citrus Ave., SATURDAY, NOVEMBER 24, 2012 C3 Crystal River. There is a gospel sing at 7 p.m. Friday. Regular church serv- ices are at 10:30 a.m. Sunday. The ministry website is Covenant- Love.com. Call Pastor Brian Kinker at 352-601-4868. St. Raphael Orthodox Church in America invites the public to attend Great Vespers at 5 p.m. today and Di- vine Liturgy at 10 a.m. Sunday. The church is at 1277 N. Paul Drive, Inver- ness (off U.S. 41 North, across from Dollar General). The Holy Myrrhbear- ers ask attendees to bring a box or can of food for distribution at Family Resource Center in Hernando. A come-as-you-are service will take place at 5 p.m. today at St. Timo- thy Lutheran Church, 1070 N. Sun- coast Blvd. (U.S.19), Crystal River. Sunday worship services include the early service with communion at 8 a.m., Sunday school classes for all ages at 9:30 a.m. with coffee fellow- ship hour at 9 a.m., and traditional service with communion at 10:30 a.m. Nursery provided. Call 352-795-5325 or visit river.com. Shepherd of the Hills Episco- pal Church in Lecanto will celebrate the last Sunday after Pentecost, Christ the King, with Holy Eucharist services at 5 p.m. today and 8 and 10:30 a.m. Sunday. A nursery is provided during the 10:30 a.m. service. Godly Play See NOTES/Page C4 Places of worship that offer love, peace and harmony to all. Come on over to "His" house, your spirits will be lifted! i T SERVICING THE COMMUNITIES OF HERNANDO, LECANTO, FLORAL CITY, HOMOSASSA SPRINGS Community Church Sunday 10:00am New Location 1196 S. Lecanto Highway, Lecanto Rev. Brian Baggs Pastor (352) 527-4253 urch.ora *Authentic Love* Relevant Faith Embracing Community Homosassa Springs A SEVENTH www. homosassaadventist.com First Baptist' Church of Floral City Lifting. U_ Floral City United Methodist SChurchchuchh.com. Hemrnando, FL Ph: 352-344-2425 Email:cwow@embarqmail.com "The perfect church for people who aren't" 12 mi.east of U.S.19 6382 W. Green Acres St. P.O. Box 1067 Homosassa, FL. 34447-1067 email: gbc@tampabay.rr.com mq Lhurchof O HERNANDO United Methodist Church OpeM oP OPM Dow -... ry for Children and Families 2125 ENorvell Bryant Hwy. (486) (1V/ miles from Hwy.41) For information call (352) 726-7245 Reverend Jerome "Jerry" Carris Sunday School 8:45 AM 9:30 AM Fellowship 9:30 AM Worship Service 10:00 AMOTHE(_) [ __l'. lI &",Kt m Formhew. H 35-76-16 0o E 3790 E. Parson's Point Rd. Hemendo, FL 34-442 352-726-6734 Visit us on the Web at iz C4 SATURDAY, NOVEMBER 24, 2012 NOTES Continued from Page C3. Join the fun and fellowship during "Game Night" at 6 p.m. today at First Christian Church of Homosassa Springs, 7030 W. Grover Cleveland Blvd. Sunday school for all ages begins at 9:30 a.m. followed by the Sunday morn- ing worship service at 10:30. Ladies' Bible study is at 11 a.m. Tuesday and men's Bible study is at 7 p.m. The Wednesday evening supper at 6 is followed by prayer and Bible study at 7 p.m. Dan Wagner is the minis- ter. Call the church office at 352-628-5556. First Baptist Church of Inverness, 550 Pleasant Grove Road, offers the following Sun- day activities: SONrise Sunday school class at 7:45 a.m., blended worship service at 9 a.m., "Kid's Church" for ages 4 through fourth grade during the 9 a.m. service, Sunday school classes for all ages at 10:30 a.m. A nursery is available for all services except the 7:45 a.m. class. On Sunday. St. Anne's Episcopal Church (a parish in the Angli- can Communion) will cele- brate the last Sunday after Pentecost (Christ the King) at the 8 and 10:15 a.m. services. The church hosts Our Father's Table from 11:30 a.m. to 12:30 RELIGION p.m. today. Overeaters Anony- mous meets at 10:30 a.m. Wednesday in the parish li- brary. The "Recovering from Food Addiction" group meets at 1 p.m. Thursday in the parish library. Alcoholics Anonymous meets at 8 p.m. Friday and Monday in the parish library. Join St. Anne's at 6 p.m. Sun- day for a Bluegrass Gospel sing-along led by Annie and Tim's United Bluegrass Gospel Band. An ice cream social will follow in the parish hall. St. Paul's Lutheran Church, 6150 N. Lecanto High- way in Beverly Hills, continues worship services at 8 and 10:30 a.m. with Bible class and Sun- day school at 9:15 a.m. Choir practice is at 6:30 p.m. Tues- day. Senior Group meets at 3 p.m. Thursday. Audit Commit- tee meets at 9 a.m. Saturday, Dec. 1, with Christmas decorat- ing beginning at 1 p.m. followed by the "Annual Campfire Sing- along." A special Advent song service at 6:30 p.m. Wednes- day, Dec 5, will be followed by a congregational meeting. Call 352-489-3027. First Presbyterian Church is at 206 Washington Ave., Inver- ness. Sunday worship schedule includes traditional services at 8 and 11 a.m., casual service at 9:30 a.m., Sunday school hour at 9:30 a.m., and coffee hour from 9 to 11 a.m. This Sunday's theme is "Committed to Christ - Six Steps to a Generous Life." The Rev. Craig S. Davies will preach on "Are You Ready to Get Blisters for Christ?" with readings from 1 Corinthians 12:12-20. Widow/widowers' "Real Time" Ministry is a new group that meets at the church from 10:45 to 11:45 a.m. the first and third Mondays monthly at the church. Call the church at 352-637-0770.. The Feed My Sheep Min- istry will host a hot lunch at 11:30 a.m. Wednesday for those in need. Following at 12:30 p.m. is a healing and Holy Eucharist service. The food pantry is open from 9:30 to 11:45 a.m. Tuesday and Wednesday. First Baptist Church of Floral City welcomes everyone to share in the 8:30 a.m. blended service and 11 a.m. traditional service Sunday. Cof- fee and doughnuts are served in the fellowship hall from 9:15 to 9:45 a.m. Sunday school classes for all ages begin at 9:45 a.m. Sunday evening service is at 6. Wednesday evening suppers begin at 5. Cost is $3 for adults, $2 for youth, $1 for children 12 and younger, with a maximum of $10 per family. The Wednesday evening services includes adult Bible study and prayer meeting, youth ministry (Ordinary Teens, Extraordinary God) and AWANA at 6:30 p.m. Visit wor- ship with their parents. Sunday school begins at 9:30 a.m. with classes for everyone. Adult Bible class is at 7 p.m. Wednesday in rooms 105 and 106. The youth group meets at 7 p.m. Wednesday in the Youth Min- istries416 U.S. 41 S., In- . Anglican Church of the Holy Spirit offers a traditional 1928 BCP Communion service at 10:15 a.m. Sunday. Call for directions: 855-426-4542. First Presbyterian Church of Crystal River meets for worship at 10:30 a.m. Sunday. Two adult Christian education classes and one chil- dren's education class meet at 9 a.m. This Sunday's guest pastor is the Rev. John Duball. The Forum's next meeting is at 6 p.m. Wednesday, Dec. 5, with a program about "Metro Crime Prevention." All are welcome. The public is invited to worship at Trinity Independent Baptist Church, 2840 E. Hayes St. (on the corner of Croft and Hayes), Hernando. Call 352-726-01: Sunday school for all ages at 9 a.m. fol- lowed by morning worship at 10:25. Youth Bible study is at 4:30 p.m. in the fellowship hall. Sunday evening Bible study be- gins at 6. Life Care Center is open (food and clothing) from 9:30 to 11:30 a.m. Monday and Thursday. CITRUS COUNTY (FL) CHRONICLE. Call Evangelist George Hick- man at 352-794-3372 or 352- 795-8883, or email georgehickman@yahoo.com. First Church of God of Inverness, 5510 E. Jasmine Lane, invites the public to Sun- day morning worship services at 10:30. Call 352-344-3700. Announcements Gulf to Lake Church is col- lecting coats for schoolchildren in grades K-8 (sizes 6 through jun- iors up to adult small). Cayla's Coats Ministry was started in memory of Cayla Barnes, who passed in 2010. Her mother, Jes- sica Barnes, is a teacher in the county and sees first-hand the need for kids inadequately dressed for our occasional cold weather. Coat donations are ac- cepted at the church, 1454 N. Gulf Ave. (off State Road 44 across from Meadowcrest).. Before- and after-school care is available in Citrus Springs for children through fifth grade at North Oak Baptist Church. Call 352- 489-3359. The Sonshine Singles group meets at 6 p.m. the first and third Saturday monthly at Trusting Heart Ministries, 176 N. Rooks Ave, Inverness. Call 352-860-0052 or 352-586-5174 or email trustingheartministry @yahoo.com. jo First Assembly of God 4201 So. Pleasant Grove Rd. (Hwy. 581 So.) Inverness, FL 34452 |Pastor, S Dairold Bettye Rushing I. VIGIL MASSES: 4:00 P.M & 6:00 P.M SUNDAY MASSES: 8:00 A.M. & 10:30 A.M. SPANISH MASS: 12:30 P.M. CONFESSIONS: 2:30 PX to 3:15 P.M. Sat. orByAppointment WEEKDAY MASSES: 8:00 A.M. 6 Roosevelt Blvd., Beverly Hills 746-2144 (1 Block East of S.R. 491) L. .catholicweb.com ." Vic ory in Victory Baptist Church General Conference Sunday School 9:45 AM Worship 10:45 AM Sidlid., Evening 6:00 PM Wednesday 7:00 PM Choir Practice 8:00 PM Quality Child Care Pastor Gary Beehler 352-465-8866 5040 N Shady Acres Dr. 726-9719 Highway 41 North, turn at Sportsman Pt. i to belong.A place to become." Beverly Hills Community Church 82 Civic Circle, Beverly Hills, Florida (352) 746-3620 Pastor Stewart R. Jamison, III Email: bhcchurch@embarqmail.com Wednesday Bible Study 6 p.m. Sunday CoffeelConversation 8:30 a.m. Sunday Worship Service 10 a.m. Communion 1st Sunday, Monthly Where Christ is Proclaimed! COMMUNITY CONGREGATIONAL CHRISTIAN CHURCH '/In't/(!/ WFrelcom.es o//,,, 77/o, Wo gg SUNDAY 10:00 AM Dr. Jeff Timm 9220 N. Citrus Springs Blvd. 352-489-1260 road 6g 1st ch 5335 E. Jasmine Lane, Inverness Y2 Hwy.44E@ * Washington Ave., Inverness . Sunday Services * * Traditional * 8:00 AM & 11:00 AM Casual Service * * 9:30 AM * 11:00 AM Service * * Tapes & CD's Available * " Sunday School for all ages 0 . 9:30 AM " Nursery Provided * Fellowship & Youth Group 5to7PM * Web Site: u Podcast: FPC inv.com m * Church Office 637-0770 U * Pastor Craig Davies U Places of worship that offer love, peace and i| harmony to all. Come on over to "His" house, your spirits will be lifted! ! SERVICING THE COMMUNITIES OF CITRUS SPRINGS, BEVERLY HILLS, BROOKSVILLE, DUNNELLON, I OFFICE: (352) 726i-110U7 ERNESS CITRUS COUNTY (FL) CHRONICLE NUNS Continued from Page Cl themselves with St. Benedict's Monastery in St. Joseph, Minn., two years ago. One sister already has moved to Minnesota. The order of sisters came to Ogden in 1944 with a mission of building a hospital, St. Bene- dict's. Two of the sisters remain employed at Ogden Regional RELIGION Medical Center today, while the others serve the area as they can in other capacities. The sisters made the an- nouncement of their departure with emotion but with resolution that they are doing the right thing for themselves as they age. "We leave with no regrets," Sis- ter Stephanie Mongeon said. "We leave our peace and gratitude with the people of this community." The $5 million in holdings from the sisters' St. Benedict's Foun- dation, foun- dation board member, touted the order for arriving during the "darkest days" of World War II and for bringing with them a holistic solution to medicine decades be- fore it became popular. A total of 155 sisters have served the order in Ogden over the years. "They always bring their in- credible, uplifting spiritual value," Joseph said. "There is no personal agenda with them." Ron Thornburg, executive di- rector at Family Counseling Serv- ice, said the contribution of the SATURDAY, NOVEMBER 24, 2012 C5 sisters through their foundation, which is geared toward helping women and children, has been in- valuable. "We've come to really appreci- ate the service the sisters have given to our community," he said, noting that for 16 years, St. Bene- dict's Foundation has been the largest single donor to the agency "As a result, we've been able to have a major impact on the com- munity," he said. JOURNEY Continued from Page C1 women how to cook a cou- ple of things and opened the cook book to the middle and saw bagels. I'd never made them before and thought we'd try making them." She took them to a Bible study with a group of other missionary women who longed for American food, like bagels. They wanted to know: "Where did you get bagels in the middle of Africa? We have to buy them!" "It went from three women buying them to 25 the next week, and now they serve 300 families every week," Mrs. Smyth said. The African Bagel Com- pany expanded to include cookies, pizza, tortillas, salsa, hummus and other food items. "What we're doing, the bagel business supports the ministry and the women are learning a skill, they're being discipled in the Christian faith and their kids can go to school and get medical care," Richard Smyth said. "Most of these women have never had a job before, or they get a job but they don't understand basic things like you have to be on time. They haven't had the opportunity for educa- tion and most don't have any schooling, so we basically teach them everything." So, why leave a thriving ministry and come to Florida? It was time, Smyth said. With their children all young adults, it was time for them to come back to the states and pursue their own lives. "We came back on fur- lough and someone had a trailer in Inverness that was free, and missionaries won't pass up a free place to stay," said Robin Smyth. One day, she and her GRACE Continued from Page C1 spawning some really funny stuff. One site posts some of the best ones, all accompa- nied by photos of very sad, pathetic-looking people sob- bing because the pizza box doesn't fit in the fridge or the restaurant didn't have Dr. Pepper so the person had to drink Pepsi. First World Problems (FWP). In other words, the trivial- ity that spoiled, self-cen- tered, generally middle-class white Americans overly con- cern ourselves with the DVR shut off before the re- run of Law and Order from 1998 ended and I didn't get to find out the verdict and who knows granddaugh- ter has to leave her friends and go to a new school - and what if kids are mean to her? Again, First World Problems, but problems nonetheless. The FWP meme on the In- ternet daughter were walking around downtown Inver- ness and stumbled on Jour- ney Church, which meets in a strip plaza on Tompkins Street near the Inverness Government Center. After attending just one service they knew God wanted them to leave Africa and be part of Journey's ministry They returned to Rwanda for six months to pack up their things and pass the ministry on to an- other missionary couple. The journey continues From the beginning five years ago, Journey Church has drawn college-age peo- ple and young families; the Smyths and their four young adult children fit right in - Corey is 22, John is 20, Kristin is 18 and Aprille is 16. Kevin Brian said when he and Smyth first met, they hit it off immediately "I'm from Kentucky and he's from Boston, but we have the same heart," Brian said. "He and his family are a great addition to Journey, and especially their kids. One Sunday half the congre- gation was all college-age, and that's who we've always wanted to reach out to." Smyth added, "When you think of all the churches in Inverness you think, why does Inverness need another one? It doesn't need another church," he said. "But it does need a church like Journey Not many know about us here, but I think it's about to explode. It's a real diamond in the rough." For information about Journey Church, visit wwwj ourneychurch4u. com. Church services are at 10:30 a.m. Sunday; Bible study at 9:30. The church is at 210A Tompkins St., Inverness, in the strip plaza behind the In- verness Government Center trivialities into perspective, and I do love the opportu- nity to point out to others when they're making too much of insignificant, in- consequential things. Wah wah. Boo hoo. Quit your whining. Shut your mouth, bite your tongue and count your blessings. I don't think anyone would disagree with that. However, as Christianity Today blogger Caryn Ri- vadeneira recently wrote in a post about her own First World Problems, while the meme is useful for putting our small, petty problems in per- spective be- cause in- significant sparrows (which he does), he will surely care about you and me (Luke 12:6-8, my paraphrase). Because we matter to God, what matters to us mat- ters to him, even the small- est matters. Yes, the world is terribly broken and sad and people are suffering horrifi- cally, and I'm sad that my daughter moved away- and thankful that God cares about it all. Nancy Kennedy is the author of"Move Over, Vic- toria I Know the Real Secret," "Girl on a Swing," and her latest book, "Lipstick Grace." She can be reached at 352-564-2927, Monday through Thursday, or via email at nkennedy @chronicleonline. com. Experience the joys of Christmas Light Displays in Citrus County Entry Deadline 8pm December 10th Submit up to 2 photos of your home. Prizes To Be Announced p. Get us your letter by December 21 st and ^R ) we will get it to Santa! Holiday Cookie Contest Don't forget to Vote for your favorite Holiday Cookie Recipe! CITRUS COUNR USI CHRONICLE NORTHRIDGE CHURCH SUNDAY Family Worship 9:00 AM Coffee Fellowship following the Service WEDNESDAY Bible Study & Prayer 7:00 PM li ,t ,.m .,,,i, hi .,,, h S t the Inverness Womans ( , 1 71. Forest Drive, Inverness (across from Whispering Pines Park entrance) Pastor Kennie Berger 352-302-58 INVERNESS CHURCH OF GOD Rev. I.arrv Power- Sunday Services: Traditional Service...................8:30 AM Sunday School..........................9:30 AM Contemporary Service...........10:30 AM Evening Service........................6:00 PM Wednesday Night: Adult Classes....................7:00 -m Boys and Girls Brigade.....7:00 m Teens............................. 7:15 5:00 PM 352-726-4033 46 Years of F IRST Bringing Christ FI to Inverness LUTHERAN CHURCH Holy Communion Every Sunday at 7:45am & 10:00am Sunday School & Bible Class 8:45 AM. 726-1637 Missouri Synod 1900 W. Hwy. 44, Inverness The Rev. Thomas Beaverson "First For Christ"...John 1:41 FIRST CHRISTIAN CHURCH OF INVERNESS t We welcomeyou and invite you to worship with our family. Dr.RayKelley Minister Sunday: 9:00 A.M. Sunday School 10:15 A.M. Worship Service Wednesday: 6:00 P M. Bible Study. Home of the "Saturday Nite GOSPEL JUBILEE" A great Nite Out! Last Saturday of the month 6:00 Fun, Food, Fellowship & Free! Our Lady of Fatima CATHOLIC CHURCH 550 U.S. Hwy, 41 South, Inverness, Florida Weekday Mass: 8A.M. Saturday Vigil Mass: 4 P.M. Saturday Confessions: 2:30- 3:30 PM. Sunday Masses: Winter Schedule 7:30, 9:00 & 11:00A.M. Sunday Masses: Summer Schedule (June-August) \ 9:00 and 11:00A.M. 726-1670 Places of worship that offer love, peace and harmony to all. Come on over to "His" house, your spirits will be lifted!! SERVICING THE CITY OF INVERNESS Pastor Tom Walker C Page C6 SATURDAY, NOVEMBER 24,2012 CITRUS COUNTY CHRONICLE News NOTES Encore performance Need a pancakes Nov. 25 trim Th .. ... trim ? C' V ....... I II l.. V \ly I 11110 i'JII o Club, 72 Civic Circle Drive, will have its pancake break- fast from 8 a.m. to 11 a.m. Sunday, Nov. 25. Cost for adults is $4 and children younger than 12 eat for $2. This includes all the pancakes you can eat, choice of bacon or sausage or combo, orange juice and coffee or tea. For more information, call Lion Shirley at 352-527-1943. Key offers Christmas decor The Key Training Center Thrift Store in Inverness has opened a Christmas Decor Outlet for the holiday season. Shoppers can fill up a gro- cery bag of Christmas items for $5. The Christmas Decor Out- let is next door to the Inver- ness Thrift Store, 1625 W. Main St. The store is open 10 a.m. to 5 p.m., Thursday, Friday and Saturday. Proceeds will benefit the Key Training Center to pro- vide year-round services to more than 300 adults with developmental disabilities. For more information, call 352-795-5541, ext. 102. Sunshine Gardens collecting goods Sunshine Gardens of Crystal River will host its first food and toy drive for the hol- iday season. Bins are set up to accept donations at the assisted liv- ing facility behind Walgreens off U.S. 19. Nonperishable food items will be donated to Daystar and toys will be do- nated to Toys For Tots. Everyone is welcome to drop by and make a donation. For more information, 352- 422-2719 or 352-563-0235. Auction benefits food pantry We Care Food Pantry is hosting an online auction at. The auction will conclude with a live telethon on WYKE TV from noon to 5 p.m. Dec. 1. Hundreds of varied items and services are available. Some of which are fine jew- elry, paintings, beauty prod- ucts and antiques. We Care Food Pantry is an unfunded, nonprofit organiza- tion that provides emergency food boxes to approximately 2,600 people every month. For more information or to view items, call Angela Tanzer at 352-382-4700. Humanitarians OF FLORIDA Cinco ""', 1 r .. '' o Special to the Chronicle This sweet little kitten with the pink tongue and pretty eyes is Cinco. She is an 11-week-old gray and white tabby who is ready for her own home. Visitors are welcome from 10 a.m. to 1 p.m. and 2 to 4 p.m. Monday through Saturday at the Humanitarians' Man- chester House on the cor- ner of State Road 44 and Conant Avenue, east of Crystal River. Please drop by and enjoy our felines in their cage-free, homestyle environment. Call the Hu- manitarians at 352-613- 1629 for adoptions, or view most of the Hardin Haven's felines online at shelters/fl186.html. Arts Series to p t neser concert s posed of eight voices, each capable of solo performances. Stephen, the patriarch of the group, was recently recognized as "one of the finest baritone voices in America today" The members of the family include Stephen's wife, Bernice; their three sons, Nathanael, Michael and David; their daughter, Stephanie; and two daughters-in-law, Regina and Taylor Together, they present many combi- nations of duets, trios, quartets and solos to complement the ensemble of harmonies and arrangements suitable for any audience. Special to the Chronicle As part of the Homosassa First United Methodist Church's Art Series for 2012, a concert of Christmas music by the Ditchfield Family Singers will be presented at 3 p.m. Sunday, Dec. 2, on the stage of the church's fellowship hall at 8831 W Bradshaw St., Homosassa. The Ditchfields are from Sarasota. They are known as one of America's most versatile family ensembles, and have provided audiences with unfor- gettable entertainment experiences. They are a professional group com- This is an encore performance, as the Ditchfields performed a concert of popular music, Broadway hits and in- spirational numbers at the church last year "The audience insisted that we bring them back for another concert," said Jim Love, chairman of the Arts Council. General admission tickets are $12; reserved (first five rows, center) are $18. For more information, call the church office at 352-628-4083, Jim Love at 352-746-3674 or Jim Potts at 352-382-1842. Civil Air Patrol Week Special to the Chronicle The Citrus County Board of County Commissioners presented a proclamation Nov. 6, proclaiming Dec. 1 through 7 as "Civil Air Patrol Week" in Citrus County. The Civil Air Patrol was established Dec. 1, 1941, by executive order of the director of civilian defense as an emergency measure to make civilian aviation resources available to the national defense effort dur- ing World War II. The Citrus County Composite Squadron of Civil Air Patrol comprised of senior (adult) and cadet (ages 12 to 21) members was founded in 1976, and through the years has worked with disaster preparedness and other local emergency agencies during drills and actual emergency situations. At the Civil Air Patrol Week proclamation, from left, are: Cadet Cmdr. David Dovi, Commissioner John "JJ" Kenney, Lt. Col. CAP Edward M. Voelker, Cadet Staff Sgt. Jonathan Dovi, Cadet Chief Master Sgt./First Sgt. John M. Korycki, Commissioner Dennis Damato, Commissioner Rebecca Bays, Capt. CAP Charles Scott Anderson, Commissioner Joe Meek, Commissioner Winn Webb and Cmdr. Citrus County Com- posite Squadron Keith Shewbart. Father Christmas Ball coming up Dec. 7 Special to the Chronicle Shepherd of the Hills Episcopal Church will pres- ent the 2012 Father Christ- mas Ball at 6 p.m. Friday, Dec. 7, at the Key Training Center's Chet Cole Life En- richment Center An upgraded menu and appetizers will be catered by John Mason Catering. A violinist and cellist duo, Double Trouble, will pro- vide dinner music for the semi-formal evening, and deejay Bob Author will spin dance music from the 1940s through the 1980s. The event will again fea- ture a silent auction and 50/50 drawing. Colin Toney, photographer, will be avail- able to take commemorative photos. Also, there will be a Memory Board with photos and Chronicle clippings from the past 14 years. Tickets are $45. For infor- mation and tickets, call or stop by Shepherd of the Hills Episcopal Church, 2540 Norvell Bryant High- way, phone 352-527-0052, from 8 a.m. to 1 p.m. Monday through Friday All proceeds from the Fa- ther Christmas Ball benefit Serving Our Savior "S.O.S." Food Ministry, an ecumeni- cal ministry in Citrus County supported by Good Shepherd Lutheran Church, Unity Church of Citrus County, House of Peace, House of Power and Shepherd of the Hills Episcopal Church. Concert choir slates holiday season performances Special to the Chronicle The Citrus Community Concert Choir will perform "A Citrus Christ- mas Present" on two Sundays. This year's presentation will in- clude a selection of traditional Christ- mas carols, contemporary songs of the season and a Citrus County debut of a special adaptation of Arcangelo Corelli's "Christmas Cantata." The concerts will be at 3 p.m. Sun- day, Nov 25, at St. Timothy Lutheran Church, 1070 N. Suncoast Blvd., Crys- tal River, and the following Sunday, Dec. 2, at 3 p.m. at Faith Lutheran Church, 935 S. Crystal Glen Drive, Lecanto. Admission is $10 for adults; free for children 12 and younger. Admission fees, sponsorships and donations, are used to fund the choir's scholarship program. Access the choir's website at wwwcitruschoir com. Sponsors sought for merrier Christmas Special to the Chronicle The Citrus County Foster Parent Association is in desperate need of sponsors for foster and foster/adoptive children for _gI Christmas. V Without community support, these f, children's Christmas would not be as memorable. The association tries to compensate for this time of year when feelings of loss are at their highest Missing their loved ones is only one of the many issues these children go through during the holiday season and beyond. If you cannot shop for a child for Christmas, CCFPA would be happy to shop for you, and donations are tax deductible. L 9Call Lynn at 352-860-0373 until 9 p.m. and she will match you with a child or offer more. Daystar clients get haircuts Special to the Chronicle Daystar Life Center of Citrus County will give free haircuts to their pres- ent and previous clients from 9 a.m. to noon Dec. 3 and 4, and Dec. 10 and 11, at the Daystar Center Denise Kennard, execu- tive director, said many of Daystar's clients are un- able to afford a haircut and with the holidays coming up, she has a vol- unteer barber to give hair- cuts to clients for four days in December Daystar helps the needy in the county with food, clothing and financial as- sistance; other help of- fered is assistance with applying for food stamps, obtaining needed identifi- cation documents, free bus rides to medical ap- pointments, referrals, toi- letries to the homeless (when available) and free furniture to victims of fire. Daystar is at 6751 W Gulf- to-Lake Highway, Crystal River For more information, call 352-795-8668. A 'Tree of Hope' Holiday fundraiser for Key Center Special to the Chronicle Bush Homes Services of Homosassa wants to make Christmas a time of hope for the Key Training Center with the "Tree of Hope," a 30-foot-tall tree with more than 10,000 multicolored LED lights and 300 large ornaments. The tree is a means of raising funds to provide year-round services to more than 300 develop- mentally disabled adults who depend on the Key Training Center Every year, the employ- ees of Bush Home Serv- ices set out on a fundraising contest to benefit the Key Training Center Bush technicians offer their customers the opportunity to put their name and message on a mega-ornament for as lit- tle as a $25 donation. The tree-lighting cere- mony, scheduled for Dec. 6 on the grounds adjacent to the Key Center Founda- tion at 5399 W Gulf-to- Lake Highway, Lecanto, is the culmination of the contest and a means of getting the Key clients and the community to- gether to celebrate. Key clients will sing Christmas carols. Light refreshments will be served. Santa Claus will make a special appear- ance, as well. "It's a beautiful sight to see," said Becky Bush. "Not just the tree, but the twinkle in the eyes of everyone there at the Key That's what makes this tree so special. It's a Tree of Hope for them." For more information about how to donate to this year's Tree of Hope, call Bush Home Services at 352-621-7700, or visit Bush Home Services at 7363 W Fair Acres Place in Homosassa. CITRUS COUNTY (FL) CHRONICLE Bridge SATURDAY EVENING NOVEMBER 24, 2012 C: Comcast, Citrus B: Bright House D/: Comcast, Dunnellon & lnglis F: Oak Forest H: Holiday Heights C B D/I F H 6:00 6:30 7:00 7:30 8:006 8:30 I 9:00 I 9:30 110:00110:30 11:00 11:30 0 WESH NBC 19 19 News News B. Gra About Me **l. "Indiana Jones and the Kingdom of the Crystal Skull"r News SNL Museum of Life (In The Lawrence Welk AreYou Keeping As Time Goes By Waiting for Yes, New Tricks (In Stereo) WE PBS 3 3 14 6 Stereo) a Show'G' Served? Up Reunion Special'PG' God Minister 'PG'EX 0 WUFT PBS 5 5 5 41 Band Splash Doo Wop Discoveries (My Music) 'G' c Motown: Big Hits and More (My Music) Austin City Limits WF LA NBC 8 8 8 8 8 News Nightly Entertainment Tonight **1 "Indiana Jones and the Kingdom of the Crystal Skull" (2008, News Saturday NBC 8 8 8 8 8 News (N) xa Adventure) Harrison Ford, Cate B anchett.'PG-13' ___ Night Live WFV ABC 20 2 Colleqe Football Teams News Wheel of College Football Notre Dame at USC. (N) (Live) xa News WH)ABC 20 20 20 TBA.(N) Fortune College Football Teams Wheel of Jeopardy! Made in Jersey NCIS "Devil's Triangle" 48 Hours (N) (In 10 News Paid SWT SP CBS 10 10 10 10 10 TBA.,N) Fortune 'G'xc "Camelot" (N) c (In Stereo)'14' Stereo) a 11pm (NJ Program WI V FOX 13 13 13 13 College FOX College Football Teams TBA. (N Subject to Blackout) (In Stereo Live) X News News MasterChef I WV FOX 13 13 13 13 Football College 14' D WCJi ABC 11 11 4 College Football Entertainment 'Night College Football Notre Dame at USC. (N) (Live) Xc News Cornerstone With John JackVan Prophecy In Touch With Dr. Leslie Hale x 7th Street AllOver CTN Pure I NWC] D 2 2 2 22 22 Hagee'G' Impe News Charles Stanley'G' Theater the World Special Passion College Football Teams ABC Action Let's Ask College Football Notre Dame at USC. (N) (Live) X News Sf (WFT ABC 11 11 11 TBA.(N) News America .WMRIND 12 12 16 Family Guy Family Guy Big Bang Big Bang Leverage Stolen air- Leverage An alcoholic Movie'PG' EDW l IND 12 12 16'PG' 'PG' Theory Theory plane designs.'PG' financier.'PG' D WTTA MNT 6 6 6 9 9 House Paid Paid Paid Bloopers Bloopers Futurama Futurama Ring of Honor Wrest. Bones'14' cc E M WACX TBN 21 21 Paid Gospel Jim Raley Life Center Church Studio Direct B. Hinn Paid |My Pillow Chosen |Kingdom King of Two and Two and Engagement The First The First Mr. Box Mr. Box Criminal Minds "Supply Criminal Minds "It QM I cW 4 4 4 12 12 Queens Half Men Half Men Family (N) Family Office (N) Office & Demand"'14' Takes a Village"'14' Ford-Fast School Your Citrus County Court Da Vinci's Inquest (In I Spy 'Y' The Cisco Black IM WYiFAM 16 16 16 15 Lane Zone Stereo)'14'X Kid'G' Beauty D (WOGX FOX 13 7 7 Football FOX College Football Teams TBA. (N Subject to Blackout) (In Stereo Live) a | FOX 35 News at 10 Master ( WVEA UNI 15 15 15 15 14 Corned. Noticiero La Familia P. Luche Sabado Gigante (N)'PG'(SS) Corned. Noticiero S(WPX) ION 17 Law Order: CI Law Order: Cl Law Order: ClI House '14' c House "Safe"'14' House "All In"'14' E 5 48 5 2 27 Exterminator Exterminator Storage- Storage- Storage Storage Storage Storage Storage Storage To Be Announced T54 48 54 25 27Texas Texas WarsPG' WarsG WarsG' WarsG' WarsPG' Wars G' 64 ** "Big Jake"(1971 Western) John Wayne, *** "Appaloosa" (2008) Ed Harris. Premiere. Two lawmen *** "Appaloosa" (2008, Western) uyiu) 55 64 55 Richard Boone.'PG-13 Ea contend with a malevolent rancher. 'R' c Ed Harris.'R'X 52 35 52 19 21 Infested! (In Stereo) Infested! (In Stereo) Too Cute! Animal spe- Too Cute! "Spotted, Pit Bulls and Parolees Too Cute! "Spotted 52 35 52 19 21 cies mingle.'G' Pampered Pups" 'G' (N)'PG' Pampered Pups"'G' *** "The Best Man"(1999, Comedy-Drama) *** "Barbershop 2: Back in Business" (2004, Comedy) "Dysfunctional Friends" (2011, ET 96 19 96 Taye Diggs, Nia Long.'R'E Ice Cube, Cedric the Entertainer. 'PG-13' cc Comedy) Stacey Dash. 'NR' fBRAVil 254 51 254 Real Housewives |1** "Bee Movie" (2007, Comedy)'PG' **.1 "Bee Movie" (2007, Comedy)'PG' "Overboard" (1987) 0**1 "Office Space" (1999, Comedy) Ron Tosh.0 Tosh.0 Tosh.0 Tosh.0 It's Always Sunny in Kyle Kinane: Whiskey 27 61 27 33 Livingston, Jennifer Aniston. 'R' '14' E '14' E '14' E '14'X Philadelphia'MA Icarus (N) '14, L 98 45 98 28 37 Reba'PG' Reba'PG' Reba'PG' Reba'PG' Redneck Island'PG' Redneck Island (N) Chainsaw Big Texas Redneck Island cc98 45c98 28 37X X X X Gang (N) Heat (N) CN1 43 42 43 Paid Paid Millions Millions Ultimate Factories Suze Orman Show Princess Princess Ultimate Factories fil 40 29 40 41 46 The Situation Room CNN Newsroom (N) CNN Presents'PG' Piers Morgan CNN Newsroom (N) CNN Presents'PG' Austin & A.N.T Farm Chyna **, "Alice in Wonderland" (2010, Fantasy) Dog With a Jessie Austin & Gravity Good- 46 40 46 6 5 Ally'G' joins a singing group. Johnny Depp. (In Stereo) 'PG c Blog 'G' 'G' Ally'G' Falls'Y7' Charlie ESIi 33 27 33 21 17 Football Score Score College Football Teams TBA. (N) (Live) SportsCenter (N) (Live) cc fESPJ 34 28 34 43 49 Football Score College Football Teams TBA. (N) (Live) Football Scoreboard College Basketball EWIN) 95 70 95 48 Living Marriage Mother Angelica Live Saint Giuseppe Moscati: Doctor |Rosary Living Right Catholicism 'G' S"Home Alone 4" (2002, Comedy) French *** "Home Alone"(1990, Comedy) Macaulay ** "Richie Rich"(1994, Comedy) Macaulay 29 52 29 20 28 Stewart, Mike Weinberg, Erick Avari. Culkin, Joe Pesci, Daniel Stern.'PG Culkin, John Larroquette.'PG' "The ** "Dickie Roberts: Former Child ** "Reality Bites"(1994) Winona *** "Chasing Amy" (1997, Romance- "Tupac: [Flil) 118 170 Others" a Star" (2003) David Spade. Ryder.'PG-13' c Comedy) Ben Affleck. (In Stereo)'R'[c Resurr." FiF) 44 37 44 32 America's News HQ FOX Report (N) Huckabee (N) Justice With Jeanine Geraldo at Large Journal Editorial Rpt. F 26 56 26 The Next Iron Chef Diners |Diners My Din IMy Din My Din IMy Din My. Din |My Din Iron Chef America [FiL) 35 39 35 College Football College Football Tulsa at Southern Methodist. (N Same-day Tape) College Football Teams TBA. S 30 60 30 51 "Night at the Museum: Battle of the n* "Grown Ups"(2010, Comedy) Adam ** "Christmas With the Kranks" (2004, ( 30 60 30 51 Smithsonian" (2009) Ben Stiller. 'PG' Sandler, Kevin James, Chris Rock. PG-13' Comedy) Tim Allen, Jamie Lee Curtis.'PG' GOLF 727 67 727 Central IEuropean PGA Tour Golf DP World Tour Championship, Third Round. From Dubai, United Arab Emirates. |Central "Christmas Magic" (2011, Drama) Lindy "Naughty or Nice" (2012, Fantasy) Hilarie "The Wishing Tree" (2012, Drama) Jason L 59 68 59 45 54 Booth. Burton, Gabriel Tigerman. Premiere. x Gedrick, Richard Harmon. x 302 201 302 2 2 "Harry Potter and the I** "Red Tails" (2012) Cuba Gooding Jr. The U.S. military Boxing Andre Berto vs. Robert Guerrero, 302 201 302 2 2 Prisoner of Azkaban" (2004) forms the first all-black aerial-combat unit. Welterweights. (N) (In Stereo Live) x B 303 202 303on "One *** "The Girl" (2012) Toby Jones. Treme "Don't You Leave Treme "Poor Man's Game of Thrones (In True Blood "Sunset" S303 202303 Day" x (In Stereo) xc Me Here"'MA' Paradise" 'MA' cc Stereo) 'MA' c MA'Xc Ji]iGTJ 23 57 23 42 52 High Low Hunt IntI |House Hunters Reno Love It or List It Celebrity Holiday Hunters Hunt IntlI Hunters Hunt Intl The Men Who Built America The changing face Mankind The Story of All of Us "Empires" Jesus Pawn Stars Pawn Stars Pawn Stars Pawn Stars 51 25 51 32 42 of America.'PG' c of Nazareth is crucified. 'PG' 'PG' 'PG' 'PG' 'PG' *** "The Christmas Hope" (2009, Drama) "The March Sisters at Christmas" (2012) "Holiday Spin"(2012, Drama) Ralph Macchio, 24 38 24 31 Madeleine Stowe, lan Ziering. c Julie Marie Berman. Premiere. 'NR' c Garrett Clayton, Allie Bertram. cc ** "The Perfect Husband: The Laci Peterson "The Stranger Beside Me"(1995, Suspense) "Living in Fear" (2001, Suspense) William R. LMN 50 119 Story" (2004) Dean Cain.'PG-13' Tiffani-Amber Thiessen. e Moses, Marcia Cross, Daniel Quinn. Ec i 320 221 320 3 3 "Contagion"(2011) Marion ** "Resident Evil: Apocalypse" Hunted "Polyhedrus" "Philly Kid" (2012, Action) Wes Hunted 320 221 320 3 Cotillard.'PG-13'X 1(2004) Milla Jovovich.'R' MA' ccChatham, Devon Sawa. 'R' c MA' MSNBC 42 41 42 Documentary |Documentary IDocumentary Documentary Documentary |Documentary 109 65 109 44 5 Locked Up Abroad '14' Alaska State Troopers Alaska State Troopers Doomsday Preppers Doomsday Preppers Doomsday Preppers ( 109 65 109 44 53 '14' '14' '14' '14' 14' NIlC 28 36 28 35 25 Victorious |Victorious Victorious |Victorious Victorious |Marvin Victorious |Victorious Yes, Dear Yes, Dear Friends |Friends MWN 103 62 103 Sweetie Pie's Sweetie Pie's Sweetie Pie's Sweetie Pie's lyanla, Fix My Life Sweetie Pie's fXYJ 44 123 "Mr. Deeds"(2002) Adam Sandier. x ***Y, "Juno"(2007) Ellen Page. 'PG-13' x ***.1 "Juno"(2007) cx i o340 2401 340 4 Boxing Homeland "I'll Fly War Horse ** "Faster" (2010, Action) Dwayne Johnson, ** "Red State" (2011, Horror) Homeland 340241Away"'MA' a Billy Bob Thornton. (In Stereo) 'RP Michael Parks, Melissa Leo. 'R MA' sEEi 732 112 732 Gearz'PG' Gearz '14' Wrecked Wrecked Wrecked Wrecked Wrecked Wrecked Wrecked Wrecked AMA Supercross Lites 732 14' 'PG' 'PG' '14' '14' 14' 'PG 'PG 7 *** "Star Wars: Episode I-- Revenge of the **** "Star Wars IV: A New Hope"(1977) MarkHamill. Young Luke ** "Reign of Fire" 37 43 37 27 36 Sith"(2005) Ewan McGregor.'PG-13' Skywalker battles evil Darth Vader. (In Stereo)'PG' (2002) 'PG-13' 7*** "The Muppets" **1 "Cars 2" (2011, Comedy) Voices of Owen ***l "Finding Nemo" (2003) "Jack and Jill" (2011) Adam 370271 370 (2011)'PG' Wilson. (In Stereo)'G'x cVoices of Albert Brooks. Sandier. (In Stereo) 'PG'x College Inside the Heat Live! NBA Basketball Cleveland Cavaliers at Miami Heat. From Heat Live! Inside the Inside the Israeli 36 31 36 Football Heat (Live) the AmericanAirlines Arena in Miami. (Live) (Live) Heat (N) Heat Bask. "Age of "Dungeons & Dragons: Wrath of the Dragon God" (2005, "Dungeons & Dragons: The Book of Vile "Dungeons & 31 59 31 26 29 Dragons" Fantasy) Bruce Payne, Mark Dymond. Xa Darkness" (2011) Jack Derges.'NR' Dragons: Dragon God" S 49 23 49 16 19 King King |King |King Big Bang IBig Bang Big Bang |Big Bang Wedding Band'14' Wedding Band'14' 169 53 169 30 *** "Gypsy"(1962, Musical) Rosalind ***Y "Jezebel"(1938) Bette Davis. A New **** "Ben-Hur"(1959, Historical Drama) 169 53 169 30 35 Russell,Natalie Wood.'NR' c Orleans belle makes her fiance jealous. Charlton Heston, Jack Hawkins.'G' I (Almost) Got Away Outlaw Empires (In Outlaw Empires (In Outlaw Empires (In Alaska Marshals'PG, Outlaw Empires (In (TI0J 53 34 53 24 26 With It'14' Stereo) '14'x Stereo) '14 'X Stereo) '14' L,V' a Stereo) '14 cx fTL) 50 46 50 29 30 Undercover Boss 20/20 on TLC '14' 20/20 on TLC '14' 20/20 on TLC '14' 20/20 on TLC '14' 20/20 on TLC '14' *** "Our Idiot Brother" (2011) ** "Beastly"(2011) Alex Pettyfer. **1 "Isolation" (2005) John Lynch. ** "Psychosis" (2010, Horror) 350 261 350 Paul Rudd.'R' a (In Stereo)'PG-13' E (In Stereo)'R'E Charisma Carpenter. 'R'" ** "Kiss the Girls"(1997, Mystery) Morgan ** "Angels & Demons" (2009, Suspense) Tom Hanks. Robert Langdon **Y "The Da Vinci 48 33 48 31 34 Freeman, Ashley Judd.'R'Ec confronts an ancient brotherhood.'PG-13'x (DVS) Code" (2006) fii) 38 58 38 33 "Cloudy-Mtballs" ** "Diary of a Wimpy Kid" (2010) Venture |Fam. Guy |Fam. Guy Cleveland Boon |Boon (TiAi 9 54 9 44 Waterparks Best Extr. Terror Rides Ghost Adventures Ghost Adventures: The Beginning '14' Ghost Adventures 1ii 25 55 25 98 55 Most Shocking '14' Wipeout'PG' X Wipeout'PG' c Wipeout'PG'E Most Shocking Tow Tow (19L) 32 49 32 34 24 Divorced |Divorced Divorced |Divorced Divorced |Divorced Divorced IDivorced Divorced IDivorced Raymond Raymond Law & Order: Special Law & Order: Special Law & Order: Special Law & Order: Special Law & Order: Special Law & Order: Special LUSJ 47 32 47 17 18 Victims Unit'14' Victims Unit'14' Victims Unit'14' Victims Unit'14' Victims Unit'14' Victims Unit'14" My- Wedding- David My- Wedding- David My- Wedding- David My- Wedding- David My- Wedding- David My- Wedding- David 117 69 117 Tutera: Unveiled Tutera: Unveiled Tutera: Unveiled Tutera: Unveiled Tutera: Unveiled Tutera: Unveiled 1W8lA 18 18 18 18 20 Law Order: Cl Funny Home Videos Funny Home Videos NBA Basketball Chicago Bulls at Milwaukee Bucks. (N) |News North 4 63 V K Q 3 SA K7 4 2 East 11-24-12 A K J 10 9 8 V A 10 7 6 + Q 5 4 64 South 4A Q V J 5 4 2 S63 SAK10 93 Dealer: North Vulnerable: Both South West North East 1I 14 21% 3 NT Pass 3 1 Pass Pass Pass Pass Opening lead: 4 2 PHILLIP ALDER Newspaper Enterprise Assn. The Senior Life Master stood and surveyed his students. "How did each of you get here today?" he asked rhetorically "By several different routes. It is often the same at the bridge table. There will be more than one possible line to reach the number of tricks that you need to make your contract. Your job is to choose the best. "Look at the North-South hands on the first handout sheet. You are in three no-trump. West leads a low spade to East's king and your ace. How would you continue?" After giving them a chance to decide on their play, the SLM continued. I trust (he said) that you started by counting your top tricks, your instant winners. Here, you should see six: two spades (given trick one), two diamonds and two clubs. You need three more winners. They could come from hearts, if the suit splits 3-3 or if West has ace-dou- bleton and you lead through him twice. Or they could be gained from clubs. The clubs offer a better chance than hearts, but if the club finesse loses, you will go down because West will lead another spade and you will have only eight tricks. The secret is to play on hearts and clubs. East surely has the heart ace for his overcall. So, play a diamond to dummy's king, then call for a low heart. How does East defend? If he wins with his ace, you have nine winners from two spades, three hearts, two diamonds and two clubs. Or, if East plays a low heart, you win that trick and shift to clubs, taking two spades, one heart, two diamonds and four clubs. Unscramble these four Jumbles, one letter to each square, to form four ordinary words. NOON I @2012 Tribune Media Services, Inc 2 All Rights Rese ed TECAN LUDEMOi WLFOOL -FT C^ ] THAT SCRAMBLED WORD GAME by David L Hoyt and Jeff Knurek Aaaaa! I can't believe Hmm i ess this! Everything is I didn't ruined! How did this unplug the happen? toaster. - WHEN HFR FREEZER STOPP~P WORKING, SHE HAP A --- Now arrange the circled letters to form the surprise answer, as suggested by the above cartoon. Print answer here: -1 1 I J (Answers Monday) Yesterday's Jumbles: GIANT VALET UNPAID MIDDAY I Answer: She hoped her new billboard would give her company one AN AD-VANTAGE ACROSS 1 Diner fare 5 Cause-and- effect law 10 Ransacked 12 Element in salt 13 May or Stritch 14 Halfway 15 Parliament member 16 Winter woe 18 Ernie of the PGA 19 Proof goof 23 Motel offering 26 Alley of the comics 27 1492 vessel 30 Cautions 32 Oregon city 34 "Little Women" author 35 Fall upon 36 Boot part 37 Get more mellow 38 Importune 39 Hugs 42 Groove on 45 Bullring yell 46 Evidence 50 Parthenon goddess 53 Speckled fishes 55 Ornamental headband 56 Spa amenities 57 Unable to sit still 58 Egyptian deity DOWN 1 Big Island port 2 Nowhere near 3 Playground attraction 4 C.hirck's mother Answer to Previous Puzzle 5 Pond fish 11 Thaw 6 Say more 12 Grass fungus 7 Catch the bus 17 Once around 8 Ruminate a track 9 Singing 20 Overripe brothers 21 Not yet put 10 Family mem. into service 22 Cold War fighters 23 Make like a sheep 24 Pipe fittings 25 1920s look 28 Lowest high tide 29 Indigo dye 31 Cattle-call reward 32 Aerie hatchlings 33 Ron of TV's "Tarzan" 37 Yahoo competitor 40 Shaving cream, e.g. 41 Reconnoiter 42 Art movement 43 Take - stride 44 Steps to the Ganges 47 Moon goddess 48 Bryce Canyon state 49 Winding curve 51 Magazine execs 52 Napoleon's marshal 54 Strike sharply D ear Annie: My wife's aunt "Zelda" is 83 and lives alone. She is in the early stages of dementia, and her short-term memory is rapidly de- teriorating. She will ask the same question multiple times within a 15-minute span. She also is extremely para- noid. She is convinced people are entering her house at night and stealing small items, such as watches. She also owns a gun. I re- AN N fuse to go into her MAIL home at night for fear she'll shoot me. We had an alarm system in- stalled Con- cerned Dear Concerned: If you prefer to keep Zelda in her home, you will need to hire a patient, trust- worthy caregiver. You also can ac- company Zelda to an assisted living facility where she could speak to someone who would ex- plain the positive aspects of hav- ing nearby medical care and social activities. Most importantly, she should not have a weapon in her home if she cannot use it re- sponsibly Please contact the El- dercare Locator at eldercare.gov (1-800-677-1116) to find out what resources are available in your area. Dear Annie: Seven- teen years ago, I mar- ried into a wonderful family Due to our jobs, we have never lived near any of my hus- band's family But we try to get together every year and stay in contact via family emails. Something has perplexed me for the past few years. One of IE'S my husband's sisters BOX remembers my son's birthday with a card and check, but neg- lects to send anything to my two daughters. No one else on either side of the family does this, nor would they consider it accept- able. Cards are either sent to all the children or to none. This ap- parent display of favoritism greatly bothers me.The girls are young and haven't noticed yet. But I expect they will be hurt when they realize what is hap- pening. Is there a tactful way I could address my sister-in-law's strange behavior without destroy- ing our relationship? -At a Loss DearAt a Loss: Please don't as- sume grandpar- ents, aunts, uncles and cousins, post pictures on Facebook or let the family join in the festivities via Skype or FaceTime. And of course, you could ask your hus- band to speak to his sister and ask why she forgets his daughters' birthdays every year. Dear Annie: "Need Another Opinion" touched on a silent cri- sis: aging parents caring for mid- dle-aged developmentally disabled children. Often, care is not sought until the elderly par- ent becomes infirm or dies, lead- ing to preventable emergencies and far more stressful situations. "Need" and his wife can arrange for individualized, ap- propriate care for her siblings who need living situations that provide for their independence and health. Eligibility for services can be determined by contacting the state's department of human services. Her siblings will likely qualify for Medicaid programs, which may include housing, health care and other support. Please suggest they contact VOR (vor.net) at 877-399-4VOR for in- formation. -Julie Huso, Execu- tive Director, VOR DearJulie Huso: Thank you for the resource. (Membership in VOR, an advocacy group for adults with intellectual and de- velopmental disabilities, is $40 per year). www creators.com. West 7 7542 9 8 SJ 10 9 8 * Q 7 2 SUMAC VISIT AK ELA CANADA YEASTY LUGOSI OWL ENE M BAM OVERT NYE AVE MARK BEES NIRVANA DEALT TALON SCUTTLE ATON HERR EER MET AUDIO RDS CUR MCI LATENT PHONES ASSETS SEWERS CHESS RAVENS Want more puzzles? Check out the "Just Right Crossword Puzzles" books at QuillDriverBooks.com 11-24 2012 UFS, Dist. by Universal Uclick for UFS ENTERTAINMENT SATURDAY, NOVEMBER 24, 2012 C7 y C8 SATURDAY, NOVEMBER 24, 2012 Peanuts Garfield Pickles ARE 00o MAKI& MORE 7 ESSIR-E. I IVE WHAT 7o 900 00 AOt- OI, CAM ALWAYS,) SCARV'EG, 61?AMMA? MOSTOF-T:EM \ WE RExToF -EM ?9 ei9 A PLACE To KMAJAY AS GIF14 ?UT A SCARF,. ^ -OR Y-r OAARM Ec^ I5... Sally Forth Dilbert The Born Loser TREAT WOI'T DO NRY 00 oPOP-RE CT I-TAK-"OU, TOO! Kit 'N' Carlyle Rubes This little piggy went to Marquette. Doonesbury CON&RE9SIONAL. RE- SEARCH 9ERVICE.. Big Nate NATE, I UNDERSTAND '(OU'VE BEEN INTERROGATING TEAC+-IEPRS / ABOUT THEIR Z. PRIVATE LIVES. NOT INTEP.- Ao ROTATING! , INTERVIEWIN G! Arlo and Janis - AW LOOK AT T t LOVE THIS REA ,- CRAZE6 CROIC' I- 61VIA( O THU CRS \ STAFFERS, Ch- l I - For Better or For Worse Beetle Bailey The Grizzwells Blondie SHA' HA! 00 OU REMEMBER HOW WHAT MADE YOU THINK OF THAT, COULD YOU LEND ME $100 I YOU USED TO ASK ME FOR MONEY OEAR? UN-TIL PAYDAY, SWEETHEART?) -.-TO GO SHOPPING? O I WAS JUST THI NKING SnOW TI MES AV- CHANGE i Dennis the Menace The Family Circus -, by n u 1- yoIm www familycircus comn "Wait a minute! Why'd PJ get 4 sandwiches and I only got 2?" 'SEE "A LATER,AAOM.M, \R.WJILSOGO TOt-P U6 TO TAKE A HIKE," Betty Citrus Cinemas 6 Inverness; 637-3377 "Rise of the Guardians" (PG) 4:40 p.m., 10:15 p.m. No passes. "Rise of the Guardians" (PG) In 3D. 1:40 p.m., 7:50 p.m. No passes. "Life of Pi" (PG) In 3D. 1 p.m., 4:10 p.m., 7:20 p.m., 10:25 p.m. "Twilight: Breaking Dawn, Part 2" (PG-13) 1:15 p.m., 4:20 p.m., 7:30 p.m. 10:30 p.m. No passes. "Skyfall" (PG-13) 12:30 p.m., 3:45 p.m., 7 p.m., 10:20 p.m. "Flight" (R) 12:45 p.m., 4 p.m., 7:10 p.m., 10:20 p.m. "Wreck-it Ralph" (PG) 1:30 p.m., 7:40 p.m. No passes. "Wreck-it Ralph" 3D (PG) 4:30 p.m., 10:15 p.m. No passes. Crystal River Mall 9; 564-6864 "Rise of the Guardians" (PG) 1:15 p.m., 4:10 p.m., 4:40 p.m., 7:15 p.m., 10:10 p.m. No passes. "Rise of the Guardians" (PG) In 3D. 1:45 p.m., 7:45 p.m. No passes. "Red Dawn" (PG-13) 1:30 p.m., 4:30 p.m., 5 p.m., 7:30 p.m., 8 p.m., 10:15 p.m., 10:45 p.m. "Life of Pi" (PG) In 3D. 1:35 p.m., 4:35 p.m., 7:40 p.m., 10:30 p.m. "Twilight: Breaking Dawn, Part 2" (PG-13) 1 p.m., 4 p.m., 7 p.m., 10 p.m. No passes. "Skyfall" (PG-13) 12:50 p.m., 4:20 p.m., 7:35 p.m., 10:40 p.m. "Flight" (R) 1:10 p.m., 4:15 p.m., 7:20 p.m., 10:25 p.m. "Wreck-it Ralph" 3D (PG) 2 p.m., 7:50 p.m. No passes. "Wreck-it Ralph" (PG) 4:50 p.m., 10:20 p.m. "Cloud Atlas" (R) 1:20 p.m. "Taken 2" (PG-13) 9:40 Classic Rock WEKJ FM 96.7, 103.9 Religious WRGO-FM 102.7 Oldies WRZN-AM 720 News Talk CELEBRITY CIPHER by Luis Campos Celebrity Cipher cryptograms are created from quotations by famous people, past and present. Each letter in the cipher stands for another. TODAY'S CLUE: slenbe l "CP'LP RFCRDA RHHLROHPK HX HZP PKUPA XI CZRH CP RLP, XNH TD HZP PKUPA CZPLP EH'A R FEHHFP LRC RMK MPL JD." - P.F. KXOHXLXC Previous Solution: "Sometimes I think great people can project their greatness. They don't have to shout about it." George Harrison (c) 2012 by NEA, Inc., dist. by Universal Uclick 11-24 STOP MAKING TOAST! f i -.'- HC 're" -< I SORE, "GET A H-- E .. . , ,.-HE 5- L-* i--*< - ,. I'M JUST TRYING TO FIND SOME JUICY STORIES, THAT'S ALL! I WANT TO GIVE MY READERS A LITTLE DIPR.T Frank & Ernest Today's MOVIES COMICS CITRUS COUNTY (FL) CHRONICLE CITRUS COUNTY (T1) CHRONICLE Classifieds CLASSIFIED SATURDAY, NOVEMBER 24, 2012 C9 To place an ad, call 563-5966 Classifieds In Print and Online All The Time Fa: 35) 63565 TllFre:(88)85-240 1 mal:clssf eds hoicenln.6m I esie Lonely widow active, attractive, looking for gentleman for companionship, 75?. Blind Box1814M c/o Citrus County Chronicle, 1624 N. Meadowcrest Blvd. Crystal River, FL 34429 4 FT Box Blade $400; John Deere 1 bottom Plow $400; All fit on a small utility tractor. (352) 628-0812 05' LINCOLN TOWN CAR GARAGE KEPT, Two-Tone, LOADED 65K $10,500. 352-860-0164 MUST SoL 4/2 BLOCK HOME, mother in law apt, nice home $65,000. (305) 619-0282, Cell CONSOLE 52" console for flat screen TV; brand new $150; Electric lawn trim- mer -used once $100 (352) 527-7223 CULTIVATOR 1 row cultivator $100; Pig Pole $100. Both fit on small utility tractor. (352) 628-0812 DIAMOND RING % carat tw, 14 ct white gold. SIZE 9, Original price $525, Asking $150 (352) 341-1955 DUNNELLON Sat & Sun 8am-4pm Guns, fishing rods, horse tack, furn, and much more!! 13151 S E 127th Place GE STOVE FLAT TOP -White 2yrs old. Features Steam clean oven. $350 352-419-7077 HOMOSASSA Sat. Nov. 24, 9am-lpm Retiring to Maine. MANY QUALITY ITEMS incl. outdoor furniture, tools, household, holiday, etc. 5726 West Chive Loop off Rockcrusher Road JAYCO 30 ft. 2000 yr, Clean, qn. bed, with Canopy & Load Leveler $4,750 (352) 563-1465, 228-1802 Yoirel'orli first Need a job or a qualified employee? This area's #1 employment source! ( .. .. ... CAMERA Canon Rebel Zoom w/ case. Used twice $125 (352) 628-3570 KENMORE 25'CU STAINESS STEEL side by side, w/water & ice, 4yrs old exc. cond. $800 352-897-4196 MOVIt4G SALE KING BR SET, DINING RM, LIVING RM, MISC TABLES, CHAIRS & TV'S ALL EXC. COND. 352-586-0566 YOU'LL v THIS! KING SIZE MATTRESS sealy posturpedic with box spring and frame, used 3 years, very, very clean like new, asking only $300 Homosassa, SMW 860-883-3431 OPEN FOR ADMIRATION Sat. 1PM 3PM 11980 SE 196 ST 3/2 Brick Hm. w/huge glass rm overlooking water! Too many expense extras to list. Flat screen in bathrm! Open for offers! Plantation Realty Charlene Pilgrim Realtor. 352-464-2215 DOOR PRIZE FOR 1ST FIVE! SLEEPER SOFA Blue Denim, Good Condition $150 352-746-4232 Spike Tooth Harrows % Section Spike $100; 3 Point Hitch $300. Both fit on small utility tractor. (352) 628-0812 $$ TOP DOLLAR $$ For Wrecked, Junk or Unwanted Cars/Trucks. $$ (352) 201-1052 $$ $$ CASH PAID $$ for junk vehicles. 352-634-5389 FREE REMOVAL Washers,Dryers,Riding Mowers, Scrap Metals, Antena towers 270-4087 BENGAL TIGER CAT 10 yr old male, very affec- tionate, neutered and well cared for. (352) 794-6499 or (732) 674-2678 Chihuahua & Pit mix 6-8 months old male light brown w/ white chest Free to good home (352) 220-2369 Free Aquarium for rep- tiles only 5 gallon 352-201-4522 FREE Horse Manure GREAT FOR GARDENS Easy access Pine Ridge 352-746-3545 FREE KITTENS 11 wks old, litter trained 352-382-4654 FREE KITTENS to good home. Have both males & females (352) 476-5230 FREE Macaw Blue and Gold 10 yrs old, needs a good home, comes w/xtra large cage & free-standing perch (352) 621-9810 FREE White, micro-chipped, spayed, kitty very loving....Allergies in my home! 352-527-1399 FRESH CITRUS@ BELLAMY GROVE Navals, Gift Shipping, Collard, Mustard greens 8:30a-5p Closed Sun. 352-726-6378 Fresh Florida 15ct. *JUMBO SHRIMP- @$5.00/lb, 9ct @7.00/lb Fl Stone Crabs @6.00/lb delivered (352)795-0077 HARRISON GROVE NOW OPEN * FRESH CITRUS FRUIT 352-726-1154 Floral City CHIHUAHUA Male brown w/white pack, 7mo old named Creppy. Last seen on Ray st, Hernando 352400-2475 Female large blue eyed cat; long hair; white with mixed grey & tan. Microchiped. Inverness Broyhill and Carnegie. 352-201-0559; 352-422-7425 GOLD NUGGET BRACELET reward, pis call 352-527-2852 Lost 16 ft. Fiberglass Canoe, Pea Green Lost From Hunters Springs (352) 563-2943 ext. 1032 Lost Cat Sugarmill Woods, Cypress Blvd.,small black shyindoor cat,may respond to Kong,BFF best feline friend is unconsolable. small reward offered. Please call 352-382-4397 Lost Male Cat Orange & White w/ or- ange mustache lyr old, neutered, chipped Alice Point off of Oak Lawn (352) 228-7682 Large Male Neutered Boxer found on Thrasher St. Please Call to describe.(352) 503-9421 License Plate: Minne- sota Handicap tag 4061HL. Found in Inverness (352) 634-1500 NEED A NEW CAREER? CAREER PREPARATION COURSES Starting Jan./Feb. '13 FIVE-WEEK PROGRAM MEDICAL ASST. $1,420 TWO-WEEK PROGRAM CERTIFIED NURSING ASSISTANT $475. PHLEBOTOMY $475. tavlorcolleae.edu (352) 245-4119 Sudoku ****** 4puz.com 8 2 965 4 _53 1 ___________ _____ 4 8 2 4 9 5 Fill in the squares so that each row, column, and 3-by-3 box contain the numbers 1 through 9. Fresh Florida 15ct. "JUMBO SHRIMP- @$5.00/lb, 9ct @7.00/lb Fl Stone Crabs @6.00/lb delivered (352)795-0077 Tell that special person Happy Birthday" with a classified ad under Happy Notes. Only $28.50 includes a photo Call our Classified Dept for details 352-563-5966 FIT Medical Insurance Biller Experience required, Benefits. Send Resume to: Blind Box 1795M. Citrus Co. Chronicle 1624 N. Meadowcrest Blvd. Crystal River, Florida, 34429 F/T RN IV Exp. preferred For physicians office with benefits. Send Resume to: Blind Box 1787M. Citrus Co. Chronicle 1624 N. Meadowcrest Blvd. Crystal River, Florida, 34429 F/T-P/T Phelbotomist For physicians office with benefits and competitive salary Send Resume to: Blind Box 1786M. Citrus Co. Chronicle 1624 N. Meadowcrest Blvd. Crystal River, Florida 34429 IMMEDIATE OPENINGS RN's & LPN's Hospital Experience ICU, ER, CCU, Med. Surge, Tele, Labor & Delivery, Daily Pay, Apply onine at www. nurse-temps.com 352-344-9828 MEDICAL OPPORTUNITIES "Pharmacist *EMT "Radiology "Receptionist/Biller -Physical Therapy Receptionist/ Biller "Lab Tech Fax Resume to: Human Resources 352-527-3401 or email lindak@citrusdiabetes treatment.com NEEDED Experienced, Caring & Dependable CNA's/HHA's Hourly & Live-in, flex schedule offered LOVING CARE (352) 860-0885 P/T, DIETARY AIDE Looking for Responsi- ble Individual with flexible hours. Apply in Person: 700 SE 8th Ave Crystal River, 34429 DFWP, EOE THERAPIST/ PSYCH NURSE for a busy psychiatric practice, will work p/t initially pis rsvp fax 352-726-7582 EXPERIENCED LINE COOK 6 NIGHTS, Inglis Area Some Italian cuisine, Call Btw. 10AM-6PM 352-447-2406 for appt Takina Applications Breakfast Cook Line Cook & Bus Boy 'life IAll of our Full time & Part time, structures Apply 2pm -3pm withstand A.J.'s CAFE 0Installationshbv Brnwin216 NE. Hwy 19 Installations BrianCBC 1253853 Crystal River N5-te &d" \d 2NO PHONE CALLS 'wv~wlr ----d--- Permit And PUBR I Engineering Fees PLUWANTEDRS S Up to $200 value f, -.- " Must have valid *Siding-Soffit *Fascia-Skirting *Roofovers-Carports -Screen Rooms Decks-Windows Doors*Additions Apply at: 4079 Ohio Ave, Homosassa BELLAVITA Spa & Fitness Inside Citrus Hills Golf & Country Club One of the nations largest & upscale country clubs Front Desk Reception Housekeeping/Locker Room Attendant Fitness Desk Staff Aerobic Instructors Massage Therapists Skincare Specialists Nail Techs Spa Coordinator APPLY IN PERSON 2125W Skyview Crossing, Hernando. HOME MAKER COMPANION CNA/HHA's Apply At HOME INSTEAD SENIOR CARE 4224 W. Gulf to Lake Hwy, Lecanto iiiiii NEWSPAPER CARRIER WANTED Newspaper carrier wanted for early morning delivery of the Citrus Countyji Newspaper carriers are independentN contractors, not employees of the Citrus County Chronicle CHRONICLE TELEMARKETERS WANTED Good Commission pay. Apply In Person 6421 W. Homosassa Tr LOCAL BRIDAL/ FORMAL WEAR Business for Sale All Equipment and Inventory Included CALL (352) 563-0722 DOLLS Cinderella & Bride Doll 2ft w/ stands $100 ea (352) 746-9896 LIONEL TRAIN LAYOUT 4'4" X 7', Complete Village. Many bldgs, bridges, ice skating pond & trees. HO gauge. Like New $550. 352-212-8500 Tell that special person " Happy Birthday" with a classified ad under Happy Notes. Only $28.50 includes a photo Call our Classified Dept for details 352-563-5966 4 Person Hot Tub, w/ all accessories + chemicals $200 obo Cell (518) 420-5373 Citrus Springs DRYER $100 with 90 day warranty, call/text 352-364-6504 FRIGIDAIRE CHEST FREEZER 8.8cf Like new,$329 new, sale$150 352-400-0141 GE STOVE FLAT TOP -White 2yrs old. Features Steam clean oven. $350 352-419-7077 KENMORE 25'CU STAINESS STEEL side by side, w/water & ice, 4yrs old exc. cond. $800 352-897-4196 small size, clean $25.00 419-5549 SMITTYS APPLIANCE REPAIR, washers dryers,FREE pick up 352-564-8179 WASHER $100 with 90 day warranty. call/text 364-6504 WASHER AND DRYER Maytag $100 352-560-0046. WASHER OR DRYER $135.00 Each. Reliable, Clean, Like New, Excellent Condition. Can Deliver 352-263-7398 HAMMER DOWN AUCTIONEERS FRI. 11/23 @ 6p, Tools & mics. Sat 11/24 @ 6p gen. merch. Sun 11/25 @ lp Tailgate/ box lots "WE BUY ESTATES* 6055 N. Carl G Rose Hwy 200 Hernando (352) 613-1389 AIR COMPRESSOR CRAFTSMAN 5 HP 25 GAL 110/220 W/HOSE $150. SCROLL SAW 16" VAR.SPEED $40 352-527-4319 RYOBI 10IN. BENCH TOP DRILL PRESS fair condition and runs well $20. Contact Walter @ 352-364-2583 68 VCR MOVIES In 8 drawer containers. #35.00. Call Larry. 352-344-1692 60" Projection TV $100. Works great! We are the original owners and live in a smoke free environment. 352-344-9663 HITACHI 46" PROJECTION TV inc. glass stand asking $400 352-628-5340 DIESTLER COMPUTER New & Used systems repairs. Visa/ MCard 352-637-5469 4 FT Box Blade $400; John Deere 1 bottom Plow $400; All fit on a small utility tractor. (352) 628-0812 CULTIVATOR 1 row cultivator $100; Pig Pole $100. Both fit on small utility tractor. (352) 628-0812 Spike Tooth Harrows % Section Spike $100; 3 Point Hitch $300. Both fit on small utility tractor. (352) 628-0812 GENERATOR BRIGGS & STRATTON 5250 watts uses once! $650 new, Selling $400 352-527-8993 2 BAR STOOLS, high back, swivel, oak, like new $75 ea. Both for $100 352-794-3591 2 New Power Recliners, Flexsteel, Sage custom fabric, $750 ea; China Cabinet, Transitional style, with glass, $150 (352) 795-9230 3 PC LIVING RM SET Elegant burgandy couch, loveseat & wing chair. Exec. Cond. $900 352-232-1246 3 Piece Lane Living Room, good cond. $3,200 New Asking $800. (352) 637-1074 Leave Message ANTIQUE IRON BED/MATTRESS $550 352-212-0615 352-212-9507 CLEAN COMFY SEC- TIONAL SOFA tan cotton wine/green flowers $275 352-897-4154 COMFORTS OF HOME USED FURNITURE comfortsofhomeused furniture.com. 795-0121 DAYBED Wood wicker & wrought iron. Dark wood two mattresses. Very good shape. Asking $575 call 352-503-6018 DINNING TABLE FOR 8 Brand New, excellent Condition, No chairs, just table. Buy asap, $90 (352)465-1616 KINCAID Master Bedrm set Qn Sz Bed, 2 night stands, Chest, & Dresser w/Mirror.Dark Cherry. $350 Call (352)270-3772 or (352)464-1591 KITCHEN TABLE w/ CHAIRS(6) solid wood, light color for $75.00 Call (352)464-1591 LIVING RM COUCH & LOVE SEAT- WHITE $400 352-860-4414 LONG GUN CABINET triangular, curved glass front, good cond. $480 352-382-1248 LOVESEAT Broyhill w/rolled arms, off white & reversible cushion. Perfect condition. 352-746-6975 MATTRESS SETS Beautiful Factory Seconds Twin $99.95, Full $129.95 Qn. $159.95, Kg. $249.95 352-621-4500 OVERSTUFFED CHAIR Excellent condition. Blue. $50 Call 352-628-3418 PAUL'S FURNITURE & THRIFT SHOP Open every Tues-St at 9:00am Homosassa 628-2306 oaulsfurnitureonline.com Preowned Mattress Sets from Twin $30; Full $40.Qn $50; Kg $75. 352-628-0808 QUEEN MATTRESS Queen size mattress, box spring and frame $40 352-257-5156 QUEEN SIZE MAT- TRESS AND BOX SPR- ING Queen size mattress and box-spring 100.00 352 794 6606 QUEEN SIZE MATTRESS AND BOXSPRING queen size mattress and boxspring $100 352-794-6606 RECLINER CHAIR. TAN In very good condition. $60 352-628-3418. SLEEPER SOFA Blue Denim, Good Condition $150 352-746-4232 SLEIGH BED Queen Sz, solid wood, walnut color, pristine condition, barely used. $250.00 Call (352)464-1591 or (352)270-3772 SOFA BED $100 patricem08@gmail.com or leave message 860/368-8947 (Inverness) Sofa Sleeper Dark Plaid, on casters queen size, $250. Large bureau with mir- ror & armoire, blonde $150. 352-232-1246 SOLD RECLINERS matching, light brown, used 3 mo's will separate $375pr. TWO SOFA'S 1 Floral print, 1 Merlot, $100 ea. o/b/o 352-382-1885 VINTAGE DRESSER W MIRROR Medium oak, 2 full sz drawers, 2 half drawers. $200 Call (352) 270-3772 or (352) 464-1591 White Wash Entertain- ment Center $85 352-382-1885 CRAFTSMAN RIDING MOWER Auto 46", Kohler 16.5HP, yard cart, dethatcher attachment, 15gal elect. sprayer. $650 obo 352400-0141 MANTIS TILLER $125.00 352-527-4319 Troy Bilt pony 17.5 HP, 42in cut 7 speed, Briggs & Stratton engine. The cart is a 10 cu. ft. utility dump cart. Excel. cond, barely 6 months. Asking $750. 637-7237 PALMS QUEEN 8' Beau- tiful Healthy Queen Palms 8' tall in 18' pots $75 352-270-3527 BEVERLY HILLS 45 Lee St. Sat. & Sun. 8 am to ? tools, furniture, gym equip., Ig bird cages, toys, well pump, play- ground set, misc. BEVERLY HILLS OUR LADY OF GRACE CHURCH FLEA MARKET T SAT. NOV. 24TH 8AM to 2PM. 6 Roosevelt Blvd. CITRUS SPRINGS Fri, Sat 8:30 to 2pm hshld, xmas decor, 52"tv 2969 W. Yorkshire PL 352-897-4681 DUNNELLON Sat & Sun 8am-4pm Guns, fishing rods, horse tack, furn, and much more!! 13151 S E 127th Place FLORAL CITY Fri. & Sat. 8-4, Sun.. 9-2 LOTS OF CRAFTS AND HOBBY TOOLS 10616 E. Turtle Lane FLORAL CITY Fri. 23 & Sat. 24 8a-4p 7652 E. Derby Oaks Dr. HERNANDO Friday & Saturday Willola Heights Off 200 follow Signs HOMOSASSA Sat & Sun 8a-until Sugarmill Estate Sale Furn., Grandclock & misc 14 Deer Drive INVERNESS Fri 11/23 & Sat 11/24, 9-3, Multi FamilyGreat Stuff, Great Prices! 725 N Woodlake INVERNESS Huge Yard Sale * Antiques, Furn. & MORE 201 N. Citrus Avenue Fri. & Sat. 8am-2pm 2662 N. Reston Terrace INVERNESS Sat Nov 24 9am-3pm To benefit 832 Deputy Dogs! Too much to list! 11565 E Gulf to Lake Hwy INVERNESS Sat, 24th, 8a-4p Final Moving Sale, Lots of New Things! One Day Only! Come and Get it! 7820 Gospel Is. Rd. SA E INVERNESS Sat, Nov 24th,8 am to? lots of variety, some new, 7431 E Allen Drive Gospel Island LECANTO Saturday 24, 8a-12 FURNITURE & MORE! 2084 W Shining Dawn Ln OZELLO Sat & Sun 8am to ? pellet rifle, 7 cu ft freezer, Schwinn Exer- cise bike, truck boxes, antique horse-drawn plow, pressure washer, parrot (Budgie), wood lathe, scroll saws, sanders, ladders & much more 14360 W Seashell Ct 1 mile past Ozello Arts Festival WANTED Rods, Reels, tackle, tools, Antique coll., knive/sword, hunt- ing equip. 352-613-2944 MOVInG SALE KING BR SET, DINING RM, LIVING RM, MISC TABLES, CHAIRS & TV'S ALL EXC. COND. 352-586-0566 BOYS WINTER CLOTHING SIZE 5 SHIRTS, PANTS & JACKETS ALL FOR $40 352-613-0529 COAT Red Wool 3 qtr length coat; size 20-22 $75 (352) 746-9896 (4) OPERA CD SETS cost $50.00+ ea.-sell $20.00 ea. or all $75 more info call 352-527-9982 2 BOAT ANCHORS with rope attached $20 for the pair. Contact Walter @ 352-364-2583 18 INCH GARLAND SLEIGH AND 11 INCH SANTA $10 CAN E-MAIL PHOTO INVERNESS 352419-5981 103 PIECE TOOL SET wrenches,sockets,you name it,all included $70 352-382-1191 100FT EXTENSION CORD a great buy! $15 352-382-1191 1950'S VINTAGE NAPCO JAPAN CHRISTMAS SANTA AND ANGEL $30 E-MAIL PHOTO 352-419-5981 6' MIZERAK POOL TABLE, A-1 condition plus pool cues, $125 352-212-0000 AQUARIUM 40 GAL Hex- agon with stand $100.00 201-4522 ARTIST'S For $300 you can buy $500 worth of new and very usable oil painting supplies. (352) 527-8528 BIRD CAGE FOR MEDIUM SIZE BIRD White.20x30x34H. On stand with coasters. $50 352-726-5753 BOAT 12FT Aluminum $275 DOG KENNEL 12 X 7 CHAIN LINK W/DOOR $225 352-232-1246 Brand New Char Broil, BBQ Grill II Go Ice Portible w/ soft side coolers set up and take down $180. (239) 728-1062 Cell BREAD MAKER Good condition, Breadman, no manual *sorry*, white col- ored, $15 (352)465-1616 CAMERA Canon Rebel Zoom w/ case. Used twice $125 (352) 628-3570 CEILING FAN 4 LIGHT WHITE $25 MAKITA SAWSALL $65 352-527-4319 COMFORTER SET FULL HANNAH MONTANA W/SHEETS & PILLOW CASES $40 352-613-0529 DECK BOAT COVER 21 FT Hurricane w/polls $850 new Selling $400 352-527-8993 DISNEY PRINT "FLATTERY" -cert.#838 of 2000 sizel8"by 24"-$100. For more info call 352-527-9982 DOLL DREAM HOUSE 4 stories high w/tons of accessiores, brand new $50 obo 352422-2719 EXT LADDER 20' Fiberglass/Alum Ex Cond- cost NEW $225 $100 352-270-3527 FOOTBALL TABLE Table/various game combo. $75 563-1241 after 4p.m. Free Standing fireplace $350 obo Great Cond. Ford F250 Super Duty Brush Guard & Rails $300. Like new 352-400-4947 226-6170 Fresh Florida 15ct. **JUMBO SHRIMP- @$5.00/lb, 9ct @7.00/lb Fl Stone Crabs @6.00/lb delivered (352)795-0077 GE TELEPHONE ANSWERING MACHINE $10 LIKE NEW ALL CONNECTIONS Inverness 352419-5981 GERBIL CAGE GOOD CONDITION $30 352-613-0529 GOLD FLATWARE Com- plete Service for 12 Never used/no scratches $100 352-270-3527 HOLMES AIR 1500W HEATER/FAN Ok condi- tion, Automatic shutoff, Heats up to 180 sq. ft. area, $10 (352)465-1616 IBM PERSONAL WHEELWRITER Typewritter elite/pica print wheels & access. $350 OBO 352-628-3076 KIMBALL ELECTRIC ORGAN Super Star model,used 1980's, $99 OBO 352-860-1039 LALA LOOPSY Ferris wheel, tree house, dolls & accessories. $50.00 for all 352-563-5206 Lawn Edger 3HP Edger needs carb kit. $100 352-382-7074 MIRROR CHINESE Motif ExCond. solidwood frame 28"x48" $40 352-270-3527 missionincitrus.com Citrus County's Only Emergency Homeless & Veteran's Shelters Now 80-100 a night includes 18 children EMERGENCY FUNDS & Other needs are needed at this time. 352-794-3825 MUST SELL, xmas de- cor, 52"tv, glass end & coffee tbles, chaise lounge 352-897-4681 PICNIC TABLE 5 FOOT LONG GOOD CONDITION $85 352-613-0529 ROCKWELL SCOUTING "1979" 50 first day covers- matching gov. stamps $100 352-527-9982 ROTO ZIP SAW $15 ELECTRIC 3/8 DRILL $8 HAND TOOL BOX $5 352-527-4319 SUBWOOFERS sound dynamics rts series1000-100 watts rms/400 peak-like new $50 352-527-9982 SWIMMING POOL FABRIC BRUSH On a 10ft pole, good for a vinyl pool $10. 30 in. wide 352-382-1191 SWIMMING POOL POLE clean your pool with this 10ft. pole with brush on the end 10.00 352-382-1191 TANNING BED Full size tanning bed 100.00 or best offer 352 794 6606 TANNING BED sunquest tanning bed $100 OBO 352-794-6606 TANNING BEDS 10 min stand up, 15 min w/facial beds, 20 min. beds, spray tan booth mk offer 352-586-8698 THOMAS KINKADE 6ft pull up tree fully decorated $75.00 352-527-1399 THREE GLASS TABLE TOPS, 40" $100, 20" -$40, 19"-$35 obo 352-212-0000 WEDGEWOOD CHINA Lavender Cream mfg 1957-1983 Never used Nochips/cracks/crazing $40 352-270-3527 7 8 3 2 1 5 9 4 6 5 318 4 2 7 1- 4 2 19 6 7 538 8 1 95413 7 6 2 3 56872 194 5 42 738 6 19 1 3 7 6 2 9485 6 9 8_4 5 1 3 2 7 9 5 3 54 C10 SATURDAY, N BUYING US COINS Top $$$$ Paid. We Also Buy Gold Jewelry Beating ALL Written Offers. (352) 228-7676 Collector buying sterling silver flatware and US silver coins (352) 601-7074 "NEW"LAGUNA ELEC- TRIC GUITAR GREAT STARTER FOR KIDS & ADULTS,$50 352-601-6625 BUYING Guitars, Banjos & Mandolins,Fender, Gibson & Martin any condition (443) 463-3421 Disc for Lowery XL Organ. 40 discs that contain professional and well known organ play- ers. $35 obo 746-4613 DOBRO BLUES GUITAR W/ case and extra's. Beautiful condition $350 (352) 746-9470 MADE IN U.S.A.! PEA- VEY 40W BASS COMBO AMP STUDIO USED,NOT ABUSED $100 352-601-6625 MITCHELL MD100SCE ACOUSTIC ELECTRIC CUTAWAY GUITAR W/GIGBAG & EXTRAS $100 352-601-6625 PIANO STORY & CLARK LOVELY MAPLE UPRIGHT & STOOL. GOOD COND. $1200 352-232-1246 SMALL P.A. MIXER PRO QUALITY, 8 CHANNELS, W/ONBOARD DIGITAL EFFECTS $100 352-601-6625 CHRISTMAS AT 4 CORNERS Making Holiday Shoppina Easier Beautiful Homemade Aprons, ETC. Plus Tupperware, Pam- pered Chef, Partylite, Amish Butter, Jellies & Jams. SAT. NOV. 24.9A-3P Hwy 495 & Hwy 488. HOPE TO SEE YOU FLUTED QUICHE DISH LIKE NEW $10 2AIR BAKE COOKIE SHEETS $10 INVERNESS 352-419-5981 YOU'LL # THIS! KING SIZE MATTRESS sealy posturpedic with box spring and frame, used 3 years, very, very clean like new, asking only $300 Homosassa, SMW 860-883-3431 METAL BIRD CAGE, LARGE metal bird cage $25 352-344-3472 or 352-201-4430 NIKKO"Happy Holiday" dishes for eight w/ all the bells & whistles. Plus table cloth & napkins. All you need for your holiday table! $700; Colorful wool Rug 4X5" (imported) 746-9896 PFALTZGRAFF AMALFI DINNERWARE 4 (5pc) place settings $45 352-513-4614 SPODE CHRISTMAS TREE 4 dinner,4 salad,3 cup/saucer $85 352-513-4614 SPODE CHRISTMAS TREE 4dinner,4 salad,4cup/saucer $100 352-513-4614 TEA SETS W/ cake plates for six $30; 1 set with Teapot Sugar & Creamer $45 (352) 746-9896 BOWFLEX ULTIMATE II home gym center with all upgrades and accessories $900 352-697-2771 -I a and read AR-15'S RIFLES, BUSH- MASTER, SMITH & WESSON, CORE 15. COLT. ALL NEW. AS LOW AS $736.00 352-447-5595 NOVEMBER 24, 2012 30.06 Remington Game Master model 760 pump with scope, sling,case,clip with shells $350.00 352-228-9181 Club Car Golf Cart reconditioned by manu- facturer 2010, new batteries, side curtain, ext. top, seats 4, exc. cond. must sell $1750. 352-527-3125 CONCEALED WEAPONS CLASS Saturday 24th, 11 am, 132 N Florida Ave $35. (352) 419-4800 Concealed Weapons Permit Course DAN'S GUN ROOM (352) 726-5238 CUSTOM KYDEX HOLSTERS $40 call for details 352-637-3894 GARMIN GPSMAP .76CX Garmin 76Cx handheld mapping GPS. Color screen. Great for marine, outdoor or geocashing. Absolutely like new! $175. 352-527-0433 GOLF CART 93 Club Car, Great Condition, New Batteries, Asking $995 (352) 201-6111 GOLF CART Electric, EZ Go excellent cond. $2,500 (352) 503-2847 Home Defense 12 Gauge Winchester S-auto, 18'2" Barrel Case & ammo included $350.(352) 637-1074 Leave Message OCEAN KAYAK 12 ft Sit upon, color:(Blue) plus paddle and padded rod holder 352-795-3460 $385.00 PUSHPOLE 18' 2-piece Moonlighter fiberglass. Never used, w/ hardware. A great Christmas gift! $250. 352-628-0447. Leave message. Remington field master 572, $300. Lacrosse venom snake boots, size 9% New $75 (352) 441-0645 Remmington Model 700, 300 ultra mag w/adj burris scope $750 obo 352-537-4144 RUGER 10-22 carbine 16" ss bbl, wood entire length, unfired/inbox $300 860-639-9920 SAFARI LAND FN57 composite holster rt hand fits laser mount. $60 352-513-4614 SAFARI LAND FN57 new leather holster rt hand paddlemount $60 352-513-4614 SCHWINN ALUMINUM BICYCLE Mountain bike,has gears.$75.00 352-201-4430 or 352-344-3472 CARGO TRAILER 5 x 9 x6, EZ-Hauler Aluminum, black & silver, New, $2,500 obo (352) 513-4369 BABY TOY Cruise Around Activity Lion $10.00 352-400-5650 BABY TOY Rainforest melodies and lights deluxe gym. Newborn and up. $15.00 352-400-5650 ROCKING HORSE Today's kids brand, good condition doesn't make sounds, $35 (352)465-1616 TODDLER HEADBOARD Brand New Metal Headboard, $10 special (352)465-1616 DIAMOND RING % carat tw, 14 ct white gold. SIZE 9, Original price $525, Asking $150 (352) 341-1955 WATCH Ladies diamond bezeled rolex, new con- dition w/ all paperwork $1900 (352) 423-0289 NINTENDO Wll FIT. Comes with the wii board, plus yoga mat, and board cover. Asking $60 o.b.o. 352-422-6311 CLASSIFIED Livestock NINTENDO Wll white. Comes with, Wii console, two controllers and several games. Asking $100. 352-422-6311 Tell that special person " Happy Birthday" with a classified ad under Happy Notes. Only $28.50 includes a photo Call our Classified Dept for details 352-563-5966 WHITE NINTENDO Wll in flawless condition and comes with games, con- trollers, etc. Asking $100 itsmeejenn@yahoo.com WANT TO BUY HOUSE or MOBILE Any Area. Condition or Situation. Call Fred, 352-726-9369 WANTED Rods, Reels, tackle, tools, Antique coll., knive/sword, hunt- ing equip. 352-613-2944 WANTED TO BUY Stamp Collections US Postal History (352) 628-4357 $$$$$$$$ - $700. ea. Small, Tiny & Very Tiny Only 5 females, Raised in loving home. CKC Reg. health certs., & puppy pacs. Parents on site come watch them play (352) 212-4504 (352) 212-1258 ENGLISH BULLDOG BEAUTIFUL PUPS, 2 Males & 4 Females, Available after Nov 5th AKC and all Shots $1,500 to $1,750 call for info (352) 613-3778 (352) 341-7732 FREE MALE B&W CAT Decl & Neut approx 5 yrs old. Dominate lap cat. Needs home. Call 352-400-4676 for Info. GOLDEN RETRIEVERS Pure Breed Pups, light colors, 4 fern 2 males, shots & H/C. Parents on Premises $450 ea 352-628-6050 LABRADOODLE PUP- PIES Ready 11/16. Six sassy puppies in a variety of colors. Health certs, shots, dewormed. $500. 352-410-0080 Shih-Tzu Pups, ACA starting@ $400. Lots of colors, Beverly Hills, Cl '1352)-270n Q'7 Tell that special person " Happy Birthday" with a classified ad under Happy Notes. Only $28.50 includes a photo Call our Classified Dept for details 352-563-5966 BRING YOUR FISHING POLE! DUNNELLON 5159 W Disney Lane 2/2, CHA, $425/ $400 dp Lrg Lot (727) 480-5512 HOMOSASSA 2 br. 1 ba. $375mo 1st, Last &Sec (352) 382-5661 HOMOSASSA 2Br/1/ BA, No Pets $500 (352) 628-5696 INGLIS 2/2, Close to Plant on 1 acre Clean, Quiet $550. (352) 447-6016 BAD CREDIT RENT-TOOWN. 1 3 t h Street homes of Aachua, FL. N o w has land/home pkgt. Ready to m 0 v e in NOW! Call 386-418-0424 DUNNELLON 5159 W Disney Lane 2/2, CHA, Large Lot, Quiet Area $28,000 (727) 480-5512 HOME ON LAND 1500 sq. ft. 3/2 on % acre. Home in new condition with 2 x 6 construction. New appliances, carpet, paint, new decks & tile flooring. I can finance, $3,500 down $394.80/ mo P&I, 11-24 LaughingStock International Inc., Dist. by Universal UClick ior UFS, 2012 "Are you nearly finished?" YOUR AD HERE $250/month Call Beverly to reserve this space 352-564-2912 CHRONICLE i (352) 563-5966 SMITTYS APPLIANCE REPAIR. Washer & Dryers, Free Pick Up 352-564-8179 Adult family care home Alzheimer/Dementia In- continency No Prob. (SL 6906450) 503-7052 SHADY VIEW CANVAS Awnings *Carports *Boat Tops & Covers upholst 352 613-2518 qualiioea employee? This area's #1 employment source! Classifieds THE KLEEN TEAM Residential/Comm. Lic., Bonded, Insured (352) 419-6557 DIESTLER COMPUTER New & Used systems repairs. Visa/ MCard 352-637-5469, Lie. #1476, 726-6554 40 YEARS EXP- Slabs, Driveway, Patios, Found -ation Repair #CBCO57 405, (352) 427-5775 All AROUND TRACTOR Land clearing, Hauling Site Prep, Driveways Lic/Ins 352-795-5755 COUNTY WIDE DRY- WALL 25 ys exp lic2875 all your drywall needs Ceiling & Wall Repairs. Pop Corn Removal S352., *k 352 422-7279 * DRY OAK FIREWOOD SPLIT, 4 X 8 STACK $80 Delivered & Stacked. 352-344-2696 352-257-9508 * Affordable Handyman V FAST. 100%Guar. AFFORDABLE V RELIABLE* Free Est k 352-257-9508 * Affordable Handyman V FAST. 100%Guar. AFFORDABLE V RELIABLE- Free Est k 352-257-9508 * Affordable Handvman V FAST 100% Guar. AFFORDABLE V RELIABLE- Free Est *k 352-257-9508* HANDYMAN DAVE Pressure Wash homes & drive-ways, Handy- man services, Hauling, Odd Jobs 352- 726-9570 Repair. Remodel. Additions, Free est. (352) 949-2292 #1 Employment source is STEVEN GIBSON Handyman & Maint. Services, 20+ yrs., Exp. (352) 308-2379 Exp House Keeper for Hire. Contact Sheila @ 352-586-7018 NATURE COAST CLEANING Res/Comm, No Time Wasted 352-564-3947 THE KLEEN TEAM Residential/Comm. Lic., Bonded, Insured (352)419-6557 RN AVAILABLE Private home care- companion 352-693-4873 WORK-A-HOLIC for hire sml tree removal,hauling, ext. painting, pressure & window washing **352-227-7373** AFFORDABLE Lawn care CUTS STARTING AT $15 Res./Comm., Lic/Ins. 352-563-9824, 228-7320 LAWNCARE N MORE Fall Clean-up, QUALITY PAINTING Affordable Reliable Insured References Call Doug WINTER SPECIAL $35 for Driveways up to 60ft! Ann's 352-601-3174. COUNTY WIDE DRY- WALL 25 ys exp lic2875 all your drywall needs Ceiling & Wall Repairs. Pop Corn Removal 352-302-6838 * A TREE SURGEON Lie. & RON ROBBINS Tree Service Trim, Shape & Remve, Lic/Ins. Fire wd. 352-628-2825 344-2556, Richard WATER PUMP SERVICE & Repairs- all makes & models. Call anytime! WORK-A-HOLIC for hire sml tree removal,hauling, ext. painting, pressure & window washing **352-227-7373* CITRUS COUNTY (FL) CHRONICLE I I I 2 1 1, rc! iwr CITRUS COUNTY (FL) CHRONICLE INVERNESS 2/2 Stoneridge Landing 55+ Gated Community Pool & Club House 28x40 Enc Glass Lanai & Furni. $22,900 352-341-0473 INVERNESS 3 months free lot rent w/ purchase! 1 & 2 Bd Homes starting @ $6900 Located in a 55+ park on Lake. Lot rent $276. month, Water Included. 352-476-4964 Palm Harbor Homes 14 x 50 Mobile Condo 2/2 $29,900 Park Special HERNANDO 2/2 Dbl. wide, great cond. 1026sq ft, carport & sm. shed corner lot, $29,900. (813)240-7925 CRYSTAL RIVER VILLAGE FALL SPECIAL * 2BR 2Bath $15,000. 352-795-7161 or 352-586-4882 INVERNESS 2/2 completely remodeled carport,scnrm,w/attached storage shed, plywood floors, drywall, $10,500 352-419-4606 Inverness, FL 2 bed- room. 2 bath. Com- pletely updated DW home on Lake Hender- son 55+Park. Ph 309-45 AC3 ^7 or LECANTO 55+ PARK 1997 West 14x66 3b/2ba w/cn. non-smoker-move in condition, newer heat pump, split floor plan, ca- thedral ceilings thruout. Glass & Screened FL room & open deck w/craft room, outside storage shed. $245 rent incl. water, sewage & gar- bage, ALL appliances incl. Asking $23.000obo mobilhome.shutterfly. com/ 352-400-8231 STONEBROOK MHP 2BR, 2BA, 1200 sq. ft., Fully Furnished Lakeview Homosassa $40,000., MUST SEE! (352) 628-9660 RENTAL MANAGEMENT 1 REALTY, INC. 352-795-7368 www.(itrusCounlyHomeRentals.com LECANTO 1933 Shonelle Path (L)......REDUIED $1,000 3/2/2 Inc. Full Memb. Pool, Tennis, Gym 3069 W. Bermuda Dunes Dr. (L)..$850 2/2/2 Great Home in Black Diamond CRYSTAL RIVER 1055 N. Hollywood Cir. (CR).......$795 0/2/ ute Hone nth [irpor, Screed BLck Porth 9782 W. Laurel Oaks Ln. (CR)....$875 3/2/1 on Acreo, F da Roomn, Large Cournr then HOMOSASSA 8158 W. Miss Maggie Dr. (H)......$675 2/1/Cottage on Water, Fenced Backyard 6944 W. Grant St. (H)................$700 2/2/1 Cute, Centrally Located INVERNESS/HERNANDO 9432 E. Gable C(INV).............$1700 2/2/1 Roomy with Screened Porch 6315 N. ShorewoodDr. (HER).....700 2/1 Cute Hom e with Floda Room, Nice Backyard Crystal River 1/1 Great neighborhood 7 mos min. No smoking No Pets 352-422-0374 CRYSTAL RIVER 2/1.5, CHA, Wash/Dryer 828 5th Ave. NE (unfurn. opt.) $600 + sec 727- 455-8998, 727-776-3120 CRYSTAL RIVER 2/BR $550. 3BR $750 Hse. Near Twn 563-9857 CRYSTAL RIVER Studio Apt. Completely Furn. on Hunter's Sprgs, sun deck, W/D rm. All util. incl'd.+ boat dock. $700/mo. 352-372-0507 FLORAL CITY LAKEFRONT 1 Bedrm. AC, Clean, No Pets (352) 344-1025 Alexander Real Estate (352) 795-6633 Crystal River Apts 2 BR/1 BA $400-$500 ALSO HOMES & MOBILES AVAILABLE CRYSTAL RIVER ** NICE** Secret Harbour Apts. Newly remodeled 2/1 starting @ $575 unfurn/furn. Incl Water, garbage, W/D hook-up. 352-586-4037 CRYSTAL RIVER 1 & 2 Bd Rm Apartments for Rent 352-465-2985 HOMOSASSA 1 & 2 Bd. $450/$500 no pets 697-0310 HOMOSASSA 2/1 Pool, Garb., maint. Incl., peaceful No pets, $600. plus mo. 628-6700 r INVERNESS 9 2 B/R's Available CANDLEWOOD COURT KNOLLWOOD TOWNHOMES Rental Assistance Available For Qualified Applicants Call 352-344-1010 MWF, 8-12 & 1-5 307 Washington Ave i Inverness Florida Equal Housing Opp. EQUAL HOUSING OPPORTUNITY L------ J INVERNESS 2/1 $650. 1/1 $450 Near hosp. 422-2393." Perfect Location Office/Retail. High Visibility. Beautiful Historic Inv. Down- town Courthouse Sq. 700 sq.ft. 628-1067 CITRUS HILLS 2/2 Furn w/ member- ship, Seasonal/Annual 352-476-4242, 527-8002 HOMOSASSA 2/2 $550 mo. incl. garb. 1/1, $435. incl. garb/Wtr Pets? No smoking. 1st & sec. 352-212-4981 HERNANDO Affordable Rentals Watson's Fish Camp (352) 726-2225 LECANTO 1b/1 ba, furn. Handyman cottage porch, 5 acr. pking, quiet, water&trash pk up, incl. pets ok, ref's $450mo. Blind Box1812P CC Chronicle, 1624 N. Meadowcrest Blvd. Crystal River, FL 34429 HERNANDO Room to rent w/private bath & entrance; utilities incld, free WIFI. $385 mo. (352)341-0787 CRYS. RIV. & BH Great Neigh., Like New 352-302-1370 CRYSTAL RIVER 3/1 Country Home on stilts,w/fenced yard. $600 + Utilities. Call 920-922-6800 INVERNESS Furnished Waterfront Home 2 Bd., 1.5 bath home with central AC, $595. 352-476-4964 BEVERLY HILLS 2/1/1, $600. mo. 352-382-1162, 795-1878 CITRUS SPRINGS 3/1 1/2 w/family rm Newly remodeled inside & out. W/D hook up. Fenced $750. 352-586-4037 CRYSTAL RIVER 2 bedroom. 2 bath.$600. Garage, new flooring, ceramic tile baths, modern kitchen. Call 352-697-0195 CRYSTAL RIVER 3/1%/, Good neighbrhd. Close to schools $675. mo. 352-409-1900 FLORAL CITY Lake House 3/1 Furn. $950. 352-419-4421 INVERNESS 2/1 $650., 1/1 $450 Near Hosp. 422-2393 INVERNESS Country Living on Large 2' acre lot. 3 bd., 2 ba. home. Garden and fenced areas. Well & septic, so no water bill! $595. 352-476-4964 INVERNESS Lake Tsala Gardens renovated 3/2/1 scn porch, fenced yard, city water $850 352-726-7212 HERNANDO Affordable Rentals Watson's Fish Camp (352)726-2225 FLORAL CITY Room, Includes FREE Dish & Long Distance (352) 726-4049 -elUstt ESAlTE FARMS, LAND, COMMERCIAL UNIQUE & HISTORIC HOMES, SMALL TOWN COUNTRY LIFESTYLE OUR SPECIALTY SINCE 1989 Marie-Elena Carter Broker Associate Realtor Accredited Buyer's Representive & Certified Distress Property Expert Only Way Realty CLASSIFIED -elIsat ea-stt SATURDAY, NOVEMBER 24, 2012 Cil Comerc'a CITRUS _ COUNTY For more information on how to reach T oUT IE Citrus County readers call H L\O N JL F 352-563-5592. Scarborough 2010 oooMaxez WORDY GURDYBY TRICKY RICKY KANE 1. Additional ones laugh loudly (1) Every answer is a rhyming pair of words (like FAT CAT and DOUBLE TROUBLE), and 2. Close-by buck or doe (1) they will fit in the letter squares. The number after the definition tells you how many 3. Actress Lively's pangs (1) syllables in each word. S 2012 UFS, Dist. by Univ. Uclick for UFS 4. Merry rock pioneer Buddy (2) 5. Cancel a trayful of baked cookies (1) 6. Basement shouter (2) 7. Physicist Stephen complaining loudly (2) ONIIAWfs 9NIAWVH "L 3TEA aIV[a3 '9 H SJIV HJIV JS 's ATIOH Am[Opr T S3HJV saV s iaV a11a1 IGttIVtN "g LHVONH O 0'T 11-24-12 saARSWV Forest Ridge Villages Updated, move in ready, 2/2/2, Private lot 352-746-0002 Homos^^^^^& Homly:: . Citrus County Homes Pine Ridge Homosassa Springs Homes lnvemes Homes Beverly HillsTT Hol^mes I Opn ou.7e Cl&us Hills Homes 9 C012 SATURDAY, NOVEMBER 24, 2012 MICHELE ROSE Realtor Simply put I 'II work harder 352-212-5097 isellcitruscounty@ yahoo.com Craven Realty, Inc. 352-726-1515 MINI FARM 5 Acres(2 lots) adj Pine Ridge/C.Springs 3/2/2, block home w/lots of extras! $185K (352) 564-8307 Tony Pauelsen Realtor 352-303-0619 H Buy or Sell H I'll Represent YOU ERA American Realty "FREE Foreclosure and Short Sale Lists Office Open 7 Days a Week LISA VANDEBOE Broker (R) Owner Plantation Realty 352-634-0129 realtylistings.com 5 STAR BLUE WATERS (dolphins, manatees) privately gated 4200 sq ft splendor (Huge L-R, D-R,, 3 suites) 799k (352) 503-2288 CRYSTAL RIVER 2 Story, 5BR/3Bath 2 boat slips near Kings Bay $429,000. Make Offers 352-563-9857 Open Waterfront on Lake Hernando 3,300 sf under roof 2,000 liv., 3/2/1. den & fam.n rm. cage inground pool. 2 Irg. sheds, dock on 1 acre $269,900 813-240-7925 YOUR "High-Tech" Water Front Realtor SCAN OR GO TO WWW. BestNTu-reCoast Properties.com "To view great waterfront properties" Your World I9 W--,l 1, l CmfolcLE Citrus county Homes .7 rity SEA CHASER 2008 1800 RG (18')V hull. 90 Yamaha 4 stroke, only 82 hours. Warranty until 11-30-2014.Aluminum trailer Great flats or bay boat. Excellent condition, al- ways stored in- side.$14,900. Call 352-601-6656 TRI PONTOON BOAT A & M, 27 ft, fiberglass 250 HP, T top, trailer included $19,500 352-613-8453 WE HAVE BOATS GULF TO LAKE MARINE We Pay CASH For Used Clean Boats Pontoon, Deck & Fish- ing Boats (352)527-0555 boatsupercenter.com 06' BIG HORN 5th WHEEL HEARTLAND 37 FT, 4 Slide, non- smoker, no pets, LOADED $25,900 302-632-9163 5X8 -$850.00 Cargo Transport side-door. Wheels packed new jack stand. getdahl@yahoo.com HI-LO TRAVEL TRAILER 2003, tow lite model 22-03t,exc. cond. $7500 obo 352-422-8092 JAYCO 30 ft. 2000 yr, Clean, qn. bed, with Canopy & Load Leveler $4,750 (352) 563-1465, 228-1802 WE BUY RV'S, Travel Trailers, 5th Wheels, Motor Homes Call US 352-201-6945 NEW TIRE sells for $108, will take $75firm, Wheel for 05 Dodge Caravan $20 352-476-5265 SET OF 4 CORVETTE rims, c5, very good cond. $400 Century fiberglass cargo cover fits S10 p/up ask $200 352-628-5340 TONNO COVER NEW, fits 8ft pick-up bed, cost $450 new, sell for $230 352-476-5265 $$ CASH BUYER'S Buying Used Cars Trucks & Vans, For used car lot LARRY'S AUTO SALES, Hwy 19... 352 564-8333 WE BUY ANY VEHICLE In Any 05' LINCOLN TOWN CAR GARAGE KEPT, Two-Tone, LOADED 65K $10,500. 352-860-0164 ACURA 2006, TSX, 98K miles, NAV, Sunroof, Sporty $14,800 Call 352-232-1481 18ft PONTOON 30 Johnson,no trailer good shape. $1200 321-303-6453 BASS BOAT 1985, 16ft Bayliner Needs work 85HP force eng., galvinized trailer. $600. (352) 507-1490 Aif AA i Ai Looking for an 18 ft SeaArk. Boat, motor and trailer(352) 270-8225 RANGER BASS BOAT 1994, w/ranger trail trailer 150Johnson motor, ask $4500 352-212-3732 U,-,I Reg. Cab 5 speed, Bed Topper $8,800 Call 352-422-0360 TOYOTA TACOMA 07, pre-runner, sr5 4dr, v6, auto, $16k 727-776-4645 CHEVROLET 2002 SUBURBAN $5,995. 352-341-0018 GMC 2003 Yukon SLT Exc cond New tires. Well maintained.108,000mi Load w/Onstar $9,450 OBO (207)-730-2636 2001 A4, Quattro AWD 83K miles, MUST SEE!! $7,200 (352) 978-3571 BUICK LESABRE 01 Custom, senior owned,garage kept, Ik new, new tires,68kmi. $5800 864-353-4298 CADILLAC 2011, CTS Sedan, 14k miles, NAV sunroof $29,995. Call (352) 422-0360 CHEVROLET 1985 Monte Carlo 2DR repainted, rebuilt en- gine. Runs great, just needs transmission hose. Asking $2800 352-270-4098 CHEVROLET 2001 IMPALA, $4,995 352-341-0018 CHRYSLER 2007 PT CRUISER Touring Ed., Med Blue w/37k miles. Mint Cond $8000 352 522-0505 DODGE 2004 NEON, 4DR AUTO- MATIC, PRICED TO SEL, CALL 628-4600 For More Information FORD 1999 Crown Victoria $4,500 352-341-0018 FORD 2000 Mustang. If you like Mustang Cobra convert. *Must see this car* $4975(352) 382-7001 FORD 2001 Focus Wagon SE, 4 Cyl, great gas milage, exc cond, clean in/out, no rust or dents, all working good. 95K mi. $3500 (352) 613-4702 FORD 2003 Thunderbird Great Condition, original miles 119,000 highway, main- tained by dealership, $9000.00 352-527-2763 FORD 2005, Five Hundred LMT, 40K miles, leather, V6 $9,980 Call 352-302-3704 HONDA 2004 Element, 186K miles, EX, Automatic $5,200 Call (352) 978-3571 HONDA 2004, ACCORD 4DR, ITS A HONDA...Call For Pric- ing and Appointment 352-628-4600 HONDA 2011 CRV LX, 19K miles, Ilkenew, 4 Cyl. $19,950 $19,950 Call 352-232-1481 MERCURY 1998 Grand Marquis must sell 1200.00 OBO 1-352-628-1809 NISSAN '98 Sentra GXL, 64k mi. excel cond. new tires, battery, Bk. Val. $4,800 (352) 795-2415 PONTIAC 2004 SUNFIRE, $2,995 352-341-0018 SUZUKI 2007 Forenza, CLEAN, Only 52K miles $6,500. Call 352-302-3704 TOYOTA 2004, Camry XLE V6, 42K miles One Owner $10,850. Call (352) 422-0360 TOYOTA 2007, Pruls, 91 K miles, Super Clean with warranty $10,300. Call 352-978-3571 VOLKSWAGON CONV. 2003, GLS garage kept, leather int. Ik new, 60k miles $5800 352-634-3806 FORD 1965 F250, 100% RUST FREE ARIZONA TRUCK. V8 / AUTOMATIC. BRIGHT ORANGE. NEW DOOR PANELS, SUN VISORS. MANY NEW PARTS. $5,995. 607-387-6639 Tell that special person Happy Birthday" with a classified ad under Happy Notes. Only $28.50 includes a photo Call our Classified Dept for details 352-563-5966 $ CHEAP $ RENTALS Consignment USA consianmentusa.ora WE DO IT ALLI BUY-SELL-RENT- CAR-TRUCK-BOAT-RV US 19 BY AIRPORT Low Payments *r Financing For ALL 461-4518 & 795-4440 FORD 2003 EXPEDITION LEATHER SEATS, V8 3rd ROW SEATING CALL 628-4600 For An Appointment GMC 2003 Box Truck $6,995 352-341-0018 TOYOTA 2005, Tacoma ING AND RECOVERY, 1185 N. Paul Drive, Inverness, FL 34453; 352-860-0550; in accordance with Florida Statute 713.78. Auction Date as Follows: All Sales will begin at 8:00 AM. Ve- hicle may be viewed 30 minutes before sale. For details call 352-860-0550. 1) 2001 CHEVY VENTURE VAN COLOR: TAN VIN#1GNDX03E81D190068 Auction Date: 12/18/2012 2) 2010 JEEP GRAND CHEROKEE COLOR: BLUE VIN#1J4RR4GT8BC50445 Auction Date: 12/24/2012 3) 1997 FORD ESCORT COLOR: BROWN VIN#1 FALP13PXVW226077 Auction Date: 12/24/2012 Scally's Lube and Go re- serves the right to bid on all vehicles in Auction. All sales are final at 9:00 AM Pub: November 24, 2012. 01" Explorer Sport, "red" 2dr w/ towing, 98K $4900 352-527-4484 CHEVY 2005, Colorado 4 x 4, Sifting on 33's, Auto., Call 352-628-4600 For More Information DODGE 2004, DAKOTA, 4 x 4 Crew Cab, MUST SEE, Priced to Sell, Call For Details 352-628-4600 KIA '08, Sorrento LX, sport utility, 1 owner car, ex- cel. working cond. 112k mi. $8,300 obo 726-9285 Yamaha '05, Raptor, 50CC, like new, 30 hrs on mo- tor, will hold for xmas $950, 352-726-9151 HARLEY-DAVIDSON 04' Ultra classic. Runs great! New tires, brakes & battery. EXTRAS!! $8500 or OBO 352-601-4722 2006 VULCAN VF900 Custom. Only 7000 miles, garage kept $3500 (352) 464-1495 272-1124 SACRN 12/21 sale PUBLIC NOTICE NOTICE OF PUBLIC SALE Notice is hereby given that 12/11/12 10:30 AM the following vehicles will be sold at public auction: 1951 FORD 2D #R I H M48337 will be sold at public auc- tion pursuant to F.S. 713.585 to satisfy Towing, Storage & Labor Charges. The vehicle will be sold for $5195.36. Sale will be held by Lienor burch BURCH AUTOMOTIVE SPECIALTY SERVICES, 3525 E. Louise Ln, Hernando, FL 34442 (352) 860-1199. Pursuant to F.S. 713.585 the cash sum amount of $1595.36 would be sufficient to redeeem the vehicle from the lienor. Any owner, lien holders, or in- terested parties have a right to a hearing prior to the sale by filing a de- mand with the Hernando County Clerk of Circuit Court for disposition. The owner has a right to re- cover possession of the vehicle prior to the sale, by posting a bond pursu- ant to F.S. 559.917, and if sold proceeds remaining from the sale will be depostied with the Clerk of the Circuit Court in Her- nando County for disposi- tion. Lienor reserves the right to bid. November 24, 2012. 271-1124 SACRN 12/21 sale PUBLIC NOTICE NOTICE OF PUBLIC SALE Notice is hereby given that 12/11/12 10:30 AM the following vehicles will be sold at public auction: 1995 FOWl MH #1FDKE30G2RHC20159 will be sold at public auc- tion pursuant to F.S. 713.585 to satisfy Towing, Storage & Labor Charges. The vehicle will be sold for $601.75. Sale will be held by Lienor, BURCH AUTO- MOTIVE SPECIALTY SER- VICES 3525 E. Louise Ln Hernando FL 34442. (352) 860-1199. Pursuant to F.S. 713.585 the cash sum amount of $601.75 would be sufficient to redeem the vehicle from the lienor. Any owner, lien holders, or interested par ties have a right to a hearing prior to the sale by filing a demand with the Hernando County Clerk of Circuit Court for dispositvion. The owner has a right to recover posses sion of the vehicle prior to the sale, by posting a bond pursuant to F.S. 559.917, and if sold pro- ceeds remaining from the sale will be depostied with the Clerk of the Cir cuit Court in Hernando County for disposition. Lienor reserves the right to bid. November 24, 2012. 270-1124 SACRN December Sales PUBLIC NOTICE PUBLIC AUCTION The following vehicles will be sold at PUBLIC AUC- TION on the property of SCALLY'S LUBE & GO TOW- '07 SUZUKU FORENZA Auto, Power, 52k Miles or l125/mo. '09 CHEVROLET AVEO LT, 28k Miles, 34 MPG or S175/mo. '06 DODGE RAM 1500 2WD, SLT, Auto r12,995 or 27l5mo. '04 JEEP WRANGLER X 57k Miles, Hard Top, 4x4 $13,995 or $275/mo. '09 CADILLAC STS | Lux, 4 Dr., One Owner I or S349/mo. '01 AUDI A4 AWD, 83k Miles, Automatic or s149/mo. '08 KIA SEDONA LX, 7 Pass, Like New Cond. or s189/mo. '09 TOYOTA CAMRY | LE, 4 Cyl, Power I s12,995 or $249/mo. '10 KIA SOUL Automatic, 13k Miles *13,995 or 249Omo. '09 BUICK LUCERENE CXL, 32K Miles, Leather, S/R o14,995 or $ 269mo. '09 LINCOLN MKS 5 20k Miles, 4 Dr, Lux s21,995 or $379/mo. OVER 100 VEHICLES TO CHOOSE FROM! VILLAGE TOYOTA .1,,,,ilLl'l"~l"l "Il " CRYSTAL RIVER ' 352-628-5100 *Payments are with $2,000 cash down or trade equity and with approved credit. See dealer for details. '10 MITSUBISHI LANCER ES, Auto, 4 Dr. s12,995 or $249O/mo. THE BEST QUALITY PREOWNED VEHICLES I 1 11, 111YIJ I I 'II I Hm CITRUS COUNTY (FL) CHRONICLE CLASSIFIED SATURDAY, NOVEMBER 24, 2012 C13 PYIN...U4...hi MONEY DOWN WITH APPROVED CREDIT INTEREST 0% FOR UP TO 72 MONTHS 2013 DODGE JOURNEY $18,495 DRIVE$ O PER f/ FOR 8U 9MO. ORIUAPR 2013 DODGE AVENGER $18,995 DRIVE$ I PER FOR 8 O MO. OR UAPR 2013 DODGE CHALLENGER FRE 4 OU RCRDD ESAG ITHIF PCA RCN W CRYSTALAUTOS.COM OOOD830 ILLUSTRATION PURPOSES ONLY, PRIOR SALES MAY RESTRICT STOCK. ^25 MPG BASED ON EPA HIGHWAY FUEL ECONOMY ESTIMATES. PAY MENTS UNTIL MARCH 2013 BRAND NEW CHRYSLER 200 $16,915 DRIVE$ PER 0I FOR 169MO. ORUAPR BRAND NEW CHRYSLER 300 $26,845 DRIVE $9 RPER TON FOR 2U6 MO. OR UAPR BRAND NEW CHRYSLER TOWN & COUNTRY : ~ ~ 1 .: lj Ii lll *26,995O DRIVE $9 PER f/ FOR 2lMO. OR UAPR Jeep 2013 JEEP COMPASS j k % *17,465 DRIVE$ O PER *9%o FOR *U6 MO. ORB APR 2013 JEEP GRAND HEROKEE $26,495 DRIVE $9 PER *9I FOR 289MO. ORl APR 2013 JEEP WRANGLER $22,195 DRIVE $1 PER FOR 199MO *25,495- DRIVE $9 PER I *O FOR U6 MO.ORI APR CIRUS COUNTY (FL) CHRONICLE C14 SATURDAY, NOVEMBER 24, 2012 *eliTes: 9- en / The All-New, Totally Sophisticated 2013 Honda Accord ACCORDABLITY = AFFORDABILITY AC*CORD verb (used without object)... to be in agreement or harmony; agree. I N. aim .t~ r I -Ji New 2013 Honda Fit MODEL GESH3CEXW, EQUIPPED NOT STRIPPED WTH AUTOMATIC. A/C AND CRUISE .21 tat.m pa New 2012 Honda Accord LX Sedan MODEL CP2F3CEW. AUTOMATIC.POWER PKG. CRUISE. TRACTION CONTROL AND SO MUCH MORE New 2012 Honda Civic Hybrid MOME FUWcEANWVD MTTNRsSIW AKW -P M.L WK.EM &S SI n W SID01'llU TCUi? P ILUETOOOTh Ma 4E'Jtal e. CfL 9 * r I, New 2012 Honda CR-V LX 2WD MODEL RM3HCEW, COME SEE WHY THE CR-V ISTHE BEST SELUNG COWCT i iSW AIMECA! SAVE WHLE THEY LAST! a A 0 0 WIf New 2012 Honda rosslar 2WD 2.4 LA EX UWEL.TF3I3JW, UWWATICAE HATCHBACK IT STYLE WA O C3FWR AL.THEEUXURYWAMMEMlESAMIDROOMTODO0SATICU ED IJLaJ * nI 9 ..i"", "'-- r t.VA w: .A 4 .9Ij .214 a 1 New 2012 Honda Ridgeline RI MODEL YKIF2CEW,4AD WITHE THE RUNK ITE BEa POWER PKG. CRUISE CONTROL, POWER AND A RIDE UKE NO OTHER CITRUS COUNTY (FL) CHRONICLE 'I *- I m,. j: .," ' .- .- l /~ JiAV -1. 40!A*2 I e ^:ic *,^1 I 1 : [ 1[ ]011 SATURDAY NOVEMBER 24, 2012 C15 =nwrp. II I lll I I lIl 2012 Chevy Volt Now's the time to GO GREEN!!! SAWe QQ AND 00 APR for 72 Mos. _ I- N'3 2012 Chevy Traverse LS Stk #C12326. Auto, Seats 7T. Was $30,750 2012 Chevy Silvrao LT Stk #CT1236SK Ext Cab. Was $30,750 2012 Chevy Cize LS Stk #C12267, Gas Samedl Was $18,800 fi~AflAA C Jill I I p dli. 2012 Chew Impala LT Stk #C 2125, Auto, AC, Onsar. Was $26,610 ___$40 UM 2013 Chevy Equinox LS Stk. #C13025. Auto, 4cyLWas S24,596 .$40 ACA : I r 1's I CITRUS COUNTY (FL) CHRONICLE ML: C16 SATURDAY, NOVEMBER 24, 2012 BMW in Ocala 0 The Ultimate bmwinocala.com Driving Machine* THE BMW HAPPIER NEW YEAR EVENT Going on now, with a holiday credit of up to $3500* BMW Ultimate ServiceTM: Pay Nothing 4 years or 50,000 Miles Total Maintenance Charges: $0 New 2012 BMW 3281 Sedan Lease For $399 Per Month MSRP $36,445 STK#MP18099 New 2013 BMW XI sDrive28i Lease For $399 Per Month MSRP $32,745 STK#MW41710 New 2013 BMW X3 xDrive28i Lease For $549 Per Month MSRP $42,345 STK#MA24903 STK#MW8470( New 2012 BMW 750Li -I-~-Sa Manager's t Special SMSRP $92,695 Sale Price 080,695 *$3500 BMW holiday credit available on select new BMWs through BMW Financial Services. All leases are 36 months with $3999 total due at signing including $0 security deposit. 10,000 miles per year allowed, 20 per mile thereafter. With approved credit through BMW Financial Services. Leases and prices exclude tax, tag, title, registration and $799 dealer fee. Financing available through BMW Financial Services. Photos used for display purposes only, may not be actual vehicle. All vehicles subject to prior sale. See dealer for complete details. Offers expire end of day 11/25/2012. E Certified Pre-Owned - by BMW 2009 BMW 328i Sedan STK#MP1460 2009 BMW 328i Sedan STK#MP1459 2010 BMW 5281 Sedan STK#MA14920A NMI^BB $26,993 $27,993 s31,994 2009 BMW 335i Coupe STK#MP1472 U'^.^ 2010 BMW 528i Sedan STK#MP1462 2010 BMW 528i Sedan STK#MP1461 wIlol^ ^-BB MLri p $33,491 $33,993 $34,993 Pre-owned prices exclude tax, tag, title, *egrqirraror and $799 dealer fee. Financing available through BMW Financial Services. Photos used for display purposes only, may not be actual vehicle. All vehicles subject to prior sale. See dealer for complete details. Offers expire end of day 11/25/2012. BMW of Ocala 3949 SW College Rd. Ocala On SW College Rd. Just West Of 1-75 1-352-861-0234 BMWinOcala.com 000CZOI v.4 1JijI 0 JL 44 d I A C LEASE %APR FOR$89 O0%APR FOR7 8 9 FINANCING FOR : PERMO.!. 60 MONTHS* New 2013 Volkswagen PDACC AT C Appearance Package, Automatic, Air, Power Windows, Power Locks, Loaded! . Q / I ~ - V 129 %APR FINANCING FOR PERMO.! 60 MONTHS'- 11/25/2012. WorldAuto. Quality Pre-Owned. Das Auto. *2-Year or 24,000-mile limited warranty *24-Hour Roadside Assistance Program* * 112-Point Inspection *CARFAX Vehicle Report ^ Repairs under this limited warranty will be performed free of charge after a deductible of $50 per dealer visit. See warranty information or consult with an authorized Volkswagen dealer for details. *Roadside Assistance provided by a third party. IPre-owned prices exclude tax, tag, title, registration and dealer fees. Photos used for display purposes only, may not be actual vehicle. All vehicles subject to prior sale. See dealer for complete details. Offers expire end of day 11/25/2012. Volkswagen of Ocala 3949 SW College Rd. Ocala On SW College Rd. Just West Of 1-75 1-352-861-0234 VWofOcala.com Das Auto. I . . . .. I w CITRUS COUNTY (FL) CHRONICLE .& - - I A - - - SATURDAY, NOVEMBER 24, 2012 C17 MONEY DOWN WITH APPROVED CREDIT INTEREST 0% FOR UP TO 72 MONTHS PAYMENTS UNTIL MARCH 2013 2013 NISSAN ALTIMA $19,999+ $1090OR 1.N0o 109 1 APR Model# 13013, Vin# 136690 1 OR MORE AVAILABLE AT THIS PRICE, $3,999 DUE AT SIGNING. % y 2013 NISSAN SENTRA $16,999 1790 20APR Model# 12113, Vin# 612959 1 OR MORE AVAILABLE AT THIS PRICE, $3,999 DUE AT SIGNING. 2012 NISSAN VERSA 2012 NISSAN FRONTIER 2012 NISSAN ROGUE 2012 NISSAN MURANO I I* M i ZIi I: I : 11i:1 $12,999 $15,999' $1190 0R $149P 0PR Model# 11462, Vin# 287990 Model# 31112, Vin# 461839 1 OR MORE AVAILABLE AT THIS PRICE, 83,999 DUE AT SIGNING. 1 OR MORE AVAILABLE AT THIS PRICE, $3,999 DUE AT SIGNING. $17,9999 $139o 0 PO Model# 22112, Vin# 613231 1 OR MORE AVAILABLE AT THIS PRICE, $3,999 DUE AT SIGNING. $24,999 $219o 0oI Model# 23112, Vin# 120649 1 OR MORE AVAILABLE AT THIS PRICE, $3,999 DUE AT SIGNING. ~1E N VA CALL THE INSTANT APPRAISAL LINE: 800-440-9054 G CRYSTAL NISSAN 352-564-1971 N 937 S. Suncoast Blvd. Homosassa, FL 22 CRYSTALAUTOS.COM. WAC. *LEASES ARE FOR 39 MONTHS 39,000 MILES FOR THE LIFE OF THE LEASE. 15 CENTS PER MILE OVER. $3999 DUE AT SIGNING WITH APPROVED CREDIT. **0%, SPECIAL FINANCE OFFERS AND NO PAYMENTS UNTIL MARCH 2013 ARE AVAILABLE WITH APPROVED CREDIT, NOT EVERYONE WILL QUALIFY. OFFERS CANNOT BE COMBINED. PICTURES ARE FOR ILLUSTRATION PURPOSES ONLY, PRIOR SALES MAY RESTRICT STOCK. CITRUS COUNTY (FL) CHRONICLE k4 400% 4 MD83P C18 SATURDAY NOVEMBER 24, 2012 T~~~1r ISSSS I S S DARE TO COIMPARE ^ MA THEBEST/C A R- W.IN 2013 CHEVROLET MALIBU 4i *1-'I9I 1= fI BUY $981 FOR 1 9 1 2013 CHEVROLET SPARK c ;A gIe-I 3 e m I *9,868* 2012 CHEVROLET CRUZE FE4 H 15 E I A .WITF BUY $|15,OOn FOR 159800 2013 CHEVROLET EQUINOX *:e, p: BUY FOR 380 2013 CHEVROLET CAMARO *6*1 I -.* I 55 I BUY FOR 778 2012 CHEVROLET SILVERADO EXT ~~~Ui--L FL R18,749 ^^'CALZL TEINSTV^'JANTPPRISL LINE: CALL THE INSTANT APPRAISAL LINE: 800-440-os CHEVROLET CrystalAutos.com * 1035 South Suncoast Blvd. Homosassa, FL 34448 352-795-1515 *PRICE INCLUDES ALL REBATES AND INCENTIVES, NOT ALL WILL QUALIFY, PLUS $2999 CASH OR TRADE EQUITY. EXCLUDES TAX, TAG, TITLE AND DEALER FEE OF $599.50 WITH APPROVED CREDIT. PICTURES ARE FOR ILLUSTRATION PURPOSES ONLY, PRIOR SALES MAY RESTRICT STOCK. 000DAnM BUY FOR K v R-4 mmp. Chevy Runs Deep CITRUS COUNTY (FL) CHRONICLE "f 16 M~bk,."' \ Contact Us | Permissions | Preferences | Technical Aspects | Statistics | Internal | Privacy Policy © 2004 - 2011 University of Florida George A. Smathers Libraries.All rights reserved. Terms of Use for Electronic Resources and Copyright Information Powered by SobekCM
http://ufdc.ufl.edu/UF00028315/02957
CC-MAIN-2019-09
refinedweb
58,033
79.26
Machine State - memory, registers, and so on So far, we've only used angr's simulated program states ( SimState objects) in the barest possible way in order to demonstrate basic concepts about angr's operation. Here, you'll learn about the structure of a state object and how to interact with it in a variety of useful ways. Review: Reading and writing memory and registers If you've been reading this book in order (and you should be, at least for this first section), you already saw the basics of how to access memory and registers. state.regs provides read and write access to the registers through attributes with the names of each register, and state.mem provides typed read and write access to memory with index-access notation to specify the address followed by an attribute access to specify the type you would like to interpret the memory as. Additionally, you should now know how to work with ASTs, so you can now understand that any bitvector-typed AST can be stored in registers or memory. Here are some quick examples for copying and performing operations on data from the state: import angr proj = angr.Project('/bin/true') state = proj.factory.entry_state() # copy rsp to rbp state.regs.rbp = state.regs.rsp # store rdx to memory at 0x1000 state.mem[0x1000].uint64_t = state.regs.rdx # dereference rbp state.regs.rbp = state.mem[state.regs.rbp].uint64_t.resolved # add rax, qword ptr [rsp + 8] state.regs.rax += state.mem[state.regs.rsp + 8].uint64_t.resolved Basic Execution Earlier, we showed how to use a Simulation Manager to do some basic execution. We'll show off the full capabilities of the simulation manager in the next chapter, but for now we can use a much simpler interface to demonstrate how symbolic execution works: state.step(). This method will perform one step of symbolic execution and return an object called SimSuccessors. Unlike normal emulation, symbolic execution can produce several successor states that can be classified in a number of ways. For now, what we care about is the .successors property of this object, which is a list containing all the "normal" successors of a given step. Why a list, instead of just a single successor state? Well, angr's process of symbolic execution is just the taking the operations of the individual instructions compiled into the program and performing them to mutate a SimState. When a line of code like if (x > 4) is reached, what happens if x is a symbolic bitvector? Somewhere in the depths of angr, the comparison x > 4 is going to get performed, and the result is going to be <Bool x_32_1 > 4>. That's fine, but the next question is, do we take the "true" branch or the "false" one? The answer is, we take both! We generate two entirely separate successor states - one simulating the case where the condition was true and simulating the case where the condition was false. In the first state, we add x > 4 as a constraint, and in the second state, we add !(x > 4) as a constraint. That way, whenever we perform a constraint solve using either of these successor states, the conditions on the state ensure that any solutions we get are valid inputs that will cause execution to follow the same path that the given state has followed. To demonstrate this, let's use a fake firmware image as an example. If you look at the source code for this binary, you'll see that the authentication mechanism for the firmware is backdoored; any username can be authenticated as an administrator with the password "SOSNEAKY". Furthermore, the first comparison against user input that happens is the comparison against the backdoor, so if we step until we get more than one successor state, one of those states will contain conditions constraining the user input to be the backdoor password. The following snippet implements this: 'examples/fauxware/fauxware') state = proj.factory.entry_state() while True: succ = state.step() if len(succ.successors) == 2: break state = succ.successors[0] state1, state2 = succ.successors state1 <SimState @ 0x400629> state2 <SimState @ 0x400699proj = angr.Project( Don't look at the constraints on these states directly - the branch we just went through involves the result of strcmp, which is a tricky function to emulate symbolically, and the resulting constraints are very complicated. The program we emulated took data from standard input, which angr treats as an infinite stream of symbolic data by default. To perform a constraint solve and get a possible value that input could have taken in order to satisfy the constraints, we'll need to get a reference to the actual contents of stdin. We'll go over how our file and input subsystems work later on this very page, but for now, just use state.posix.files[0].all_bytes() to retrieve a bitvector represnting all the content read from stdin so far. 0].all_bytes() state1.solver.eval(input_data, cast_to=str) '\x00\x00\x00\x00\x00\x00\x00\x00\x00SOSNEAKY\x00\x00\x00' state2.solver.eval(input_data, cast_to=str) '\x00\x00\x00\x00\x00\x00\x00\x00\x00S\x00\x80N\x00\x00 \x00\x00\x00\x00'input_data = state1.posix.files[ As you can see, in order to go down the state1 path, you must have given as a password the backdoor string "SOSNEAKY". In order to go down the state2 path, you must have given something besides "SOSNEAKY". z3 has helpfully provided one of the billions of strings fitting this criteria. Fauxware was the first program angr's symbolic execution ever successfully worked on, back in 2013. By finding its backdoor using angr you are participating in a grand tradition of having a bare-bones understanding of how to use symbolic execution to extract meaning from binaries! State Presets So far, whenever we've been working with a state, we've created it with project.factory.entry_state(). This is just one of several state constructors available on the project factory: .blank_state()constructs a "blank slate" blank state, with most of its data left uninitialized. When accessing uninitialized data, an unconstrained symbolic value will be returned. .entry_state()constructs a state ready to execute at the main binary's entry point. .full_init_state()constructs a state that is ready to execute through any initializers that need to be run before the main binary's entry point, for example, shared library constructors or preinitializers. When it is finished with these it will jump to the entry point. .call_state()constructs a state ready to execute a given function. You can customize the state through several arguments to these constructors: All of these constructors can take an addrargument to specify the exact address to start. If you're executing in an environment that can take command line arguments or an environment, you can pass a list of arguments through argsand a dictionary of environment variables through envinto entry_stateand full_init_state. The values in these structures can be strings or bitvectors, and will be serialized into the state as the arguments and environment to the simulated execution. The default argsis an empty list, so if the program you're analyzing expects to find at least an argv[0], you should always provide that! If you'd like to have argcbe symbolic, you can pass a symbolic bitvector as argcto the entry_stateand full_init_stateconstructors. Be careful, though: if you do this, you should also add a constraint to the resulting state that your value for argc cannot be larger than the number of args you passed into args. To use the call state, you should call it with .call_state(addr, arg1, arg2, ...), where addris the address of the function you want to call and argNis the Nth argument to that function, either as a python integer, string, or array, or a bitvector. If you want to have memory allocated and actually pass in a pointer to an object, you should wrap it in an PointerWrapper, i.e. angr.PointerWrapper("point to me!"). The results of this API can be a little unpredictable, but we're working on it. To specify the calling convention used for a function with call_state, you can pass a SimCCinstance as the ccargument. We try to pick a sane default, but for special cases you will need to help angr out. There are several more options that can be used in any of these constructors, which will be outlined later on this page! Low level interface for memory The state.mem interface is convenient for loading typed data from memory, but when you want to do raw loads and stores to and from ranges of memory, it's very cumbersome. It turns out that state.mem is actually just a bunch of logic to correctly access the underlying memory storage, which is just a flat address space filled with bitvector data: state.memory. You can use state.memory directly with the .load(addr, size) and .store(addr, val) methods: 0x4000, s.solver.BVV(0x0123456789abcdef0123456789abcdef, 128)) s.memory.load(0x4004, 6) # load-size is in bytes <BV48 0x89abcdef0123>s = proj.factory.blank_state() s.memory.store( As you can see, the data is loaded and stored in a "big-endian" fashion, since the primary purpose of state.memory is to load an store swaths of data with no attached semantics. However, if you want to perform a byteswap on the loaded or stored data, you can pass a keyword argument endness - if you specify little-endian, byteswap will happen. The endness should be one of the members of the Endness enum in the archinfo package used to hold declarative data about CPU architectures for angr. Additionally, the endness of the program being analyzed can be found as arch.memory_endness - for instance state.arch.memory_endness. import archinfo s.memory.load(0x4000, 4, endness=archinfo.Endness.LE) <BV32 0x67453201> There is also a low-level interface for register access, state.registers, that uses the exact same API as state.memory, but explaining its behavior involves a dive into the abstractions that angr uses to seamlessly work with multiple architectures. The short version is that it is simply a register file, with the mapping between registers and offsets defined in archinfo. State Options There are a lot of little tweaks that can be made to the internals of angr that will optimize behavior in some situations and be a detriment in others. These tweaks are controlled through state options. On each SimState object, there is a set ( state.options) of all its enabled options. Each option (really just a string) controls the behavior of angr's execution engine in some minute way. A listing of the full domain of options, along with the defaults for different state types, can be found in the appendix. You can access an individual option for adding to a state through angr.options. The individual options are named with CAPITAL_LETTERS, but there are also common groupings of objects that you might want to use bundled together, named with lowercase_letters. When creating a SimState through any constructor, you may pass the keyword arguments add_options and remove_options, which should be sets of options that modify the initial options set from the default. # Example: enable lazy solves, an option that causes state satisfiability to be checked as infrequently as possible. # This change to the settings will be propagated to all successor states created from this state after this line. s.options.add(angr.options.LAZY_SOLVES) # Create a new state with lazy solves enabled s = proj.factory.entry_state(add_options={angr.options.LAZY_SOLVES}) # Create a new state without simplification options enabled s = proj.factory.entry_state(remove_options=angr.options.simplification) State Plugins With the exception of the set of options just discussed, everything stored in a SimState is actually stored in a plugin attached to the state. Almost every property on the state we've discussed so far is a plugin - memory, registers, mem, regs, solver, etc. This design allows for code modularity as well as the ability to easily implement new kinds of data storage for other aspects of an emulated state, or the ability to provide alternate implementations of plugins. For example, the normal memory plugin simulates a flat memory space, but analyses can choose to enable the "abstract memory" plugin, which uses alternate data types for addresses to simulate free-floating memory mappings independent of address, to provide state.memory. Conversely, plugins can reduce code complexity: state.memory and state.registers are actually two different instances of the same plugin, since the registers are emulated with an address space as well. The globals plugin state.globals is an extremely simple plugin: it implements the interface of a standard python dict, allowing you to store arbitrary data on a state. The history plugin state.history is a very important plugin storing historical data about the path a state has taken during execution. It is actually a linked list of several history nodes, each one representing a single round of execution---you can traverse this list with state.history.parent.parent etc. To make it more convenient to work with this structure, the history also provides several efficient iterators over the history of certain values. In general, these values are stored as history.recent_NAME and the iterator over them is just history.NAME. For example, for addr in state.history.bbl_addrs: print hex(addr) will print out a basic block address trace for the binary, while state.history.recent_bbl_addrs is the list of basic blocks executed in the most recent step, state.history.parent.recent_bbl_addrs is the list of basic blocks executed in the previous step, etc. If you ever need to quickly obtain a flat list of these values, you can access .hardcopy, e.g. state.history.bbl_addrs.hardcopy. Keep in mind though, index-based accessing is implemented on the interators. Here is a brief listing of some of the values stored in the history: history.descriptionsis a listing of string descriptions of each of the rounds of execution performed on the state. history.bbl_addrsis a listing of the basic block addresses executed by the state. There may be more than one per round of execution, and not all addresses may correspond to binary code - some may be addresses at which SimProcedures are hooked. history.jumpkindsis a listing of the disposition of each of the control flow transitions in the state's history, as VEX enum strings. history.guardsis a listing of the conditions guarding each of the branches that the state has encountered. history.eventsis a semantic listing of "interesting events" which happened during execution, such as the presence of a symbolic jump condition, the program popping up a message box, or execution terminating with an exit code. history.actionsis usually empty, but if you add the angr.options.refsoptions to the state, it will be popluated with a log of all the memory, register, and temporary value accesses performed by the program. The callstack plugin angr will track the call stack for the emulated program. On every call instruction, a frame will be added to the top of the tracked callstack, and whenever the stack pointer drops below the point where the topmost frame was called, a frame is popped. This allows angr to robustly store data local to the current emulated function. Similar to the history, the callstack is also a linked list of nodes, but there are no provided iterators over the contents of the nodes - instead you can directly iterate over state.callstack to get the callstack frames for each of the active frames, in order from most recent to oldest. If you just want the topmost frame, this is state.callstack. callstack.func_addris the address of the function currently being executed callstack.call_site_addris the address of the basic block which called the current function callstack.stack_ptris the value of the stack pointer from the beginning of the current function callstack.ret_addris the location that the current function will return to if it returns The posix plugin TODO Working with the Filesystem TODO: Describe what a SimFile is There are a number of options which can be passed to the state initialization routines which affect filesystem usage. These include the fs, concrete_fs, and chroot options. The fs option allows you to pass in a dictionary of file names to preconfigured SimFile objects. This allows you to do things like set a concrete size limit on a file's content. Setting the concrete_fs option to True will cause angr to respect the files on disk. For example, if during simulation a program attempts to open 'banner.txt' when concrete_fs is set to False (the default), a SimFile with a symbolic memory backing will be created and simulation will continue as though the file exists. When concrete_fs mode is set to True, if 'banner.txt' exists a new SimFile object will be created with a concrete backing, reducing the resulting state explosion which would be caused by operating on a completely symbolic file. Additionally in concrete_fs mode if 'banner.txt' mode does not exist, a SimFile object will not be created upon calls to open during simulation and an error code will be returned. Additionally, it's important to note that attempts to open files whose path begins with '/dev/' will never be opened concretely even with concrete_fs set to True. The chroot option allows you to specify an optional root to use while using the concrete_fs option. This can be convenient if the program you're analyzing references files using an absolute path. For example, if the program you are analyzing attempts to open '/etc/passwd', you can set the chroot to your current working directory so that attempts to access '/etc/passwd' will read from '$CWD/etc/passwd'. '/dev/stdin': angr.storage.file.SimFile("/dev/stdin", "r", size=30)} s = proj.factory.entry_state(fs=files, concrete_fs=True, chroot="angr-chroot/")files = { This example will create a state which constricts at most 30 symbolic bytes from being read from stdin and will cause references to files to be resolved concretely within the new root directory angr-chroot. Copying and Merging A state supports very fast copies, so that you can explore different possibilities: '/bin/true') s = proj.factory.blank_state() s1 = s.copy() s2 = s.copy() s1.mem[0x1000].uint32_t = 0x41414141 s2.mem[0x1000].uint32_t = 0x42424242proj = angr.Project( States can also be merged together. # merge will return a tuple. the first element is the merged state # the second element is a symbolic variable describing a state flag # the third element is a boolean describing whether any merging was done (s_merged, m, anything_merged) = s1.merge(s2) # this is now an expression that can resolve to "AAAA" *or* "BBBB" aaaa_or_bbbb = s_merged.mem[0x1000].uint32_t TODO: describe limitations of merging
https://docs.angr.io/docs/states.html
CC-MAIN-2017-51
refinedweb
3,117
54.73
JDBM to store several million records, essentially mappings from a 10 byte array key to a 20 byte array value.. It seems that the system runs out of memory after a little while. I created a small testcase to demonstrate the issue, see below (where keys and values were changed for longs). I run this with a max heap size of 32M to illustrate the situation. If the keys are consecutive, the problem doesn't appear (but that might just be for the first millions). A heapdump shows that there are quite a few PhysicalRowId objects and most of the memory (90%) is allocated to byte arrays. I've tested this with the 1.0 version, as well as the latest from the SVN trunk. Any ideas on this issue? Kind regards, Floris import java.io.File; import java.io.IOException; import jdbm.RecordManager; import jdbm.RecordManagerFactory; import jdbm.btree.BTree; import jdbm.helper.LongComparator; import jdbm.helper.LongSerializer; public class Main { private static String FOLDER = "c:\\temp\\jdbm\\"; public static void main(String[] args) throws IOException{ for (File f : new File(FOLDER).listFiles()) f.delete(); RecordManager mgr = RecordManagerFactory.createRecordManager(FOLDER); BTree tree = BTree.createInstance( mgr, new LongComparator(), new LongSerializer(), new LongSerializer() ); mgr.setNamedObject( "test", tree.getRecid() ); for (long i =0; i < 2500000; i++) { tree.insert((long)(Math.random()*1000000000), i, false); if (i % 10000 == 0) mgr.commit(); } } } < face=Arial> <DIV>I haven't had time to try your test. I don't see any issues straight away. If you commit more frequently (like every 1000 inserts), do you still see the issue?</DIV> <DIV> </DIV> <DIV>If the issue goes away at that point, then the problem is most likely related to the transaction manager's dirty page list. All dirty pages are held in RAM until commit is called, and even then there are a number of committed transactions that are held in RAM to make flushing to the database file faster - by default, this is 10 transactions worth of changes. So even though you are comitting every 10K inserts, what you really have is a high watermark of 100K worth of inserts in the transaction manager.</DIV> <DIV> </DIV> <DIV>It may be worth determining the approximate iteration number you are at when the out of memory error throws, back that off by 20%, then set a debug point at that level and take a look at TansactionManager.txns to get a feel for the total number of BlockIo objects that are being held.</DIV> <DIV> </DIV> <DIV>- K<BR></DIV> <DIV> </DIV></FONT> <DIV style="FONT-FAMILY: Tahoma; FONT-SIZE: x-small"> <DIV>----------------------- <B>Original Message</B> -----------------------</DIV> <DIV> </DIV> <DIV><B>From:</B> Floris Ouwendijk <A href="mailto:floris233@..."><FONT color=#0000ff><floris233@...></FONT></A></DIV> <DIV><B>To:</B> <A href="mailto:jdbm-general@..."><FONT color=#0000ff>jdbm-general@...</FONT></A></DIV> <DIV><B>Cc:</B> </DIV> <DIV><B>Date:</B> Sat, 28 Nov 2009 22:55:19 +0100</DIV> <DIV><B>Subject: <U>[Jdbm-general] Out of memory error</U></B></DIV> <DIV> </DIV></DIV><FONT size=2 face=Tahoma> <DIV>Hi,<BR><BR>I'm using JDBM to store several million records, essentially mappings<BR>from a 10 byte array key to a 20 byte array value.. It seems that the<BR>system runs out of memory after a little while. I created a small<BR>testcase to demonstrate the issue, see below (where keys and values<BR>were changed for longs). I run this with a max heap size of 32M to<BR>illustrate the situation. If the keys are consecutive, the problem<BR>doesn't appear (but that might just be for the first millions). A<BR>heapdump shows that there are quite a few PhysicalRowId objects and<BR>most of the memory (90%) is allocated to byte arrays.<BR>I've tested this with the 1.0 version, as well as the latest from the SVN trunk.<BR><BR>Any ideas on this issue?<BR><BR>Kind regards,<BR>Floris<BR><BR>import java.io.File;<BR>import java.io.IOException;<BR>import jdbm.RecordManager;<BR>import jdbm.RecordManagerFactory;<BR>import jdbm.btree.BTree;<BR>import jdbm.helper.LongComparator;<BR>import jdbm.helper.LongSerializer;<BR><BR>public class Main {<BR> private static String<FONT color=#0000ff></FONT></A><BR>_______________________________________________<BR>Jdbm-general mailing list<BR><A href="mailto:Jdbm-general@..."><FONT color=#0000ff>Jdbm-general@...</FONT></A><BR><A href=""><FONT color=#0000ff></FONT></A><BR><BR></DIV></FONT></BODY></HTML>
https://sourceforge.net/p/jdbm/mailman/message/24070422/
CC-MAIN-2017-47
refinedweb
753
50.33
PyCon 2004 March 24, 2004 A.M. Kuchling amk @ amk.ca Quixote is a Web development framework written in Python. Some of Quixote's goals: Related tools: Sites: Applications: Quixote was originally written for the MEMS Exchange, a project that aims to implement a network for distributed semiconductor fabrication, a network coordinated over the web. For more information about the architecture we used on that project, see "The MEMS Exchange Architecture", a paper presented at PyCon 2003. Linux Weekly News is the highest-traffic Quixote site, and demonstrates that Quixote can be pretty scalable. Using Quixote and mod_python, LWN survived a Slashdotting while running on a relatively small machine, a 1GHz Pentium with 512Mb of RAM. Most Quixote projects are for internal use. One publicly available project is Cartwheel, which performs genomic sequence analysis. I'm working on a Slashdot clone named Solidus, and hope to have an alpha version available before PyCon. → ['catalog', 'item', 'details'] → store.web._q_index() → store.web.catalog() or store.web.catalog._q_index /catalog/item/ → store.web.catalog.item() or store.web.catalog.item._q_index() output = store.web.catalog(request) Quixote applications are Python packages, so they can be installed using the Distutils and similar tools. Incoming HTTP requests are mapped to a chunk of Python code, which is executed and passed an object representing the contents of the request; the code returns a string containing the contents that will be returned to the client. The code to be run to determined like this. store.web. /catalog/item/detailsbecomes ['catalog', 'item', 'details']. store.web, and finds the corresponding object. store.web.catalog, and so forth. __call__method -- it's called. If not, Quixote looks for a _q_indexmethod. request, and must return a string. (Actually, it can also return an instance of a Streamclass in order to return streaming output.) This is something like Zope's traversal, but the rules are simpler; applications can't change this algorithm or override it. There are still some special names, though, that we'll look at after providing a simple example. From quixote/demo/__init__.py: # Every publicly accessible attribute has to be listed in _q_exports. _q_exports = ["simple"] def _q_index (request): return """...""" def simple (request): # This function returns a plain text document, not HTML. request.response.set_content_type("text/plain") return "This is the Python function 'quixote.demo.simple'.\n" Because Quixote publishes the contents of Python modules, there has to be a way of declaring which functions should be considered public and can be called through HTTP requests. This is done by listing the public names in a _q_exports module variable or object attribute; Quixote will not traverse into an object or module that lacks a _q_exports attribute. All the names special to Quixote begin with _q_. _q_index: If traversal ends up at an object that isn't callable, this name is checked for and called. _q_lookup: if an attribute isn't found, this name is checked for and called with the attribute. _q_access: at every step, this name is checked for and called to perform access checks. _q_resolve: like a memoized version of _q_lookup (rarely used) This example handles URLs such as /whatever/1/, .../2/, etc. def _q_lookup (request, component): try: key = int(component) except ValueError: raise TraversalError("URL component is not an integer") obj = ... database lookup (key) ... if obj is None: raise TraversalError("No such object.") # Traversal will continue with the ObjectUI instance return ObjectUI(obj) _q_access is always called before traversing any further. This example requires that all users must be logged in. from quixote.errors import AccessError, TraversalError def _q_access (request): if request.session.user is None: raise AccessError("You must be logged in.") # exits quietly if nothing is wrong def _q_index [html] (request): """Here is some security-critical material ...""" _q_access is used to impose an access control condition on an entire object; this saves the user from having to add access control checks to each attribute and running the risk of forgetting one. At every step of traversal, _q_access is checked for and called if present. The function can raise an exception to abort further traversal; if no exception is raised, any return value is ignored. .response-- a HTTPResponse instance .session-- a Session instance request.get_environ('SERVER_PORT', 80) request.get_form_var('user')-- get form variables request.get_cookie('session')-- get cookie values request.get_url(n=1) request.get_accepted_types() browser, version = request.guess_browser_version() return request.redirect('../../catalog') .headers-- dict of HTTP headers .cache-- number of seconds to cache response .set_content_type('text/plain') .set_cookie('session', '12345', path='/') .expire_cookie('session') Instead of Publisher, use SessionPublisher: from quixote.publisher import SessionPublisher app = SessionPublisher('quixote.demo') The request will then have a .session attribute containing a Session instance. Two other classes: SessionManager-- stores/retrieves sessions Session-- can hold .userattribute SessionManager is a dictionary-like object responsible for storing sessions. The default implementation stores sessions in-memory, but you can provide your own session manager that stores them using a persistence mechanism such as ZODB or a relational database. The only interesting attribute of Session is a .user attribute, whose value is undefined by Quixote and left up to the application. Several options: demo.cgi: #!/www/python/bin/python # Example driver script for the Quixote demo: # publishes the quixote.demo package. from quixote import Publisher # Create a Publisher instance, giving it the root package name app = Publisher('quixote.demo') # Open the configured log files app.setup_logs() # Enter the publishing main loop app.publish_cgi() The above code will also handle FastCGI. CGI scripts will run through publish_cgi() once and exit; under FastCGI it will loop and service multiple requests. Running a server on localhost is really easy: import os, time from quixote.server import medusa_http if __name__ == '__main__': s = medusa_http.Server('quixote.demo', port=8000) s.run() This can even be used for writing desktop applications: run a Quixote server locally and use Python's webbrowser.open() module to open a browser pointing at it. PTL = Python Templating Language example.ptl: # To callers, templates behave like regular Python functions def cell [html] (content): '<td>' # Literal expressions are appended to the output content # Expressions are evaluated, too. '</td>' def row [html] (L): # L: list of strings containing cell content '<tr>' for s in L: cell(s) '</tr>\n' def loop (n): # No [html], so this is a regular Python function output = "" for i in range(1, 10): output += row([str(i), i*'a', i*'b']) return output Templates live in .ptl files, which can be imported. To enable this: import quixote ; quixote.enable_ptl() # Enable import hook Templates behave just like Python functions: >>> import example >>> example.cell('abc') <htmltext '<td>abc</td>'> >>> example.loop() <htmltext '<tr><td>1</td><td>a</td><td>b</td>...</tr>\n'> In .ptl files, methods can even be PTL files. PTL's advantages over other syntaxes: for, if, while, exceptions, classes, nested functions. def no_quote [plain] (arg): '<title>' arg # Converted to string '</title>' def quote [html] (arg): '<title>' arg # Converted to string and HTML-escaped '</title>' >>> no_quote('A history of the < symbol') '<title>A history of the < symbol</title>' >>> quote('A history of the < symbol') <htmltext '<title>A history of the < symbol</title>'> By using '[html]' instead of '[plain]', string literals are compiled as htmltext instances. When combined with regular strings using a + b or '%s' % b, htmltext HTML-escapes the regular string. This mechanism is both a convenience for the application writer and a security feature. Cross-site scripting (XSS) attacks are a class of security hole caused by forgetting to escape HTML tags in untrusted data; you might forget to escape the title of a mail message, for example. An attacker could insert JavaScript that opened pop-up windows or redirected the user to another site. It's easy to forget the required function call, and forgetting to escape a single snippet is all it takes. PTL's automatic escaping trusts only the string literals supplied in the program text, and it also fails securely. When you mess up, the usual result is double-escaping a string, resulting in web site users seeing '<p>blah blah blah...'. This is embarrassing, but doesn't open up any vulnerabilities. It should be remembered that while we think PTL is really neat, it's still optional. Using alternative templating isn't hard, and there are Quixote users who never use PTL. Graham Fawcett wrote a small Nevow implementation. from nevow import * _q_exports = ['template'] def template(doctitle, docbody): """ A page template. The stylesheet is there as a visual check that class and id attributes are set properly. """ return html [ head [ title[doctitle], style(type='text/css')[ 'body { background-color: lightblue; } ', '.section { border: blue 3px solid; padding: 6px; } ', '#mainbody { background-color: white; } ' ], ], body [ h1 [doctitle], div({'class':'section'}, id='mainbody')[docbody], hr ] ] Quixote contains a set of classes for implementing forms. Example: from quixote.form import Form class UserForm (Form): def __init__ (self): Form.__init__(self) user = get_session().user self.add_widget("string", "name", title="Your name", value=user.name) self.add_widget("password", "password1", title="Password", value="") self.add_widget("password", "password2", title="Password, again", value="") self.add_widget("single_select", "vote", title = "Vote on proposal", allowed_values=[None] + range(4), descriptions=['No vote', '+1', '+0', '-0', '-1'], hint = "Your vote on this proposal") self.add_widget("submit_button", "submit", value="Update information") The basic idea is that you subclass the Form class to create a single new form. A form contains a number of widgets. Widgets represent a form element such as a text field or checkbox, or multiple form elements; multiple form elements could be used to enter a date, for example. Widgets can also perform additional checks such as requiring that a text field contain an integer. The framework handles processing of a form. The Form instance creates widgets in its __init__ method. The render() method is called to generate HTML to display the form. On submitting the form, the process() method is called to read the values of fields and perform any error checking, and if no errors are reported, the action() method is called to perform the actual work of the form (e.g. inserting data into a database, sending an e-mail, etc.). For a more detailed explanation of the form framework, see part 2 of the Quixote tutorial at. class UserForm (Form): ... def render [html] (self, request, action_url): standard.header("Edit Your User Information") Form.render(self, request, action_url) standard.footer() def process (self, request): values = Form.process(self, request) if not (values['password1'] == values['password2']): self.error['password1'] = 'The two passwords must match.' return values def action (self, request, submit, values): user = request.session.user user.name = values['name'] if values['password1'] is not None: user.password = values['password1'] return request.response.redirect(request.get_url(1)) This render() implementation uses the default rendering of the form, but wraps our own header/footer around that rendering. process() gets the values and performs error checks. action() does the work of the form, and can assume the input data is all correct. For Quixote-only apps, you often need to return static files such as PNGs, PDFs, etc. from quixote.util import StaticFile, StaticDirectory _q_exports = ['images', 'report_pdf'] report_pdf = StaticFile('/www/sites/qx/docroot/report.pdf', mime_type='application/pdf' images = StaticDirectory('/www/sites/qx/docroot/images/') The quixote.util module also contains helpers for XML-RPC, for streaming files back to the client, etc. These classes includes a number of conveniences. If you don't provide a MIME media type, Python's mimetypes module will be used to guess the correct MIME type. Files can optionally be cached in memory to save on I/O. StaticDirectory defaults to security: it doesn't follow symlinks or allow listing the directory unless you explicitly enable this. The canonical bad URL: ?item=9876543&display=complete&tag=nfse_lfde A better set of URLs: .../brief .../features Quixote features such as _q_lookup make it easy to support sensible URLs. Don't mix the basic objects for your problem with the HTML for the user interface. For each object, represent it by a class and put the user interface in a *UI class elsewhere. Advantages: Directory organization: qx/bin/ # Various scripts qx/conference/__init__.py # Marker qx/conference/objects.py # Basic objects: Proposal, Author, Review qx/ui/conference/__init__.py qx/ui/conference/email.ptl # Text of e-mail messages qx/ui/conference/standard.ptl # Header, footer, display_proposal() qx/ui/conference/pages.ptl # Login form, base CSS qx/ui/conference/proposal.ptl # ProposalUI class Naming conventions for common modules: application/ui/standard.ptl-- header(), footer(), and any other commonly-used HTML snippets. application/session.py-- application/pages.ptl-- PTL pages not tied to an object These slides: Quixote BoF session: Tonight at 8PM, in Room 1 Quixote home page: Quixote resources:
http://www.python.org/community/pycon/dc2004/papers/12/
crawl-002
refinedweb
2,107
51.14
I am working on this program that continuously requests a numeric score to be entered. If the score is less than 0 or greater than 100, your program should display an appropriate message informing the user that an invalid score has been entered. If the score is valid, the score should be added to a total. When a score of 999 is entered, the program should exit and compute the display of the average of the valid grades entered. I have been working on this for a while now and I think I am stuck. It is accepting the input but that is it. If I enter 3333, or xyz which should be considered invalid it keeps running. If I enter 999 which is supposed to exit it keeps running. I am not sure where everything is going wrong. It might be something simple or I might be way off. I am very new to this. I tried to keep everything as close to the project guidelines as possible so I cant deviate far from the structure that I have. Code:import java.io.*; import javax.swing.JOptionPane; public class Grades { public static void main(String [] args) throws IOException { addScore(); } //declare, initialize variables public static void addScore() { double grade = 0; double total = 0; int count = 0; boolean done = false; while(!done) do { promptUser(grade); if (grade == 999); { done = true; } if (grade >= 0 && grade <= 100) { count = count +1; total = total + grade; } else { JOptionPane.showMessageDialog(null, "Please enter a number from 0 through 100." + "\nEnter 999 to display the average and quit.", "Error", JOptionPane.ERROR_MESSAGE); } } while (true); { average(total,count); } } public static double promptUser(double grade) { JOptionPane.showInputDialog(null, "Enter the grade from 0 to 100,using only numerals." + "\nEnter 999 to display the average of all grades entered." + "\nThis will also quit the program:"); return grade; } public static void average(double total, int count) { total = total/count; } public static void displayResult(double result) { JOptionPane.showMessageDialog(null,"The average of all" +" grades entered is "+ result); } }
http://forums.devshed.com/java-help-9/grades-java-using-methods-568420.html
CC-MAIN-2018-17
refinedweb
333
64.91
Managing dynamic memory allocations in C++ C++ supports dynamic allocation of objects using new. For new objects to not leak, they must be deleted. This is quite difficult to do correctly in complex code. Smart pointers are the canonical solution. Mozilla has historically used nsAutoPtr, and C++98 provided std::auto_ptr, to manage singly-owned new objects. But nsAutoPtr and std::auto_ptr have a bug: they can be “copied.” The following code allocates an int. When is that int destroyed? Does destroying ptr1 or ptr2 handle the task? What does ptr1 contain after ptr2‘s gone out of scope? typedef auto_ptr<int> auto_int; { auto_int ptr1(new int(17)); { auto_int ptr2 = ptr1; // destroy ptr2 } // destroy ptr1 } Copying or assigning an auto_ptr implicitly moves the new object, mutating the input. When ptr2 = ptr1 happens, ptr1 is set to nullptr and ptr2 has a pointer to the allocated int. When ptr2 goes out of scope, it destroys the allocated int. ptr1 is nullptr when it goes out of scope, so destroying it does nothing. Fixing auto_ptr Implicit-move semantics are safe but very unclear. And because these operations mutate their input, they can’t take a const reference. For example, auto_ptr has an auto_ptr::auto_ptr(auto_ptr&) constructor but not an auto_ptr::auto_ptr(const auto_ptr&) copy constructor. This breaks algorithms requiring copyability. We can solve these problems with a smart pointer that prohibits copying/assignment unless the input is a temporary value. (C++11 calls these rvalue references, but I’ll use “temporary value” for readability.) If the input’s a temporary value, we can move the resource out of it without disrupting anyone else’s view of it: as a temporary it’ll die before anyone could observe it. (The rvalue reference concept is incredibly subtle. Read that article series a dozen times, and maybe you’ll understand half of it. I’ve spent multiple full days digesting it and still won’t claim full understanding.) Presenting mozilla::UniquePtr I’ve implemented mozilla::UniquePtr in #include "mozilla/UniquePtr.h" to fit the bill. It’s based on C++11’s std::unique_ptr (not always available right now). UniquePtr provides auto_ptr‘s safety while providing movability but not copyability. UniquePtr template parameters Using UniquePtr requires the type being owned and what will ultimately be done to generically delete it. The type is the first template argument; the deleter is the (optional) second. The default deleter performs delete for non-array types and delete[] for array types. (This latter improves upon auto_ptr and nsAutoPtr [and the derivative nsAutoArrayPtr], which fail horribly when used with new[].) UniquePtr<int> i1(new int(8)); UniquePtr<int[]> arr1(new int[17]()); Deleters are callable values, that are called whenever a UniquePtr‘s object should be destroyed. If a custom deleter is used, it’s a really good idea for it to be empty (per mozilla::IsEmpty<D>) so that UniquePtr<T, D> is as space-efficient as a raw pointer. struct FreePolicy { void operator()(void* ptr) { free(ptr); } }; { void* m = malloc(4096); UniquePtr<void, FreePolicy> mem(m); int* i = static_cast<int*>(malloc(sizeof(int))); UniquePtr<int, FreePolicy> integer(i); // integer.getDeleter()(i) is called // mem.getDeleter()(m) is called } Basic UniquePtr construction and assignment As you’d expect, no-argument construction initializes to nullptr, a single pointer initializes to that pointer, and a pointer and a deleter initialize embedded pointer and deleter both. UniquePtr<int> i1; assert(i1 == nullptr); UniquePtr<int> i2(new int(8)); assert(i2 != nullptr); UniquePtr<int, FreePolicy> i3(nullptr, FreePolicy()); Move construction and assignment All remaining constructors and assignment operators accept only nullptr or compatible, temporary UniquePtr values. These values have well-defined ownership, in marked contrast to raw pointers. class B { int i; public: B(int i) : i(i) {} virtual ~B() {} // virtual required so delete (B*)(pointer to D) calls ~D() }; class D : public B { public: D(int i) : B(i) {} }; UniquePtr<B> MakeB(int i) { typedef UniquePtr<B>::DeleterType BDeleter; // OK to convert UniquePtr<D, BDeleter> to UniquePtr<B>: // Note: For UniquePtr interconversion, both pointer and deleter // types must be compatible! Thus BDeleter here. return UniquePtr<D, BDeleter>(new D(i)); } UniquePtr<B> b1(MakeB(66)); // OK: temporary value moved into b1 UniquePtr<B> b2(b1); // ERROR: b1 not a temporary, would confuse // single ownership, forbidden UniquePtr<B> b3; b3 = b1; // ERROR: b1 not a temporary, would confuse // single ownership, forbidden b3 = MakeB(76); // OK: return value moved into b3 b3 = nullptr; // OK: can't confuse ownership of nullptr What if you really do want to move a resource from one UniquePtr to another? You can explicitly request a move using mozilla::Move() from #include "mozilla/Move.h". int* i = new int(37); UniquePtr<int> i1(i); UniquePtr<int> i2(Move(i1)); assert(i1 == nullptr); assert(i2.get() == i); i1 = Move(i2); assert(i1.get() == i); assert(i2 == nullptr); Move transforms the type of its argument into a temporary value type. Move doesn’t have any effects of its own. Rather, it’s the job of users such as UniquePtr to ascribe special semantics to operations accepting temporary values. (If no special semantics are provided, temporary values match only const reference types as in C++98.) Observing a UniquePtr‘s value The dereferencing operators ( -> and *) and conversion to bool behave as expected for any smart pointer. The raw pointer value can be accessed using get() if absolutely needed. (This should be uncommon, as the only pointer to the resource should live in the UniquePtr.) UniquePtr may also be compared against nullptr (but not against raw pointers). int* i = new int(8); UniquePtr<int> p(i); if (p) *p = 42; assert(p != nullptr); assert(p.get() == i); assert(*p == 42); Changing a UniquePtr‘s value Three mutation methods beyond assignment are available. A UniquePtr may be reset() to a raw pointer or to nullptr. The raw pointer may be extracted, and the UniquePtr cleared, using release(). Finally, UniquePtrs may be swapped. int* i = new int(42); int* i2; UniquePtr<int> i3, i4; { UniquePtr<int> integer(i); assert(i == integer.get()); i2 = integer.release(); assert(integer == nullptr); integer.reset(i2); assert(integer.get() == i2); integer.reset(new int(93)); // deletes i2 i3 = Move(integer); // better than release() i3.swap(i4); Swap(i3, i4); // mozilla::Swap, that is } When a UniquePtr loses ownership of its resource, the embedded deleter will dispose of the managed pointer, in accord with the single-ownership concept. release() is the sole exception: it clears the UniquePtr and returns the raw pointer previously in it, without calling the deleter. This is a somewhat dangerous idiom. (Mozilla’s smart pointers typically call this forget(), and WebKit’s WTF calls this leak(). UniquePtr uses release() only for consistency with unique_ptr.) It’s generally much better to make the user take a UniquePtr, then transfer ownership using Move(). Array fillips UniquePtr<T> and UniquePtr<T[]> share the same interface, with a few substantial differences. UniquePtr<T[]> defines an operator[] to permit indexing. As mentioned earlier, UniquePtr<T[]> by default will delete[] its resource, rather than delete it. As a corollary, UniquePtr<T[]> requires an exact type match when constructed or mutated using a pointer. (It’s an error to delete[] an array through a pointer to the wrong array element type, because delete[] has to know the element size to destruct each element. Not accepting other pointer types thus eliminates this class of errors.) struct B {}; struct D : B {}; UniquePtr<B[]> bs; // bs.reset(new D[17]()); // ERROR: requires B*, not D* bs.reset(new B[5]()); bs[1] = B(); And a mozilla::MakeUnique helper function Typing out new T every time a UniquePtr is created or initialized can get old. We’ve added a helper function, MakeUnique<T>, that combines new object (or array) creation with creation of a corresponding UniquePtr. The nice thing about MakeUnique is that it’s in some sense foolproof: if you only create new objects in UniquePtrs, you can’t leak or double-delete unless you leak the UniquePtr‘s owner, misuse a get(), or drop the result of release() on the floor. I recommend always using MakeUnique instead of new for single-ownership objects. struct S { S(int i, double d) {} }; UniquePtr<S> s1 = MakeUnique<S>(17, 42.0); // new S(17, 42.0) UniquePtr<int> i1 = MakeUnique<int>(42); // new int(42) UniquePtr<int[]> i2 = MakeUnique<int[]>(17); // new int[17]() // Given familiarity with UniquePtr, these work particularly // well with C++11 auto: just recognize MakeUnique means new, // T means single object, and T[] means array. auto s2 = MakeUnique<S>(17, 42.0); // new S(17, 42.0) auto i3 = MakeUnique<int>(42); // new int(42) auto i4 = MakeUnique<int[]>(17); // new int[17]() MakeUnique<T>(...args) computes new T(...args). MakeUnique of an array takes an array length and constructs the correspondingly-sized array. In the long run we probably should expect everyone to recognize the MakeUnique idiom so that we can use auto here and cut down on redundant typing. In the short run, feel free to do whichever you prefer. Conclusion UniquePtr was a free-time hacking project last Christmas week, that I mostly finished but ran out of steam on when work resumed. Only recently have I found time to finish it up and land it, yet we already have a couple hundred uses of it and MakeUnique. Please add more uses, and make our existing new code safer! A final note: please use UniquePtr instead of mozilla::Scoped. UniquePtr is more standard, better-tested, and better-documented (particularly on the vast expanses of the web, where most unique_ptr documentation also suffices for UniquePtr). Scoped is now deprecated — don’t use it in new code!
http://whereswalden.com/tag/deleter/
CC-MAIN-2016-18
refinedweb
1,612
56.86
I'm starting Java and I'm having trouble getting off the ground with it. I keep getting an 1 error with the simple, first program in the book. Below is the how my Autoexec.bat looks and below that is the program that I'm trying to run. Thanks for your help. REM [Header] @ECHO OFF REM [CD-ROM Drive] REM c:\windows\command\mscdex /d:gem001 REM [Miscellaneous] REM [Display] REM [Sound, MIDI, or Video Capture Card] REM [Mouse] c:\windows\cwcdata\cwcdos.exe PATH C:\PAGEMGR PATH C:\jdk1.3.0_04\bin;%PATH% SET CLASSPATH=%CLASSPATH%;.;C:\jdk1.3.0_04\lib\tools.jar **************************************************************** public class Ellsworth { public static void main(String[] arguments) { String line1 = "The advancement of the arts, from year\n"; String line2 = "to year, taxes our credulity, and seems\n"; String line3 = "to presage the arrival of that period\n"; String line4 = "when human improvement must end."; String quote = line1 + line2 + line3 + line4; String speaker = "Henry Ellsworth"; String title = "U.S. Commissioner of Patents"; String from = "1843 Annual Report of the Patent Office"; System.out.println('\u0022' + quote + '\u0022'); System.out.println("\t" + speaker); System.out.println("\t" + title); System.out.println("\t" +.
https://forums.devx.com/showthread.php?29081-How-to-open-a-new-window&s=d85744001b5323ceb6f901f6f9d62b0c&goto=nextnewest
CC-MAIN-2021-39
refinedweb
198
60.31
How to switch UI menus? - RocketBlaster05 I have two UI's, where I wish to make it so that when a button on the first UI is pressed, the other one opens. However when the button is pressed, it says "view is already running". Can I not have both active at once? If not how do I remove the first UI so I can activate the second one? Due to some bugs in how views get closed in pythonista, you cannot easily re-present a view that was already presented. (There might be some caveats, I forget) So I'm guessing that you can display view B, but when trying to show view A again, you get the failure. One approach is to use a NavigationView, which will give you the sliding animation. Another approach is to have both views as subviews to a root view, and either add/remove from the root, or hide/unhide, or send_to_front, etc. If you are talking about a main view and a pop up menu, you can present the second view as a sheet (instead of fullscreen). Perhaps also play with modal, try this import ui v1 = ui.View() v1.background_color = 'yellow' v1.name = 'v1' b1 = ui.Button() b1.title = 'view v2' b1.frame = (10,10,100,20) v1.add_subview(b1) v1.present() v2 = ui.View() v2.background_color = 'cyan' v2.name = 'v2' b2 = ui.Button() b2.title = 'close v2' b2.frame = (10,10,100,20) def b2_action(sender): v2.close() b2.action = b2_action v2.add_subview(b2) def b1_action(sender): v2.present() v2.wait_modal() b1.action = b1_action I wanted to post this when you recently posted this but if you still need it, here you go. You can even do more views as long as you old_view.close() then old_view.wait_modal() then new_view.present() import ui import dialogs v1 = ui.View() v1.bg_color = "#eee" v1.name = "v1" v2 = ui.View() v2.bg_color = "#444" v2.name = "v2" item_list = [] entries = 28 for i in range(entries): item_list.append("Item " + str(i + 1)) def button_item_action(sender): if sender is v1Btn: v1.close() v1.wait_modal() v2.present('fullscreen') else: v2.close() v2.wait_modal() v1.present('fullscreen') def list_action(sender): s = dialogs.list_dialog("Select an Item", item_list) if s is not None: lblList.text = s temp_a, temp_b = ui.get_window_size() w = min(temp_a, temp_b) h = max(temp_a, temp_b) m = 0.05 * w v1List = ui.Button() v1List.tint_color = "#222" v1List.image = ui.Image('iob:navicon_32') v1List.frame = (m, m, 0.1 * w, 0.1 * w) v1List.action = list_action v1List.border_width = 1 lblList = ui.Label() lblList.bg_color = "#fff" lblList.x = v1List.x + v1List.width + m lblList.y = m lblList.width = w - lblList.x - m lblList.height = v1List.height lblList.border_width = 1 lblList.alignment = ui.ALIGN_CENTER v1Btn = ui.ButtonItem(title="Open v2") v2Btn = ui.ButtonItem(title="Open v1") v2Btn.action = v1Btn.action = button_item_action v1.add_subview(v1List) v1.add_subview(lblList) v1.right_button_items = (v1Btn,) v2.right_button_items = (v2Btn,) v1.present('fullscreen') lblList.autoresizing = "W" - halloleooo
https://forum.omz-software.com/topic/7001/how-to-switch-ui-menus
CC-MAIN-2021-43
refinedweb
489
73.13
LinguaPlone Manage and maintain multilingual content that integrates seamlessly with Plone. Project Description Contents - Introduction - Installation - Upgrade - Uninstallation - Frequently asked questions - Developer Usage - Implementation details - Developer information - License - Frequently Asked Questions - Changelog - 4.1.3 (2013-01-18) - 4.1.2 (2012-02-07) - 4.1.1 (2011-11-15) - 4.1 (2011-11-14) - 4.0.4 - 2011-07-25 - 4.0.3 - 2011-05-27 - 4.0.2 - 2011-01-26 - 4.0.1 - 2011-01-10 - 4.0 - 2010-11-25 - 4.0b1 - 2010-11-04 - 4.0a4 - 2010-10-06 - 4.0a3 - 2010-09-24 - 4.0a2 - 2010-09-08 - 4.0a1 - 2010-07-28 - 3.1 - 2010-07-28 - 3.1b1 - 2010-07-18 - 3.1a5 - 2010-06-22 - 3.1a4 - 2010-06-18 - 3.1a3 - 2010-05-25 - 3.1a2 - 2010-03-29 - 3.1a1 - 2010-02-19 - 3.0.1 - 2010-02-02 - 3.0 - 2009-12-21 - 3.0c4 - 2009-12-07 - 3.0c3 - 2009-11-25 - 3.0c2 - 2009-11-16 - 3.0c1 - 2009-11-04 - 3.0b8 - 2009-10-22 - 3.0b7 - 2009-10-21 - 3.0b6 - 2009-10-20 - 3.0b5 - 2009-10-14 - 3.0b4 - 2009-10-02 - 3.0b3 - 2009-09-26 - 3.0b2 - 2009-09-25 - 3.0b1 - 2009-09-25 - 3.0a3 - 2009-09-09 - 3.0a2 - 2009-09-07 - 3.0a1 - 2009-06-03 - 2.4 - 2008-12-09 - 2.3 - 2008-11-13 - 2.2 - 2008-07-22 - 2.1.1 - 2008-05-01 - 2.1 - 2008-04-11 - 2.1beta1 - 2008-04-07 - 2.1alpha1 - 2007-12-13 - 2.0 - 2007-10-11 - 2.0beta2 - 2007-09-24 - 2.0beta1 - 2007-09-21 - 2.0alpha2 - 2007-09-19 - 2.0alpha1 - 2007-09-10 - 1.0.1 - 2007-09-24 - 1.0 - 2007-06-19 - 0.9.0 - 2006-06-16 - 0.9-beta - 2005-10-27 - 0.8.5 - 2005-09-06 - 0.8 - 2005-08-15 - 0.7 - 2004-09-24 - Technology Preview - 2004-06-29 Introduction LinguaPlone is the multilingual/translation solution for Plone, and achieves this by being as transparent as possible and by minimizing the impact for existing applications and Plone itself. It utilizes the Archetypes reference engine to do the translation, and all content is left intact both on install and uninstall - thus, it will not disrupt your content structure in any way. LinguaPlone doesn't require a particular hierarchy of content, and will in theory work with any layout of your content space, though the default layout advertised in the install instructions will make the site easier to use. Some benefits of LinguaPlone - Totally transparent, install-and-go. - Each translation is a discrete object, and can be workflowed individually. -. Installation Install LinguaPlone into your Plone environment by adding it to the buildout or adding it as a dependency of your policy package and rerun buildout. Next add a new Plone site and select the LinguaPlone add-on. Make sure to specify the primary language of your site. Continue to the language control panel and specify all other languages you want to support. Prepare the content structure by calling @@language-setup-folders on your Plone site root, for example: You might want to clean up the default content or move it around by visiting: and deleting the Events, News and Users folders. After following all these steps you have a good starting point to build a multilingual site. Whether or not you have the same site structure in each of the language folders is up to you and your requirements. By using the top level language folders every URL corresponds to exactly one language which is good for search bots and makes caching a lot easier. It also means that you don't have folders with mixed languages in them, which improves the usability for editors a lot, since they don't have to worry about switching languages in the same folder just to see if there's more content in them. The Plone site root is the only exception here and setup with a language switcher default view that does the language negotiation and redirects users to the right URL. Upgrade If you are upgrading LinguaPlone there may be an upgrade step that you need to do. Please check the 'Add-ons' control panel for this. Uninstallation If you no longer want to use LinguaPlone, you can remove it from your site. First you need to deactivate LinguaPlone in the add-ons control panel. After you did this you can remove LinguaPlone from your Plone environment on the file system. If you forget to do the deactivation step, add LinguaPlone back temporarily and deactivate it properly. Otherwise you'll likely not be able to use their site with errors relating to the SyncedLanguages utility. Frequently asked questions I see no language flags and switching language does not work This happens if the cookie language negotiation scheme is not enabled. Look at the portal_languages tool in the ZMI and check if Use cookie for manual override is enabled. If the language selection links point to URL's containing switchLanguage the wrong language selector from core Plone is active. Go to the control panel and check if you can select multiple languages on the language control panel. If you cannot, LinguaPlone isn't properly installed. If you can select multiple languages only the language selector viewlet is wrong. Make sure you haven't customized the viewlet and put it into a different viewlet manager. The viewlet is only registered for the plone.app.layout.viewlets.interfaces.IPortalHeader manager. You need to register the languageselector viewlet from LinguaPlone/browser/configure.zcml for your new viewlet manager as well. Developer Usage You can test it by multilingual-enabling your existing AT content types (see instructions below), or by testing the simple included types. Don't forget to select what languages should be available in the language control panel. multilingual support in your content types At the top, instead of from Products.Archetypes.atapi import *, you add: try: from Products.LinguaPlone import atapi except ImportError: # No multilingual support from Products.Archetypes import atapi For the fields that are language independent, you add languageIndependent=True in the Archetypes schema definition. Example: atapi.StringField( 'myField', widget=atapi.StringWidget( .... ), languageIndependent=True ), Language independent fields are correctly shared between linked translations only if your content type uses LinguaPlone imports as described above. For more LinguaPlone related programming examples see Translating content in Plone Developer Documentation. Developer information - Issue tracker: - Code repository: - Mailing list: Frequently Asked Questions - Can LinguaPlone be used to translate content? - Yes, that's exactly the reason why it was developed. - Can LinguaPlone be used to translate the Plone interface too? - No, the translation of Plone interface is handled by Plone itself. - Does LinguaPlone supports folder translations? - Yes, both folderish and non-folderish content types can be translated. - How LinguaPlone keep track of translations? - It uses Archetypes references to link the items. Every translation has a reference pointing to the 'canonical' item. - What's a 'canonical' item? - It's the original content from where all translations are created. All translations have a reference pointing to it. - Can I have items that are language independent? - Yes, every item without a language explicitly set will be considered language independent (neutral), and show up in all searches and navigation. - Can I have fields that are language independent? - Yes. Look at the example types for the 'languageIndependent' schema definitions. Ideal for stuff like dates and names, where all translations should have the same text. The values that are language independent can only be edited in the canonical item, not in the translations. - What's the language of newly created content? - All content are initially created in the language you are currently in. If you want it to be language independent (neutral), you have to explicitly set this in the language control panel. - What happens when I translate content? - You're presented with a screen where you can select both the language for the original content and the language for the translation. This screen also shows you the content from the canonical item so you can see the original text for each field. - What happens when I translate a folder? - A new folder is created with the selected language. Also, all content with the same language currently in the original folder will be moved to the new folder, automatically. - What happens when I translate the default view of a folder? - The default view is the content selected to be displayed when directly accessing a folder. In this case, when translating it, LinguaPlone first creates a translation for the folder, then the content. - Why do catalog searches now only return content in the current language? - For all language-aware items (essentially, every item with the Language variable set), LinguaPlone filters out the content not relevant to the current language. This is done to have a consistent, one-language-at-a-time site. Mixing languages in a site is a very bad idea, and is very unpredictable. - So I can't search in any of the other languages? - Of course you can, but you have to explicitly ask for it by specifying 'Language=all' when doing a search. - Can I change the language of content after initial creation? - Yes, but you can only change the language to one of the untranslated ones. You can't have two translations with the same language for the same content. When changing the content language, if the parent folder is already translated, LinguaPlone moves the content to the folder with the same language. - How can I change the content language? - Both the 'Categorization' tab and the 'Manage Translations' menu item allows you to change the language of an item. The difference is that the latter also performs some restrictions to only display sane values, while the former display all languages. We recommend using the 'Manage Translations' entry in the Translate pulldown. - Can I make an already translated content be language independent again? - Yes. You just need to change the language to 'neutral'. This only works on 'Categorization' tab of an item. - What is the 'neutral' language? - It's exactly what it means: neutral. In other words, it's a way to represent the content in all languages. The content becomes language independent and can be displayed for any language when both navigating and searching. - How LinguaPlone decides what language to use when someone access my site? - When you access a LinguaPlone site for the first time, LinguaPlone uses the header 'HTTP_ACCEPT_LANGUAGE' sent by the browser to decide the language that should be used, then set a cookie with it. From this point, you only will get content on that language, except if you explicitly switch to a different language. In this case, the cookie value is updated to the new language. But if you directly access a content in a different language, LinguaPlone will show you that content item and adjust the UI language to match the language of the requested content. - How can I link an already existing content as a translation for another one? - The 'Manage Translations' menu item has a form that allows you to select any content from the same type from the current one as a new translation, in any of the untranslated languages. Changelog 4.1.3 (2013-01-18) - Fix regression from the plone site root change. When accessing the zope root using the ZMI getSite returns empty, so fall back to traversing. [pjstevns] - Add a better way in getting plone site root. A change in Archetypes setting the creation date by a subscriber breaks the old way, because traversing wasn't avaliable in such an early state. [hoka] - Add a viewlet to mark the translated content as suggested by Google at [erral] - Update bootstrap.py for zc.buildout 1.5.0. [pjstevns] - Deal with broken translations, esp. when the content's language doesn't match the parent's language. [pjstevns] - Fixed getting deletable languages if a language has been disabled and content has been translated in this language. [kroman0] - Added option to disable left portlets in translation view. [pingviini] - Fixed translation view to actually hide portlets when configured to do so. [pingviini] - Display the translation of the folder default page in the current language if available. [pjstevns] - Check if the forward transition exists before taking it [giacomos] - Fixed preview of "renderable" fields that are not simply text/html (like text/x-rst). [keul] - Adjust behavior to current BaseObject by using check_auto_id=True in processFormto not force rename_after_creation. This fix plone.api.content.create use when you have linguaPlone and you dont set id [toutpt] 4.1.2 (2012-02-07) - Translation helper scripts (getTransaltedLanguages, getUntranslatedLanguages, getDeletableLanguages) are now view methods. [thomasdesvenain] - Display the translation of the folder default page in the current language when the folder is neutral. [thomasdesvenain] - Avoid problems when setLanguage is given a null value that is not ''. [thomasdesvenain] 4.1.1 (2011-11-15) - New translations still had no proper id. fix [gotcha] 4.1 (2011-11-14) - New translations did not get a proper id. fix [jfroche] - Check 'Add portal content' permission on parent to display translate menu items. Check 'Delete objects' on parent or 'Modify portal content' on content to display "Manage translations" menu itme. Check user has one of those permissions to display menu. Refs. [thomasdesvenain] - Update to require Plone 4.1. [hannosch] - Notify p.a.caching to purge translations when the canonical object is purged. [ggozad, stefan] - Changed permission for the controlpanel to plone.app.controlpanel.Language. This allows users with the Site Administrator role to access it. [toutpt] 4.0.4 - 2011-07-25 - Selector should not propose link to inaccessible content (content for which the user does not have View permission). If a translation exist but is inaccessible, follow the acquisition chain until a translated item is accessible. In case we get to an inaccessible INavigationRoot, do not show the language at all. [gotcha] - Removed broken icons and fix invalid XHTML in translation browser popup. [hannosch] - Link to translation browser popup was broken in some VirtualHost setups. This closes. [tgraf, hannosch] - Use template parameter in language selector's viewlet zcml declaration. This makes it easier to customize in add-ons. The change requires plone.app.i18n 2.0.1 or greater. [toutpt] - Force translate menu flag icons dimensions to 14x11 px, so that it's consistent with language selector menu. Works with plone.app.contentmenu 2.0.4+. [thomasdesvenain] - Changed policy for preserving the view/template in the language selector. We only do this if the target item is a direct translation of the current context. Otherwise we might link to views which are not available on the target content type. [thomasdesvenain, hannosch] - translate_item form works when content has no 'default' fieldset. [thomasdesvenain] - Declare plone.app.iterate dependency. [thomasdesvenain] 4.0.3 - 2011-05-27 - Changed string exceptions to ValueErrors in translate_edit.cpy. [robert] - Fix the tests to work with GenericSetup 1.6.3+. [hannosch] - Explicitly load the CMF permissions before using them in a configure.zcml. [hannosch] 4.0.2 - 2011-01-26 - Force the user to select a language before attempting to translate neutral content items. One content item can be either neutral or have translations, but not a mix of the two. [witsch] - Don't create an extra folder when translating the default page of a language-neutral folder. [witsch] 4.0.1 - 2011-01-10 - Changed defaultLanguage behavior in I18NBaseObject to always report the parent's folder language even if it is neutral. [ggozad] 4.0 - 2010-11-25 - Fixed possible XSS security issue in the translationbrowser_popup caused by displaying unfiltered content from the Description string field as HTML. Issue reported by Andrew Nicholson. [hannosch] - Protect against accidentally acquiring the getTranslations method from a parent object in utils.generatedMutator. Thanks to Matous Hora for the patch. This closes. [hannosch] 4.0b1 - 2010-11-04 - Gracefully deal with multiple brains per UID in translated_references. [hannosch] 4.0a4 - 2010-10-06 - Avoid module global imports in our top-level __init__. If you have accidentally imported any of the contents of the public module directly from Products.LinguaPlone, you will need to adjust those to import from the public module instead. This closes. [hannosch, ggozad, shh42] 4.0a3 - 2010-09-24 - Rewrote getTranslationReferences and getTranslationBackReferences internals to avoid the catalog search API and make use of knowledge of its internals. [hannosch] - In the TranslatableLanguageSelector only append a question mark, if there's a query string to append. [hannosch] 4.0a2 - 2010-09-08 - Make the set_language query string addition configurable via a class variable on the TranslatableLanguageSelector. [hannosch] 4.0a1 - 2010-07-28 - Added test for deleting canonical folders. Added minimum version requirement on Products.ATContentTypes 2.0.2 for the fix to. [hannosch] - Fixed language selector logic to correctly deal with all kinds of VHM rules. This closes. [hannosch] - Change the language selector viewlet to be shown in the IPortalHeader manager to be consistent with the new default location in Plone 4. This closes. [hannosch] - Require at least Zope 2.12.5 and remove the -C work around. [hannosch] - Renamed migrations module to upgrades to match current nomenclature. [hannosch] - Removed Archetypes uid and reference catalog GenericSetup handlers. These are part of Archetypes now. [hannosch] - Removed Plone 3.3 specific tests. [hannosch] - Added tests for all upgrade steps. [hannosch] - Removed all dependencies on zope.app packages. [hannosch] - Specify all package dependencies. [hannosch] - Added dependency on Plone 4. Please use a release from the 3.x series if you are using Plone 3. [hannosch] 3.1 - 2010-07-28 - No changes. 3.1b1 - 2010-07-18 - Update license to GPL version 2 only. [hannosch] - If catalog filter attributes contain "Language", and "Language" is set to all, don't add Language filters to the REQUEST object [do3cc] 3.1a5 - 2010-06-22 - Use a normal FieldIndex in the uid_catalog and correct custom setuphandler to create a functional FieldIndex. [hannosch] 3.1a4 - 2010-06-18 - Removed example types, Plone's default types are LinguaPlone aware and provide a good demo of the functionality. [hannosch] - Refactored tests and conform to PEP8 in more places. [hannosch] - Changed the default index used for Language to be a normal FieldIndex. For most sites this is sufficient and avoids the major performance hit the LanguageIndex brings with it. [hannosch] - Refactor selector code to make it easier to write unit tests for it. [hannosch] - Added development information to README, this closes. [hannosch] - Lessen optimization in selector code, to deal with folderish objects used as default pages, refs. [hannosch] - Removed iterator for tabindex for Plone 4 compatibility. [hpeteragitator] 3.1a3 - 2010-05-25 - Small optimizations in invalidateTranslations, deletable language vocabulary and script - avoiding review state calculation and full object lookups. [hannosch] - Removed logger instance and log method from config.py. [hannosch] - Removed unused variables from config.py: DEBUG, GLOBALS, PKG_NAME, SKIN_LAYERS, SKIN_NAME, INSTALL_DEMO_TYPES. [hannosch] - Added a general collection criteria translation sync functionality including language independent criteria support. This is currently not activated automatically and has no UI support yet. See the README.txt in the criteria sub-package for more caveats. [hannosch] - Added tests to prove that indexing and updating reference fields works. [hannosch] - Also handle multiValued references given by a tuple instead of a list in utils.translated_references. [thet] - Mini-optimization in language selector. [hannosch] 3.1a2 - 2010-03-29 - Fixed isCanonical inside portal_factory which could lead to strange errors. Thanks to Daniel Kraft for the patch. This closes, 237 and 239. [hannosch] - Links in the language selector where broken when using _vh_ parts. This closes. [ramon] - Expanded test coverage extensively. Going from 84% to 93%. [hannosch] - Removed unfinished new_manage_translations_form prototype. [hannosch] - Silence the manage_* warnings for the example and test types. [hannosch] - Convert GenericSetup steps registrations to ZCML. [hannosch] - Removed all BBB imports for InitializeClass. We depend on Plone 3.3 which comes with Zope 2 versions with the forward compatible import locations, as introduced in Zope 2.10.8. [hannosch] - Removed old type actions from example and test types. [hannosch] - Some PEP8 cleanup and minor documentation updates. [hannosch] 3.1a1 - 2010-02-19 - Factor out filtering of "Language" parameter so it can be reused elsewhere. [hannosch, witsch] - Made the manage_translations_form compatible with Plone 4 by replacing a call to referencebrowser_startupDirectory with hardcoding the current context as the startup directory. [huub_bouma] - Added workflow transitions to the setup view to publish the language folders. [hannosch] - Changed the setup view to give the folders native language titles. [hannosch] - Added automatic setup of the language switcher to the setup view. [hannosch] - Added new language-switcher view usable as a default view method for the Plone site object to dispatch to the appropriate language root folder. [hannosch] - Added new language-setup-folders helper view to set up a regular structure of language root folders for each supported language each marked as a navigation root. [hannosch] - Added more CSS classes to the language selector making it possible to target each language. Inspired by. [hannosch] - Only register the catalog export import handlers if they aren't already part of Archetypes. This avoids conflicts in Plone 4.0. [hannosch] 3.0.1 - 2010-02-02 - Adjusted the FAQ related to changing the language of an item. This closes. [hannosch] - Clarify ITranslatable interface description for the getTranslation method. This closes. [hannosch] - Made language index more forgiving when dealing with broken canonical references. This closes. [hannosch] - Fixed a regression introduced in 3.0b4. The title of translations wasn't generated from the title anymore. While we retain the ability to specify an explicit id, by default the new id is now generated from the title again. This closes. [hannosch] - The language portlet was broken due to a prior change of the selector. [jensens] - Small documentation updates. [hannosch] 3.0 - 2009-12-21 - No changes from last release candidate. [hannosch] 3.0c4 - 2009-12-07 - Made it possible to disable the i18n aware catalog feature via an environment variable called PLONE_I18NAWARE_CATALOG. [hannosch] 3.0c3 - 2009-11-25 - Made the translated reference functionality more resilient against errors. We overwrote the target value inside the loop setting the references on translations. In case of an invalid target in one language, this caused all subsequent translations to fail with a different error. [hannosch] 3.0c2 - 2009-11-16 - Silence reference exceptions raised inside the reference multiplexing. A normal user cannot do anything about them, so we log them instead. [hannosch] - Changed import from deprecated Products.Archetypes.public to Products.Archetypes.atapi. [maurits] - Explicitly define portal inside the style_slot. [maurits] - Replaced the css_slot with the style_slot, as it is deprecated. [maurits] - Use new shared plonetest config file. [hannosch] 3.0c1 - 2009-11-04 - Don't fail on broken references in translated_references. [hannosch] - Adjusted tests to new default page behavior in Plone 4. [hannosch] - Made use of the new getTranslations API and avoid calculating the review state if it is not required. [hannosch] - Fixed functional tests to avoid an extraneous slash in the URL. [hannosch] - Added a new I18NOnlyBaseBTreeFolder mix-in, which can be used in Plone 4 to give LinguaPlone behavior to the new plone.app.folder types. [hannosch] - Avoid deprecation warnings for the use of the Globals package. [hannosch] 3.0b8 - 2009-10-22 - Adjusted the language selector to point to the nearest translation for each language. So far the selector only worked on items which had translations into all languages. Otherwise the content language negotiator would render the selector useless. This closes. [hannosch] - Fixed the language selector to work directly on the root in a virtual hosting environment. This closes. [hannosch] - Expanded the development buildout to include a simple Nginx configuration to make it easier to test virtual hosting issues. [hannosch] - Changed the language selector to use the canonical_object_url instead of the view_url. We preserve the /view postfix ourselves, so using view_url would duplicate this in certain situations. We also stopped doing the default page analysis ourselves and use the given feature from the context state view. [hannosch] 3.0b7 - 2009-10-21 - Protect the LanguageIndependentFields adapter against weird fields, like computed fields. [hannosch] 3.0b6 - 2009-10-20 - Avoid preserving the mysterious -C in the language selector. [hannosch] - Made sure that subclasses of fields listed in I18NAWARE_REFERENCE_FIELDS also get the special reference handling. Otherwise schemaextender fields won't get the behavior. [hannosch] - Let the generatedMutatorWrapper work directly on schemaextender fields. [hannosch] - Replaced has_key with in checks using the __contains__ protocol. [hannosch] - Factored out generated methods from the language independent ClassGenerator into module scope functions to allow outside access to them. [hannosch] 3.0b5 - 2009-10-14 - Optimized the getTranslations method by allowing the calling functions to pass in a hint about the canonical status of self. Often this is known by the caller and doesn't have to be determined inside the getTranslations call. Also optimized getNonCanonicalTranslations by extending the API of getTranslations with a include_canonical flag. [hannosch] - Optimized the getCanonical method to avoid two identical reference catalog queries and just do the query once. [hannosch] - Added tests for and fixed more edge cases for the reference handling. There's about seventeen different ways how this API can be called. [hannosch] - Fixed a bug in the LanguageIndependentFields adapter. It did a whole lot of magic to be LinguaPlone aware, just to miss the whole point. Simple is sometimes better. This fixes the last reference handling test failure. [hannosch] - Fixed the whole references handling. Prior it used the saved references for synchronization, with the effect of ignoring new refs. Now it uses actually the given new values and looks up them. It deals now with partly translated targets and non-translatable targets. Also I cleaned up this part of the code. [jensens] 3.0b4 - 2009-10-02 - Fixed a serious bug that showed itself with multi valued reference fields and archetypes.referencebrowserwidget. Since we render language independent fields on the translate_item view in view mode, their data wasn't part of the request anymore. Omitting a field from the request is considered equivalent to "delete all" by processForm. We now override _processForm to ignore language independent fields in processForm on canonical items. This also gives a bit of a speed advantage. [hannosch] - LinguaPlone didn't allow manual editing of IDs. Thanks to David Hostetler for the patch. This closes. [hannosch] - Removed dubious performance optimization in tests. Don't delete the catalog. [hannosch] - Removed bogus license headers from Python files. All code is owned by the Plone Foundation and licensed under the GPL. [hannosch] 3.0b3 - 2009-09-26 - Update the requirement to Plone 3.3 instead of individual packages. We don't test this version against former Plone versions anymore. Removed no longer required code for pre-Plone 3.1. [hannosch] - If no item was selected in the link translations form, a random item was selected in the form handler. Thanks to Ichim Tiberiu for the patch. This closes. [hannosch] - Restored the proper functionality of the change language function on the manage_translations_form. This closes. [hannosch] - Added a simple configuration option to hide the right column on the translation edit form and enable it by default. [hannosch] - Removed the canonical and translations cache. It was never completely save to use. This closes. [hannosch] - Added a new synchronized language vocabulary and use it for the content and metadata language availability. This restricts the languages in the common language widgets to the set of the supported languages of the site. [hannosch] - Removed the unmaintained support for using the Kupu reference browser in the manage_translations_form. [hannosch] - Fixed a deprecation warning for the isRightToLeft script, which is used in the translationbrower_popup. [hannosch] - Removed the GlobalRequestPatch - it is no longer required. [hannosch] - Removed the not_available_lang template. It wasn't used anymore. [hannosch] - Use request negotiation by default. [hannosch] - Turn on the content language negotiator by default. [hannosch] - Avoid a space after the language name in the selector. [hannosch] - Modernized the code of the language index export import handler. [hannosch] - Refactored common functionality of the catalog exportimport handlers. Added automatic reindexing for newly added indexes. [hannosch] - Rearranged the package documentation to the top-level of the distribution. [hannosch] - Added a buildout configuration to the package for stand-alone testing. [hannosch] - Fixed bad spelling in status message in translate view. [hannosch] - Make sure to use the native language name in the language selector in the same way Plone itself does this. [hannosch] - Specify an alt text on the language selector images. This closes. [hannosch] - Fixed invalid code instructions in the README. This closes. [hannosch] - Removed the long broken portlet_languages. This was a pre-Plone 3 old-style portlet. See. [hannosch] 3.0b2 - 2009-09-25 - Don't forget the rest of the formvariables, when dealing with request.form. [tesdal] 3.0b1 - 2009-09-25 - Don't mangle request.form when allowing Unicode. [tesdal] - Get default language from content parent inside portal factory. [tesdal] - Added dynamic id attribute to <tr> in translate_item.cpt for easier styling. [jensens, hpeteragitator] 3.0a3 - 2009-09-09 - Allow Unicode in request.form. [tesdal] 3.0a2 - 2009-09-07 - Preserve view, template and query components when switching language [tesdal] - Ensure that the LinguaPlone browser layer is more specific than the default in the interface __iro__ so that registrations to the LinguaPlone layer win. [rossp] - Added undeclared dependency on Products.PloneLanguageTool >= 3.0. [hannosch] 3.0a1 - 2009-06-03 Removed checkVersion check from our init method and declare a dependency on Plone instead. [hannosch] Changed the profile version to a simple 3, to follow best practices of using simple integers for profile version numbers. [hannosch] Extended multi-lingual aware reference fields to handle multi-valued fields. [hannosch] Added test for language independent lines fields. [hannosch] Fixed the testSelector tests to work with the new default page handling. [hannosch] Cleaned up some old package metadata and converted zLOG usage to logging. [hannosch] Changed the language selector to respect default pages. We now link to the container of the translated default page rather than the default page itself. [hannosch] Added Language as an additional index to the uid catalog. This is required to get at least normal reference criteria to be able to restrict their selections based on the language. [hannosch] Adjust the copyField methods of the LanguageIndependentFields adapter to work with fields which have no accessor methods. [hannosch] Reworked the translationOf reference handling. Instead of relying on the normal Archetypes reference API, we digg into some of the internals to optimize the handling for the specific use-case we have: We added Language as additional metadata to the reference catalog. To do so we needed to add a GenericSetup handler for the catalog to this package for now. This should be moved to Archetypes itself. An upgrade step for existing sites is available and needs to be run. The step is advertised in the add-on control panel of Plone 3.3 and later or available via the portal_setup tool in the ZMI. The new metadata reflects the language of the source of the reference, so we index the translation languages and not the canonical language. So a reference inside the at_references folder of a translation, stores the Language of that translation. It gets it via Acquisition, since neither the reference nor the at_references OFS.Folder has a Language function. As a second step we use this new metadata to more efficiently query the reference catalog. In general we avoid getting the real objects where possible and rely on the catalog internal brains to get all relevant information. We also bypass getting the actual reference object and instead look up the source or target of the reference directly by their uid. These changes do not change external API's nor should they cause problems for other add-ons using the reference engine. [hannosch] Split the canonical status caching of CACHE_TRANSLATIONS into its own config setting via CACHE_CANONICAL. [hannosch] Fixed the language selector tests to pass in Plone 3.3. [hannosch] Removed empty translation from translate menu description. [hannosch, maurits] Added smarter handling of language independent reference fields. If a language independent reference field points to a target, the translations of that source item will point to the translations of the target and not the canonical target. This will only work if the translations of the target already exist once the reference is established. If translations of the target are later added, the canonical source needs to be saved again to adjust the references to the right translation of the target. [hannosch] Added tests for language in-/dependent reference fields. [hannosch] Allow the query keys which prevent the automatic addition of the language to catalog queries be configured through a NOFILTERKEYS list in config. [hannosch] 2.4 - 2008-12-09 - Removed Language settings from the Translate into menu. A global action has no place in a context specific menu. [hannosch] - Remove the useless 'changeLanguage' script. In 'manage_translations_form', use '@@translate' instead. [nouri] - Allow 'id' to be passed to addTranslation/createTranslation. [nouri] 2.3 - 2008-11-13 - Registered NoCopyReferenceAdapter for translationOf relations on iterate checkout to avoid the checked out object becoming the translation. [tesdal] - Fixed unneeded AlreadyTranslated exception during a schema update. A schema update saves the current value, sets the default language (at which point there can easily be two English translations if that is the default language) and restores the original value again. So really there is no reason for doing anything other than setting the value in that case. [maurits] - addTranslation now returns the newly created translation. [wichert] - Include the FAQ in the package description. [wichert] - Refactor addTranslation: introduce adapters to determine where a translation should be created and to create the translation. [wichert] - Add path filter in catalog view, like the non-LP version has. [mj] - Ensure that translations are reindexed when processing an edit form; language independent fields may have been updated. [mj] - Extracted ILanguageIndependentFields adapter, encapsulating the synchronization of language independent fields. [stefan] 2.2 - 2008-07-22 - LanguageIndependent fields are now shown in view mode for the translations, so they no longer are editable from the translations, which is how it's documented to behave. [regebro] - Made the upgrade step also work on Plone 3 (GenericSetup 1.3). [maurits] - Registered GenericSetup upgrade step to get rid of an old linguaplone_various import step. I registered it for upgrading from 2.0 to 2.1 as that was when this import step was removed. It is always available in portal_setup/manage_upgrades in the ZMI. [maurits] - When going to the canonical translation, also switch to that language. [maurits] - On the manage_translations page do not show the form for linking to other content or deleting/unlinking existing translations when the current context is not the canonical language. Instead add a url to that canonical language. [maurits] - When adding a translation, do not throw an error when the language does not exist, but display that as info and go to that existing translation. I saw the 'add translation' option still for an already translated language, due to some caching. [maurits] - Ignore back reference when it is None. [maurits] - Made sure that an existing FieldIndex Language gets correctly replaced by our wanted LanguageIndex, instead of leaving an unusable index with an empty indexable attribute. [maurits] - Check if plone.browserlayer is installed before starting a possibly long reindex that would then be aborted. [maurits] - Make tests run on Plone 3.0.6 with plone.browserlayer 1.0rc3 and original GenericSetup (1.3) next to simply Plone 3.1. [maurits] 2.1.1 - 2008-05-01 - Removed the dependency on the no longer existing plone.browserlayer GS profile. This closes. [hannosch] - Add a workaround Plone bug #8028 () which causes site errors in contexts without a portal_type, such as the portlet add form. [wichert] 2.1 - 2008-04-11 - Use our language selector viewlet for all content types instead of just translatable types. This makes things consistent for all types. [wichert] - Be more tolerant in unindexing non-existent content. [hannosch] - Allow languages to be unselected in the language control panel. [wichert] - Do not use LanguageDropdownChoiceWidget for the default language field in the control panel: LanguageDropdownChoiceWidget uses IUserPreferredLanguages, which does not use the proper vocabularies to find the language names. [wichert] 2.1beta1 - 2008-04-07 - Register the LanguageIndex with the selection widget, so you can query for languages in Collections. [hannosch] - Enable the Plone language portlet and change its rendering link correctly to translations if they exist and to the site root otherwise. [wichert] - Dont depend on Quickinstaller at setup time and in browsermenu. [jensens] - Minor GenericSetup cleanup [jensens] - Make LinguaPlone play nice with archetypes.schemaextender and similar approaches. [jensens] - Declare plone.browserlayer as a dependency in our GenericSetup profile. This will automatically install it in Plone 3.1. [wichert] - Better unlink handling. This fixes [wichert] 2.1alpha1 - 2007-12-13 - Refuse to install LinguaPlone of plone.browserlayer is not already installed. [wichert] - Register the PloneLanguageTool GenericSetup export/import steps in LinguaPlone as well. Standard Plone 3 installs never applied the PloneLanguageTool GenericSetup context, so without this portal_languages.xml would be ignored. [wichert] - Replace the standard Plone language control panel with our own version which allows enabling of multiple languages. [wichert] - Manage translations form now uses a kupu drawer when the kupu reference browser is enabled. [Duncan] - Actions from the manage translations screen now stay on that screen so multiple translations may be linked. Existing translations display their path. [Duncan] 2.0 - 2007-10-11 - When creating new content in a translated parent use the language of the parent as the default language. [wichert] - Try to unlock objects before moving them into a newly translated folder. [wichert] - Add a test in the GS various import step if the Language catalog index in portal_catalog has indexed any objects. If not we just (re)created the index and we need to reindex it. This fixes content disappearing after installing LinguaPlone. [wichert] - Remove the code to mark LinguaPlone as installed in the quickinstaller from the GS profile: we can install LinguaPlone through the quickinstaller itself so this is not needed. [wichert] 2.0beta2 - 2007-09-24 - Fix a syntax error in the translate_item template. [wichert] - Restructure the LinguaPlone product layout so it can be distributed as an egg. [wichert] 2.0beta1 - 2007-09-21 - Allow translating the default view for an untranslated container again: we have correct code that adds a translation of the container as well now. [wichert] - Correct creationg of translations for objects which are the default view of a non-translatable parent. [wichert] - Correct handling of the translate into-menu for content with an untranslatable parent. [wichert] 2.0alpha2 - 2007-09-19 - Only show the content menu if LinguaPlone is installed in the quick installer. [wichert] - Update functional tests to login as a member so the test can use unpublished content. [mj] - Disable the menu option to translate the default view for a folder to a language for which the folder has no translation. [wichert] 2.0alpha1 - 2007-09-10 - Use a GenericSetup profile to install LinguaPlone. [wichert] - Move createTranslations to a @@translate browser view. [wichert] - Port to Plone 3.0.1. [wichert] - Only allow linking to other objects of the same portal type. [wichert] - Add a sanity to prevent addTranslationReference from adding translations for languages which already have a translation. [wichert] - Policy change for language selector. We try to avoid disabled flags by looking for a translated parent. [fschulze] - Added UI to link translations together. [vlado, fschulze] - Changed to use _createObjectByType on addTranslation, bypassing possible conflicts with adding restrictions. [deo] 1.0.1 - 2007-09-24 - Fix spitLanguage to return (None, None) when fed a non-string object. This fixes LP issue #101. [mj] - Fix LanguageIndex to deal better with objects where Language is either missing or not a callable. Fixes LP issue #99. [mj] - Fix LanguageIndex to run on python 2.3. [wichert] - Fix language selector to not go the the login screen if one of the translations is not accessible (i.e. in "private" state) [fschulze, godchap] 1.0 - 2007-06-19 - If we are resetting the language due to a schema update do not delete the translation references. This fixes [wichert] - Removed Plone 2.0 compatibility. [fschulze] - Add a utility method to link content objects as translations. This is useful, for example, in a GenericSetup import step to link content created in a GenericSetup content step. [wichert] - Show the 'Switch language to' text in the language selector in the target language instead of the current language. [wichert] - Fixed so rename after creation only happend on TTW creation. Not on first edit of a through script created object. [sashav] - Fixed an issue if theres no getTranslations available. This happens if an non-lp-enabled at-based object exists direct in portal-object. [jensens] - Fixed some code that spit out DeprecationWarnings. [hannosch] - Instead of customizing switchLanguage we now have portlet_languages inside LinguaPlone and use the much nicer languageSelectorData. [jladage] - LanguageIndex is now a specialised index that will return alternative translations within the main language when searching. [mj] 0.9.0 - 2006-06-16 - Now works with Plone 2.5 out-of-the-box, and Plone 2.1.3 if using the included PloneLanguageTool. - Fixed unicode error on translated languages in Plone 2.1.3. It can contains non-ascii characters, so the default strings need to be declared as unicode. [encolpe] - Fixed actions to fallback gracefully for the action attribute 'name' and 'title'. [jladage] [encolpe] - Added the switchLanguage.py script and added support for translatable content. [jladage] - Fixed to lookup the language flag name directly from the language tool. Now, PloneLanguageTool 1.3 (or greater) is officially required. [deo] - Made tests compatible with Plone 2.5. [hannosch] - Some very minor i18n fixes. [hannosch] - Added a migration script to update language independent fields content. It must be manually run when upgrading from versions older than 0.9. [deo] - Removed the custom accessor/editAccessor generation. We're only using custom mutators and translation mutators for now. This result in a ~30% performance improvement over the previous versions. [deo] - Made sure to copy independent language fields data to all translations as we removed the custom accessor. This also fixed the problem when you try to get values direct from fields, as now the data is in the translations too, not only in the canonical object. [deo] - Forwared fix for. [deo] - Fixed a problem when switching between translations of images/files, where the content was shown, instead of the view screen. [deo] - Fixed to highlight the 'Edit' tab from a translation when you click it. [deo] - Final cut on Plone 2.0 compatibility. Backported tests, handled migrations and patched tool with the PythonScripts content. [deo] [sidnei] - Added labels to language-independent fields. [deo] [limi] - Made the initial default language follow the PloneLanguageTool config policy. [deo] 0.9-beta - 2005-10-27 - Removed content border from Translation Unavailable template. [limi] - Made the test fields that are not editable render in view mode, not as non-editable text boxes. The reasons for this are that people tend to think that "if it is a text box, it's editable", and are then confused when it's not (read-only widgets confuse the heck out of users), and the other reason is because it messes up multiple selection lists. [limi] - Made language-independent items not editable in a translation. [limi] [deo] - Added first cut on Plone 2.0 compatibility. [deo] - Fixed i18n domain everywhere... :-) [deo] 0.8.5 - 2005-09-06 - Made content be created in neutral language, now that this concept works as expected. [deo] - Made addTranslation raise an AlreadyTranslated exception when trying to duplicate a translation. [deo] - Added form to create translation when the language don't exist and if the user has the appropriate permissions. [deo] - Title on the flag switcher should say: "Switch language to $LANGUAGE (content translation not available)" - the last part if the content is not translated, to complement the ghosting (which is purely visual, and bad for accessibility). [deo] - Split screen should change sides ("From" language to the left, "To" language to the right). [deo] - Split screen should not show short name if turned off (like the default is in 2.1). [deo] - Flags aren't on a separate line anymore (they used to be below the document actions). [limi] - Field titles are translated, field help is not. [deo] - Flags should probably be removed from the field titles, since the pulldown might make these misleading. [deo] - Split-screen pulldown needs language selectors when translating. [deo] - Use the translate_item template when editing translatable content, except the canonical one. [deo] - PloneLanguageTool has problems without LinguaPlone installed. [deo] - Added norwegian translation. [limi] - Improved i18n markup. Updated brazilian portuguese translation. [deo] 0.8 - 2005-08-15 - Plone __browser_default__ review. [deo] - Adjust LP catalog patch for Plone 2.1. [stefan] - Allowed changing language of content, moving content to appropriate place, and raising a exception when forbidden. [deo] - Design the policy for the New language negotiator. [limi] - Grayed out flags. [deo, limi] - Handle switching to non-existing language (a.k.a. not_available_lang). [deo] - Handle translation of default pages. [deo] - Added hasTranslation() method for grayed-out flags. [deo] - ID policy for translating containing folder and moving translated content. [limi] - Language switching: the URL on flags should be the actual URL, not switchLanguage?set_language=no. [deo] - Fixed languageswitcher in Firefox. [deo] - LinguaPlone should not append language code to ID, it should use the same Plone 2.1 policy. [deo] - Implemented the new language negotiator, where content and interface languages are always in sync. [deo] - Test that Images in ATCT are keeping the image LangIndependent. [limi] - Update dropdown menus markup. [deo] 0.7 - 2004-09-24 - Released at Plone Conference 2004. [limi] [testal] [geir] Technology Preview - 2004-06-29 - First publicly available version. [limi] [testal] [geir] Self-Certification [X] Internationalized [X] Unit tests [ ] End-user documentation [X] Internal documentation (documentation, interfaces, etc.) [X] Existed and maintained for at least 6 months [X] Installs and uninstalls cleanly [ ] Code structure follows best practice Current Release Products.LinguaPlone 4.1.3 Released Jan 18, 2013 Get LinguaPlone for all platforms - Products.LinguaPlone-4.1.3.zip - If you are using Plone 3.2 or higher, you probably want to install this product with buildout. See our tutorial on installing add-on products with buildout for more information.
https://plone.org/products/linguaplone
CC-MAIN-2015-14
refinedweb
7,692
59.6
hey, mine one is sitting duck... it moves though when i pull the cable from other side....rest now i have inserted it into the cap of fuel tank... with 1000 fuel standing on E.... is it not working? how to check? i agree, he's pretty decent but you MUST stand on his head and get EXACTLY what you want done form him or he gets lazy. he's built all my cars so far as well and i'm fine with him. but romano refuses to use him for major surgery... rule number one: storm does not make mistakesrule number two: if storm makes a mistake, slap yourself and read rule number one again. it's possible your sender/float is not working (tank unit) @reezvaanhey, mine one is sitting duck... it moves though when i pull the cable from other side....rest now i have inserted it into the cap of fuel tank... with 1000 fuel standing on E.... is it not working? how to check? @shahzebulhaqcan you post picture please, i need one for driver side only... cost plz This post was flagged by the community and is temporarily hidden. </FONT></FONT> <o:p></o:p><o:p></o:p>Please send me a e-mail @ shahzeb.malik@telenor.com.pk and I will send the picture in reply and sorry m8 will only sell it as a set only.. already have one spare for the passenger side.. don’t want to make 2 for same side. If the gauge feeds off 12V direct, and uses a negative to sense fuel from the sender inside the fuel tank - get it fixed from a proper gauge mechanic, be sure to take along your gauge face too, that way he knows what resistance shows what. and full actually shows full, - the rest usually is calibrated itself If the gauge is going flaky itself then some work can also be done inside the gauge, usually the bobbin inside becomes crudded and shows problems. A dip in something like WD40 and circuit degreaser works - be sure to coat it with a small spray of PCB varnish. My 1302 had this problem that was fixed by cleaning out the sender in the tank. My VW Golf had this problem with both heat and fuel gauges which was sorted by replacing the voltage regulator behind the gauge cluster A Karachi member can buy and TCS them. I would've done it for you but Ive already left Pakistan. Was in the country about a month ago. 1000 rupees don't buy a lot of fuel these days but if the needle moves when you manually pull the wire means the trouble lies with the float part of the sender unit. I am assuming here this is a manual unit like in pre 65 -66 cars Romano forms his opinions very quickly. At this point, since we are running low on good experienced workers who understand the vee dubs we cannot afford to isolate one by labelling him as a FAIL. They would just as quickly go over to restoring Suzuki altos , the parts for which are readily available and that require much less work to turnout. It has always been my objective to work with these guys. You got to pamper them, give them a 'shabash' when deserved, buy a few dozen samosas and order a round a tea while you spend a few hours at the workshop and you'll be surprised how much progress you can get out of them. The Oval I bought was more or less abandoned by the <?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com<o:p></o:p>When you pay the main guy, give a small tip to the foreman and the helpers. It’s a delicate balance of carrot and stick.<o:p></o:p><o:p></o:p> I dont get it - If there is such a market for VW parts Im sure that if someone takes a step to import items there are bound to be customers there is another more practical (and affordable) one being reproduced that gives a digital display.TheSamba.com :: VW Classifieds - Vintage Speed Dehne digital fuel gauge the same if original ..... :-$ :-$ :-$ This is the exact gauge which shall fit my 59 like a glove. My car does not have the square cutout for the usual pre 67 gauge on the dash panel behind the grille. Instead there are two round holes of small dia there. Shall I buy a piggy bank and start saving :P ?? You have successfully provided a brilliant explanation. Yes, this is exactly whats going on. The specialist parts stockists here in Karachi say the same. That no one is willing to invest in such ventures as 'paisay phasanay walli bath hay' They also say that there *is* still a big market for parts and the local enthusiasts are willing to pay for good parts. The problem starts as the minimum quantity one has to import feasibly comes to dozens or hundreds units each. At the local scrapyard too, many 'mystery buyers' are turning up and snapping loads of the better parts, especially (surprisingly) early sixties bits. Even some of the specialist denters are collecting (and probably storing) stuff as all anticipate the shortage to get even more severe. Stuff such as early rear decklids, bumpers, fenders etc are selling for premium prices now. Things that did not sell for weeks at end earlier, disappear in no time. The fuel gauge discussion..... Im having second thoughts now. I dont think the US spec 68s had the earlier design. I think Nasir bhais observation is based on the Canadian spec VWs. If Im not mistaken, the Canadian market got an interesting hotch potch of parts. A live case we can compare is the 1968 Aussie bug rescued from Karachi. It came with a unique fuel gauge which looks like the earlier mechanical unit but in fact has 6volt electrics. Very interesting. I think the 1968 vintage 12 volt unit Nasir bhai pictured is either off a Canadian bug or a factory spare manufactured in 68. These plastic gloves are quite flimsy. Good for painting etc but certainly not for any DIY which involves really using your hands. I use Latex gloves, available from Medical supply stores in boxes of a 100. They are a bit expensive but provide good protection from grease and grime. However they breakdown after contacting petroleum products so are not too durable. I often go through two or three pairs on a usual DIY. The latex gloves are a must for myself as I cannot afford to have dirty hands and finger nails at work. Imagine the expression on a patients face if I start examining him with filthy hands :-! The problem still stands. I cannot handle the camera with the dirty gloves on :P .......I need an assistant!! Thanks for this valuable input. A trip to the old city around Jodia bazaar has been on the cards for me since a long time. Id plan a trip soon and share what we come up with. I checked the alternator good on the floor. The bearings (put in recently) were good. No noise at all. I'm still a bit suspicious on the new pulley. Id check it again today after dismantling. Shall try a different fan belt too, the one with the 'teeth' to prevent slippage. Yes, I do get dirty at times, when the situation calls for it :P....I enjoy doing DIYs like anything. The people who observe think that I am trying to save cash by not hiring a mech to do the job......how to explain the joy you get from doing something on your own??? Yes, I do wish I had a second pair of hands......
https://www.pakwheels.com/forums/t/volkswagen-club-of-pakistan-vwcop/7797?page=300
CC-MAIN-2018-05
refinedweb
1,303
82.04
Problem:Need to integrate DateTimePicker control into datagrid cell. Solution:For some business applications regular WPF DatePicker is not enough, sometimes you need also time and seconds. I was quite surprised when figured out that .NET Framework 4.0 does not have such control as DateTimePicker. Well, fortunately there is such a thing called Extended WPF Toolkit. All you need is download it and to add reference to WPFToolkit.Extended.dll in your WPF project. Here is how you use DateTimePicker with DataGrid: First of all don`t forget to add the reference in your XAML file. xmlns:wpfx=""This is how you integrate it inside DataGrid cell: <datagridtemplatecolumn Header="Next Run" SortMemberPath="NextRun"> <datagridtemplatecolumn.celltemplate> <datatemplate> <wpfx:datetimepicker </wpfx:datetimepicker> </datatemplate> </datagridtemplatecolumn.celltemplate> </datagridtemplatecolumn>SortMemberPath property of DataGridTemplateColumn allows you to sort rows. You just need to bind it to the same property to which DateTimePicker is binded. Download example source code - (Visual Studio 2010 Project) I understand your posting is to demonstrate DateTimePicker in DataGrid in WPF. how about my posting here? say, we load from database, is it possible to edit the datetime with Calendar control or DateTimePicker control? With DateTimePicker control from Extended WPF Toolkit you can anything - date, time, seconds... This didn't work for me I get "The tag 'DateTimePicker' does not exist in XML namespace ''. Line 2171 Position 50.' You probably forgot to add reference to WPFToolkit.Extended.dll I updated the post with downloadable source code example. It should work for you. hi this is what i'm searching for. My question is: if the row in Datagrid is edited and CellEndEdit event is raised how do i get the updated datetime out of the cell? hape
https://www.codearsenal.net/2012/03/wpf-datetimepicker-in-datagrid.html?showComment=1358009591574
CC-MAIN-2021-17
refinedweb
285
60.21
We've already covered ES6 support for modules (which are implemented with import and export). In this lesson, we'll go over ES6's native support for classes. Classes make JavaScript more accessible and easier to read from an object-oriented (OO) perspective. However, they don't fundamentally change the way JavaScript works. classKeyword Classes are a cornerstone of many OO languages, including Ruby, Java and C#, but JavaScript didn't include support for classes until ES6. Let's look at how we can refactor our code to use the class keyword. To do this, we'll reference the back end code for triangle tracker again: function Triangle(side1, side2, side3) { this.side1 = side1; this.side2 = side2; this.side3 = side3; } Triangle.prototype.checkType = function() { ... }; Here we create a Triangle constructor and then a prototype for that constructor. Let's update this code to use the new class keyword. class Triangle { constructor(side1, side2, side3) { this.side1 = side1; this.side2 = side2; this.side3 = side3; } checkType() { //Function body goes here. } } Our class Triangle now contains both the Triangle constructor and all its prototypes. (Note that all code is now inside the curly braces for class Triangle.) We no longer need to specify the prototype when we declare the checkType() function. In fact, this code looks very similar to how we might construct a class in other OO languages such as Ruby. However, it's important to remember that JavaScript classes are mostly syntactic sugar. Syntactic sugar is a term developers use for added functionality in a programming language that makes it easier to write and read. JavaScript classes are syntactic sugar because they don't operate in the same way that classes do in other OO languages such as Ruby. The biggest difference is that JavaScript doesn't directly use classical inheritance. Instead, JavaScript uses what's commonly referred to as prototypal inheritance. Classical inheritance simply means that one class inherits from another class. While classical inheritance has its advantages, it has one major disadvantage: when one class inherits from another, it inherits everything. The coder Joe Armstrong explains this problem with an apt metaphor: “You wanted a banana but what you got was a gorilla holding the banana and the entire jungle.” With prototypal inheritance, objects inherit from other objects. Prototypal inheritance is an advanced topic beyond the scope of this lesson, but you should be aware that it can be used to make inheritance more nuanced. In other words, if you want a banana, you'll just get a banana. The new ES6 functionality fakes classical inheritance by building it on top of prototypal inheritance. In other words, we can use this functionality to have one class inherit from another. We use the extends keyword to do this: class Shape { ... } class Triangle extends Shape { ... } You won't be expected to have one class inherit from another on the code review, but you're welcome to explore inheritance further on your two-day project. At the very least, you should be able to create classes that don't incorporate inheritance on the code review. There is one important thing to note about ES6 class syntax. Variables cannot be scoped to the class itself. The following will not work: class Triangle { let variableScopedToClass = 0; } Scoping a variable inside a class (regardless of whether using var, let or const) will result in the following error: Parsing error: Unexpected token. It's not a very helpful error, which is why we mention it here. Students coming from other languages (such as C# or Ruby) may expect that JS will also have class variables, but that is not the case. Instead, variables should always be scoped to methods inside the class (including the constructor). For instance, this is fine: class Triangle { ... checkType() { let variableScopedToMethod = 0; } } The people behind ES6 made a conscious choice not to include class variables. The reasons for this are beyond the scope of this lesson; for now, it's enough to say that class variables simply don't fit JavaScript's prototypical inheritance model. In any case, variables should be scoped as tightly as possible as a best practice, so avoiding class variables (and globals) is always a good idea. While ES6's implementation of classes is mostly syntactic sugar, utilizing classes can make your code cleaner, more organized, and easier to read! Lesson 37 of 48 Last updated April 8, 2021
https://www.learnhowtoprogram.com/intermediate-javascript/test-driven-development-and-environments-with-javascript/es6-classes
CC-MAIN-2021-17
refinedweb
731
57.06
The other day I noted that extending the built-in objects in JScript .NET is no longer legal in “fast mode”. “urn:schemas-microsoft-com:office:office” />Of course, this is still legal in “compatibility mode” if you need it, but why did we take it out of fast mode? As several readers have pointed out, this is actually a kind of compelling feature. It’s nice to be able to add new methods to prototypes: String.prototype.frobnicate = function(){/* whatever */} var s1 = “hello”; var s2 = s1.frobnicate(); It would be nice to extend the Math object, or change the implementation of toLocaleString on Date objects, or whatever. Unfortunately, it also breaks ASP.NET, which is the prime reason we developed fast mode in the first place. Ironically, it is not the additional compiler optimizations that a static object model enables which motivated this change! Rather, it is the compilation model of ASP.NET. I discussed earlier how ASP uses the script engines — ASP translates the marked-up page into a script, which it compiles once and runs every time the page is served up. ASP.NET’s compilation model is similar, but somewhat different. ASP.NET takes the marked-up page and translates it into a class that extends a standard page class. It compiles the derived class once, and then every time the page is served up it creates a new instance of the class and calls the Render method on the class. So what’s the difference? The difference is that multiple instances of multiple page classes may be running in the same application domain. In the ASP Classic model, each script engine is an entirely independent entity. In the ASP.NET model, page classes in the same application may run in the same domain, and hence can affect each other. We don’t want them to affect each other though — the information served up by one page should not depend on stuff being served up at the same time by other pages. Now I’m sure you see where this is going. Those built-in objects are shared by all instances of all JScript objects in the same application domain. Imagine the chaos if you had a page that said: String.prototype.username = FetchUserName(); String.prototype.appendUserName = function() { return this + this.username; }; var greeting = “hello”; Response.Write(greeting.appendUserName()); Oh dear me. We’ve set up a race condition. Multiple instances of the page class running on multiple threads in the same appdomain might all try to change the prototype object at the same time, and the last one is going to win. Suddenly you’ve got pages that serve up the wrong data! That data might be highly sensitive, or the race condition may introduce logical errors in the script processing — errors which will be nigh-impossible to reproduce and debug. A global writable object model in a multi-threaded appdomain where class instances should not interact is a recipe for disaster, so we made the global object model read-only in this scenario. If you need the convenience of a writable object model, there is always compatibility mode. Tags ASP JScript .NET Scripting Cancel reply - Dan Shappir says:Question 1: Is this the reason you also enforce the use of var in fast mode?Question 3: Out of curiosity – can you say how JScript.NET is fairing in the ASP.NET world vs. C# and VB.NET ? - Log in to Reply - Question 2: Doesn’t this make the term “fast mode” a bit of a misnomer? Shouldn’t it be “ASP.NET mode”? - October 30, 2003 at 3:08 am - Eric Lippert says:1) Yes — enforcing var improves clarity, improves optimizations and prevents accidental fouling of the global namespace.3) I have not the faintest idea. Remember, I haven’t actually worked on JS.NET for over two years now, and even if I was, I’m a developer, not a market researcher. (I can tell you that as far as throughput performance goes, JScript.NET on ASP.NET performs about as well as VB.NET, and both are 5%-10% slower than the equivalent C# in common scenarios — or, at least that was the case when I last ran the numbers.) - Log in to Reply - 2) Don’t be silly. I mean, we could have called them “incompatibility mode” and “slow mode” too, but obviously we wouldn’t. Fast mode was motivated by the requirements of ASP.NET, but the benefits go beyond ASP.NET scenarios. - October 30, 2003 at 11:53 am - Anonymous says:Ignore me I am testing. - Log in to Reply - October 30, 2003 at 12:14 pm - Blake says:Perhaps a compromise could be reached for a future version of the language. It seems most of the interesting reasons for modifying the prototypes of the built in objects are all cases that are one-time setup. If these prototypes were writable only at appdomain creation time and read-only there after I think both sides could be happy?Log in to Reply - (Not that there’s any current way to implement a .cctor in JS.NET that I’m aware of.) - October 30, 2003 at 2:39 pm - Samuel Bronson says:”ASP.NET mode” may be ridiculously specific, but it still seems like “fast mode” doesn’t say enough: it doesn’t say anything about allowing the script engine to be longer-lived or shared… - Maybe it should be called something like “static mode”? - June 28, 2010 at 12:22 pm One thing you could’ve tried is to leave the global builtin objects read-only and keep track of each instance’s modifications. This might’ve been *slightly* slower, but I think it would’ve been worth the extra convenience.
https://ericlippert.com/2003/10/29/global-state-on-servers-considered-harmful/comment-page-1/
CC-MAIN-2019-35
refinedweb
962
66.13
? Hey Kids, There's a Revolution in Retailing | Main | Best of the Web: Your Picks? ? August 16, 2005 I want my iTunes subscription service! Peter Burrows So it turns out that Apple has been asking its record label partners about the inner workings of the music subscription model. Now, I'd bet Apple is just keeping its options open, and doubt Steve Jobs is seriously considering making any move. I think he firmly believes, as he has said, that people want to "own" their music rather than "rent" it via an all-you-can-hear service for a monthly fee. But what, exactly, is ownership once music is in the digital realm? As someone who has purchased songs on iTunes and also uses RealNetworks' Rhapsody service, I personally have a more secure sense of ownership with the latter. So long as the monthly bill is paid, I in a sense own almost every song I can think to ask for. My PC could crash, my iPod could be stolen, my house could burn down--but I could still log back on and hear what I want. Buying music on iTunes isn't quite so foolproof. An example. Last week, I purchased a kid's album on iTunes in advance of a family roadtrip (Laurie Berkner's terrific "Whaddya Think of That," if you care). Alas, I had to wipe clean my PC and reinstall Windows upon my return (for totally unrelated reasons), but forgot to back-up my iTunes folder one last time before I did so. So when I got the PC back up and running and repopulated iTunes, I found that the album was no longer in my library. And since Apple only lets you download purchased music once, clicking on "Check for Purchased Music" didn't do the trick, either. Now, I know I should have backed it up (and yes, I know I'll get notes from Mac fans saying my mistake was using Windows in the first place). True enough. But as a consumer, I'm not interested in logic. I resent having to pay another $10 so my kids can get their fill of "We are the Dinosaurs" and "I Love My Rooster". An easy fix would be for Apple to make the necessary improvements so people can download music they've purchased more than once (and to multiple machines. That's another peeve of mine: why, if Apple has such a sophisticated server farm, can't I download "my" music to my office PC, just because I happened to purchase it on my home machine?). But even more, I hope Apple will surprise us with an iTunes subscription service. Sure, the current offerings are far from perfect (more work is certainly needed on the new portable subscriptions, for example). And sure, nobody is making any money on these services so far--at least not much. But Apple figured out the right model for the music download business, one that served its own purposes and those of its music industry partners. In the end, it's succeeded because Apple created a great--albeit imperfect--user experience, for which twenty-million-something iPod owners are thankful. But subscription services are another kind of user experience, that would appeal to many current customers and millions more. Who better than Apple to figure out the existing challenges, and get the subscription model right, too? 08:58 PM Digital Music TrackBack URL for this entry: Listed below are links to weblogs that reference I want my iTunes subscription service!: ? I want my iTunes subscription service! from BusinessModelInnovation BusinessModelDesign Great post over at BusinessWeek?? Tech Beat on the business model innovation issues Apple is facing. Well put, but there is more to it: even as Apple concentrates on the sell-the-hardware-model of old, enhanced by iTMS it still needs alternativ... [Read More] Tracked on August 17, 2005 11:23 AM I have a great relationship with my landlords of 10+ years, and as long as I pay the rent each month (even if I'm a little late), I feel quite secure about ACCESS to the house I live in, but I think that, even as goodhearted as they are, my landlords would take exception to me asserting that I OWN the house. There is a valid appeal in a sense of assured access, and the locus of responsibility for maintaining and preserving whatever resource, house or music collection, is certainly a major consideration. I definitely agree, that Apple should be able to accommodate replacement downloading of already purchased ITMS tracks. But access and ownership are not synonymous, and regardless of which we prefer in any given circumstance and for whatever reason, I think we do ourselves and others a disservice by obscuring the distinction. Posted by: John at August 17, 2005 11:31 AM don't you know that once you purchased from itunes the music is always yours, when you log into your new computer, you can associate the music with that PC and the purchased music is there just like that! also, with subscription, what happens if the subscription company goes out of business? the record labels changes their minds? you pay for 5 years, and suddently you end up with nothing??? Posted by: khyberny at August 17, 2005 11:36 AM Well, yeah. It would be nice. But even the real world doesn't work that way. Go buy a CD. Trash it. Take the trashed CD and the receipt to back to the store and see if they'll give you another one. Some places will, I'll admit, but most won't. At the very least, they may charge you a restocking fee. Maybe that's what Apple should sell: iTunes Insurance. For $9.99 a month, you can redownload any music you have purchased... :^) Posted by: Peter at August 17, 2005 12:15 PM Since you've made the mistake of using Windoze, do as I do. My HD is too small for the 36 gigs of music that I have, so I keep my iTunes library on an external firewire drive (and that gets backed up as well to work PowerBook). That way when you have to reinstall windows every month, your music will be OK. Posted by: AgingGeek at August 17, 2005 01:36 PM Wait! You said you were doing this for a road trip, right? So that means you either burned a CD or you moved it to an iPod. You can just re-rip the CD or move the files off the iPod back onto your computer. Problem solved. (Unless you were using your computer as the mp3 player in the car - not exactly an ideal solution.) Posted by: Peter at August 17, 2005 09:14 PM I like the idea of "iTunes Insurance". But how about selling it for $79-99 per year, or $29-49 for .Mac members? Plus, throw in a coupon for a free album on the iTMS, and I think quite a few would sign up. BTW - to the author - I have read that other people in the same situation have contacted Apple's customer support and were eventually permitted to download their music again free of charge. Worth a shot; it doesn't cost anything to ask. Posted by: Johnathan at August 18, 2005 01:07 AM Try learning to partition your hard drive correctly... Store the Windows installation on a 10 to 20 gig partition, C:. Store all programs on another partition, D: - never install programs to C: Store your date on another partition - E: The fact that you prefer to have 'your' music in the hands of somebody else says a lot about how you feel about music. What happens in 50 years' time when you still want to access it all? I'll still have all mine, backed up to DVD-Rs, and to Blu-Rays, next year. Posted by: Shaun Ryder at August 18, 2005 08:33 AM Ownership of music is very simple: no restrictions on how many times you can listen, how long you can listen, how many copies you can make, or which players you can play the song on. Buying a CD is owning the music. Posted by: Audiorich at August 22, 2005 05:12 PM 'Owning' digital music is not as secure as owning a CD. True you get the sense of ownership but realistically the likelihood of you losing that mp3 file is higher than music service going out of business. When you're renting, sure, you're not guaranteed you can play the music forever, but for most renting services you can also buy the tracks just like in itunes. Think of subscription fee as an extra on top of your per-track fees which allows you to listen to many other tracks. Posted by: YT at September 28, 2005 02:16 PM RE: Owning the music if the company goes out of business: What happens if HBO goes under? Do you own the movies you watched during the month? OF COURSE NOT! So why are people so reluctant to pay $5/month for a customizable radio feed with no commercials? I just subscribed the other day to Yahoo Unlimited and I love it. I have been an iTunes user for a while (on both Mac and PC platforms), but this model works so well for me. I listen to music at work all day, and I would shoot myself if I had to listen to the same CD everyday for 2 months (~$10 for 10 songs forever or 2 months of millions of songs). I just don't see the point in ever buying another CD (except for artwork and albums not available through these services). Posted by: Jarrod at October 11, 2005 02:43 AM Rent or buy? Hmm.. Fortunately, basic finance gives us some tools to make these decisions. Given: napster to go costs $15/month Itunes tracks cost $1 each interest rate (to borrow) is about 5%/year Analysis: Annualized napster fee is $180/year, which entitles you to a huge, essentially unlimited library. $180/5% is $3600. This means that an economically rational person would be indifferent between owning a 3600-track itunes library and subscribing to napster since the opportunity cost of having $3600 tied up in a music collection is $180, the cost of a yearly napster subscription. Other considerations: Napster gives you access to tens of thousands of tracks. If your musical tastes are wider than 3600 tracks, Napster is the clear choice. People get tired of music in their collections, even a 3600-track collection. My little model could be modified to reflect the gradual obsolescence of the collection. If so, the advantage would move towards Napster. If you had ripped music from CDs and you tire of the music. You can delete the music from your computer and sell the CDs, albeit at a hefty discount. My model doesn't account for this, but it's not material. As for music purchased from itunes, you can't resell that, of course. Who thinks in terms like this, you ask? I'm an MBA student at UCDavis and this problem is more interesting than my tax homework! I own an ipod and an ibook. I long for the day that Apple permits subscription music. Posted by: Joaquin at October 12, 2005 05:08 AM Hmm. For some reason, music subscription is still a problem for a lot of people. The subscription model seems to work well for cable TV and Netflix. Posted by: Joaquin at October 12, 2005 05:15 AM I agree on the subscription model. I'm using Yahoo! at a mere $60 a YEAR....I've already saved way more than that on the albums I would have bought that I have downloaded to my notebook and Creative Zen Micro. Not to mention the fact that I can read a review or article about something that sounds interesting, and, in most cases, can immediately download and listen. If I don't like it, nothing lost. I've found some of my favorite music recently this way. And, if Yahoo kills the music service some day, I'll just go and buy the CDs that I can't live without. The subscription model is a WAY more innovative music technology than the (admittedly tech cool) iPod player. For some reason, everyone's drunk the Apple Kool-Aid on this one. Posted by: Phil at October 12, 2005 02:08 PM I like renting movies (subscribing) from netflix, because it is very rare that i watch a movie more than once. But i listen to my music innumerable times. i would rather own music, and rent movies. Posted by: sandor at October 14, 2005 12:52 PM Subscription services give you something very important: freedom. Everyone is free to choose. The choice is huge, both from the past and present. Those who only own music are not motivated to explore their tastes in music. They are more or less forced to relive the same experience (even if that's intrinsically boring at some point) or confide to the 'pull' of the entertainment markets. I hope Apple will move to offering their catalogue on subscription. Only that will convince me to buy a so-much cherished iPod. Posted by: Marius at October 15, 2005 11:14 AM If you are like me and your musical tastes range from jazz to classical to rock and instrumental music then you have to love the ability to plug-in to a 1,000,000+ library of tunes at any time and listen to ENTIRE songs (not 30second samples) to your heart's content. If my mood changes, I update my playlists. And the best part my music is always with me. It's just like going to the library vs. going to Barnes-n-Noble. Plus if I really like the song I can always buy it but why do that when compressed music is a lossy conversion process anyway? I'd rather buy the CD off of half.com instead... Posted by: Cliff at January 9, 2006 04:18 PM I'm like Cliff. My tastes are varied, and I much prefer the diversity I can obtain from the online music services. Besides, I'm not about to update my LP and cassette library with CDs. I'm too cheap to do that. I am much more likely to try new music by having subscription access than I would otherwise. Posted by: Richard at February 27, 2006 04:12 PM Have any of you "own" your music fans - as if you can own anything with DRM encoded in it - heard of Netflix? Funny thing is as soon as I stop paying my subscription they stop letting me watch DVDs. I don't mind that - why would I mind the same with music? I mean I'll still buy a DVD I REALLY like, but what is great about Netflix and about Rhapsody is that I can try all sorts of media before I buy. Then if I like something enough I can go buy the CD - as in actually own my music aka play it on any music player or rip it in as many formats as I desire (including lossless) and the neat thing is I don't have to burn it to a CD to back it up because it is already on one. What I think is more insane is to purchase music from itunes with DRM in it. That's more like buying a house with a lock controlled by somebody else and they can choose when or how to let you in the house. Posted by: Joe at March 25, 2007 02:19 AM I would much rather subscribe to music than buy it piecemeal. I've already lost mp3's over the years, due to hard-drive crashes, moving computers, etc. It's a big pain to always try to keep a music library backed up and updated to new media as it comes out. I can usually do it for a few years, but it's not a thing I look forward to doing for a lifetime. I use Rhapsody, and it works great. I pay one flat fee, and can listen to virutally any song I can think of. Every day, I can randomly pick some new artist or playlist and listen for a few tracks. If I like it, I can listen more, if not, nothing lost. On my Zen Vision player, I have no qualms about downloading every album that some artist has ever made, and then deleting the tracks I don't like. I feel so free to try out weird stuff that I would normally be cautious paying for. The only thing I'm jealous of is the Apple hardware. I like the players, and the recent Apple TV. I just can't make the transition though... it would mean starting the long slow process of building up a library, at the cost of thousands, to have the same songs I listen to now with Rhapsody. I'm waiting for Apple to provide the subscription, then I'll switch. Posted by: Phil at April 5, 2007 08:08 PM
http://www.bloomberg.com/bw/stories/2005-08-15/i-want-my-itunes-subscription-service
CC-MAIN-2015-32
refinedweb
2,890
70.33
01 August 2012 10:19 [Source: ICIS news] SINGAPORE (ICIS)--?xml:namespace> The plant was initially scheduled to be started up in December 2011, which was further postponed to May 2012. The company official did not provide further details about the second plant. Meanwhile, Shandong Haili has an existing The company has kept one of the three ADA lines in Zibo, with an annual capacity of 75,000 tonnes/year each, shut since early July because of weak demand from the downstream nylon 66 tyre cord, polyurethane (PU), synthetic leather and shoe sole sectors, the official added. The other two units are currently running at 70-80%
http://www.icis.com/Articles/2012/08/01/9582717/chinas-shandong-haili-to-start-up-new-ada-unit-in-mid-august.html
CC-MAIN-2015-22
refinedweb
107
59.43
8.2. Publishing datasets to Git repository hosting¶ Because DataLad datasets are Git repositories, it is possible to push datasets to any Git repository hosting service, such as GitHub, GitLab, Gin, Bitbucket, Gogs, or Gitea. These published datasets are ordinary siblings of your dataset, and among other advantages, they can constitute a back-up, an entry-point to retrieve your dataset for others or yourself, the backbone for collaboration on datasets, or the means to enhance visibility, findability and citeability of your work1. This section contains a brief overview on how to publish your dataset to different services. 8.2.1. Git repository hosting and annexed data¶ As outlined in a number of sections before, Git repository hosting sites typically do not support dataset annexes - some, like gin however, do. Depending on whether or not an annex is supported, you can push either only your Git history to the sibling, or the complete dataset including annexed file contents. You can find out whether a sibling on a remote hosting services carries an annex or not by running the datalad siblings command. A +, -, or ? sign in parenthesis indicates whether the sibling carries an annex, does not carry an annex, or whether this information isn’t yet known. In the example below you can see that a public GitHub repository does not carry an annex on github (the sibling origin), but that the annexed data are served from an additional sibling mddatasrc (a special remote with annex support). Even though the dataset sibling on GitHub does not serve the data, it constitutes a simple, findable access point to retrieve the dataset, and can be used to provide updates and fixes via pull requests, issues, etc. # a clone of github/psychoinformatics/studyforrest-data-phase2 has the following siblings: $ datalad siblings .: here(+) [git] .: mddatasrc(+) [ (git)] .: origin(-) [git@github.com:psychoinformatics-de/studyforrest-data-phase2.git (git)] There are multiple ways to create a dataset sibling on a repository hosting site to push your dataset to. 8.2.2. How to add a sibling on a Git repository hosting site: The manual way¶ Create a new repository via the webinterface of the hosting service of your choice. It does not need to have the same name as your local dataset, but it helps to associate local dataset and remote siblings. Fig. 8.3 Webinterface of gin during the creation of a new repository.¶ Fig. 8.4 Webinterface of github during the creation of a new repository.¶ Afterwards, copy the SSH or HTTPS URL of the repository. Usually, repository hosting services will provide you with a convenient way to copy it to your clipboard. An SSH URL takes the form git@<hosting-service>:/<user>/<repo-name>.gitand an HTTPS URL takes the form https://<hosting-service>/<user>/<repo-name>.git. The type of URL you choose determines whether and how you will be able to pushto your repository. Note that many services will require you to use the SSH URL to your repository in order to do push operations, so make sure to take the SSH and not the HTTPS URL if this is the case. If you pick the SSH URL, make sure to have an SSH key set up. This usually requires generating an SSH key pair if you do not have one yet, and uploading the public key to the repository hosting service. What is an SSH key and how can I create one? An SSH key is an access credential in the SSH protocol that can be used to login from one system to remote servers and services, such as from your private computer to an SSH server. For repository hosting services such as GIN, GitHub, or GitLab, it can be used to connect and authenticate without supplying your username or password for each action. This tutorial by GitHub is a detailed step-by-step instruction to generate and use SSH keys for authentication, and it also shows you how to add your public SSH key to your GitHub account so that you can install or clone datasets or Git repositories via SSH (in addition to the http protocol), and the same procedure applies to GitLab and Gin. Don’t be intimidated if you have never done this before – it is fast and easy: First, you need to create a private and a public key (an SSH key pair). All this takes is a single command in the terminal. The resulting files are text files that look like someone spilled alphabet soup in them, but constitute a secure password procedure. You keep the private key on your own machine (the system you are connecting from, and that only you have access to), and copy the public key to the system or service you are connecting to. On the remote system or service, you make the public key an authorized key to allow authentication via the SSH key pair instead of your password. This either takes a single command in the terminal, or a few clicks in a web interface to achieve. You should protect your SSH keys on your machine with a passphrase to prevent others – e.g., in case of theft – to log in to servers or services with SSH authentication2, and configure an ssh agent to handle this passphrase for you with a single command. How to do all of this is detailed in the above tutorial. Use the URL to add the repository as a sibling. There are two commands that allow you to do that; both require you give the sibling a name of your choice (common name choices are upstream, or a short-cut for your user name or the hosting platform, but its completely up to you to decide): git remote add <name> <url> datalad siblings add --dataset . --name <name> --url <url> Push your dataset to the new sibling: datalad push --to <name> 8.2.3. How to add a sibling on a Git repository hosting site: The automated way¶ DataLad provides create-sibling-* commands to automatically create datasets on certain hosting sites. DataLad versions 0.16.0 and higher contain more of these commands, and provide a more streamlined parametrization. Please read the paragraph that matches your version of DataLad below, and be mindful of a change in command arguments between DataLad versions 0.15.x and 0.16.x. 8.2.3.1. Using DataLad version < 0.16.0¶ If you are using DataLad version below 0.16.0, you can automatically create new repositories from the command line for GitHub and GitLab using the commands datalad create-sibling-github and datalad create-sibling-gitlab. Due to the different representation of repositories on the two sites, the two commands are parametrized differently, and it is worth to consult each command’s manpage or --help, but below are basic usage examples for the two commands: GitLab: Using datalad create-sibling-gitlab is easiest with a python-gitlab configuration. Please consult the python-gitlab documentation for details, but a basic configuration in the file ~/.python-gitlab.cfg can look like this: [global] default = gitlab ssl_verify = true timeout = 5 [gitlab] url = private_token = <super-secret-token> api_version = 4 This configures the default GitLab instance (here, we have called it gitlab) with a specific base URL and the user’s personal access token for authentication. Note that you will need to generate and retrieve your own personal access token under the profile settings of the gitlab instance of your choice (see the paragraph on authentication tokens below for more information). With this configuration, the --site parameter can identify the GitLab instance by its name gitlab. If you have an SSH key configured, it is useful to specify --access as ssh – this saves you the need to authenticate with every push: $ datalad create-sibling-gitlab \ -d . \ # current dataset --site gitlab \ # to the configured GitLab instance --project DataLad-101 \ # repository name --layout flat \ --access ssh # optional, but useful create_sibling_gitlab(ok): . (dataset) configure-sibling(ok): . (sibling) action summary: configure-sibling (ok: 1) create_sibling_gitlab (ok: 1) $ datalad siblings here(+) [git] jugit(-) [git@gitlab.myinstance.com:<user>/<repo>.git (git)] $ datalad push --to gitlab publish(ok): . (dataset) action summary: publish (ok: 1) GitHub: The command datalad create-sibling-github requires a personal access token from GitHub (see the paragraph on authentication tokens below for more information). When you are using it for the first time, you should be queried interactively for it. Subsequently, your token should be stored internally. By default, the URL that is set up for you is an HTTPS URL. If you have an SSH key configured, it is useful to specify --access-protocol as ssh – with this the SSH URL is configured, saving you the need to authenticate with every push. $ datalad create-sibling-github \ -d . \ # current dataset DataLad-101 \ # repository name --access-protocol ssh # optional, but useful You need to authenticate with 'github' credentials. provides information on how to gain access token: <my-super-secret-token> create_sibling_github(ok): . (dataset) [Dataset sibling 'github', project at] configure-sibling(ok): . (sibling) action summary: configure-sibling (ok: 1) create_sibling_github (ok: 1) $ datalad push --to github publish(ok): . (dataset) action summary: publish (ok: 1) 8.2.3.2. Using DataLad version 0.16.0 and higher¶ Starting with DataLad version 0.16.0 or higher, you can automatically create new repositories from the command line for GitHub, GitLab, gin, Gogs, or Gitea. This is implemented with a new set of commands called create-sibling-github, create-sibling-gitlab, create-sibling-gin, create-sibling-gogs, and create-sibling-gitea. Get DataLad features ahead of time by installing from a commit If you want to get this feature ahead of the 0.16.0 release, you can install the most recent version of the master branch or a specific commit hash from GitHub, for example with $ pip install git+git://github.com/datalad/datalad.git@master When getting features ahead of time, your feedback is especially valuable. If you find that something does not work, or if you have an idea for improvements, please get in touch. Each command is slightly tuned towards the peculiarities of each particular platform, but the most important common parameters are streamlined across commands as follows: [REPONAME](required): The name of the repository on the hosting site. It will be created under a user’s namespace, unless this argument includes an organization name prefix. For example, datalad create-sibling-github my-awesome-repowill create a new repository under github.com/<user>/my-awesome-repo, while datalad create-sibling-github <orgname>/my-awesome-repowill create a new repository of this name under the GitHub organization <orgname>(given appropriate permissions). -s/--name <name>(required): A name under which the sibling is identified. By default, it will be based on or similar to the hosting site. For example, the sibling created with datalad create-sibling-githubwill be called githubby default. --credential <name>(optional): Credentials used for authentication are stored internally by DataLad under specific names. These names allow you to have multiple credentials, and flexibly decide which one to use. When --credential <name>is the name of an existing credential, DataLad tries to authenticate with the specified credential; when it does not yet exist DataLad will prompt interactively for a credential, such as an access token, and store it under the given <name>for future authentications. By default, DataLad will name a credential according to the hosting service URL it used for, for example datalad-api.github.comas the default for credentials used to authenticate against GitHub. --access-protocol {https|ssh|https-ssh}(default https): Whether to use SSH or HTTPS URLs, or a hybrid version in which HTTPS is used to pull and SSH is used to push. Using SSH URLs requires an SSH key setup, but is a very convenient authentication method, especially when pushing updates – which would need manual input on user name and token with every pushover HTTPS. --dry-run(optional): With this flag set, the command will not actually create the target repository, but only perform tests for name collisions and report repository name(s). --private(optional): A switch that, if set, makes sure that the created repository is private. Other streamlined arguments, such as --recursive or --publish-depends allow you to perform more complex configurations, for example publication of dataset hierarchies or connections to special remotes. Upcoming walk-throughs will demonstrate them. Self-hosted repository services, e.g., Gogs or Gitea instances, have an additional required argument, the --api flag. It needs to point to the URL of the instance, for example $ datalad create-sibling-gogs my_repo_on_gogs --api "" 8.2.4. Authentication by token¶ To create or update repositories on remote hosting services you will need to set up appropriate authentication and permissions. In most cases, this will be in the form of an authorization token with a specific permission scope. 8.2.4.1. What is a token?¶ Personal access tokens are an alternative to authenticating via your password, and take the form of a long character string, associated with a human-readable name or description. If you are prompted for username and password in the command line, you would enter your token in place of the password3. Note that you do not have to type your token at every authentication – your token will be stored on your system the first time you have used it and automatically reused whenever relevant. How does the authentication storage work? Passwords, user names, tokens, or any other login information is stored in your system’s (encrypted) keyring. It is a built-in credential store, used in all major operating systems, and can store credentials securely. You can have multiple tokens, and each of them can get a different scope of permissions, but it is important to treat your tokens like passwords and keep them secret. 8.2.4.2. Which permissions do they need?¶ The most convenient way to generate tokens is typically via the webinterface of the hosting service of your choice. Often, you can specifically select which set of permissions a specific token has in a drop-down menu similar (but likely not identical) to this screenshot from GitHub: Fig. 8.5 Webinterface to generate an authentication token on GitHub. One typically has to set a name and permission set, and potentially an expiration date.¶ For creating and updating repositories with DataLad commands it is usually sufficient to grant only repository-related permissions. However, broader permission sets may also make sense. Should you employ GitHub workflows, for example, a token without “workflow” scope could not push changes to workflow files, resulting in errors like this one: [remote rejected] (refusing to allow a Personal Access Token to create or update workflow `.github/workflows/benchmarks.yml` without `workflow` scope)] Footnotes - 1 Many repository hosting services have useful features to make your work citeable. For example, gin is able to assign a DOI to your dataset, and GitHub allows CITATION.cfffiles. At the same time, archival services such as Zenodo often integrate with published repositories, allowing you to preserve your dataset with them. - 2 Your private SSH key is incredibly valuable, and it is important to keep it secret! Anyone who gets your private key has access to anything that the public key is protecting. If the private key does not have a passphrase, simply copying this file grants a person access! - 3 GitHub deprecated user-password authentication and only supports authentication via personal access token from November 13th 2020 onwards. Supplying a password instead of a token will fail to authenticate.
https://handbook.datalad.org/en/latest/basics/101-139-hostingservices.html
CC-MAIN-2022-40
refinedweb
2,581
51.58
speed of keystrokes with type() --- Settings.TypeDelay Asked by Brian Shaw on 2017-07-20 from the docs: http:// --- Settings.TypeDelay Specify a delay between the key presses in seconds as 0.nnn. This only applies to the next click action and is then reset to 0 again. A value > 1 is cut to 1.0 (max delay of 1 second) if more than one second between keystrokes is needed or it must be variable: see comment #1 ------- I have a program that needs to accept data at a specific typing rate. Is there an easy way to do this in Sikulix? Question information - Language: - English Edit question - Status: - Answered - For: - Sikuli Edit question - Assignee: - No assignee Edit question - Last query: - 2017-07-20 - Last reply: - 2017-07-21 Oops, put time module import statement first: import time if max 1 sec between strokes is sufficient: Settings.TypeDelay (see in the post text above) Fixed and tested example (use some text editor blank document opened on screen for demo) _________ def type_slow( data,interval) : type(letters[ i]) time.sleep( interval) letters = list(data) for i in range(0, len(data)): click(Location( 400,400) ) type_slow("Hello world!",0.3)
https://answers.launchpad.net/sikuli/+question/651162
CC-MAIN-2017-43
refinedweb
199
61.97
08-08-2013 04:50 PM Question/ Help with symbolic interpretation of Proc Optmodel optimization variable not being a number when being passed to FCMP function from within a Macro. I have a data set that I want to loop through (10+ groups) and optimize a solution by using the min f = myfunc(x1, x2). My dataset comprises of three variables, character, number, number (grouping, var1 and var2). Example Code: %Macro mymacro (dataset); /* Macro set up to loop over the group variable and solve using custom function */ Proc SQL NoPrint; /* defining the distinct group to loop over */ Select Distinct Group into :Grouping Sperated by "," From &Dataset; Quit; %let i = 1; %Do %While (%Scan(%bquote(&Grouping), &i, %Str(,)) ne); %let Group = "%Scan(%bquote(&Grouping), &i, %Str(,))"; Proc SQL; /* subsetting the original dataset down to the various groups, only need to pass the var1 and var2 to the function */ Create Table work.subset AS Select var1, var2 From &Dataset Where grouping = &Grouping; Quit; Proc SQL Noprint; Select count(var1) into :arraySize From work..subset; Quit; Proc fcmp outlib=work.myfuncs.test; /* setup myfunction (this is not the actual function but used to show what I am trying to do) */ function test(x1, x2); array var1[&arraySize.] /nosymbols; array var2[&arraySize.] /nosymbols; rc = read_array(work.subset, var1, 'var1'); rc = read_array(work.subset, var2, 'var2'); do i = 1 to &arraySize; calc = calc + var1*2 + var2*3; end; return (calc); endsub; run; quit; options cmplib = work.myfuncs; proc optmodel; var x1 >= 0.5 <= 8 init 1, x2 >= 1 <= 100 init 50; min f = %sysfunc(test(x1, x2)); Solve with NLPC; print f x1 x2; quit; %let i = %eval(&i+1); %end; %mend mymacro; run; %mymacro(work.mydata); When I run the example of this code the macro will loop through the different groups of data, the function is created and compiled and the proc optmodel calls the function. The error that I get is "argument to function test referenced by %sysfunc or %Qsysfunc macro function is not a number". I do not know how to resolve the symbolic representation of the optimization variable to a number and pass it to the function. If I hard code the inputs to the function (min f = %sysfunc(test(1, 5)) everything works fine so I know it is not the macro, function or the optmodel structure but how to get the optimization variable to be represented as a number before passing to the function. Is there a way to represent the optimization variable as a number and not a symbolic local variable within the optmodel structure? Any help would be great... 09-08-2015 12:06 PM Questions about PROC OPTMODEL in SAS/OR are better suited for the Mathematical Optimization and Operations Research Community. If you still need help, please post there. 09-08-2015 04:03 PM I think you are seeing a result from using a macro function where not needed. Please run these two pieces of code and see if you get similar behavior from them. data _null_; x=3; y=5; j = %sysfunc(min(x,y)); put j=; run; data _null_; x=3; y=5; j = %sysfunc(min(3,5)); put j=; run; The specific message looks like you may be using a call to %SYSFUNC when inappropriate. %SYSFUNC being a macro function is not able to see the data step variables x and y in my example.
https://communities.sas.com/t5/General-SAS-Programming/Proc-Optmodel-inside-Macro-calling-FCMP-function/td-p/105740?nobounce
CC-MAIN-2018-17
refinedweb
565
59.03
Example 27-1 calculates differences between the current time and a time input in absolute format, and then displays the result as delta time. If the input time is later than the current time, the difference is a negative value (delta time) and can be displayed directly. If the input time is an earlier time, the difference is a positive value (absolute time) and must be converted to delta time before being displayed. To change an absolute time to a delta time, negate the time array by subtracting it from 0 (specified as an integer array) using the LIB$SUBX routine, which performs subtraction on signed two's complement integers of arbitrary length. For the absolute or delta time format, see Section 27.1.1 and Section 27.1.2. . . . ! Internal times ! Input time in absolute format, dd-mmm-yyyy hh:mm:ss.ss ! INTEGER*4 CURRENT_TIME (2), 2 PAST_TIME (2), 2 TIME_DIFFERENCE (2), 2 ZERO (2) DATA ZERO /0,0/ ! Formatted times CHARACTER*23 PAST_TIME_F CHARACTER*16 TIME_DIFFERENCE_F ! Status INTEGER*4 STATUS ! Integer functions INTEGER*4 SYS$GETTIM, 2 LIB$GET_INPUT, 2 SYS$BINTIM, 2 LIB$SUBX, 2 SYS$ASCTIM ! Get current time STATUS = SYS$GETTIM (CURRENT_TIME) IF (.NOT. STATUS) CALL LIB$SIGNAL (%VAL (STATUS)) ! Get past time and convert to internal format STATUS = LIB$GET_INPUT (PAST_TIME_F, 2 'Past time (in absolute format): ') IF (.NOT. STATUS) CALL LIB$SIGNAL (%VAL (STATUS)) STATUS = SYS$BINTIM (PAST_TIME_F, 2 PAST_TIME) IF (.NOT. STATUS) CALL LIB$SIGNAL (%VAL (STATUS)) ! Subtract past time from current time STATUS = LIB$SUBX (CURRENT_TIME, 2 PAST_TIME, 2 TIME_DIFFERENCE) IF (.NOT. STATUS) CALL LIB$SIGNAL (%VAL (STATUS)) ! If resultant time is in absolute format (positive value means ! most significant bit is not set), convert it to delta time IF (.NOT. (BTEST (TIME_DIFFERENCE(2),31))) THEN STATUS = LIB$SUBX (ZERO, 2 TIME_DIFFERENCE, 2 TIME_DIFFERENCE) END IF ! Format time difference and display STATUS = SYS$ASCTIM (, TIME_DIFFERENCE_F, 2 TIME_DIFFERENCE,) IF (.NOT. STATUS) CALL LIB$SIGNAL (%VAL (STATUS)) TYPE *, 'Time difference = ', TIME_DIFFERENCE_F END If you are ignoring the time portion of date/time (that is, working just at the date level), the LIB$DAY routine might simplify your calculations. LIB$DAY returns to you the number of days from the base system date to a given date. 27.2.1.2 Obtaining Absolute Time with SYS$ASCTIM and SYS$BINTIM The Convert Binary Time to ASCII String (SYS$ASCTIM) system service is the converse of the Convert ASCII String to Binary Time (SYS$BINTIM) system service. You provide the service with the time in the ASCII format shown in Section 27.3.2. The service then converts the string to a time value in 64-bit format. You can use this returned value as input to a timer scheduling service. When you specify the ASCII string buffer, you can omit any of the fields, and the service uses the current date or time value for the field. Thus, if you want a timer request to be date independent, you could format the input buffer for the SYS$BINTIM service as shown in the following example. The two hyphens that are normally embedded in the date field must be included, and at least one blank must precede the time field. #include <stdio.h> #include <descrip.h> /* Buffer to receive binary time */ struct { unsigned int buff1, buff2; }binary_noon; main() { unsigned int status; $DESCRIPTOR(ascii_noon,"-- 12:00:00.00"); /* noon (absolute time) */ /* Convert time */ status = SYS$BINTIM(&ascii_noon, /* timbuf - ASCII time */ &binary_noon); /* timadr - binary time */ } When the SYS$BINTIM service completes, a 64-bit time value representing "noon today" is returned in the quadword at BINARY_NOON. 27.2.1.3 Obtaining Delta Time with SYS$BINTIM The.
http://h41379.www4.hpe.com/doc/731final/5841/5841pro_071.html
CC-MAIN-2016-44
refinedweb
611
55.64
i'm asking for homework help. i've come to my wits end trying to figure this out and it's due midnight tommorrow est. i'm supposed to write a program to read an inventory file and create the inventory report ( i did that with the given data minus the 5 column headings like it told me to). along with the 5 columns, the report is also going to include the order amount ( calculated as the sum of the reorder point and the minimum order less the quantity on hand). i am to provide a report heading and ending message ( done) and i'm to print the part number with leading zeros. my teacher told us to save the inventory txt in the root directory but my computer wont allow me to because i have vista. he also said we could save it where our project solution is saved (?!!!??). i've only done the first part of my code because i don't think i'm going about this the right way. i've searched the web and i don't think i want to read a whole line but i'm not sure and there isn't an example in my book that is close to this project ( to my limited understanding). here is my code: #include "stdafx.h" #include "stdio.h" #include "stdlib.h" void ordAmt( int reOrder, int minOrd, int quant); int _tmain(void) { // local declarations FILE*spInventRep; int partn; int price; int quant; int reOrder; int minOrd; int ordAmt; //Statements spInventRep = fopen("C:\Users\Jenniy\Desktop\ch 7\inventory09.txt", "r"); if ((spInventRep = fopen("inventory09.txt", "r")) ==NULL) { printf("Error opening file\n"); } // if printf("\t\t\t Inventory Report\n\n"); printf("Part Number"); fscanf(spInventRep, "%4f", &partn); printf("\t Price"); do { fscanf(spInventRep, "%5.2f", &price); if (partn= 0123) [B]\\ these are given in the inventory report [/B] &price = 1.23; [B]\\ as are these, but there are suposed to be loops according to the examples in the book...U.U[/B] if (partn= 0234) &price= 2.34; if (partn= 3456) &price= 34.56; if (partn= 4567) &price= 45.67; if (partn= 5678) &price= 6.78; }while (partn != EOF); printf("\t Quantity on Hand"); fscanf(spInventRep, "%3f", &quant); printf("\t Reorder Point"); fscanf(spInventRep, "%2f", &reOrder); printf("\t Minimum Order"); fscanf(spInventRep, "%2f", &minOrd); printf("\t Order Amount"); fscanf(spInventRep, "%3f", &ordAmt); printf("\n\n\n\t\t\t End of Report"); return 0; } Thank you anyone for helping...
https://www.daniweb.com/programming/software-development/threads/184148/text-file-i-o-help-please
CC-MAIN-2016-50
refinedweb
416
64.2
Convert diff output to colorized HTML August 27th, 2008 by Mitch Frazier in If you search the web you can find a number of references to programs/scripts that convert diff output to HTML. This is a bash version. The script expects "unified" diff output (diff -u) on its standard input and produces a self-contained colorized HTML page on its standard output. Consider the two files: #include <stdio.h> // main main() { printf("Hello world\n"); } #include <stdio.h> main() { printf("Hello World\n"); printf("Goodbye cruel world\n"); } $ diff -u v1.c v2.c | diff2html >v1-v2.htmlThe resulting page is: --- v1.c 2008-08-27 13:04:40.000000000 -0500 +++ v2.c 2008-08-27 13:04:29.000000000 -0500 @@ -1,8 +1,8 @@ #include <stdio.h> -// main main() { - printf("Hello world\n"); + printf("Hello World\n"); + printf("Goodbye cruel world\n"); } The script follows: #!/bin/bash # # Convert diff output to colorized HTML. cat <<XX <html> <head> <title>Colorized Diff</title> </head> <style> .diffdiv { border: solid 1px black; } .comment { color: gray; } .diff { color: #8A2BE2; } .minus3 { color: blue; } .plus3 { color: maroon; } .at2 { color: lime; } .plus { color: green; background: #E7E7E7; } .minus { color: red; background: #D7D7D7; } .only { color: purple; } </style> <body> <pre> XX echo -n '<span class="comment">' first=1 diffseen=0 lastonly=0 OIFS=$IFS" fi lastonly=1 elif [[ "$t4" == 'diff' ]]; then" lastonly=0 elif [[ "$t3" == '+++' ]]; then cls='plus3' lastonly=0 elif [[ "$t3" == '---' ]]; then cls='minus3' lastonly=0 elif [[ "$t2" == '@@' ]]; then cls='at2' lastonly=0 elif [[ "$t1" == '+' ]]; then cls='plus' lastonly=0 elif [[ "$t1" == '-' ]]; then cls='minus' lastonly=0 else cls= lastonly=0 fi # Convert &, <, > to HTML entities. s=$(sed -e 's/\&/\&/g' -e 's/</\</g' -e 's/>/\>/g' <<<"$s") if [[ $first -eq 1 ]]; then first=0 else echo fi # Output the line. if [[ "$cls" ]]; then echo -n '<span class="'${cls}'">'${s}'</span>' else echo -n ${s} fi read -r s done IFS=$OIFS if [[ $diffseen -eq 0 && $onlyseen -eq 0 ]]; then echo -n '</span>' else echo "</div>" fi echo cat <<XX </pre> </body> </html> XX # vim: tabstop=4: shiftwidth=4: noexpandtab: # kate: tab-width 4; indent-width 4; replace-tabs false; Richie On November 24th, 2008 jim3e8 (not verified) says: Your script was useful. The IFS should be set to newline though so that tabs are not collapsed. It is also nice to additionally accept diff input on stdin as in Mitch's original script so one can colorize output from svn/hg/cvs diff via a pipe. Just replace your "diff -u $@" with a variable called $CMD, and set $CMD to "cat" when no args are provided. Interesting post,thanks.Good On September 4th, 2008 monitoring (not verified) says: Interesting post,thanks.Good website. Or use vim On September 4th, 2008 Anonymous (not verified) says: You can also open the diff in Vim, choose your preferred colorscheme, and then use :TOhtml. Not another one! On September 3rd, 2008 Richie (not verified) says: I first thought this was going to be a pure output colorizer for diff. When I read on and realized it was yet another converter to generate HTML from diff output, I was disappointed. "Never mind", I thought, "I'll just write my own." Based heavily on the above program this produces pretty much the same output, but in the console, using ANSI color control sequences. Tinker with the "style color definitions" to change colors to suit your environment. In the course of messing with this, I made a couple of improvements that could be rolled back into the original version: 1. only one call to "read", and 2. "diff -u" is now called internally. I tried not changing IFS, and it seemed to work, so I left those lines out, too. The other thing the original could benefit from is properly named CSS classes! (What on earth do "plus3" and "at2" mean?) As you can see, I've given more meaningful names to my ANSI equivalents. colordiff On April 22nd, 2009 gliks (not verified) says: Hey Richie, you could just use an existing tool colordiff sudo apt-get colordiff great script though. Cheers. tkdiff On August 27th, 2008 Anonymous (not verified) says: Perhaps more interactively helpful is a graphical diff viewer such as tkdiff. Post new comment
http://www.linuxjournal.com/content/convert-diff-output-colorized-html
crawl-002
refinedweb
702
75
Ovidiu Predescu wrote: > > Trust the power of open development and trust the open-mindness of the > > cocoon community. > > I do trust the model, but sometime is hard to formulate what you want > to accomplish. True :) > What I've been thinking about is a syntax which emulates the semantic > of the Scheme language as close as possible, yet provide a syntax, and > a tight integration with Java. > > In Scheme there is no notion of statement, everything is an > expression. This makes possible all sorts of things, so I'm going to > follow this approach. > > Scheme defines nested functions and lexical scoping. A free variable > in an inner function (aka a variable not declared in that function) is > bound in the lexical scope in which it appears, e.g. its definition is > looked up in the outer scopes. This mechanism is called closure, and > is a requirement for continuations as first class objects. > > In Scheme identifiers can contain any symbol you like, except spaces, > because operators, which are really functions, always appear in the > first position in a list. So identifiers like call/cc, send-page, > clear+add are perfectly valid. To be able to call normal Scheme > functions from the flow language, we need to have the same > ability. However because operators in jWebFlow are going to be infix, > we need to require a space before them (see further why a space is not > required after it). Characters like '(' ')' ',' are not allowed in > identifiers. Special characters like '+' '-' '"' and ' are not allowed > at the beginning or end of an identifier. This allows for things like > '-a' 'a - b' 'a++', 'f(1)' to really mean what you intend. However > 'a-b' is an identifier. > > As I mentioned earlier functions also associate arguments by name. You > can call a function either by enumerating the expressions, or by > associating them with names. In the later case, you can pass fewer or > more arguments than are actually declared by the function: > > function my_func(a, b, c) > { > ... > } > > // positional invocation: > my_func(1, 2, 3); > > // by name invocation: > my_func(a = 1, b = 2, c = 3); > my_func(c = 3, a = 1, b = 2); > my_func(a = 1); > my_func(d = 4, c = 3, a = 1, b = 2); > > By name invocation will allow invocation from the XML sitemap without > having to remember what is the order in which the arguments have been > declared in the function: > > <map:call > <map:parameter > <map:parameter > <map:parameter > </map:call> Yes, that's a very good point. > The actual values of the arguments in my_func are associated using > their actual name. Any additional arguments which are not declared by > the function, will be simply ignored. > > Like in Lisp, Scheme, JavaScript, Smalltalk, Python, etc. variables > don't have types associated with them, only values have. Variables are > declared using 'var': > > function my_func(a, b, c) > { > var d = 1; > } > > Functions are first class objects, you can assign functions to > variables. There is the notion of anonymous function, a function > without a name: > > var f = function(a, b) { a + b; }; > f(1, 2); Makes perfect sense. In fact, I really liked the fact that java named the subroutines 'methods' and not 'functions' (C-like) or 'procedures' (Pascal-like), in fact, a method is more abstract and a function, borrowing the math term, is more or a mapping between two domains that a logic block. So, having the ability to have functions as first class objects is both powerful and elegant, at least to my eyes. > The above declares f as a variable that holds a function which takes > two arguments. The function returns the sum of the two > arguments. Anonymous functions are the equivalent of lambda functions > in Scheme. yes, I see this, but with a much less eye-offending syntax :) > Blocks of code are declared with curly braces ('{' and '}'). A block > is really an sequential list of expressions. The value returned by the > block is the last expression in the block: > > function my_func(a, b) > { > var c = { if (a > b) a; else b; }; > } Hmmm, not sure I like the implicit behavior of this. Sure it makes the syntax more compact, but it might be harder to read. I would rewrite it as function my_func(a,b) { return { if (a > b) { return a; } else { return b; } } } [granted, the example is stupid, but you get the point] > > ... > } What I don't like about 'implicit behavior' is the fact that people must be aware of these rules in order to understand what's going on behind their backs... sure, this is no problem for you when you write the code since you probably know what you're doing, but yor colleages that comes next has much less information to learn from. So, I'm ok for having an implicit void return (which means 'no return means I return nothing'), but I don't like the implicit valued return out of 'last variable', I think this is potentially harmful even if reduces verbosity. > As Scheme the language has proper tail recursion. This means the > following code consumes no stack at runtime: > > function f (i, acc) > { > if (i == 0) > acc; > else > f (i - 1, acc + i); > } > > f (100000); Cool, even if I don't see much use of big-time recursion in flow languages (at least, if you need it, there's too much business logic in your flow) > Built-in datatypes are numbers, arrays, dictionaries and function > objects. There is a special type 'void', that has a single possible > value named 'void'. What about 'strings', 'dates' and the like? > With numbers there is no distinction between int, float etc. as in > Java. Instead, as in Scheme, the language supports a tower of numeric > subtypes, which allows arbitrarily large numbers, either exact or > inexact, in a transparent manner. > > An array is declared using square brackets ('[' and ']'): > > var array = [1, 2, "abc"]; how do you access the array values? var a = array[1]; would be my guess, where the [*] expression indicates a positional indication. > A dictionary is defined using comma in an expression context: > > var dict = {"a" = 1, "b" = 2}; how do I access the dict values? var a = dict["a"]; would be my guess, where the [*] expression indicates an hashmap-like random-access indication. (sort of an array with indirected positions) > As in Scheme and JavaScript, dynamic code can be created and executed > at runtime using the 'eval' function: > > eval("1 + 2"); > > parses and evaluates the "1 + 2" expression. Eval makes the parser and > evaluator available in the language. Yes, this is really powerful. I remember discovering this in BASIC when I was a little kid and loved it :) > The interface with Java is straightforward. You can write: > > import java.io.*; > > var a = new InputStream(new File("/tmp/a")); > > The 'import' statement is a special expression which defines, in the > current scope, a set of variables with the same name as the imported > classes. E.g. this means that the scope of an imported class name is > valid only in the scope in which it was defined: > > { > import org.MyClass; > > var a = new MyClass(); // refers to org.MyClass > } > new MyClass(); => illegal, MyClass not defined > > import com.MyClass; > var b = new MyClass; // refers to com.MyClass; cool, I love this, it finally removes the need for classname collision in the same file (as for the classname Parser, which almost every package defines nowadays!) What about: import org.first.MyClass; var a = new MyClass(); { import org.second.MyClass; var a = new MyClass(); } a = ?? is "a" still referenced to 'org.first.MyClass'? > Handling Java exceptions is similar with Java: > > try { > a.write("abc"); > } > catch(IOException e) { > System.out.println("exception caught: " + e); > throw new RuntimeException(e); > } > > The lexical scoping, of which I've talked about earlier, allows things > like this: > > function my_func(a, b) > { > function(c) > { > return a + b + c; > } > } > > var f1 = my_func(1, 2); > var f2 = my_func(2, 3); > > f1(3); // returns 6 > f2(4); // returns 9 > > my_func is a function which returns a function object. Inside the > returned function object, the values of a and b are bound to the ones > at the time of my_func invocation. For example in the f1 case, the a > and b values are bound to 1 and 2 respectively. This is what is called > 'closure' in functional languages. yes, this is a very cool feature. > I guess I can go on and on, but I'll stop here. Please let me know if > I forgot to mention something which you consider is important. I'll think about it a little more. > Right now I'm trying to decide on a way to implement the translator, > which also allows me to introduce support for macros at a later > point. Macros would be an advanced feature of the language, which > allows one to introduce new syntaces for the language, essentially > extending the language syntax at runtime. This is one of the very > powerful features of Scheme and Lisp languages in > general. Particularly Scheme has a very powerful way of defining > macros, and I'd like to have this in the language as well. In fact, if > you look at Scheme, the core language has very few built-in > constructs, and everything else is defined in terms of these using > macros. > > While programming in Python some years ago, I always missed the > ability to define my own syntax. Ahg, smells like FS to me :) > The Python parser is implemented very > nicely, which makes you think you can extend the syntax, or define new > mini-languages by using Python's parser. Unfortunately this is not > possible, as Python doesn't expose the parser at the language level. > > OK, I'm not going to talk more about this feature, as I think Stefano > will quickly categorize it in the "flexibility syndrom" category ;-) yep :) > I'll see instead if I can implement the translator in a way which > leaves the doors open. ok, we'll see where this brings
http://mail-archives.apache.org/mod_mbox/cocoon-dev/200202.mbox/%3C3C7E48CD.3C18BF8C@apache.org%3E
CC-MAIN-2016-30
refinedweb
1,644
61.56
L L&T 31 August Books - cover.qxp_L&T MASTER COVER 02/08/2016 13:21 Page 2 Rare Books, Manuscripts, Maps & Photographs Wednesday, 31st August, 2016 at 11am Sale Number LT476 Viewing Times Sunday, 28th August 12 noon - 4pm Monday, 29th August 10am - 5pm Tuesday, 30th AugustŁ% up to £50,000 / 20% thereafter. imports, 31st August, 2016 1-15 Art & Architecture 16-37 Atlases, Maps & Prints 38-52 Children’s Books 53-57 Continental Books 58-98 Gaelic & Scottish Books: The Collection of the Late Mr Angus John MacDonald 99-114 History & Military 115-175 Literature 176-230 Manuscripts Charles Edward Stuart & James Francis Edward Stuart Letters: lots 219-226 231-256 Miscellaneous 257-316 Natural History 317-324 Original Illustrations 325-344 Philosophy & Religion 345-349 Photography 350-364 Private Press, Illustrations & Bindings 365-394 Science & Mathematics 395-408 Sport 409-536 Travel & Topography Front Cover Lot 278 (detail) Lot 47 (detail) Inside Front Cover Lot 257 (detail) Inside Back Cover Lot 273 (detail) Rare Books, Manuscripts, Maps & Photographs 5 ART & ARCHITECTURE 1 HE175/2 Antonini, Carlo Manuale di Vari Ornamenti... Rome: Casaletti, 1777. 4to, volume 1 only, 50 engraved plates, contemporary calf, soiling, dampstaining, rubbing £200-300 2 HE65/3 Arnold, Sir Thomas W. & Professor Adolf Grohmann The Islamic book. A Contribution to its Art and History from the VII-XVIII century. London: Pegasus Press, 1929. 4to., number 134 of 375 copies, 104 plates, some coloured, original blue morocco with decorative Islamic gilt design on covers, t.e.g., rubbed £200-300 3 LT2016/33 Art Reference a quantity of art reference books and auction catalogues, in 8 boxes, hardback and paperback £200-300 4 HC959/19 Asian art - Lucas, Sydney Edward - Sassoon, Sir Ellice Victor The Catalogue of the Sassoon Chinese Ivories. London: Country Life, 1950. 3 volumes, folio, limited edition, number 135 of 250 copies, signed by both Sir Victor Sassoon and S.E. Lucas, coloured frontispiece and 224 plates, original half vellum gilt, t.e.g., uncut, in cloth slipcases, a fine set Note: A magnificent set describing and illustrating the finest and largest private collections of Chinese ivories of its time. The collection was made in Peking between 1915 and 1927. Many pieces were purchased from Manchu families and others from Taoist and Buddhist Temples. £1,500-2,500 5 HD610/7 Campanalogy - Ancient bells at Alnwick, Northumberland, a collection of 14 letters & Introduction, discussing the inscription on the “Mary Bell” at St. Michael’s Alnwick, bells in English and Northumberland church history, the letters from Rev. J. Collingwood Bruce, Mr Proctor of Doddington, W.C. Lukis and others to Mr G. Skelly of Alnwick, bound in 19th century green half morocco, 8vo, 1862-64 £300-400 6 HE65/21 Decoration & Ornament, 2 works, including Fischbach, Frederick Ornament of Textile Fabrics. London: B. Quaritch, [1882]. Folio, 2 parts (text in original wrappers, plates loose in worn cloth portfolio), 160 colour printed plates on textured paper, upper and lower board only, lacking spine, library blindstamp to plate and text margins; Jones, Owen The Grammar of Ornament. London: B. Quaritch, 1868. Folio, 109 chromolithograph plates, brown half morocco, library blindstamp to foot of chromolithographed title, final plate and printed title, no other library stamps, hinges weak, worn (3) £300-400 7 HD218/2 Dodgson, Campbell - Edmund Blampied A Complete Catalogue of the Etchings and Dry-Points of Edmund Blampied R.E. London: Halton & Truscott Smith, 1926. 4to, number 54 of 350 copies with frontispiece signed by Blampied, 61 individual leaves of etchings and 16 other leaves of images, original cloth £200-300 8 HE175/3300-500 4 9 HE98/3 Howe, E.R,J. Gambier Franks Bequest. Catalogue of British and American Book Plates... London: British Museum, 1903-1904. 3 volumes, 8vo, original black cloth, stamps and withdrawal stamps of ‘Public Library of W.A.’ (3) £150-200 10 HE23/1 Morgan, Edwin Colour Poems. Glasgow: Third Eye Publications, 1978. Comprising 5 prints by Morgan, each 60 x 42cm., with cover sheet, contained in original printed clear plastic folder, limited to 100 copies £250-350 11 HE65/49 Oriental Rugs and Carpets, a collection of 38 volumes, including Kendrick, A.F. & C.E.C. Tattersall Hand-woven Carpets Oriental & European. New York, 1922. 2 volumes, 4to., plates, original pictorial buckram, slightly soiled; Gans-Ruedin, E. Iranian Carpets. 1978; Hopf, A. Oriental Carpets and Rugs. 1962; GroteHasenbalg, W. Masterpieces of Oriental Rugs. Berlin, [n.d.], 3 volumes, 8vo, cloth-backed boards; Edwards, A.C. The Persian Carpet. 1960; Gantzhorn, V. The Christian Oriental Carpet. 1991; plates, original cloth, dustwrappers; and c. 32 others, hardback and paperback (38) £300-400 12 HE175/1 [Rogerson, H. Summerfield] [Modern Ornament. Manchester: The Decorative Art Journal Company Ltd., c.1900?] Folio, 12 plates, original cloth gilt, lacking title-page, some plates with small tears, some tears to text, covers worn and soiled; Jones, Owen The Grammar of Ornament. London: Bernard Quaritch, 1868. Small folio, 111 plates (of 115) including 6*, 29*, 41*, 42*, 47*, 53*, 54*, 67*, 69*, 81* & 86* lacking plates 48, 54, 80 & 89, contemporary half morocco, covers repaired and becoming detached, some soiling (2) £150-200 6 Lyon & Turnbull 13 13 HD435/128 Ruskin, John Works. Boston: Estes & Laurait, 1897. Connoisseur edition, 26 volumes, 8vo, number 34 of 50 copies, half crushed red morocco with elaborate gilt tooling to spines (17) Provenance: Appleby Castle Library, Appleby Castle, Westmorland £800-1,200 14 EZ774/53 Tattersall, George Sporting Architecture. London, 1841. 4to, engraved frontispiece and vignette title and 18 engraved plates, illustrations, original cloth, rubbed, upper joint split £150-200 15 HE107/11 Varley, J. A Treatise on the Principles of Landscape Design... London: J. Varley, [n.d.] Oblong 4to., 10 large and 18 small illustrations, some handcoloured, all laid-down onto pages, 12 leaves of text also laid-down onto pages, contemporary half morocco with original paper label to upper cover, some rubbing and browning £300-400 ATLASES, MAPS & PRINTS 16 HE63/11 Alnwick, Ordnance Survey Maps Ordnance Survey Office, 1866. 7 double page engraved maps, 69 x 101cm., some dust-soiling, a couple of splits at fold, half morocco, worn £100-150 17 HD476/6 Atlas - Martin, R. Montgomery The Illustrated Atlas. London: J. & F. Tallis, [1851]. Folio, engraved title, 15 (of 81) engraved maps, contemporary cloth £150-200 18 HE31/2 Battle of the Nile An Exact Representation of the English & French Fleets under the Command of Rear Admiral Sr. Horatio Nelson K.B. & Admiral Brueys off the Mouth of the Nile, on the 1st August 1798. London: Laurie & Whittle, 18th Oct. 1798. 42.5 x 50.5cm, hand-coloured, one long repaired tear, some dust-soiling £300-400 Rare Books, Manuscripts, Maps & Photographs 7 19 Blaeu, Willem Le Theatre du Monde, ou Nouvel Atlas de Jean Blaeu. Cinquieme Partie. Amsterdam: Jan Blaeu, 1654. Folio, hand-coloured engraved title and 55 hand-coloured engraved maps mounted on guards throughout, 54 double-page, contemporary calf, raised bands, spine gilt, occasional slight discolouration or light spotting, lightly rubbed, head of spine worn, small splits at foot of upper joint Note: The present atlas is volume five of the six-volume French text edition of the Theatrum (or Théâtre du Monde ). The volumes of the Theatrum were published separately from 1635 to 1655. Volume 5 was introduced with French text in 1654. In its completed form, the Theatrum was the finest and most accurate atlas yet to have been published. 49 of the maps are of Scotland and 6 of Ire efforts, dogged by war, poverty, copyright restrictions, and only intermittent official support, ‘Scotland became one of the best mapped countries in the world’ (Stone, 1989)” (C. Fleet: Blaeu Atlas of Scotland, 1654, NLS). £7,000-9,000 8 Lyon & Turnbull 23 HE63/9 Durham & Oxford Engraved and lithographed views of Durham Cathedral after Bouet & E. Blore, interiors of York Minster, 1 drawing of Durham Cathedral by J. Buckler (torn, frayed and soiled), unsigned, pen and ink sketch of Durham c.1830, Bamburgh Castle, engraved views of Oxford by J.M. Richardson and others, engravings of seals by E. Blore, &c., many dustsoiled, all stuck down in waterstained half morocco folio £300-400 24 HD435/151 Durham, 4 maps, comprising: Greenwood, C. & J. Map of the County Palatine of Durham. Jan. 26 1831. Hand-coloured engraved map, 586 x 695mm., Cary, John A new Map of Durham, divided into Wards. 1801. Hand-coloured engraved map, 482 x 537mm., small repaired tear top right; Mordern, R. Episcopatus Dunelmensis.. Bishoprick of Durham. Engraved map, hand-coloured in outline, 363 x 420mm., with accompanying text from Camden’s Britannia (1722); Saxton, C. Dunelmensis Episcopatus. Engraved map hand-coloured in outline, 275 x 335mm., with accompanying text from Camden’s Britannia, 1610 (4) Provenance: Appleby Castle Library, Appleby Castle, Westmorland £150-200 25 HE91/1 Gross, Anthony Sussex, 1926, etching, signed in pencil to plate margin, framed and glazed, 16 x 20cm £300-400 26 20 HE369/1 Browne, W.H., artist & Haghe, Charles, engraver Lithographed plate showing Fjord Near Uppernavik & Ravine Near Port Leopold, 33 x 26cm,framed and glazed, from Ten Coloured Views Taken During the Arctic Expedition... under the Command of Captain Sir James C. Ross... London: Ackermann & Co., 1850 26 HE125/2 India - Coromandel Coast - Laurie, Robert and James Little The Coast of India between Calymere and Gordeware Points, including the Coast of Coromandel, with Part of the Coast of Golconda. London: Robert Sayer, 1787. Engraved map, 61 x 46cm., framed and glazed, not laid down £150-200 £120-180 21 HD435/153 Collection of 10 maps, including Saxton, C. Barkshyre. [c.1637] and Huntingdon [c.1637], foot of map trimmed; Blome, Richard A Mapp of Hartfordshire, [c.1673], engraved map handcoloured in outline; Modern, Robert Essex; Middlesex; Buckinghamshire; Cheshire. Engraved maps, hand-coloured in outline, with accompanying text from Camden’s Britannia (1722); Cary, J. A map of Surry from the best authorities. Engraved map, hand-coloured, with accompanying text from Camden’s Britannia (1787); Smith, C. A New Map of the County of Berks. 1804, Corrected to 1808. Hand-coloured engraved map; Smith, C. A New Map of the County of Cambridge. 1804, corrected to 1808, hand-coloured engraved map; and 3 small engravings; Domesday Book Or the Great Survey of England. Facsimile of the part relating to Cheshire. 1861. 4to., original cloth gilt (14) Provenance: Appleby Castle Library, Appleby Castle, Westmorland £200-300 22 SV482/31 de Wit, Frederick The Plan of Edinburgh. Exactly done from the original of D. Witt. London: J. Smith, 1658, 120 x 56cm, hand-coloured, framed and glazed £250-350 28 Rare Books, Manuscripts, Maps & Photographs 9 29 27 HD954/1 Map of Arabia and the Persian Gulf South West quadrant [only] of hand-coloured lithographed map, ‘published under the direction of the Hon’ble Colonel, 1910’, [Calcutta: Survey of India, 1910], divisions in blue crayon, labelled Hejaz, Yemen, and “Ex-Turkish but probably no mans land” (probably relating to the collapse of the Ottoman Empire and the Arab Revolt following the First World War), laid down on linen, some wear at folds, 62 x 87cm. £100-200 28 HE508/1 Map of Scotland, 1715 - Nicolas Sanson, d’Abville - Henry Overton Sutton Nicholls A New and Exact Mapp [sic.] of Scotland or North-Britain. London: Henry Overton, 1715. 92 x 62cm, hand-coloured in outline, hand-coloured cartouches, framed and glazed £1,000-1,500 29 HE65/120700-1,000 30 HE9/2 Philippines - Anson, George A Chart of the Channel in the Phillippine Islands through which the Manila Galeon passes together with the adjacent Islands. London, 1740. 72 x 55cm., hand-coloured engraved map, framed and glazed, slight crease at centre right edge £100-200 30 10 Lyon & Turnbull 34 31 HE65/122 £200-300 32 HE82/1150-200 33 HE82/7 Scottish manuscript and lithographed plans and maps, a collection, including Manuscript Plan shewing the proposed new Roofs of Shrubhill House, hand-coloured manuscript plan, Signed Sibbald Smith, [c.1820]; Manuscript Plan for the Improvement of Laurieston Village 1804, manuscript on paper; Feuing plan of the Building ground on Leith Walk... by Robert Brown, Architect. 1825, lithographed on linen; Akeley, R.B. Manuscript Plan of Part of the Estate of Lochnell, proposed to be feud by R.B.O. Akeley Esq., 1862, ms. on linen; Manuscript plan of land close to Duntreath Castle, c.1840, ms on linen; Bryce, David Sketch plan for alterations on old house at Fossaway, 1840, pencil plan on paper; 2 ms architectural plans for extensions to house at Fossaway, on linen, 1857; Taylor, John Manuscript sketch of Excampion and New Line of March Fence between Fanny Hill and Earnieside. 1845, hand-coloured manuscript plan on paper; Fossaway Church Plans shewing new arrangement of seats, manuscript plan on paper, part coloured; Plan of Mauldslee entailed Estate, lithographed plan, 1872; Ritson, James Plan & Sections of the Wet Dock, Ship Canal and Tide Harbour at Perth. Edinburgh 1834, hand-coloured engraved plan; Splint Coal Workings, Virtuewell Coal Workings, Ell Coal Workings Manuscript plans on linen, [c. 1889]; Strachan, T. Plan of the Estate of Skipness, lithographed plan, hand-coloured in outline, 3 copies, mostly good condition; and several other engraved maps £300-500 34 HE65/121 Speed, John The Turkish Empire. London: G. Humble, [1626] Hand-coloured engraved map, English text on verso, 395 x 515mm. £1,000-1,500 Rare Books, Manuscripts, Maps & Photographs 11 35 HC245/1 Taylor, George and Andrew Skinner Taylor & Skinner’s Survey and Maps of the Roads of North Britain or Scotland. London: for the Authors, 1776. Engraved title, 61 folding maps on 31 leaves, without the map of Scotland (possibly not bound in), double-sided index leaf (rather than two pages, as is often the case) split at fold without loss, contemporary green morocco travelling binding, part detached £300-400 36 HE125/1 Visscher, Nicolaus Indiae Orientalis, nen non Insularum adiacentium Nova Descriptio. Amsterdam, [c.1670]. Engraved map handcoloured in outline, 54 x 63cm., some spotting, hairline crack below cartouche £400-500 37 HE63/13 Warkworth Harbour - Plan of the proposed Dock and of the Improvements at Warkworth Harbour, in the County of Northumberland. London, 29 November 1844. John Rennie. 62 x 129cm., ink and watercolour, on thick paper, folded £300-500 36 CHILDREN’S BOOKS 38 HE107/7 “Carrol, Lewis” [Charles Lutwidge Dodgson] Le Aventure d’Alice nel Paese Delle Meraviglie. London: Macmillan & Co., 1872. First Italian edition published in London, 8vo, original cloth, stamped ownership signature to title-page, cloth on spine torn 42 HE107/14 “Carrol, Lewis” [Charles Lutwidge Dodgson] Alice’s Adventures Under Ground, being a facsimile of the original ms. book and afterwards developed into “Alice’s Adventures in Wonderland.” London: Macmillan & Co., 1886. 8vo, original red cloth gilt £150-250 £100-150 39 HE107/8 “Carrol, Lewis” [Charles Lutwidge Dodgson] Le Avventure D’Alice nel Paese Delle Meraviglie. Turin: Ermanno Loescher, 1872. First edition published in Italy, second impression?, original red-orange cloth gilt 43 HE107/16 “Carrol, Lewis” [Charles Lutwidge Dodgson] The Hunting of the Snark. London: Macmillan and Co., 1876. First edition, 8vo, original cloth, some internal browning, some soiling and bumping to covers £200-300 £200-300 40 HE107/9 “Carrol, Lewis” [Charles Lutwidge Dodgson] Aventures d’Alice au Pays des Merveilles. London: Macmillan and Co., 1869. First French edition, original blue cloth gilt, gift inscription to endpaper, some light foxing, covers faded and chipped with spine partially detached 44 HD865/2 Greene, Graham The Little Horse Bus. London: Max Parrish, [1952]. 4to, original red cloth gilt, dust-jacket with a few small chips and a couple of closed tears to lower cover £200-300 41 HE107/13 “Carrol, Lewis” [Charles Lutwidge Dodgson] Alice’s Adventures in Wonderland. London: Macmillan & Co., 1868. Thirteenth thousand, 8vo, half-title inscribed: John Proctor, Esq. from the Author, Oct. 1868, original red cloth gilt, some internal and external soiling £600-800 £150-200 12 Lyon & Turnbull 47 45 45 HE107/15 Milne, A.A. The House at Pooh Corner. London: Methuen & Co. Ltd., 1928. First edition, 8vo, original pink cloth with gilt Christopher Robin and Pooh motif to upper cover, dust-jacket, some fading and slight soiling to spine, a few very small chips to dust-jacket with a little marking to lower cover, some offsetting onto endpapers £500-700 49 HE21/2 Rackham, Arthur - J.M. Barrie Peter Pan in Kensington Gardens. London: Hodder & Stoughton, 1906. First edition, 4to, 50 tipped-in colour plates, original russet cloth gilt, bookplate of Maud A. Hibbert, some foxing, mainly to initial pages, very slight fading to spine, some light rubbing to joints £200-300 46 SV730/69E Milne, A.A. When We Were Very Young. 1925. 12th edition, a few spots; Now we are six. 1927. First edition, dustwrapper with loss to spine, spotting, small marginal tears, half-title discoloured and with inscription, head of spine slightly faded; Winnie-the-Pooh. 1926. First edition, half-title with inscription, a few stains to lower board; The House at Pooh Corner. 1928. First edition, spine faded, endpapers discoloured; Grahame, Kenneth The Wind in the Willows, 1931. 38th edition, dustwrapper soiled (5) £300-400 47 HD959/3 Potter, Beatrix The Tailor of Gloucester. [Strangeways]: 1902. First edition, 12mo, one of 500 copies privately printed for Potter, original pink boards with line drawing of mice to upper cover, coloured frontispiece and 15 colour plates, some small holes to hinges at dedication leaf, and also at final leaf, some foxing to covers £1,200-1,800 48 HE21/3 Rackham, Arthur Ruskin, John The King of the Golden River. London: George Harrap & Co. Ltd., 1932. 8vo, 4 colour plates by Rackham, original wrappers, dustjacket with closed tear to lower cover; Browning, Robert The Pied Piper of Hamelin. London: George G. Harrap & Co., Ltd, 1934. 8vo, 4 colour plates by Rackham, original wrappers; and 2 later editions of Wind in the Willows (4) £160-200 49 Rare Books, Manuscripts, Maps & Photographs 13 50 HE109/1 Rackham, Arthur - S.J. Adair Fitzgerald The Zankiwank & the Bletherwitch. London: J.M. Dent, 1896. First edition, 8vo, frontispiece & illustrations by Rackham, some full page, original green pictorial cloth stamped at foot of spine “F.A. Stokes Co.”, t.e.g., others uncut, early inscription on front endpaper £500-600 51 HE21/1 Rackham, Arthur - The Brothers Grimm Grimm’s Fairy Tales. London: Constable & Company Ltd., 1909. First edition, 4to, 40 tipped-in plates, original red cloth gilt, pencil note to front flyleaf, a little fading to spine, some slight bumping to corners £400-600 52 HE87/1 Rowling, J.K. Harry Potter and the Philosopher’s Stone. London: Bloomsbury, 1997. First edition, 53rd impression, paperback, 8vo, signed by Rowling on dedication page, some very slight creasing to lower cover £250-350 CONTINENTAL BOOKS 53 HE62/1 £500-700 54 HE89/7 French literature, a collection of; and 29 others (33) £80-120 51 55 HE124/1 Rabelais, François Oeuvres. Amsterdam: Henri Bordesius, 1711. 6 volumes bound in 5, small 8vo, engraved title-page, portrait, 3 folding engraved plates, folding map, title-pages in red and black, contemporary blind-stamped calf with gilt tooling to spines, bookplates and writing in an early hand to endpapers, a couple with small signatures in blue biro to flyleaves, some slight rubbing and nibbling to covers (5) £300-400 56 EZ774/75 Royal binding of Louis XIV - La Fayette, Marie Madeleine Pioche de la Vergne, Comtesse de La Princesse de Monpensier. Paris: Louis Billaine, 1662. 8vo (141 x 79mm.), half-title (between preliminaries and start of text), woodcut emblem on title-page, remboitage of contemporary French red morocco gilt with arms of Louis XIV, spine richly gilt in comparrments with lettering piece, gilt dentelles, marbled endpapers, edges gilt, A1 soiled Note; First edition, published anonymously. Separated from her husband in 1659, Mme de la Fayette settled in Paris, where she enjoyed the friendship of Madame Henriette, sister of Charles II of England and wife of the duc d’Orléans, brother of Louis XIV. One of Mme de la Fayette’s principal romances, La Princess de Monpensier constitutes a study of political marriage void of love, which ends tragically. The privilege states that it was originally granted to Agustin Courbé, and was then passed by him to Thomas Jolly and Billiane, who were associated with de Sercy. Copies of this first edition are found with imprints mentioning just one of each of these three printers; Jolly and Billaine use the same device on the title-page, wheras de Sourcy uses his own. £350-450 57 HD889/2 Soto, Pedro de Methodus Confessionis... Dillingen: Sebald Mayer, Christophorus Schick, 1560. 12mo, contemporary stamped pigskin, clasps (upper clasp broken) some initial worming slightly affecting text, old library ticket to spine, stamp of Buxheim library to title-page, some annotations in an early hand [USTC 675849] £200-300 53 14 Lyon & Turnbull GAELIC & SCOTTISH BOOKS: THE COLLECTION OF THE LATE MR ANGUS JOHN MACDONALD Angus John MacDonald was born into a crofting family on North Uist in 1933, moving to mainland Scotland in the 1950s. He travelled widely, visiting North America, Africa and New Zealand but his greatest interest was his book collection, amassed over some 50 years. He was widely recognised as something of an authority on Gaelic literature, being interviewed a number of times by BBC Alba. Angus John invested much time and scholarly energy in his library. The following 41 lots comprise his outstandingly comprehensive collection of Gaelic and Scottish books. Lot 79, Alexander MacDonald’s A Galick and English Vocabulary (Leabhar a Theagasc Ainminnin), is one of the earliest books in the collection, and one of the earliest English-Gaelic vocabularies. Lot 80 is also a highly significant work in the history of Gaelic printing – a third edition of MacDonald’s Ais-Eiridh na Sean-Chanoin Albannaich..., Hugh Cheape writes that the first edition of this work, published in 1751, was, “the first book of original Gaelic verse and, in terms of the language, essentially the first published vernacular and the genesis of a written tradition in Scottish Gaelic.” Rumour has it that the book, in its first edition, was burned by the public hangman [Cheape, The Gaelic Book…] Scottish topography also finds a place in the library, with copies of Erskine Beveridge’s North Uist and Coll and Tiree both featuring. Moreover, the collection offers the opportunity to acquire some exceedingly rare items. Co-Chruinneachadh Nuadh do Dh’Orannibh Gaidhealach, an 1806 collection of Highland songs, only appears to have one traceable copy, in the National Library of Scotland. Similar treasures can be discovered throughout this remarkable collection. 58 HE71/11 Beveridge, Erskine North Uist, its Archaeology and Topography. Edinburgh: William Brown, 1911. 4to, number 129 of 315 copies, inscribed to Douglas Sladen[?] from the author, folding map in pocket at rear of volume, original green half calf gilt, stamps to reverse of plates of the “Free Public Library, Richmond, Surrey” mostly covered with tippex £300-400 59 HE71/12 Beveridge, Erskine Coll and Tiree, their prehistoric forts and ecclesiastical antiquities. Edinburgh: T. and A. Constable, 1903. 4to, out-of-series copy of 300, folding map, plates, original quarter morocco gilt, some rubbing £200-300 Rare Books, Manuscripts, Maps & Photographs 15 60 HE71/18 Browne, James A series on the history of the Highlands and of the Highland Clans; with an extensive selection from the hitherto inedited Stuart Papers. Edinburgh and London: A. Fullarton & Co., [n.d.]. 4 volumes, 4to, 63 plates, 21 coloured, green half morocco gilt (4) £250-350 61 HE71/43 Campbell, Margaret Olympia A Memorial History of the Campbells of Melfort. London: Simmons & Botten, 1882. 4to, original maroon cloth gilt, ownership signature to halftitle, some browning, some fading to covers £100-150 62 HE71/40 Celtic Monthly - John MacKay, editor A Magazine for Highlanders. Glasgow: Archibald Sinclair, 1893-1905, and 1916. 14 volumes, comprising volumes 1-13 and volume 24, mostly contemporary half calf, rubbed; The Highland Monthly Inverness, 1889-1893. Volumes 1-5 in 4, contemporary half calf; Campbell, J.P., publishers Cuairtear nan Gleann, o Mhairt 1840 - gu Mhairt 1841. Glasgow, 1841. 8vo, later half-calf; and 3 others (22) £150-200 63 HE71/37 Christianity, a small collection Buchanan, Dugald. The Life and Conversion of Dugald Buchanan. Edinburgh, 1898; Campbell, Murdoch. From Grace to Glory. London, 1970; Collins, G. N. M. Men of the Burning Heart. Edinburgh, 1983; Dowden, John. The Celtic Church in Scotland. London, 1894; Guthrie, John. The Christian’s Great Interest. Edinburgh, 1894; Kennedy, John. The Apostle of the North. Glasgow, 1978; and a small quantity of others, sold not subject to return £80-120 64 HE71/30 Clan Histories, 15 books MacLean, J.P. A History of the Clan MacLean. Cincinnati, 1889. 4to, original green cloth; Fraser-Mackintosh, Charles The Last MacDonalds of Isla. Glasgow, 1895. 4to, original cloth; [Idem] An Account of the Confederation of Clan Chattan... Glasgow, 1898. 4to, original cloth; MacInnes, John The Brave Sons of Skye. London, 1899. 4to, original red cloth gilt; MacLeod, R.C., editor The Book of Dunvegan. Aberdeen: Spalding Club, 1938. 2 volumes, 4to, original green cloth gilt; Black, George F. The Surnames of Scotland. New York, 1946. 4to. red cloth; MacDonald, Angus A Family Memoir of the MacDonalds of Keppoch. London, 1885. 8vo, number 2 of 150 copies; and 7 others, sold not subject to return (15) £300-400 65 HE71/8 Colquhoun, John - Buttar, Patrick An T-slighe... Duneidin [Edinburgh]: A. Balfour, 1826. 12mo, contemporary calf with gilt tooling to spine, a few pages trimmed in lower margins, small repair to title page and pp3-4, RARE: no copies found in libraries, microfilm copy in National Library of Scotland Note: a Gaelic religious text on the subject of sin £100-150 66 HE71/24 Gaelic language, dictionaries and bibliography, 11 books Shaw, William An Analysis of the Galic Language. Edinburgh, 1778. Second edition, 8vo, half calf over original boards; Macfarlane, P. A New and Copious Vocabulary in two parts... [Focalair ur Gaelig agus Beurla...] Edinburgh, 1815. 8vo, contemporary half calf; Armstrong, R.A. A Gaelic Dictionary, in two parts. London, 1825. 4to, later half calf; The Highland Society of Scotland Dictionarium Scoto-Celticum... Edinburgh, 1828. 2 volumes, 4to, cloth; McAlpine, Neil The Argyleshire Pronouncing Gaelic Dictionary. Edinburgh, 1832. 8vo, contemporary green calf; Reid, John Bibliotheca Scoto-Celtica... Glasgow, 1832. Large 8vo, contemporary half morocco, author’s regards inscribed to flyleaf; MacKay, Charles The Gaelic Etymology of the Languages of Western Europe... London, 1877. 4to, green cloth, title torn; MacLean, Donald Typographia ScotoGadelica... Edinburgh, 1915. Large 8vo, number 131 of 250 copies signed by the publisher, original cloth; and 2 others, sold not subject to return (11) £400-500 67 HE71/21 Gaelic poetry and songs, a small collection including MacKay, Robert Songs and Poems in the Gaelic Language [Orain le Rob Donn, Bard Ainmeil Dhuthaich Mhic-Aoidh.]. Inverness: Kenneth Douglas, 1829. 8vo, half calf; MacKenzie, Kenneth [Coinneach MacCoinnich] Orain Ghaidhealich... Edinburgh, 1792. 8vo, inscribed on endpaper as a present from the author, modern quarter calf; MacLeod, Donald [Domhnul MacLeoid] Orain Nuadh Ghaeleach... Inverness, 1811. 8vo, modern half morocco, RARE: only 4 copies listed on Copac; Turner, Patrick [Paruig Mac-an-Tuairneir] Comhchruinneacha do Dh’Orain Taghta, Ghaidhealach... Edinburgh, 1813. 8vo, original boards with later cloth spine; MacIntyre, Duncan Ban Gaelic Poems and Songs. Glasgow, 1834. 12mo, modern half calf, no copies of this edition on Copac, lacking Gaelic title-page; MacDougall, Allan Orain, Marbhrannan, agus Duanagan, Ghaidhealach. Inverness, 1829. 8vo, modern calf, 6 copies found on Copac; Stewart, Donald & Alexander Cochruinneacha Taoghta de Shaothair nam Bard Gaëleach [A Choice Collection of the Works of the Highland Bards...] Edinburgh, 1804. 8vo, 2 volumes in 1; and 9 others, sold not subject to return (16) £400-500 68 HE71/23 Gaelic religious works, c.1725-1840, a small collection, including Synod of Argyle, translators The Confessions of Faith... [Admhail an Chreidimh...] Edinburgh, 1725. 12mo, contemporary calf, some loss to title-page, stamp and bookplate of Perth Sandeman Library [ESTC T117500, listing 12 copies]; Campbell, Daniel Smuaintean Cudthromacha mu Bhas agus Fhulangas ar Slanui-Fhir. Perth, 1800. 12mo, modern quarter calf [ESTC T160247, listing 5 copies in UK libraries]; Wilson, John Eisempleir Shoilleir Ceasnnuighe air Leabhir Aith-Ghearr nan Ceist... Edinburgh, 1773. 12mo, contemporary calf [ESTC T129298, listing 11 copies in libraries]; New Testament Tiomna Nuadh... Glasgow: John Orr, 1754. Small 4to, modern calf, some loss to the titlepage, browning [ESTC T143735, listing 16 copies]; MacFarlan, P. Comhnadh arson Aoradh Teaghlaich agus Urnuighean Diomhair... Edinburgh: William Blackwood, 1829. 12mo, contemporary calf with blindstamp of the General Assembly’s School Committee to upper cover; and 156 others, sold not subject to return (21) £400-500 69 HE71/39 Gaelic Society of Inverness Transactions. 56 volumes, and 3 additional volumes, 8vo, dating 18722014, comprising volumes 1-2; 4-37; 41; 44-53; 57; 59-66, all in green cloth £300-400 16 Lyon & Turnbull 73 HE71/41 Grant, Anne, of Laggan Letters from the Mountains... London: Longman, Hurst, Rees & Orme, 1807. Third edition, 3 volumes, 12mo, contemporary calf, joints split, ownership signatures to title-pages; [Idem] Poems on Various Subjects. Edinburgh: Longman & Rees, 1803. 8vo, contemporary tree calf, some foxing and soiling, some annotations in and early hand, some rubbing; [Idem] Memoir and Correspondence of Mrs Grant of Laggan... London: Longman, Brown, Green, and Longmans, 1844. 3 volumes, 8vo, modern cloth (7) £80-120 74 HE71/42 Headrick, James View of the Mineralogy, Agriculture, Manufactures and Fisheries of the Island of Arran... Edinburgh: Archibald Constable, 1807. 8vo, folding map, 24 leaves of advertisements at rear, modern black leather £200-300 75 HE71/29, some slight wear and a little marginal dampstaining £120-180 71 76 HE71/7 Highland Songs, Gaelic Co-Chruinneachadh Nuadh do Dh’Orannibh Gaidhealach. Inbhirneis [Inverness]: Eoin Young, 1806. 12mo, collates: iv, 203, [1], contemporary calf, RARE: only one copy traced: National Library of Scotland £200-300 70 HE71/31 Gaelic Works, a large collection of later books Blacklaw, Bill. Bun-Chursa Gaidhlig. Glasgow, 1978; Caimbeul, Tormod. Shrapnel. Stornoway, 2006; [Idem]. An naidheachd bhon taigh. Canan: Stornoway. 1994; Clark, Joan. Ainmean Gaidhlig Lusan. Tigh Inverness, 1999; Domhnallach, Jormod Calum. An Sgaineadh. Acair Stornoway, 1993; Hunter, James. Gaidhealtachd Alba: Tir Fo Dheasbad. Edinburgh, 2006; Lawson, Chris. Sgeulachdan a Seisiadar. Isle of Harris, 1990; Moireach, Iain. An Aghaidh Choimheach. Glasgow, 1973; Ross, Neil. Armageddon: A Fragment. Edinburgh, 1950; Tiomnadh, Seann. Bioball Na Cloinne. Beurla Lion Publishing: Oxford, 1992; and a quantity of others, sold not subject to return £400-500 71 HE71/19, running title on p.210 erased and corrected in an early hand, notes in an early hand to endpaper £400-500 72 HE71/2 Gordon, Alexander Itinerarium Septentrionale: or, a Journey Thro’ most of the Counties of Scotland, and Those in the North of England. London: G. Strahan... 1726. Folio, 67, contemporary panelled calf, rebacked with a modern spine £300-400 76 Rare Books, Manuscripts, Maps & Photographs 17 77 HE71/17 [MacCallum, Duncan, editor] Co-Chruinneacha Dhan, Orain, &c. &c. [A Collection of Original Poems, Songs, &c.] Inbhirnis [Inverness]: Seumais Friseal, 1821. 8vo, modern quarter calf gilt, RARE: only 4 copies listed on Copac Note: MacLean writes in his Typographia Scoto-Gadelica: The Editor was the Rev. Duncan Maccallum, Arisaig. The Heroic Poems were his own composition, and were afterwards published in the ‘Beauties of Gaelic Poetry’ as genuine specimens of ancient poetry, with remarks and annotations by Maccallum himself. In 1842 the authorship of these ancient poems was acknowledged by Maccallum... £200-300 78 HE71/4 MacCulloch, John A Description of the Western Islands of Scotland including the Isle of Man. Edinburgh: Archibald Constable and Co., 1819. 3 volumes, 8vo and 4to, 33 plates (including 1 hand-coloured), 10 maps (including 9 handcoloured), contemporary calf, neatly rebacked, some foxing, some rubbing to covers (3) £300-500 78 79 79 HE71/10 MacDonald, Alexander [MacDomhnuill, Alistair] A Galick and English Vocabulary [Leabhar a Theagasc Ainminnin]. Edinburgh: Printed by Robert Fleming and sold by Mris. Brown, 1741. 8vo, modern blue calf gilt with red morocco gilt label to spine, title-pages a little browned and worn, some cropping to upper margins with occasional loss of pagination [ESTC T90552] Note: One of the first Gaelic-English vocabularies published, Hugh Cheape writes that MacDonald, “...dominates the stage of Gaelic literature; a learned, inventive and complex author...” MacDonald’s Ais-eiridh na Sean Chànoin Albannaich, no An nuadh Oranaiche Gaidhealach [The Resurrection of the Ancient Scottish Language, or New Gaelic Songster] of 1751, “...mightwell have encouraged another Jacobite rising with its powerful propagandist tone.” [see Cheape, Hugh. The Gaelic Book The Printed Book in Scottish Gaelic] 80 HE71/15, a.e.g., each page interleaved with later blank leaves, small hole to pp.13-14 with slight loss of letters £200-300 £400-500 80 18 Lyon & Turnbull 83 82 81 HE71/13 MacDonald, Angus, Minister of Killearnan The Clan Donald. Inverness: The Northern Counties Publishing Company, Ltd., 1896-1904. 3 volumes, 8vo, original green and red cloth gilt, folding plate at p.1 torn, some foxing; [Idem] The MacDonald Collection of Gaelic Poetry. Inverness: The Northern Counties Newspaper and Printing and Publishing Company, Limited, 1911. 8vo, uniform green and red cloth gilt, lacking initial flyleaf (4) £350-450 82 HE71/3 MacDonald, Ronald, of the Isle of Eigg Comh-Chruinneachidh Orannaign Gaidhealagh. Duneidiunn [Edinburgh]: Walter Ruddiman, 1776. Volume 1 (all published), 12mo, contemporary tree calf rebacked with a modern spine, some foxing and occasional manuscript corrections in an early hand [ESTC T90692, listing only 9 copies in libraries in the British Isles and 3 copies in North American Libraries] Note: A rare collection of Gaelic songs and poems £300-400 83 HE71/20 with gilt stamp of the Highland Society of Scotland to upper cover, bookplate [ESTC T90691] £300-400 84 HE71/5 Macfarlane, P. Co’-Chruinneachadh de Dh’orain Agus de Luinneagaibh Thaghta Ghae’lach... Dun-Eudainn [Edinburgh]: C. Stewart, 1813. [A Choice Collection of Gaelic Poems...] 12mo, contemporary half calf, neatly rebacked with later spine, lacking a couple of blank leaves, contemporary half calf neatly rebacked, some light spotting, a little soiling, a few annotations in ink and pencil in an early hand, [7 copies listed on Copac] £150-200 86 85 HE71/14 MacGhrigair, Iain [MacGregor, John] Orain Ghaelach. Edin-Bruaich [Edinburgh:] Adam MacNeill, 1801. 12mo, contemporary calf with red morocco gilt label to spine, bookplate displaying MacGregor crest, RARE: 3 copies only listed on Copac £200-300 Rare Books, Manuscripts, Maps & Photographs 19 86 HE71/6 MacKay, Alexander Original Songs and Poems in English and Gaelic. Inverness: Printed at the Journal Office, 1821. 12mo, collates: viii, [4], 178, [2], 18, original blue boards with paper label to spine, some browning and foxing, some pages loose, closed tear to one page, RARE: only one copy traced: the National Library of Scotland £200-300 87 HE71/9 [MacKenzie, Sir Francis, of Gairloch] Hints for the use of Highland Tenants and Cottagers [BeachdChomhairlean airson feum do Thuathanaich ‘us Choiteran Gaidh’Lach]. Inverness: Robert Carruthers, 1838. 8vo, 6 engraved plates, original blue boards with paper label to upper cover, some foxing, browning and slight dampstaining, boards and spine chipped Note: An unusual book, only 9 copies located on Copac. A bilingual text in English and Gaelic, translated into Gaelic by Roderick Macdonald, an Inverness schoolmaster. In the introduction, MacKenzie addresses his tenants thus: This Treatise, though applicable to many parts of Scotland, is chiefly intended for the benefit of you, my Cottar Tenants, since, although I so frequently have the satisfaction of meeting you personally, the little time afforded for conversing upon a variety of matters connected with your welfare, induces me now thus to address you and offer my assistance in alleviating that want of plenty and comfort which amongst you all is but too apparent. £150-200 88 HE71/38 [Macpherson, James] - Ossian Temora, an Ancient Epic Poem... together with several other poems, composed by Ossian, the Son of Fingal... london, 1763. 4to, contemporary calf, facsimile title-page; Smith, John Galic Antiquities... Edinburgh, 1780. 4to, contemporary calf, coves detached, title-page torn; Smith, John Sean Dana le Oisian, Orran, Ulann, &c. [Ancient Poems of Ossian, Orran, Ullin &c.] Edinburgh: Charles Elliot, 1787. 4to, contemporary calf; Macpherson, James The Poems of Ossian... Edinburgh, 1792. 8vo, new edition, contemporary calf; Mackenzie, Henry Report of the Committee of the Highland Society of Scotland, appointed to inquire into the nature and authenticity of the Poems of Ossian. Edinburgh, 1805. 8vo, contemporary half calf; [Macpherson, James] The Poems of Ossian, in the original Gaelic, with a translation into Latin. London, 1807. 3 volumes, 8vo, contemporary calf, worn; Graham, Patrick Essay on the Authenticity of the Poems of Ossian... Edinburgh, 1807. 8vo, contemporary half calf; McCallum, Hugh & John, editors An Original Collection of the Poems of Ossian... Montrose, 1816. 8vo, later half calf; Ossian Dana Oisin Mhic Fhinn... Edinburgh, 1818. 8vo, contemporary calf; and 7 others, sold not subject to return (18) £250-350 89 HE71/1 McIntyre North, C.N. Leabhar Comunn Nam Fior Ghael [The Book of the Club of the True Highlander]. London: Richard Smythson, [1881.] Folio, 2 volumes bound as one, later? red cloth, some wear and foxing £200-300 90 HE71/25 Scottish and Gaelic music and poetry, 28 books Kennedy-Fraser, Marjory Songs of the Hebrides. London: Boosey & Co., 1909-1921. 3 volumes, 4to, original cloth, dust-jackets chipped; Carmichael, Alexander Carmina Gadelica... Edinburgh, 1900. 2 volumes, 4to, one of 300 copies, inscribed to Donald MacKenzie from Carmichael, original boards, worn, repaired; Sinton, Thomas The Poetry of Badenoch. Inverness, 1906. 8vo, original green cloth; Stewart, Charles The Killin Collection of Gaelic Songs... Edinburgh: MacLachlan & Stewart, 1884. 4to; Dun, Finlay Orain na’h-Albain... Edinburgh, [n.d.]. Folio; MacFarlane, Malcolm - Whitehead, Fr. W. Songs of the Highlands. Inverness, [n.d.] Folio, original cloth; and 19 others, sold not subject to return (28) £400-500 91 HE71/34 Scottish Highlands & Islands, a quantity Anderson, Alan Orr. Early Sources of Scottish History. Edinburgh, 1922; Blundell, Dom. The Catholic Highlands of Scotland. Edinburgh, 1909; Campbell, John Gregorson. Superstitions of the Highlands and Islands of Scotland. Glasgow, 1900; Helme, Elizabeth. St Claire of the Isles. London, 1910; Macdonald, Kenneth. Social and Religious Life in the Highlands. Edinburgh, 1902; MacKinnon, Charles. The Scottish Highlanders: A Personal View. London, 1984; MacNeil, Kevin. The Stornoway Way. London, 2005; Mitchell, Ian. The Isles of the West. Edinburgh, 1999; Otter, Henry. West Coast of Scotland Pilot: Part One. London, 1911; Prebble, John. The Lion in the North. London, 1971; and a quantity of others, sold not subject to return £400-500 92 HE71/32 Scottish History, a large collection Campbell, Lord Archibald Records of Argyll... Edinburgh, 1885. 4to, original cloth; Fergusson, Calum. Children of the Black House. Edinburgh, 2003; Hunter, Samuel. Dictionary of Anagrams. London, 1982; Macdonald, Donald. Slaughter Under Trust: Glencoe 1692. London, 1965; Macmillan, Somerled. Bygone Lochaber. Glasgow, 1971; McKean, Thomas. Hebridean Song-Maker. Edinburgh, 1965; Prebble, John. The Story of the Massacre: Glencoe. London, 1966; Stiubhart, Domhnall Uilleam. The Life & Legacy of Alexander Carmichael. Scotland, 2008.; Walker, David. Harry Black. London, 1956; Watson, J. Carmichael. Gaelic Songs of Mary Macleod. Glasgow, 1934; Wilson, Barbara Kerr. Scottish Folk-tales and Legends. Oxford,1954; and a quantity of others, sold not subject to return £600-700 93 HE71/35 Scottish Natural History, a collection Gordon, Seton Wanderings of a Naturalist. London, 1921. 8vo, original cloth; [Idem] Hebridean Memories. London, 1923; [Idem] The Immortal Isles, 1926; Boyd, John Morton. Natural Environment of the Inner Hebrides. Edinburgh, 1983; Dougall, Robert. A Scottish Naturalist. London, 1982; Forbes, Alexander Robert. Gaelic Names of Beasts, Birds, Fish, Insects, Reptiles Etc. Edinburgh, 1905; Harding, R. R. St Kilda: An Illustrated account of geology. London, 1984; Harvie-Brown, J. A. A Vertebrate Fauna of Scotland. Edinburgh, 1904; Holliday, Fred. Wildlife of Scotland. London, 1980; Kearton, R. Wild Nature’s Ways. London, 1904; Milliken, William. Flora Celtica. Edinburgh, 2006; Peel, C. V. A. Wild Sport in the Outer Hebrides. London, 1901; Thom, Valerie. Birds in Scotland. Staffordshire, 1986; and a quantity of others, sold not subject to return £250-350 20 Lyon & Turnbull 94 HE71/28 Scottish Travel, 20 volumes, including Garnett, T. Observations on a Tour through the Highlands... London: John Stockdale, 1811. 2 volumes, new edition, 4to, contemporary diced calf; [Pennant, Thomas] A Tour in Scotland. Warrington, 1774. Third edition, 4to; A Tour in Scotland and Voyage to the Hebrides. Chester, 1774. 4to; A Tour in Scotland 1772, part ii. London, 1790. 4to; uniformly bound in later half calf; Knox, John A Tour Through the Highlands of Scotland, and the Hebride Isles in 1786. London, 1787. 8vo, modern quarter morocco; Hall, James Travels in Scotland... London, 1807. 2 volumes, 8vo, contemporary tree calf; Bristed, John Anthroplanomenos, or A Pedestrian Tour through Part of the Highlands of Scotland, in 1801. London, 1803. 2 volumes, 8vo, contemporary half calf; Wilson, James A Voyage round the Coasts of Scotland and the Isles. Edinburgh, 1842. 2 volumes, 8vo, original cloth; Victoria, Queen - Helps, Arthur Leaves from the Journal of our Life in the Highlands. London, 1868. 8vo, original cloth; [Idem] More Leaves from the Journal of a Life in the Highlands. London, 1884. 8vo, original cloth; and 6 others, sold not subject to return (20) £600-800 95 HE71/33 Scottish Travel, a collection Buchanan, Rev. John Lane. Travels in the Western Hebrides from 1782 to 1790. London, 1997; Green, Daniel. Corbett’s Tour in Scotland. Aberdeen, 1984; Hewitson, Jim. Far Off in Sunlit Places. Edinburgh, 1998; MacKay, Reverend W. A. Zorra Boys: At Home and Abroad. Toronto, 1900; MacNeil, Neil. The Highland Heart in Nova Scotia. New York, 1948; Pococke, Richard. Tours in Scotland. Edinburg,. 1887; Pottle, Frederick. Boswell’s Journal of a Tour of the Hebrides. London, 1936; Smith, Alexander. A Summer in Skye. Edinburgh, 1885; Wordsworth, Dorothy. A Tour in Scotland in 1803. Edinburgh, 1974; Youngson, A. J. Beyond The Highland Line. London, 1974; and a quantity of others, sold not subject to return £200-300 96 HE71/22 Shaw, William A Galic and English Dictionary. London: Printed for the Authors by W. and A. Strahan, and sold by J. Murray..., 1780. 4to in twos, 2 volumes in one, collates: a-b2, a-5B2; a1, B-4H2, 4I1, contemporary calf, a little dustsoiling, ownership signature to flyleaf, hinges split, rubbed [ESTC T147710] £300-500 97 HE71/27 The Highlands - history Gilpin, William Observations on Several Parts of Great Britain, particularly the High-Lands... made in the year 1776. London: T. Cadell and W. Davies, 1808. 8vo, 2 volumes in one, 40 plates and tables, modern quarter calf; Skene, William F. The Highlanders of Scotland... London, 1837. 2 volumes, 8vo, green half crushed morocco with gilt tooling to spines; Scottish Clans The History of the Feuds and Conflicts among the Clans... Glasgow: John Gillies, 1780. 8vo, contemporary calf [ESTC T83138, listing 12 copies in libraries]; [Browne, James] A Critical Examination of Dr. MacCulloch’s Work on the Highlands and Western Isles of Scotland. Edinburgh: Daniel Lizars and G.B. Whittaker, 1826. 8vo, contemporary calf; Campbell, Duncan Reminiscences and Reflections of an octogenarian Highlander. Invernes, 1910. 4to, original brown cloth gilt; Grant, James Thoughts on the Origin and Descent of the Gael... Edinburgh, 1814. 8vo, contemporary calf; Superstitions Essays on the Superstitions of the Highlanders of Scotland. London, 1811. 2 volumes, 12mo, modern quarter calf; MacLeay, K. Historical Memoirs of Rob Roy... Glasgow, 1818. 12mo, later half calf; MacPherson, John Critical Dissertations on the... Ancient Caledonians... London, 1768. 4to, later half calf [ESTC T96376]; Betham, Sir William The Gael and Cymbri... Dublin, 1834. 8vo, cloth; Lauder, Sir Thomas Dick An Account of the Great Floods of August 1829... Edinburgh, 1830. Second edition, 8vo; Dalyell, John Graham The Darker Superstitions of Scotland. Glasgow, 1835. 8vo, modern quarter calf, lacking initial leaf, some repairs with loss to text; and 4 others, sold not subject to return (18) £500-600 98 HE71/26 Western Isles and Hebrides, travel MacCulloch, John The Highlands and Western Isles of Scotland. London: Longman, Hurst, Rees..., 1824. 4 volumes, 8vo, contemporary blue calf gilt, stamps of the Royal Geographical Society; Cumming, Constance F. Gordon From the Hebrides to the Himalayas. London, 1876. 2 volumes, 8vo, plates, modern quarter cloth; Johnson, James The Recess, or Autumnal Relaxation in the Highlands and Lowlands... London: Longman, Rees..., 1834. 8vo, presentation copy from the author, quarter cloth with paper label to spine; [Johnson, Samuel] A Journey to the Western Islands of Scotland. Edinburgh: Mundell & Son, 1798. 12mo, nineteenth century half calf, small hole to pp.65-66, lacking map (8) £200-250 Rare Books, Manuscripts, Maps & Photographs 21 HISTORY & MILITARY 99 HE32/14 17 volumes including Burnet, Gilbert The History of the Reformation of the Church of England. Oxford: Clarendon Press, 1816. 3 volumes in 6, 8vo, titles with engraved vignette, contemporary calf, spines gilt, green and red morocco labels; Homer Opera omnia. Glasgow, 1814. 5 volumes, 8vo, contemporary calf; Homer The Iliad [The Odyssey]. 1809. 4 volumes, 8vo, contemporary calf, spines gilt, slightly rubbed; Potter, J. Archaeologia Graeca. 1813, 2 volumes, 8vo, contemporary half calf (17) £200-300 100 HE683/3 1745 Rebellion. An Act for laying out, making and keeping in Repair, a Road proper for the Passage of Troops and Carriages from the City of Carlisle to the Town of Newcastle on Tyne, January 17th 1750, printed black letter Act of Parliament on 38pp., disbound, folio Note: After the 1745 Rebellion, Parliament passed Acts with a view to controlling the Jacobites and preventing future rebellions. The Act of 17.01.1750 was passed for making and repairing a proper road for the passage of troops and carriages from Carlisle to Newcastle. George Wade used vast sections of Hadrian’s wall to do this. The Highland army had been able to reach Derby quickly in 1745. £150-250 101 HD611/5 Barbour, John The Life and Acts of the Most Victorious Conqueror Robert Bruce, King of Scotland. Edinburgh, 1758. 4to., final leaf with loss of blank margin ; The Acts and Deeds of the most Famous and Valiant Champion Sir William Wallace. [c.1758], 4to., lacks title, fine black morocco emblematically tooled enclosing Scottish Royal coats-of-arms, g.e., bookplate of David MacBrayne, some spotting and occasional marginal dampstaining; Jamieson, John The Bruce, or the Metrical History of Robert I King of Scots by Master John Barbour. Glasgow, 1869. 2 volumes, 8vo, red half morocco, one cover detached (4) £200-300 102 LT2014/40 Berkeley, William Fitzhardinge Minutes of evidence before the Committee of Privileges to whom the petition of William Fitzharding Berkeley, claiming as of right to be Earl of Berkeley was referred. London, 1801. Folio, contemporary half calf, marbled boards, rebacked, some water spotting; Maxwell, William Constable In the House of Lords case on behalf of William Constable Maxwell claiming to be Lord Herries of Terregles in the Peerage of Scotland [bound with] Minutes of evidence, etc. 1848-58.. Folio, MS. index at front and copy of the speech of Lord Cranworth in MS, folding pedigrees (tear to the large folding pedigree in the Minutes of evidence), contemporary calf (2) 104 HD611/9 Burke and Hare Murders - Macnee, John Trial of William Burke and Helen M’Dougal, before the High Court of Justiciary, at Edinburgh, December 24. 1828 for the Murder of Margery Campbell or Docherty. [& Supplement]. Edinburgh: R. Buchanan [&c.], 1829. 8vo, 2 parts in one volume, 2 lithographed frontispieces, maroon half morocco, some spotting, rubbed; Roughead, W. Burke and Hare. 1921. First edition, 8vo, limited to 250 copies, original cloth, t.e.g.; MacGregor, George The History of Burke and Hare. 1884. 8vo, plates, original cloth, slightly rubbed (4) £200-300 105 HD885/7250-350 106 HE683/4 Jacobite Rebellion, 1715 - An Act for Explaining ... An Act to Oblige Papists to Register their Names and Real Estates, dated February 20th, 1716, printed black letter Act of Parliament, folio, disbound, slight uniform browning £100-150 107 HD435/3 James I and VI, King The Workes of the most High and Mighty Prince James.. Kinge of Great Brittaine. London: Robert Barker & John Bill, 1616 [colophon dated 1620]. Folio, [38], 621, engraved portrait frontispiece, additional engraved title by Renold Elstrack, woodcut coat of arms, contemporary calf, neat repair to base of spine, occasional light dampstaining Provenance: Appleby Castle Library, Appleby Castle, Westmorland Note: A reissue of the 1616 edition, with added quires 3C-3G with colophon: London printed by Robert Barker and Iohn Bill .. Anno M.DC.XX. ESTC: S112082; STC 14344 £800-1,000 £50-100 103 HD611/10 Burke and Hare Murders - 7 pamphlets, including Letter to the Lord advocate, disclosing the accomplices, secrets and other facts relative to the Late Murders. Edinburgh: sold at no. 132 High Street, 1829, 36pp.; Authentic Confessions Of William Burke, who was executed at Edinburgh on 28th January 1829. Edinburgh: R. Menzies, 1829, 8pp.; West Port Murders. Edinburgh: R. Menzies, [1829], 12pp.; The Official Confessions of William Burke. Edinburgh: Stillie’s Library, 1829; 20pp.; A timely Hint to Anatomical Practitioners. [Edinburgh, 1829], 1 page, apparently lacking last 2 stanzas; Rhymes on Reading the Trial of William Burke and Helen M’Dougal for Murder. Edinburgh: J. Hutchison [1829]; and 2pp. “correspondence”, red half calf, bookplate of William Harvey, somewhat spotted £300-400 107 22 Lyon & Turnbull 108 HE19/1 Murray, Thomas The Laws and Acts of Parliament made by King James the First, Second... Edinburgh: printed by David Lindsay, 1681. Folio, engraved coat of arms, additional engraved title-page, title-page in red and black, 9 portraits, contemporary calf, lacking inserted leaves between p.2O2 and 2O3 which should be entitled “The King’s Majestie’s Letter...”, final pages worn with some loss, joints split £80-120 109 HD610/27 Raleigh, Sir Walter [John Milton] The Cabinet-Council: Containing the Cheif Arts of Empire, and Mysteries of State discabineted... Published by John Milton. London: Thomas Newcomb for Thomas Johnson, 1658. First edition, 8vo, [viiii, 199], contemporary calf, a little light spotting, a couple of catchwords or signatures trimmed, lacks portrait of Raleigh, rebacked £600-900 110 HD435/30 Rushworth, John Historical Collections.. containing the principal matters which happened from the Dissolution of the Parliament. London: George Thomason, 1659; John Wright & Richard Chiswell, 1680; Richard Chiswell & Thomas Cockerill, 1692, 1692, 1701, 1701. 4 parts in 7 volumes, First editions, folio, double-page map in volume 1, 8 engraved portraits, and 1 folding plate, contemporary reversed calf, neatly rebacked, red morocco lettering pieces; [ESTC T195706], occasional light browning or spotting, extremities lightly rubbed, some scuff marks damaging calf on sides Provenance: John Lockhart of Lee, armorial bookplates; Appleby Castle Library, Appleby Castle, Westmorland. Note: Rushworth’s Historical Collections (1659–1701), covering the period from 1618 to 1649, remain an important source of information on events leading up to and during the English Civil Wars. As secretary (1645–50) to Sir Thomas Fairfax, general of the New Model Army, Rushworth had considerable importance, and during the intermission of parliaments (1629–40) he attended and made shorthand notes of all important political and judicial proceedings heard before the Star Chamber, the court of honour, and the king and council. £500-700 109 111 HE98/1 Smeaton, John The report of John Smeaton... concerning the practicability and expence of joining the Rivers Forth and Clyde by Navigable Canal... Edinburgh: Balfour, Auld and Smellie, 1767. Small 4to, 2 folding maps, contemporary paper wrappers, a little offsetting to maps, tear to initial map [ESTC N26386] Note: The first of Smeaton’s reports. £200-300 112 HD435/67 Speed, John The Historie of Great Britaine under the Conquests of the Romans, Saxons, Danes and Normans. London: George Humble, 1632. Third edition, folio, portrait trimmed and laid-down onto A1 (blank), contemporary panelled calf rebacked with modern spine, bookplate, A5 verso repaired, some occasional small tears and light dampstaining Provenance: Appleby Castle Library, Appleby Castle, Westmorland £300-400 113 EZ774/69 United States - Washington, George - Sparks, Jared The Life of George Washington, Commander-in-Chief of the American Armies, and First President of the United States, to which are added, his Diaries and Speeches. London: H. Colburn, 1839. First English Edition, 2 volumes, 8vo, lithographed frontispieces on India Paper, contemporary calf gilt, gilt arms on sides, morocco labels, very slightly rubbed £300-400 114 HD885/24 Wellington, Arthur Wellesley, Duke of The Dispatches. London: John Murray, 1837-38, 13 volumes & General Orders, 1837, 8vo, contemporary calf, spines gilt; Dispatches, Correspondence and Memoranda. 1847-48, 3 volumes, red half morocco, library stamp to titles; Supplementary Despatches and Memoranda. London: John Murray, 1858-72. 15 volumes, contemporary half morocco, spines gilt, library stamp to titles; Wellington’s signature on an envelope front loosely inserted (33) 110 £350-450 Rare Books, Manuscripts, Maps & Photographs 23 LITERATURE 115 HE107/17 “Carrol, Lewis” [Dodgson, Charles Lutwidge], a small collection The Hunting of the Snark... London, 1876. Twelfth thousand, 8vo, original cloth; The Hunting of the Snark... London, 1876. Seventeenth thousand, 8vo, original cloth; Rhyme? and Reason?. London, 1883. 8vo, original cloth, bookplate of Caryl Liddell Hargreaves; Curiosa Mathematica, part 1. London, 1895. Fourth edition, 8vo, original cloth; A Tangled Tale. London, 1885. Second thousand, 8vo, original cloth; The Story of Sylvie and Bruno. London, 1932. 8vo, original cloth; The Rectory Umbrella and Mischmasch. London, 1932. 8vo, original cloth; Sotheby & Co. Harmsworth Trust Library, the tenth portion, Catalogue of the Collection of the Writings of the Revd. C. L. Dodgson {“Lewis Carroll”), 1947; and 2 others, sold not subject to return (10) £200-300 116 SV730/69F 7 volumes including Joyce, James Ulysses. Paris, 1924, 4th printing, quarter morocco, text discoloured, edges rubbed; Woolf, V. To the Lighthouse. Hogarth Press, 1927. original cloth, page 15 tipped back in and frayed, a few spots, binding soiled; Wells, H.G. Tono Bungay. 1909; Kipps. 1905, reprinted; Country of the Blind. [n.d.]; Love and Mr Lewisham. 1904; The History of Mr Polly. 1910, original cloth, a bit rubbed (7) £150-200 117 HD435/81 Aesop - John Ogilby The Fables of Aesop paraphras’d in Verse, by John Ogilby. London: Andrew Crook, 1651. 4to., [16], engraved frontispiece & 74 plates, early 19th century russia, G4 defective, joint split, manuscript index on verso of frontispiece and title-page, lacking portrait and 6 plates, early signature of Robert Mostyn on title, slight soiling and dampstaining Provenance: Appleby Castle Library, Appleby Castle, Westmorland £300-400 118 HE65/7 Alighieri, Dante La Divina Commedia. Florence: nella Tipografia all’insgna dell’Ancora, 1817-19. 4 volumes folio, 124 engraved plates by G. Masselli and E. Lapi after F. Nenci & Luigi Adamolli, , contemporary half calf, slight spotting, small dampstain in some fore-margins of volume 2, armorial bookplates, hinges renewed, bindings of volumes 2-4 worn, volume 1 neatly rebound in half morocco £200-300 118 119 HD636/2 Barnes, Julian, Martin Amis and Graham Swift A History of the World in 10 1/2 Chapters. 1989; Talking it Over. 1991; Cross Channel. 1996; England, England. 1998; Love, etc. 2000; Amis, Martin Einstein’s Monsters. 1987; Time’s Arrow, 1991; The Information, 1995; Night Train. 1997; Heavy Water and Other Stories. 1998; Swift, Graham Ever After. 1992; Last Orders. 1996; all first editions, dustwrappers, none price-clipped, all protected by transparent book covers (12) £100-200 120 HD435/116 Beaumont, Francis & John Fletcher The Dramatic Works, collated with all the former editions and corrected. London: for T. Evan [&c.], 1778. 10 volumes, 8vo, 54 engraved plates, contemporary tree calf gilt, spines gilt, red and green lettering pieces Provenance: Appleby Castle Library, Appleby Castle, Westmorland £200-300 120 24 Lyon & Turnbull 122 HD610/22 Blixen, Karen Out of Africa. London: Putnam, 1937. First edition, 8vo, original red cloth, dustwrapper, price-clipped and frayed at top and lower edge £300-500 123 HE65/56 Boccaccio, Giovanni The Novels and Tales of the Renowned John Boccacio. London: A. Churchill, 1684. Fifth edition, folio, engraved frontispiece portrait, contemporary calf, [Wing B3378], bookplate of St. Andrew Ward Esq. of Hooton Pagnell, some slight spotting, joints splitting, upper cover almost detached £300-400 122 124 HD885/22 Boswell, James The Life of Samuel Johnson, L.L.D. London: Charles Dilly, 1791. First edition, second issue reading “give” on p.135, line 10, volume 1, 2 volumes, 4to., engraved portrait frontispiece and 2 engraved plates, contemporary calf, bookplate of Jn. Larking, 19th century inscription on endpaper of Ambrose Warde, some spotting, joints neatly repaired but cracking, neat repair to head of spines £700-1,000 121 HE31/3 Blake, William - Edward Young The Complaint, or Night Thoughts, on Life, Death & Immortality. The Folio Society, 2005. 2 volumes, folio (facsimile), and 1 volume, 8vo (text), number 233 of 1000 copies, coloured throughout, blue morocco backed pictorial cloth with designs by David Eccles after Blake, accompanying text volume original cloth, all within folding blue cloth box with green morocco label £300-400 125 HD611/13 Buchan, John [Signed copy] The Marquis of Montrose. London: T. Nelson, 1913. First edition, 8vo, signed by the author on title page, plates, original blue buckram, binding slightly soiled, spine faded £150-200 126 HE18/4 Burroughs, William, and other writers White Subway. London: Aloes, [1973] First edition, 8vo, softcover, some slight darkening and creasing; and another copy, each one of 1000 copies; [Idem] Junkie. London: New English Library, 1966. 8vo, original paper wrappers; Banks, Iain M. The Wasp Factory. Boston: Houghton Mifflin Company, 1984. First US edition, first impression, original quarter cloth, dust-jacket; McEwan, Ian The Cement Garden. New York: Simon and Schuster, 1978. First US edition, first impression, original quarter cloth, dust-jacket, gift inscription to free endpaper (5) £200-300 127 SV730/69C Burton, Sir Richard Francis - Arabian Nights The Book of the Thousand Nights and a Night. London: H.S. Nichols Ltd., 1897. 12 volumes, library edition, 8vo, original red half morocco (12) £600-800 128 HE65/102 Burton, Sir Richard Francis, a collection of 22 volumes, including Wright, Thomas The Life of Sir Richard Burton. 1906. 2 volumes, 8vo, plates, original cloth, portion of front free endpaper excised, bindings lightly marked; Burton, R.F. Il Pentamerone, or the Tale of Tales. London, 1893. 2 volumes, 8vo, original black cloth, bindings slightly soiled; Burton, R.F. The Book of a Thousand Nights and a Night. 1893. 8 (of 10) volumes, original black and gold decorative cloth, blindstamp to titles, Burton, R.F. Vikram and the Vampire. 1893. 8vo, original pictorial black cloth gilt, blindstamp to title and half-title; 3 later reprints, 1 biography & 2 Spink catalogues of Burton material (22) £150-200 124 Rare Books, Manuscripts, Maps & Photographs 25 127 129 HE65/104 Burton, Sir Richard Francis, Kama Shastra Society collection, comprising The Kama Sutra of Vatsyayana, translated from the Sanscrit, 1883; Ananga-Ranga (Stage of the Bodiless One) or the Hindu Art of Love. 1885; The Perfumed Garden of the Cheikh Nefzaoui. 1886; The Beharistan (Abode of Spring) by Jami. 1887. First edition, first issue; The Guilistan or Rose Garden of Sa’di. 1888. First edition, first issue; all “Cosmopoli”, or Benares, for the Kama Shastra Society of London and Benares, and for private circulation only, all vellum bindings, uncut, 8vo, all contained in contemporary maroon morocco case with lock (key not present) lettered in gilt “Kama Shastra Society, London & Benares 18831888, The Perfumed Garden rather soiled and rubbed, four volumes with blindstamp to title page and final leaf 133 HE32/9 Dickens, Charles Master Humphrey’s Clock. London: Chapman & Hall, 1840-41. First edition in book form, 3 volumes, 8vo, illustrations by G. Cattermole & Hablot Browne, original pictorial brown ribbed cloth, slight spotting & occasional marks, head and tail of spines worn £100-150 134 SV730/69A Dickens, Charles Works. London: Chapman & Hall, 1913-1914. 22 volumes, the Universal Edition, contemporary crushed brown morocco gilt (22) £150-250 £400-600 130 HE89/5 Crabbe, George The Works. London, J. Murray, 1823. 5 volumes, 8vo, contemporary half calf, slightly spotted; Thackeray, W.M. The Virginians. London, 1858. First edition, 2 volumes, 8vo, contemporary half calf, Colton, C.C. Lacon. London, 1822. 12th edition, 3 volumes, 8vo, contemporary half calf (10) £200-300 131 HE107/10 de la Mer, Walter Desert Islands. London: Faber and Faber Limited, 1930. 8vo, signed and inscribed by de la Mer to half-title: Walter de la Mer for Arthur Rogers with all good wishes and many thanks, May 9. 43?, original green cloth, spine faded, shelf-lean £120-180 132 HD894/1 Dibdin, Thomas Frognall Typographical Antiquities; or The History of Printing in England, Scotland and Ireland... London: William Miller, 1810-1819. 4 volumes, 4to, halftitles and title-pages in red and black, 15 portraits and 23 plates, attractive modern green quarter morocco gilt, occasional slight dampstaining, some offsetting; An Index to Dibdin’s Edition of the Typographical Antiquities... London, 1899. 8vo, uniform with 4to volumes, original wrappers bound in; [Idem] Bibliophobia... London: Henry Bohn, 1832. 8vo, with publisher’s errata slip, near-uniform with previous volumes (6) £300-400 134 26 Lyon & Turnbull 135 HE504/1 Doyle, Sir Arthur Conan The Voice of Science, pp.312-317 in The Strand Magazine, volume 1, 1891 (part 1); Adventures of Sherlock Holmes, i-xxiv, in The Strand Magazine, volumes 1-6, 1891-1893; and volumes x and xi of The Strand Magazine; all contemporary half morocco gilt, joints cracking (8) £200-300 136 HE358/1 Dryden, John The Works. London: W. Millar, 1808. 17 volumes only of 18 (volume 15 lacking), 8vo, with notes by Walter Scott, contemporary calf, neatly rebacked, spines gilt, red and green morocco labels £400-600 137 HE111/1 Edinburgh Review, a run of 44 volumes 1802 - 1826, 44 volumes, 8vo, with an index vol for the first 12 years, contemporary half calf, spines gilt, a few slightly rubbed Note: The third Edinburgh Review, started in 1802, became one of the most influential British magazines of the 19th century. It promoted Romanticism and Whig politics, though it was also notoriously critical of some major Romantic poetry. £200-300 138 HE65/103 Erotica - Straparola, Giovanni Francesco The Most Delectable Nights of Straparola of Caravaggio. Paris: Charles Carrington, 1906. 2 volumes, 8vo, number 347 of 1000 copies, coloured plates, with an extra suite of 22 plates in a watered blue silk box, original blue cloth gilt, t.e.g., all contained in contemporary brown morocco case, blindstamp to title and following leaf £200-300 139 HE18/2 Fleming, Ian, 2 volumes comprising On Her Majesty’s Secret Service. London: Jonathan Cape, 1963. First edition, 8vo, original brown cloth with white ribbon motif to upper cover and silver lettering to spine, dust-jacket, covers faded, booksellers’ pencil marks and the signature ‘Team Humphries’ to free endpaper, some darkening and a little bumping and chipping to dust-jacket; [Idem] The Man with the Golden Gun. London: Jonathan Cape, 1965. First edition, 8vo, original black cloth with gilt lettering to spine, dust-jacket, a little occasional light soiling, booksellers’ label and pencil writing to free endpaper and half-title, ownership signature to free endpaper, dustjacket price clipped with some rubbing and nibbling (2) £150-250 140 HE18/1 Fleming, Ian, 2 volumes, comprising For Your Eyes Only. London: Jonathan Cape, 1960. First edition, 8vo, original black cloth with white eye motif to upper cover and gilt lettering to spine, dust-jacket, booksellers’ pencil pricing to free endpaper, a little darkening and foxing to fore-edges, some very slight internal soiling, some darkening and a little wear to dust-jacket, dust jacket spine a little rubbed; [Idem] The Man with the Golden Gun. London: Jonathan Cape, 1965. First edition, 8vo, original black cloth gilt, dust-jacket, booksellers’ pencil marks to free endpaper and half-title, price on dust-jacket slightly trimmed but not clipped, some rubbing to dust-jacket, small closed tear to lower cover (2) £450-550 136 141 HE17/1 Fleming, Ian, a collection of 5 volumes including Thunderball. 1961, backstrip lettered in gilt, dust-jacket, few small stains to p.7-9; On Her Majesty’s Secret Service. 1963, owner’s name on front free endpaper, dust-jacket a bit stained, short tear at lower wrap; You Only Live Twice. 1964, dust-jacket bit stained on lower cover, owner’s initials on front free endpaper; The Man with the Golden Gun. 1965, dust-jacket; Markham, Robert Colonel Sun. 1968, dust-jacket, none price-clipped (5) £500-700 142 HE22/2 [Garden, Francis, Lord Gardenstone, attributed to] Miscellanies in Prose and Verse. Edinburgh: printed by J. Robertson, 1791. First edition, 8vo, contemporary calf, covers worn Note: An unusual book, ESTC T118510 lists 8 copies in libraries. £300-400 143 HD611/12 Geddes, Patrick - The Evergreen A Northern Seasonal. Edinburgh, 1895-1897. 4 volumes, large 8vo, plates, illustrations, original limp brown leather, stamped and coloured design by Charles H. Mackie, t.e.g., wormhole at foot of two spines £200-300 144 HD636/4 Henty, George Alfred, 23 volumes, including many first editions, comprising True to the Old Flag. London: Blackie & Son, 1885 [1884]. First edition, 12 plates, some writing to endpapers, some rubbing, hinges splitting; The Cat of the Bubastes. London: Blackie & Son, 1889. First edition; [Idem] By England’s Aid... London, 1891. First edition; [Idem] Held Fast for England. London, 1892. First edition, library stamp of Westwood House Library; [Idem] In Greek Waters. London, 1893. First edition; [Idem] Wulf the Saxon. London, 1895. First edition; [Idem] Through Russian Snows. London, 1896. First edition; [Idem] At Agincourt. London, 1897; First edition; [Idem] With Frederick the Great... London, 1898. First edition; [Idem] Both Sides of the Border. London, 1899 [1898]. First edition, rebacked; [Idem] With Buller in Natal. London, 1901 [1900]. First edition; [Idem] Out with Garibaldi. London, 1901 [1900]. First edition; [Idem] At the Point of the Bayonet. London, 1902. First edition; all 8vo, all but one published by Blackie & Son, all original cloth; and 12 others (23) £350-450 Rare Books, Manuscripts, Maps & Photographs 27 145 HE89/1 Irving, Washington The Works. London: Bell & Daldy, 1866. 10 volumes, 8vo, red half morocco gilt, some spotting £250-350 146 HD885/6 Johnson, Samuel The Works. Oxford: Talboys & Wheeler, 1825. 11 volumes, 8vo, contemporary calf, gilt arms of Trinity College, Cambridge, on sides £200-300 147 SV730/69G Lawrence, D.H. Sons and Lovers. London: Duckworth, 1913. First edition, 8vo, 20pp. adverts. at end, original blue cloth, binding damp-soiled £200-300 148 HD568/5 Literature and History, a quantity, including Roscoe’s Novelist’s Library 19 12mo. volumes in contemporary calf, 1831-1833; McCarthy, Justin A History of Our Own Times. London, 1879. Second edition, 4 volumes, 8vo, contemporary green half calf gilt; Darwin, Erasmus The Temple of Nature... London, 1803. 4to., later spine over original boards, lacking 1 plate; Taylor, Thomas The Metaphysics of Aristotle... London, 1801. 4to., contemporary half calf, pp.449-456 in manuscript facsimile, upper cover detached; and a large quantity of others, sold not subject to return (quantity) 151 £300-400 149 HE89/6 Literature, a collection, including 8 others (15) £150-200 150 HE18/5200-300 151 HD899/9 Milton, John Paradise Lost... London: Jacob Tonson, 1688. Fourth edition, folio, portrait, 12 plates, contemporary calf, repairs to many plates and leaves, with loss to Garden of Eden plate in Book V, some soiling, upper cover and portrait detached, rubbed and chipped [ESTC R15589] £250-350 152 HE65/105 Miscellaneous collection, 36 volumes including Machen, Arthur The Caerleon Edition of the Works. 1923, 9 volumes, 8vo, number 730 of 1000 sets signed by the author, frontispiece, original cloth, t.e.g.; d’Angouleme, Margaret The Heptameron. 1894. 5 volumes, 8vo, plates, original blue cloth gilt, t.e.g.; Morris, F.O. The Life and Death of Jason. 1867, autograph letter to John Skelton (1831-97) discussing Morris’s Poems and D.G. Rosetti; Eden, Timothy The Tribulations of a Baronet. 1933. Inscribed by ?Noel Coward “Harry from Noel Christmas 1933”, quarter cloth; the first two with blindstamp to titles and small paper label to upper covers; and 20 others (36) £150-250 144 28 Lyon & Turnbull 153 HE121/1 Modern 1st editions, 60 volumes, in fine condition, most signed, including Banks, Iain The Wasp Factory. 1984; The Steep Approach to Garbadale. 2007, signed by the author; Boyne, John The Congress of Rough Riders. 2001; The Boy in the Striped pyjamas. 2006; Mutiny on the Bounty. 2008; The House of Special Purpose. 2009, all signed by the author; McEwan Ian Atonement. 2001; Saturday. 2005; On Chesil Beach. 2007, all signed by the author; Gray, Alisdair Lanark.1981; The Fall of Kelvin Walker. 1985, signed by the author on front endpaper; Something Leather. 1990, signed by the author on front endpaper; A History Maker. 1994; Old Men in Love. 2007, signed by the author on front endpaper; Bernières, Louis de The Dust that Falls from Dreams. 2015, signed by the author; A Partisan’s Daughter. 2008, signed by the author; Sidebottom, Harry Warrior of Rome, part 1. 2008; Warrior of the Sun. 2010; The Caspian Gates, 2011; The Wolves of the North. 2012, all signed by the author; Rankin, Ian Blood Hunt. 1995, signed by the author; McIlvanney, William Docherty, 1975; The Papers of Tony Veitch. 1983; The Big Man. 1985, paper slightly browned; Walking Wounded. 11989; Strange Loyalties. 1991; The Kiln. 1996; Weekend, 2006; Scott, M.C. Rome. The Eagle of the Twelfth. 2012; Into the Fire. 2015, all signed by the author Healey, Emma Elizabeth is Missing. 2014, signed by the author; Welsh, Louise The Bullet Trick. 2006; Death is a Welcome Guest. 2015, all three signed by the author; Ondaatje, Michael Anil’s Ghost. 2000; Divisadero. 2007; The Cat’s Table. 2011, all three signed by the author; Ishiguro, Kazuo. The Buried Giant. 2015, signed by the author; Barstow, Stan BMovie. 1987, signed by the author; Khadivi, Laleh The Age of Orphans. 2009, signed by the author; Scarrow, Simon Young Bloods. 2006; The Generals. 2007; Centurion. 2007; Fire and Sword. 2009; Sword and Scimitar. 2012; The Blood Crows. 2013; Brothers in Blood. 2014, these 7 signed by the author; Shannon, Samantha The Bone Season. 2013; The Mime Order. 2015, both signed by the author, all very fine condition, unclipped, some in protective wrappers; and 10 others, unsigned (including Ishiguro, The Remains of the Day, 1989) £700-900 154 HD636/3 Modern first editions, 28 volumes, comprising Herbert, James The Spear. 1978; The Dark. 1980; Shrine. 1983; Domain. 1984; The Magic Cottage. 1986; Ackroyd, Peter The Last Testament of Oscar Wilde. 1983; Hawksmoor. 1985; Chesterton. 1987; First Light. 1989; Milton in America. 1996, signed by the author; Evans, Nicholas The Horse Whisperer. 1995; Maclean, Alistair H.M.S. Ulysses. 1955, price-clipped; Caravan to Vaccares. 1970; Bear Island. 1971, price-clipped; Fuller, John Tell it me Again. 1988. Number 27 of 150 copies signed by the author, original quarter cloth; all first editions, dustwrappers, none price-clipped unless specified, all protected by transparent book covers; and 11 others (28) £150-200 155 HE89/4 Napoleon Bonaparte, Jane Welsh and Thomas Carlyle, comprising The Confidential Correspondence of Napoleon Bonaparte with his brother Joseph. London, 1855. 2 volumes; Memoirs of the History of France during the Reign of Napoleon, dictated by the Emperor of Napoleon. London, 1823. 7 volumes; Carlyle, Jane Welsh Letters and Memorials. London, 1883. 3 volumes; Froude, J.A. Thomas Carlyle. 1795-1835. 1882; Thomas Carlyle. 1834-1881., 1884, 4 volumes; Scott, Sir Walter The Journal of. 1890, 2 volumes; all original cloth (18) £180-220 156 HE65/34 Ramsay, Allan, editor The Ever Green, being a Collection of Scots Poems, wrote by the Ingenious before 1600. Edinburgh: Thomas Ruddiman for the Publisher, 1724. First edition, 2 volumes, small 8vo, contemporary calf, red morocco labels (2) £200-300 158 157 HE121/4 Rankin, Ian The Flood. Edinburgh: Polygon, 2006. First edition, 8vo, orignal red cloth, dustwrapper, fine copy £150-200 158 HD885/4 Scott, Sir Walter The Border Antiquities of England and Scotland. London: Longman, &c., 1814. 2 volumes, 4to., large paper copy, first edition, proof impressions of the plates on india paper, 2 additional engraved titles and 93 plates, 19th century olive morocco by James Toovey, gilt, spines gilt, gilt edges, a fine copy £300-400 159 HD885/47 Scott, Sir Walter Waverley Novels. Edinburgh: Robert Cadell, 1829. 48 volumes, & Poetical Works, 12 volumes, together 60 volumes, 8vo, engraved frontispieces and title pages, fine bright green morocco gilt incorporating Sir Walter Scott’s coat-of-arms, gilt edges, spines lightly faded £300-500 160 HE89/2 Scott, Sir Walter Novels and Tales, 1819- vols.1-12, Historical Romances. 1822, vols. 1-6 some titles spotted, two titles slightly waterstained; engraved plates, Marmion. 1815; The Lay of the Last Minstrel. 1812; contemporary half calf (18) £200-250 161 HD885/13 Scott, Sir Walter - 100 volume set The Works, comprising Waverley Novels, 48 vols., 1829-33; Waverley Anecdotes, 2 vols., 1833, Poetical Works, 12 vols., 1833-34; Miscellaneous Prose Works, 28 vols., 1834-36 and Lockhart’s Life of Scott, 10 vols; Edinburgh, W. Cadell, 1829-48. Together 100 volumes, 8vo, engraved frontispieces and additional vignette titles, early 20th century green half morocco by Zaehnsdorf, spines gilt, top edges gilt, spines slightly faded, fine set £700-1,000 Rare Books, Manuscripts, Maps & Photographs 29 162 HE89/3 Scott, Sir Walter, a collection, comprising The Fortunes of Nigel. 1822. 3 volumes; The Pirate. Edinburgh, 1822. 3 volumes; Peveril of the Peak. 1822, 4 volumes; Quentin Durward. Edinburgh, 1823. 3 volumes; St. Ronan’s Well. 1824, 3 volumes; Redgauntlett, 1824. 3 volumes; Tales of the Crusaders. 1825, 4 volumes; Tales of the Crusaders. 1825, 4 volumes; Woodstock. 1826; Chronicles of the Canongate. 1827, 2 volumes; First editions, contemporary half calf, half-titles, mostly uniform near contemporary half calf, a few slightly spotted, a few slightly mildewed or rubbed (27) 170 HC143/1 Trollope, Anthony - Henry Cockburn - Francis Thompson - 13 books Trollope, Anthony Doctor Thorne; The Warden; The Last Chronicle of Barset; Framley Parsonage; Barchester Towers; The Small House at Allington; all London: Robert Hayes, Ltd., 1925. 8vo, contemporary blue half calf, spines faded; Cockburn, Henry Journal. Edinburgh, 1874. 2 volumes, 8vo, contemporary green half calf, spines faded; [Idem] Memorials of His Time. Edinburgh, 1856, identically bound; Thompson, Francis The Works [volumes 1-3 of Poems only]. London, [n.d.] Sixteenth thousandth, blue half calf; and one other (13) £600-900 £100-150 163 HD568/6 Scottish Literature, including Maitland, William The History of Edinburgh... Edinburgh, 1753. Folio, 18 engraved plates, contemporary calf, rebacked; Scott, Mary Monica Maxwell Abbotsford... London, 1893. 4to., blue quarter morocco; Scott, Sir Walter The Vision of Don Roderick. Edinburgh, [n.d.]; and a selection of others, sold not subject to return 171 HE18/3150-200 164 HD611/15 Scottish Works including Ramsay, Allan Poems. Edinburgh: T. Ruddiman, 1721. First edition, 4to., frontispiece, contemporary calf, some spotting and soiling; Stuart, Andrew Genealogical History of the Stewarts. London, 1798. 4to., folding genealogical tree, contemporary half calf, neatly rebacked retaining spine; Ramsay, Allan The Ever Green. Edinburgh: A. Donaldson, 1761. 12mo, volume 1 only, contemporary calf, rubbed, bookplate of the Rt. Hon. Lord Banff; Kerr, John Curling in Canada and the United States. 1904, First edition, 8vo, presentation copy inscribed to Arthur Hart, plates, original pictorial black buckram gilt; t.e.g. (4) £200-250 165 HD610/6 Spark, Jean The Prime of Miss Jean Brodie. London: Macmillan, 1961. First edition, 8vo, original cloth, dustwrapper, inscription on front free endpaper, price-clipped, dustwrapper slightly creased at head and base of spine £150-250 166 LT2016/36 Stevenson, R.L. Treasure Island. London: Cassell & Co., 1884. Second edition, 8vo, frontispiece, 6pp. advertisments at end, original cloth £200-300 172 HE22/3 Wills, W.G. - Riviere binding Olivia, a play in four acts [founded on an episode in the Vicar of Wakefield]. [London: W.S. Johnson, c.1880?] 8vo, pp.1-4 lacking, later replacement title-page without latter part of title included, contemporary red morocco gilt by Riviere with the words “You are very beautiful madam” embossed in gilt to endpaper, some browning and soiling £150-250 173 HE88/1 Wodehouse, P.G. The Great Sermon Handicap. London: Hodder and Stoughton, [1933]. First edition, small 8vo, 122 x 80mm, dust-jacket, original imitation red leather gilt, some very occasional and slight internal soiling, some discolouration and very slight chipping to dust-jacket £400-450 £100-200 167 HD610/10 Strutt, Joseph [& Walter Scott] Queenhoo-Hall, a Romance. Edinburgh: for John Murray... and Archibald Constable, 1808. First edition, 4 volumes, 12mo, contemporary half calf, inscription at head of volume 1 title “John Forbes, Edinglassie”, lacks two morocco labels, upper joint of volume 3 split at head Note: The novel was finished by Walter Scott after Strutt’s death. Provenance: Castle Newe , Strathdon, Aberdeenshire; blindstamp to front free endpapers. £500-800 168 HE354/1 Thomas, Dylan Under Milk Wood. London: Dent, 1954. First edition, 8vo, dustwrapper price clipped & with small tear £100-150 169 HE107/18 Tolkien, J.R.R. Father Giles of Ham. London: George, Allen and Unwin Ltd., 1949. First edition, 8vo, colour-printed frontispiece, original orange cloth, dustjacket slightly dust-soiled with a couple of small tears and chips £150-250 173 30 Lyon & Turnbull 174 HE362/1 Wodehouse, P.G., 14 novels, including The Luck Stone. 1997, first edition, number 205 of 250 copies, red cloth; Not George Washington. New York, 1980, first American edition, dustjacket, not price clipped; Wodehouse on Golf. New York, 1940, first edition, frayed dust-jacket; Performing Flea. 1953, First edition, dustjacket slightly frayed, not price clipped; A Carnival of Modern Humour. London, 1967, dust-jacket, not price clipped; Sproat, Iain Wodehouse at War. 1981, first edition, library stamps, signed by the author on title, dust-jacket not price clipped; and 8 others 175 HE31/1 Yeats, W.B. Autobiographies: Reveries over Childhood and Youth and the Trembling of the Veil. New York: The Macmillan Company, 1927. 8vo, number 17 of 250 copies signed by Yeats, portrait frontispiece, 4 plates, original quarter cloth, bookplate, ownership signature to endpaper, a little bumping, some cloth to spine torn £250-350 £100-150 MANUSCRIPTS 176 HD312/2 2 late 17th century and 2 18th century Scottish manuscripts, comprising Memorial concerning the Clause talked to incapacitate the Scots Judges to be Members of the House of Commons” 8 pages, folio; 2) Additional Memorial on the same subject, 8 pages, folio; 3) Memorandum: A list of assents to be given to such Acts as may tend to compose differences among Churchmen in Church matters, 26 July 1698, 3 pages folio, holed with slight loss of text; 4) Project offered to the King, Jan 1693: To the end that Generall Assemblies in their power & exercise may be kept within the due bounds and arrests of law & that the calling them may be so ordered as that court become not a burden to the government as sometimes it did, or uneasy to their Maj.s, 2pp. folio, holed with slight loss of text; all dampstained but legible Provenance: By repute from the papers of the Earl of Marchmont. Patrick Hume, 1st Earl of Marchmont, was Lord Chancellor of Scotland, 1696-1702 £250-350 177 HE122/1 Admiralty Papers, 1804-1818 [Henry and Robert Dundas, Viscounts Melville, First Lords of the Admiralty] Comprising: 1) An Order to be Given by the Naval Board to purchase dated 16th May 1804, ordering the purchase/ requisitioning of armed vessels, bifolium, 23.5 x 18.5cm; 2) A List of ships Offered for Sale and which may be adapted for Sloops of War dated 17th May, 32.5 x 20.5cm; 3) Sea Fencibles 4 Admiralty Office documents from 1804 assessing the strength of the naval militia or sea fencibles around the Kent and Essex coast as they prepared to counter the feared Napoleonic invasion of Britain following the resumption of war, dating from June 1804, each c. 32 x 20.5cm; Documents relating to preparations of the Admiralty for Waterloo, under Robert Dundas: 1) Proposed Establishment on renewal of hostilities dated 25th March 1815, a rapidly drafted thumbnail sketch of the proposed arrangement of the British navy, c. 31.5 x 20cm; 2) Expense of the Navy 1813-14, for 1815, April, a document estimating and desperately trying to control the cost of the new war, c.32 x 40cm; 3) Estimate of the number of Seamen and Marines requisite for Ships and Vessels c.34 x 20.5cm, 2pp.; Three other documents, comprising: 1) An account of the additional Naval Force which has been ordered to be provided... together with an estimate of the expense thereof dated 30. May 1807, including 6 East India ships, built in India, for £112.000, 33 x 20cm; 2) A List of Ships building, repairing &c. which might be brought forward in the present year dated Navy Office, 26th March 1813, detailing repairs and construction to about 50 ships, 32 x 20cm, 8pp; 3) Ships in Commission on the Peace Establishment dated 1. January 1818, a comprehensive Inventory of the entire Royal Navy, c.32 x 20cm, 5 ms. pp. Provenance: Seemingly from the family of Henry Dundas, 1st Viscount Melville, and Robert Dundas, his son, both First Lords of the Admiralty during the Napoleonic Wars. From a private Scottish collection. Note: A collection of documents dating from 1804 order the construction and acquisition of ships in the months immediately preceeding the Battle of Trafalgar. The Admiralty made strong efforts to ensure that the Navy could move swiftly to counter Napoleon. These documents date from very soon after Henry Dundas’s appointment as First Sea Lord. A second collection of documents relate to the Admiralty’s preparations for the Battle of Waterloo. On 26th February 1815, Napoleon managed to escape the island of Elba and return to France. The British government panicked in response to this and began preparations for their final confrontation - Waterloo. Robert Dundas had been First Sea Lord for three years at this point. The documents also relate to Kent coastal defences, Ships in Commission on the Peace Establishment and to East India ships. The latter may refer to Henry Dundas’s longstanding links with the East India Company. £1,000-1,500 Rare Books, Manuscripts, Maps & Photographs 31 178 HE63/12 Alnwick, Northumberland and County Durham- Copies of Wills, c. 80 copies of wills in 2 folio volumes, c. 1835-1899, thick half calf £100-200 179 HD887/1 Asquith, Herbert Henry - 2 letters to Dorothy Beresford Letter on 10 Downing Street notepaper from Herbert Asquith to Dorothy Beresford, dated 15. March ‘09, 8 manuscript pages signed with initials, discussing literature and referring to a meeting regarding free trade Asquith writes: “...I had a têtê à têtê with the German Ambassador - a very dour intractable kind of Teuton...”, each page c.19 x 12cm; Letter on 10 Downing Street notepaper from Asquith to Beresford, dated 28. March 1911, 2 manuscript pages signed with initials, sending Dorothy Beresford “some tickets”, 19 x 12.5cm; with accompanying addressed envelopes £100-200. 180 HE683/11 183 HE63/17 Cookery Manuscript c. 1800, 8pp. only, and 9pp. of a child’s mathematical exercises, vellum binding slightly soiled; Manuscript cookery book, c. 1900, c. 68pp., 8vo, calf backed boards, a few stains, rubbed (2)200-300 181 HE683/10 [Battle of Inverurie] - Gordon, Lord Lewis (d.1754) Autograph letter signed, to an unknown correspondent, referring to a cruise Gordon had been on off Cape Finistere and the Gallician Coast and the capture of a privateer with 16 guns, 145 men and two English merchantmen; also asking him to pass on his compliments to all his friends in London including Mr Fairfax and Lady Burlington, 1 page, 4to., Portsmouth, 21 June 1740 Note: Lord Lewis Gordon, a naval officer, was a major supporter of Bonnie Prince Charlie and became a member of the Prince’s Council in Edinburgh in October 1745. Gordon recruited for the Prince in Aberdeenshire and Banff and defeated the government force at Iverurie. He Commanded his “Lord Lewis Gordon” battalions at the Battles of Falkirk and Culloden. After Culloden he escaped to France. £200-300 182 HE683/6 £700-1,000 £100-150 184 HE683/7 [Culloden] - Bland, General Humphrey (1686-1763) Letter from Gen. Humphrey Bland to the Rt. Honble. the Board of Ordnance, confirming his last supply of ammunition used by his Regiment of Dragoons is used up and he needs more, 1 page, London 3 August, 1751 Note: Humphrey Bland, British Army General, was not only involved at Clifton Moor but it was he who commanded the government cavalry at the Battle of Culloden. In 1753 he took over from Albermarle as Commander in Chief in Scotland. £200-300 185 HE683/9 [Culloden] - Duke of Cumberland, William, First Duke Letter signed, to Solomon Dayrolles, H.M. Resident in the Hague, written in a flowing secretarial hand, discussing at great length arrangements for the payment of £83,000 levy money to the Duke of Wolfenbuttel for the use of his troops, 2 pages, integral blank, fine example of red wax seal, countersigned by Joseph Yorke Note; Hailed as a hero in England after the decimation of the Highland army at Culloden, Cumberland has ever since been despised in Scotland for his cruelty after the Battle when he ordered that “no quarter” be given. In England the flower “Sweet Willliam” was named after him. In Scotland a particularly nasty, smelly weed is known as “Stinking Billie”. Letters signed by the Duke of Cumberland are of the greatest rarity. £300-400 186 HE683/8 [Culloden] - Willem Annevan Keppel, 2nd Earl of Albemarle (1702-54)300-400 32 Lyon & Turnbull 187 HE63/16 Darling, Grace, Archive of material, comprising Official settlement of the sum of £634.16.6 sterling on Miss Grace Horsley Darling between the Duke of Northumberland, the Rev. William Nicholls Darnell, The Venerable Charles Thorp, the Venerable Thomas Singleton, William Darling, Thomasin Darling and Grace Horsley Darling, with seals for all named, 2 sheets of vellum, c. 30 x 24 inches, and 2 drafts of the same, 12 March, 1840; statements of dividends due to William Darling & Duke of Northumberland, letters from Charles Thorp to T. Thorp and others relating to the Darling Fund, letters from Edward Stamp, bank agent, relating to the fund, c.1840, receipts for distributed settlement funds, 2 letters from Thomasin Darling, (Grace’s sister), apologising for delay in replying and asking for £10, draft deed of trust relating to the sum of £200, papers relating to the proposed scheme of settlement of the Darling Fund, letters and papers relating to William Darling’s death, will and probate, letters from Mr Woolder, Durham, R. Smeddle and John Maude, to the solicitors Thorp and Dickson, 4 187 letters from the Duke of Northumberland, one referring to “the distribution of the money between Darling, his Daughter, and the seven boatmen”, 7 letters from William Darling (Grace’s father) concerning a debt to a Miss Sanderson, William Darling’s Will, 24 July 1847, codicil 3 Sept. 1857, letters relating to Darling deceased, papers and receipts of residuary account, &c. Note: Grace Horsley Darling, (1815-42), was an English lighthouse keeper’s daughter, the seventh of nine children, who lived on Longstone Island, part of the Farne Islands off the coast of Northumberland, and is famous for her role in saving survivors from the wreck of the Forfarshire. In the early hours of 7 September 1838, Grace Darling spotted the wreck and survivors of the Forfarshire on Big Harcar, a nearby low rocky island. The Forfarshire had foundered on the rocks and broken in half: one of the halves had sunk during the night. As the storm was too severe for the lifeboat to set off from Seahouses, Grace and her father set off in a rowing boat & rescued four men and the lone surviving woman. The news of their dramatic rescue spread fast, and Grace was hailed as an example of bravery and unalloyed virtue. Grace and her father were awarded the Silver Medal for bravery by the Royal National Institution for the Preservation of Life from Shipwreck, later named the Royal National Lifeboat Institution. Subscriptions and donations totalling over £700 were raised for her, including £50 from Queen Victoria; more than a dozen portrait painters sailed to her island home to capture her likeness, and hundreds of gifts, letters, and even marriage proposals were delivered to her. Her wealth and fame were such that the Duke of Northumberland and Charles Thorp Archdeacon of Durham established a trust to look after the financial gifts that were sent in. The present archive largely relates to the fund and trust set up for Grace. Included in the lot is a copy of Grace Darling, The Maid of the Isles, Newcastle-upon-Tyne, 1839, half calf, and Constance Smedley Grace Darling and Her Times, 1932. £1,500-2,500 188 HE10/1 de Comminges, Roger, Lord of Saubole - Regnault de Rene - Richard Landon - Payments to a Garrison at Metz, 1586 Document signed by Roger de Comminges, Lord of Saubole, Regnault de Rene, and Richard Landon relating to payments to a garrison at Metz, written in French, dated 17th April 1586, single sheet of vellum 40.2 x 35.7cm £200-400 188 Rare Books, Manuscripts, Maps & Photographs 33 189 HD950/3-800 34 Lyon & Turnbull 190 SV888/17 Documents Relating to the Marriage of Elizabeth, Dowager Duchess of Hamilton and Brandon with Colonel John Campbell Ms. Marriage contract between Colonel John Campbell, afterwards 5th Duke of Argyll and Elizabeth, Duchess of Argyll, née Gunning, dated 2 March 1759, 9 pages, and other Ms., either pasted in or loosely inserted. Folio, c. 1900 full red polished morocco, by Rivière and Son, original “Dutch” patterned wrappers bound in Note: The Duchess was born Elizabeth Gunning (1733-1790), one of a pair of Irish sisters whose beauty took English society by storm in the early 1750s. On 14 February 1752 the teenage Elizabeth secretly married James 6th Duke of Hamilton and 3rd Duke of Brandon; he died aged 33 in January 1758, leaving Elizabeth a widow, not yet twenty-five years old, with three young children (the 7th and future 8th Dukes of Hamilton and a daughter, Elizabeth). The bridegroom, Colonel John Campbell, in 1759 may have been without a title, but his father, also John, was heir presumptive to the elderly Archibald, 3rd Duke of Argyll, and the groom was the eldest son, so a dukedom was expected in time. Elizabeth’s son’s, George James, claim to be heir of Archibald, Duke of Douglas, on the Duke’s death in 1761, gave rise to one of the longest law suits known in Scottish legal history at that time. The celebrated ‘Douglas Cause’ ultimately ended in the House of Lords overturning the original decision by the Court of Session in George James’s favour. The marriage contract is signed at the foot of each page by the bride on the left, and, at the bottom right, the groom, his father and brother Frederick. The last page is also signed by the witnesses: the Duke of Argyll, John Ross Mackye, Sir Henry Bellenden (Usher of the Black Rod and the groom’s maternal uncle), and George Ross, the London lawyer who drew up the contract and whose clerk, Hugh Robertson, wrote it. The first three folios are each impressed with embossed tax stamps for 1/6d. The contract outlines the financial provisions to be made to the Duchess: she is to receive an annuity of £800 per annum in the event of the groom’s death, and the document outlines how this sum is to be raised and gives guarantees that it will be paid in various family circumstances. She is also to receive a lump son of £2000 on the occasion of her husband’s death; and there are details of her rights to moveable property. The document details payment by the groom’s father, when he becomes Duke, to his son of £2,000 per annum, and the handing over of Argyll property at Roseneath, whose income is to be part of the £2,000. The bride is to make over to the groom the income of certain Hamilton properties of which she currently has control (for example the barony of Kinneil) according to her Hamilton marriage contract of 15 September 1752. Pasted into the album immediately after the contract is a document in the same hand, undated but probably early March 1759, concerning money owed to James Masterton by the brothers John and Frederick Campbell. Following this is another contemporary document part printed, part manuscript, also relating to money owed by John Campbell to James Masterton. The exact relationship, if any, between these two documents and the marriage contract is unclear. Next is a short pasted-in document relating to the Roseneath details of the marriage contract. This is partly in the hand of the groom’s father, and partly in the hand of the head of the Campbells, Archibald 3rd Duke of Argyll. The last document pasted into the album is a copy of this document, dated 21 March 1764[?], written and signed by the lawyer, George Ross. Pasted in at the front of the album is a third version of this document in the hand of the groom’s younger brother Frederick, dated 21 March 1764. This notes who wrote the original, and certifies its authenticity. Frederick was by now Lord Frederick Campbell (he was to become Lord Clerk Registrar of Scotland in 1768 until his death in 1816) and the groom Marquis of Lorne, his father having become 4th Duke of Argyll in 1761. Loosely inserted into the folder is a much later copy of the contract and two copies of a related document, in the same hand as the contract 190 itself. These last documents are unsigned, and undated, although one has tax stamps. One is endorsed “Copy Obligation for an Additional Annuity of £700 from Lieut. General John Campbell, Col. John Campbell, Mr Frederick Campbell and Mr William Campbell In favour of Her Grace Elizabeth Duchess of Hamilton and Brandon”. There is also a much later copy of this document. £1,500-2,000 191 HE36/1 Elizabethan indenture dated 20th February 1589, a mortgage for £300 of the tithes of Hartishill, Warwickshire by Sir Henry Goodere of Polesworth to William Cooke, with signatories including Michael Drayton, 64 x 78cm on 1.5 leaves of vellum, some soiling and tears Note: One of the witnesses to the document is possibly the English poet, Michael Drayton, 1563-1631. Various scholars have linked Drayton to the Goodere family, although more recent enquiry has cast doubt upon this. £150-200 Rare Books, Manuscripts, Maps & Photographs 35 192 HD637/13100-150 193 HB812/24 Four manuscripts, including Wardle, George His Day Book and Miscellaneous Household Accounts book, folio, 22 and 19pp., contemporary wrappers, recording purchases and sales of cloth, wine, brandy & tobacco, for October 1769 to end of year; Kerrigan, Thomas Autograph letter signed to Capt. Alexander Milne (1806-96; founder of the Scottish Meteorological Society, author of Essay on Comets, 1828), on board HMS Snake, 4to, 7 pages, HMS Pique, Sacrificio, Vera Cruz, 23 Feb. 1839, discussing comets, throwing doubt on Milne’s theory on the solidity of comets by citing the numerous observations made on the return of Halley’s Comet in 1835; Hutchinson, Thomas, of Morpeth, Northumberland In Anna’s Reign, 19 pages, lengthy poem on the subject of Grub Street poets and hacks, apparently unpublished, in school exercise book, dated 1889; [School Book] Manuscript miscellany of verse, in French, in a blank book with printed text on cover “Mons. Valter’s French Verbs and Exercise Books”, 40pp., oblong 4to, [c.1850] (4) 195 HD833/3 Gleneagles Hotel and Golf, a proposal, 1919 The Gleneagles Scheme, dated 14th May, 1919. 22 typed pages of “memorandum”, in purple ink, seemingly hectograph copies or spirit duplications, in the style of a proposal for the recommencement of the building of Gleneagles hotel following the First World War, with a map of the United Kingdom, detailing the site of Gleneagles, illustrated with 24 captioned photographs, including reproductions of artists’ impressions of the hotel, and golfers playing on the courses, all bound in a blue morocco book gilt stamped GLENEAGLES to upper cover, 34 x 23cm; AND Photographs 11 additional loose photographs, 29.5 x 24cm each, showing the completed hotel and grounds, with the stamps of ‘Bedford Lemere & Co. Architectural Photographers’ and ‘L.M.S. Hotel Services St Pancras’ to reverse of photographs (12) Note: No other copies traced in National Archives In 1910 Donald Matheson, General Manager of the Caledonian Railway Company, conjured the vision of the Gleneagles Hotel, to be situated in the area of Auchterarder in Scotland. The hotel was to provide a luxury experience and a variety of leisure pursuits such as fishing and, most notably, golf. The hotel was called “the Riviera in the Highlands”. The introduction to the “proposal” presented here reads: It is believed that if a new and up-to-date Hotel were established in a central district of the country... and there were conveniently attached to it facilities for golfing, fishing, shooting and motoring, the best of people would be attracted... and success would be assured... £200-300 This was fully realised a number of years ago, and... Gleneagles was chosen as a siutable place to have such an Hotel... 194 HE683/23 George II - Battle of Culloden, Bronze Medal, 1746 unsigned, but right, WILL DUKE CUMB BRITISH HERO, in exergue, BORN 15 APR. 1721, reverse, the battle, REBELLION JUSTLY REWARDED, in exergue, AT CULLODEN, 16 APR. 1746, 36mm., (Woolf 55.10). Trace of silvering, very fine. (Lot 1746, Baldwin’s 9 May 2012) The building was designed by Matthew Adam in 1913 and the preliminary scheme for it was created by James Miller. £150-180 However, in 1914 the building project was halted due to the outbreak of World War I . It is likely that the project was halted in order for young men to go away on military service. At the end of the War, the primary leisure activity of golf was a priority for James Baird who was responsible for the construction of the hotel’s golf courses and in 1919 the King’s Course was officially opened for play. The following year Gleneagles hosted the Scottish Professional Championship, the first golf competition in a series of golfing events hosted by Gleneagles such as the Glasgow Herald Tournament - the precursor to the Ryder Cup. The project for the construction of the hotel itself was not resumed until 1922. The document for sale here would seem to be a copy of a proposal, or a plan, to re-start the construction. The hotel was officially opened in 1924, with extensive publicity targeted at the upper end of the market attracting visitors from afar as America and all over Britain. £2,000-3,000 195 36 Lyon & Turnbull 196 HE82/6 Grizel Nimmo: 1730 Manuscript diary of last words: “This book appears to contain notes taken down by some person unknown of the last sayings of Grizel Nimmo, wife of William Hogg, 1730”, 13 leaves of notes, old sheep binding, 15 x 10cm. Note: Grizel Hogg (born Nimmo) 1688-1730, appears to have married John - not William - Hogg, in 1721, before dying aged 42 in 1730. £150-200 197 HD610/23 Hamilton, Lady Anne (1766-1846) Manuscript book of collected verses, “Poems” compiled by Lady Anne Hamilton, daughter of Archibald Hamilton, 9th Duke of Hamilton, (book started in 1795, last poem written in 1833), comprising verses by Richard Brinsley Sheridan, Paul Whithead Esq., Frederick Howard 5th Earl of Carlisle, Anna Seward, Edward Lovibond, Matthew Gregory Lewis, Hugh Boyd, Lord Byron, with, loosely inserted, a French poem “Impression reçue au premier aspect de l’abbaye de Fonthill” with round watercolour of Fonthill Abbey, poems addressed to Anne Hamilton, 3pp. of notes at end on Edward Lovibon Esq., Miss C. Phillips, Miss Greenly, Newton Barton, Lady Ogle, Mr Mercer, &c., delightful watercolour title, contemporary calf gilt, lettered “A.H.” at foot of spine, g.e., slightly rubbed Note: Anne Hamilton, Lady in Waiting to Queen Caroline, wife of King George IV, wrote an epic satirical poem The Epics of Ton or Glories of the Great World: a poem in Two Books in 1807, and had to leave for France in 1832 due to a scandalous book wrongly attributed to her. £300-400 198 HE683/1 Jacobite Proclamation (A 19th century facsimile) Duke of Argyle, Resolution in support of King George against the Intended Invasion of the Old Pretender, Inverary, eleventh August, 1715, with facsimile signatures of the Freeholders and Heritors of Argyle, framed and glazed, 295 x 360mm £100-200 199 HE683/22800-1,000 200 HB812/23 James, Major Charles Two series of autograph letters to Major James at the Military Library, Whitehall & Charing Cross, the first, of 5 letters, July 1814 - Dec. 1817 from B.G. Simpson in Dover, with news from the continent “Bonaparte is at Lyons with 50 thousand troops”, mentioning Lord Sidmouth, smuggling of tea into England; the second series, 5 letters, 1819-1820 from Henry Morris discussing importation of wine, a boarding schoool in Douay, the unexpected arrival in port of Queen Caroline Note: Major Charles James (d.1821) was in Lisle when the French Revolution broke out and made a solitary journey through France during its progress (described in his Audi Alteram Partem, 1793). £150-250 197 Rare Books, Manuscripts, Maps & Photographs 37 201 201 HD435/27 Louis XI, King of France. Endorsement signed (“Louis”), as King, Paris, 18 January 1462. Countersigned by Anthoine. Endorsed on verso of a 27 December 1461 summons. 1 page, oblong (7½ x 13 in.), ON VELLUM, a 1¾ x 5¼ in portion of lower right corner cut away, discoloration along right edge. Provenance: Appleby Castle Library, Appleby Castle, Westmorland Note: A FIFTEENTH CENTURY SUMMONS FROM THE KING, ordering his uncle the Duke of Burgundy, Philip the Good, to appear before the Parlement, together with the bailiff of Dijon and his lieutenant, to answer a number of charges against them. £3,000-5,000 202 HE683/18 Louis XV of France Military recommendation signed by King Louis XV and countersigned by Voyer d’Argenson, promoting Ensign Hasenkampf to 2nd Lieutenant, c. 45 x 17cm., old repair at folds £300-500 202 38 Lyon & Turnbull 203 HE11/14 MacDiarmid, Hugh [Christopher Murray Grieve] 2 autograph manuscript essays, c.1969: entitled Poetry and Science (26pp.) and Even the Least of These (19pp.), each c.33.5 x 22cm, written in blue ink, produced for Jonathan Cape’s Selected Essays; also with 2pp. corrected gallery proofs of Scottish Nationalist (published as The Upsurge of Scottish Nationalism), torn (4) Note: Prior to Selected Essays, both manuscripts had been published, one in The Hudson Review, and the second in Mosaic. MacDiarmid rewrote both pieces for Jonathan Cape. However, Even the Least of These, an essay exploring MacDiarmid’s own Scottish nationalism, did not appear in the collection. £1,500-2,000 204 HD836/5 Mackenzies of Coul, and other Mackenzies, a large collection, c. 150, of ms. letters, and some receipts, mostly from, to or relating to the Mackenzies including the Mackenzies of Coul, c.1700 -1850, £300-500 205 HC176/4 Manuscript leaf, possibly 15th century French written on both sides in Latin with some decoration in red and blue, 17 x 12.5cm, framed and double-glazed £150-200 206 HE683/5 Marie of Modena (1658-1718, 2nd wife of James II, Queen of Great Britain) Fine Letter, signed in French, to her cousin, Cardinal Odescalchi, expressing her pleasure at receiving “further confirmation of your regard for me on the occasion of the recent festival and such regards is particularly precious in that I respect your friendship highly...”, 1 side 4to., with integral address leaf with two fine impressions of her seal, St. Germain-en-Laye, 27th February 1716 Note: Although James II had died in 1701, Mary of Modena survived until 1718. In this letter of 27 February 1716, not long after the rebellion failed, Mary writes to her cousin, Cardinal Odescalchi, concerning a recent festival and appreciating his friendship. His friendship was undoubtedly of importance to her at this time, just three months after her son’s defeat. £500-700 207 HB812/22 Northumberland Poet - Story, Robert (1795-1860) 40 Autograph letters to William Dickson of Alnwick, discussing the publication of Story’s Poetical Works in a lavish edition part funded by the Duke of Northumberland, 8vo, c. 150 pages, Audit Office, Somerset House, 1856-59 Note: At one point hailed as a Northumberland Robbie Burns, Robert Story was born at Wark, Northumberland and published his first book of verse, The Harvest in 1816. He opened his own school at Gargrave in Yorkshire in 1820, & fell into debt. In 1857 the Duke of Northumberland subsidised an edition of Story’s Poetical Works. The correspondence relates his early struggles as a provinical poet, the genesis of the publication and the business of printing and binding the book. William Dickson of Alnwick, was a solicitor, local historian and founder of the Alnwick & County Bank. Also present are eight letters from Messrs. Pigg to Dickson concerning the printing of the Poetical Works and a copy of Longman’s advertising circular for the Poetical Works with many extracts of reviews in the press. £300-500 203 208 HD836/6 150-200 Rare Books, Manuscripts, Maps & Photographs 39 209 HD312/1 Porteous Riots - Manuscript - “An Act to disable Alexander Wilson Esq. from holding or enjoying any Office or place of Magistrary in the City of Edinburgh or elsewhere in Great Britain and for Imprisoning the said Alexander Wilson and for abolishing the Guard kept up in the said City commonly called the Town Guard and for taking away the Gates of the Nether Bow Port of the said City and keeping open the same.”, 6 pages, folio, waterstained but legible, few short tears affecting a few letters, 1736 Note: The Porteous Riots are a famous instance of the Edinburgh mob taking the law into their own hands. Three men had been sentenced to death for robbing a customs house in Fife. One was pardoned for turning King’s evidence, one escaped and the third, Andrew Wilson, a popular smuggler, was hung on 14 April 1736. The Town Provost, Alexander Wilson, had ordered the Town Guard to ensure order but as Andrew Wilson’s body was taken down, the crowd who sympathised with him for attempting to rob the hated Customs House officers, attacked the Town Guard. Porteous, the much disliked Captain of the Town Guard, fired on the crowd, and ordered his men to do the same, killing at least 6 people. Porteous was soon arrested, charged, found guilty, sentenced to death and imprisoned in the Tolbooth near St. Giles. A rumour that he would be pardoned led to a huge mob breaking into the Tolbooth whereupon Porteous was dragged to the Grassmarket and hung. Despite a parliamentary inquiry and several attempts to identify and charge ringleaders, no one was ever convicted of the execution of Porteous, though the City of Edinburgh was fined £2,000 by the Government and Lord Provost Wilson was disqualified from holding office again. The present manuscript is either the manuscript Act or a contemporaneous copy of the Act disqualifying Wilson from holding office. Walter Scott used the incident in his 1818 novel, ‘The Heart of Midlothian’. £300-400 210 HE683/20 Princess Louise, Comtess d’Albany, wife of Charles Edward Stuart “Bonnie Prince Charlie” Autograph Letter Signed to Lady Hardy, in French, apologising for not having been able to meet her when she visited, no place, 27 May [no year], 8vo £300-500 211 211 HE42/1 Pugin, A.W.N. - St. David’s Church, Pantasaph, Flintshire Three autograph letters, 20 x 25cm, sent by Pugin to Lord Fielding in 1851 discussing ecclesiastical architecture, one with original captioned ink sketch of a Church nave, signed by Pugin, franked blue paper with seals and some dust-soiling to addresses, minor tears to folds and a few light stains (3) Note: Three letters to Rudolph Fielding, later 8th Earl of Denbigh, discussing Pugin’s work for Fielding on the interior of St. David’s Church, Pantasaph, Flintshire, & touching on other contemporary matters, notably the Great Exhibition’s Medieval Court, Ecclesiastical matters and his health. Pugin mispells Fielding’s name as “Feilding”. £1,500-2,000 212 HD836/9 Seas300-400 40 Lyon & Turnbull 214 HD836/7300-400 215 EZ774/74 Scott, Sir Walter - Baron d’Haussez, Scott’s French translator Autograph letter signed from Sir Walter Scott to his cousin Henry A. Scott, regarding the visit of Mareshal Bourmont and Baron d’Haussez to Abbotsford in 1830, Abbotsford, 2nd December [1830], c.23 x 19cm, written on one side of plain notepaper with address, broken seal and postmark displaying a straightline of Melrose, a couple of small tears, c.1” tear to right side with slight loss to text 213 Note: Scott referring to his translator. 213* HD878/2 Rushdie, Salman ALS to Ernst Reinhard Piper, dated 2nd November ‘92, thanking him for his support, mentioning the publishing house Kienpenheuer and The Satanic Verses, with the closing sentiment: “In the meanwhile, the storm continues - now, as you may have seen, in Germany also. It is a long, tough fight, but it must be won...”, on 3pp. 21 x 15cm, with received stamp to initial page Scott refers to an ‘A. Cowper R.A.S. [ie. FSA] and to one of his French translators: “Mareshal Bourmont and another damned fellow. Minister of Marine I think? who translated one of the Waverley novels.” On 9th December 1830, Mareshal Bourmont’ and Charles Le Mercier Longpré, Baron d’Haussez, descended upon Scott at Abbotsford, to what Scott referred to as his ‘no small discomfort’. However, Scott subsequently sent a set of his Waverley novels to d’Haussez. When d’Haussez published an account of the visit in his travelogue, John Gibson Lockhart, Scott’s son-in-law, called the account: ‘vain imbecility... pitiable’, remarking that d’Haussez had not taken Scott’s ailing health into consideration. £700-800 £250-350 216 HE29/1 Scottish Genealogical Manuscript 854 manuscript pages (including a few of blank leaves), probably 18th century, containing genealogical histories of various clans, including: The True Genealogie of the Frasers... written in one volum [sic.] by a ? of ? & Antiquity Mr James Fraser... minister of Kirkhill... 1666...; The Genealogicall Account of the Ancient Family of the Crawfords of Kilbirnie... By Geo. Crawfurd; The Genealogicall Account of the Familie of ye Lord Forbes... compiled by Mr Matthew Lumsden of Fillikernie?, 1580; The Genealogicall Account of the Family of Skein by Mr Alex Skein..., 1678; The Genealogie of the most noble and ancient house of Drummond... By A Friend to Virtue & the Family viz. Sr William Drummond of Hawthornden... Collected in the year 1681, modern half calf, 8vo, 16 x 10 x 5cm £500-800 217 HD609/1. £500-700 218 HD836/8 Spiritual Diary, 1757, kept from 1-31 May 1757, small 4to (19 x 15cm), 48pp., despite the best intentions “found myself very unfit for exercises of devotion... quite out of tune for any spiritual thing... very little given to prayer.. attempted to pray but all to little purpose, spending the day in idle vain thoughts & words.. quite unfit for serving God, O what a miserable thing is this wicked heart... was employed all morning in prayer or meditations and reading the Bible... Bostin of Trail’s sermons...”, stitched, no wrappers 216 £200-300 CHARLES EDWARD STUART & JAMES FRANCIS EDWARD STUART LETTERS lots 219-226 42 Lyon & Turnbull 219 HE683/12 Stuart, Charles Edward - “Bonnie Prince Charlie” (1720-1788) Autograph Letter, in cryptic code, unsigned, apparently to a MacDonald, beginning with the statement “ye two houses by se or Land” and “attempt far off”, enjoins his correspondent to secrecy, mentions the needs for funds and the names Gros, Douns and Ryans, and suggests that Ryans who will write “immediately [if it is?] on or off” should come in his person with it and give it to Mr Gordon, one page headed “Munday Morning at 10:1/2”, no place or date, 1 page, 8vo Note: On the run after the battle of Culloden, the Prince resorted to sending his letters in cryptic code. Naturally these are difficult to interpret. Scholars believe this relates to negotiations for the marriage to Louise of Stolberg-Gedern. Ryans was Col. Ryan who was involved in them. Funds for her pension were required - the need for funds is mentioned. Gordon is possibly John of the Scots College in Rome. £800-1,000 220 HE683/14 Stuart, Charles Edward - “Bonnie Prince Charlie” (1720-1788) Autograph Letter Signed, to the Comte d’Argenson, 1/2p., 4to, Paris, 13th January 1747, requesting that an enclosed letter (the following item) be forwarded to the king, endorsed by d’Argenson: “Rép. le 15”; Autograph Letter Signed to Louis XV: “Monsieur mon Frere et Cousin”, 3pp. Paris, 14th January 1747. Having received no reply to his Mémoire [sold in these rooms, 7 May 2014, lot 98, £25,000], Charles expands on his invasion proposals: “Occupé uniquement des malheurs de mes fidèles amis, je me suis transporté à la Cour de Votre Majesté afin de lui proposer moi-même les moyens de faire une expedition beaucoup plus avantageuse pour votre Majesté et pour moi que celle de l’année dernière” and complains of a general belief in France that his plans are not feasible: “l’Opinion que l’on avoit ice de me vrai situation en la regardant comme une chose infaisable, quoique tout le monde est convaincu à present comme je l’etais alors qu’avec un secours médiocre il aurait réussi” and resolves to leave Paris in the light of the current political climate: “de me retirer en quelque lieu où ma condition ne tirera pas à conséquence, et où je serai toujours pret a concourir avec Votre Majesté dans toutes les démarches qui tendront à Sa Gloire et au rétablissement de ma maison dans leurs justes droits”, and offering to appoint a representative to negotiate with the king and his ministers during his absence (2) 219 Note: The letter to King Louis XV and his secretary are from the papers of Marc-Pierre de Voyer de Paulmy, Comte d’Argenson (1696-1764), Secretary of State for War 1743-57), by descent with the family until sold in 2002. The letters remained in the possession of successive Comtes d’Argenson at the chateau des Ormes until deposited on loan with the University of Poitiers in 1976 when they acquired a small library stamp. They were returned to the family after the death of the last Count in 1999. The letter to the King expands on Charles’s proposals to mount a further invasion and complains of a general belief in France that his plans are not feasible. He resolves to leave Paris in the light of the current political climate and offers to appoint a representative to negotiate with the King. £5,000-8,000 220 Rare Books, Manuscripts, Maps & Photographs 43 220 44 Lyon & Turnbull 221 222 221 HE683/15 Stuart, Charles Edward - “Bonnie Prince Charlie” (1720-88) Autograph letters, unsigned, from Charles to the Comte d’Argenson, Louis XV’s Minister of War, 1p and 1/2p., 4to, Paris, 27th March 1747, giving an address and false name for communications and asking the Count’s address, the bearer is Monsieur Sheridan (nephew of Sir Thomas Sheridan) who can be trusted to follow any instructions (2) Note: Under constant surveillance from British government agents, Charles was used to conducting diplomatic negotations in a cloak-anddagger atmosphere, here using the address of John Water & Son, Paris bankers to the Stuarts. The context of these notes, unsigned for obvious reasons, is explained in a letter to his father of 10 April, now in the Stuart Papers: “I have received a civill note from Count d’Argenson in which he desiers I should give him an address by which he can always be able to communicate to me his masters pleasure without its ever being suspected, which I did, giving him a cant name to be sent under cover to Waters jounior, so that everything is at their door.” (Quoted by David Daiches, Charles Edward Stuart, 1973). £1,000-1,500 222 HE683/16 Stuart, Charles Edward - “Bonnie Prince Charlie” (1720-88) Autograph Letter Signed, to the Comte d’Argenson, Louis XV’s Minister of War, Charles stating that he is despondent that he sees no prospect of action across the water and offering his services as aide-de-campe to King Louis XV, endorsed in the top margin by d’Argenson noting that the King declined the offer, 1 page, bifolium, Paris, 23 April 1747 Note: Following the failure of the 1745 Rebellion Charles’s request for help to mount a third rebellion against Britain were turned down by Louis XV as he was in the process of making peace with George II. The Treaty of Aix-la-Chapelle was signed in 1748 recognising the Hanoverian succession. £1,500-2,500 223 Rare Books, Manuscripts, Maps & Photographs 45 223 HE683/17 Stuart, Charles Edward - “Bonnie Prince Charlie” (1720-88) Autograph letter, unsigned, in cryptic code, concerned with Charles’s finanical affairs. It takes the form of a list headed 1747 with various instructions in code. It refers to “John Lambert” and “Waters”, his bankers in Paris, “Vignion” presumably Avignon where he spent part of his exile, “Gordon”, possibly John Gordon, Rector of the Scots College at Paris and “ye Linnin”. Naturally letters of this nature are difficult to understand £800-1,000 224 HE683/19 Stuart, Charles Edward - “Bonnie Prince Charlie” (1720-88), signed as Jacobite King Charles III Letter signed (‘Your sincere Friend, Charles R.’) to the Count of Serrant, acknowledging Serrant’s condolences ‘on the death of the King my father’ [‘The Old Pretender’]. The prince has sent him a large package, under ‘M. Joyes’s cover’ and looks forward to hearing of his successful negotiations in Madrid, ‘You know of what importance it is to me to be supported, especially in my present situation, by the court of Spain.’, Rome, 18 Feburary 1766, one page, 4to, integral address leaf, traces of seal, seal tear Note: Charles Edward was on way to Rome when ‘The Old Pretender’, James Francis Edward Stuart, only son of James II by Mary of Modena and know to his followers as ‘James III’ died there on 1 January 1766. The death of James Stuart appeared to offer his best hope of gaining recognition from the Pope for his own claim to the throne occupied by George II, and the support of Spain was much needed for this purpose. But the Papal counsellors, fearful of alienating England in favour of a claimant already known as a reprobate, warned against him and to his bitter mortification Benedict XIV rejected his appeal. £1,500-2,000 224 225 HE683/21 [Stuart, Charles Edward - Bonnie Prince Charlie (1720-88)] A collection of 6 documents, total 27pp., small folio, four in French, one in French & Italian, one in Italian, one signed by Charles Edward Stuart as “Charles Comte d’Albanie” in two places in his later shaky hand. The signed and most significant document is described as follows in HMC, x.238 (Lord Braye’s MSS, the Stuart MSS): September 27, 1786. Rome. Original power in French executed by Charles Edward before the Chancellor of the French Consulate at Rome to M. Busoni, empowering him, in presence of or acting with the advice of Mons. J.B. Vulpian, to execute along with the Countess of Albany or her representative the agreement whereof a draft is subjoined. Signed “Charles Comte d’Albanie”, seal of French consulate at Rome affixed, executed in duplicate. The draft agreement after reciting the securing of the jointure of 40,000, and the pin-money of 12,000 livres by the marriage contract upon the first subsidies received by Charles Edward, the letter of April, 1772, the letter of separation of April 3, 1784, the grant by Louis XVI of a pension of 60,000 francs to the Countess of Albany and of the same sum to Charles Edward, and the claim of the Countess to the jointure of 40,000 secured by the contract in addition to the pension of 60,000 francs, whereas her husband contended that the contract had been satisfied by the grant of the pension, witnesses that the Countess agrees to accept a reduced jointure of 20,000 livres charged on all the property of her husband, and redeemable at any time after a year from his decease at her option for 500,000 livres. The other documents include: another draft of the “Double de Projet de transaction” (proposed transaction), unsigned, and material giving information about the dowry granted to Princess Louise upon marriage and related matters. HMC lists the draft but none of the other documents Note: The paperwork pertaining to the legal separation of Charles Edward Stuart “Bonnie Prince Charlie” and Louise, Countess of Albany. Both are signed with a very shaky hand “Comte d’Albanie”. £3,000-4,500 225 46 Lyon & Turnbull 226 HE683/2 Stuart, James Francis Edward, “The Old Pretender”, (1688-1766) Autograph letter initialled, Urbino, 13th December 1717, in French to an unnamed recipient referring to his situation in exile, the welcome he has received in Italy which had lessened the terrible inconveniences of the an inevitable distance, saying he need to get himself established and that “your always respectable advice for me made me forsee a long time ago the advantages that would return to me” saying that it is not his fault that he is still not married, saying that he will have learned of the complete freedom of the Comte de Peterbrou (?), then continuing to talk about the nature of his conduct towards the Count and how advice and circumstances prevented him from sorting out a disagreement of some kind, and how the people of Italy are solid and reasonable, and while in Rome he learned of things that were being done on his behalf which humbly touched him, looking forward to receiving news of the addressees family which is so dear to him, talking about the climate, etc., 3pp., minor toning to centrefold, 4to., tipped into a modern matted mount with protective paper sleeve cover Note: Since the death of his father King James II in 1701, James Stuart had been regarded by many as the legitimate King James III, though having spent most of his life in exile, mainly in France. The death of Queen Anne in 1714, and the fact that she had no surviving children, seemed to strengthen his claim, and prompted a Jacobite rising in the following year. The Treaty of Utrecht in 1713 quashed this idea with France supporting the Hanoverian succession to the English throne. The Prince therefore travelled south into Italy and took refuge with the Pope. As a more permanent residence he moved to the Ducal Palace at Urbino, where the Prince spent his time dreaming of his hoped-for succession to the English throne. £500-800 227 HE82/8 Tobago plantations - Manuscript Conveyance by John Walker, John Strachan and James Geddes of Edinburgh to Robert Scott Moncrieff Esq. of Edinburgh, of a fourth part of the three fourths part of the said Plantation [formerly known as Lot Number Ten, formerly belonging to Alexander Brown Esq. lately Lieutenant Governor of the said Island... now denominated Providence Plantation] lying in the said Courland Bay and Division of the said Island, “with all ways, waters, watercourses, paths, pasture, trees, woods, underwoods, profiles and commodities, emoluments, advantages, easments and hereditaments, negroes, cattle, stocking houses...”, 1773, document on vellum, remains of red wax seals Note: Tobago’s definite development as a plantation colony was initiated after the conclusion of the Seven Years War in 1763 when France ceded its claims to Britain. Alexander Brown was the first Lieutenant Governor. £100-200 228 HE63/18 Vellum grant of arms to Hugh Moises, of gules a fels erminous between three bulls heads couped Argent Armed Or, and for the crest on a wreath of the colours growing on a mossy mount bull Rushes proper, with the seal of Stephen Martin Leake Garter Principal King of Arms and Thomas Browne, Norroy King of Arms, gilt arms on vellum, 42 x 50.5cm., worn morocco case £300-400 229 HE63/15 Vellum Grant of Arms to Hugh Moises Vellum indenture dated 5th October 1860 by Sir Charles George Young, Knight Garter, Principal King of Arms, and Walter Aston Blount, Esquire, Norroy King of Arms, granting Hugh Moises and his wife Isabella and all their descendants permission to call themselves ‘Lisle’ instead of ‘Moises’ and to bear the Lisle Coat of Arms, large hand-coloured Lisle Coat of Arms in top left corner, signed by and with the red wax seals in bright brass containers, of Sir Charles Young and Walter Aston Blount at the bottom, contained in the original black morocco case £300-400 230 HE683/13200-300 MISCELLANEOUS 231 HE107/12 “Carrol, Lewis” [Charles Lutwidge Dodgson] The Game of Logic. London: Macmillan and Co., 1886-7. 8vo, original red cloth gilt, bookplate and blind-stamp, initial pages loose, tear to spine, with instruction card and 9 grey and pink counters in original printed envelope, closed tear to envelope [book dated 1887, card and envelope dated 1886] £400-500 232 HE65/110 2 volumes, comprising Hazlitt, William A Reply to the Essay on Population by the Rev. T.R. Malthus. London: Longman [&c.], 1807. First edition, 8vo, name “J.P. Cobbett, Oct. 1865” at head of title, later cloth-backed boards, uncut, library stamp on title verso, a few spots; Howard, John An Account of the Principal Lazarettos in Europe. Warrington: T. Cadell [&c.],. 1789. First edition. 4to., 22 plates and plans, 1 folding table, contemporary half calf, worn, joints split, short tear to folding plans, most repaired, some spotting (2) £200-300 233 SV705/145A A large quantity of maritime and sailing books Wood, Walter Fishing Boats & Barges from the Thames to Land’s End. London: John Lane The Bodley Head Limited, 1922. White cloth gilt; Chatterton, E. Keble Ship-models. London: Studio Limited, blue cloth, gilt; [Idem] Fore and Aft: the story of the fore and aft rig. London: Seeley, Service & Co Ltd, 1912, blue cloth, gilded; Heckstall-Smith, B. Yachts & Yachting in Contemporary Art. London: The Studio Limited, blue cloth, gilt; Worcester, G.R.G. The Junks and Sampans Of the Yangtze, 2 volumes. Shanghai: Statistical Department of the Inspectorate General of Customs, 1948, green cloth, gilt; Folkard H.C. The Sailing Boat. London: Edward Stanford, 1901, fifth edition, green cloth gilt; Lubbock, Basil Sail. London: Blue Peter Publications Ltd, 1936, 3 volumes, blue cloth, gilded; and a large collection of others, sold not subject to return £300-400 Rare Books, Manuscripts, Maps & Photographs 47 231 234 HD435/141 Ascham, Roger The English Works. London: T. Davies & J. Dodsley, [1767]. First edition, second issue, with undated title, contemporary half calf, neatly rebacked, spine gilt; Grose, Francis The Antiquities of England and Wales. London: S. Hooper, 1772-73. 4 volumes, (without the 2 vol. supplement), 4to., 4 engraved titles, 4 engraved frontispieces (2 misbound in text), 40 full-page plates, and 353 half-page plates, contemporary calf, worn, one cover detached (5) Provenance: Sir John Ingleby Bart. (1761-1833), bookplate, [Ripley Castle Library]; Appleby Castle Library, Appleby Castle, Westmorland. 237 HD435/72 Cohausen, Johann Heinrich Hermippus Redivivius: or the Sage’s Triumph over Old Age and the Grave. London: J. Nourse, 1749. Second edition, 8vo, contemporary calf, rebacked, corners neatly repaired; Smith, Thomas Vitae quorundam eruditissimorum et illustrium virorum. London: D. Mortier, 1707. 4to., contemporary vellum, lacks portrait [ESTC T147511]; Nalson, John The Countermine: or a short but the discovery of the dangerous principles... of the Dissenting Party or Presbyterians. London: J. Edwin, 1677. Second edition, 8vo, imprimatur leaf before title, 2pp. advertisements at end, contemporary calf, rebacked (3) £200-300 Provenance: Appleby Castle Library, Appleby Castle, Westmorland 235 HC244/3 Bindings, 49 volumes, including Graham, H.D. Antiquities of Iona. 1850. 4to, lithographed title and plates, red half morocco by Ramage, t.e.g.; Boswell, J. Boswell’s Journal of a Tour to the Hebrides. 1936, 8vo, number 718 of 790 copies, original cloth-backed boards, uncut, slipcase; Morris, William The Story of Sigurd. 1910. 8vo, vellum-backed buckram, t.e.g., slipcase; Weston, J.L. The Legends of the Wagner Drama. 1900. 8vo, black morocco and vellum gilt binding (unsigned), t.e.g., slipcase; Shakespeare, W. The Sonnets. Riccardi Press, 1913. 8vo, number 949 of 1000 copies, full vellum, black morocco endpapers, t.e.g., slipcase; [Architecture] A Glossary of Terms used in Grecian, Roman, Italian & Gothic Architecture. 1845. 8vo, black morocco gilt, t.e.g., slipcase; E, A. Selected poems. 1935, 8vo, green morocco by Riviere, t.e.g., spine slightly faded; Geddie, J. Thomas the Rymour. 1920. 4to., limited to 250 copies, brown half morocco, t.e.g., slipcase; Conrad, Joseph The Works. 1925. 20 volumes, 8vo, original blue cloth gilt; and 21 others (49) £250-350 236 HE43/1 Boy’s Own Book A complete encyclopaedia of all the diversions... of boyhood and youth. London: Vizetelly, Branston and Co., 1830. Sixth edition, 16mo, contemporary half calf, slight worming to initial pages, spine becoming detached £150-200 £300-400 238 HE65/71 Dictionary of National Biography 1921-59. 28 volumes, including Supplements, 8vo, original blue cloth, blindstamp to titles and “C” to foot of spines £150-200 239 HE107/19 Economic Chess Board ...with a complete set of chess men... London: De La Rue & Co., 1845, original covers and slipcase, with 32 paper chess pieces £150-200 240 HD894/24 Egan, Pierce Life in London; or, The Day and Night Scenes of Jerry Hawthorn, Esq. and his Elegant Friend Corinthian Tom... London: Sherwood, Neely, and Jones, 1822. 8vo, 36 hand-coloured plates, 3 folding sheets of engraved music, contemporary half calf, ownership signature to title-page, some offsetting, soiling and foxing £150-200 48 Lyon & Turnbull 241 HE65/36 Gipsies, 2 works, including Hoyland, John A Historical Survey of the Customs, Habits & Present State of the Gypsies. York, 1816. First edition, 8vo, publisher’s green half cloth and marbled boards, faint library stamp to title, rubbed; Crabb, James The Gipsies’ Advocate. London, 1832. Third edition, 12mo, original cloth, rebacked with calf, spine gilt, several marginal blindstamps (2) 242 HE66/1 Gould, R.F. The History of Freemasonry. London, [c.1888], 6 volumes, 4to., chromolithographed plates, original decorative cloth gilt 248 HD885/43 Miscellaneous works, leather bound, including: Noble, M. Memoirs of the Protectoral House of Cromwell. 1787. 2 volumes, 8vo, plates, contemporary calf gilt; Sherwin, Henry Mathematical Tables. 1742. 8vo, 1 folding plate, contemporary calf; Burnet, Gilbert History of his own Time. 1818. 4 volumes, 8vo, contemporary diced calf gilt, foot of spines rubbed; Croker, J.W. The Croker Papers. 1884. 3 volumes, 8vo, contemporary half calf gilt; Rambler, The 1752. 6 volumes, 12mo, contemporary calf; Maxwell, H. The Creevey Papers. 1903. 2 volumes, 8vo, half calf gilt; Mahahn A.T. The Life of Nelson. 1897. 2 volumes, 8vo, red calf gilt; Shakespeare, W. The Plays. 1858. 3 volumes, 4to, red half morocco, slightly rubbed; Royal Kalendar, for 1839. 8vo, red morocco; and 16 small 8vo volumes of Thackeray (40) £80-120 £300-400 243 HE65/35 Gypsies - Grellmann, Heinrich Moritz Gottlieb Dissertation on the Gipsies, being an Historical Enquiry, translated by Matthew Raper. First edition in English. 4to., half-title, handsome modern brown quarter calf with marbled boards, spine gilt, with black morocco label, small oval blindstamp to eight margins (Wigan Free Library), small ink number to title verso 249 EZ774/73 Music - Purcell, Henry Sonnata’s [sic.] of III parts: Two Viollins and Basse: to the Organ or Harpsecord. London: for the Author, and sold by I. Playford and I. Carr, 1684. “Second edition” with date 1684 super-engraved over 1683 on first title. 4to, engraved portrait, engraved general title, engraved dedication and leaf “to the reader”, Second engraved title for the First Edition: London: for the author, and sold by I. Playford and I. Carr, 1683, 24 pp. engraved music for Violin primo; Third engraved title [London: for the author, and sold by I. Playford and I. Carr, 1683], 24pp. engraved music for Violin Secundo, 2 parts of 4, original wrappers, very slight dampstaining to a few leaves of part 2, [ESTC R219033, rare] £100-150 £200-300 244 SV730/69B Kay, John A Series of Original Portraits and Caricature Etchings. Edinburgh: A. & C. Black, 1878. 2 volumes, 4to., 362 engraved plates (including 329*), maroon quarter morocco gilt, t.e.g., head and tail of spines somewhat rubbed £200-300 245 SV705/145D Leather Bindings, a small quantity, including Shakespeare, William The Royal Shakespeare. London: Cassell & Company, 1883. 3 volumes, 4to, red half calf gilt wit green morocco gilt labels to spines; Chisholm, George G. The World As It Is... London: Blackie & Son, 1886. 2 volumes, large 8vo, red half calf gilt; Ridpath, George The Border-History of England and Scotland... London: T. Cadell..., 1776. 4to, half calf gilt, worn; Johnson, C. Pierpont - John E. Sowerby British Wild Flowers. London: John van Voorst, 1882. 4to, contemporary green half calf; and 10 others; sold not subject to return (17) £700-1,000 250 HE65/20 Musical Instruments - Hipkins, Alfred James Musical Instruments, Historic, Rare and Unique. Edinburgh: A. & C. Black, 1888. First edition, large folio (405 x 310mm.), limited to 1040 copies, signed by the publisher, 50 full chromolithograph plates by W. Gibb, half dark brown morocco over cream cloth, t.e.g., occasional slight spotting, boards marked and dust soiled, some scuffing to leather, upper joint splitting £150-200 £150-200 246 HE63/19 Miscellaneous books, a quantity, including Gaunt, M. Alone in West Africa. [c.1912]; Younghusband, G. A Soldier’s Memories. 1917; Chapman, A. The Borders and Beyond. 1924; Shepherd, E. The Raid of the Kers. [n.d.]; Jekyll, G. Wood & Garden. 1899; Grant, C.H.B. The Shikari. 1914; Callwell, C.E. Field Marshal Sir Henry Wilson. 1927. 2 volumes, 8vo, dustwrappers, all original cloth £300-400 247 EZ774/72 Miscellaneous works, 18 volumes including Rackham, Arthur Barrie, J.M. Peter Pan in Kensington Gardens. [c.1911], Small 4to., 24 coloured plates by Rackham, original green pictorial cloth gilt, slightly rubbed; Moule, Thomas Heraldry of Fish. London, 1842. First editions, 8vo, illustrations, original cloth; [Malaysia] Harrison, C.W. An Illustrated Guide to the Federated Malay States. 1923. 8vo, plates, map in pocket, original yellow cloth; Summerhayes, V.S. Wild Orchids. 1976; Ford, E.B. Moths. 1976, and 11 others (17) £200-300 250 Rare Books, Manuscripts, Maps & Photographs 49 251 251 HE145/5 Paper Doll Book - The Changeable Costumes or in which do you like me best ? An Elegant and Amusing Companion for the Drawing Room Table and Forming a Pleasing Series of Highly Coloured Heads, for Young Ladies to copy from. London: for the Proprietor, [c.1837], seven cardboard leaves, the first with a handcoloured engraving of a portrait of a woman, the other six each with a different hand-coloured engraving of a costume, with a cut-away face, some dust-soiling, each approx 132 x 118mm, loosely contained as issued in original blue-grey card wrappers, rubbed and soiled, ribbon loose £250-350 252 HD611/1 Shaw, Thomas George Wine, the Vine and the Cellar. London: Longman [&c.], 1863. First edition, 8vo, illustrations, original pictorial green cloth, recased £250-350 253 HE117/2 Sylvester, Charles The Philosophy of Domestic Economy, as exemplified in the mode of Warming, Ventilating, Washing, Drying & Cooking. Nottingham: Longman [&c.], 1819. First edition, 4to., engraved frontispiece and 10 plates, contemporary half calf, slightly spotted, rebacked £250-350 254 SV705/145E Travel, Art, Natural History and other subjects, 53 books including Rundall, L.B. The Ibex of Sha-Ping. London: Macmillan and Co., 1915. 8vo, original green cloth gilt; Conway, W. Martin - A.D. McCormick The Alps. London: Adam and Charles Black, 1904. 8vo, original pictorial green cloth gilt; Gordon, Seton The Immortal Isles. London: Williams & Norgate, Ltd., 1926. 8vo, original blue cloth gilt; Sparrow, W. Shaw, editor The Gospels in Art. London: Hodder & Stoughton, 1904. 4to, original Japanese vellum gilt; Sullivan, Sir Edward The Book of Kells. London: The Studio, 1920. 4to, original quarter Japanese vellum; Tissot, James J. The Life of Our Lord Jesus Christ. London: Sampson, Low, Marston..., 1898. Folio, original quarter Japanese vellum gilt, volume 2 only, worn; Scott, Peter Morning Flight. London: Country Life Limited, 1936. 4to, original blue cloth gilt; First World War Scrapbook containing 414 pp. of news clipping relating to the First World War, folio, album very worn; and 46 others, sold not subject to return (53) £200-300 255 HD611/16 Wine - Lamart, Louis Atlas de la France vinicole. Paris: Larmat, 1942-47, volumes 1-7 bound in one, folio, folding coloured maps, original wrappers bound in, cloth, a typed letter signed by Larmat and the original prospectus bound in, one wrapper loose £300-500 256 HE65/39 Witchcraft - Glanvill, Joseph A Blow at Modern Sadducism in some Philosophical Confederations about Witchcraft. London: J. Collins, 1668. Fourth edition, 8vo, contemporary calf, [Wing G800], joints split, worn, inner hinge strengthened £350-550 50 Lyon & Turnbull NATURAL HISTORY 257 Albin, Eleazar A Natural History of Birds. London: Printed for the Author and Sold at William Innys. 1731 -1740, First Editions [volumes I and II are first issues, volume III is second issue], 3 volumes, 4to. (290 x 230mm.), 306 Hand coloured plates, lists of subscribers, Vol.I & II contemporary full calf with foliate gilt tooled borders and edges, spines with raised bands elaborately gilt in compartments, red morocco title labels, Vol.III bound in lighter full contemporary calf with single gilt rule border and edges, spine with raised bands gilt in compartments, red morocco title label, green morocco volume label, all volumes with similar marbled endpapers, wide margins, all edges sprinkled red, Allan Francis Brooke-Viscount Strathallan copy with bookplates, a few small spots, neatly repaired closed tear to plate 10 in volume 2, paper flaw to plate 36 in volume 3 resulting in light fold across bird’s tail, bindings slightly rubbed, volume III rebacked retaining original boards £9,000-12,000 Rare Books, Manuscripts, Maps & Photographs 51 259 258 HE65/85 Alpheraky, Sergius The Geese of Europe and Asia. London: Rowland Ward, 1905. First edition, 4to., presentation copy from publisher inscribed “Capt. Stanley Flower with Rowland Ward Kind Regards, 1906”, 24 chromolithographed plates, original green cloth gilt, t.e.g., occasional light spotting £150-250 259 HE65/87 Bees, Wasps and Ants - Saunders, Edward The Hymenoptera Aculeata of the British Islands. London: L. Reeve, 1896. First edition, 8vo, 54 lithographed plates, 51 hand-coloured, contemporary blue half morocco, spine gilt, t.e.g., Castlecraig Library bookplate, rubbed 262 262 HE65/113 Buffon, G.L. le C., Conte de Natural History, General and Particular. London: W. Strahan & T. Cadell, 1785. Second edition, 9 volumes, 8vo., 308 engraved plates including frontispiece, several folding, contemporary tree calf, black morocco title labels, red morocco volume labels, spines gilt, extremities worn, some joints cracked, light spotting to preliminaries and last few pages of some volumes, occasional light offsetting of plates £200-300 £200-300 260 HE65/88 Blackwall, John A History of the Spiders of Great Britain and Ireland. London: The Ray Society, 1861. Folio, 29 hand-coloured engraved plates with descriptive text on guards, recent green half morocco and green watered cloth, spine gilt, raised bands, new endpapers £300-400 261 HE65/97 Bree, Charles Robert A History of the Birds of Europe, not observed in the British Isles. London: Groombridge and Sons, 1859. First Edition, 4 volumes, 8vo, 238 hand-coloured plates, brown half calf and cloth boards, raised bands, spines gilt, t.e.g., short split to upper joint of volume 4, very slight occasional spotting, very slightly rubbed £300-400 261 52 Lyon & Turnbull 263 HE64/2 Catton, Charles, the Younger Animals drawn from Nature and Engraved in Aquatint. London: Printed for the Author and sold by I. and J. Taylor. First edition, oblong folio (426 x 275mm.), 36 fine handcoloured aquatint plates by and after Catton heightened with white and gum arabic, contemporary calf gilt in upright folio format, covers with neo-classical borders, gilt turnins, marbled edges, neatly rebacked, endpapers renewed, some rubbing Note: First edition, marking the earliest use of aquatint for a work on natural history. This copy varies from others in having been bound in an upright rather than oblong format, the plates being mounted on contemporary blanks (watermarked 1794) and then framed within pen-and-ink and wash borders, with captions and numbering in ink. The son of the artist Charles Catton the Elder (1828-1798), coach painter to George III and founder-member of the Royal Academy, Charles Catton the younger was taught by his father and admitted to the Royal Academy Schools in 1775. He worked as a landscape artist in England and Scotland, exhibiting some 37 paintings at the Royal Academy between 1775 and 1800. As a book illustrator, he prepared designs to illustrate Gay’s Fables as well as the plates for the present work, but emigrated to North America in 1805. Nissen ZBI 847. Provenance: H.R.H. The Prince Henry, Duke of Gloucester, KG, KT, KP, armorial bookplate £2,500-3,500 264 HE613/2 Couch, Jonathan A History of Fishes of the British Islands. London: Groombridge, 186465. 4 volumes, 8vo, 252 coloured plates, original blue pictorial cloth gilt, tissue guards, volume 4 rebound with original spine and covers laid down, other volumes rubbed £300-400 265 HE65/91 Couch, Jonathan A History of Fishes of the British Islands. London: Groombridge, 186265. First edition, 4 volumes, 8vo, 252 colour plates, 1 uncoloured plate, original decorative blue cloth gilt, occasional light spotting, slightly rubbed £300-400 265 Rare Books, Manuscripts, Maps & Photographs 53 266 HD610/5250-350 267 HD610/4 Darwin, Charles The Effects of Cross and Self Fertilisation in the Vegetable Kingdom. London: John Murray, 1878. Second edition, 8vo, contemporary brown half morocco, t.e.g., bookplate of Reading and District Gardeners Mutual Improvement Association Lending Library on front endpaper, and stamp to front free endpaper, rubbed, small nick at head of spine £150-200 268 HD610/11 Darwin, Charles On the Origin of Species by Means of Natural Selection. London: John Murray, 1861. Third edition (seventh thousand), folding diagram, 2pp. advertisements at end, original green cloth, textblock split at p. 97, stitching weak, some gatherings loose, a bit rubbed, corners slightly bumped £600-900 269 HE65/60 Dickson, R.W. Practical Agriculture; Or, A Complete System of Modern Husbandry. London: Richard Phillips 1805. 2 volumes, 4to. (210 x 260mm), 1 folding plan, handcoloured frontispiece and 87 engraved plates (2 folding) including 27 hand coloured, contemporary calf boards, sides with gilt fillet and blind border on sides, rebacked, extremities rubbed, front hinge of Vol I split, front hinge Vol II repaired, some offsetting to text, browning to a few pages, bookplates of Thos. Marshall, small book label of William Delafield 268 £200-300 270 HE64/14 Donovan, Edward The Natural History Of British Insects; Explaining Them In Their Several States, With The Periods Of Their Transformation, Their Food, Oeconomy, &c. Together With The History Of Such Minute Insects As Require Investigation By The Microscope. London: For the Author, and for F. and C. Rivington 1792-1813. First Edition, 16 volumes bound in 8, 8vo., (235 x 145mm.) 576 plates (568 hand coloured), contemporary diced calf gilt, spines with raised bands, morocco labels lettered in gilt, double gilt rules and blind decorative borders to both upper and lower boards, marbled endpapers, all silk markers present as are all tissue guards, a very attractive set Note: Edward Donovan (1768-1837), naturalist and author, Fellow of the Linnean Society… at Dru Drury’s death many of the insects which he had collected fell into Donovan’s hands… he formed a collection of natural history specimens at the cost of many thousands of pounds, and under the title of The London Museum of Natural History admitted the public freely in 1807 and for many years after (D.N.B). £3,000-3,500 54 Lyon & Turnbull 271 HE65/94 Donovan, Edward The Natural History of British Shells. London: for the author, 1800-03. 5 volumes, 8vo, 180 hand-coloured engraved plates, contemporary green half morocco, R.C.S.I. library stamp to titles & occasionally to text margins, some spotting of text, occasional slight offsetting to text, rubbed £800-1,000 272 HC244/1 Edwards, Lionel The Passing Seasons. Country Life. Oblong folio, 18 coloured mounted plates, original green patterned boards, occasional light spotting £100-150 271 273 HE64/18 Edwards, George A Natural History of Birds; Gleanings of Natural History. Printed for the Author at the College of Physicians, 1743-64. 7 volumes, 4to., text of ‘History’ in English, ‘Gleanings’ in English and French, engraved portrait of Edwards in 2 states (one before the addition of “R.S.S.” and “Nat. Mar. 23 April 3”), uncoloured plate of Samojeed, 362 fine handcoloured engraved plates, some numbered in manuscript, plates 178 & 325 repaired, plate 175 probably supplied from another copy, bound without general title to first 4 volumes (as often with early sets), contemporary green morocco gilt by Charles Lewis, g.e., lavender endpapers, the William Gott copy with bookplates, minor wear [Nissen IVB 286-289; Fine Bird Books p.93] £10,000-12,000 Rare Books, Manuscripts, Maps & Photographs 55 273 56 Lyon & Turnbull Rare Books, Manuscripts, Maps & Photographs 57 274 HD959/1 Florilegium - Captain James Cook Captain Cook’s Florilegium. A Selection of Engravings from the Drawings of Plants collected by Joseph Banks and Daniel Solander on Captain Cook’s first Voyage to the Islands of the Pacific, with Accounts of the Voyage by Wilfrid Blunt and of the Botanical Explorations and Prints by William T. Stearn. Lion and Unicorn Press, 1973. Large folio, number 8 of 10 copies, a Subscriber’s copy [Subscriber no 8, Dr. J.A. Watt], 42 engraved plates, text printed in purple, green, red, blue, brown and black, text and plates printed on Crisbrooke handmade paper, binding of Nigerian goatskin with solid gilt edges, designed by Joy Law, hand tooled in 22-carat gold leaf, with gilt stamps of Drosera uniflora from Tierra del Fuego as fleurons, and silk doublures by Zaehnsdorf Limited, with a specimen of Banksia integrifolia (plate 25), gathered at Botany Bay by R.G. Coveny in December 1973, encapsulated in acrylic by David Watkins as part of the upper cover, watered silk endpapers, in a green velvet lined folding green cloth box, morocco gilt lettering piece to upper cover, slight crystallisation at extreme edge of acryllic window, otherwise very fine Note: A magnificent de luxe edition. Apart from its sumptuous binding incorporating a specimen of Banskia integrifolia in a panel inset into the front cover, this edition, limited to 10 copies, also has 42 plates, twelve more than the “standard” edition of the same year which itself was limited to only 100 copies for subscribers. Both editions were fully subscribed long before publication date. The work is of importance as its publication reproduces for the first time some of the engraved plates of Australian plants made under the supervision of Sir Joseph Banks. Apart from a proof impression no prints were made from the plates selected here for publication, the original copper-engraved plates, the original drawings, the specimens used for the drawings and the proof impressions all being held by the British Museum. In the 1960s it was decided that the Royal College of Art should print a selection of the most beautiful plates. The superbly printed rich impressions in strong black ink make this one of the finest botanical books produced in the twentieth century. The ten subscribers to the special edition of Captain Cook’s Florilegium are listed on a sheet loosely inserted as: 1) Howard Radcylffe Esq., 2) The Peabody Museum, Salem, 3) Paul Mellon Esq., 4) P.L. Bradfer-Lawrence Esq., 5) Hunt Botanical Library, Carnegie-Mellon University, Pittsburgh, 6) George Howard Esq., 7) Nicholas Poole-Wilson Esq., 8) Dr. John A. Watt, 9) Lessing J. Rosenwald Esq., 10) Mrs A. Lester Marks. £8,000-10,000 58 Lyon & Turnbull 277 280 275 HE65/30 Forshaw, Joseph M. Kingfishers and Related Birds. Melbourne: Lansdowne, 1983-85. First edition, large folio (506 x 355mm.), collector’s issue, number 876 of 1000 copies signed by the author and illustrator, 2 volumes, illustrated by William T. Cooper, original blue half morocco with blind embossed floral motifs, contained in blue velvet lined cloth book box with morocco gilt title panel, some very minor soiling to box £600-800 276 HE65/50 Forshaw, Joseph M. Kingfishers and Related Birds. Melbourne: Lansdowne, 1987. First edition, large folio (506 x 355mm.), collector’s issue, number 897 of 1000 copies signed by the author and illustrator, 2 volumes, illustrated by William T. Cooper, original green half morocco with blind embossed floral motifs, contained in blue velvet lined cloth book box with morocco gilt title panel £600-800 277 HD610/26 Gesner, Conrad Historiae Animalium Lib. I. de Quadrupedibus viviparis. Zurich: C. Froschouer, 1551. volume 1 only, folio, woodcuts, late 18th century half calf, red morocco label, a few early inscriptions to title, one deleted, title stained, with small hole & laid down, some waterstaining, especially at beginning and end, page margins stained and friable from c. 1020-1104 and index, marginal repairs to index affecting some words, binding very worn £300-500 278 Rare Books, Manuscripts, Maps & Photographs 59 278 HE65/28 Graves, George Hortus Medicus, or Figures and Descriptions of the more Important Plants used in Medicine, or possessed of Poisonous Qualities. Edinburgh: A. & C. Black, 1834. First edition. 4to., (285 x 220mm.), 44 hand coloured engraved plates on 38 sheets, tissue guards, late 19th. century maroon half calf, red morocco label, corners, joints, top and bottom of spine worn, sections B-D working loose, tissue guard adhering to inner margin plate 4, short closed tear at bottom of plate 43 not affecting image, small piece torn away at corner of plate 44 well away from image, a clean crisp copy £800-1,000 279 HD611/7 Gray, George Robert A Fasciculus of the Birds of China. [No place, 1871]. 4to., 12 handcoloured lithographed plates, original cloth-backed boards, title loose and slightly frayed in fore margin, a few spots, occasional mark, binding worn and soiled 280 HE65/15 Hale, Thomas A Compleat Body of Husbandry. London: T. Osborne, [&c.], 1756. First edition, folio, engraved frontispiece and 12 plates, contemporary calf, some offsetting to plates, armorial bookplate of the House of Abercairny, upper hinge splitting £200-300 281 HE65/38 Herbal - Hill, Sir John The Family Herbal. Bungay: C. Brightly, [1812]. 8vo, 54 hand-coloured engraved plates, contemporary calf, “John Howland. His Book” lettered in gilt on upper cover, neatly rebacked, corners, slight spotting & soiling £120-180 £400-600 282 HE64/8 Hooker, Joseph Dalton Illustrations of Himalayan Plants. Chiefly Selected From Drawings Made For the Late J.F. Cathcart Esq. of the Bengal Civil Service. The Description and Analyses by J.D. Hooker M.D., F.R.S. The Plates Executed by W.H. Fitch. London: Lovell, Reeve 1855 First Edition, folio (368 x 502mm.), half-title, lithographed title within hand-coloured floral border, 24 hand-coloured lithographed plates by and after W.H. Fitch from drawings by native artists and the author, list of subscribers, modern russet half morocco over purple watered cloth (matching original binding and retaining original boards) gilt title to flat spine (retaining original free endpapers), a few plates with minimal spotting Provenance: ‘Kenmure Castle, New Galloway’ slip pasted to front free endpaper with ink inscription ‘April 15/33 With Every Good Wish From Us All, Jn. S. MacEwan’ (the MacEwan family at one time owned Kenmure). Note: Sir Joseph Dalton Hooker (1817-1911), one of the greatest British botanists and explorers of the 19th century, a close friend of Charles Darwin and one-time director of The Royal Botanic Gardens at Kew, was educated at Glasgow High School and Glasgow University. Walter Hood Fitch (1817-1892), born in Glasgow, was artist for all the Kew Garden Publications from 1841, and ilustrated many botanical works including: William Hooker’s ‘A Century of Orchidaceous Plants’ (1851) and James Bateman’s ‘A Monograph of Odontoglossum’ (1864-74). £6,000-9,000 60 Lyon & Turnbull 283 287 286 Rare Books, Manuscripts, Maps & Photographs 61 283 HE65/90 Humphreys, H.N. and J.O. Westwood British Butterflies and their Transformations. London: W. Smith, 1848. First edition, 4to., additional hand-coloured lithographed title and 42 hand-coloured lithographed plates, tissue guards, contemporary half calf, green morocco label, armorial bookplate of Richard Fremlin of Wateringbury, occasional slight spotting, lightly rubbed £200-300 284 HE65/115 Islamic Art, a collection of 22 volumes comprising Atasoy, N. & J. Raby. Iznik, the Pottery of Ottoman Turkey. 1994; Hattstein, M. & P. Delius. Islam. Art and Architecture. 2000; Watson, O. Ceramics from Islamic Lands. 2004; Michell, G. The Majesty of Mughal Decoration. 2007; Piotrovsky, M.B. & A.D. Pritula Beyond the Palace Walls. 2006; Julllian, P. The Orientalists. 1977; Khalili, N.D. Islamic Art and Culture. [c.2010]; Canby, S.R. The Golden Age of Persian Art 1501-1722,. 1999; Ed-Said, I. & A. Parman Geometric concepts in Islamic Art. 1976; Lings, M. The Quarianic Art of Calligraphy and Illumination. 1976; New York Graphic Society Iran. Persian Miniatures. [N.d.], original cloth, dustwrappers; and 11 others (5 hardback) (22) £200-300 285 HD952/1 Jardine, Sir William British Salmonidae. London, 1979. Folio, number 87 of 500 copies, 12 plates, half calf, slipcase £100-200 286 HE65/95 Johnstone, William Grosart & Alexander Croall. The Nature Printed British Sea-Weeds. London: Bradbury, Evans, & Co. [1859-1860]. 4 volumes, 8vo, 222 plates (220 nature printed, 1 coloured, 1 uncoloured), illustrations in text, red half morocco, marbled boards, spines gilt, half-titles and additional engraved titles, t.e.g., occasional slight spotting £500-700 287 HE64/15 some plates and vice-versa Note: First edition of this expanded and updated version of Latham’s General Synopsis of Birds. Sitwell, Bird, p 114. £3,500-4,500 288 HE65/86 Lepidoptery & Conchology - Wood, William, 2 volumes, comprising Index Entomologicus, or, a complete illustrated catalogue containing ... the Lepidopterous insects of Great Britain. London: G. Willis, 1854. 8vo, 59 hand-coloured plates, contemporary green half morocco, bookplate of James Milnes Stansfield, spine and corners a little rubbed, some very occasional light marginal spotting; [Idem] Index Testaceologicus, an illustrated catalogue of British and foreign shells... London: Willis and Sotheran, 1856. 8vo, 46 hand-coloured plates, contemporary green half morocco, spine with gilt tooled shell patterns, t.e.g., bookplate of James Milnes Stansfeld, very slightly rubbed (2) £250-350 288 289 HE65/5 Millais, John Guille The Natural History of the British Surface-feeding Ducks. London: Longmans, Green & Co., 1902. First edition, number 434 of 600 copies, large paper copy, 4to, 6 photogravures, 41 coloured plates, some chromolithographed, illustrations, red half morocco gilt, upper joint split and board almost detached, lightly dampstained in some margins £200-300 290 HE65/8 Morris, Rev. Francis Orpen A Natural History of British Moths. London: Longmans [&c.], 1861-70. First edition, 4 volumes, 8vo, 132 hand-coloured lithographed plates, contemporary half calf, marbled sides, bookplates of J. Herbert Bell, 1927, occasional light spotting, slightly rubbed £150-200 291 HE65/99 Morris, Rev. Francis Orpen A History of British Butterflies. London: Groombridge, 1865. First edition, 8vo, 71 hand-coloured lithographed plates, original pictorial cloth gilt, slightly rubbed at extremities £100-150 292 HE65/100 Morris, Rev. Francis Orpen A Natural History of the Nests and Eggs of British Birds. London: G. Bell, 1875. Second edition, 3 volumes, 8vo, 232 hand-coloured plates, original pictorial green cloth gilt, some light spotting to preliminary leaves, tissue guards, a few small stains to one lower board, plates clean £100-150 62 Lyon & Turnbull 293 HE65/101 Morris, Rev. Francis Orpen A History of British Birds. London: Groombridge, 1863. 6 volumes, 8vo, 358 hand coloured plates, original blue-green pictorial cloth gilt, some pages unopened, head and base of spines rubbed £250-350 294 HE32/21 Natural History, 4 volumes, including Bewick, Thomas A History of British Birds. Newcastle, 1816. 2 volumes, 8vo, engravings by Bewick, contemporary calf, fore-margin of p.ix vol.1 repaired, slight spotting, slightly rubbed; Pratt, Anne. Wild Flowers. London: S.P.C.K., 1853. 2 volumes, 8vo, 192 chromolithographed plates, original blue cloth (4) £150-200 295 HE65/114 Natural History, with coloured plates, a collection, comprising Kirby, W.F. European Butterflies and Moths. Cassell, 1882. 4to, bound in 2 volumes, 61 hand-coloured lithographed plates, 1 uncoloured plate, later cloth, a few plates very slightly spotted, rubbed; Frohawk, F.W. Natural History of British Butterflies. Hutchinson, 1914. 2 volumes, folio, 60 coloured plates, original blue cloth, presentation inscription from R. and A. Waley Cohen to Wellesley House Library; Britten, James European Ferns. Cassell, [c.1880], 4to., 30 chromolithographed plates, tissue guards, contemporary black half calf, red morocco label, a trifle rubbed; Kirby, W.F. The Butterflies and Moths of Europe. Cassell, 1903. 4to., 54 coloured plates, 1 uncoloured plate, later buckram, rubbed, joint split; Lowe, E.J. Beautiful Leaved Plants. London: Groombridge, 1864. 8vo, 60 chromolithographed plates, tissue guards, contemporary blue half morocco gilt, t.e.g., a few plates slightly spotted, rubbed (7) £200-300 296 HE32/26 New Naturalists, 44 volumes, & New Naturalist Monographs, 13 volumes, all in dust-jackets, comprising, 1) Butterflies, 1946 (reprinted); 2) British Game, 1946 (reprinted); 3) London’s Natural History, 1946 (reprinted); 4) Britain’s Structure and Scenery, 1949, third edition; 5) Wild Flowers, 1954; 6) Natural History in the Highlands and Islands, 1947; 7) Mushrooms & Toadstools, 1953; 8) Insect Natural History, 1947; 9) A Country Parish, 1951; 10) British Plant 296 293 Life, 1948; 11) Mountains and Moorlands, 1950; 12) The Sea Shore, 1949; 13) Snowdonia, 1949; 14) The Art of Botanical Illustration, 1950; 15) Life in Lakes & Rivers, 1951; 16) Wild Flowers of Chalk and Limestone, 1950; 17) Birds and Men, 1951; 18) A Natural History of Man in Britain, 1951; 19) Wild Orchids of Britain, 1951; 20) The British Amphibians and Reptiles, 1951; 21) British Mammals, 1952; 22) Climate and the British Scene, 1952; 23) Angler’s Entomology, 1952; 24) Flowers of the Coast, 1952; 25) The Sea Coast, 1953, inscription to endpaper; 26) The Weald, 1953; 27) Dartmoor, 1953; 28) Sea-Birds, 1954; 29) The World of the Honeybee, 1954; 30) Moths. 1955; 31) Man & the Land. 1955; 32) Trees, Woods and Man, 1956; 33) Mountain FLowers. 1956; 34) The Open Sea. 1956; 35) The World of the Soil, 1957; 36) Insect Migration, 1958; 38) The World of Spiders, 1958; 39) The Folklore of Birds. 1958; 40) Bumblebees, 1959; 41) Dragonflies. 1960; 42) Fossils, 1960; 43) Weeds & Aliens, 1961; 45) The Common Lands of England and Wales, 1963; 48) Grass & Grasslands, 1966; AND New Naturalist Monographs: The Badger; The Redstart; The Wren; The Yellowshank; The Greenshank; Fleas, Flukes & Cuckoos; Ants; The Herringull’s World; The Heron; The Squirrel; The Rabbit, The Hawfinch, dust-jackets some spines slightly faded, some slightly rubbed (57) £400-600 Rare Books, Manuscripts, Maps & Photographs 63 297 HE65/106 Oliver, Daniel & Grant, Lt. Colonel J. Augustus Botany of the Speke and Grant Expedition. London: Taylor and Francis, 1872. Presentation copy inscribed “to R. Cheyne Es. with kind regards from J.A. Grant, late Bengal N.I., 13 June 1872”, 4to., map, 136 lithographed plates, contemporary half calf, spine gilt, lower joint repaired, old leaves from Matlock Bank stuck onto front endpaper, edges slightly rubbed £300-500 298 HE32/19 Ornithology & Natural History, 27 volumes, including Morris, Rev. F.O. A Natural History of the Nests and Eggs of British Birds. 1896. Fourth edition, 3 volumes, 8vo, chromolithographed plates, original pictorial cloth gilt; Pratt, Anne The Ferns of Great Britain. [n.d.], 8vo, 41 plates, original cloth gilt; Morris, F.O. A History of British Butterflies. 1891. 8vo, 72 coloured plates, original pictorial cloth gilt; Walpole-Bond, J. Field Studies of some Rarer British Birds. 1914; Thomson, A.L. Britain’s Birds and their Nests. [c.1910]; Schuckard, W.E. British Bees. [c.1866], 8vo, 16 hand-coloured plates, original pictorial cloth; Thorburn, A. British Birds. 1925. 4 volumes, 8vo, original cloth, dust-jackets frayed; and 15 others, including 5 in the Fur and Feather series (27) £250-350 299 HE65/84 Ornithology - Meinertzhagen, Colonel R. Nicoll’s Birds of Egypt. London: H. Rees, 1930. 2 volumes, large 4to., portrait frontispiece, 31 hand-coloured plates, 7 uncoloured plates & 3 coloured folding maps, original green cloth gilt £100-150 300 HE32/18 Ornithology - Morris, Rev. F.O. A History of British Birds. London, 1891. Third edition, 6 volumes, 8vo, 394 hand-coloured plates, original green pictorial cloth gilt, occasional very slight spotting, lightly rubbed £200-300 301 HE63/14 Ornithology - Northumberland - Farne Islands Archive, comprising Document expressing agreement of Dean and Chapter Office Durham to sell the Farne Islands to The Ven. Archdeacon Thorp in 1853 for £404; Grant of the Reversion of Monk House & the Farne Islands from the Dean and Chapter of Durham to the Venerable Charles Thorp, 1861, with hand-drawn map; Lease of Inner Farne Islands, from J.F. Thorp to Mr John Raplph Carr-Ellison, 1881, on vellum; Indenture between Archdeacon Thorp and The Corporation of the Trinity House, of hereditaments and rights of way in the Great Farne Island, 27 Sept. 301 1861, including hand-coloured plan; Lease of the outer Farne Islands by Mrs J.F. Thorp to Mr John Ralph Carr-Ellison, on vellum, 3 Dec. 1881; Notebook of meetings of the Association to take the Farne Islands on lease for 6 years ending 1887, hand-coloured plan tipped in (torn without loss); Ephemeral Printed information of the Farne Islands Association, c. 1903-31; Farne Island Association: Original manuscript draft of the Rules (“approved subject to amendments at General Meeting to be held on 16 Sept. 1881)”, notebooks, account books, lists of Members, Byelaws, Rules, Receipts & Expenditures, and typed reports; 4 Books of Common Prayer (dated 1844-51) inscribed Charles Thorp Farne Tower 1853; architect’s drawing of Prior Castell’s Tower, Inner Farne Island, dated 1949; Adamson’s Studies of Birds, 1881, oblong 8vo, original wrappers; quantity of correspondence from members of the Thorp family relating Farne Islands, including their transfer to the National Trust c. 1925, including letters from Viscount Grey of Fallodon; hand drawn plan relating to proposed improvements to Inner Fern Lighthouse, [c.? 1920], a quantity of lithographed maps and plans of the Islands (many duplicates), Motions made to extend the period in which wild birds may not be killed as prohibited by the Wild Birds Protection Act of 1880, correspondence, reports and indictments of people caught stealing eggs, various dates; extensive correspondence with Members or potential members of the Farne Islands Association, some relating to ornithology, c. 200-300 items, some a little dusty, in a 19th century wooden chest Note: The Farne Islands are first recorded in 651, when they became home to Saint Aidan, followed by Saint Cuthbert were used by hermits intermittently from the 7th century and a monastic cell of Benedictine monks was established on the islands circa 1255 which existed until Outer Farne Islands were bought by the industrialist William Armstrong, 1st Baron Armstrong, and in 1926 the Inner and Outer Farne Islands were purchased for the National Trust by public subscription. £1,500-2,000 64 Lyon & Turnbull 307 302 HE65/89 Ornithology and Angling, 4 volumes, comprising Brehm, Alfred Cassell’s Book of Birds. London [1869-73], 4 volumes in 2, 4to., 40 chromolithographed plates, contemporary half calf, spine gilt; Yarrell, William A History of British Fishes. London, 1836, 2 volumes, 8vo, frontispiece portrait, numerous wood-engravings, green half morocco, spines gilt, t.e.g., spines faded (4) 305 HE613/1 Pratt, Anne The Flowering Plants, Grasses, Sedges and Ferns of Great Britain. London: F. Warne, [c.1899]. 6 volumes, 8vo, 318 coloured plates, 1 uncoloured plate, original green cloth gilt, g.e., slightly rubbed £200-300 306 HE65/25 Roses - Hariot, Paul Le Livre d’or des Roses. Paris: Libraririe National [1903]. 4to., 60 chromolithograph plates, captioned tissue guards, illustrations, contemporary quarter calf and marbled boards, spine gilt, t.e.g., some light discolouration to text, joints rubbed 303 HE65/47 Ornithology, a collection of 15 volumes, including Smythies, Bertram E. The Birds of Burma. 1953, Second edition, 8vo, signed by the author on title, original cloth, dustwrapper frayed; Seebohm, H. The Birds of Siberia. 1901. 8vo, original pictorial cloth, some spotting, joints slightly frayed; Bannerman, D.A. The Birds of West and Equatorial Africa. 1953. 2 volumes, 8vo, dustwrappers frayed; Mackworth-Praed, C.W. & C.H.B. Grant African Handbook of Birds. 1981. Series 1-3, 6 volumes in all, original cloth, several bindings slightly marked; Witherby, H.F., Jourdain, F.C.R. [& others] The Handbook of British Birds. 1958. 5 volumes, 8vo, 8th impression, dustwrappers (15) £150-200 304 HE65/48 Ornithology, a collection of 9 folio volumes, including Forshaw, Joseph M. Parrots of the World. Melbourne, 1973. Slipcase; Ali, S. and D.D. Ripley Handbook of the Birds of India and Pakistan. Delhi, 1983. Compact edition; Smythies, B.E. The Birds of Burma, Nimrod Press, 1986; Ripley, S.D. Rails of the World. Boston, 1977; Buller, W.L. Buller’s Birds of New Zealand, edited by E.G. Turbott, Christchurch, 1979; Lansdowne, J.F. Birds of the West Coast. Toronto, 1980. 2 volumes, Hancock, J. & H. Elliott. The Herons of the World. 1978; Lippens, L. Les Oiseaux du Zaire. Tielt, [n.d.], all folios, original cloth, dustwrappers £150-250 £100-150 £500-700 307 HE64/3 Schmidel, D. Casimir Christoph Icones Plantarum et Analyses Partium Aeri Incisae Atque Vivis Coloribus Insignitae Adiectis Indicibus Nominum Necessariis Figurarum Explicationibus et Bruibus Animadverionibus Quad Composuit. Nuremberg: Ioanne Chritophoro Keller. 1762-1797. Folio (410x260mm), 3 parts bound in one volume, 75 hand coloured engraved plates, contemporary brown calf neatly rebacked, triple gilt rule to upper and lower board, spine with red morocco title label, slightly raised bands with gilt decorations and compartments, all edges sprinkled red, predominantly clean text with a little browning to titles, some spotting to Maipulus III and spotting and slight dust soiling to some plates but many clean, covers a little bumped at corners with leather worn away and a few repaired gouge mark Note: Casimir Christoph Schmidel (1718-1792) studied medicine at Jena and Halle, became Professor of Pharmacology at the newly opened Friedrichs-Akademie in Bayreuth. He also studied Botany and Geology in Saxony, Holland, and Switzerland. Apart from his own publications he edited Konrad Gesner’s posthumous botanical publications. £2,000-3,000 Rare Books, Manuscripts, Maps & Photographs 65 309 310 308 HE65/31 Sitwell, Sacheverell; Buchanan, Handasyde & James Fisher Fine Bird Books. London, 1953. Folio, number 275 of 295 numbered copies signed by the authors, coloured plates, red half morocco and marbled sides, slight crease to pp.45-48; Sitwell, S. & W. Blunt Great Flower Books 1700-1900, a Bibliographical Record. London: Collins, 1956. Folio, coloured plates, original half cloth, dustwrapper (2) £200-300 309 HE65/96 Stephenson, John and James Morss Churchill Medical Botany: or, Illustrations and Descriptions of the Medicinal Plants of the London, Edinburgh, and Dublin Pharmacopoeias; comprising a popular and scientific account of all those poisonous vegetables that are indigenous to Great Britain. London: John Churchill, 1831. First edition, 4 volumes, 8vo, 185 hand coloured plates (6 double-page or folding), contemporary green half calf, spines gilt, cirtron morocco lettering pieces, tissue guards, occasional light spotting, somewhat more so at beginning of volume 4 £800-1,000 310 HE27/1 Thorburn, Archibald British Birds. London: Longmans, Green and Co., 1915-1918. First edition, 4 volumes plus supplement, large paper copy (number 54 of 105 copies), 4to., 80 plates, original red cloth gilt (supplement in original green paper wrappers with note on sticker above title), occasional foxing, some fading to cloth and a little soiling to covers (5) £1,200-1,600 311 HE65/93 Willmott, Ellen The Genus Rosa. London: John Murray, 1914. First edition, 2 volumes, 4to., 132 chromolithographed plates, 15 uncoloured plates, illustrations, all after Alfred Parsons, original upper wrappers bound in at end, original green quarter morocco, t.e.g., others uncut £600-800 311 66 Lyon & Turnbull 312 HE64/16: ‘Aud 313 HE65/112 Wilson, Alexander American Ornithology, or the Natural History of the Birds of the United States. Edinburgh: Stirling & Kenney, 1832. 3 volumes, 8vo., engraved frontispiece and 97 plates, contemporary green half morocco, spines with raised bands, gilt lettering direct to spines, t.e.g. , frontispiece and title of vol. 1 spotted, minor dust soiling to one or two plates with very infrequent spotting, some light off-setting from plates onto text, Latin names to most of the birds added in a very small neat contemporary hand £500-700 314 HE65/23 Wolf, Joseph and D.G. Elliot The Life and Habits of Wild Animals, illustrated by designs by Joseph Wolf, with descriptive letterpress by Daniel Giraud Elliot. London: A. Macmillan, 1874. Large folio (350 x 470mm.), 20 plates, brown half morocco, spine gilt, rubbed, corners scraped, small oval blindstamp to title and final page. 312 £200-300 315 EZ774/68 Wright, Lewis The Illustrated Book of Poultry. London: Cassell, 1890. 4to., 50 chromolithographed plates, original blue cloth gilt, slightly rubbed £200-300 316 HE65/98 Yarrell, William A History of British Birds. London: John Van Voorst, 1871-1885. Fourth edition, 4 volumes, 8vo, half-titles, 564 wood-engravings in text, contemporary full brown morocco gilt by Sotheran & Co., raised bands, spines gilt, gilt dentelles, marbled endpapers, top edges gilt, armorial bookplate of E.T. Leeds Smith and Arthur B. Duncan £150-200 Rare Books, Manuscripts, Maps & Photographs 67 ORIGINAL ILLUSTRATIONS 317 HE14/1 Rosenberg, Portia - Clarke, Susanna Childermass at Desk, pencil drawing, 36 x 27cm Note: An illustration by Portia Rosenberg for the 2004 Bloomsbury edition of Clarke’s Jonathan Strange and Mr Norrell. £400-600 318 HE14/2 Rosenberg, Portia - Clarke, Susanna Waterloo (Mud Hands), pencil drawing, 47 x 39cm Note: An illustration by Portia Rosenberg for the 2004 Bloomsbury edition of Clarke’s Jonathan Strange and Mr Norrell. £400-600 319 HE65/123 Turkish Costume Watercolours Six watercolours of Turkish figures, usually with two figures on each sheet, c. 31 x 390mm., most captioned: Reis effendi or Secretary & Mufti Head of the Law; Turban bearer & Another; Porter (x 2), Mohalibe Merchant & Seller of Buttermilk curds, Vizier & Sultan’s body guard; Cooks distributing Pilau to the Corps de Garde; 4 framed and glazed, 2 unframed (6) £700-900 317 318 320 HE82/5 Watercolours of Mr Polwarth 2 large 8vo, 1 4to., 2 oblong folio sketchbooks, & 2 4to. folders, with pencil drawings & watercolours of France, Italy, & Scotland, (The Hirsel, Eildon Hills, Douglas), Wales, Luffness, studies of cattle, birds, etc., c.1860-90, one album lettered “G. Polwarth” £200-300 319 68 Lyon & Turnbull 321 321 HE426/1700-900 322 HE209/1800-1,200 323 HD883/1 § Watkins, Dudley D. - “Oor Wullie” Pencil sketch of “Oor Wullie”, signed by Watkins in pencil and dated 8th Dec. ‘56, on folding peach coloured sheet taken from autograph book, leaf dimensions 10 x 16cm £150-250 322 323 Rare Books, Manuscripts, Maps & Photographs 69 324 HE665/1 § Watkins, Dudley D. - D. C. Thomson & Co Original storyline for Oor Wullie, appearing in the Sunday Post on 18th March 1945, in which Wullie and Bob are dressed up to get a photograph taken, and get into usual trouble, ink on paper, 45 x 38cm, framed and glazed, taped to mount Note: A reproduction of the storyline features on p.128 of DC Thomson & Co.’s 2006 publication The Broons and Oor Wullie. £400-500 PHILOSOPHY & RELIGION 325 HE668/1 3 volumes, including Lupton, Donald The Glory of their Times. or the Lives of ye Primitive Fathers. London: I. Okes, 1640. 4to, engraved title, numerous engraved portraits in text, contemporary calf, [ESTC S108921], title dust-soiled, occasional staining, rubbed; Herne, Samuel Domus Carthusiana, or an Account of the Most Noble Foundation of the Charter-House near Smithfield in London. London: R. Marriott & H. Brome, 1677. 8vo, engraved portrait frontispiece & 1 plate, contemporary panelled calf, rebacked, marginal loss to plate, some soiling; and The Universal Magazine, vol. 85, 1789 (containing 2pp. General Washington’s Speech to both Houses of Congress on the 30th of April 1789) (3) 327 HE32/17 Bacon, Sir Francis The Philosophical Works, edited by Peter Shaw. London: D. Midwinter &c., 1737. Second edition, 3 volumes, 4to., contemporary calf, neatly rebacked, spines gilt, head of spines worn £200-300 £100-200 326 HE32/25 8 religious volumes, including; and 3 others, religious (8) 329 HD685/1-250 £200-250 328 HD885/36 Book of Common Prayer Oxford: R. Baldwin, S. Crowder, W. Jackson, 1770. 8vo, contemporary blue-black panelled morocco gilt, spine gilt, g.e., head of spine slightly rubbed £300-400 70 Lyon & Turnbull 330 HE22/16 Burnet, Gilbert The History of the Reformation of the Church of England. London: Richard Chiswell, 1681. Part 1, folio, engraved title-page and 7 portraits, lacking one initial leaf [ESTC R19796]; [Idem] The Second Part of the History of the Reformation. London: Richard Chiswell, 1683. Folio, engraved title-page and 9 portraits, hole to 4v with slight loss to text [ESTC R29152]; uniformly bound in calf (2) £150-200 331 HD610/18 Burton, Robert The Anatomy of Melancholy. Oxford: John Lichfield and James Short for Henry Cripps, 1624. Second edition, folio, early twentieth century calf, gilt, spine gilt, red morocco label of W.A. Foyle, Beeligh Abbey, joints splitting, hinges weak & repaired £700-1,000 332 HE65/58 Cabala, sive Scrinia Sacra, Mysteries of State and Government. London: G. Bedell & T. Collins, 1663. Second edition, folio, contemporary calf, neatly rebacked, hinges strengthened, (mounted engraved title of the 3rd edition loosely inserted) £100-150 333 HD958/1 Emblems of Mortality Representing, in Upwards of Fifty Cuts, Death Seizing all Ranks and Degrees of People. London: T. Hodgson, 1789. 12mo, frontispiece, woodcuts, ownership signature dated 1877 to title-page, upper cover detached, lower cover lacking £120-180 331 334 HE65/57 Hinduism - Lord, Henry A Discoverie of the Sect of the Banians. London: F. Constable, 1630. First edition, small 4to. (140 x 184mm.), additional engraved pictorial title by William Marshall, modern brown half calf over marbled boards, red morocco label, bookplate of Lawrence Strangman, rubbing to corners and joints, very small repair to verso of engraved title Note: Henry Lord was Chaplain to the East India Company at Surat in Gujarat 1624-1629. During this period he made a detailed study of the local people An Invaluable Account of Hindu and Parsi Cosmology for European Readers. (ONDB). The part on “Banians” offers one of the earliest accounts of Hinduism in a European language. £800-1,200 335 EZ774/71 Hume, David Private Correspondence of David Hume with Several Distinguished Persons... now first published from the originals. London: Henry Colburn, 1820. First edition, 4to., contemporary calf, rebacked, corners rubbed; Hume, David An Abstract of a Treatise of Human Nature, reprinted with an Introduction by J.M. Keynes. Cambridge, 1938, 8vo, original cloth (2) £150-250 336 HE65/109 Koran - Qur’an The Alcoran of Mahomet, translated by Sieur du Ryer, newly Englished [by Alexander Ross]. London: R. Taylor, 1688. 8vo, modern half calf, with initial blank leaf, marginal tear to final leaf repaired, not affecting text £300-500 338 Rare Books, Manuscripts, Maps & Photographs 71 339 337 HE86/2 Koran - Qur’an The Alcoran of Mahomet... London, 1649. 8vo, lacking title-page and another initial leaf, contemporary half calf, tear to pp.93-4, some worming to text with slight loss, very worn, covers detached [ESTC R200452] 340 HE581/1 Miniature Koran / Qur’an Glasgow: Bryce, [c.1914], 25 x 17mm., red morocco gilt, gilt edges, no case £150-250 341 HD610/17 Paine, Thomas Rights of Man. London: H.D. Symonds, 1792. 2 parts in one volume, 8vo, [both imprints H.D. Symonds], contemporary half calf, some spotting, worn, joints splitting 338 HE65/51 Koran - Qur’an - Sale, George The Koran, commonly called the Alcoran of Mohammed. London: J. Wilcox, 1734. First edition, 4to., 1 folding plate, 1 folding map, 3 tables (2 folding), title printed in red and black, contemporary calf, title first 39 and last few leaves dampstained, dedication leaves with fore margins repaired, rebacked retaining original spine, hinges strengthened £900-1,200 339 HD435/49 Luther, Martin Der Erste (-Achte) Teil aller Bücher und Schrifften. Jena: Thomas Rebart (vol. 3: Donatus Richtzenhan), 1572-1586; Kirchner, Timotheus Index oder Register über die Acht Deudsche Tomos, erste und anderen drucks, aller Bücher und Schrifften des Martini Lutheri. Jena: Thomas Rebart, 1583; 9 volumes in 8, folio (30 x 18.8cm), title-pages in red and black, woodcut illustrations and initials, contemporary German blind-stamped pigskin over wooden boards, centrepiece with the arms of Ludwig III, duke of Württemberg (1554-1593) and dated 1587, clasps, some browning, a few wormholes in both text (mostly marginal) and boards, a few page edges chipped, extremities rubbed, binding of volume 4 slightly worn Provenance: Salomon Pfister, deacon of Marbach, inscription dated 1721; Robert Lenkiewicz; Appleby Castle Library, Appleby Castle, Westmorland. £3,000-5,000 £80-120 £200-250 342 HE65/107 Penzer, N.M. The Ocean of Story being C.H. Tawney’s translation of Somadeva’s Katha Sarit Sagara. London: Privately Printed for Subscribers Only, 1924. 10 volumes, large 8vo, number of 1500 sets, original black and gilt decorative buckram, spines gilt, t.e.g. £200-300 343 HD610/9 Priestley, Joseph Hartley’s Theory of the Human Mind. London: J. Johnson, 1775. First edition, 8vo, 4pp. advertisements and errata at end, contemporary half calf, neatly rebacked, spine gilt, corners rubbed £100-150 344 HE368/1 Ridley, Thomas A View of the Civile and Ecclesiastical Law. London: Company of Stationers, 1607. 4to, black letter, [ESTC S115989], disbound, title frayed, torn without loss & discoloured, *2-3 foremargin & final blank slightly frayed £150-250 72 Lyon & Turnbull PHOTOGRAPHY 349 345 HD476/7 Aden 38 photographs of Aden, c. 1960’s; and 19 others, various sizes, 8 x 14cm - 28 x 36cm. £200-300 346 HD833/2 Anderson, Domenico - Venice & Rome 58 photographs in 2 large folio folders (95 x 65cm and 70 x 63cm), many by Anderson of Venice and Rome, mostly believed to be enlargements of Anderson’s photographs, including: 32 images bearing Anderson’s name, one of these - Venezia, Rio e Palazzo Albrizzi - bears the blindstamp: ‘Anderson, Roma, 1906, Depose’ - measuring 29 x 41cm; remaining Anderson labelled photographs include 15 images of artworks and 16 Italian locations; unattributed images include 2 scenes of a volcano erupting (possibly Vesuvius, the larger measuring 50 x 62cm), and images of Italy and artworks, some photographs with a Japanese stamp to the verso, possibly the name of a business in Tokyo; photograph sizes range between 33 x 44cm and 87 x 56cm, each attached to folio display folders with brown buckram guards (2) Note: Domenico Anderson, 1854-1938, was the son of James Anderson, 1813-1877, and took over the Anderson photography business in later years. The dates of these photographs suggest they may be Domenico’s work. £300-400 347 HE361/19 Atlantic Clipper Flight to New York 2 small photograph albums of 1) trip to New York by Atlantic Clipper, via Port Washington, New Brunswick, Pointe du Chene, Botswood, August 1939, showing interior of airplane, views, 51 photographs and 2) flights across the USA including aerial views of New York, Washington, Charlston, Savannah, Jacksonville airport, Miami airport, Cuba, Texas, Nevada, Colorado & Arizona, August 1939, photos c. 9 x 15cm., green morocco albums stamped “Mary S.R. Sinclair” £200-300 348 HC228/3 Collection of photographs by Gertrude Smith [later Sellar] of Ardtornish, Morvern, Lochaber 19 albumen prints of Ardtornish Tower, Achranich, Kinlochaline Castle, Kinlochaline, members of Astley & Sellar family at Ardtornish Tower, Loch Aline, c. 18 x 22cm., mounted on card £300-400 349 HD833/1 Myanmar - Burma - 5 photograph albums, including Kingdon-Ward A collection of 5 photograph albums containing 493 mainly amateur photographs, mostly of Burma, with a few of India, Nepalese and Chinese people, and a small number taken in the UK, c.1928-1932, between 4 x 6cm and 13 x 14cm. (5) Provenance: Many of the photographs show members of a young British family, thought to be Walter Thyne, Lt. Col, of the 90th Punjabi Army, his wife, Norah Millicent Tyne, a nurse, and their children. Note: The photographs depict the family and ex-pat life in Burma, including pictures of local people in traditional costume, architecture, elephant riding and the children’s nannies. The botanist and explorer, Francis Kingdon-Ward, features in several of the earlier photographs. A caption reads: Kingdom [sic.] Ward and Lord Cranbrook set off on an expedition after flora and fauna to the Nam Tamai.... Several photographs from May 1933 also depict a trip to jade mines. Photographs include images of local people working at the mines, with the description: Pits are dug, & the water is pumped out by hand made pumps - made of hollow bamboos. £300-600 Rare Books, Manuscripts, Maps & Photographs 73 PRIVATE PRESS, ILLUSTRATIONS & BINDINGS 350 HD610/8 Sheppard, H.W. Strath-Braan and Tayside (Millais’ Country). London, 1903. First edition, 8vo, number 67 of 250 copies, 36 mounted albumen plates, original black cloth £150-200 351 HD435/54 Blake, William Jerusalem. London: Trianon Press, [1974]. Folio, limited to 558 copies, number 172 of 500 copies bound in quarter morocco with marbled paper sides, coloured plates, tan quarter morocco, slipcase Provenance: Appleby Castle Library, Appleby Castle, Westmorland £150-250 352 HD435/160 Bruyant, Jacques - Das Buch vom Erfüllten Leben, Le Livre du Chastel de Labour Lucerne, Faksimile Verlag Luzern, 2005. 8vo, number 430 of 980 facsimile copies numbered in Arabic numerals bound in red velvet with gilded silver fittings by Steinbrener of Schärding, with accompanying commentary volume, both contained in a plexiglass case Provenance: Appleby Castle Library, Appleby Castle, Westmorland £600-900 353 HD885/32 Doves Press - Ruskin, John Unto this Last. Hammersmith: Doves Press, 1907. 4to, [One of 300 copies], original vellum, lettered in gilt on spine, uncut £150-200 357 354 HE20/1 Fine Binding - Tennyson, Alfred, Lord Idylls of the King. London: Edward Moxon, 1859. 8vo, finely bound in blue crushed morocco with laurel branch gilt decoration to boards, spine banded in 6 compartments with gilt laurel motifs, gilt doublures signed ‘N.H.’, a little fading to spine and upper part of covers, a few small spots to upper cover £200-300 355 HE21/4 Illustration, including James Gilbert, and reference works on Rackham and Dulac James, Gilbert, illustrator Ruba’iyat of Omar Khayya’m. London: Adam and Charles Black, 1909. Small 4to, original cream and blue cloth; Copping, Harold The Pilgrim’s Progress... London: The Religious Tract Society, [n.d.] 8vo, original red cloth gilt; Robinson, W. Heath My Line of Life. London: Blackie & Son, Limited, 1938. 4to, original cloth, dustjacket, bookplate of Brian Evans and gift inscription; White, Colin Edmund Dulac. New York: Charles Scribner’s Sons, 1976. 4to, dust-jacket price-clipped; Hamilton, James Arthur Rackham, a life with illustration. London: Pavilion Books, 1990. 4to, dust-jacket price-clipped; Dalby, Richard The Golden Age of Children’s Book Illustration. London: Michael O’Mara, 1991. 4to, dust-jacket; and 4 others (10) £150-200 356 HD246/3 Leighton, Clare The Farmer’s Year. London: Collins, 1933. First edition, oblong folio, illustrations by Leighton, original pictorial green cloth, dust-jacket split at spine and slightly frayed, spine slightly faded £150-200 357 HD435/148 Lindisfarne Gospels, Das Buch von Lindisfarne, Evangéliare de Lindisfarne Lucerne, Faksimile Verlag Luzern, 2002. Folio, number 96 of 290 facsimile copies replicating the Victorian binding of 1852, bound in velvet and white-metal covered boards adorned with 37 precious and semi-precious stones (4 small rubies, 4 amethysts, 4 pieces of turquoise, an emerald, 4 pieces of citrine, 16 garnets and 4 pieces of chrysoprase) modelled on the colours of the original gems, silver thread embroidery to the spine, in a protective solander box, with two commentary volumes in slipcases (3) Provenance: Appleby Castle Library, Appleby Castle, Westmorland 354 £4,000-6,000 74 Lyon & Turnbull 360 358 HE107/4 Morris, William - Chiswick Press An Address Delivered by William Morris at the Distribution of Prizes to Students of the Birmingham Municipal School of Art on Feb. 21, 1894 [pubd. 1898], with loose printed insert, the following in pencil to freeendpaper: K.C. Newick? from Mr. Emery Walker, May 1902; [Idem] Some Hints on Pattern Designing, 1899, bookplate; [Idem] Architecture and History, and Westminster Abbey, 1900; Art and its Producers..., 1901, bookplate; all London: Chiswick Press, 8vo, original blue boards with cloth spine (4) £150-200 359 HE107/3 Morris, William - Elston Press The Art and Craft of Printing... New York: The Elston Press, 1902. 8vo, one of 210 copies, original boards with paper label to cloth spine £150-250 360 HE107/1 Morris, William - Kelmscott Press The Sundering Flood. London: Kelmscott Press, 1897. 8vo, text in red and black, some pages uncut, original blue boards with paper label to cloth spine £700-900 361 HE107/5 Morris, William - Kelmscott Press Gothic Architecture: A Lecture for the Arts and Crafts Exhibition Society. London: Kelmscott Press, 1893. 16mo, original card covers with cloth spine, bookplate of Ralph 2nd Earl of Lovelace & 13th Baron Wentworth 361 £200-300 Rare Books, Manuscripts, Maps & Photographs 75 363 362 HE107/6 Morris, William, and the Kelmscott Press, a collection Kelmscott Press, Upper Hall, Hammersmith: brochure dated June 1st, 1896, 4pp., text in red and black; Chaucer, Geoffrey Works [A Facsimile of the William Morris Kelmscott Chaucer]. Cleveland: The World Publishing Company, 1958. Folio, cream cloth, dust-jacket; Morris, William Socialism, its Growth & Outcome. London, 1893. 8vo, large paper copy, number 200 of 275 copies; Marillier, H.C. History of the Merton Abbey Tapestry Works. London, 1927. 4to; Sotheby & Co. The Kelmscott Press and William Morris, Monday 10th December, 1956; Hubbard, Elbert This Then is a William Morris Book. New York: The Roycoftes, 1907. 12mo; Morris, William The Pilgrims of Hope. Portland: Thomas B. Mosher, 1901. One of 400; [Idem] - J.W. MacKail An Address Delivered the XIth November MDCCCC at Kelmscott House before the Hammersmith Socialist Society. London: Hammersmith Publishing Society/Chiswick Press, 1902. 8vo, original quarter vellum; Morris, William Signs of Change. London, 1888. 8vo; and a quantity of others, sold not subject to return (77) £300-500 363 HE107/2 Morris, William, autograph letters MacKail, J.W. The Life of William Morris. London: Longmans, Green and Co., 1899. 2 volumes, 8vo, original cloth, with three letters laid-down to flyleaves/initial pages, comprising: Morris, William ALS to Mr Pease, dated 1st April ‘86 on Kelmscott House notepaper, arranging to meet and discuss a “project”; Morris, William ALS to Mr Pease, dated April 23rd, on Kelmscott House notepaper, explaining that he has not had time to write a paper but asking whether, “...if any possibility [his] paper on Gothic Architecture would do...”; Morris, May [Mary], daughter of William Morris ALS to Mr Pease, dated 1. Nov. 1934, on Kelmscott Manor notepaper, thanking him for his, “...kind donation to the Hall Fund...” and writing that it was nice to have seen him the previous week at a gathering, confiding: “I sometimes almost felt that my father was present at this little festival in his honour...” (2) £500-600 364 364 HD435/158 Turin-Mailänder-Stundenbuch, Les Heures de Turin-Milan, The Turin-Milan Hours Lucerne, Faksimile Verlag Luzern, 1994. 4to, number 830 of 980 facsimile copies numbered in Arabic numerals, bound in embossed green velour gilt with green watered silk endpapers by Burkhardt in Mönchaltorf, Zurich, with commentary volume bound in green velour, both contained in a clear plexiglass case Provenance: Appleby Castle Library, Appleby Castle, Westmorland £1,000-1,200 76 Lyon & Turnbull SCIENCE & MATHEMATICS 365 HD686/42 Barrow, Isaac - Rupert A. & Maria Boas Hall - Isaac Newton Geoffrey Ingram Taylor, 13 books Barrow, Isaac The Mathematical Works... Cambridge: University Press, 1860. Large 8vo, original brown embossed cloth with gilt lettering on spine, many upper edges unopened, slight marginal browning; Hall The Correspondence of Henry Oldenburg. The University of Wisconsin Press, 1965-69. Large 8vo, volumes 1-6 only (of 13), dust-jackets; Newton - . Koyré & Cohen, editors Isaac Newton’s ‘Philosophiae naturalis principia mathematica’. Cambridge: University Press, 1972. 2 volumes, 4to, a reprint of the third edition, dust-jackets; Taylor Scientific Papers. Cambridge: University Press, 1958-71. 4 volumes, 8vo original green cloth (13) Provenance: From the library of Professor Alexander Craik £150-250 366 HD686/5 Bernoulli, Johann Opera Omnia... Lausanne & Geneva: Marci-Michaelis Bousquet & Sociorum, 1742. 4 volumes, 4to, half-title in volume 1, title-pages in red and black, 2 portraits and 91 folding plates, contemporary half calf rebacked, the fourth volume, following the title-page, begins with A3, several stamps of the Royal Society of Edinburgh, some dampstaining towards the rear of volume 1, occasional marginal holes, tears and paper flaws not affecting text, some light browning, some wear to bindings (4) Provenance: From the library of Professor Alexander Craik £800-1,200 367 HD686/18 Borelli, Giovanni Alfonso - Du Buat, P.L.G. De Motu Animalium. Leiden: Johannem de Vivie, Cornelium Boutesteyn, Danielem à Gaesbeeck & Petrum vander Aa, 1685. Small 4to, 2 parts in one volume, 18 folding plates, lacking additional engraved title-page, contemporary calf rebacked with modern spine; Du Buat, Pierre Louis George Principes d’Hydraulique Vérifiés par un Grand Nombre d’Expériences faites par Ordre du Gouvernement. Paris: De l’Imprimerie de Monsieur, 1786. 2 volumes (without the third volume of 1806), 8vo, new [second] edition, 4 folding plates, many pages in the second volume uncut, original blue wrappers, some light foxing and occasional rust spots, some wear and chipping to covers (3) Provenance: From the library of Professor Alexander Craik £150-250 368 HD686/39) (3) Provenance: From the library of Professor Alexander Craik £150-200 366 369 HD686/29] Provenance: From the library of Professor Alexander Craik £150-200 370 HD686/6 [Emerson, William] The Method of Increments wherein the Principles are Demonstrated; and the practice thereof shewn in the solution of problems. London: J. Nourse, 1763. 4to, a few annotations in an early hand, stamp ‘173363’ to p.27 [ESTC T77162]; bound with Woodhouse, Robert On the Integration of certain Differential Expressions with which Problems in Physical Astronomy are Connected, &c. London: W. Bulmer and Co., 1804. 4to; contemporary boards rebacked with modern calf spine, with red gilt morocco labels, some internal browning Provenance: From the library of Professor Alexander Craik £150-200 Rare Books, Manuscripts, Maps & Photographs 77 371 HD686/43 Euclid, Pacioli Euclidis Megarensis philosophi acutissimi mathematicorumq[ue] omnium sine controuersia principis op[er]a / a Campano interprete fidissimo tralata ... Lucas Paciolus theologus insignis. altissima mathematica[rum] disciplinarum scientia rarissimus iudicio castigatissimo detersit. emendauit. [Venice:] Alessandro Paganini & Paganino - Paganini imprimebat, 1509. 4to, with facsimile title-page in red and black, woodcut diagrams throughout, some occasional browning and slight dampstaining, annotations in an early hand, modern vellum [USTC 828472] Provenance: From the library of Professor Alexander Craik £2,000-3,000 371 372 HD686/41 (4) Provenance: From the library of Professor Alexander Craik £200-300 373 HD686/22 Euler, Leonhard Lettres a une Princesse d’Allemagne sur Divers Sujets de Physique et de Philosophie. Geneva: Barthelemi Chirol, 1775. 3 volumes, 8vo, many pages uncut, 19 folding plates, modern quarter calf with black morocco gilt labels to spines (3) Provenance: From the library of Professor Alexander Craik £120-180 374 HD610/28 Faraday, Michael Experimental Researches in Electricity... reprinted from the Philosophical Transactions of 1831-1838. London: R. & J.E. Taylor, 1839. First edition, 8vo, 8 folding plates, contemporary calf gilt with gilt stamp of The University and King’s College of Aberdeen, initial blank leaf with 1841 Aberdeen University award inscription [not from Faraday] to G. Smart, plates and margin of title slightly dampstained Note: “Between 1832 and 1852 Faraday published twenty-nine series of papers in the Philosophical Transactions under the title “Experimental researches in electricity”; it was through these papers that his major discoveries relating to electricity and magnetism were first published. These papers, along with pertinent papers and letters published in other scientific journals, were collected in three volumes published in 1839, 1844 and 1855. “ (PMM). £800-1,000 374 78 Lyon & Turnbull 375 HD686/25 Gregory, David A Treatise of Practical Geometry in Three Parts. Edinburgh: W. and T. Ruddimans, for Messrs. Hamilton and Balfour, 1745. 8vo, 5 folding plates, contemporary calf, plate 4 trimmed, slightly affecting header, a little light soiling and occasional small tears, not affecting text [ESTC T18589] Provenance: From the library of Professor Alexander Craik £150-250 375 376 HD686/4 Hermann, Jakob Phoronomia, sive de Viribus et Motibus Corporum Solidorum et Fluidorum. Libri duo. Amsterdam: Rod. & Ger. Wesstenios, 1716. 4to, frontispiece, title-page in red and black, 12 folding plates, contemporary calf rebacked, repairs to one plate, with some damage to engraved area, tear to plate 3 with some loss to engraving, pp.373-4 repaired, slightly affecting text Provenance: From the library of Professor Alexander Craik £150-250 377 HE19/2 India - Plague Reports Reports on Plague Investigations in India. Issued by the Advisory Committee... from The Journal of Hygiene, volumes vi-xii [Plague Supplement]. Cambridge: University Press, 1906-1912. 7 volumes in 6, 8vo, contemporary half calf, plates, some coloured, cancelled library stamps and blind-stamps of Edinburgh University Library, gilt stamps to spines, some splitting and repairs to hinges, sold not subject to return (6) £120-180 378 HE19/3 La Lande, Joseph Jérôme le Français de Astronomie. Paris: Chez la Veuve Desaint, 1792. Third edition, 3 volumes, 4to, half-titles, 44 folding plates, contemporary half calf; Laplace, M. Exposition du Système du Monde. Paris: Chez Courcier, 1808. Third edition, 4to, half-title, portrait, withdrawn stamp of Edinburgh University Library to title-page and to p.51, contemporary calf gilt with red morocco label to spine, some soiling and dampstaining, joints splitting (2) £250-350 379 HD686/34 Lagrange, Joseph Louis Méchanique Analytique. Paris: Mallet-Bachelier, 1853. 2 volumes, third edition, 4to, modern black quarter cloth gilt, some foxing and browning, slight dampstaining to a few pages in volume 2; [Idem] Théorie des Fonctions Analytiques... Paris: Mme. Ve. Courcier, 1813. New [second] edition, 4to, half-title, contemporary quarter calf gilt (3) Provenance: From the library of Professor Alexander Craik £200-300 380 HD686/14100-200 381 HE64/10 Langham, William The Garden of Health. London: [deputies of Christopher Barker], 1579. [i.e. 1597]. First edition, 4to., black letter, woodcut initials and head- and tail-pieces, later sheep with contemporary calf panels laid down on covers, title strengthened at gutter, pp.113-115 torn with loss of text, some soiling and dampstaining, binding slightly rubbed, RCSI library stamp, [ESTC 5108214; Durling 2733; Hunt 176; Wellcome I, 3657] £1,200-1,500 382 HD686/32 Laplace, Pierre-Simon, Marquis de Oeuvres. Paris: Imprimerie Royale, 1843-47. 7 volumes, 4to, folding lithographed plate in volume 4, contemporary dark brown half morocco gilt (volume 7 rebacked with modern cloth), stamps of the Cardinal Hayes Library, Manhattan College, several volumes rebacked in places, some rubbing, chipping and tape repairs to bindings (7) Provenance: From the library of Professor Alexander Craik £200-300 383 HD611/14 Lowell, Percival Mars and its Canals. New York and London: Macmillan, 1906. First edition, 8vo, 16 plates, 4 coloured, original blind and gilt-stamped green cloth, small inscription on endpaper (“Lilian from Kirkwood, Dec. 25, 1907”); Lowell, P. Mars as the Abode of Life. New York: Macmillan, 1910. Reprinted August 1910. 8vo, plates, original maroon cloth, slightly rubbed (2) Note: “Lowell was not the first to regard the Martian bright areas as deserts and the dark areas as vegetation but he studied in unprecedented detail the progressive ‘wave of darkening’ of the dark areas as the seasons advanced... The premise that the dark areas are vegetation was almost universally accepted until the late 1950’s” (DSB). £300-400 Rare Books, Manuscripts, Maps & Photographs 79 384 HD686/40 Mathematics, 7 books, comprising Keill, John An Introduction to Natural Philosophy: or, philosophical lectures read in the University of Oxford. London: Andrew Millar, John Rivington, Joseph Richardson, and Thomas Longman, 1758. 8vo, contemporary calf; Simpson, Thomas The Doctrine and Application of Fluxions... London: H.D. Symonds, 1805. 8vo, contemporary calf gilt, Edinburgh prize inscription signed by Prof. John Leslie, awarded to Henry Baxter in 1817, and Baxter’s armorial bookplate, cracking to joints; [Trail. William] Elements of Algebra. For the Use of Students in Universities. Edinburgh: W. Creech and C. Elliot, 1789. 8vo, contemporary calf, ownership signatures, joints split; [Brougham, Henry?] Library of Useful Knowledge, various authors, including Waud (algebra and geometry), Hopkins (trigonometry), De Morgan (calculus), Brougham(?) (natural philosophy). London: Baldwin & Cradock, 1829. 4 volumes, 8vo, volumes 1-3 uniformly bound in contemporary half calf, rubbed, some chipping, fourth volume (Natural Philosophy) in later half suede (7) Provenance: From the library of Professor Alexander Craik Note: Trail, Professor of Mathematics at Aberdeen, published this work anonymously, perhaps because of his copious unattributed borrowings from Maclaurin’s Algebra. £150-250 385 HD686/8 387 Provenance: From the library of Professor Alexander Craik £100-150 386 HE117/3 Moncrieff, John The Poor Man’s Physician, or the Receipts of the famous John Moncrieff of Tippermalloch. Edinburgh: G. Stewart, 1716. Second edition, 8vo, contemporary calf, title shaved at foot, bookplate of the Rt. Hon. Patrick Hume, Earl of Marchmont, Viscount of Blasonberry, Lord Polwarth of Polwarth, Lord High Chancelor of Scotland, extremities rubbed £150-200 387 HD686/3 Newton, Isaac Philosophiæ Naturalis Principia Mathematica... Amsterdam: Sumptibus Societatis, 1723. 4to, second Amsterdam edition, 2 parts in one volume, title-page in red and black, 3 folding tables, contemporary calf, rebacked retaining contemporary spine, small ownership signature in an early hand to title-page, occasional annotations in a small and neat early hand, some light dampstaning throughout, some rubbing to covers and spine Provenance: From the library of Professor Alexander Craik £1,500-2,500 388 HE65/79 Newton, John Trigonometria Britanica: or, the Doctrine of Triangles. London: G. Hurlock and J. Kirton, 1658. First edition, folio, 2 parts in one volume, diagrams in text, contemporary calf, lacks dedication leaf, [Wing N1072], title frayed and chipped in margins, binding repaired and worn £200-300 389 HD610/21 Paré, Ambroise The Workes of that famous Chirurgion Ambrose Parey. [London: for J. Clarke, 1649]. Folio, numerous woodcuts in text, 18th century half calf, lacks title, 2 folding plates, the first 3 leaves, and pp. 589-594, some soiling and staining, a few short tears, F3 with some loss of text, worn, covers detached £300-400 389 80 Lyon & Turnbull 390 HE117/1300-400 391 HE117/4 Public Health and Medicine, 22 volumes, including Society for Bettering the Condition and Increasing the Comforts of the Poor. The Reports of. London: for the Society, 1789. Volume 1 only, 8vo, contemporary calf, rubbed; Moore, Norman The History of St. Bartholomew’s Hospital. 1918. 2 volumes, 4to, original red cloth gilt, spines faded; Macmichael, William The Gold Headed Cane. 1828. Second edition, 8vo, original cloth, rubbed; Howard, John The Plan adopted by the Governors of the Middlesex Hospital for the Relief of Persons afflicted with Cancer. London, 1792. 8vo, later boards, red morocco label, uncut; Comrie, J.D. History of Scottish Medicine. 1932. 2 volumes, 8vo, illustrations, original blue cloth gilt; Smith, G.M. A History of the Bristol Royal Infirmary. 1917. 8vo, original maroon cloth; Champney, T. Medical and Chirurgical Reform. 1797. 8vo, contemporary calf, Norwich & Norfolk Medical Book Society stamp to title, neatly rebacked; Seward, Anna Memoirs of the Life of Dr. Darwin. 1804. 8vo, half calf, rubbed; Brownlow, John Memoranda; or Chronicles of the Foundling Hospital. 1847. 8vo, frontispiece, 8 plates, original cloth, plates discoloured, and 11 others (22) 392 HE65/9 Spain - Astronomy - Alfonso X de Castilla Libros des Saber de Astronomia copilados, anotados y comentados por D. Manuel Rico y Sinobas. Madrid: Don Eusebio Aguado, 1863-66. Volumes 1-5 part 1 (all published), illustrations and plates, many coloured, folio, original boards, small stamp on titles of Royal Medical & Chirurgical Society, worn, some boards detached, 2 volumes lacking spines £200-300 393 HE22/12 Tarin, M. Dictionaire Anatomique suivi d’une Bibliotheque Anatomique et Physiologique. Paris: Briasson, 1753. 4to, later half calf, a little foxing and soiling, covers a little soiled and rubbed £300-400 394 HD686/17 Young, Thomas A Course of Lectures on Natural Philosophy and the Mechanical Arts. London: Taylor and Walton, 1845. 2 volumes, 8vo, 43 plates, two handcoloured, cancelled stamps of Kings College London Library, later half calf rebacked with contemporary spines (2) Provenance: From the library of Professor Alexander Craik £100-150 £300-400 SPORT 395 HE65/55 Angling - Aldam, W.H. A Quaint Treatise on “Flees and the art a artyfichall flee making.” London: J.B. Day, 1876. 4to, 2 chromolithographed plates, and 24 specimen flies in 22 sunken mounts, original green pictorial cloth, some spotting, extremities worn, cloth slightly marked, upper hinge weak, neat inscriptions on verso of frontispiece, bookplate “Bibliotheca Piscatoria Lynniana” £400-600 396 HE110/1 Angling, a collection of c. 49 volumes, including The Angler’s NoteBook and Naturalist’s Record 1880-1888, 2 vol., Green and Yellow Series, original pictorial green cloth, earlier volume slightly dampstained; Lamond, Henry The Sea Trout. 1916. 4to., plates, original green cloth gilt, t.e.g.; Williamson, Henry Salar the Salmon. 1948, dust-jacket; Wiggin, M. The Passionate Angler. 1949, dust-jacket; and 44 others, 20th century angling (49) £100-150 395 Rare Books, Manuscripts, Maps & Photographs 81 397 HC228/1 Blacker, William - Fly Fishing Art of Fly Making, &c. London: George Nichols, 1855. 8vo, black morocco gilt, 18 chromolithographed plates, gift inscription to fly leaf, some soiling, rubbing on spine £400-500 398 HE65/61 Carroll, William The Angler’s Vade Mecum. Edinburgh: A. Constable, 1818. First edition, 8vo, 12 hand coloured plates (including frontispiece), half-title, early 20th century green half calf, uncut, frontispiece slightly spotted £200-300 399 HC228/2 Colquhoun, John - Denis D. Lyell association copy The Moor and The Loch. Edinburgh: W. Blackwood & Sons, 1888. 8vo, original green cloth, with an accompanying letter dated 1st March 1993 (3) £150-250 400 HE65/108 Falconry - Belany, James Cockburn A Treatise upon Falconry. Berwick-upon-Tweed: Printed for the Author, 1841. First edition, 8vo, frontispiece, later half calf, spine gilt, t.e.g., a few light spots £300-400 401 HD611/3 Golf - Darwin, Bernard The Golf Courses of the British Isles. London: Duckworth, 1910. First edition, 4to., plates by Harry Rountree, original green cloth, a few newspaper cuttings loosely inserted causing browning to a few pages, very slightly rubbed £200-300 402 HD611/4 Golf - Everard, H.S.C., - Presentation copy A History of the Royal & Ancient Golf Club. St Andrews from 1754-1900. Edinburgh: W. Blackwood, 1907. First edition, 4to., plates, original pictorial green cloth gilt, with free endpaper (loose) inscribed “To Dr Paton with Mr Everard’s very best wishes, June 1911”, binding lightly marked; and 2 issues of Life Magazine “Ben Hogan Tells His Secret” (1954-55), and Golf Magazine, June 1962, in sellophane wrappers (4) 397 405 HD611/11 Golf - Kerr, John and J. Kenyon Lees The Golf Song Book. Edinburgh: J.K. Lees, [c.1903], 4to, original pictorial wrappers, slightly faded, spine a bit worn £200-300 406 HD611/8 Golf - Maugham, William Charles Picturesque Musselburgh and its Golf Links. Paisley: A. Gardner, [1906]. First edition, 8vo, 8 plates, original green pictorial cloth £200-300 £200-300 403 HD611/6300-500 404 HD611/2 Golf - Kerr, John The Golf-Book of East Lothian. Edinburgh: Constable, 1896. First edition, 8vo, number 179 of 500 copies on small paper, illustrations, small albumen photograph, dated 1892, of Chas. Morrison, Ned Kelly & Sandy Smith, on a small slip of paper loosely inserted, original pictorial green buckram, faded, slightly rubbed, bookplate of John A. Trail £250-350 405 82 Lyon & Turnbull 407 HE96/1300-500 408 HE65/62 O’Gorman, The Practice of Angling, particularly as regards Ireland. Dublin: William Curry, 1845. 2 volumes, 8vo, frontispiece, original cloth, some spotting, vol. 2 lacks one front and one rear free endpaper, worn; Buffon, Comte de Buffon’s Natural History, abridged. London: J. Johnson [&c.], [1792]. 2 volumes, 8vo, engraved frontispiece, 2 engraved titles & 107 plates, some hand-coloured, contemporary calf, lacks plate 66, rubbed, one cover detached (4) £150-250 TRAVEL & TOPOGRAPHY 409 HE65/33 3 volumes on the Middle East, including Laborde, Léon de Journey through Arabia Petraea, to Mount Sinai and the Excavated City of Petra. London: J. Murray, 1836. First edition, 8vo, folding map, 24 plates, illustrations, contemporary green half calf gilt, very slightly rubbed; Stephens, George Incidents of Travel in Egypt, Arabia Petraea and the Holy Land. London, R. Bentley, 1838. New edition, 2 volumes, 8vo, half, titles, contemporary calf, gilt-stamp of The Society of Writers to the Signet on sides, rebacked retaining original spines, new morocco gilt labels (3) £200-300 410 HD610/29 Aberdeen printing - Laing, Alexander The Donean Tourist, giving an Account of the Battles, Castles, Gentlemen’s Seats, Families... Aberdeen: Printed by J. Booth, Jun, and Sold by the Author, 1828. 8vo, one gathering, p.293-308 supplied in early manuscript, contemporary half calf, slightly spotted, head of spine worn 414 HE65/126 Afghanistan - Ferrier, J.P. History of the Afghans. London: J. Murray, 1858. First edition, 8vo, folding engraved map, contemporary calf, neatly rebacked retaining original spine, title slightly spotted £200-300 415 HE65/125 Afghanistan - Kaye, John William History of the War in Afghanistan. London: R. Bentley, 1851. First edition, 2 volumes, 8vo, contemporary brown half calf, neatly rebacked retaining original spines £250-350 416 HE65/131 Afghanistan - Mitford, R.C.W. To Caubul with the Cavalry Brigade. London: W.H. Allen, 1881. Second edition, 8vo, folding map and 6 tinted lithographed plates, original red cloth, spine slightly faded, binding a trifle soiled £150-250 £150-200 411 HE65/134 Afghanistan & Baluchistan, 5 volumes, comprising Tate, G.P. The Frontiers of Baluchistan. London, 1909, First edition, 8vo, 2 folding maps, plates, original brown cloth, t.e.g.; Macmunn, George Afghanistan from Darius to Amanullah. 1929. First edition, 8vo, plates, folding map, original red cloth gilt, Khan, Sultan Mahomed The Life of Abdur Rahman, Amir of Afghanistan. London, 1901. 2 volumes, 8vo, presentation copy inscribed to Mr Colvin, plates, maps, 1 map in pocket at end, a few spots, original pictorial cloth, bindings dampstained and worn; [Anon] Causes of the Aghan War. London, 1879. 8vo, original cloth, binding soiled & rubbed (5) 417 HE65/132 Afghanistan - Sykes, Sir Percy A History of Afghanistan. London: Macmillan, 1940. First edition, 8vo, plates, large folding map in pocket, 7 folding maps, original blue cloth, very slightly rubbed, one corner bumped £150-250 412 HE65/129 Afghanistan & India - Masson, Charles Narrative of Various Journeys in Balochistan, Afghanistan and the Panjab. London: Richard Bentley, 1842. First edition, 3 volumes, 8vo, half-titles, 6 tinted lithographed plates, original maroon embossed cloth, yellow endpapers with 1845 inscription, several hinges repaired, two volumes recased, one volume worn, rubbed, spines faded, spotting to plates and titles £500-600 413 HE65/130 Afghanistan - Atkinson, James The Expedition into Affghanistan. London: W.H. Allen, 1842. First edition, 8vo, frontispiece map, half-title, original red pictorial cloth gilt, rebacked in red morocco £150-250 £200-300 418 HE65/133 Afghanistan - Yate, Major C.E. Northern Afghanistan or Letters from the Afghan Boundary Commission. Edinburgh: W. Blackwood, 1888. First edition, 8vo, plan, 2 folding maps in pocket at end, original red cloth, traces of label removed from cover, spine faded £500-600 419 HE110/3 Africa, 13 volumes, including Szechenyi, Count Z. Land of Elephants. 1935; Cheesman, R.E. Lake Tana & The Blue Nile. 1936; Bland-Sutton, J. Men and Creatures in Uganda. 1933; Webber, H.O’K The Grip of Gold. 1936; Gruhl, M. Abyssinia at Bay. [1935]; Martin, P.F. The Sudan in Evolution. 1921, 8vo, folding map in pocket; Campbell, D. Camels through Libya. [n.d.]; Yilma, Princess A. Haile Selassie Emperor of Ethiopia. [1935], original cloth, some faded; and 4 others (12) £100-150 Rare Books, Manuscripts, Maps & Photographs 83 420 HE65/45 Africa, a collection of 45 volumes, including Johnston, Sir Harry George Grenfell and the Congo. 1908. 2 volumes, 8vo, plates, maps, illustrations; Smith, Edwin W. The Ila-Speaking Peoples of Northern Rhodesia. 1920. 2 volumes, 8vo; Kingsley, M. Travels in West Africa. 1898, portion of half-title cut away; Hobley, C.W. Ethnology of the AKamba and other E. African Tribes. 1910, library stamp on title; Barns, T.A. Angolan Sketches. 1928, binding rather soiled; Fraser, D. Winning a Primitive People... Ngoni and the Senga and Tumbuka Peoples. 1914. Bergh. L.J.V. On the Trail of the Pigmies. 1922; Whitehead, C.E. The Adventures of Gerard, the Lion Killer. New York, 1856, spine repaired, worn; Cunningham, J.F. Uganda and its Peoples. 1905. Large 8vo, original pictorial cloth; Nordern, Hermann White and Black in East Africa. 1924. Colvin, I.D. The Cape of Adventure. 1912; plates, maps, original cloth, a few slightly rubbed; and 32 others, 20th century, on Africa (45) £250-350 421 HD610/100 Amundsen, Roald The South Pole. London: John Murray, 1912. Translated from the Norwegian by A G Chater. First edition in English, 2 volumes, large 8vo, 59 plates, original pictorial red cloth, t.e.g., some foxing, one corner bumped (2) 421 £300-500 422 SV705/145B Amundsen, Roald The North West Passage. London: Archibald Constable Company ltd, 1908. 2 volumes, 8vo, 2 frontispieces, 2 maps, original cloth gilt, slight damp staining to volume two, covers a little rubbed and bumped (2) £200-300 423 HE65/37 426 HE65/74 Baker, Samuel White The Albert Nyanza, Great Basin of the Nile. London: Macmillan, 1866. First edition, 2 volumes, 8vo, 2 maps, 1 folding, and 13 plates, contemporary calf, neatly rebacked, spines gilt, title and frontispiece volume 1 spotted; Baker, Samuel White The Nile Tributaries of Abyssinia. London: Macmillan, 1871. Third edition, 8vo, 24 plates (Bayard & Coor on the same plate), original blue pictorial cloth, rubbed and soiled, hinges weak (3) £200-250300-400 424 HE30/1 Arnot, Hugo The History of Edinburgh... Edinburgh: William Creech, 1788. 4to, folding map, 19 engraved plates, contemporary tree-calf, red morocco gilt label to spine, pp.351-2 misbound (pp.351-354 are cancels, another version of pp.351-2 also seems to be in the book, possibly a cancelandum), following this, pp.359-360 is lacking, upper hinge cracked, some slight soiling and offsetting throughout £200-300 425 HA903/6 Baedeker, Karl - a large quantitiy of travel guides, including Egypt and the Sudân. Leipzig, 1908; Ägypten und der Sûdân. Leipzig, 1928; The Dominion of Canada with Newfoundland and an Excursion to Alaska. Leipzig, 1900; Grèce. Leipzig, 1910; Italien von den Alpen bis Neapel. Leipzig, 1890; Schweden und Norwegen... Leipzig, 1885; Grossbritanien. Leipzig, 1889, lacking 2 maps; Southern France... Leipzig, 1891; Der Harz. Leipzig, 1920; and 172 others (comprises 163 Baedeker Guides in original cloth; 7 rebound Baedeker Guides; and 11 other guidebooks); sold not subject to return (181) £450-550 422 84 Lyon & Turnbull 433 HE65/4 Burckhardt, John Lewis Travels in Syria and the Holy Land. London: John Murray, 1822. First edition, 4to, (210x262mm), lithographed portrait frontispiece, 6 maps & plans (2 folding), illustrations in the text, contemporary half calf over marbled boards, neatly rebacked, spine gilt, map with short tear at fold, boards and edges slightly rubbed £900-1,100 434 HE65/73 Burckhardt, John Lewis Notes on the Bedouins and Wahabys, collected during his Travels in the East. London: H. Colburn & R. Bentley, 1831. 2 volumes, 8vo, folding map frontispiece, contemporary half calf, new endpapers, occasional slight spotting and soiling, upper joints slightly split £700-900 427 427 HE65/10 Barrow, John Travels in China. London: T. Cadell & W. Davies, 1806. Second edition, 4to., 8 engraved plates (5 hand-coloured), spotting and offsetting, library stamps to title, contemporary calf, rebacked, corners rubbed £200-300 435 HE64/13 Burton, Sir Richard Francis Falconry in the Valley of the Indus. London: John Van Voorst, 1852. First Edition, large 12mo (190 x 125mm.), half-title, 8pp. adverts at end, 4 tinted lithograph plates, original purple cloth, gilt lettering to spine, browning and spotting to half-title and frontispiece, some spotting to margins of the other three plates, spine faded, short splits to joints, bookplates of Leonard Shuter and Gustavia A. Senff £1,200-1,500 428 HE65/59 Bertholdi, Giuseppi Memoirs of the Secret Societies of the South of Italy, particularly the Carbonari. London: J. Murray, 1821. First edition, 8vo, 12 lithograph plates, 7 folding, contemporary half calf, neatly rebacked, spotting to frontispiece, occasional slight spotting 436 HE65/116 £200-250 £800-1,000 429 HD610/14 Blakesley, J.W. Four Months in Algeria. Cambridge, 1859. First edition, 8vo, frontispiece, folding map, folding plan, and 8 plates (1 folding), original cloth, short tear to map, rubbed, new endpapers; Marjoribanks, Alexander Travels in New South Wales. London, 1847. First edition, 12mo, original red cloth gilt, lightly soiled, lightly rubbed (2) £100-150 430 HE36/2 Brassey, Lady In the Trades, the Tropics & the Roaring Forties. London: Longmans, Green, & Co., 1886. 8vo, flyleaf inscribed “To Ernest Stone, in remembrance of his and Charles Smith’s endeavours to save Mr Frank off the Vengorla [sic.] Rocks... with the best wishes of the Author”, folding map, original cloth, soiled, browning, rubbed, worn £120-180 431 HE64/7 Bruce, James Travels to Discover the Source of the Nile. Edinburgh: G.G.J. and J. Robinson, 1790. First Edition, 5 Volumes, 4to., 69 plates and 3 folding maps, bookplate in first volume of Marshall Laird, modern half calf retaining original marbled boards, foxing to some pages (5) £1,000-1,500 432 HE65/12 Buckingham, James Silk Travels among the Arab Tribes inhabiting the Countries East of Syria and Palestine. London: Longman, Hurst [&c.] First edition. 4to., folding map, contemporary half calf, some spotting, RCSI Library stamp to title and a couple of other leaves £400-600 431 Rare Books, Manuscripts, Maps & Photographs 85 437 HE65/117700-900 438 HE65/118 Burton, Sir Richard Francis Ultima Thule; or, A Summer in Iceland. London: W. P. Nimmo, 1875. First edition, 2 volumes, 8vo, half-titles, 16pp. adverts., 11 plates (1 double page) and 2 folding maps, original pictorial blue cloth gilt, rebacked retaining most of original spines, ‘Cruising Association Library’ bookplates, gilt stamp to upper covers and small blindstamp to titles, bindings slightly soiled £300-400 439 HE65/119 Burton, Sir Richard Francis Explorations in the Highlands of the Brazil, With a full account of the Gold and Diamond Mines. London: Tinsley Brothers, 1896. First Edition, First Issue. 2 volumes, 8vo, 2 engraved frontispieces & 1 folding map, both volumes with a second title “The Highlands of Brazil” bound in, half-titles, original pictorial green cloth, spines repaired, corners rubbed, new endpapers, short 6cm. closed tear to map repaired with archival tape £500-700 440 HD610/2 Burton, William The Description of Leicestershire, containing Matters of Antiquity. Lynn: W. Whittingham, 1777. Second edition, folio, folding map and 2 engraved plates, contemporary half calf, map with small splits at folds, rebacked, a few light spots 442 covers, rebacked, corners repaired; [Idem] Magna Britannia.... vol. III, Cornwall. London: T. Cadell & W. Davies, 1814. 4to, folding map, 37 plates, original boards, cloth spine with later paper label, some foxing and offsetting; Morris, F.O. A Series of Picturesque Views of Seats of Noblemen and Gentlemen of Great Britain and Ireland. London: W. Mackenzie, [c.1880]. 6 volumes, 4to., 240 chromolithographed plates, original cloth gilt; Nicolson, Joseph & Richard Blum The History of Antiquities of the Counties of Westmorland and Cumberland. London: W. Strahan & T. Cadell, 1777. 2 volumes, 4to., 2 large folding maps, contemporary diced calf gilt, gilt edges, one board nearly detached (10) Provenance: Appleby Castle Library, Appleby Castle, Westmorland £180-220 £300-400 441 HD435/73 Cambridgeshire & Cornwall - Lysons, D. and S. - Morris, F.O. Westmorland & Cumberland, 10 books Magna Britannia.... vol. II, part 1: Cambridgeshire. London: Cadell, 1808, 4to, large paper copy, 41 engraved plates, (only 33 called for in list of plates), contemporary blindstamped calf with gothic arch design on 442 HD610/13 Chandler, Richard Travels in Asia Minor. London: J. Dodsley [& others], 1776. Second edition, 4to., folding map, errata leaf, contemporary calf, map torn without loss, occasional spotting, rubbed, corners bumped £300-500 443 HE65/78 Cheshire - King, Daniel The Vale-Royal of England, or the County Palatine of Chester Illustrated. London: John Streater, 1656. 4to., additional engraved title, 2 folding maps, 1 folding plan (laid down) and 16 engraved plates (2 folding plates laid down), nineteenth century blind tooled calf, neatly rebacked retaining original spine, bookplates of R. Townley Parker, 1858 and Reginald Arthur Tatton, occasional light spotting, early inscription on title of N. Dukinfield £300-500 443 86 Lyon & Turnbull 444 HE65/2page, 2 large folding lithographic maps and 44-page index in inner pocket, original green cloth, later morocco-backed slipcases, slightly affected by damp with minor undulation of leaves and occasional marginal waterstains (2) £1,200-1,800 445 HE352/3 Curzon, George Nathaniel, of Keddleston, Lord British Government in India. London: Cassell and Company Ltd., [1925]. 2 volumes, 4to, number 68 of 500 sets, original blue morocco gilt, gift inscription dated 1981 in ink to free-endpaper (2) £150-250 447 446 HE65/1 D’Avesnes, Prisse La Décoration Arabe. Paris: J. Savoy, 1885. Folio, 110 plates, 100 coloured, 26 double-page, original grey green cloth, small gilt library stamp to upper cover, small library stamp to head of title, head of Contents leaf and verso of one plate, rubbed, joints slightly split £500-700 447 HE65/13 Dalvimart, Octavien The Military Costume of Turkey. London: Thomas McLean, 1818. First edition, folio (360 x 260mm.), half title, hand-coloured engraved frontispiece, pictorial title and 29 hand-coloured aquatint plates by John H. Clark after Dalvimart, some plates watermarked J. Whatman 1817 and one 1804, contemporary blue full straight grained morocco gilt, slightly raised bands to elaborately gilt spine, triple gilt rule borders enclosing floral gilt design and blind border, a.e.g. 448 448 HE65/14 Dalvimart, Octavien The Costume of Turkey. London: William Miller, 1802 [but c.1818], folio (370 x 270mm.), printed title with hand-coloured engraved vignette, 60 hand-coloured engraved plates, additional title in French, accompanying text in English and French, (some plates watermarked 1817 & 1818, one leaf of text 1811), blue full straight grained morocco gilt, spine with raised bands gilt in compartments, gilt title direct to spine, boards with elaborate gilt floral border enclosing border in blind and gilt, gilt dentelles, a.e.g., frontispiece offset onto title, most plates offset onto text, extremities rubbed £800-1,000 £900-1,200 449 HE64/5 Daniell, William A Voyage Round the North and Northwest Coast of Scotland, and the Adjacent Islands. With a Series of Views, Illustrative of Their Character and Most Prominent Features. London: W. Lewis, [c.1820], Folio (365 x2 60mm). 42 hand-coloured aquatint plates drawn and engraved by William Daniell, modern half maroon calf gilt over marbled boards, retaining original blanks, raised bands, new endpapers, some offsetting from the plates, text slightly darkened, plates dated from 1818-1820, some plates water-marked 1818, plates clean and bright with no spotting or browning £2,000-3,000 Rare Books, Manuscripts, Maps & Photographs 87 450 HE65/22 Denon, Dominique Vivant, Baron Egypt Delineated, in a Series of Engravings, Exhibiting the Scenery, Antiquities, Architecture, Heiroglyphics, Costume, Inhabitants, Animals &c. of that Country, Selected from the Celebrated Work of Vivant Denon. London, Robert Thurston. 1826. Large Folio, (330 x4 77mm), engraved frontispiece portrait, 110 engraved plates, plans & maps (several folding, 1 large, 7 double page of which 4 with short tear at fold), 3 plates shaved touching text, later half morocco over maroon cloth boards, neatly rebacked preserving original spine, bookplate of H.E. Barker, corners rubbed, covers a little scuffed and marked, frontispiece with marginal dampstain £600-700 451 HE32/22 (3) 452 HE98/2 Du Chaillu, Paul B. A journey to Ashango-Land... London: John Murray, 1867. 8vo, frontispiece, folding map, plates, original maroon cloth gilt, bookplate 453 SV730/69D Egypt and the Middle East, a small collection Lawrence, T.E. Seven pillars of Wisdom. London: Jonathan Cape, 1935. 8vo, original orange cloth gilt; Doughty, Charles M. Travels in Arabia Deserta, London: Jonathan Cape, 1924. 2 volumes, 8vo, later edition, original red cloth gilt; François-Levernay Guide-Annuaire d’Égypte... Cairo, 1872. 8vo, contemporary quarter calf; [Kinglake, Alexander William] Eothen. London, 1854. New edition, 12mo, contemporary calf; Wilson, William Rae Travels in Egypt and The Holy Land. London, 1823, 8vo, frontispiece and 7 plates, contemporary half calf, covers detached, foxed; Cromer, the Earl of Modern Egypt. London, 1911. 8vo, original cloth; Cecil, Edward, Lord The Leisure of an Egyptian Official. London, [n.d.] 8vo, original red cloth; and 3 others, sold not subject to return (11) £150-200 £200-300 £100-150 454 HE65/67150-200 455 HE352/2 Fergusson, James Picturesque Illustrations of Ancient Architecture in Hindostan. London: J Hogarth, 1847. Folio. 1 lithographed title. 23 tinted lithographed plates. 1 map, contemporary half morocco gilt, uper cover detached from text block, damp staining to lower part of plates and some pages, some foxing and browning, some rubbing and damp staining to covers £1,500-2,000 88 Lyon & Turnbull 459 HC227/1300-400 460 HE65/26700-900 456 456 HE65/92 Fittler, James Scotia Depicta, or The Antiquities, Castles, Public Buildings, Noblemen and Gentlemen’s Seats, Cities, Towns and Picturesque Scenery of Scotland. London: W. Miller [&c], 1804. First edition, oblong folio, additional engraved title, 48 engraved plates by J. Fittler after J.C. Nattes, contemporary panelled calf by C. Meyer, 2 Hemming’s Row, St. Martin’s Lane, with his ticket, wide gilt tooled borders, gauffered gilt edges, armorial bookplate of George Priestley, occasional light spotting, rebacked retaining original spine, corners repaired 461 HD609/7 Glasgow and Edinburgh, 3 quarto volumes, including MacGeorge, Andrew Old Glasgow, the Place and the People. Glasgow, 1880. 4to., plates, contemporary red morocco gilt, g.e., a trifle200-300 £150-200 457 HE64/1 Forbes, James Oriental Memoirs... written during a Seventeen Years Residence in India. London: for the Author, 1813. First edition, 4to, (303 x 239mm.), 4 volumes, half-title, 122 plates (95 uncoloured, 27 coloured), half-titles, 19th century maroon half morocco gilt, slight spotting and browning, slight dampstaining to some plates in volume 4, rubbed Note: Bohn’s extra-illustrated remainder issue, collating almost identically with Abbey’s copy. Originally issued in 1813 with 94 plates, upon the author’s death in 1819, the unsold copies of “Oriental Memories’ were deposited in a warehouse, where some 20 years later they were rediscovered and reissued in 1839 with an additional 27 plates. These plates come from remaindered stock of the quarto edition of the Daniell’s ‘Oriental Scenery’. There is one discrepancy between Abbey’s copy and this one: Pl. 110 in the present work is ‘Mausoleum of Kausim Solemanee at Chunar Gur’, replacing ‘The Charles Satoon on the Jumna Side of the Fort of Allahabad.’ Abbey Travel 436. Many of the illustrations by Forbes, others by Thos. & William Daniell and W. Hooker. £1,500-2,500 458 HE65/43 Garnett, Thomas Observations on a Tour through the Highlands and Part of the Western Isles of Scotland. London, 1811. 2 volumes, 4to., map, and 52 handcoloured engraved “aquatinta” plates, contemporary half calf, binding worn with loss to spine, some spotting not affecting plates £150-200 457 Rare Books, Manuscripts, Maps & Photographs 89 462 HD610/15 Grant, Anne Letters from the Mountains. London: Longman [&c.], 1807. Second edition, 3 volumes, 12mo, contemporary half calf, gilt £80-120 463 HE32/23 Grose, Francis, 14 volume set, comprising The Antiquities of England and Wales, 1784-7, 7 vol.; Ireland, 1791. 2 vol.; Scotland., 1797, 2 vol.; Military Antiquities, 1786, 2 vol.; A Treatise on Ancient Armour, 1786, contemporary diced calf, somewhat spotted, spines worn, some covers detached; sold not subject to return (14) £200-300 464 HE65/44 Hand-coloured copy - Stoddart, John Remarks on Local Scenery & Manners in Scotland during the years 1799 and 1800. London: W. Miller, 1801. First edition, 2 volumes, large 8vo, engraved titles, double-page map hand-coloured in outline & 32 handcoloured engraved plates by Merigot after Williams, Nattes, contemporary gilt, rubbed, occasional offsetting from plates, the plates clean £100-150 465 HD610/20 Herbert, Sir Thomas Some Yeares Travels into Africa, Asia, the great, especially Describing the Famous Empires of Persia and Industan. London, 1677. Third edition, folio, additional engraved frontispiece, and 1 plate (of 3, [plan of Babylon]), numerous engravings in the text, contemporary panelled calf, part of blank fore-margin excised, some staining at beginning, a marginal repair, with final leaf KKK2, worn £400-600 466 HE65/66 Hooker, Joseph Dalton Himalayan Journals, or Notes of a Naturalist in Bengal, the Sikkim and Nepal Himalayas. London: John Murray, 1854. First edition, 2 volumes, 8vo, 12 tinted and coloured lithographed plates (1 folding) plus 1 further coloured plate, 2 folding maps, wood engravings, half titles and errata slips to both volumes, later quarter brown cloth, frontispiece volume 1 spotted, maps neatly repaired with archival tape £300-400 467 HE65/127 India & Afghanistan - Outram, Major James Rough Notes of the Campaign in Sinde and Affghanistan, in 1838-9. [London]: J.M. Richardson, 1840. First edition, 8vo, 2 folding plans, “Afghan Legation London Library” stamp to title, rebacked retaining most of original spine, faded £150-200 465 468 HE65/111 India - Dubois, Jean Antoine Description of the Character, Manners and Customs of the People of India. London: Longman [&c.], 1817. First English edition. 4to., contemporary calf, rebacked retaining original spines, some spotting, corners worn £150-200 469 EZ774/70 India - Robertson, G.S. The Kafirs of the Hindu-Kush. London: Lawrence & Buttlen, 1900. 8vo, folding map and 55 plates, original red pictorial cloth, spine slightly faded £200-300 470 HE65/76 [India] - Vincent, William The Commerce and Navigation of the Ancients in the Indian Ocean. London: T. Cadell & W. Davies, 1807. First edition, 2 volumes, 4to., 14 maps (12 folding), 2 frontispieces, 3 plates, 2 folding tables, modern calf, black morocco labels, offsetting from some plates and maps, occasional spotting and browning £300-500 471 HE22/7 James, Frank Linsly The Unknown Horn of Africa. London: George Philip & Son, 1888. First edition, 8vo, 23 plates (including 10 hand-coloured), folding map in pocket at rear, original green cloth gilt, some darkening and wear to covers and spine, a few small tears to map £200-300 471 90 Lyon & Turnbull 472 HC244/2 Johnson, Samuel A Journey to the Western Islands of Scotland. London: W. Strahan & T. Cadell, 1775. First edition, second issue with 5 line errata, 8vo, contemporary calf, margin of last leaf torn away not affecting text, head of spine slightly rubbed £150-200 473 HD885/33 Johnson, Samuel - Jerome Kern copy, Provenance: Jerome Kern400-500 474 HE65/24 Jones, Sir William The Works. London: G.G. & J. Robinson. 1799, First Edition, 6 volumes, 4to., 34 plates (4 folding), 11pp. engraved and 64pp. printed Persian script in volume 3, early 19th century half calf and marbled boards, black morocco labels to spines, occasional offsetting, slight spotting or dampstain, engraved Persian script in volume 3 waterstained, slightly rubbed 477 £500-800 475 HE32/20 Kashmir and Ladakh - Lambert, Cowley A trip to Cashmere and Ladak. London: H.S. King, 1877. First edition, 8vo, 5 plates, 31pp. advertisements, original pictorial cloth gilt; Malleson, G.B. Decisive Battles of India. 1888, Forbes-Mitchell, W. Reminiscences of the Great Mutiny. 1895; Aitken, E.H. The Tribes on my frontier. 1904, 8vo; Roberts, Lord Forty-One years in India. 1897. 2 volumes, all original cloth (6) £200-300 476 HD892/1 Lawrence, T.E. Seven Pillars of Wisdom. London, 1935. Second impression, 4to., Tom Beaumont’s copy, inscribed by him to John Carter on front endpaper, plates, original tan buckram, uncut, The Times obituary of Tom Beaumont loosely inserted; Graves, R.P. Lawrence of Arabia. 1976, 4to., dustwrapper, signed by Tom Beaumont on p. 59; Journal of the Society for Army Historical Research 1981. vol. LVIV, No. 237, with article “Rank & File, by T. Beaumont, an eye-witness account of a survivor of the Arab Revolt who was T.E. Lawrence’s No. 1 Vickers machine-gunner”, original wrappers (3) Note: Tom Beaumont was a Vickers machine gunner and Arab speaker, attached to the Hejaz Armoured Car Company, in which capacity he is mentioned in Appendix 1 of Seven Pillars of Wisdom. His article, “Rank and File” comprises 16 pages of recollections of his time with the Hejaz Company. £200-250 477 HD610/19 Leicestershire - Burton, William The Description of Leicester Shire, containing Matters of Antiquity, History, Armorye and Genealogy. London: John White, [1622]. Folio, engraved title, engraved portrait frontispiece, folding map by C. Saxton, coats-of-arms in text, eighteenth century panelled calf, a little light spotting, neatly rebacked, corners repaired £300-400 478 HE65/46 Libya, Tunisia, Algeria - Tully, Richard Narrative of a Ten Years’ Residence at Tripoli in Africa. London: H. Colburn, 1817. Second edition, 4to., folding map and 7 hand-coloured aquatint plates, contemporary half calf, occasional light spotting, joints split, binding somewhat worn, hinges strengthened £300-400 479 HE65/52 £400-600 480 HD610/25400-500 Rare Books, Manuscripts, Maps & Photographs 91 481 HE16/1 Manning, Owen The History and Antiquities of the County of Surrey. London: John White, 1804. 3 volumes, folio, 83 (of 86?) plates (including 13 Domesday facsimile plates), 2 folding maps and 13 folding genealogies, brown morocco with elaborate gilt tooling to spines, gilt doublures. lacking A1 in volume 1, occasional neat repairs, tear to pp.297-8 in volume 2 with some loss to text (3) £150-250 482 HE65/128 Martin, Martin A Description of the Western Islands of Scotland. London: A. Bell, 1703. First edition, 8vo, folding map (tear repaired) and folding plate, contemporary panelled calf, head of title excised, very small “Selbourne Library” stamp on title verso, slightly spotted, rebacked, corners rubbed £300-400 483 HE64/6 Mayer, Luigi [Views in Egypt,. Palestine and Other Parts of the Ottoman Empire]. London: R. Bowyer Historic Gallery, 1804. Oblong Folio, comprises of plates from Volume 1 only (1801), 49 hand coloured plates, modern half calf, 1 plate loose, some rubbing to covers [Abbey Travel 369] 483 £1,000-1,500 484 HE65/65 Mediterranean Travel, 3 works comprising Tully, Richard Narrative of a Ten Years’ Residence in Africa. London, 1816. First edition, 4to., 4 coloured plates, 1 folding plan, contemporary half calf, lacks portrait; Lantier, E.F. The Travels of Antenor in Greece and Asia, from a Greek Manuscript found at Herculaneum. London, 1799. First English edition, 3 volumes, 8vo, contemporary calf, volume 1 dampstained, occasional spotting, a little rubbed; Sutherland, Capt. D. A Tour up the Straits, from Gibraltar to Constantinople. London, 1790. 8vo, list of subscribers, early 19th century half calf, head of spine chipped (7) £300-500 485 HE110/2 Middle East, 10 volumes including Sykes, Mark Dar-Ul-Islam. 1904. 8vo, lacks 2 maps (Homs to Besne, Essengeli to Shaykhli), plates, lacks front free endpaper, spotted, binding worn and soiled; Sykes, M. Through Five Turkish Provinces. 1900. 8vo, plates, folding map, original cloth, spotted, slightly rubbed & soiled, endpapers browned; Joint Palestine Survey Commission. Report. 1928. 8vo, folding map, original cloth; Bray, N.N.E. Shifting Sands. 1934; and 6 others (10) £200-300 486 HE65/19 Middle East, a collection of 6 volumes, comprising Guerin, Victor La Terre Sainte. Paris, 1882. Folio, additional engraved title, 21 engraved plates with tissue guards, 288 engravings in text, original red, black and gilt decorative cloth, neatly rebacked retaining original spine, corners rubbed; Porter, J.L. Through Samaria to Galilee & the Jordan. 1889. 4to, 30 plates, illustrations, original cloth gilt, a.e.g.; Thompson, W.M. The Land and the Book. 1865. 8vo, folding map, coloured plates, contemporary calf, rubbed, joints partly split; Stanley, A.P. Sinai and Palestine. 1856. 8vo, 7 folding plans and maps, contemporary half calf, joints splitting; Hichens, Robert The Near East. 1913. Large 8vo, 40 plates, original maroon cloth gilt (6) £150-250 487 HE65/69 Middle Eastern Travel, a collection of 10 volumes, comprising Van de Velde, C.W.M. Narrative of a Journey through Syria and Palestine in 1851 and 1852. Edinburgh: W. Blackwood, 1854. 2 volumes, 8vo, 2 tinted frontispieces, folding map, folding plan, & folding table, contemporary half calf, worn; Volney, C.F., comte de Travels through Syria and Egypt, in the Years 1783, 1784 & 1785. London, 1788. Second edition, 2 volumes, 8vo, 2 folding maps, 3 folding plates, 19th century half calf, slight dampstaining to some plates and maps, worn, one cover detached; De Lamartine, A. Souvenirs, Impressions, Pensées et Paysages pendant un Voyage en Orient. Paris, 1835. First edition, 4 volumes, 8vo, engraved portrait, 2 folding maps, folding table, contemporary calf, rubbed, joints splitting; Parrot, Friedrich Journey to Ararat. London, 1845. 8vo, folding map, illustrations, contemporary calf, worn, cover detached; Paton, A. The Modern Syrians. London, 1844. First edition, 8vo, half-title, contemporary calf, spine worn with loss, all with Society of Writers to the Signet gilt stamp to covers (10) £350-450 480 92 Lyon & Turnbull 491 488 HE65/72 Mirza Abu Taleb Khan The Travels of Mirza Abu Taleb Khan in Asia, Africa and Europe. London: Longman, 1810. 2 volumes, 8vo, translated by Charles Stewart, frontispiece portrait, contemporary half calf, some spotting and browning, neatly rebacked retaining original spines £200-300 489 HE65/40 Monardes, Nicolas Joyful Newes out of the Newfound World, wherein are declared the Rare and Singular Vertues of Divers and Sundrie Herbs, Trees, Oyles, Plants & Stones. London: William Norton, 1580. Second (enlarged) edition, small 4to. (190 x 131mm.), black letter, several woodcut illustrations, 19th century calf gilt, morocco labels, g.e., general title and third page of dedication provided in facsimile on old paper, lacks f4 and final 12 leaves of text [i.e. text ends at folio 170], blank lower fore-corner of 7 leaves skillfully repaired affecting a few letters of *3, edges rubbed, upper cover detached [STC 18006; CF. Garrison & Morton 1817, French edition; Sabin 49945; Alden 580/51] 490 HE65/29 Murray, Alexander Account of the Life and Writings of James Bruce, of Kinnaird, Esq. F.R.S. Edinburgh: Archibald Constable and Company, 1808. First Edition. 4to, frontis piece, 19 plates and 2 fold out maps, contemporary half calf, foxing to frontis piece, very slight browning to pages, some rubbing to covers £250-350 Note: “First treatise on Central American drugs, and for many years the most important work on the medical plants of the New World” (Garrison-Morton). £700-900 492 Rare Books, Manuscripts, Maps & Photographs 93 491 HE64/4 Ogilby, John Asia, the first part. Being a an Accurate description of Persia, and the several provinces thereof. The Vast Empire of the Great Mogol, and other parts of India. London: printed by the Author, 1673. Part One only [all published], folio (414 x 257 mm.), title printed in red and black, engraved frontispiece, 4 double-page maps, 28 plates (of which 12 double page), illustrations in the text, woodcut initials, head and tailpieces, modern quarter calf over marbled boards, vellum tips, new endpapers, lacks the large folding map of Asia, frontispiece, title and dedications lightly creased, light browning and spotting throughout, few leaves slightly frayed at edges with associated minor marginal tears and chips, some staining and darkening to margins, especially of two plates following page 136, [Wing 0166; Cox 1, 275] £1,500-2,500 492 HE95/1 Orkney - [Stafford, Elizabeth, Marchioness of/ Sutherland, Elizabeth, Duchess of] Views in Orkney and on the North Eastern Coast of Scotland. [London, 1807] Folio, 28 engraved plates, contemporary half morocco gilt, some foxing, some rubbing £400-500 493 HD609/6 Orkney and Hebrides, including Hall, James Travels in Scotland by an Unusual Route, with a Trip to the Orkneys and Hebrides. London, 1807. First edition, 2 volumes, 8vo, map and 29 plates, contemporary half calf, rubbed, two covers detached; Pennant, Thomas A Tour in Scotland. MDCCLXIX. Chester: J. Monk, 1771. 8vo, 18 engraved plates, text engraving on p. viii, contemporary calf, title slightly browned in margins, worn; M’Callum, H. and J. An original Collection of the Poems of Ossian, Orann, Ulin and other Bards. Montrose, 1816. 8vo, original boards, uncut, a few spots, head of spine with slight loss, one board detached; Gardyne, C.G. The Life of a Regiment: The History of the Gordon Highlanders. 1929. 2 volumes, 8vo, plates and maps, original green cloth gilt, one cover marked (6) £200-300 497 HE86/1 Picolo, Fr. Maria - California Of a Passage by Land to California and a Description of the Country, by Fr. Maria Picolo, taken from the Letters of the Missionary Jesuits, pp.191196 in The Philosophical Transactions (from the year 1700, to the year 1720) Abridg’d... London: J. and J. Knapton..., 1731. Second edition, volume 5 only, with folding map of California, contemporary calf, rebacked, worn Note: Father Eusebius Francis Kino’s map, which was first published in French in 1705, famously discredited the cartographic tradition that California was its own separate island. £100-150 498 HE65/18 starting, a.e.g. £200-300 499 SV705/145C Polar Exploration - Nansen, Fridtjof, and others, 21 books Nansen, Fridtjof Farthest North. Westminster: Archibald Constable and Company, 1897. 2 volumes, 8vo, portrait, frontispiece, 4 folding maps (one torn), original green cloth gilt; [Idem] Eskimo Life. London: Longmans, Green, and Co., 1893. 8vo, original green cloth gilt; [Idem] Farthest North. London: Archibald Constable and Co. Ltd., 1904. 8vo, original red cloth gilt; Brögger, W.C. and Rolfsen, Nordahl Fridtjof Nansen. London: Longmans, Green, and Co., 1896. 8vo, original green cloth; [Brown, R.N.R, and others] The Voyage of the “Scotia”. Edinburgh & London: William Blackwood and Sons, 1906. 8vo, folding map, later? cloth; Peary, R.E. Nearest the Pole. London: Hutchinson & Co., 1907. 8vo, original black cloth gilt, 2 folding maps; Mikkelsen, Ejnar Conquering the Arctic Ice. London: William Heinemann, 1909. 8vo, original green cloth with Polar bear motif; [Idem] Lost in the Arctic... London: William Heinemann, 1913. 8vo, folding map, original green cloth, silver rubbed from covers; and 12 others, sold not subject to return (21) £300-500 494 HE65/32 Palgrave, William Gifford Narrative of a Year’s Journey through Central and Eastern Arabia (186263). London: Macmillan & Co., 1865. First edition, 2 volumes, 8vo, engraved frontispiece, folding map hand-coloured in outline, and 4 folding plans, contemporary calf, arms of The Society of Writers to the Signet on covers, small tear and repair to folding map, rebacked retaining original spines 500 HE65/11 Pottinger, Lt. Henry Travels in Beloochistan and Sinde. London: Longman, Hurst [&c.], 1816. First edition, 4to., large folding engraved map, hand-coloured in outline, contemporary half calf with marbled boards, neatly rebacked, black morocco lettering piece, map split at two folds, lacks frontispiece, library stamp to title & 2 other leaves £200-300 £400-600 495 HE65/42) 501 HE65/82 Purchas, Samuel Hakluytus Posthumus or Purchas His Pilgrimes Contayning a History of the World in Sea Voyages and Lande Travells. Glasgow: J. Maclehose, 1905-07. 20 volumes, 8vo, plates, folding maps, original blue cloth gilt, t.e.g., others uncut, Cruising Association Library gilt stamp to upper covers, bookplates, and small oval blindstamp to titles, lettered “H1” on spines, slightly rubbed £200-300 £200-300 496 HE65/27 Persia and India - Ouseley, Sir William The Oriental Collections. [London: Printed for the Editor, 1797] Volume 1 only (of 3), 4to., 18 engraved plates, 2 hand-coloured, modern blue half morocco gilt, lacking title-page 502 HE65/17200-300 £200-300 94 Lyon & Turnbull 503 Roberts, David The Holy Land, Syria, Idumea, Arabia, from Drawings Made on the Spot by David Roberts, R.A. with Historical Descriptions by the Revd. George Croly, L.L.D. Lithographed by Louis Haghe. London: F.G. Moon 1842-1849. 3 Volumes in 2, large folio (655 x 430mm), 3 tinted lithographed titles with vignettes, portrait of Roberts by C. Baugniet, 60 full page tinted lithographed plates, 60 half-page plates by Louis Haghe after David Roberts, one engraved map, without list of subscribers, contemporary red half morocco over red cloth boards, spine gilt, a.e.g., somewhat rubbed and scuffed, rear hinge Vol. I split, two small spots to frontispiece portrait Vol. I, one or two small marginal spots not affecting images Vol. II., small oval blindstamp in blank corner of titles, plates and a few text leaves not affecting images Note: Without doubt one of the greatest travel books portraying the Middle East, based on nine months travel (August 1838-May 1839) in Egypt, Arabia and The Holy Land. The plates in this copy are exceptionally clean. £9,000-12,000 Rare Books, Manuscripts, Maps & Photographs 95 504 SV753/126M Russia - D’Auteroche, M. L’Abbé Chappe A Journey into Siberia... London: T. Jeffreys, 1770. 4to, folding map with some light hand-colouring (frayed at left margin with slight loss), 9 plates, modern half calf, some spotting & soiling, plates slightly trimmed, small hole to p.84 slightly affecting text [ESTC T70180] Provenance: From the collection of the late Mrs Aldyth Cadoux £150-250 505 HE65/80 Russia - Schoberl, Frederick The World in Miniature: Russia. London: R. Ackermann, [1822]. 4 volumes, 12mo, 72 hand-coloured engraved plates, contemporary half calf, occasional light spotting or staining, chiefly to volume 2, bindings worn £250-350 506 HD610/1200-300 507 HE65/54 Sanson d’Abbeville, Nicolas The Present State of Persia: with a faithful account of the manners, religion and government of the people. London: M. Gilliflower, 1695. 12mo., engraved frontispiece, 5 plates, one folding, 18th century (?) calf, [ESTC R37147; Wing 5687], some rubbing to spine, spine repaired, title slightly browned £500-700 508 HE65/77 Schuyler, Eugene Turkistan. Notes of a Journey in Russian Turkistan, Khokand, Bukhara and Kuldja. London: Sampson Low [&c.], 1876. Third edition, 2 volumes, 8vo, 2 folding maps and 21 plates, original pictorial red cloth gilt, head and tail of spines lightly rubbed, a few small stains to binding £150-200 509 HD610/16 Scotland, 2 volumes, comprising Maitland, William The History of Edinburgh. Edinburgh: for the Author, 1753. Folio, large folding plan of Edinburgh, and 18 (of 19) plates, contemporary half calf, uncut, plan with short split at fold, occasional staining, rebacked, worn; Newte, Thomas Prospects and Observations on a Tour in England and Scotland. London: G.G.J. & J. Robinson, 1791. First edition, 4to., folding map and 23 plates, contemporary calf, rebacked, corners worn, hinges strengthened (2) 504 511 HE63/10 Sheffield Water Engineering - Damflask Reservoir, South Yorkshire Terrey, William History and Description of the Sheffield Water Works. Sheffield Corporation Water Works, 1908. 8vo, illustrations, original cloth; City of Sheffield Ornate illuminated certificate of service awarded to William Terrey, 1930, 4to, 4 pages, mounted, calf gilt binding, lined brown cloth box; copy of William Terry’s will, 16 loose photographs of Langsett Reservoir, box of metal plates used for reproduction of photographs in the “History” £250-350 512 HD609/5 Shetland & Orkney - Low, George Fauna Orcadensis, or the Natural History of the Quadrupeds, Birds, Reptiles and Fishes of Orkney and Shetland. Edinburgh: A. Constable, 1813. First edition, 4to., contemporary calf, rubbed, covers detached, green morocco lettering piece loosely inserted £240-300 £200-250 510 HE32/16 Scott, Walter The Border Antiquities of England and Scotland. London: Longman [&c.], 1814. 2 volumes, 4to, additional engraved titles & 93 plates, contemporary green morocco, sides panelled in gilt, spines gilt, gilt edges 513 HD609/4 Shetland & Orkney - Peterkin, Alexander Notes on Orkney and Zetland. Edinburgh: Macredie, Skelly & Co., 1822. First edition, volume 1 (all published), 8vo, presentation copy to “Melville [?]Bund” from the author, 2 engraved plates, half-title, contemporary half calf, spine gilt, a few spots £150-250 £200-300 96 Lyon & Turnbull 514 HD609/2 Shetland - Lerwick - Libel and Proof in the Process of Deposition, pursued at the Instance of Mr Robert Deans, Kirk-Treasurer of Lerwick, against the Reverend Mr John Macleod, Minister of the Parishes of Lerwick and Gulberwick in Shetland, before the Presbytery of Shetland, with their Sentence of Deposition therein. Lerwick, 28th June 1797. No place or date, 4to., pp. []-32, drop head title to first leaf, quarter morocco, first & last two leaves a little grubby, soiled & holed affecting a very few letters, rubbed Note: Very rare. No copy found on Copac or Worldcat. Mr John Macleod, Minister of the Parishes of Lerwick and Gulberwick indicted and accused by Robertr Deans of drunkness, blaspheming, assaulting & beating servants, scandalous conduct with women... £200-300 515 HD609/3 Shetland and Orkney, a collection including Pettigrew, T.J. Explanation of the Inscriptions in the Chambers of the Maes-Howe. London, 1863. First edition, 4to., 4 plates, 1 coloured, quarter maroon morocco, rubbed; Mitchell, J.M. Mesehowe: Illustrations of the Runic Literature of Scandinavia. Edinburgh, 1863. 4to., frontispiece and 8 plates, original pictorial blue cloth gilt, dampstain in inner lower margin, a few spots, binding slightly soiled, small tear at head of upper joint; Jameson, Robert An Outline of the Mineralogy of the Shetland Islands. Edinburgh, 1798. First edition, 8vo, presentation copy to John Bell, inscribed on title verso, 2 (of 3) maps, 1 folding, original boards, uncut, worn, lacks spine, one cover detached; Anderson, Arthur A Voice from the Old Man of Hoy. 8vo, sewn as issued, rubbed, outer leaves lightly dust-soiled; [Shetland] The Visit of the English Fleet under Lord Sandwich to Shetland in 1665. Lerwick: T. Manson, [c.1880], 8vo, original wrappers; [Shetland] Diplomatarium Hialtlandense, documents relating to the Shetland Islands from the xiiith century. Lerwick: C. & A. Sandison, 1886. Part 1, 8vo, wrappers slightly rubbed (6) £200-300 516 HE65/124 Shetland Islands - Hibbert, Samuel A Description of the Shetland Islands. Edinburgh: A. Constable, 1822. First edition, 4to., [xviii, [2], 616], 7 engraved plates (2 folding) & folding map as per listing, other vignette illustrations, green half morocco, spine gilt, t.e.g. £200-300 517 HE65/68 South Africa, 5 volumes, comprising Le Vaillant, François New Travels into the Interior Parts of Africa by the Way of the Cape of Good Hope. London: G.G. & J. Robinson, 1796. First English edition, 3 volumes, 8vo, folding map with coloured routes and 22 engraved plates (5 folding), contemporary calf, spines worn, piece lacking from foot of spine vol. 3, lacking labels, map with two tears repaired with archival tape, half-titles, lacking one front free endpaper; Steedman, Andrew Wanderings and Adventures in the Interior of Southern Africa. London: Longman, 1835. First edition, 2 volumes, 8vo, 2 frontispieces, engraved titles, 10 plates & 1 folding map, contemporary half calf, morocco labels, plates darkened, map with short tear, RCSI stamp to title pages & 2 leaves of text, rubbed (5) £400-600 518 HE65/70 South America, Chile, Peru and Mexico, 8 volumes including La Condamine, C.M. A Succint Abridgment of a Voyage made within the Inland Parts of South America. London: E. Withers & G. Woodfall, 1747. 8vo, folding map, halftitle, late 19th century morocco-backed boards, light deletion from head of title, binding repaired, worn; Molina, J.I. The Geographical, Natural and Civil History of Chili. Middletown (Conn.), 1808. 2 volumes, 8vo, folding map, modern quarter brown morocco gilt, library stamp at head of title pages, occasional light spotting; Rengger & Longchamps, Messrs. The reign of Doctor Joseph Gaspard Roderick de Francia, in Paraguay. London, 1827. 8vo, contemporary half calf, somewhat spotted, rebacked retaining original spine; Conder, J. A Popular Description of Peru and Chile, [1830], 12mo, folding map and 3 plates, contemporary green half morocco; Hall, Basil Extracts from a Journal written on the Coasts of Chili, Peru and Mexico. Edinburgh, 1824. Second edition, 3 volumes, 8vo, folding map, modern quarter brown morocco; Depons, F. Travels in parts of South America in the years 1801-1804. London, 1806. 8vo, folding map & plan, early 20th century calf-backed boards, plan split at fold, short split to map, rubbed (8) £400-600 519 HD957/1 Spain - [Olavide Carrera, Juan] San Sebastian - el sito de 1813, historia de sus fortificationes. [N.p., 1913?] Folio, 29 loose, mounted plates, original blue cloth gilt, lacking ties, some dust-soiling to first few plates, a little spotting £100-200 520 HD610/3 Stanhope, Col. Leicester Greece in 1823 and 1824. London: Sherwood, Jones, 1824. First edition, 8vo, frontispiece and 6 folding or double-page engraved facsimiles, advertisements at end, original boards, uncut, Kern Public Library stamp to title, frontispiece verso, front endpaper, worn, slightly spotted, small repair to spine £200-300 521 SV730/69H Taylor & Skinner & Edinburgh Delineated, 2 volume: Taylor, G. and A. Skinner. Taylor & Skinner’s Survey and Maps of the Roads of North Britain, or Scotland. London: for the Authors, 1776. 8vo, engraved title, 61 maps on 31 folding sheets, folding index leaf, folding map of Scotland, contemporary calf, dusty at a few folds, one or two small tears (without loss), binding rubbed; Edinburgh Delineated comprising Fifty Views. Edinburgh, [n.d.]. 8vo, 50 engraved plates, original cloth gilt, slightly spotted, binding worn, spine loose (2) £200-300 522 No lot 523 HE110/4 Travel and Miscellaneous, 39 volumes, including Yearsley, M. The Folklore of Fairy-Tale. 1924; Enders, G.B. Nowhere Else in the World. 1936; Halliday, W.M. Potlatch and Totem. [n.d.]; Kaulback, R. Tibetan Trek. 1934; Yutang, L. My Country and my People. 1936; Irving, Washington Life of George Washington. 1855. 3 volumes, 8vo, half calf; Williams, S.B. Antique Blue and White Spode. 1943, 4to., dustwrapper; Greely, A.W. The Polar Regions in the Twentieth Century. 1929, binding damp-soiled; Clifton, V. The Book of Talbot. 1933; Yahuda. A.S. The Language of the Pentateuch. 1933, volume 1 (all published), most original cloth, some bindings faded or spotted; and 27 others (39) £200-300 Rare Books, Manuscripts, Maps & Photographs 97 524 HD568/4 Travel, 39 volumes, including Knox, John, publisher A New Collection of Voyages, Discoveries and Travels. London, 1767. 7 volumes, 8vo, contemporary calf, 37 (of 40) plates an maps only; Forbes, James D. Travels through the Alps of Savoy. Edinburgh, 1843. 8vo, original green cloth; Irving, Washington A History of the Life and Voyages of Christopher Columbus. London, 1828. 4 volumes, 8vo, modern quarter cloth; Walker Universal Atlas... London, 1820. 8vo, 26 (of 27) hand-coloured maps; and 22 others, sold not subject to return £300-500 525 HE43/3 Travel, especially Scottish, including Sandys Travels, containing an History of the original and present state of the Turkish Empire... London, 1673. Folio in sixes, lacking folding map and folding plate; Breval, J. Remarks on Several Parts of Europe. London, 1726. Folio, later cloth, volume 1 only; Pennant, Thomas [Tour of Scotland, part 1, 1772] 4to, volume 1 modern calf, lacking title-page; [Idem] A Tour in Scotland, part 2. London: Benjamin White, 1776. 4to, modern quarter calf over contemporary boards; [Idem] A Tour in Scotland and Voyage to the Hebrides... Chester: John Monk, 1774. 4to, uniform with part 2; Holinshead, Raphael The Scottish Chronicle... Arbroath, 1805. 2 volumes, 4to, modern half calf; Wilson, James A Voyage round the Coasts of Scotland... Edinburgh, 1842. 2 volumes, 8vo, contemporary half calf; Denholm, James The History of the City of Glasgow and Suburbs. Glasgow, 1804. Third edition, 8vo, later half calf; Chambers, Robert The Picture of Scotland. Edinburgh, 1828. 2 volumes, 8vo, modern quarter morocco; Drummond, William The History of Scotland... London, 1655. 4to, title-page laid-down; and 1 other, sold not subject to return (14) £400-500 526 HE65/83 Tristram, H.B. The Survey of Western Palestine. The Fauna and Flora of Palestine. London, 1884. First edition, 4to, presentation inscription from Arthur Wauchope [High Commissioner of Palestine] to H.W. Torrance, 20 lithographed plates, 13 hand-coloured, green half morocco, spine gilt, t.e.g., spotting to title-page £400-600 527 527 HE65/6 £300-400 528 SV753/126B Turkey - Dalvimart, Octavien The Costume of Turkey. London: William Miller, 1804. Folio, 60 handcoloured engraved plates, contemporary red morocco gilt, Drumpellier bookplate, g.e., a little offsetting, a few spots, very slight occasional soiling, rubbed Provenance: From the collection of the late Mrs Aldyth Cadoux £500-700 529 HE65/81 Turkey, 4 volumes, including Sykes, Mark The Caliphs’ Last Heritage. 1915. First edition, presentation copy to Mr Collitt, thanking him for collaboration in production of maps and plans, folding maps and plans (including 3 in pocket), plates, worn, hinges broken; Rawlinson, A. Adventures in the Near East 1918-1922. 1924. 8vo, plates, original cloth, spotting, worn; Lukach, H.C. The Fringe of the East. 1913. 8vo, plates, original pictorial blue cloth gilt; Herbert, A. Ben Kendim. 1924. 8vo, original cloth, head of spine worn (4) £150-250 530 HE65/53400-600 528 98 Lyon & Turnbull 531 HE65/63400-600 532 HE65/16500-600 533 HD610/12 Warwickshire - Dugdale, Sir William The Antiquities of Warwickshire. London: Thomas Warren, 1656. First edition, folio, title printed in red and black, engraved portrait frontispiece by W. Hollar, 5 double page maps, 11 engraved plates (6 double-page), numerous engravings in text (some full-page) by Hollar, errata leaf at end, eighteenth century panelled calf, gilt rule to sides, slight dampstaining, frontispiece laid down with small repair in corner, title slightly dust-soiled, neatly rebacked, spine gilt, corners rubbed £500-800 534 HE64/12 Wellsted, James Raymond Travels to the City of the Caliphs, along the Shores of the Persian Gulf and the Mediterranean. London: Henry Colburn, 1840. First edition, 2 volumes, 8vo, 2 lithographed frontispieces, folding map, contemporary green half calf, morocco labels, spines gilt, small repair to title verso, scattered spotting, slightly rubbed Note: Wellsted (1805-1842) was a 2nd Lieutenant and Surveyor aboard the ‘Palinurus’ which belonged to the East India Company Navy under Captain Moresby. This work and his earlier Travels in Arabia (1838) were the result of his travels in his naval capacity. £1,200-1,500 532 535 HE32/24 West, John The Substance of a Journal during a Residence at the Red River Colony. London: L.B. Seeley, 1824. First edition, 8vo, 3 engraved plates, roanbacked boards, rather spotted, very worn, upper board detached £150-250 533 Rare Books, Manuscripts, Maps & Photographs 99 534 536 536 HE65/64 Willyams, Cooper A Voyage up the Mediterranean in His Majesty’s Ship the Swiftsure, with a Description of the Battle of the Nile. London: J. White, 1802. First Edition, 4to., (288 x 228mm.), hand-coloured folding engraved chart, engraved dedication with hand-coloured coat of arms, 41 hand-coloured aquatint plates and plans, contemporary diced russia with gilt Greek-key border, rebacked retaining original boards, spine gilt, corners repaired, some offsetting, mostly from plates to text £1,000-1,500 END OF SALE 100 Lyon & Turnbull INDEX Albin, E., 257 Aldam, W.H., 395 Alighieri, D., 118 Alpheraky, S., 258 Amis, M., 119 Amundsen, R, 421, 422 Anderson, A.O., 91 Anderson, D., 346 Anson, G., 30 Arnold, T.W., 2 Arnot, H., 424 Ascham, R, 234 Asquith, H.H., 179 Atasoy, N., 284 Atkinson, J., 413 Bacon, F., 327 Baedeker, K., 425 Baker, S.W., 426 Banks, I., 153 Banks, I.M., 126 Barbour, J., 101 Barnes, J., 119 Barrie, J.M., 49 Barrow, I., 365 Barrow, J., 427 Barry, J., 180 Beaumont, F, 120 Belany, J.C., 400 Beneridge, E., 58 Berkeley, W.F., 102 Bernoulli, J., 366 Berthold, G., 428 Beveridge, E., 59 Bewick, T., 294 Blacker, W., 397 Blacklaw, B., 70 Blackwall, J., 260 Blaeu, W., 19 Blake, W, 351 Blakesley, J.W., 429 Bland, H., 184 Blixen, K., 122 Boccaccio, G., 123 Boisgelin de Kerdu, L. de, 480 Borelli, G.A., 367 Bossut, C., 368 Boswell, J., 124 Brandard, E.P., 459 Brassey, L., 430 Bree, C.R., 261 Brehm, A., 302 Breval, J., 525 Brinsley, J., 329 Broughton, 205 Brown, R.N.R., 499 Browne, J., 60 Browne, W.H., 20 Bruce, J, 431 Bruyant, J, 352 Brögger, W.C., 499 Buchan, J., 125 Buchanan, D., 63 Buchanan, J.L., 95 Buckingham, J.S., 432 Buffon, G.I., 262 Buffon, G.L.M., 408 Burckhardt, J.L., 433, 434 Burnet, G., 99, 330 Burroughs, W., 126 Burton, R., 331 Burton, R.F., 127-129, 435-439 Burton, W, 477 Burton, W., 440 Buttar, P., 65 Cabala, S.S., 332 Campbell, A., 92 Carrol, L., 38-43, 115, 231 Carroll, W., 398 Catton, C., 263 Chandler, R., 442 Clare, M., 369 Cockburn, H., 170 Cohausen, J, 237 Colquhoun, 399 Colquhoun, J., 65 Cook, J., 274 Cope, J., 182 Couch, J., 264, 265 Crabbe, G., 130 Creswell, K.A.C., 444 Culpeper, N., 266 Cumberland, Duke of, 185 Curzon, G.N., 445 D'Abville, N. S., 28 D'Auteroche, M., 504 D'Avesnes, P., 446 Dalvimart, O., 447, 448, 527, 528 Daniel, O., 297 Daniell, W., 449 Darling, G., 187 Darwin, B., 401 Darwin, C., 267, 268 de Castilla, Alfonso X, 392 de Comminges, R., 188 de la Mer, W., 131 Denon, D.V., 450 Dibdein, C., 451 Dibdin, T.F., 132 Dickens, C., 133, 134, 189 Dickson, R.W., 269 Dodgson, C, 7 Donovan, E., 270, 271 Doyle, A.C., 135 Drayton, M., 191 Dresser, C., 8 Dryden, J., 136 Du Buat, P.L.G., 367 Du Chaillu, P.B., 452 Dubois, J.A., 468 Dugdale, W., 533 Dundas, H. & R., 177 Edwards, G., 273 Edwards, L, 272 Egan, P., 240 Ellis, W., 454 Emerson, W., 370 Euclid, P., 371 Euler, L., 372, 373 Everard, H.S.C., 402 Faraday, M., 374 Farisol, A., 53 Fergusson, J, 455 Ferrier, J.P., 414 Fischbach, F., 6 Fittler, J., 456 Fleming, I., 139-141 Fletcher, J, 120 Forbes, J, 524 Forbes, J., 457 Forsahw, J.M., 276 Forshaw, J.M., 275, 304 Fraser, J., 216 Froude, J.A., 105 Galland, M., 423 Garden, F., 142 Gardenstone, 142 Garnett, T., 94, 458 Gaunt, M., 246 Geddes, J., 227 Geddes, P., 143 Gesner, C, 277 Gilbert, J., 355 Gillies, J., 71 Gilpin, W., 97 Gladwin, F., 460 Glanvill, J., 256 Gleneagles Hotel, 195 Godfrey, J, 459 Gordon, A., 72 Gordon, L., 181 Gordon, S., 93 Gould, R.F., 242 Graham, H.D., 235 Grant, A., 73, 462 Graves, G., 278 Gray, G.R., 279 Greene, G., 44 Greenwood, C. & J., 24 Gregory, D., 375 Grellmann, H.M.G., 243 Grimm, Brothers, 51 Grose, F., 463 Gross, A., 25 Guerin, V., 486 Haghe, C., 20 Hale, T., 280 Hall, J., 493 Hamilton, A., 197 Hariot, P., 306 Hazlitt, W., 232 Headrick, J., 74 Henderson, G., 75 Henty, G., 144 Herbert, J, 154 Herbert, T., 465 Hermann, J., 376 Hibbert, S., 516 Hill, J., 281 Hilton, H., 403 Hipkins, A.J., 250 Hooker, J.D., 282, 466 Howe, E.R.J.G., 9 Hoyland, J., 241 Hume, D., 335 Humphreys, H.N., 283 Irving, W., 145 James, C, 200 James, F.L., 471 Jardine, W., 285 Johnson, S, 472 Johnson, S., 146, 473 Johnston, H., 420 Johnstone, W.G., 286 Jones, W., 474 Joyce, J., 116 Kay, J., 244 Kaye, J.W., 415 Keill, J., 384 Kendrick, A.F., 11 Keppel, W.A., 186 Kerr, J., 404, 405 King, D., 443 Kirby, W.F., 295 La Condamine, C.M., 518 La Hare, J.F., 54 La Lande, J.J., 378 Laborde, Leon de, 409 Lagrange, J.L., 379, 380 Laing, A., 410 Lamart, L., 255 Lamb, C., 149 Lambert, C., 475 Lamond, H., 396 Langham, W., 381 Laplace, M., 378 Laplace, Marquis de, 382 Latham, J., 287 Laurie, R., 26 Lawrence, D.H., 147 Lawrence, T.E., 453, 476 Le Vaillant, F., 517 Leighton, C, 356 Little, J., 26 Lobo, J., 479 Lockhart, G., 22 Lord, H., 334 Louis XI, King of France, 201 Louis XVI, 202 Rare Books, Manuscripts, Maps & Photographs 101 Low, G., 512 Lowell, P., 383 Lucas, S.E., 4 Lucerne, F, 364 Lupton, D., 325 Luther, M, 339 Lysons, D, 441 MacCallum, D., 77 MacCulloch, J., 78 MacDiarmid, H., 203 MacDonald, A., 79-81 MacDonald, R., 82 MacFarlan, R., 83 Macfarlane, P., 84 MacGeorge, A., 461 MacGregor, J., 85 Machen, A., 152 MacIver, E., 75 MacKay, A., 86 MacKay, J., 62 Mackenzie of Coul, 204 MacKenzie, F., 87 Maclean, J.P., 64 Macnee, J, 104 Macpherson, J., 88 Maitland, W, 163, 509 Manning, O., 481 Martin, M., 482 Martin, R.M., 17 Masson, C., 412 Maugham, W.C., 406 Mayer, L, 483 McCarthy, J, 148 McEawn, I., 126 McIntyre North, C.N., 89 Meinertzhagen, R., 299 Mikkelsen, E., 499 Millais, J.G., 289 Miller, H., 150 Miller, T., 385 Milne, A.A., 45, 46 Milton, J., 151 Mirza Abu Taleb Khan, 488 Mitford, R.C.W., 416 Modena, Mary of, 206 Monardes, N., 489 Moncrieff, J., 386 Moncrieffs, S., 214 Morgan, E., 10 Moris, F.O., 291 Morris, F.O., 290, 292, 293, 298, 300, 441 Morris, M., 363 Morris, W., 358-363 Murray, A, 490 Murray, T., 108 Nansen, F., 499 Napoleon, 155 Newton, I., 387 Newton, J., 388 Nicolls, S., 28 Nimmo, G., 196 Noble, M., 248 Ogilby, J, 117 Ogilby, J., 491 Olavide Carrera, J., 519 Ortelius, A., 29 Ouseley, W., 496 Outram, J., 467 Overton, H., 28 Paine, T., 208, 341 Palgrave, W.G., 494 Pare, A., 389 Peary, R.E., 499 Pennant, T., 495 Penzer, N.M., 342 Percival, T., 390 Peterkin, A., 513 Pettigrew, T.J., 515 Picolo, F.M., 497 Playfair, R.L., 498 Potter, B., 47 Pottinger, H., 500 Pratt, A., 305 Priestley, J., 343 Princess Louise, Comtes d'Albany, 210 Ptolemy, C., 31 Pugin, A.W.N., 211 Purcell, H., 249 Purchas, S., 501 Rabelais, F., 55 Raby, J., 284 Rackham, A., 48-51 Raleigh, W., 109 Ramsay, A., 156, 164 Rankin, I., 157 Ridley, T., 344 Riley, J., 502 Roberts, D., 503 Rolfsen, N., 499 Rosenberg, P., 317, 318 Rowling, J.K., 52 Rundall, L.B., 254 Rushdie, S., 213 Rushworth, J, 110 Ruskin, J, 13 Ruskin, J., 353 Saddler, J, 459 Sale, F., 506 Sale, G., 338 Sanson d'Abbeville, N., 507 Sassoon, Sir E.V,, 4 Saunders, E., 259 Saxton, C., 21 Schmidel, D. C.C., 307 Schobert, F., 505 Schuyler, E., 508 Scott, W., 158-162, 510 Scrope, 399 Shakespeare, W., 245 Shaw, T. G., 252 Shaw, W., 96 Sheppard, H.W., 350 Sitwell, S., 308 Smeaton, J., 111 Smith, G, 348 Smith, G., 403 Smythies, B.E., 303 Soto, P. de, 57 Spark, J., 165 Speed, J, 112 Speed, J., 34 Stafford, E., 492 Stanhope, L., 520 Stephenson, J., 309 Stevenson, R.L., 166 Stoddart, J., 464 Story, R., 207 Strachan, J., 227 Straparola, G.F., 138 Strutt, J., 167 Stuart, C.E., 219-225 Stuart, J.F.E., 226 Sutherland, E., 492 Swift, G., 119 Sykes, M., 485, 529 Sykes, P., 417 Sylvester, C., 253 Szechenyi, Count Z., 419 Tarin, M., 393 Tate, G.P., 411 Taylor, G., 35, 521 Tennyson, A., 354 Terrey, W., 511 Thomas, D, 168 Thompson, F., 170 Thomson, C., 32 Thorburn, A., 310 Tolkien, J.R.R., 169 Tristram, H.B., 526 Trollope, A., 170 Tully, R., 478, 484 Tweddell, R., 530 Van de Velde, C.W.M., 487 Vardon, H., 407 Varley, J., 15 Vincent, W., 470 Visscher, N., 36 Wade, G., 230 Walker, J., 227 Wall, A., 322 Walsh, R., 531 Walsh, T., 532 Wardle, G, 193 Watkins, D.D., 323, 324 Wellington, A.W., 114 Wellsted, J.R., 534 West, J., 535 Williams, T., 171 Willmott, E., 311 Wills, W.G., 172 Willyams, C., 536 Wilson, A., 312, 313 Wodehouse, P.G., 173, 174 Wolf, J., 314 Wood, W., 233, 288 Wright, L., 315 Yarrell, W., 316 Yate, C.E., 418 Yearsley, M., 523 Yeats, W.B., 175 Young, C.G., 229 Young, T., 394 Rare Books, Manuscripts, Maps & Photographs Wednesday, 11th January, 2017 FURTHER ENTRIES ARE INVITED Muybridge, Eadweard Animal Locomotion. An Electro-Photographic Investigation of Consequetive Phases of Animal Movements 1872-1885. Philadelphia, 1887. Large oblong folio, 95 collotypes Enquiries Simon Vickers +44 (0131) 557 8844 simon.vickers@lyonandturnbull.com Cathy Marsden +44 (0131) 557 8844 cathy.marsden@lyonandturnbull.com 33 Broughton Place, Edinburgh EH1 3RR l +44 (0)131 557 8844 l Auction 09/30/16 [The Federalist Papers]. [Hamilton, Alexander; Madison, James; Jay, John]. The Federalist: A Collection of Essays Written in Favor of the New Constitution, as Agreed upon by the Federal Convention, September 17, 1787. New York: John and Andrew M’Lean, 1788. First edition. Benjamin Truesdale | 267.414.1247 btruesdale@freemansauction.com Fine Furniture & Works of Art Wednesday, 28th September, 2016 FRENCH GILT BRONZE MANTEL CLOCK SIGNED CHARLES BERTRAND, PARIS 18TH CENTURY 39cm high £2,000-3,000 Enquiries Douglas Girton +44 (0131) 557 8844 douglas.girton@lyonandturnbull.com Theodora Burrell +44 (0131) 557 8844 theo.burrell@lyonandturnbull.com 33 Broughton Place, Edinburgh EH1 3RR l +44 (0)131 557 8844 l Decorative Arts: Design since 1860 Wednesday, 26th October, 2016 JESSIE M. KING (1875-1949) 'KNIGHTS AND LADIES' pen and Indian ink on vellum, signed lower left JESSIE M. KING 25cm x 17cm £2,000-3,000 Enquiries John Mackie +44 (0131) 557 8844 john.mackie@lyonandturnbull.com 33 Broughton Place, Edinburgh EH1 3RR l +44 (0)131 557 8844 l Select Jewellery & Watches 6pm, Tuesday, 6th December, 2016 The Lighthouse, Mitchell Lane, Glasgow We are pleased to announce that this will be our first Select Jewellery & Watches auction to be held in Glasgow FURTHER ENTRIES ARE INVITED Enquiries Ruth Davis +44 (0)131 557 8844 ruth.davis@lyonandturnbull.com Trevor Kyle +44 (0)131 557 8844 trevor.kyle@lyonandturnbull.com Scottish Paintings & Sculpture Thursday, 8th December, 2016 EDWARD ARTHUR WALTON R.S.A., P.R.S.W., H.R.W.S. (SCOTTISH 1860-1922) THE YOUNG FISHERMAN Signed and dated '85, watercolour Enquiries Nick Curnow +44 (0131) 557 8844 nick.curnow@lyonandturnbull.com 36.5cm x 30.5cm (14.5in x 12in) £6,000-8,000 International Director Lee Young Furniture, Clocks & Works of Art Douglas Girton John Mackie Theo Burrell Hannah Willetts Directors Campbell Armour Trevor Kyle John Mackie Mhairi McFadden Asian Works of Art Lee Young Ling Zhu Anna Westin (consultant) Danielle Beilby Associate Director Alex Dove Rugs & Carpets Gavin Strang Managing Director Gavin Strang Decorative Arts: Design from 1860 John Mackie Theo Burrell European Ceramics & Glass Douglas Girton John Mackie Theo Burrell Rare Books, Maps, Manuscripts & Photographs Simon Vickers Cathy Marsden Arms & Armour Colin Fraser (consultant) John Batty (consultant) Business Development Jewellery, Silver, Coins & Medals Trevor Kyle Ruth Davis Kier Mulholland Colin Fraser (consultant) Paul Roberts Ian Peter MacDonald James McNaught Iain Gale John Sibbald John Thomson Tessa Thomson Charlotte Rostek 182 Bath Street Glasgow G2 4HG Tel +44 (0)141 333 1992 Fax +44 (0)141 332 8240 78 Pall Mall London SW1Y 5ES Tel +44 (0)20 7930 9115 Fax +44 (0)20 7930 7274 Locations 33 Broughton Place Edinburgh EH1 3RR Tel +44 (0)131 557 8844 Fax +44 (0)131 557 8668 w ww.l y ona ndt urnbul l . c o m30).. . % is payable on the first £50,000 of the hammer price, 20% thereafter. VAT at the appropriate rate is charged on the Buyer's Premium. No VAT is payable on the hammer price or premium for printed books or unframed maps bought at auction. Live online bidding is subject to an additional 3% premium (charged by the live bidding service provider Invaluable). This additional premium is subject to VAT at the appropriate rate as above.. 7.. 8. PAYMENT (1) Within 7 days of a lot being sold you will: (a) Pay to us the total amount due in cash or by such other method as is agreed by us. We accept cash, bank transfer (details on request), debit cards and Visa or MasterCard credit cards. We do not accept American Express. (b) Please note there is a surcharge of 2% when using credit cards. (c) Please note that under The Money Laundering Regulations 2007 we cannot accept cash payments over €15,000 (euros). (2) Any payments by you to us may be applied by us towards any sums owing by you to us howsoever incurred and without agreement by you or your agent, whether express or implied... 10..satisfied.... 16. Nick Curnow at 33 Broughton Place, Edinburgh EH1 3RR, quoting the reference number specified at the beginning of the sale catalogue. . (d) Should any provision of these Conditions of Sale be held unenforceable for any reason, the remaining provisions shall remain in full force and effect. (7). (f) The contract between the parties may be varied by the parties by agreement and in writing. 12... (e) These Conditions of Sale are not assignable by either party without the other's prior written consent. No act, omission or delay by Lyon & Turnbull shall be deemed a waiver or release of any of its rights. €15,000 (euros). © Lyon & Turnbull Ltd. 2016. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system or transmitted by any form or by any means without the prior written permission of Lyon & Turnbull Ltd. L&T 31 August Books - cover.qxp_L&T MASTER COVER 02/08/2016 13:21 Page 2 L Published on Aug 11, 2016
https://issuu.com/lyonandturnbullauctioneers/docs/476
CC-MAIN-2019-30
refinedweb
45,118
64.2
the weight, height, abilities and category of the pokémon. Setting up the component As usual, the first thing we’ll to do is to generate a new component that will contain the ability info. To do that with Angular CLI we use the following command: ng g component pokemon-info/pokemon-ability-info To pass the PokemonAbilityInfo to this component, we’ll have to add a new @Input to our component: @Input() info: PokemonAbilityInfo; Now that we can retrieve the ability info, it’s time to implement the template: <div class="card-panel blue-grey lighten-1"> <div class="row"> <div class="col s6"> <dl> <dt class="white-text">Height</dt> <dd class="black-text">{{info?.height}}</dd> </dl> <dl> <dt class="white-text">Weight</dt> <dd class="black-text">{{info?.weight}}</dd> </dl> </div> <div class="col s6"> <dl> <dt class="white-text">Category</dt> <dd class="black-text">{{info?.category}}</dd> </dl> <dl> <dt class="white-text">Abilities</dt> <dd class="black-text capitalize" *{{ability?.name}}</dd> </dl> </div> </div> </div> Most of this is pretty simple. We use template expressions to show the height, weight and category of the pokémon. Since this data will not be available immediately, we’ll have to use the elvis operator (the question mark between info and weight for example). This guarantees that we won’t get any errors when info is null and info.height would throw an error. I also wrote some CSS to properly format the data. To apply these CSS rules to our component, we can edit pokemon-ability-info.component.css: dd { margin-left: 0; } dt { font-weight: 200; font-size: 1.2em; } Now we can open pokemon-info.component.html and use the component: <div class="row"> <div class="col s6"> <app-pokemon-entry [pokemon]="pokemon?.baseInfo" [withLink]="false"></app-pokemon-entry> </div> <div class="col s6"> <!-- New --> <app-pokemon-ability-info [info]="pokemon?.abilityInfo"></app-pokemon-ability-info> </div> </div> If we open the application and look at the details of a pokémon, we can see that the component is working fine already. However, I have one issue with this component right now. The height and weight are just some numbers, but what are they? Meters? Centimeters? Inches? Kilogram? Pound? After digging a bit further into the PokéAPI, I’ve found out that the correct units are decimeter for the height and hectogram for the weight. These are not our every day units, at least, I don’t use them often. If I take a look at most Pokédexes, the height is usually expressed in feet and inches, while the weight is usually expressed in pounds. Even though I’m used to the metrics system, let’s use it anyways! Generating a pipe Now, to transform data to something else, Angular has pipes. Pipes can be used for various things, and can be used on simple values, objects, observables, arrays, … . In fact, in my article about writing a pagination component we already used the async pipe. Now, to generate a pipe, we can use the following command with Angular CLI: ng g pipe shared/metrics/feet However, to do that we have to created the app/shared/metrics folder first. After that, we’ll get two files, being feet.pipe.ts that will contain our actual pipe and feet.pipe.spec.ts for unit testing. Now, a pipe is pretty simple and has only one function, a function that takes the input and some parameters, and returns the result. In our case the input will be the height and the result will be a string such as 1’23”. I’m also going to use the parameters to tell this pipe in which unit our data is currently present. Converting decimeters into feet First of all I’m going to add some private fields that will help me with the conversion. For this example I created three fields: private _types = { 'cm': 0.01, 'dm': 0.1, 'm': 1 }; private _feetPerMeter: number = 3.28084; private _inchesPerFeet: number = 12; The _types field will allow me to convert any unit back to meters. So, for example, if the type we pass is “dm” or decimeter, we’ll multiply it with the specific type for that unit, in this case 0.1. After that, we can multiply it with _feetPerMeter to know how many feet there are. However, most likely, this will result in a number with a fraction. Now, we want to retrieve this fraction, and multiply it with _inchesPerFeet to actually convert that into inches. Now, first of all let’s create a function called getMeters(): getMeters(value: number, type: string): number { let conversion = this._types[type]; if (conversion == null) { throw new Error('Could not find type'); } else { return value * conversion; } } This function will return the amount of meters for that given number and type. If the type was not found, we will throw an error. Now, within the transform() function we can now use this function: transform(value: number, type: string): string { let meters = this.getMeters(value, type), feet = meters * this._feetPerMeter, roundedFeet = Math.floor(feet), inches = Math.round((feet - roundedFeet) * this._inchesPerFeet); return `${roundedFeet}' ${_.padStart(inches.toString(), 2, '0')}"`; } So, first of all we call the getMeters() function, then we calculate the feet and roundedFeet by rounding down feet. By substracting the roundedFeet from the feet, we actually get the fraction part, so we can multiply that by this_inchesPerFeet to actually get the value in inches as well. After that, we also use Lodash to pad the string with zeroes using _.padStart(). However, to use Lodash within TypeScript, we have to import it as well: import * as _ from 'lodash'; Now, to use the pipe we have to change our template a bit (pokemon-ability-info.component.html): <dl> <dt class="white-text">Height</dt> <dd class="black-text">{{info?.height | feet:'dm'}}</dd> </dl> Rather than just using {{info?.height}}, we’re now applying the pipeline symbol ( |), followed by the name of the filter. If we want to specify any arguments, we have to use a colon ( :) followed by the arguments, in this case the unit of the data. If we look at our application now, we can see that the height looks a lot cleaner now: Implementing a pipe to get the weight in pound Similar to before, we can also write a pipe for the weight. To do that, we generate another pipe: ng g pipe shared/metrics/pound So, again, I’m going to create some fields to help me with converting the data: private _types = {'cg': 0.01, 'dg': 0.1, 'g': 1, 'dag': 10, 'hg': 100, 'kg': 1000}; private _poundPerGram: number = 0.00220462; This time I’m going to use two parameters for my pipe, one with the type, similar to before, and another one mentioning to how many decimals we want to round. To do that, we simply have to use the following structure: transform(value: number, type: string, decimals: number): string { return null; } Like before, the next step is to define a function called getGrams() that converts the value to gram: getGrams(value: number, type: string): number { let conversion = this._types[type]; if (conversion == null) { throw new Error('Could not find type'); } else { return value * conversion; } } The next step is to implement the transform() function: transform(value: number, type: string, decimals: number): string { let grams = this.getGrams(value, type), pounds = grams * this._poundPerGram; return `${pounds.toFixed(1)} lbs`; } To apply this filter, we have to change the pokemon-ability-info.component.html template a bit: <dl> <dt class="white-text">Weight</dt> <dd class="black-text">{{info?.weight | pound:'hg':1}}</dd> </dl> If we take a look at our application now, we can see that the weight looks a lot better now as well: To compare with the original pokédex I also took a look at Pikachu: Looks like he still has the same height, but he gained 0.2 pounds in weight! Stop feeding him! Next time we’ll define even more components, starting with the game description info, which we’ll animate! Why? Because we can!
http://g00glen00b.be/implementing-pipes-angular-2/
CC-MAIN-2017-26
refinedweb
1,354
55.95
inet_ntop, inet_pton — convert Internet addresses between presentation and network formats #include <sys/socket.h> #include <arpa/inet.h> const char * inet_ntop(int af, const void * restrict src, char * restrict dst, socklen_t size); int inet_pton(int af, const char * restrict src, void * restrict dst); to presentation format. It returns NULL if a system error occurs (in which case, errno will have been set), or it returns a pointer to the destination string. All Internet addresses are returned in network order (bytes ordered from left to right). Values must be specified using the standard dot notation: a.b.c.d All four parts must be decimal numbers between 0 and 255, inclusive, and are assigned, from left to right, to the four bytes of an Internet address. Note that when an Internet address is viewed as a 32-bit integer quantity on a system that uses little-endian byte order (such as AMD64 or ARM processors) the bytes referred to above appear as “ d.c.b.a”. That is, little-endian bytes are ordered from right to left. 0:0:0:0:0:0:13.1.68.3 0:0:0:0:0:FFFF:129.144.52.38 or in compressed form: ::13.1.68.3 ::FFFF:129.144.52.38 gethostbyname(3), inet_addr(3), inet_net_ntop(3), hosts(5) The inet_ntop and inet_pton functions conform to the IETF IPv6 BSD API and address formatting specifications, as well as IEEE Std 1003.1-2008 (“POSIX.1”). The inet_pton and inet_ntop functions appeared in BIND 4.9.4. Note that inet_pton does not accept 1-, 2-, or 3-part dotted addresses; all four parts must be specified and must be in decimal (and not octal or hexadecimal)..
https://man.openbsd.org/OpenBSD-7.0/inet_pton.3
CC-MAIN-2022-27
refinedweb
283
53.31
5 Ways to Get Resources in EJB 3 1. Use resource injection with runtime info mapping. For example, package com.foo.ejb;You don't need import javax.ejb.Remote; @Remote public interface ResourceRemote { public void hello(); } package com.foo.ejb; import javax.annotation.Resource; import javax.ejb.Stateless; import javax.sql.DataSource; @Stateless public class ResourceBean implements ResourceRemote { @Resource(name="jdbc/employee") private DataSource employeeDataSource; ejb-jar.xml. For portable applications, you will need appserver-specific deployment plan to map the logical name (jdbc/employee) to the actual DataSource configured in the target runtime environment. For JavaEE SDK 5, Glassfish, and Sun Java System Application Server 9, it's sun-ejb-jar.xml: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE sun-ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 9.0 EJB 3.0//EN" ""> <sun-ejb-jar> <enterprise-beans> <ejb> <ejb-name>ResourceBean</ejb-name> <jndi-name>ResourceBean</jndi-name> <resource-ref> <res-ref-name>jdbc/employee</res-ref-name> <jndi-name>jdbc/__default</jndi-name> </resource-ref> </ejb> </enterprise-beans> </sun-ejb-jar> 2. Non-portable applications don't even need this appserver-specific deployment plan; they can just use mappedName() field in @Resource: @StatelessIf application portability is not a big concern, you don't need any descriptor in this example. mappedName() field maps the logical name jdbc/employee to its counterpart (jdbc/__default) in the target runtime server environment. Be aware that application servers are not required by JavaEE platform to support mappedName() field. So it may cause trouble when you later try to migration your applications to another appserver. Glassfish, JavaEE SDK, and SJSAS 9 support mappedName(). public class ResourceBean implements ResourceRemote { @Resource(name="jdbc/employee", mappedName="jdbc/__default") private DataSource employeeDataSource; 3. Yet another option is to use default mapping rules in some application servers, without using runtime deployment plan. This is not portable either and some appservers may not have this functionality at all. In Glassfish, JavaEE SDK, and SJSAS 9, basically if resource logical name (without prefix) is the same as its physical name, then they are mapped together even without sun-ejb-jar.xml. For example, @StatelessYou don't need any descriptor, and it just works thanks to the default resource mapping. public class ResourceBean implements ResourceRemote { @Resource(name="jdbc/__default") private DataSource defaultDataSource; 4. Use EJBContext.lookup(String name), a new convenience method in EJB 3. The name parameter is relative to java:comp/env. For example, package com.foo.ejb;ejb-jar.xml is needed to declare this resource reference. Appserver-specific deployment plan is also needed for mapping, unless you use the default mapping mechanism above. import java.sql.Connection; import java.sql.SQLException; import javax.annotation.Resource; import javax.ejb.Stateless; import javax.sql.DataSource; @Stateless public class ResourceBean implements ResourceRemote { public void hello() { DataSource employeeDataSource = (DataSource) sctx.lookup("jdbc/employee"); try { Connection conn = employeeDataSource.getConnection(); } catch(SQLException ex) { ex.printStackTrace(); } } <?xml version="1.0" encoding="UTF-8"?>sun-ejb-jar.xml is the same as in listing 1. <ejb-jar xmlns="" xmlns:xsi="" metadata-complete="false" version="3.0" xsi: <enterprise-beans> <session> <ejb-name>ResourceBean</ejb-name> <resource-ref> <res-ref-name>jdbc/employee</res-ref-name> <res-type>javax.sql.DataSource</res-type> </resource-ref> </session> </enterprise-beans> </ejb-jar> 5. Use traditional JNDI lookup. This approach is basically the same as EJBContext.lookup(String name), except that JNDI lookup requires more lines of code, and uses an absolute reference name starting with java:comp/envor java:comp/ @StatelessYou need to declare this resource reference in ejb-jar.xml, and map it in sun-ejb-jar.xml, the same as in listing 4. public class ResourceBean implements ResourceRemote { @Resource private SessionContext sctx; public void hello() { DataSource ds = null; try { InitialContext ic = new InitialContext(); ds = (DataSource) ic.lookup("java:comp/env/jdbc/employee"); } catch (NamingException ex){ throw new IllegalStateException(ex); } try { Connection conn = ds.getConnection(); } catch(SQLException ex) { throw new IllegalStateException(ex); } } The biggest annoyance in JNDI lookup is that I have to try-catch javax.naming.NamingException, a checked exception. Since it's a low-level exception, it's not appropriate to just further throw it out. Probably for this reason, EJBContext.lookup(String name) just throws java.lang.IllegalArgumentException if name not found. 70 comments: I am using the @Resource(name="examplebean") and I have added reference in the web.xml. I am still having issues with calling my local session bean from a jsp page. I get the following error. java.lang.ClassCastException: com.sun.enterprise.naming.SerialContext Any thoughts? Regards, Ram Hi Ram, If you want to inject EJB, use @EJB instead of @Resource. You cannot use @Resource to inject EJB references. You cannot inject anything into JSP pages. You can inject EJB and/or resources into Servlet classes, Servlet listener classes, JSF beans. You can inject examplebean into a servlet, and then look up this ejb reference in a jsp page that is in the same webapp as the servlet: context.lookup("java:comp/env/examplebean"); Thanks for this detail example code on this topic, it's been a great help to me!!!! yes,You cannot inject anything into JSP pages. You can inject EJB and/or resources into Generic Viagra,Kamagra,Lovegra Online Servlet classes, Servlet listener classes, JSF beans. Your summarization is very much appreciated. Finding the same information by going over the Java EE specifications would not have been as easy I love all the posts, I really enjoyed, I would like more information about this, because it is very nice., Thanks for sharing. Friv Friv 10000 I would like to say that this article really convinced me, you give me best information! Y8 Friv 3 you always bring everyone the most interesting and useful, I like it all, thank you. Friv 4 Friv 5 Friv 100 Happy Wheels This was a really great contest and hopefully I can attend the next one. It was alot of fun and I really enjoyed love all the posts, I really enjoyed, I would like more information about this, because it is very nice., Thanks I Discovered Many new things from your article. Thank you for this! Friv Game Friv Love your blog!! Why don't you blog anymore :( I miss your blog. Wahhh fireboy and watergirl Geometry Dash This is the story that I never read about Roy Gilchrist. Thanks for sharing interesting information about him Earn To Die | Big Farm | Slitherio Tank Trouble | Happy Wheels Goodgame Eepire | Slither.io You want to relax after a stressful working hours. Refer to our website. Hope you get the most comfort. Thanks for sharing !Y8 arcade You'd have time to look these kids active. Please visit our website and let us play the game interesting. Thanks for sharing ! Happy Wheels | Five Nights at Freddy’s | Friv.com | Kizi 4 Good job. All of them are Useful! .. Y8Y8Y8 Thanks for the share loved reading the article, please do share more like this wiht us . Cookie Clicker Cookie Clicker play Cookie Clicker game Cookie Clicker online Kizi 100 le ofrece sólo lo mejor te escojan juegos en línea gratis. Play all the top rated friv4school, friv flash games today. Great information, I will tweet to my friends to get them to check it out. keep it up. Thanks for sharing!.If have a long time than visit to: minecraft | facebook baixar | whatsapp baixar | baixar facebook | photo grid great article, I was very impressed about it, wish you would have stayed next share happy wheels Thanks a lot! It is definitely an terrific internet site! Friv 2 Friv 4 Friv 3 you'd have time to look these kids active. Please visit our website and let us play the game interesting. A10 Friv Friv 10 Y6 Interesting article! Thank you for sharing them! I hope you will continue to have similar posts to share with everyone! slither io Interesting article! Thank you for sharing them! I hope you will continue to have similar posts to share with everyone! I believe a lot of people will be surprised to read this article! bloons tower defense 5 Code is good. Code is good. Y8 Kizi Thank you for sharing them! I hope you will continue to have similar posts to share with everyone! abcya it's so simple yet beautiful! I believe evryone will thank us for your post! bloxorz Thank you for such a sweet tutorial - all this time later, I've found it and love the end result. I appreciate the time you spent sharing your skills. Papa Louie 2 Run 3 | Stick Run 2 unblocked games | Potty Racers 3 I have been thinking for quite a long time that finding resources in EJB 3 was a difficult task but after reading carefully the shared 5 Ways to Get Resources in EJB 3, I have discovered that the procedure is not complex as I had presumed. Thanks for sharing such an insightful piece of work. I will be sharing this information with our professional writers who offer Critical Lit Review Analysis Aid. Thanks for your great post.I like what your blog stands for.I'm a freelance computer programmer. You can play games online my website. Friv 3000 Friv 4000 I have been thinking of working with Sun Java beans to implement EJB but I haven't yet got a reliable source of reference.The resources in Java Beans are sometimes confusing to use and with such a guide, programming will be made easier. I am passionate to learn about these EJB 3 resources. Music school admittance essay the funny y8 games online for school on y8y8y8.games ! Thanks for taking the time to share this GOOD ARTICLE. KEEP WRITING.. original content on the site.! GamesBX.com
http://javahowto.blogspot.com/2006/06/5-ways-to-get-resources-in-ejb-3.html
CC-MAIN-2018-47
refinedweb
1,627
51.75
any small pushes how should I approach this will be helpful thanks in advance problem is not within the code thing is I wanted to go not to destroy and istantiate a new GO at all but as soon as I moved to figureing what kind of GO are actually falsed I figured out I'm already destroying a GO so doing all complex for nothing problem is the first one might never get falsed and the last one will or the other way around this are not bullets but bricks or what ever that are false ONLY when player picks them up yes this works smoothly and all but I think it's even less effective than just destroying a GO and instantiating new one using UnityEngine; using System.Collections; using System.Collections.Generic; // TRAINING PURPOSES ONLY public class Pooling : MonoBehaviour { public GameObject prefab ; public List<GameObject> ActiveCopy ; public List<GameObject> DeactiveCopy ; public float time = 0; public float time1 = 0; public float timeremaining = 0.1f ; public bool NewOne = false ; void Update (){ if (! NewOne){ time = Time.time ; NewOne = true ; } time1 = Time.time ; if ((time1 - time) > timeremaining){ ActiveCopy.Add(prefab); ActiveCopy[ActiveCopy.Count-1] = Instantiate( ActiveCopy[ActiveCopy.Count-1] ) as GameObject; ActiveCopy[ActiveCopy.Count-1].transform.position = transform.position ; ActiveCopy[ActiveCopy.Count-1].transform.parent = transform ; Deactivate(ActiveCopy.Count-1); NewOne = false ; } } void Deactivate (int Count) { ActiveCopy[Count].SetActive(false) ; DeactiveCopy.Add(ActiveCopy[Count]) ; ActiveCopy.Remove(ActiveCopy[Count]) ; } } I didn't create with public GameObject[] Copy because every time I do than Copy = new GameObject[(IncreasedNumber)] all GO are simply deleted within Copy and Copy does not contain them any longer while they exist in scene and I can't track them I thinked a bit more and heard some times about taggs I don't even know how does tagging work all I want is find the object that's false it doesn't matter first false or last false one but defenally I don't want to pick up the true one they will not get false over time but randomely by player when player picks it up If I'm reading your code correctly it looks like your are setting every object to SetActive(false) right when they are instantiated. Is there a reason for this? Maybe I don't understand what you are trying to accomplish. am yes I'm just setting them to false right away I didn't want to bother with 20 more lines of code for learning purposies but the thing is when I want to create them false can change in future but the problem is I'm looking from wrong angle as I need to destroy/create new GO again just to make sure all destroyed are in 1 place so I don't need to search for them when creating later (yeah didn't even went that far with code because I'm at wrong angle already) and searching through web for solution I was thinking somehow tagging but I have no knowledge about tagging I could get in a few ifs for that function or when that functon is called (when player clicks on object) but all that is already done and don't need to focus there I'm focusing not to making a garbage collection work too much I think there may be a bit lost in translation here. When you say "destroyed" you mean you've SetActive(false)? Not actually destroyed the GO but simply deactivated it? And when you reference an index in DeactiveCopy like: DeactiveCopy[index] it returns a NULL value? yes when I give ActiveCopy.Remove(ActiveCopy[Count]) ; is same as I'm doing destroy GO isn't it? (not as a code GO still exists but garbage collector) and when I got there I said Oh I actually achieved nothing this script is learning purpose how not to destroy a GO but heaving a pool atm I'm destroying GO with other scripts not this one I was thinking giving it to different array so I could easily find falsed ones and when I saw what I've done I saw I need different aproach and for this aproach I'm asking you guys I don't have a clue Ah so you don't want to have to use DeactiveCopy at all then? So you want one array with "Active" and "Deactive" GameObjects but be able to determine which ones within are active and which ones are not? Answer by theundergod · Feb 24, 2013 at 01:25 AM First instantiate your objects and put them in the list however you'd like. Example: List<GameObject> gameObjects = new List<GameObject>(); //instantiate 20 GameObjects and set every other one to inactive for(int x = 0; x < 20; x++) { //add an instantiated GameObject gameObjects.Add((GameObject)Instantiate (prefab, prefab.transform.position, prefab.transform.rotation)); //if a round number then set that object to inactive if(x%2 == 0) { gameObjects[x].active = false; } } There are a couple ways to find the inactive objects 1 - Loop through and check the Active state. foreach(GameObject go in gameObjects) { if(go.active) { //do something with the active GameObject } else { //do something with the inactive GameObject } } 2- Using Linq in C# IEnumerable<GameObject> inactiveGameObjects = System.Linq.Enumerable.Where(gameObjects, n => n.active == false); foreach(GameObject go in inactiveGameObjects) { Debug.Log(go.name); } 3- Using Tags in Unity Set the GameObjects tag by using yourObject.tag = "TagName"; Then get all GameObjects with tag "TagName" using GameObject[] inactiveGameObjects = GameObject.FindGameObjectsWithTag("TagName"); Be sure to add the Tag in the Tag/Layer editor in Unity or Unity won't recognize it as a valid tag. I'll update in a second with more concise code if you'd like. am are 1 and 2. separate and not 1 for another if so can you explain more about 2. one? I didn't have in mind to loop through all objects There are many ways to accomplish this but if you'd like to learn more about Linq check out this reference: In order to understand the n => n.active = false I would recommend looking at Lambda expressions can be very powerful although I think we may be getting way out of scope of your particular exercise. Ah I was going a little overboard then. If you definitely want to use tags you can simply set the tag using Then use Then cycle through the inactiveGameObjects. Pooling Efficiency Transform vs gameObject 0 Answers How to find all GameObjects in a parent in shorter code than I figured out 1 Answer Distribute terrain in zones 3 Answers How can I LERP the X position to the X position of the player 2 Answers Multiple Cars not working 1 Answer
https://answers.unity.com/questions/405045/go-pool-heaving-difficulties-getting-a-pool-at-all.html
CC-MAIN-2019-47
refinedweb
1,125
55.47
‘%S’\r\n”, command); CloseHandle(pi.hProcess); CloseHandle(pi.hThread); } DWORD size = _countof(command); GetDefaultPrinter(command, & size); printf(“ Default printer: ‘(‘%S’)\r\n”, hWnd, hChild, command); // Press Print button SendMessage (hChild, WM_IME_KEYDOWN, ‘P’, 0); printf(“\r\nWaiting for File Save dialog box\r\n”); Sleep(5 * 1000); //”); GetWindowText(hChild, command, _countof(command)); printf(“ hwnd = %p %p(‘%S’)\r\n”, hWnd, hChild, command); // Press Save button SendMessage (hChild, WM_IME_KEYDOWN, ‘S’, 0); printf(“\r\nSaving to ‘: Here is how this routine can be called: PrintHTML(L“”, L“c:\\fyuan.xps”); prefix="o" ?> The code will generate enough logging information for you to see if things are working or not: The code will generate enough logging information for you to see if things are working or not: Starting ‘rundll32.exe mshtml.dll,PrintHTML “”‘ Starting ‘rundll32.exe mshtml.dll,PrintHTML “”‘ Default printer: ‘Microsoft XPS Document Writer’ Default printer: ‘Microsoft XPS Document Writer’ Waiting for Print dialog box hwnd = 0021075C 002B0754(‘&Print’) Waiting for File Save dialog box hwnd = 001E04A2 00260B72 hwnd = 001E04A2 002D0BA6(‘&Save’) Saving to ‘c:. PingBack from Hi Feng, Would it be possible to use the System.Printing namespace to print XPS documents? I was thinking that perhaps using it to print would be shorter. Best regards hii Feng, Would it be possible to write a code which will just take the path from a location suppose "C:himanshuprinthtml.htm" and print a html file for me . if that so than please help me out Will the above code work in international builds of window? It is searching for specific english strings (e.g. "Save the file as", and "Print"). This is a terrible solution. Nothing more than a hack. What if the user has another save as box already open? What if the user is using an international version? You dont even make sure the save as window is a child of the process that you ran. Thanks to your doc, it helped me a lot but… How can I print a pdf document without user interaction ? Thank you very much poor Jerry, saw your name again… the first time i read that page is very helpful for me. But can i ask 1 more question. How to make that C code above can install to IE. So i can use javascript or jsp to print a html page Thank in advance This is great information. Thank you for doing this. I got a mail overnight asking about ways to automatically generate XPS from applications, specifically Hello Feng, Would you suggest a solution without the UI hacking? Appreciate, Hi Feng Would Like to ask you one doubt? Can the xps document created from same file have different sizes on different machines? I am getting it, not sure its bug or thats the way it behaves? @Anuradha – see my answer to your post on the XPS forum. Convert2XPS provides a way to convert or print documents to an XPS file without faking the click on the print dialog. It uses a collection of converters and a custom XPS printer driver to provide a conprehensive conversion suite. Takes just 1 line of code. The mshtml.dll,PrintHTML is okay, but the output isn’t as good as the results obtained by printing normally through IE8. For example, I have an HTML file with a long table that includes <thead> and <tfoot> sections that I’d like to see repeated at the top and bottom of each page. IE8 produces the desired result (a multi-page table with the table header and footer table sections repeated on each page), but the mshtml.dll,PrintHTML method doesn’t repeat the header or footer table sections. What gives? Sorry but I don’t share most of these ideas. web page can be printed without user interaction Can the xps work with the designjet printers. I have a Vista operating system that they didn’t do drivers for Vista. How can I install this. Lindsey What do you need to do to get this to work on Windows7 64 bit? It finds the print button ok but the hChild's come at as all 00000000…'s when looking for ComboBoxEx32, ComboBox and Edit. I think it's not stable & must use this app to print, other application cannot
https://blogs.msdn.microsoft.com/fyuan/2007/02/24/printing-documents-to-microsoft-xps-document-writer-without-user-interaction/
CC-MAIN-2016-30
refinedweb
711
72.87
Presser, Konstantin Makovsky 1900 Table of Contents Introduction Since the release of Python’s type hints in 2014, people have been working on adopting them into their codebase. We’re now at a point where I’d gamely estimate that about 20-30% of Python 3 codebases are using hints (also sometimes called annotations). Over the past year, I’ve been seeing them pop up in more and more books and tutorials. Actually, now I'm curious - if you actively develop in Python 3, are you using type annotations/hints in your code?— Vicki Boykis (@vboykis) May 14, 2019 Here’s the canonical example of what code looks like with type hints. Code before type hints: def greeting(name): return 'Hello ' + name Code after hints: def greeting(name: str) -> str: return 'Hello ' + name The boilerplate format for hints is typically: def function(variable: input_type) -> return_type: pass However, there’s still a lot of confusion around what they are (and what they’re even called - are they hints or annotations? For the sake of this article, I’ll call them hints), and how they can benefit your code base. When I started to investigate and weigh whether type hints made sense for me to use, I became super confused. So, like I usually do with things I don’t understand, I decided to dig in further, and am hopeful that this post will be just as helpful for others. As usual, if you see something and want to comment, feel free to submit a pull request. How Computers Build Our Code To understand what the Python core developers are trying to do here with type hints, let’s go down a couple levels from Python, and get a better understanding of how computers and programming languages work in general. Programming languages, at their core, are a way of doing things to data using the CPU, and storing both the input and output in memory. The CPU is pretty stupid. It can do really powerful stuff, but it only understands machine language, which, at its core, is electricity. A representation of machine language is 1s and 0s. To get to those 1s and 0s, we need to move from our high-level, to low-level language. This is where compiled and interepreted languages come in. When languages are either compiled or executed (python is executed via interpreter), the code is turned into lower-level machine code that tells the lower-level components of the computer i.e. the hardware, what to do. There are a couple ways to translate your code into machine-legible code: you can either build a binary and have a compiler translate it (C++, Go, Rust, etc.), or run the code directly and have the interpreter do it. The latter is how Python (and PHP, Ruby,and similar “scripting” languages) works. How does the hardware know how to store those 0s and 1s in memory? The software, our code, needs to tell it how to allocate memory for that data. What kind of data? That’s dicated by the language’s choice of data types. Every language has data types. They’re usually one of the first things you learn when you learn how to program. You might see a tutorial like this (from Allen Downey’s excellent book, “Think Like a Computer Scientist.”),that talks about what they are. Simply put, they’re different ways of representing data laid out in memory. There are strings, integers, and many more, depending on which language you use. For example, Python’s basic data types include: int, float, complex str bytes tuple frozenset bool array bytearray list set dict There are also data types made up out of other data types. For example, a Python list can hold integers, strings, or both. In order to know how much memory to allocate, the computer needs to know what type of data is being stored. Luckily, Python has a built-in function, getsizeof, that tells us how big each different datatype is in bytes. This fantastic SO answer gives us some approximations for “empty” data structures: import sys import decimal import operator d = {"int": 0, "float": 0.0, "dict": dict(), "set": set(), "tuple": tuple(), "list": list(), "str": "a", "unicode": u"a", "decimal": decimal.Decimal(0), "object": object(), } # Create new dict that can be sorted by size d_size = {} for k, v in sorted(d.items()): d_size[k]=sys.getsizeof(v) sorted_x = sorted(d_size.items(), key=lambda kv: kv[1]) sorted_x [('object', 16), ('float', 24), ('int', 24), ('tuple', 48), ('str', 50), ('unicode', 50), ('list', 64), ('decimal', 104), ('set', 224), ('dict', 240)] If we sort it, we can see that the biggest data structure by default is an empty dictionary, followed by a set. Ints by comparison to strings are tiny. This gives us an idea of how much memory different types in our program take up. Why do we care? Some types are more efficient and better suited to different tasks than others. Other times, we need rigorous checks on these types to make sure they don’t violate some of the assumptions of our program. But what exactly are these types and why do we need them? Here’s where type systems come into play. An introduction to type systems A long time ago, in a galaxy far, far, away, people doing math by hand realized that if they labeled numbers or elements of equations by “type”, they could reduce the amount of logic issues they had when doing math proofs against those elements. Since in the beginning computer science was, basically, doing a lot of math by hand, some of the principles carried over, and a type system became a way to reduce the number of bugs in your program by assigning different variables or elements to specific types. A couple examples: - If we’re writing software for a bank, we can’t have strings in the piece of code that’s calculating the total value of a person’s account - If we’re working with survey data and want to understand whether someone did or did not do something, booleans with Yes/No answers will work best - At a big search engine, we have to limit the number of characters people are allowed to put into the search field, so we need to do type validation for certain types of strings Today, in programming, there are two different type systems: static and dynamic. Steve Klabnik, breaks it down:. What does this mean? It means that, usually, for compiled languages, you need to have types pre-labeled so the compiler can go in and check them when the program is compiling to make sure the program makes sense. This is problably the best explanation of the difference between the two I’ve read recently:. A small caveat here that took me a while to understand: static and dynamically-typed languages are closely linked, but not synonymous with compiled or interpeted languages. You can have a dynamically-typed language, like Python, that is compiled, and you can have static languages, like Java, that are interpreted, for example if you use the Java REPL. Data types in statically versus dynamically typed languages So what’s the difference between data types in these two languages? In static typing, you have to lay out your types beforehand. For example, if you’re working in Java, you’ll have a program that looks like this: public class CreatingVariables { public static void main(String[] args) { int x, y, age, height; double seconds, rainfall; x = 10; y = 400; age = 39; height = 63; seconds = 4.71; rainfall = 23; double rate = calculateRainfallRate(seconds, rainfall); } private static double calculateRainfallRate(double seconds, double rainfall) { return rainfall/seconds; } If you’ll notice at the beginning of the program, we declare some variables that have an indicator of what those types are: int x, y, age, height; double seconds, rainfall; And our methods also have to include the variables that we’re putting into them so that the code compiles correctly. In Java, you have to plan your types from the get-go so that the compiler knows what to check for when it compiles the code into machine code. Python hides this away from the user. The analogous Python code would be: x = 10 y = 400 age = 39 height = 63 seconds = 4.71 rainfall = 23 rate = calculateRainfall(seconds, rainfall) def calculateRainfall(seconds, rainfall): return rainfall/seconds How does this work under the covers? How does Python handle data types? Python is dynamically-typed, which means it only checks the types of the variables you specified when you run the program. As we saw in the sample piece of code, you don’t have to plan out the types and memory allocation beforehand. In Python, the source is compiled into a much simpler form called bytecode using CPython. These are instructions similar in spirit to CPU instructions, but instead of being executed by the CPU, they are executed by software called a virtual machine. (These are not VM’s that emulate entire operating systems, just a simplified CPU execution environment.) When CPython is building the program, how does it know which types the variables are if we don’t specify them? It doesn’t. All it knows is that the variables are objects. Everything in Python is an Object, until it’s not (i.e. it becomes a more specific type), that is when we specifically check it. For types like strings, Python assumes that anything with single or double quotes around it will be a string. For numbers, Python picks a number type. If we try to do something to that type and Python can’t perform the operation, it’ll tell us later on. For example, if we try to do: name = 'Vicki' seconds = 4.71; --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-9-71805d305c0b> in <module> 3 4 ----> 5 name + seconds TypeError: must be str, not float It’ll tell us that it can’t add a string and a float. It had no idea up until that second that name was a string and seconds was a float. In other words, Duck typing happens because when we do the addition, Python doesn’t care what type object a is. All it cares is whether the call to it addition method returns anything sensible. If not - an error will be raised. So what does this mean? If we try to write a program in the same way that we do Java or C, we won’t get any errors until the CPython interpreter executes the exact line that has problems. This has proven to be inconvenient for teams working with larger code bases, because you’re not dealing with single variables, but classes upon classes of things that call each other, and need to be able to check everything quickly. If you can’t write good tests for them and have them catch the errors before you’re running in production, you can break systems. In general, there are a lot of benefits of using type hints: If you’re working with complicated data structures, or functions with a lot of inputs, it’s much easier to see what those inputs are a long time after you’ve written the code. If you have just a single function with a single parameter, like the examples we have here, it’s really easy. But what if you’re dealing with a codebase with lots of inputs, like this example from the PyTorch docs? def train(args, model, device, train_loader, optimizer, epoch): model.train() for batch_idx, (data, target) in enumerate(train_loader): data, target = data.to(device), target.to(device) optimizer.zero_grad() output = model(data) loss = F.nll_loss(output, target) loss.backward() optimizer.step() if batch_idx % args.log_interval == 0: print('Train Epoch: {} [{}/{} ({:.0f}%)]\tLoss: {:.6f}'.format( epoch, batch_idx * len(data), len(train_loader.dataset), 100. * batch_idx / len(train_loader), loss.item())) What’s model? Ah, we can go down further into that codebase and see that it’s But wouldn’t it be cool if we could just specify it in the method signature so we don’t have to do a code search? Maybe something like def train(args, model (type Net), device, train_loader, optimizer, epoch): How about device? device = torch.device("cuda" if use_cuda else "cpu") What’s torch.device? It’s a special PyTorch type. If we go to other parts of the documentation and code, we find out that: A :class:`torch.device` is an object representing the device on which a :class:`torch.Tensor` is or will be allocated. The :class:`torch.device` contains a device type ('cpu' or 'cuda') and optional device ordinal for the device type. If the device ordinal is not present, this represents the current device for the device type; e.g. a :class:`torch.Tensor` constructed with device 'cuda' is equivalent to 'cuda:X' where X is the result of :func:`torch.cuda.current_device()`. A :class:`torch.device` can be constructed via a string or via a string and device ordinal Wouldn’t it be nice if we could note that so we don’t necessarily have to look this up? def train(args, model (type Net), device (type torch.Device), train_loader, optimizer, epoch): And so on. So type hints are helpful for you, the person writing the code. Type hints are also helpful for others reading your code. It’s much easier to read someone’s code that’s already been typed instead of having to go through the search we just went through above. Type hints add legibility. So, what has Python done to move to the same kind of legibility as is available in statically-typed languages? Python’s type hints Here’s where type hints come in. As a side note, the docs interchangeably call them type annotations or type hints. I’m going to go with type hints. In other languages, annotations and hints mean someting completely different. In Python 2 was that people started adding hints to their code to give an idea of what various functions returned. That code initially looked like this: users = [] # type: List[UserID] examples = {} # type: Dict[str, Any] Type hints were previously just comments. But what happened was that Python started gradually moving towards a more uniform way of dealing with type hints, and these started to include function annotations:: With the development of PEP 484 is that it was developed in conjunction with mypy, a project out of DropBox, which checks the types as you run the program. Remember that types are not checked at run-time. You’ll only get an issue if you try to run a method on a type that’s incompatible. For example, trying to slice a dictionary or trying to pop values from a string. From the implementation details,.) What does this look like in practice? Type hints also mean that you can more easily use IDEs. PyCharm, for example, offers code completion and checks based on types, as does VS Code. Type hints are also helpful for another reason: they prevent you from making stupid mistakes. This is a great example of how: Let’s say we’re adding names to a dictionary names = {'Vicki': 'Boykis', 'Kim': 'Kardashian'} def append_name(dict, first_name, last_name): dict[first_name] = last_name append_name(names,'Kanye',9) If we allow this to happen, we’ll have a bunch of malformed entries in our dictionary. How do we fix it? from typing import Dict names_new: Dict[str, str] = {'Vicki': 'Boykis', 'Kim': 'Kardashian'} def append_name(dic: Dict[str, str] , first_name: str, last_name: str): dic[first_name] = last_name append_name(names_new,'Kanye',9.7) names_new By running mypy on it: (kanye) mbp-vboykis:types vboykis$ mypy kanye.py kanye.py:9: error: Argument 3 to "append_name" has incompatible type "float"; expected "str" We can see that mypy doesn’t allow that type. It makes sense to include mypy in a pipeline with tests in your continuous integration pipeline. Type hints in IDEs One of the biggest benefits to using type hints is that you get the same kind of autocompletion in IDEs as you do with statically-typed languages. For example, let’s say you had a piece of code like this. These are just our two functions from before, wrapped into classes. from typing import Dict class rainfallRate: def __init__(self, hours, inches): self.hours= hours self.inches = inches def calculateRate(self, inches:int, hours:int) -> float: return inches/hours rainfallRate.calculateRate() class addNametoDict: def __init__(self, first_name, last_name): self.first_name = first_name self.last_name = last_name self.dict = dict def append_name(dict:Dict[str, str], first_name:str, last_name:str): dict[first_name] = last_name addNametoDict.append_name() A neat thing is that, now that we have (liberally) added types, we can actually see what’s going on with them when we call the class methods: Getting started with type hints The mypy docs have some good suggestions for getting started typing a codebase: 1. Start small – get a clean mypy build for some files, with few hints 2. Write a mypy runner script to ensure consistent results 3. Run mypy in Continuous Integration to prevent type errors 4. Gradually annotate commonly imported modules 5. Write hints as you modify existing code and write new code 6. Use MonkeyType or PyAnnotate to automatically annotate legacy code To get started with writing type hints for your own code, it helps to understand several things: First, you’ll need to import the typing module if you’re using anything beyond strings, ints, bools, and basic Python types. Second, that there are several complex types available through the module: Dict, Tuple, List, Set, and more. For example, Dict[str, float] means that you want to check for a dictionary where the key is a string and the value is a float. There’s also a type called Optional and Union. Third, that this is the format for type hints: import typing def some_function(variable: type) -> return_type: do_something If you want to get started further with type hints, lots of smart people have written tutorials. Here’s the best one to start with, in my opinion, and it takes you through how to set up a testing suite. So, what’s the verdict? To use or not to use? But should you get started with type hints? It depends on your use case. As Guido and the mypy docs say, The aim of mypy is not to convince everybody to write statically typed Python – static typing is entirely optional, now and in the future. The goal is to give more options for Python programmers, to make Python a more competitive alternative to other statically typed languages in large projects, to improve programmer productivity, and to improve software quality. Because of the overhead of setting up mypy and thinking through the types that you need, type hints don’t make sense for smaller codebases, and for experimentation (for example, in Jupyter notebooks). What’s a small codebase? Probably anything under 1k LOC, conservatively speaking. For larger codebases, places where you’re working with others, collaborating, and packages, places where you have version control and continuous integration system, it makes sense and could save a lot of time. My opinion is that type hints are going to become much more common, if not commonplace, over the next couple years, and it doesn’t hurt to get a head start. Thanks Special thanks to Peter Baumgartner, Vincent Warmerdam, Tim Hopper, Jowanza Joseph, and Dan Boykis for reading drafts of this post. All remaining errors are mine :)
https://www.tefter.io/bookmarks/152018/readable
CC-MAIN-2019-39
refinedweb
3,256
62.17
Hi Scott, That is an awesome project. I use a lot of Ubiquity gear, and they have a non standard 24V PoE. Would the circuitry still work with 24V instead of 48V? Bas Hi Scott, That is an awesome project. I use a lot of Ubiquity gear, and they have a non standard 24V PoE. Would the circuitry still work with 24V instead of 48V? Bas @Maximilian-Gerhardt Awesome! Thank you so much for putting this together! Hello, I'm rewriting some code that reads an I2C current sensor. In my rewrite I run into a segfault on an i2c write. The code in question is: def pecmac(): """ Support for the Control Everything current sensor. Code has been tested with the 70A/3 channel model :return: """ logging.debug('...... i2c create') i2c = onionI2C.OnionI2C(0x01) #set the verbosity logging.debug('...... i2c set verbosity') i2c.setVerbosity(0x01) command2 = [ 0x6A, 0x02, 0x00, 0x00, 0x00, 0x00, 0xFE, ] logging.debug('...... i2c command2') i2c.writeBytes(0x2A, 0x92, command2) The first time I run this code, all is well. But on the second run (after a 60s sleep inside the loop) I end up with a segfault. The output I get (with the actual data collection output as well is: 20180203 21:31:41 Detected our hostname as [OMEGA-F6BB] 20180203 21:31:41 Creating database connection 20180203 21:31:41 .. Done 20180203 21:31:41 Reading sensor data 20180203 21:31:41 .. Reading data from sensor PECMAC 20180203 21:31:41 ...... i2c create 20180203 21:31:41 ...... i2c command2 20180203 21:31:42 ...... i2c readbytes 20180203 21:31:42 Type of Sensor: 4 | Maximum Current : 70A | No. of Channels: 3 20180203 21:31:42 Channel no: 1 | Current Value: 0.376A 20180203 21:31:42 Channel no: 2 | Current Value: 0.000A 20180203 21:31:42 Channel no: 3 | Current Value: 0.000A [{'Timestamp': 1517722302698L, 'Sensor': 'pecmac', 'Value': 0.376, 'Measurement': 'ch1_current'}, {'Timestamp': 1517722302698L, 'Sensor': 'pecmac', 'Value': 0.0, 'Measurement': 'ch2_current'}, {'Timestamp': 1517722302698L, 'Sensor': 'pecmac', 'Value': 0.0, 'Measurement': 'ch3_current'}] 20180203 21:31:42 Processing the sensor data 20180203 21:31:42 .. Sending data to UBIDOTS 20180203 21:31:42 .... Checking if Ubidots is Online 20180203 21:31:43 .. Submitting data to Ubidots 20180203 21:31:43 {"ch1_current": {"timestamp": 1517722302698, "value": 0.376}} 20180203 21:31:44 {"ch2_current": {"timestamp": 1517722302698, "value": 0.0}} 20180203 21:31:44 {"ch3_current": {"timestamp": 1517722302698, "value": 0.0}} 20180203 21:32:44 .. Reading data from sensor PECMAC 20180203 21:32:44 ...... i2c create 20180203 21:32:44 ...... i2c command2 Segmentation fault Logread shows: Sat Feb 3 21:32:44 2018 kern.info kernel: [ 1251.955047] do_page_fault(): sending SIGSEGV to python for invalid write access to 00000000 Sat Feb 3 21:32:44 2018 kern.info kernel: [ 1251.963673] epc = 77ce6864 in libc.so[77cbe000+92000] Sat Feb 3 21:32:44 2018 kern.info kernel: [ 1251.968855] ra = 779eac69 in libonioni2c.so[779ea000+11000] Please note this is with some extra kernel modules to deal with I2C issues as per tx Bas Hi, An update, received the Onion shields and they worked without issues. Working with ControlEverything on their unit Tx for the advice all Bas @ccs-hello said in Ethernet weirdness (no link with several switch): You really should contact ControlEverything to ask them to perform a thorough test (compatibility with many Ethernet switches) on that module they sold. BTW, ask them to test using an Omega2. Omega1 supplies 2.5V on the transmitter side C.T., while Omega2 does not (N.C. on that 2.5Vout pin.) They also use different Ethernet PHY internally. Hi, I had asked them to do that, and they replied they did test. But asked them to doublecheck it is indeed an Omega2 TX! Bas And GRRRRRRRRRRRRRR, same issue with the Trendnet. Hi Luz, My dayjob is in IT (with infra structure mgmt as my background) so deal with network issues fairly regularly. This one is curious since I tried: There is 100% correlation to the switches used, any other variable can be changed without changing the result. The same switches have no issues establishing a link with a wide variety of other equipment. Failed speed/duplex negotiations, poor speed as result of poor cable, etc etc, all fairly common. Don't think I have ever seen something like this. Amazon just delivered me a cheap trendnet 5V power switch that people have used in IOT projects. I really hope that works Might end up ordering one of the Onion shields to test TX! Bas P.s, that must be an interesting deployment you have! Hi, Unless I missed something, the last Roadmap was up to July 2016. Is there any updates on what is in the pipeline. New modules in the works, software/firmware updates planned, etc Tx Bas @ccs-hello Hi, the fact that it works with one switch without issues suggests (I think) that the hardware side of things is OK? I suspect there is something in the auto negotiation (Speed/Duplex) that fails Bas Hi, Running into some rather curious issues. I have an ethernet expansion dock from ControlEverything (I actually have two, so tested with other one as well). I found that the Omega is very picky in what it will built a link with: The TP Link is the one I hope to use. Very low power and using 5V so great for combining with the 5V for the omega. Firmware fully up to date. Google has not turned up anything useful. All suggestions welcome! Bas Looks like your connection to Community was lost, please wait while we try to reconnect.
https://community.onion.io/user/bas-rijniersce
CC-MAIN-2019-35
refinedweb
933
77.53
Hey there! I'm new to the C language, don't need to tell me I'm a newbie, I know I suck. >.> I'm currently taking a C introductory course and I'm having some trouble with some of these assignments because I don't really have any coding precedence. I'd really appreciate some help. = ) This first assignment is to find all numbers that follow the cube rule from 100-999. The cube rule being, the first digit cubed added to the second digit cube added to the third digit cubed equals the number. For example of the cube rule, the number 153 is 1^3 + 5^3 + 3^3 = 153 The results expected to be printed are - 153 has the cube property. (1 + 125 + 27)370 has the cube property. (27 + 343 + 0)371 has the cube property. (27 + 343 + 1)407 has the cube property. (64 + 0 + 343) This is what I have so far. I've tried to compile it and I know it has errors, though I'm not sure exactly how to fix it. Any help is appreciated! = ) Code: #include <stdio.h> int main(void) { int a, b, c, atrip, btrip, ctrip, cubecheck; for (cubecheck = 100; cubecheck <= 999; cubecheck++) a = (cubecheck % 10); c = (cubecheck / 100); b = ((cubecheck - (c*100 + a) )/ 10); atrip = (a*a*a); btrip = (b*b*b); ctrip = (c*c*c); if(atrip + btrip + ctrip == cubecheck); prinf("%i has the cube property. (%i + %i + %i )\n", cubecheck, atrip, btrip, ctrip); } return 0; }
http://cboard.cprogramming.com/c-programming/151149-basic-c-assignment-school-advice-printable-thread.html
CC-MAIN-2014-49
refinedweb
251
81.73
What is the shortest Twitter #hashtag that has never been used? As an additional constraint, let’s focus on the lexicographically first hashtag composed of ASCII letters only of that kind. Let’s skip dessert and use Python and the Twitter Search API to find out: import urllib import json import itertools import string import time k, max_k = 1, 10 while k < max_k: for tag in itertools.product(string.ascii_lowercase, repeat=k): tag = ''.join(tag) print "Searching for #%s" % tag search_url = '' % tag while True: search_result = json.loads(urllib.urlopen(search_url).read()) if 'results' in search_result: break print "Wait a few seconds because of Twitter Search API limit" time.sleep(5) search_result = search_result['results'] if not search_result: print "Unused hashtag: #%s" % tag k = max_k break k += 1 After a few minutes, the result: #agy. What could we use that one for? I’m from the US. These suggestions may not be universal. ‘Agy’ brings to mind either ‘ageism’ or ‘aggie’ (as in Agricultural schools,). In the vein of the former sense, ‘agy’ might be a description of how someone behaves, or a feeling something (like music) gives you, as in ‘Beatles songs have an agy tonality, man’ (i.e. taking you back to a specific time in history). Phonetically, though, it rolls off more like the second one to me, but lexically, ‘agy’ and ‘aggie’ are fairly dissimilar. So it’s a toss-up. The HN post about Mathics brought me here, incidentally. I usually poke around a place to get a sense of the person behind such a cool thing. Thanks, now.
http://www.poeschko.com/2012/02/shortest-unused-twitter-hashtag/comment-page-1/
CC-MAIN-2018-05
refinedweb
262
73.88
have already written. Now without further ado here’s the code: import pymysql.cursors import pymysql import networkx as nx import sys # Connect to the database conn = pymysql.connect( host='localhost', user='root', password='my-secret-pw', db='flowdata', charset='utf8mb4', cursorclass=pymysql.cursors.SSCursor ) graph = nx.DiGraph() cursor = conn.cursor() cursor.execute('SELECT src_ip, dst_ip FROM flows') for i, row in enumerate(cursor): sys.stdout.write("\rReading line %s" % i) sys.stdout.flush() graph.add_edge(row[0], row[1]) nx.write_graphml(graph, "trente-flowgraph.graphml") It’s obvious to see that I only need the data from the first two columns as they contain source and destination IP. The trick here is to use pymysql.cursors.SSCursor. This will prevent pymysql from loading the whole result set from the SELECT * ... query into RAM. Another catch is that pymysql apparently is not available for Python 3 yet. SQLAlchemy is a good workaround for bigger projects (such as my Pastebin Scraper) but in this case it’s complete overkill. Just run the script with python2.7 and you’re good.
https://dmuhs.blog/2018/09/14/converting-mysql-table-data-to-a-graphml-file/
CC-MAIN-2022-21
refinedweb
179
62.95
Someone asked about the circular div I used for magnification in an earlier post. There are no primitives in CSS for building arbitrary shapes, but like most things on the web, that doesn't stop anyone from trying. For example: don't think of a circular div as a circle. Think of a circular div as a square with heavily rounded corners. Given this markup: <div class="circle-small"> <p>Hello!</p> </div> And this CSS: .circle-small { width:100px; height:100px; border-radius: 50px; background-color: #cccc99; } .circle-small p { text-align:center; font-weight:bold; padding-top:40px; } You can present the following content (assuming the user agent supports border-radius): Try it here: But the fun doesn't stop with rounded corners. A long time ago someone looked at how the a browser renders borders and noticed a particular angle in the output, which gives us another "primitive" we can use to create shapes, like a triangles: <style> .triangle-blue { width: 0; height: 0; border-left: 50px solid transparent; border-right: 50px solid transparent; border-bottom: 50px solid blue; } </style> <div class="triangle-blue"></div> Which renders: Try it here: Once you have some primitives in hand, it's only a matter of inspiration until someone creates a house: Add in some CSS 3 transformations, and now you can have trapezoids, stars, hearts, and infinity symbols. See: The Shapes of CSS. public static class Logger { public static void Log(string message, LogTypeEnum type) { // ... } } public class Logger { public void LogError(Exception ex) { // ... } } public class Logger : ILog, IAudit { public Logger(IExceptionFormatter exceptionFormatter, IStackTraceFormatter stackTraceFormatter, IClock clock, ITextWriter writer) { // ... } public void LogError(Exception ex) { // ... } } Magno is a something I put together because … well, just because. The idea is to provide a magnifying lens effect using a background image and background position animation. The lens tracks the position of the mouse, with a slight delay (debouncing, to be exact). You can try it here: (thanks to @austegard for putting up the jsbin). The "magnifier" is an absolutely positioned div with borders curved to perfection. function makeMagnifier() { var src = settings.src || img.attr("src"); magnifier = makeEmptyDiv(); magnifier.css({ position: "absolute", opacity: 0, width: settings.size, height: settings.size, left: img.offset().left, top: img.offset().right, "-moz-border-radius": settings.size * .5 + "px", "border-radius": settings.size * .5 + "px", "background-image": "url(" + src + ")", "background-repeat": "no-repeat", "z-index": 998 }); } When the mouse pauses, the magnifier animates to the new location. function onPosition(e) { var offset = img.offset(); var backLeft = Math.round((e.pageX - offset.left) * (-1 / settings.scale)); var backTop = Math.round((e.pageY - offset.top) * (-1 / settings.scale)); backLeft += Math.round(settings.size / 2); backTop += Math.round(settings.size / 2); magnifier.animate({ left: e.pageX - (settings.size/2), top: e.pageY - (settings.size/2), "backgroundPosition": backLeft + "px " + backTop + "px" }); } Animating the background position of an element is not something jQuery can do without help. I used a plugin from Alexander Farkas. 2). mouseleave is simple to understand: Bind an event handler to be fired when the mouse leaves an element, or trigger that handler on an element. How hard could it be? $(function () { var output = $("#output"); $("#content") .mouseenter(function (e) { output.text("I'm in!"); }).mouseout(function (e) { output.text("I'm out!"); }); }); Like many simple things there are some traps under different circumstances. For example, when you put absolutely positioned elements into a page, you might think mouseenter and mouseleave are misbehaving. Watch what happens on when the mouse goes into the grey box. If you've worked with nearly any UI framework before, you'll realize this isn't a misbehavior, but a feature. But, what if your goal is to use mouseleave and mouseenter to know when the mouse is over the content area, regardless of what might be positioned on top? One solution is to create an element whose sole purpose is to provide mouseenter and mouseleave events for the content area. If the element overlays the content area exactly, has a higher z-index than any other element, and is invisible, then you just might have something that works (see). $(function() { var output = $("#output"); var content = $("#content"); var eventSource = $("<div></div>"); $("body").append(eventSource); eventSource.css({ position: "absolute", left: content.offset().left, top: content.offset().top, width: content.width(), height: content.height(), opacity: 0, "z-index": 999 }).mouseenter(function(e){ output.text("I'm in!"); }).mouseout(function(e) { output.text("I'm out!"); }); }); If you try in Chrome, you'll see the "in" and "out" messages only appear when the mouse is going into, or out of, the content area – no matter where the grey div appears. In IE9 the "in" and "out" messages appear at the wrong places. It's as if Internet Explorer has no empathy for an empty, faceless, soulless div. The solution? Set the background-color on the event source. Even though the color doesn't appear, because the opacity is at 0, the events start working as expected. eventSource.css({ position: "absolute", left: content.offset().left, top: content.offset().top, width: content.width(), height: content.height(), opacity: 0, "background-color": "#000", // <-- crazy "z-index": 999 }) See: Liam! From.
http://odetocode.com/Blogs/scott/archive/2011/08.aspx
CC-MAIN-2016-30
refinedweb
858
52.15
Odoo Help Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps: CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc. Extending create method for products (product_product), what inherit should be used in the model? I am trying to extend the create method for product_product so products which are created without an EAN13 code will have one assigned automatically. As first step I am trying to define a module which extends the 'create' method of product_product class. I have defined the following model: class EanAuto ( models.Model ): _inherit = 'product_product' @api.one def create(self, cr, uid, vals, context=None): print "DEBUG: CREATE 1" product_template_id = super(product_product, self).create(cr, uid, vals, context=None) print "DEBUG: CREATE 2" return product_template_id However it seems it is not correct to inherit product_product. Any other comment on the way Super() function is used is also appreciated. Hi E.M., You have applied wrong api method or decorator on create method. When you define or override any method and if that method is passing id or ids as implicit argument than you can use api.one or api.multi. But here in this case create method dose have any id yet. create it self saying it going to create not created yet. so Id of record is not generated yet. So, You can use @api.model You have to use like this: class your_class(models.Model): _inherit = 'your.class' #model name which is going to inherit.. @api.model def create(self, vals): #your codee.... result = super(your_class, self).create(vals) #your code..... return result Hope this will helps. Rgds, Anil. Following Anil's comments I did this: # -*- coding: utf-8 -*- from openerp import models, fields, api class EanAuto ( models.Model ): _inherit = 'product.product' @api.model def create(self, vals): print "DEBUG: CREATE 1" new_product = super(EanAuto, self).create(vals) print "DEBUG: CREATE 2" return new_product And it works, I can see print messages and product is normally created. However, I would like to understand what I did. The create method for product_product is as follows def create(self, cr, uid, vals, context=None): if context is None: context = {} ctx = dict(context or {}, create_product_product=True) return super(product_product, self).create(cr, uid, vals, context=ctx) Some questions: What does Super(EanAuto, self) actually mean? Why create method from product_product requires cr, uid, vals, context=ctx and the redefined method only uses vals? What is cr? What is uid? What is context? From: "In a class hierarchy with single inheritance, super can be used to refer to parent classes without naming them explicitly, thus making the code more maintainable." For your other questions, you should really take a look at the odoo 8 reference, espacially this part: That link has helped me a lot to understand the API and to read other people's answers, which are often in old API
https://www.odoo.com/forum/help-1/question/extending-create-method-for-products-product-product-what-inherit-should-be-used-in-the-model-87678
CC-MAIN-2017-04
refinedweb
482
51.04
Hello, I have problems to follow the examples on: While I am trying to start: 'osmosis --read-xml file="myosm.osm" --write-apidb host="localhost" database="postgis" user="postgres" password="xxx"' I get the) asked 09 May '11, 09:49 asdfasdfasdf 1●1●1●1 accept rate: 0% edited 10 May '11, 12:07 TomH ♦♦ 3.3k●8●36●42 You've tried loading the data into the format used by the "Rails Port" by using the --write-apidb flag. Osmosis is checking for the tables it expects to find, but you say you have a clean database so it's failing. Note that the apidb format is designed for use with the web front end and only uses Postgres types (i.e. no spatial columns) so might not be what you are looking for. You need to decide what format you want the tables to be in, since osmosis supports a few different database structures. These can be chosen with the following options. You need to investigate and decide which is the most appropriate. In every case you need to have the correct database tables set up before loading with osmosis. Instructions are available on the Osmosis Detailed Usage page. For loading data into postgres for use with mapnik you should look at osm2pgsql instead, which uses yet another choice of table layouts. answered 10 May '11, 16:50 Andy Allan 12.1k●23●123●150 accept rate: 28% Have a look at this answer. You do not appear to have installed the database tables in PostGIS. answered 09 May '11, 10:17 SK53 ♦ 25.2k●46●253●397 accept rate: 20% Is there a complete script/application for windows? '' and especially the 9.04 section is useless for windows because of environment variables/ user restrictions and other things. The standard PostGIS tools work for me under Windows. Perhaps try with cygwin, or use pgadmin & copy paste DDL into query window. In general its usually best to run things either with full paths or a specially constructed PATH within a DOS shell. Can you tell me which files i have to paste into pgadmin. I already tried some of these. Especially the last one did not create the right shema (simple or something) for me. hstore.sql postgis.sql spatial_ref_sys.sql pgsql_simple_schema_0.6.sql I suggest you raise a new question for this: documentation for getting things working on windows is usually poor. Frequently bits of OSM software don't work on Windows for trivial reasons such as assuming "/" is the separator of directory and filenames. Therefore a broader question is likely to be of more use to everyone. Quickly, you need to install in this order postgis, hstore, either simple schema or the api schema. I don't know if you need spatial_ref_sys, but its easy to check by trying to load an empty or dumpy osm xml file. Once you sign in you will be able to subscribe for any updates here Answers Answers and Comments Markdown Basics learn more about Markdown This is the support site for OpenStreetMap. Question tags: osmosis ×239 import ×184 postgresql ×160 xml ×80 exception ×6 question asked: 09 May '11, 09:49 question was seen: 9,219 times last updated: 25 Feb '12, 17:58 Osmosis append/update from .pbf to Postgres Osm to postgresql import and basemaps problem How can I import data to OSM from a .csv file? Why is my import of planet-latest.osm KILLED? Postgis DB to osm pbf file Nominatim update sql error in placex_update Using Osmosis, bzcat and Postgresql Disk space required for importing planet.osm into PostgreSQL w/ Osmosis? XML/Postgresql Rendering How to check Nominatim planet import execution is running in background or terminated? First time here? Check out the FAQ!
https://help.openstreetmap.org/questions/5066/error-while-following-osmosis-import-to-database-examples?sort=newest
CC-MAIN-2021-17
refinedweb
629
64.81
30 December 2011 02:17 [Source: ICIS news] By Becky Zhang ?xml:namespace> Chinese customs announced on 23 December to eliminate the 5% duty on PTA originating from ASEAN (Association of South East Asian Nations) countries in accordance with the ASEAN-China free trade agreement. Asean members include Brunei Darussalam, “More Thai, Indonesian and Malaysian PTA will come to The plant has been idled for more than four years because of financial problems. Indorama, the shareholder of Polyprima, has started negotiations with Chinese customers for 2012 term contract since October, the trader said. The proposed contract formula was discussed at a premium of 4.5-5% to spot PTA prices exempted from anti-dumping duty (ADD), but this attracted few Chinese polyester makers who were bidding at a premium of 2.5-3% to spot PTA prices exempted from ADD, the trader added. “We are not interested because Indonesian cargoes are in container which will generate additional $5-10/tonne port dealing charges compared with bulk cargoes,” a Zhejiang-based polyester maker said. Quality was another factor that some polyester makers were worried as the plant has been idled for more than four years. However, a source from Indorama said Polyprima's product quality is not an issue as Indorama has been engaged in the modification of the plant since they bought 50% of the company's stock. The plant uses Invista technology which produces high quality PTA products. The source also said container cargoes will only generate $2-3/tonne additional charges compared with bulk cargoes, and it prevents damages to cargoes during transportation. Of the Thai producers, only Siam Mitsui who has a ADD of 6% is able to export more cargoes to Siam Mitsui’s prices may be comparable to Taiwanese PTA prices as Taiwanese cargoes are imposed with a 6.5% import duty, a Shanghai-based trader said. “Our priority is to meet local demand. We may consider to sell more to It is also possible for BP to import Malaysian PTA and sell in yuan because Chinese domestic prices are higher than the import parity of US dollar-denominated cargoes, a Zhejiang-based polyester maker said. The news also had some impact on contact negotiations. “The overall CFR China prices will be lifted by southeast Asian cargoes next year,” a major Chinese trader said. However, the pricing mechanism of ASEAN cargoes and the quantities of spot availability are still unclear, market sources said. “PTA will become oversupplied next year anyway. More ASEAN imports would mean less imports from ASEAN countries had shipped a total of 555,323 tonnes of PTA towards The shipments accounted for about 11% of PTA has last assessed at $1,095-1,115/tonne (€843-859/tonne) CFR China Main Port (CMP) up by $45-50/tonne from the previous month. ($1 = €0.77) Please visit the complete ICIS plants and projects database For more information on PTA,
http://www.icis.com/Articles/2011/12/30/9519501/pta-from-asean-to-enjoy-zero-import-tariff-to-china-from-1-jan.html
CC-MAIN-2014-49
refinedweb
487
58.82
Build Custom User Analytics with Parse Building an analytics dashboard is critical for every business these days. While subscribing to Google Analytics is an obvious choice, sometimes we might have to track events at a more granular level, or build a custom dashboard. Cassandra works great for writing an analytics engine, but adds an additional layer of operational complexity. This is where Parse comes in. Parse is an IaaS from Facebook. You can use it as a fully functional data store without having to spend any time on the infrastructure. In this article, I’m going to explain how to leverage Parse to build your own custom analytics dashboard. Read on. Getting Started We’ll be using the example app that I had created for one of my previous articles as a base. You can download that from here. This app uses mongoid and HAML, but the examples here should work with Active Record and ERB as well. With that out of our way, let’s setup the basics. First, create a free account with Parse, and set up an app inside it. You will need the Application key and Javascript key which you can find under the Settings tab. Create a new javascript file analytics.js: // app/assets/javascripts/analytics.js var CustomAnalytics = { init: function (type){ Parse.initialize(APP_ID, JS_KEY); } } and include this in your top level layout: # app/views/application.html.haml !!! %html %head %title Build Custom analytics with Parse = stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true = javascript_include_tag 'application', 'data-turbolinks-track' => true = javascript_include_tag 'vendor/parse', 'data-turbolinks-track' => true = javascript_include_tag 'analytics', 'data-turbolinks-track' => true = csrf_meta_tags %body = yield :javascript // Initialize the Analytics first CustomAnalytics.init(); We’ve created a namespace called CustomAnalytics, and initialized Parse through an init method. This is preferable to initializing Parse inside the view, as you can initialize multiple analytics providers like Google or Mixpanel, if desired. Now our app is ready to talk with the Parse servers. NOTE: Parse has a usage-based subscription model. You might want check out their pricing plans before implementing it. Tracking Events Before showing how to build a custom analytics engine, let’s first take a look at Parse’s inbuilt event tracking library, which is similar to Google events. This can help track the arbitrary events in the app to User retention without much work on our part. In the sample app, there are 2 pages: one showing the list of categories, and the other showing languages. Let’s say I want to track how many users click on the categories: # app/views/category/index.html.haml %h1 Category Listing %ul#categories - @categories.each do |cat| %li %a{:href=>"/category/#{cat['id']}", :class=>'js-category-click'} %h3 = cat["name"] %p = cat["desc"] and add this to your layouts file: # app/views/layouts/application.html.haml //....... :javascript CustomAnalytics.init(); $( '.js-category' ).on('click', function(e){ e.preventDefault(); var url = e.currentTarget.href; Parse.Analytics.track( 'CATEGORY_CLICK', { 'target': 'category', }).then(function(){ window.location.href = url; }); }); //............. Here, we’re using Parse’s built-in track method to send events to Parse. It takes 2 parameters: event name, and dimensions. Dimensions are custom data points that we can pass along, which can be used later for filtering reports. This method returns a Promise. We can a success callback to execute once this is completed, in this case, redirecting to the original link. We’ll have to essentially do the same for tracking events on the language page. But that’s a lot of duplicate code. Let’s refactor this code flow. Add this to your analytics.js file: // app/assets/javascripts/analytics.js var CustomAnalytics = { //... track: function( name, dimensions, successCallback ){ Parse.Analytics.track( name, dimensions ) .then( successCallback ); } //... } And change the tracking code in your category.js file: # app/views/layouts/application.html.haml //....... :javascript //....... $( '.js-category' ).on('click', function(e){ e.preventDefault(); var url = e.currentTarget.href; CustomAnalytics.track( 'CATEGORY_CLICK', { 'target': 'category', }, function(){ window.location.href = url; }) }); //....... We’re passing the same parameters to the tracking method. This may not look much at first, but it reduces a lot of boilerplate code especially when you have a lot of events in your page. To view the events that are tracked, go to Analytics -> Events in your Parse dashboard. As a Custom Datastore We can use Parse’s cloud data to store our custom data. It works very similar to a NoSQL data store, and is pretty flexible. To get started, create a new class called CategoryClicks from the Data section in the dashboard. In your application.html.haml: //......... function trackCloudData( name, id, type ){ var CategoryClicks = Parse.Object.extend('CategoryClicks'), cloud_data = new CategoryClicks(); //Custom data cloud_data.name = name cloud_data.type = type cloud_data.id = id // This syncs the data with the server cloud_data.save(); } //.......... $( '.js-category' ).on('click', function(e){ e.preventDefault(); var $elem = $(e.currentTarget), url = $elem.url, name = $elem.data('name'), id = $elem.data('id'); CustomAnalytics.track( 'CATEGORY_CLICK', { 'target': 'category', }, function(){ window.location.href = url; }); trackCloudData(name, id, type); }); //......... Parse.Object lets us extend the classes created earlier. This is a simple Backbone model and we can set custom attributes on it. When you save this model, it syncs the data with the server. Now, all the data that you’ve tracked is available from the Parse dashboard. Store and Retrieve If we’re building a real time application, we can use the Parse’s JS API to fetch data from the server. But for building a time-series dashboard, this won’t work. We need to aggregate this information from Parse, and transform later according to our needs. There is no official Ruby client for Parse, but the wonderful gem parse-ruby-client fills in nicely. Add this gem to the Gemfile: # Gemfile gem 'parse-ruby-client' Once bundle install completes, create an aggregate model to store the daily records: # app/models/category_analytics.rb class CategoryAnalytics include Mongoid::Document include Mongoid::Timestamps field :category_id, type: BSON::ObjectId field :name, type: String field :count, type: Integer field :date, type: DateTime end Write a simple task which will go through all the categories and get the read query for a specified date. Since this happens over a network call, it might be better if we handle this asynchronously through resque. And create a new resque task, categoryclickaggregator.rb: # lib/tasks/category_click_aggregator.rb class CategoryClickAggregator @queue = :category_analytics def self.perform() Parse.init(:application_id => "APP_ID", :api_key => "API_KEY") categories = Category.all yesterday = Date.yesterday start_date = Parse::Date.new(yesterday.to_time) end_date = Parse::Date.new(Date.today.to_time) # Convert the dates to Parse date to play nice with their API categories.each do |cat| count = Parse::Query.new("BookHistory").tap do |q| q.eq("category_id", cat.id) q.greater_eq("createdAt", start_date) q.less_eq("createdAt", end_date) end.get.count # See if this exists already category_analytics = CategoryAnalytics.find_by(:category_id => cat.id, :date => yesterday ) if category_analytics.nil? category_analytics = CategoryAnalytics.new category_analytics.name = cat.name category_analytics.category_id = cat.id category_analytics.date = yesterday end category_analytics.count = count category_analytics.save end end end The Parse::Query module sends a POST request to the Parse servers with the specified filters. We then get the results, aggregate them, and store them in the local database to support generating the time series reports. This is just a simple demonstration of how to extract data from Parse. In production, however, I’d recommend running a separate job that loops through all the categories and queues the jobs individually. This way tasks can be resumed when they fail instead of the entire pot. Also, as the data grows, we can spawn multiple workers and get things done in parallel fashion. Limitations All queries to Parse are paginated and, by default, the page limit is 100. If you have more than 100 records in the result set then the above code will return incorrect results. We can increase the limit manually up to 1000, but that still suffers the same fate as your events grow. To fix this properly we’ll have to resort to the ugly do..while loop: total_count = 0 offset = 0 loop do count = Parse::Query.new("BookHistory").tap do |q| q.eq("category_id", cat.id) q.greater_eq("createdAt", start_date) q.less_eq("createdAt", end_date) q.limit(1000) q.offset(offset) end.get.count total_count+= count offset++ break if count < 1000 end Wrapping Up Parse is a great tool, and we have barely scratched its surface. For instance, we can use it to authenticate and track users, use jobs to run custom jobs in the Cloud, and setup web hooks. I hope I’ve peaked your interest with this article. The code used in this article is available here. Feel free to join the discussion in the comments.
https://www.sitepoint.com/build-custom-user-analytics-parse/
CC-MAIN-2019-18
refinedweb
1,445
51.85
Developing a Live Sketching app using OpenCV and Python Get FREE domain for 1st year and build your brand new site Reading time: 30 minutes | Coding time: 10 minutes Lets learn an application of OpenCV to realise how powerful it is. We will develop an application which will show a live sketch of your webcam feed. In this project we'll be using NumPy and OpenCV. Following is the input (on left) from the webcam feed and the output (on right): . OpenCV (Open Source Computer Vision Library) is an open source computer vision and machine learning software library. It has over 2500 optimized algorithms which includes a comprehensive set of both classic and state-of-the-art computer vision and machine learning algorithms. Let us get started To get started, we need to install OpenCV and Numpy (assuming that you have Python installed). Follow the following steps: pip install opencv-python --user pip install numpy --user Following it, we define OpenCV and Numpy in our code as follows: import cv2 import numpy as np Let us get started implementing our application in steps: - Reading frame from the webcam As we want to build a live app, we need to use the webcam and extract image frames from the video. This is done as follows: cap=cv2.VideoCapture(0) ret,frame=cap.read() - Grayscaling Image We shall cover the image to grayscale: img_gray=cv2.cvtColor(image,cv2.COLOR_BGR2GRAY) - Blurring Image Following it, we will blur the image using Gaussian Blur which is provided by OpenCV. img_blur=cv2.GaussianBlur(img_gray,(3,3),0) - Detecting Edges We shall detect edges in the image using another function in OpenCV. edges=cv2.Canny(img_blur,10,80) - Applying Threshold Inverse We will invert the threshold as a finishing touch. ret,mask=cv2.threshold(edges,50,255,cv2.THRESH_BINARY_INV) Explanation - Edge Detection & Image Gradients : Edge Detection is a very important area in Computer Vision.Edges can be defined as sudden changes (discontinuities) in an image and they can encode just as much information as pixels. Types of Edge Detection: - Sobel – to emphasize vertical or horizontal edges - Laplacian – Gets all orientations - Canny – Optimal due to low error rate, well defined edges and accurate detection. Canny is by far the best way to detect edges in an image .Here are the steps this algorithm follows : - Applies gaussian blur - Finds intensities and gradients in the image - Removes pixels that are not edges - Applies threshold (if a pixel is within lower and upper threshold then its an edge) - Thresholding : Thresholding is act of converting an image to a binary form. Thresholding is act of converting an image to a binary form. cv2.threshold(image, Threshold Value, Max Value, Threshold Type) Here , Threshold Value if the value of intensity after which the pixel will become white .Below the threshold all pixels will be black . But, if the threshold type is Threshold Inverse then the scenario will be opposite. Threshold Types: - cv2.THRESH_BINARY - Most common - cv2.THRESH_BINARY_INV - cv2.THRESH_TRUNC - cv2.THRESH_TOZERO - cv2.THRESH_TOZERO_INV Adaptive thresholding is also widely used and is by far the best way to apply threshold on images. It doesn't require us to input a threshold value and does the job by itself .This technique further has many threshold types . The best and the cleverest one is OTSU. - Blurring : Blurring is an operation where we average the pixels within a region (kernel). img_blur=cv2.GaussianBlur(img_gray,(3,3),0) Here (3,3) is the kernel size ie. the matrix of pixels over which blurring is performed .More is the number in the brackets more will be the blurring effect. In this project we are using Gaussian blur - it saves the edges to an extent and blurs the rest of the image. Blurring Types: - cv2.blur - Averages values (slower). It also takes a Gaussian filter in space, but one more Gaussian filter which is a function of pixel difference. The pixel difference function makes sure only those pixels with similar intensity to central pixel is considered for blurring. So it preserves the edges since pixels at edges will have large intensity variation. Complete Code Following is the complete code: import cv2 import numpy as np def sketch(image): #converting_image_to_grayscale img_gray=cv2.cvtColor(image,cv2.COLOR_BGR2GRAY) #blurring_image_to_remove_noise img_blur=cv2.GaussianBlur(img_gray,(3,3),0) #extracting_edges edges=cv2.Canny(img_blur,10,80) #applying_threshold_inverse ret,mask=cv2.threshold(edges,50,255,cv2.THRESH_BINARY_INV) return mask # capturing_video_from_webcam cap=cv2.VideoCapture(0) # constant_image_capture_from_video while True: ret,frame=cap.read() cv2.imshow('Live_Sketch',sketch(frame)) # Key13==ENTER_KEY if cv2.waitKey(1)==13: break # releasing_webcam cap.release() # destroying_window cv2.destroyAllWindows() Save it in a file named "app.py" and run it as: python app.py Output
https://iq.opengenus.org/developing-a-live-sketching-app-using-opencv-and-python/
CC-MAIN-2021-43
refinedweb
779
57.27
Motivation A CollectionView is your interface into manipulating a collection of data items in an ItemsControl. Common tasks with this view often involve applying sorting, filtering, and grouping. In lieu of supporting a DataGrid control, transactional adding/editing/removing is an essential feature for data manipulation and a new view has been added in WPF 3.5 SP1 to support this functionality. What is it? IEditableCollectionView is a new collection view that you can use to supports adding and removing new items, as well as editing items in a transactional way. It is implemented by ListCollectionView (the default view for ObservableCollection) and BindingListCollectionView (the default view for DataTable). I will go through an example to further describe it and summarize afterwards. Background on the example I will be creating a ListBox with some data that you can add/remove/edit each item. You also have the option to cancel in the middle of editing the item. I will use buttons to trigger an item for editing, adding, removing, etc. Here is the ListBox xaml: <!--defined in resource section--> <Style x: <Setter Property="ContentTemplate" Value="{StaticResource DefaultTemplate}" /> </Style> <ListBox Name="itemsList" ItemsSource="{StaticResource products}" ItemContainerStyle="{StaticResource listBoxDefaultStyle}"/> When the ListBox is not in edit mode it will use a template of TextBlocks. <DataTemplate x: <StackPanel Orientation="Horizontal"> <TextBlock Text="{Binding Path=Book, StringFormat=Title: {0};}"></TextBlock> <TextBlock Text="{Binding Path=Author, StringFormat=Author: {0};}"></TextBlock> <TextBlock Text="{Binding Path=Price, StringFormat=Price: {0:C}}"></TextBlock> </StackPanel> </DataTemplate> When it is in edit mode, it will use a template of TextBoxes (I will set the DataTemplate dynamically in code). <DataTemplate x: <TextBox Text="{Binding Path=Book}" /> <TextBox Text="{Binding Path=Author}" /> <TextBox Text="{Binding Path=Price}" /> How do I use it? Just like the other collection views, you can obtain a reference to this collection using the CollectionViewSource.GetDefaultView, // retrieve a reference to the view ICollectionView view = CollectionViewSource.GetDefaultView(itemsList.Items); IEditableCollectionView iecv = (IEditableCollectionView)view; Before I go any further, there is an important point to note about delegation of work. When the data source implements IEditableObject, the IEditableCollectionView will call BeginEdit() when a new item is added or an existing item is opened for edit. It will call CancelEdit() when the item is cancelled and EndEdit() when the item is committed. IEditableCollectionView lets the app author handle this part of the transaction. In my data source, I will be creating a copy of the selected data item when it is opened for edit. If the procedure is cancelled, I will use the copy to reset the original state, otherwise the new data will update the data source. I’ve only included the relevant information of the data source here. public class Product : INotifyPropertyChanged, IEditableObject { private Product copy; #region IEditableObject Members public void BeginEdit() { if (this.copy == null) this.copy = new Product(); copy.Book = this.Book; copy.Author = this.Author; copy.Price = this.Price; } public void CancelEdit() { this.Book = copy.Book; this.Author = copy.Author; this.Price = copy.Price; } public void EndEdit() { copy.book = null; copy.author = null; copy.price = 0; } #endregion IEditableObject Members } Let’s first focus on editing items. To initiate an item to be edited you call IEditableCollectionView.EditItem(). As I just discussed, this will call BeginEdit on my selected data item. Here is the code that is called when the edit button is clicked (Notice the template of the item container is updated here): private void edit_Click(object sender, RoutedEventArgs e) // edit the item iecv.EditItem(itemsList.SelectedItem); // update the template ListBoxItem lbItem = (ListBoxItem)itemsList.ItemContainerGenerator.ContainerFromItem(iecv.Current EditItem); lbItem.ContentTemplate = (DataTemplate)this.myGrid.FindResource("EditingTemplate"); So now that the current selected item is editable, the changes to it can either be submitted or cancelled. We shall look at the submitted scenario next. To commit changes, you call IEditableCollectionView.CommmitEdit(). This will then call EndEdit() on my data item where I reset my copy of the data as it is not needed anymore. Here is the code when the submit button is clicked: private void submit_Click(object sender, RoutedEventArgs e) iecv.CommitEdit(); lbItem.ContentTemplate = (DataTemplate)this.myGrid.FindResource("DefaultTemplate"); The cancel scenario is very similar to the submit code, but instead CancelEdit() is called on my data item where I reset it’s values to the copy that I stored from BeginEdit(): private void cancel_Click(object sender, RoutedEventArgs e) iecv.CancelEdit(); Adding new items and removing items follow a similar pattern where the view will call BeginEdit, CancelEdit, and/or EndEdit on the data item. One important difference however is how it is managed for you. While I was managed part of the editing transaction, the IEditableCollectionView will managed the addition and removal of an item. When IEditableCollectionView.AddNew() is called, a new data item is actually added to the data source by the collection view. In BeginEdit, you have the option to initialize the new item to default data. Same goes when CancelNew() or Remove() is called. The item that was added or selected is actually removed from the data source by the collection view. There is no additional code that you need to write to create the new data item and manually add it to the data source. You can check out the full project attached to view the source for adding and removing as well as the editing that I talk about above. It works with the WPF 3.5 SP1 bits. For completeness, here is the full list of APIs from IEditableCollection. I try to make use of most of them in my project. public interface IEditableCollectionView bool CanAddNew { get; } bool CanCancelEdit { get; } bool CanRemove { get; } object CurrentAddItem { get; } object CurrentEditItem { get; } bool IsAddingNew { get; } bool IsEditingItem { get; } NewItemPlaceholderPosition NewItemPlaceholderPosition { get; set; } object AddNew(); void CancelEdit(); void CancelNew(); void CommitEdit(); void CommitNew(); void EditItem(object item); void Remove(object item); void RemoveAt(int index); Sharepoint SharePoint Development Conference (FireStarter) at Microsoft on June 11th [Via: Steve Fox... So far for the new WPF 3.5 SP1 features, I've surveyed Item Container Recycling , Data Formatting , and Can u give an example of IEditableCollectionView with GridViewColumn created dynamically with celltemplate. thx I recently got a question on how to implement IEditableCollectionView with GridViewColumns that are dynamically Need Info, I just wrote a post on this:. Please let me know if you have any other questions. i have a derived class of Listview how can i use NewItemPlaceholderPosition. in fact i had xamlparsing exception NewItemPlaceholderPosition is basically the position in the collectionview where a new item will be added. You can specify where you would like to add the new item through the enum. Can you give me a little more details on the problem that you are having? i have a derived class of Listview and i'm adding dynamically the columns into the gridview. i'm trying to add the editing capabilities of .net framework 3.5 sp1. when i'm trying to use NewItemPlaceholderPosition it gives me an xamlparser exception You're still going to have to be a little more specific on the xamlparser exception and how you are using NewItemPlaceholderPosition. IEditableCollectionView is implemented by ListCollectionView and BindingListCollectionView. You can set/get this from your derived class by doing something like this, iecv = (IEditableCollectionView)Items; iecv.NewItemPlaceholderPosition... It is not a DP so you cannot use it in xaml like most of the other properties. Maybe you can send me a code snippet and I can be a little more helpful. Introduction I’m going to talk a little on the editing features of the DataGrid. I will dive deep into I have a question regarding the IEditableCollectionView as it's implemented for a ListCollectionView. If I have created a ListCollectionView for a collection with a filter, and I call EditItem() on an item that is filtered out, so that it's not part of the collectionview, then calling CommitEdit() will cause an exception. I would have thought it would be disirable to be able to call EditItem() on any item in the underlying collection, for example if the item is currently filtered out, but we change some data on it, so that it should now be included in the filtered collectionview, currently we have to first check if the item is in the filtered collection view, if it is, we go the EditItem()/CommitEdit() route, if it's not we have to remove it from the collection, modify it and re-add it to the collection to properly refilter this item, it would have been great if we only had to do it in one fashion, ie beeing able to call EditItem()/CommitEdit() on any item in the collection even if it's currently filtered out. Disired behaviour or just an overlook of the fact that collection can be filtered when creating the current IEditableCollectionView implementation? Moi, When you are using a filter on a collectionview, that collectionview will represent only that filtered view now. So what is presented in the presentation layer is the same as the underlying data which makes it more transparent, easier to debug, and more intuitive actually. So this is all by design. I have a question like Moi's... How would you force the CollectionView to rerun the filter after you've changed the underlying data. The only way I could think of is calling .Refresh()...but doesn't this contradict the idea of IEditableCollectionView? Could you describe the exact contract that IEditableCollectionView.AddNew has? Is anything other than creating the new object and adding it to the collection needed? The reason I'm asking is that I'd need to override the default AddNew in ListCollectionView to create objects of a different type than it otherwise seems to be creating (the types do share an abstract base class). I tried implementing AddNew like described above, and the WPF Toolkit DataGrid I'm using now only allows adding one new item, to the initial NewItemPlaceholder. Tomi, Take a look at this blog post,. There is a table showing the contract for IECV.CanAddNew for a ListCollectionView and a BindingListCollectionView. If you would like to receive an email when updates are made to this post, please register here RSS Trademarks | Privacy Statement
http://blogs.msdn.com/vinsibal/archive/2008/05/20/wpf-3-5-sp1-feature-ieditablecollectionview.aspx
crawl-002
refinedweb
1,697
54.22
Software:TensorFlow TensorFlow is a free and open-source software library for machine learning. It can be used across a range of tasks but has a particular focus on training and inference of deep neural networks.[4][5] Tensorflow is a symbolic math library based on dataflow and differentiable programming. It is used for both research and production at Google.[6][7][8] TensorFlow was developed by the Google Brain team for internal Google use. It was released under the Apache License 2.0 in 2015.[1][9] History DistBelief Starting in 2011, Google Brain built DistBelief as a proprietary machine learning system based on deep learning neural networks. Its use grew rapidly across diverse Alphabet companies in both research and commercial applications.[10][11] Google assigned multiple computer scientists, including Jeff Dean, to simplify and refactor the codebase of DistBelief into a faster, more robust application-grade library, which became TensorFlow.[12] In 2009, the team, led by Geoffrey Hinton, had implemented generalized backpropagation and other improvements which allowed generation of neural networks with substantially higher accuracy, for instance a 25% reduction in errors in speech recognition.[13] TensorFlow TensorFlow is Google Brain's second-generation system. Version 1.0.0 was released on February 11, 2017.[14] While the reference implementation runs on single devices, TensorFlow can run on multiple CPUs and GPUs (with optional CUDA and SYCL extensions for general-purpose computing on graphics processing units).[15].[16].[17] In Jan 2019, Google announced TensorFlow 2.0.[18] It became officially available in Sep 2019.[19] In May 2019, Google announced TensorFlow Graphics for deep learning in computer graphics.[20].[21] In May 2017, Google announced the second-generation, as well as the availability of the TPUs in Google Compute Engine.[22].[23] In February 2018, Google announced that they were making TPUs available in beta on the Google Cloud Platform.[24] Edge TPU In July 2018, the Edge TPU was announced. Edge TPU is Google's purpose-built ASIC chip designed to run TensorFlow Lite machine learning (ML) models on small client computing devices such as smartphones[25] known as edge computing. TensorFlow Lite In May 2017, Google announced a software stack specifically for mobile development, TensorFlow Lite.[26] In January 2019, TensorFlow team released a developer preview of the mobile GPU inference engine with OpenGL ES 3.1 Compute Shaders on Android devices and Metal Compute Shaders on iOS devices.[27] In May 2019, Google announced that their TensorFlow Lite Micro (also known as TensorFlow Lite for Microcontrollers) and ARM's uTensor would be merging.[28] TensorFlow Lite uses FlatBuffers as the data serialization format for network models, eschewing the Protocol Buffers format used by standard TensorFlow models.). Applications Google officially released RankBrain on October 26, 2015, backed by TensorFlow. Google also released Colaboratory, which is a TensorFlow Jupyter notebook environment that requires no setup to use.[29] Machine Learning Crash Course (MLCC) On March 1, 2018, Google released its Machine Learning Crash Course (MLCC). Originally designed to help equip Google employees with practical artificial intelligence and machine learning fundamentals, Google rolled out its free TensorFlow workshops in several cities around the world before finally releasing the course to the public.[30] TensorFlow 2.0 As TensorFlow's market share among research papers was declining to the advantage of PyTorch[31],.[32] Other major changes included removal of old libraries, cross-compatibility between trained models on different versions of TensorFlow, and significant improvements to the performance on GPU.[33][non-primary source needed] Features TensorFlow provides stable Python (for version 3.7 across all platforms)[34] and C APIs;[35] and without API backwards compatibility guarantee: C++, Go, Java,[36] JavaScript[3] and Swift (archived and development has ceased).[37][38] Third-party packages are available for C#,[39][40] Haskell,[41] Julia,[42] MATLAB,[43] R,[44] Scala,[45] Rust,[46] OCaml,[47] and Crystal.[48] "New language support should be built on top of the C API. However, [..] not all functionality is available in C yet."[49] Some more functionality is provided by the Python API. Applications Among the applications for which TensorFlow is the foundation, are automated image-captioning software, such as DeepDream.[50] See also References - ↑ 1.0 1.1 "Credits".. - ↑ "TensorFlow Release" (in en-US).. - ↑ 3.0 3.1 "TensorFlow.js".. - ↑ Abadi, Martín; Barham, Paul; Chen, Jianmin; Chen, Zhifeng; Davis, Andy; Dean, Jeffrey; Devin, Matthieu; Ghemawat, Sanjay et al. (2016). TensorFlow: A System for Large-Scale Machine Learning.. - ↑ Google (2015). TensorFlow: Open source machine learning. "It is machine learning software being used for various kinds of perceptual and language understanding tasks" – Jeffrey Dean, minute 0:47 / 2:17 from YouTube clip - ↑ Video clip by Google about TensorFlow 2015 at minute 0:15/2:17 - ↑ Video clip by Google about TensorFlow 2015 at minute 0:26/2:17 - ↑ Dean et al 2015, p. 2 - ↑ Metz, Cade (November 9, 2015). "Google Just Open Sourced TensorFlow, Its Artificial Intelligence Engine".. - ↑ Dean, Jeff; Monga, Rajat; Ghemawat, Sanjay (November 9, 2015). "TensorFlow: Large-scale machine learning on heterogeneous systems". Google Research.. - ↑ Perez, Sarah (November 9, 2015). "Google Open-Sources The Machine Learning Tech Behind Google Photos Search, Smart Reply And More".. - ↑ Oremus, Will (November 9, 2015). "What Is TensorFlow, and Why Is Google So Excited About It?".. - ↑ Ward-Bailey, Jeff (November 25, 2015). "Google chairman: We're making 'real progress' on artificial intelligence".. - ↑ "Tensorflow Release 1.0.0".. - ↑ Metz, Cade (November 10, 2015). "TensorFlow, Google's Open Source AI, Points to a Fast-Changing Hardware World".. - ↑ Machine Learning: Google I/O 2016 Minute 07:30/44:44 accessdate=2016-06-05 - ↑ TensorFlow (2018-03-30). "Introducing TensorFlow.js: Machine Learning in Javascript".. - ↑ TensorFlow (2019-01-14). "What's coming in TensorFlow 2.0".. - ↑ TensorFlow (2019-09-30). "TensorFlow 2.0 is now available!".. - ↑ TensorFlow (2019-05-09). "Introducing TensorFlow Graphics: Computer Graphics Meets Deep Learning".. - ↑ Jouppi, Norm. "Google supercharges machine learning tasks with TPU custom chip".. - ↑ "Build and train machine learning models on our new Google Cloud TPUs". Google. May 17, 2017.. - ↑ "Cloud TPU".. - ↑ "Cloud TPU machine learning accelerators now available in beta". Google Cloud Platform Blog.. - ↑ Kundu, Kishalaya (2018-07-26). "Google Announces Edge TPU, Cloud IoT Edge at Cloud Next 2018" (in en-US).. - ↑ "Google's new machine learning framework is going to put more AI on your phone".. - ↑ TensorFlow (2019-01-16). "TensorFlow Lite Now Faster with Mobile GPUs (Developer Preview)".. - ↑ "uTensor and Tensor Flow Announcement | Mbed".. - ↑ "Colaboratory – Google" (in en).. - ↑ "Machine Learning Crash Course with TensorFlow APIs" (in en).. - ↑ He, Horace (10 October 2019). "The State of Machine Learning Frameworks in 2019". The Gradient.. - ↑ He, Horace (10 October 2019). "The State of Machine Learning Frameworks in 2019". The Gradient.. - ↑ "TensorFlow 2.0 is now available!". TensorFlow Blog. 30 September 2019.. - ↑ "All symbols in TensorFlow | TensorFlow" (in en).. - ↑ "TensorFlow Version Compatibility | TensorFlow" (in en).. "Some API functions are explicitly marked as "experimental" and can change in backward incompatible ways between minor releases. These include other languages" - ↑ "API Documentation".. - ↑ TensorFlow (2018-04-26). "Introducing Swift For TensorFlow" (in en).. "not just a TensorFlow API wrapper written in Swift" - ↑ "Swift for Tensorflow is being archived and development has ceased" (in en).. "As S4TF heads into maintenance mode, it’s a bit Exploding head to reflect on how much I’ve learned." - ↑ Icaza, Miguel de (2018-02-17). "TensorFlowSharp: TensorFlow API for .NET languages".. - ↑ Chen, Haiping (2018-12-11). "TensorFlow.NET: .NET Standard bindings for TensorFlow".. - ↑ "haskell: Haskell bindings for TensorFlow". tensorflow. 2018-02-17.. - ↑ Malmaud, Jon (2019-08-12). "A Julia wrapper for TensorFlow".. "operations like sin, * (matrix multiplication), .* (element-wise multiplication), etc [..]. Compare to Python, which requires learning specialized namespaced functions like tf.matmul." - ↑ "A MATLAB wrapper for TensorFlow Core". 2019-11-03.. - ↑ "tensorflow: TensorFlow for R". RStudio. 2018-02-17.. - ↑ Platanios, Anthony (2018-02-17). "tensorflow_scala: TensorFlow API for the Scala Programming Language".. - ↑ "rust: Rust language bindings for TensorFlow". tensorflow. 2018-02-17.. - ↑ Mazare, Laurent (2018-02-16). "tensorflow-ocaml: OCaml bindings for TensorFlow".. - ↑ "fazibear/tensorflow.cr" (in en).. - ↑ "TensorFlow in other languages | TensorFlow Core" (in en).. - ↑ Byrne, Michael (November 11, 2015). "Google Offers Up Its Entire Machine Learning Library as Open-Source Software"..
https://handwiki.org/wiki/Software:TensorFlow
CC-MAIN-2021-25
refinedweb
1,362
51.85
/* Provide prototypes for functions exported from prefix.c. Copyright (C) 1999 Free Software Foundation, Inc. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU Library GCC; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef GCC_PREFIX_H #define GCC_PREFIX_H /* Update PATH using KEY if PATH starts with PREFIX. The returned string is always malloc-ed, and the caller is responsible for freeing it. */ extern char *update_path PARAMS ((const char *path, const char *key)); extern void set_std_prefix PARAMS ((const char *, int)); #endif /* ! GCC_PREFIX_H */
http://opensource.apple.com//source/gccfast/gccfast-1621.1/gcc/prefix.h
CC-MAIN-2016-36
refinedweb
111
67.86
Bart De Smet's on-line blog (0x2B | ~0x2B, that's the question) As you've heard by now, Orcas beta 2 (or should I start to talk about VS2008 and .NET Framework 3.5 instead?) has hit the web. If you didn't know yet, here are a few pointers: On to the real stuff. In this post I want to talk about a new C# 3.0 feature, called partial methods, that's introduced in the beta 2 release. Likely you already know about partial classes, which were added in the 2.0 timeframe. So, what's in a name? In short, partial classes allow you to split the definition of a class across multiple files, or alternatively you could think about it as a code compilation unit separated over multiple files. The reason for the existence of this feature is - primarily - to provide a nice split between generated code and user code, as in the Windows Forms Designer that generates its code in a separate file, while developers have almost (you should delete the initialization call in the ctor) full control over the form's other code file (the one where the event handlers find a place to live). Partial methods are methods living in partial classes which are marked as partial. Their existence also stims from the world of code generation - although it's likely to be useful outside this scope too - and allows to compile efficient code while allowing end-user extensions to the class by implementing a method. I know it's a little vague, so let's take a look at a more concrete sample. Over here I have a simple console app: using System; partial class PartialMethods //Part 1{ static void Main() { Do(); } static partial void Do();} partial class PartialMethods //Part 2{ static partial void Do() {}} using System; partial class PartialMethods //Part 1{ static void Main() { Do(); } static partial void Do();} partial class PartialMethods //Part 2{ static partial void Do() {}} I've defined both parts of the partial class in the same file, but in real scenarios you'd have the two parts in separate files of course. So, what's happening in here? In part 1 of the class definition, I've declared the Do method as partial. Notice it's a static but that doesn't need to be the case, it works in a similar fashion with instance methods. Partial methods don't take an implementation body, it's just a declaration, much as you're used to in interfaces or abstract classes. In part 2 of the class definition, I've 'implemented' the partial method, for demo purposes just with an empty body. In reality, the complete definition from above is equal to: using System; class PartialMethods{ static void Main() { Do(); } static void Do() {}} class PartialMethods{ static void Main() { Do(); } static void Do() {}} If you take a look at the IL code: (Notice the new version number on the C# compiler) you can see that the Main method contains a call to the Do method. But what if we'd omit the definition of the partial method, like this: using System; partial class PartialMethods{ static void Main() { Do(); } static partial void Do();} partial class PartialMethods{ static void Main() { Do(); } static partial void Do();} In other words, what if no part of the partial class provides a method body for Do? Then, the following happens: Right, no single trace of Do at the caller's side. It goes even further than that: all of the parameters evaluation is omitted too: try to guess what the following will print: using System; partial class PartialMethods{ static void Main() { int i = 0; Console.WriteLine(i); Do(i++); Console.WriteLine(i); } static partial void Do(int i);} partial class PartialMethods{ static void Main() { int i = 0; Console.WriteLine(i); Do(i++); Console.WriteLine(i); } static partial void Do(int i);} Right, if there's an implementation of Do, you'll see this piece of code in Main: The region indicates by the red rectangle is the piece of IL code that's part of the Do(i++) method call. Ignore the nop instructions as I'm generating non-optimized debuggable code (for the unaware, nop instructions are inserted in debug builds to allow to set breakpoint on various code elements, including lines with just curly braces; in the code above, the whole method body is surrounded with two nops, one for both Main method body curly braces). I you don't have an implementation somewhere, you'll just see this: There's just a nop left, and the i++ side-effect's code is gone too. In other words, you can't tell what the code will print if you don't know whether or not there's a method body somewhere. Notice this is somewhat similar to conditional compilation with the ConditionalAttribute: using System;using System.Diagnostics; class Program{ static void Main() { int i = 1; Console.WriteLine(i); Do(i++); Console.WriteLine(i); } [Conditional("BAR")] static void Do(int i) { }} using System;using System.Diagnostics; class Program{ static void Main() { int i = 1; Console.WriteLine(i); Do(i++); Console.WriteLine(i); } [Conditional("BAR")] static void Do(int i) { }} As you can see, the caller's IL is very similar: unless you define BAR (e.g. using #define or using the /define:BAR csc command line switch): Notice the use of System.Diagnostics.CondtionalAttribute isn't limited to partial classes. The most known use of this attribute is likely the Debug class, which has static methods (such as Assert) that are marked with Conditional["DEBUG"]: if you're running a non-debug build, no Debug.* calls are left in the code. There are a few core differences however; start by taking a look at the callee. No matter how the code is built, the Do method definition will be there: Tip: try to read the serialized custom attribute's data; it says: 01 00 03 42 41 52 00 00, which really means "the three following bytes are B A R" (consult ECMA 335 for full details on custom attributes in IL). In case of partial methods, it's really partial: there can be calls to 'non-implemented' methods (at the surface it looks as if the method signature is still there, so it feels like a non-implemented method, although in the resulting code there's just nothing left from a partial method if no method body is found). Of course, there are a few limitations in using partial methods. First of all, partial methods are always private. The following won't compile (error CS0750: A partial method cannot have access modifiers or the virtual, abstract, override, new, sealed, or extern modifiers): using System; partial class Bar{ public partial void Foo();} partial class Bar{ public partial void Foo();} The reason for this is simple: if no single bit of code is generated, even not at the callee side (i.e. there's no metadata describing a "partial method declaration"), the method shouldn't be visible outside the scope of the class since external callers don't know whether the method really exists or not. For the same reason, you can't create a delegate to a partial method (CS0762: Cannot create delegate from method %1 because it is a partial method without an implementing declaration): using System; using System.Threading; partial class Program{ static void Main() { new Thread(new ThreadStart(Worker)).Start(); } partial void Worker();} using System; using System.Threading; partial class Program{ static void Main() { new Thread(new ThreadStart(Worker)).Start(); } partial void Worker();} If you have an implementing declaration however, the code will compile fine (but in such a case you're intentionally specifying an implementation, so you won't have much benefit of declaring the method as partial). Another limitation is that the method needs to have the void return type. The following won't compile (CS0766: Partial methods must have a void return type): using System; partial class Bar{ partial int Foo();} partial class Bar{ partial int Foo();} Again, the reason is straightforward. If we don't know for sure there will be a method implementation, how can we possibly know what the return value should be? int i = new Bar().Foo();int j = i * 2; //??? int i = new Bar().Foo();int j = i * 2; //??? Similarly, out parameters are not allowed (error CS0752: A partial method cannot have out parameters): using System; partial class Bar{ partial void Foo(out int i);} partial class Bar{ partial void Foo(out int i);} for the same reason. In general I tend to avoid out parameters in most cases, especially for the public interface of an API design. The main reason for this is the lack of composability when working with such APIs: calling a method with out params requires users to define a variable first, prior to making the call. A functional style (functions, in math terms, do have a single output value - which of course can be a composed type) is much easier to use, but it might require a bit of additional work to create a suitable return type that wraps all of the to-be-returned values. Ref parameters are allowed nevertheless: using System; partial class Bar{ partial void Foo(ref int i);} partial class Bar{ partial void Foo(ref int i);} In reality, out and ref are the same under the covers, but the compiler enforces different checks: out params must be assigned (CS0177) as part of the method body, ref params don't need to do so; at the caller's side, ref params should be assigned prior to making a call (CS0165). Obviously, there shouldn't bee more than one declaration and/or implementation: using System; partial class Bar{ static void Foo(); static void Foo(); //CS0756: A partial method may not have multiple defining declarations}partial class Bar{ static void Foo() {} static void Foo() {} //CS0757: A partial method may not have multiple implementing declarations} partial class Bar{ static void Foo(); static void Foo(); //CS0756: A partial method may not have multiple defining declarations} The code fragment above sets the vocab right: defining declaration and implementing declaration. Also, you can't have an implementing declaration if there isn't a defining declaration (CS0759). Where does Orcas eat its own dogfood? LINQ to SQL is one place where you see partial methods in action. In the illustration below, I've created a LINQ to SQL Classes ".dbml" file: and I created a mapping for some SQL Server 2005 table from TFS: Now, when you take a look at the generated code in the corresponding designer file, you'll see a region marked as "Extensibility Method Definitions". This one contains a bunch of partial methods: I've indicated one pair of a partial method definition and an invocation, as used in an column mapping auto-generated property, in this case for a field called "AssemblySignature" (don't ask me about the TFS db schema): For each such property, the setter has two "guards" that call a generated partial method. If you don't do anything else than just generating the entity classes, these calls are non-existing because there's only a defining declaration without an implementing one. However, these inserted calls are really extension points for the end-users of the generated code; in this case for LINQ to SQL, these allow to add business logic validation rules, e.g. as follows: Just define another part of the partial class and type "partial". IntelliSense will jump in and tell you about the partial methods that you can provide an implementing declaration for. Select it and press enter to implement the method: Once you've implemented such a method, the compiled code will contain the calls to it in the property setters, and you were able to do so without touching the generated code (which you shouldn't do, because it will be overwritten sooner or later). Notice one could get similar results by using events, but these cause runtime overhead that can't be eliminated. A sample with events is shown below (sorry to stress Gen 0 of your GC): #region Consumer class Program{ static void Main() { Stopwatch sw = new Stopwatch(); sw.Start(); for (int i = 0; i < 1000000; i++) { Bar b = new Bar(); b.Callback += delegate { /* Console.WriteLine("ET calling home."); */ }; b.Do(); } sw.Stop(); Console.WriteLine(sw.Elapsed.Milliseconds); }} #endregion #region Provider delegate void Callback(); class Bar{ public event Callback Callback; public void Do() { if (Callback != null) Callback(); }} #endregion Execution time of this piece of code is around 72 ms on my Orcas Beta 2 VPC. If you drop the callback event registration on the consumer's side, it's about 17 ms. Below is an alternative using partial methods: class Program{ static void Main() { Stopwatch sw = new Stopwatch(); sw.Start(); for (int i = 0; i < 1000000; i++) { Bar b = new Bar(); b.Do(); } sw.Stop(); Console.WriteLine(sw.Elapsed.Milliseconds); }}partial class Bar{ partial void Callback() { /* Console.WriteLine("ET calling home."); */ }} partial class Bar{ partial void Callback(); public void Do() { Callback(); }} #endregion Notice the consumer's side has been extended a little bit. In order to "register to the event" you'll need to write a partial method implementing declaration. Executing this piece of code costs about 12 ms, with the callback in there (6 times faster). If you drop the callback (i.e. no "partial class Bar" thing in the Consumer region), perf will be about the same (though, in theory, slightly faster). However, observe the difference with using events: the whole callback overhead through delegates is worse than having a "regular" method call in place. Of course, you can't compare both approaches on a general level since events and delegates are much richer constructs (just to name one difference: partial methods should be private, so you can't cross the boundary of a class definition, while events can be exposed as public members). I guess I shouldn't forget to mention that VB 9.0 has partial methods as well. Although it looks a bit like a zebra in the code editor <g>, it works similarly: One unfortunate thing about all of this is the lack of CodeDOM support for partial methods (it supports partial classes though). So, you'll have to rely on a CodeSnippetTypeMember instead of a CodeMemberMethod to create the partial methods, just using (constant) string values. The reason for this discrepancy is the fact that CodeDOM is part of the v2.0 FX assemblies which don't change in .NET FX 3.5. Pretty cool, isn't it? Bah. If the framework gets new features, there should be CodeDOM support for it. ...very much so! Looks quite useful. Thanks for the rundown. Hi TraumaPony, I do understand you concerns. However, for code-generation there are quite some options to choose from. Making CodeDOM too heavy would reduce its (mostly) language-indepent characteristic, certainly now that languages start to evolve quickly (LINQ syntax, lambdas, XML literals in VB 9, ...) First of all, notice that CodeDOM isn't complete because it just covers basic concepts that most languages do expose; an obvious example is to generate code for iterators using the yield keyword or even something "as trivial as" a foreach loop construct. There are many such things that aren't covered by CodeDOM, it's a matter of finding a good set of things that can be translated into various target languages. That's why God invented the concept of raw literal code snippets in order to escape from such issues; however, this will likely require you to make a switch in your code to distinguish between the languages you're targeting (if VB ... else if C# ... else Oops!). An alternative approach to code-generation is to use simple and straightforward string replacements. For example, the built-in VS templates - as you can find in %PROGRAMFILES%\Microsoft Visual Studio 8\Common7\IDE\ItemTemplates\CSharp\1033 in case of C# - are based on such a replacement mechanism driven by the item template's settings (see the vstemplate XML file). This is particularly useful if you can really define a template with a few customization holes in it. In contrast to CodeDOM this approach doesn't hide the generated code in a large chunk of code-generation code. Last but not least, there's the approach taken by the Visual Studio DSL tools that's inspired on plain old ASP processing. Templates can be written using plain text, mixed with instructions wrapped by <# ... #>, e.g.: class People { <# foreach (Person person in this.Model.Persons) { #> public string <#=person.Name#> { get; set; } } Hope this helps, -Bart Pingback from University Update-C#-C# 3.0 partial methods - What, why and how? 在看C#语言的What's New时,突然发现新特性列表的最后,多出了一个“Partial Method Definitions ”,但并不像其他新特性一样有超链接链接到其说明。上网搜索了一下,关于分部类型的信息非常少。尤其是中文信息,只有CSDN的 周融 在其《C# 3.5 语言在 Visual Studio Orcas Beta 1 上的新增功能(二) 》一文的最后提到了这个分部方法,但没有进一步说明。英文技术文章中,倒是有两篇不错的: Partial methods Pingback from C++,C#, .NET, ADO.NET, SQL, Visual Studio GURU » Blog Archive » Partial Methods (Parcijalne Metode - novine u C# 3.0) You've been kicked (a good thing) - Trackback from DotNetKicks.com Pingback from 10 Hot ASP.NET Tips and Tricks - 10/28/2007 Pingback from 3 Links Today (2007-09-29) C# 2.0 and Partial class, in one of the amazing features to work with one class separated in multiple I often rethink or have additions to my posts. This topic of what's coming in C# vNext is definitely What and Why is LINQ? LINQ , stands from "Language Integrated Query", so is a thing which is
http://community.bartdesmet.net/blogs/bart/archive/2007/07/28/c-3-0-partial-methods-what-why-and-how.aspx
crawl-001
refinedweb
2,931
59.43
Introduction: Here I will explain how to sort gridview columns based on dropdownlist selection in asp.net using Order By clause in SQL Server. Whenever we are trying to sort a gridview or Repeater through the dropdownlist we used to add either switch case or if else condition. So there will be too many conditions as the list of the dropdownlist increases and every time you have to change in code behind (adding conditions or delete conditions). While doing one of my projects I found its solutions myself and going to share with you. Description: Previously we have discussed about Sorting Columns in Repeater Control in Asp.net using C#, How to show the up and down arrows during sorting of column in gridview using asp.net and today we will show how to sort gridview columns based on dropdownlist selection in asp.net using Order By clause in SQL Server. All of us know how to use ORDER BY clause in SQL Server code for example simple query like as shown below Here the column_name and order are variable, and others are same. So if it possible to pass the value of column_name with order (asc or desc) to the sql query then our problem will be solved. I did the same thing here. I pass the column name and order from dropdownlist selection to code behind by post back method and in code behind with the help of just one single query (no if else conditions used) I get the ordered table. Let's see how. Design your aspx page like as shown below with dropdownlist and gridview Here you can see I am sending the value of column_name and the order with the dropdownlist value. That's the trick not to use multiple if else condition or switch case. Now with the C# code. It’s pretty simple. After completion of aspx page write the add following namespaces in codebehind C# Code Now write the following code in code behind I split the value of selected option into two part. 1. Column Name 2. Order And then run the sql query over that to get the sort table. Get the attached files for better experience. Happy coding... Download Sample Attachment Arkadeep De 6 comments : Hello, Please do the correction in Third ListItem. please change the text of this listItem. Hhyh ohoo....thks... Very useful code
http://www.aspdotnet-suresh.com/2015/03/sort-aspnet-gridview-columns-with-dropdownlist-selection-in-csharp-using-orderby-in-sql-server.html
CC-MAIN-2017-09
refinedweb
398
72.56
The C++ slack is alive and kicking: cpplang.slack.com I can invite it people need one. Type: Posts; User: MutantJohn The C++ slack is alive and kicking: cpplang.slack.com I can invite it people need one. I used to love that cartoon lol. I'm kinda surprised to even see it referenced XD Holy crap, he lives and breathes! Alright, man, you gotta join the C++ Slack. Join using this. There are still 32 bit processors? Yes! We can most certainly help you, OP. Consider using Compiler Explorer Here you can play around with all kinds of C++ code and see how it compiles across various compilers. I don't think it's a good practice either to use using directives inside header files. Yeah, let's pump some life into this board. Ask lots of question, this site needs more traffic. Hmm, unfortunate. Does this link maybe help? MinGW-w64 - for 32 and 64 bit Windows / Wiki2 / Building Boost Are you making sure that you're specifying your toolset to gcc? If you're on Windows, I highly recommend downloading and using vcpkg along with CMake. vcpkg is a Linux-like package manager for C++ development on Windows and it's amazing, imo. Relevant StackOverflow: How do I get currency exchange rates via an API such as Google Finance? - Stack Overflow In terms of C++ libs, I recommend something easy and simple like the cpprestsdk. I... There's a pretty cool concurrency library that came out recently: Concurrency Written by some decent C++ developers as well. Figured I'd give it a plug :P So, I had a lot of fun coding this up. It's so over-engineered that it can't possibly be turned in for a homework assignment: Compiler Explorer - C++ But that's some type-safe, awesome C++ for ya!... Oh, it seems like it's a site that attempts to audit your security measures. Probably only exists to give users a sense of peace of mind. I also wanna highly recommend Catch. It's amazing! If you don't need mocking capabilities :P Just pick a project that you're passionate about and code it to completion. This is probably a fantastic case for not using "using namespace std;" and also calling functions in an unqualified way. But to answer your question, because there's multiple suitable definitions... What would be politically incorrect about saying, "Like most super hero movies, it sucked and was better in my imagination"? Or is this because Gal Gadot is Israeli? ;) Well, there is garbage collector support. If you scroll down on this page you can see a section about garbage collector support. The thing is though, C++ doesn't need a garbage collector, by and... Ooh, that would've been such a cool feature! If you had an account for such and such amount of time without being horrendously moderated constantly, you have implicit approval. That'd be so cool lol. Watch Ghana vs Spain Live Stream! Edit: The OP immediately reminded me of all the recent spam bots :P "Hey, does this link work for you guys?" You probably just need to add the include path. It's "-I/path/to/lib/directory" We might need to see the full code here. void pointers are more or less meant for raw byte allocations. If you wanna use temp, you need it to point to a real type. Keep in, void pointers are allowed but there's no such thing as a void value... My gf and I made some pretty good coconut curry last night. We've finally realized that you can/should toast your spices before cooking with them and the food turned out significantly better.
https://cboard.cprogramming.com/search.php?s=e5495471b72bf1832ae22b6ef343098e&searchid=7428426
CC-MAIN-2021-43
refinedweb
622
75.5
Timezone strings I don't understand this challenge import datetime import pytz starter = pytz.utc.localize(datetime.datetime(2015, 10, 21, 23, 29)) to_timezone = datetime.timezone(2015, 10, 21, 23, 29, tzinfo=None) starter.astimezone(to_timezone) 1 Answer Megan AmendolaTreehouse Teacher Hi, Aizah! First, the challenge asks you to create a function, so to_timezone should be a function, not a variable. Next, it says the function will receive a timezone as a string as an argument, so the function should have one argument. Then it says to use the given timezone that is being passed in to convert starter to this timezone using pytz. def to_timezone(tz_string): tz = pytz.timezone(tz_string) return starter.astimezone(tz) wicker2,987 Points You are a lifesaver. Jason Kampf4,872 Points Jason Kampf4,872 Points I am also stuck on that challenge. Here is what I have: What am I doing wrong here?
https://teamtreehouse.com/community/timezone-strings
CC-MAIN-2021-39
refinedweb
148
68.97
Blogging on App Engine, part 2: Basic blogging Posted by Nick Johnson | Filed under coding, app-engine, tech, bloggart This is the second in a series of articles on writing a blogging system on App Engine. An overview of what we're building is here. In this post, we'll be handling the most basic part of blogging: Submitting new posts. For this, we're going to have to create our admin interface - which will involve a fair bit of boilerplate - as well as templates for both the admin interface and the blog posts themselves. But first, we need to make a slight change to the static serving code. In order to publish new blog posts, we need to make sure we can generate a unique URL for the post, and for that we need a new method in the static serving interface. We'll call it 'add', and define it in static.py like so: add() is a fairly straightforward transactional wrapper for set(), which first checks if a resource with the provided URL path already exists, and only creates it if it doesn't, returning None otherwise. def add(path, body, content_type, **kwargs): def _tx(): if StaticContent.get_by_key_name(path): return None return set(path, body, content_type, **kwargs) return db.run_in_transaction(_tx) Next, we need to add routing for our new handlers to app.yaml. Add the following above the handler for static.py: You can see the app so far (such as it is) at, and you can view the source on github. Both will be kept up to date as the series progresses. - url: /admin/.* script: admin.py login: admin - url: /static/([^/]+)/(.*) static_files: themes/\1/static/\2 upload: themes/[^/]+/static/.* The first handler routes all admin functionality to our admin interface. The second handler is for static content, such as CSS and images, and deserves a little explanation. We'll be organizing our templates and static content into 'themes', to allow for easy re-skinning of the blog. In order to allow us to locate all theme-related content - both static content and templates - together, we'll make use of app.yaml's static file pattern handlers, which allow us to specify arbitrary regular expressions for static serving. Here, we specify that any URL starting with /static/x will be served from theme x's 'static' directory. We'll also need a place to define some basic configuration options that will vary from blog to blog. We'll use a Python module for this, because it's easy to read and write, and even easier to parse. Create 'config.py' in the app's root directory, and add the following: blog_name = 'My Blog' theme = 'default' post_path_format = '/%(year)d/%(month)02d/%(slug)s' Now we need to write our admin handler itself. Create a new file, admin.py, in the root of your app. We'll start by defining what a BlogPost looks like: class BlogPost(db.Model): # The URL path to the blog post. Posts have a path iff they are published. path = db.StringProperty() title = db.StringProperty(required=True, indexed=False) body = db.TextProperty(required=True) published = db.DateTimeProperty(auto_now_add=True) updated = db.DateTimeProperty(auto_now=True) Obviously, a post needs to be able to render itself. For this, we need to write some helper functions. Add the following function to the top level: def render_template(template_name, template_vals=None, theme=None): template_path = os.path.join("themes", theme or config.theme, template_name) return template.render(template_path, template_vals or {}) render_template is a straightforward wrapper for App Engine's template.render method, which handles finding our template based on the current theme selected. Note our use of 'or': In Python, "a or b" returns the first of the two that does not evaluate to False. This is a nice shortcut for using an argument if it's set, or a default if it's not, as in "theme or config.theme". Next, add a method called render() to our BlogPost class that calls it: Next, add a method called render() to our BlogPost class that calls it: def render(self): template_vals = { 'config': config, 'post': self, } return render_template("post.html", template_vals) This method simply wraps render_template, calling it with the values our template (which we haven't written yet) will require to render the user's view of the blog post. We'll also need a form class for our blog post. We'll use model forms for convenience: class PostForm(djangoforms.ModelForm): class Meta: model = BlogPost exclude = [ 'path', 'published', 'updated' ] Note that we're excluding 'path', 'published', and 'updated' from the form; these will be generated by our code. Now that we have our model and form sorted, we can write the handler for new post submissions. Add the following class to admin.py: class PostHandler(webapp.RequestHandler): def render_to_response(self, template_name, template_vals=None, theme=None): template_name = os.path.join("admin", template_name) self.response.out.write(render_template(template_name, template_vals, theme)) def render_form(self, form): self.render_to_response("edit.html", {'form': form}) def get(self): self.render_form(PostForm()) def post(self): form = PostForm(data=self.request.POST) if form.is_valid(): post = form.save(commit=False) post.publish() self.render_to_response("published.html", {'post': post}) else: self.render_form(form) There's quite a bit going on here, so we'll take the methods in order: - render_to_response() is a convenience method; it takes a template name and values, then calls render_template and writes the result to the response. When we have more than one admin handler, we'll want to refactor this into a RequestHandler base class. - render_form() is another convenience method; it accepts a form, and uses render_to_response to render a page containing the form. - get() generates the page with a blank form when it's requested by the user's browser with a GET request. - post() accepts form submissions and checks them for validity. If the form isn't valid, it shows the user the submission form again; Django takes care of including error messages and filling out values that the user already entered. If the form is valid, it saves the form, creating a new entity. It then calls .publish() on the new BlogPost entity - more about that below. As you can see, when a valid submission is received, we're calling a mysterious 'publish' method on the new BlogPost entity. This method will handle generating a unique URL for the post, and saving it for the first time. If the post already exists, publish() will update the static content with any changes. Before we can define publish(), we need a couple of helper methods: def slugify(s): return re.sub('[^a-zA-Z0-9-]+', '-', s).strip('-') def format_post_path(post, num): slug = slugify(post.title) if num > 0: slug += "-" + str(num) return config.post_path_format % { 'slug': slug, 'year': post.published.year, 'month': post.published.month, 'day': post.published.day, } Here, slugify() takes care of converting the post title into something suitable for a URL. It replaces non alphanumeric characters with hyphens, then strips out any leading or trailing hyphens. format_post_path() generates the path component of a URL for the post: It slugifies the post's title, optionally appends a unique number, and then formats the URL using the format string we defined in the config file earlier in the article. Now we can finally define the publish() method on BlogPost: def publish(self): rendered = self.render() if not self.path: num = 0 content = None while not content: path = format_post_path(self, num) content = static.add(path, rendered, "text/html") num += 1 self.path = path self.put() else: static.set(self.path, rendered, "text/html") This is where the real magic of publishing our new (or updated) blog post happens, by making use of the static serving interface we defined in the first post. Most of this method is concerned with finding a valid unique URL for the post if it hasn't already got one. The while loop calls format_post_path repeatedly, with a different unique number each time, then calls static.add, which we defined at the top of this article, to attempt to save the post with that URL path. Sooner or later, a unique URL is found, in which case it stores the new path to the post and saves it to the datastore. If the post already had a URL, none of that is necessary, and we simply call static.set() with the contents of the rendered page. Obviously, this method of manually generating and setting individual pages isn't going to scale too well once we start dealing with many interconnected and dependent pages - not just the posts themselves, but also the post listing pages, the Atom feeds, and eventually, pages for individual tags. In the next post, we'll work out a system for facilitating this problem of regenerating pages when needed, which will lay the foundation for all the other features we have planned. With that, we're more or less done with the actual code for our fledgling admin interface. As per usual, we've left out the boilerplate of imports, and the definition of the app; for all that, check out the new code for this stage in the repository. We've also left out the contents of the templates - I'm going to assume you're fairly familiar with Django templates already. If you're not, they're extremely straightforward to understand - you can view them here. Once you've written the module, and written or copied the templates, you can test out submitting a new blog post by going to . Try omitting one of the fields - you should be shown the form again, with an error message. If you fill everything out, you'll be directed to a confirmation page, with a link to your new blog post - which will be served from the static serving system we defined in the first post. In the next post, we'll develop a dependency system for regenerating changed pages, and demonstrate it by building an index page for our blog.Previous Post Next Post
http://blog.notdot.net/2009/10/Blogging-on-App-Engine-part-2-Basic-blogging
CC-MAIN-2017-13
refinedweb
1,668
65.32
Feedback Getting Started Discussions Site operation discussions Recent Posts (new topic) Departments Courses Research Papers Design Docs Quotations Genealogical Diagrams Archives It is generally known that JavaScript supports a functional style of programming. But because it does not have algebraic data types, the functional programming is usually limited to some simple higher order functions applied to Arrays. I have often build small libraries that allow working with some aspects of algebraic data types in JavaScript. This time I thought is was cool enough to write a bit about it: Algebraic Data Types in JavaScript It includes: I also show how to do the Data Types à la carte style of Wouter Swierstra with this library. This is very interesting! Some questions: Point = Data(function() ({ Pt: { x: Number, y: Number, color: Color } })) x y color Data I like how the recursion is explicit, as if you had a type fixpoint combinator μ. I'm also thrilled to see you using expression closures (I'm ecstatic that FF 3 has added them already, even before ES4 is done). I love expression closures! I don't think I would have finished this without them, the code simply becomes too horrible to look at. Syntactic order, using for/in. I know it is not spec'ed to be in order, but every browser has to implement it that way, if they don't want to break the web. If you really want to be sure, you can also use the array syntax, then your properties will be called 0, 1, 2. Well, browser-specific enumeration order is a bit thorny-- not all browsers behave exactly the same. Although I think they behave the same for arrays created from the literal syntax, so you might be safe there. But relying on for/in enumeration order is a delicate affair. You bet! For an admittedly contrived example, compare function Z(f) { return (function (x) { return f(function (y) { return x(x)(y) }) })( // must place paren on this line!!! function (x) { return f(function (y) { return x(x)(y) }) }); } with: function Z(f) (function (x) f(function (y) x(x)(y))) (function (x) f(function (y) x(x)(y))) I saw this yesterday and planned to post it, so I am instead promoting this to the home page. I guess it's member week here on LtU... I read Comparing Approaches to Generic Programming in Haskell. It seems that my implementation looks the most like PolyP. The "structure representation" contains both recursion and type parameters, which also means that it can only support regular types. But you can also do SYB stuff, f.e. the paradise benchmark looks like this: increase = function(k) Company.fold({ S: function(s) S (s * (1+k)) })
http://lambda-the-ultimate.org/node/2856
crawl-002
refinedweb
455
61.87
UFDC Home | Federal Depository Libraries of Florida & the Caribbean | Internet Archive | U.S. foreign trade All Volumes Description THUMBNAILS DOWNLOADS Page Images STANDARD ZOOMABLE Permanent Link: Material Information Title: U.S. foreign trade shipping weight and value, customs district and continent Alternate Title: U.S. airborne exports and general imports shipping weight and value; customs district and continent Physical Description: 3 v. : ; 27 cm. Language: Publisher: Bureau of the Census. Place of Publication: Washington Frequency: monthly with calendar year summaries Subjects Subjects / Keywords: Aeronautics, Commercial -- Freight -- Statistics -- Periodicals -- United States ( lcsh ) Commerce -- Statistics -- Periodicals -- United States ( lcsh ) Genre: serial ( sobekcm ) statistics ( marcgt ) federal government publication ( marcgt ) Notes Additional Physical Form: Also available in electronic format. Dates or Sequential Designation: Jan. 1971-Calendar year 1973 General Note: "FT 986." Record Information Source Institution: University of Florida Rights Management: All applicable rights reserved by the source institution and holding location. Resource Identifier: aleph - 023131821 oclc - 00963673 lccn - 71613271 issn - 0095-7771 System ID: AA00013676:00005 Related Items Preceded by: United States airborne foreign trade. Customs district by continent Succeeded by: U.S. airborne exports and general imports. Shipping weight and value, customs district and continent This item has the following downloads: ( XML ) Full Text A UNITED STATES DEPARTMENT OF COMMERCE PUBLICATION LVS^1 CL5( . 2\O ,9%( 7-3 ' U.S. FOREIGN TRADE AIRBORNE EXPORTS and GENERAL IMPORTS AUGUST 1972 'Shipping Weight and Value; customs District and Continent This report presents statistics on U.S. exports and imports by air in U.S. customs district by continent arrangement. Data have been compiled from Shipper's Export Declarations (Commerce Form 7525-V) and import entries during the regular processing of statis- tical data on foreign trade shipments. The customs districts shown in this report are those having combined exports and imports by airvalued at $1.5 million or more during the preceding calendar year. A complete list of customs districts and ports is presented in Schedule D, Classification of U.S. Customs Districts and Ports for U.S. Foreign Trade Statistics, January 1, 1972 edition, as amended. Exports These statistics represent exports of domestic and foreign merchandise combined and include government and nongovernment shipments of merchandise by air from the United States to foreign countries. The statistics, therefore, include Department of Defense Military Assistance Program--Grant-Aid shipments, shipments for economic assistance under the Foreign Assistance Act, and shipments of agricultural commod- ities under P.L. 480 (The Agricultural Trade Development and Assistance Act of 1954, as amended) and related laws. Shipments to U.S. Armed Forces and diplomatic missions abroad for their own use are not included in the export statistics. U.S. trade with Puerto Rico and U.S. possessions and trade between U.S. possessions are not included in this report, but exports from Puerto Rico to foreign countries are included as a part of the U.S. export statistics. Merchandise shipped through the United States in transit from one foreign country to another, when documented as such with U.S. Customs, is excluded. (Foreign merchandise that has entered the United States as an important is subsequently reexported is not treated as in-transit merchandise, and is included in this report.) The figures in this report exclude ex- ports of household and personal effects, shipments by mail and parcel post, and shipments of airplanes under their own power. For security reasons, certain commodities are desig- nated as Special Category commodities, for which security regulations place restrictions upon the export information that may be released. The data shown in this report for individual customs districts and conti- nents exclude exports of Special Category commodities, but overall shipping weight and value totals for Special Category commodities are shown. A list of Special Category commodities may be obtained from the Bureau of the Census. The statistics on exports of domestic and foreign merchandise to countries other than Canada reflect fully compiled data for shipments valued $500 and over combined with estimated data for shipments valued $251-$499, based on a 50-percent probability sample of such shipments. For exports to Canada the statistics reflect fully compiled data for shipments valued $2,000 and over combined with estimated data for shipments valued $251-$1,999, based on a 10-percent probability sample of such shipments. Shipping weight and value data are also estimated for shipments valued under $251. These estimates are not included in the data shown for individual customs districts. Since the export figures shown include estimates based on a sample of low-valued shipments, they are subject to some degree of sampling variability. The table on the following page provides a rough guide to the general level of sampling variability of value totals, on a 2 chances out of 3 basis. Usually, the higher value figures will have the lower percent sampling errors. For sale by the Bureau of the Census, Washington, D.C. 20233. Price 10 cents per copy. Annual subscription (FT 900, 975, 985, and 986 combined) $3.00. Proportion of cells wiui Value totals for "Total" and "North America" of- under under under under 2% 5% 104 2-0% $1,000,000 and over .60 .75 .85 1.00 $5000000-$1,000,000 .20 1.00 $100,00-$500,000 .30 .45 .70 1.00 $20,000-$100,000 .35 .70 1.00 Cells of under $20,000 Are likely to have sampling variability from $3,000 to $15,000 Value totals for Are likely to have sampling continents of South variability of- America, Europe, Asia, Australia and Oceania, and Africa of- $300,000 and over Less than 26 $100,000-$300,000 Less than 5% with over half of the totals less than 2% $20,000-$100,000 Generally less than 10% with over half of the totals less than 5% Under $20,000 Generally $500 to $5,000 Cells of $0 Generally less than $500 The sampling variability of shipping weightfigures, in percentage terms, can be approximated by the percent sampling variability of value. Imports These statistics represent general imports, whichare a combination of imports for immediate consumption and entries into bonded warehouses. The statistics include government as well as nongovernment shipments of merchandise by air from foreign countries to the United States. However, American goods returned by the U.S. Armed Forces for their own use are excluded. U.S. trade with Puerto Rico and with U.S. possessions and trade between U.S. possessions are not included in this report, but imports into Puerto Rico from foreign countries are considered to be U.S. imports and are included. Merchandise shipped through the United Stares in transit from one foreign country to another, when documented as such through U.S. Customs, is not re- ported as imports and is excluded from the data shown in this report. (Foreign merchandise that has entered the United States as an import and is subsequently re- exported is not treated as in-transit merchandise and is included in this report.) Importy of household and personal effects, imports by mail and parcel post, and imports of airplanes under their own power are not included. The statistics shown for individual customs districts represent fully compiled data for shipments valued $251 and over. Data for shipments valued under $251, re- ported on formal and informal entries (informal entries generally contain items valued under $251), are estimated from a I-percent sample. Separate shipping weight and value estimates for shipments valued under $251 are shown. The shipping weight data are estimated from the values on the basis of constants that have been derived from an observation of the value-weight relationships in past periods. Since the statistics showing total value of imports by all carriers include sample estimates, they are subject to sampling variability. In general, the higher value figures will have the lower percent sampling errors. Value totals of $500,000 and over will generally have a sampling variability of less than 3 percent; value totals of under $500,000 will generally have a sampling variability of less than $50,000. .. .... .. ... ... .... ... ........ ............ ...... Table i. Selected Customs Districts of Lading by Continent > C (Data shown represent domestic and foreign merchandise. Shipments of Special Calegory commodities are excluded from all district and continent data. Estimated shipments valued under 5251 are excluded from all district data 0 and data for U.S. flag carriers) - --4 Shipping weight (1.000 pounds) _Value t1,000 dollars) LD Total Total Customs district North South Australia North South Australia All S. America America Europe Asia and Afca All U.S. America America Europe Asia an Africa flag Oceana carriers lag Ocean carriers carriers caarrers Total, all carriers... 124,778 (X) 27,938 11,840 59,980 19,721 2,342 1,962 610,991 (X) 78,513 44,808 318,345 134,042 12,709 11,676 U.S. flag carriers...... (X) 42,387 10,997 3,306 17,768 9,035 563 271 (X) 220,950 35,108 11,975 100,493 60,888 3,972 3,055 Boston, Mass............ 4,130 1,517 597 3,381 55 45 52 17,947 7,396 1,567 15,456 587 204 132 Bridgeport, Conn........ 115 106 1 114 127 95 4 -123 - Ogdensburg, N.Y......... - Buffalo, N.Y............ 499 498 475 24 (Z) 2,765 2,758 2,672 87 6 - New York City, N.Y...... 53,941 16,940 4,504 3,355 37,968 6,853 207 1,054 303,874 100,599 14,824 17,451 211,205 50,893 1,627 7,876 Philadelphia, Pa........ 1,156 578 134 43 730 226 1 23 7,189 3,551 379 232 3,540 2,911 8 118 Baltimore, Md ........... 92 90 42 37 7 6 830 130 57 57 715 1 Wilmington, N.C......... - Charleston, S.C......... 20 20 1 12 2 6 235 235 12 149 17 58 - Savannah, Ga............ 329 256 89 1 209 23 7 3,077 619 270 20 2,358 406 24 'rl Tampa, Fla.............. 105 59 100 5 152 63 139 13 X Mobile, Ala............. 24 24 24 250 250 250 - New Orleans, La ........ 366 91 346 20 1 1,034 438 893 114 26 - Laredo, Tex............. 400 210 385 8 7- 715 473 626 43 46 - El Paso, Tex........... 325 325 324 1 (Z) 1,119 1,119 1,115 1 3 - Nogales, Ariz........... 90 69 90 634 580 634 - Los Angeles, Calif ...... 7,233 2,833 1,362 193 2,030 2,949 580 119 70,606 24,020 8,653 1,908 24,958 30,577 3,618 892 San Francisco, Calif.... 5,564 2,931 245 71 355 '4,207 682 4 43,282 18,739 2,039 432 3,221 32,021 5,468 101 Portland, Oreg.......... 110 110 7 102 1 (Z) 1,450 1,450 85 1.344 15 -6 0 Seattle, Wash........... 1,177 646 265 2 411 475 16 8 6,465 3,600 861 15 2,029 3,204 59 298 Anchorage, Alaska....... 246 13 13 22 211 374 22 22 93 259 Honolulu, Hawaii........ 185 102 9 11 116 49 -905 539 7 17 550 332 Great Falls, Mont....... 60 60 60 230 230 230 - Pembina N. Dak.........- - Minneapolis, Minn....... 256 139 65 191 (Z) () 2,091 1,168 289 1,796 5 1 Detroit, Mich .......... 2,074 1,669 491 27 1,487 40 13 16 8,934 7,736 2,093 132 6,367 102 167 74 Chicago, 111............ 11,958 5,112 3,131 2 6,743 1,836 22 225 18,098 19,351 13,496 7 26,776 6,944 158 717 Cleveland, Ohio......... 997 77 763 1 227 (Z) (Z) 5 1,858 249 1,207 4 636 4 3 3 St. Louis Mo .......... 96 96 4 65 7 (Z 1,668 1,668 27 1,633 6 - Sen Juan, P.R........... 837 575 718 110 9 (Z) 3,075 2,180 1,391 1,298 380 6 Miami, Fla.............. 14,200 5,832 7,226 6,593 362 17 (L) 2 37,374 13,960 15,059 19,923 2,299 80 1 13 Houston, Tex ............ 1,563 668 824 124 334 196 1 85 5,985 1,566 2,372 305 1,542 1,175 1 590 Washington, D.C ........ 526 204 2 97 413 9 5 5,706 505 11 818 4,816 36 23 All other districts..... 119 89 62 47 9 (Z) I 290 203 163 51 72 1 4 - Shipments under 1251.... 14,990 (NA) 5,605 1,134 4,718 2,456 724 353 21,754 (NA) 7,317 1,905 7,48? 3,182 1,061 808 Special Category........ 994 447 ( D (D) (D1 (Di (D) (D) 10,899 5,459 (D) (D) (D) (D) (D) (D) Represents zero. 500 pounds or $500. Z Less than NA Not available. X Not applicable. D Data withheld to avoid disclosure of information for security reasons. Table 2. Selected Customs Districts of Unlading by Continent (Estimated shipments valued under $251 are excluded from all district data and data for U.S. flag carriers. Total columns include a small amount of shipments which are unidentified by continent) Shipping weight (1.000 pounds) Value 1.000 dollars Total Total Customs district Australia Australia aorah South North South Europe Asia and Ahica A U.Cu Am a A cuta Europe Asia and Africa U. S. Europe Asia a A a All America Ameiica Oceania All flag America America Oceania carriers flag rrirs carriers carriers carriers Total, all carriers.. 78,410 (X) 7,416 7,442 41,804 20,715 707 286 467,613 (Xi 34,856 17,916 281,452 121,998 3,059 8,284 U.S. flag carriers..... (h) 34,218 2,873 3,590 16,229 10,997 471 57 (X) 225,810 14,575 7,997 133,117 65,674 1,645 2,802 Boston, Mass........... 2,608 1,402 92 45 2,392 67 2 9 12,959 7,267 1,008 134 11,446 286 15 70 Bridgeport, Conn ....... 2 1 1 (Z) 1 (Z) 13 5 10 (7) 2 1 - Ogdensburg, N.Y........ 1 1 1 14 14 14 Buffalo, N.Y ........... 212 165 165 1 19 27 1,589 1,500 1,247 20 255 67 - New York City, N.Y..... 39,752 15,751 993 2,981 28,586 6,828 198 166 243,008 95.073 5,136 11,666 182,692 37,748 801 4,966 Philadelphia, Pa....... 732 388 33 4 582 106 1 5 10,149 6,834 181 15 7,260 694 19 1,979 Baltimore, Md.......... 163 129 6 149 6 2 1,353 1,301 63 1,250 21 19 Wilmington, N.C........ 242 242 (Z) 241 1 2,912 2,912 24 2,886 2 - Charleston, S.C........ 272 272 (Z) 67 206 13,320 13,319 1 13,207 112 Savannah, Ga........... 71 66 11 1 58 (Z) 1,656 1,484 338 2 1,312 5 Tampa, Fla............. 34 29 32 2 (Z) 184 101 145 36 4 - Mobile, Ala............ 1 1 (Z) 1 2 1 1 2 - New Orleans, La........ 364 167 256 1 8 99 (Z) 564 219 365 10 161 27 2 Laredo, Tex ............ 103 92 103 1 (Z) 265 154 224 38 3 - El Paso, Tex .......... 13 9 11 1 () (Z) 386 338 374 5 3 3 Nogales, Ariz.......... 17 10 16 (Z) 1 (Z) 108 65 100 (Z) 7 1 - Los Angeles, Calif ..... 6,355 3,121 293 113 962 4,844 137 6 53,786 28,561 4,653 588 16,516 30,952 977 101 San Francisco, Calif... 5,624 4,329 46 8 233 5,226 111 (Z) 44,665 30,061 848 40 2,572 40,352 832 22 Portland, Oreg ......... 3 3 2 (Z) (Z) -29 26 23 5 2 Seattle, Wash .......... 1,109 943 108 146 854 (Z) (Z) 8,336 4,549 3,658 1,006 3,669 1 1 Anchorage, Alaska...... 47 1 1 23 23 398 2 3 272 123 - Honolulu, Hawaii........ 436 171 40 26 341 30 3,114 1,445 54 726 2,113 221 Great Falls, Mont...... 34 34 34 83 83 83 - Pembina, N. Dak........ (Z) (Z) (2) (Z) - Minneapolis, Minn...... 76 67 8 14 54 (Z) 250 195 24 87 138 1 - Detroit, Mich.......... 1,834 1,285 419 (Z) 1,333 70 (Z) 12 5,890 4,442 1,619 1 4,032 186 2 51 Chicago, Ill........... 3,177 1,235 360 7 2,620 180 (Z) 10 24,517 8,851 4,542 83 18,153 1,496 35 207 Cleveland, Ohio ........ 155 21 42 90 23 1,317 107 396 796 126 - St. Louis, Mo.......... 119 117 (Z) 116 3 3,870 3,859 4 3,850 16 - San Juan, P.R.......... 1,507 503 880 495 128 2 (Z) 1 2,661 681 1,396 552 594 114 (Z) 5 Miami, Fla.............. 6,406 3,007 2,506 3,575 314 9 (Z) (Z) 13,575 7,460 6,491 4,513 2,334 209 3 24 Houston, Tax............. 255 133 124 17 70 42 (Z) 2 3,889 332 733 56 1,652 1,275 1 172 Washington, D.C........ 578 521 31 (Z) 543 2 (Z) 1 5,176 4,512 40 1 4,506 50 7 572 All other districts.... 14 4 8 6 (Z) (2) 145 60 95 47 2 1 - Shipments under $251... 6,095 (NA) 794 192 3,072 1,907 20 72 7,429 (NA) 967 234 3,745 2,324 24 87 - Represents zero. NA Not available. X Not applicable. Z Less than 500 pounds or $500. ipo i-__ 0lii Full Text xml version 1.0 encoding UTF-8 REPORT xmlns http: xmlns:xsi http: xsi:schemaLocation http: INGEST IEID E6Z1P3KBL_317U31 INGEST_TIME 2013-03-27T15:34:01Z PACKAGE AA00013676_00005 AGREEMENT_INFO ACCOUNT UF PROJECT UFDC FILES
https://ufdc.ufl.edu/AA00013676/00005
CC-MAIN-2021-10
refinedweb
2,994
72.46
C Exercises: Check if a given number is within 2 of a multiple of 10 C-programming basic algorithm: Exercise-21 with Solution Write a C program to check if a given number is within 2 of a multiple of 10. C Code: #include <stdio.h> #include <stdlib.h> int main(void){ printf("%d",test(3)); printf("\n%d",test(7)); printf("\n%d",test(8)); printf("\n%d",test(21)); } int test(int n) { return n % 10 <= 2 || n % 10 >= 8; } Sample Output: 0 0 1 1 Flowchart: Solution Contribute your code and comments through Disqus. Previous: Write a C program to check if a given non-negative given number is a multiple of 3 or 7, but not both. Next: Write a C program compute the sum of the two given integers. If one of the given integer value is in the range 10..20 inclusive return 18. New Content: Composer: Dependency manager for PHP, R Programming
https://www.w3resource.com/c-programming-exercises/basic-algo/c-programming-basic-algorithm-exercises-21.php
CC-MAIN-2019-18
refinedweb
159
64.61
REXML: Proccessing XML in Ruby In this day and age of software development, it is inevitable that you will need to process XML or produce XML within your application. If your language of choice is Ruby, or Rails for that matter, there is a very simple and useful XML processing API for Ruby called REXML. REXML is a pure Ruby XML processor with an easy to use API. This article will introduce REXML, and show you how to use it to do some common XML processing tasks.. REXML: XML Made Simple for Ruby REXML is a pure Ruby XML processor, inspired by the Electric XML library for Java, which features an easy-to-use API, small size, and speed. It supports both tree and stream document parsing. Stream parsing is about 1.5 times faster than tree parsing. However, with stream parsing, you don't get access to features such as XPath. Getting Started with REXML To begin working with REXML, you need to include it within your Ruby file: require "rexml/document" include REXML # so that we don't have to prefix everything # with REXML::... This includes the REXML library and includes the REXML namespace, so you do not need to prefix method calls with the 'REXML' prefix. Now, create and print a simple XML document with REXML. Enter the following Ruby code into a file named 'REXMLtest.rb' and save it: require "rexml/document" include REXML # so that we don't have to prefix everything # with REXML::... string = <<EOF <xml> <element attribute="attr">My first REXML document</element> </xml> EOF doc = Document.new string print doc From the command line, enter the following to run 'REXMLtest.rb' and see the results: You created a string containing a simple XML document. You then created a REXML Document object, which was initialized with the string. Finally, you printed out the XML document. Tree Parsing and Accessing XML Elements Now, parse an XML document and see how REXML provides access to the elements within an XML document. First, create an XML document, 'guitars.xml', as shown below: <guitars title="My Guitars"> <make name="Fender"> <model sn="123456789" year="2006" country="japan"> <name>62 Reissue Stratocaster</name> <price>750.00</price> <color>Fiesta Red</color> </model> <model sn="112233445" year="2006" country="mexico"> <name>60s Reverse Headstock Stratocaster</name> <price>699.00</price> <color>Olympic White</color> </model> </make> <make name="Squier"> <model sn="445322344" year="2003" country="China"> <name>Standard Stratocaster</name> <price>179.99</price> <color>Cherry Sunburst</color> </model> </make> </guitars> Read in and print 'guitars.xml' using REXML. Create a Ruby file called 'REXMLFileTest.rb': require "rexml/document" include REXML # so that we don't have to prefix everything # with REXML::... doc = Document.new File.new("guitars.xml") print doc You should see the following printed out when you run 'REXMLFileTest.rb': Page 1 of 3
https://www.developer.com/lang/article.php/3672621
CC-MAIN-2017-47
refinedweb
478
65.73
On Tue, Jul 06, 2004 at 12:47:21PM +0200, Rom?n Medina wrote: > > Hi agree with what you say about the SM team, as much as getting a cc/forward of commit mails that fix a security issue, would already be great. Simply putting a new major upstream release (1.4.x instead of 1.2.x) won't be accepted for a security update, and also because XSS issues are not that a severe issue, I don't think there is any reason to remove 1.2.x from woody. Those XSS, and especially the SQL injection needs to be fixed though. Thanks for your very detailed mail, I'll look into it w.r.t. remaining woody issues. I also saw three CVE's assigned to squirrelmail in 2004, none of them have been patched by Debian. I'll trace that down. > >> fully agree with you, sorry, I didn't intend to 'blame' you for not reporting it in the BTS. It would have made things easier/go faster, but I agree, it is by no means your fault it didn't happen. It'd be appreciated if you could do so though. > >). Then the problem was with Debian internally, that this wasn't forwarded/fixed... again, sorry for insinuating you should have filed a bug :) > >> -: > I don't know what happened to this. In answer to this question of yours: | ---- | #ifdef _security_perspective_ | #define usual_channels bugtraq other_lists | #endif | #ifdef _devel_perspective_ | #define usual_channels changelog_file | #endif | printf("My usual channels are: %s", usual_channels); | ---- | It was some kind of pseudocode :-) Question: which perspective are | using Debian maintainers to monitorize their packages? In the | particular case of SM, the old XSS issues were listed in ChangeLog, | but .deb package was not updated. Why? Debian maintainers should monitor upstream, especially changelogs of new versions, and preferable also upstream devel mailinglists. The .deb package was not updated because the Debian maintainer for squirrelmail was too busy, why the security team didn't update woody yet, maybe they were too busy too. I have a suggestion how to potentially improve this, I'll send a separate mail about it. > >! :-)). You're of course entitled to your own opinion. We shall agree to disagree on this issue then :). > > :) Again, my fault, indeed, you've done all (and more) that one could expect from you. It still remains true that also filing a bug will help more, but I agree it's a Debian internal problem if indeed nothing happened after this (I of course don't know what happened in private, so I am not going to guess on whether or not action was taken). > > that you here claim unstable was free of these bugs, while above you > > claim Debian unstable _had_ these bugs at the time of your advisory. So, > > which one of the two is it? Or are there more issues involved than the > > ones detailed in RS-2004-1? > [elaborate explaination] > I hope this will clears things out. Thanks, indeed it does for me. Bye, --Jeroen -- Jeroen van Wolffelaar Jeroen@wolffelaar.nl (also for Jabber & MSN; ICQ: 33944357)
https://lists.debian.org/debian-security/2004/07/msg00030.html
CC-MAIN-2015-18
refinedweb
516
73.58
Hi !! I am currently messing around with MTK GPS stuff and the binary protocol. Assuming my APM2.0 GPS has the 1.6 loaded, i want to upgrade the GPS FW. Since the gps is directly mounted to the mainboard i don't know how to do it. The APM wiki gives no hints. Please help! So long Kraut Rob EDIT: SOLUTION FOUND: UPDATE 12/28/2012 I included a zip file with all the needed files and a complete guide below. It contains basically the same files than the previous version but an extended guide and the source code. UPDATE 12/28/2012 Added German guide. UPDATE 19/01/2013 FTDI Hardwareflash on APM 2.0 (Set your FTDI to 5V, if you have one of these Breakoutboards) 1. Download the zip below to have all the files needed - and a flashguide. 2. Load MP and save all your parameters to a file (if desired). 3. Do Arduino / eeprom clear on your main CPU so that no serial traffic can disturb the process. Do not omit this step. It won't work with the arduino still talking on the serial line - i tested it. P.s. You can also use the precompiled hex from my post here: 4. Unpower APM for soldering. If FTDI connection is already established, powercycle to reset GPS to its' default state. 5. Locate the external GPS port (UART1). If you have not the right plug (like me) you have some solder pads right behind it. You will need GND/RX/TX. Look at this picture for the right connection:... Note: I labeled RX and TX relative to the GPS not the CPU (like printed on the PCB). I showed 3 points where you can get access to the important datalines, besides the obvious connectionport (that would be number 4:)). 6. Power APM Board, fire up the flashing soft and follow the documentation -> Point 8 in MTKFlashGuide2.pdf or point 7 in MTKFlashGuide2German.pdf. Reading the complete pdf is also ok. 7. Reload Arducopter FW on mainboard and reload your saved settings (if desired). Perhaps recheck calibrations (ACC etc.) 8. Done. UPDATE 21/01/2013 - 02/03/2013 Here is a Must Try List - if you have a persisting flash problem (Thanks Anton for the idea) - (Thanks Anton) - (Thanks William Stoner) - (Thanks Isaac) - (Thanks Chris Webb // Mac running VMWare WinXP) - (Thanks "exaustgas" // Win serial port) - (Thanks Cody // serial port in flashutil config) - Try to rule out a driver/win firewall/administrator/viruskiller thing UPDATE 02/03/2013 Due to the outstanding work of Perecastor here: We have a French guide now as well !! I took the liberty to put it here as well. UPDATE 21/05/2013 Hardware - "Hack": Use your PC - RC Transmitter Adaptercable as FTDI: (Thanks Jan Boermans) Cheers Rob Views: 33750 <![if !IE]>▶<![endif]> Reply to This I did it anyway.... Here is how i did it. I tried out what i thought what could work - and it worked! I attached a picture to show you 3 different locations to connect your FTDI to. I named RX and TX according to the GPS (MTK 3329) and not according to the CPU. I am sorry to say it wouldn't work without eeprom_clear of your arduino. Since my APM 2.0 was already mounted and i had no pins soldered to uart1 i took RX/TX from the big plasic connector of the GPS breakout board. I hope this info helps others! So long Kraut Rob <![if !IE]>▶<![endif]> Reply Hi! Now i did a version for the lazy ones: No FTDI, No soldering! I wrote a little arduino passthrough program. So upload this little program to your Arduino (i always do eepromclear before). Now you can communicate with your GPS directly with your usb connection. So the flightcontrol is just an FTDI adapter then. You can start the flashprogram as usual (38Kbaud) it works perfectly (i flashed 2 gps firmwares for test). Here is the listing (it's dead simple): void setup() { Serial.begin(38400); Serial1.begin(38400); } void loop() { uint8_t serbyte; if (Serial.available() > 0) { serbyte = Serial.read(); // Get Data from PC Serial1.write(serbyte); // Give Data to GPS } if (Serial1.available() > 0) { serbyte = Serial1.read(); // Get Data from GPS Serial.write(serbyte); // Give Data to PC } } So long Kraut Rob <![if !IE]>▶<![endif]> Reply Sweet! Nice job... <![if !IE]>▶<![endif]> Reply Well done!! That is fabulous news!! <![if !IE]>▶<![endif]> Reply I really want Chashpilot1000 in the dev team, also in the testers group... thanks man! :-) <![if !IE]>▶<![endif]> Reply Nice one Rob! <![if !IE]>▶<![endif]> Reply Oh! Thank you all very much for your extraordinary nice and supportive replies! I am very happy that i contributed something constructive to the great APM project! Perhaps something of this makes it to the Wiki. Merry Christmas to all! So long Kraut Rob <![if !IE]>▶<![endif]> Reply We'll definitely be adding this to the wiki. Invitation to join the dev team coming, too! <![if !IE]>▶<![endif]> Reply I agree, that is alot simpler then needing to use a ftdi cable! However, couple suggestions if I may. 1) That same code can be used to connect the MTK to MiniGPS (or U-Center for Ublox) on the PC as well.. For Monitoring Sats, configuration changes, etc.. not just firmware upgrades. You may find you'll want multiple versions of these for different baud rates. ( as firmware upgrades tend to be different baud rates than what APM communicates at ) or could be just added to the docs on Wiki, and have the user change them to appropriate values? 2) Also just comparing the CLI rawgps test code, you can see below that we had included blinking the LED's while activity was occouring. You could incorporate that into your UpdateGPS code for visual feedback. -------------------- <![if !IE]>▶<![endif]> Reply oops, pasted the wrong copy... that was from ardupilot (which has some HAL terminology) not the arducopter test.pde Here is the code from arducopter test.pde. but it looks to have been commented out though... probably to save memory. (the serial port numbers below are for ftdi use as you can probably tell ;) //static int8_t test_rawgps(uint8_t argc, const Menu::arg *argv) { /* * print_hit_enter(); * delay(1000); * while(1){ * if (Serial3.available()){ * digitalWrite(B_LED_PIN, LED_ON); // Blink Yellow LED if we are sending data to GPS * Serial1.write(Serial3.read()); * digitalWrite(B_LED_PIN, LED_OFF); * } * if (Serial1.available()){ * digitalWrite(C_LED_PIN, LED_ON); // Blink Red LED if we are receiving data from GPS * Serial3.write(Serial1.read()); * digitalWrite(C_LED_PIN, LED_OFF); * } * if(cliSerial->available() > 0){ * return (0); * } * } */ //} Also Merry Christmas to DIYDrones! <![if !IE]>▶<![endif]> Reply Yes, it works with MiniGPS. Feel free to upgrade the code for different baudrates/fastserial/buffer/led blinking etc! They are just a few lines of non-fancy code to get the job done. Cheers and Merry X mas! Kraut Rob <![if !IE]>▶<![endif]> Reply I agree, you dont need all the extra lines... I was simply pasting current repository code. Those were included simply because it was part of the CLI test modes. The blinky led's :) and using it for miniGPS example was all I was getting at. (Sorry if it threw off your groove :) I've used the method you posted (gps-passthrough) many times in the past. Another reason I liked to have direct pc->gps access was to update current sat data to the ublox gps with u-center from the internet. (I subscribed to thier update service (free)) which made lockups much faster if it had been off for a few days. But firmware upgrade will be common to address some hardware issues; so I'm glad this will make as a solution onto the wiki. <![if !IE]>▶<![endif]> Reply <![if !IE]>▶<![endif]> Reply to Discussion
http://diydrones.com/forum/topics/please-help-how-can-i-flash-the-mtk-3329-gps-on-my-apm-2-0?xg_source=activity
CC-MAIN-2017-09
refinedweb
1,296
76.52
Pragma wrote: > The import expression thing has me scratching my head though: what path > does DMD use to determine where to find the imported file? (it's not > clear in the documentation) It just looks in the default directory. I know this is inadequate for a long term solution, but I wanted to see what people thought of it before spending a lot of effort on the details. Walter Bright wrote: > Kevin Bealer wrote: >> You fixed all the bugs I've added in recent memory. Plus, if I >> understand correctly, the implications of some of these features is >> staggering... >> >> It looks like one could write a few hundred line module that can pull >> in and do compile-time interpreting of a language of the complexity of >> say, Scheme. And the code in the module could be both readable and >> straightforward... And the results would be absorbed into the calling >> code as normal optimizable statements... > > The irony is that it only took 3 hours to implement, which shows the > power of having the lexing, parsing, and semantic passes be logically > distinct. > > The idea is to enable the creation of DSLs (Domain Specific Languages) > that don't have the crippling problem C++ expression templates have - > that of being stuck with C++ operators and precedence. > > To make this work, however, one must be able to manipulate strings at > compile time. I've made a start on a library to do this, > std.metastrings, based on earlier work by Don Clugston and Eric Anderton. You know the next step, right? A template version of htod! include!("gl.h"); :D L. Kirk McDonald wrote: > Walter Bright wrote: > >> Fixes many bugs, some serious. >> >> Some new goodies. >> >> >> >> > > > Mwahaha! This program, when run, prints out a copy of its own source. It > also has some completely gratuitous new-style mixins. > > // file test.d > mixin(`import std.stdio : writefln;`); > > mixin(`void main() { > mixin("writefln(import(\"test.d\"));"); > }`); > Without the gratuitous stuff that has to be the cleanest quine outside of bash (in bash an empty file prints nothing) import std.stdio; void main(){writef(import(__FILE__));} Lars Ivar Igesund wrote: > Walter Bright wrote: > > >>Fixes many bugs, some serious. >> >>Some new goodies. >> >> >> >> > > > Sounds like some nice new features, but even though the compiler seems to > know that these new features are D 2.0, the spec don't show it. I'd suggest > to branch the specification now, after all 1.0 shouldn't see any new > feature changes. Without this, there is no point in the 1.0 marker > whatsoever. > I also second that, branch the spec or annotate it *Vary* well. Either way, the change log should say v2.0 as well BCS kirjoitti: > Without the gratuitous stuff that has to be the cleanest quine outside > of bash (in bash an empty file prints nothing) > > import std.stdio; > void main(){writef(import(__FILE__));} And if the strings don't mess up with printf, it can be made even shorter: void main(){printf(import(__FILE__));} Walter Bright wrote: > > To make this work, however, one must be able to manipulate strings at > compile time. I've made a start on a library to do this, > std.metastrings, based on earlier work by Don Clugston and Eric Anderton. > > This is just the start of what's going to happen with D 2.0. it needs some string manipulation stuff. I'd be more than happy to let you put the string templates from dparse in. It has template to: Discard leading white space return a slice up to the first white space char return a slice starting with the first white space char Return a slice up-to but not including the first instance of t. Return a slice starting after the first instance of t and containing the rest of the string. discard [ ]* then return [a-zA-Z_][a-zA-Z0-9_]* non-string type template return tuple with string broken up by d return tuple with string broken up by white space tuple cdr (think lisp) check if anything in tuple begins with a given prefix source at: Lionello Lunesu wrote: > You know the next step, right? A template version of htod! > > include!("gl.h"); I did shy away from the "execute this shell command and insert its output into a string literal" because that would turn a D compiler into a huge security risk. Walter Bright. > > I think you're right. The only thing that makes me uneasy is the > "preprocessor abuse" that comes up in C++. We should be careful in how > we use this, lest the cuticle side of the thumb take over. The most obvious danger is simply being able to eyeball what the source code for a module actually is, but that's been an issue for any sufficiently complex template code anyway. What I like about this feature is that it improves upon the power of macros but does so without providing a method for changing the meaning of existing symbols (the "#define if while" problem). It also requires almost no new language features, so it shouldn't have a tremendous learning curve. Finally, since all this works via strings, it should be easy to determine what's actually going on simply by tossing in a few pragma(msg) statements. If there were a way to emit the "expanded" source we could even use this as a "standalone" code generation tool of sorts. Nice work! Sean > > This could do thing like this: BuildBarserFromFileSpec!("foo.bnf") that would import "foo.bnf", parser a BNF grammar, and build a parser from it. It even avoids the need to use functions for callbacks. p.s. I'm going to have to try and re-implement dparse using this. Darn you Walter!!! I don't have time for this (cool stuff)!!! <G> Pragma schrieb: > > > > Just try to wrap your head around this: > > > template GenStruct(char[] Name, char[] M1) > { > const char[] GenStruct = "struct " ~ Name ~ "{ int " ~ M1 ~ "; }"; > } > > mixin(GenStruct!("Foo", "bar")); > > //which generates: > > struct Foo { int bar; } > > In short this means that we can have *100%* arbitrary code generation at > compile time, w/o need of a new grammar to support the capability. > Hi Eric, I am able to read and understand the code. (not nessesarily the far reaching implications) But the generated code is still D. So what does it mean : Walter Bright schrieb: > The idea is to enable the creation of DSLs (Domain Specific Languages) How ? Bjoern Post scriptum I can imagine the following scenario : D Compiler is calling a Translator, a modified Enki f.i. to translate a Domain Specific Language into D ... strange
http://forum.dlang.org/thread/eq91hs$fvm$1@digitaldaemon.com?page=3
CC-MAIN-2014-42
refinedweb
1,098
72.76
Hi there, i havent coded for some time now, but ive got back into it and have been trying to code this small application that will store a persons age, name, location: Could someone please explain to me why the compiler tells me:Could someone please explain to me why the compiler tells me:Code:#include <cstdlib> #include <iostream> using namespace std; struct DB { int age; char name[20]; char location[20]; }; void inputDB(int a, char n[20], char l[20]); void viewDB(DB dbstats); int main(int argc, char *argv[]) { int choice; cout << "Welcome\n"; cout << "1. Input Data\n"; cout << "2. View Data\n"; cout << "3. Quit\n"; cin >> choice; if(choice=1){ inputDB(); } else if(choice=2){ viewDB(); } else if(choice=3){ return EXIT_SUCCESS; } else{ cout << "Not an option\n"; } system("PAUSE"); return EXIT_SUCCESS; } void viewDB(DB dbstats) { cout << "Age: " << dbstats.age << endl; cout << "Name: " << dbstats.name << endl; cout << "Location: " << dbstats.location << endl; } void inputDB(int a, char n[20], char l[20]) { cout << "Enter Age: "; cin >> a; cout << "\nEnter Name: "; cin >> n; cout << "\nEnter Location: "; cin >> l; DB input = {a, n[20], l[20]}; } Im a little baffled, or even a link to something that could explain this for me, thanks in advanceIm a little baffled, or even a link to something that could explain this for me, thanks in advanceCode:too few arguments to function `void inputDB(int, char*, char*)
https://cboard.cprogramming.com/cplusplus-programming/100121-function-problem-too-few-args.html
CC-MAIN-2017-43
refinedweb
236
58.96