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 |
|---|---|---|---|---|---|
.
The R300 is a capable shooter, capturing crisp and clear high-definition video. You can choose from three shooting modes—Auto, Manual, and Cinema—with the latter simulating the look and frame rate of most film projects. Video format and quality can also be adjusted, with the highest setting, MXP, recording 1080i60 video in AVCHD format. Much like the M50, the R300 is limited to interlaced video as opposed to progressive, capturing 60 interlaced fields per second and encoding the video at 30 frames per second.
While we are pleased with the quality of the recordings, some problems occurred. Whether you transfer your videos from Canon Vixia HF R300 directly or from the folder which may have been transferred to your Mac, the iMovie seems not to be able to recognize the MTS files. How to import AVCHD footages to iMovie turns out to be the key problem that AVCHD camera/camcorder users as the below need to figure out.
."
In order to get thses Full HD AVCHD files supported by iMovie, you need to convert AVCHD to AIC, the most compatible video format for iMovie. Thus, a powerful and professional AVCHD to AIC Converter is the most important tool in the process of editing in iMovie. Here recommed the best Canon Vixia HF R300 AVCHD converter with high quality for iMovie .
Here is the simple instruction for you to transcode Canon Vixia HF-R300 recordings to iMovie without quality loss.
Step 1: Install the best AVCHD 1080i Converter for mac you have found on your mac. Run it on your Mac and transfer or drag the 1080i footages from Canon Vixia HF-R300 to the converter.
Tip:300 1080i MTS to iMovie on Mac OS X.
Other features of the MTS Converter for iMovie on Mac
1. Deinterlace 1080i files: Click Edit and select "deinterlacing" in the Effect
2. This Canon Vixia HF-R300 MTS Converetr not only can help you to transcode MTS file for editors such as FCP X, Adobe Premiere and so on, but also can convert these AVCHD files to common video formats for protable device or TV such as .mp4, .avi, .mov and so on. You can click Here to get more information.
When the 1080 60i conversion is 100% completed, you can ingest your 1080i AVCHD recordings into iMovie
import .mts files to iMovie, how to import MTS footages from Canon Vixia HF-R300 to iMovie, Canon 1080/60i AVCHD deinterlacing, make Canon Vixia HF-R300 1080i AVCHD files editable in iMovie, editing 1080i MTS files in iMovie, convert AVCHD files to AIC, AVCHD Converter for iMovie, make AVCHD file playable and editable on Mac | http://www.brorsoft.com/how-to/imput-canon-vixia-hf-r300-avchd-to-imovie.html | CC-MAIN-2020-16 | refinedweb | 442 | 67.59 |
1. Introduction
Almost every business web application makes use of databases to store and retrieve data. ADO.net is next generation to the ADO (Activex data Objects). In this article, we will retrieve some column data from the employee table of the NorthWnd database.
Look at the below illustration on how we are going to take data from the database.
2. About the Sample
Look at the screenshot of the sample below:
Our sample in the explorer looks like the above one. When the sample loads the page, it contacts the SQL Server NorthWnd database and retrieves the data to display the label shown in yellow colour. There is nothing more to specify here. Let us move to the next section.
3. Connection String in Web Configuration
We know that the web page is going to connect to a database and pull data from the employee table. The first thigh every database programmer should do is specifying a way to connect to the database. In our sample, we are going to connect to SQLServer database NorthWnd to pull some information from the employee table.
The Connection object tells the application how to connect to the database. Using the methods or constructor of the Connection object one can specify the information required to connect the database with your application. Here, we are going to use the connection string and we will place that constant string as part of the web configuration file.
Once you start a new website you can see the web configuration file in the Solution Explorer. This is marked in the below picture.
A web configuration file is the one in which you specify all the web application-related settings. Doing so will avoid the further builds to your application. Say for example you have the connection string to connect to the Database db1 at server Srv1. When you want to connect to a different database db2 on a different machine Srv2, all you need to do is change that information in the configuration file and your website keeps working without any code change.
The changed portion of the web configuration file is shown below:
The box shows that we added a connectionstrings section that spawns the information between the tags Open <> and End </>. Note that we are using the System.Data.SQLClient provider. A provider is a bridge between your application and the database and they are the communication channel acting as translator. In the above connection string, I specified the Server Name as System (My Local machine name). If your database is not on the local machine you should specify the name of the computer in the network or IP address of the machine name. NorthWnd is the database I am going to connect on my local machine for this example to access the employees table. And finally, the connection string contains the qualified (of course it is. As sa is an admin user) user id sa and password rohith. Now the connection string informs that you are going to connect to Northwnd database in the Local machine System using the database credential sa&rohith.
To know your system name or the name of the system in the network in which the database in running, right click on the MyComputer icon and select properties. From the displayed dialog’s second tab pick the Full Computer name. This is shown below:
4. Page Design
Once the connection string is specified in the web configuration file, the default aspx file name is changed to datareader.aspx. Then in the design view of the page three labels are added as shown below:
To change the label name go to the source (Highlighted in red) and change the ID for the control. Sometimes changing the ID in the property window of the control will not reflect back and hence it is good to make the change in the HTML source of the page. This is shown in the below video:
OK. Now let us move to the Source code of the form. Note when the page load we are going to connect to the SQL Server database and will retrieve some data from the employees table of the NorthWnd database.
5. Source: Config File
We already. Source: Reading the configuration
First, the form load event handler is handled and in the form load event handler, we need to connect to the database. To connect to the database we need the connection string. And, we already specified our connection string in the Web Config file. So this situation now leads us to the task of reading the information from the web configuration file.
By default the namespace System.Configuration is included in your source file. If not include it using the statement as shown below:
using System.Configuration;
Then have a look at the below code:
//DRead 003: Get the connection string from the configuration file ConnectionStringSettings appsettings = ConfigurationManager.ConnectionStrings["SQLServerDatabase"]; string ConnString = null; if (appsettings != null) ConnString = appsettings.ConnectionString;
In the above code snippet, we are reading our connection string from ConfigurationManager using the Name SQLServerDatabase from the collection ConnectionStrings, which is the collection of objects of type ConnectionStringSettings. This value is stored in the appsettings. Note that in the webconfig file we used only one connection string. But you can have multiple connection strings between the tags <connectionStrings> </connectionStrings>
Finally, the string format of the connection string is stored in the ConnString. Now we know the connection information to the database in the form of a string.
7. Source: Connection Object
The connection object knows where your database and how to access it. So the connection object can be created easily by supplying the connectionstring as it has all the information a connection object need. Below is the piece of code, which creates the connection object in our example:
//DRead 004: Create the Connection to SQL Server SqlConnection Connection_toSQL = new SqlConnection(ConnString);
8. Source: Command Object
The command object will say what you want to do with the database. It usually contains SQL Statement that needs to be executed in the database and well as connection information to know where it should be executed. In the below piece of code, a table select query is stored in the string. Then supplying the query string and connection object creates a command object. Now command object is capable enough to retrieve some fields from the employee table of the Northwnd database in SQL Server.
//DRead 005: Form the command object string Query = "Select FirstName, TitleOfCourtesy, Title from employees"; SqlCommand command = new SqlCommand(Query, Connection_toSQL);
9. Source: DataReader and Iterating through it
OK. The command is capable of executing the SQL statements. When the SQL statement is a Select statement, then the database will give back one more rows of information. Where to we store that information? In our sample (There are other ways too. We will see that in some other article) we are making use the DataReader object to collect that table of information. The datareader is forwardonly and that means you can read the information only once and move forward. This tells you that once you read something to store it in your local variable, as you cannot read it again. Below is the piece of code, which first executes the command object, gets the resultant record collection in the reader of type SqlDataReader and then it iterates through the reader to get the column name queried.
//DRead 006: Open the connection and get result in Dat; }
The resultant string is the combination some constant with the data retrieved from the database. And the string assigned to the label with the </br> tag to insert a new line after reading one complete record. Also, note that the column Read method of the X will return a column of columns that forms a complete a row of what is queried. To refer a particular column, you can use the column name or the index. The reader["FirstName"] states that we want to get the value for the column FirstName. | http://www.mstecharticles.com/2011/ | CC-MAIN-2018-13 | refinedweb | 1,339 | 62.48 |
tag:blogger.com,1999:blog-8712770457197348465.post2223066393385228128..comments2016-05-23T22:59:24.693-07:00Comments on Javarevisited: HashSet in Java – 10 Examples Programs TutorialJavin Paul(set.size()); // Result is 1 Sys...System.out.println(set.size()); // Result is 1<br />System.out.println(set1.size()); // Result is 2<br /><br /><br />As String is immutable and use string pool concept, so hashmap handles differently in case of String for generating hashcode.<br /><br /> final int hash(Object k) {<br /> int h = hashSeed;<br /> if (0 != h && k instanceof String) {<br /> return vijay set is not adding different String objects wit...Why set is not adding different String objects with same value.? While in case of other objects its allowing adding of duplicates. Please look at the below sample code and explain : <br /><br />public class Test {<br /> public static void main( String[] args ) {<br /> Set set = new HashSet ();<br /> String a = new String("A");<br /> String b = new String("A"mohit singh in Hashset the insertion order is not preserve...see in Hashset the insertion order is not preserved!!! so output will come in random order!!Sanchit Kumar java.util.*; public class HashSetDemo { ...import java.util.*;<br /><br />public class HashSetDemo {<br /><br /> public static void main(String args[]) {<br /> // create a hash set<br /> HashSet hs = new HashSet();<br /> // add elements to the hash set<br /> hs.add("B");<br /> hs.add("A");<br /> hs.add("D");<br /> hs.add("E");<br /> hs.add("C");<brTushar Gulve you might have great capabilities, and knowl...While you might have great capabilities, and knowledge of Java per se, unfortunate as it is, I am unable to connect your thought process (as regards to the data structures in computer science) into logical statements as explained. <br /><br />Can you kindly do something about this in a way that the thoughts flow freely from a good teacher like you (who has a good grasp but...)<br /><br />Thanks Venkys, can you tell me how HshSet works internally. ...sir,<br />can you tell me how HshSet works internally.<br /><br />there is no key for store it in a bucket<br />then how HashSet store element internally..Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-68643803515664805362012-07-17T00:12:36.427-07:002012-07-17T00:12:36.427-07:00Which one is faster between HashSet and ArrayList ...Which one is faster between HashSet and ArrayList ?Anonymousnoreply@blogger.com | http://javarevisited.blogspot.com/feeds/2223066393385228128/comments/default | CC-MAIN-2016-22 | refinedweb | 405 | 56.96 |
Create ML with Server-Side Swift — Perfect
The most common way to create a Core ML model is using Playground. But what if you want to be able to add more data from your app and retrain your model? You won’t be able to do that if you add your model to your iOS app, so you have to do it on the backend side. In case you didn’t already know, you can write server-side code using Swift, which is so cool! 😎 In this tutorial, you will see how you can create a model and save it on the disk using Perfect, the Server-Side Swift framework.
Step 1. Create the Xcode project
First, you need to download the template for the project. Open the terminal window, go to the folder where you want to create your project and write the following command:
git clone
Now you have a new folder named ‘PerfectTemplate’, containing a Package.swift file and a Sources directory. Open the Package.swift file and change the name property to the name of your project.
Now let’s create the xcodeproj. In the same terminal window navigate to the new folder, ‘PerfectTemplate’ and add the following command:
swift package generate-xcodeproj
Now you have the project that can be opened using Xcode.
Step 2. Prepare the data
You will need two sets of data: training data and evaluation data. The training folder should contain 80% of the photos and the evaluation 20%. In both folders, the data should be structured in folders, each one containing images of what you want your model to be able to recognize. For example, if you want to identify fruits, you will need a subfolder named apple in both training and evaluation folders, in which you will have multiple different images of apples. Another one named banana, that should follow the same logic, and so on. You should have at least 10 images of each category in the training folder.
Step 3. Create and train the model
Open the main.swift file from your project and import CreateML and Foundation.
import CreateML
import Foundation
Now we are going to create a new function that will contain all the logic of creating, training and saving the model. It will have two parameters: request and response. First, we will create an MLImageClassifier that will have the path to the training folder and some parameters:
- maxIterations: the maximum number of iterations used during training
- augmentationOptions: optional parameter that can allow us to multiply our images in order to have a bigger data set; it can be set to any combination of the following values: blur, flip, exposure, noise, rotation, crop; using these options will increase a lot the training time so for this tutorial we are not going to use it
After we have the classifier we will evaluate its performance using the evaluation data we prepared earlier. If the result is not satisfactory we can retrain the model using different parameters.
The model will then be saved to disk and a response message will be set as a body to the response.
We also have to add the route that will call this method.
routes.add(method: .get, uri: "/trainModel", handler: createModelHandler)
Now you can run the project on ‘My Mac’ and test the new route we added. Access the following path in browser and wait for the model to be trained. You can follow the progress in the debugger window.
You can create and retrain the model how many times you want on the server-side using CreateML. You can access the whole code on Github. I hope this article was helpful and easy to understand 😊 . If you have any questions don’t hesitate to leave me a comment below! Thanks!
>. | https://medium.com/zipper-studios/create-ml-with-server-side-swift-perfect-74ab04f00001 | CC-MAIN-2019-35 | refinedweb | 631 | 60.95 |
jGuru Forums
Posted By:
Giles_Bowkett
Posted On:
Wednesday, September 4, 2002 01:42 PM
abstract class Abstraction {
public abstract void doStuff() ;
}
public class AbstractTest extends Abstraction {
public AbstractTest () {
}
public void doStuff() {
}
public static void main (String args[]) {
AbstractTest at = new AbstractTest() ;
at.doStuff() ;
}
}
so this works, but the thing is it seems strange that it does. basically the only difference between the two doStuff() methods is that one is declared abstract and has a semicolon, and the other is not and has an empty body.
this is easy to remember for the test, you just remember the punctuation differences -- but doesn't it seem kinda weird? although you have to implement all the methods of an abstract class in order to make a subclass you can instantiate, you don't have to provide any actual implementation of those methods when you implement them. you can just "implement" them with an empty method body. it somehow seems arcane and pointless to me. what's the real difference between that and an abstract method?
Re: abstract classes weird
Posted By:
Steven_Rose
Posted On:
Wednesday, September 11, 2002 02:26 PM
The main difference between an abstract class and a concrete class is that an abstract class represents an abstract concept for which an instance cannot exist.
For example, if I ask you to imagine a shape without picturing a *specific* shape (like a circle, square, or many-sided polygon), you can't do it. Similarly, it wouldn't make sense to define a Shape class in Java that could be instantiated. What does it mean to create an instace of a "shape"? Instead, Shape should be an abstract class that is extended by concrete classes like Circle and Trapezoid.
When would you want to implement an abstract method by simply declaring an empty method body? Well, this is used quite often in the event model in Java. Say, for instance, that you are implementing the MouseListener interface so you can respond to mouse events (remember, an interface is different from an abstract class, but not in the sense that it provides abstract methods which you may want to override with an empty method body). You may want to respond only to certain events and not others defined in the MouseListener interface. So, you would implement a method body for the events that you want to receive and do something with. For the events that you want to just ignore (for instance, say you don't care about mouse rollover events), you would explicitly implement an empty method body on that method because you don't want to do anything in response to it.
Incidentally, whenever it makes sense to implement an abstract method with an empty method, you should put a comment in the method body: // do nothing. This lets other developers know that it was not simply an oversight. Or, you can place the braces up on the same line as the method declaration, this makes it pretty clear that you didn't mean to do anything:
// do nothing
public void doStuff() {}
sev
Posted By:
Lasse_Koskela
Posted On:
Thursday, September 5, 2002 01:27 AM
Why are you bothering yourself with this? If you don't need an abstract class, don't use one. | http://www.jguru.com/forums/view.jsp?EID=994258 | CC-MAIN-2014-15 | refinedweb | 543 | 65.05 |
There is now a command line utility, tzutil.exe, that can be used to view the current time zone setting as well as to configure the time zone.
For those of you using PowerShell that want to script setting the time zone on Server Core, a PowerShell script is now available to do that. It is posted at:
Server Core is a new Windows installation option introduced in Windows Server 2008.
The original Windows Server 2008 Server Core did not include .NET -- and that limited the things you could use it for. In Windows Server 2008 R2, Server Core includes .Net 2.0 and .Net v3.5 (neither are installed by default), which opens a new set of possibilities only available in full Server installs until now. Server Core can now run a wide variety of managed applications, including hosting ASP.NET, WCF, WF, Windows Services and Console Applications.
An important part of the original Server Core vision is to keep the installation small and focused, minimizing servicing, install time, size, etc. When we added .NET to Server Core, we maintained that vision, putting in only the parts most likely to be needed. For instance, we've left out the graphics interface (WPF and Windows Forms), design time assemblies, and some tools etc. We've also included only the 64 bit version of the Framework and tools by default.
When writing .NET applications for Server Core, you can use most – but not all – of the functionality in .NET 2.0 or 3.5 (depending on which you have installed). If, on your development machine, you use some functionality that is not present in the Server Core version of .NET, your program will probably start to run – but then give hard to diagnose errors when it hits the functionality that is not included.
Those errors can be hard to diagnose, particularly since the code will run fine on a developer machine, with full .NET. To make it easier to check for these kinds of errors, FxCop can come to the rescue, especially if you use VS 2005 or VS 2008. FxCop is a standalone application that can be downloaded from and is used to analyze managed code assemblies. It reports issues concerning violations of the Microsoft framework design guidelines for writing robust and easily maintainable code using .NET. For Server Core, we’ve provided a set of FxCop rules that you can use to validate your applications before you deploy them. For example, imagine that you have a Windows Service application that uses the System.Media namespace to emit a particular sound when an event happens: on a full server, with full .NET, this works just fine; on Server Core, it will fail. In this case, by loading the Server Core FxCop rules and scanning your code, you will find all the dangerous places where your application may break. We highly recommend using these rules before deploying your application to a Server Core box.
Like every other rule, this one can be loaded into FXCOP by using the “Project” menu and selecting “Add Rules…” option. To check if the action succeeded, you can see it in the rules tab. Once loaded, these rules will scan all the assemblies in your FxCop project, looking for illegal usage of non-supported Framework type.
If you wish to download the FxCop Server Core validation rule, it can be found in this post. Also, be advised that these rules were only tested against FXCOP version 1.36.
For a complete list of supported namespaces, please, refer to Server Core’s documentation.
References:
The Server Core step by step guide is at:
· Read online:
· Download as a Word doc:
The namespace list is at: and once the WS08 R2 SDK is published it will be include there as well.
A new version of the Server Core step by step guide has been posted to TechNet, which includes the new Windows Server 2008 R2 commands (DISM.exe, new roles/features, etc):
Read online:
Download as a Word doc:
I’ll blog more about the new commands and features in the coming months, with some new tips and tricks.
In addition to the new step by step guide for Server Core, there are also two job aids now available. These have some commonly used commands on a single sheet of paper that can be folded up and carried with you. A version for Windows Server 2008 and a version that includes some of the new Windows Server 2008 R2 commands are available at:
Those:
Server Role / Feature
WoW64 Package Name
.Net 2.0
NetFx2-ServerCore-WOW64
.Net 3
NetFx3-ServerCore-WOW64
Clustering
FailoverCluster-Core-WOW64
Input Method Editor
ServerCore-EA-IME-WOW64
PowerShell
MicrosoftWindowsPowerShell-WOW64
Print Server
Printing-ServerCore-Role-WOW64
Subsystem for UNIX-based Applications
SUACore-WOW64
Microsoft.
A slight detour from the Windows Server 2008 R2 posts this time around to cover a topic that has been coming up recently: UAC on Server Core.
UAC is not available in Server Core, since it is a command line only interface, doesn’t have IE, or support for user applications. In addition, to use UAC with the command prompt you need to have the Explorer Shell so that you can click Start, right click on Command Prompt, and select run as administrator, which obviously isn’t possible on Server Core.
If the registry entry that controls UAC is modified on a Server Core installation, it will make doing anything at the command prompt very difficult. Running most anything will result in access denied or other related errors, depending on how UAC aware what you are trying to run is. A quick way to determine if UAC is what is causing the error is to run regedit. If UAC is enable you will receive an error dialog that says “The specified service does not exist as an installed service.” and clicking Ok will return “Access is denied.” on the command line.
To resolve this you can:
· If you are using Group Policy to configure your servers and put a server running the Server Core installation into an OU that enables UAC, move the server to another OU that doesn’t enforce UAC and let Group Policy change the setting.
· If UAC was manually configured, disable UAC by remotely modifying the registry
· Logon using the built-in administrator to perform your admin task or disable UAC.
To disable UAC on Server Core you can use reg.exe or regedit.exe to set the EnableLUA value under the following Registry path to 0 and reboot:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
More on Windows Server 2008 R2 next time.
Much like .NET 2.0 in Server Core, .NET 3.0 and 3.5 are also subsets of functionality. Included are:
· Windows Communication Framework (WCF)
· Windows Workflow Framework (WF)
· LINQ
The only functionality not included is the Windows Presentation Framework (WPF).
.NET 3.0 and 3.5 functionality is installed with a single package:
· Start /w ocsetup NetFx3-ServerCore
If 32bit support is needed you first need to install WoW64 and then .NET 2.0 WoW64 support, the following assume the above command has already been run:
· Start /w ocsetup ServerCore-WOW64
· Start /w ocsetup NetFx3-ServerCore-WOW64
This time I’ll cover what I meant last time by a subset of .NET 2.0, with future posts covering the other additions in more detail. Not everything required for full .NET 2.0 support is included in Server Core. Instead of increasing the Server Core footprint to add functionality that isn’t “core” to Server Core (couldn’t resist), we added the portions of .NET 2.0 that align with what is already in Server Core. Therefore, the following namespaces are not available as part of .NET 2.0 on Server Core:
· Microsoft.Aspnet.Snapin
· Microsoft.Ink
· Microsoft.ManagementConsole.*
· Microsoft.StylusInput.*
· Microsoft.VisualBasic.Compatibility.VB6
· Microsoft.Windows.Themes
· Microsoft.WindowsCE.Forms
· Microsoft.WindowsMobile.DirectX.*
· System.ComponentModel.Design.*
· System.Data.Design
· System.Deployment.Application
· System.Diagnostics.Design
· System.Media
· System.Messaging.*
· System.Speech.*
· System.Web.UI.Design.* (design time support in this namespace is unavailable, runtime support for expression builders is supported)
· System.Windows.*
· UIAutomationClientsideProviders
As you can see from the list, these require functionality not available in Server Core, e.g. DirectX, UI/MMC, Multimedia, Tablet support, etc.
To install .NET 2.0 on Server Core you can run:
· Start /w ocsetup NetFx2-ServerCore
· Start /w ocsetup NetFx2-ServerCore-WOW64
In the Server Core installation option, there is a way to remove the server roles and optional features from the disk, to free up more space. In addition to reducing disk usage, this could be used to ensure an administrator doesn’t add a role or feature to a server that is supposed to perform a fixed function.
Warning: This is a one way operation, once you remove a role or feature there is NO way to bring it back. If you realize later that you need the role or feature the only option is to reinstall.
To do this:
1. Run: pkgmgr /up:<package to remove>
2. Reboot – you can remove multiple packages before rebooting.
3. Wait about 30 minutes for the disk cleanup to occur.
You will then see the disk space used by the role or feature is freed up, oclist will no longer show the role or feature as being available, and trying to install it using ocsetup will result in an error. Once again, read the warning above – there is no way to put the role or feature back, it is permanently gone from the system.
The role and feature packages available for removal are:
· Microsoft-Hyper-V-Package~31bf3856ad364e35~amd64~~6.0.6001.18000
· Microsoft-Windows-BLB-Package~31bf3856ad364e35~amd64~~6.0.6001.18000
· Microsoft-Windows-DFSN-ServerCore~31bf3856ad364e35~amd64~~6.0.6001.18000
· Microsoft-Windows-DFSR-ServerEdition-Package~31bf3856ad364e35~amd64~~6.0.6001.18000
· Microsoft-Windows-DhcpServerCore-Package~31bf3856ad364e35~amd64~~6.0.6001.18000
· Microsoft-Windows-DirectoryServices-ADAM-SrvFnd-Package~31bf3856ad364e35~amd64~~6.0.6001.18000
· Microsoft-Windows-DirectoryServices-DomainController-SrvFnd-Package~31bf3856ad364e35~amd64~~6.0.6001.18000
· Microsoft-Windows-DNS-Server-Core-Role-Package~31bf3856ad364e35~amd64~~6.0.6001.18000
· Microsoft-Windows-FailoverCluster-Core-Package~31bf3856ad364e35~amd64~~6.0.6001.18000
· Microsoft-Windows-FileReplication-Package~31bf3856ad364e35~amd64~~6.0.6001.18000
· Microsoft-Windows-IIS-WebServer-Core-Package~31bf3856ad364e35~amd64~~6.0.6001.18000
· Microsoft-Windows-Internet-Naming-Service-SC-Package~31bf3856ad364e35~amd64~~6.0.6001.18000
· Microsoft-Windows-MultipathIo-Package~31bf3856ad364e35~amd64~~6.0.6001.18000
· Microsoft-Windows-NetworkLoadBalancingHeadlessServer-Package~31bf3856ad364e35~amd64~~6.0.6001.18000
· Microsoft-Windows-NFS-ServerFoundation-Package~31bf3856ad364e35~amd64~~6.0.6001.18000
· Microsoft-Windows-Printing-ServerCore-Package~31bf3856ad364e35~amd64~~6.0.6001.18000
· Microsoft-Windows-QWAVE-Package~31bf3856ad364e35~amd64~~6.0.6001.18000
· Microsoft-Windows-RemovableStorageManagementCore-Package~31bf3856ad364e35~amd64~~6.0.6001.18000
· Microsoft-Windows-SecureStartup-OC-Package~31bf3856ad364e35~amd64~~6.0.6001.18000
· Microsoft-Windows-SNMP-SC-Package~31bf3856ad364e35~amd64~~6.0.6001.18000
· Microsoft-Windows-SUA-Core-Package~31bf3856ad364e35~amd64~~6.0.6001.18000
· Microsoft-Windows-Telnet-Client-Package~31bf3856ad364e35~amd64~~6.0.6001.18000
If you are running on an x86 box, change the amd64 above to x86.
In addition to the roles and features listed in oclist, it is also possible to remove IME support as well as the supporting fonts by removing the following packages:
· Microsoft-Windows-ServerCore-EA-IME-Package~31bf3856ad364e35~amd64~~6.0.6001.18000
· Microsoft-Windows-ServerCore-EA-Fonts-Package~31bf3856ad364e35~amd64~~6.0.6001.18000
Removing these will reduce the on disk footprint by ~200MB.
p.s. - don't forget about the warning above
I did a TechNet Edge interview on Server Core a couple of weeks ago. If you want to hear my ramblings, you can check it out at:
A”
To follow up my last post, this one will go into more details on option 3 in that post.
As mentioned you can simply enable the Remote Administration firewall rules to allow pretty much any MMC to connect (a few require additional configuration as discussed below). However, there may be situations where you only want to allow certain MMCs to connect for remote administration. Not every MMC snap-in has a firewall group, here are those that do:
MMC Snap-in
Rule Group
Event Viewer
Remote Event Log Management
Services
Remote Service Management
Shared Folders
File and Printer Sharing
Task Scheduler
Remote Scheduled Tasks Management
Reliability and Performance
“Performance Logs and Alerts” and “File and Printer Sharing”
Disk Management
Remote Volume Management
Windows Firewall with Advanced Security
Windows Firewall Remote Management
On the Server Core box you can enable these by running:
Netsh advfirewall firewall set rule group=“<rule group>” new enable=yes
Where <rule group> is the name in the above table.
You can remotely enable these using the Windows Firewall with Advanced Security MMC snap-in, after you have locally on the Server Core box enabled the rule group to allow it to connect.
MMC Snap-ins without a Rule Group
Not every MMC snap-in has a rule group to allow it access through the firewall, however many of them use the same ports for management as those that do. Therefore, you will find that enabling the rules for Event Viewer, Services, or Shared Folders will allow most other MMC snap-ins to connect. Of course, you can also simply enable the remote administration rule group (see my last post).
MMC Snap-ins that Require Addition Configuration
In addition to allowing the MMC snap-ins through the firewall, the following MMC snap-ins require additional configuration:
To allow Device Manager to connect, you must first enable the “Allow remote access to the PnP interface” policy
1. On a Windows Vista or full Server installation, start the Group Policy Object MMC snap-in
2. Connect to the Server Core installation
3. Navigate to Computer Configuration\Administrative Templates\Device Installation
4. Enable “Allow remote access to the PnP interface”
5. Restart the Server Core installation
You must first start the Virtual Disk Service (VDS) on the Server Core installation
On the Server Core installation you must first enable remote management of IPSec. This can be done using the scregedit.wsf script:
Cscript \windows\system32\scregedit.wsf /im 1
Just.
Hi,
For those that are attending ITForum next week, there will be a couple of Server Core sessions:
304 focuses on remote management via MMC and PowerShell, including firewall configuration to allow these. While 316 focuses on managing from the command line.
There will also be a Q&A session: SRV07- Q&A: Server Core
In addition, there will be a Server Core booth in the Ask the Experts area, where you'll be able to frequently find me. Stop by to say hi and ask me lots of questions! | http://blogs.technet.com/server_core/default.aspx | crawl-002 | refinedweb | 2,463 | 52.09 |
Using JUnit With Eclipse IDE
Pages: 1, 2
junit.framework.TestCase
testWasTransactionSuccessful()
testShow()
TestThatWeGetHelloWorldPrompt.java meets both of these criteria: it subclasses TestCase and has a method called testSay(). This method uses an assertEquals() call, which compares the value which we expect to receive against the value returned by say().
TestThatWeGetHelloWorldPrompt.java
TestCase
testSay()
assertEquals()
say()
The main() method is used to run the tests and present their
output. JUnit's TestRunner executes our tests, and provides both graphical
and textual output. We use the textual version because that's what Eclipse IDE supports
and it's absolutely suitable for us. Once executed, the textual version of the test
shows the result as text output and Eclipse IDE uses that to create its own graphic presentation.
main()
TestRunner
So, according TDD provisions, once we run our test we should see that it failed. Let's try. Click
Run -> Run as -> JUnit Test (remember that TestThatWeGetHelloWorldPrompt.java should
be highlighted in Package Explorer). In the left window, instead of Package Explorer, you
will see the JUnit window, which shows a red bar, the failed tests, and details of those
failures, as seen in Figure 2. If you do not automatically see it, just click on JUnit label (on the bottom left), which is one of the layers of this screen.
Figure 2. Failed test in JUnit
Perfect! It really fails. Now we can create working code in our project: right-click the
ProjectWithJUnit title in the left Package Explorer window, then choose New -> Class.
Choose a name for the class — we've assumed it to be HelloWorld. Do not check off
any of checkboxes on the bottom of the dialog window, just click Finish. Below is the code for
HelloWorld.java:
HelloWorld
public class HelloWorld {
public String say() {
return("Hello World!");
}
}
It's very simple and merits no commentary. So let's test it and see the results. Run our test the
same way as described above, and in the left JUnit window you will see a green bar, as seen in
Figure 3. The green bar means that our test was successful.
Figure 3. Successful test in JUnit
Now we want to try to make it fail once again, but for a different reason. This will help show how
JUnit test covers and reports different errors. Edit the assertEquals()
to change the expected return value from "Hello World!" to, for example, "Hello Me!". When you run this
JUnit test again, the bar will be red, and at the bottom of the left JUnit window you will
see an explanation of what failed, as illustrated by Figure 4.
Figure 4. ComparisonError running JUnit
ComparisonError
In conclusion, I would like to mention a few thoughts about testing as a necessary part of the
development process. Testing code was always an integral part of any development. But it has been
advanced over the last few years, thanks to powerful methodologies (such as "expectations-based development," etc.), accelerated testing toolkits, and the development of better testing processes. If you have found this article interesting, take some time to study formal testing methodology, and use it in your work.. | http://www.onjava.com/pub/a/onjava/2004/02/04/juie.html?page=2&x-order=date&x-maxdepth=0 | CC-MAIN-2013-20 | refinedweb | 524 | 64.81 |
2014-07-30 Meeting Notes
Brian Terlson (BT), Dmitry Lomov (DL), Waldemar Horwat (WH), Allen Wirfs-Brock (AWB), John Neumann (JN), Rick Waldron (RW), Eric Ferraiuolo (EF), Jafar Husain (JH), Jeff Morrison (JM), Mark Honenberg (MH), Caridy Patiño (CP), Sebastian Markbåge (SM), István Sebestyén (IS), Erik Arvidsson (EA), Brendan Eich (BE), Mark S. Miller (MM), Sam Tobin-Hochstadt (STH), Domenic Denicola (DD), Peter Jensen (PJ), John McCutchan (JMC), Paul Leathers (PL), Eric Toth (ET), Abhijith Chatra (AC), Jaswanth Sreeram (JS), Yehuda Katz (YK), Dave Herman (DH), Brendan Eich (BE),
RFTG Admin: ES6 Opt-out period.
(Allen Wirfs-Brock)
rwaldron/tc39-notes/blob/master/es6/2014-07/ecma-262-6-optout1.pdf
AWB: This is the opt-out period: Aug. 11, 2014 - Oct. 11, 2014
Final opt-out window: March 16, 2015 - May 18, 2015
Read the policy, speak with István Sebestyén for further information.
The opt-out version of the spec is: ECMA-262 6th Edition, revision 26, document: tc39/2014/031
4.4 Instantiation Reform (Review @@create design rationale and possible alternatives)
(Mark Miller, Allen Wirfs-Brock, Dmitry Lomov, Tom Van Cutsem. Based on Claude Pache proposal )
rwaldron/tc39-notes/blob/master/es6/2014-07/instantiation-reform.pdf
AWB: Currently:
new Foo(arg)
Foo[[Construct]](arg)::=
let obj = Foo[@@create]()
foo.call(obj, arg)
The actual constructor method typically does all of the initialization and setup on the instance object.
Issues:
(DOM centric)
- If instances aren't sufficiently initialized by @@create, then instance objects could leak (e.g. via a nefarious decoupling between the @@create allocation process and the constructor-function initialization process)
- @@create could be called directly
DH: Do we have concrete examples of this problem?
JM: Dealing with legacy code where you want to subclass from legacy constructors, need to set up state,
this uninitialized
AWB: Gives
Date example, where
[[DateValue]] isn't setup until
super()
DH: The initialization of the internal field cannot happen until the super constructor is called to create that field.
YK: This is caused by the @@create not accepting the constructor arguments.
AWB: Yes. Propose: Remove @@create, replace it with @@new, which will make the arguments available to
YK: When you subclass, it's normal to call super and pass the arguments.
AWB: @@create is a property of the constructor, not the instance.
Creating a subclass, you may want to do something with the arguments before passing to
super
JM: or adjust some state on the subclass instance before calling
super
AWB: There is a complication that built-ins have: different behaviour when
new'ed or
call'ed
No internal distinguishing mechanism. No way to indicate that a constructor was called or newed.
YK: Don't think we need to be concerned with handling
AWB: A subclass will create a "call" up to the
super
Explanation of current spec handling.
JM: Issues: were we called, or newed. One deals with intermediary state initialization.
AWB: The issue is coupling between state and the instance. Do we agree that there's a problem?
(no one says no)
JM: There are scenarios where a subclass wants to initialize state before calling super()
YK: It seems like a feature, not a bug
WH: What are you calling the intermediary state
YK: The fact that you can observe the creation There has to be brand check
DH: The simplest way of saying is that all need brand checks.
YK: Can do:
foo.call(any) and there is obviously a check there.
AWB: Internal slots are initialized in an atomic unit,
YK:
DL: TypedArrays missing creation information
AWB: You can move all the logic [to @@create or @@new or something akin], but you've just created another constructor
WH: Why not do everything from @@create in the constructor
DL/AWB: Jason Orendorff's proposal.
DH: (not-quite-right summary of Jason's proposal)
AWB: One way: reify [[Construct]] to the user
DH: When
new Foo(args), calls
Foo[@@new](args) ... ?
DL: Just pass the args to
@@create and change
@@create to
@@new
NM: But then the subtype must have same signature
AWB: 2 viable options for ES6
- Live with what we have, @@create is grungy, but not unsafe
- Alternative, originating with Claude Pache
Bring back to constructor with atomic invocation. I'm for this approach and it's reasonable for ES6
(Mark presenting...)
MM:
Goals
Subclass exotics Avoid un (or partially) initialized exotics
ES5 compat (aside from "rcvr") ES6 class compat (aside from @@create) Reliable test for "am i called as a constructor?" Support base-creates-proxy scenario
class Derived extends Base { constructor() { // TDZ this, on "new Derived..." etc. super(...otherArgs); // this = what super returns // this is initialized. } } // function Base(...otherArgs) { // implicit this = Object.create(mostDerived.prototype, {}); }
AWB: The
super() call is calling the super class constructor as a constructor when
new Derived()—that's important.
WH: When constructor() is called as a function, super is called as a function too?
MM: Yes
WH: What causes the TDZ to appear? The statically visible presence of a super call in the body of the constructor?
AWB: Yes
WH: What if the super call is inside an arrow function?
BE: If
Derived called without
new?
AWB:
super() is called a non-constructor.
WH: super cannot appear in a nested function?
AWB: they can appear, but... (trails off)
JM: A related use case is being able to set up stuff on the instance before calling super()
AWB: Show me code that does that, to make sure we don't break that.
BE: code that doesn't actually use super() won't break, and there is no such code yet
MM: Base is an example of a function that doesn't have a super call (because it can't). On entry, before user code, implicit init this of fresh newly created object. This is a difference from ES5. The "mostDerived" prototype ...?
AWB: this actually isn't a difference from ES5, because there is no super() in ES5
MM: you are correct
MM: how do people feel?
JM: It's not an issue with ES5 -> ES6 legacy, it's an issue with ES6 class designs that evolve over time
YK: my concern is the pedagogy of this approach.
MM: the pedagogy is as shown in this slide.
DH: No! It cannot be taught this way.
BE: let's just let Mark present.
MM:
From Claude Pache
F.[[Construct]](args, rcvr)
- Distinguish functions-which-call-super
- Vanilla function at end of super-call-chain is base (instantiation postponed to base entry)
**Modifications to Claude's proposal **
F.[[Construct]](args, rcvr)
- mod Only MOP signature change
- Distinguish functions-which-call-super - mod call-super-as-a-function
super(), but not
super.foo()
- Vanilla function at end of super-call-chain is base (instantiation postponed to base entry) - mod instantiation postponed to base entry
YK: What about subclass constructors that don't include a call to
super().
AWB: Throw when
new'ed
Agreement.
JM: I still have issues with state initialization
YK: Issues
BE: Concern about setting properties on the instance before
super()
JM: Code patterns exist, they won't just go away.
AWB: Can get around it with
super.constructor()
BE: Lose the static analysis of
super( (right paren intentionall omitted)
MM:
[[Call]] Traps
F(...args) -> F.[[Call]](undefined, args) Derive.[[Call]](const this, args) super(...other) -> super.special_name(...other)
WH: What is the special name?
MM/AWB/DD: (to Waldemar) This is the ES6 spec
WH: Explain?
AWB: methods that ref super are bound to an object where the super ref takes place. that binding is the current inst. two bound values object where look up starts and the method name.
MM:
[[Construct]] Traps
new F(...args) -> F.[[Construct]](args, F) Base.[[Construct]](rcvr, args) entry -> const this = [[Create]](rcvr.prototype) Derive.[[Construct]](args, rcvr) entry -> TDZ this super(...other) -> const this = super.[[Construct]](other, rcvr)
Remaining Requirements
Am I called as a constructor?
What is the original's constructor's prototype?
How do I provide alternate instance to the subclasses?
Am I called as a constructor?
function F(...other) { let constructing = false; try { this; } catch(_) { constructing = true; } super(..); }
Base instantiates proxy scenario
function Base(...other) { return new Proxy(... this.prototype ...); }
Kill two birds with "new"
function Date() { let now = $$GetSystemTime(); if (new*) { let obj = Object.create(new*.prototype); // [email protected] = now; // private "now" state return obj; } else { return ToTimeString(now); } }
MM: Proposing a new special form (shown as
new* above) whose value is the most derived otherwise undefined.
The test being: reliably check if I am called as a constructor.
WH: Unless the most derived receiver is falsy. Is there a way to create such a thing?
AWB: Yes, you can invoke the reflection trap and specify a falsy value for the receiver.
MM: Modified the above example to:
if (new* !== void 0) ...
AWB: We could fix this by throwing if reflection is used to invoke a constructor with undefined as the receiver.
Reflection and Proxies
Reflect.construct(F, args, rcvr)(throw on undefined)
- construct trap:
construct: function(target, args, rcvr)
YK: How does this work in ES5 classes?
AWB:
YK: Is conditional super a hazard?
MM: Yeah
AWB: New power, new complexity
YK: Exposing something that was implicit into the main path. Calling super in a constructor conditionally?
EA: Bug, can be fixed
AWB: (re: Date example) Where it shows Object.create...
DL/AWB: If you conditionally forgot to call
super(), [[Construct]] will have to check at exit and throw.
YK: With @@create you had to know what you were doing. With this you could tread on weird cases without knowing it.
BE: Lets park that discussion for now.
DL: The sign that TypedArray is giving us is a sign of what user code might do as well so they will have the same issue.
AWB: Better direction. Don't go another decade where implementations can have private slots, but user code cannot.
MM: The direction I've presented is what I prefer. What I'm actually proposing is that we allow Allen to be the champion and work out the details remaining. Objection?
None.
BE: No objection, but I want to make sure Allen works with YK, JM and Boris Zbarsky
Conclusion/Resolution
- Agreement to MM proposal: Allen to be the champion and work out the details remaining
(This did not gain final consensus, as follow up was necessary)
... On to JM objections
JM: Start with a class never meant to be subclassed. Later you want to re-use aspects of this class, but need a way to hook in to the subclass
this before
super() class.
DH: eg. an
initialize method that just sets up properties and state
AWB: If it's just state that it doesn't need to know about, it doesn't matter? If it's state that does need to know about, what the channel? Seems very tenuous at best
JM: An example, we want to re-write some of the dom before calling the parent constructor.
DL: How is dom related?
WH: Are you unable to munge parameters to constructor?
AWB: Consider a scenario where the DOM mutation is contained in a method of the super class that must be invoked, for side effect, with no dep on object instance state, but is an instance-side method. The way around is to access your prototype or original prototype and invoke the method on the instance
Discussion of legacy scenarios and validity.
AWB: More of a refactoring issue
YK/JM: Agreement that we need more real world cases.
MM: Need a very concrete example, showing: the code written that wasn't intended for subclassing and the newer code that's attempting to subclass.
YK: There are issues created by memoization
Discussion re subclassing in general.
MM: Need to do the concrete example exercise, and before the end of this meeting.
AWB: The fallback is that we just keep what we have.
DD: Worried about @@create, that it won't be possible to subclass because there is negative feedback
MM: Break on this discussion until JM has adequate examples.
5.2 SIMD.JS
(Peter Jensen and John McCutchan)
rwaldron/tc39-notes/blob/master/es6/2014-07/simd-128-tc39.pdf
Other slides peterjensen.github.io/html5-simd/html5-simd.html#
JMC: (introducing SIMD, Single Instruction Multiple Data)
Slide presentation
Proposing a Fixed 128-bit vector type as close to the metal while remaining portable
- SSE
- Neon
- Efficient scalar fallback possible
Scales with other forms of parallelism
WH: Why fixed 128, given that x86 SIMD is now up to 512-bit vectors?
DH: Plenty of real world use cases for this, video codecs, crypto, etc.
STH: Wider widths?
JMC: Yes.
AWB: Works with IBM PowerPC?
JMC: Yes, overlapping instruction sets.
Proposing, specifically:
- SIMD module
- New "value" types
- Composable operations
- Arithmetic
- Logical
- Comparisons
- Reordering
- Conversions
- Extension to Typed Data
- A new array type for each
float32x4, 4 IEE-754 32-bit floating point numbers int32x4, 4 32-bit signed integers float64x2, 2 IEE-754 64-bit floating point numbers
Float32x4Array, array of float32x4 Int32x4Array, array of int32x4 Float64x2Array, array of float64x2
Object Hierarchy
SIMD -> int32x4 -> add, sub, ... -> float32x4 -> add, sub, ... -> float64x2 -> add, sub, ...
DH: Introduce new value types, but does not depend on user created value types
JMC: Examples...
var a = SIMD.float32x4(1.0, 2.0, 3.0, 4.0); var b = SIMD.float32x4.zero();
MM: Why is zero() a function instead of a constant?
JMC: It could be a constant.
... additional examples. See Slides.
STH: How much of the difference is SIMD and single precision?
JMC: I don't have numbers, but would say SIMD
MM: Do SIMD instructions preserve denormals or flush?
JMC: ARM flush to zero. SSE you can select
Inner Loop
JMC: All high level JS can be stripped down in the JIT
Shuffling
(copy from slide)
JMC: Compiles down to a single instruction
WH: There are 256 of those constants defined?
JMC: Yes.
Branching
(copy from slide)
WH: What data type used to represent that?
JMC: int32x4
WH: Any kind of 4-bit data type for the mask?
Q about displayed data on slide
WH: Is
select bitwise?
JMC: Yes
WH: Cool. It's data type agnostic and lets you slice into smaller bit slices.
WH: Also, those of us who do NaN-coding will need to beware, because this can both view and manufacture arbitrary NaN's.
How does VM optimize for SIMD
(copy from slide)
**Firefox implementation Status
(see slide)
Chrome/v8 implementation status
(see slide)
YK: is Chrome interested in these patches?
JMC/PJ: They want confirmation from TC39
DL: This is v8, not chrome. v8 team is fairly conservative.
Emscripten Implementation Status
(see slide)
JMC: Much of these operations are used in real world platforms written in C++
V8 SSE Benchmarks (Early 2014)
(see slide)
MM: How can you get faster than 4x faster with 4-way SIMD?
DH: Float 32
SpiderMonkey SSE Benchmarks (Early 2014)
(see slide)
Dart VM NEON Benchmarks (Early 2014)
(see slide)
MM: Why are the relative speed ups across the vms are so different?
JMC: Different output from different code
Why Fixed Width and not Variable Width Vectors
(see slides, 1 & 2)
STH: A problem bigger than variable width vectors. If we wanted 256 bit widths, on 128 bit vector platforms, observable differences.
JMC:
WH: Why is intel building hardware with 128 bit vectors
-- Dmitry Lomov (DL) will fill in details of discussion here.
JMC: this will expose differences hardware
JMC: no implicit conversions, 1 + <float32x4> will do string concatenation MM: why? JMC: too much magic DH & JMC: overloading operators is ok, no lifitng or implict conversions
WH: It's bad that you can do -<float32x4> but not 2*<float32x4> and instead have to splat the 2 into its own vector first.
JMC: like asm.js, have to be clear about what types you're operating on.
YK: Don't have to make the ergonomics good
JMC: Don't have to, they never will be.
Planned Features 1
SIMD and value objects/types
- float32x4 and friend will be value objects
- overloaded operators (+, -, ..._ will be mapped to SIMD.<type>.<op> equivalents
Additional data types (int8x16 and int16x8)
- Looking at VP9 encode/decde for justification
AWB: The top bullet has a lot deps, but the bottom not, are these near term?
JMC: Yes
WH: Why not int64x2?
JMC: Support is not universal
MM:
- Universal across processors
- something that has compelling algorithm
Unsigned integers don't fall in the second?
WH: Why not unsigned integers?
JMC: Not widely used
WH: uint32 perhaps, but uint16 and uint8 are heavily used in graphics to represent pixel values.
JMC: tried, issues encountered
- Extracting kernels and analysing the algorithms they're using and finding the instruction set overlap
- start with smaller scope, can expand later on. can add x8, x16 later. Surveyed internal teams
- 128 SIMD and expand from there.
MM: What's being saved, given the already exposed information?
JMC: time, complexity, etc.
AWB: How would you specify "slow", "fast", etc.
DH: Leave it undefined. "High recommended if supported, etc"
AWB: worried about gaming.
DH: same
Planned Features 2
(see slide)
DH: Risk:
- Some content is written such: if optimized, do this, if not, throw an error
- Browser doesn't want to be left out, will fake the optimized flag.
YK: The only reason to do the check is if you know you have a faster scalar implementation for systems without the SIMD feature; path of least resistance is to use polyfill and do no check at all. So maybe risk is not so great.
WH: Flip side also could be an issue: Web site has code for the optimized case which is not present on common platforms, somebody changes it and doesn't test it properly, it later breaks on optimized implementations, so browsers don't want to set the optimized flag.
JMC: (confirmed awareness of gaming)
BE: Some won't fake for fear of the performance cliff. See WebGL precedents.
Discussion re risk, generally: some risks worth taking.
WH: instead of boolean, maybe a value that indicates speed level?
AWB: Application could do a mini benchmark as a test?
Stage 1 Ready?
(see slide)
AWB: Sounds like it is ready for stage 1. Can it be its own independent standard?
WH: It creates new primitive data types. Don't want specs outside creating new types
AWB: Do you expect every runtime to implement this?
JMC: Yes. They will run to implement this!
BE: Some embedded systems have trouble ith regex and unicode, it's expect that there will be "code commerce" among distinct device classes' embedded runtimes.
MM: We need a general framework for new value types
AWB: Without the value types, it's fairly clear cut.
MM: Preserving reference identity makes it prohibitively expensive
DD: Per the ES7 model, the feature can progress without being in another spec.
Discussion of the spec process.
STH: Back to MM statement, what does typeof have to do with reference identity?
- Could be implemented by memoizing the identity, not that you'd implement that way
MM: (example of using a weakmap)
- Logically, if they're a reference type, we have to admit them to WeakMaps, if they are a value type we can reject them. I hadn't considered the memozation
AWB/DH: (clarification of coupling and timing issue)
DH: Needs to be the same semantics as value types, if we ship this sooner and learn that we made a wrong call, then we have to deal with deciding whether or not we apply the mistake or break with SIMD.
Conclusion/Resolution
- Moves to stage 1
4.3 Function parameter/let declaration name conflict rules
(Allen Wirfs-Brock)
rwaldron/tc39-notes/blob/master/es6/2014-07/parameter-scoping-7-14.pdf
Current spec, Controversial:
function(x) { var x; let x; // early error } function(x) { let x; // early error <-------- } try { } catch(x) { let x; // early error <-------- }
AWB: Andreas wants consistent handling
DH: The mental model is that let is block-bound,
DH:
var is "I assert there is a binding in this scope, but that can be re-asserted as much as I want".
let is "I have one unique declaration, I don't allow redeclaration".
YK: If you say
var x = 42 half way down the function, you can use the original parameter
x until that point. With TDZ, if you had
let x = 42 half way down, you couldn't mean anything with
x
DD: (points about let and const protecting from mistakes)
BE: (channeling Andreas) Worried that there will errors when you want to shadow.
DH/YK: The shadowing is meaningless.
MM: I was indifferent, but side with Dave's points about refactoring
STH: Generating code via macros, introduces non-local restrictions that could break
DH: Just have a notion of parameter bindings and block bindings, distinct from the surface syntax, and latter can't shadow former; easy workaround for code generators is to add an extra pair of
{ }.
MM: (example of user blindly changing
var to
let)
STH: This isn't a language issue, it's a non-semantics preserving change.
DL: (on behalf of Andreas)
For Do-Expressions
() => {} = () => do {}
DH: Doesn't hold b/c left is statement body, right is expression body, not equivalent.
AWB: (revisting decisions about duplicate declarations in same contour)
AWB: Need to ensure that lexical declarations are disjoint sets, there spec mechanics there.
STH: Proposing
RW: The refactoring hazard only exists for the one time the code is run after the change from
var to
let and the refactorer is shown the early error and immediately knows to fix the bug. Removing these errors is unfortunate
YK: It's not clear what the program does when there is no early error.
RW: What is Sam's position?
STH: Why do we have these errors? What do we gain from them?
RW: Arguably, JavaScript could use some degree of "nannying" if it has positive results.
MM: No way to explain that function declaration initializes the parameter?
BE: It doesn't. Andreas just wants
let to behave like
var re: redeclaration
MM: Strict programming should be understandable in terms of lexical scope.
- Parameters and body are two scopes
- If explain as two scopes, can't unify.
- One scope
- Has to be an early error.
BE: Good argument, but not sure it depends on strict.
MM: In sloppy mode, functions are crap as well.
STH: He's just trying explain the semantics of
let, w/r to block scope alone.
MM: A
var-less strict program should be understandable in terms of lexical scope.
BE:
var is huge turd that should be recalled into some lesser demon's bowels.
- We want the error.
Conclusion/Resolution
- Status Quo - DDWIDM "Don't Do What I Didn't Mean"
4.7 Revisit Comprehension decision from last meeting.
(Allen Wirfs-Brock)
AWB: There are a lot of TC members and non-members concerned that this was not a wise decision and that we should revisit. Included link to Andy Wingo
RW: if I had been here at the last meeting I would've objected to the removal, but as I told Dave offline, I trust him and his plans for syntax unification. I just wanted to see progress in that regard.
BE: I want to say: I was the champion for years, but letting go. I want to see the comprehensions laziness addressed.
DH: I did this exercise, the sudoku solver in:
- pythonic
- linq style
- no comprehensions
JH: I'd like to know if there are objections still, to deferral
AWB: Objecting to the late removal of a complete feature.
RW: Same objection, reached independantly, but again I trust Dave to see through the syntax unification.
DH: First, laziness is not a problem; you just need a way to construct a lazy sequence either from an eager value (
array.lazy()) or from whole cloth (
lazyRange(0, 1000)).
DH: Second, the fact that comprehensions only do a subset of operations you want means you end up mixing code styles (comprehensions + methods), and it gets syntactically awkward.
DH: When I did the exercise with three styles, I found the generalized comprehensions nicer but no comprehensions at all nicest.
BE: The affordance of generator expressions and comprehensions is that you don't have to write a call
DH: (Gives walk through of solver.linq.js, solver.pythonic.js)
- The exercise shows a need for new methods of iterators, flatMap, filter, etc.
DH: I said last time that we need an Iterator.prototype object and we agreed to defer since it probably wouldn't break code, but we forgot that hurts polyfills that want to patch the prototype with upcoming standard methods. So we should add the empty prototype object in ES6.
WH: In expressions such as foo.lazy().map(...function1...).every(...function2...), what shuts down (i.e. calls the return method of) the foo.lazy() generator?
DH: The call to every will shut down the generator if it reaches its decision early.
DD: The minimal Iterator.prototype is empty, but available. The long term is a constructor Iterator with blessed apis.
DH: Confirm
BE: An actual Iterator is means Duck typing isn't the preferred way, just create a real Iterator
MM: Using an actual functional style, the function names you're using are
BE: The oop style prevails, desired chaining API, adapter full of goodies.
Discussion of generators and observables
WH: How would you represent a 2-d comprehension like (for (x of xs) for (y of ys) if (x % y) x+y)?
xs.flatMap(x => ys.filter(y => x % y).map(y => x+y))
WH: OK. A bit less pretty than the comprehension in this case, but acceptable.
MM: after seeing this code I will never use comprehensions
YK: raises arms in triumphant vindication
BE: who will own explaining to Andy Wingo and es-discuss?
DH: I will
BE: "You keep what you kill" - Richard P. Riddick
Conclusion/Resolution
- Add a prototype for iterators, but do not expose a global Iterator constructor for ES6 (leave that for ES7)
- Between Object prototype and Generator prototype
- Initially empty, but accessible
- Comprehensions in general deferred to ES7
4.12 Revisit spread and destructuring of string
(Erik Arvidsson , Brendan Eich)
EA: We're using ToObject in spread and all other iterable forms. Should we do the same for destructuring?
- This would allow destructuring strings and other non-objects.
// Should allow: let [first, ...rest] = "foo"; first; // "f" rest; // ["o", "o"]
STH: ToObject breaks pattern matching because you couldn't match on a number.
YK: But we agreed to a future irrefutible matching, which would be the basis of pattern matching.
DH: Array vs. Object cannot have the same semantics here in what we want from pattern matching
- if I used an array
EA: Uses iterator
DH: Not even self-evident that pattern matching syntax will work in JS
YK: (to Sam) Do you think it will it should fail for strings to destructure?
More discussion of pattern matching.
DH/BE: match must mean a different pattern language, ships have sailed for destructuring and implicit ToObject
Conclusion/Resolution
- Destructuring does ToObject
4.5 Import-into-namespace syntax (Dave)
(Dave Herman)
request slides
DH: (recapping the last meeting and the findings of the breakout group; and the fall out)
DH:
Resolution
- Changed syntax for clarity
(need slides)
Module Context 1
Existing systems provide contextual metadata:
What is the dynamic analog of relative import?
import helper from "./helper";
Module Context 2
- no implicit namespace pollution, plz
- JS has a dedicated contextual variable:
this- Solution inital
thisbinding is a context object
DD: How is this different from adding global variables, eg.
Reflect
STH: The difference is that the value depends on where it is; unlike
Reflect, which is the same thing.
DH: We should use
this in top level of a module
AWB: what does that mean?
this at the top level of a module?
DH:
Module Context 2
- Relative import:
this.import("./helper").then(...);
- Space for host-specific contextual metadata:
this.filename
(This is where platforms can put its host properties and objects)
- Cross-talk about
eval
Reflect.global
BT: indirect eval?
DH: Will give you the global object
DD: object to relying on
this outside of a method
RW: Workers already to the above
MM: We can't even poison
this for ES6
YK: if you says it's module context, you have to say how it got that value
DH: No new scoping rules. This construct just implicitly binds something.
AWB:
import filename from this; // which basically: import filename from here;
DD: Like this for relative
DH: Completely amenable to this
YK:
import * as me from here; me.import; // `me` is the context object
Conclusion/Resolution
- the api is right direction
- each module gets its own version of that object
- need some sort of access to the module contextual object
- some sort of declarative form to get at
- static contextual information about the module
] | https://esdiscuss.org/notes/2014-07-30 | CC-MAIN-2020-50 | refinedweb | 4,810 | 63.7 |
Sometimes your program is just too motivated, and does all this work you don't need or want it to do -- you want it to be lazier. That's where generators come in. Using a generator in Python lets you choose exactly how much you want done, and when.
Sometimes your program is just too motivated, and does all this work you don't need or want it to do -- you want it to be lazier. That's where generators come in. Using a generator in Python lets you choose exactly how much you want done, and when.
Last week we introduced you to list comprehensions, which give you a more natural way of representing the contents of a list. This article demonstrates their cousins: generators, which can build a sequence piece by piece, doing as much or as little as you need.
This is called lazy evaluation, which delays the computation of a particular value up until the point where it is needed by the program. Lazy evaluation is useful in many types of programming since it provides a performance benefit by eliminating unnecessary calculation of values that are never used. Some languages, such as Haskell and Miranda, use lazy evaluation by default, while others, like Scheme, OCaml and Python allow it through special syntax. In Python the way you achieve lazy evaluation is through generators.
A generator allows you to write a function that can return a result and pause, resuming in the same place the next time you call the function. You don't need any special syntax to write a generator, except to denote when an intermediate value is to be returned using the
yield statement. The easiest way to demonstrate this is with an example:
>>> def generator1(): ... yield "first" ... yield "second" ... yield "third" ... >>> gen = generator1() >>> gen
>>> gen.next() 'first' >>> gen.next() 'second' >>> gen.next() 'third' >>> gen.next() Traceback (most recent call last): File " ", line 1, in ? StopIteration >>>
In this example, first we define a generator called
generator1 which will yield three values, the strings "first", "second" and "third". When we create a new generator object (gen) it begins the function. Each time you call the generator's
next method, it continues the function until the next yield. When the generator reaches the end of the block, or reaches a return statement, it throws a
StopIteration exception.
Generators are essentially iterators, which means they can be used instead of sequences (lists etc.) in many expressions. For example, rather than the above you could just as easily write:
>>> gen2 = generator1() >>> for i in gen2: ... print i ... first second third
Likewise, you can convert a generator into a list all at once:
>>> gen3 = generator1() >>> list(gen3) ['first', 'second', 'third']
Let's take an example of where this is actually useful. The following is a fairly standard function that produces combinations, that is, the number of unique ways a sequence can be chopped into smaller sequences:
def combination(seq, length): if not length: return [[]] else: l = [] for i in xrange(len(seq)): for result in combination(seq[i+1:], length-1): l += [[seq[i]]+result] return l
It works as follows:
>>> combination("ABCDE", 3)
[['A', 'B', 'C'], ['A', 'B', 'D'], ['A', 'B', 'E'], ['A', 'C', 'D'], ['A', 'C', 'E'], ['A', 'D', 'E'], ['B', 'C', 'D'], ['B', 'C', 'E'], ['B', 'D', 'E'], ['C', 'D', 'E']]
>>> combination("ABCDE", 2)
[['A', 'B'], ['A', 'C'], ['A', 'D'], ['A', 'E'], ['B', 'C'], ['B', 'D'], ['B', 'E'], ['C', 'D'], ['C', 'E'], ['D', 'E']]
>>> combination("ABCDE", 5)
[['A', 'B', 'C', 'D', 'E']]
Now let's turn it into a version that uses generators. The trick is simply to replace every point at which you would add a value to the end results list and replace it with a yield statement:
def xcombination(seq,length):
if not length: yield []
else:
for i in xrange(len(seq)):
for result in xcombination(seq[i+1:], length-1):
yield [seq[i]]+result
Now we have a version that works exactly the same, except that it does the work only as you need it:
>>> comb = xcombination("ABCDE", 3)
>>> comb.next()
['A', 'B', 'C']
>>> comb.next()
['A', 'B', 'D']
>>> list(comb)
[['A', 'B', 'E'], ['A', 'C', 'D'], ['A', 'C', 'E'], ['A', 'D', 'E'], ['B', 'C', 'D'], ['B', 'C', 'E'], ['B', 'D', 'E'], ['C', 'D', 'E']]
>>> comb2 = xcombination("ABCDE",2)
>>> for i in xrange(3):
... print comb2.next()
... ['A', 'B']
['A', 'C']
['A', 'D']
In the last command, even though there are 10 different combinations of letters, only three are generated, saving us 70 percent of the computation time of the standard function.
The really useful thing about generators is that they can, for most needs, be used as a drop in replacement for list comprehensions. All you need to do is replace the brackets that would go around list comprehensions with parentheses. Take the last example in the article on list comprehensions. Rather than:
>>> guests = ['Chris', 'Brendan', 'Jimmy', 'Mel', 'Mike', 'Jess']
>>> [(seat1, seat2) for seat1 in guests for seat2 in guests if seat1 != seat2]
...
You can write:
>>> guests = ['Chris', 'Brendan', 'Jimmy', 'Mel', 'Mike', 'Jess']
>>> ((seat1, seat2) for seat1 in guests for seat2 in guests if seat1 != seat2)
And then you can use it like you would any other generator:
>>> seating = ((seat1, seat2) for seat1 in guests for seat2 in guests if seat1 != seat2)
>>> for i in xrange(10):
... print seating.next()
...
('Chris', 'Brendan')
('Chris', 'Jimmy')
('Chris', 'Mel')
('Chris', 'Mike')
('Chris', 'Jess')
('Brendan', 'Chris')
('Brendan', 'Jimmy')
('Brendan', 'Mel')
('Brendan', 'Mike')
('Brendan', 'Jess')
Up til now we've been using generators as a way of building lists to save computation time over other methods. That's great, but where they really shine is when computing the whole list would be impossible. Take the Fibonacci sequence, in which each number is the sum of the previous two. Say we want a function that generates the sequence up to a given number:
>>> def fib(n): ... a, b = 0, 1 ... l = [a] ... while b >> fib(20) [0, 1, 1, 2, 3, 5, 8, 13]
Now this works fine, so long as we want to stop counting up when we reach a certain number. If we want to change the criteria for stopping, however, we have to rewrite the function. Instead we can implement it as a generator (implementation borrowed from the python PEP on generators):
>>> def xfib(): ... a,b = 0,1 ... while True: ... yield b ... a, b = b, a+b ... >>> fibseries = xfib() >>> b = fibseries.next() >>> while b
Or, if we want to stop at the first palindrome (greater than one digit) we just need to change the loop condition:
>>> fibseries = xfib()
>>> b = fibseries.next()
>>> while b ... print b
... b = fibseries.next()
...
1
1
2
3
5
8
13
21
34
And that's it (The next value in the series is 55). By using a generator we can keep the list building implementation separate from the logic relating to when to stop generating it, while still only calculating as many values as we need.
When should you use generators over list comprehensions? Firstly, if you're going to use the whole list anyway, it's better to use a list comprehension -- they're faster since they don't have the added overhead of a generator function call. If you're going to use the first part of the list, use a generator, since you'll save CPU time. | https://www.techrepublic.com/article/lazy-list-builders-generators-in-python/ | CC-MAIN-2021-25 | refinedweb | 1,221 | 67.79 |
IgorExchange beta release
aclight
Sun, 10/21/2007 - 08:12 pm
New Features:
- Code snippets: Code snippets are short pieces of code, often a single function, that serve a simple and specific purpose. If you have some code to share with others but you don't think it's enough to merit a project, create a code snippet instead. You can browse code snippets by the category attached to the snippet or use the search box at the top of any page to search all content on the site, which includes code snippets.
- Projects and releases now display download counts: Individual projects and their releases now indicate the number of times that they have been downloaded by users.
- Improved project browsing: We've reformatted the project browsing page to use tag clouds which display the various categories using font sizes that are representative of the number of projects in that category. In addition, we've added another way to browse projects called Advanced browse. Advanced browsing allows you to sort projects by various attributes including project name, author, category, time when the project was last updated, user rating, and OS. You can also filter the projects displayed so that only projects in a certain category or OS are displayed.
- Improved documentation section: We've added a new top level section for code snippets and have also added a Miscellaneous section, which currently contains a description of the various Site navigation elements and a Useful resources page with links to various web sites and tools that may be useful to Igor Pro users and programmers.
- Forum post editing: Users can now edit forum posts they have created. Previously only the first post in a topic was available for editing. Now, both the original post and all comments (replies) may be edited by the user who created the post/reply. Just click the edit button within the post/comment. Comments that have been edited will have a footer with the time the comment was last edited.
- Mark all as read button for forums: When viewing lists of content, such as the New forum posts page, posts that have been created but which you have not viewed are indicated with a "new" tag. The forums listing page now has a "Mark all forums read" and individual forum topic listing pages have a "Mark all topics read" button. We are working to add a similar feature to the tracker pages (such as the New forum posts and All recent activity pages.
- Home page changes: The IgorExchange home page now has new lists of the highest ranked projects and most recent forum posts. These should make it even easier to keep updated with new content on the site.
Bugs fixed:
- Layout change: Some content/pages were wider than the central content section and flowed under the navigation sidebar which was previously on the right side of the page. We've moved that to the left side so that now wide content just expands to the width of the browser window.
- Code syntax highlighting fixed: A bug in the syntax highlighting filter caused some code containing < and > characters to be modified inappropriately. For example, text entered as
#include <MyFile>would display as
#include. This happened primarily in the code snippets section.
- Project releases: Several users had difficulties creating multiple project releases and/or having these multiple releases show up in the table of available releases on the project page.
- Navigation and login issues: Several users have reported strange problems with the navigation block not appearing on all pages and/or appearing to be logged in when the user has logged out. We have had difficulty reproducing some of these reports, but have made a few changes in session management that should fix the problems. If you continue to see these or similar problems, please contact us. | https://www.wavemetrics.com/forum/news-and-announcements/igorexchange-beta-release | CC-MAIN-2020-40 | refinedweb | 640 | 57.3 |
> -----Original Message-----
> From: Roger Vaughn [mailto:rvaughn@seaconinc.com]
> Sent: Thursday, May 11, 2000 5:53 PM
> To: ant-dev@jakarta.apache.org
> Subject: Re: Patch: JAVAC dependency tracking and multiple src paths handling
>
>
> Conor MacNeill wrote:
> >
> > Vitaly,
> >
> > Interestingly I have also been working on dependency tracking and multiple
> > source paths.
> >
> >...
> >
> >
> >
>
> I was about to start on the same problem when I saw this series of
> messages appear. My approach to the dependencies was to define a
> separate task, as Conor did. My approach, however, involves no changes
> to the javac task - the dependency generator/checker would delete any
> out of date .class files, thus forcing javac to recompile them
> naturally. It could instead touch the affected .java files, but this
> would make cvs do extra work on commits and updates, affect backup
> systems, etc. As I had planned on using Jikes as the dependency
> generator, this approach was guaranteed to be a bit slower.
>
> I haven't done the work yet, but if we want to see a *third* solution,
> I'm still set to do it.
I think will be better if we'll discuss all advantages and disadvantages here
and specify our demands for dependency tracking. If we will identify them,
we'll make the work much faster than releasing different approaches.
It is my opinion.
> My comments - I really like the separate element approach of Conor's
> srcdirs. On the other hand, I kinda like the integrated dependency
> checks in Vitaly's solution. It's likely to be faster since it seems to
> show less file system access than either Conor's or my approach.
>
> BTW, on the direct/indirect question - I spent quite a bit of time
> thinking this one through last year while using jikes/make. Direct
> dependencies are going to be the biggest problem, but it is possible to
> show *real* indirect dependencies. Consider this:
>
> public interface A {
> static final int x = 1;
> }
>
> public interface B extends A {
> static final int y = x + 2;
> }
>
> public class C implements B {
> private int z = y;
> }
>
> Ok, it's unlikely, but possible. :-) Because of the way constants are
> handled by Java, C is definitely dependent on A.
Hm, I did think about such cases before ...
I have to analyse this code and will send you the results of my investigation
later.
> The only complaint I ever had about the jikes dependency system was
> that, even though I know c.class depends on a.java, b.java, and c.java,
> I can't see that c.class would ever depend on a.class or b.class (which
> dependencies jikes *does* generate).
>
> Anyway, it seems indirect dependencies are unlikely, but possible. I
> would vote for including an "indirect" switch in any of the solutions so
> it can be turned off or on. Adding indirect recompiles where they
> aren't needed adds a *lot* of build time.
>
>
> Roger Vaughn
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger. | http://mail-archives.apache.org/mod_mbox/ant-dev/200005.mbox/%3CNEBBKKLJINOOIADKBEIHAEGFCAAA.vitaly_stulsky@yahoo.com%3E | CC-MAIN-2014-52 | refinedweb | 492 | 66.54 |
. Publication Date: December 6,003U"!' I Sports The Warriors host the Eagles in girls bas- ketball. PAGE 1B - F * no ,, 0= 0E. 65 42 FORECAST: Partly cloudy, cooler Northeast winds 10 to 15 mph. PAGE 2A Coumny: State senators unhelpful Argenziano, Fasano say more state funds for Chassahowitzka sewers unlikely TERRY WITTr terrywitt@chronicleonline.com Chronicle TALLAHASSEE Two state sena- tors painted a dismal picture Monday of the county's chances for securing additional state water and sewer funding in Chassahowitzka, but sug- gested exploring the use of high tech septic tanks as an alternative. The idea floated by Sens. Nancy Argenziano, R-Dunnellon and Mike Fasano, R-New Port Richey, found no support from Citrus County Commission Chairman Gary Bartell and County Administrator Richard Wesch. "I'm not sold on this," Bartell said at the Tallahassee meeting. Argenziano responded, "I'm not sold on your idea, either." Bartell and Wesch had hoped to spend more time discussing what they see as the need for at least $3 million of additional dollars to supplement the $3.75 million in sewer and water grants the county has already secured for a central water and sewer system in Chassahowitzka. The county is faced with a funding short- age on the project. The sole bid for the water and sewer proj- ect was more than $11 million. County staff managed to negotiate the bid down to $10.3 million, Bartell said, but that leaves a $6 million deficit. Bartell and Wesch want the Legislature to give the county an additional $3 million c ch stE n Gary Nancy H-;i ,i -z.. 1! Y',*L' -- 1, ;-S .t '.-_ county local state commission senator thinks airman says septic tanks ate senators might be a iot serious, solution. appropriation. The remaining $3 mil- lion would come from a property assessment of about $5,000 per resi- dence. But Fasano said his research indi- cated no county in the state has received more than $5 million in state funding for this type of water quality project and he doubted the county would be granted more money "To come up with an additional $4 million to $5 million is going to be almost impossi- ble," Fasano said. Fasano said he would ask the Legislature to provide the money and he and Argenziano would try to pre- serve the existing state grant money. But they made no promises. Argenziano added that she did not think it was the government's respon- sibility to provide water to residents, and she said her septic tank proposal would save $7 million over Bartell's plan. Bartell questioned her numbers. She added that while a University of South Florida study identified sep- tic tanks as a problem in Chassahowitzka, the study did not pinpoint the actual sources of pollu- tion in the river. She said she wanted to know what is causing the problem. The water quality study identified septic tanks as a source of fecal col- iform bacterial pollution in the Chassahowitzka River. During the meeting in the Senate building, Bartell said he was able to ask only two of the questions he had Please see /Page 4A -ofr m -& . ... .. .m e a ., C- O - * ... ..- '. - a:. ,. J. -- as I -a s I- E f a.x *- --) ( a)OW - .^ o * ...No -... 0R -fe W . 0 c ^ - -a w o, *.-. - e. .. -m, * -.. 8 *e .....- *- S f WAD- "a." - .., ... -.-, . *....... .. . - b.. '-...... .... .. ..,,-,,,, Sizzling market cools down Realtors say inventory is up, market stabilizing JIM HUNTER hunter@ chronicleonline.com Chronicle As predicted .and as expected by many, the feed- ing frenzy for Citrus County property and residential real estate has finally begun to cool off. The trend follows a state and national trend. The dra- matic surge in prices and sales during the past two years had surprised many locals who ivere used to l National . a long, stag- housing nant market market- in the county. also Outside in- ..slowing terests began .' down buying large PAGE4 4A numbers of lots in late 2003 and early 2004, igniting a frenzied sellers' market with accelerating prices that sizzled through 2004 and into the first part of this year. The spiking lot prices helped fuel price increases in the hot new home market, too. Part of the good news in the cooling down of the real Y estate market, according to ,,_-.: incoming Realtors' . Association President John - Finley of ERA American " Realty and Investments, is * that it's not a bursting bubble -."- " as some feared it might be. MATTHEW BECK/Chronicle file "The market is shifting," he The real estate and building industries in Citrus County are experiencing a slight cooling from acknowledged, but added the frenzied market of the past year and a half or two, and local brokers and builders say the that it's not going over any more stable market they expect in the coming months will actually be welcome. edge. Outgoing Realtors' Builders welcome chance to 'catch their breath' Association President Gene Wade of Exit Realty Leaders agreed. "There's no big bust JiM HUNTER GROWING PAINS going on here," he said. jhun lteri@ c Both brokers said some ronicene.m Community Development Services Director Chuck Dixon areas across the state and Chronicle said that so far this year, 5,491 Certificates of nation that have been Th i Occupancy had been issued for all kinds of housing, extremely overvalued, such Though it may be a bit sub- including single family residential, condos/villas, multi- as in Southern California and tler than the real estate family and mobile home, and that roughly translates into South Florida, may see some industry, the building indus- 12,080 people at 2.2 per unit. Extrapolating the net gain significant changes, but they try in Citrus is experiencing for the year, he said, that would mean the population don't expect it in Citrus a bit of cooling off, too. would be estimated to be between 132,635 and County. But similar to the real 138,197. As a comparison, there were 2,889 Certificates The other good news, both estate industry and its dizzy- of Occupancy issued in 2001. said, is that although the ing pace of late, local build- acceleration in prices will ing companies, pressed by We're still selling. It's not like he said, has just come from slow to the dismay of some labor cost and permit time a crash. It's like a cooling off an extremely aggressive envi- speculators and home sellers issues while experiencing from the frenzy," said George ronment to a more normal the county should have a high demand, are almost Sleeman, director of sales market. Citrus Hills, a high- healthy sales market well welcoming the breather from and marketing for the coun- end builder, will build about into the future. the breakneck pace of the ty's biggest builder, Citrus 400 homes this year, he said. previous year or two. Hills. Please see ..- "ORS/Page 4A "The market is still there. The local building industry, Please see /Page 5A Board OKs fees for water lines DAVE PIEKLIK dpieklik@ chronicleonline.com Chronicle county board agreed Monday to allow a utility to implement water line exten- sion fees to make up for trick- ling profits it says it's facing due to population growth. The Citrus County Water and Wastewater Authority voted to allow the Florida Govern- mental Utility Authority (FGUA) to assess a $1,910 pre- paid fee, or $2,085 fee if applied to tax rolls,for future water line extensions in Citrus Springs. The hoard had pi'evi- ously agreed in September to impose a $2,068 interim rate while a final rate was deter- mined; the board ruled Monday those residents should get refunded the differ- ence. The extension fees were approved to address the FGUAs assertion that it's los- ing money on constructing new water lines in the area because of the number of vacant lots that are bypassed. Previously, FGUA officials said they were taking out a $5 million line of credit to pay for the anticipated costs to add water lines to roughly 3,400 lots. "I think everybody realizes we're kind of on new ground here," authority chairman Mike Smallridge said of the authority's approach to resolve the issues presented. The board also denied the utility's request to allow a "line maintenance fee" in Pine Ridge and Citrus Springs to address large numbers of vacant lots. The fee $16.55 in Citrus Springs and $37 in Pine Ridge would be tacked on to residents' bills to help pay for repairs and construction of water lines in these areas, which the utility indicated was to help recover lost money Utilities Regulatory Director Robert Knight said there was no evidence to sup- port the fees. Board member Cheryl Neff- Phillips also disagreed with the approach, saying if a fee were to be used, FGUA should "make it fair for everyone." While the board passed most issues unanimously, there were some that caused debate. On the question about if the number of proposed lots to - ~ww I Annie's Mailbox ... 7C Movies ...... .... 8C Comics ......... 8C Crossword .... . 7C Editorial .... ... 10A Horoscope ....... 8C Obituaries ....... 6A Stocks .......... 8A Three Sections Sign spurs larger debate h. v: '; ., ,. A restaurant's simple reminder to parents causes controversy in Chicago./12A Surviving holiday blues Chaotic day in Iraqi court Saddam Hussein said Monday he was not afraid of execution and angrily dismissed charges against him at his trial in Iraq./12A A recent bereavement can take the joy from the season to be jolly./lC AI-Arian jurors fail to reach verdict * Judge tells them to keep trying./3A * Dan Rohan de- codes insurance industry jar- gon./1C * New columnist Lillian Knipp tells you how to look your best over the holidays./2C Please see /Page 4A c T R U ^ ^ -''' . ...K ....yi lf:: 2A TUESDAY, DECEMBER 6, 2005 Florida LOTTERIES - t Cnums CouNiT (FL) CHiRONICL Kdy Center honors legends Here are the winning numbers selected Monday in the Florida Lottery: CASH 3 5-2-7 PLAY 4 8-5-0-8 FANTASY 5 19 21 24 26 35 SUNDAY, DECEMBER 4 Cash 3:2-8-9 Play 4: 7- 0 7 5 Fantasy 5: 10 14 28 30 35 5-of-5 1 winner $198,052.49 4-of-5 232 $137.50 3-of-5 7,641 $11.50 SATURDAY, DECEMBER 3 Cash 3:6-4-3 Play 4: 9 5 0- 5 Fantasy 5: 4 -6-21 -24 -32 5-of-5 3 winners $92,934.79 4-of-5 370 $121.50 3-of-5 11,923 $10.50 Lotto: 11 24 25 26 29 51 25 MB 21,936 $6 THURSDAY, DECEMBER 1 Cash 3:9-3-4 Play 4: 9-2-6 8 Fantasy 5: 3 5 28 34 35 5-of-5 3 winners $79,361.13 4-of-5 321 $119.50 3-of-5 INSIDE THE NUMBERS B To verify the accuracy of winning lottery numbers, players should double check the numbers printed above with numbers officially posted by the Florida Lottery. On the Web, go to .com; by telephone, call (850) 487.7777. * a* - %* 4e Artor htldpt he't Rnrk N Mount *i4 P 4M a -qw -.I "Copyrighted Material Syndicated Content Today in Today is Tuesday, Dec. 6, the 340th day of 2005. There are 25 days left in the year. Today's Highlight in History: , On Dec. 6,1889, Jefferson Davis, the first and only president of the Confederate States of America, died in New Orleans. On this date: In 1947, Everglades National Park in Florida was dedicated by President Truman. In 1957, America's first attempt at putting a satellite into orbit blew up on the launch pad at Cape Canaveral, Fla. In 1989, 14 women were shot to death at the University of Montreal's school of engineering by a man who then took his own, life. In 1989, Egon Krenz resigned as leader of East Germany. Ten years ago: President Clinton vetoed a seven-year Republican budget-balancing plan.l * The House ethics committee sent a highly critical letter to House Speaker Newt Gingrich, saying h6, had committed three ethics viola-,,, tions. Five years ago: Florida Republican leaders announced the Legislature would convene in spe- cial session to appoint its own slate of electors in the state's con- tested presidential race; Democrats denounced the action as unnecessary. One year ago: Ohio certified President Bush's 119,000 vote vic- tory over John Kerry, even as the Kerry campaign and third-party candidates prepared to demand a statewide recount. Today's Birthdays: Jazz musi- cian Dave Brubeck is 85. Actor James Naughton is 60. Rhythm- and-blues singer Frankie Beverly (Maze) is 59. Former Sen. Don Nickles, R-Okla., is 57. Actress JoBeth Williams is 57. Actor Kin Shriner is 52. Talk show host Wil Shriner is 52. Actor Miles Chapin is 51. Rock musician Rick Buckler,; (The Jam) is 50. Comedian Steven Wright is 50. Country singer Bill ,, Lloyd is 50. Singer Tish Hinojosa . is 50. Rock musician Peter Buck (R.E.M.) is 49. Rock musician David Lovering (Pixies) is 44. .. Actress Janine Turner is 43. Rock. musician Ben Watt (Everything But The Girl) is 43. Rock musician Ulft "Buddha" Ekberg (Ace of Base) is 35. Actress Colleen Haskell is 29." Actress Lindsay Price is 29. Thought for Today: 'Marriage'' is a lottery in which men stake their liberty and women their hap!' piness." Madame Virginie de ; Rieux, 16th-century French writer..i --,4 - Available from Commercial News Providers" 'i all. ..... "mal" I, O9 __,,, * altols6 o-*4 .:ea seu~ aImW ..-W :leolp~qe.C 4em" w* a . to *. Sb> S - - e***<** 68 *JI a a. . " V *. 0- . * -.- ,.. '..*. am-IIM emom a EN'FER'FAIINMEN'F * . 4 * .... g ..*%~ --~Z *// ,.. A.-.' '' I - S3DAY DECEMBER 6, 2005 " "" L.. ,. rlm jury out for 13th day "Copyrighted Material Syndicated Content Available from Commercial News Providers" 0 - * C* - .~.- '0 Man beaten with bat Status of victim unknown KHUONG PHAN kphan@chronicleonline.com Chronicle An argument at an Inverness bar last Tuesday escalated to the point where one man was repeatedly struck in the head with an aluminum base- ball bat Citrus County Sheriff's deputies arrested Inverness resident Joel Westbrook Fields, 43, 2445 North Jtinglecamp Road, early Monday morn- ing and are charging him with aggra- vated assault with a deadly weapon. According to the Sheriff's Office, on Nov. 29 deputies were called to a bar near Turner's, Fish,, Camp and were met. by, the, ,vidtinm, a 46-year-old Inverness man. In the report, the vic- tim's head, face and shirt were cov- ered in blood. The victim told officers that he was having a conversation with Fields and Fields' girlfriend and must have said something to set them off because they abruptly left the bar. ` The victim was later asked to leave by bar management, and was outside when the attack occurred. An employee of the bar told police that before the assault, Fields' girlfriend called the bar to warn those there that Fields was on his way back and that there was going to be a problem. According to the report, Fields drove back to the bar alone, took the baseball bat from his vehicle and proceeded to beat the victim. The victim was struck at least three times and deputies reported seeing three distinct wounds to the victim's head, which was swollen and bleeding profusely According to a witness, Fields put the bat in his back seat and drove away. When questioned by police Sunday, Fields' girlfriend said that she did not know that the bat was in the car when Fields returned to the bar and that she had, in fact, called the bar to warn them of potential trouble. She also told police that she called the victim's mother to let her know that she should go to the hospital to meet her son because Fields had "messed him up real good." The victim was taken to Citrus Memorial Hospital and his status is unknown. Fields' bond was set at $5,000. * > Y r,~ ,~9 S 5 7-~ U e 4.1. 9 "Copyrighted Material Syndicated Content Available from Commercial News Providers" MIKE WRIGHT mwright@ chronicleonline.com Chronicle Citrus County government has a plan in place to ensure public safety on Gospel Island while the state is replacing a bridge, but it won't come cheap. A plan to place two full-time firefighter positions at the Gospel Island Fire Station on State Road 44 will cost $230,868, according to a Nov. 30 memo from Public Safety Director Charles Poliseno to County Administrator Richard Wesch. Most of that cost $227,692 is to fund positions of a fire- Most of that cost $227,692 is to fund positions of a firefighter and fire captain. fighter and fire captain. Poliseno said six employees would fill those positions on a voluntary overtime basis. County officials promised to provide public safety to Gospel Island residents when the state Department of Transportation begins construction on a new bridge next summer. Construc- tion is expected to last eight months. Despite protests from resi- dents and public officials, the DOT refuses to install a tempo- rary bridge during construc- tion, citing a $1.1 million addi- tional cost plus 10 more months of construction. The Gospel Island station, just east of Gospel Island Road, has been somewhat inactive the past several years. Poliseno said a truck and two volunteer firefighters continue to respond from the station. Poliseno said the funds are not budgeted and he doesn't know whether the county or DOT will pay for the fire department staffing. d4 -. trained an inaccuracy. Funds to construct the sheriff's Emergency Operations Center will come from the county's gen- eral fund, which is comprised of taxpayers' dollars. No additional tax dollars will be needed because the project already was a part of the county's 2005-06 budget. .0 0 -- O Tree trimming -4t ... ..-. .- -- ........... '-* '".-- "'. ., .*-z. ia S- .- H - , -- -'1 . --" I '- -:' "" - . . . ' -- - ... ... ,: ., !. t .- ,- - MATTHEW BECK/Chronicle Jorge Santiago of M and B Lawn Service trims trees by the shore last week in Hernando. Gospel Island staffing cost pegged at $230,868 O ,q County . One injured in single-vehicle crash A single-vehicle traffic acci- dent happened early Saturday morning on State Road 44 near Cypress Cove Court in Inverness, according to the Citrus County Sheriffs Office. At 2:42 a.m., deputies report- ed to the scene to find a 1983 GMC pickup truck that had struck a guardrail. According to police, the pickup had driven up on the curb, crossed the median and hit the guardrail. Occupying the vehicle were Jon Neff, 35, of Hernando, and Dennis Ponce, 46, of Floral City. Both men admitted to drinking before getting into the vehicle, and each named the other as the driver. Ponce was airlifted to Shands Hospital in Gainesville and was listed in stable condition. Neff escaped the crash uninjured. Police said that speed and alcohol were to blame for the crash, and charges in the case are pending once it is deter- mined who was driving the pick- up. Authorities seeking brown rottweiler A child was bitten by a dog Dec. 1 at a bus stop on Tawney Rose between Third Avenue and 12th Street in Crystal River. The dog is described as a black and brown rottweiler. If this dog is not found, the child will have to have rabies shots. Anyone having any informa- tion regarding the whereabouts of a dog fitting this description is asked to call Citrus County Animal Services at 726-7660. Legislators endorse Crist for governor Republican state Sens. Nancy Argenziano and Mike Fasano joined 33 other mem- bers of the Florida Legislature on Monday to endorse Attorney General Charlie Crist in his campaign for governor. Crist and . Tom Gallag- her, who serve - on the state Cabinet as the state's Chief Sen. Nancy Financial .- .* ... ;,', one of 35 Officer, are legislators to seen as the endorse frontrunners Charlie Crist for the for governor. Republican nomination for governor as Jeb Bush finishes his second term in 2006. Argenziano, R-Dunnellon, represents Citrus County except the area west of U.S 19, which Fasano, R-New Port Richey, represents. Republican state Rep. Charles Dean was not among those endorsing Crist on Monday. The 35 legislators are from across the state and made the announcement of their support in a news release at a press conference in Tallahassee. NAMI-Citrus to have Christmas party NAMI-Citrus, a locally chartered group of the National Alliance for the Mentally III, is having its annual Christmas party today at Good Shepherd Lutheran Church on County Road 486. Doors open at 6:30 p.m. Party refreshments will be served; attendees are invited to bring a dish to pass. All those interested in mental health issues and all those inter- ested in advocacy issues and in the establishment of a Mental Health Court and Clubhouse are encouraged to attend. From staff reports Correction Because of a reporter's error, a Dec. 4 story on Page 1A, "Officials hope for April ground- breaking for new facility," con- I i 4A TUESDAY, DECEMBER 6, 2005 CITRUS COUNTY (FL) CHRONICLE JIM HUNTER jhunter@chronicleonline.com Chronicle While existing home prices continued to rise in Florida, the :number of sales dipped in -October, according to the Florida Association of Realtors. Some of that dip could be related to Hurricane Wilma, the association said, but com- paring October and Sep- tember's statistics with last year could be misleading, REALTORSS Continued from Page 1A Finley said the past year and a half to two years was the hottest sellers' market he has seen in 27 years. What the current shift means to the average property owner, he said, is that after sig- nificant increases in values they have realized, the market is com- : ing back into balance. : As.little as three to six months ago, buyers were still competing :for property, he noted. Now , property is staying on the mar- ':ket longer. The inventory of ! homes, which had been dispro- portionately small compared to the number of buyers, is expanding. In the long run, though it may disappoint some :.homeowners dreaming of big bucks, and may mean Realtors have to re-educate the sellers, the slowing down is healthy for the market, he said. . "It's definitely more heal- Sthy," Wade agreed, referring to Sthe stable market he now expects to see prevail in the coming year. In the explosive sellers' mar- ket that existed, he said, there was much speculation and no -guarantee for buyers about WATER Continued from Page 1A Receive water service was Appropriate, board members Robert Hnat and Walter Averill * felt it wasn't. Under FGUA's plan, the 3,400 -lots would be serviced within "the next five years, a number that was scaled back from 6,000 lots in the first phase of a six- phase effort to add water to the entire 34,000 vacant lots in the area. Both men suggested there wasn't a need to build in less populated areas. , Board member Ronald Broadbent agreed the number .was not appropriate, saying SEWER Continued from Page 1A Wanted to pose and he felt the :two state senators showed lit- * tle interest in finding addition- al funding for the Chassa- howitzka project Most of the discussion .focused on Argenziano's idea -for installing Aerobic Treat- :ment Units (ATU's) septic tanks that remove more of the bacteria from the waste than conventional septic systems. The tanks have blowers that run on electricity and would require professional manage- ment. She said they would cost about $6,500. "---- For the R C :: -- ''~- .-"-" , U' .." .. '; "Citrus County Sheriff Domestic battery arrests Chelmy Pearson, 20, Crystal River, at 3:37 p.m. Sunday on a charge of misdemeanor domestic battery. No bond was set. Stephanie Renee Bensette, K26, Homosassa, at 12:58 p.m. :Saturday on a charge of misde- - meaner domestic battery. No bond was set. Other arrests S Peter Collins, 44, Invemess, was arrested at 2:09 p.m. Sunday on a charge of aggravated battery on a pregnant person. According to the Citrus County Sheriffs Office, Collins and a woman - who is about five months preg- nant- got into an argument about a loan. Collins claimed that the woman had attacked him and that he was just protecting himself, and told .police that he was upset with her " because she owed him money. In the report, the woman told police that during the argument she had tried to gather her belongings AIRPORT TAXI I 746-2929 given the four hurricanes expe- rienced in 2004. Despite the storms, however, the median price middle number as opposed to average statewide for an existing home rose 28 percent from October 2004 to October 2005 to $241,000. The five-year in- crease in the median price was 107 percent. The association said many Realtors across the state reported growing inventories. The national median for the whether they were paying too much and for sellers about whether they were pricing high enough. In a stable market, there is less speculative and panic buying and selling, and transac- tions are fairer to all, he said. The cooling market, he said, will flatten the rate of rising prices, but the sales should remain healthy. Rather than the roughly 40 percent increase in value homeowners have seen in the past 18 to 24 months which is probably conserva- tive, he added he expects to see a respectable 7 to 10 per- cent increase a year in values. In other words, a house won't go from $70,000 to $100,000 overnight or lots go from $3,500 to $30,000 in a year. "I think that's good," he said of such stability. The Baby Boomer retirees and early retirees from corporations rift- ing employees up North will continue to feed the Citrus market in the coming years, he believes. Finley said he agreed stabili- ty was good for the market, and he expects it to stay healthy and active also because the interest rates, though inching up incrementally, are still rela- tively low, making real estate an attractive investment. there should be "no building (in other phases) until we fig- ure out if what we're doing now is appropriate." No attorneys or spokespeo- ple were present for FGUA, limiting the board to decide upon each issue, rather than let the public or. board mem- bers discuss options. After the decisions were finalized, Knight said the utility would have 30 days to appeal the decision. "We'll see what kind of oppo- sition or claims to a rehearing, if any, are made in that time," he said. If there are no appeals from FGUA or residents, the new rates will immediately take effect Bartell said Argenziano did not support her septic system proposal with scientific data or experts. "I'm telling you this, there was no cooperation," Bartell said afterward. State Rep. Charles Dean R- Inverness attended the meet- ing along with representatives of the Florida Department of Environmental Protect and Florida Department of Health. Dean offered to sponsor a local bill in'the House to help bring about Argenziano's sep- tic tank proposal, even though he said he still has questions about how it would work. "I'd rather be guilty of trying to do something than do noth- ing at all," Dean said. and leave, but Collins was irate and repeatedly pushed her in the shoul- der and stomach regions and hit her on the nose. According to a witness, Collins was so upset that he threw the woman's belongings out in the yard and across the street. The woman was taken to Citrus Memorial Hospital after complaining of stomach pains. In the report, deputies did not notice any marks on the woman's nose or stomach area. No bond was set. Justin Alexander McCauley, 20, 4939 West Old Citrus Road, Lecanto, at 8:19 p.m. Sunday on a charge of marijuana possession. Also arrested was Franklin Wells Jr., 38, same address, on a charge of marijuana possession. Both were released on their own recognizance. price of a single family home for September was $212,000, slight- ly behind the national median of $215,900 for the third quarter, according to the National Association of Realtors (NAR). The third-quarter median for 2004 had been $188,200. NAR recently reported that the strongest price increase in the nation was in the Phoenix- Mesa-Scottsdale region of Arizona, where the median price rose 55.2 percent in a year to $268,000. The next "Mortgage money is still cheap by historical standards," he said. In all, Wade said, he is expect- ing "a pretty robust year" in 2006, as well as pretty steady growth after that into the future. The average price for a sin- gle family home this year to date is $196,434. The average price year to date in August 2004 was $155,212. To date, more than $948 mil- lion in real estate property has been sold. The selling prices averaged 13 percent less than the original list prices. One Realtor, Bruce Garrison of RE/MAX Realty One in Crystal River, said his compa- ny's office was still busy, but he had seen a slight cooling of the market since the end of sum- mer, which seemed to mark the end of "the flipping," or buying strongest in price increase in the national was in the Orlando area, up 44.8 percent in a year to a median price of $261,300. Cape Coral-Fort Myers showed the third highest medi- an price increase from the third quarter 2004 to third quarter 2005 with a 42.5 per- cent increase to $277,600. NAR said that inventories were reported growing around the nation, and it expected "a more healthy and more bal- anced market" in 2006. and then immediately reselling property, especially lots, for a higher price. He said houses were staying on the market longer and the inventory was up. Acknow- ledging the number of vari- ables, he noted that there is also often a slowdown at the end of the year, and said, "I am expect- ing January to tell the tale." Wade said that the number of Realtors increased dramatical- ly during the boom, going from 850 in July to 922 presently, though that trend appears to be cooling, also. He noted that November and December are seeing the fewest number of new Realtors being inducted into the association than any previous months this year. By comparison, there were 350 Realtors in 1997. Building Beautiful Homes, ...and Lasting Relationships! I 1-800-286-1551 or 527-1988 I | .1 1. 5685 Pine Ridge Blvd .TTE CERTIFIED CBC,)4Q359 551 559------------------------------------ BLIHDS -. WE'LL MEET OR BEATANY COMPETITORS PRICE* S FAST DELIVERY PROFESSIONAL STAFF Year Endacl -Ear BEST Miracle-Ear SIN SEARS 4_ dim, WE WILL MATCH OR BEAT ANY PRICE ON 100% DIGITAL HEARING AIDS* Must have written or signed work order Must be similar to make or model. IF [ Headng Teg i C ,DR HATTEIHearing Aid Repairs use Your Sears R1IgCleanng IltBF" E CardToday 1 iBattery i, I Haeof6 ' Rep ament ,' 3 1 S Pr .tE.i.. JL^'.j L. ... BC/BSProvider Inside Sears Crystal River Mall (352) 795-1484 Hearing Aid Centers a- Paddock Mall 237-1665 *^^^^^Walk^Ins^eB^ome Housing slowdown seen nationwide Mea -44 162' Cryst Gerry Mu Charlie B Tim Hess John Pro Neale Br John Mu Tom Feer Kathie St Opinion To have News an Commun Sports ev Sound Of Found, Visit u ~9F M- dowcrest office Where to find us: Inverness office ,,,,,s ii -,l l | '*. \ l., Lr ,, f ,'11 j :'., BlO i 14 N. Meadowcrest Blvd. :al River, FL 34429 106 W. Main St., Inverness, FL 34450 Beverly Hills office: Visitor 11 Tnjm3n -.nIJ idll 3603 N. Lecanto Highway Beverly Hills, FL Who's in charge: ull .......................... Circulation Director, 563-5655 ....................... Andy Marks, 563-3261 ff ......................................................... 56 3-0 5 7 9 led in 1891, The Chronicle is printed in part on recycled newsprint. Please recycle your newspaper You choose the CD term! 45Q% Ss^APY From 13 to 23 months PYO From 3 to 8 months MERCANTILE BANK WO take your b Iag piiernaliy. Crystal River 1000 S.E. U.S. Highway 19 (352) 564-8800 Inverness 2080 Highway 44W (352) 560-0220 Asmbw r FDiC swia,'0eafiei i s a c n --J -- l c. r .. t'., ,: L. r r -I " Wood BlA~finds^^^ Shutters^^^^* Crystal Pleat^^ S^^BJyihoutte^^^ ^.IV^.^ I I 4A TUESDAY, DECEMBER 6, 2005 CITRus CouNTY (FL) CHRONICLE I CTRS CUNTY(FL CHRONIC TESDA, DCEMER 6 205 5 BUILDERS Continued from Page 1A The county was expecting to see residential permits top 3,000 for the year, an all-time high. Chuck Sanders, president of the Citrus County Builders Association, said he fully expects that to happen. Because of the intensity that the local industry has experi- enced, Sleeman said, moving back to a more normal market is almost a welcome change, giving companies a chance to catch their breath. Sanders said the home build- ing market definitely slowed in September, October and November, in some areas of the country more than others. He said there could be a number of reasons for it, including the effects of Hurricane Katrina and the materials price spike that followed, though that has eased a little. A big factor in the local con- struction market is the contin- uing shortage of labor for the amount of houses contracted, Sanders said. He said he has noticed one sign, that ground wasn't being broken for spec homes as before, which is a sign of a slowdown from the former' pace of new home sales. The county had been on a -steep uphill growth line, he said. "We've had it practically vertical," he said of the growth chart line. For healthy growth, you'd rather see a less steep line that reflects more moderate growth, he said. Without the fevered pitch of the recent surge, builders can catch up and schedule better, he said, and everyone can enjoy some price stability Because of that, he said, "I'm feeling pretty good with the lit- tle bit of slowdown." On the other hand, aside from some normal peaks and valleys, he fully expects the growth to remain steady, because without a doubt, he said, "People are coming here." Jim Crosley, director of sales and marketing at Rusaw Homes, a longtime building company in the county, said.his' company's business was still steady but not as hot as the first. part of the year. The market had been so superheated, he said, that builders were really stretched between the demand for new homes and the avail- ability of subcontractors to build them. Builders can now deal with backlogs and have a better time frame in getting permits and finishing homes, he said. Crosley said his company has set a goal of 144 homes for the year and would wind up with about 170 contracts. "We're doing real well," he - S ~.-,- - - - - S. - 0 - 49000 "Nam . i -, - -48 - - "Copyrighted Material o... -- Syndicated Content : Available from Commercial News Providers" -- -~ -. d - E- ohm~- I- ~- ______ - ~ - w ~- ~- - S -. - S ~ S~ GEMS - I 'SEW L~ga1 A~ CITRUS CARDIOLOGY CONSULTANTS P.A. "We encourage everyone over age 50 to establish a relationship with a cardiologist for the prevention or early detection of heart disease." RAMON L. TORRES, MD, FACC Consultative and N Invasive Cardiology. WORKING HAND IN HAND WITH CITRUS MEMORIAL HEALTH SYSTEM TO BRING LIFE SAVING.MEDICAL CARE TO THE CITIZENS OF CITRUS COUNTY. 308 W. HIGHLAND BLVD. INVERNESS, FL 34452 (352) 726-8353 said. He said an interesting fact this year was that about 60 per- cent of the buyers were coming from Central and South Florida urban areas where he felt a combination of hurri- I -6-9 canes, congestion and sky high real estate prices had driven people out. One of the smaller builders, Louie Lott, founder of Louie Lott Home Builder Inc., said he has noticed that, too. Lott said he has not yet seen the cooling off, but noted that he does between 30 and 40 homes a year. Even so, he has been listen- ing to the reports and agreed with Crosley, Sleeman and Sanders. He said that some cooling off and more stable prices, especially in lots - which, along with higher mate- rial costs, add considerable costs to homes would be not be unwelcome. Finance Sec a t Special Estate & Retirement Planning Workshop For Widows, Widowers And Single Retirees We are conducting an informational workshop that covers many topics related to your retirement. NO, this is not another presentation by your local brokerage firm about investing. There will be nothing sold at this workshop. Our speaker will inform you about recent changes in Federal and State laws and show you how to avoid the biggest financial mistakes single retirees make. I would like to personally invite you and up to three guests to attend this workshop designed exclusively for single retirees. As usual, when the government changes laws that apply to you, they do not personally notify you. You will learn about... * TAXES: * INCOME:" * PROBATE: * TOD and POD: * REVERSE MORTGAGES: * S-T-R-E-T-C-H IRAs: * ANNUITIES: * LOST MONEY IN THE MARKET? Lower or eliminate taxes on Social Security, Interest Income, Capital Gains, and Taxes upon death. Increase your Income without increasing your tax bracket. Become aware of new trust laws and learn the least expensive ways to avoid probate. Learn how these can benefit single retirees. Are they right for you? How to have your Heirs get Theirs without the IRS. What are the Pros and Cons? Learn what you can do about it! Due to the popularity of this workshop, available seating is limited and reservations are required. Please respond immediately to guarantee a seat. Monday, December 12, 2005 10:00 a.m. or Tuesday, December 13, 2005 10:00 a.m. LOCATION Best Western Citrus Hills Lodge 350 Highway 486 Hernando FL 34442 Seating is limited. To make reservations, call Toll Free 1-866-208-5601 (24 Hours) OUR WORKSHOPS ALWAYS FILL UP FAST, DON'T MISS IT! PS: The last workshop was full. It could change your life! (Note: Lawyers, Brokers, CPA's or Advisors may NOT attend as space is needed for retirees.) No CHARGE FOR INITIAL i r CONSULTATION OR SECOND OPINION T FEE FOR NECESSARY X-RAYS C. N. Christian III, D.D S., PA. CITRUS HILLS DENTAL Located in the Hampton Square at Citrus Hills MOSTINSURANCEACCEP (352) 527-16 CITRUS COUNTY (FL) CARONFCIE .M' TUESDAY, DECEMBER 6, 2005 SA 8 I _ _4 - or, I 6A TUESDAY, DECEMBER 6, 2005 Evelyn Bartlett, 90 CHANDLER, ARIZ. Evelyn M. Bartlett, 90, Chandler, Ariz., formerly of Inverness, died Wednesday, Nov. 30, 2005, at the Archstone Care Center in Chandler, Ariz. Born; Aug. 13, 1915, in Dolgeville, N.Y, to Harry and Lena (Kilborn) Ward, she moved to Chandler in 2000 from Inverness. Mrs. Bartlett had resided in Inverness since 1976, coming from Rome, N.Y She was a homemaker. She was preceded in death by her husband, Harley Bartlett, Nov. 5, 1984. Survivors include her daugh- ter, Sondra Jean Bartlett Bowers of Chandler, Ariz.; six grandchildren; nine great- grandchildren; and four,step- grandchildren. Chas. E. Davis Funeral Home with Crematory, Inverness. Verne Burnett, 80 BEVERLY HILLS Verne E. Burnett, 80, of Beverly Hills, died Sunday, Dec. 4,2005, at his home under the care of his family and Hospice. Born Nov. 24, 1925, in Detroit, Mich., to Verne E. and Laura (Murdoch) Burnett, he moved here in 1985 from Tolland, Conn. Mr. Burnett retired from the Manchester, Conn., school sys- tem as a teacher in the mathe- matics department of Manchester High School. He had a passion for the out- doors and enjoyed hiking, kayaking and exploring the for- est, lakes and streams in New England and in his. adopted state of Florida. He was a member of the Nature Coast Unitarian Universalist Fellowship of Lecanto. Survivors include his wife, Joan (DeLollis) Burnett of Beverly Hills; daughter, Laura Jensen and husband, Richard, of Phoenix, Ariz.; and grand- daughter, Lucy Jensen of Phoenix, Ariz. Hooper Funeral Home, Beverly Hills. Stella Carson, 87 CITRUS COUNTY Stella R. Mills Carson, of Citrus County, 87, died Tuesday, Nov. 29,2005. She was married to Harry Carson for more than 65 years until he died in 1998. They had three sons, Cameron "Buddy," Melvin (deceased) and Wayne. She is also survived by three brothers and three sisters, seven grandchildren and 13 great-grandchildren. Alavon Direct Cremation Service, South Daytona. Rudolf Doelker, 85 CITRUS. SPRINGS Rudolf A. Doelker, 85, of Citrus Springs, died Friday, Dec. 2, 2005, at the Legacy House of Hospice in Ocala. Born Jan. 27, 1920, in Frutenhof, Germany, to Frieda and Albert Doelker, he moved to Citrus Springs 20 years ago from Lake Zurich, Ill. Mr. Doelker was a retired 'FuneraL lome 'With Cremarory Dr. George Harvey Service: Sat., I lam Chapel Lamont H. Pakes Service: Wed., 3pm-Chapel Evelyn Bartlett Graveside Service: Thurs.,2pm Fountains Cemetery Sylvia Moyer Private: Fla National Cemetery David Benton Service: Fri., 12/911 lam Shepherd of the Hills Episcopal Church, Lecanto Beverly Christensen Private Cremation Arrangements Walter Marciniak Arrangements Pending 726-8323 653247 chef, an avid golfer and a mem- ber of Hope Evangelical Lutheran Church in Citrus Springs, where he was a mem- ber of the Men's Club and he was an usher Survivors include his wife, Bettie H. Doelker of Citrus Springs; two sons, Rudolf A. Doelker Jr. of Orlando and Paul Anderson and wife, Linda, of Snellville, Ga.; three daugh- ters, Nancy Gibson and hus- band, Jim, of Mesa, Ariz., Carol Riffner of Palatine, Ill., and Linda Johnson and husband, John, of Tampa; 17 grandchil- dren; and 21 great-grandchil- dren. Brown Funeral Home & Crematory, Crystal River. Wallace Elkins, 63 CRYSTAL RIVER Wallace Keith Elkins, 63, of Crystal River, died Saturday, Dec. 3, 2005, at his home. He was born Jan. 29, 1942, in West Hamlin, WVa., to Wallace and Geraldine R. (Kinder) Elkins and moved to this area 16 years ago from Ma- rion, Ind. Mr. Elkins was self em played in many Wallace trades. He en- s, all of joyed the out doors, especially fishing. He was Christian. He was preceded in death by his youngestoson, Warren Kelly Elkins, Oclveland 2, 1990. Survivorsingtonclude his wife, Nancy Elkins of Crystal River;g three sons, Wallace Keith Elkins Jr., William "Bill" Elkins and Wesley Elkins, all of Aurora, Ill.; three daughters, Gerri An Elkins of Aurora, Ill., Lori Peck of Goshen, Ind., and Tonya Testore of Umatilla; six brothers, Gene Elkins aof Charleston, WVa., Ceryl Elkins of Cleveland, Ohio, Bill Elkins of Farmington, N.H., Herb Elkins of West Virginia, Edward Elkins of Medina, Ohio,cand Chris Elkins of Drummond, Wis.; two sisters, Evelyn Gibson of Salt Rock, WVa., and Lorena Stearns of Williamsport, Md.; nephews Jon Andrews of Crystal River and Doc Andrews of Orlando and many other nieces and nephews; and his Florida chil- Strickland Funeral Home, Crystal River. Stephen Paul' 9Murray, 52 Stephen Paul Murray, 52 of Breckenridge, Colorado (formerly of Clifton Park, NY) died December 2, 2005 at St. Anthony Central Hospital in Denver, Colorado. He was the son of John Richard Murray and Janet (Smith) Murray Robertson. He was born in Niskayuna, NY in 1953 and was a 1971 graduate of Shenendohowa High School in Clifton Park, NY. He was a 1975 graduate of Siena college in Loudonville, NY. He is preceded in death by his wife, Joni in 2001, his father John R. Murray and step-father, Robert C. (Bud) Robertson of Crystal River, Fla. survivors include his mother Janet (Jan) Murray Robertson, of Crystal River, Fla; one sister Cathleen A. Murray of Keene, NY; brother, Glenn E. Murray and wife, Laura of Williamsville, NY two step sisters Diane Warner and husband, William of Great Barrington, MA; and Dale Barbieri of Venice, Fla; also survived by several nieces and nephews. A spring memorial service is planned for family and friends in Brekenridge, CO. All States Cremation i. Denver, Colorado .! Sandra Kufro, 64 HOMOSASSA Sandra Ann "Sandy" Kufro, 64, of Sugarmill Woods, Homo- sassa, died Saturday, Dec. 3, 2005, in Inverness. Born March 2, 1941, in Barnesville, Pa., to Steven and Ann Kaczmarczyk, she moved herein 1989 from Sarasota. She was a homemaker and she enjoyed sewing, boating, fishing, shell collecting, cro- cheting and family. She was preceded in death by her parents and two broth- ers, Charles and Steven Kaczmarczyk Jr. Survivors include her hus- band of 44 years, Ron Kufro of Sugarmill Woods; three sons, Scott Kufro and wife, Paige, of Williamsburg, Va., Joseph Kufro and wife, Gail, of Palm Harbor and Ronald Kufro and wife, Anne, of Oswego, Ill.; three daughters, Deborah Marion and husband, James, of Bradenton, Ann Marie Johnson and husband, Ronald, of Venice and Sandra Heed and husband, Thomas, of Sarasota; brother, John Kaczmarczyk of Barnesville, Pa.; sister, Lois Morgan of Mahanoy City, Pa.; and 14 grandchildren. Hooper Funeral Home, Homosassa. . Peter McDougall, 69 HOMOSAS'SA Peter J. McDougall, 69, of Homosassa, died Sunday, Dec. 4, 2005, at Seven Rivers Medical Center in Crystal River. He was born Aug. 15, 1936, in Dearborn Heights, Mich., the son of Peter and Grace McDougall. Mr. McDougall moved to Homosassa in 1993 from Dearborn, Mich. He served in the U.S. Navy during Viet- nam. He later retired from the Navy as a senior chief petty officer after 21 years of service. He was .a member of the VFW Survivors include his wife, Marilou D. McDougall of Homosassa; four sons, Peter J. McDougall Jr. and wife, Barbara, of Middleburg, Frank McDougall and wife, Pam, of Dearborn Heights, Mich,, Kenneth McDougall and wife, Cherri, of Dearborn Heights, Mich., and Anthony McDougall of Taylor, Mich.; four daugh- ters, Tonya Jannusch and hus- band, Ed, of Dearborn, Mich., Sonja Whitehead of Dearborn, Mich., Francine Rafferty and husband, Ray, of Taylor, Mich., and Shirley Loiselle and hus- band, Christian, of Green Cove Springs; a sister, Isabelle Westcott of Athens, Tenn.; 14 grandchildren; and four great- grandchildren. Heinz Funeral Home & Cremation, Inverness.' Stephen Murray, 52 BRECKEN RIDGE, COLO. Stephen Paul Murray, 52, Breckenridge, Colo., formerly of Clifton Park, N.Y, died Friday, Dec. 2, 2005, at St. Anthony Central Hospital in Denver, Colo. He was the son of John Richard Murray and Janet (Smith) Murray Robertson. He was born in Niskayuna, N.Y, in 1953 and was a 1971 graduate of Shenendehowa High School in Clifton Park, N.Y. He was a 1975 graduate of Siena College in Loudonville, N.Y. He was preceded in death by his wife, Joni, in 2001; his father, John R. Murray; and stepfather, Robert C. (Bud) Robertson of Crystal River. Survivors include his moth- er, Janet (Jan) Murray Robertson of Crystal River; one sister, Cathleen A. Murray of Keene, N.Y; one brother, Glenn E. Murray and wife, Laura, of Williamsville, N.Y; two stepsisters, Diane Warner and husband, William, of Great Barrington, Mass., and Dale Barbieri of Venice; and several nieces and nephews. A spring memorial service is planned for family and friends in Breckenridge, Colo. All States Cremation, Den- ver, Colo. Doretta Sasso, 78 INVERNESS Doretta Louise Brock Sasso, 78, of Inverness, died Sunday, Dec. 4, 2005, in Inverness. Born Jan. 19, 1927, in Wheeling, WVa., to Anna Louise (Werling) and Carl Paul Bertschy, she moved here in 1979 from Elyria, Ohio. She was a purchasing agent PERICH EYE CENTER CATARACT, LASER, COSMETIC & LASIK Cataract Glaucoma DeMaculageneron Complete . Lasik Comprehensive Cosmetic __Eye Care Contour ReZoomt Crystalenst Threads" lIntra-Ocular Lens Implants OBITUARIES Please see /Page 9A ;,',."b"|.. .. .. ,, . ,'.. For;*>. *f' A i~ f" Dr. Larry Perich, Medical Director Dr. James Pizza, Attending Physician Dr. Geeta R. Shah, Attending Physician Additional Practice Locations In New Port Richey, Zepherhills and Tampa Most Insurances Accepted. Step up to a fantastic money market rate. Earn big and stay liquid while your Interest Rate goes higher. World's new Step-Up II Money Market Account is the smart way to earn an amazing return on liquid funds. The Interest Rate on our FDIC-insured account starts high and is guaranteed to go up, up, and up again. If you maintain the minimum balance for 12 months, your Annual Percentage Yield (APY) will be a whopping 4.26%. All we ask is that your opening deposit of $50,000 or more come from a financial institution other than World' Don't miss out. Open an account at a nearby branch today. 4.31%* Earn 4 4.26 4.01 %* over a 12-month period. * [ 3.77%* 4.56%* 649952 / VERTICAL BLIND OUTLET 649 E Gulf To Lake Lecanto FL S 637-1991 -or- 1-877-202-1991 \ALL TYPES OF BLIMNDSg s""de 0 *Iscovr a I ci f, I746-1270 World Savings rates: 1-800-HOT-RATE (1-800-468-7283) N wal-Mart SWorld u Savings Inverness Near Wal-Mart 2437 E. Gulf to Lake Hwy. (352) 637-1121 For additional offices, see your yellow pages. Hours: Mon-Thurs 9-4 Fri 9-6 Closed Saturday E. Gulf to Lake Hwy. FDIC INSURED TO LEGAL MAXIMUM 07/05A4 * Interest Rate and Annual Percentage Yield ("APY") apcy to World's Step-Up II Money Market Account and are cuirent as of 12/06/05. Step-Up rate feature ends 11/02/06, whereupon rates are subject to change at World's discretion Balances under $50 Savinas Na 38-81FL CITnwu COUNTY (FL) CHRONICLE employed with Luxaire Corp., Elyria, Ohio, for 16 years before retiring and moving to Florida. She was a member of the Order of the Eastern Star, Lyndon Chapter in Grafton, Ohio. For many years Doretta was an active volunteer at the Inverness Se- - nior Center, ' where she ., ,, ,. wrote, directed 1 and performed in five musical plays with Sasso other volun- teers. She also played bridge at the Point 0' Woods Card Club and with var- ious groups and friends. Another favorite activity for many years was square and round dancing. She was an active member of St. Margaret's Episcopal Church, being involved with the Daughters of the King and a lay reader. She was preceded in death by her parents; two husbands, Walter Brock and Charles Sasso; and a brother, Lawrence Bertschy. Survivors include one son, Dennis Brock of Midwest City, Okla.; two daughters, Deloris Carlozzi of Sarasota and Deborah Denham of Floral City; a sister, Elsie Templeton of Wheeling, WVa.; five grand- children; three great-grand- children; and many nieces and nephews. Hooper Funeral Home, Inverness. im-M ---------- : o, .. -... 7\ .. ,. ,:.,- ,: ..= .. DE(IEMIBER 6, 2005 Special to the Chronicle Thinking about buying a puppy for a youngster or a companion for grand- ma? Adopt A Rescued Pet would ask that you keep away from puppy mills. These businesses are well-known for the suffering they cause animals and the heartbreak they cause their cus- tomers. Many of these pets have undis- closed illnesses or medical conditions that lead to costly vet bills and often the deaths of the pets. Consider instead a rescued pet. There are many shelters and rescue organizations that have an abundance ADOPT A RESCUED PET ADOPTIONS m WHAT: Adopt a Rescued Pet will host pet adoptions. There are many shelters and rescue organizations that have an abundance of adoptable pets. These ani mals have been screened by vets, come with all their shots and have been spayed or neutered. The adoption fee is a fraction ot the price you would pay at a puppy mill, minus the heartache. WHEN: 10 a.rnm to 3 p.m Monday. WHERE: Regions Bank, County Road 491, Beverly Hills of adoptable pets. These animals have their shots and have been spayed or been screened by vets, come with all neutered. The adoption fee is a fraction of the price you would pay at a puppy mill, minus the heartache. Plus, they are willing to work with you to find the correct pet for your home. Puppies and. kittens are cute, but adult pets are calmer and house- broken. If you are looking for new animal friends for the holidays, look for a res- cued pet. You will be giving a gift to yourself and a gift of life to a loving new friend to share your life. Adopt a Rescued Pet will host pet adoptions from 10 a.m. and 3 p.m. Monday at the Regions Bank, County Road 491, Beverly Hills. Adopt a little pet love Congregations gather for day It was a gather- ing of faiths at Congregation Beth Sholom in Beverly Hills for the annual Interfaith Council Service of Thanksgiving on Nov. 13. As we were wel- comed by Mike Ruth Gudis, president of AROUI Congregation Beth z:-,.Vm Sholom, we began to join in the singing of "We Gather Together." The Rev. Mary Louise DeWolf, of the Nature Coast Unitarian Universalists Fellowship, led us in a "Litany For Strangers," which spoke of our pilgrimage, our strong wills, hopeful hearts in our search for freedom and to wor- ship as we saw fit We gave thanks for gentle peacemakers L N AlII of our world who welcomed strangers to this land. The litany chal- lenged us to be gen- erous in spirit, shar- ing the warmth of our hearts and in this season to recount our grati- jevins tude, knowing that ID THE when we give thanks, L' ". Y what we give is love. Shirley Kesselman and Mirian Fagin of Beth Shalom sang "A Prayer For Peace" from a story from the Talmud on peace and harmony. A lovely, quiet meditation, "Opening a space for Gratitude," was led by Lauri Gist, of Unity Church of Citrus County, taking us on a journey deep within our hearts. Realizing our blessings, we began to feel the light of God Special to the Chronicle Recently, the Manatee Young Marines helped the Toys For Tots Holiday Special at Kmart Crystal River Mall. Back row, from left, are: Marines Merle Paulsen, Ted Archambault, Ken Heisner, and Paul Sayler. Front row, from left, are: Greg Coma; Kmart manager Ken Heisner; Cory Oliver; Ryan Fagan; and Kenneth Hanning. SO YOU KNOW * Submit material at Chronicle offices in Inverness or Crystal River; by fax at 563-3280; or by e-mail to news- desk@chronicleonline.com. and the light of others around us as we worshiped in commu- nity, through our county, throughout Florida and the Eastern Seaboard, to Congress, the White House, with leaders, guardians of peace, westward to the Gulf States to encompass the entire hemisphere and the other side of the world and into all nations to seek to lay down arms and meet in peace in the light of coming together in har- mony. We can go there anytime we open our heart to this light in thanksgiving for the opportuni- ties there are to share. Mike Whitewolf Serios, a local Cherokee descendant, performed a medley of Cherokee Thanksgiving music accompanying himself on his "flute" and drum. His songs in his native tongue were an expression for life, bread, day and night. Performing on his drums, which he described as a sacred object, and the flute as an instrument of prayer, joy and love, we marveled at his sin- cerity and gratitude for the blessings we enjoy All too soon, the afternoon's gathering was concluded with the singing of "America the Beautiful" and the benediction by Rabbi Ettinger, followed by refreshments provided by Congregation Beth Sholom. On Sunday, Jan. 15, at 2 p.m., the Interfaith Council will cele- brate World Religion Day with the Bahai Community of Citrus County at Unity Church of Citrus County at 2628 W. Woodview Lane in Lecanto, just off County Road 491, north of the intersection of Highway 346. The Winter Musicale will be Special to the Chronicle Presenters for the service of Thanksgiving, sponsored by the Citrus County Interfaith Council, was held Nov. 13 at Congregation Beth Sholom at Beverly Hills. Back row, from left, are: Mike Gudis, president, Congreagation Beth Sholom; Lauri Gist, Unity Church of Citrus County; Mike Whitewolf Serieos, local Cherokee descendant. Front row, from left, are: Shirley Kesselman and Mary Fagin, Congregation Beth Sholom; and the Rev. Mary Louise DeWolf, Nature Coast Unitarian Universalist Fellowship. at 2 p.m. March 12, at the First Presbyterian Church in Crystal River, at 1501 U.S. 19. The public is invited to attend all Interfaith Council presentations. November was a busy month for Citrus Macintosh Users Group, although the club did not meet because of the Thanksgiving holiday. Jan Fredrickson hosted two Web page Special Interest Group (SIG) sessions at her home. Fredrickson showed the group all the aspects of construct- ing a Web page, starting with hypertext markup language (HTML). She also showed the groups the CMUG Web site behind-the-scenes organiza- tion, of which she is Webmistress. SIGs are a free benefit for CMUG members. Participants learned how to insert, repeat and modify loops of various instruments to compose a unique musical piece, as well as how to import finished products into iTunes. Jan. 15 is the begin- ning of the membership year. Dues are $20 individual; $30 family and $10 stu- dent. Visit the Web site at cmugonline.com or call Curt Herrin, club president at 341- 5555 or e-mail curtisher- rin@mac.com. Ruth Levins participates in a variety of community proj- ects. Contact her activities by writing to P.O. Box 803, Crystal River FL 34423. Long-term care focus of meeting Special to the Chronicle The Withlacoochee Long- Term Care Ombudsman Council will have its month- ly meeting at 1 p.m. Thursday at Victoria's Restaurant, U.S. 41, Brooks- ville. The Withlacoochee Long- Term Care Ombudsman Council is a part of Florida's Long-Term Care Ombuds- man Program. The council is made up of local ombudsmen, specially trained and certified as vol- unteers. The council serves Marion, Lake, Sumter, Citrus and Hernando counties. Call 620-3088, e-mail bren- nanm@elderaffairs.org or visit- man.myflorida.com. News - Maryland Club meets Dec. 14 The Nature Coast Maryland Club will meet Wednesday, Dec. 14, at the Plantation Inn, Crystal River. This is our annual Christmas party. The social hour begins at 11 a.m. followed by a short meeting and lunch at noon. Guests are welcome. Reservations are a must by no later than Friday. Call Chuck at 527-0145 or e-mail at sejayl @tampabay.rr.com. Shoot set for Saturday The Homosassa Elks will host their annual Hoop Shoot in the Lecanto Middle School Gym at 9 a.m. Saturday. Boys and girls ages 8 to 13, attending schools on the west side of the county, are eligible. The children are separated into three age groups, so some proof of age is needed. Winners will go to the District Hoop Shoot in Hudson. Registration and practice shooting start at 9. The contest will begin at 10. Call Hoop Shoot Chairman Jack Kundmiller at 382-1443 or Mel Gordy at 382-0683. Social club slates holiday dance Citrus American and Italian Social Club of Inverness invite all to a Christmas dance at 5 p.m. Saturday. Dinner will be served at 6p.m. Cost for members is $11; non- members $12. BYOB. Music by Now & Then. Santa will arrive after dinner. There will be a dinner Wednesday night with the fol- lowing choices: Spaghetti w/meat sauce or chicken by special order. Doors open at 4 p.m., dinner served from 5 to 6 p.m. BYOB Cost is $6 for members and $6.50 for non- members. Also, there will be a Friday night social. Doors open at 6 p.m. Call Dolores, 220-2014, or Martha, 476-8727. World Community Day The Citrus County Chapter of Church Women United held World .Community Day on Nov. 4 at the Good Shepherd Lutheran Church in Hernando. Worship participants are shown, from left, Front row: Bee Grunig; Vera --Swade, president; Marge Smestad; .. ..,.. Sandy Jackson; and Alma Day. Back row: Betty ,CMarshick, Maxine Whitcomb, Maggie Bregger and Gerry -Kauth. RUTH LEVINS/ Special to the Chronicle Toys for Tots CMUG activities ONE --- Photographer: CURTIS HERRIN/Special to the Chronicle Sue Messer of Good Spirit Foundation of Citrus County teaches the CMUG class on GarageBand in November at the Crystal Oaks clubhouse. ***t I I I I I I.. .1* I -_ ^ "* . -. . SA TUESDAY, DECEMBER 6, 2005 STOCKS CrmTus COUNTY (FL) CHRONICLE TH ARE I EVE MOST ACTIVE (51 OR MORE) Name Vol (00) Last Chg BostonSd 362019 26.35 -.98 Pfizer 295207 21.35 +.05 Guidant 247798 67.98 +6.16 GenElec 240761 35.77 +.27 UbtyMA 224692 7.77 -.03 LOSERS ($2 OR MORE) Name Last Chg %Chg UonsGtg 8.21 -1.07 -11.5 Terra 5.70 -.37 -6.1 Fdders pfA 9.40 -.57 -5.7 USAirwyn 32.35 -1.93 -5.6 KemetCp 7.91 -.46 -5.5 DIARY Advanced Declined Unchanged Total issues New Highs New Lows Volume 1,358 1,968 160 3,486 152 69 2,293,262,250 MOST ACTIVE ($1 OR MORE) Name Vol (00) Last Chg SPDR 551555 126.63 -.22 iShRs2000s225027 68.33 -.49 SP Engy 174698 51.53 +.36 SemiHTr 125832 38.27 -.66 SP Fncl 86447 32.05 -.06 GAINERS ($2 OR MORE) Name Last Chg %Chg SulphCo n 6.00 +1.01 +20.2 InfoSonic 13.82 +2.07 +17.6 FieldPntn 8.20 +1.15 +16.3 Halozyme 2.05 +.28 +15.8 BoltTech 9.55 +1.05 +12.4 LOSERS ($2 OR MORE) Name Last Chg %Chg Sifco 2.94 -.40 -12.0 Crystallxg 2.10 -.27 -11.4 Immtech 7.17 -.82 -10.3 CycleCtry' 3.11 -.35 -10.1 WIssXcesn 4.68 -.48 -9.3 DIARY Advar.i.:e, 3' I Declined 541 Unchanged 107 Total issues 1,039 New Highs 56 New Lows 31 Volume 268,133,916 MOST ACTIVE ($1 OR MORE) Name Vol (00) Last Chg Nasd100Tr 596754 41.80 -.31 SunMicro 582238 4.00 +.05 Cisco 560729 17.50 -.14 Intel 465978 26.90 -.53 Microsoft 462015 27.85 -.16 GAINERS (52 OR MORE) Name Last Chg %Chg Logility 7.70 +2.35 +43.9 Noven 15.81 +4.64 +41.5 Geores 8.60 +1.40 +19.4 DynMatIs 28.27 +4.12 +17.1 EuroTrust 8.05 +1.10 +15.8 LOSERS ($2 oR MOrE) Name Last Chg %Chg AClaim 2.20 -.66 -23.1 LanVision 4.08 -1.02 -20.0 RSA Sec 11.25 -1.94 -14.7 AHPCHId 2.75 -.44 -13.8 ChinaTcFn 15.82 -2.27 -12.5 DIARY Advanced Declined Unchanged Total issues New Highs New Lows Volume 1,152 1,878 163 3,193 156 35 1,691,553,675 Herc. are ir.I. 2'I5 r i. Io. E I. :..:ki uri TrS J '.:. i. S100 Eci.ing.,i '- f., T|.7. I 1 h.h r JaSiJ.a 3 Ja lC.njIl r.il rk~ t an.I 1 IP. m.I i .-: IL or. tIre An l ..: )n .?,l.l: E .,.liani'], l i11 bold are i..,) rlr l a l I i a I 5 ri jn .j .:h ir.n c. p e rC ; n, ...r 1m.:ri in lri. .e L I. h- .. h l. If "I '. I ]i.., NiY SrE E a id rj1sdaq anrialS 'T-4 sL, ct61 .I or, A m TiZles no 6i. I ri-i an.ci. rij r ,iqe did ':'riET-:-e tw j. il-i, ri,3Ii ne ruj idr d I IN- iii-i !gh Tith s a)s 1c'lli.-': DIv: Curren annru.al di,.'i'end r.aii paid .-..n -l'i.:k baaed or, ih-il quarterly or e irnannual ,,,.'lrationr unl.:-r otlherwli o I:.jrnoled Name: Stlr.h,, .appear alpridatel.:all.y ., Ihr- c, n,.: full r. rni inoil is abbrei.isaliorn) fj rmeni consilt.ng l inlial, appear .al iha tsaginnirn.] ol esari I.n er I h,.:,l Last: Pri.e soc waves Ira lng.31 at wn.3in ii .:r .ange iosed .i:.r t..r. ida, Chg: LO'si Of gain for Ihe ija'dy O rangee indlCaledj by Srock Footnoa e% ..: CE *j,.., i-i rI. iro .a*j 1.3 1,,.7 rn,,. -i'' .01.4 i ts,5,.,i.. t b. i. t jii~ ry i ', i 1. Iv,' Alo L-Vi! i ,l -r I I r ...: r-I:*i j ~ ~ ljrii' i. ~ >. ^ i i 'f *'r. r..,: 410.11,0.'" E".li.."i'j vi Ei.r.-ji.s C. .T.pariy Lr-i.-ie-l,,.e .3 Dr-i',J,7i sl .ir il'i' .iir. 11 T r i:a i E. hal n n. E' |...ii aU .)., 1.. . .l ..I r l :r. . ii l.n II F i.re n i i, I i f Ta r r *r i n. i i i ru 01 o w: i5IaL S^il.;.. i7, i4.ld r.,il.n.">. *,Ii,30n.1 n.j em.l ur Pl.1.3. I,.1 .1 9 i laST Il n,':.411:., .. I f~ m ^ I... 2. i ii.i.T. i .ie.1 0 C r.. ,1 arai Ie >~ r, 5. d :.s .( .1t~1. PHr.l .: A r-.il l' ,..1 i Q.r Ckr S T.. ull u .. E ful ilC.."a13, U 1 .d i, R igid I... b IJ is Al1." heA".a !3 1. ed Press. r Val -i. ur es aIre f. icial( m iira ir.6 q:1 ,v^ m Tia-t, %A, t iolip-l An i r1h. il.:..:h .: > v.1 V r .j. ,, ~ h]rul %V.I j.o., 6r' ell .j.. i 13 Air.'td ** ) ^ I iJ r ii P* jr...: "rl i iii ll-i MO, trpu. I14 ,1 r. C,.. rr..-Je ,r .= I n A 1 pp -mr-, ii l:l c.1 v me Dividend Foolnote a E 'ri .-n pad t j i a r.. I: no? b r.ii mjl p uiij i rr a il ialc / rN ME. 1 ~' n'cai' Liour ri.-:iari ^ pii p ,jr rin ia-m 3i r'. u'r-- ir I ..unanl anrqal i tealP h a .; b, r-,01 0' -16:sei a ,1d m r L um-n ': wl h6. .. OV.IIApa n 0 .:.o a ill I i r..3 lur I\ sun > r 0 pIi '.i,= ' M ,,:3AI l ,: li 'J,,, i',,, l.) Ad' Cmn-ill-i C. rJ':t 7ll-J 1 0s.l as.*.sa** l;. ps..J Iit c i d L'U~ul.,ili. i l- I 'l ue wimn d i .'-ari.w. ari newar m C u irni arirubi op r.r.i:n .*.r d t-v: c y m..1 i-iL nt.>.it'id'3i' sr3 *ari :.jijriiumcr i: o aurl pr.. dnnu l 3 ri.:.r o r :. .313 , Pr -w D e : lio r -J -, p l.j ir i :i r. i l: p j r ir r, v p l r.; ... w .j rj .j n j i P a ii in o r .- : v .appk *r ylc.n t,,^ .celu>- on c I tIl.ul..:r, dal Source: The Associated Press. Sales figures are unofficial. 6 0 6STO OAL INTEREST Name Div YId PE Last AT&T Inc 1.29 5.1 22 25.29 AmSouth 1.04 3.9 15 26.69 BkofAm 2.00 4.3 11 46.43 BellSouth 1.16 4.2 12 27.93 CapCtyBks.65 1.7 23 38.10 Citigrp 1.76 3.6 11 48.85 Disney .27 1.1 20 25.01 EKodak .50 2.1 ... 24.12 ExxonMbl 1.16 1.9 11 59.51 FPLGps 1.42 3.4 19 41.84 FlaRocks .60 1.1 23 53.99 FordM .40 5.0 8 8.06 GenElec 1.00 2.8 20 35.77 GnMotr 2.00 9.0 ... 22.13 HomeDp .40 1.0 16 41.39 Intel .40 1.5 20 26.90 IBM .80 .9 19 88.43 YTD Chg %Chg Name Div YId PE Last LowesCos .24 .4 21 66.99 McDnlds .67 1.9 18 34.57 Microsoft .32 1.1 24 27.85 Motorola .16 .7 14 23.29 Penney .50 .9 17 53.94 ProgrssEn2.36 5.3 15 44.24 SearsHidgs ... ... 12 116.71 SprintNex .10 .4 20 24.77 TimeWarn .20 1.1 33 18.23 UniFirst .15 .5 14 31.11 VerizonCml.62 5.1 10 31.71 Wachovia 2.04 3.8 13 53.64 WalMart .60 1.3 18 47.14 Walgrn .26 .6 30 45.95 I ~~INES 52-Week Hiah Low 10,000.46 3,348.36 315.03 6,902.51 1,186.14 1,889.83 1,136.15 570.03 11,195.22 10,984.46 4,190.55 438.74 7,768.03 1,752.21 2,273.61 1,270.64 690.91 12,727.16 Name Dow Jones Industrials Dow Jones Transportation Dow Jones Utilities NYSE Composite Amex Index Nasdaq Composite S&P500 Russell 2000 .IhI h..il 0 Ii'i 10,835.01 4,086.81 404.24 7,759.24 1,738.34 2,257.64 1,262.09 686.57 12,652.57 -42.50 -51.74 +1.21 -1.61 +11.89 -15.73 -2.99 -4.00 -40.19 I EWYOKSTOKECANG Div Name Last Chg .. ABBLid 9.18 +.05 .92 ACELtd 54.77 -.73 .66 ACMInco 8.28 .. AESCplf 15.74 +.28 .44 AFLAC 47.81 -.19 AGCO 17.19 -.10 1.48f AGLRes 35.75 -.18 ... AKSteel 8.86 +.16- 1.92 AMU Rs 37.62 -.04 .. AMR u17.95 +.21 .90e ASALtd 51.21 +.47 1.29 AT&TIrnc 25.29 +.22 1.75 AT&T2041 25.05 -.05 .38r AUOpiron 14.01 -.60 .79e AXA u31.38 +.31 1.10 AbtLab 38.19 -.37 .70 AberFit 61.42 -.68 .30p Aocenture 28.77 -.41 .86e AdamsEx 12.75 +.03 .30 Adesa 24.65 +.13 -.. AdvAutos 43.76 -.13 ... AdvMOpt 42.66 -.20- .'. AMD 27.27 -.68 .02r- AdvSemi u3.96 +.12. ... Aeropslt 24.02 -1.05 .04f Aetnas 95.32 -.18 .. AffCmpS 55.50 -.89 ... Agerers 13.10 -.28 .. Agent 35.00 -.49 .03 Agnicog u15.73 +.38 ... Ahold 7.51 +.04 .. AJrTran 14.47 -.70 .76 Abertsn 23.88 -.28 .60 Alcan 40.01 -.33 ... Alcatel 12.54 -.17 .60 Alcoa 27.97 -.13 .99e Alcon 144.04 +1.29 .. AlgEngy 28.80 +.14 .24 AllegTch u34.01 +.13 .40 Allegan U103.78 43.38 1.26 Allete 46.34 -.48 2.80e AlliCap 55.24 +.54 .89 AllWdd2 12.33 +.01 .. AldWaste 9.06 -.07 1.28 Alstate 55.19 -.65 1.541 Altel 66.95 -.21 .18 AJpharma 28.03 +1.27 3.20f AtMia 72.75 -.57 ... Aindocs 25.81 -.41 120 AmHess 125.93 +.43 2.54 Ameren 51.93 -.33 .10e AMovilLs 30.36 +.57 .60 AmAxle d18.83 -.31 1.48f AEP 36.47 -.31 .04f AEqlnvU 11.55 +.31 .48b AmExp 51.39 -.22 1.08 AFnclRT 12.07 -.31 .60 AmlntGolf 66.34 -.95 .60 AmStand 39.66 -.21 .78 AmSIP3 10.46 -.03 AmTower 28.09 +.11 .. Americdt 25.37 -.15 2.24 Amerigas 28.57 +.27 .44 Ameriprsn 43.52 +.29 .201 AmerisBrg u81.00 +1.54 .12 Amphenol 41.61 -1.32 1.04f AmSouth 26.69 -.20 .33e Amnvescp 14.70 +.34 .72 Anadrk 94.50 +1.01 24 AnalogDev 39.16 -.58 1.08 Anheusr 43.60 +.10 .. AnnTayt u32.08 +.07 1.44e Annaly 11.48 -.21 .60 AonCorp 36.10 -.53 .40f Apache 68.54 +.36 2.40 AptInv 38.81 -.64 .17 ApplBo 27.26 +.33 .431 AquaAms 28.42 -.33 ... Aquila 3.55 -.10 .32 ArchCoal 78.91 +1.36 2.50 ArchCpf u192.70 +1.68 .34 ArchDan 23.41 -.49 ArrowEl 31.76 -.74 .40 ArvMerit 12.93. +.03 1.10 Ashlandn 57.60 +.35 .68- -AsdEstat --9.13 +.03 L26f ATMOS 26.58 -.21 ... AutoNatr 21.34 +.21 1.28f Autolv 44.00 +.03- :74f AutoData 46.87 -.44 ... AutoZone 86.95 -2.09 .. Avaya. 10.80 -.45 .. Aviall 30.71 -.76 ... Avnet 23.44 -.45 .66 Avon 27.49 -.08 1.52 BB&TCp" 42.53 -.22 .56e BHPBillU 33.01 -.03 .20 BJSvcss 38.18 -.12 .. BJsWhIs 26.08 -.17 -,., BMCSft 20.22 -.19 -2.09e BP PLC. 68.55 +.44 2.00 BRT- 23.04 +.31- .52f BakrHu 59.83 +.42 .40 BallCp 41.27 -.42 BallyTotF 7.11 +.35 79e BcoBrads u33.91 +1.34 2.00 BkofAm- 46.43 +.30 .84 BkNY 32.61 -.26 .72 Banta 50.33 +.08 .52 Bard- 67.43 +.09 .60 BamesNbl 41.66 -.02 .22 BarrickG 26.55- -.08 .52 BauschLIf 81.55 -.58 .58e Baxter 39.5f -.08 1.00 BearSt 113.68 +1.01 ... BearingPlf 7.75 +.10 .40 BeazrHms 71.10 +.30 .861 BectDck 58.05 -.63 1.16 BellSouth 27.93 +.06 .20 Berkledays 4731 .32 BestBuys 49.23 +.38 Beverly 11.93 +.03 .5Op Biovail 24.27 +.07 1.28 BlkHICp 37.01 +.13 .75a BIkFL08 15.27 +.14 .50 BlockHRs 25.45 +.19 .04M Blockbstr 4.16 +.08 .57e BlueChp 6.44 -.03 1.00 Boeing 69.20 -.24 .36 Borders 20.58 +.04 :.. BostBeer 26.7A -.14 2.72a BostProp 75.61 -.05 ... BostonSci 26.35 -.98 .80 Bowatr 30.54 -.35 1.12 BrMySq 21.80 -.08 .60 Brunswick 41.82 -.27 .60 BungeLt 53.91 +.32 .80 BurlNSF 66.11 -.54 .40 BurlRsc 74.89 +.58 ... CBSBwi 26.70. 2.16 CH Engy 47.09 -.29 .10 CIGNA 115.00 -.29 .64 CITGp 50.64 +.34 CMSEng 14.14 +.10 .48 CSSInds 32.85 -.28 .521 -CSX 48.42 -.43 .15 CVSCps 27.27 -.01 ... CabivsnNY 23.70 +.40 .91e CadbyS 39.51 -.06 .28 CallGolf 14.87 +.08 ... Calcine d.24 -.04 .72 CampSp 30.46 +.01 24 CdnNRs gs 48.66 +.76 .11 CapOne 83.97 -.56 126 CapMpfB 12.45 +.20 .24 CardnlHth u64.90 +.35 .. CaremkRx 51.19 -.99 ... CarMax 26.77 -.88 .80 Carnival 55.11 -.89 1.82 CarolinaGp 41.22 +.37 1.00 Caterpils 58.33 -.48 1.18e Cemex 58.67 +.17 .44 Cendant 17.97 -.08 24m CenterPnt 13.16 -.12 .16 Centex 72.92 -.94 .24 CntryTel 33.15 -.13 ... ChmpE. 14.69 -.39 .01 Checkpnt 24.46 -.05 .20 Chemirura 12.31 -.18 .20 ChesEnq 31"16 +.64 1.80 Chevron 59.64 +.46 1.84 ChiMerc 362.00 -7.80 ... Chicoss 44.06 -.34 ChoicePt 42.25 -1.10 1.72 Chubb 96.47 -.76 1.48e. ChungTel 17.15 -.17 ... Cimatex- 40.16 -.03 ... CinciBell 3.85 -.12 1.92 CINergy 41.12 -.34 .07 CircCity 21.14 -.31 1.76 Citiorp 48.85 +.08 1.00 CitzComm 12.68 +.14 .40a -ClairesSrs 28.09 +.04 .75a ClearChan 33.08 +.06 1.161 Clorox 54.58 -.40 ... Coachs 35.00 -.03 .16 CocaCE 20.15 .+.38 1.12 CocaCI 42.65 -.17 Coeur 4.22 -.08- 1.16 ColgPal 55.25 +.29 .65a Collntin 8.22 -.07 2.20 Comerica 57.79 -.23 .44 CmcBNJs 34.15 -.18 CmtyHIt 39.86 -.83 1.13e CVRD 44.10 -.98 .83e CVRD pf 38.50 -.70 .16 CompAs 28.64 -.54 .. CompSd 49.37 -.15 1.09 .ConAgra d21.23 -.17 1.24 ConocPhils 62.96 +.57 .. Consaco 22.89 -.20 .56 ConsolEgy 64.77 -.56 2.28 ConEd 45.43 -.38 .. ConstellAs 24.63 +.15 1.34 ConstallEn 53.21 -.40 ... C]AirB 16.55 -.30 Cnvrgys 17.21 -.05 .. CoopCam u81.66 -1.15 .42 GooperTire 15.00 ...- Coming -21.27 +.42, .09e CorusGr 10.22 +.02 .60 CntwdFn 34.61 -.12 Coventrys 58.39 -.81 1.23e CredSuiss u52.43 +1.63 CrwnCstle 27.27 -.64 ... CrownHold u18.98 -.16 CypSem 15.20 -.50 .78a DNPSelct 10.57 +.03 .96 DPL 25.46 -.24 .36 DRHortns 36.32 -.20 2.06 DTE 43.73 1.93e DaimIrC 50.79 -.03 .04m DanaCplf 6.93 +.13 .08f Danaher 57.14 +.35 .40- Darden u36.28 -.28 ... DeVry u24.39 +.93 ... DeanFds 39.33 +.07 1.56f Deere 68.20 -.67 ... DelMnte 10.40 -.05 Denburys 23.74 +.23 .30 DevonE 62.73 +.44 .50 DiaOffs u66.97 +.42 .16 Dillards 20.70 -.28 ... DirecTV 13.56 -.04 .27f Disney 25.01 +.13 .18 DollarG 19.06 -.09 2.68 DomRes 76.53 +.55 .32m DoralRnlf 10.11 -.13 1.34 DowChm 44.35 -.19 1.48 DuPont 43.10 -.06 1.24 DukeEgy 26.75 -.29 1.00 DuqUght 17.03 -.09 Dynegy 4.40 -.06 ... ETrade 20.11 +.09 ... EMCCp 14.23 +.19 .16 EOGRess 75.77 +.58 1.76 EastChm 55.63 -.27 .50 EKodak 24.12 -.21 .35 Ecolab 33.96 +.12 1.00 Edisonlnt 45.85 +.22 .16 EIPasoCp 11.42 +.05 .. Elan 10.95 +.65 .20 EDS 23.16 -.64 1.78f EmrsnEI 77.00 -.30 1.28 EmpDist 20.72 -.07 Emulex- -20.39 -.30 3.70 EnbrEPtrs 45.32 +.35 .30 EnCanas 48.13 +.89 .91e Endesa 25.67 -.17 4.44 Enerplsg u49.46 +1.15 EnPro 29.35 -.01 .10 ENSCO 47.40 -.10 2.16 Entergy 69.90 -.29 .16 Equifax 38.58 -.18 .84 EqtRess 37.63 -.44 .68f Eqtylnn 13.87 -.13 2.00 EqOffPT 31.60 -.30 1.73 EqtyRsd 40.60 -.30 .40 EsleeLdr 34.24 +.17 .44 EverestRe 102.40 -1.00 1.60 Exelon 53.39 +1.00 ExprsJet 9.88 +.46 1.16 ExxonMbl 59.51 +.44 1.42 FPLGps 41.84 -.63 FairchldS 17.59 -.39 .12 Fairmntg 40.11 -.49 .38 FamDIr 22.83 -.26 1.04 FannieMIf 47.66 -.33 .32 FedExCp 95.79 -2.03 .24 FedSignl 15.84 -.02 1.00 FedrDS 65.16 -1.49 2.00 Ferreligs 20.69 -.06 .58 Ferrolf 19.68 +.08 1.00a FidlNFns 38.74 +.34 .24 FrstData 43.89 -.69 4.12e FFinFds u18.04 +.80 1.80 FstHorizon 39.06 +.08 1.60 FtTrFid 17.95 -.20 1.801 FirstEngy 47.23 +.40 ishrSci 63.13 -.37 .60 FlaRocks 53.99 -1.23 .361 FootLockr 22.30 -.36 .40 FordM 8.06 -.09 7.201 FdgCCTgs 41.30 +.44 ForestLab 39.50 -.23 ForestOil 46.20 +.05 1.44 FortuneBr 78.76 -1.10 .68e FranceTel 24.98 -.22 .40a FrankRes 95.37 +.64 1.88f FredMac 63.38 +.48 1.00a FMCG u54.44 +.74 .. Freescale 26.94 -.23 FreescB 26.99 -.20 1.36 FriedBR 10.97 -.15 .16a FrontOils 41.36 +.88 11.90r Frontline 42.43 -.82 .60 FumBrds 21.05 +.27 80 GATX 37.51 -.65 76a GabelliET 8.58 .. GameStp 34.88 -.32 1.16 Gannett d59.88 -1.01 .18 Gap 17.47 -.32 Gateway 3.02 -.04 SGenentch u99.66 +.86 1.60 GenDyn 113.00 -.55 1.00f GenElec 35.77 +.27 1.64f GnGrthPrp 45.81. -.27 2.86e GnMait 39.54 -.94 1.32 GenMills 48.12 -.16 2.00 GnMotr 22.13 +.05 1.31 GMdb32B 15.20 +.04 .30 Genworth- 34.98 +.18 .70 GaPacif 47.53 -.02 .83e Gerdaus u15.62 +.01 Gettylm 93.65 -.01 Glamis 22.73- +.16 1.53e GlaxoSKIn 50.98 -.06 .60 GlobalSFe 47.19 +.38 .11e GoldFLtd 15.26 -.12 .18a Goldcrpg 20.33 -.1.1 .321 GoldWFn 64.94 +.12 1.00 GoldmanS 133.05 +1.97 .80 Goodrich 38.63 +.04 Goodyear 17.15 +.06- GrantPrde u42.60 +.68 1.66 GtPlainEnri 28.97 -.09 1.00 GMP 29.95 -.05 ... Griffon 24.33 -.29 .71e GuangRy 14.55 -.35 ... Guess 33.60 +.12 .40 Guidant 67.98 +6.16 .60 HCAInc 51.99 -.12 .30 HCC s 30.21 -.19 .84 HRPTPrp 10.56 -.17 .50 Hallibtn 65.20 -.63 1.06e HanJS 13.72 -.03 .55 HanPIDiv 8.35 +.12 .68 HanPIDv2 10.53 +.02 Hanover 14.43 +.08 Hanoverlns 38.87 -.28 1.74e Hanson 54.47 +1,19 .64 HarleyD 53.50 -.40 .05 Harman 95.24 -2.55 HarmonyG 12.25 +.08 1.45 HarrahE 67.47 -1.34 1.201 HartfdFn 87.54 -.49 .36 Hasbro 20.57 -.07 1.24 -,. ...,+i 26.13 -.21 -. i,. -.1,, 35.08 -1.48 2.48 HItCrREIT 34.31 +.05 ..241 HIIMg- 23.43 -.15 2.64 HllthcrRty d32.80 +.33 HealthNet u52.05 +.40 ... HeclaM 3.64 -.05 1.20 Heinz 34.59 -.20 ... HellnTel 10.58 +.14 ... Hercules 11.98 -.27 .98 Hershey 55.41 +.13 .32 HewlettP 29.79 +.56 1.70 HighwdPlI 29.07 -.29 .16 Hilton 22.48 -.44 .40 HomeDp 41.39 -.28 .83 Honwillntl 35.93 -.13 .44f HoslMarr 18.26 -.15 HovnanE 50.71 +.01 .36 HughSup 38.29 -.68 Humana 48.46 +.33 Huntsmnn 18.88 -.09 .39e ICICIBk 26.23 -.32 .08 IMSHIth 24.76 +.08 .46e iShBrazil u35.40 +.05 .04e iShJapan u12.82 +.08 .08e iShTaiwan 12.18 +.23 2.50e iShSP500 126.56 -.39 .76 MDURes 33.17 -.42 2.60e iShREsts 65.50 -.60 ... MEMCO If 23.30 -.38 .72 ITtlnds 108.50 -.29 .50 MCR 8.41 -.01 1.20 Idacorp 29.17 +.10 .60 MGIC 65.67 -.50 .16 IkonOffSol 10.32 +.12 ... MGMMirs 37.45 -1.19 1.32 ITW 88.99 -.69 ... MPSGrp 13.40 +.13 .48 Imaton 44.53 -.21 .03e Madeco 8.98 -.17 1.80m ImpacMIg 10.72 -.13 1.52 Magnalg 67.47 -.67 .40 INCO 45.51 +.47 .49 MgdHi 5.85 -.06 1.68f Indymac 39.70 +.66 1.20 Manulifg u59.17 +.11 .64 IngerRds 40.70 .. 1.32 Marathon 61.71 +.92 ... .,M 19.32 -.04 .42 MarIntA 67.17 -.15 ... i..j .71 -.02 .68 MarshM 32,04 -.38 ... IncntExn 36.81 +.71 ... MStewrl 19.58 -.14 .80 IBM 88.43 -.22 ... MarvelE 16.50 -.16 ... IntlCoaln 11.28 -.32 .80 Masco 30.10 -.33 .501 IntlGame 29.95 +.25 .16 MasseyEn 39.41 +.79 1.00 IntPap 33.06 -.40 ... MatScill 14.18 -.05 ... IntRect 33.76 -1.89 .50f Mattel. 16.27 -.15 Interpublic d9.28 -.06 MavTube u40.11 +1.09 IronMtn 42.17 -.28 .. Maxtor 4.36 -.02 3ri r t,1 ... -, -0. 1.36 JPMorgCh 38.85 -.14 11....-, .i . .. Jabil u34.44 +.11 .24 McKesson 50.30 -.04 .04 JanusCap 19.12 .+.13 McAfee 27.83 -.11 1.32 JohnJn 61.05 -.16 .92 MeadWvco 28.41 -.10 1.12f JohnsnCOl u70.90 +.44 .. MedcoHIth 55.72 -.18 .48 JonesApp 30.52 -.47 .12 Medicis 33.67 +.44 .75 KBHomes 71.07 -.13 .39 Medtmic 56.29 +.51 .48 .Kaydon 32.94 +.09 .80-3 MellonFnc' 33.82 -.19 1.11 Kellogg 44.35 -.21 1.52 Merck 30.11 +.14 ,64 Kellwood 23.80 +.04 ... MeridGld 19.78 +.60 .. KemetCp 7.91 -.46 ... MeridRes 4.38 +.10 .20 KerrMcG 90.43 +.13 .. MeriStHsp 9.41 -.38 1.30 Keycorp 33.28 -.10 .80 MerillLyn 68.42 +.01 1.82 KeySpan 33.69 -.08 .52f MetLife 50.79 -1.36 1.80 KimbClk 59.40. -.16 ... MicronT 14.30 -.07 3.00 KindMorg 93.88 +.88 2.381 MidAApt u49.24 -.35 KingPhrm 15.85 +.13 .. Midas 18.71 -.26 ... Kinrossglf 7.73 ... ... Milacron 1.24 -.07 Kohls 46.12 -.84 Millipore 64.02 -.92 .921 Kraft 29.56 -.17 2.51 MillsCp 44.04 +.89 .. KrspKrmIf 5.55 +.58 .08e MitsuUFJ 13.09 +.21 Kroger 20.23 +.30 .40 MittalStI 28.16 +.36 .50 L-3Com 75.01 -.50 ,57e MobileTels 35.86 +.20 ... LGPhilips 22.07 -.40 .16f MoneyGrmiu27.19 +.70 .32e LLERy 3.91 +.11 .68 Monsnto u78.07 +2.72 ... LSILog 8.72 +.01 1.44 Montpelr 18.68 -.60 1.32 LTCPrp 20.96 -.38 .22 Moodyss 60.05 -.08 .44 LaZBoy 13.58 +.08 1.08 MorgStan 57.43 +.15 LaQuinta u10.97 -.02 .07e MSEmMkt 22.22 +.02 1.38 Ladede 29.35 -.81 .16 Motorola- 23.29 -.30 ... LVSandsn 40.07 -.77 .73 MunienhFd 11.05 -.10 1.00 LearCorp d27.18 +.09. .45 MurphOs 51.26 +.53 .72 LeggMason 120.82 -.98 .24 MylanLab 20.66 -.15 .64 LeggPlat 24.02 -.20 .. NCRCps 33.77 -.04 .80 LehmBr 128.77-+1.51 NRGEgy 43.88 +.11 .641 LennarA 58.13 -.78 ... Nabors 71.61 -.10 ... Lexmark 47.49 -.32 1.48 NatlCty 34.35 -.05 .58e LbtyASG 5.87 -.05 1.16 NatFuGas 32.81 +.19 ... btyMA 7.77 -.03 2.27e NatGnd 47.57 +.36 1.52 LillyBi 51.47 -.10 .. NOilVarco 62.55 +.51 .60 Limited 22.91 +.25 .121 NatSemi 27.91 -.31 1.521 LincNat 52.42 -.28 .40 Nautilus 18.97 -.31 .24 Undsay 19.00 .Navteq 44.00 -.78 .. LlonsGtq d8.21 -1.07 .21a NewAm 2.08 -.01 .23 LizClaib 35.50 +.08 6.601 NwCentFn 35,69 -.21 1.20f LockhdM 61.52 -.11 1.44f NJRscs 42.97 -.13 .60 Loews 96.96 -.56 .66 NY Times 26.84 -23 .50 LaPac 28.29 +.65 NewfExps 49.79 +1.46 .24 LowesCos 66.99 -.84 .40 NewmtM 46.84 +.36 ... Lucent 2.79 -.04 ... NwpkRs 8.06 +.10 .90 Lyondell 25.74 +.64 .12e NewsCpA 15.15 +.02 .10e NewsCpB 15.79 -.07 .92 NiSource 21.39 -.17 1.80 M&TBk 110.00 +.12 1.86 Nicer 40.40 -.13 .56 MBNA 27.11 +:11 1.241 NikeB 87.33 -.27 .16f NobleCorp 73.49 +.12 .20 NobleEns 38,10 +.11 .44e NokiaCp 17.55 +.19 .34 Nordstrmrs 35.98 -.65 .52 NortfkSo 43.26 -.87 ... NorelNet 2.96 -.09 .88 NoFrkBc 27.45 +.23 .70 NoestUt 18.93 +.06 3.20 NoBordr 41.87 -.08 1.04 NorthropG 57.51 .40 NovaChem 36.88 +.82 .66e Novartis 52.74 -.56 1.16 NSTARs 27.88 -.62 .36 NuSkin 17.45 +.06 .60a Nucor u68.68 +.63 .83 NvFL 14.17 -.04 .85 NvlIMO 14.20 -.14 1.33 OGEEngy 26.63 -.24 .. OMGroup 17.79 -+.66 1.441 OcdPet 83.34 +1,38- .. OfcDlpt 29.30 -.68 .60 OfficeMax 28.68 -.32 .. OilStates 34:52 -.23 .80- Olin 19.58. +.10 ,09 Omnere 58.99 *i .90 Omnicom 85.60 I 1.12 ONEOK 27.50 --.18 ... OreStl 29.39 +.52 .27 Oshksh s 44.,84 -.46 .52 OutbkStk- 40.94 -.06 ... Owensll -21,80--.19 1.20 PG&ECp 36.56 -.14 2.00 PNC 64.02 -.49 .80 PNM Res 25.56 -.24 1.99e POSCO 48.33 -.17 1.88 PPG 60.15 -.68 1.00 PPLCps 29.27 -.11 .48 PXREGrp 12.66 -.20 .. ParkDri u10.10 +.10 PaylShoe U23.56 +.31 .38 PeabdyEs 80.43 +1.53 3.00f Pengrthg 23.74 +.34, 2.60 PenVaRs 54.99 -.24 .50 Penney 53.94 +.13 .52 Pentair 36.54 -.92 .27 PepBoy 13.90 -.22 1.00 PepcoHold 21.95 +13 1.04 PepsiCo 59.86 -.04 .34 PepsiAmer 23.25 +.01 1.30e Prmian 16.67 +.13 .58e PetrbrsA u64.51 -.39 1.52e. Petrobrs 72.12 +.12 .76 Pizer 21.35 +.05 1.50a PhelpD 141.48 +1.73 .52e PhilipsEB 28.77 -35 .92 PiedNG 23.40 -.24 .40 Pier1 11.64 -.21 .89a PimcoStrat 11.15 -.14 .24f PioNtd 51.95 +.61 1,24 Pitny8w 41.36 -.55 .10 PlacerD 21.80 -.12 .. PlainsEx ,4.38 +.52 .32 PlatUnd 31.00 -.50 .. PlaybyB 13.87 -.13 ... PlaytxPd 13.80 -.60 1.52 PlumCrk 37.99 -.52 .25 PogoPd 0.33 +.59 .20 PoloRL 51.70 -1.77 1.80 PostPrp 40.38 -.17 .60 Potash 75.83 +.35 .72 Praxair 52.90 -.05 .12 PrecCasts 51.61 +.45 .. Pridelntlf 31.07 +.14 1.12- ProctGam- 57.43 +.07 2.36 ProgrssEn 44.24 -.26 1.48 -ProLogis 45.43 -.27 .24 ProsStHiln 2.81 -.03 6.37e SthnCopp u69.32 +2.21 .78f Prudent] 76.44 -.33 .02 SwstAirl 16.60 +.01 2.24 PSEG 64.81 +1.28 .. SwnEngys 36.52 +.16 1.00 PugetEngy 20.81 +.02 .24f SovrgnBcp 21.77 -.21 .16 PulteHs 42.47 -.04 .10 SprintNex 24177 -.28 .38 PHYM 6.66 +.03 .84 Standex 28.37 -.08 .49 PIGM 9.35 +.01 ... StarGas 2.07 +.75 .36a PPrIT d5.98 +.01 .84 II.....)eHI 63.23 -.63 .62 Quanexs- 56.04.+1.39 -.72 i-!. 58.45- +.43 .90- 31.:i, -ROi *pEi .16 Steris 25.65 -.24 ... i. J-lui0 .311 ... sTGold u50.78 +.46 ... Lu .i, i. i **: .09 Stryker 47.05 +.74 SQwestCm -5.23 -.06 30j Sturm 7.11 -.04 .64f RPM 18.66 -.21 2.52 SunCmts 30.10 -.59 .25 RadioShk 22.99 -.33 .24 Suncorg 60.06 +.76 ... Ralorp .43.70 -.18 .80 Sunocos u83.75 4.93 .081 RangeRss 26.10 +.75 1.14 SunstnHbl 25.98 +.68 .32 RJamesFn u38.00 +.49 2.20 SunTrst -73.57 -.21 1.88 Rayoniers u40.64 -.44 .02 SyiblIT 11.90 +.49 .88 Raytheon 38.49 -.12 ;68f Sysco 32.44 -.17 1.39 Rltylnco -22.50 -.24 .85 TCFFnd 27.50 -.20 1.36 RegonsFn 33.88 -.39 .88 TDOBknorth 29.62 -.21 ... ReliantEn 9.20 -.19 .76 TECO 17.39 -.15 -.80 RenaisRe 43.81 -1.45 .24 TJX 22.28 -.14 .63e Repsol 30.13 +.21- 3.301 TXU Corp-103.90 -.40 RetailVent -13.04 -.11 4.06 TXUpfD 82.85 -.31 Revlon 2.96 +.10 ..32r TaiwSemi 9.85 +.15 ..-RiteAid 3.77 -.05. .34 TalismEg ,u50.60 +.25 .90 RockwlAut 59.39 +.38 .40 Target _-C -1.25 .48 RocdiColl IC -3 -.29 .39e TelCnOes t.iZu0 +.91 1.16 RoHaas k i -.14 1.40r TelNorL .41:0 -.05 .25e Rowan- -37.08 +.10 .68e TelMexLs 23.51 -+.30 .601 RylCarb 46.73 -.33 ... TelspCel 4.11 -.03 2.22 foyOShAn 63.31 +.30 .. TempurP 11.98 +.39 1.61e Royce 20.33 -.25 2.96e Tenaris 124.21 +1.21 .20 RyersTull u24.38 +.50 .. TenetHth 8.16: -.06 .24 Ryandr. 72.97 +.480 2.70 Teppco -362: -.17. Teradyn 1543 033 '.Terra 5.70 -.37 1.56 SCANA 40.34 +.29 2.95e TerraNitro 23.90- +.05 1.13e SKTIcm 20.60 -.36 .40f Tesoro 59.03 +.58 .88 SLMCp 53.31 ... ... TetraTs 30.43 +.28 .12e STMicro 18.27 +.08 .121 Texlnst 33.21 -.90 .36 SabreHold 22.65 -.13 ... Theragen 3.09 -.04 .20 Safeway 24.16 +.34 .. ThermoB 31.05 -.05 .64 StJoe 65.88 -1.72 ... ThmBet 41.36 -.26 .. StJude u50.56 +2.29 1.68 3M Co 78.32 -1.08 .92 StPaulTrav 45.37 -1.13 .60 Tidwtr 47.20 +.32 ... Saks 16.41 -.30 .32 Tfany 40.97 -.09 ... Salesforce 32.00 +.42 .20 TimeWam 18.23 -.04 1.04 SalEMInc2 13.50 +.13 .60 Timken u32.52 +.24 .12e SalmSBF 15.15 -.02 ... TitanMsllf u68.99 4.84 3.06e SJuanB 45.50 +.66 1.00e Todco 43.68 -.43 .73e Sanofi. 41.59 +.13 .40 ToddShp u23.30 -.45 -.79 SaraLee 18.03 -.10 ... TollBross 35.46 -.17 .22 SchergPI 19.18 -.08 .65e TorchEn. 6.94 -.01 .84 Schlmb u98.24 -.54 .44 Trchmrk 54.48 +.05 .101 Schwab 15.57 -.04 1.68 TorDBkg 52.23 +.25 .04 SciAlanta 42.31 +.05 3.66e TotalSA 129.05 +.66 1.66e ScottPw 37.21 +.11 ..24 TotalSys 22.55 +.07 --44 Scripps 46.20 -.81 1.72 TwnCihy 29.25 -.54 .32 SeagateT 18.99 +.44 ... Transmont 6.97 +.60 1.16 SempraEn 44.82 +.28 ... Transocn u66.15 -.01 1.28 SenHous 18.40 +25 .16 Tredgar 12.55 -.24 .60 Sensient 18.15 -.26 .28f TriContl 18.71 -.05 .44 Svcmstr 12.11 -.03 ... TriadH 42.32 -.48 ... ShawGp u30.63 +1.03 .72 Tribune 30.86 -.53 .82 Sherwin 43.87 -.16 ... Turkcells 15.91 +.44 .. ShopKo -28.67 -.09 .40 Tvcolntl 28.90 -.42 2.24 Shurgard 58.53 -.63 .16 Tyson 16.53 -.34 .. SierrPac 13.56 +.01 .68 UGICorps 21.80 -.66 2.80 SimonProp 77.65 -.68 2.88 UILHold 47.48 -.76 .. SixFlags 7.28 -.11 ... USAIrwyn 32.35 -1.93 .64 SmithAO 36.36 +.16 2.20 USTInc 37.65 -.49 .24 Smithints u39.05 -.12 2.48e UUniao 63.42 -.25 ... Solectm 3.56- +.02 .15 UniFirst 31.11 -.23 .23e SonyCp 37.75 +.14 1.20 UnionPac 75.77 -1.42 1.49 SouthnCo 35.00 -.04 1.64 UnBnCal 68.34 -1.52 ... Unisys 6.32 +.03 1.20 UDomR 23.08 -.12 .01r UtdMicro 3,30 +.08 1.32 UPSB 8 76.04 -1.41 ... UtdRentll 21.93 +.30 1.20 USBancrp 30.71 +23' .40 USSteel 50.60 +2.49 .88 UldTech s 54.52 -.47 .02 Uidhltis u62.34 +.37 .32 UnvHIth 49.08 +.90 .. Univision 30.29 -.13 .30 UnumProv 22.45 +.05 .31 ValeantPh 18.01 +.19 .40f ValeroE 104.49 +2.69 ... VarianMed 52.06 -.85 1.22f Vectren 27.26 -.35 .. VeriFonen 23.30 -.90 1.62 VerizonCm 31.71 -.16 .28 Viacom 34.45 -.05, .28 ViacomB 34.48 +.01 ViacmBwi 42.80 .22 VintgPt u54.00 +.55 .. Vishay 13.73 -.24 ..Visteon 6.54 -.15 .76e Vodafone 21.71 +.42 .18 Wabash 19.03 -.47 2.04 Wachovia 53.64 +.18 60. WalMart 47.14 -.83 .26 Walgm 45.95 -.22 .16 Walterlnd 51.39 -.42 1.96f WAMud 41.41 -.22 ..80 WsteMInc 29.95 -.51 .. Waters 38.19 -.80 ... WatsnPh 33.13 -.07 ... Weathfints 35.63 +.01 .20 Wellmn 8.05 -.05 ... WellPoints 76.85 -.45 2.08 WellsFrgo 63.12 +.32 .68f Wendys 51.42 +.17 .92 WestarEn 22.95 -.07 .66a WAstTIP2 11.87 -.01 ... WDgilt 14.97 -.02 2.00 Weyerh 66.87 -.49 1.41e WilmCS 18.82 +.04 .30 WmsCos 22.18 +.05 WmsSon 44.45 +.21 .36 Winnbgo 32.71 +.17 .88 WiscEn 38.54 +.10 .26 WolvWWs 21.86 -.66 .68 othgtn 20.35 +.20 1.12 Wrigley 68.92 -.14 1.00t Wyeth 42.72 -.48 -2.00 XLCap 67.52 -1.17 .30f XTOEgys 44.40 +1.30 .86 XcelEngy 18.51 -.04 .. Xerox 14.47 -.06 .50f YankCdl 25.65 -.40 .46 YumBrds 48.93 +.03 ... Zimmer 69.86 +.20 .53 ZweigTI 4.78 -.02 I ME IAN. STO KE C A G Div Name Last Chg .42 AbdAsPac 5.68 -.05 .. Abraxas 6.48 +.06 .371 AdmRsc 22.85 +.40 ... AmOrBion 4.79 +.04 .. AWrStar .09 +.02 ... ApexSlv 16.50 -.35 .. ApoloGg .18 -.02 .. AvanirPh 3.11 +.14 ... BemaGold 2.90 +.04 ... BirchMtgn 7.70 +J2 .. CEFmkg ul325 +1.00 S-.. Caleo 119 +.08. ... CalypteBh .17 ... ... Cambiorg 2.37 ... CdnSEng 2.01 ... CanAgo 1.40 +.01 .. CanoPetn 6.09 +.54 .32 CarverBcp 15.29 +.04 .. CelScih .62 +.10 .. Chenieres 38.90 -23 ..32f. ComSys 10.81 -.04 ... CoreMold 9.10 +.61- .. CovadCm n .82 CMB. riO:. : i 2.16e DJIADiam 108.39 -.43 ... GulaCi, 2.d . ..DesertSng 1.96 +.01 ... GrevWolf 7.86 -.04 DigitAngel 3.38' +.21 ... Halozyme 2.05 +.28 ... ENGlobal 6.29 -.22 ... Harken .63 +.01 - ... EagleBbnd .13 -.01 ... Hemispx 2.34 -.11 1.51 EVLtdDur 16.40 +.10 ... HomeSol 5.78 +.04 ... EldorGldg 4.21 +.08 .. I-Traxh u2.10 +.12 .31e Elswth 7.66 +.11 .58e iShAsta 19.38 +.01 .41 -FTrVLDv 15.40 -.02 .28e iShMexico 36.05 +.22 .41 FlaPUTIs 14.30 .... 80e iShEmMktsu86.90 +.70 ... GascoEnn u7.30 +.10 4.13e iSh20TB 89.10 -.40 .. GeoGlobal u9.31 -.18 2.35e iShi-3TB 80.08 -.09 .. GlobeTeln 3.18 -.10 .80e iShEAFEsu59.11 +.26 ... iIqbli4 h ,l T.5l31 1.65e iShR1000V 70.00 -.10 .58e iShRlO00G 51.98 -.18 1.15e iShR2000Vs67.72 -.48 .30e iShR2000G 71.29 -.22 .84e iShRs2000s68.33 -.49 ... IderaPhm .60 -.09 ... InSiteVis .89 -.01 ... IntlgSys 2.35 +.03 ... IntrNAP .39 -.02 ... IvaxCorp u30.60 +.03 ... KFXInc 14,06 +.29 KittyHk .87 +.02 ... LadlriFall .L1l -.UJ ... Medicurea u1.43 +.24 .. Merrimac 9.02 +.02 .. Metallicg u2.11 +.16 ... MetroHIth d2.06 -.13 .. Miramar 1.80 +.01 ... NatGsSvcs 24.53 +1.43 ... NA Palltg u9.22 +.80- ... NOrion g 2.87 +.02 ..; NthgtM g 1.61 -+.08 ... NovaGIdg -9.16 -.25 .62e OilSvHT u129.10 -.06 ... PacRIm .85 -.02 ... ld hl.l J.J-.. .,i .. PaxsnC :97 +.02 PeruCopgn 3.11 +.16 2.04 PetroldEg 18.39 +.35 1,87e PhmHTr 66.85 -.02 ... PionDril 18.10 +.01 PSOilSvn u18.30 +.13 ...Pvena .96 +.04 1.44 ProvETg 11.62 .19. Qnstakegn .17 -.01 4.92e RegBkHT 142.48 +.17 ... RELMn u7.40 +.32 ... Rentech u3.47 +.05 5.U4, HAiolail T .60 -..4 .23e SemiHTr 38.27 -.66 ... SltvWhtngnu5.,62 +.27 Sinovac 5.32 -.12 2.04e SPDR -126.63 -.22 1.34e -SPMid 135.74 -.55 -,57e SP Malls 30.20 +.08 .39e "SP HIthC 31.24 +.06 .42e SPCnSI 23.44 -.09 .26e SPConsum 33.39 -.20 .57e SPFEngy 51.53 +.36 .69e SPFnd 32.05 -.06 .42e SPTech 21.91 -.11 .0De o 1 UsI 31..6 -..)- ... Stonepath .75 -.01 ... StormCgn .2.71 -.26 .. SulphCon u6.00 +1.01 Tag-It .49 -.05 ... TanRnggn 3.30 -.04 1.25e TelcHTr 27.39 -.12 ... Tengsco .52 +.06 ... UltraPtos 58.15 +1.05 VaalcoE 4.19 +.08 ..: Viragenh .49 -.03 .... WstmInd 21.70 -.15 ... Yamanaa 5.09 +.23 NASDAQNATIONALMRE Div Name Last Chg .. ACMoore 13.92 -.24 .. ADCTeirs 21.08 +.19 ... AFCEnts 12.30 -.08 .. AMISHkl 10.41 +28 .. ASETst 7.24 +24 .. ASMLHId 19.52 -,21 .. ATTech 16.59 -.18 .. ATMI Inc 29,71 -.31 .. ATPO&G u37.74 +.78 .. ATSMed 3.01 -.02 .. AVIBio 3.72 +.17 ..Aastrom 2.06 -.05 .. Abgenox u14.35 +28 ... AbleEnr 9.20 +1.01 .. AccHme 42.77 -.75 .. Activisns 13.19 -.18 .. Actuate 3.33 -.06 ... Adantec 5.60 +A43 .. AdobeSvs 35.25 +.28 .36 Adtran 31.41 +.89 .. AdvDiglnf 10.44 -.12 .45 Advanta 29.81 -.27 .54 AdvantB 31.78 -.22 .. Aerotlex 10.96 -.31 .. Affymet 45.65 -.05 .. AkamaiT u21.01 +.13 1.52e Akzo 46.30 +.65 .. AadnKn 16.27 -.46 .. Alamosa 18.45 -.01 .80 AlaskCom 10.19 -.09 .60a Aldila 25d43 ' ... Alexion -..C .. ... A lig n Te ah ( _.- ... A/kerm" -8S, "' ... Alloylnc 6.70 4.39 A.. Alcripts 13.67 +.02 ... AlteraCp 18.30 -.80 .. Alvarion 8.70 -.21 .. Amazon 48.83 -.23 .. AmerBio 1.15 +.05 .. AmrBowt 26 +.01 3.16f AmCapStr 38.34 +.13 .. AClaim u220 -.66 .30 AEagleOs 20.57 -.43 .. AmrMeds 18.68 -.72 .. AmPharm 36.68+2.67 .40 APwCnv 22.36 -.14 .28 ASoftlf 6.10 +.39 .. Ameritrade u24.43 +.57 .. Amgen 80.69 -.09 .. AmkorT 6.43 -.20 .. Anylin 37.94 +.44 .. Anadgc u5.94 +.11 .32 Anlogic 49.02 -.39 Analysts 2.45 .. AnlySur d1.15 -.13 .. Andrew 10.94 -.17 AndrxGp 17.70 -.14 .. Angotchg 14.27 -.58 .82e AngloAm 32.14 -.26 .. Aphton .38 .. ApolloG 71.58 +.37 ApyeCs 71.82 -.81 20f Appebees 23.04 -.15 ... AppldDigl 2.9T -05 .. ApldIov .3.60-.. .12 AidMa 18 '4 -:' ... AMCC i.s -12 ... aQuanhve 40 -44 ... ArchCap '.09 -B AriadP 6.31 -.10 ... Aiba Inc 8.46 -.30 .04e ArmHId 6.52 -.09 Arotech .44 -.04 ... ANis 10.00 .. ArtTech 1.6T' +.06 Artesyn 10.01 +.01 Asialnfo 3.85 -.12 .. AspenTc u8.07 -.04 1.08 AsscdBanc 32.80 -.41 AsystTch u6.48 .. AtRoad 5.19 +.04 .. Atari 1.23 -.07 Almal. t 3,37 -.16 ... Audible 14.00 +.29 .. Audvox 13.22 -.43 .03) Autodsks 42.95 +.53 ...Avanex .78 +.02 ... AvidTch 50.23 -.81 .. Aware 6.28 -.06 AxcanPh 15.08 +.04 .. Axcelis 5.21 -.01 .. Axonyx .87 +.01 BEAero u18.78 +.74 BEASys 8.83 -.17 BTUInt 13.77 -.93 .. Baidun 78.00 -.90 .. BallardPw 4.42 +.15 ... BeaconP 2.06 +.25 B. BeasleyB 13.72 -.34 .16 BebeSIrss 15.29 -.40 BedBath 43.26 +.03 .. Biocryst 14.55 -.02 Biogenldc 42.75 -.70 .. BoMarin u10.52 +.04 .25e Bkomet 37.88 -.40 Biopure rs .88 20 Bckbaud 17.15 +.06 .. BuDolp 2.60 +.14 .48 BobEvn 24.18 -.22 Borland 6.07 -.06 ... BrigExp 12.99 +.56 ... Brighpnts u30.00 +1.19 .. BroadVis .54 -.11 .. Brdcom 47.75 -1.02 Broadwing 6.89 -.11 BrodeCm 4.53 +.02 ... BrooksAut 13.48 -.26 ". BusnObj 40.47 +.18 .. C-COR 5.59 -.17 CBIZInc u6.67 +.22 .52 CBRLGrp 36.93 -.11 CDCCpA 3.38 -.11 .431 CDWCorp 59.12 -.98 ... CHRobns 39.65 -.25 CMGI 1.78 -.02 ... CNET 15.49 -.20 ... CSGSys 22.35 -1.32 ... VThera 24.86 -.08 .. Cadence 17.75 +.09 CalDive u77.62 +.90 .28 CalmsAst 30.44 +1.03 ... CalAmp u12.19 +.48 .65f CapCtyBks 38.10 -.68 CpstiTrb 3.48 +.13 ... CardioDyn 1.16 +.02 ... CareerEd 38.84 +.40 .18 Caseys u24.84 ... Celgene 60.53 +.53 ... CellThera 2.29 -.02 ... CEurMed 57.63 +1.88 ... Cephln 50.89 -.37 Ceradynes 43.65 -.40 .05b ChrsCIvrd 30.92 +2.63 ChaRsse u19.33 +.39 ... ChrmSh 12.71 -.29 ... ChartCm 1.23 -.05 Chattem 35.20 +20 ... ChkPoint 21.44 -.57 .. ChkFree u49.09 +.49 .... Checkers 14.60 -.28 SCheesecake 37.00 -.05 ClnkAut- -7.98 +.71 CthinaESvn 8.07 t.67 .. Chrinal ein'34 +277 ChinaTcF n 1682 27- ,rl,.il- 5.99 +.08 ... Chiron 44.34 +.04 Chordnt 2.68 +.03 .50 Chrchl[D 36.75 -.27 ... CieoaC 2.96 -.07 1.22 CinnRn u45.20 +23 .321 Cintas 43.87 -1.39 ... us 7.58 +.06 Cisco 17.50 -.14 ... CxSy 27.24 -.31 l. eanH 28.01 -.79 Cogent 22.91 -.11 CogTech 48.43 -.97 ... Cognosg 33.45 -.28 CidwICrs 32.32 -.79 ... Comarco 8.66 -.23 ,.. Comcast 27.05 -.11 ... Comcas 26.69 -.15 ... ComTouch .80 +.02 .30 CmrclCapB 16.99 +.06 1.40 CompsBc 49.55 -.03 .. CompCrd 39.10 -.62 ... Compuwre 9.15 -.04 ... CmstkHm ndl4.04 -1.58 .. Comtechs 41.51 -3.18 ... Comvers 26.12 -.28 ... Concepts 15.25 -.15 .. ConcrdCm d1.15 -.05 ConcCm 1.92 -.08 Conexant u2.63 -.06 ... Conmed 22.63 -.01 .. Connetics 14.19 +.32 .. ConorMdn 20.24 -.16 ... Convera 12.70 -1.16 ... Coparl 24.32 -1.19 CodrinthC 12.48 ... .. CostPlus 18.17 -.01 .46 Costco 49.59 +.25 ... Crayinc 1.65 +.05 ... CredSys 8.30 -.11 ... Creeinc 27,18 -.59 ... Crucell 24,53 -.35 ... CubistPh 22.22 +13 ... CumMed 12.10 -.20 ... CuraGen 3.97 -.11 .. CurHIth d.20 -.50 ... Cutera u43.50 +1.38 CybrSrce 7.19 -.29 ... Cymer 39.33 -.62 CyprsBio 5.60 Cytogen 3.00 -.1 ... Cytyc 28.45 +71 DRDGOLD 1.33 +.03 .12 DadeBehsu40.90 +.07 ... Danka 1.45 -.03 DeckOut 24.54 +.08 ... DeIlinc 31.26 +.44 ... DtaPir 16:16 +.16 ... Dndreon 5.65 -.06 Dennysn 4.78 -.13 .28f Dentsply 56.96 -.24 .. Depomed 5.96 +.17 .. DiamClust 6.87 +.28 DigdtGen .66 -.05 Dglnsght u34.94 +.08 DigRiver 29.10 +.86 Digitas 12.50 -.11 Diodes s u27.26 -.62 .. Dkonex 49.51 +.05 .. DiscHldAn 15.49 -.11 .. DisovLabs 6.94 -.13 DistEnSy 9.13 -.17 ... DiechCo 8.99 -.02 ... DobsonCm 7.53 DIrTree 23.24 -.19 DressBn u35.50 +.54 DurectCp 5.82 -02 .10 DynMatlls u28.27 +4.12 eBays 45.20 +01 EGLInc 38.06 -.34 eResrch 13.93 +.01 ..: -ESSTech 3.44 -.06 ...2 EEM 20.64 -.91 -54p EagleBkn 15.84 +.29 --... Erthink 11.80 +.10 EchoStar 26.07 -.37 Eclipsys 18.36 +.10 eCost.cm dl.19 -.14 EdgePet 25.80 +.17 EducMgt 34.57 +55 151 EduDv 8,19 -31 ... 8x8 Inc 144 -.16 ... ElectSci 25.08 -.42 ElctrgIs 3.33 +.12 ElectArts 5625 58 EFII 26.93 -.32 EizArden 19.75 -32 Emdeon 7.94 +.18 ... EmmisC 20.30 -69 ... EmpireRst 660 +.03 .. EncysiveP 11.53 +.44 EndoPhrn 29.99 -.11 ... EngyConv 30.10 +.83 Entegris 10.27 -.18 2.04 Enterrags 20.36 -.41 ... EnlreMd 2.25 +.16 ... EnzonPhar 7.57 +.27 Equinix 40.19 -.55 .36e Ericsnil 33.51 -.20 ... Euronet 26.16 -.76 EvrgrSIr 11.69 -.14 Expedia n 24.38 -.52 .30 Expdintl 70.56 -.76 ... Explor 6.56 +.31 ... ExpScdptlsu87.07 -.76 .. ExtNetw 5.13 -.01 .. F5Netw 53.07 +.77 .FLIRSys s 22.75 -.23 .31 Fastenals 40.14 -.24 1.52f FilhThird 40.00 -.29 ... Finisar 1.77 -.14 .10 FinLine 18.44 ... FrstHrzn 17.74 +.13 .40 FstNiagara 14.58 -.27 1.12 FstMerit 26.62 -.25 ... Rserv 44.26 -1.94 ... Flextm 10.57 -.17 ... Fonar .86 ... FormFac 26.17 -.36 ... Forward 17.34 +.18 Fossil Inc 20.05 -.22 Foundry u14.32 -.08 .08 Fredsinc 17.22 +.05 FmtrAir 8.30 -.16 Ftrmdia .46 -.01 .. GFI Grpn u49.33 +2.56 .. GSIGrp u11.55 +1.50 .50 Garmin 59.04 +1.13 ... GeacCmg 10.76 -.03 Gemstar 2.72 +.05 .. GenProbe 47.68 +.96 ... GeneLTc .47 +.00 .. GenBiotc .93 -.02 ... GenesisH 38.00 +.98 GenesMcr 21.81 -.94 ... Genta 1.32 -.04 .36 Gentexs 18.03 -.29 Genzyme 74.73 +.04 ... Geores 8.60 +1.40 .. GigaMed u2.69 +.18 .. GileadSd 54.39 +.81 ... Glenayre 3.31 +.05 ... GIbIePnt 3,79 -12 .. Globlind 12.58 -.13 .. GoldKist 15.85 -.21 ... Gooe 405.85-11.85 .. GrWIfResn 10.71 +.27 ... GrpoFin 6.99 -.13 ... GutarC 5453 -.64 ... Gymbree 2253 -23 .96 HMNFn 2931 +.31 ... Hansen s u8405 +1.29 .80 HarbrFL 3878 -.47 Harmonic 549 -.22 HIlhTroncs 754 +.04 .. HScheon s 42.63 -.75 Hologic s u3838 +.88 HomeStore 4.82 +.04 HotTopic 15.85 +.07 28 HudsCity s 1199 -05 HumGen 937 +.17 .24 HunUBs 22.11 -45 .86 HuntBnk 24.37 -03 HutchT 2773 77 HyperSofu 5225 -.77 .. 12Techn 1488 +70 IAC Inter s 2773 -28 ICOS 2857 -31 .. IDBO 30.01 +28 .64m IPCHold 2817 -41 IPIXCp 2.26 +.03 ... IconixBr 9.80 +.60 Imax Cp 820 -21 .. Imdone 31.93 -.57 Immucors 2526 4.19 ... InPhonic 11.05 -.52 Incyte 6.03 +.09 IndevusPh 4.31 +.29 Induslnti 3.09 +.01 InIoSpce 26.29 -.09 ... InFocus 4.01 +.13 .. Informant 11.23 +.04 .29e Inlosys 73.47 -.48 .. Inhibitex 7.69 -.19 ... InPlay u3.88 +.38 Insmed 1.43 +.13 .. InspPhar 5.19 +.29 .32p Instinet 5.07 -.01 IntgDv 12.67 -.35 .40f Intel 26.90 -.53 Inlellisync 5.08 -.01 Intgph u49.81 +1.06 IntlDisWkn 5.63 +.06 .06 IntiSpdw 53.93 -.99 IntemtCap 7.84 -.20 .. IntrnlnttJ 11.40 -.61 .. InlntSec 22.85 -.10 20f Intersil 26.01 -.27 .. Intervoice 8.79 +.03 IntraLase 18.54 +.44 Intuit 52.69 -.71 IntSurg 116.56 +.68 Invitrogn 66.39 -1.76 ... onatronn 10,06 -.41 Isis 5.35 +.07 ... IsleCapri 26.52 -2.24 IvanhoeEn 1.47 -.01 village 8.41 Jxia 14.54 +.21 ... JDASoft 15.55 +.22 .. JDSUniph 2.66 -.03 .18 JackHenry 19.13 -.05 Jamdat 22.98 -.53 JetBlue 18.55 -.40 .. JJillGr 19.33 +.95 JosphBnk 44.32 +1.44 .68f JoyGibIs u55.12 +.17 JnprNtw 23.44 +.60 Jupitrmed 16.48 -.46 .48 KLATnc 52.91 -1.18 Kanbay 17.32 -.50 KeryxBio 13.26 -.29 KnghtCap 10.54 -.21 Komag 36.38 +.06 KopinCp 6.89 -26 Kronos 4747 -.75 .. Kulicke 8.66 -.10 .48f LCAViss 48.89 -11 LKQCp 34.21 +.14 .481 LSInds 1800 +.02' ... LTX 4.78 -.11 LaJollPh 65 +.03 LamRsch 37.43 -32 .. amarAdv u47.46 +.43 10 Landstars 43.24 +1.32 Lasrscp 23.91 +1.26 ... ce 5.25 +.01 Laureate u5385 +1.21 LawsnSft 7.69 -02 Level3 303 -.19 LexarMd 7.94 -.81 UbGlobA s 2232 -68 UbGIobC n 2123 -.27 fePtH 37.79 -57 ULncare 4329 -65 40 LinearTch 38 57 -.69 bLonbrdg 665 -27 LUvePrsn u5 35 LoJack u27.32 -1.52 LodgEnt 14 40 +08 Logility u7.70 +2.35 Loltch s u47 93 55 LookSmt rs 409 +01 Loudeye 50 -03 M-SysFD 31.55 +.16 168 MCGCap 14.14 -.02 6 00e MCIIncs 19.97 +02 ... MGIPhr 1888 -.34 MIPSTech G.24 -10 ... MIVA 4.56 -.08 ... MRVCm 1.96 +.01 ... MTRGam 9.46 -.27- .40 MTS 34.94 -.47 ... Macrvsn 16.10 -.05 MagelPt 1.84 +.13 MagnaEnt 7.30 -.41 MarchxB 23.18 -.32 Martek 28.37 -.27 .. MarvellT 59.11 +.30 .. Mattson 9.97 -.13 .20 MaxReCp 26.58 -.11 .50f Maxim 37.50 -.69 .. MaxwIlT 14.71 +.13 ... McData 3.38 -.18 McDataA 3.79 -.17 Medlmun 34.88 -.59 Medarex 10.61 +.06 ... MedAct 18.90 -.09 .. MercIntrll 29.05 +.48 MergeTc 28.25 -.47 MesaAir 10.15 -.38 .44 Methanx 18.14 .. Micrel 12.22 -.44 .641 Microchp 33.64 -.55 Mcromse -7.95 -.05 ... MicroSemi 28.23 -.27 .32 Microsoft 27.85 -.16 ... Mikohn 10.04 -.10 ..MillPhar 10.61 +.09 .29 MillerHer 30.43 -.28 Mindspeed 2.05 +.03 Misonix 4.91 +.07 ... ModtecH 8.88 +.11 .20f Molex 27.95 +.12 .201 MolexA u27.05 +.07 ... Monogrm d1.58 -.14 MostrWw u41.15 +1.02 .09j MovieGal 5.18 -.21 MultmGm 8.87 -.14 Myogen 19.48 -.01 NABI Bio 3.69 -.02 NCOGrp 17.00 -.12 NETgear 20.18 +.03 NGASRs 13.10 +.61 NIIHidgs 4508 -.13 NPSPhm 11.81 -.01 .NTLInc 60.80 +.70 Napster 3.64 -.13 .11 NaraBncp 18.37 -.13 ,41e NasdlOOTr 41.80 -.31 Nasdaqn 42.04 -.24 Nastech 14.76 +.33 NatAUHn 10.30 -.42 Navarre 5.40 -.09 ... NektarTh 16.70 -.25 91e NetServic 4.70 -.06 Net2Phn 1.94 -.02 NetlQ 12.14 -07 Netease 57.24 -181 Netflix 27.70 +.01 NetwkAp 28.77 -.64 .. Neurcnne 61.96 +117 NexMed 109 -01 NextPrt 26.71 +11 SNiroMed 1520 -28 20e NobltyH 26.29 +27 1.24f NoWestCp 3154 -.06 .84 NorTrst 5282 -.66 Novatel 2873 -1.39 NvtfWrls 13.50 -.18 Novavax 3 68 -26 Novell u851 +07 Novlus 2547 -55 Noven 15.81 +4.64 NuHonz 1025 -10 NuanceCm 622 -13 NutriSys u42.21 +2.41 Nuvelo 859 -09 .. Nvda 3591 -68 OSIPhrm 2373 +43 OdysseyHit u19.32 +62 OmniEnr 327 +28 ... Omnlcell 10.51 +.51 ... OmnlVlsn 20.21 -1.35 ... OnAssign u11.79 +.56 OnSmcnd 585 -14 OnyxPh 27.13 +1.41 OpnwvSy 16.06 -.04 OplinkCrs 14.05 -.19 Opsware 6.33 -.08 .08 OptionCrs 12.69 +.05 .16 optXprsn u24.94 -.26 ... Oracle 12.51 -.25 OraSure 13.93 -.01 ... OrcktCms 23.87 +1.72 OrIhlx 36.95 -.13 .. Oscient 1.93 -.04 1.12 OfterTail 29.32 -.65 ... Overstk 40.06 -.37 PETCO 22.03 -.29 ... PFChng 50.62 -.95 .. PMCSra 8.18 -.30 ... PRG Schlz .67 -.03 ... PSSWrid 16.10 -.12 .. PWEagle u25.00 +3.17 1.001 Paccar 72.19 -.91 .. PacEthann 9.98 -1.13 PacSunwr 24.93 -.46 Palm Inc 27.00 -.36 PanASIv 19.35 +.02 Panacos 7.56 -.04 PaneraBrd 67.51 -1.68 Pantry u48.49 +.97 .. ParPet u17.85 -.09 .. ParmTc 5.87 -.07 .. Parlux 31.50 +1.52 Patterson d34.11 -.29 .16 PattUTI 33.30 +.37 .64f Paychex 42.23 -.62 PeerlssSys 7.64 -.34 PnnNGms 32.87 -.16 PrSeTch u24.69 -86 Peregrine .98 -.02 PerFood 29.18 -.17 .171 Perrigo 1495 -.01 PetMed 12.76 +.36 Petrohawk 13.65 -.09 PelDvIlf 34.17 +.19 .12 PetsMart 23.98 -.51 Phmcyc 7.52 +.02 Photrln 17.04 +.06 Pixaros 55.91 -.63 ... Pxwrks 6.09 -.01 Plexus 22.31 +.05 PlugPower 5.64 +.37 ... Polycom 16.54 -.06 .60 Polymed 36.96 -1.02 .64 Popular 2191 -.30 PorlPlay 2457 +.77 ... PortfRec 42.43 +3.35 Powrlntg 2398 -.02 SPowrwav 1271 -.21 Prestek 9.32 -32 92 PnceTR 73.05 +02 pnceline 24.18 -24 PnmusT .90 -04 ProgPh 2528 -1 24 ProtDso 2780 -60 ... ProvdCom 33.76 +3.53 PsycSol 5628 -95 QLT 6.75 -01 QaoXIng 8.00 +02 Okoic 3295 42 36 Qucornm 4449 -62 QuanFuel 280 +.04 QuestSi 15 09 -.20 OckLogc 322 -.16 Quidel 1407 -38 RF McOD 04 -04 ROneD 1118 -03 Radvien 1773 -09 Rambus 1689 +18 Randaold 15.71 -11 RareHosp 31 33 -1 12 RealNak 886 -03 RedHalt 2495 -2i Redback u14.45 + 23 Reoenm 1046 -34 RenLACi 2006 +07 .44b RepBcp 12.54 -.15 ... RschMotn 62.98 -1.52 RestHrd 6.60 +.30 .. RigelPh 7.87 +.25 .24f RossStrs 28.01 +.07 .22f RoyGld 27.77 +.65 SlCorp 4.28 -.33 SBACom 18.95 -.22 .221 SEI Inv 40.59 -.77 SFBCIntl 18.59 -.14 ... SVB FnGp If 48.40 -.71 1.00 Safeco u57.19 +.57 SalixPhm 18.44 -.30 .48f SanderFi d32.04 -2.71 ... SanDisk 48.56 +.81 ... Sanmina 4.39 -.03 Sapient 6.28 -.13 Sawis .69 SciClone 3.67 -.16 .. SciGames 28.44 -.44 ... SeaChng 8.09 +.08 .... SearsHIdgs 116.71 -2.79 SelCmfnlt u25.76 +.13 .881 Selctln 56.30 -.53 ... Semrntech 20.34 -.53 .. Sepracor 56.60 +.84 .. SerenaSft 2.27 -.07 .. Shanda 16.64 -.40 .17e Shire 37.84 -.43 ... ShufflMst s 28.03 -.32 ... SiRFTch 26.15 -.90 .10 SiebelSys 10.51 -.04 SierraWr 13.49 -.29 ... Sify 7.50 4.12 .SigrhDg 13.86 -.04 SigmaTel 1544 -.13 Silicnlmg 1013 -04 SilcnLab 40.59 -.43 SST 5.89 -.13 .12r Slcnware u5.93 +20 ... SilvStdg 15.14 -.04 .. Sina 26.29 +25 .30 Sinclair u9.99 +16 ... SiriusS 7.14 +.02 ... SklllSoft 544 +.17 .12 SkyWest 29.87 -.80 ... SkywksSol 5.56 -.10 .. SmurStne 12.39 -.15 .. Sohu.cm 1988 -31 SoncCorp 3004 +.06 Sonus 404 +07 .36 SouMoBc 1400 -.09 ... SpanBdcst 442 -.13 Stamps.cm 2313 -.73 StdMic 3234 -.37 .17 Stapless 2288 -22 Starbuckss 3196 +.03 STATSChp 701 +.17 40 StlDyna 3625 +.72 .. StemCells 405 -09 10 StewEnt If 506 -.09 StollOflsh 1125 +.29 StTraex u343 +.03 ScrchMb 316 +32 SunMicro 4 00 +05 SupTech 49 -06 SuperGen 561 05 SurModic 3804 -1.68 961 SusoBnc 2452 -.29 Sw;ftTrn 1920 -.25 Sycamore u4 39 +.08 Symantec 1797 7 -08 Symetnc 838 +.14 Synaptcs 26.19 53 Syneron 41 65 +1 05 Synopsys 2077 33 Synovis 8.23 SyntroCp 796 -.04 THQs 2305 TI Nlwk u388 +12 TLC Vision 6.48 -.05 .84a TOPTank 1407 +32 TRMCorp 7.20 -14 TakeTwos 1872 +.09 TargGene .53 -.04 ... TaroPh 13.30 -.30 ... TASERIf 6.03 +.01 ... TechData 40.55 +.12 ... Tegal .61 -.01 Tekelec 13.25 -.05 ... TelwestGI 22.63 -.01 Tellabs 10.63 -.16 TesseraT 26.08 -1.00 TetraTc 15.36 .27e TevaPhrm 41.89 -.20 The9Ltdn 15.84 -.49 ... TStreet u5.79 +.51 Thoratc 22.36 +.21 3Com 3.49 -.09 TibcoSfl 8.48 -.34 TWTele 9.52 -.22 TiVo Inc 5.72 +.08 TowerS 1.67 +.08 TractSupp 55.52 +.37 TrdeStatn u13.57 +.27 TmsactnSyu30.34 +.72 ... Tnsmeta 1.24 -.01 TmSwtc 1.63 -.06 TriZetto 16.92 +.02 TridMics u19.80 +.90 .. TrimbleN 33.93 +.21 ... TriQuint 4.83 -.12 ... TrueRelig n 15.35 +.78 .64f TrstNY 12.95 -.22 ,84f Trustmk 28.76 -.44 TurboChis 14.57 +.58 ... 24/7RealM 7.14 -.15 .10 UCBHHds 18.16 -.01 .25f UTiWid 96.38 -3.02 ... UTStrcm 8.91 +.04 UbiquP u9.96 +.02 ... .'i. t ,. 25.66 +1.00 ... n' :F 27.20 -.53 .80 UtdOnIn 14.44 +.13 .. US Enr 4.42 +.05 ... UtdSurgs 34.93 +.67 .11 UnivFor u59.89 +63 UrbanOuts 31.46 -.10 ... VASftwr 1.78 +.13 .. VCAAnt 27.92 -.08 ... ValVisA 11.88 +.49 ... ValueCItck 19.11 -1.13 ... VarianS 43.71 -1.14 ... VascoDta 10.39 -.65 VeictyEhrs 2.75 -.35 Veniv 25.84 -.26 Venisgn 22.50 -.02 Venty 13.35 -.04 VertxPh 25.18 +14 .. VerticlNet .54 VisageT 6.63 +.01 VionPhm 1.88 +.02 SVroPhrm 1828 -.33 VisualNet 176 +01 Vitesse 231 -.09 Volcom n u35.68 +25 80 WashFed 2409 -.16 WaveSys .73 -06 ... WebMDn 29.00 +1.80 WebEx 23.95 -17 .07e Webzen u8.62 +1.11 .16 WemerEnt 20.54 -04 120f WholeFd ul5182 -71 WildOats 12.79 +.45 WindRvr 14.49 +19 WrissFac 5.51 +.02 Wynn 5569 -.31 XMSat 2890 -.66 ... XOMA 1.83 +.09 .10 X-Rite 10.91 -.01 .28 Xilnx 2616 -.90 Yahoo 40.47 -.74 .. YellowRd 4516 -1.29 Youbet 456 -.13 ZebraT 43.93 -17 ZhoneTcn 224 03 1.44 ZonBcp 7565 +.01 ... Zoran 1701 -.15 Yesterday Pvs Day Australia 1.3300 1.3364 Brazil 2.1965 2.2085 Britain 1.7421 1.7340 Canada 1.1572 1.1607 China 8.0803 8.0801 Euro .8482 .8537 Hong Koncg 7.7536 7.7541 Hungary 213.05 214.80 India 46.240 46.100 Indnsia 9955.00 9990.00 Israel 4.6305 4.6520 Japan 120.79 120.42 Jordan .7082 .7085 Malaysia 3.7800 3.7794 Mexico 10.4730 10.4520 Pakistan 59.85 59.77 Poland 3.26 3.31 Russia 28.9300 28.9836 SDR .7035 .7047 Singapore 1.6861 1.6881 Slovak Rep 32.04 32.26 So. Africa 6.3160 6.3401 So. Korea 1036.00 1038.10 Sweden 7.9972 8.0428 Switzerind 1.3066 1.3170 Taiwan 33.48 33.53 U.A.E. 3.6720 3.6728 British pound expressed in U.S. dollars. All others show dollar in foreign currency. Yesterday Pvs Day Prime Rate 7.00 7.00 Discount Rate 5.00 5.00 Federal Funds Rate 4.00 4.0525 Treasuries 3-month 3.91 3.90 6-month 4.17 4.16 5-mear 4.49 4.32 10-spar 30-year 4.76 4.62 FUTURES Exch Contract Settle Chg Lt Sweet Crude NYMX Jan 06 59.91 +.59 Corn CBOT Mar 06 206/4 +31/2 Wheat CBOT Mar 06 320r/4 +/2 Soybeans CBOT Jan 06 573/4 +10V/2 Cattle CME Feb 06 95.75 -.07 Pork Bellies CME Feb 06 89.02 +.25 Sugar (world) NYBT Mar06 13.26 +.40 Orange Juice NYBT Jan06 120.55 -5.95 SPOT Yesterday Pvs Day Gold (troy oz., spot) $508.90 $498.30 Silver (troy oz., spot) $8.632 $8.349 Copper (pound) $2.1660 2.18UU NMER = New York Mercantile Exchange. CBOT =Chicago Board of Trade. CMER = Chicago Mercantile Exchange. NCSE = New York Cotton, Sugar & Cocoa Exchange. NCTN =New York Cotton Exchange. 4.57 4.41 YTD Chg %Chg -.84 +16.3 -.34 +7.8 -.16 +4.2 -.30 +35.4 +.13 +30.3 -.26 -2.2 -2.79 +17.9 -.28 -.3 -.04 -6.3 -.23 +10.0 -.16 -21.7 +.18 +2.0 -.83 -10.8 -.22 +19.8 Net % YI TD -WK Last Chg Chg % Chg % Chg +2.73 +10.24 +25.46 +9.55 +23.41 +4.95 +6.04 +7.44 +7.94 Request sitck5 or mutual funds .yt wrniing [he Cnrronicle Ann Si:ck Requests., 1624 N. Meadowcrel Blvac Crystal River FL 3-1429. or phoning 5'o3-56C For Siock.s include rhe name of ine stock is market anarj ,is licker symbol For mutual lunds. list Ine parenI cormpan and mne e,.aci name ol mie lund. n^^^m Kmmnrn I I - I CITRUS COUNTY (FL) CHRONICLE TUESDAY,_DC__MBFR_6,_2005_ 4-wk Name NAV Chg %Rtn AARP Invst: .CapGrr 48.06 -.13 +3.5 GNMA 14.71 -.02 +0.5 Global 32.06 +.04 +4.6 GthInc 23.33 -.06 +3.6 Intl 49.93 +.11 +3.4 PthwyCn 11.94 -.02 +1.9 PthwyGr 13.93 -.02 +3.0 ShTrnBd 9.94 -.01 +0.3 SmCoStk 26.50 -.15 +3.1 AIM Investments A: Agrsvp 11.05 -.05 +4.2 BasValAp 34.02 -.17 +4.0 ChartAp 13.51 -.06 +3.8 Constp 25.09 -.04 +3.9 HYdAp 4.34 ... +0.8 IntlGrow 23.01 +.08 +4.8 MuBp 8.02 -.01 +0.6 PremEqty 10.46 -.05 +3.8 SelEqty 18.83 -.04 +3.9 Sumltl 12.05 ... +4.1 WeingAp 14.20 -.05 +3.5 AIM Investments B: CapDvBt 18.62 -.17 +4.4 PremEqty 9.64 -.04 +3.8 AIM Investor Cl: Energy 43.15 +.26 +5.4 SmCoG p 13.31 -.09 +3.3 Utilities 13.80 +.01 +2.2 AMF Funds: tdjMtg 9.69 ... +0.3 Advance Capital I: Balancpn18.46 -.05 +3.0 !Retlnc n 9.78 -.02 +0.7 Alger Funds B: 'SmCapGrt5.12 -.02 +3.9 illianceBern A: iAmGvlncA7.61 -.01 +1.9 BalanAp 17.72 -.06 +2.7 bGIbTchAp61.07-.35 +5.1 ,GdncAp 3.91 -.02 +3.7 mCpGrA 24.54 -.06 +4.8 lianceBern Adv: ,LgCpGrAd 21.90 -08 +4.7 AllianceBern B: iAnGvlnc8 7.61 -.01 +1.8 orpBdB p11.82-.03 +0.5 IbTchBt54.99 -.31 +5.0 qrowthBt26.42 -.12 +5.0 SCpGrBt 20.61 -.05 +4.8 lJSGovtBp6.88 -.02 +0.5 AllianceBern C: bCpGrC 120.66 -.05 +4.8 Alllanz Funds C: GwthCt 19.08 +.06 +4.7 LTarglCt 17.06 -.08 +4.7 Amer Century Adv: propn2385 -.02 +4.8 Amer Century Inv: Balanced n17.14 -.02 +3.2 Eqlncn 8.24 -.02 +2.5 Growth n 21.01 -.07 +3.8 Heritagel n14.46 -.02 +5.8 IncGron 32.22 -.04 +3.9 lntDiscrn16.51 +.18 +7.1 IntlGrol n 10.02 +.07 +4.3 UfeSd n A5.41 ... +2.5 NewOpprn6.18 ... +7.7 OneChAg n11.72 ... +3.8 RealEstl n28.25 -.22 +5.6 Selectn 38.94 -.22 +4.0. Ultra n 30.77 -.18 +4.0 Ufiln 13.54 ... +2.4 Vyaluelnv n 7.70 -.03 +3.2 American Funds A: AmcpAp 19.39 -.06 +3.3 AMutlAp 27.49 -.06 +2.8 BalAp 18.30 -.06 +22 BondAp 13.19 -.02 +0.5 CapWAp18.72 +.01 +0.6 CaplBAp53.53 +.02 +2.2 CapWGA p37.53+.10 +4.0 EupacAp41.93 +.17 +5.5 FdlnvAp 35:50 ... +42 GwthAp 31.11 -.06 +42 HITrAp 12.13 -.01 +0.8 IncoAp 18.52 -.01 +2.3 1ntBdAp 13.40 -.02 +0.4 CAA p 32.34 -.07 +3.0 NEcoAp 23.30 -.10 +5.0 NPerAp 30.41 +.01 +4.2 NwWridA 38.64 +.03 +4.6 SmCpAp 35.74 +.04 +5.6 TxExAp 12.36 -.02 +0.5 WshAp 31.60 -.07 +3.1 American Funds B: BalBt 18.22 -.06 +2.1 CaplBBt 53.53 +.02 +2.1 GrwthBt 30.03 -.06 +4.1 IncoBt 18.42 -.02 +2.2 ICABt 32.18 -.07 +2.9 WashBt 31.40 -.07 +3.1 SArel Mutual Fds: Apprec 47.36 -21 +3.3 Ariel 51.45 -23 +3.0 Artisan Funds: Intl 24.50 +.07 +3.8 MidCap 31.10 -.11 +4.8 MidCapVal 18.75-.05 +2.6 Baron Funds: Asset 56.97 -.34 +3.7 Growth 46.03 -.17 +42 SmCap 22.92 -.08 +4.8 Bernstein Fds: IntDur 13.08 -.03 +0.6 DivMu 13.94 -.02 +0.3 TxMglntV25.36 +.16 +4.1 IntVal2 23.91 +.06 +4.2 BlackRock A: AuroraA 41.84 -.26 +2.6 HiYlnvA 8.00 ... +0.8 Legacy 14.62 -.01 +4.0 Bramwellt Funds: Growth p 19.43 +.01 +3.8 Brandywine Fds: IBmdywnn31.53 -.13 +3.9 Brinson Funds Y:0 :HiYldlYn 6.94 ... +0.5 'GM Funds: ',CapDvn 35.27 -.12 +4.5 MutlIn 28.71 -.01 +1.4 Calamos Funds: ,Gr&lncAp31.09 -.02 +2.6 GrwlhAp 55.34 -.15 +5.5 .'GrowlhCt52.86 -.15 +5.5 balvert Group: Incop 16.88 -.03 +0.5 IntlEqAp 20.64 +.14 +4.3 MBCAI 10.26 -.01 0.0 MunInt 10.73 -.01 +0.4 SocialAp 28.80 -.05 +2.7 SocBd p 16.05 -.02 +0.6 rSocEqAp36.68 -.20 +3.5 TxFLt 10.56 ... +0.2 'TxFLgp 16.53 -.02 +0.7 VTxFVT 15.65 -.02 +0.4 Causeway Intl: ,lnstitutnlrn17.12 +.04 +3.8 Pllpper 88.76 -.36 +1.5 :Cohen & Steers: ,RltyShrs 7825 -.57 +7.3 Columbia Class A: ,Acomt 29.02 -.12 +4.4 Columbia Class Z: 'AcomZ 29.69 -.12 +4.4 "AcomlntZ 33.65 +.19 +4.8 'olumbla Funds: ,,ReEsEqZ 27.91 -20 +6.7 Davis Funds A: ;.NYVenA33.81 -.12 +3.6 Davis Funds B: DNYVenB 32.45 -.11 +3.6 Davis Funds C &Y: 'NYVenY 34.18 -.11 +3.7 :NYVenC 32.66 -.11 +3.6 Deluwaws'invest A: '.TrendAp 22.54 -.15 +4.9 '.TxUSAp 11.41 -.01 +0.5 Delaware Invest B: ;m DIchB 324 ... +0.9 SSetGrBt 2426 -.08 +0.9 ,DImenseonal Fda: IntSmVan17.99 +.15 +4.0 USLgVan22.16 -.08 +3.5 USMicron16.12-.07 +4.1 :,USSmalln21.03-.12 +42 USSrmVa29.17 -.09 +3.8 lnt6SmCon16.60 +.14 +4.3 ;EmgMktn20.35 +.10 +5.9 IntVan 18.12 +.07 +3.8 TM USSV 25.97 -.10 +4.1 DFARIEn25.82 -.21 +7.0 'Dodge&Cox: Balanced 82.41 -.16 +22 Income 12.59 -.02 +0.2 IntlStk 35.00 +.12 +3.9 Stock 139.28 -.34 +3.3 Dreyfus: Aprec 40.96 -.05 +2.8 Discp 34.17 -.04 +3.9 Dreyf 10.80 -.01 +4.4 DrS00lnt 37.20 -.09 +3.6, EmgLd 48.81 -.32 +4.0 FLIntr 13.06 -.02 +0.3 InsMutn 17.67 -.03 +0.6 StrValA rx28.54-2.43 +3.8 Dreyfus Founders: '. GrowthB n10.61 -.05 +3.8 iGrwthFpn11.16 -.06 +3.8 :Dreyfus Premier: CoreEqAt 15.06 -.02 +2.7 CorVivp 31.86 -.02 +3.6 LtdHYdAp721 ... +1.0 TxMgGCtx16.11-.13 +2.8 TchGroA 24.30 -.15 +5.6 Eaton Vance CI A: ChinaAp 15.13 +.07 +6.5 GrwthA 7.56 +.01 +3.6 InBosA 6.31 -.01 +0.8 SpEqtA 11.57 -.01 +5.7 MunBdl 10.54 -.06 +0.5 TradGvA 7.32 -.01 +0.5 Eaton Vance CI B: FLMBt 10.84 -.01 +0.6 HlthSBt 11.89 -.06 +1.5 NatlMBt 11.18 -.01 +0.7 ,Eaton Vance CI C: GovtC p 7.31 -.01 +0.3 NaUMCt 11.18 -.01 +0.6 Evergreen A: AstAllp 14.34 ... +2.8 Evergreen B: DvrBdBt 14.49 -.03 +0.6 MuBdBt 7.42 -.01 +0.5 Evergreen C: AstAlICt 13.89 ... +2.8 Evergreen I: CorBdl 10.40 -.02 +0.6 SIMunil 9.91 -.01 +0.3 Excelsior Funds: Energy 29.58 +21 +8.0 HiYield p 4.50 ... +1.0 ValRestr 46.31 -.13 +3.9 FPA Funds: NwInc 10.99 +.01 +0.4 Federated A: AmLdrA 23.74 -.04 +3.6 MidGrStA34.00 -.16 +4.5 MuSecA 10.59 -.02 +0.5 Federated B: StrlncB 8.54 -.01 +0.8 Federated InstI: Kaufmn 5.55 -.02 +3.7 Fidelity Adv Foc T: HItCarT 23.68 +.06 +4.1 NatResT 43.50 +.30 +6.3 Fidelity Advisor A: DivlntlAr 21.50 +.16 +4.5 Fidelity Advisor I: EqGrdin 51.39 -21 +4.0 Eqlnl n 30.53 -.08 +3.9 IntBdIn 10.88 -.01 +0.5 Fidelity Advisor T: BalancT 16.82 -.03 +3.8 DivGrTp 12.09 -.04 +3.3 DynCATp 16.26 -.07 +4.3 EqGrTp 48.65 -.20 +3.9 EqInT 30.16 -.08 +3.9 GovInT 9.90 -.02 +0.5 GrOppT 33.57 -.19 +4.4 HilnAdTp 9.77 +.02 NE IntBdT 10.86 -.02 +0.5 MidCpTp 26.78 -.10 +3.0 MulncTp 12.83 -.01 +0.6 OvrseaT 19.20 +.12 +4.3 STFiT 9.39 -.01 +0.3 Fidelity Freedom: FF2010 n1427 -.02 +2.4 FF2020 n 14.91 -.02 +3.3 FF2030n 15.22 -.01 +3.7 FF2040n 8.96 -.01 +3.8 Fidelity Invest:' AggrGrrn17.83 ... +3.1 AMgrn 16.47 -.02 +2.3 AMgrGrn 15.35 -.03 +2.9 AMgrInn 12.74 ... +1.7 Balancn 18.81 -.03 +3.8 BlueChGr n43.71-.15 +3.6 CAMunn12.38 -.02 +0.6 Canadan42.18 +.19 +5.6 CapAp n 27.64 -.13 +3.8 Cplncrn 8.33 ... +0.7 ChinaRgn18.91 +.17 +5.4 CngSn 410.43+1.11 +4.1 CTMunrn11.43 -.01 +0.5 Contra n 66.25 -.03 +4.0 CnvSon 22.48 -.02 +2.8 Destln 14.53 -.05 +3.9 Destll n 12.27 -.05 +3.1 DisEqn 28.11 -.08 44.3 DivIntIln 32.65 +.15 +4.5 DivGth n 29.25 -.09 4+3.4 EmrMkn 17.85 +.14 +9.4 Eqlncn 54.88 -.11 +4.1 EQII n 24.76 -.10 +3.6 ECapAp 24.33 +.12 +3.8 Europe 39.03 +.16 +3.6 Exch n 282.96 +.08 +3.3 Exportn 22.21 -.03 +4.4 Fidel n 32.02 -.03 +3.6 Fiftyrn 22.91 -.13 +4.5 FLMurn 11.51 -.01 +0.6 FrlnOne n26.81 -.05 +3.3 GNMAn 10.79 -.02 +0.4 Govtincn 10.07 -.01 +0.7 GroCon 63.24 -.20 +4.0 Grolnn 38.27 -.10 +3.7 Grolncll n 10.46 -.02 +3.9 Highlnc rn 8.78 ... +0.8 Indepnn 19.73 -.11 +4.9 IntBdn 1025 -.01 +0.5 IntGovn 10.01 -.01 +0.5 InUDisc n 30.70 +24 +4.5 InUSCp r n28.59 +.35 +5.5 InvGBn 7.33 -.01 +0.6 Japan n 16.71 +.35 +9.2 JpnSmn 15.52 +.30 +8.5 LatAmn 33.24 +.13+10.4 LevCoStkn2626-.12 +5.7 LowPrn 41.98 +.04 +4.3 Magelln n106.26 -.05 +3.6 MDMurn1O.76 -.02 +0.5 MAMunn1.93 -.02 +0.6 MIMunn 11.83 -.02+0.6 MidCapn26.42 -.10 +5.4 MNMunn11.38 -.01 +0.5 MtgSecn 10.97 -.02 +0.6 Munilncn 12.87 -.02 +0.7 NJMunrnl .53 -.02+0.6 NwMktrn14.54 -.04 +22 NwMilln 34.94 +.05 +5.8 NYMunn12.81 -.02 +0.6 OTCn 3828 -21 +5.0 OhMunn11.73 -.02 +0.6 Ovrsean 40.24 +.32 +6.5 PcBasn 24.61 +.24 +7.5 PAMunrnlO.80 -.01 +0.5 Puritnn 18.99 -.02 +2.8 RealE n 32.27 -24 +7.7 StlntMu n 10.17 -.01 +0.2 STBFn 8.84 -.01 +0.3 SmCapInd n20.57-.04 +3.9 SmllCpSrnl8.41-.09 +4.9 SEAsian 20.86 +.16 +7.6 StkSIcn 25.03 -.06'+4.2 Stratlncn 10.43 ... +0.8 Trendn 57.99 -.13 +3.6 USBI n 10.82 -.02 +0.6 Utility n 14.92 +.02 +4.1 ValStratn38.31 -.11 +5.9 Value n 75.51 -.22 +5.4 Wldwn 20.41 +.05 +5.4 Fidelity Selects: Airn 39.96 -24 +5.3 Autonn 33.21 -.09 +1.7 Banking n 39.20 -.11 +3.6 Biotchn 61.81 +.08 +3.1 Brokrn 73.02 +.16 +6.9 Chem n 67.46 ... +4.9 Compn 3727 -.12 +7.1 Conlnd n 25.58 -.15 +2.4 CstHon 47.87 -.28 +4.7 DfAern 74.88 -.22 +3.5 DvCmrn 20.04 -.12 +2.3 Electrn 44.88 -.49+10.0 Enrgyn 49.17 +.32 +4.7 EngSvn 66.23 +26 +7.7 Envirn 15.67 -.02 +3.0 FInSvn 118.88 -.35 +4.0 Foodn 53.60 +.01 +2.6 Goldrn 33.48 +.17+13.6 Health n 150.93 +.37 +4.1 HomFn 58.46 -.06 +3.4 IndMt n 43.96 -.09 +6.2 Insurn 70.31 -.63 +2.4 Leisrn 79.92 -.65 +4.4 MedDIn 55.39 -.13 +5.6 MdEqSys n25.92 +.13 +3.8 Multmd n 48.93 -.34 +3.7 NtGasn 41.18 +.51 +5.5 Papern 29.84 -.07+13.6 Pharmin 9.82 -.02 +1.7 Retail n 53.63 -.40 +2.8 Softwrn 52.42 -.50 +2.1 Techtn 64.57 -.53 +4.9 Telcmin 39.23 -.18 +3.2 Transn 47.30 -.40 +4.5 UtilGrn 43.87 +.06 +4.2 Wireless n 6.90 -.03 +3.4 Fidelity Spartan: Eqldxlnvn44.81 -.11 +3.6 500lnxlnv r n87.79-21 +3.6 InvGrB n 10.5 -.02 +0.7 First Eagle: GIbIA 43.62 +.01 +2.7 OverseasA 24.89 +.08 +2.9 First Investors A BIChpAp 21.23 -.07 +3.3 GloblAp 7.11 -.01 +3.0 GovatAp 10.74 -.01 +0.4 GrolnAp 14.11 -.05 +3.8 IncoAp 3.00 ... +0.7 InvGrAp 9.58 -.02 +0.6 MATFAp 11.83 -.02 +0.6 MITFAp 12.48 -.02+0.7 MidCpAp27.98 -.08 +3.8 NJTFAp 12.83 -.01 +0.6 NYTFAp 14.26 -.02 +0.5 PATFA p 13.02 -.01 +0.6 SpSitA p 20.41 -.06 +3.4 TxExAp 9.95 -.01 +0.6 TotRtAp 14.18 -.04 +2.5 ValueB p 6.73 -.01 +2.3 Firsthand Funds: GibTech 3.91 -.02 +6.5 TechVal 33.55 -.12 +3.8 Frank/Temp Fmk A: AGEAp 2.07 ... +1.1 AdjUS p 8.92 -.01 +0.2 ALTFAp 11.39 -.02 +0.4 AZTFAp 10.94 -.01 +0.5 Ballnvp 65.29 +.05 +3.9 CailnsAp 12.58 -.02 +0.6 CAIntAp 11.43 -.01 +0.6 CalTFA p 7.23 ... +0.6 CapGrA 11.28 -.07 +4.1 COTFAp 11.90 -.01 +0.5 CITFAp 11.00 -.01 +0.5 CvtScAp 16.81 -.04 +1.9 DbOTFA 11.79 -.01 +02 DynTchA 26.81 -.15 +5.3 EqlncAp 21.15 ... +3.0 Fedlntp 11.31 -.01 +0.6 FedTFAp11.98 -.01 +0.5 FLTFAp 11.83 -.01 +0.5 FoundAJp 12.76 -.02 +1.8 GATFAp 11.99 -.01 +0.6 GoldPrMA23.23 +.10+11.0 GrwthAp 36.67 -.13 +4.4 HYTFAp 10.65 -.01 +0.7 IncomAp 2.37 -.01 -0.1 InsTFAp 12.22 -.01 +0.5 NYITFp 10.84 -.01 +0.5 LATFAp 11.40 -.02 +0.6 LMGvScA 9.90 ... +0.4 MDTFAp11.65 -.02 +0.4 MATFAp11.81 -.01 +0.5 MITFAp 12.18 -.01 +0.4 MNInsA 12.01 -.01 +0.7 MOTFAp 12.15 -.01 +0.5 NJTFAp 12.03 -.01 +0.4 NYInsAp 11.49 -.01 +0.5 NYTFAp 11.75 ... +0.5 NCTFAp 12.18 -.02 +0.4 OhiolAp 12.44 -.02 +0.6 ORTFAp 11.75 -.02 +0.5 PATFAp 10.33 -.01 +0.5 ReEScA p29.48 -.18 +5.7 RisDvAp 32.25 -.14 +3.8 SMCpGrA 37.98 -.21 +4.3 USGovAp 6.43 ... +0.4 HOWTo EA THIMTUA FNDABES Here are Ihe 1 000 biggest mutual funds listed on Nasdaq Tables show the urnd name, sell price or Net Assel Value INAV) and daily net change. as well as one total return figure as follows Tues: 4-wk total return (%) Wed: 12-mo total return 1%) Thu: 3-yr cumulative total return (al Fri: 5-yr cumulative total return i5a Name: Name of mutual tund and family NAV: Net asset value. Chg: Nelt change in price ot NAV Total return: Percent change in AV for tie time period shown, with dividends reinvested 1i period longer than 1 year, return is cumula- 1te Data based on NA.s reported to Lipper by 6 pm Eastern Footnotes: e Ex capital gains distribution I Previous day's quote n No load fund p Fund assets used to pay distribution costs r - Redemption fee or contingent deterred sales load may apply s - Stock dividend or split. 1 Bolh p and r x Ex-cash dividend NA No Intormalion available NE Data In question NN Fund aoes notl wish to be tracked NS I Fund did not exst at start date Source: LiUner, Inc. and The Associated Press UtilsAp 11.78 +.01 +2.1 VATFAp 11.74 -.01 +0.3 Frank/Temp Frnk B: IncomB1 p 2.38 ... +0.2 IncomeBt 2.37 .. +0.2 Frank/Temp Frnk C: IncomCt 2.39 ... +0.2 Frank/Temp MIl A&B: DiscA 26.98 ... +3.2 QualfdAt 20.97 ... +2.8 SharesA 24.87 ... +2.7 Frank/Temp Temp A: DvMktAp22.94 +.06 +6.5 ForgnAp 12.65 +.01 +2.3 GIBdAp 10.26 +.04 +1.5 GrwthAp 23.09 ... +2.9 IntxEMp 15.83 +.01 +2.7 WorldAp 17.82 ... +2.2 Frank/Temp Tmp Adv: GrthAv 23.11 ... +2.8 Frank/Temp Tmp B&C! SDevMktC 22.43 +07 +6.6 ForgnCp 12.48 +.02 +2.3 GE Elfun S&S: S&Slnc 11.20 -.02 +0.8 S&SPM 47.08 -.15 +3.2 GMO Trust III: EmMkr 21.89 +.18 +8.5 For 16.13 +.07 +3.5 InlGrEq 28.78 +.16 NE USCoreEq 14.56 -.02 +3.4 GMO Trust IV: InMIntrVI 31.32 +.17 +3.7 Gabelll Funds: Asset 43.29 -.14 +2.4 Gartmore Fds D: Bond 9.53 -.02 +0.6 GvtBdD 10.15 -.02 +0.5 GrowthD 724 -.04 +4.5 NationwD21.81 -.05 +3.6 TxFrr 10.47 -.01 +0.5 Gateway Funds: Gateway 25.47 -.02 +0.8 Goldman Sachs A: GrIncA 25.94 -.02 +2.5 MdCVA p 37.42 -.14 +3.3 SmCapA 44.25 -.53 +3.6 Goldman Sachs Inst: HYMuni 11.11 -.02 +0.7, Guardian Funds: GBG InGrA 14.83+.06 +3.3 ParkAA 32.42 -.04 +4.1 Harbor Funds: Bond 11.61 -.03 +0.7 CapAplnst 33.19 -.13 +4.2 Inl r 50.60 +.22 +4.8 Hartford Fds A; AdvrsAp 15.92 -.04 +2.6 CpAppAp35.51 -.04 +4.7 DivGthAp 19.15 -.04 +3.2 SmiCoAp 19.91 -.08 +4.9 Hartford HLS IA: Bond 11.67 -.02 +0.6 CapApp 59.65 -.06 +4.8 Dv&Gr 21.88 -.05 +3.2 Advisers 24.40 -.06 +2.7 Stock 50.03 -.14 +3.7 Hartford HLS IB: CapAppp 59.28 -.06 +4.7 Hennessy Funds: CorGrow 19.38 -.02 +4.2 CorGroll 29.38 +.01 +7.6 HollBalFd n15.64 -.03 +2.6 Hotchkis &Wiley: LgCpVIA p23.95 -.22 +2.3 MijdCpVal 30.00 -.22 +4.4 ISI Funds: NoAmp 7.39 -.01 +1.6 JPMorgan A Class: MCpValp23.90 -.11 +3.2 JPMorgan Select: IntEq n 32.36 +.09 +3.3 JPMorgan Sel CIs: CoreBd n 10.55 -.02 +0.6 lntrdArern24.55-.07 +3.8 Janus: Balanced 22.52 -.06 +2.9 Contrarian 14.92 -.13 +3.8 CoreEq 23.66 -.07 +4.2 Enterprn 42.27 -.23 +4.7 FedTE n 6.94 -.01 +0.8 RxBnd n 9.39 -.01 +0.7 Fundn 25.77 -.09 +3.5 GI UfeSci r n20.14+.01 +3.2 GITechrni1.90 -.04 +5.7 Grlnc 36.01 -.03 +3.6 Mercury 23.17 -.10 +3.4 MdCpVal 24.35 -.12 +3.4 Olympus 32.68 -.09 +3.1 Orion n 8.36 -.02 +3.3 Ovrseas r 30.78 +.06 +4.8 ShTmBd 2.86 -.01 0.0 Twenty 50.16 +.14 +2.9 Venturn 59.68 -.34 +2.6 WddWr 43.37 -.22 +3.3 JennisonDryden A: BlendA 18.17 -.03 +4.3 HiYIldA p 5.66 ... +0.8 InsuredA 10.69 -.01 +0.6 UtilityA 14.94 +.01 +3.4 JennlsonDryden B: GrowthB 15.13 -.06 +4.1 HiYIdBt 5.65 ... +0.8 InsuredB 10.70 -.02 +0.4 John Hancock A: BondAp 14.84 -.03 +0.7 ClassicVl p 24.80 -.11 +2.4 StrlnAp 6.95 ... +0.8 John Hancock B: StrincB 6.95 ... +0.7 Julius Baer Funds: IntEql r 36.75 +.16 +3.8 IntEqA 36.03 +.15 +3.7 Legg Mason: Fd OpporTrt 17.22 -.06 +7.2 Splnvp 50.34 -.32 +4.4 ValTrp 69.25 -.42 +5.1 Legg Mason Insth: ValTrnst 76.19 -.45 +5.2 Longleaf Partners:; Partners 31.43 -.19 +0.8 IntI 17.26 -.06 +2.3 SmCap 27.64 -.14 +4.4 Loomis Sayles: LSBondl 13.80 ... +1.0 Lord Abbett A: AffiNAp 14.08 -.03 +3.2 BdDebA p 7.79 -.01 +0.7 GlIncAp 6.88 ... +0.3 MidCpAp 24.12 -.06 +4.7 MFS Funds A: MITApx 18.47 -.12 +2.4 MIGAp 12.91 -.07 +2.4 GrOpA px 8.99 -.09 +2.0 HilnA p 3.78 -.01 +0.7 MFLAp 10.06 -.01 +0.7 TotRAp 15.39 -.04 +1.9 ValueA p 23,28 -.06 +2.5 MFS Funds B: MIGB 11.80 -.06 +2.3 GvScBt 9.43 -.02 +0.5 HilnBt 3.80 ... +0.9 MulnB t 8.55 -.01 +0.4 TotRBt 15.39 -.04 +1.9 MainStay Funds B: CapApB 129.42 -.15 +4.5 ConvBt 13.77 -.03 +3.0 GovtBt 8.15 -.01 +0.6 HYIdBBt 6.23 ... +0.9 IntlEqB 13.32 +.02 +3.3 SmCGB p 14.99 -.04 +4.0 TotRtBt 19.75 -.05,6 +2.9 Mairs & Power: Growth 73.19 -.18 +4.0 Managers Funds: SpdEq nt 94.74 -.50 +4.3 Marsico Funds: Focusp 18.32 -.08 +3.7 Merrill Lynch A: GIAIAp 17.78 -.01 +2.1 HealthA p 7.04 ... +4.8 NJMunBd 10.49 -.01 +0.7 Merrill Lynch B: BalCapB 126.75 -.06 +3.0 BeVBt 30.80 -.06 +4.1 BdHilInc 5.01 ... +1.6 CalnsMB 11.48 -.02 +0.4 CrBPtiBt 11.52 -.01 +0.4 CpITBt 11.69 -.02 +0.4 EquityDiv 15.90 +.02 +3.7 EuroBt 15.56 +.04 +2.6 FocValt 12.73 -.07 +4.2 FndlGBt 17.51 -.02 +3.8 FLMBt 10.28 -.01 +0.6 GIAIBt 17.40 -.01 +2.0 HeaithBt 5.26 ... +4.8 LatABt 36.48 +.01 +9.5 MnlnB t 7.80 -.01 +0.7 ShTUSGSt 9.08 -.01 +0.3 MuShtT 9.92 -.01 +0.1 MulntBt 10.34 -.02 +0.3 MNtlBt 10.42 -.02 +0.4 NJMBt 10.48 -.02 +0.7 NYMBt 10.90 -.01 +0.4 NatRsTB 148.44 +.40 +5.8 Pacet 22.09 -.02 +3.1 PAMBt 11.15 -.01 +0.1 Value~ppt26.02 -.11 +5.3 USGovt 10.01 -.02 +0.6 Utmcmt 11.95 -.01 +2.1 WIdInBt 6.03 +.01 +1.9 Merrill Lynch C: GIAICt 16.91 ... +2.0 Merrill Lynch I: BalCapl 27.63 -.06 +3.1 BaVII 31.62 -.05 +4.2 BdHiInc 5.01 +.01 +1.7 CalnsMB 11.48 -.02 +0.5 CrBPtit 11.52.-.01 +0.5 CpITI 11.69 -.02 +0.5 DvCapp 21.75 +.10 +7.8 EquityDv 15.88 +.03 +3.9 Eurolt 18.23 +.05 +2.7 FocVall 14.01 -.08 +4.2 FLMI 10.28 -.01 +0.6 GIAIIt 17.84 -.01 +2.1 Health 7.66 ... +4.9 LatAl 38.49 +.02 +9.5 Mnlnl 7.80 -.02 +0.6 MnShtT 9.92 ... +0.1 MulTI 10.34 -.02 +0.4 MNaill 10.43 -.01 +0.6 NetRsTrt51.44 +.44 +5.9 Pad 2424 -.02 +3.1 ValueOpp 28.96 -.12 +5.4 USGovt 10.01 -.02 +0.7 UtMcmIt 11.99 ... +2.2 WIdlncl 6.03 ... +1.9 Midas Funds: Midas Fd 2.70 +.02+12.0 Monetta Funds: Monettan12.14 -.02 +4.4 Morgan Stanley A: DivGthA 37.11 -.08 +3.9 Morgan Stanley B: GIbDivB 14.62 -.01 +2.6 GrwthB 14.26 -.01 +6.3 StratB 19.01 -.02 +3.3 MorganStanley Inst: GIValEqA n18.49-.01 +2.6 IntlEq n 22.01 +.02 +2.6 Muhlenk 85.33 -.27 +3.6 Under Funds A: lntemtA 21.17 -.16 +7.4 Mutual Series: BeacnZ 17.12 -.01 +3.1 DiscZ 27.27 ... +3.2 QuaufdZ 21.12 .. +2.8 SharesZ 25.07 +.01 +2.7 Neuberger&Berm Inv: Focus 37.55 -.28 +4.1 Intlr 21.84 +.13 +4.0 Partner 29.97 ... +4.7 Neuberger&Berm Tr: Genesis 50.27 -.04 +3.4 Nicholas Applegate: EmgGroln11.63 -.03 +5.1 Nicholas Group: Hilnc In 2.13 ... +0.9 Nichin 61.99 -.32 +1.3 Northern Funds: SmCpldx n10.90 -.07 +4.3 Technlyn11.85 -.12 +3.8 Nuveen CI R: InMunR 10.72 -.01 +0.6 Oak Assoc Fds: WhitOSG n32.79-.13 +2.8 Oakmark Funds I: Eqtylncrn25.34 ... +1.1 Globall n 24.44 -.01 +3.7 Intlirn 23.87 +.06 +3.2 Oakmarkrn41.49-.16 +2.3 Select rn 34.72 -.09 +3.7 Oppenheimer A: AMTFMu 9.98 -.02 +0.6 AMTFrNY 12.67 -.02 +0.4 CAMuniAp11.30-.02 +0.4 CapApA px 43.60-.40 +3.9 CaplncAp12.49 -.04 +1.2 ChIncAp 9.30 -.01 +0.9 DvMktAp36.27 +.18 +7.9 Discp 44.46 -.19 +5.0 EquityA 11.88 -.05 +3.3 GlobAp 68.07 -.05 +4.1 GibOppA 35.19 -.16 +6.4 Gold p 22.49 +.09 +9.4 HiYdAp 9.31 -.01 +1.0 IntBdAp 5.88 +.01 +1.6 LtdTmMu 15.68 -.01 +0.3 MnStFdA 37.55 -.07 +3.8 MidCapA 18.69 -.12 +3.3 PAMuniAp 12.58-.02 +0.4 StrlnAp 4.23 -.01 +1.1 USGvp 9.47 -.02 +0.6 Oppenheimer B: AMTFMu 9.95 -.02 +0.7 AMTFrNY 12.68 -.01 +0.4 CplncBt 12.35 -.04 +1.1 ChlncBt 9:29 -.01 +0.9 EquityB 11.42 -.04 +3.3 HiYIdBt 9.17 -.01 +0.9 StrincBt- 425 ... +1.2 Oppenhelm Quest: QBalA 18.61 -.04 +2.9 Oppenheimer Roch: LtdNYAp 3.34 ... +0.3 RoMu Ap 18.01 -.03 +0.4 PBHG Funds: SelGrwth n23.77T-.19 +4.4 PIMCO Admin PIMS: TotRtAd 10.47 -.03 +0.6 PIMCO Insti PIMS: AllAsset 13.03 -.01 +1.6 ComodRR 16.93 +.06 +4.6 HiYld 9.66 -.02 +0.5 LowDu 10.00 -.01 +0.4 RealRtnl 11.09 -.01 +0.3 TotRt 10.47 -.03 +0.7 PIMCO Funds A: RealRtAp11.09 -.01 +0.3 TotRtA 10.47 -.03 +0.6 PIMCO Funds C: RealRtCp11.09 -.01 +0.2 TotRtCt 10.47 -.03 +0.6 PIMCO Funds D: TRtnp 10.47 -.03 +0.6 PhoenixFunds A: BalanA 14.99 -.04 +2.5 CapGrA 15.76 -.06 +4.6 IntIA 11.24 +.04 +3.6 Pioneer Funds A: BaianA p 9.96 -.02 +2.0 BondAp 9.10 -.01 +0.8 EqIncAp 29.13 -.07 +2.7 EurSelEqA 32.02+.17 +4.1 GrwthAp 12.66 -.05 +2.1 HiYldAp 10.77 -.02 +1.1 IntlValA 19.62 +.10 +3.5 MdCpGrA 14.86 -.11 +2.5 MdCVA p 23.22 -.07 +4.2 PionFdA p44.55-.11 +3.5 TxFreAp 11.52 -.02 +0.4 ValueAp 17.75 -.01 +3.7 Pioneer Funds B: HiYtdBt 10.82 -.02 +1.2 MdCpVB 20.32 -.06 +4.1 Pioneer Funds C: HiYldCt 10.92 -.02 +1.2 Price Funds: Balance n20.18 -.02 +2.6 BlChip n 33.26 -.07 +4.5 CABond nl.91 -.02 +0.5 CapApp n20.83 -.06 +2.6 DivGron 23.68 -.10 +3.3 Eqlncn 27.35 -.11 +3.2 Eqlndex n34.03 -.08 +3.6 Europe n 21.35 +.12 +2.8 FLIntrn 10.72 -.01 +0.4 GNMApn 9.38 -.02 +0.5 Growth n 28.75 -.06 +4.1 Gr&lnn 22.78 -.11 +4.0 HilhScl n 25.82 +.06 +3.4 HiYield n 6.90 ... +0.8 ForEqn 17.46 +.10 +3.7 IntlBond n 9.28 +.03 0.0 IntDis n 39.97 +.32 +0.0 IntiStkn 14.60 +.09 +3.8 JapanT n 11.00 +.15 +6.1 LatAmn 26.13 +.06 +9.7 MDShdn 5.12 ... +0.2 MDBondnlO.60 -.02 +0.5 MidCap n 57.09 -.17 +4.7 MCapValin24.66 -.10 +4.1 NAmer n 34.99 -.21 +4.7 NAsian 12.19 +.02 +5.4 New Era n43.61 +.14 +5.3 NHorizn 33.08 -.18 +4.5 NIncn 8.91 -.01 +0.7 NYBondn1124 -.02 +0.5 PSIncn 15.32 -.02 +2.1 RealEstn 19.83 -.15 +7.2 SoTecn 20.02 -.13 +4.3 ShtBdn 4.67 -.01 +0.3 SmCpStk n34.92 -.13 +4.3 SmCapVal n39.50-.22 +2.8 SpecGrn 18.50 -.03 +4.0 Speclnn 11.78 -.02 +1.1 TFIncn 9.90 -.02 +0.5 TxFrHn 11.83 -.01 +0.3 TFIntmn 11.05 -.01 +0.5 TxFrSI n 5.32 -.01 +0.2 USTIntn 5.28 -.01 +0.6 USTLgn 11.67 -.05 +1.2 VABondnll.56 -.01 +0.6 Value n 24.39 -.08 +3.6 Putnam Funds A: AmGvAp 8.86 -.01 +0.6 AZTE 9.21 -.01 +0.4 ClscEqAp 13.43 -.04+3.9 Convp 17.66 -.05 +2.6 DiscGr 18.62 -.06 +4.6 DvrlnAp 10.07 -.01 +0.5 EuEq 22.60 +06 +2.5 FLTxA 9.20 -.01 +0.4 GeoAp 17.92 -.04 +2.4 GIGvAp 11.96 +.01 -0.1 GIbEqtyp 9.13 +.01 +3.3 GrinApx 19.79 -.52 +3.3 HthA pe 62.07-4.45 +1.9 HiYdA p 7.92 .. +0.9 HYAdA p 5.97 ... +0.9 IncmA p 6.71 -.01 +0.6 IntlEqp 26.19 +.09 +3.3 IntGrlnp 13.30 +.03 +3.7 InvApx 13.66 -.18 +4.5 MITx px 8.96 -.01 +0.5 MNTx p 8.95 -.01 +0.4 NJTxAp 9.16 -.01 +0.3 NwOpAp45.94 -.15 +4.2 OTCAp 8.00 -.03 +5.0 PATE 9.05 ... +0.5 TxExAp 8.74 -.01 +0.4 TFInAp 14.87 -.02 +0.6 TFHYA 12.88 -.01 +0.5 USGvAp 13.01 -.01 +0.3 UtilAp 10.99 +.01 +0.9 VstaAp 10.75 -.03 +5.5 VoyApx 17.68 -.20 +3.9 Putnam Funds B: CapAprt 19.24 -.05 +4.9 CscEq 1Bt13.30 -04 +3.7 DiscGr 17.16 -.06 +4.6 DvrnB t 9.99 -.01 +0.5 Eqlnct 16.73 -.02 +3.3 EuEq 21.71 +.05 +2.5 FLTxBt 9.20 -.01 +0.3 GeoBt 17.76 -.03 +2.4 GIIncBt 11.92 +.01 -0.2 GIbEqt 8.29 ... +3.2 GINtRst 30.44 +.20 +4.7 GrnBtx 19.51 -.49 +3.2 HfthBte 55.98-4.47 +1.9 HiYldBt 7.88 ... +0.8 HYAdBt 5.89 .... +0.9 IncmBt 6.67 -.01 +0.6 IntGrln 13.00 +.03 +3.7 IntlNopt 12.54 '+.06 +3.6 InvBtx 12.58 -.07 +4.6 NJTxBt 9.16 -.01 +0.4 NwOpBt 41.22 -.14 +4.2 NwValpx 17.80 -.91 +3.4 NYTxBt 8.67 -.01 +0.3 OTCBt 7.06 -.02 +4.9 TxExBt 8.75 ... +0.5 TFHYBt 12.90 -.01 +0.5 TFInBt 14.89 -.02 +0.5 USGvBt 12.94 -.01 +0.2 UtilBt 10.92 +.01 +0.9 VistaBEt 9.37 -.02 +5.4 VoyBt 15.47 -.07 +3.8 RiverSource/AXP A: Discover 9.58 -.03 +4.4 DEI 12.47 -.04 +4.4 DivrBd 4.77 -.01 +0.5 DvOppA 7.56 ... +2.9 GIblEq 6.54 +.03 +3.2 Growth 28.81 -.04 +2.6 HiYdTEA 4.38 ... +0.5 Insr 5.36 -.01 +0.6 Mass 5.30 -.01 +0.5 Mich 5.24 -.01 +0.4 Minn 5.23 -.01 +0.5 NwD 24.46 -.04 +3.2 NY 5.05 -.01 +0.3 Ohio 5.21 -.01 +0.4 SDGovt 4.72 -.01 +0.3 RIverSource/AXP B: EqValp 11.33 -.03 +4.3 Royce Funds: LwPrStkr 15.46 ... +5.9 MicroCap 15.82 +.03 +4.6 Premierlr 16.75 -.03 +5.8 TotRet r 12.72 -.04 +3.7 Russell Funds S: DivEqS 46.66 -.16 +3.1 QuantEqS40.27 -.07 +3.7 Rydex Advisor: . OTC 10.92 -.08 +3.8 SEI Portfolios: CoreFxAn10.27 -.02 +0.4 IntEqAn 12.31 +.05 +3.6 LgCGroA n20.13-.09 +3.0 LgCValA n21.44 -.01 +3.6 STI Classic: CpAppAp 12.11 -.05 +3.5 CpAppC p 11.41 -.06 +3.4 LCpVIEqA 12.92 -.04+3.3 QuGrStkC t24.08-.04 +3.5 TxSnGrl p 25.76 -.05 +3.5 Salomon Brothers: BalancBp 13.03 -.03 +2.4 Opport 52.69 -:21 +4.2 Schwab Funds: 1000lnvr 37.04 -.10 +3.6 S&Plnv 19.69 -.05 +3.6 S&P Sel ... ... NA SmCplnv 23.65 -.13 +4.4 YIdPIsSI 9.65 ... +0.3 Scudder Funds A: DrHiRA 44.88 -.10 +1.7 RgComAp19.46+.01 +4.8 USGovA 8.38 -.02 +0.4 Scudder Funds S: EmMkIn 11.53 -.02 +2.3 EmMkGrr 22.72 +.11 +7.6 GIbBdSr 9.92 ... +0.4 GIbDis 39.60 +.11 +4.7 GlobalS 32.07 +.04 +4.7 Gold&Prc 19.21 -.03+11.1 GrEuGr 29.80 +.19 +4.0 GrolncS 23.30 -.05 +3.6 HiYIdTx 12.76 -.01 +0.4 Income S 12.63 -.02 +0.4 IntTxAMT11.16 -.01 +0.5 IntlFdS 50.10 +.12 +3.4 LgCoGro 25.93 -.08 +3.7 LatAmr 49.91 +.01 +7.9 MgdMuni S9.06 -.01. +0.6 MATFS 14.32 -.02 +0.6 .PacOpps r 15.50 +.10 +6.4 ShTmBdS 9.95 ... +0.3 SmCoVIS r28.06-.19 +3.4 Selected Funds: AmShSp 40.35 -.13 +3.5 Seligman Group: FrontrAt 12.62 -.07 +3.8 FrontrDt 11.04 -.06 +3.7 GIbSrmA 16.48 +.06 +3.8 GIbTchA 13.66 -.06 +5.6 HYdBAp 3.31 ... +0.6 Sentinel Group: ComS A p 31.57 -.08 +3.9 Sequoian165.11-1.40 +3.3 Sit Funds: LrgCpGr 37.53 +.01 +3.1 Smith Barney A: AgGrAp 107.22 +.07 +2.9 ApprAp 15.30 -.07 +2.8 FdValAp 15.67 -.04 +2.4 HilncAt 6.73 -.01 +0.9 InAICGAp 15.00+.12 +3.4 LgCpGAp 23.51 -.11 +4.1 Smith Barney B&P: FValBt 14.69 -.03 +2.4 LgCpGBt22.11 -.11 +4.0 SBCplnc 116.94 -.03 +2.0 Smith Barney 1: DvStrl 17.38 -.05 +2.4 GinE 1 16.00 -.05 +3.8 St FarmAssoc: Gwth 50.69 -.08 +3.7 Stratcon Funds: DMdend 36.22 -.23 +3.9 Growth 45.59 -.07 +4.5 SmCap 44.90 -.24 +5.4 SunAmerica Funds: USGvB t 9.23 .02+0.6 SunAmerica Focus: TCW Galileo Fds: SelEqty 21.17 -.15 +5.2 TD Waterhouse Fds: Dow30 0.0 TIAA-CREF Funds: BdPlus 10.03 -.02 +0.6 Grolnc 12.99 -.04 +3.2 GroEq 9.85 -.03 +3.4 HiYldd 9.05 -.01 +0.6 IntlEq 11.82 +.03 +3.4 MgdAic 11.51 -.03 +2.6 ShtTrBd 10,31 -.01 +0.3 SOcChEq 9.93 -.02 +4.0 TxExBd 1068 -.02 +0.6 Tamarack Funds: EntSmCp 33.67 -.30 +3.5 Value 46.77 -.05 +3.5 Templeton Instit: EmMSp 18.73 +.06 +6.7 ForEqS 22.14 .. +3.9 Third Avenue Fds: tntlr 21.21 +.16 +3.4 RIEsIV[ r 30.45 -.20 +,33 6M i.v. I .f * Ha=. hij .-bii. , LY a f ,ta *4?,j *.u i' I*L .. i _ . . ... .~f*FI'..ft Value 59.73 -,18 +1.5 Thrivent Fds A: HiYId 5.04 -.01 +0.8 Incorn 8.53 -.02 +0.5 LgCpStk 27.14 -.08 +3.4 TA IDEX A: FdTEAp NA JanGrow p 26.23-.12 +4.1 GCGIob p 25.72 -.02 +3.3 TrCHYB p 9.02 -.01 +0.5 TAFxln p 9.35 -.02 +0.8 Turner Funds: SmlCpGrn25.91 -.07 +5.8 Tweedy Browne: GlobVal 26.26 ... +1.8 US Global Investors: AIAmn 27.34 -.01 +4.7 GIbRs ... ... NA GIdShr ... ... NA USChina .. NA WdPrcMn NA USAA Group: AgvGt 31.56 -.16 +3.3 CABd 11.09 -.01 +0.5 CmsSItr 27.93 -.03 +2.3 GNMA 9.49 -.01 +0.3 GrTxStr 15.36 -.03 +2.0 Growth 15.40 -.05 +4.0 Gr&lnc 19.78 -.06 +3.8 IncStk 17.49 .. +3.4 Inco 12.12 -.02 +0.6 Intl 24.10 +.03 +3.2 NYBd 11.87 -.02 +0.7 PrecMM 19.27 +.13+11.7 SciTech 10.59 -.04 +4.9 ShITBnd 8.83 -.01 +0.2 SmCpStk 14.85 -.07 +3.2 TxElt 13.09 -.02 +0.6 TxELT 13.96 -.03 +0.5 TxESh 10.61 ... +0.2 VABd 11.53 -.01 +0.6 WIdGr 19.12 ... +3.4 Value Line Fd: Lev Gn 28.64 +.01 +3.8 Van Kamp Funds A: CATFAp 18.60 -.03 +0.8 CmstAp 19.05 -.04 +4.0 CpBdAp 6.55 -.02 +0.5 EGA p 42.30 -.03 +4.5 EqlncA p 9.03 -.01 +2.0 Exch 370.37-1.32 +4.1 GrInAp 21.96 -.03 +2.8 HarbAp 14.62 -.04 +1.6 HiYldA 3.52 ... +1.2 HYMuAp 10.81 -.01 +0.8 InTFAp 18.69 -.02 +0.6 MunlAp 14.54 -.02 +0.6 PATFAp 17.26 -.01 +0.6 StrMunlnc 13.11 -.02 +0.9 US MtgeA 13.58 -.02 +0.6 UtilAp 18.90 -.02 +2.0 Van Kamp Funds B: CmstBt 19.03 -.04 +3.9 EGBt. 36.07 -.03 +4.4 EnterpBt 12.12 -.02 +4.0 EqlncBt 8.89 -.01 +2.1 HYMuBt 10.81 -.01 +0.8 MulB 14.50 -.02 +0.4 PATFBt 17.20 -.02 +0.5 StrMunInc 13.10 -.02 +0.7 US Mtge 13.52 -.02 +0.5 UtilB 18.85 -.01 +2.0 Vanguard Admiral: CpOpAdl n76.64 -.18 +3.3 500Adml n116.68-.27 +3.7 GNMAAdn10.18-.01 +0.5 HlthCrn 59.92 -.06 +2.6 HiYIdCpn 6.14 -.01 +0.6 HiYldAdm n10.70-.02 +0.6 ITBdAdmln10.26-.03 +0.8 ITAdml n 13.24 -.02 +0.4 ITGrAdmn9:70 -.02 +0.6 LtdTrAd n 10.69 ... +0.2 MCpAdmln80.77-.28 +4.5 PrmCap r n69.90 -.22 +3.2 STsyAdmln10.31-.01 +0.5 ShtTrAdn15.52 ... +0.1 STIGrAdnlO.49 .. +0.4 TtlBAdmln 9.97 -.01 +0.8 TStkAdm n3 44-.09+3.8 WellslAdm n52.43-.07 +1.5 WellnAdm n54.58-.11 +2.6 Windsor n63.39 -.26 +3,8 WdsrllAd n58.06 -.07 +2.6 Vanguard Fds: AssetAn 25.84 -.06 +3.7 CALTn 11.61 -.02 +0.6 CapOppn33.15 -.08+3.3 Convrtn 13.73 -.02 +3.3 DivdGron 12.61 -.03 +2.8 Energy n 58.01 +.41 +3.8 Eqlncn 24.19 -.04 +2.9 Explr n 82.23 -.35 +4.9 FLLTn 11.58 -.02 +0.5 GNMAn 10.18 -.01 +0.5 Grolnc n 32.58 -.05 +4.3 GrthEqn 10.60 -.02 +4.6 HYCorpn 6.14 -.01 +0.6 HlthCre n141.89 -.15 +2.6 InflaPro n 12.31 -.01 +0.4 IntlExpIrn18.87 +.09 +4.7 IntlGrn 21.01 +.05 +3.6 IntlVal n 35.37 +.15 +4.5 ITIGrade n 9.70 -.02 +0.6 ITTsryn 10.89 -.02 +0.8 UfeCon n 15.63 -.02 +2.2 UleGron 21.29 -.04 +3.4 Ufelncn 13.60 -.01 +1.6 UfeModn 18.73 -.02 +2.9 LTIGraden9.29 -.05 +1.1 LTTsryn 11.36 -.04 +1.3 Morgn 17.86 -.06 +4.3 MuHYn 10.70 -.02 +0.6 MulnsLg n12.54 -.02 +0.6 Mulntdn 13.24 -.02 +0.4 MuLtd n 10.69 ... +0.2 MuLong n 11.21 -.02+0.6 MuShrtn 15.52 ... +0.1 NJLTn 11.78 -.02 +0.6 NYLTn 11.24 -.02 +0.7 OHLTTEn11.97 -.01 +0.6 PALTen 11.29 -.01 +0.6 PrecMtls r n23.16+.17 +9.0 Prnmcprn 67.30 -.22 +3.2 SelValu r n19.82 -.03 +3.8 STARn 19.78 -.03 +2.6 STIGrade nl0.49 ... +0.4 STFedn 10.22 -.01 +0.4 StratEq n 23.80 -.06 +5.0 USGron 18.26 -.03 +5.1 USValuen14.64 -.01 +3.2 WelIslyn 21.63 -.04 +1.5 Welltn n 31.59 -.07 +2.6 Wndsrn 18.78 -.07 +3.8 Wndsll n 32.69 -.04 +2.6 Vanguard Idx Fds: 500Sn 116.66 -.27 +3.6 Balanced n19.99 -.05 +2.6 EMktI n 18.71 +.09 +7.4 Europe n 27.91 +.05 +2.8 Extend n 34.85 -.16 +4.2 Growth n 27.99 -.13 +3.7 rrBnd n 10.26 -.03 +0.8 LgCaplx n22.69 -.06 +3.7 Pacific n 10.99 +.03 +4.7 REITrn 20.39 -.16 +6.8 SmCapn 29.18 -.14 +4.4 SmlCpVl n5.01 -.09 +3.8 STaend n 9.89 -.01 +0.4 TotBind n 9.97 -.01 +0.8 Totllntln 14.16 +.04 +3.9 TolStk n 3044 -.08 +3.8 Value n 22.55 -.02 +3.6 Vanguard Instl Fds: Instldxn 115.73 -.27 +3.7 i InsPIn 115.74 -.27 +3.7 TBlistn 9.97 -.01 +0.8 TSInstn 30.45 -.08 +3.8 Vantagepoint Fds: Growth 8.82 -.03 +3.9 Victory Funds: DvsStA 16.92 -.08 +4.1 Weddell & Reed Adv: CorelnvA 6.18 -.01 +3.7 Wasatch: rSmCpGr 42.21 -.32 +4.8 Weitz Funds: Value 36.19 -26 +1.6 Wells Fargo Adv : Opptylnv 49.90 -.23 +2.9 Western Asset: CorePlus 10.30 -.02 +0.2 Core 11.10 -.03 +0.3 ! William Blair N: GrowthN 11.93 -.01 +5.1 IntlGthN 26.10 +.22 +49 Yacktman Funds: Fundp 1514 -05 +19 KR t r w n w 1-q .. a i & m D "Copyrighted Material Syndicated Content Available from Commercial News Providers" Osteoporo Support Gn DEATHS Continued from Page 6A David Smith, 57 INVERNESS David Wayne Smith, 57, of Inverness, died Saturday, Dec. 3, 2005, in Gainesville. Born March 8, 1948, in Charleston, WVa., to Char- les and Helen Smith, he mo- ved to this area in 1959 from Bomont, WVa. Mr. Smith David was a concrete ,, , finisher. He was an Army veteran serving in Ger- many during the Vietnam Era. He was a member of the Fraternal Order of Eagles, .Inverness, and he enjoyed fish- ing. He was Methodist. He was preceded in death by his parents. Survivors include his son, Daniel Smith of Citrus Hills, Hernando; one brother, Leroy Smith and wife, Carol, of Inverness; three sisters, Judy Johstono and husband, Herb, of Hernando, Virginia Campbell of Inverness and Marsha Watson and husband, Jerry, of Inverness; and a granddaughter, Lauren Smith of Crystal River. Hooper Funeral Home, Inverness. Robert 'Bob' Woods, 84 HOMOSASSA Robert X. "Bob" Woods, 84, of Sugarmill Woods, Homosas- sa, died Sunday, Dec. 4,2005, at Seven Rivers Regional Med- ical Center, Crystal River Born June 23, 1920, in Massillon, Ohio, to Stanley and Anna (Meyers) Woods, he moved to this area 16 years ago from Boynton Beach. Mr Woods was a retired let- ter carrier for the U.S. Postal Service of Delray Beach and a World War II U.S. Air Force vet- eran. He loved woodworking with his buddy Bob. Survivors include his wife, Tracy Woods of Homosassa; two stepsons, Mark Utech of Port St. Joe and Greg Utech and wife, Dorothy, of Grand Canyon, Ariz.; one brother, Ken Woods of Canton, Ohio; and one grandson, Nolan Utech of Atlanta, Ga. Wilder Funeral Home, Homosassa Springs. Donivan Zachary, infant CRYSTAL RIVER Donivan Matthews Zachary, infant son of Gilbert Zachary and Constance' Figieri of Crystal River, died Tuesday, Nov. 29, 2005, at Seven Rivers Regional Medical Center in Crystal River. He is also survived by his paternal grandmother, Tina Figieri of Crystal River; pater- nal grandmother, Janet Za- chary of Dunnellon; paternal great-grandmother, Marjorie Zachary of Dunnellon; and sev- eral aunts and uncles. Brown Funeral Home, Crystal River. Click on- cleonline.com to view archived local obituaries. Funeral NOTICES Evelyn M. Bartlett. Funeral services will be conducted at 2 p.m. Thursday, Dec. 8, 2005, from the Chas. E. Davis Funeral Home of Inverness. Private interment will follow in The Fountains Memorial Park of Homosassa. Friends may call at the funeral home from 1 p.m. until the hour of service. Verne E. Burnett. The service of remembrance for Verne E. Burnett, 80, of Beverly Hills,. will be conducted at 2 p.m. Thursday, Dec. 8, 2005, at the Beverly Hills Chapel of Hooper Funeral Homes with the Rev. Mary Louise DeWolf officiating. Friends, who wish, may send memorial donations to Hospice of Citrus County, PO. Box 641270, Beverly Hills, FL 34464, or the charity of their choice. Rudolf A. Doelker. Memorial service for Rudolf A. Doelker, 85, of Citrus Springs, will be conducted at 11 a.m. Thursday, Dec. 8, 2005, at the Hope Evangelical Lutheran Church in Citrus Springs with Pastor James Scherf officiating. Private cremation will take place under the direction of Brown Funeral Home and Crematory. Inurnment will fol- low the service at the Hope Evangelical Lutheran Church Memorial Garden. In lieu of flowers, donations can be made to Hope Evangelical Lutheran Church Memorial Fund. Wallace Keith Elkins. A visi- tation for Wallace Keith Elkins, si s pGul:oja. Spine Inmtuie and Dr LJes I Ronzo Psis are evaluating the pubLc interest in 1stipp0n 1roup for uu olicopnrnici residence Thi supponr girup oup l, ouid begin nieeting Ia, u.u),.',ii There would be a Q & A lforiri v.ith ue-r speakers erw ring IL'piN-. ,u,.h .J iiuniII, ''',e i'r>.t, general hea lt c .ire and oilher litl,'t ic IS.0ie important to the aging. Please call to register at 352-341-4778 Highway 486* 2301 E. Norvell Bryant Hf)w., Inverness ' Primary Care Specialist Dr. B.K. Patel, MD, IM Norman Lucier, ARNP Preventative Care... BoarB Cert-iled in Internal Afea-inc r.-e iT i. Active staff at Citrus Memorial & Seven Rivers Hospital C.:.H-_" T ':Ei'ri,.r: Prtlic palp ng rth ,-i 'r IEn " A* McJle ,a.re Blue Cro;- Blue Sh,-ld Ht-elltri Opt,:l.ri F TETi .: F'PPC'* Hunmanar 11 Afur-.r in.ruranlI - Beverly Hills 4,., (3 2 746 --1 51 i Inverness I w Hyrla-,8I, (352) 746 1515 hnber. AL 10687 Rates Include: . 3 Home Cooked Meals * Snacks Available 24 Hours * Maid Service * Assistance wv'Activities of Daily Living M dedication Assistance * Staff 24 Hours 7 Days Activities | * Satellite Television SPriate Beauty. Shop 4 ... . '"e V I 63, of Crystal River, will be con- ducted from 5 to 7 p.m. Thursday, Dec. 8, 2005, at the Strickland Funeral Home Chapel in Crystal River. Private cremation will follow. Sandra Ann "Sandy" Kufro. The service of remembrance for Sandra Ann "Sandy" Kufro, 64, of Sugarmill Woods, will be conducted at 11 a.m. Wednesday, Dec. 7, 2005, at the Homosassa Chapel of Hooper Funeral Homes with Chaplain Sheryle Phillips officiating. Interment will follow at Florida National Cemetery, Bushnell. Friends 'may call from 9:30 to 11 a.m. Wednesday at the chapel. Peter J. McDougall. Visita- tion for Peter J. McDougall will be from 2 to 4 p.m. and from 6 to 8 p.m. Tuesday, Dec. 6, 2005, at the Heinz Funeral Home, 2507 State Road. 44 W, Inverness. Funeral services will be conducted at 9 a.m. Wednesday, Dec. 7, 2005, at the Heinz Funeral Home in Inverness. The Rev. Frederick Ohsiek will preside. Interment with military honors will fol- low at the Florida National Cemetery in Bushnell. Doretta Louise Brock Sasso. The service of remembrance for Doretta Louise Brock Sasso, 78, of Inverness, will be conducted at 11 i.m. Friday, Dec. 9, 2005, at St. Margaret's Episcopal Church, 114 N. Osceola Ave., Inverness, fol- lowed by a luncheon reception. Inurnment will be in Green- wood Cemetery, Wheeling, WVa. Friends, who wish, may send memorials to Hospice of Citrus County or St Margaret's Episcopal Church. Cremation will be under the direction of Hooper Crematory, Inverness. David Wayne Smith. The service of remembrance for Mr. David Wayne Smith, 57, of Inverness, will be conducted at 1 p.m. Wednesday, Dec. 7, 2005, at Florida National Cemetery, Bushnell. Military honors will be afforded by Leroy Rooks VFW Post 4252, Hernando. Friends may call from 10 a.m. to noon Wednesday at the Inverness Chapel: of Hooper Funeral Homes. Those, who wish, may send memorial donations to the American Cancer Society, Citrus County Unit, PO. Box 1902, Inverness, FL 34451-1902. Robert X. "Bob" Woods. A memorial service for Robert X. "Bob" Woods will be conducted at 2 p.m. Thursday, Dec. 8,2005, at Wilder Funeral Home, Homosassa Springs, with Deacon Richard Meyer offici- ating. Memorials may be made to the local American Heart Association or to the American Cancer Society. ,=~UTA CFUNDs IONY(L noc TUESDAY, DECEMBER 6, 2005 9A n PO... /ul,. /,..ln/, l"l:V -'l. a 10A TUESDAY DECEMBER 6, 2005 ww* cnrOIICI-BrfllrC-,ur :0T ,~- 7N Q K " ' )~ ) *-~1,A~.> *I~:27\ Cf ~ CiV1 / i ~ "Honesty is the first chapter in the book of wisdom." KEEP IT LOGICAL Accountability act good way to keep budget on track O n Nov. 28, Florida Repub- lican legislators intro- duced a proposed "Gov- ernment Accountability Act" that would require every public agency, department and commis- sion to be reviewed every eight years. The plan authored by Rep. Ray Sansom, R- Destin, and backed by Gov. Jeb Bush THE I is modeled after the Propos 1977 Texas Sunset revi Act, which led to the gover closing or consoli- ager dation of 47 govern- ment agencies and OUR 01 a reported savings Find t of $737 million. Simply stated, this measure would force every agency to prove its worth to a joint House-Senate committee and through public hearings once every eight years. If the agency makes a good case, it car- ries on for another term; if not, lawmakers can vote it off to the shopping block.: - * It's beyond :ironic that these sunset reviews would ask the very same legislative body - and some of the very same legis- lators that created dysfunc- tional agencies to recognize and act upon their failures. And the heated mood of mod- em politics would make it diffi- cult to achieve a truly objective review. Suppose, say, an agency specializing in environmental protection or veterans' affairs was found to be grossly over- staffed and overspending. Could politicians be trusted to make the appropriate cuts, knowing they'll be labeled anti-environ- ment or anti-veteran during the next election cycle? Still, the proposal's fundamen- tal goal is to create accountabili- ty across state government. It's a S se n r th noble cause and one that should be carried out provided it's done right. To start, it must be a bipartisan effort. Waste- is practically built in to government, and the guess here is it won't be difficult to find. But the formula for getting rid of that waste must be a numerical, not SUE: political. 3d state If the party that w of happens to be in iment power in any given cies. year makes cuts based on ideology, 'INION: it's likely those cuts ie fat. will be reversed after the next politi- cal swing and a con- servation effort becomes noth- ing more than wasted time and money. But if a truly bipartisan com- mittee can agree about cuts based on a specific formula of dollars spent vs. results achieved regardless of the agency in thecrossfire- every- body wins. Maybe Florida wouldn't find the $737 million and 47 unneces- sary agencies that Texas found, but if there's only one unneces- sary agency and $1 million to save, it's worth finding and fix- ing. Elected government officials in Florida face their own sunset review each time they run for re- election every two years for a state representative, every four years for a state senator, every four years for the governor. It's reasonable to ask non-elected government entities to state their case to the public every eight years. Is every arm of the govern- ment that handles public money handling it wisely and carefully? It's a fair question to ask. United Way needs your help If every Citrus County family donated $25 to United Way this holiday season, the fundraising agency would meet its goal of support for the 23 nonprofit i agencies in our community. We urge residents to get involved and send in a check. Your contribution Share the blame S S This is in response to elderly drivers, Nov. 10. Clip out all accident reports from newspapers for a two-week period. Most accidents are from i ages 17 through 60, as reported in the newspa- CAL, pers. No one is safe in Florida on roads drivers 5K3 or pedestrians. Rock trucks are a major hazard, usually going faster than J. L. 3-0579 too. speed limits. Red lights, by many, are ignored. Excessive speed in Florida, by people who don't know or obey road rules, causes accidents. The elderly are not the total problem. All ages, especially 17 on through middle age, should really use common sense and arrive safely so others may arrive safely, SO YOU KNOW A guest column on Page 5C of Sunday's edition. "Inmate needs your help," should have included the local mailing address to the National Alliance for Mental illness (NAMI). Those agreeing with three points in the column 1.) that juveniles should not be sent to adult prisons unless a major crime has been committed, 2) mental health treatment is a better alternative to lail: and. 3) that Adam Bollenback has served more than enough time for his crime and should come home to Citrus_ County are asked to send a letter stating "I agree" to NAMlI-Citrus F.O Box 641312 Beverly Hills, FL 34465. Letters will be presented during a clemency review meeting for Adam Bollenback on Dec 15 Land-use laws made to be followed CITRUS COUNTY CHRONICLE EDITORIAL BOARD Gerry Mulligan .............................publisher Charlie Brennan .............................. editor Neale Brennan ......promotions/community affairs Kathie Stewart .................circulation director Mike Arnold ........................ managing editor SAndy Marks .................................sports editor ..' John Murphy ................classifieds/online leader Founded in 1891 Jim Hunter ............................. senior reporter by Albert M. Curt Ebitz ............................... citizen member Williamson Mike Moberley.................... guest member "You may difer with my choice, but not my right to choose." David S. Arthurs publisher emeritus - ----Guest o DoN HESS Special to the Chronicle The movement to dissolve Crystal River has been brought to its deserved end through the work of one attorney burning the midnight oil, pouring over his law books. By his efforts to preserve the won- derful city and fantastic wildlife so many of us love, Anthony Perrone, the city's new attorney, may have done more good for Citrus County and Florida than even he knows because without Crystal River's excellent land- use laws, our way of life, our river and our wildlife would not have long sur- vived the attack of the big-city devel- opers we are now facing. Crystal River can now focus on the critical business of erecting a wall of protection around our homes and waterways that will forever keep at bay such astonishingly harmful proj- ects as the proposed Pete's Pier mon- strosity. The main building blocks of our city's barricade will be every law, ordi- nance, setback and restrictive covenant in the city's Land De- velopment Code and Comprehensive Plan. The mortar of our wall will be supplied by the many other entities that have similar laws in place to assist in our fight. With the help of Citrus County, the EPA, Florida Waterways and numerous other groups, we can block the fantastic increase in density that these developers are attempting to foist on our delicate, fragile ecosys- tem. All of us owe a deep debt of grati- tude to the many talented, dedicated men and women who spent thousands of hours through the span of years writing and fighting to put our land- use laws in place. Without those efforts our wonderful way of life would have been lost. It is now of the utmost importance that all of us in Crystal River, Citrus County, even the state of Florida, hold each and every one of our officials, elected and otherwise, to the highest LETTERS Exiting Iraq Re: Letter from WL. Dixon, Nov 4. First, Mr Dixon passes the buck. The charge that peace protesters endanger troops is foolish. Who really put our troops in danger? The person who sent them to war for reasons that he must have known were false. When those false reasons were exposed, he discovered new "rea- sons." The blood of our loyal American troops, as well as tens of thousands of Iraqis, is on his hands. Second, we did it for oil. Mr. Dixon himself recognizes that when he says "Iraq would become (actually it already was) an oil-rich nation con- trolled by Islamic fascism ... "This war was initiated by a country gov- erned by oil magnates. Third, Dixon asserts "Islamic ter- rorists cannot defeat our military in armed combat." True, if this were a war like World War II. But this enemy does not have a navy or airforce and will never line up battalions on a bat- tlefield and duke it out in "armed combat." Insurgents have the support of a majority of people. The "secret" report of the British Department of Defense, reported in the Sunday Telegraph Oct. 23 and in the Daily OPINIONS INVITED The opinions expressed in Chronicle edi- torials are the opinions of the editorial board of the newspaper. M Viewpoints depicted in political car- toons, columns or letters do not neces- sarily represent the opinion of the edito- rial board. Groups or individuals are invited to express their opinions in a letter to the editor.. Telegraph Oct. 24, determined that 82 percent of Iraqis want coalition forces out of Iraq, and up to 65 percent favor covert attacks on Britons and Americans. We will continue to see increasing numbers of roadside bombs and cars loaded with explosives. This will not standards in protecting our water- ways. Our path is simple and true: We must emphasize to every person in authority that we want our existing laws to be followed to the letter on any construction or developments along the banks of our rivers and lakes. If we do not do this, the damage done by developers who care only about their own financial well-being will be swift in coming and irreversible for all time. To allow more harm to Crystal River, arguably the crown jewel of the Nature Coast, would be a tragedy of immense proportions. At this moment in time, we have not even been told the names of the peo- ple who wish to construct the massive Pete's Pier building that will house what is, by any reasonable definition, time-share condos. Mr. Clark Stillwell, noted attorney for numerous major commercial proj- ects in Citrus County, is the legal rep- resentative for these unnamed devel- opers who stand to gross some $100 million if we allow them to build what will be the beginning of the end of our way of life. Mr. Stillwell was recently told that his client's six-story mega-structure, to be built on the fragile banks of the lit- tle spring-fed pond we call Kings Bay, was very much out of keeping with the spirit of our Nature Coast theme, and that it would to serve to destroy much of what we hold dear. It was suggested that his developers come up with a plan that would help preserve and protect our little river. He responded with a very tough let- ter to City Hall. In his letter, he made the statement that his developer's new "attached plan site depicts 240-250 units (m.o.1.) at 900 square feet for such a facility." This is a 100 percent increase in density over the 120 or so units he first submitted a few weeks ago. In other words, Mr. Stillwell is create a winnable situation. While not a crushing defeat for our forces, it yields a slowly accelerating, painful and relentless bleeding. Finally, "Groups who oppose the war have no plan. None!" Unfortunately true, but then, is "stay the course," "don't set a date," "no exit strategy," and send in more men and billions a better plan? With this administration, we are stuck and can only let the situation atrophy until we see the helicopters evacuating the last Marine. I don't know if we can do it from the roof of the American embassy; this time the gulf may be too far. Rodney M. Cole Beverly Hills Politics of compassion I do agree with Jeb Bush on most of his ideas. However, his brother President Bush is another matter. Don't we care about one another anymore? Why can't the politicians put themselves in other people's shoes? Sad to say, some people are just not capable of being compassionate. Doris Cox Keeler Doetz. telling us that if all city, county, and state officials do not fall immediately to their knees and give these "mystery developers" everything they want, then the developers will do double the harm to the community and really teach us who is boss. Mr. Stillwell's letter goes on to state that the "parking for the City Boat Ramp is lost," and as a final gesture of hard-ball tactics, and "the marina would have to convert to a private facility." This is the first test of our will to pro- tect our homes from what will be only the beginning of many assaults on our way of life and our sensibilities. It is imperative that we send a message far and wide by dealing with the Pete's, Pier developers in a firm manner - not a single variance given, not one setback altered, nor a restriction lift- ed, or any city easement surrendered, or any city covenant broken. Let these developers build by the same rules and high standards all our friends, family and neighbors are required to abide by when they build. By this we will put all future develop- ers on notice that Crystal River is spe- cial and we fully intend to keep it that way, and that if they come to our river banks they must abide by our laws. Now is a good time for all of us in the county to advise all of our officials that the will of the vast majority is to take extremely good care of all waterways in Citrus County. Call or e-mail the offi- cials you know and ask them to simply enforce our laws, period. Nothing more is required. We do not need to take anything away from our property owners, and we should not give any- thing away to waterfront developers. Don Hess is a Crystal River resident and is leading an effort to prevent the development of a large condominium project where Pete's Pier now stands in Kings Bay. to the Editor lllllllmm ... .. .. M". MUMMA Do IMark Selis Unites States Audibel Centers For Hearing Excellence 3 DAY EVENT Tuesday, December 6th- Thursday December 8th FREE Consultation Call564.8884 with Mark Selis Your appointment with Mark Selis oooo oe EXPERT IN THE NEWEST DIGITAL HEARING AIDS Meet with Mark in a private consultation; his 25 years of experience can help you overcome frustrations associated with hearing loss. Mark will share his unique approach ensuring that you receive the best hearing help available to improve the hearing that you have. "Find Out For Yourself How Much Better You Can Hear & Understand" The three types of loss that our specialist will address in our demonstration technique: *MILD Just beginning to miss punchlines, asking people to repeat, etc. *MODERATE Struggling even when people are close, T.V. is up too loud, embarrassment, etc. * SEVERE/PROFOUND Those who can't hear without hearing instruments. -- 8---. can make in your life. You will be glad you did. Call now and schedule your appointment. 1. FREE Video Ear Inspection 2. FREE Pure-Tone Audiometry Test 3. FREE Digital Consultation And Demonstration INTR E@DU1@N AODBEL' 7~~D~~AX ~~i BETTERHEA- RIN G IS We are a professional practice that cares about you. Better hearing involves much more than just buying a hearing aid. Let our team of professionals provide you with the right combination of technology, care and service.. SMulti-Channel Expansion Helps Reduce Low Frequency Background Noise. r-_- ----:----------- ---- --=- 7--'-------- --- - -A'I-V7 Try Before You Buy I DA, ,KTli COUPON SUPER SPECIAL - SUPER SPECIALBring In This Coupon For A 9 9/ ft ( Per Pack All Sizes T- a. -- r^TTT T S99 Limit 2Per Householdc FREE C, JlFT L -- p ir-Exses218105L ....-1J If Accompanied By A Relative/Freind They Receive A Gift Also! I WALK-INS WELCOME CREDIT CARDS & H.J.AN C ACCEPTED VISIT ilaUDIBElL r, Crystal River Mall -6- Providing Superior Hearing Care Since 1961 1881 NW US 19 N* Near JC Penny* 352564-8884 resDonsibe for avment have the right to refuse to ay or be reimbursed for payment for any other service, examination or treatment that ib performed within 72 hours of responding to the reduced fee service, examination or treatment L L- mwmm TUESDAY, DECEMBER 6, 2005 11A CITRUS COUNTY (FL) CHRONICLE ^ ^ |^^ I 12A TUESDAY DECEMBER 6, 2005 .com L-.UA /-i .47 ~ / \.~ II C -:* Not afraid to die -: I * *fl.~ 9 ( owmrt to inanitv d.hcn . Blast unleashed% tern r in Iratw Available fr a "Copyrighted Material" Syndicated Content om Commercial News Prov MMlb SMA iders" i . ebb.. amoI mlMell. ow. a. nw wee w e IS e taste or neaven in unicago. peupie uiuuuu Lileili. ule. K I I lase o T heaven in unicago. people aruuliilu lie-m. ulm. k Homecoming Donovan returns to )' -_ : 1"-- '" .... ) Eagles get last Word - - Agamam "asmmmf ill aMG mes a41m bome - 40 h so ."1 Warriors lose on buzzer-beater cjrisak@chronicleonline.com Chronicle The power went out at about 7:45 p.m., taking all but the emergency lighting with it and forcing Seven Rivers' offi- cials to postpone the sched- uled boys basketball game with Ocala Word of Faith. Fifteen minutes prior to that, however, Kimberlee Thomas turned out the lights on the Warriors' girls hoops team, knocking down a 40-footer in the final second to give the Eagles a 48-45 victory. "That's the second game already this season we've lost on a buzzer-beater," said Seven Rivers' coach Scott Swander, his team now 4-4 overall and 3-1 in the district. "In the second half, I was very pleased with the way we played. But we came out sleepy in the first quarter again we never seem to have a good first quarter." Still, there was no underes- timating the Warriors' come- back. Trailing 11-7 after one quarter, they fell prey to a 9-2 Eagle run to start the second to trail 20-9 two minutes into the period. With 2:20 left in the half, that deficit had expanded to 27-15; Seven Rivers managed to score the final four points to narrow the gap to 27-19 at the break Poor shooting continued to haunt the Warriors, however (they were a mere 14-of-67 from the field, 20.9 percent), so when Word of Faith scored four-straight points to push its lead to 36-25 midway through the third, it seemed too big a deficit for Seven Rivers to overcome. Wrong. The Warriors incor- porated a half-court trapping Please see /Page 3B I Bums shines, but Tiger grapplers fall Lake Weir wins dual meet, 45-28 ..4".. ", :,,-: OACCH jmsoracchi@chronicleonline.com Chronicle After the gymnasium was dead silent through the first four matches, Bradley Burns got the crowd into it. The Dunnellon wrestling team found itself down 21-0 before Burns stepped onto the mat and thoroughly defeated scored three straight pins to Lake Weir's Jordan Vin 15-6 to take a 22-21 lead over the give his team a major decision Hurricanes, but eventually lost and four points. 45-28. Burns controlled the "I thought our kids tempo of the match by .- wrestled well," said scoring 14 points Dunnellon coach Aaron through the first two Richardson of the periods on four take- Tigers. "We've got only downs and two near- .Y '' three guys who've ever falls. Meanwhile, the ornl been at the varsity level." points Vin earned were by Dunnellon drops to 0-1 in Burns letting him escape and dual meets while Lake Weir for stalling on Burns in the improved to 2-0. third period. After Burns' victory, Rusty From that point, the Tigers Leone followed with a pin in the second period over Philip Duncan at 171. Leone, a senior wrestler and one of three with varsity expe- rience, followed with a similar performance as his teammate as the Tiger grappler earned a second-period pin over Duncan. Leone was taken down first but then scored three take- downs and a nearfall before winning. "Rusty did what we asked Please see /Page 2B I ( Irudn: I ow .,% I., "Copyrighted Material Syndicated Content * I V Available from Commercial News Providers" DECEMBER 6, 2005 Syndicated Content F. Available from Commercial News Providers" -Aw a4 *i^^-a- F4 , *:',,." Panthers pound Dunnellon 1 -SORACCH jmsoracchi@chronicleonline.com Chronicle Ron East had the offside trap set up for Dunnellon. The problem is, it only slowed down his opponent. It certainly didn't stop them. The Lecanto boys soccer team traveled to face the Tigers Monday night for a District 4A-6 soccer match, bat- tling a few finishing problems and a driving rain storm before coming away with a 9-1 victory shortened by the mercy rule. Dustin Elder and Darren Ruben each had 2 goals while Dan Eberhart, Zac Grannan, Matt Tringali, Jon Lowe and Albert Bradley all scored. The win improved .." ' Lecanto to 3-4- ,. 1 overall and 3- ' 2-1 in the dis- .. trict Dunnellon ' fell to 1-5 and 1-4. Although Lecanto seemingly controlled every facet of the game, coach Doug Warren wants to see improvement before the team's next game. "We've got things to work on," said Warren, noting that the team travels to Central on Wednesday. "It was a rainy game, I'm glad no one got hurt and we got the win." After Elder scored the game's first goal, Tyler Deem and Eberhart hooked up to beat the Dunnellon defense when Deem sent a pass into space. Eberhart timed the run perfectly and received the ball in a breakaway situation, where he easily scored to give the Panthers a 2-0 lead. Lecanto remained patient as Dunnellon pushed its entire team up to midfield in order to draw the Panthers offsides. In the middle of the first haIlf, the game had turned into a series of whistles based on that. The Panthers, however, were more talented and poised than Dunnellon, according to East. "Lecanto has a lot more experience than us," East said. "I thought we held them a little in the first half but in the sec- ond half, they wore us down." The score was 5-0 in favor of the Panthers at halftime. Todd Maloney, a senior mid- fielder, led a 4-on-1 break that drew Dunnellon's keeper out. Maloney slipped a pass across the box to Tringali for a 6-0 lead. The lone Tiger goal came in the 59th minute when Enrique Gago headed in a goal after a corner kick. The ball was punched straight up into the air by keeper Tyler Jordan and Gago was the highest one up to cut the lead to 6-1. 1 'Bttfe 2B TUESDAY, DECEMBER 6, 2005 Ch .- ..=! = ps in charge Il.:i , W. "Copyrighted Material Syndicated Content NHAvailable from Commercial News Providers" ('arAmll pr)nd t ) I .wrfei't match rfor Southern (al SPORTS CnTRus COUNTY (FL) CHRONICLE ....... ....... FL) ............. . ... .T A D CE MB R 6 . FOOTBALL 2005 AP All-SEC football teamose,gle, uri. Offense. PLAYER OF THE YEAR (OFFENSE) Jay Cutler, Vanderbilt PLAYER OF THE YEAR (DEFENSE) DeMeco Ryans, Alabama COACH OF THE YEAR Steve Spurrier, South Carolina FRESHMAN OF THE YEAR Darren McFadden, Arkansas BASKETBALL NBA EASTERN CONFERENCE Atlantic Division W L Pct GB Philadelphia 8 10 .444 - Boston 7 9 .438 - New Jersey 7 9 .438 - New York 5 11 .313 2 Toronto 3 15 .167 5 Southeast Division W L Pct GB -Miami 10 7 .588 - Washington 7 8 .467 2 Orlando 7 10 .412 3 Charlotte 5 13 .278 5% Atlanta 2 14 .125 7% Central Division W L Pct GB Detroit 13 2 .867 - Cleveland 10 6 .625 3% Indiana 10 6 .625 3% Milwaukee 9 6 .600 4 'Chicago 8 8 .500 5% WESTERN CONFERENCE Southwest Division W L Pct GB San Antonio 14 3 .824 - Dallas 12 5 .706 2 Memphis 12 5 .706 2 New Orleans 8 8 .500 5% Houston 4 12 .250 9% Northwest Division W L Pct GB Minnesota 9 6 .600 - Denver 9 9 .500 1% Seattle 8 8 .500 1% SUtah 7 10 .412 3 * Portland 5 11 .313 4% Pacific Division W L Pct GB L.A. Clippers 11 5 .688 - Golden State 12 6 .667 - Phoenix 10 5 .667 % L.A. Lakers 7 9 .438 4 Sacramento 7 10 .412 4% Sunday's Games Boston 102, New York 99 Seattle 107, Indiana 102 Phoenix 112, Atlanta 94 Utah 98, Portland 93 Minnesota 85, Sacramento 77 L.A. Lakers 99, Charlotte 98 Monday's Games San Antonio 110, Orlando 85 Dallas 102, Chicago 94. Wednesday's Games Chicago at Orlando, 7 p.m. L.A. Lakers at Toronto, 7 p.m. Milwaukee at Philadelphia, 7 p.m. On the AIRWAVES TODAY'S SPORTS BASKETBALL 7 p.m. (ESPN) Jimmy V Classic Kansas vs. St. Joseph's. From Madison Square Garden in New York. (Live) (CC) 7:30 p.m. (SUN) Florida at Providence. (Live) 9 p.m. (ESPN) Jimmy V Classic Boston College vs. Michigan State. From Madison Square Garden in New York. (Live) (CC) HOCKEY 8 p.m. (OUTDOOR) New York Islanders at St. Louis Blues. From Sawis Center in St. Louis. (Live) 10:30 p.m. (OUTDOOR) Atlanta Thrashers at San Jose Sharks. From the HP Pavilion at San Jose, Calif. (Live) SOCCER 12 p.m. (FSNFL) Premiership Liverpool vs. Wigan Athletic. (Taped) 2:30 p.m. (ESPN2) UEFA Champions League Soccer Internazionale FC vs. Rangers FC. (Live) (CC) Prep CALENDAR TODAY'S PREP SPORTS' BOYS BASKETBALL 7 p.m. Crystal River at North Marion 7 p.m. Citrus at Wildwood 7 p.m. Dunnellon at Belleview 7:30 p.m. Lecanto at Land O'Lakes 8 p.m. Hernando Christian at Seven Rivers GIRLS BASKETBALL 6:30 p.m Hernando Christian at Seven Rivers 7 p.m. Belleview at Dunnellon 7 p.m. North Marion at Crystal River 7:30 p.m. West Port at Lecanto GIRLS SOCCER 6 p.m. Dunnellon at Citrus York at L.A. Clippers, 10:30 p.m. Thursday's Games Washington at Indiana, 8 p.m. Houston at Sacramento, 10:30 p.m. Monday's Box Spurs 110, Magic 85 SAN ANTONIO (110) Bowen 3-6 0-0 7, Duncan 9-17 8-9 26, Nesterovic 4-6 0-2 8, Ginobili 1-4 2-2 4, Parker 7-11 5-6 20, Finley 3-6 0-1 7, Horry 6-9 3-4 18, Barry 1-3 2-5 4, Van Exel 0-2 3-4 3, Mohammed 3-4 0-0 6, Udrih 2-3 2- 3 7, Oberto 0-0 0-0 0. Totals 39-71 25-36 110. ORLANDO (85) Turkoglu 4-12 3-3 11, Howard 4-18 5-6 13, Battle 2-5 2-2 6, Stevenson 6-12 3-4 15, Nelson 8-17 3-3 20, Cato 0-2 2-2 2, Garrity 2-4 2-2 7, Diener 3-5 0-0 9, Augmon 0-4 0-0 0, Morris 1-3 0-0 2, Outlaw 0-2 0-0 0. Totals 30-84 20-22 85. San Antonio 26 20 31 33 110 Orlando 25 21 15 24 85 3-Point Goals-San Antonio 7-18 (Horry 3-5, Parker 1-1, Udrih 1-1, Finley 1-2, Bowen 1-3, Ginobili 0-2, Barry 0-2, Van Exel 0-2), Orlando 5-11 (Diener 3-5, Nelson 1-2, Garrity 1-3, Turkoglu 0-1). Fouled Out-None. Rebounds-San Antonio 54 (Duncan 12), Orlando 45 (Howard 15).' Assists-San Antonio 25 (Parker 7), Orlando 11 (Garrity, Stevenson, Diener 2). Total Fouls-San Antonio 19, Orlando 22. Technicals-San Antonio Defensive Three Second, Orlando Defensive Three Second, Cato. A-14,661 (17,248). NHL EASTERN CONFERENCE Atlantic Division W LOT PtsGF GA N.Y. Rangers 18 8 3 39 92 72 Philadelphia 15 6 4 34100 86 New Jersey 13 10 2 28 81 81 N.Y. Islanders 13 12 1 27 81 89 Pittsburgh 7 14 6 20 77 110 Northeast Division W LOT Pts GF GA Ottawa 21 4 0 42115 52 Buffalo 17 10 1 35 92 91 Montreal 15 7 5 35 77 82 Toronto 15 10 3 33 97 91 Boston 10 14 5 25 91 101 Southeast Division W LOT Pts GF GA Carolina 16 8 2 34 93 87 Tampa Bay 15 10 3 33 87 83 Atlanta 10 14 3 23 92 100 Florida 9 15 4 22 69 92 Washington 9 15 2 20 75 104 WESTERN CONFERENCE Central Division W LOT PtsGF GA Detroit 18 8 2 38103 73 Nashville 17 4 3 37 71 61 Chicago 10 14 2 22 71 92 Columbus 7 19 0 14 48 93 St. Louis 5 15 3 13 62 90 Northwest Division W LOT Pts GF GA Vancouver 17 9 2 36 92 81 Calgary 16 9 ,3 35 69 70 Edmonton 15 11 2 32 89 84 Colorado 14 10 .3 31104 90 Minnesota 10 12 4 24 68 65 Pacific Division W LOT PtsGF GA Dallas 17 7 1 35 88 -72 Los Angeles. 16 11 1 33 98 85 Phoenix 14 12 2 30 80 73 Anaheim 12 11 4 28 72 69 San Jose 10 12 4 24 73 88 Two points for a win, one point for over- time loss or shootout loss. 'Sunday's Games N.Y. Islanders 2, Detroit 1 Buffalo 6, Colorado 4 Vancouver 5, Boston 2 Monday's Games Ottawa 6, Florida 3 N.Y. Rangers 3, Minnesota p.m. Florida at Dallas, 8:30 p.m. Boston at Colorado, 9 p.m. TRANSACTIONS FOOTBALL National Football League CLEVELAND BROWNS-Placed receiver Braylon Edwards on injured reserve. NEW ENGLAND PATRIOTS-Released CB Michael Harden from the practice squad. WORD Continued from Page 1B defense that caused five Eagle turnovers in the last four minutes of the third quarter, sparking a seven-point run that made it a 36- 32 game going into the final quar- ter. And yet, even with the momen- tum in its favor, Seven Rivers could not take advantage. The Warriors forced three more turnovers in the first 1:40 of the final period, but missed the resulting four fast-break layups. What appeared to be the key play in the quarter occurred when Christine Pratts was called for a foul on Chelsea Ebert. Officials discovered the Eagles had six players on the court at the time and called a technical foul on the bench; after Ebert hit both of her 1-and-1 free throws, Rachel Capra sank two more, trimming the Word of Faith lead to 38-35. Seven Rivers also got posses- sion back, and Capra knocked in a putback to make it a 6-point trip *0 *- O - and a 1-point lead for the Warriors. Each team went to the free throw line four times in the last 35 seconds, and each converted half their chances to keep it knotted at. 45. After Ashlee Thomas sank the second of her 2 free throws with 17.5 seconds left, Seven Rivers' Rachel Peshek tried to push the ball upcourt for a final shot. However, her pass inside was deflected and Kimberlee Thomas gained possession for Word of Faith, in a position that was famil- iar to her. At the end of the open- ing quarter, she got the ball in the closing moments, dribbled down the right side just past the half- court line and shot-putted the ball in for a closing three-pointer. She mirrored that exact shot in the final second, and it worked. Kimberlee Thomas finished with 20 points, six in the fourth quar- ter; Ashlee Thomas had 17. Capra topped Seven Rivers with 15 points, while Crouch scored 10. "It was an exciting game," said Swander. "I can't wait until we see them again." That'll be Dec. 17 in Ocala. - - 4N.* -"Copyrighted Material - Syndicated Content - Available from Commercial News Providers" F V .0 m0 - ~ =W.M q.* ~ ~ _ - g0- - 4w qw -- * 0~~~ - ."m Qnw21 LIST WITH US AND GET A FREE. HOME WARRANTY NATURE COAST AND PAY NO TRANSACTION. FEES! CrrRUS COUNTY (01) C E SPORTS TUESDAY, DECEMBER 6 2005 SB Homcoming for Donovan "Copyrighted Material ' Syndicated Content Available from Commercial News Providers" Deadlines approaching for league play U STA District 4 director Cathy Priest wants to remind everybody of two upcoming deadlines. The first one is team commit- ments, which will be due Dec 10. Play will begin the first weekend of January. Seniors will play on Saturday (primarily) and super seniors will play on Sundays. Super senior divisions avail- able ore 6.0, 7.0 and 9.0 for women, and 6.0, 8.0 and 9.0 for men. Super seniors are 60+ years of age. If you turn 60 any- time in 2006, you can play the first weekend in January. This is combined rating format, not exceding the division you play in, and the NTRP rating difference must be no more than 1.0 between pairs. Senior divisions are 3.0, 3.5, 4.0, and 4.5 for both men and women. Seniors are 50+ years of age. As with the super seniors, you can start playing the first weekend of January if you turn 50 anytime in 2006. Both divi- sions consist of teams comprised of three doubles teams. The second deadline she is referring to is the one concerning the BMW Combo Doubles Sectional Championships. These will be Jan. 13-15 in Daytona and four Citrus County teams quali- fied. Entry forms with team ros- ter and check are due no later than Dec. 15. This weekend, another Citrus County team is headed to Daytona. It's the 14-and-under team, which will participate in the USA Team Tennis Fall Sectional Championships. Captain Mike Tringali is taking Kristin Tringali, Nadia Kahn, Kristen Hall, Evan Thompson, Joe Tamposi and Jake Tamposi to this junior event. They are one of the 15 teams in this divi- sion, which will be divided into three - flights. Each flight will play a round- robin format and the winners from each flight qualify for the playoffs to determine Eric va the champion. Hoo The Citrus County ., TE group is part of Ace Performance Tennis, which is based at Nature Coast High School and also includes groups from Pasco and Hernando counties. The Citrus County representative for the USTA is Lee Thompson. Anybody interested in playing in this youth league (the new season starts in February) can contact Lee at 341-1836. Monday Night Ladies Doubles No scores for last week but the standings so far are as follows: Black Diamond, 23; Brooksville Kick Butt, 22; Citrus Hills Court Defenders, 18; Pine Ridge Racqueteers, 18; Lg )g Sugarmill Woodsies, 15; Bicentennial Babes, 14; Brooksville Aces, 12; Love Inverness, 10. For more information or to report scores, contact Antoinette van den Hoogen at 382-3138 or hoera@juno.com. USA Women Team Tennis This league is geared towards the 3.0 and 3.5 level players. Each team consists of four players. New players, regu- lars or subs, are always welcome. To sign up or for information about this Tuesday league, contact Char Schmoller at 527- 9218 or e-mail schmol- n den er@atlantic.net. en Senior Ladies Tuesday ,en3 ...... .3.0 ... For information about this league, contact Myrtle Jones at 341-0970 or e-mail mbj30@netsignia.net. Thursday Citrus Area Doubles The results for Dec. 1 were: Citrus Hills Aces def. Crystal River Yoyo's, 8-1; Crystal River Racqueteers def. Sugarmill Oakies, 6-4; Pine Ridge Fillies def. Sugarmill Sweetspots, 8- 0; Citrus Hills Swingers def. Bicentennial Babes, 8-0; Pine Ridge Mavericks def. Skyview, 6-4. For information about this league, con- tact chairperson Gail Sansom at 746-4455 or bsansom@tampabay.rr.com. Thursday Evening Men's League The results for Dec. 1 were: Citrus Hills vs Sugarmill Woods, 4- 4;Plantation def. Crystal River, 5- 1;Pine Ridge def. Whispering Pines, 5-1. For information, contact Whispering Pines Park at 726-3913. Friday Senior Ladies 3.0-3.5 Results for Dec 2 were: Meadowcrest Swingers def. River Haven, 4-0; Pine Ridge Mustangs def. Sugarmill Woods, 3-2; Meadowcrest Love def. Citrus Hackers, 4-1; Pine Ridge Colts vs Crystal River,2-2wind.net. Tournament schedule Jan. 21-22: Crystal River Open at Crystal River High School. Correction A Chronicle/Pines tennis Tournament score was report- ed incorrectly. The correct result: Jackson Roessler def. Kyle Everett 7-6, 4-6, 6-4. Eric van den Hoogen, Chronicle tennis correspon- dent, can be reached at hoera@juno.com. Sale rumors untrue at Citrus Speedway If there is one thing I hate about racing it's all those nasty rumors that seem to find their way throughout the racing scene. And it never seems to matter if it's racing season, or not. This time, the rumor is that Citrus County Speedway has been . sold. I can say with cer- tainty is that the Citrus County Fair . Association owns Citrus County Speedway and that it " has not been sold. The Fair Kim Bo Association has always owned the facility and has leased it to a number of dif- ferent promoters throughout the past 50 years. For the last 10 years, Billy Hooker has leased the track and promoted race events along with a number of different indi- viduals, including Mike Sims, Steve Ziebarth and Jimmy Wear. He has also hired several peo- ple throughout the years to oversee the operational portion of the business, including Bob Eldredge, Tim Christman and current general manager Don Cretty. If any portion of the racetrack was sold, it would be the lease itself and that would take Fair Board approval to do so. And that has not happened as of yet. With all that said, and after seeing some of the stories on a few internet message boards, I feel compelled to offer my opin- ion on just how good, or bad, our 3/8-mile asphalt oval racetrack really is. Last year I spend countless hours researching the history of Citrus County Speedway. Through that research, I found that there were times when pro- moters didn't have money to pay the racers, that the facility itself was not structurally sound and had to be shut down by the county for safety reasons, and that racers got fed-up with race- track management and went elsewhere to race until things changed. Granted, there were promot- ers who put a lot of money into the facility, and did a good job bringing in top drivers and fans from across the state. Hooker succeeded one of the best promoters the racetrack had seen in a number of years. Dan Jones brought in specialty performances like Doug Rose's Green Mamba Jet, The Joey Chitwood Show, and USA Late Model shows that packed the main grandstands at every event. But even Jones had his short- comings. I personally witnessed the downfall of the racetrack in the mid 1990s and decided that being a part of the action wasn't fun anymore. After nearly 15 years as an assistant scorer for Jones, and a number of years covering the action for this newspaper, I decided to leave and head north to Ocala Speedway. It wasn't but a few weeks after I left that the rumors began to fly about the condi- tion of the racetrack and that because of Jones' health issues, he was pulling the plug oin the action for good. )llinger And that's where ; Hooker stepped in. From that point on, : Hooker has run the show. And that show has grown from an original 250 to the more than 600 competi- tors that raced this season. Race divisions have grown from six to nine with most run- ning full fields every race night. Throughout the last 10 years, many improvements have been made to the facility itself. The racetrack has been repaved, widened, lengthened, and seal- ers have been added to the asphalt, all to make for a more aggressive racing surface. Additional grandstands have been added to both the main grandstand and pit area, and skyboxes built to provide spot- ters and race teams a better view of their respective drivers during specialty events. Parking slabs in the pit areas have been added as an enhancement for the competitors use. And this is just the short list of what Hooker has done for our racetrack. Citrus County Speedway is one of the top race venues in the state of Florida. The numbers prove it. We may not always agree with how Hooker goes about running the facility, and I'm not saying there haven't been problems while he has been in control. What we have to remember is that he is the person responsi- ble for making the racetrack what it is today. Racing returns This weekend, Citrus County Speedway will host the Winter Spectacular III with a full lineup that includes 100-lap Open Wheel Modifieds, 50-lap Hobby Stocks, 50-lap Mini Stocks, a Boat Trailer race, and the return of the School Bus Figure 8. Pre-event practice will be Friday night. Pit gates open at 2 p.m. Saturday with general practice at 3.-Main grandstands open at 4, racing begins at 6. Kim Bollinger, Chronicle racing correspondent, can be reached at kbollinger@chronicleonline.com. A bowling league for those who like to roam It's interesting how each of 26-year-old league that travels to the bowling centers in our and bowls in Citrus, Lake and area seem to have their own Hernando counties. personality. They each have their The league has 14 mixed hand- own unique atmosphere and icap teams that include all levels attraction. of abilities. There are several 200 Some are big, some are small. average bowlers, several good Some are newer, and some old. women bowlers and some low The feel of each is probably influ- average bowlers. The ages of the enced a lot by the personalities of bowlers in the league range from its management and early 30s to 80s. The the different things emphasis is on fun. each offers, V The league does not Most of the time I've have any sponsors or asked a bowler why prize money, but do they frequent a partic- hold their raffles and a ular "house" (bowling handicap jackpot center) they've said it's called a Nassau. because it's the closest | It originated in old one to them. The hous- i Leesburg Lanes which es in Citrus county are Don Rua used to be in down- conveniently spread town Leesburg. Since around, making them it is no longer there, easily accessible to all most members have the residents of the dif- adopted Louie's Bowl ferent cities and neighborhoods. in Brooksville, one of their There's Neffer's Bowl on the favorites, as the home base of the southwest side of the county in league. Each team, however, is Homosassa, Manatee Lanes in named after the 'houses' their Crystal River and Sportsman's members normally bowl out of, Bowl on the east side in which provide bowling shirts for Inverness. On the north side of their team members. the county there's Parkview Keeping a league going for that Lanes in Holder and Beverly long takes some dedication and Hills Bowl in Beverly Hills. hard work. Everyone in the But what if travel'wasn't a fac- league chips in as volunteers tor or consideration in your when needed, but to a certain choice of which lane you fre- extent the league has been run quented? Well, you may prefer by Mary Lewis, who has been its one because of its unique feel or secretary since the the second or offerings. You may bowl at more third year of its operation. than one depending on your The current officers are presi- mood. If you were of that mind dent Lou Willard, vice president and wanted to bowl in a league, John Pelitier, and of course, wouldn't it be neat if you could Lewis as secretary/treasurer. try them all? The league runs for 13 meet- Well, the truth is you can if ings between September and you don't mind driving a little. If April, bowling on Sundays at 1 interested, you might want to join p.m. The current circuit includes the Mid-Florida Travel League, a Neffer's Bowl, Manatee Lanes, Beverly Hills Bowl, Leesburg AMF and Louie's in Brooksville. Anyone interested in finding out more about the league, or joining should contact one of the bowling centers on the circuit. Parkview mixed doubles tourney The Mixed Doubles tourney will be Sunday, Dec. 11, with the luncheon beginning at 1:30 p.m. and the bowl- ing around 2 p.m. The format is three games of NoTap (one as 7-pin, one as 8-pin and one as 9-pin) to qualify for the doubles money game. Non- qualifiers bowl the fourth game for singles money. The cost is $26 per team, and reservations must be made by Dec. 9. Saturday Night Strike-A-Mania Four 300 games were rolled Saturday night by Ives Chavez, Dave Norris, Fred Craycraft and Jeff Hickey, but Rick Rollason took the total series with an 836 total. Rick also finished second twice. Ives and Sue won games outright, and Dave, Fred and Jeff tied for first in one game. The 8-pin No-Tap Strike-A- Mania is held Saturday nights and the strike pot is $100. Players must sign in by 6:30 p.m. and the cost is $12 per person. Have you been turned down fora loan? Do you need more than S 10,000 for acy reason? Are you paying more than 10 % interest on another loans orcredit cards? If you are a homeowner and answer- ed "es" to any of these questions, they can tell you over the phone and without obligation ifou qualify. Ili credit carddebt? Less-than-perfect credit? Self employed? Late house pay- ments? Financial problems? Medical Neffer's Bowl The Senior Bowlers of America (SBA) 2005 Appreciation Event will be at Neffer's Bowl on Dec. 10-11. It is open to all senior scratch male and female bowlers who have paid their 2004 and 2005 dues. First place is guaranteed $1000, plus highest super senior out of the money will cash. Cost is $135. A barbecue will be Saturday after the event at the bowl- ing center. Contact Bob Janego @ 407-332-0775 for details or e-mail sbabowling@aol.com or bjanego@aol.com. League Results Sportsmen's Bowl 11-27 Sunbowlers Senior League Men: Ted Crites 203, Jack Edge 525 Women: Barbara Barnes 193-534 Monday Night His and Hers league Men: Ronald Ebel 227-587 Women: Jean Cunnungham 200, Angie Esposito 515 Tuesday Night Firstnighters Jerry Rogers 238-677 Wednesday Morning Early Birds Martha Shearer 168-472 Friday Afternoon Kings and Queens Men: Karlo Busvek 193-474 Women: Phyllis Aplin 167-462 Friday Evening Friday Nighters Men: Don Griffin 279-804 Women: Denise Griffin 205-590 Saturday Morning Youth League Boys Justin Blount 194-536 Girls Kim Wrightson 165-459 bills? IRS liens?!t doesnW matter! If ou are a homeowner with sufficient equity. there's an excellent chance you will qualify for a loan- usuallywithin 24 hours. You can find out over the phone-and free of charge-if you qualify. Honey Mae Home Loans is licensed by the the FL Dept. of Financial Services. Open7 days a week for your convenience. 1-800-700-1242 ext. 238 Sportsmen's Bowl 12-3 Sunbowlers Senior League Men: Ernest Whritenour 225-573 Women: Tessy Randazzo 179, Barbara Barnes 474 Monday Night His and Hers league Men: Carl Cyr 215, Jeffe Borre 569 Women: Edith Koziski 207, Jean Cunningham 594 Tuesday Night Firstnighters Scott Brown 265-736 Wednesday Morning Early Birds Tessy Randazzo 176483 Thursday Afternoon Hits and Misses Men: Ed Powers 215, Skip George 526 Women: Mille George 184, Diana Steuterman 490 Thursday Night Pinbusters Rosemary Burdick 228, Jean Cunningham 593 Friday Afternoon Kings and Queens Men: Karlo Busvek 222-552 Women: Barbara Barnes 201-489 Friday Nighters Men: Jack Randazzo Jr. 235-630 Women: Denise Griffin 224-568 Saturday Morning Youth League Boys: Justin Blount 173-485 Girls: Amanda Shields 158, Kim Wrightson 441 Manatee Bowl Cruisers Bowling League Handicap Men: Dick Landwehr 260, Bill Crain 567 Women: Judy Gardner 247, Carol Codella 451 Scratch Men: Dick Landwehr 216 Women: Donna Parlaman 166 Parkview I anes Preserve Pinbusters Handicap Men: Casey Zablinski 244, Ray Perham 632 Women: Marilyn O'Neil 233- 648 Parkview Seniors Handicap Men: Ron Barker 253, Charlie Lord 691 Women: Edie Dietz 234-653 Ladies Classic Handicap Toni Mills-Smith 241-689 Scratch Lee Heeschen 222 Late Starters Handicap Men: Rich Lee 241-641 Women: Melida Manion 24-659 Scratch Men: Ives Chavez 257 Women: Fran Barlow 211 Wednesday Night Men Handicap John Beatty 281, Jay Rizzo 809 Scratch Jim Randle 251, Jay Rizzo & Ross McConeghy 722 Women's Trio Handicap Joan Swartzwelder 235-636 Holder Hotshots Handicap Men: John Beatty 292, Chuck Hindbaugh 750 Women: Judy Hindbaugh 270-765 Scratch John Beatty 257 Parkview Owls Handicap Men: Jim Cheff 293, Lou Martin 731 Women: Jeanne Burt 275, Ruthann Radford 744 Scratch Men: Jim Cheff 257 Women: Fran Barlow 233 Bowlers of the Week Men: Jay Rizzo, 149 pins over his average Women: Judy Hindbaugh, 105 pins over her average Monday Night Specials ---- ---- Handicap Men: Jack Kelly 294-737 Women: Faye McCranie 258, Lori Ciquera Don Rua, Chronicle bowling 719 correspondent, can be reached Scratch Men: Robbie Yoakum 246, Mark correspondent, can be reached Smith 663 Women: Lori 225-629 at donrua@gmail.com. Advertisement Homeowners with money worries may qualify for low-interest loans 4B TUESDAY, DECEMBER 6, 2005 SPORTS Crrwus COUNTY (FL) CHRONICLE 0o i .IfT ENNIS -01 -ii I Dr. C. Joseph Bennett As the holidays draw nearer, many people will have to deal with the grief of losing a loved one. 'Tis the season to be jolly,' but a recent bereavement can take the joy away S .-; . : . kphan@chronicleonline.com Chronii 'h his time iol the sear luslu- SV ally sigluals a time of' great cheer and warmn teelingl. But as atilthe iolida\ s drain. necire:r mani\ people will liae lto deal '. ithl the ll i'lri ot losing a loved one "There's ceilainl\ an inreased store's level tills time of\ eal:" said Jonathan Beardt. Winlgs griet serv- lees manager for Hospice of Citrs CountIy "I think the nmemo- ries tend rise to the surface THINGS T There are so nalln.\ ood tines U Talk about . they '\e spent E Be tolerant over the years. cal and psyc and that makes its. thle pa1in so ElminteU ^ J 1 Ehrnmnate u g'eat." stress. Beard believes that the best a\ E Be with Stip to handle be- fo.rting peop reaveinent is to 0 Talk about t keep the isute in died. a clear perspee- M Do what is tiWe and. imoree impolrantly. not U Plan aheadI to i1lenore 'hat has happened and to allo\ yourself the time to g gle\e. "\Ve (can't pretend that those \\ho liate died never ex, tled," he said "We sihoulld take the time to honor them and to talk about the Individual that died " Bejard sl2,ge'sied oneI \\y to i'elleilIhei a lost l \ed o lie is to have a -pecial ornia ielit lor that person on the Christmas tree Another suggestion is to create new traditions. For instance. Itf o ti're the nen v. i0 ho sts the hilli- da test i tiles eerl (ear, perhap- this go-n'unid someone else call have the part, or mia be iv t ihae a party at all On the oiither .ide of tlit; lli.he r1i' illid \ ho III I, 1lot 1:1 -''he\ 1 I'- need to ilit de0l"t.iiir 0 i .lU a il lI V.. a1;,1 not full c.,Ir1 prelhend I,,-o I lIhe bereft are feeling, andi -*li'i. l i.r to be respectli.tl "E\eonle'- leelIn-'5 are imipor- itant and \(* nIeed to 2I\e OtLIi- selhes permiis-ion to be." Beard said. "So man3 times, the holiday s are about doinl It's ilk to elimri- nilate unnecesary Stlres lnd jl.lt doingg w% hat's HAT HELP ri1tfi Or:,\'Lu YoCI dion t hae If- please ever,- body else ' Its finding this leO-1 l coI i foirt that i- llipoltallnt lor those 1 li1 'Ier gnie\ in FAind e-.prei- sons of .,oi-r taith thatli are iillp rtalt, find a Beard said' s" ,,eimne s peo- ple IAt don't fIeCl a ll'o m rtal 1)1 le able I1 tallk atou ll glrlel ithl otheiers I)b'catLse they feel like they're t llking alboutll -olething -sad Ii', Oh.' Children can iel tI Ist. durinL Ihlle holiday sIhuLtIlle Ine011time bIut it needs to be understood that thii timieot tlie ear c'ani be incredibll!,, toughl on them. "Kids generall, gel. imor, excit- ed about tHe holidays," oald Tomas Goinzale- uhlE, i- a CitrL-l CoLinlty sehoh ol o ei vl ,r.irker anllrl IItcensed mental lIllith Con-,dt:or "I link at tlhie i lie tkelln, the;, <.an:i pel Ilore eol(, I toiall.' ,l v.i ii, espeL'lal! i1 their pl,.lure o Ilhe ideal holida-.\ doesn't ,coe I o.Meth- er like tilhe, p -ied ii to, I Ilink kid- i-a ll ha.e ri'.. -a rie .ki 1nd 1' I).oll, n- .1- ,dl ll_ n - Ilim e-- and I tnik tlhi ir emll" I o,.!,:,! are hiilher at Ime li,.'lIcla3 " \\lWhile adults nia\ liplt., e 3 bil aro.ind lChildren % l'i:' 1care deallnll \' Ithl \a illOU- Il'rlll- u.1l _r It'l.. Gon,'ale- believes that'- iKh- to beI up fro1 lt itih a child "I thinlik to w late tler extent kld can understand, the\ -hould be spoken i Ill aIl I olleII- i. ii vllel:r' lie said "Let them kino thal the persoli has dieiLd Li.l mabhe eieli ho\' lhe.\ died i il\ ou l., a 15- \ear-old w.ill understand morei than a 5- ear-old. ,-': relate it in a '\ay tlle\ can nllill"er;itand. It'- al-oc impoilanili to leI kid- kno\w that the adult lna be feeling dtoii n and to iinlder-iald Ill t it OK " Gonzllalez also I aid that t hildrell m igll '1 \tre--i tI elie -el\-% in k' .\. - ati,)ica! i :I adill \WhileL a adultt Imaa ,L<. eo d'leiires'ed, a child lma deal '%% ih Ihs or hi'er triel' :i actinLe o1.1ut a re-- i \ Tl- i', colbal thlliI bIeha hl ,n1ah-_les i'..i- M ll-eI d ct laD illlllig Ihe clllldt' enel 'I-'\ |)O5111\ el\. -: l lh a- eLL:oI.Ir- aping a hobl:b Like adull:. children ia wv.anti lime Ir thliemsel',e andi thai. is line to dn extent "I Illink kids sometimes the.\ need liie I lolui a ,i-,e t 'o." Gonii.ale-- said ".A lot ,of time-. It get a.ilated Lel then klio-', llit \3ttu r,-lthere and lhat.\,.- care ,-,r liem t1 e-., retreat t,.,,, far !it 1 thelliselms e mi ke s.i'r Ui1i i til-:> Pl-a.- -ee /Page 6C l(hii,,r,. Phai, qie. tI So etllieI iI le tine l a Ila-11 t qullick ill '110 I' I:,1 _i ,1 1 i n l r u pi 11F n 'I 1. it- 'lim l-l ti re ii e I lie itoi 1ear -.- 'ICk dIied 51Id- IIl.\ oiN aI TILIir IdA:, Il a\I of Iielli - Lati- He 10. a4 25 S.ol i itIine-, it let-I ilke' that lli :)pe i>ncd j liii,_,- .-..*-,.e i I ,n:, ll . ", oind ,:.lier I.Ilm i ItIt -el. like t e-ier- da I I doni' re !il. kiN .'. hI o\\ 1I ar-tI u- late hov\'. I l 1- 1 l`2 III iI I -3.1 Ilh .t F'e nre\e ull'e :d a I e-' like hI and [\I e Ie \ I1r i 1 i 1 1 I le iKii i 1,- li II -' ,l,_il - nale mi thiougl il- lor ,i .i tliaII 211101 \\t- m eIi 1 ii I-1 11 ,-.1 ilh gI :111 ,L alid b1 i, k lIV -I I lI-. .h a.j iiH z I )..p Ih.'I l -n kh . H :l,! IIIn I 1' .1[' ul|:, I, ., ,' Is l, i-v b ,:,1l" l h e Ii.r.l ._-, _,l U 1 [ in1 li':1d :, 1)re 1,,lh :,11.1- !"'J.-11-,.,1 l I.Ii I1 -." . F'h i !Page 6C Words to know before tackling Part D of Medicare P art D is an insurance policy; it is ered by your insurance plan. purchased from an insurance Co-brand: Many insurance compa- company, pure and nies are using the plans of simple. Although the govern- major health-specific insur- ment created the guidelines 4 ers. So, this term just means of the plan and pays the 7- other entities or companies insurer about three times .. that market the same plan. the amount that you pay, Co-pay: The fixed dollar insurers are to follow the amount that that you will pay minimum rules or their for a prescription. Example: actuarial equivalent. $10 per a supply of a pre- Here are some terms you scription. need to understand. These Dan Rohan Co-insurance: Your share terms may not be included .. of the cost of a prescription, in all plans. expressioned as a percent- Insurer: The insurance '. M ..."E age of cost. Example: 32 per- companies that you will pur- cent per prescription. chase your prescription drug plan from. Supplies of prescriptions: Depending Formulary: A listing of the drugs cov- on the insurer, a monthly supply may be considered 30 or 31 days. A multiple supply simply will be multiplied by the allotted number of months of said sup- ply; the maximum is usually three times what is considered monthly: Example: A three-month supply of the above co-pay would be $30; the above co-insurance would be 32 percent of a three-month supply Tiers: Tiers are levels of cost for dif- ferent drugs, depending upon the insur- ers formulary When you purchase a policy, your monthly price is indicated; tiers do not affect this premium. You are included in all tiers. Example: A plan may offer drugs in tier 1 for $6 co- pay per monthly supply Commonly, these are generic drugs. Tier 2 drugs may have a co-pay of $30; these usually are brand names and sometimes referred to as preferred brands. Tier 3 drugs might have a co-pay of $60; these usually are higher priced brand names and are sometimes referred to as a non- preferred brand. Tier 4 might have a cost of 30 percent co-insurance; these may be referred to as specialty brands. Note: Not all plans have four tiers. Most have -, 1' rI have seen as many as five or the insurer may have created a cost of drug outline that may be referred to a generic. ,, i-Wi r,.-d brand and non-I.i, fi i ..i brand, and/or spe- cialty brand. And others may simply express your cost of drug levels in co- insurance percentages. Most compa- 'I c SO L._ -o o 0 Eo -^S4- 0 >1 /Page 4C Infertile men at greater risk en presenting for infertility treatment are 20 times more likely than men in the gener- al population to be diag- nosed with testicular cancer, according to a new study from New York-Presbyter- ian/Weill Cornell Medical Center. The finding under- scores the importance of urological screening for any man with infertility. This is important secondary to the fact that such an evaluation is often not a part of infertil- ity treatment. Male infertility is fre- quently handled by repro- ductive endocrinologists, not urologists, and a lot of these men are being fun- neled straight to in-vitro fer- tilization programs without a comprehensive workup of other possible problems they may exhibit. There is evidence that infertility and testicular can- cer have a common etiology in many cases, beyond the. well-known risk associated Please see /Page 6C DECEMBER 6, 2005 0 // I ~* I, / I i--.7 / I / i / { 7 K..: /1 / First year so hard Editor's note: Thi- t< ithe htst in a ito-i;patl i ,'I li a/.,oit/ i,:,ii KI hhii.'il P lh o iS ar- 'ni ,, tO' ': i. Il hs li best tr'l-lnd dsat h I think about i:n be-t frierid Rck tG;;.iia ',a "' ,. .er. da- i ,, cI-'" i e- _i lllie ll !i : l i i, I!r i I0 l'H i (I a'. le ll mIl e\e- hlma\ \ 1:.1 I.- i lie la., In c.li-i -11 lhaL h! a-s ut e lt red ili t r'.' 1i .t ,.,I tiii It 5 .la e I1 i11 t.ihell -,i ni.l .ti h I CLur griel ot your physi Chological lihr- Snriecess3r r porttie, cornT ,le. he person wh.-. ight tor you. Ior t3rfmil about b)einle Please see ,e, 2C TUESDAY, DECEMBER 6, 2005 HEALmI CITRUS COUNTY (FL) cHRONICLE Deck yourself with holiday style Don't flush meds down toilet Editor's note: This is a new feature appearing in the Health and Lifestyles section of the Chronicle on the first Tuesday of every month. It is written by Lillian Knipp, an internationally 'trained hair design- er, make-up artist, skin-care specialist and fashion design- er. A former model and modeling agency owner, the Citrus County busi- ness owner's new advice column wel- comes questions Lillian from women and AS men of all ages need- LILL ing advice about hair, fashion, skin and how to create their own unique look and style. Do you feel the stress of this holiday season with activities that include party and social obliga- tions that require you to look your best? Many of us have minimal ,time and/or money left over to :dress up ourselves after dress- ing the hearth and home! I'm sure this makes some feel just like the Grinch: you know, messy hair and nothing to wear. So here are a few tips that will make you sparkle, with minimal time and money! 1 First, you need a vision of what you like to look like for ,the holidays. Study magazines, :sale circulars and catalogues :(make them useful for some- :thing!). This hardest but most 'important step will ultimately : save you a bundle of time when t shopping. 2 Take the snipped pictures of your favorite looks and items with you when you shop so that you will remember "the look" 3. Depending on your budget, look for sales and deals in department stores, outlets and, for the seriously limited budg- et, secondhand or thrift stores have treasures that would surprise you (that is how Madonna got her original look in the 1980s all from sec- ondhand stores). 4. Choices abound in holiday wear and styles: black velvet, red satin, silver and Knipp gold shimmer; the ;K simple "little black IAN dress" these are classics you can find anywhere. But the real holiday magic happens when you accessorize - with scarves, jewelry and hats (take notice, men, of hats as well a very distinguished and a classy holiday look, espe- cially the fedora). Common clothing items look completely new and different paired with belts, boots, opaque or pat- terned hosiery, a sweater or jacket top. These are also great options for those on a budget! 5. Hair: If you cannot afford a' salon service, you can shine up your color with drugstore- counter semi-permanent color glaze. Be very careful with the level of darkness and tone because the boxes can be deceiving. Choose a level that matches your natural color and tone as much as possible. For all that you do, at the least, treat yourself to a salon hair design. You can up-do your own hair with simple twists. You can look online for step-by- step illustrated "how-to's." Finish any style with holiday sparkle by adding rhinestone hair accessories like clips, combs, barrettes, etc. 6. Make-up: Look at those magazines again and pick out "your look," one that compli- ments your eyes and skin tone. Remember, holiday parties require a little heavier make- up with contouring to make your features stand out. Parties are usually in the evening, which allows you to wear a more formal look. Don't be afraid to be glam- orous. Everyone else will be decked out, just like the halls - why shouldn't you? The hol- idays only happen once a year, so have fun with it. It's your time to shine! Tip of the week: Now that the winter weather is here, your hair and skin will begin to feel a little drier due to the lack of humidity. Try moisturizing products for your skin (this means you too, men) and extra- moisturizing make-up for women. A great make-up to try is mineral make-up. All natural minerals make the make-up feel like a part of your skin, and have a stronger dye load, meaning they last all day. They're perfect for busy sched- ules and will allow you to go day into night with the same face. Need advice about hair care, skin care or style? Ask Lillian. Send your e-mail questions to asklillian@ chronicleonline.com or mail them to ATTN: Ask Lillian, Citrus County Chronicle, 1642 N. Meadowcrest Blvd., Crystal River, FL, 34429. HEALTHconnection programs set Special to the Chronicle Seven Rivers Regional Medical Center (SRRMC) pro- vides health education pro- grams that may help residents obtain and maintain a healthi- er lifestyle. Take-home infor- mation and refreshments are provided. Programs are held in the SRRMC Medical Offices. *Building Community; .RQpm, unless otherwise noted. Registered participants will be' notified of changes in date and times or cancellations. To reg- ister, call (352) 795-1234 or (800) 436-8436. Medicare Part D Prescrip- tion Drug Program is set for :2:30 p.m. today. It is presented :by SHINE, a nonprofit volun- teer organization established specifically to help senior citi- zens with medical insurance issues. Free. Home Safety & Assistive Devices is set for 11 a.m. Wednesday. It is specifically designed to address and assist caregivers, as well as grand- parents raising grandchildren. This program takes a, hands-on approach, to assistive devices a nd how a caregiver can access, them. Basic home, fire and per- sonal safety are also discussed. It is presented by the Family Caregiver Support Program. Free. Common Sleep Problems is set for 10 a.m. Thursday. Sleep disorders like insomnia, apnea, restless leg syndrome and snoring may interrupt daily activities. Avoid the com- plications of sleep problems by seeking diagnosis and medical treatment It is presented by Sunoj Abraham, MD, board certified in sleep medicine, pulmonology, critical care and internal medicine. Free. Minimum Invasive Hip Surgery is set for 12 p.m. ,Monday..New techniques per- mit surgeons to use less-inva- sive joint replacement proce- dures involving smaller inci- sions. These techniques offer same or better long-term results, with shorter and less- painful recovery. It is present- ed by Jeremiah A Hubbard, DO, board certified in orthope- dic surgery. Free. "I'm Wearing One ..!".. i A "The Qualitone CIC gives you better hearing T for about 1/2 the price of others you've heard EST of. I'm wearing one! I4 Come & try one for yourself. I'll give you a 30 DAY TRIAL. NO OBLIGATION" on Qualitone CIC David Ditchfield TRI-COUNTY AUDIOLOGY Audioprosthologist HEARING AID SERVICES $9 Inverness 726-2004 Beverly Hills 746-1133 -l K>a~ ^^^^^ ^^^Bl -- " Mark Barnhurst, P.A.C. Family Practice Walk-In Medical Center & Family Practice Monday Friday 8:00am 5:00pm A c c E\S Q: Local authorities have advised me not to dis- pose of outdated or unused medications in the trash or down the toilet. Pharmacies I checked with won't take them either. What should r- I do? A.: The proper disposal of outdat- ed or unused pre- scription and non- prescription drugs is a concern all over -' the United States. When I did an RichardI Internet search on this. topic, more ASK than six million .I .--a Web sites were identified. Flushing medications down the toilet may be associated with environmental damage. When medicines are flushed down a toilet, they usually go to one of two places: a septic tank or through a series of sanitary sewers into a wastewater treat- ment plant. In both of these situations, medicines can harm the bene- ficial bacteria that are respon- sible for breaking down waste., In addition, sewage treatment plants are not designed to remove medications, and many drugs have been identified in lakes, rivers and groundwater. In fact, in some cities, researchers have reported lethargic fish swimming in water containing drugs that affect the nervous system, and fish with both male and female sex organs in water- ways that contain human hormones. j Antibiotics are of particular concern, and an increase in bacterial resistance to multiple antibi- -" otics has been attributed to their offrmann increased release into the environ- .:"';. ment. In addition, ->..B;i some medications contain mercury compounds that can pose a potential risk to humans and wildlife that consume fish from polluted waters. Issues regarding the disposal of medications in the trash include potential access of the drugs to children, pets, wildlife and drug abusers. Furthermore, privacy may be a problem if prescription vials are thrown away with patients' names on them. So what should the con- sumer do? There are no specif- ic government guidelines for the disposal of drugs by con- sumers. Probably one of the most appropriate methods of medication disposal is via incineration, but this process is not readily available in many communities, and a collection program could be difficult to set up. State and federal rules may also interfere with drug dispos- al efforts. For example, the State Boards of Pharmacy, the Drug Enforcement Agency (DEA), the Department of Transportation, the FDA and the Environmental Protection Agency (EPA) all have rules and regulations that may impact any disposal program. We really need a national effort to develop an appropri- ate and practical drug disposal program in our country. All pertinent governmental agen- cies should be involved in the process, along with pharma- ceutical manufacturers, drug wholesalers, drug-return com- panies, large pharmacy corpo- rations and national pharma- ceutical organizations. Until this happens, I really don't have a good answer to your question. Richard Hoffmann has been a pharmacist for more than 20' years. Send questions to him' at1135N. Timucuan Trail, Inverness 34453. Get A $600 Summer Rebate On The World's Smartest Air Conditioner! Introducing the Florida Five Star InfinityTM System with Puron5- the world's first self-monitoring residential air conditioning system. Designed and programmed to run a daily diagnostic check, it I know cooling. actually adjusts itself to maintain maximum efficiency. ..., I also know sa.ings. You stay cooler, drier and save money. You also get the best, limited * warranties* in the business. * And, right now, you can get a $1200 Rebate when you call Senica your . Factory Authorized Dealer and replace your old air conditioner with a new, two-speed Florida Five Star.InfinityTM System with Puron. Smart air conditioner. Smart deal. * 10-Year Lightning Protection Guarantee * 100% Satisfaction Guarantee * 10-Year Factory Parts & Labor Guarantee 10-Year Rust Through Guarantee * 25% Minimum Cooling & Heating Cost Savings 30 Times More Moisture Removal ' IAir Conditioning, Inc.l Visit us at: 1803 US 19 S, Crystal River 1-352-795-9685 1-352-621-0707 Toll Free: 1-877-489-9686 or visit ^E3~ w1w /___ R" US-19 We're D Kfls .HbKfl Here ' T -1 T If you or a loved one suffered a HIGH FEVER requiring hospi- talization, eventually leading to a stroke or death within 48 hours of kidney dialysis at a Dialysis Center since 2000, You May Be Entitled To MONEY DAMAGES. Call us toll free for at 1-800-961-5291 for a free consultation. On September 30, 2004, Merck Pharmaceutical voluntarily pulled VIOXX from the shelves worldwide after concerns it increases risk of BLOOD CLOTS, STROKE, and HEART ATTACK. VIOXX has shown an increased risk of heart attack and other cardiovas- cular problems after taking VIOXX' for 18 months or more. If you or a loved one has suffered from cardiovascular problems or heart attack following the use of VIOXX, you may have a legal claim. Call us toll free for more information at 1-800-961-5291. The Accident & Personal Injury Law Center, P.A. is a private firm located in Hollywood, Florida, Sarah Weissbard Attorney At Law j ullI.r C M Hollywood, Florida The hiring of a lawyer is an important decision that should not be based solely upon advertisements. Before you decide, ask us to send you free written information about our qualifications and experience. HEALTHCARE, LLC. 6279 N. Lecanto Hwy. Beverly Hills Fl 34465 (352) 522-0094 866-937-8721 >|HB^B-MiHH---lr Modes 3 .DB, 8TD wit FE4or 5CVAwithbraned idoo coi andInfiityContol. ome.nert an. onl. -I ul CITRUS COUNTY (FL) CHRONICLE 2C TUESDAY, DECEMBER 6, 2005 HEALTH ACCEPTIN NEW PTIENT H 1 5I I . ,)Thn C %OUF7V T. UEDA, ECMBR 00 Bonding covers dark area ICJ several people have come techniques. Through the use of to me in the past weeks bonding, you can attain a more asking if there was any- youthful and natural appear- thing that could be ance. In the past, we ,done to get rid of the were only able to dark color where bond to the enamel their gums have of the tooth with receded. This dark predictability. color is a result of Many new materi- the root surface ', als available in den- (cementum) of the tistry now allow us tooth being ex- J. to bond to dentin posed. and cementum as . This is most com- Dr. rank Vascini well. Through the only a result of use of these materi- 'abrasion or erosion. SOUND als, we can now get Abrasion and ero- BITES a more predictable sion are most corn- and longer-lasting only seen in the Thi i result senior population. This IS While the dentist I Abrasion is most most is making the dark commonly a result area more natural, ,of aggressive tooth commonly he or she can also brushing or the use enhance the color -of a medium or hard a result of the rest of the -toothbrush. Erosion tooth as well as -is usually a result of of abrasion straighten crooked excessive forces or teeth to round out certain foods eaten or erosion, the smile for a more in excess. pleasing appear- The easiest way to. ance. repair these areas is through In addition to the improve- the use of adhesive bonding ment in the esthetics, these patients will usually experi- ence a decrease in the sensitiv- ity of the tooth. Because of the exposed root surface, it is not uncommon for a patient to have increased sensitivity to colds or tooth-brushing in these areas. Cosmetic dentistry has a lot to offer the patient in 2005. Many advancements have been made in recent years that allow the dentist to enhance your smile whether you are in teenage or senior years. If you have any questions about what cosmetic dentistry can do for you, please take the time to talk about them with your dentist. If they have an interest in the new cosmetic procedures available, you will be surprised at what they can do for you. Dr. Frank Vascimini is a Homosassa dentist. Send your questions to 4805 S. Suncoast Blvd., Homosassa 34446 or e-mail them to him at info@ masterpiecedentalstudio.com. 596-1206-TUCRN Planning and Development Review Board (PDRB) will review and discuss the proposed 2006 First Cycle Amendments to the Citrus County Comprehensive Plan (Ord. No. 89-04) and Land Development Code Atlas (Ord. No. 90-14). CPA-06-01 through CPA-06-15 DDS EAR based Amendments. Applicant is the Department of Development Services. Application No. Chapter Element CPA-06-01 1 Housing Element CPA-06-02 2 Recreation and Open Space Element CPA-06-03 3 Conservation Element CPA-06-04 4 Coastal, Lakes, and River Management Element CPA-06-05 5 .Infrastructure Element CPA-06-06 6 Traffic Circulation Element CPA-06-07 7 Public Transit Element CPA-06-08 8 Aviation Element CPA-06-09 9 Utilities Element CPA-06-10 10 Future Land Use Element CPA-06-11 11 Intergovernmental Coordination Element CPA-06-12 12 Capital Improvement Element CPA-06-13 13 Manatee Protection Element CPA-06-14 14 Library Element CPA-06-15 15 Economic DevelopmentElement CPA/AA-06-02 (Grannan for Lazur) Prescriptions Shipped Directly To Your Home! FREE Info Package Free Price Quote! *' Order by Phone ,_ lmg 10/20mg 5/20mg 10mg 4mg 50mg 90 12 84 100 12 90 100' 90 90 100 84 100 100 12 84 100 90 1 90 84 90 100 5ml Price Generic $228 $149 $155 $226 '$143 $153 $100 $97 $139 $186 $29 $244 $205 $159 $230 $19 $178 $98 $135 $287 $279 $117 $29 $189 $108 Price $185 $112 $130 $116 $83 $108 $166 $68 $149 $99 $178 $138 $88 $154 Northern Meds Direct Call Toll-Free 1-888-495-1315 or visit us online at r- ------------- - s OFF -r - - - - - - LIMIT ONE COUPON PER ORDER I EXPIRES DECEMBER 31/05 I I.---------------------------------J r -- Is I LIMIT ONE COUPON PER ORDER I EXPIRES APRIL 30/06 L_-_- ------------- -------------- Redesignation from LDR*, Low Density Residential District, allowing for mobile homes to GNC, General Commercial District on the LDC Atlas and from LDR, Low Density Residential District to GNC, General Commercial District on the GFLUM for a portion of Parcel 42000, in Section 26, Township 18S, Range 19E, Citrus County. The subject property is intended to be a Commercial Park with offices and shops. The total acreage for this application is approximately 12.41 acres of approximately 28 acre parcel (M.OL.). Applicant is Paul Grannan of Lecanto Ridge Investments for Edward Lazur. CPA/AA-06-07 (Kimley-Hom for Eden) Redesignation from CL, Low Intensity Coastal and Lakes District to RVP, Recreational Vehicle Park District, on both the LDC Atlas and GFLUM on a portion of Parcel 10000,-in Section 15;'" ' T6wiship 19S, Racge 2"0', 'Citrus Cunfity. 'The subject property is intended to be developed as Recreational Vehicle Park. The total acreage for this application is approximately 207 acres. Applicant is Kelley Klepper, AICP of Kimley-Horn and Associates, Inc. for John Eden and New Horizon Funding Inc. et.al. c/o Century Realty Funds, Inc. Interested parties may appear at the hearing and be heard regarding the proposed amendment. The PDRB will hold public meetings on the following dates: Public Hearing: Thursday, December 15,2005,9:00 AM The meetings will be held in the in the Lecanto Government Building, 3600 W. Sovereign Path, Room 166, Lecanto, Florida, 34461. Please note that the PDRB meeting begins at 9:00AM. The actual time that a particular item is discussed will vary depending on how fast the Board moves through the agenda. All persons desiring to participate as an "expert witness" or make a "request to intervene" pursuant to proceedings established in the Citrus County Quasi-judicial Ordinance #2002-A18, shall provide written notice to the Department of Development Services at least five (5) business days prior to the hearing on the matter. Forms for "expert witness" and/or "request to intervene" may be obtained by calling (352) 527-5239 or on-line at commdev/communitydevelopment htm., 102, Planning and Development Review Board Brand Name Strength Q MOND3ORER1 1111 EALTH TUESDAY, DECEMBER 6. 2005 3C RTIC US COUNTY (FL E .1k F7**I - - - - - 4 4C TUESDAY, DECEMBER 6, 2005 Supportive care of patients with urological cancer rologic cancers ac- counted for 21 percent of the 1.33 million new cancer cases in 2003 in the United States. In men, this num- ber increased to 40 percent of new cancer diagnoses and resulted in 16 percent of all can- cer deaths. Between 1989 and 1995, the five-year relative sur- vival rates for all stages of prostate, bladder and kidney cancers diagnosed between those years were 92 percent, 82 percent and 60 percent respec- tively. These statistics indicate that urologic malignancies occur frequently, but are often not lethal in the early course of disease. Caring for patients who suffer and may eventually succumb to a genitourinary cancer is an important concern for urolo- gists. As surgeons, we need to continue to emphasize the available curative treatment options, as well as to recognize and guide patients to medical and surgical supportive care options for advanced prostate, bladder and kidney cancer. Supportive or palliative care is no longer equated with end-of- life care, but rather integrated throughout illness even when cure is possible. Palliative care includes efforts directed at can- cer treatment, as well as treat- ment to reduce symptoms and to improve quality of life. Urologists are familiar with the possible side effects of early prostate cancer treatment, including impotence and incon- tinence. However, advanced prostate cancer is incurable. As the disease progresses, symp- toms may include bone pain, lymphedema, urinary tract obstruction and spinal com- pression. Even in the absence of curative therapy, treatment options are available to allow for a more comfortable life. Initial therapy for advanced prostate cancer should be androgen deprivation therapy. Side effects such as impotence, hot flashes, bone loss and weight gain are common side effects of therapy. Pain is common in metastatic cancer and bone pain is the most common source in prostate cancer. Skeletal metas- tases are found in 70 percent of patients with advanced prostate cancer, and in greater than 90 percent of patients who die of prostate cancer Pain can be dif- fuse or localized and it, is described as an ache, burn or stabbing sensation that increas- es at night. Treatment options include radiotherapy for bone lesions with 90 percent of patients experiencing some pain relief. For disseminated tumors, intra- venous infusion of bone seeking radioisotope 89 strontium can be used. Sufficient bone mar- row reserves must be present before treatment. Generally, the benefit of chemotherapy has been disappointing. However, a recent study evaluating doc- etaxel plus prednisone showed promise. Decreased pain was seen in 35 percent of patients with quality of life improve- ment in 23 percent Third-gen- eration bisphosphonates lower pain scores and decrease the risk of bony fracture. Analgesics are often neces- sary to moderate pain. Opioids are the mainstay for moderate to severe pain and can be used in combination with Motrin-like drugs or Tylenol. Short- and long-acting morphine is often used for more severe pain and the dose should be increased until pain is controlled or adverse side effects become intolerable. Constipation is the most common complaint. Urinary tract obstruction from an enlarging tumor may require catheter placement or consideration for a prostate channeling procedure such as PVP Greenlight laser. Ureteral obstruction and subsequent renal failure may require kid- ney drainage either with exter- nal nephrostomy tubes or inter- nal stents. Spinal cord compression occurs in 10 percent of patients with androgen independent prostate cancer. Symptom pro- gression such as lower extremi- ty weakness may be slow, but rapid onset of paraplegia is pos- sible. Early intervention with IV dexamethasone and urgent radiation or surgical treatment is necessary to achieve return of neurologic function. Transitional cell carcinoma (TCC) is the most common blad- der cancer in the United States. Metastatic TCC, an aggressive cancer with a median survival of less than one year, is associat- ed with debilitating symptoms including bleeding, pain, dysuria and urinary obstruc- tion. Several treatment options are available if conservative treatment fails. Intravesical treatment such as AMICAR, sil- ver nitrate, Alum and formalde- hyde and radiation therapy are noninvasive treatment options. Invasive options include laser vaporization, transurethral resection, arterial emboliza- tion, urinary diversion alone and palliative cystectomy with urinary diversion. Nonlocalized renal cell carci- noma (RCC) progresses rapidly with a five-year survival rate of less than 10 percent. At presen- tation, 20 percent to 30 percent of patients have metastatic dis- ease and less than 30 percent of patients treated for localized renal cell carcinoma have pro- gression to metastatic disease. Since RCC is resistant to radia- tion and chemotherapy, meta- static RCC is difficult to treat and palliation is always a pri- mary goal. Several effective pal- liative options are available. For treatment of fever, night sweats and weight -loss, low- dose corticosteroid therapy is effective. Tumor infarction by arterial embolization can con- trol bleeding, pain and hyper- tension. The most aggressive treatment option would be pal- liative nephrectomy The goal of palliative care is to de- '. crease t - suffering. Curative therapy and pal- Dr. Tom Stringer liative c a r e '. should TODAY not be viewed as separate entities, with one excluding the other. Ther6 should be a smooth transition from mostly curative therapy to mostly palliative therapy. Patient's suffering begins at the initial diagnosis and effective palliation of symptoms requires early identification and treat- ment of physical, psychosocial and spiritual pain. Thomas F. Stringer, M.D., FACS, is president of Citrus Urology Associates, president of the Florida Urological Society and a clinical professor at the University of Florida, Gainesville. Quality Mobility, Inc. Take Wherever You Go! * Disassembles into 4 easy-to-transport pieces * Starting at S925 " Cash & carry special * In-stock only #, emg INV Mif *9 j~v~v 41 Now Accepting Medicare! MEDICARE REPAIRS AVAILABLE. CERTIFIED TECH ON STAFF zzu 352-564-1414 599 S.E. Suncoast Blvd. Behind Dillon's Inn e Did You Know? HOSICE Excellence inf I.-h .'" Care ,since 1983 Hospice is not justfor those who are dying. Fact: As a family-centered concept of care, hospice focuses as much on the grieving family as on the dying patient. Hospice of Citrus County has grief and bereavement services available to the community at large, schools, churches and the workplace. For more information on hospice care give us a coll. In Citrus 352.527.2020 Toll Free 866.642.0962 w w w.-I & caocu co w'-643 0 ma653 ;* _____ __________ 643011 huh? JU /T MBtRIh .Z.Y U it!n . "1 1 Audiologist Dan Gardner M.S. 33 years experience FREE CONSULTATION Dan Gardner Inc. Audiology Clinic Inverness 726-4001 Crystal River 795-5377 648229 COMPLETE MEDICAL & SURGICAL FOOT CARE Adult & Pediatric Specializing in: l t Wound Care & S. Reconstructive ~t Foot/Ankle Surgery CITRUS PODIATRY CENTER, PA EDWARD J. DALY, DPM* KENNETH P. PRITCHYK, DPM* *Board Certified Podiatric Physician & Surgeon *Fellow American College of Foot and Ankle Surgeons PUT A STOP TO Oh, myAchingBack! ^ Medicare and Most Commercial Insurances Accepted Certified Technicians We File Your Insurance Claims Finally, a real solution for lower back pain. Offered Exclusively at Sunshine Medical Introducing the new IDD TherapyT", a revolutionary medical treatment for the relief of low back pain from Herniated discs, degenerative disc disease and facet syndrome. No surgery. No injections. IDD Therapy".' has been proven more than 86% successful and is effective even when all other treatments, including surgery, have failed. Ask your doctor about IDD Therapy. or call us for a free consultation. Sunshine Medical of North Florida, Inc. 3909 N. Lecanto Hwy., Suite B Beverly Hills, FI 34465 , 352-527-2287 I ^^Brightenr Holidays In Sigts' I,) Brands You Like...Prices You'll Love At Opti-Mart we want everyone's focus to be on the holidays. With your donation of one toy for a deserving child in need (donated to local charities) you'll instantly receive: 20% off your comprehensive eyeglass exam! Now $39 Reg $49 $20 off your complete eyeglass purchase! Any Frame, Any Lens! Call 1-800-683-EYES or visit Optimart.Com for a store near you Inverness 2623 E. Gulf to Lake Hwy. 352-637-5180 S Crystal River 1661 US Hwy 19 S. (Kash & Karry Shopping Center) 352-563-1666 F DON'T FORGET GFT CERTIFICATES! UTILIZE YOUR VISION INSURANCE BENEFITS BEFORE DECEMBER 31ST! FOR YOU ,. R ..ENNE *E=,'" "Copyrighted Material Syndicated Content Available from Commercial News Providers" CITRUS COUNTY (FL) CHRONICmEI HEALTH afs __ I F-_ TUESDAY, DECEMBER 6, 2005 SC Don't Suffer from the Common Cold Ever Again! The next generation zinc based, homeopathic cold remedy is available now and offers relief from major cold symptoms in 24 hours, guaranteed! Don't Let the Common Cold Slow You Down Ever Again! No one has time for the runny nose, headache, run- down feeling, congestion, sneezing, sore throat and cough- ing associated with the common cold. Yet on average, adults suffer from 2 to 3 colds per year. And for children it is worse they suffer from 6 to 10 colds per year with the average cold lasting over seven days. Now there is guaranteed relief! Non prescription, home- opathic NO Time For ColdsTM Cold Remedy is so effec- tive, it is GUARANTEED to relieve your major cold symptoms in 24 hours or you'll get your money back. With NO Time For ColdsTM, you don't ever have to suffer from a long, nasty cold again! Multi-Symptom Relief NO Time For ColdsTM Cold Remedy safely and effec- tively relieves major cold symptoms including running nose, headache, run-down feeling, congestion, sneezing, sore throat and coughing. When used as directed, there are no known serious negative side effects. It is non-drowsy, non-habit forming, has no known drug interactions and contains no sugar, lactose or gluten. With NO Time For ColdsTM, there is no need to have a medicine chest full of various cold remedies, plus, it is safe and effective for adults and children, ages 4 and up. Eliminates Cold Symptoms....FAST! Previously only available as a trusted cold remedy in Europe, NO Time For ColdsTM is now available in the U.S. Anders Carlsson is a 32 year old salesman from Sweden, whose job entails a lot of traveling. While he did everything he could to avoid catching a cold, he still managed to catch 2 to 3 colds per year and they usually were quite severe. "Usually I am really sick for 4 to 5 days and do not completely recover until after two weeks." Recently he tried NO Time For ColdsTM Cold Remedy and had this to say. "I had the cold for two days when I tried the new remedy one morning. Already that evening, it started to help. The next morning I was con- siderably more upbeat. My nose had stopped running and my voice returned during the day. The next day I was completely restored. My colds never go away that fast! "* Shortens the Duration of the Common Cold NO Time For ColdsTM provides relief in 24 hours from major common cold symptoms AND it shortens the overall duration of the common cold. Simply dissolve the cherry or lemon flavored lozenge in your mouth upon the first sign of your cold. Repeat with a single tablet within 30 minutes and then one every three hours until your symp- toms are gone up to 5 lozenges a day. It's that simple. 24 hours after taking NO Time For ColdsTM, your major cold symptoms are guaranteed to be noticeably reduced, and within 72 hours, if you're like most cold sufferers, you will feel remarkably better! Relieves: Runny Nose Headache Run-down Feeling Congestion Sneezing Sore Throat Coughing How Does It Work? NO Time For ColdsTM Cold Remedy contains the home- opathic active ingredients, zinc gluconate and Sambucus nigra (Elderberry extract), in a soothing cherry or lemon flavored lozenge. NO Time For ColdsTM helps your body deal with its normal reaction to the common cold virus. Runny nose, headache, run-down feeling, congestion, sneezing, sore throat and coughing are natural immune system over-responses to the common cold virus. No Risk Trial Offer There is no need to suffer from a long, nasty cold ever again. Simply order NO Time For ColdsTM Cold Remedy by phone or purchase NO Time For ColdsTM at your favorite store. Take it as directed upon the first sign of your cold. If you're not feeling better and your major cold symptoms aren't noticeably reduced in 24 hours, you'll get your money back. Simply cut out the UPC code and mail it along with your receipt to SmartScience Laboratories. We will send you a full product refund - no questions asked. Available at Retail Stores! Look for NO Time For ColdsTM Cold Remedy in the cough & cold section. To locate a store near you or to order NO Time For ColdsM now, please call toll free, 1-800-680-0496 or visit our website at Remember, you can get your money back with NO Time For ColdsTM but you can't get back the precious time you lose to the common cold. NO Time For Colds and SmartScience are trademarks of SmartScience Laboratories, Inc. C2005 SmartScience Laboratories, Inc. CITRUS COUNTY (FL) CHRONICLE *Individual Results May Vary TS D ETCITRUS COUNTY (FL) CHRONICLE ROHAN Continued from Page 1C nies work with the tier method, but not all. Total out-of-pocket cost It is difficult for those buying insur- ance policies to comprehend this category, but stay with me and hopefully it will become clear. Let us assume that one is insured to cover the first dollar to a total of $2,250 of prescrip- tion drug cost This simply means that your insurer is pay- ing this total amount, including the $250 deductible, for a calen- dar-year period. What most peo- ple don't understand is that the total amount of the cost of the prescription is applied to your allotted amount. Example: Using the above figures, let us say you have a co-pay of $10 for drug A, and a co-insurance of 32 percent for drug B. We shall assume that the retail price of A is $25 and B is $100. You would pay $10 for A and $32 for B. So, how much is deducted from your total? If you think $42, you would be wrong. The entire "retail" cost of the drugs, $125, will be deducted from your "pool of money," or $2,250. Some insurers, but not many will pass 'their prenegotiated pharmacy discounts on to you. Quantity limits (QL): Many BENNETT Continued from Page 1C with cryptorchidism, or an undescended testicle. In this setting, the testicle or testicles which normally descend from the abdomen into the scrotum do not, and remain in the abdomen. This has long been known to be associated with an increased risk of testicular cancer. To investigate the incidence of testicular cancer among men with infertility and abnor- mal semen, the researchers reviewed charts from 3,800 men treated over a 10-year period. Ten cases of testis can- cer were identified. Based on the incidence of the disease among similarly aged men in insurers will limit the amount of certain drugs that will be dis- pensed. Prior authorization (PA): Many insurers will require that certain drugs need PA; if approval by the insurer is not given, the drug will not be cov- ered. Note: Some insurers may require both PA and QL for cer- tain drugs. You can always ask for a QL waiver; in fact, you may request a drug that is not within the insurer's formulary, key word request Preferred pharmacy: Most insurers will include a list of pharmacies that they "prefer" you to use. Non-preferred pharmacy: This is a list of pharmacies that the insurer requests that you do not use. In fact, if you do, you usually will have to pay an addi- tional cost above your co-pay- ment or co-insurance amount Some exceptions apply, so check with your plan. Note: PPs and NPPs are sometimes referred to as in-net- work and out-of-network Keep my green tea warm, and I will talk to you next week Send questions and comments to "Senior Advocate," 1624 N. Meadowerest Blvd., Crystal River FL 34429 or e-mail danrohan@atlantic.net the Surveillance, Epidemi- ology and End Results data- base, the infertile men had a 22.6-percent increased risk of testicular cancer. Men should have a complete physical examination if infer- tility is a problem, to look for and screen for other possibly life-threatening problems. Dr. Bennett is a board-certified radiation oncologist past presi- dent of the Citrus County Unit of the American Cancer Society, and a member of the board of directors.and the executive committee of the Florida Division of the American Cancer Society. Contact him at 522 North Lecanto Highway, Lecanto, FL 34461, or at cjbennett@rboi.org. PHAN Continued from Page 1C of a beautiful friendship were being sown right there in the media center of Westpine Middle School. Together, we blossomed. In our youth, we were virtually inseparable. To call Rick a kin- dred spirit wouldn't do it jus- tice. It was as if we shared a brain. We liked the same sports, the same movies, the same music and sometimes even the same girls. He was like my twin, except that instead of being a scrawny Asian kid, he was a brawny Italian one. We became known by the sin- gular "RickyandKhuong," the kind of class clowns that some teachers would have to sepa- rate because we were too much of a distraction, while others - the "cool teachers" kept us together because, well, we were a distraction. We laughed all the time and were somehow so keyed into each other telepathically that I could start a joke and he would finish it. While I could make them laugh, Rick could slay them, BLUES Continued from Page 1C don't react in a way that is harmful." The key to getting through the potential pitfalls this time of year is for you and those around you to be mindful of your feel- ings. "Give each other personal space; respect each other's feel- ings, because none of us under- stands what the other one is going through," Beard said. "It's OK to let those who are grieving know that they can talk about that person, and that they don't need to put on a front" To help and it was no surprise to any- one that he was voted "Funniest" our senior year of high school. In addition to the good times, Rick, like a true friend, endured rough times with me. My home life at times was unsettled, and Rick and his family made sure that I had a place to go. I came to know that if things ever got tough, I could always count on Rick's kind ears and broad shoulders. He truly was the Lewis to my Martin, the Butch to my Sundance, the Bart to my Milhouse, the Thelma to my Louise. I can't separate him from myself in many ways. Sure, we had disagreements, (like the time during that hock- ey game when I felt he was hit- ting me late so I threw him an elbow, to which he countered with a punch to my face), but we were always up front with each other and always let it slide. Our friendship was too important and any slight could be easily mended with a fun video game when we were kids or a cold beer when were adults. After that hockey game, we had a pretty uneventful break- fast together at Denny's. Rick liked syrup on his scrambled those who may encounter the pain of holiday grief, Hospice of Citrus County is offering a Surviving the Holiday work- shop from 5:30 p.m. to 8:30 p.m. on Thursday at Unity Church of Citrus County, at 2628 Woodview Drive, Beverly Hills. The workshop is free of charge and open to the entire commu- nity. For more information, call Hospice of Citrus County at 527- SO YOU KNOW Columns by Dr. Sunil Gandhi and F. Douglas Stephenson could not be published this week because of lack of space. Crystal Family Practice Accepting new patients Clinic Services Including: Family Medicine Women's Health Chronic Illness Management Physical Exams Including DOT and Athletic Physicals Dawn Goodpaster, PA-C. 6152 W. Corporate Oaks Drive Crystal River, 794-5086 Clinic Hours: Mon. Thurs. 9AM 5PM Fri. 8AM till Noon Dr. James Lemire, Medical Director eggs, and it's funny sometimes the small things you remember Nothing lingered for us, and I feel incredibly lucky knowing that this is how it is. I'm always a little surprised to hear people refer to a rather large group of people as their best friends. I'm blessed to have a huge group of close, dear friends, but I have only one best friend. Rick was special, and he's irreplaceable. The love of a best friend is unconditional, and my love for Rick is boundless. He always knew what I needed and tried with all his power to provide it When I was nervous, he was calm. When I was sad, he made me smile. When I was weak, he held me up. He pushed me to be my best and he never quit. When it came time for college we decided that the best way for us to grow would be to follow our fortunes separately Rick went to UCF and I went to FSU, and even though we were hundreds of miles apart we spoke and visited often, and the distance only further forti- fied our friendship. I couldn't see him every day, but Rick was always around, somewhere, and that simple thought buoyed me. Because we were apart, holi- days became a big deal for us. If for some reason we couldn't make the road trip to see each other during the year, we knew we could always count on Christmas. Christmas is hands down my favorite holiday I love my fami- ly and my friends deeply and to have a time of the year when I see them all together is some- thing I literally count down to. But this year, the yuletide spir- it's arrival comes with a bit of dread. I can't even fathom taking Rick off my Christmas list this year and subsequently every year to follow. And this bothers me the most You can reconcile the past, and for me the past has been incredibly good. Rick and I were extremely close and noth- ing was left unsaid. Atypical for young men, Rick and I were incredibly comfortable with ourselves and it was rare that we didn't end a phone call or e- mail with "I love you." So I'm good with all of that It's the future I can't compre- hend. I couldn't conceive a time when Rick wasn't going to be around, so while I certainly miss all that has come to pass, I'm already missing what will never happen. CITRUS SC RDIOLOGY Y "g CONSULTANTS P.A. (352)726-8353 WORKING HAND IN HAND WITH CITRUS MEMORIAL HOSPITAL TO BRING LIFE SAVING MEDICAL CARE TO THE CITIZENS OF CITRUS COUNTY. Charlotte Katz, ARNP exceptional diagnosis and treatment. 308 W. Highland Blvd di at & inverness, FL 34452i 651314 S E I Visit Us at C ,-o lenientnt .undy " Convenient Sunday Hours Healthcare I,, I ...:1 St Martin is one of the few physicians in i,, ..,,,rry with dual board certification in both .u... & Internal Medicine: His office in Beverly -iii. .one-of-a-kind for Citrus County with both pr,:,.:.: under one roof. Visit us at S. i:inmhealthcare.com to learn more. Two separate practices: Pediatrics & Internal Medicine including a sick kid's waitin room Daei St.~flI4 Mati1n, MDI 20WegiaBuevad Boadcig ifiedi ohPdat nera 'ei eel il Fomr( iefRsiet. .e nves HathSsemS 7- 8 8 Compensation for time and travel is available for qualified participants. Please call: Florida Wellcare Alliance (352) 341-2100 BeC voi Indcpndiiicnt Self Let us do the housework, the laundry, You go about living your life. Each apa a kitchenette, a living room, one or tw( a window to enjoy the best nature has I ad44c4ALk.- otrent muuua eymg yll except pcrsona .and telephone. Cedar Creek is proud t( Eden Alternative* philosophy. *wwwedenalt,ucom and the cooking. jrtment includes o bedrooms, and to offer, Your al medications o follow the Lc, #AL10230 7- ATKINSSBAY 231N,W.Hwy.19, ASSISTED LIVING RESIDENCE *Downtown Crystal River, FL | S56 4 w e rk e E DECEMBER. MEDICARE PART D PRESCRIPTION DRUG PROGRAM Tuesday December 6, 2:30 pm Detailed information regarding the new Medicare Part D Prescription Drug Program. Presented by SHINE, a non-profit volunteer organization established specifically to help senior citizens'with medical insurance issues. FREE HOME SAFETY & ASSISTIVE DEVICES Wednesday, December 7, 11 am Specifically designed to address and assist caregivers, as well as grandparents raising grandchildren, this program takes a hands-on approach to assistive devices and how a caregiver can access them. Basic home, fire and personal safety are also discussed. Presented by the Family Caregiver Support Program.FREE COMMON SLEEP PROBLEMS Thursday, December 8, 10 am Sleep disorders like insomnia, apnea, restless leg syndrome and snoring may interrupt daily activities. Avoid the complications of sleep problems by seeking diagnosis and medical treatment. Presented by Sunoj Abraham, MD, board certified in sleep medicine, pulmonology, critical care and internal medicine. FREE CHILDBIRTH REFRESHER Thursday, December 8, 6:30 pm Designed for moms and dads who need to review childbirth education class subjects. $15 SEVEN RIVERS REGIONAL MEDICAL CENTER 6201 N. Suncoast Blvd., Crystal River Lunch & Learn MINIMUM INVASIVE HIP SURGERY Monday, December 12, 12 pm Ne irlchinquc permit u.;-,:,.-. to use less invasive joint replacement procedures involving smaller incisions. These less invasive surgical techniques are of great interest to patients due to the promise of same or better long-term results, with shorter and less painful recovery. Presented by Jeremiah A. Hubbard, DO, board certified in orthopedic surgery. FREE HOLIDAY GRIEF WORKSHOP Tuesday, December 13, 3pm and 6pm The holidays are particularly difficult when you've lost a loved one. This two- hour workshop offers help to those who have experienced a loss as well as copying techniques for the holiday season. Presented by a trained bereavement counselor from Hernando Pasco Hospice. Registration required. Call 800.486.8784. FREE IS IT TIME FOR JOINT REPLACEMENT? Wednesday, December 14, 1 pm Knee or hip pain can be caused by a number of issues. What's the best treatment for you right now? Medication? Physical therapy? Joint replacement? This program provides the information you need to make an appropriate choice for you. FREE Programs opn t th pulic R-diter odayby cllin 352.75.123 or 00.43.843 mother to 13 children and former accounting secretary, 6C TUESDAY, DECEMBER 6, 2005 HEALTH '~CITRUS COUNTY (FL) CHRONICLE ENTERTAINMENT TUESDAY, DECEMBI s 6, 2005 7C 1 TUESDAY EVENING DECEMBER 6, 2005 A: Adelphia,Citrus B: Bright House D: Adelphia,Dunnellon 1: Adelphia, Inglis A B D I 6:00 6:30 7:00 7:30 8:00 8:30 9:00 9:30 10:00110:30 11:00 11:30 NBcH 19_ 19 1 Hollywood Factor" (N) 'PG' 6877 Earl (N) '14' (N) '14' Victims Unit (N) '14' 9728 1602896 Show i PWE-DU) BBC World Business The NewsHour With Jim Andy Andrews: The Seven Decisions (In Stereo) 9B Roy Orbison & Friends: A Black and Great PBS E 3 3 News 'G' Rpt. Lehrer 9B 7983 4419 White Night 'G' [M 23186 Performanc WUFT U BBC News Business The NewsHour With Jim Doo Wop Cavalcade: The Definitive Anthology (N) (In Stereo) 'G' Animusic (In Stereo) 'G' Tavis Smiley PBS B 5 5 5 3341 Rpt. Lehrer (N) 18001 9B 720322 96728 87273 C(WFLA News 6051 NBC News Ent. Tonight Extra (N) Fear Factor "Heist Fear My Name Is The Office Law & Order: Special News Tonight NBC 0 8 8 8 8 'PG' B Factor" (N) 'PG' 77761 Earl (N) '14' (N) '14' Victims Unit (N) '14' 7704964 Show WFTV) News B9 ABC WId Jeopardy! Wheel of A Charlie Brown Commander In Chief Boston Legal "Gone" (N) News Nightline ABC 0 20 20 20 20 6457 News 'G' [B 5612 Fortune (N) Christmas 'G' 9 37167 "Pilot" 'PG, D,L' [9 '14, D,V' B 10490 2739308 94015964 CBS 10 10 10 ____ Evening Fortune (N) 'G' [B 4235 Stereo) 'PG, L' ] 35709 Family Edition 48273 Fashion Show 18032 5783728 WTT News B9 19322 Geraldo at The Bernie The 2005 Billboard Music Awards (In Stereo Live) News B 70896 M*A*S*H The Bernie FOX IB 1 13 Large 'PG' Mac Show 'PG' 9 51761 'PG' 32148 Mac Show A WJ) 1 News 50419 ABC Wid Ent. Tonight Inside A Charlie Brown Commander In Chief Boston Legal "Gone" (N) News Nightline ABC 11 News Edition Christmas 'G' 9 80815 "Pilot" 'PG, D,L' '14, D,V' 70438 7619148 48970186 FWCLF) Richard and Lindsay Kenneth Fresh Rejoice in the Lord 'G' Life Today Bay Focus The 700 Club EB 1677631 Phil Driscoll Dr. IND B 2 2 2 2 Roberts'G'8444896 Hagin Jr. Manna 1654780 'G'5399273 8449341 Co Lindstrom FWFTS News 38235 ABC Wid Inside The Insider A Charlie Brown Commander In Chief Boston Legal "Gone" (N) News Nightline ABC B 1 1 News Edition 58099 Christmas 'G' cc 46419 "Pilot"'PG, D,L' ] '14, DV' [ 52070 3736148 83600419 S 1WMORI 2 12 Will & Grace Just Shoot Will & Grace Access Movie: *' "A Hobo's Christmas" (1987) Fear Factor "Twins" (In Access Cheaters IND 2 12 12 12 'PG S' Me'14' 'PG' Hollywood Barnard Hughes, Gerald McRaney. 'PG' 79761 Stereo) 'PG' 9098896 Hollywood 'PG' 71815 WTA Seinfeld Every- Every- Sex and the Gilmore Girls "Fight Face" Supernatural "Wendigo" News Yes, Dear Seinfeld Sex and the IND IM 6 6 6 6 'PG' Raymond Raymond City '14, 'PG' cc 9050506 '14, L,V' BR 9063070 6566493 'PG' City '14, WTOG) The Malcolm in The Friends 'PG' America's Next Top America's Next Top The King of The King of South Park South Park IND 4 4 4 4 Simpsons the Middle Simpsons 9 2457 Model 0[ 88815 Model 'PG, L' [0 68051 Queens Queens '14' 23490 '14' 37877 WYKE ANN News Marketplace County Full Throttle 589438 Playing it Inside Fresh Hope Janet Parshall's Americal Circuit Court ANN News FAM 16 16 16 16 48815 Live Court Smart Business 59326 55877 FWOGX Friends 'PG' Friends '14, King of the The The 2005 Billboard Music Awards (In Stereo Live) News (In Stereo) c9 Geraldo at Home FOX 313 13 1525 S' c 2877 Hill 'PG, L' Simpsons 'PG' cc 26051 45186 Large (N) Improvemen S 2WACX 1 21 21 Variety 5709 The 700 Club 'PG' Bi Bishop T.D. The Power Manna-Fest This Is Your Rod Trusty Praise the Lord cc 57419 IND 21 21 21 793983 Jakes of Praise 'G' 9419 Day 'G' 57983 SWVEA Noticias 62 Noticiero Piel de Otoho Mujeres Contra Viento y Marea La Esposa Virgen 473419 Casos de la Vida Real: Noticias 62 Noticiero 15 15 15 15 125235 Univisi6n valientes. 477235 486983 Edii6n Esoecial 745148 Univisi6n WXP4) Shop 'Til On the Pyramid 'G' Family Feud Sue Thomas: F.B.Eye Early Edition (In Stereo) Doc "My Secret Identity" Time Life Paid PAX H 17 You Drop Cover 'G' 64148 PG' "Greed"'PG' cc 95761 'PG' c 15525 'PG' cc 18612 Music Program 54 48 54 54 Cold Case Files '14' B Cold Case Files '14' Lc Movie: "Knights of the South Bronx" (2005, Movie: "Knights of the South Bronx" (2005) Ted S6641186 318457 Drama) Ted Danson, Kate Vernon. 'PG' ca 398693 Danson, Malcolm David Kelley. 'PG' EB 672167 AMC 55 64 55 55 Movie: ***5 "Holiday Inn" (1942) Bing Crosby, Movie: **** "To Kill a Mockingbird" (1962) Gregory Peck, Movie: *** "A Christmas Carol" Fred Astaire. c9 22357761 __Mary Badham, Phillip Alford. Premiere. cc 86259254 (1951, Fantasy) 28695186 ) 52 35 52 52 The Crocodile Hunter 'G' The Most Extreme Chasing Nature "Bighorn The Most Extreme 'G' B9 The Most Extreme "Wild Chasing Nature "Bighorn S8446254 '"Swarms"' G' 1647490 Ram" 'G' 1663438 1676902 Parties" 'G' 1646761 Ram" 'G' 2875099 BA 7 Kathy Griffin: My Life on Kathy Griffin: Allegedly The comedian performs. (N) Party Party "Graduation" Queer Eye f-r the Party Party "Graduation" the D-List '14, D,L' '14, DL' 925457 (N) cc299419 Straight Gu, 14' 292506 c9 914341 ( 27 61 27 27 Mad TV (In Stereo) '14' Green Reno 911! Daily Show Colbert Chappelle's South Park Chappelle's iDavid Daily Show Colbert 9] 44612 Screen '14' 20419 Report 'MA, L Spade Report ( 98 45 98 98 Crossroads (In Stereo) Dukes of Hazzard 'G' Making- American American American 20 Merriest Christmas Dukes of Hazzard 86235 S 9 45 227186 50047 Dukes Soldier Soldier Soldier Videos 71548 WT 96 65 96 96Choices We Footstep- Daily Mass: Our Lady of Mother Angelica Live Religious The Holy Threshold of Hope 'G' Christ in the Sacraments __ __ 9 Face Christ the Angels 'G' 8252167 Classic Episodes Catalogue Rosary 8251438 City 'G' f 29 52 29 29 7th Heaven "Do Frosty's 'Twas Night Movie: "Chasing Christmas" (2005, Drama) Tom Whose Whose The 700 Club 'PG' c 9_ Something" 'G' [ 810490 Wnter Arnold, Leslie Jordan. c9 471525 Line? Line? 189167 ) 30 60 30 30 King of the King of the That '70s That '70s Movie: "Maid in Manhattan" (2002) Jennifer Nip/Tuck "Sal Perri" (N) Nip/Tuck "Sal Perri" 'MA' S 0 Hill 'PG, L' Hill 'PG L' Show '14, Show '14, Lopez, Ralph Fiennes. 8249693 'MA' 8268728 2571457 H 23 57 23 23 Weekend Landscaper Curb Appeal House Designed to Design Decorating Mission: Designers' Small Space Design on a Designer SWarriors 'G' s 'G' Hunters Sell (N) Remix Cents (N) Orgnz Challenge IDime 'G' Finals H 51T 25 51 51 The Nazi Expedition 'PG' Modern Marvels "Torture Boys' Toys 'PG' c Boys' Toys 'PG, L' Modern Marvels Modern Marvels 'G' c9 9 3966790 Devices" 'PG' 8267099 8243419 8256983 Wrenches. (N) 'PG' 4371439 ) 24 38 24 24 Movie: ** "Holiday in Your Heart" (1997) LeAnn Earth Angels (N) 473983 Movie: "Like Father, Like Santa" 1998, Comedy) Will & Grace Will & Grace Rimes, Bernadette Peters. 'PG' 9 472254 __Harry Hamlin, Gary Coleman. 'G' c[ 476070 '14' '14, D' Ni CK 28 36 28 28 All Grown. Danny Fairly Jimmy SpongeBob Danny Full House Fatherhood Roseanne Roseanne Roseanne The Cosby Up 'Y' Phantom 'Y' Oddparents Neutron Phantom 'G' 654761 'G' 'PG' 927254 'PG' 936902 'PG' 666506 Show 'G' ( 31 5i9 31 31 Stargate SG-1 "Exodus" The Triangle (Part 1 of 3) 'PQG L,V 8591341 The Triangle (N) (Part 2 of 3) 'PG, L,V' 9 5106051 The Triangle (Part 2 of 3) 'PG' 9 9839419 'PG, L,V cc 2463032 fPIE 37 43 37 37 World's Wildest Police CSIl: Crime Scene CSI: Crime Scene Movie: * "Kickboxer" (1989, Adventure) Jean-Claude Van MXC 'PG' *4 3 3 3 Videos 'PG' 9 827524 Investigation 'PG, D,L,V Investigation '14,L,V' Damme, Dennis Alexio, Dennis Chan. 155902 647167 49 23 49 49 Seinfeld Seinfeld Every- Every- Friends 'PG' Friends 'PG' Sex and the Sex and the Daisy- Seinfeld Seinfeld "0 S'PG 572693 'PG' 596273 Raymond Raymond 857896 869631 City'14, City'14, America 'PG, D' 'PG' 206148 Brother" (TOMl 53 Movie: * "The Singing Nun" (1966, Musical) Movie: * "Ocean's Eleven" (1960, Comedy) Movie: * "Scarface" (1932, Drama) Paul Debbie Reynolds. 9 45640326 Frank Sinatra, Dean Martin. 59191902 Muni, George Raft, Boris Karloff. 75437438 Cash Cab Cash Cab MythBusters "Vodka SOS: Coast Guard Dirty Jobs "Bio-Diesel- MythBusters Curing sea- I Shouldn't Be Alive 53 34 53,53 (N) 'G' (N) 'G Myths" 'PG' c 383761 Rescue (N) 'PG, L' Man"'14, L' c 312273 sickness. 'PG' 382032 "Swept Away" 'PG' S 50 46 50 50 Martha Jamie Lee Curtis. Rides "Customized" 'G' Overhaulin' "Bel Air BBQ" Overhaulin' "Firey Brit" Adam Carolla Project Adam Carolla Project (N) c9 522952 767235 'G' c9 776983 Magnum. 'G' c9 763419 "Quitters Inc." '14, D,L' "Quitters Inc."'14, D,L' (' T 48 33 48 48 Charmed "Pardon My Law & Order "Gunshow" Law & Order "Nowhere Law & Order "Slaughter" Law & Order "We Like Cold Case "Hitchhiker" 483 _84 Past" '14, S,V c9 322934 '14, L' 765877 Man" '14' 774525 (In Stereo) '14' 754761 Mike" 'PG' 764148 'PG, L' D 363693 (TRAV 9 54 9 9 Ice Cream Palaces 'PG' Hot Dog Heavens 'PG' Taste of Taste of Made in Made in Destination: Oregon 'G' Taste of Taste of 9 5021273 c9 6088065 America America America America 7438506 America America t( 32 75 32 32 Night Court Night Court Night Court Night Court Little House on the Andy Griffith Sanford and 100 Most Unexpected TV 100 Most Unexpected TV I 'PG' 'PG' 'PG' 'PG Prairie 'G' 1658506 Son 'PG' Moments 1671457 Moments 2860167 (i* 47 32 47 47 Movie: ** "Training Law & Order: Special Law & Order: Criminal Law & Order: Criminal Law & Order: Criminal Law & Order: Criminal ___. __ -U M -i _ t Day"793588 Victims Unit '14' 952815 Intent4' 9' cc 938235 Intent "Gone" '14' 958099 Intent '14' c9 951186 Intent '14' B9 550631 18 18 18 18 Home Home America's Funniest Home Da Vinci's Inquest 'PG' Da Vinci's Inquest "It's a WGN News at Nine (In Sex and the Becker 'PG, S8 1 8 Improvemen improvement Videos'PG'280761 BI 206709 Bad Corner" 'PG' 219273 Stereo) c 289032 Ciy '14, D,L 285341 TUESDAY EVENING DECEMBER 6, S f 46 40 46 46 Sister Sister Phil of the Thats So Thats So Movie: *** "Homeward Bound: The Incredible American Sister, Sister That's So Thas So 46 40 46 4 'G' 969631 Future 'G' Raven 'Y7' Raven 'G' Journey" (1993) Robert Hays. 215457 Drgn 'G' 923964 Raven 'Y7' Raven 'G' Ai Q 68 M*A*S*H M*A*S*H Walker, Texas Ranger 'PQ Walker, Texas Ranger Movie: **. "One Christmas" (1994) Katharine M*A*S*H M*A*S*H HA'PG' 1903780 'PG' 1994032 V B 1670728 "Brainchild" 'PG, V Hepbum, Henry Winkler. 'G' 1659235 'PG' 5396186 'PG' 2316490 _Movie: ** "FistKlid"(1996) Sinbad. Movie: **"Racing Stripes"(2005) Syriana- Middle Sexes: Redefining He and She Curb- "Yesterday" 9c 32539001 Bruce Greenwood. 6196273 Look (N) (In Stereo) 'MA' c9 336148 Enthsm S MAX "Replaceme Movie: ** "Sniper"(1993) Tom Movie: **' "Win a Date With Tad Hamiltonl" Movie: ** "Elektra" (2005) Jennifer "Haunting nt" Berenger. 0 4987983 (2004) Kate Bosworth. 9] 44942964 Gamer. c9 6623544 Desires" MTV 97 66 97 97 R.Wrld MTV Miss Direct Effect (In Stereo) Punk'd 'PQ R. Wrld Real World Reunion: Tex, Real World Austin: Should Punk'd 'PG, Kicked in the SCha 17 'PG' 482631 L' 408544 Chal. Hugs & Rock Have Shown L' 750544 N S 71 Megastructures Tanker Time Bomb Megastructures "Ultimate Naked Science "Killer Naked Science Megastructures "Ultimate S"_Autobahn" 'G'3295815 7766186 Oil Rigs"7742506 Asteroid" 'G'7755070 "Landslides" 'G'7765457 Oil igs" 1436902 62 62 "Casuaties- She Got Game'14' ] Movie: **** "Brian's Song" (1971) Movie: "A Touch of Fate" (2003, Movie: "Casualties of Love: The Long Love" 61607525 James Caan. 9 86019728 Drama) Teri Hatcher. c 6483273 Island Lolita Story" 93070780 CN B5C 43 42 43 43 Mad Money 9852761 On the Money 6783341 The Apprentice (N) (In Mad Money 6789525 The Bi Idea With Donny The Apprentice (In Stereo) Stereo) 'PG' 9 6769761 Deutsch 'PG' 1] 3977896 40 29 40 40 Lou Dobbs Tonight c9 The Situation Room Paula Zahn Now c9 Larry King Live c9 956631 Anderson Cooper 360 c9 221457 287148 934419 943167 ( n 25 55 25 25 NYPD Blue (In Stereo) '14, Cops '14, Cops 'PG, L' Cops '14, Cops 'PQ L' Cos '14, Cos '14, The Investigators 6777780 Masterminds Masterminds U T 25 55 25 25 L,V c] 9887457 D,L,S' 9212544 L,V'3350612 3346419 L,V 8722612 L,V 9882902 _'PG, V fCSPAN) 39 50 39 39 House of Representatives 7088709 Tonight From Washington 607728 Capital News Today 681780 fp0 44 37 44 44 Special Report (Live) 09 The Fox Report With The O'Reilly Factor (Live) Hannity & Colmes (Live) On the Record With Greta The O'Reilly Factor 9 4 57815 Shepard Smith B9 5198032 9c 5118896 Van Susteren 8582693 S42 41 42 42 The Abrams Report Hardball B9 5125186 Countdown With Keith Rita Cosby Live & Direct Scarborough Country The Situation With Tucker 19820761 Olbermann 5101506 5114070 5124457 Carlson P 33 27 33 33 SportsCenter (Live) 00 College Basketball Jimmy V Classic Kansas vs. St. College Basketball Jimmy V Classic Boston College vs. Michigan SportsCente 709934 Joseph's. (Live) 9 361709 State. (Live) c9 627964 r E 34 28 34 34 ESPN Quite Frankly With NFL Films Faces of orts: Brave NBA Coast-to-Coast (Live) 9 5333772 Madden Madden Hollywood Stephen A. Smith 9701815 Presents Old Army Team (N) Nation (N) Nation (N) FSf L 35 Totally ACC All- Ship Shape Totally RoyalVegasPoker.tv Best Damn Sports Show Totally Best Damn Sports Show Best-Sports j393 __ 3_ Football Access TV'G' Football Monte Carlo Millions Period 839051 Football Period 305212 I 136 31 Magic Inside the To Be College Basketball Florida at Providence. (Live) Esiason Women's College Basketball Holiday Isle Classic S__Dancers Lightning Announced 784970 Tournament. From Islamorda, Fla. 71693 he PlusCode number printed next to each pro- PlusCode number. cable channels with the guide channel numbers using I | gram is for use with the Gemstar VCR Plus+ sys- If you have cable service, please make sure that the convenient chart printed in the Viewfinder. This tern.- i all you need to do to record a program is enter its perform a simple one-time procedure to match up the tern, please contact your VCR manufacturer. i The channel lineup for KLiP Interactive cable customers is in the Sunday Viewfinder on page 70. Local WJUF-FM 90.1 WHGN-FM 91.9 WXCV-FM 95.3 WXOF-FM 96.3 National Public Radio Religious Adult Contemporary Adult Mix .'. ~. * ~ .~ Wr I) - kAmdA- owrll ~ a WCUoxI oimfli - -~ "Copyrighted Material Syndicated Content Available from Commercial News Providers" J I3 =I I WRGO-FM 102.7 WIFL-FM 104.3 WGUL-FM 406.3 WRZN-AM 720 Oldies Adult Mix Oldies Adult Standards - - - - * 9- * __ n n - S-CITRus COUNTY (FL) CHRONICLE ENTERTAINMENT TUESDAY, DECiMBER 6, 2005 T7C 4w- F m SC TUESDAY. DECEMBER 6. 2005 COMIC S Cimus COUNTY (FL) CmtoNIcu~ 4 9. 6 9I~ 0P~ 0 *4 I 6 ~ - 0 "Copyrighted Material Syndicated Content - J d Available from Commercial News Providers" I qp IN W p - 4 --go-, a, , A' <. . 4 a doms. --0 f ow * ., 10:10 p.m. Digital. . 0 I \ \ I \ Times subject to change; call ahead. Today's Your Birthday: You have a tendency to speak your mind, which can lead to trouble. In the year ahead, this could work in your favor because situations may arise where cold logic works better than pretty words. Sagittarius (Nov. 23-Dec. 21) When conversing with a sensitive friend today, be cognizant of his or her touchy mental state and weigh your words carefully. This person needs bucking up, not criticism. Capricorn (Dec. 22-Jan. 19) An associate may display petty or stingy traits that could be disturbing. Don't let this person's influence bring you down and don't act in kind. Aquarius (Jan. 20-Feb. 19) Be cognizant of what you say today, especially around people who hold influ- ence over your career. In fact, if you're smart, you won't talk shop, period. Pisces (Feb. 20-March 20) If you want to buff your image, make it a point to compliment others. Even if their faults are glowingly apparent, play them down. Aries (March 21-April 19) If someone speaks disparagingly of another, change the subject. It could make him or her realize the remarks were petty and out of line. Taurus (April 20-May 20) Best-laid plans may be subject to change, much to your disapproval. You'll remain in control, however; you can master any shifting condition. Gemini (May 21-June 20)- You have a gift of spot- ting potential problems today. Use this knowledge to your advantage. By anticipating what might occur, you can bypass trouble. Cancer (June 21-July 22) When it comes to financial matters, pay attention to the small details and the fine print. It could spell the difference between prof- it and loss. Leo (July 23-Aug. 22) Negative first impressions could turn out to be erroneous. Don't jump to conclu- sions some folks could turn out to be pals. Virgo (Aug. 23-Sept. 22) Instead of dragging your feet, plunge right in to your chores early on. Later in the day, you'll be free to enjoy something interesting. Libra (Sept. 23-Oct. 23) Be generous and kind today, but don't be the only one in the group putting on a happy face. Unless the others ante up back off. ' Scorpio (Oct. 24-Nov. 22) You may be hunting for a big-ticket household item, but don't make an expensive mistake by purchasing it at the first place. Shop around, and you'll find a deal. p 0 4 L . - oo -~ m 49D- I 0 4 as A Ad . .0 br I ~bg J, S 1- 'p- A Poo l A q ' '2, 'S 4 9. * Today's MOVIES SC TUESDAY, DECEMBER 6, 2005 CIaRUS COUNTY (FL) CHRONIClE COMICS I . o O I^ &Ohl S v ilpl j"41 r *I FL.- -- -- - CITUS C (F) R CO TRU CIUCNET V l* S TEA DCME 6, 2005 9 I ^ h ^^^TR-^ Serving all of Citrus County, including Crystal River, Inverness, Beverly Hills, Homosassa Springs, Sugarmill Woods, Foral City; Citrus Springs, Ozello, Inglis, Hernando, Citrus Hills, Chassahowitzka, Holder, Lecanto and Yankeetown. 3:0pm -5pm - 563-5966 726-1441 Outside of Citrus County or Citrus Springs call: S1-888-852-2340 Sunday Issue...................5pm Friday Sunday Real Estate..........3pm Friday Monday Issue...........5:30 pm Friday Tuesday Issue............... pm Monday Wednesday Issue.......... 1 pm Tuesday Thursday Issue....... 1 pm Wednesday Friday Issue............... 1 pm Thursday Saturday Issue.................. 1 pm Friday 6 Lines for 10 Days! 2 items totaling '1 150................... 550 $151 400............. 1050 '401 800..............$1550 N TIE A0206 AEL ANEA1516 I ANCAL18- 91 EVIE A0126AN*IMALS 40-415MOBLEHA ESFR EN O9AL 50 4 "Copyrighted Material i 1 Syndicated Content Available from Commercial News Providers" o - WiWF, 60, new to area, likes crafts, theater, - books, oldies, movies and travel. Wants to [Jearn S1-310-989-1473 YourWorld Classifids ,. .e -- Your vorld fir.st. ECert D.N ,Cll O ,,,)N :1 ** FREE SERVICE** Cars/Trucks/Metal Removed FREE. No title OK 352-476-4392 Andy Tax Deductible Recelot 5 Kittens. Utter Trained. Great for Xmas. Couch also. (352) 621-0141 COMMUNITY SERVICE The Path Shelter Is available for people who need to serve their community service. (352) 527-6500 or (352) 746-9084 Leave Message Flame Point white Siamese mix kitten. Seven months old neutered. A loving boy 352-621-8086 FREE FULLBRED Benji Collie, 7 months old, black with white on chest, all shots, neutered, to good home. House broken (352) 344-0322 FREE GROUP COUNSELING Depression/ Anxiety (352) 637-3196 or 628-3831 FREE KITTENS SILKY MILKIES & FLUFFY WUFFIES. Calico's. Hemmi & Diesel motors. (352) 257-9074 FREE REMOVAL OF Mowers, motorcycles, Cars. ATV's, jet ski's, 3 wheelers, 628-2084 Need a job or a qualified employee? This area's #1 employment source! C[4)Nk }LE Kenmore Heavy Duty Dryer (352) 637-5423 KITTENS PURRFECT PETS spayed, neutered, ready for permanent loving homes. Available at Elieen's Foster Care (352) 341-4125 A 'Z. rescued aet.com Requested donations are tax deductible Pet Adoption Friday, Dec.9 - 10am-2pm AmSouth Bank, Rt 44 & 486 Crystal River Cats Young Calico mom & 2 kittens 628-4200 Variety of ages and colors 746-6186 Diluted Torbie Grey/Orange F 6mos 249-1029 Persian Cream M 2yrs; Siamese 8yrs F declawed 527-9050 Long Furred Litter mates M&F lyr 586-6380 Catahoula leopard Mix young adult F 527-9050 Border Collie / Cock- er mix F medium size 8mos; Husky F young adult 249-1029 Catahoula leopard Kerr F 21/2 yrs only pet fenced yard 795-1957 Schipperkes M lyr 726-4348 Adoptive homes available for small dogs & puppies. Wanted poodles & small dogs suitable for seniors 527-9050 or 341-2436 All pets are spayed / neutered, cats tested for leukemia/aids, dogs are tested for heart worm and all shots are current. Sink, 19" round, Apple green, (352) 344-5255 Young Dog, female, pit bull hound mix Homosassa (352) 228-3204 -S CHOCOLATE LAB/ WIEMARINER Lost area of S. Pineridge Ave. Homosassa. REWARD, 352-302-0267 LOST CAT In Chaz, Spayed female, grey stripe tabby, call 352-422-3647 LOST OLD AFRICAN GREY PARROT, male, 1 foot missing. Grandma's companion. Inverness area. Reward (305) 812-2506 cell LOST Shelty, Bik. & Wht. (Sm. Collie) in Equestri- an Area of Pinerldge answers to name of Tara, large reward (352) 586-8589, Cell (352) 746-0024 Lost silver & Turquoise ring at Beverly Hills Xmas Parade. Reward. (352) 746-6908 Small Shih tzu Lost Vicinity of Brian St. Inverness, female, grey sweater, micro- chipped, Dolly (352) 726-1967 Cat Black & white young Female Found Citrus Springs, friendly. (352) 489-8516 Found Male Dog 1/4 mile south on old Floral City Road, Dalmatian type dog. Call Animal Control 352-726-7660 (2 sets) 2006 BUCSH & DAYTONA 500 TICKETS $312 for all (352) 794-7436 REAL ESTATE CAREER Sales Lic. Class $249. Start 1/10/06 CITRUS REAL ESTATE SCHOOL, INC. (352)795-0060 Tutoring Avail. Exp. Retired Educator. Current FL Teacher Certif.nv.01079 ATTRACTIVE SWF seeking male companion. Candi, 352-628-1036 Dying Man needs help with loose ends In his life. Need volunteers to help me with paper work, property, etc. (352) 795-9337 Grapefruit, Navels, Tangelos, Hamlins, $3 Va bushel/up Harrison Grove (352) 726-1154 K HOLIDAY SPECIAL 13-15ct. $51b; 16-20ct $4.50 b. 352-795-4770 3 Plots with Vaults & Markers. Memorial Gardens, Beverly Hills. $4500. (828) 586-3299 -I PRE-SCHOOL TEACHER POSITIONS F/T & P/T. Exp. req. Today's Child. 352-344-9444 Bookkeeper P/R, A/R, A/P. G/L (352) 465-7077 or fax (352) 465-7057 ON-SITE Closing Coordinator & Receptionist needed for fast paced NEW CONSTRUCTION CONDO sale office in Crystal River. Immed. opening. Ability to multi-task. Strong Microsoft Office and computer skills a MUST. Real Estate experience a plus but not req'd Fax resumes to 813.920.3604.. coam IL=AHm Automotive, General duties Male or female. Call for appt. (352) 341-0067 60% Comm. or $50 rental per week. (352) 257-1584 NOW HIRING Creative professionals for all salon locations at the Villages. * Hairstylist * Nail Artist * Estheticians * Massage Therapist * Salon Coordinator Benefits include: Health Insurance, AFLAC, Dental, 401 K, Paid Vacations, Hourly Guarantee, Paid Well Days, Educational Benefits. Apply at 3400 Southern Trace The Villages, Florida or apply on line at. com (352) 753-0055 PROFESSIONAL HAIR STYLIST & NAIL TECH For Inverness & Crystal River areas. Most Opulent Salons Contact Georgios (352) 564-0006 JOIN THE TEAM* Family Barber Shop Barber/Cosmetologist (352) 628-2040 ACCOUNTS RECEIVABLE BOOKKEEPER Avante at Inverness, a skilled nursing facility, is currently accepting applications for an A/R Bookkeeper. Knowledge of Medicare and Medicaid billing process is preferred, but will train qualified applicant. Must be well organized and be able to work well under demanding deadlines. Please apply in person at 304 S. Citrus Ave., Inverness or fax resume to 352-637-0333 or email resume to tcvoret@avante aroua.com cenMedsros icalY *MENTAL HEALTH COUNSELOR *DENTIST Call for info at: (352) 527-3332 ext. 1317 M-F 8:30 AM -4:30 PM M/F/VET/HP .EO. Drug Free Workplace *F/T FRONT DESK RECEPTIONIST/ FILE CLERK Busy OBGYN office. Ex- perience preferred. Fax resume to 352-726-8193 F/T LICENSED PHYSICAL THERAPY ASSISTANT Busy orthopedic outpatient clinic. Mon-Frl. Please Fax Resume: Attent: Manager (352) 726-7582 FRONT & BACK OFFICE STAFF NEEDED Fax: (352) 746-2236 FULL TIME MEDICAL ASSISTANT & FULL TIME RN OR LPN Busy office Phlebotomy, Send resume to 800 Medical Court East, Fax 352-726-8193 * DIRECTOR OF NURSING * RN * HHA * HMKR * PSYCH NURSE * OT ULTIMATE NURSING CARE A Home Healthcare Agency 1-352-564-0777 EOE MAINTENANCE ASSISTANT Avante at Inverness is currently accepting applications for a Maintenance Assistant. Must be flexible with hours. Excellent benefits package. Please apply in person at: 304 S. Citrus Ave.. Inverness. or Fax Resume to: (352) 637-0333 Email To: tcvoret@avante TagrouP.comr EARN AS YOU LEARN CNA Test Prep/CPR Continuing billling, electronic, paper claims processing and DDE a plus. We offer competitive compensation and benefits including medical, dental, life and PTO. If you are interested, please send your resume fot consideration to Therapy Management Corporation Attn: Director of Billing Services. Fax (352) 382-7781 sknoll@ therapymgmt.com MEDICAL HELP Medical practice seeking an energetic, self motivated individual, who is Interested In pursuing an excellent opportunity for career growth. The selected Individual should be able to work in a fast paced environment and easily handle multiple medical tasks efficiently with a willingness to learn surgery. Please Fax resume to: 352-746-2635 No phone calls please References required P/T MAMMOGRAPHY TECH ARRT/Registered. Flexible schedule. Fax resume to 352-527-1516 Please call Michelle (352) 527-0430 Junk today .*.is not always Treasure tomorrow. Instead of donating that broken, run down TV, sofa, or table and chairs to the many nonprofit thrift stores and agencies 0. Call to verify acceptable items Habitat Home Store 341-1800 Key Training Center Thrift Stores 726-0271 Annie Johnson Thrift Store 465-7957 This message brought to you by the Hospice of Citrus County Thrift & Gift Shops, 341 -2220 Division of Solid Waste Management Florida Sheriff's Youth Ranches 795-8886 527-7670 and TDD Telephone 527-5214 The Salvation Army 341-2448 landfillinfo@bocc.citrus.fl.us DE ADLI-NES FRIVATE PARTY SPKALJS I LPN'S NEEDED ASAP In Coleman, Fl. Benefits avail. Contact 800-459-5629 RN's/LPN's NEW VISIT RATES BEST RATES IN TOWN Looking for extra $ for The Holidays? A+ Healthcare Home Health (352) 564-2700 VET ASSISTANT Needed for busy, small animal practice. Exp. in animal re- straint technique required. Position is Fulltime, 40+ hrs. Fax Resume To: (352) 726-1018 AGENTS NEEDED New real estate firm now hiring agents, i no franchise fees! l Crystal Realty (352) 563-5757 BOOKKEEPER CPA firm needs experienced bookkeeper. G/L, P/R, A/R, A/P. Compensation based on experience. Fax resume to 352-795-1133 BOOKKEEPER FULL CHARGE w/COMPUTERIZED GL, AP, AR & PR EXP. Construction exp. a plus. great benefits. Winkel Construction Fax Resume to (352) 860-0700 EOE DFWP Cypress Creek Juvenile Offender Correctional Center, a residential program for 96 high and maximum risk males committed to the Dept. of Juvenile Justice is recruiting for Masters Level Therapist to provide comprehensive clinical assessments, Lecanto, FL 34461 Or fax resume to 352-527-2235 Draffing/ Design/ Detailer Structural Steel, PT/FT Clear Span Steel Fabricator, seeks exp'd draftsman and/or steel detailer for it's Crystal River office. Large govt. and commercial projects provide interesting challenge, Exc, compensation & benefits. Send letter of background & exp'd to P.O. Box 130, Crystal River, FL 34423 REAL ESTATE CAREER Sales Lic. Class $249. Start 1/10/06 CITRUS REAL ESTATE SCHOOL, INC. (352)795-0060 CLASSIFIEDS TUESDAY, DECEMBER 6, 2005 9C GITRUS COUNTY (FL) CHRONICLE J1OC TiESDAY. DECEMBER 6, 2005 CHEF For upscale Country Club opening. Must be creative and have good ethic. Fax resume to 352-746-9863. .COOKS High volume environment. Exp. preferred. Positions available in Inverness COACH'S PEub&Eate 114 W. Main St., Inv. EOE COOKS NEEDED Scampi's Restaurant (352) 564-2030 DISHWASHER Scampl's Restaurant (352) 564-2030 Exp. Cook & Prep Cook EXP. SERVERS & P/T COOK Apply 9;30am-11am 1164La Luna Italian Rest. 859 U.S. Hwy. 41-S, Inverness RESTAURANT MANAGER For new Country Club opening. Exp. in casual and upper casual ala carte dining, Fax resume to 352-746-9863. SERVERS NEEDED Apply in person. Friendliest restaurant in town. Dillon's Inn 589 SE Hwy 19 Crystal River SOUS CHEF For new Restaurant, experience. Good attitude. Fax resume to 746-9863 WAIT STAFF, ENERGETIC for Fast paced restaurant in World Class Golf & Country Club. Fine dining exp. Preferred. Exc..$$ Call 422-3941 EOE/DFWP -PIN AGENTS NEEDED New real estate firm now hiring agents, no franchise fees Crystal Realty (352) 563-5757 , 1 -4^ Restaurant^- C4iww^ if! -1 $$$ SELL AVON $$$ FREE gift. Earn up to 50% Your own hrs, be your own boss. Call Jackie I/S/R 1-866-405-AVON.. comr SALES PEOPLE NEEDED FOR Lawn & Pest Control Prefer exp. in the pest control industry, 2 wks paid training, benefits, company vehicle. Apply in Person Bray's Pest Control 3447 E Gulf to Lk. Hwy. Inverness SALES POSITION & LAWN SPRAY TECHNICIANS Exp. Required J.D. Smith Pest Control (352) 726-3921 Must CMD INDUSTRIES 352-795-0089 AN EXP. FRAMER & LABORERS NEEDED (352) 637-3496-Frl DFWP/EOE Your world firsi. Ei':rve Da\, ( :"" ..i .. d . f Tr cr /Sills^ BLOCK MASONS 4 years minimum experience. Must have reliable transportation. Starting at $18 an hour. Call 352-302-9102 or 352-220-9000 CARPENTERS/ FRAMERS Exp. only for res. work. (352) 465-3060leview, Brooksville, Electriiat W rs ELEVATOR CONST. HELPER Construction Helper Needed Employer will train. Full time + benefits. $10/hour. Must be able to lift 50 Ibs & have good transportation Weekday travel required. EOE+ DRUG FREE. 352-589-5500 or 800-411-4449 x 298 EXP. CARPENTER & FRAMERS Pay depending on exp. (352) 422-2708 EXPERIENCED SEALCOATING STRIPING, ASPHALT PAVING DUMP TRUCK DRIVERS CDL License TOP PAYI (352) 563-2122 EXP. DUMPTRUCK DRIVER (352) 563-1873 EXP. FRAMERS 352-726-4652 FULL TIME ASSEMBLY LINE PAINTER To Paint Telephones using automotive type paint equipment. No exp. necessary. 352-465-0503, Iv. msg. IMMEDIATE OPENING QUALIFIED RESIDENTIAL ELECTRICIAN MIn 2 yrs. Exp., Good driving record req. Insurance, paid Sick, Holiday & Vacation Apply In Person S & S ELECTRIC 2692 W. Dunnellon Rd. CR-(488) Dunnellon 746-6825 EOE/DFWP Uc.&lns. Exp'd fTiendly serv. Lowest rates Free estimates,352-860-1452 A WHOLE HAULING & TREE SERVICE 352-697-1421 V/MC/D maorc -e AFFORDABLE DEPENDABLE, A WHOLE HAULING CLEANUP, PROMPT SERVICE I Trash, Trees, Brush, | 352-697-1421 V/MC/D All Tractor & Truck Work, Deliver/Spread. Clean Ups, Lot & Tree Clearing Bush Hog. 302-6955 Quality work, Low rates, LUc&Ins. 7830257748 HAUNG(352) 476-8813CLEANU COLEMAN TREE SERVICE Removal & trim. Lic. Ins. FREE EST. Lowest rates guaranteed! 344-1102 DAVID'S ECONOMY TREE SERVICE, Removal, & trim. Ins. AC 24006. 352-637-0681220-8621 DOUBLE J STUMP GRINDING, Mowing, HauDelingClver/Spread, Cleanup, Mulch HoDirt. 302-8852 REALTree Svce Personalized QuBobcat work. Fill/rock &w rates, Sod: 352) 47-563-0272.8813 Removal. Free estimate Satisfaction guaranteed Lic. (352) 628-6420 JOHN MILL'S TREE SERV., Trim, top, remove 341-5936 or 302-4942 MR. BILL'S TREE SERVICE No Job Too Big or Small. l& trimbing & removalAC 24006. hauling. 352-220-4393 PAUL'S TREE & GRAIN SERVICEn Servllng All Areaps. D's LandTrees Topaped, & Expert Trimme or Removed. FREE ESTIMATES. LUcensed & Insured. (352)458-1014 (352)458-1014 R WRIGHT TREE SERVICE, tree removal, stump grind, trim, lns.& Lic (352) 527-8253 Buying a Home, don't know where to start? First, second & third, mortgages. Good & bad credit welcome. (a8aa iA-onn06 COMPUTER TECH MEDIC ON SITE REPAIRS Software & Hardware Issues resolved. Internet Specialists (352) 628-6688 Cooter Computers, Inc. Professional Services Free Consultation 24/7 (352) 476-8954 vChris Satchell Painting & Wallcovering.AII Gi' Er' Done Holiday Special Pressure Washing/Painting. Free est. (352) 637-5171 INTERIOR & EXTERIOR PAINTING 25 yrs. exp. Home main- tenance, 2 Lic, & Ins Jimmy 352-212-9067 Renew Any Existing Concrete! DESIGNS COLORS PATTERNS Lic./lns. 352-527-9247 | Unique Effects-Painting, In Bus. since 2000, Interior/Exterior 17210224487 One Call ,To Coat It All 352-344-9053 Wall & Ceiling Repairs Drywall, Texturing, Painting, Vinyl. Tile work, 30 yrs. exp. 344-1952 CBC058263 & Repair, Mechanical, Electrical, Custom Rig. John (352) 746-4521 QUALITY OUTBOARD REPAIRS, Full & dock side service. Morrill Marine (352) 628-3331 DJ SPECIAL EVENTS Private parties ONLY. "Theme" shows. CALL. Lights, Camera, Action! Let the Good Times (Rock) & Rolll 352.427.6069 Open 24/7 since 1994. Christian Home, Lic., CDS accepted. Excel. ref. (352) 465-2272 v'Chris Satchell Painting & Walilcovering.AII work 2 full coats.25 yrs. Exp. Exc. Ref. Lic#001721/ Ins. (352) 795-6533 *No Job too Big or too Small. Housecleaning to yardwork, anything in between. Uc POOL BOY SERVICES Pressure Cleaning, Pool start-ups & weekly cleaning. 352-464-3967 QUALITY CLEANING no harmful chemicals, Reasonable Rates (352) 795-3989 -gg The Window Man Free Est., Com./residential, Scr' Er' Done Holiday Special Pressure Washing/Painting. Free est. (352) 637-5171 Mike Anderson Painting Int/Ext Painting & Stain- ing, Pressure Washing also. Call a profession- al, Mike (352) 628-7277 PICARD'S PRESSURE CLEANING & PAINTING. Roofs w/no pressure,' housesdriveways. 25 yrs exp. Lic./Ins, 422-1956 POOL BOY SERVICES Pressure Cleaning, Pool start-ups & weekly cleaning. 352-464-3967 Richie's Pressure Cleaning Service Lic # 99990001664. Call 746-7823 for Free Est. , DEPENDABLE I I HAULING CLEANUP. PROMPT SERVICE I I Trash, Trees, Brush, Appl. Furn, Const, Debris & Garages I Dan Hensley Home Maintenance Service Friendly-Fast Service 10% disc to all Senior citizens, lic.99990003899 Call (352) 628-6635 GOT STUFF? You Call We Haul CONSIDER IT DONE Movlng,Cleanauts, & Handyman Service Uc. 99990000665 (352) 302-2902 GOT STUFF? You Call We Haul CONSIDER IT DONE MpvlngCleanoubt & Handyman Se}iiMe Uc. 99990000665 (352) 302-2902 HOME REPAIR, You need it done, we'll do it. 30 yrs. exp. Lic., Ins. #73490256935, 489-9051 L & L HOME REPAIRS & painting. 7days wk Uc #99990003008. (352) 341-1440 NATURE COAST HOME REPAIR & MAINT. INC. Offering a full range of services.Lic.0257615/Ins. (352) 628-4282 Visa/MC No Job too Big or too Small. Housecleaning to yardwork, anything in between. Lic#4074 352-257-2096 Richie's Pressure Cleaning Service Lic # 99990001664. Call 746-7823 for Free Est. TACUMSA Contracting LLC, Room additions, remodeling, garages. CBC1253431 & Ins. 352-422-2708 Wall & Ceiling Repairs Drywall, Texturing, Painting, Vinyl. Tile work. 30 yrs. exp. 344-1952 CBC058263 CITRUS ELECTRIC All electrical work. Lic & Ins ER13013233 352-527-7414/220-8171 CITRUS FANS Custom lighting, fans, Sremotes. Dimmers, etc. Installed Professionally Robert S. Lowman Lic.#0256991 422-5000 All of Citrus Hauling/ Moving items delivered, clean ups.Everything from A to Z 628-6790 AFFORDABLE, DEPENDABLE, HAULING CLEANUP, I PROMPT SERVICE I I Trash, Trees, Brush, I Appl. Furn, Const, Debris & Garages I 352-697-1126 352-628-7519 Siding. Soffit & Fascia, Skirting. Roofovers. Carports, Screen Rooms, Decks, Windows, Doors, Additions CARPET FACTORY Direct Restretch Clean * Repair Vinyl Tile * Wood (352) 341-0909 SHOP AT HOME Richard Nabbefeld Flooring Installer. LLC Lic./Ins. L05000028013 (352)361-1863 All kinds of fences .JAMES LYNCH FENCE Free estimates. (352) 527-3431 A 5 STAR COMPANY Go Owens Fencina. All types.Free estimates Comm/Res. 628-4002 ABSOLUTELY BEST PRICES Free Estimates. All Types 20 yrs exp. AC#27453 (352) 795-7095, Dallas BEACH FENCE Free est., Lic. #0258336 (352) 628-1190 Jonn Goraon Koorfng Driveway Sealing & Staining. 2 coats. Reas. prices. Call Roger (352)382-7831 CONCRETE WORK. SIDEWALKS, patios, driveways, slabs. Free estimates. Lic. #2000. Ins. 795-4798. RIP RAP SEAWALLS & CONCRETE WORK (352)795-7085/302-0206 AFFORDABLE, DEPENDABLE, I HAULING CLEANUP, I PROMPT SERVICE I I Trash, Trees, Brush, I Appl. Furn, Const. Debris & Garages I 352-697-1126 = DUKE & DUKE, INC. Remodeling additions Lic. # CGC058923 Insured. 341-2675 Wall & Ceiling Repairs Drywall, Texturing, Painting, Vinyl. Tile work. 30 yrs. exp. 344-1952 CBC058263 CERAMIC TILE INSTALLER Bathroom remodeling, handicap bathrooms. Uc/Ins. #2441 795-7241 CUTTING EDGE Ceramic Tile. Uc. #2713, Insured. Free Estimates. tyoes of Dirt Service Call Mike 352-564-1411 Mobile 239-470-0572 FLIPS TRUCK & TRACTOR, Landclearing, Truck & Tractor work. House Pads, Rock, Sand, Clay, Mulch & Topsoil. You Need It, I'll Get Itl (352) 382-2253 Cell (352) 458-1023 HAULING All Aspects, Fill Dirt. Rock, Mulch, etc. Lic. Ins, (352) 341-0747 LARRY'S TRACTOR SERVICE Finish grading & bush hogging (352) 302-3523 (352) 628-3924 AFFORDABLE, DEPENDABLE, HAULING CLEANUP, I PROMPT SERVICE I I Trash, Trees. Brush, | SAppl. Furn, Const, I Debris & Garages | 352-697-1126 L-- --, = All Tractor & Truck Work, Deliver/Spread. Clean Ups, Lot & Tree Clearing Bush Hog. 302-6955 CITRUS BOBCAT LTD Bushhog/Debris removal Lic.#3081 464-2701/563-1049 DAN'S BUSHHOGGING Postures, Vacant Lots, Garden Roto Tilling Lic. & Ins. 352- 303-4679 HAMM'S BUSHHOG SERVICE. Pasture Mowing, lots, acreage. Licensed & Insured 135\ 2) AOO5. Lic. #24715 (352) 628-0690 PRO-SCAPES Complete lawn service. Spend time with your Family, not your lawn. Lic./Ins. (352) 613-0528 S AFFORDABLE, DEPENDABLE, HAULING CLEANUP, PROMPT SERVICE I Trash. Trees, Brush, Appl. Furn, Const, Debris &uling,Cleanup, Mulch, Dirt. 302-8852 MARK'S LAWN CARE Trimming, landscaping, Pressure Washing (352) 794-4112 , Pressure Cleaning, Pool start-ups & Est. (352) 563-1911 Get Your Water Tested f By A Dept. of Envir. Protection Lic. Drinking Water Operator. ' Get A Professional Not A Sales PersonI We Get It Right The First Timel PURE SYSTEMS WATER TECH. (352) 228-2200 DEP. Lic #0010008 WATER PUMP SERVICE & Repairs on all makes & models. Lic. Anytime,, 344-2556, Richard ' + YUCKY WATER?+ We Will Fix tI 90 Yr Exp. '. Affordable Solutions to all your water problems.( 866-314-YUCK (9825) i; ALAN NUSSO BROKER Associate Real Estate Sales Exit Realty Leaders (352) 422-6956 RAINDANCER Seamless Gutters. Soffit Fascia, Siding, Free Est. Lic. & Ins. 352-860-0714 a'4 I 7 Ea sB. CITIIZErN DISCOUNT ^^SAVE$ 101 1 With This Ad Free Estimates. I -w-arwi - - - - - Sinks Tubs Showers Toilets Sewer & Drain Cleaning A.LL CIEAR Plumbing & Drain Cleaning CFc1426746 352-586-2210 WHAT'S MISSING? Your ad! Don't miss out! Call for more information. 563-3209 LABORER Accepting Application for General Construction Laborers. Asphalt paving experience is helpful. Full time employment w/ full benefit package. PAVE- RITE 3411 W. Crigger Ct., Lecanto. 352-621-1600 DFWP/EOE EXP. PAINTERS Wanted. Lonny Snipes Painting, Cell, 400-0501 F/T DRIVER Class B CDL. Exp'd dump preferred. (352) 628-0923 Maintenance PT Apply in person: S Mon, Wed, Fri. Inglis Villas 33 Tronou Dr. Inglis FI 34449 Ph: 352-447-0106 Fax: 352-447-1410 CITRUS COUNTY (FL) CHRONICLE, FRAMER & HELPER * For Inverness Area. (352) 418-2014 MARINE FORKLIFT OPERATOR Fulltime position. Prior marine forklift exp req'd. Competitive pay w/benefit pkg. Apply in person Riverhaven Marina, 5296 S. Riverview Cir. Homosassa 628-5545 CLASSIFIED "Copyrighted Material Syndicated Content Available from Commercial News Providers" "e CITRUS COUNTY (FL) CHRONICLE HVAC Service Tech Min. 5 yrs exp with valid D/L Exc. pay & benefits Send resume to: Attn: Personnel PO Box 1127 Homosassa Springs, FL 34447 MASON TENDERS & LABORERS Transportation a must. All Genders Welcome. 352-628-0035 MASONS & MASON TENDERS TOP PAY (352) 400-0290 MECHANIC Accepting applications for experienced Truck and Construction Equipment Mechanic. The position requires supervisory skills to coordinate & manage maintenance facility. Full Time employment, Including benefit package. PAVE- RITE 3411 W. Crigger Ct., Lecanto. 352-621-1600 DFWP/EOE MECHANICS & TIRE/LUBE TECHS Trucking Company Coleman, Belleview, Brooksville Call HR at 1-800-725-3482, Fl. or Fax resume to 352-637-3870 PLASTERERS & S LABORERS Must have transportation. 352-344-1748 EXP PLUMBER' & SERVICE PLUMBERS f Starting Wage 1 Between $16-18/hr. Benefits, Health, SHolidays & Paid ,Vacation. 621-7705 PLUMBERS HELPER Needed, will train. Must have good driver's license. Apply in person, Grant Plumbing 4424 E Arlington St. Inverness, 726-0816 PLUMBERS' HELPERS Exp'd only. Full time, 621-7705 plywood Sheeters S&Laborers Needed in Dunnellon area. (352) 266-6940 MILL HAND 2nd shift machinist w/exp. with conventional horiz. milling machines. Call Tim at 795-1163, Fl133538 Or call Sean 0 Dell (352) 793-9410 Drug Free Work Place EOE PROFESSIONAL PEST CONTROL Needs Technician * Hourly pay * Commislon * Company Vehicle * Paid Training * Paid Vacation * Paid Sick Days * $30,000 Depending on Ability. (352) 344-3444 TRACTOR BUSH HOG OPERATOR With I yr exp. Salary Negotiable. (352) 795-2976 WANTED INDEPENDENT CARRIERS State of Fl, GA, SC, Al. Steady runs. Contact Terry at Greenbush Logistics 1-800-868-9410 1ST QUALITY CLEANING FT/PT Floor Tech, hard surface & carpet; PT General Cleaning. Great Pay & Incentive Program. 352-563-0937 BUDDY'S HOME FURNISHINGS Is currently seeking a Delivery Driver/ Account Manager Trainee. Must have clean Class D license. Good people skills. (352) 344-0050 or Apply in person at. 1534 N. Hwy. 41, Inverness. EOEDFWP CDL-DRIVER ,Class A, B or C w/ passenger endorsement. P/T 20hrs week. Nursing exp. helpful Apply at:, Barrington Place 2341 W. Norvell Bryant Lecanto, Fl Trades^^^^^^^^H /S ki I I s *Job Offer Employees AF 0 AYPRBATONPEIO *^.~~U *IB ffP -s: iff ffl-ff MAINTENANC E Y-*.posi t*io.M in t anil epair ofbiling and g uris 3Vhcl aintenan Ae, prfrde lknw dg. Ms hv. ou w tos reial ta spottin*s- elsepeine P rof fI S Dp lom G- requreS OUTSDE AvertsingSALS:fo lca T3sa-on*Ms-bea co mssos Reliable.* trnporttin -t5profof --uracean H -B 'iB *^^' -A i~Bn'tff Disbld auls. prfere HS Diplom req-ired RESDEN MANAGE AS^^^^SISTNFwT & P\ poitmio s avaiablein agrou S .3 ^ -f >r .**** lr''^-A*^ p *I *p* 1 Disaledaduts wit daly ivig s is PofofH-* lo aG Dreurd -ESIENT AL AID :FT3dshfadaPPshftavilbl. Rspnibe- o B^Bipdiploma\GED required, sklsina-patetsetin. S--iPP a\EDreuie .. PT -F p- 7 *~~ ~~~prx 20--,ho-P.. rs, -pso----------------ds. - PP 5 P -*I S P PD^^^^Hl^^^^Bf-P -li p^ LEADAIDE position nsworking ingroupPhomesofthe eyraiinCeterH dilo a eqirdex. -reere *Afero hur, ustbeflxile -Tesear-dret ar AplyAtTe eyTaiin enerBsiesOfc ^^^^^^^H~lHuHman Resource Dept.^^^ ^^At 130 He*:!ights Ave., Invenes, i 345 R1-Trd cm/Sills I COOK Full time. Good organizational Skills a must. Apply at: Barrington Place 2341 W. Norvell Bryant Lecanto, FIl Ask for Pat DELl CLERK Full-time & Part-time Experienced only! Busy Workplace Apply between 2-4 pm, Mon-Sat. Ferrara's Dell 3927 N. Lecanto Hwy. Beverly Hills, FL (352) 746-3354 Desk Auditor Now Hiring. Apply inB HomosassaD time or Full Time. Driver needs Class A CDL with clean license. DFWP e Apply in person: St. Rd. 44 LecantoH Available for: -. ..BUSERS FT/PT, days, evenings & weekends, Extra Hours looking for motivated periople toina Oias Comptitsivessay Benefits Available Earn Pay time oft ofTer. 6months.c insuincensk.iGo Wiing to training individual to advance future career canrdiates opply Call 35282-20 or ADskfaiorlor. timeoy Time.ofater DIs ner-Cu nty Reo y Hi ing n Aaila sklle fo. -SERECeVERS CHES fuuirenEea. r Pa ly simerious Akiasilal for. 352-382-5994HE Exp. Seamstress (352) 302-5707 LABORERS NEEDED SNo exp necessary Benefits offered. Valid Drivers Lic. & Heavy Lifting Required Gardners Concrete 8030 Homosassa Trl. LAND SURVEYING CADD TECH Benefits, include Ins, & Retirement Plan. Inverness area Reply Blind Box 916-P c/o Citrus County Chronicle, 106W. Main St., Inverness, FL 34450 LAWN CREW Immediate Openings Experienced In all phases of lawn & landscape work. Call between 4 & 8 PM (352) 621-3509 Maintenance Person Various maintenance work & roofing. Must have own tools & [PLASTERERS ] | LABORERS* NEEDED* 746-5951 Ml-lll l I Production Workers Wildwood Manuf. Co. looking for Production/ machine operators for 2nd & 3rd shift. Drug screening, good pay/ benefits. Call (352) 330-2213 SALES POSITION & LAWN SPRAY TECHNICIANS Exp. Required J.D. Smith Pest Control (352) 726-3921 SECURITY OFFICERS Class D License Required. Local. 352-726-1551 Ext 1313 Call bfw. 7am -3pm CHoNNICLE lefter to: HR@ chronicleonline.com Seeking Honest Dependable Career orientated Person for FT Position. Heavy lifting, Driving, Cash Handling & Sales. Please call (352) 564-0700 Ca$h........ Fast ! 352-637-2973 Ihomesold.com HP PRINTER (Ink Jet) 840, extra black cartridge, $25 (352) 860-2015 after 3pm IBM T-23 Notebook. $435. (352) 637-4868 JOBS GALOREII! EMPLOYMENT.NET Laborer/Helper Assist w/ driveway sealing. $8.00/hr. to start Approx. 25/hr. Call (352) 628-1313 PART TIME HELP needed to clean exotic animal cages. (Sugar Glider). Serious Inquiries only. 352-628-3537 (352) 628-0147 CURIO CABINET, oak, 32x15x36 high, $110 TRIPLE BEVELLED MIRROR 36x24, 8 sided, $50 (352) 344-8720 Dinette Set w/ 3 matching bar stools, Glass top, floral pattern, excel, cond. $350. (352) 726-2641 Dinette Set, maple, Round, table & 4 chairs $40. (352) 563-5244 Dining Rm. Table w/ 6 high back chairs. $125. Lg. comfortable Sofa, floral print. $75. (352) 425-4522 Dining Room Set, Oak table, 6 chairs, China Cabinet. $225. OB0 (352) 746-7372 3-TON CENTRAL HEAT & AIR $400 Suitable for Mobile Home. (352) 564-0578 ALL APPLIANCES. New & Used, Scratch Dent. Warr. Washers, dryers, stoves, refrig, etc. Serv Buy/ Sell 352-220-6047 APPLIANCE CENTER Used Refrigerators, Stoves, Washers, Dryers. NEW AND USED PARTS Drver Vent Cleaning Visa, M/C., A/E. Checks 352-795-8882 Bunn Ice Tea Maker Restaurant size, $50. Patio Chaise Beige & coral pillow, like new $40. obo (352) 382-3648 DISHWASHER Exc. cond. $65. (352) 465-6861 DISHWASHER, Maytag, brand new in box, Retails, $397, Sell for $235 firm. (352) 637-3996 Electric Clothes dryer, $75. Elec. Stove, $75. (352) 637-5171 FRIGIDAIRE WASHER & DRYER, white, excellent cond., heavy duty, XL capacity, can deliver, $350/both (352) 726-7891 Kenmore Washer & GE Dryer, both HD & electric. $125/obo both. Call after 6 p.m. (352) 795-3957 Large Capacity Dryer. Like new. $150.00 (352) 286-9742 Maytag, Washer & Dryer Washer rebuilt, $400. (352) 270-3274 WHIRLPOOL ELECTRIC DRYER, $100 (35:2) 257-1355 White Whirlpool Dryer. Works great. 8 yrs. old. $70. Free delivery. After 10am(352)341-3543 Light Oak Desk Ensemble with IBM computer, excel. cond. $125. (352) 563-0022 "BENCHTOP" 117 pc. TOOL SET, 1/4, 3 ROOF SHINGLES Never used. 208 GAF 20-yr. Golden cedar, 7.9+ bundles, 2.67 squares $100 (352) 795-1986 SEARS FLOOR KIT for 8x8, 8x10 or 9x10 metal shed, never used, $25 (352) 465-6619/ MCord 637-5469 LINCOLN ELECTRIC WELDING MACHINE Arc & tig w/gas, 275amp, lots of extras. $995. (352) 527-0223 Porch turn. Couch, 2 armchairs & Cushions, $125; Gd. cond. (352) 637-1161 2 Chairs, (1 blue swivel & 1 wine colored recliner) 7 piece formal Dining Room Set w/ china cabinet. Thomasville, excel, cond. $850. (352) 726-2641 7 piece Lazy Boy living room set. Queen Slpr., Loveseat & 2 rocker re- cliners. Oak Coffee & end tables included. Like new. $1250. (352) 854-8142 3-pc WHITE NAUGAHYDE corner sectional w/2 recliners, $500 (352) 860-0976 7FT SOFA, camel back camel color with de- signer pillows, perfect cond. $425. Solid pine coffee table 4FT L, 2-/2ft W, $165 Pert. conL, (352) 637-9524 Iv.msg 'MRC RUSCOUNT1 ALAN NUSSO BROKER Associate Real Estate Sales Exit Realty Leaders (352) 422-6956 Point Couch (Queen Slpr.), loveseat & chair. Evergreen w/ tan & maroon stripes. Excel. Cond. Orig. $2000. Ask- ing $400.(352) 286-9742 Craftmatic Bed, Queen (2 joined twin matt.) Very Good cond, $700/OBO Dining Room Table w/ 4 chairs. Glass top, antique creme finish. $400.0BO Wrought Iron 3 piece sectional w/ matching chair. $100. (352) 726-5085 Dining Table oak, six chairs, $150. End table w/ lamp magazine rack $25. (352) 489-3511 DR TRESTLE TABLE W/6 Upholstered chairs, $600 LG. LIBRARY TABLE, $120. (352) 382-2086 Floral Sofa Sleeper, full sz., 68", like new $275. Gate leg Table $300. excel, cond. (3 5) LARGE TRESTLE TABLE, seats 6-8 comfortably, $200 or best offer (352) 860-2182 Living Room Leather Sofa & Love Seat, blush, like new Org. $1900. Asking $399. (352) 726-8204 LIVING ROOM SET, 6 pieces, all black, $500. (352) 637-9208 LR Set. Sofa & Loveseat, Tan Floral pattern, Oak Coffee table & 2 end tables w/ glass top inserts. $225. OBO (352) 746-7372 Mahog. 5pc. Bdrm set, no matt. $600; 4 Caned DR Chairs, $120. (352) 382-2086 Recliner Couch, earth tone colors, good shape. $125. (352) 637-4868 RECLINER, Lane, beige, good cond, $85. (352) 489-9041 Rocker, Recliner, Set, incl. 4 chairs. Matching lighted China Cabinet. Excel. Cond. $850. (352) 527-0837 leave mess. SECTIONAL SOFA 3 pc. Contemporary, ivory & beige w/3-pc. brass & glass coffee & end tables, $350 obo Corner Computer Desk, $50 obo (352) 746-7654 Single bed, Incl. Sealy Ortho Matt, box sprg. frame, & bedding. Like new - perfect cond. $150. (352) 344-4508 SM. CHERRY BOOKCASE $90; LR OCCAS. TABLES $200; (352) 382-2086 Sofa & Loveseat Traditional, pink/grn. floral pattern, exc, cond. $500 set, (352) 527-8090 Sofa, excel cond, color is brown. Like new. $75 (352) 746-6406 Table & 4 chairs, 2 end table, 2 lamps, 1 lounge chair, $180 OBO for all, (352) 628-7983 White Pennsylvania House Sofa, $200. or best reasonable offer (352) 746-1054 Brand new tractor w/ bucket, bushhog & lift. Custom built 20' trl. Loveseat, good cond. $50. Recliner, brown, fair cond. $15. (352) 795-6693 SEARS RIDING MOWER 15.5 Kohler engine, 42" cut, $450 (352) 795-2181 CITRUS HILLS Moving Sale, Furniture Appl.'s, HD TV, & Misc. 1572 E. Pacific Lane (352) 341-0932 Citrus Springs Middle 150 West Citrus Springs Blvd. Saturday, Dec. 10 8a.m. until 1p.m. 30 (12 by 25) Vendor Booths: $10 each Table rentals (4 ft round) (while sup- plies last): $5 each Four sheltered vendor booths: $25 each Contact: David Roland or Stephenl Blue Moon Resale At Kingsbay Plaza (Behind Little Caesar's) (352) 795-2218 * BURN BARRELS * $10 Each Call Mon-Fri 8-5 860-2545 2 ELECTRIC FANS Holmes, 6", $10 each SKILL SAW, 7", $20 (352) 341-1857 3 wheel motor scooter. 49cc, gas, 2 cycle, auto., $950. (352) 637-4868 4 10OFT ROLLER CONVEYORS all aluminum, with stands, $150 (352) 726-7914 150 Gal. Fish Tank w/ cabinet, all accessories, $395. obo (352) 422-5707 Canoe Ranger 2 person, inflatable w/ outer hull. $250. Screen room, 10' x 12' pop-up $100. (352) 860-0193 Canoe, 15'. flat back, Camo Color w/ 15 hp Full-time position requires working knowledge of Multi-Ad Creator or QuarkXPress & Adobe Photoshop. Produce advertising and editorial pages for newspapers, special products and special sections. Macintosh and PC formats. Application deadline: bec. 11, 2005 E -EOE, drug screen required for final applicant. oN Send resume & cover letter to: i .E HR@chronicleonline.com CLASSIF: NOTICE: This newspaper does not knowlingly accept ads that are not bonaf (352) 628-0844 10X12 WOOD COOKS SHED, work bench & shelves, $1,800 (352) 795-2181 8' x 40' Metal Cargo Storage Unit. $1200. (352) 628-0036 WE MOVE SHEDS 5AA--nnnn "LIVE AUCTIION" For Upcoming Auctions 1-800-542-3877 8 Large Ceramic Pieces of Unauthorized Charlie Brown characters, incl. pig pen, & red baron A real steal at $175 Just In Time for Christ- mas 3 pair of solid brass candle holders. 2' 3' & 4' feet tall, fantastic in a foyer or around fire place $200. complete set of 6 (352) 563-5113 Authentic, Delft ginger jar, appraised 30 yrs. ago $400. will self for $175. A Pair of Lg. Wick- er Princess Chairs from the Philippians $75. ea. $125. pr. (352) 563-5113 LOST TREASURED TRAIN SET in house fire, need one for under Christmas Tree. Can you help? 352-697-5252 -g SPA W/ Therapy Jets. 110 volt, water fall, never used $1850. (352) 597-3140 Spa!, Hottubl 4-5 person Deluxe model. Thera- peutic. Full warr. Sac. $1,650. 352-346-1711 LicrCAC 057914 Call 352-746-4394 CAKE SUPPLIES, pans & accessories, too much to list. $1,200 obo (352) 422-7417 CHILD'S SWING SET You remove $50 (352) 341-2929 Christmas 7'/ ft. artificial pre lit tree, 775 triple cluster clear lights, 1500 tips, used once paid $500. asking $100.obo (352) 270-3180 Christmas Decorations. 3' Lighted. 1/2 HP Garage Door opener, It works, pay for ad $6.50 (352) 527-2419 COMPUTER DESK, $35. Electric Blower, $25. (352) 465-1262 David Bramblett (352) 302-0448 List l -. r' .-:- p .-1 cond. $60 (352) 465-6619 6 HOLIDAY SPECIAL S KEYWEST Jumbo Shrimp 13-15ct. $51ib; 16-20ct $4.501b. 352-795-4770 Ferret Cage, Ig. on wheels. $75.0BO (352) 628-5694 GE Electric Range, white, clean & all works. $100. 16" scroll saw on metal stand. $50. (352) 628-1813 Glass Display Case 4.5' long., lighted $100. Marquis Board, free standing/ dbl. sided $250. (352) 302-8673 Just in time for Xmas! LAWN CHAIRS, 2 quality, upholstered recliners, like new. $60 ea AUTOMOTIVE JACK STANDS, (2), $20 ea. (352) 341-1857 LIONEL POLAR EXPRESS train set, used, $150 (352) 465-0749 Lrg Parrot Bird Cage, 6' Tall, $300, Parrot Stand, $125. (352) 746-1597 Marble Top Lab Table for perfect work bench $75. firm Brother Word Processor $35. (352) 563-0022 NEW HEAVY DUTY ATTIC LADDER, 25- /2x54x10ft $60. 7FT COUCH, good shape, $90 (352) 726-8961 PATIO SET PVC, rectangular table, 6 chairs, chaise lounge, $300 MICROWAVE, $25 (352) 341-1857 PATIO TABLE W/4 CHAIRS, $25; CHEST OF DRAWERS, $20. SMW (352) 382-3379 Peavey silver 5-drum set w/seat, cymbals and all hardware. Mini "Harley" Chopper, bik & chro- me, 49cc, disc brakes, street lights, both less Queen Size Craftmatic Adj, Bed $200, Magnum paint sprayer, used once. $100. (352) 563-0202 ROUND MIRROR, 24", hanging, $20. (352) 613-2172 SEWING MACHINE $50, ROCKER RECLINER, Nice, $30, (352) 628-5472 SINGLE CRYPT Fero Memorial Gardens 1st Level In. 0/C. Re tail $8,700. Will Sell For $5,500 (352)489-0285 SOD. ALL TYPES Installed and delivery avallable.352-302-3363 SUPER NINTENDO & 21 Gumies, $70. 3 Wheel Bike, w/basket. $70; obo (352) 637-2735 TUESDAY, DECEMBER 6, 2005 11C "Copyrighted Material Syndicated Content Available from Commercial News Providers" 651520 Texas BBQ, 30"x20". Wheels, side & bottom racks, vinyl cover, used only 2 times, $120.new, Good Deal at $60. Call Joe .(352) 382-0866 White China, 8 place setting, trimmed in 1 gold, hdug piece setof gold hcadweardso gold runner, gold ond center piece, gold & white table clothe, $50. (352) 527-1493 after 6pmr White Vertal Blind 95" W x 80" H Uke new, $40. Schwinn Tricycle Pink & White w/ basket $100. (352) 382-3648 Custom Hot Dog Cart Model #525, all stainless steel $2,500. (352) 228-1650 GMC 1984, S15, Sierra Classic, Rebuilt motor, Fiber- glass topper bed liner 3,200. (352) 228-1650 ELECTRIC HOSPI- TAL BED Electric hospital bed $400 OBO 228-7730 INVACARE WHEELCHAIR & FOOT REST Excellent, $100 (352) 563-1370 JAZZY 1104 POWER CHAIR Orig. $3000, Sell $800 (352) 726-7405 BALDWIN DUET ORGAN double keyboard, foot pedal, sell for $500/obo (352) 344-2712 BRAND SPANKIN' NEW BABY GRAND PIANO Absolutely gorgeous Black Kawal Baby Grand. Trans 1Oyr warranty $9,999. 352-464-2644 Crate PA System With speaker cabinets, $500; Tenor Banjo, $400 (352) 422-2187 Fender Elec. Guitar $200; Epiphone Accoustic Electric, $100. (352) 422-2187 Lowery GX1 Console Organ with bench fully loaded, great Christmas gift$500. (352) 563-0121 Omni 6000 Wurlltzer Organ; keyboard computer, $3000 (352) 382-4539 PIANO Grunell Brothers, console, exc. cond. $1,200 obo (352) 527-3509 PIANO Kawal, upright, cherrywood $900. OBO.(352) 382-0707 HEALTH RIDER, Total body aerobic fitness rider w/ manual, New $500 Sell $275 OBO. (352) 613-2172 Home Gym System Welder Pro 9628 Uke new. Paid $300. Sell $150. (352) 564-0387 LASER PRINTER Brother, hardly used. 20ppm black. 2 new ink cartridges. 200.00 OBO 352-564-1668 TOTAL GYM Total Gym brand new $250 Call Michelle at 637-0556 or 586-1740 TOTAL TRAINER Used 3 times. Same as Total Gym. Paid 300.00 sacrifice at 125.00, ladles Jeep Comanche Classic, 10-spd., like new, never used, $70 (239) 839-2900 cell Inverness e HOLIDAY SPECIAL $4.50lb. 352-795-4770 Fishing Equipment Various Penn, Salt Wat- er Rod/Reel Combos $500. for all or will part (352) 795-9801 Full Set of Ladies right handed Golf Club (14) almost new bag, $150 Call after 5 p.m. (352) 382-0312 Gas Scooter, 49cc, Air tires, elec. start w/ re- movable seat. Runs great. New $375. Sell 200. (352) 746-2536 GOLF CLUBS Set of right handed ladies golf clubs, w/ brand new dozen balls $50. Also Ladles right handed clubs, $50. (352) 726-2644 Golf Clubs, bag & pull cart, $75. (352) 489-9041 KID'S POLARIS SPORTSMAN 700 2 batteries, excellent condition, $275 (352) 637-6588, eves Lady's "Bike" Huffy. Lt. Blue, & chrome many extras $50. (352) 563-5244 MIAMI SUN 3 wheel bicycle, good cond., $175 (352) 341-0626 Mountain Bikes 2 women's 21 speed, Helmets inc. GT $125 & Giant $75. Both Excel Condition (352) 746-6583 MEMBER 6 2005 Pool Table OLHAUSEN 8' Dark wood, leather pockets. All access, $900. OBO (352) 564-9490 POOL TABLE, Gorgeous, 8', 1" Slate, new In crate, $1350, 352-597-3519 UNDERWATER CAMERA Nikonos, w/ attachments & pelican case, $500, (352) 726-0251 4x8 Flat Bed Trailer, good cond, new tires, $125, . (352) 726-9647 5x8 OPEN UTILITY TRAILER, $500 (352) 341-2929 6X12 FLATBED utility trailer, diamond plate bed, tandem axle, $225 obo 4x8 2ft sides, $125 (352) 628-0950 BUY, SELL, TRADE, PARTS, REPAIRS, CUST. BUILD Hwy 44 & 486 Extra Large Dog House, Well made Good cond. (352) 746-1486 Fender, Strat, or Gibson Les Paul, (352) 257-3261 Railroad keys, locks, etc., Cash Paid (352) 382-4786 WANTED: WHEELCHAIR ACCESSIBLE VAN FOR HANDICAPPED MAN (352) 860-2182 Pets for Sale In the State of Florida per stature 828.29 all dogs or cats offered for sale are required to be at least 8 weeks of age with a health certificate per Florida Statute. AKC Pomerarlan Male 15 mo., $200.OBO 220-6051 leave mess. AKC Yellow Lab Pups OFA Cert., champion blood line, 4F, $850 ea. IM, $800. taking depos- its, ready 01/11/06 (352) 302-3866 Bottle Fed Baby Goats - 4.5 wks. old. (352)795-7513 FEMALE QUAKER Parrot, with cage $100 obo (352) 726-3375 Ferret Cage, Ig. on wheels. (352) 628-5694 HuJmdarlitarfdns of Florida Low Cost Spay & Neuter by Appt. Cat Neutered $20 Cat Savyed $25 Dog Neutered & Spayed start at $35 (352) 563-2370 Lab Puppies, healthy CCK reg. avail. 12/23 choice of color, M & F $300. will have health cert. & wormed (352) 637-3249 Papllion long & short term. 8 yrs. exp. Also need partial boarding. 352-746-6207 Pony's For Sale Beat the Christmas rush while they last. 6 left. $500 each. (352) 287-9207 (352) 447-4017 CRYSTAL RIVER & FLORAL CITY 2/1-1/2, $475; 1/1, $350 Floral City 2/1 $475 CH/A, no pets 1st, last, sec. (352) 564-0578 Crystal River 2/2DW Bright, clean, some furn., no smoking, sm. pet ok., handicap entry, disc. for seniors. $630./mo. 1st, last & sec, dep.(352)564-1374 CRYSTAL RIVER DW, 3/2, W/D, Sec Check, $600mo. + Dep. (352) 795-9060 DW 2/2 $525 up 1 BR unfur. $400. up. IBR furn w T This New Land Home Package. 3 bdrm, 2 bath , full finish drywall, 2 porches on 1/4 acre lot complete @ $589 mo, Call for Details (352) 628-0041 BUILDING A NEW HOME? Want to save nearly 30%? Better quality, more energy effi- cient. Le me show you how, Call Builder 352-628-0041 Hernando Dbl. wide By owner, on Hwy, 200. 2/2 Fla, rm,, priv, fence. Good location. Lg. garage & shed. $135,000,(352) 726-0117 Over 3,000 Homes and Properties listed at homefront.com REPOS AVAILABLE In your area. Call today. Ready to move Into. 352-795-2618 1, 2 & 3 BDRMS. Quiet family park, w/pool, From $400. Ingls., (352) 447-2759 2/1 Mobile w/ large LR addition w/ fireplace, Scr. patio, deck on canal, $90,000. Floral City (352) 212-0066 Over 3,000 Homes and Properties listed at homefront.com scrn. prch. Ig. shed. WatervIew $49,900 2/2 Furn. Good local, treed, owner fin. $66,700 Ask for Pat 302-4039 Parsley Real Estate (352) 726-2628 3/2 ON 5 BEAUTIFUL ACRES Fer,,,:e-d & i31 -, .r -; welcome. Just off, Citrus Ave. $20K Dn. $1,150. Per Mo. Call(352) 302-3126 NICE SINGLEWIDE ON HALF ACRE. 3-4 miles from Homosassa walmart. Call C.R. 464-1136 to see it. $66,600. American Realty & Investmentsa C. R. Bankson, Realtor 464-1136 Bring the Horses, 10 acres, w/nice 1999, 3/2, DW, 1850 sf, fenced w/ stalls, moti- vated, $245,900,\offer 352-613-0232 BY OWNER I AC W/14X60 2/2 SPLIT, DBL Roofover, NEW deck, siding, Int. Lg. trees, fenced, priv.. 7595 S Hollowpoint, Flo- ral City, (352) 586-9498 Crystal River 2/1, SWMH on 1 acre, secluded, ponds, $59,000. (352) 302-3884 FLORAL CITY 1971 Doublewide, 3/2 plus 2 extra rooms. Cent. A/C, carport, $47,000 7991 E. Brooks Lane (352) 560-0019 For Sale By Owner 1985, 24x68., 3BD, 2BA, 2 porches (1 screened), dbl. carport, 12x18 shed w/elec, roof over, above ground pool on 4 lots. $86,000. Call (352) 628-9293 FOR SALE BY OWNER In East Cove, Inverness '93 14X52,2/1'A on /4ac, completely turn, crprt, scrn rm, picnic deck, shed, septic, well, new roof in '04, was $67,900 reduced to $62,900 neg, (352) 637-0851 HOMOSASSA Nice 2/2 SW, scrn prch, crprt. strg. shed, a2ac fenced, $65,000 10%dw Ownr. fin, 352-628-3270 Just what you've been looking for. New 4/2 on 5 acres. Zoned for agriculture. Horses Welcome. $6,000 Down $750 mo. (352) 795-8822 appliances package, coun- try setting. 3 bed Cal h 352-621-9183 Lecanto, upgraded wW, 3/2 In desirable Cinnamon Ridge on oversized corner lot. fenced yard, Ig shed. Screened front porch, db.t carSpor fireplace carpet, paint. Ash $94)600. (352) 270-3080 Mini F.rms, 2C2 AC. 2/1 MH, Pool, Jacuzzi, New 10X16 shed , MOBILE HOME ON LAND on 3/24 acres, Fire- laence, new kitchen. new hardwood floors, , new carpet, 2 bpint. Ask beautiful decks, Call Jeff, (352) 400-3349 or 814-573-22328 NEW 2005' 3/2 on 1/2 acre off Billows Lane. Financing Available $WON'T LAST Ze80ro Dn, $700 Per M39mo,4/2,2170sq.ft, Call (352) 746-5912 acre off Billows Lnme PaFinancings Rolluzzl. Paved road & upgrades, $196,000. (561)262-0947 2001 in WALDEN WOODS, Gated 55+ Community In Homosassa. 3/2 1550 sq. ft. Includes some furn. Exc. lot location, $74,000. (352) 382-5514 1/1 on lake w/dock privileges. Newly decorated XI carport, scr. rm :h.- i1 j I rl .. v in i -:': D l- r :Ir,. i '; ?r,3:9 -. ,- inverness,$12,500. 352-422-0154 55+ PARK 2/2, Carport, beautifully landscaped, glassed in Fl. Rm. side porch, Wash Rm. w/sink, cabinets, new appl. Gated 55+ DBL, 2/2, Fl rm., porch, Isl. kit. all appl's. cus. storm awn ceiling fans. Close shops, hasp., $65,500. (352) 795-8983 MOONRISE RESORT on lake, 45+, 2/2, '05, 16x56, shed, golf cart, storage, glass Fla. rm., carport $48,850 (352) 344-2146 ON LAKE- FULL FURN. scrn, prch. $24,000,OBO Lot rent Incl. wtr, garb. sewer, lawn & boat docking, by owner, Pets ok. 352-447-4093 Singing Forest Pk, Floral Clty, 2/1/2, C/H/A Remodeled Inside, large lanai, Furnished, shed, must see $17,500 (352) 746-6410 WESTERN SUMTER CO. 3/2 DW, covered parking, scr porch. Yearly rental, 50+ park, $800mo,1st& Im Sec. WynnHaven Riverside Nice Family Pk w/Pool $205/mo. 6 ma Free rent, Inglis (352) 447-2759 Over 3,000 Homes and Properties listed at homefront.com -U Property Management & Investment Group, Inc. Licensed R.E. Broker > Property & Comm. Assoc. Mgmt. is our only Business )> Res.& Vac. Rental Specialists )- Condo & Home owner Assoc. Mgmt. Rabbie Anderson LCAM, Realtor 352-628-5600 info@aropertv manaamentgrouo. corn CIASSIFIEDS Co-Ua s CRYSTAL RIVER 1 BR condo partially fur- nished boat dock $750/mo 239-572-2330 On River House, Travel Trailers & RV spots avail, Short or long term, Excel. cond. on River w/ boat access. Big Oaks River Resort (352) 447-5333 Crystal Palms Apts 1& 2 Bdrm Easy Terms. Crystal River. 564-0882 CRYSTAL RIVER 1 bedroom, special rate, laundry on premises LAKE LUCY APARTMENTS (352) 249-0848 leave message and phone number INVERNESS 1 BR Triplex, on water, $375, 1st. last, sec. (352) 344-4617 INVERNESS 2/1 Clean, quiet area $375 & $450+ Ist, last, BEVERLY KING 352-795-0021 Specialist in Property Mngmnt/ Rentals beverly.king@ century21.com Nature Coast Crystal Palms Apts 1& 2 Bdrm Easy Terms. Crystal River. 564-0882 INVERNESS Neat & clean, 1/1, cent H/A, SR 44-E $495 mo (352) 726-1909 2700+ SQ. FT. Med/Prof. Bldg. being built in Pine Rdg. for Fall '06 lease. You determine floor. plan. 352-527-2099 Prime Location HWY 44 '/2 Mi. West of Wal-mart 1760sq.ft. Retail Space, (2) 5,000 sq.ft. out par- cels WillBuild to Sultl Assurance Group Realty, 352-726-0662 CRYSTAL RIVER 1/1, completely furnish- ed waterfront condo on sprlngfed canal w/boat slip. Seasonal rental, $1200 mo. (352) 795-3740 FULL TIME PAY FOR PART TIME WORKII! INVERNESS 2/2/1 Whispering Pines pool, W/D, no smok/pets, $715, 746-3944 PELICAN COVE 2/2/2 beautifully deco.Flsh off your dock, canoe down beautiful CR, boat to gulf, golfing within min,, bike though preserve. Full amenities. Long term or short term, Avail, 1/1/2006. $2,200. joannirwln@msn.com (352) 875-4427 PRITCHARD ISLAND 3/2/2 wtrfrnt Twnhs. W/D pool, tennis, fishing, maint. free $950. mo 352-237-7436/812-3213 CRYS RIVER/HOM. 2/1, with W/D hookup, CHA, wtr/garbage incl. $500mo., 1st, Last & sec. No pets. 352-465-2797 CRYSTAL RIVER Remodeled 2/1. W/D hookup. Water & trash incl. $580/mo. + sec. No pets (352) 228-0525 INVERNESS Neat & clean, 1/1, cent H/A, SR 44-E $495 mo (352) 726-1909 Lecanto clean, spacious, 2 bdrm/2 ba/ garage/scrn. rm. non-smoking, no pets, 650/mo, 650 dep. avail NOW. 352-422-6548 Daily/Weekly w Monthly Efficiency Seasonal $725-$1800/mo. Maintenance Services Available Assurance Property Management 352-726-0662 HERNANDO 2/1/CP, CH/A, W&D, pond, no smok/pets, $685, 746-3944 HOME FROM $199/MO 4% down, 30 yrs. @5.5% 1-3 bdrm. HUDI Listings 800-749-8124 Ext F012 If you can rent You Can Own Let us show you how. Self- employed, all credit Issues bankruptcy Ok. Associate Mortgage Call M-F 352-344-0571 INVERNESS 3/2/1 Fenced bkyrd, shed, W&D, $775mo. 3/2/2 w/pool, $1,000mo No Pets, No smoking Century 21 Nature Coast, Beverly 352-634-4833 Janice Holmes-Ray Property Mgmnt. 352-795-0021 We need units furnished & unfurnished 352-795-0021 NATURE COAST BEVERLY HILLS Beautifully furn. CRYSTAL RIVER 2/1 Loaded $1000 mo+ elec. 352-795-6282. A NEW HOME 3/2/2 Homosassa, $775 River Links Realty 628-1616/800-488-5184 Please call Mike at (646)773-6844 Beverly Hills 2/1.5/1 Lease w/purchase option. Fenced yard, nice area. $750/mo. (352) 746-7023 CITRUS HILLS 2/2 Condo Citrus Hills 2/2 Brentwood 3/2 Canterbury 3/2 Pool, Kensington 3/2Laurel Ridge 2/2 Beverly Hills $1100mo. (352) 746-4821 C" Ret'H. e = Unnished/V2, carport, very clean, 2050 Howard St. $800. mo 352-746-5969 CRYSTAL RIVER 2/2 Great Loc. applil's, spac. $675mo+ utl. 795-6282 CRYSTAL RIVER 3/2, Lrg remodeled, W/D hookup, FP, No pets, $800mo + Sec, (352) 228-0525 CRYSTAL RIVER 3-BR, 2-BA, nice, clean, $800 mo 352-795-6299 FLORAL CITY 2/2/2 SCRN. PCH., ADULT COM., NO PETS $790. (352) 344-2500 .. FOREST RIDGE ESTATES 2/2/2 Villa $825. mo Please Call: (352) 341-3330 For more Info. or visit the web at: cltrusvlllages rlent 2(3)/2/2 1st., Ist. sec. req. (352) 341-0696 or 302-8870 INVERNESS 2/2/2, Lake Front, Fl. Rm., FP, scrn. porch, $950. mo. Gas. Is. Rd. (352) 726-3773 INVERNESS 3/1.5/2 Gospel Island, A/C, tile, W/D, pets ok, $975mo 352-637-8449 INVERNESS 3/2/2, w/ pool on golf course $1,100. + util. part. furn., lease req. 637-2342 or 726-6027 Inverness Brand newl 3/2/2 No smoking or pets $975. + until.al, 352-621-0143 3/11/2, Unfurn.House w/ shop. HOMOSASSA $975 mo River Links Realty 628-1616/800-488-5184 CRYSTAL RIVER 1/1 turn., On River House, Travel Trailers & RV spots avail. Short or long term. Excel, cond. on River w/ boat access. Big Oaks River Resort (352) 447-5333 INVERNESS 3/2 Lakefront Townhouse, Washer/Dryer, Pool, Scrn rm. Boat Dock, New carpet/ paint $850mo.352-726-4062 $11 0.wk (352) 628-9267 Citrus Springs 2/2/1 Fully Furn., Includes all utilities, $1500/mo. neg., (352) 465-3944 CRYSTAL RIVER 1/1 turn,, w/dock. $700 mo+ utll. 1st & Sec. No smoklng1129 Paradise Pt 352-422-6883 Camp. furn.,prlv. wood- ed setting. Utilities Incl. No Smoking. 2 wk, min. $300week 352-726-6312 PELICAN COVE 2/2/2 beautifully deco.Flsh off your dock, canoe down beautiful CR, boat to gulf, golfing within mIn., bike though preserve. Full amenities, Long term or short term. Avail. 1/1/2006. $2,200. loannlrwln@msn.com (352) 875-4427 SUGARMILL WOODS 2/2/2 +Lanal, cul de sac. furn. Lawn Incl. $1500mo. Owner/agent 727- 804-9772 250 sq ft Warehouse storage Available, $200mo. Naber Kids Doll Factory (352) 382-1001 INVERNESS 540 SQ.FT. MOL, mobile home, great for storage, $200 mo. (352) 422-1916 cell - U4 Ra Ett. Need a mortgage & banks won't help? Self-employed, all credit Issues bankruptcy Ok. Associate Mortgage Call M-F 352-344-0571 Welding Shop/ Residence w/ Turn Key Welding Business, Industrial zon- ing, many uses, Inverness City.Limits, $118,000. 352-637-9630 WOMAN'SCIRCUIT TRAINING BUSINESS FOR SALE $35,000 (352) 220-9218 (2) CBS FINISHED DWELLING UNITS. Currently 4 rentals. 2400 liv. area total, 4BR/4BA CH/A, country setting 1-AC mol $250,000 (352) 726-1909 Brokers welcome. 'ePJ II Real EsI Ftate C I l c= for-Sa- m It I 1 call Cindy Bixler REALTOR 352-613-6136 cbixler15@tampa bovrrbco3n Craven Realty, Inc. 352-726-1515 -= 2678 W. Goldenrod Dr. Corner of Elkcamrn & Goldenrod, 3/2/3 on T acre. 2,100 sq. ft. Laminatefirs f ully land- scaped (352) 527-1717 2/2/2 + Sm. computer- rm & opt. 3rd BR. Totally Custom & Unique Gourmet Kitchen, c Fireplace in master, Pond w/waterfall. Inground Spa on lanai, Hurricane proof con--- struction, priv. 1.4 ac. - corner lot, energy effic.: home, $339K. Internet; citrusswaoshoo.com Click on buy then Rea Wh y More??? No Hidden Fees 20+Yrs. Experience Call & Compare $150+Mlllion SOLDIII Please Call for Details,.' Listings & Home ' Market Analysis 4 RON & KARNA IIEiTZ BROKERS/REALTORS- CITRUS REALTY GROUP, (352)795-0060. Don't Horse Aroundl Call Diana Wlllms A Pine Ridge Resident REALTOR 352-422-0540 dwillmsl@tampa bay.rr.com. - Craven Realty, Inc. 352-726-1515 FREE Home Warranty Policy when listing , your house with "The, Max" R. Max Slmms,,- LLC, GRI, Broker Associate. (352) 527-1655 CGvMsw&Cnda ^GAAC" The fastest growing newspaper in Citrus County... again! e e Ci Nl ate ;e More Citrus Countians than ever before are Discovering the Chronicle . Award-Winning Local news, Sports and Photography * Effective, Award-Winning Advertising Local Customer Service Representatives:; Comprehensive Local Classifieds that cannot be found anywhere else! F. Fr - I - ceonin co W.WW. chrOnicleOnline.com Florida's Best Community Newspaper Serving Florida's Best Community For convenient home delivery, call 352-563-5655 IN S --I suJn' f1 1r')f 'pp "-, n('Cu CITRUS COUNTY (FL) CHRONICI 1-01' W. Datura & N. Ocean, $176,000. 352-442-2386., 'Your Neighborhood' REALTOR' TRUS COUNTY (FL) C T .-hus Beautiful 3/2/2 Pool Home on 1 nicely landscaped acre, 3200 sq ft under roof. 2000 sq ft under AC. cath. ceiling, sky light in kit. To many extras to mention, $299,900. (352) 527-1096 BEAUTIFUL 3/2/2 POOL HOME on 3 ac. Many upgrades. Practically new. Must see to fully -appreciate. $540,000 352-746-7474/400-1975 Need a mortgage ,& banks won't help? Self-employed, '., all credit Issues bankruptcy Ok. SAssociate Mortgage SCall M-F 352-344-0571 RUSS LINSTROM REALTY, INC. lilnstrom@ digitalusa.net 800-522-1882 (352) 746-1888 53 BEVERLY HILLS BLVD. Corner Lot Neat 2/1/1 Sunroom, newer - appliances & Berber carpet. $97,500 (352) 527-7833, ,2/1/1, newer carpet, int. paint, appliances, & bath. C/H/A, Liv. Rm., plus Fam. Rm./3rd Bd. 318S. Harrison St. $119,900. (352) 746-6624 I CITRUS REALTY GROUP I 3.9% Listing Full Service/MLS Why Pay More??? No Hidden Fees 20+Yrs. Experience Call & compare $150+Milllon SOLDIII Please Call for Details, Ustings & Home Market Analysis I itusHlls CHRONICLE Bonnie Peterson Realtor "PEACE OF MIND" is what I offer "YOU" (352) 586-6921 Paradise Realty & Investments, Inc. (352) 795-9335. | CITRUS REALTY GROUP TUESDAY, DECEMBER 6, 2005 13C .r4 I .! CHARMING 3/2 on large corner 1/2 acre lot with mature oaks, new kitchen appliances & carpet throughout. Quiet neighborhood. Great Starter Home Don't wait, call Today Won't last long. Offered by Southern Homes & Properties (877) 809-9329 or (321) 443-1240. COUNTRYSIDE ESTATES Irg 3/2-1/2/2+, split level home on 1 acre MOL, 2600 sq.ft. living 3700 total, (352) 860-0160 (352) 302-8437 Cynthia Smith L Inverness Golf & Country Club former Builders Home, 3/2/2 Great rm, den/poss. 4th bdrm. eat-in kit, all appliances Incl. micro over glass top stove, wrap-around screen porch, recent heat & air, quiet cul-de-sac, new ext. paint. $244,900. (352) 860-0444 Need a mortgage & banks won't help? Self-employed, all credit Issues bankruptcy Ok. Associate Mortgage Call M-F 352-344-0571 SELL YOUR HOME Place a Chianicle Classified ad 6 lines, 30 days $49.50 Call 726-1441 563-5966 Non-Refundable Private Party Only ','ome ReFtrctiorn, -a5V oppl') 2/1 POOL HOME dbl lot, fenced back- yard, inground caged pool, huge florlda room, city water, central A/C. $99.999 352-344-5206 4/2 MH, Derby Oaks 2300 sq. ft., 1.25 acres, reduced to $135k. 352-341-0696, 302-8870 - s 3/2, w/ pool, 5 acres, 2 story cracker, 1597 sq. ft., 5552 N. Andri, Shamrock Acres, $289k (352) 563-1147 For Sale By Owner 4/2 + Den/office, on almost 1 acre, scr 8' pool, new everything, Reduced. Poss. Owner P-i (An-n 70 7aR 3 Rental Homes 3/2/2, 2434 sq. ft. + 408 (2) CBS FINISHED on about 2.5 acres for sq. ft. lanai, split plan, DWELLING UNITS. $125,000.(352) 347-6096 pool, wetbar, well, Currently 4 rentals. 2400 or (352) 454-1139 3 walk in closets, many liv. area total, 4BR/4BA Donna Raynes extras. No brokers CH/A, country setting $289,000. (352)382-7383 1-AC mol $250,000 (352) 476-1668 (352) 726-1909 : CITRUS REALTY GROUP Brokers welcome 3 BED 2 BATH BANK 3.9% Listing FORECLOSURES l eOnly $25,0001 For listings SFull ServIce/MLS 800-749-8124 Ext H796 Why Pay More??? No Hidden Fees 20+Yrs. Experience .' Call & Compare $150+Million SOLD!!! - Please Call for Details, Listings & Home Market Analysis '. ? I "Here to help you M A through thelProcess" RON & KARNA NEITZ through the Procss" BROKERS/REALTORS Bonnie Peterson | hmesan ian9o1m CITRUS REALTY GROUP Realtor S omesddcpm (352)795-0060. "PEACE OF MIND" donnasilverkna (352)795Is what I offer properties.com Custom 3/2/3,w/ Den "YOU" htd. pool, well, all appl. (352) 56 & 6921 neutral colors, too aradiseRealnts, I& much to list. Immediate nvestmens,2) 795-93Inc. Occupancy. REDUCEDI (352) 7959335 183 Pine St. $279,500 (352) 382-3312 Bring the Horses, 10 acres, w/ nice 1999, HOMOSASSA SPRINGS Glenn Quirk 3/2, DW, 1850 s, Country living on your 352-228-0232 fenced w/ stalls, moti- own, High & Dry y2Ac KrIstine Quirk voted, $245,900,\offer 1800sq.' home. 2001 352-228-0878 352-613-0232 Top of the line, Palm Bay 3bd. 2bath with in B G OR 45 min of TIA, Fire Place, sunroom double drive- way, w/ elect. double decks & too many options to list. $127,400. (352) 621-3418 Cell 352-422-2667 view at chronlcleonline.com a i " PUT THE QUIRKS TO WORK! SNature Coast (352) 613-3503 Motivated Seller EXIT REALTY LEADERS Sl for f Looking for Quick Closing! CITRUS HILLS Outstanding custom, TERRA VISTA contempt. pool home. Stunning 4 bed Mv-i 5/3/3, 4200sq.ft. on priv. pool home in 1ac. Lg. state of the art gat olf coming kit. Huge master & fam. MUST SEl $618,900 rm. 20' ceilings, C columns, 2 FP's granite, trus Realty Group NEW HOMES ONLY 4 marble, all upgraded LEFT 3/2/2 BLK. CONST. until. House has it all! For Deed restrict $136,900 demanding buyer it CITRUS REALTY GROUP Best value anywhere offers quality & value. Move-in readvl Asking $379,000. Must 100% fin WAC, pymnts. see to appreclatel 3.9% Listing at $717/mo. HURRY! (352) 746-7033 727-271-0196, Realtor Full Service/MLS Need a mortgage Why Pay More??? & banks won't help? No Hidden Fees Self-employed, 20+Yrs. Experience all credit Issues Call & Compare bankruptcy Ok. Associate Mortgage $150+Million SOLDII! Call M-F 352-344-0571 Please Call for Details, Reduced by Owner Listings & Home 3/2/21/2, Updated, 1915 Market Analysis sq. ft., Ig. kit, w/ cathe- dral ceiling, Ig. solar RON & KARNA NEITZ heated pool $252,900. BROKERS/REALTORS 1352) 586-6696 CITRUS REALTY GROUP Spofted S. Oak Village, quality (352 Dog 3/2/2 great upscaleeRALEoBYBOWNER Real Estate quick close.$269,000. home on 2/2 acres. (352) 628-9191 (352) 382-4008 4/3/2 has mother-in-law apt. So many extras. Very Nice Block Home WAYNE I can not list them all! .on 5 acrs, on paved rd. Private deadend road, 3/2/2, 12 x 18 Lanai, en- CORMIER horses allowed. closed, Only 8 yrs. old, $329,000 Call (352) Shop & utility buildings, 746-2458/422-1059 (c) Beautiful landscaping. Zoned agriculture. FREE REPORT All of this for $250.000. What Repairs Should (352) 621-3826 You Make Before You Sell?? Online Email "It's All About YQ.U I" Here To Helpl Or Over The Phone Visit: 352-795-2441 waynecormler.com (352) 382-4500 DEBBIE RECTOR '"L !% ~ (352) 422-0751 ,,"., - 2 3/2/2.5 p =Gate House Realty One homesnow.com Buyers & Sellers are' me work WITH you "R CUSCOUNT Meredith Mancini (352) 464-4411 l Exit Realty Leaders Crystal River 2003 3/2/2.5 plus den 2,162 sq. ft. pool home. Open floor AL LEILA K. WOOD, GRI plan. Zodiac counter Broker/ Realtor tops, tile floors, many We're Growing extras. $339,000. Visit us at our (352) 382-7084 new location: ALAN NUSSO PARADISE REALTY 2/2/22, Fa. Rm., BROKER 7655 W. Gulf to Lake large kit., 2000 sq. ft., Associate Hwy, #8 (next to excellent cond., office, Real Estate Sales Manatee Lanes in the new roof, encl. lanai Exit Realty Leaders Executive Center) $160,000.(352) 382-5186 (352) 422-6956 (352) 795-9335 (931 ) 808-6657 --" .- General merchandise items only, two items per ad, 3 ads per household per year, private party only. R All ads are prepaid and nonrefundable. 563-5966 or 726-1441 CI TRUST COUNT CT R Nn 0E CLASSIFIED Nw"s ow wa HOME FOR SALE On Your Lot, $103,900. 3/2/1, w/ Laundry Atkinson Construction 352-637-4138 Lic.# CBC059685 Michele Rose REALTOR "Simply Put- I'll Work Harder" 352-212-5097 Craven Realty, Inc. 352-726-1515 NEAR LAKE ROUSSEAU BY OWNER 2/1 dbl. lot 2 sheds, trailer H.U. $95,000 Self-employed, all credit Issues bankruptcy Ok. NEW HOME 3/2/2. Front & Rear Porches. Builder pays all closing cost. Move in today. $168,500. (352) 527-8764 Over 3,000 Homes and Properties listed at homefront.com SEEN THE REST? WORK with the Deborah Infantine Top Sales Agent 2004 & 2005. ( ny. Office) EXIT REALTY LEADERS (352) 302-8046 Vic McDonald (352) 637-6200 Realtor My Goal is Satisfied Customers REALTY ONE R Outstanding Agents OuIstadlTing Results (352) 637-6200 We're Selling Citrus! NO Transaction fees to the Buyer or Seller. Call Today Craven Realty, Inc. (352) 726-1515 FOR SALE WITH OWNER Spruce Creek Preserve Rt. 200, Dunnellon Beautiful Home, 2/2/2, like new. Split plan. Built in 2000, Eat-in large kitchen with bay window, 1684 sq. ft. Stucco. Large cement deck. $1920,000. Call owner 1-352-291-2788 F m lwj .. I Neea a monrgage & banks won't help? Self-employed, all credit Issues bankruptcy Ok. Associate Mortgage Call M-F 352-344-0571 NEW TWO STORY CAPE COD -2,900 sq.ft of Living/260 sq. ft. Porch. $230,000. Call (352) 746-5912 OWNER FINANCE 2/2/2 w/deeded 80' dock kingsbay. Fireplace, pool, newly renovated, 10% down, $299K agent owned, Mary 697-0435 Pauline Davis 352-220-1401 coIneres 1 .s Hlls 4h.LomesH ALL FIRST TIME- HOMEBUYERS UP TO 103% FINANCING AVAILABLE Get Pre-Approved ASK ABOUT OUR FREE CREDIT SCORE BOOKLET, SEMINAR AND CONSULTAION FREE Recorded Message 1-800-233-9558 X10051 Ask for Clark, Lic. Mtg Brkr 0** p I Lecant "Homs.na^ 34C TUESDAY, DECEMBER 6, 2005 Mi S -4 r S Homes^^ lico Home Over 3,000 Homes and Properties listed at homefront.com INGLIS. Remodeled. 5/2, Oarn/work room on, approx 11acres, $349,000. Contact:. Lisa VanDeboe Broker (R) /Owner 352-422-7925. Over 3,000, Homes and Properties listed at homefront.com Over 3,0000 Homes and Properties listed at homefront.com FOR SALE BY OWNER 2/2, off Gospel Island Rd., Inverness. Laguna Palms, $112,000 , (352) 461-6973, Cell Royal Oaks Inverness. 1/1 ior .le t'v .'...vnei (352) 344-0840 SUGARMILL WOODS - Beautiful furri. 2/2, screened lanal, carport, immediate occupancy, $150,000 (352) 628-3899 -m (2) CBS FINISHED DWELLING UNITS. Currently 4 rentals. 2400 liv. area total, 4BR/4BA CH/A, country setting 1-AC mol $250,000 (352) 726-1909 Brokers welcome CITRUS HILLS TERRA VISTA Stunning 4 bed. pool home in gated, golf comm. MUSTrSEEI $618,900. CItrus Really Group (352) 795-0060 CITRUS SPRINGS GOLF COURSE 3/2/2 + encl. lanai, overlooking 8th tee. Tile/carpet floors, neutral colors, apple's , garden shed. huge oak trees. $230,000. 8272 N. Golfvlew Dr. (352) 527-9616 Over 3,000 Homes and Properties listed at homefront.com WAYNE CORMIER, -U CEDAR KEY 1 wk + bonus wk. Prime time. $1700 obo. (352) 212-5277 CITRUS REALTY GROUP 3.9% Listing Full Service/MLS Why Pay More??? No Hidden Fees 20+Yrs. Experience Call & Compare $150+Million SOLDI Please Call for Details, LUstings & Home Market Analysis RON & KARNA NEITZ BROKERS/REALTORS CITRUS REALTY GROUP (352)795-0060. CRYSTAL RIVER Pelican Cove Condo, 3/2/1, LR, DR, deck, great views, deeded dock, asking $319,500. owner (352) 795-0069 CRYSTAL RIVER, 3/2, over 175ft on, water, $575,000. Contact Lisa BROKER/Owner (352) 422-7925 Crystal Shores, 2/3/den, dock, boat slip on 2 lots, porch w/ vinyl windows, overlook gor- geous lagoon min. to gulf, excel, cond. appt. only (352) 795-1571 Homosassa By Owner Gated riverfront/ spacious, 4159 sf; 3BR/3.5bth suites, 180 deg wtr vw. $863,000. 352-628-4928 www. elistinaservlce.com Id 32527 LAKEFRONT Condo. 2/1. $75k. 407-836-5624 or 407-644-8523. LET OUR OFFICE GUIDE YOU! Plantation Realty. Inc. (352) 795-0784 Cell 422-7925 Lisa VanDeboe Broker (R)/Owner See all of the listings In Citrus County at www plantation realvlnc.com Over 3,000 Homes and Properties. listed at ;- homefronf Ca$h........Fast I 352-637-2973 Ihomesbld.com 5 Acre Mini Farm Located in Citronelle (352) 666-8826 5 ACRES, wooded, animals allowed, all closing costs pd by seller (352) 422-5683, after 6pm 10.3 Acres. High and Dry in Pine Mountain Estates. 491 Beverly Hills Bordered by private roods front & rear. Lot measure 342 x1316, zoned LDRM, 8" well on site, partially cleared, 1st offering at $230,000. Keith 352-249-8205 Bring the Horses, 10 acres, w/ nice 1999, 3/2, DW, 1850 sf, fenced w/ stalls, moti- vated, $245,900.\offer 352-613-0232 CITRUS HILLS $67,900 lac Wooded lot 352-212-7613 Crawford Citrus Springs 10,000 sq. ft or 80'x125'. Water, elec. & telephone services already Installed. Must Sell! Asking $34,900. (352) 465-9362 FLORAL CITY 2+ acres (2 lots) wooded, paved road, city wtr, $59,900 352-344-0191/228-0688 HOMOSASSA 3 acres high & dry close to shopping & river ac- cess 15 minutes to gulf REDUCEDI$ 120,000 call 352-286-4482 very motivated to sell KENSINGTON ESTATES 495 Cornish, Great area Excel. acre corner lot. Call (954) 629-5516 PINE RIDGE ESTATES 4563 N. Lena, 1.06 Acre Lg. Oaks. Needs no fill. RA nnn i9 A91-AA916 We Specialize in Helping the Small Investor Acquire Homesites & Acredge 352-795-3144, ask for C.R. Bankson at ERA American Realty & Investments cr.bankson@era.com Investor Homesites FREE PACKAGE Site Maps & Flyers, Call 1-800-476-5373 Ask for CR CoMN'Y (FL) CHRONICLE CITRUS SPRINGS 20 LOTS FOR SALE 30K-34K each. 407-617-1005 CITRUS SPRINGS Beautiful wooded 1/2 acre lot on Airway Loop $48,900 call (352) 746-1636 HOMOSASSA LOT $12,500. (352) 628-7024 citruscountvlots.com PINERIDGE & TIMBERLANE EST. 5 Lots. (352) 422-2293 WAYNE CORMIER Here To Help! Visit: waynecormler.com (352) 382-4500 (352) 422-0751 Gate House Realty S GEORGIA 142AC OLD farm, house, sm. field, .Ig. hrdwds dear, turkey, $375,000 (912) 568-7480 -g CHASSAHOWITZKA Access to Gulf, corner lots, Boat House (352) 382-4235 Floral City .75 Acre on canal to Withlacoochee at Trail's End. 8220S. Kimber WIFE SAYS SELLIPrime Riverhaven Canal lot. Priced Reduced to $300,000 352-621-7713 CU Sporty 300 hand-held transreceiver, with holster-Dave Clarke headset w/ boom mike and remote switch all like new $200. (352) 563-0022. 2, Danfdrth Boat Anchor Large, $50 Small $20. (352) 726-9647 GALVANIZED TRAILER for 16FT boat, good cond., $300 obo 12 S. Jackson St., Beverly Hills (352) 746-4874 OUTBOARD MOTOR 2001, 70hp Yamaha w/ controls, looks & runs exc. $3,200. (352) 212-2055 0000 THREE RIVERS MARINE CLEAN USED BOATS We Need Them! We Sell Them! U. S. Highway 19 Crystal River 563-5510 26 Ft. 2004, Sea Swirl, walk around cuddy, w/ 225 Yamaha, w/ trailer, 83 hrs. on boat & motor, like new $48,000. obo (352) 628-4943 1995 Sears 12' Jan Boat & Galvanized Trailer. $675; 1 Year Old Foot Control Trolling Motor. $125. (352)465-6597 AIRBOAT 14FT, fiberglass hull, Cadillac engine, with trailer, runs good, needs a little TLC, $3,500 obo Possible trade?? (352) 726-6864 Bass Buggy Pontoon 18', 40hp Johnson Tracker Motor, orig. tri., great fishing/ family fun boat, many extras, $3800. OBO (352) 628-6364 BOAT MOTOR 150HP Evinrude $1,000 (352) 793-6896 BOAT SLIP FOR RENT ON CANAL off Homosassa River $125/ mo. 352-628-7525 CANOE, 13' 6" Adiron- dack, Oak Bow, stern, side rails, 42" W, Lt. weight-2man, garage kept, new cond. $550. aft. 4pm (352) 465-5337 CAROLINA SKIFF 2001, 19.8,60hp 4 stroke Suzuki &trailer. Perfect cond. $10,500. (352) 628-5222 HOLIDAY SPECIAL e KEYWEST Jumbo Shrimo $4.50lb. 352-795-4770 FIBERGLASS BOAT 14', 10hp Outboard motor, trolling motor w/ new battery, new tri, $1,900. (352) 465-8702 Glass Stream 79' 14ft. Boat & Trailer, w 9.9 game fisher motor, plus trolling motor $1,250. (352) 621-5346 or Cell, 302-8886 JON BOAT 11'8" alum., 2 Minnkota trolling motors, access., $350 obo. (954) .444-5039,'Mln. 551b SW auto pilot, 3 batt, charger, bimlnl, Lowe Alum Bass Boat '03 17ft 25hp Yamaha 4 Stk BiminiL Top, Incl. Trailer $5300.344-5032 MARINER 14' Fiberglass, W/9.9 Elec. Start engine 1996, Bim, top, trailer. $1750/obo (352) 563-5688 NEW Keywest Boats .Angler Boats Starting as little as $11.695 Large Selection In Stock Now! Select 2005 models still avail. at discounted prices. Clean used Boats Riverhaven Marina 5296 S. Riverview Cir Homosassa .352-628-5545 NEW GALV. & ALUM. BOAT TRAILERS *Close-out Prices. Big End of the Year Savings on All Trailers & Parts *MONROE SALES. Mon-Fri. 9am-5pm (352) 527-3555 PLEASURE CRAFT 1974, 24', Exc. salt water fishing, runs perfect, " trailer $3,000. OBO. (352) 302-8156 PONTOON 1998, Play Buoy, 20ft., fish n fun model, 40HP Yamaha, full cover, $6,995. (352) 628-1958 Pontoon Boat 1984 18ft Fbgiss 35 hp Evinrude Mtr Bim top No trailer $2700. 344-5032 PROLINE 1987 17FT, center con- sole, all fiberglass, 85HP Johnson & trailer, $2,500 obo (352) 726-7914 RiverMaster Airboat 13', 316 Stainless Steel, 403 V8, $6000. (352) 422-0983 SAIL BOAT 1975, 25', Hunter, needs TLC, $1,200. OBO. Or Will trade for truck. (352) 637-5920 SILVERTON FUN BOATI 1987.34 Ft., runs great $15,000 or trade, (352) 249-6982 or 249-6324 SYLVAN 1990.21', Super Sport, Aluminum, open bow, 1992 200hp Mercury black Hawk (low mi) Easy load TrI, all exc cond, garage kept, Loran fishfinder, ship to shore King radio plus many extras, $7,500. (352) 527-7015 TWINVEE 20', 140 Johnson, 253hrs, TTop, VHF, AM/FM/CD, fish finder, aluminum trailer. $15,500. (352) 563-2500 (352) 212-9267 ALLEGRO CLASS A '99, 32'. Hyd.Jacks,.27k 454 Chevy, Gen, no pets/smoking $34,000/ obo. 352 465-6827 COACHMEN 28', diesel Ulm CLASS] 5th Wheel 32' 1998, 3 sides, queen size bed, very nice. No smoking/pets. $13,500. 0B0(352) 793-7996 Airsteam 1991, Good cond., $2500. 00 (352) 795-4856 After 6pm Cimmaron 29' 1988, Very nice inside, outside rough, $4250, OBO (352) 613-5090 DUTCHMAN '96 Signature LTD 33FT 5th wheel. slide-out, fully equip. $13,000 obo (352) 341-6821, Iv.msg NEUMAR 1998 31ft. Full slide, Extra Clean, $9,250 OBO (352) 586-6181 POP UP CAMPER 1997, Scamper, good cond, indoor/outdoor kitchen, $2500. (352) 726-0251 Prowler ,1993,26', Real Clean, excel, shape. $6900. (352) 795-2631 Terry 29' 1995, CHA,Queen size bed. Excel. Cond. $6500. OBO (352) 228-9774 2 Semi Truck Seats, Brand new, Air Seats, Leather, $800 OBO. (352) 563-1506 4 14" RALLY WHEELS like new, $200. General motors RADIATOR, 3 core, like new, $150 (352) 344-9575 4 TIRES 33x10.5x16.5, BF SGoodwrinch, 70% $250.(352) 212-2055 BEDLINER, complete, for Dodge Dakota truck, $50. (352) 344-9222 CAPTAINS CHAIRS from fullsize vans. Tans, burgundy & blue, cloth, exc. cond. $150/pair (352) 564-2545 FORD INLINE 6-CYL. HEAD, will fit 70-85, $250 obo (352) 613-7667 TARNO FIBERGLASS for Slverado, like new, $200 (352) 621-0537 TRUCK TOPPER, Fiberglass, red In color, 2 windows, fits fullsize truck, $200 firm (352) 341-0786 VEHICLES WANTED, Dead or Alive. Call Smitty's Auto A28o9 I10 1 CADILLAC 1998 Sedan DeVille, Delegance, all options, 87K, like new. $8,500. (352) 746-4703 SPontiacGrandAMGT 2rV6LoaeSunroof.$7,880 Tr~ipleeeather, eal Nice. $8,750 Call for details. (352) 465-0721 BUICK SKYLARK '85, 4cyl., seats gd. 4dr, ac, runs gd. 52K, auto, exc. $800. Call 352-464-2172 BUICK, '94 Century 4 dr. loaded, V6, 77K, cass. Garaged, like new, $2850. 352-382-7764 Cadillac 1987 Sedan Deville, 2 new tires, leather seats, eng. blown. $300. OBO (352) 344-8001 or 1220-0721 Call Us For More Info. About New Rules for Car Donations Donate your vehicle to THE PATH (Rescue Mission for Men Women & Children) at(352) 527-6500 100 + DeviN DEPENDABLE CARS O352) 476-154DOWN 30 MIN. E-ZCRAbout NewI D75- HOMSAtion SSA CHEVROLET 1995, Camaro Z28 Convertible, 35K mi, Exc Cond, $9,900. (352) 726-5469 (352) 220-4259 CHEVY '05, Impala, 13k mi., one owner, power win., etc., $13,500. warranty (352) 274-0670 CHEVY 2003, Monte Carlo LS Coupe, 34,500mi, $12,750/OBO. (352) 267-0879 CHRYSLER 1988 New Yorker, great for parts or,repair, good 3.0 litre, V-6, clear title, $300 obo (352) 344-8678 CHRYSLER 2001, Sebring LX Convertible, white w/ tan top. exc cond, 67K; fun to drive, below book price. $7200.OBO, (352) 212-8445 CHRYSLER 2004 Pacifica, White, 21K, under warranty, below book $18,800 (352) 621-5404 CORVETTE 1979, auto., runs good, needs TLC, $4,250 obo Possible Interesting trades? (352) 726-6864 CORVETTE 2000 coupe,35,000 mi silver w/ gray Interior, Asking $26,500. (352) 382-4331 WE.FINANC.YOU 100 + CLEAN DEPENDABLE CARS FROM-'350-DOWN 30 MIN.E-Z CREDIT 1675-US19- HOMOSASSA FORD '91 Crown Victoria LX, LTD 128K mi., $1,000 obo (352) 637-3552 FORD '92 Mustang GT donv. 45K act. mi., 1-owner, 5.0 auto., PS, PW, PD, exc. cond. $9,500 obo (352) 795-6353 or (352) 697-2737 FORD '99 Escort ES 4 dr, AC, auto, cass, con- sole/ buckets, clean, $3500. 352-382-4541 Off HRINPAYHERE 100 + CLEAN DEPENDABLE CARS FROM-'S350-DOWN 30 MIN. E-Z CREDIT 1675- US19-HOSASSA HONDA ACCORD 2003, 4-dr., silver EX, bik leather int. loaded, auto., 4cyl., exc cond. $19,800 (352) 400-0042 HONDA PRELUDE SI 1989, 1 owner, A-1 cond. $1950. Call for info.(352) 628-3969 Cell anytime 205-0291 HYUNDAI . 2003, Accent, auto. 32mpg. 4dr, cold air, 32K, good cond.,$8,500 OBO. (352) 795-6364 INFINITY 1990, M30, 2-dr. coupe, 82K, mint, $2,500 (352) 341-5211 MAZDA '05, Miata, MX-5 con- vertible, only 1,800 mi- les, 5 -speed, razor blue, A/C, P/W, P/L, cruise, mint cond. $18,000. 352-746-9115 MAZDA 2000 DX, 5-spd., 30-40 mpg, 4-dr., $5,500 (239) 839-2900 cell (Inverness) MERCURY GRAND MARQUIS 2003 Presidential Package, Landau Roof, Beautiful, black/charcoal 21K mi, $13,800 CC, All Pwr, AM/FM Cd/Tape, Gar- age kept, Dealer maint. 352 527-1208 MITSUBISHI 2003 Lancer ES, 66K, exc. conrd. $7400/obo (352) 422-4878 NISSAN CENTRA '96 SE, 4 dr. auto, air, runs good, low ml. $3800 (352) 527-0223 PONTIAC 94 Grand Prix SE high miles, runs & looks great, 2 door, very good on gas, white, all pwr, $1500.B00. 352-634-6723/ 563-6450 Search 100's of Local Autos Online at wheels.com ( ;l i r lt .I. ,,,.,. TOYOTA '00, Avalon, XLS, orig. owner, NS, fully loaded, excel, cond. garaged, serve. records, 66k mi. asking $14,950. (352) 697-1862 or (352) 249-4412 TOYOTA 1990, Camry, 4 Cyl., auto, AC, PB, PS, PW, runs & drives good $1,100. (352) 564-8014 TOYOTA CAMRY SOLARA 2004 20,249, Air Condition, PS, PW,, Power Door Locks, Premium Wheels, Moon Roof, Premium Sound, Leather, Power Seating, $18,5000 excellent condition, willing to trade for equivalent flats boat. (352) 795-0595 H t .. - Wanted 96' or newer car, good cond./gas mileage. Pay up to $1700. (352) 621-9707 CHEVROLET 1987 EL CAMINO. V8, all power w/ cruise, Arizona car, exc. $9,200 B00. Conv cust paint Red, showroom. 5spd. loaded 30MPG, $4200/ obo. (352) 621-0484 1979 JEEP CJ7 78000, 4 Wheel Drive, $3,500.00 Fiberglass top, full steel doors, half alu- minum doors 344-5529 MANY TRUCKS, SU'S & VANS IN STOCK FROM'I5OO-UP 30 MIN. E-Z CREDIT 1675- US 19- HOMOSASSA CHEVROLET '86 Sllver DODGE '05, Rumble Bee, yellow, low mi., $8k in extras, . mint, must sell by 12/2 new truck end, asking 19P9, F150XL, long bed, silver, V6, A/C, auto, AM/FM, Exc Cond, 58K, $7,750 OBO. (352) 628-2113 FORD '89, F 150, crew cab, 6 cycle standard, new tool box, exc bed, runs good, $1200. (352) 795-3238 FORD F-350 '99 BRW, super cab, Diesel, equipped for 5th wheel towing, high mileage but exc. cond. $11,500. (352) 637-3996 FORD RANGER XLT 1994, 4cyl, 5spd, new clutch, Cold AC. $2000/obo (352) 489-5928 GMC 2001, Sierra, SLE, xcab. all power, V8, color Pewter, 45,818 mi. $14,990. (352) 746-0939 Search 100's of Local Autos Online at wheels.com TOYOTA '98, Tocoma, 72k mi., excel, cond., fiberglass topper $7,650. 302-8886, 352-621-5346 88, TOYOTA, 4x4 landcruiser, white, needs trans ( I 1. t1 1 ,' .1 l . Toyota Landcruiser 1977, gd. shape, maint. records, repair manual $7000. Call to see 795-5510 or 795-1308 FORD BRONCO II '88, 4x4, Manual w/OD, Hunter/mud bagger special, Everything works, S800. (352) 628-1852 Search 100's of Local Autos Online at wheels.com (,C llt' *. iJ ., Jeep Grand Cherokee ,1996 V-8, 4x4, new tires, looks perfect, runs better. inl, e5 .nn 93, MITSUBISHI EXPO 5 dr, all pwr, white, runs, drives, trans leak. $600. (352) 427-2818 'MR CITRUS COUwN ' ALAN NUSSO BROKER Associate Real Estate Sales Exit Realty Mercury Villager 2000, Brand new tires, fully loaded, 6 disc CD changer, leather $11,500.(352) 637-6374 Search 100's of Local Autos Online at wheels.com 1989, Goldwing Trike, 72K, exc cond, new tires & battery, $11,000 Firm352-302-1549 L/M Search 100's of Local Autos Online at wheels.com C l l 1 ., 1 , 500-1206 TUCRN Notice to Creditors Estate of Betty L. Moore PUBLIC NOTICE IN THE CIRCUIT COURT FOR CITRUS COUNTY, FLORIDA PROBATE DIVISION File No: 2005-CP-1487 IN RE: ESTATE OF BETTY L. MOORE, A/K/A BETTY LOU MOORE Deceased. NOTICE TO CREDITORS The administration of the estate of Betty L. Moore, a/k/a Betty Lou Moore, deceased, whose date of death was December 18, 2304. is pending in the Cir-. cuit Court for Citrus Coun- ty, Florida, Probate Divi- sion, the address of which is 110 N. Apopka Avenue, Rm 101, Inverness, Florida 34450-4299. The names and addresses of the per- sonal representative and the personal representa- tive's attorney are set forth below All creditors of the dece- dent and other persons having claims or de- mands against dece- dent's estate on whom a copy o' his notice is re- quired to be servedd must fie their claims with this Court WITHIN THE LATER OF 3 MONTHS AFTER THE TIME OF THE FIRST PUBLIC CATION OF THIS NOTICE OR 30 DAYS AFTER THE DATE OF SERVICE OF A COPY OF THIS NOTICE ON THEM. All other No- vember 29. 2005. Personal Representative: /s/ Thomas Daniel Moore 328 S. Monroe Street Beverly Hills, Florida 34465 Attorney for Personal Representative; /s/ Robert D. Hines Florida Bar No. 0413550 Hines Norman Hines P.L 315 South Hyde Park Ave. Tampa, Florida 33606 Telephone: (813) 251-8659 Published two (2) times in the Citrus County Chroni- cle, November 29 and December 6. 2005. 501-1206 TUCRN Notice to Creditors Estate of Irene Fogg PUBLIC NOTICE IN THE CIRCUIT COURT OF THE FIFTH JUDICIAL CIRCUIT. IN AND FOR CITRUS COUNTY, FLORIDA PROBATE DIVISION File No. 2005-CP-1511 IN RE: ESTATE OF IRENE FOGG, Deceased. NOTICE TO CREDITORS The administration of the estate of IRENE FOGG, de- ceased, File Number: 2005-CP-1511, INTERESTED PERSONS ARE NOTIFIED No- vember 29, 2005. Personal Representative: /s/ BARBARA LANE 8864 North Santos Drive Citrus Springs. Florida 34434, November 29 and December 6, 2005. 502-1206 TUCRN--- Notice to Creditors Estate of Charlie S. Howell, Sr. PUBLIC NOTICE IN THE CIRCUIT COURT FOR CITRUS COUNTY,' FLORIDA PROBATE DIVISION File No.: 2005-CP-1507 IN RE: ESTATE OF: CHARLIE S. HOWELL, SR., Deceased. NOTICE TO CREDITORS The administration of the estate of CHARLIE S. HOWELL, SR.. deceased. whose date of death was September 27, 2005, and whose Social Security Number is 362-09-8110, is pending in the Circuit Court for Citrus County, Florida, Probate Division, the address of which is 110 North Apopka Ave- nue, Inverness, FL 34450. The names and addresses of the personal represent- ative and that of the per- sonal representative's at- torney November 29. 2005. Personal Representative: /s/ PATRICIA H. HAESEKER 9137 N. Matsonford Ave. Dunnellon, FL 34433 Attorney for Personal Representative: /s/ Michael T. Kovach, Jr., Esquire KOVACH, KOVACH & RODRIGUEZ , Florida Bar No. 0308020 106 N. Osceola Avenue Inverness, FL 34450 Telephone: (352) 344-5551 Published two (2) times in the Citrus County Chroni- cle. November 29 and December 6, 2005. 599-1206 TUCRN Notice to Creditors Estate of Marie Elizabeth Taylor PUBLIC NOTICE IN THE CIRCUIT COURT FOR CITRUS COUNTY, FLORIDA PROBATE DIVISION File No. 2005-CP-1535 IN RE: ESTATE OF MARIE ELIZABETH TAYLOR Deceased. NOTICE TO CREDITORS The administration of the estate of Marie Elizabeth Taylor, deceased, File Number 2005-CP-1535, is pending in the Circuit Court for Citrus County, Florida, Probate Division, the address of which is 110 North Apopka Ave- nue, Inverness, FL 34450. The names and addresses of the personal represent- ative and the personal representative's attorney are set forth below. All creditors of the dece- dent and *other persons having claims or de- mands against dece- dent's estate, including unmatured, contingent or unlilquidated PUBLICATION OF THIS NOTICE. ALL CLAIMS NOT SO FILED WILL BE FOREVER BARRED. The date of first publica- tion of this Notice Is No- vember 29. 2005. Personal Representative: /s/ JOHN W. TAYLOR, JR. 170 Crestwood Street Chicopee Falls, MA 01020 Attorney for Personal Representative: /s/ MARIE T. BLUME Attorney Florida Bar No. 0493181 Haag, Friedrich & Blume; P.A. 452 Pleasant Grove Rd. Inverness, FL 34452 Phone No. (352) 726-0901 Published two (2) times in the Citrus County Chroni- cle, November 29 and December 6, 2005. 578-1206 TUCRN PUBLIC NOTICE MICHAEL J. FREEMAN, MD Announces the closing of his satellite dermatology practice at the Beverly Hills office (2 William Tell Lane), effective Decem- ber 20, 2005. All patient records will remain availa- ble at the main Ocala practice (2750 SE 17th St.) Published four (4) times In the Citrus County Chron-. cle. November 15, 22, 29 and December 6. 2005. 592-1206 TUCRN Ch. 163 Notice/Case 05-SE-03 PUBLIC NOTICE NOTICE IS HEREBY GIVEN by the City of Inverness, Inver- ness, Florida, pursuant to Chapter 163, Laws of Florida, for the following Public Hearing to consider and act upon the following Special Exception. The Planning and Zoning Commission will hold a Public Hearing on the 7th day of December, 2005, at 5:00 P.M., at City Hall, 212 West Main Street, Inverness, to act upon the following case: Case 05-SE-03 Applicant/Owner Carole Rogers, re- quest a Special Exception Use for a Court Reporter Of- fice in an existing one story home on the following de- scribed property; Lots 3 and 4, Block B, Lakeview Addition to Inverness. SUBDIVISION, PLAT BOOK 7, PAGE 39 PUBLIC RECORDS OF CITRUS COUNTY, FLORIDA The Zoning Board of Adjustment will hold a Public Hear- ing on the 211h of December, 2005, at 5:00 P.M., at City Hall, 212 West Main Street, Inverness, to consider the recommendation of the Planning and Zoning Commis- sion on the above referenced Case 05-SE-03. Copies of the proposed application and plans are on file in the Department of Development Services at 212 West Main Street in the City Hall and may be reviewed between the hours of 8:00 A.M. and 5:00 P.M., Monday through Friday of each week. All property owners and interested persons are Invited to inspect such proposed regulation changes and to be present at and participate in the public Hearings by the Planning Zoning Commission and Zoning Board of Adjustment. Any person who decides to appeal any decision of this Board with respect to any matter considered at these hearings will need a record of proceedings, and for such purposes, any need to ensure a verbatim record of proceedings is made, which includes the testimony and evidence upon which this appeal is based. (Section 286 010 FS.) Accommodations for the disabled (hearing or visually impaired, etc.) may be arranged, with advanced noti- fication of 5 days prior to the scheduled meeting. Pre-arrangements may be initiated by dialing (352) 726 3401 weekdays from 8:00 A.M. to 4:00 P.M. Signed: /s/ Kenneth Koch, Director Development Services Published two (2) times in the Citrus County Chronicle. November 22 and December 6, 2005. Contact Us | Permissions | Preferences | Technical Aspects | Statistics | Internal | Privacy Policy © 2004 - 2010 University of Florida George A. Smathers Libraries.All rights reserved. Acceptable Use, Copyright, and Disclaimer Statement Last updated October 10, 2010 - - mvs | http://ufdc.ufl.edu/UF00028315/00340 | CC-MAIN-2014-42 | refinedweb | 64,191 | 78.04 |
PathCombine function
Concatenates two strings that represent properly formed paths into one path; also concatenates any relative path elements.
Syntax
Parameters
- pszPathOut [out]
Type: LPTSTR
A pointer to a buffer that, when this function returns successfully, receives the combined path string. You must set the size of this buffer to MAX_PATH to ensure that it is large enough to hold the returned string.
- pszPathIn [in, optional]
Type: LPCTSTR
A pointer to a null-terminated string of maximum length MAX_PATH that contains the first path. This value can be NULL.
- pszMore [in]
Type: LPCTSTR
A pointer to a null-terminated string of maximum length MAX_PATH that contains the second path. This value can be NULL.
Return value
Type: LPTSTR
A pointer to a buffer that, when this function returns successfully, receives the concatenated path string. This is the same string pointed to by pszPathOut. If this function does not return successfully, this value is NULL.
Remarks
The directory path should be in the form of A:,B:, ..., Z:. The file path should be in a correct form that represents the file name part of the path. If the directory path ends with a backslash, the backslash will be maintained. Note that while lpszDir and lpszFile are both optional parameters, they cannot both be NULL.
Examples
#include <windows.h> #include <iostream.h> #include "Shlwapi.h" void main( void ) { // Buffer to hold combined path. char buffer_1[MAX_PATH] = ""; char *lpStr1; lpStr1 = buffer_1; // String for balance of path name. char buffer_2[ ] = "One\\Two\\Three"; char *lpStr2; lpStr2 = buffer_2; // String for directory name. char buffer_3[ ] = "C:"; char *lpStr3; lpStr3 = buffer_3; cout << "The file path to be combined is " << lpStr2 << endl; cout << "The directory name path is " << lpStr3 << endl; cout << "The combined path is " << PathCombine(lpStr1,lpStr3,lpStr2) << endl; } ------------ INPUT: ------------ Path for directory part: "C:" Path for file part: "One\Two\Three" ------------ OUTPUT: ------------ The file path to be combined is One\Two\Three The directory name path is C: The combined path is C:\One\Two\Three
Requirements | https://msdn.microsoft.com/en-us/library/windows/desktop/bb773571.aspx | CC-MAIN-2017-26 | refinedweb | 331 | 64.81 |
Ruby’s Swiss Army Knife: The Enumerable Module
’Ruby’s Swiss Army Knife: The Enumerable Module’ is an article by Natasha Postolovski’s, a self-taught developer, now working as a software developer at ThoughtWorks in Australia. You can follow her on Twitter at @npostolovski..
Before we dive into what those tools are, let’s step back a little bit. Enumerable is one of Ruby’s modules. In Ruby, a module is a collection of methods, classes and/or constants inside a particular namespace. A namespace is a unique environment or naming scheme that prevents collisions in behavior. For example, I can have two methods called
#each in my program, and use them at the same time, as long as they are in a different namespace.
The Enumerable module can be mixed into any class that creates objects that may need to be compared, sorted, examined, or categorized. If you’ve worked with Arrays or Hashes in Ruby, you may have already performed these kinds of operations on them, iterating over them with
#each or sorting array items with
#sort. Enumerable allows you to quickly implement these kinds of behaviors in your own classes.
Before we dive into creating a class that utilizes Enumerable, let’s take a look at five Enumerable methods that will give you some idea of the power of this module. The following five methods (which I sometimes call “The Ects”) are critical for writing idiomatic Ruby code. They are
#collect,
#reject,
#detect, and
#inject. They can solve problems in one line that would otherwise require writing more complex conditional logic from scratch. A deep knowledge of each of these methods will make you a much better Ruby programmer.
You Might Also Want to Read: Become a Developer with these 20+ Resources
Going beyond
#each
Learning
#each is often the moment when programmers coming from other languages start to appreciate the uniqueness of Ruby. Instead of writing the following code:
names = ['Lee', 'Tania', 'Louis'] for name in names puts name end
You can write:
names = ['Lee', 'Tania', 'Louis'] names.each do |name| puts name end
Or, even more succinctly:
names = ['Lee', 'Tania', 'Louis'] names.each { |name| puts name }
While some programmers feel Ruby’s
#each syntax is more readable than a
for loop, it’s not necessarily less verbose. Even so, using
#each is the most common way for Rubyists to handle iteration. Many people learning Ruby will stop here. Having learned
#each, they’ll add conditional logic to
#each blocks to perform tasks that “The Ects” are built to handle. If your code is littered with usage of the
#each method, you will probably benefit from learning about some of the other methods in Enumerable.
#collect
Also known by another name you may be familiar with —
#map —
#collect allows you to loop over objects and add the return value of each loop to an array.
You’ll see many beginner Ruby programmers do this instead:
names = ['Lee', 'Tania', 'Louis'] uppercase_names = [] names.each do |name| uppercase_names << name.upcase end uppercase_names #=> ["LEE", "TANIA", "LOUIS"]
You can achieve the same thing using
#collect as follows:
names = ['Lee', 'Tania', 'Louis'] uppercase_names = names.collect { |name| name.upcase } uppercase_names #=> ['LEE', 'TANIA', 'LOUIS']
The
#select method allows you loop over a collection and return a list of objects for which a particular expression returns true. In other words, take a collection of objects and ‘select’ those that meet a certain criteria, discarding the rest. Here’s a more verbose example, inspired by the song Molly Mallone, using our friend
#each:
cockles_and_mussels = ['alive', 'dead', 'dead', 'alive', 'alive', 'dead'] alive_alive_oh = [] cockles_and_mussels.each do |cockle_or_mussel| if cockle_or_mussel == 'alive' alive_alive_oh << cockle_or_mussel end end alive_alive_oh #=> ["alive", "alive", "alive"]
Here’s what a solution looks like using
cockles_and_mussels = ['alive', 'dead', 'dead', 'alive', 'alive', 'dead'] alive_alive_oh = cockles_and_mussels.select do |cockle_or_mussel| cockle_or_mussel == 'alive' end alive_alive_oh #=> ['alive', 'alive', 'alive']
You can see that any object passed into the block that is evaluated as part of a true/false expression and returns
true will be added to an array.
#reject
The
#reject method is very similar to
#select, but the inverse. It will leave behind any objects for which the expression returns
true, and add only those that return
false to the resulting array.
Here’s the above example, this time using
#reject:
cockles_and_mussels = ['alive', 'dead', 'dead', 'alive', 'alive', 'dead'] alive_alive_oh = cockles_and_mussels.reject do |cockle_or_mussel| cockle_or_mussel == 'dead' end alive_alive_oh #=> ['alive', 'alive', 'alive']
Choosing between
#select and
#reject is often a matter of style. Both can be used to solve similar problems effectively.
#detect
The
#detect method (also implemented as
#find) is similar to
#select, but instead of returning a collection of objects that match the given criteria, it will “detect” the first matching element it finds and return only that object.
songs = [ { title: 'Mad World', artist: 'Gary Jules', is_sad: true }, { title: 'California Gurls', artist: 'Katy Perry', is_sad: false }, { title: 'Needle in the Hay', artist: 'Elliott Smith', is_sad: true }, { title: 'Happy', artist: 'Pharrell Williams', is_sad: false } ] sad_song_to_play_now = songs.detect { |song| song[:is_sad] } sad_song_to_play_now #=> { title: 'Mad World', artist: 'Gary Jules', is_sad: true }
#inject
The
#inject method is wonderfully useful, though often misunderstood. It’s an excellent tool for building up data structures, or adding values together. It’s often used to sum up numbers into a total. Here’s an example of that, and then we’ll dive into a slightly different usage:
shopping_cart = [ { name: 'Vermillion Ink', price: 12.99 }, { name: 'Azure Ink', price: 9.99 }, { name: 'LAMY Safari Fountain Pen', price: 49.95 } ] order_total = shopping_cart.inject(0) do |total, item| total + item[:price] end order_total #=> 72.93
I should note that this example is slightly problematic. For simplicity’s sake I’m using floats to represent monetary values, but this can cause problems. In the real world it’s much better to use a class better suited to monetary values, such as BigDecimal.
Unlike the other “Ect” methods,
#inject passes two values to the block. The left-hand value is the accumulator. It starts at 0 (the argument to inject is the starting value) and will accumulate the result of the expression in the block. The right-hand argument is the object being iterated over.
We can also use
#inject to build up data structures. Let’s say we have an array of some employee data:
customer = [['full_name', 'Lois Lane'], ['position', 'Journalist']]
This looks like the kind of data you might extract from a CSV file. It’s in a format we can work with, but we can do better. Let’s use
#inject to construct a Hash from this data.
customer = [['full_name', 'Lois Lane'], ['position', 'Journalist']] customer.inject({}) do |result, element| result[element.first] = element.last result end customer #=> { "full_name"=>"Lois Lane", "position"=>"Journalist" }
This is a really useful tool. You might have noticed that we are passing an argument to
#inject: an empty hash. This will be used as the initial value of the “result” or accumulator variable. We start with this object and then build it up with each successive iteration over the elements in the array.
A few other useful Enumerable methods:
#any
The
#any method returns
true if any element in the collection match the given expression.
pet_names = ['pluto', 'scooby', 'nyan'] find_scooby = pet_names.any? { | pet | pet == 'scooby' } find_scooby #=> true
#all
The
#all method returns
true if all elements in the collection match the given expression.
ages = [ 19, 59, 70, 23, 140 ] valid = ages.all? { | age | age > 0 && age <= 122 } valid #=> false
#each_with_index
A slight enhancement to the
#each method,
#each_with_index iterates over the element in the collection, as well as providing its index.
online_opponents = Hash.new %w(joe87 potatahead coolguy415 ).each_with_index do |item, index| online_opponents[item] = index end online_opponents #=> {"joe87"=>0, "potatahead"=>1, "coolguy415"=>2}
#include?
The
#include? method will return true if any elements in the collection are equal to the given object. Object equality is tested using `
==` (this post provides a good explanation of the different types of equality in Ruby).
superhero_names = ['Wonder Woman', 'Batman', 'Superman'] awesome = superhero_names.include? 'Wonder Woman' awesome #=> true
Making Your Own Classes Enumerable
In the previous examples we’ve been calling Enumerable methods on instances of the Array class. While this is powerful on its own, Enumerable becomes even cooler when you include the module in a class of your own creation, assuming that class is a collection and is well-suited to the kinds of behaviours provided by the module.
Let’s say you want to have a class that represents a football team. Seems like a good candidate for Enumerable, right? To unlock the magic, we need to include the module and define an
#each method on the class. As you can see, this
#each method delegates to Enumerable’s implementation of
#each, which is included in the Array class. Nice!
class FootballTeam include Enumerable attr_accessor :players def initialize @players = [] end def each &block @players.each { |player| block.call(player) } end end
With this small addition, we can treat our
FootballTeam class like the collection it really is, using Enumerable methods like
#map.
irb(main):002:0> require 'football_team.rb' => true irb(main):003:0> football_team = FootballTeam.new => # irb(main):004:0> football_team.players = ['Mesut Özil', 'Leo Messi', 'Xavi Alonso'] => ["Mesut Özil", "Leo Messi", "Xavi Alonso"] irb(main):005:0> football_team.map { |player| player.upcase } => ["MESUT ÖZIL", "LEO MESSI", "XAVI ALONSO"] irb(main):006:0>
This pattern can help make your code a little bit more object-oriented. Rather than using basic data structures like arrays to represent collections, you can enrich them with behaviours that suit their purpose, without losing all the benefits gained by having access to Enumerable methods.
Conclusion
I hope I’ve encouraged you to play around with the Enumerable module. Next time you reach for the
#each method to solve a problem, take a moment to consider whether one of
#collect,
#reject,
#detect, or `
#inject` could solve the problem in a more elegant way. And if you’re working with a class that represents a collection, consider enriching the class by including Enumerable. | https://www.codementor.io/ruby-on-rails/tutorial/rubys-swiss-army-knife-the-enumerable-module | CC-MAIN-2018-22 | refinedweb | 1,659 | 54.52 |
On Tue, Sep 28, 2010 at 1:06 PM, Chris Turner <c.turner@199technologies.org> wrote: > > as for the # of users discussion - in these high-uid scenarios, you wouldn't > typically share the same UID space - but have different ones - > Honestly, this is silly. I know that it is done, but I certainly do not understand it. You have a few billion available uid's, why share? Whenever I subdivide users, be it among physical machines or pfs's or anything else, I treat uid's/gid's as a namespace. Machine #1 gets a few hundred thousand possible uid's starting at 100000 or so, machine #2 starting at 300000. Even if they are only going to have 50 users, this scales just fine and you can merge at any point without conflict. I am not the only one who uses this approach. One example: Dreamhost uses a global uid/gid namespace, but not ranges like above, they are allocated sequentially or so (globally) and stored in a global repository/database to avoid conflict. uid=101583(evilsjg) gid=377009(pg1393224) This lets them migrate users around between their shared hosting machines without dealing with collisions and without the complexity of remapping. Just because you do not do it, does not mean that it is not commonly done. Sam | http://leaf.dragonflybsd.org/mailarchive/kernel/2010-09/msg00112.html | CC-MAIN-2014-42 | refinedweb | 219 | 69.82 |
.7
05/22/18
- 2.9.5 → 2.13.6 no changes
- 2.9.4
05/05/17
- 2.9.3
08/12/16
- 2.9.1
07/11/16
- 2.8.4 → 2.9.0 no changes
- 2.8.3
05/18/16
- 2.8.2
04/29/16
- 2.8.0
03/28/16
- 2.6.1 → 2.7.6 no changes
- 2.6.0
09/28/15
- 2.4.1 → 2.5.6 no changes
- 2.4.0
04/30/15
- 2.1.1 → 2.3.10 no changes
- 2.1.0
08/15/14
-
SYNOPSIS
git config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] name [value [value_regex]] git config [<file-option>] [--type=<type>] --add name value git config [<file-option>] [--type=<type>] --replace-all name value [value_regex] git config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] --get name [value_regex] git config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] --get-all name [value_regex] git config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] [--name-only] --get-regexp name_regex [value_regex] git config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL git config [<file-option>] --unset name [value_regex] git config [<file-option>] --unset-all name [value_regex] git config [<file-option>] --rename-section old_name new_name git config [<file-option>] --remove-section name git config [<file-option>] [--show-origin] [-z|--null] [--name-only] =<type> option instructs git config to ensure that incoming and
outgoing values are canonicalize-able under the given <type>. If no
--type=<type> is given, no canonicalization will be performed. Callers may
unset an existing
--type specifier with
--no-type. section or key is invalid (ret=1),
no section or name was provided (ret=2),
the config file is invalid (ret=3),
the config file cannot be written (ret=4), returns all values for a multi-valued key.
- -.<url>.key whose <url> part matches the best to the given URL is returned (if no such key exists, the value for section.key is used as a fallback). When given just the section as name, do so for all the keys in the section and list them. Returns error code 1 if no value is found.
- --global
For writing options: write to global
~/.gitconfigfile rather than the repository
.git/config, write to
$XDG_CONFIG_HOME/git/configfile if this file exists and the
~/.gitconfigfile doesn’t.
For reading options: read only from global
~/.gitconfigand from
$XDG_CONFIG_HOME/git/configrather than from all available files.
- --system
For writing options: write to system-wide
$(prefix)/etc/gitconfigrather than the repository
.git/config.
For reading options: read only from system-wide
$(prefix)/etc/gitconfigrather than from all available files.
- --local
For writing options: write to the repository
.git/configfile. This is the default behavior.
For reading options: read only from the repository
.git/configrather than from all available files.
- -f config-file
- --file config-file
Use the given config file instead of the one specified by GIT_CONFIG.
- --blob blob
Similar to
--filebut.
- ->.
- or
--get-regexp.
- --show-origin
Augment the output of all queried config options with the origin type (file, standard input, blob, command line) and the actual origin (config file path, ref, or blob id if applicable).
- --get-colorbool name [stdout-is-tty]
Find the color setting for
name(e.g.
color.diff) and output "true" or "false".
stdout-is-ttyshould be either "true" or "false", and is taken into account when configuration says "auto". If
stdout-is-ttyis missing, then checks the standard output of the command itself, and exits with status 0 if color is to be used, or exits with status 1 otherwise. When the color setting for
nameis undefined, the command uses
color.uias fallback.
- --get-color name [default]
Find the color configured for
name(e.g.
color.diff.new) and output it as the ANSI color escape sequence to the standard output. The optional
defaultparameter is used instead, if there is no color configured for
name.
--type=color [--default=<default>]is preferred over
--get.will.
You may override individual configuration parameters when running any git
command by using the
-c option. See git[1] for details._DIRenvironment sytems)and the empty string.
When converting value to the canonical form using
--booltypeto
blackwill paint that branch name in a plain
black, even if the previous thing on the same output line (e.g. opening parenthesis before the list of branch names in
log --decorateoutput) is set to be painted with
boldoption.
Advice shown when the argument to git-checkout.
- githooks[5].
-.splitIndex
If true, the split-index feature of the index will be used. See git-update-index[1].
keep option. The default value is true.
- core.eol
Sets the line ending type to use in the working directory for files that have the
textproperty set when core.autocrlf is false. Alternatives are lf, crlf and native, which uses the platform’s native line ending. The default value is
native. See gitattributes[5] for more information on end-of-line conversion.
- core.safecrlf
If true, makes Git check if converting
CRLFoland
core.autocrlf, but only for the current one. For example, a text file with
LFwould be accepted with
core.eol=lfand could later be checked out with
core.eol=crlf, in which case the resulting file would contain
CRLF, although the original file contained
LF. However, in both work trees the line endings would be consistent, that is either all
LFor all
CRLF, but never mixed. A file with mixed line endings would be reported by the
core.safecrlfmechanism.
- variable (which always applies universally, without the special "for" handling).
The special string
nonecanand
git pushwill use the specified command instead of
sshwhen they need to connect to a remote system. The command is in the same form as the
GIT_SSH_COMMANDenvironment_DIRenvironment variable is set, core.worktree is ignored and not used for determining the root of working tree. This can be overridden by the
GIT_WORK_TREEenvironment variable and the
--work-treecommandfile.).
When the
LESSenvironment variable is unset, Git sets it to
FRX(if
LESSenvironment variable is set, Git does not change it at all). If you want to selectively override Git’s default setting for
LESS, you can set
core.pagerto e.g.
less -S. This will be passed to the shell by Git, which will translate the final command to
LESS=FRX less -S. The environment does not set the
Soption but the command line does, instructing less to truncate long lines. Similarly, setting
core.pagerto
less -+Fwill deactivate the
Foption specified by the environment from the command-line, deactivating the "quit if one screen" behavior of
less. One can specifically activate some flags for particular commands: for example, setting
pager.blameto
less -Senables line truncation only for
git blame.
Likewise, when the
LVenvironment variable is unset, Git sets it to
-c. You can override this setting by exporting
LVwith another value or setting
core.pagerto
lv +c.
- core.whitespace
A comma separated list of common whitespace problems to notice. git diff will use
color.diff.whitespaceto highlight them, and git apply --whitespace=error will consider them as errors. You can prefix
-to disable any of them (e.g.
-trailing-space):
blank-at-eoltreats trailing whitespaces at the end of the line as an error (enabled by default).
space-before-tabtreats a space character that appears immediately before a tab character in the initial indent part of the line as an error (enabled by default).
indent-with-non-tabtreats a line that is indented with space characters instead of the equivalent tabs as an error (not enabled by default).
tab-in-indenttreats a tab character in the initial indent part of the line as an error (not enabled by default).
blank-at-eoftreats blank lines added at the end of file as an error (enabled by default).
trailing-spaceis a short-hand to cover both
blank-at-eoland
blank-at-eof.
cr-at-eoltreats a carriage-return at the end of line as part of the line terminator, i.e. with it,
trailing-spacedoes not trigger if the character before such a carriage-return is not a whitespace (not enabled by default).
tabwidth=<n>tells how many character positions a tab occupies; this is relevant for
indent-with-non-taband when Git fixes
tab-in-indenterrors.environment variable. See git-notes[1].
- core.commitGraph
If true, then git will read the commit-graph file (if it exists) to parse the graph structure of commits. Defaults to false. See git-commit-graph[1] for more information.
- core.useReplaceRefs
If set to
false, behave as if the
--no-replace-objectsoption was given on the command line. See git[1] and git-replace[1] for more information.
- core.sparseCheckout
Enable "sparse checkout" feature. See section "Sparse checkout" inoption of git-add[1].
add.ignore-errorsfrom lines ending with
\r\n. Can be overridden by giving
--no-keep-cr.
- branch.autoSetupMerge
Tells git branch and git checkout to set up new branches so that git-pull[1] will appropriately merge from the starting point branch. Note that even if this option is not set, this behavior can be chosen per-branch using the
--trackand
--no-trackoptions..sort
This variable controls the sort ordering of branches when displayed by git-branch[1]. Without the "--sort=<value>" option provided, the value of this variable will be used as the default. See git-for-each-ref[1] field names for valid values.
-for fetching and
remote.pushDefaultfor pushing. Additionally,
.(a period) is the current local repository (a dot-repository), see
branch.<name>.merge's final note below.
- branch.<name>.pushRemote
When on branch <name>, it overrides
branch.<name>.remotefor pushing. It also overrides
remote.pushDefaultfor pushing from branch <name>. When you pull from one place (e.g. your upstream) and push to another place (e.g. your own publishing repository), you would want to set
remote.pushDefaultto{litdd}browse[1].)
- browser.<tool>.path
Override the path for the given tool that may be used to browse HTML help (see
-woption in git-help[1]) or a working repository in gitweb (see git-instaweb[1]).
When you run git checkout -checkout[1] when git checkout <something> will checkout the <something> branch on another remote, and by git-worktree[1] when git worktree add refers to a remote branch. This setting might be used for other checkout-like commands or functionality in the future.
- clean.requireForce
A boolean to make git-clean do nothing unless given -f, -i or -n. Defaults to true.
-
This can be used to color the metadata of a blame line depending on age of the line.
This setting should be set to a comma-separated list of color and date settings, starting and ending with a color, the dates should be set from oldest to newest. The metadata will be colored given the colors if the the line was introduced before the given timestamp, overwriting older timestamped colors.
Instead of an absolute timestamp relative timestamps work as well, e.g. 2.weeks.ago customized color for the part of git-blame output that is repeated meta information per line (such as commit id, author name, date and timezone).or
auto, those commands will only use color when output is to the terminal. enable/disable colored output when the pager is in use (default is true).
-).
- color.status.<slot>
Use customized color for status colorization.
<slot>is one of
header(the header text of the status message),
added.
- color.ui
This variable determines the default value for variables such as
color.diffand
color.grepthat control the use of color per command family. Its scope will expand as more commands learn configuration to set a default for the
--coloroption. Set it to
falseor
neverif you prefer Git commands not to use color unless enabled explicitly with some other configuration or the
--coloroption. Set it to
alwaysif you want all output not intended for machine consumption to use color, to
true):
These options control layout (defaults to column). Setting any of these implies always if none of always, never, or auto are specified.
Finally, these options can be combined with a layout option (defaults to nodense):
- column.branch
Specify whether to output branch listing in
git branchin columns. See
column.uifor details.
- column.clean
Specify the layout when list items in
git clean -i, which always shows files and directories in columns. See
column.uifor details.
- column.status
Specify whether to output untracked files in
git statusin columns. See
column.uifor details.
- column.tag
Specify whether to output tag listing in
git tagin columns. See
column.uifor details.
- commit.cleanup
This setting overrides the default of the
--cleanupoption git-commit[1].
- credential.helper
Specify an external helper to be called when a username or password credential is needed; the helper may consult external storage to avoid prompting the user for the credentials. Note that multiple helpers may be defined..
-.
- diff.autoRefreshIndex
When using git diff to compare with work tree files, do not consider stat-only change as changed. Instead, silently run
git update-index --refreshtoparameters specifying the default behavior of the
--dirstatoption.interHunkContext
Show the context between diff hunks, up to the specified number of lines, thereby fusing the hunks that are close to each other. This value serves as the default for the
--inter-hunk-contextcommand line:
- diff.noprefix
If set, git diff does not show any source or destination prefix.
- when performing the copy/rename detection; equivalent to the git diff option
-l...
araxis
bc
bc3
codecompare
deltawalker
diffmerge
diffuse
ecmerge
emerge
examdiff
guiffy
gvimdiff
gvimdiff2
gvimdiff3
kdiff3
kompare
meld
opendiff
p4merge
tkdiff
vimdiff
vimdiff2
vimdiff3
winmerge
xxdiff
- diff.indentHeuristic
Set this option to
trueto enable experimental].
-Limitis..
-.
- fetch.prune
If true, fetch will automatically behave as if the
--pruneoption was given on the command line. See also
remote.<name>.prune "skipping" to use an algorithm that skips commits in an effort to converge faster, but may result in a larger-than-necessary packfile; The default is "default" which instructs Git to use the default algorithm that never skips commits (unless the server has acknowledged it or one of its descendants). Unknown values will cause git fetch to error out.
See also the
--negotiation-tipoption for git-fetch[1].
-or
deep.
shallowthreading makes every mail a reply to the head of the series, where the head is chosen from the cover letter, the
--in-reply-to, and the first patch mail, in this order.
deepthreading makes every mail a reply to the previous one. A true boolean value is the same as
shallow, and a false value disables threading.
- format.signOff
A boolean value which lets you enable the
-s/--signoffoptionoption of format-patch by default.
-file in the repository,
git gc --autoconsolidates them into one larger pack. The default value is 50. Setting this to 0 disables it.
--base-packexcept that all packs that meet the threshold are kept, not just the base.
- gc.writeCommitGraph
If true, then gc will rewrite the commit-graph file when git-gc[1] is run. When using git-gc[1] --auto the commit-graph will be updated if housekeeping is required. Default is false. See git-commit-graph[1] for details.
- gc.logExpiry
If the file gc.log exists, then
git gc --autowon’t run
-kmodes to use. If the attributes force Git to treat a file as text, the
-kmodeis used. See gitattributes[5].
- gitcvs.allBinary
This is used if
gitcvs.usecrlfattrdoes. See
grep.threadsinwhen.
- gpg.format
Specifies which key format to use when signing with
--gpg-sign. Default is "openpgp" and another possible value is "x509".
-".
-instead of
-C -Cformenu item is invoked from git gui blame. If this variable is set to zero, the whole history is shown.
- guitool.<name>.cmd
Specifies the shell command line to execute when the corresponding item of the git-gui[1]
Toolsmenu
ARGSenvironmentenvironmentenvironment_REQUESTSenvironmentand
GIT_HTTP_LOW_SPEED_TIMEenvironmentVenvironmentenvironmentin). This field must match exactly between the config key and the URL.
Host/domain name (e.g.,
example.comin). This field must match between the config key and the URL. It is possible to specify a
*as part of the host name to match all subdomains at this level.
https://*.example.com/for example would match, but not.
Port number (e.g.,
8080in). This field must match exactly between the config key and the URL. Omitted port numbers are automatically converted to the correct default for the scheme before matching.
Path (e.g.,
repo.gitis a better match to URL path
foo/barthan a config key with just path
foo/).
User name (e.g.,
user config key matchor
GIT_SSH_COMMANDcanor
putty- [-P port] [-4] [-6] [username@]host command
tortoiseplink- [-P port] [-4] [-6] -batch [username@]host command
Except for the
simplevariant,mode of git-add[1], git-checkout[1], git-commit[1], git-reset[1], andoption.option of the
git log.
- log.follow
If
true,
git logwill act as if the
--followoption.showSignature
If true, makes git-log[1], git-show[1], and git-whatchanged[1] assume
--show-signature.
-and
mailmap.blobare given, both are parsed, with entries from
mailmap.filetaking. This setting has no effect if rename detection is turned off.
- merge.renames
Whether and how Git detects renames. If set to "false", rename detection is disabled. If set to "true", basic rename detection is enabled. Defaults to the value of diff.renames.
-.
araxis
bc
bc3
codecompare
deltawalker
diffmerge
diffuse
ecmerge
emerge
examdiff
guiffy
gvimdiff
gvimdiff2
gvimdiff3
kdiff3
meld
opendiff
p4merge
tkdiff
tortoisemerge
vimdiff
vimdiff2
vimdiff3do.keepBackup
After performing a merge, the original file with conflict markers can be saved as a file with a
.origextension. If this variable is set to
falset.<name>.mergeStrategy
Which merge strategy to choose when doing a notes merge into refs/notes/<name>.environmentenvironment/commitsto enable rewriting for the default commit notes.
This setting can be overridden with the
GIT_NOTES_REWRITE_REFenvironment. Maximum value is 4095.
-. Maximum value is 65535.
-file, cloning or fetching over a non native protocol (e.g. "http") that will copy both
*.packfile and corresponding
*.idxfile from the other side may give you a repository that cannot be accessed with your older version of Git. If the
*.packfile is smaller than 2 GB, however, you can use git-index-pack[1] on the *.pack file to regenerate the
*.idxfile.
- pack.packSizeLimit
The maximum size of a pack. This setting only affects packing to a file when repacking, i.e. the git:// protocol is unaffected. It can be overridden by the
--max-pack-sizeoption ofor
--no-pageris specified on the command line, it takes precedence over this option. To disable pagination for all commands, set
core.pageror
GIT_PAGERtoto.should take if no refspec is explicitly given. Different values are well-suited for specific workflows; for instance, in a purely central workflow (i.e. the fetch source is equal to the push destination),
upstreamwithwill,-checkouthook>.remotefor all branches, and is overridden by
branch.<name>.pushRemotefor specific branches.
-option was given on the command line.
- remote.<name>.skipDefaultUpdate
If true, this remote will be skipped by default when updating using git-fetch[1] or the
updatesubcommand of git-remote[1].
- remote.<name>.skipFetchAll
If true, this remote will be skipped by default when updating using git-fetch[1] or the
updatesuboption.writeBitmaps
When true, git will write a bitmap index when packing all objects to disk (e.g., when
git repack -aupdates-cachedirectoryoption of git-send-email[1].
- sendemail.smtpReloginDelay
Seconds wait before reconnecting to smtp server. See also the
--relogin-delayoption of git-send-email[1].
- showbranch.default
The default set of branches for git-show-branch[1]. See git-update-index[1]. git-update-index[1].
- status.relativePaths
By default, git-status[1] shows paths relative to the current directory. Setting this variable to
falseshows.command-submodule[1] andand
pull.rebaseare more specific. It is populated by
git submodule initfrom the gitmodules[5] file. See description of update command in git-submodule[1].
- submodule.<name>.branch
The remote branch name for a submodule, used by
git submodule update --remote. Set this option to override the value found in the
.gitmodulesfile..
Specifies if commands recurse into submodules by default. This applies to all commands that have a
--recurse-submodulesoption,is assumed, which doesn’t add references. When the value is set to
superprojecttheis specified on the command line, it takes precedence over this option.
This variable controls the sort ordering of tags when displayed by can not. For example, if
refs/heads/masteris specified in
transfer.hideRefsand the current namespace is
foo, then
refs/namespaces/foo/refs/heads/masteris omitted from the advertisements but
refs/heads/masterand
refs/namespaces/bar/refs/heads/masterare gitnamespaces[7] man page; it’s best to keep private data in a separate repository.
- transfer.unpackLimit
When
fetch.unpackLimitor
receive.unpackLimitare not set, the value of this variable is used instead. The default value is 100.
- uploadarchive.allowUnreachable
If true, allow clients to use
git archive --remotetowill fail. See also
uploadpack.allowTipSHA1InWant.
- uploadpack.allowTipSHA1InWant
When
uploadpack.hideRefsis in effect, allow
upload-packto gitnamespaces[7] man page; it’s best to keep private data in a separate repository.
- uploadpack.allowReachableSHA1InWant
Allow
upload-packto gitnamespaces[7] man page; it’s best to keep private data in a separate repository.
- uploadpack.allowAnySHA1InWant
Allow
upload-packto accept a fetch request that asks for any object at all. Defaults to
false.
- uploadpack.keepAlive
When
upload-packhas started
pack-objects, there may be a quiet period while
pack-objectsprepares the pack. Normally it would output progress information, but if
--quietwas used for the fetch,
pack-objectswill output nothing at all until the pack data begins. Some clients and networks may consider the server to be hung and give up. Setting this option instructs
upload-packto send an empty keepalive packet every
uploadpack.keepAliveseconds. Setting this option to 0 disables keepalive packets entirely. The default is 5 seconds.
-.
- uploadpack.allowFilter
If this option is set,
upload-packwill support partial clone and partial fetch object filtering.
Note that this configuration variable is ignored if it is seen in the repository-level config (this is a safety measure against fetching from untrusted repositories).
-.
-config to permit the request. In particular, protocols you expect to use for submodules must be set to
alwaysrather than the default of
user. See the description of
protocol.allowabove.
-and
GIT_COMMITTER_NAMEenvironment variables. See git-commit-tree[1].
-.
-is set.
- versionsort.suffix
Even when version sort is used in git-instaweb[1] and git-help[1] may use it.
- worktree.guessRemote
With
add, if no branch argument, and neither of
-bnor
-Bnor
--detachare given, the command defaults to creating a new branch from HEAD. If
worktree.guessRemoteis set to true,
worktree addtries. | https://git-scm.com/docs/git-config | CC-MAIN-2018-39 | refinedweb | 3,757 | 50.84 |
view raw
I want to run FlatCAM on MAC OS X El Capitan and it needs PyQt package. I installed PyQt4 using homebrew.
$ brew install qt
Warning: qt-4.8.7_2 already installed
$ brew install pyqt
Warning: pyqt-4.11.4 already installed
$ brew install sip
Warning: sip-4.18.1 already installed
$ brew install PyQt --with-python
Warning: pyqt-4.11.4 already installed
Although these warnings, when I run FlatCAM, I take this error:
Traceback (most recent call last):
File "FlatCAM.py", line 2, in
from PyQt4 import QtGui
ImportError: No module named PyQt4
Why it doesn't see PyQt4?
FlatCAM uses python 2.7 but default homebrew installation seems like using python3.
Solution here: How can i install PyQT4 for Python 2.7? | https://codedump.io/share/c3XAzbBV9oSh/1/no-module-named-pyqt4-according-to-it-is-installed | CC-MAIN-2017-22 | refinedweb | 126 | 78.35 |
In my previous post, we got request tests working in a Vapor 2.0 app. But we ran into a snag: the records created by the tests stuck around in our development database. This can cause two problems: your test data can get in the way of your development data, and your development data can can cause your tests to fail because of records the tests don’t expect.
Thankfully, there is a way to fix those problems. In this post, we’ll create a separate testing database and reset it after each test. Along the way, we’ll talk about what database to use and how to create records for your tests. Like last time, you can follow along with these steps, or get the completed project from GitHub.
The first decision to make is what kind of database to use for testing. Object-Relational Mapping libraries (ORMs) like Vapor’s Fluent allow you to change the database driver you’re using without making any changes to the rest of your code. This means you have the option to use different kinds of databases in development, testing and production. The early Rails community took advantage of this by using the simple Sqlite for local development work and a more robust multi-user database in production.
This should work in theory, if you aren’t using any database-specific queries. Eventually, though, the Rails community found that there are always implementation details that differ between databases: name length limits, data storage types and default sort orders, for example. You can work around individual differences, but you can never be sure when another difference will bite you. Although ORMs are beneficial for simplifying your database access code, they don’t really allow you to interchange databases with zero effort.
Because of these problems, the typical practice in the Rails community today is to keep your development and testing environments as similar to production as possible. We’ll follow that advice and use Postgres for our tests as well. We’ll just create a separate Postgres database.
Our development database is named
nerdserver_development; let’s call the test database
nerdserver_test. At the command line, run:
createdb nerdserver_test
When Vapor’s Postgres driver sets up a database connection, it checks your application’s configuration to get the database connection info. To change our tests to use our new database, we need to vary the database connection info that Vapor sees in different environments. Vapor’s built-in environments include
development for when you run the server locally,
test when you run your tests and
production which you can use for your live app.
Vapor allows us to vary the configuration across environments by creating different config files for each environment. If we add a folder under
Config/ matching the name of the environment, any config files in there will override configs in the root
Config/ folder. If you have a config file in
secrets/, that will override any other values. So to get a different database connection in the development and test environments, we’ll need to move our connection out of
secrets/ and into
development/ and
test/.
In your
Config folder, create a folder called
development and one called
test. Move your
postgresql.json file from
Config/secrets/ to
Config/development/. Then copy
postgresql.json into
Config/test/. In that version, change the name of the database to
nerdserver_test:
{ "hostname": "127.0.0.1", "port": 5432, "user": "postgres", "password": "", - "database": "nerdserver_development" + "database": "nerdserver_test" }
Now that you have a different
postgresql.json configuration for the
development and
test environments, your tests should be using a different server than your development server. Let’s confirm that this is the case. Connect to your development database using your SQL tool of choice, then execute
DELETE FROM POSTS; to clear out all your posts. Go to Xcode, and run your app using Product > Run. Now that the development database is empty and your server is running, add one post to the development database from Terminal.app:
# curl \ --header 'Content-Type: application/json' \ --data '{"content": "Hello, world!"}' \ {"content":"Hello, world!","id":1} # curl [{"content":"Hello, world!","id":1}]
Next we’ll make sure this record you added to your development database isn’t overwritten by the tests.
Run your test several times from Xcode’s Product > Test menu item to see that they succeed. Then launch your app again from Product > Run and lists all the posts in the development database using
curl. It should still show only the “Hello, world!” post you created. This means your tests are running against a test database without affecting your development data!
Note that, unlike
secrets/, the environment folders you created aren’t ignored by Git by default, so your
postgresql.json files are available to commit to Git. It’s not really a security issue to commit them, but it may be an inconvenience to other developers if their local Postgres connection info is different from yours. So instead of committing them you may want to add
**/postgresql.json to your
.gitignore file.
Now that our test for creating a record is working, let’s add a test for the
GET /posts endpoint, which lists all the posts. This will demonstrate another challenge when using databases in testing.
First, let’s set up a few posts. We’ll use our
Post model class directly, so we need to import our
App target so we have access to it:
import Vapor import XCTest +@testable import App class PostRequestTests: TestCase {
What’s up with the
@testable annotation on
import App? Our
Post class is declared with the default
internal visibility, which means that it’s not accessible from within other targets like our testing target. We could get around this by declaring
public, but this is tedious because this isn’t library code where the
public access level is otherwise important. Instead, we use the
@testable annotation to allow
internal types like
Post to be used from our test target anyway.
Now that we have access to the
Post, let’s create some test data:
func testList() throws { try Post(content: "List test 1").save() try Post(content: "List test 2").save() }
You may be wondering why we’re creating records with the
Post model instead of by sending a server request. There are testers who use either approach, and there are pros and cons to each. One view argues that you should set up test data using only publicly-available endpoints—that way you can’t end up with data in a state that’s impossible in the real app.
The other view is called direct model access. It says that populating data via endpoints creates coupling between tests and application code that’s unrelated to the test. If your post-creation feature breaks, it won’t just be the test for the post-creation feature that fails: lots of tests will fail. Using the
Post model directly is a way to keep your tests focused. It also makes the test more readable: in our case, you can easily see that we are creating two
Posts. Because of these advantages, direct model access is the approach I usually take in my tests.
Now that our data is set up, let’s send a request for
func testList() throws { try Post(content: "List test 1").save() try Post(content: "List test 2").save() + + let response = try droplet.testResponse(to: .get, at: "/posts") }
Finally, we’ll confirm we get back the posts we expect. In Part 1, we used Vapor’s built-in assertion helper methods, but this time we need a bit more flexibility, so we’ll use basic
XCTAsserts:
let response = try droplet.testResponse(to: .get, at: "/posts") + XCTAssertEqual(response.status, .ok) + + guard let json = response.json else { + XCTFail("Error getting JSON from response \(response)") + return + } + guard let recordArray = json.array else { + XCTFail("expected response json to be an array") + return + } + XCTAssertEqual(recordArray.count, 2) + XCTAssertEqual(recordArray.first?.object?["content"]?.string, "List test 1") }
We confirm that:
.ok.
"content"field of the first entry is “List test 1”.
We could also have checked the first entry’s ID field, as well as the ID and content fields of the second post. How many assertions to use in a test is a judgment call: you should add assertions that increase your confidence in your code, and avoid ones that are just repetition.
Run the test a few times. It fails! We’re asserting the
recordArray.count should be exactly two, but it goes up by two each time we run the test. It’s finding not just the records it inserted during the current test run, but also all the records it inserted in the past.
One way to fix this error would be to loosen our test criteria: instead of asserting the total number of posts, we could just test the last two posts to see if they are the ones we inserted. That would get our test passing for now, but it leaves a bigger issue unsolved. Tests should be independent from one another, so that running one has no effect on others.
Usually the best way to achieve independence for database tests is to use transactions to roll back database changes made during each test. But the way transactions work in Vapor 2.0 makes them difficult to use for this purpose. Instead, we’ll just delete all the records from the
posts table before each test. Because we’re using a test database that’s separate from our development database, there’s no risk of us deleting records we need.
Let’s clear the table in the
setUp() method, so all future tests we write in this class will start with an empty
posts table:
let droplet = try! Droplet.testable() + + override func setUp() { + super.setUp() + try! Post.all().forEach { try $0.delete() } + } func testCreate() throws {
Run your tests again, and now they should pass because
/posts only returns the two records you created.
Clearing out a single table is easy, but once you get a lot of related tables in your database, it can be tedious to delete records in an order that prevents foreign key errors. I’ll continue to investigate using transactions for testing instead.
In this two-part series we:
These practices will help you get to the sweet spot of testing, where the benefit outweighs the cost. You get protection against regressions without needing to spend a lot of effort maintaining your tests.
If you’re interested in getting this kind of test coverage for a new or existing web app, Big Nerd Ranch would love to talk with you. We can offer a unique combination of cross-platform back-end experience and deep Swift knowledge. Get in touch with us for more information on what we can do for you! | https://www.bignerdranch.com/blog/request-testing-in-vapor-part-2/ | CC-MAIN-2017-43 | refinedweb | 1,808 | 63.7 |
Logging
import logging logging.warning('Watch out!') # will print a message to the console logging.info('I told you so') # will not print anything
this produces no output to my pythonista console.
What is wrong
@paul-b , your code works as expected on my system. I see the 'Watch out!' Msg in red in the console.
My system is -
('pythonista_ver_str', '3.2')
('pythonista_ver_num', '320000')
('ios_ver_str', '11.2.2')
('screen_resoultion', Size(1366.00, 1024.00))
('screen_scale', 2.0)
('machine_architecture', '64bit')
('machine_model', 'iPad7,2')
@paul-b Ok for me also with last Pythonista and IOS versions on a iPad Mini 4...
Using script of @Phuket2 :
('pythonista_ver_str', '3.2')
('pythonista_ver_num', '320000')
('ios_ver_str', '11.2.5')
('screen_resoultion', Size(768.00, 1024.00))
('screen_scale', 2.0)
('machine_architecture', '64bit')
('machine_model', 'iPad5,1')
did your forget to set thenlogging levEl?
Mysteriously all the scripts I tried that did not work now do work even though I have not changed anything so thanks for all the suggestions
One thing to watch for is that logging does not get reset when globals are cleared, so your logging init code needs to check for existing handlers before adding new ones, especially if using file based handlers. | https://forum.omz-software.com/topic/4676/logging | CC-MAIN-2018-51 | refinedweb | 196 | 78.04 |
Opened 9 years ago
Closed 9 years ago
Last modified 6 years ago
#10138 closed (fixed)
Documentation should mention that loaddata does not call custom save or pre_save signals
Description
I have a custom save() method on a model, and I realized it isn't called during the loaddata. The loaddata command creates a set of DeserializedObject objects, each of which contain an object being loaded from the fixture. According to the DeserializedObject.save() method:
def save(self, save_m2m=True): # Call save on the Model baseclass directly. This bypasses any # model-defined save. The save is also forced to be raw. # This ensures that the data that is deserialized is literally # what came from the file, not post-processed by pre_save/save # methods. models.Model.save_base(self.object, raw=True)
In my case, I would like my save method on my model called, but that is easy to remedy for a one time load. In either case, it would be nice to have this documented.
I also found ticket #8399 which talks about the post_save signal being called. I don't know if it is just the pre_save signal and model's save methods not called, but post_save is. Or post_save isn't anymore and that is an old ticket that can be closed.
I will try to write a doc patch soon unless someone else beats me to it.
Attachments (1)
Change History (6)
Changed 9 years ago by
comment:1 Changed 9 years ago by
I took a first stab at adding the documentation. I would like someone who understands the internals better glance over it to see I described it correctly.
comment:2 Changed 9 years ago by
comment:3 Changed 9 years ago by
comment:4 Changed 9 years ago by
comment:5 Changed 6 years ago by
Milestone 1.1 deleted
docs patch | https://code.djangoproject.com/ticket/10138 | CC-MAIN-2017-43 | refinedweb | 308 | 71.24 |
Dj Gilcrease wrote: > executor = executors.create(NAME, *args, **kwargs) # NAME is 'process' > or 'thread' by default > > from concurrent.futures import executors, ExecutorBase > class MyExecutor(ExecutorBase): ... > executors.register(NAME, MyExecutor) I don't understand the reason for using a registration system rather than just importing names from a module. You mentioned wanting to globally change the executor class being used by a program without having to make changes throughout. Registering a different class under the same name would be one way to do that, but you could achieve the same thing just by assigning to a name in a module. In other words, instead of inventing your own mechanism for managing a namespace, just use a module as your namespace. -- Greg | https://mail.python.org/pipermail/python-dev/2010-March/098318.html | CC-MAIN-2014-15 | refinedweb | 120 | 55.13 |
React Guide to Props - Part I
React Guide to Props - Part I
In this post, an intrepid web developer guides us safely through the complex terrain of props in the React framework. Tally-ho!.
Disclaimer: This was intended to be part III of React JSX series, but as for props there's a lot to be covered, so we have decided to divide it into a subseries!
In some of our previous articles, you had the opportunity to read about JSX specific stuff, like how to render content in loops and how to do conditional rendering in React.
Today, you will learn how props function. However, before we move to actual prop usage examples, you must first understand the difference between state, props, and refs. Once you know what these are, everything will be a lot easier. Here's a short explanation:
The state is similar to attributes in object-oriented programming: it's something local to a class (component), used to better describe it. We'll cover React state management and what should be kept in the local state in another article.
Props are like parameters - they are passed to a component from the caller of a component (the parent): as if you called a function with certain parameters.
Refs are, as the name suggests, references to nested components (children), used for functionality like triggering of focus or an animation. However, they shouldn't be used too much, as the most proper way to communicate between the components is via props.
Now that we have covered all the basic differences, we can start with the prop passing!
All of the below applies to React Native as well!
Passing Props - the Standard Way
Passing props is pretty straightforward: you send a prop by specifying the name under which will it be available in a child component and defining what the prop should equal:
render() { return ( <Child propName={propValue} /> ) }
Here is a more realistic example:
render() { // strings don't have to be wrapped with {}, // but it's better to get used to wrapping everything return ( <Movie actors={[ ... ]} details={{ director: "Director name", ... }} duration={120} released={true} title={"Movie title"} /> ) }
That's basically it for sending a prop! Below you'll find some more specific props you'll definitely be using at some point when coding in React!
Boolean Props
If you want to pass a
true value as a prop, you can do it like this:
render() { // No need for "released={true}"! return ( <Movie released /> ) }
In the same manner, if you want to pass a
false value, you can do it by just not passing anything at all:
render() { // This will work the same way as if you passed "released={false}"! return ( <Movie /> ) }
If the boolean value is contained within a variable, then, of course, you'll have to pass it.
render() { let booleanVariable = true; // this will often be calculated return ( <Movie released={booleanVariable} /> ) }
You can directly calculate the value of a prop when passing it, as well:
render() { return ( <Movie released={value1===value2} /> ) }
Just keep in mind that it should be clear what's happening in the code, if the expression is too long, move it above the return statement or even to a separate function:
isFormValid() { // various checks, whether every form field is of correct format } render() { return ( <Form disabled={!this.isFormValid()} fields={this.state.fields} /> ) }
Function Props
Often, you'll have to pass functions and event handlers as props. The functions you pass need to be bound to the component context. However, don't bind functions in render methods:
handleChange(event) { // do something here } render() { return ( <div> { // don't do this! } <input onChange={this.handleChange.bind(this)} /> </div> ) }
If you bind a function in render, everytime a component is rerendered, a new function will be created. Instead, it's the best to use the arrow syntax when defining a function (you'll need Babel configured to use ES6 syntax!).
handleChange = (event) => { // do something here } render() { return ( <div> <input onChange={this.handleChange} /> </div> ) }
You might be thinking: that's fine when there are no other parameters to be passed, but what if I need to pass an attribute? Here's how to do it with arrow functions:
handleChange = (parameter1, parameter2) => (event) => { // do something here } render() { return ( <div> <input onChange={this.handleChange(parameter1, parameter2)} /> </div> ) }
Sending Props to this.props.children
Sending the props the
Movie component. Here's how we'd do it without the
...:
render() { return ( <Movie title={movie.title} releaseDate={movie.releaseDate} genre={movie.genre} /> ); }
Now, the code above can be much shorter using the three dots syntax, and work completely the same:
render() { return ( <Movie {...movie} /> ); }
However, although it's way shorter, it can get a bit messy over time, so don't overuse it! Also, keep in mind, that although the
... works. Kristina Grujic , DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
{{ parent.title || parent.header.title}}
{{ parent.tldr }}
{{ parent.linkDescription }}{{ parent.urlSource.name }} | https://dzone.com/articles/react-guide-to-props-part-i | CC-MAIN-2018-39 | refinedweb | 825 | 60.14 |
This tutorial and the sample source code explain filling a PDF form using the filling functionality from PDF.co Web API using Java programming language for Java developers. The users can utilize PDF Form Filler API to fill their respective PDF documents with their data interactively.
- Features of PDF Form Filler Web API
- Endpoint Parameters
- PDF Filler Source Code in Java
- Source Code Snippet
- Step-by-Step Guide to Use Form Filler API
- Filled 4506-T Form Output
- How to Fill 4506-T Form in Java – Video Guide
Features of PDF Form Filler Web API
Moreover, the PDF.co Web API possesses beneficial tools to fill a form by benefiting from easy field-name mapping, using e-signature support, and using an on-premise API server. The PDF.co Form Filler API works extremely fast to fill out forms rather than manually handling them. The data to be filed can be from different sources such as spreadsheets, CRM’s, and user input.
A PDF form can have various fields such as text fields, checkboxes, radio buttons, and combo boxes. There is also an option to embed e-signature and other important image objects which the document needs. A demo explaining all of these features in detail is below to help users understand it more easily.
Another critical thing to consider here is that the PDF.co Web API provides high security. This API transmits the user’s documents and data files via encrypted connections. Users can learn more about the PDF.co API security here.
Endpoint Parameters
Following are the parameters of the PDF Form Filler API.
- url: It is a required parameter which should be a string containing the form URL. When the user creates the request, the API takes the form from this parameter and modifies it. Moreover, the user can edit more than one form simultaneously by providing a comma-separated URL of the source files.
- password: The user must provide the file password if he is editing the locked file.
- fields: It is an optional parameter that accepts the value arrays to update the editable fields.
- images: It is an options parameter accepting image objects array to add images in the pdf form.
- encrypt: It is an optional parameter whose value is false by default, and the users can encrypt the output file using this parameter.
- async: It is an optional parameter with boolean values. The users can make the processes run asynchronously using it.
- name: It is an optional parameter that takes the string with the output file name.
- profiles: It is an optional parameter to set custom configuration.
PDF Filler Source Code in Java
The following source code shows users how to fill a sample PDF form using the PDF.co Form Filler API. The sample code in Java shows how to fill a sample form like IRS Form 4506. This form mainly consists of some text fields and checkboxes along with the signature in the form. The users can use the Get PDF Info tool to get the field names in an interactive PDF. Users can access it in the Helpers Tools menu in their respective PDF.co accounts. A direct link to the feature is here.
Users can upload their PDF documents to get critical information about their respective documents, such as the text fields, edit boxes, checkboxes, page numbers, and the location of every field to help the filling process efficiently.
The code contains IRS Form 4506 as an example here. The user needs to provide an API key generated by the PDF.co login and the pdf file URL in the API request for the API to work. Moreover, the pdf.co API returns the resulting or edited file URL from which the user can download the file and keep it on his local storage. The result.pdf file contains the filled document after execution of the code and fills the document with required important information.
Source Code Snippet
Here is an example URL code snippet.
package com.company; import java.io.*; import java.net.*; import java.nio.file.Path; import java.nio.file.Paths; import com.google.gson.*; import okhttp3.*; import java.io.IOException; import java.net.http.*; import java.net.URI; public class Main { // The authentication key (API Key). // Get your own by registering at final static String API_KEY = "********************"; // Direct URL of source PDF file. final static String SourceFileUrl = ""; // PDF document password. Leave empty for unprotected documents. final static String Password = ""; // Destination PDF file name final static Path ResultFile = Paths.get(".result.pdf"); public static void main(String[] args) throws IOException { // Create HTTP client instance OkHttpClient webClient = new OkHttpClient(); // Prepare URL for `PDF Edit` API call String query = ""; // Prepare form filling data String fields = "[n" + " {n" + " "fieldName": "topmostSubform[0].Page1[0].f1_1[0]",n" + " "pages": "0",n" + " "text": "John A."n" + " }, n" + " {n" + " "fieldName": "topmostSubform[0].Page1[0].f1_2[0]",n" + " "pages": "0",n" + " "text": "Doe"n" + " }, n" + " {n" + " "fieldName": "topmostSubform[0].Page1[0].f1_3[0]",n" + " "pages": "0",n" + " "text": "XYZ"n" + " },n" + " {n" + " "fieldName": "topmostSubform[0].Page1[0].f1_4[0]",n" + " "pages": "0",n" + " "text": "1234567"n" + " },n" + " {n" + " "fieldName": "topmostSubform[0].Page1[0].f1_5[0]",n" + " "pages": "0",n" + " "text": "Las Vegas, Nevada"n" + " },n" + " {n" + " "fieldName": "topmostSubform[0].Page1[0].f1_6[0]",n" + " "pages": "0",n" + " "text": "ABCDE"n" + " },n" + " {n" + " "fieldName": "topmostSubform[0].Page1[0].customer_file_number[0]",n" + " "pages": "0",n" + " "text": "987654321"n" + " }, n" + " {n" + " "fieldName": "topmostSubform[0].Page1[0].c1_1[1]",n" + " "pages": "0",n" + " "text": "True"n" + " }, n" + " {n" + " "fieldName": "topmostSubform[0].Page1[0].f1_24[0]",n" + " "pages": "0",n" + " "text": "05"n" + " }, n" + " {n" + " "fieldName": "topmostSubform[0].Page1[0].f1_25[0]",n" + " "pages": "0",n" + " "text": "01"n" + " }, n" + " {n" + " "fieldName": "topmostSubform[0].Page1[0].f1_26[0]",n" + " "pages": "0",n" + " "text": "20"n" + " } n" + " ]"; // Asynchronous Job String async = "false"; // Make correctly escaped (encoded) URL URL url = null; try { url = new URI(null, query, null).toURL(); } catch (URISyntaxException e) { e.printStackTrace(); } // Create JSON payload String jsonPayload = String.format("{n" + " "url": "%s",n" + " "async": %s,n" + " "encrypt": false,n" + " "name": "f1040-filled",n" + " "fields": %s"+ "}", SourceFileUrl, async, fields); // Prepare request body RequestBody body = RequestBody.create(MediaType.parse("application/json"), jsonPayload); // Prepare request Request request = new Request.Builder() .url(url) .addHeader("x-api-key", API_KEY) // (!) Set API Key .addHeader("Content-Type", "application/json") .post(body) .build(); // Execute request Response response = webClient.newCall(request).execute(); if (response.code() == 200) { // Parse JSON response JsonObject json = new JsonParser().parse(response.body().string()).getAsJsonObject(); boolean error = json.get("error").getAsBoolean(); if (!error) { // Get URL of generated output file String resultFileUrl = json.get("url").getAsString(); System.out.println(resultFileUrl); // Download the image file downloadFile(webClient, resultFileUrl, ResultFile); System.out.printf("Generated file saved to "%s" file.", ResultFile.toString()); } else { // Display service reported error System.out.println(json.get("message").getAsString()); } } else { // Display request error System.out.println(response.code() + " " + response.message()); } } public static void downloadFile(OkHttpClient webClient, String url, Path destinationFile) throws IOException { // Prepare request Request request = new Request.Builder() .url(url) .build(); // Execute request Response response = webClient.newCall(request).execute(); byte[] fileBytes = response.body().bytes(); // Save downloaded bytes to file OutputStream output = new FileOutputStream(destinationFile.toFile()); output.write(fileBytes); output.flush(); output.close(); response.close(); } }Code javacodeco
Step-by-Step Guide to Use Form Filler API
- Gson is a Java library that can easily convert Java Objects into JSON representation. The Gson library by Google prevents writing code from parsing JSON response and works well with any networking library, including Android Async HTTP Client and OkHttp. Users can download the relevant JAR file to add the library to their project dependency for a better developer experience.
- OkHttp is a third-party library that can assist in sending and receiving HTTP-based network requests. It is more efficient in reading and writing data than the standard Java I/O libraries. Users can download the JAR file for OkHttp and include it in their project dependency for efficient load handling and saving bandwidth.
- After logging in to the PDF.co website, the users can obtain their API key after logging in to the PDF.co website to access their Web API. As the users can not send a direct request, they have to use this specific API key as an access token in the header for authentication.
- The best practice is to use this API key in variable declaration. The users will have to change only the variable and can edit the following file easily. Otherwise, they will have to use a separate key for the other files as well.
- Upload the relevant PDF document by using the Helper Tools menu and get the field mapping. Pick the required fields from the information and verify the page numbers and field locations to fill the required fields in the form.
- Moreover, check the fields’ width to put only the critical information according to the limited width to avoid inconvenience.
- Provide the relevant information in the payload—for example, the field names, page numbers, and the information to be added. Moreover, the users can add image objects in the payload to include signatures in the PDF form.
- Send the POST request and observe its response. Check if the status code of that response is successful or not. Usually, if the status code is 200, it means that the request was successful.
- If the request was successful, convert the response to a JSON object and print it on the screen to obtain a URL, leading to the filled PDF form.
- However, if the request was unsuccessful, observe the error from the status code and repeat the process accordingly.
- The users can download the filled PDF from the obtained URL as well. For this purpose, the users can provide the document link to the download function and provide the output path of the file as well.
- For a better experience, the users can write a function to effectively download the edited form from the response URL, as shown in the sample code. The function takes the file URL, output file path, and the web client to download and store the file in the given location. The users can choose to provide the path of the output file in the variable declaration for conveniently changing them according to the requirement.
Filled 4506-T Form Output
Below is the screenshot of the edited form:
How to Fill 4506-T Form in Java – Video Guide
In this tutorial, you found out how to fill the 4506-T form in Java using PDF.co Web API. See below Java code samples needed for this tutorial. | https://pdf.co/blog/fill-pdf-form-in-java | CC-MAIN-2022-27 | refinedweb | 1,760 | 57.57 |
Hi,
I'm just starting to learn Java, and I'm trying to write a program to sum integers from 1 to the entered number. The integer entered has to be greater than 0, and I need to use a while statement to validate the input. I also need to use a scanner class for keyboard input.
I have the program able to recognize a negative or zero number, but I cannot figure out how to both sum the numbers and watch the input to make sure it's not negative. Can someone point me in the right direction? I've been working on this thing for more than 6 hours already..
This is my code so far:
Code :
import java.util.Scanner; public class SumOfNumbers { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.println("Enter a positive nonzero number: "); int x = Integer.parseInt(input.nextLine()); int y = 0; int sum = 0; while (y <= x) { sum = sum + y; y++; System.out.println("Sum of all the integers from 1 through " + x + " is: " + sum); } if (y > x) System.out.println("Invalid. Please enter a positive nonzero number."); } } | http://www.javaprogrammingforums.com/%20loops-control-statements/35702-beginner-question-sum-numbers-program%3B-validation-printingthethread.html | CC-MAIN-2015-35 | refinedweb | 192 | 65.42 |
Mosaic To New Raster (Data Management)
Summary
Mosaics multiple raster datasets into a new raster dataset.
Usage
The input raster datasets are all the raster datasets you would like to mosaic together. The inputs must have the same number of bands and same bit depth; otherwise, the tool will exit with an error message.
When working with a large number of raster datasets, the Raster Catalog To Raster Dataset tool performs more efficiently.
The Mosaic tool has more parameters available when combining datasets into an existing raster, such as options to ignore background and nodata values.
You must set the pixel type to match your existing input raster datasets. If you do not set the pixel type, the 8-bit default will be used and your output may be incorrect.
You can save your output to BIL, BIP, BMP, BSQ, DAT, Esri Grid, GIF, IMG, JPEG, JPEG 2000, PNG, TIFF, or any geodatabase raster dataset.
When storing your raster dataset to a JPEG file, a JPEG 2000 file, or a geodatabase, you can specify a Compression type and Compression Quality within the Environment Settings.
The GIF format only supports single-band raster datasets.
When mosaicking with raster datasets containing color maps, it is important to note differences across the color maps for each raster dataset you choose to mosaic. In this situation, use the Mosaic tool for raster with different color maps; however, you must choose the proper Mosaic Colormap Mode operator. If an improper colormap mode is chosen, your output might not turn out as you expected.
This tool does not honor the Output extent environment setting for ArcSDE. If you want a specific extent for your output raster, consider using the Clip tool. You can either clip the input rasters prior to using this tool, or clip the output of this tool.
Syntax
Code Sample
This is a Python sample for the MosaicToNewRaster tool.
import arcpy from arcpy import env env.workspace = "c:/data" arcpy.MosaicToNewRaster_management("land1.tif;land2.tif", "Mosaic2New", \ "landnew.tif", "World_Mercator.prj",\ "8_BIT_UNSIGNED", "40", "1", "LAST","FIRST")
This is a Python script sample for the MosaicToNewRaster tool.
##================================== ##Mosaic To New Raster ##Usage: MosaicToNewRaster_management inputs;inputs... output_location raster_dataset_name_with_extension ## {coordinate_system_for_the_raster} 8_BIT_UNSIGNED | 1_BIT | 2_BIT | 4_BIT ## | 8_BIT_SIGNED | 16_BIT_UNSIGNED | 16_BIT_SIGNED | 32_BIT_FLOAT | 32_BIT_UNSIGNED ## | 32_BIT_SIGNED | | 64_BIT {cellsize} number_of_bands {LAST | FIRST | BLEND | MEAN ## | MINIMUM | MAXIMUM} {FIRST | REJECT | LAST | MATCH} try: import arcpy arcpy.env.workspace = r"\\MyMachine\PrjWorkspace\RasGP" ##Mosaic several TIFF images to a new TIFF image arcpy.MosaicToNewRaster_management("landsatb4a.tif;landsatb4b.tif","Mosaic2New", "landsat.tif", "World_Mercator.prj",\ "8_BIT_UNSIGNED", "40", "1", "LAST","FIRST") except: print "Mosaic To New Raster example failed." print arcpy.GetMessages() | http://resources.arcgis.com/en/help/main/10.1/0017/001700000098000000.htm | CC-MAIN-2016-18 | refinedweb | 432 | 55.03 |
Error Log for P1tr
P1tr needs a way to write messages to an error log. It should be available for use in all P1tr modules, support different log levels and should write to a file.
Blueprint information
- Status:
- Started
- Approver:
- None
- Priority:
- High
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- Chris Ortner
- Definition:
- Approved
- Implementation:
Beta Available
- Started by
- Chris Ortner on 2008-04-05
- Completed by
-
Related branches
Related bugs
Sprints
Whiteboard
Implemented in revision 78.
In every module where you want to use error logging, add such a line:
from lib.logger import log
Now you can use the log function to write to a logfile in log/error.log or to terminal. Example:
log('i', 'Welcome to the middle of the P1tr run!')
The first argument specifies the kind of message. These are available:
f: fatal errors, use only if P1tr has to shut down or something equally terrible happens
e: normal errors for everyday use
w: warnings, things that don't threaten the P1tr run at all, but should be taken care of by the user nevertheless
i: informations, pure status messages or something like that. You can use this for debugging.
Tracebacks of exceptions get printed as well.
All information gets written to the error log file.
The amount of stuff shown on the terminal depends on the loglevel, which is currently set in lib/logger.py:60. For setting it use the same letters as you use for the log function. Now you use them to specify the lowest kind of error message which is shown on the terminal. Additionally you can use 'n' here, which avoids all terminal output.
Great! I was in need of this for quite a while now.
m-otteneder | https://blueprints.launchpad.net/p1tr/+spec/error-log | CC-MAIN-2019-22 | refinedweb | 289 | 63.29 |
I didn't succeed...
I didn't succeed...
Ok I'll try to do that..Thanks :) Please do not close this topic cause maybe I'll be back.
It also doesn't work ..
--- Update ---
But frame is set visible on true
I don't think that I see what you mean..You mean like this?
JFrame frame = new JFrame("Proiect Diacu Paul");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
...
Aaaa no, this is the main code.
package joc;
import javax.swing.JFrame;
/**
*
* @author paul
*/
public class Joc {
I have to add @Override but is not working. I will try with Bindings then..
It is working without adding @Override but the rect is not showing up..
Hi. I have made a code that should allowed me to move an object in a frame, using the arrow keys. But I don't know why, is not working. So I hope that you know what I did wrong.
package joc;... | https://www.javaprogrammingforums.com/search.php?s=7f22f4fd98c18066a11d2564deff2302&searchid=2128289 | CC-MAIN-2022-05 | refinedweb | 154 | 88.02 |
Using Fabric and the new Invoke to simplify and codify both development and deployment patterns.
We’ve been using Fabric to manage deployments for a while and lately Invoke for adding similar functionality where SSH based deployment isn’t required. It’s been fun to compare notes with developers in other dev shops about workflow especially around deployment, so we thought we’d share some of the what we do.
Anywhere an Invoke task is provided as an example, a Fabric task could be used in the same way.
By wrapping your test commands in a task you gain a modicum of simplicty, but you can also wrap other options in that command.
invoke test
@task def test(): """Run Django tests and linters.""" run("python manage.py test --with-coverage " "--cover-package=app1,app2,app3") print("Running static analysis...") r = run("flake8") if not r.return_code: print("Code checks out!")
You’ve just pulled down fresh changes from the remote repository that includes changes across several branches, involving new dependencies, static files, database migrations. Just run one command and get up to speed.
In many of our projects we use Vagrant to manage virtual machines for development, getting something closer to production parity and simplifying configuration across developer workstations. But for some projects its just as simple to make sure Postgres.app is running and just use a virtualenv on your laptop.
invoke update
@task def update(): """Update local project based on upstream changes.""" print("Updating requirements...") with open("brews.txt", "r") as brews: for brew in brews: run("brew install {0}".format(brew)) run("pip install -r dev-requirements.txt") run("python manage.py syncdb") run("python manage.py migrate") run("python manage.py collectstatic --noinput") run("python manage.py compress")
This task installs from a development mode pip requirements file which includes the primary requirements file but adds in development-only dependencies (like Sphinx).
Last note: this actually takes an extra step and assumes your team is using Homebrew on Mac. That particular step could be removed or replaced with something else. This is rarely necessary unless you have C dependencies like libmemcached. Of course if these start piling up it probably makes more sense to use a virtual machine.
Presuming your project documentation is compiled using Sphinx, this is a pretty simple task, just “make html”. Using an Invoke or Fabric task there’s not need to specify or change directories. And we’ll make it easier to access the results.
invoke docs
This default task builds the docs and then opens the documentation index in your default browser. If you just want to build them you can do that of course.
invoke docs.build
And if you want to start perusing the documentation without building, you can skip that step.
invoke docs.browse
Here’s the simple code.
@task def build(clean='no'): with lcd('docs'): local('make html')
@task def browse(): """Open the current dev docs in the default browser.""" local("open docs/_build/html/index.html")
@task(default=True) def build_browse(): """Build the docs and open them in the browser""" build() browse()
What we’ll call the Capistrano style deploy works like so: update a remote fork of the repository (e.g. Git or Hg), then copy the app files into a new release directory. Run necessary deployment commands against this release location and upon completion, symlink the active or latest app directory to the latest release.
fab production deploy
This calls several tasks in order, so as to update the remote cached copy of the repository, create a new release directory, run remote tasks required for the release, and then restart the application server using the latest release.
def notify\_hipchat(message="(present) {user} deployed {sha} to {env}", **kwargs): sha = kwargs.get('sha', 'N/A') message = message.format(user=getpass.getuser(), env=env.environment[0], sha=sha) data = {"from": "myapp", "auth_token": env.hipchat_auth_token, "message_format": "text", "color": "green", "room_id": env.hipchat_room_id, "message": message} env.hipchat_from = "Fab deployer" r = requests.post("", data=data) if r.status_code != 200: print "There was a problem sending your message:\n\n{0}\n\n".format( r.text) @task def refresh(): """ Updates the source cache by pulling from the remote repository Returns the SHA of the current commit """ with cd(env.code_dir): sudo("git checkout {0}".format(env.branch)) sudo("git pull origin {0}".format(env.branch)) sudo("git submodule init") sudo("git submodule update") return sudo("git rev-parse HEAD") @task def restart(): """Restarts the application""" sudo("service myapp-gunicorn restart") sudo("service myapp-celery restart") def release(provision=False, db=True, pip=True, notify=True, ): """Creates a new release on the remote server and restarts the server""" # Force a repository update and get the SHA value of the repo HEAD release_log = {'sha': refresh()} # Create the release directory with cd(env.code_dir): timestamp = datetime.now().strftime("%Y%m%d%H%M%S") # ensure dir is there cuisine.dir_ensure("{0}/releases".format(env.app_path)) release = "{path}/releases/{ts}".format(path=env.app_path, ts=timestamp) sudo("cp -R . {release}".format(release=release)) # Run release tasks with cd(release): print "Creating release" sudo("chown -R myapp:www-data {release}".format(release=release)) if pip: dj.pip(path=release) dj.static(path=release) if db: dj.update(path=release) # Update current app directory cuisine.file_link(release, env.latest, symbolic=True, owner=env.app_user, group="www-data") restart() return release_log @task(default=True) def full(provision=False, notify=True): """Creates a new release on the server, checks requirements, udpates DB""" if 'production' in env.environment: if not confirm('Deploy to production?', default=False): abort('Production deployment aborted.') summary = release(provision=provision, notify=notify) if notify: notify_hipchat(**summary)
The release task uses Cuisine, a “Chef-life” library for Fabric in order to simplify the directory updates.
For when deploying to Heroku consists of more than just pushing a commit.
git push heroku master
Works until you need to run additional tasks, like migrations or static asset generation. We’ll replace the Git push command with this Invoke task.
invoke deploy
This task will push to our Heroku remote and then run the additional tasks like migrating database schema changes.
@task def deploy(): """Push to Heroku and runs any ancillary tasks necessary.""" print("Pushing latest changes to Heroku...") run("git push heroku master") run("heroku run python manage.py syncdb") run("heroku run python manage.py migrate") run("heroku run python manage.py compress")
If you deploy frequently to Heroku then a custom buildpack integrating these steps might prove superior.
Sometimes you want to be able to watch the logs on a server.
fab logs
This is just a simple task for tailing a default or specified log file.
from fabric.api import task, run, sudo @task def tail(filename, watch=True, sudoer=False): """Tail the specified file""" executor = sudo if sudoer else run flags = '-f' if watch else '' executor("tail {flags} {filename}".format(flags=flags, filename=filename)) @task(default=True) def gunicorn(watch=True): """Tail the application file""" tail('/var/log/myapp/myapp.log', watch=watch)
A great example of this is accessing the remote shell if need be. The Heroku CLI lets you attach a command to the remote shell, e.g. a Django management command.
fab staging dj:shell_plus fab staging dj:update_index,–remove fab staging dj:import_locations,
@task(default=True) def manage(command, *args, **kwargs): user = kwargs.pop('user', None) path = kwargs.pop('path', None) user = user if user else env.app_user path = path if path else u"{0}/bdmbooks".format(env.code_dir) cmd_args = u" ".join(args) cmd_kwargs = u" ".join([u"{k}={v}".format(k=k, v=v) for k, v in kwargs.iteritems()]) with cd(path): run({python} manage.py {command} {args} {kwargs}".format( python=env.python, command=command, args=cmd_args, kwargs=cmd_kwargs), user=user)
For systems with only a few servers it’s really simple to just apply Puppet scripts locally rather than use a master-slave setup. One thing this tasks does depend on is that the application repo has already been set up on the server and Puppet already installed.
This can be run upon making system changes by updating the repo cache and reapplying the Puppet configuration.
fab production db deploy.refresh puppet
@task(default=True) def apply(system=None): """Applies the Puppet configuration currently in the source cache""" if not system: system = env.system sudo("puppet apply --modulepath={0}/puppet/modules" " {0}/puppet/manifests/{1}.pp".format(env.code_dir, system))
system would specify the manifest for the node type, e.g. “web”, “db”,
“search”, “dev” (a box running all services).
For this last use case at least we’re looking to completely replace. Our exploration with Ansible has been pretty basic so far but the feedback from very different corners has been so enthusiastically positive that we expect this to be the direction we take.
Learn from more articles like this how to make the most out of your existing Django site. | https://wellfire.co/learn/deployment-task-patterns-with-fabric/ | CC-MAIN-2019-18 | refinedweb | 1,486 | 50.53 |
None
0 Points
Jun 05, 2015 02:09 PM|ThotaAshok|LINK
Hi,
How to control the authorization of a user to a folder (who been authenticated using sso) Single Sign on? For Ex:-
I have a "WFM" folder is there and users from work flow manager( WFM ) can access these files but users from IMS( ID Manager Support) group are supposed to be restricted. If WFM user login then the header value "WFM = TRUE" will be set (see header info in below sample). From this i know this user is a WFM user. For Ex:- assume a support guy logged-in then this value will be "IMS = TRUE". This user when tried to access a file in "~/WFM/WorkFlow1.aspx" he should be restricted (and all files under WFM folder). How can i do it programatically? Is there any good sample restricting urser to access files of a different user group(s) folder? According to requirement I can not set the location tag's in web.config and don't want to have a web.config in each folder (Ex:- one web.config in "WFM" folder and another web.config file in "IMS" folder). Is it possible and point me to right resource links or post your answer if one does not exist.
Connection = keep-alive
Content-Length = 0
Accept = text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding = gzip, deflate
Accept-Language = en-US,en;q=0.5
Cookie =
Host = Myapplication.MycompanyName.net
User-Agent = Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0
SM_LOCATION = /test.aspx
SERVER_PROTOCOL = HTTP/1.1
SM_TRANSACTIONID =
REQUEST_METHOD = GET
SM_SDOMAIN = .MycompanyName.net
SM_REALM = Protected Root
SM_REALMOID =
SM_AUTHTYPE = Form
SM_AUTHREASON = 0
WFM = TRUE
first_name = Ashok
last_name = Tho
middle_initial = K
ro = true
SM_UNIVERSALID = T123456
SM_AUTHDIROID =
SM_AUTHDIRNAME = eDir-SSL-PSM
SM_AUTHDIRSERVER = smldap1 smldap2 smldap3,smldap3 smldap2 smldap1
SM_AUTHDIRNAMESPACE = LDAP:
SM_USER = T123456
SM_USERDN = uid=T123456,ou=People,dc=mycompdomain,dc=net
SM_SERVERSESSIONID = ABCDEFJUjsowJUKK2=
SM_SERVERSESSIONSPEC =
SM_TIMETOEXPIRE = 7036
SM_SERVERIDENTITYSPEC =
SMUSER = T123456
Thank You
Ashok
None
0 Points
Jun 08, 2015 09:51 AM|ThotaAshok|LINK
Could somebody respond to this post?
Thank You
Ashok
Star
7970 Points
Jun 08, 2015 10:19 AM|Weibo Zhang|LINK
Hi ThotaAshok,
If you don’t want to use web.config to implement the access control, I think you could create a custom Module to check. In the Module, you could do some check in the BeginRequest. The following codes you could take a look. But, in this way, the Respone.Headers would be dropped after each request, so I suggest that you should store the value in a session or cookie.
public class clsHttpModule : IHttpModule { public clsHttpModule() { } public void Dispose() { } private HttpApplication httpApp; public void Init(HttpApplication context) { this.httpApp = context; httpApp.AuthorizeRequest += new EventHandler(OnAuthorization); } void OnAuthorization(object sender, EventArgs a) { string strIMS = httpApp.Context.Response.Headers["IMS"].ToString().ToLower(); string strWFM = httpApp.Context.Response.Headers["WFM"].ToString().ToLower(); string currentRequestPath = httpApp.Context.Request.Path; if ((strIMS == "") && (strWFM == "")) { //Unauthorized or other actions } else { if ((strIMS == "true") && (currentRequestPath.IndexOf(@"/IMS/") > 0)) { ///login IMS } if ((strWFM == "true") && (currentRequestPath.IndexOf(@"/WFM/") > 0)) { ///login WFM } else { ///do what you want to do } } } }
For more information, you could refer to the following article.
I hope it’s useful to you.
Best Regards,
Weibo Zhang
2 replies
Last post Jun 08, 2015 10:19 AM by Weibo Zhang | https://forums.asp.net/t/2054390.aspx?How+to+control+the+authorization+of+a+user+to+a+folder+who+been+authenticated+using+sso+Single+Sign+on+ | CC-MAIN-2019-18 | refinedweb | 563 | 51.65 |
Provided by: libncarg-dev_6.3.0-6build1_amd64
NAME
ISOSRF - Draws an isosurface.
SYNOPSIS
CALL ISOSRF (F,LU,MU,LV,MV,MW,EYE,MUVWP2,SLAB,FISO,IFLAG)
C-BINDING SYNOPSIS
#include <ncarg/ncargC.h> void c_isosrf (float *f, int lu, int mu, int lv, int mv, int mw, float eye[3], int muvwp2, float *slab, float fiso, int iflag)
UTILITY
This routine is part of the Isosurface utility in NCAR Graphics. To see the overview man page for this utility, type "man isosurface".
DESCRIPTION
F (an input array of type REAL, dimensioned LU x LV x m, where "m" is greater than or equal to MW) is a three-dimensional array of data defining the function f(u,v,w). Only the portion of the array consisting of elements F(IU,IV,IW), for IU = 1 to MU, IV = 1 to MV, and IW = 1 to MW, is to be used. This may or may not be the entire array.)). LU (an input expression of type INTEGER) is the first dimension of the array F. MU (an input expression of type INTEGER) defines the range to be used for the first subscript of the array F. LV (an input expression of type INTEGER) is the second dimension of the array F. MV (an input expression of type INTEGER) defines the range to be used for the second subscript of the array F. MW (an input expression of type INTEGER) defines the range to be used for the third subscript)). MUVWP2 (an input expression of type INTEGER) has the value MAX(MU,MV,MW)+2. SLAB (a scratch array of type REAL, dimensioned at least MUVWP2 x MUVWP2) is a workspace for ISOSRF. FISO (an input expression of type REAL) is the value of fiso in the equation f(u,v,w)=fiso, which defines the isosurface to be drawn. IFLAG (an input expression of type INTEGER) serves two purposes: · The absolute value of IFLAG determines which type of lines are drawn to approximate the isosurface. Three types of lines are considered: lines of constant U, lines of constant V, and lines of constant W. The following table lists the types of lines drawn for various values of ABS(IFLAG): ABS(IFLAG) Constant U Constant V Constant W 1 no no yes 2 no yes no 3 no yes yes 4 yes no no 5 yes no yes 6 yes yes no 7 yes yes yes · The sign of IFLAG determines what is inside and what is outside the solid bounded by the isosurface and thus which lines are visible and what is done at the boundary of the box containing the data. If IFLAG is positive, values greater than FISO are considered to be inside the solid formed by the isosurface. If IFLAG is negative, values less than FISO are considered to be inside the solid formed by the isosurface. If the algorithm draws a cube, reverse the sign of IFLAG.
Transformations can be achieved by adjusting scaling statement functions in ISOSRF, SET3D, and TR32. The hidden-line algorithm is not exact, so visibility errors can occur. Three-dimensional perspective character labeling of isosurfaces is possible by calling the routine PWRZI.
EXAMPLES
Use the ncargex command to see the following relevant examples: tisosr, tpwrzi, fisissrf, fispwrzi.
ACCESS
To use ISOSRF or c_isosrf load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order.
SEE ALSO
Online: isosurface, isosurface_params, ezisos, isgeti, isgetr, isseti, issetr, pwrzi, ncarg_cbind Hardcopy: NCAR Graphics Fundamentals, UNIX Version
Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement. | http://manpages.ubuntu.com/manpages/xenial/man3/isosrf.3NCARG.html | CC-MAIN-2019-43 | refinedweb | 602 | 59.53 |
On (Thu) Mar 19 2009 [10:39:05], Daniel P. Berrange wrote: > On Thu, Mar 19, 2009 at 12:45:24PM +0530, Amit Shah wrote: > > diff --git a/src/util.c b/src/util.c > > index 66ad9a4..b69d33a 100644 > > --- a/src/util.c > > +++ b/src/util.c > > @@ -117,6 +117,26 @@ ssize_t safewrite(int fd, const void *buf, size_t count) > > return nwritten; > > } > > > > +#if 1 > > +int safezero(int fd, int flags, off_t offset, off_t len) > > +{ > > + return posix_fallocate(fd, offset, len); > > +} > > +#else > > +int safezero(int fd, int flags, off_t offset, off_t len) > > +{ > > + char *buf; > > + int r; > > + > > + buf = calloc(len, sizeof(char)); > > + if (buf == NULL) > > + return -ENOMEM; > > + > > + r = safewrite(fd, buf, len); > > + return r; > > +} > > +#endif > > For memory allocation you can use > > if (VIR_ALLOC_N(buf, len) < 0) > return -1; > > Also, you'll need a VIR_FREE(buf) call in there after the safewrite(). > > I'm a little worried about scalability of this impl though. The later > patch will call this with 500 MB chunks if progress is turned on, or > even allocate the whole file in one chunk - we don't want to be > allocating 20 GB of memory jus to write zero's to a file ! Is it > perhaps easier just to do something like > > char * buf = mmap(NULL, len, MAP_SHARED, MAP_ANONYMOUS, fd, offset) > memset(buf, 0, len); > munmap(buf, len); > > Or, do your calloc() of a 1 MB chunk, and then call safewrite in a > loop, just to avoid too large a memory allocation. Yeah; I forgot the free(). My approach was to never allocate more than 500MiB. However we can call safezero() itself with less than 500M; is 200M OK? Amit | https://www.redhat.com/archives/libvir-list/2009-March/msg00321.html | CC-MAIN-2015-18 | refinedweb | 269 | 66.78 |
Web scraping
I made this python script for web scraping, it can map a web site in a dictionary for example:
{url:[url_type,{url1_in_url:[url1_in_url_type,{...}],url2_inurl:[...],...}]}
if someone also want to download all files in that web_site only need specify it:
with the variable 'descargar' and set it to True
url = '' descargar = True profundidad = 2 archivo = 'clark.json' s = Scraper() s.lineal(url,profundidad,descargar,archivo)
I want to implement some threading algorithm to speed up the analysis.
Note:
it sometimes have an error when downloading files.
@sulcud, would be interesting to know if you have considered the pros and cons of threading vs. asyncio, and why you would pick one or the other.
@mikael I try to implement the async function, really I don’t know if i do it well, now it download all more faster than before and in other hand i also correct the link extraction function because some times (most of the time ☹️) the function only outputs 20-50 urls, now it can extract all or some number near to all of the links in the page, I also make a setup.py file but I truly don’t know if it works.
Now the way to use it is:
from scrapthor import scrap url=“some url” scrap(url)
Please. can you check it?
@sulcud, your code still looks serial to me. I think you need aiohttp for this - check e.g. this tutorial.
@mikael WOW with that package the speed increase a lot, thanks, now I know the real power of async programming | https://forum.omz-software.com/topic/5251/web-scraping | CC-MAIN-2021-21 | refinedweb | 259 | 70.84 |
/>
The numbers in the graphic below form the first five rows of Pascal's Triangle, which in this post I will implement in Python.
The first row consists of a single number 1. In subsequent rows, each of which is has one more number than the previous, values are calculated by adding the two numbers above left and above right. For the first and last values in each row we just take the single value above, therefore these are always 1.
/>
Pascal's Triangle in its conventional centred layout
At first glance you might think Pascal's Triangle is of little interest or use other than perhaps teaching very young children to add up. Nothing could be further from the truth - as with so many areas of mathematics this simple idea has spawned a large area of study and overlaps with even more. The Wikipedia article on the subject is fairly comprehensive but I am writing this article as a precursor to another on the subject of a contraption called a Galton Board, which takes us into the area of statistics and specifically the normal distribution. If you look at the last row of numbers you might be able to discern the first inklings of a normal distribution.
To that end, note that each number represents the number of possible paths to it from the top, assuming we travel downwards and either to the left or right. For example, the second number in the third row is 3, and there are three possible paths to it from the top:
- left, left, right
- left, right, left
- right, left, left
The Data Structure
Let's start of by considering the kind of data structure we need to represent Pascal's Triangle. For this purpose it might be simpler to show it left-aligned rather than centred./>
Pascal's Triangle in a left aligned form
Looking at the layout above it becomes obvious that what we need is a list of lists. In a Pascal's Triangle the rows and columns are numbered from 0 just like a Python list so we don't even have to bother about adding or subtracting 1.
Program Requirements
The purpose of this program is simply to print out Pascal's Triangle to the number of rows which will be specified as a function line argument. Calculating values doesn't present any obvious problems as it is simply the addition of two numbers. However, calculating the indexes of the two numbers in the previous row to add is fiddly so I'll use the following formula, where n is the row number and k is the column number, both 0-based:
Calculating values for Pascal's Triangle
value(n,k) = n!/(k!*(n-k)!)
Starting to Code
Create a new folder and within it create a file called pascalstriangle.py. As this is a short and simple program I will keep all the source code in one file. You can download it as a zip or download/clone from Github if you prefer.
Source Code Links
pascalstriangle.py
import math def main(): """ Simply create and populate a Pascal's Triangle and then print it in two formats """ print("---------------------") print("| codedrome.com |") print("| Pascal's Triangle |") print("---------------------\n") pt = create(8) populate(pt) print_left(pt) print("") print_centre(pt) def create(rowcount): """ Create an empty list and then append lists of 0s, each list one longer than the previous """ pt = [] for r in range(1, rowcount + 1): pt.append([0] * r) return pt def populate(pt): """ Populate an uninitialized list with actual values """ for r in range(0, len(pt)): for c in range(0, len(pt[r])): pt[r][c] = math.factorial(r) / (math.factorial(c) * math.factorial(r - c)) def print_left(pt): """ Prints the triangle in a left-aligned format to demonstrate data structure """ for r in range(0, len(pt)): for c in range(0, len(pt[r])): print("%-4d" % pt[r][c], end="") print("") def print_centre(pt): """ Prints the triangle in a conventional centred format """ inset = int(((((len(pt) * 2) - 1) / 2) * 3)) for r in range(0, len(pt)): print(" " * inset, end="") for c in range(0, len(pt[r])): print("%-3d " % pt[r][c], end="") print("") inset-= 3 main()
The main function simply calls the subsequent functions to create, populate and print the Pascal's Triangle.
The create function creates a new list and then uses a for loop to add lists of 0s to it. These lists are created by multiplying [0] by the current row number; this is the reason we loop from 1 to rowcount + 1 rather than 0 to rowcount. Finally we return the list.
In populate we iterate the rows and columns, setting the values according to the formula above.
The print_left function uses similar nested loops to print each row, the %-4d left-aligns the output within four character widths.
The print_centre function uses similar loops but also utilises the inset variable to pad the output at the left with spaces. This is calculated using an ugly formula (which I'm not proud of but at least it works!) and is reduced by 3 after each row.
We have now finished the code so can run it using this command in Terminal . . .
Running the program
python3.7 pascalstriangle.py
. . . which will give you the following output.
Program Output
--------------------- | codedrome.com | | Pascal's Triangle | --------------------- 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 1 5 10 10 5 1 1 6 15 20 15 6 1 1 7 21 35 35 21 7 1 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 1 5 10 10 5 1 1 6 15 20 15 6 1 1 7 21 35 35 21 7 1
You can of course change the number of lines to another value if you wish. | https://www.codedrome.com/pascals-triangle-in-python/ | CC-MAIN-2021-25 | refinedweb | 983 | 63.53 |
Erlang in Python
Ok, thread.
Each thread has a public Unix domain datagram socket (kinda like a file, but works like a reliable UDP socket) somewhere in the filesystem.
To send a message to a particular message or thread, just send a datagram to the appropriate domain socket.
Since we aren’t picking any particular messaging format, the message queues just treat every message as a blob, and assume the queue reader knows how to parse all the messages.
Erlang is more than an actor model. To message queue it adds pattern matching, marshaling messages between nodes (OS processes or hosts), and process and node monitoring. I think to get that stuff you’d need a pretty smart supervisor process which would somehow notice when linked or monitored OS processes exit.
But anyway, here is my queue code.
import socket import struct class NoMatch(Exception): pass class MessageQueue(object): def __init__(self, socketname, queuename, recvsize): self.socketname = socketname self.queuename = queuename self.recvsize = recvsize self.socket = socket.socket(socket.AF_UNIX, socket.SOCK_DGRAM) self.socket.bind(self.socketname) self.queue = open(self.queuename, 'w+') def receive(self, pattern): for place, payload in self.iter_queue(): try: interpreted = pattern(payload) self.markused(place) return interpreted except NoMatch: continue for payload in self.iter_socket(True): try: return pattern(payload) except NoMatch: self.enqueue(payload) for payload in self.iter_socket(False): self.enqueue(payload) def iter_queue(self): self.queue.seek(0) while True: place = self.queue.tell() sizebuffer = self.queue.read(8) if len(sizebuffer) != 8: break used, size = struct.unpack('ii', sizebuffer) if used: self.queue.seek(size, 1) continue payloadbuffer = self.queue.read(size) if len(payloadbuffer) != size: break yield place, payloadbuffer def iter_socket(self, blocking): self.socket.setblocking(blocking) while True: try: payloadbuffer = self.socket.recv(self.recvsize) except socket.error, e: if e.args[0] == 1: break else: raise yield payloadbuffer def markused(self, place): previous = self.queue.tell() self.queue.seek(place) self.queue.write(struct.pack('i', 1)) self.queue.seek(previous) def enqueue(self, payload): self.queue.seek(0, 2) self.queue.write(struct.pack('ii', 0, len(payload))) self.queue.write(payload) def main(): q = MessageQueue('tests', 'testq', 4096) def patterna(buf): if buf[0] == 'a': return buf else: raise NoMatch, buf def patternb(buf): if buf[0] == 'b': return buf else: raise NoMatch, buf while 1: print 'match!', q.receive(patterna) print 'match!', q.receive(patternb) if __name__ == '__main__': main()
And a script to drive it. (The messages are sent out of the expected order.)
import socket s = socket.socket(socket.AF_UNIX, socket.SOCK_DGRAM) for p in ('a', 'b'): for i in xrange(0, 3): s.sendto('%s%d' % (p, i), 'tests')
November 27, 2006 at 12:09 am
It’s already been done. Google for “python candygram” for Candygram, an implementation of Erlang’s concurrency model in Python.
December 6, 2006 at 8:51 pm
hey, you should put your contact info on your page or an about section..
cheers
December 7, 2006 at 3:57 am
Try “Stackless Python”. I take it the alternative of Erlang. | http://willowbend.cx/2006/11/26/erlang-in-python/ | crawl-003 | refinedweb | 512 | 53.98 |
Folks,
I discovered today when attempting to use AIR 2.5 with FlexUnit4.1 RC2 that you will get the following error when adl.exe is invoked:
[flexunit] Setting up server process ...
[flexunit] Starting server ...
[flexunit] Opening server socket on port [1024].
[flexunit] Waiting for client connection ...
[flexunit] Found AIR version: 2.5
[flexunit] Created application descriptor at [C:\EclipseWorkspace3.5\report.renderer_tests_2\build\flexUnitDescriptor.xml]
[flexunit] Executing 'C:\Flex\AIRSdk2.5\bin\adl.exe' with arguments:
[flexunit] 'C:\EclipseWorkspace3.5\report.renderer_tests_2\build\flexUnitDescriptor.xml'
[flexunit] The ' characters around the executable and arguments are
[flexunit] not part of the command.
[flexunit] invalid application descriptor: versionNumber must have a non-empty value.
From what I can tell, the flexUnitDescriptor.xml file that FlexUnit is producing has this:
<version>1.0.0</version>
I guess AIR 2.5 changes the element name to <versionNumber>. When I manually changed 'version' to 'versionNumber', I could get adl.exe to launch and run the tests manually from the command line.
Something to be aware of - hopefully you all are aware of this apparent API change.
Regards,
Trevor
Hi Trevor,
This issue has actually been resolved in the RC3 build of FlexUnit. At least I have applied code to resolve this isssue
Can you please try utilizing the libraries provided in our RC3 build? t/flexunit-4.1.0_RC3-30-3.5.0.12683.zip
Let me know if you still have issues with this. Does the fact that this is running now, mean that you made progress on your other post?
Thanks,
simeon
Simeon,
Thanks for the information - I did not know RC3 was out yet. I will give it a try.
As for my other post, "tests do not start executing with adl.exe", no, I have not gotten past that problem. I was just trying other AIR versions in desperation, thinking something later would work.
Let me re-try with RC3 and then I will reply to you on the other issue.
Thanks,
Trevor
Simeon,
I tried the new RC3 you pointed me to, but when attempting to use AIR 2.5, I am still seeing the error: "invalid application descriptor: versionNumber must have a non-empty value."
Thanks,
Trevor
It was due to 'version' part which you are using for 2.5 namespace...!!! For 2.5 and greater, we should use 'versionNumber' instead of 'version and the value should be a number too ..!!! Just check your app-xml and find whether you have added this portion and removed the 'version' part from that ... | https://forums.adobe.com/thread/803252?tstart=0 | CC-MAIN-2017-13 | refinedweb | 422 | 60.61 |
Part II: Pointers
By NickDMax
Previous: Enumerations
Pointers
Although this topic is not directly in our path, I think a little side trip is in order since we will use pointers from here on out. Pointers are wonderful, powerful, and yet misunderstood they are a disaster waiting to happen. Many languages don’t have pointers since they allow the programmer to get into all kinds of trouble. However, in most of these languages there are “workarounds” that have been developed to allow the adventurous to perform many of the techniques that use pointers.
So what are pointers? They are integer data types that hold an address to a location in memory. More than that, to the compiler they are associated with another data type (of a known size). The programmer can manipulate the pointer itself, for example incrementing it so that it points to the next element (not necessarily the next byte), or the programmer can manipulate the data that the pointer addresses.
Let’s look at a specific example. The notation int *ptr; declares a pointer to an integer. The variable ptr is nothing more than an integer itself, but it is a special integer to the compiler. To the compiler the value of ptr is a memory address to a 4 byte (assuming a 32 bit integer) block of memory. When we tell the compiler ptr++ the compiler will move to the NEXT integer, which means that the value in ptr is increased by 4. When we tell the compiler ptr-- the value of ptr is decreased by 4 because an integer is 4 bytes and the compiler wants to move ptr to address adjacent integers (not overlapping integers).
To access the data that the pointer addresses we would use the syntax *ptr. To increase the value that the pointer addresses, we may use (*ptr)++, which will increase *ptr by 1, but will leave the value of ptr unaffected. Should we code something like ptr += 8 this would increment ptr by 4*8= 16 bytes (or 8 integers).
Pointers come with three special operators (* , [ ], and ->), and there are two associated operators we will want to discuss ( &, and sizeof( )). The first operator (*) is usually called the dereference operator as it “dereferences” the pointer and returns the value or object that the pointer addresses. The next operator ([ ]) is the Array Index operator. This operator is a hybrid of the discussion in the last two paragraphs. That is to say that (ptr[i]==*(ptr+i)), it chooses an offset for ptr, and then dereferences that value. The next operator (->) is also a dereference operator that is used to dereference an element of a structure. Since we have not discussed such things yet, I will reserve the discussion of this operator until after I have introduced structures.
Not exactly pointer operators, but important to the use of pointers, there is the (&) operator. This operator is known as the reference operator or, as I like to think of it, the “Address of” operator. It gives the address of a variable. The last operator I wish to discuss is the sizeof() operator. This operator acts more like a function and it returns the number of bytes needed to represent a type or variable.
---------- Pointer101.C: Demo Program ----------
#include <stdlib.h>
#include <stdio.h>
//Utility function to pause output until user presses enter.
void pause();
//My crash course in pointers.
int main()
{
int *ptrToInt;
int Array[] = {0, 10, 20, 30, 40, 50, 60};
//C uses pointers to access arrays. The variable Array is a pointer
// to a block of memory containing the integers |0|10|20|30|...|60|
// All array variable are pointers, and all pointer can be array vaiables!!!
int counter;
//This assigns ptrToInt to the address of the block of memory that is Array[]
ptrToInt = Array;
puts("ptrToInt = Array, Same as ptrToInt = &Array[0]\n");
//First lets use ptrToInt as though it were ptrToInt[]
for (counter=0; counter<7; ++counter)
{
printf("Array[%d]==%d\tptrToInt[%d]==%d\n", counter, Array[counter], counter, ptrToInt[counter]);
} //Now lets see if it is true that ptrToInt[i]==*(ptrToInt + i), What is *(ptrToInt)+i doing?
for (counter=0; counter<7; ++counter)
{
printf("*(ptrToInt + %d)==%d\t*(ptrToInt)+%d==%d\n", counter, *(ptrToInt+ counter), counter, (*(ptrToInt)+counter));
}
//Take a min or two...
pause();
// Lets see what happens when we do ptrToInt++.
puts("\n*ptrToInt += counter");
for (counter=0; counter<7; ++counter)
{
*ptrToInt += counter;
printf("Array[%d]==%d\tptrToInt==%d\t*ptrToInt==%d\n", counter, Array[counter], ptrToInt, *ptrToInt);
ptrToInt++; //Note that ptrToInt goes up by either 2 or 4.
}
puts("\nptrToInt=&counter\n");
ptrToInt = &counter; //make ptrToInt point to our counter
for (counter=0; counter<7; ++(*ptrToInt))
{
printf("counter==%d\tptrToInt==%d\t*ptrToInt==%d\n", counter, ptrToInt, *ptrToInt);
if (*ptrToInt==3) { *ptrToInt=7; } //*ptrToInt can affect the loop
}
return 0;
}
void pause()
{
puts("Press ENTER to continue...");
while (getchar()!='\n');
return;
}
---------- END Pointer101.C ----------
The above program, although very dry, points out that pointers and arrays are intertwined in C/C++. Each array variable is actually a pointer, and each pointer can be used to access and array. In this tutorial it is the latter feature which will be of the most use, as pointers allow us to use dynamically allocated memory.
In all my examples so far, the various variables and data structures that I have defined have all been “static” data that is either allocated when the program loads, or is made out of chucks of our stack space. This means that so far our data has essentially been very limited in size. This is fine for small amounts of data, but when our games have many large tables of data we risk running out of available stack space and thus “out of memory” or worse putting tight limits on what our game can do.
There is another way. Rather using our data-segment and stack to store our data we can ask to allocate memory in the heap during program execution (called dynamically allocating memory) and this allows us access to larger data structures, data structures that may have different sizes, data structures that are not continuous blocks of memory. What makes this all possible? Pointers.
As an example this next program (too long to do in color) loads room descriptions into dynamically allocated memory. The room descriptions are stored in a file that attached to this tutorial.
//In the Enum2.C example from the last section I used an array of //strings to hold the descriptions of the rooms. In this example //I would like to load these descriptions from file. That way I //can update the room descriptions without having to update any //any code. This is also handy as it makes it easer to use a //word processors (with spell check) to edit the text. This also //means that non-programmer game designer can write/edit the text. //To do this I will need to sketch out a file-format. That is I //need rules to how the file will look so that my program knows //how to read it in. //Rule #1 All rooms are entered in the order defined by the enum. //Rule #2 All room descriptions end with an <END> tag on a line by itself. //Rule #3 Each line should be no more than 80 characters wide //Rule #4 All line starting with a # will be ignored (allows you to // add comments to the file.) //Example: //# This line would be a comment //This is a description of the Forest! //<END> //# Yet another comment //This is a description of the Entrance! //<END> //etc. //<END> //There are FAR better file formats. This one has many failings // but it will work for an example. #include <stdio.h> #include <stdlib.h> #include <string.h> //Enum of our rooms. enum Room_Names { FOREST=0, ENTRANCE, //=1 PARLOR, //=2 KITCHEN, //=3 MAINHALL, //=4 GRANDSTAIRCASE, //=5 HIDDENPASSAGE1, //=6 NUM_OF_1ST_FLOOR_ROOMS, //=7 BEDROOM1 = NUM_OF_1ST_FLOOR_ROOMS, //=7 BEDROOM2, //=8 GRANDCLOSET, //=9 ALCHEMYLAB, //=10 NUMBER_OF_ROOMS, //=11 NUM_OF_2ND_FLOOR_ROOMS = NUMBER_OF_ROOMS - NUM_OF_1ST_FLOOR_ROOMS //= 11- 7 = 4 }; //Names of all of the rooms based upon the order of enumeration. const char Room_Names[][20] = {"Forest", "Enterance", "Parlor", "Kitchen", "Main Hall", "Grand Staircase", "North Passage","Master Bedroom", "Guest Bedroom", "Grand Closet", "Alchemy Lab" }; //Utility function to get input. char Get_Char(); int main() { //The variable we will declare is an array of pointers (that is right, // RoomDescriptions is an array, of pointers (to arrays)). char *roomDescriptions[NUMBER_OF_ROOMS]; // This is no different that delaring char RoomDescriptions[NUMBER_OF_ROOMS][1024] // Except that in this version the memory to store the information is unknown. // We will be able to use this variable just as we did before. //Since we have no idea how long the room descriptions may be, we will need to create // a temporary buffer to hold the data as it is loaded from the file. char *tempInputBuffer; int inputLength; //Will tell us how long our description is. int currentRoom; //Let us know which room we are working on. //Next we need a buffer to get each line. // Since computer screens have a maximum length of 80 chars // our text file should contain no more than about 80 or so // characters per line. We need to add an extra byte for the // zero to terminate the string. And 2 for EOL markers. char lineBuffer[83]; char tempChar; //This will hold a character so we can shorten lineBuffer to 5 chars. //---- These variables are used in the "display descriptions" routine char cInput; //Used to get input from the user int iRoomNumber=0; //Used to get the room number the user wants to see //Next we need to make a pointer to a file stream. FILE *fp; //A pointer to a file buffer. //How big should this buffer be? Well The room descriptions should be short, // the average word length in English is 5 letters (also used to determine // typing rate). Each line can be up to 80 bytes, about 16 words and assuming // an 80x25 screen, we don't want the user to have to look past about 12 lines. // so 12 * 80 = 960, bump that up to 1024 (1k) and we have about 200 words/description maximum. tempInputBuffer = malloc(1024); //return a NULL (0) if it fails. //We should check to make sure that the memory did get allocated //If the memory is not allocated then tempInputBuffer == NULL (which equates to a false in C) if (tempInputBuffer) { fp = fopen("rooms.txt", "r"); //Next we can see if the file was opened, if it was not // opened then fp is a NULL pointer (NULL Pointers point to 0) if (fp != NULL) //same as (fp != 0) same as (fp==true) same as (fp) { //Our file was opened successfully! puts("File open: Reading in descriptions...\n"); currentRoom=0; //This tells us which RoomDescriptions[] we are working on tempInputBuffer[0]= 0; //This sets tempInputBuffer = "" inputLength = 0; //Get inputs until either EOF or we have enough rooms... while (fgets(lineBuffer, 82, fp) != NULL && currentRoom < NUMBER_OF_ROOMS) { //We read a line in from the file. // Most lines will end in a '\n' char, but the very last line of the file will not // as it was terminated with a EOF marker. Originally I used strcmp(lineBuffer,"<END>\n")==0 // but this a little bug in it at the EOF. Not a big deal, just remember to press enter // after finishing the last description. BUT, what if we get lazy? // The next two lines ensure that we find just "<END>". tempChar=lineBuffer[5]; lineBuffer[5] = 0; //This will set lineBuffer = "?????" so we can do our compairison if (strcmp(lineBuffer,"<END>")==0) { printf("Done reading room #%d: %s\n", currentRoom,Room_Names[currentRoom]); inputLength = strlen(tempInputBuffer); roomDescriptions[currentRoom] = malloc(inputLength + 1); if (roomDescriptions[currentRoom]) { roomDescriptions[currentRoom][0] = 0; strcat(roomDescriptions[currentRoom], tempInputBuffer); } else { //We should never see this code run. But in case it does lets make sure // we do everything correctly. printf ("ERROR: Memory Allocation Failure at room #%d: %s\n", currentRoom, Room_Names[currentRoom]); //We need to ensure we free any memory that we allocated. puts("\n!!!Freeing all allocated memory!!!"); puts("*Freeing input buffer."); free(tempInputBuffer); puts("*Freeing room descriptions:\n--------------------------"); while (currentRoom) { currentRoom--; printf("*Freeing room discription #%d: %s\n", currentRoom, Room_Names[currentRoom]); free(roomDescriptions[currentRoom]); } puts("*Closing input file"); fclose(fp); puts("*** EXITING WITH ERROR CODE -1 ***"); exit(-1); } currentRoom++; tempInputBuffer[0]=0; //reset to null string "" inputLength = 0; } else if (lineBuffer[0]!='#') { //First restore missing char. lineBuffer[5] = tempChar; //Check the length. tempInputBuffer can only hold 1024 bytes (and this must include the 0) inputLength += strlen(lineBuffer); if (inputLength < 1023) { strcat(tempInputBuffer, lineBuffer); } //else this line of input is ignored. } else { //First restore missing char. lineBuffer[5] = tempChar; //Print out the comment line. printf("%s",lineBuffer); } } //We have our inputs, lets close the file. puts("Closing input file"); fclose(fp); printf("\nProgram read %d descriptions\n", currentRoom); //---- USER REVIEW ROUTINE ----- // here we will let the user review the rooms to ensure they are loaded correctly. do { do { puts("Would you like to view the description of a room? (Y/N)"); cInput=Get_Char(); cInput=toupper(cInput); //Lets only deal with upper case. } while(cInput!='Y' && cInput!='N'); if (cInput=='Y') { //User said they wanted to see, so let us print a menu... do { int i; for (i=0; i<currentRoom; ++i) { printf("%d) %s\n", i, Room_Names[i]); } puts("Enter number to see:"); scanf("%d",&iRoomNumber); //We must ensure that the user enters a valid menu item... } while (iRoomNumber <0 || iRoomNumber >= currentRoom); printf("\nRoom %d: %s\n%s\n", iRoomNumber,Room_Names[iRoomNumber], roomDescriptions[iRoomNumber]); } //Continue to ask the user until they get the answer right! } while (cInput != 'N'); //We must ALWAYS free the memory that we allocate. This little routine will do that. puts("\n!!!Freeing all allocated memory!!!"); puts("Freeing input buffer."); free(tempInputBuffer); //free our buffer... puts("Freeing room descriptions:\n--------------------------"); while (currentRoom) { currentRoom--; printf("*Freeing room description #%d: %s\n", currentRoom, Room_Names[currentRoom]); free(roomDescriptions[currentRoom]); } } else //Goes with if (fp != NULL) { puts("ERROR: Could not open file!"); } } else //Goes with if (tempInputBuffer) { puts("Could not allocate memory for a an input buffer!!!"); } return 0; } //Utility function to eat '\n' characters from getchar() char Get_Char() { char cIn; //Will ignore any char less then ESC (most non printable ones). while((cIn=getchar())<27); return cIn; }
As useful as dynamic memory is, pointers can do something even more useful: They allow us to pass data by reference to functions. Rather than passing an entire array back and forth on the stack (which might use all the stack space quickly), I can pass my function a pointer to the array then it can read and manipulate that array. By using pointers as function parameters I can make functions that, manipulate arrays, return large amounts of data, return multiple values.
---------- BEGIN NameGen.C ----------
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include <string.h> //Needed for strcat()
//Here I will create an array of prefixes to help generate names.
// I am banking on multiplication to ensure a large number of names
// by using 7 prefixes and 20 stems, and 16 suffixes I should be able to
// create about 7 * 20 * 16 = 2240 names out of 312 bytes of data (In my earlier
// example from the forum I used this code to generate male and female names,
// but here I combined them).
char NamePrefix[][5] = {
"", //who said we need to add a prefix?
"bel", //lets say that means "the good"
"nar", //"The not so good as Bel"
"xan", //"The evil"
"bell", //"the good"
"natr", //"the neutral/natral"
"ev", //Man am I original
};
char NameSuffix[][5] = {
"", "us", "ix", "ox", "ith",
"ath", "um", "ator", "or", "axia",
"imus", "ais", "itur", "orex", "o",
"y"
};
const char NameStems[][10] = {
"adur", "aes", "anim", "apoll", "imac",
"educ", "equis", "extr", "guius", "hann",
"equi", "amora", "hum", "iace", "ille",
"inept", "iuv", "obe", "ocul", "orbis"
};
//Declare the function up here so that we can use it
// note that it does not return a value, rather it
// edits the character passed to it by reference.
void NameGen(char *PlayerName);
char get_Char(); //little utility function to make getting char input easer...
int main()
{
char Player1Name[21]; //Used to hold our character's name
char cIn; //Used to get user answers to prompts.
do
{
NameGen(Player1Name);
printf("Generated Name: %s\n\n", Player1Name);
puts("Would you like to generate another (Y,N): ");
cIn = get_Char();
} while (cIn != 'n' && cIn != 'N');
return 0;
}
//Utility function for input
char get_Char()
{
char cIn;
while((cIn = getchar())<27); //ignore anything less then ESC
return cIn;
}
//The return type is void because we use a pointer to the array holding
// the characters of the name.
void NameGen(char* PlayerName)
{
srand((long)time(NULL)); //Seed the random number generator...
PlayerName[0]=0; //initialize the string to "" (zero length string).
//add the prefix...
strcat(PlayerName, NamePrefix[(rand() % 7)]);
//add the stem...
strcat(PlayerName, NameStems[(rand() % 20)]);
//add the suffix...
strcat(PlayerName, NameSuffix[(rand() % 16)]);
//Make the first letter capital...
PlayerName[0]=toupper(PlayerName[0]);
return;
}
---------- END NameGen.C ----------
I have to admit that some of the names sound like exotic psychological disorders (Natraduraxia, Xanineptaxia), or new drug names (Xanoculix, Narguiusum), or painful surgical procedures (Beloculaxia, Narapollus). In fact the addition of the suffix was probably a bad idea as my tests turned up only a few choices acceptable for character names; however, the process is a lot of fun. By choosing different prefixes, stems, and suffixes you can change the feel/sound of the names generated. These names are loosely based on Latin stems and endings, which resultes in very scientific sounding names.
There is just one last thing I want to mention about pointers before I move along. What happens if the pointer points to address 0? A pointer that points to 0 is considered a NULL pointer. Very often this is used to mean “unassigned” or “unused” but you should never ASSUME that a pointer is NULL just because it is unused/uninitialized as the compiler will not initialize the pointer to NULL for you.
Pointers are probably the one thing that sets C/C++ vastly apart from most other languages. Many languages share the same syntax, some even feel very much like C/C++, but it is this pointer that give C/C++ its low-level feel and untamed power. If you wish to master C/C++ you will need to master pointers.
Next Section: Structures.
References and Additional Information:
Pointers
[1] Banahan, Mike. Brady, Declan. Doran, Mark.The C Book, second edition Ch 5.
[2] Oualline, Steve. Practical C Programming, 3rd Edition Ch 13.
[3] Jensen, Ted. A TUTORIAL ON POINTERS AND ARRAYS IN C
[4] Hosey, Peter. Everything you need to know about pointers in C
[5] Wikipedia. Pointer (computing) | http://www.dreamincode.net/forums/topic/27024-data-modeling-for-games-in-c-part-ii/page__pid__219953__st__0 | CC-MAIN-2016-07 | refinedweb | 3,106 | 63.09 |
Introduction: Wendell the Robot
UPDATE:.
Step 1: Let's Begin
- Simple to build and easy to share.
- All designs created using freely available software
- Scallable Vector Graphics are preferred.
- Open source electronics and software
- Arduino based microelectronics
- Arduino and Processing development enviroment
- Simple motors and mechanics
- Simple sensors
Note: an alternate 'skinny, small head' version is attached to this step. (next step has original files - big head, fat)
Step 2: Print Design and Stick to Plywood
-This step has the PDFs and the SVG (inkscape) files
Step 3: Cut Out the Parts
All the cuts are straight, so you should be able to use whatever saw you have around.
I am m using a small band saw with a thin blade.
Step 4: Drill the Holes
Drill out all holes
-I'm using a drill press but a hand drill would be fine.
Brad-tip bits make a nice cut and are easy to position. For the 1"
holes
I am using a fostner bit - generally, good bits are worth buying.
-The small holes are denoted with stars. Pre-drill these with a small
bit, this is 1/16th". These are pilot holes for the brad nails, so make
sure your drill bit is smaller than the nail. Using a drill press you
can set the depth so it just touches the bottom of the hole; this leaves
a little wood to grab the tip of the nail as you are working.
Step 5: Note About Drill Presses
Speed and torque are changed by moving a belt.
Kepping everything in the middle is fine, but you will get better and faster cuts if you use the higher speed for small holes (belt is all the way up - big to little). Lower speed for the big holes (little to big pulley)
Step 6: Cut Out the Slots and Big Areas
The slots and big cutouts are a pain to do by hand. Hopefully we can get eliminate these from the design.
Drill out as much material as possible, then clean up the edges with knife or chisel. Try not to get blood on the parts.
Step 7: Layout the Pieces
The pieces are labeled to help guide assembly.
I find it useful to lay all the pieces out, as if you where unfolding a box.
Step 8: Assemble the Body
-Assemble to pieces starting from the front (face) and work towards the
back. By starting with the most visible part of the robot, you can move
any gaps are mistakes to the back.
Leave the back of the head and body open for now.
Step 9: Assemble Arms
-Each arm is made of two parts - for this version you can just tape them
together. You could also put standoffs between the peices which would
leave a gap for motors and wires.
-Attach the servo armature to the robot arm. Using brad nails, attach the servo arms to the inside of the
robot arms. Line up the holes.
Step 10: About Servo Motors
- Small, medium, large
- Continuous or 180deg rotation
- Attachments
Hobby servos are easy to wire.
Black/brown to ground
Red to Vin
Yellow/orange to a digital PWM pin
You can tie together all the ground wires and all the Vins.
But the PWM lines have to each go to a separate pin.
Step 11: Programming
The arduino servo library makes these motors simple to work
with. You just tell the servo an angle and it does it.
Video
*********** ARDUINO CODE ***********
******####################
Step 12: Assemble Servos
-Start with the servos that will attach to the arms. The come with
screws. Using a small screw driver you can reach inside the body and
screw down the motors. I used an awl to start the holes, I might add
pilot holes to the next version.
-You can leave this so it will fall off easily (this protects
the servo motor from any real damage and is good if you want to make
quick adjustments)
-Or you can add a screw, feeding it through the hole in the
Step 13: Attach the Head Servo
-Use the same method to attach the head.
Step 14: Mount Wheels
Large continuous rotation servos are used for the wheels.
Tires are made from spleen (the cord that holds screens onto screen windows)
Brackets are made from plumbers strap.
Step 15: Foot
Unless you want to build a self balancing robot, we have to add a third support.
I've made a foot out of shape-lock and a bolt.
Shape lock can be melted in hot water then molded by hand, once cool it is hard and slick.
Step 16: Build Perf Board for Servos
Build a simple board with headers for the servos.
Step 17: Wire Perfboard
Connect perfobard to arduino
Connect motor power to perfboard
Pin Map:
Function Pin (all PWM)
Left Arm ~9
Right wheel ~6
Left wheel ~5
Speaker ~3
All black/brown go to the motor battery negative.
All red go to the motor battery positive
Speaker: Positive to pin ~3 - Negative to arduino ground
Arduino power supply:
Arduino battery negative to Arduino ground
Arduino battery positive to Arduino Vin
Step 18: Mount Electronics
2 battery packs
Arduino with perfoboard
Strapped together with velcro
Step 19: Program
Here is a program that runs all servos and a small speaker:
////////////////////////// ARDUINO /////////////////////
//tests all servos and sound
#include <Servo.h>
Servo armRight; // create servo object to control a servo
int pos = 0; // variable to store the servo position
Servo armLeft;
Servo head;
Servo wheelRight;
Servo wheelLeft;
int soundPin = 3;
int pitch;
void setup()
{
armRight.attach(11);
head.attach(10);
armLeft.attach(9);
wheelRight.attach(6);
wheelLeft.attach(5);
}
void loop()
{
for(pos = 0; pos < 180; pos += 1) // goes from 0 degrees to 180 degrees
{ // in steps of 1 degree
armLeft.write(pos);
armRight.write(pos); // tell servo to go to position in variable 'pos'
head.write(pos);
wheelRight.write(pos);
wheelLeft.write(pos);
pitch = map(pos, 0 ,180, 31,4978); //map position to tone
tone(soundPin, pitch, 200); // pin, note, time?
delay(15); // waits 15ms for the servo to reach the position
}
for(pos = 180; pos>=1; pos-=1) // goes from 180 degrees to 0 degrees
{
armLeft.write(pos);
armRight.write(pos); // tell servo to go to position in variable 'pos'
head.write(pos);
wheelRight.write(pos);
wheelLeft.write(pos);
pitch = map(pos, 0 ,180, 31,1000);
tone(soundPin, pitch, 200); // pin, note, time?
delay(15);
} // waits 15ms for the servo to reach the position
}
Step 20: Run Everything at Once
Here is a video -
Step 21: What Next?
What to do next .....
- microphone - hearing?
-Range finder?
-Add more joints?
-Perform a specific task?
-Obstacle avoidance
-Remote control
-Robot-to-Robot communication?
-Light seeking?
-Easier assembly?
-Laser cut version?
-Fold up like a transformer robot?
-Add camera?
Recommendations
We have a be nice policy.
Please be positive and constructive.
18 Comments
Awsome write-up on PCWorld blog!!
Thanks to Elizabeth Fish
Wendell on Hackaday!!
Thanks Mike Szczys !
Wendell on Hackaday!!
Thanks Mike!
Your head is too large, You will have problems with the arms when going all the way up when the head is looking forward. Revise your head so that at 45 degrees it is not wider than the chest.
Good luck!
Your head is too large
It makes it hard to find hats.
Also - I've added a small head version --- much easier to work with.
Yup! - I also had to cut the 'hands' off because they hit the wheels. I'm thinking about moving the arms away from the body, but it adds pieces.
I like the big head. I think its fun to watch his head just miss his arms.
Very nice. I think I could do this!
You should add some bumperstickers and so forth, like "ilpug" said.
Cool to see you on Kickstarter. To bad we don't have a really good kickstarter-like site in Europe! It was really fun to see also my own project on the screenshot you posted on kickstarter :)
Just got approved as a KickStart project - - any thoughts? | http://www.instructables.com/id/Wendell-the-Robot/ | CC-MAIN-2018-17 | refinedweb | 1,344 | 80.51 |
Welcome to the eighth lesson Introduction to Spring AOP (Aspect Oriented Programming) of the Java tutorial, which is a part of the Java Certification Training Course. In this lesson, we will introduce you to the concept of Aspect Oriented Programming and how to configure AOP in a Java Application.
By the end of this lesson on Spring AOP, you will be able to:
Explain AOP and its terminology
Configure AOP in a Java Application using AspectJ Approach
AOP is used in applications that have cross-cutting concerns, that is, pieces of logic or code that are written in multiple classes/layers as per the requirements.
Common examples:
Transaction Management
Logging
Exception Handling (especially when you may want to have detailed traces or have some plan of recovering from exceptions)
Security aspects
Instrumentation
A concern is a piece of code that performs a specific task. There are two types of concerns:
1) “Core” concerns are codes used for business logic
2) “Cross concerns” are functions that are conceptually separate from the application's business logic but affect the entire service layer.
Example: logging, auditing, declarative transactions, security, caching
Aspect-Oriented Programming provides one way to decouple dynamically core concern from crosscutting concern.
It is one of the basic components of the Spring framework.
The main idea of AOP (Aspect-Oriented Programming) is to isolate the cross-cutting concerns from the application code, thereby modularizing them as a different entity.
Services layer deals with two types of concerns: Core and cross-cutting concerns.
Spring AOP provides declarative enterprise services such as declarative transaction management.
It allows users to implement custom aspects.
Spring AOP is used to track user activity in large business applications.
It uses Proxy as a mechanism to implement cross-cutting concerns in a non-intrusive way.
Some of the terms related to AOP are discussed below:
Aspect: A feature or functionality that cross-cuts over objects. It has a set of APIs (Application Programming Interface) that provides cross-cutting requirements.
JoinPoint: It defines the various execution points where an Aspect can be applied.
Pointcut: A Pointcut tells us about the Join Points where Aspects will be applied.
Advice: An advice provides concrete code implementation for the Aspect.
Target: It is a business object that comprises of Aspect business core concern.
Weaving: It represents a mechanism of associating cross-cutting concern to core concern dynamically.
Proxy: The Proxy is an object produced through weaving. There are two types: static proxy and dynamic proxy.
In the static proxy, the static method is used to develop and maintain proxy classes for each business method.
In the dynamic proxy, the proxy is developed at runtime.
Weaver: Code that produces proxies.
Proxy design pattern: Actual object (business object) is wrapped into another object knows as proxy and substitutes that object in place of the actual object.
We will discuss JoinPoint, Pointcut, and Proxy in this lesson.
Pointcut defines where exactly the Advices have to be applied in various Join Points.
Generally, they act as Filters for the application of various Advices into the real implementation.
Springs defines two types of Pointcut:
Static: It verifies whether the join point has to be advised or not. It does this once the result is catched @reused.
Dynamic: It verifies every time as it has to decide the JoinPoint based on the argument passes to the method call.
StaticMethodMatcherPointcut has two types of Pointcuts:
NameMatchMethodPointcut: It interrupts a method via ‘pointcut’ and ‘advisor’
AbstractRegexpMethodPointcut: Besides matching method by name, it can match the method’s name by using regular expression pointcut.
This pointcut is used to verify join point based on the pattern of the method name instead of name.
JdkRegexMethod Pointcut: It is represented by:
PerlRegexMethodPointcut: It is represented by:
This pointcut is used to verify the context from which business method call is made. If the method call is made in a specific flow, it will be advice; otherwise, it won’t.
Pointcut is an interface; it is represented by org.springframework.aop.Pointcut.
A Joinpoint.
A pointcut defines the Joinpoints where associated Advice should be applied.
Joinpoint Methods
The table below lists the joinpoint methods along with their description.
Proxy interrupts the call made by the caller to the original object. It will have a chance to decide whether and when to pass on the call to the original object. In the meantime, any additional code can be executed.
Spring uses the dynamic proxy approach.
A dynamic proxy class is a class that implements a list of interfaces specified at runtime so that a method invocation through one of the interfaces on an instance of the class will be encoded and dispatched to another object through a uniform interface.
In the proxy pattern, a class represents the functionality of another class. This type of design pattern is a structural pattern.
It creates an object that has the original object to interface its functionality to the outer world. A Proxy design pattern is used when we want to provide controlled access to a functionality.
It is also used to save on the amount of memory used. Similarly, if you want to control access to an object, the pattern becomes useful.
There are two ways to generate dynamic proxy as discussed below:
1. jdk approach: When the business class implements the interface, jdk creates a proxy for the business object
2. cglib approach: cglib.jar is used when a business class fails to implement any interface, and jdk is unable to create a proxy
Advice refers to the actual implementation code for an Aspect. Spring supports Method Aspect.
Different types of aspects available in Spring are:
Before advice: It executes before a Joinpoint but does not have the ability to prevent execution flow proceeding to the Joinpoint
After advice: It is executed after the business method call.
Around advice: It surrounds a Joinpoint such as a method invocation. It can perform custom behavior before and after the method invocation.
Throws Advice: It is executed if the actual method throws an exception.
The steps followed to configure advice are discussed below:
To configure these advices, we have to depend on ProxyFactoryBean. This Bean is used to create Proxy objects for the implementation class along with the Advice implementation.
The property ‘proxyInterface’ contains the Interface Name for which the proxy class has to be generated.
The ‘interceptorNames’ property takes a list of Advices to be applied to the dynamically generated proxy class.
Finally, the implementation class is given in the ‘target’ property.
It is used to intercept before the method execution starts. For example, a system may need to perform some logging operations before allowing users to access resources.
Whenever the caller calls the business method, all before advice code is executed prior to the business method.
If an exception occurs in the method, afterReturning() method will never be called.
Let us look at the steps to configure Before Advice.
1) Develop a business interface and its implemented class
2) Develop a class that implements AfterReturningAdvice interface
3) Override its afterReturning() method[(Method method, Object[] args, Object target )]. The Cross-cutting code is written here.
• afterReturningMethod method - target method to be invoked
• Object[] args - various arguments that are passed on to the method
• Object target - target reference to the object that is calling the method
4) Get a proxy
5) Make a method call
It is used to intercept after the method execution. For example, a system needs to perform some delete operations after logging out.
After Advice is executed after business method.
Let us look at the steps to configure After Advice.
1. Develop a business interface and its implemented class
2. Develop a class that implements AfterReturningAdvice interface
3. Override its afterReturning (Method method, Object[] args, Object target) method. Cross-cutting code is written here.
• Method - the target method is invoked
• Object[] args - various arguments that are passed to the method
• Object target - target reference to the object that is calling the method
4. Get a proxy
5. Make a method call
If exception occurs in the method, afterReturning() method will never be called.
It can change the return argument of the method call.
It provides finer control regarding whether the target method has to be called or not.
It can be performed before business logic or after business logic.
Let us look at the steps to configure Around Advice.
Develop a class that implements MethodInterceptor interface
Override its invoke method. Write the cross-cutting code
Get a proxy
Make a method call
Parameter of invoke method()
public Object invoke(MethodInvocation methodInvocation)
When an exception happens during the execution of a method, Throws Advice can be used through the means of org.springframwork.aop.ThrowsAdvice to handle the exception.
This advice is executed only when the exception is raised.
Advice has to implement org.springframework.aop.ThrowsAdvice. It is just a marker interface.
Exception handling code is considered cross-cutting code and can be done for entire service layer in Throwsadvice with different kinds of exception parameters.
Let us look at the steps to configure Throws advice.
1. Develop a business interface and its implemented class
2. Develop a class that implements ThrowsAdvice interface
3. Override its afterThrowing method. Cross-cutting code is written here.
4. Get a proxy
5. Make a method call
6. Throws Advice can take any of the following forms:
Let's look at Configuring AOP in Java Applications using the AspectJ Approach.
There are two ways to use Spring AOP AspectJ implementation:
By annotation
By XML configuration
We need to download the aspectweaver.jar file to get this function in our application.
Here are the steps for annotation with Aspect-based AOP.
@Before annotation applied before calling the actual method.
@After annotation applied after calling the actual method.
@Around applied before and after the calling method
@AfterReturning applied after calling the actual method and before returning result.
@AfterThrowing applied if the actual method throws an exception
@Pointcut is used to define the pointcut and if you give in its various forms it can be applied either on all public methods or on all public methods of operation class or on all the methods of operation class etc.
@Aspect declares the class as aspect.
Let's look at the two classes Perform and TrackPerformance classes as shown below. Assume that Perform class contains actual business methods. The AspectJ Before Advice is applied before the actual business logic method using @Before advice.
Perform class
public class Perform {
public void msgone { System.out.println("msg method invoked"); }
public int msgtwo( ) { System.out.println("m method invoked"); return 2; }
public int msgthree( ) { System.out.println("k method invoked"); return 3; }
}
TrackPerformance class
@Aspect
public class TrackPerformance {
@Pointcut("execution(* Operation.*(..))")
public void k( ) { } // pointcut name
@Before ("k( )") //applying pointcut on before advice
public void myadvice(JoinPoint jp) // it is advice (before advice)
{
System.out.println(“Before advice is called");
}
}
In the given program, you can see @Before, @PointCut (with the operation), and @Aspect in the tracker class which is going to track the performance class.
When the object of Perform class is created, the following output is generated:
calling msg...
Before advice is called
msg ( ) method invoked
calling m...
Before advice is called
msgone ( ) method invoked
calling k...
Before advice is called
Msgtwo( ) method invoked
For @After annotation, use the same Person class and TrackPerformance. Person class is the same, but @After annotation in TrackPerformance class is used in this case. So the aspect of the PointCut remains the same, only @Before is replaced with @After.
TrackPerformance class
@Aspect
public class TrackPerformance {
@Pointcut("execution(* Operation.*(..))")
public void k( ) { } // pointcut name
@After ("k( )") //applying pointcut on after advice
public void myadvice(JoinPoint jp) // it is advice (before advice)
{
System.out.println(“After advice is called");
}
}
You can see the difference that, instead of before in the earlier case, now you have the afters getting triggered, which is after the methods individually are called. You can execute that method to take appropriate action after your business methods have executed.
When the object of Perform class is created, the following output is generated:
calling msg...
msgone ( ) method invoked
After advice is called
calling m...
msgtwo ( ) method invoked
After advice is called
calling k...
msg three ( ) method invoked
After advice is called
In the example below, you see the @Around now getting replaced here instead of the @Before and @After and the code rather pretty much the same.
@Aspect
public class TrackPerformance
{
@Pointcut("execution(* Operation.*(..))")
public void abcPointcut ( ){ }
@Around ("abcPointcut( ) ")
public Object myadvice (ProceedingJoinPoint pjp) throws Throwable
{
System.out.println("Additional Concern Before calling actual method");
Object obj = pjp.proceed( );
System.out.println("Additional Concern After calling actual method");
return obj;
}
}
When the object of Person class is created, the following output is generated:
Additional Concern Before calling actual method
msgone( ) is invoked
Additional Concern After calling actual method
Additional Concern Before calling actual method
msgtwo ( ) is invoked
Additional Concern After calling actual method
Additional Concern Before calling actual method
msgthree ( ) is invoked
Now, you have an Additional Concern Before and Additional Concern After for the first and then the second method. This is the impact of @Around notation.
It uses the following XML elements to define advice:
aop:before
It is applied before calling the actual business logic method.
aop:after
It is applied after calling the actual business logic method.
aop:after-returning:
It is applied after calling the actual business logic method. It can be used to intercept the return value in advice.
aop:around
It is applied before and after calling the business logic method.
aop:after throwing
It is applied if the actual business logic method throws an exception.
<?xml version="1.0" encoding="UTF-8"?>
<beans
<aop:aspectj-autoproxy />
<bean id="opBean" class="com.javatpoint.Operation"> </bean>
<bean id="trackAspect" class="com.javatpoint.TrackOperation"></bean>
<aop:config>
<aop:aspect
<!-- @Before →
<aop:pointcut
<aop:
</aop:aspect>
</aop:config>
</beans>
<!-- @After →
<aop:pointcut
<aop:after
In the above code you see the applicationContext file, both the beans with ids, the class operation and TrackOperation, and the PointCuts have been defined with the expression.
It also shows the code for @Before @After if needed.
The differences between Advice and AspectJ are discussed below:
Let us start with the demo on Spring AOP and we'll go through both classical approach by the advice classes and the AspectJ approach.
So AOP or Aspect Oriented Programming speaks of aspects or events or advices. For example, before a method is executed, what advice is to be given or after a method is executed if you want some type of action to be performed.
Now, AOP is constructed on the proxy design pattern, and the proxy pattern is actually a call, which is made to an actual server via a proxy server. So the concept is that the proxy interrupts this call, takes up the call and as if it is the real server, and then forwards it to the actual server.
This can be useful for auditing purpose, where you want to create an event log or the logger where you want to track every action that is performed in your application.
There are two approaches in AOP:
The classical approach where we have to write advices in a separate class, and it takes a lot of being the conflict to write in the xml file.
The modular or Aspect4J option, which is via annotations where one central class can handle aspects of any other classes.
All methods that start with ‘is,’ for example, isvalid etc. is where you want to perform a check when all typical methods are executed. Or if you want to track your application, this concept can be used.
Using Aspect4J, you can also use rejects expressions with modular approaches to get this done in a very simple way without having to do too much of configuration. First, we will look at the classical approach.
Consider a simple java project here that is named classical. As you can see, there are a couple of jar files that we have referenced. The first jar file that we will need is the commonslogging.jar.
Then we need all of the Spring AOP jar files or rather the spring jar files. We will also need AspectJ for the implementing AspectJ AOP and AspectJ weaver.
So these are the external libraries/jars that have been added to the project. Then we created a new package and we called it com.do. We created a simple business object or entity class called SomeBO. Inside it, we have written a validate method that simply prints “Validation stuff from BO.”
We have overloaded that method with another method called validate, which takes the age parameter. If the age is less than eighteen, it throws an arithmetic exception that says “Not valid age,” else it prints a simple message that says “Vote confirmed.”
We will now learn how to build Aspects and Advices around it. So there is another package that we have added which is called com.apps. In this package, a new class called “AfterAdvisor” has been added. Now following is the code that will execute after the function validate is called and any appropriate action has to be taken.
So here you see AfterAdvisor which has to implement from the interface after returning advice. We provide the implementation for the afterReturning method which takes three arguments. And here we print “some stuff post method call” and arg1.getName(). That is a code that exists in the AfterAdvisor.
Now, we have added one more class called BeforeAdvisor. In the BeforeAdvisor, it implements an interface called MethodBeforeAdvice, and provides an implementation for a method called before. Here we just log a message saying, “logging before call of method” with arg0.getName().
Then we have added a third class called BothAdvisor. So BothAdvisor will trigger a call, before and after the execution of the method, so here we simply print “Before Method.”
We then call the proceed(), so it proceeds to the next step and then we print “After Method.”
So it will execute the validate method in the business object, and then it will proceed to call the after method.
Finally, in case there is an exception, we have an ExceptionAdvisor class that implements, ThrowsAdvice and provides a method afterThrowing. Here, we just print a message which says “additional concern if an exception occurs.”
Now, we need the configuration file, so we have added a new XML file. This file could have any name, let’s say, beans.xml.
We have added all the references that are actually required on the top. So this is the standard header. Here is the first bean that is getting configured. So id=”bo”, is a custom name that we have given for SomeBO class.
Then we have:
“ba,” which is an id that stands for the BeforeAdvisor class
“aa” stands for AfterAdvisor
“bh” is an id for BothAdvisor and
“ea” stands for the exception advisor.
Then we have added an in-built class which is org.springframework.aop.framework.ProxyFactoryBean.
And here we have set name=”target” and ref=”bo”, which means all these advices will be targeting com.to.SomeBO class object and methods.
Then we have a list of the values that we would want to populate according to the advisor that we want to be configured. Finally, we add a new package called com.exe within which we add a class called Main.java. In this class, we use the spring framework to generate the object injected into our main method which is someBO.class.
So we get the bean and we pass a reference to that proxy id that we had given and we call the Validate() method. Then we also have an overloaded Validate() method that takes an int parameter. We put it in a try catch block because that throws an exception.
Now if you look at the bean config file, it is config to “aa”, which means the after advisor code is expected to execute.
So let's go to the main and we'll execute this code. We'll also see Validation stuff from BO, which is the validate method and some stuff post call has been executed. So this is the AfterAdvice that has got executed, which is some auditing or tracking work that you want to perform after the function is called.
You can see that the AfterAdvice automatically executes.
Now let us modify the parameter of validate function from 17 to 19 and save it. Once we execute this, you will see that it now calls some stuff post method call. Then it actually calls the second method Vote confirmed and it again says some stuff post method call.
So that is the AfterAdvisor executing after each method call.
Now let's go to the bean.xml file and we change this value to “ba” which stands for BeforeAdvisor and save this. Now when we execute this code, you can see it logs a call before the validate method. Then it executes the validate method. Then again it logs before the call of method Validate and then Vote confirmed.
So this is the code that got executed twice once before each method.
Now let's go back to the beans.xml and we'll configure the value as ‘bh’ which is the BothAdvisor or the AroundAdvisor.
Let's go to the main and execute this. Here you see before and after method functions are called where you can take appropriate audit action, or if you want to log something you can log it as well. If we change the Validate method parameter back to 17, it will generate the exception.
It only executes the before method, the exception was raised so the method did not complete. Hence the after method is not called.
Now you can also add multiple aspects. Let's say, we add another one called “ea” and save it. We again run the code and here you see before method, validation stuff, after method, before method and then additional concern, if an exception occurs.
And so as seen from the image, this is the println that ran from the ExceptionAdvisor class saying that if the exception occurs, then you also have an exception which will run.
We will now see the AspectJ approach, which is very similar to the above approach, but with much better options where you do not have to do too much of configuration and you can actually get everything done just by annotation.
Let us open the project that we have called i.e. Aspect Approach. Let's look at the jars that have been added. Again, all the spring AOP or the spring framework jars have been added.
Besides that, we have the comments, the AspectJ and aspect weaver jars which have been downloaded from the web.
So these are the reference libraries which have been added. Post this, we created a new package called com.business object. Within it, we created a business object class very similar to the previous example.
Here we have a validate method and we've overloaded another validate method that simply checks for the age and throws an exception message. We added one more class to this project, which is CentralAOPAspect.
Now, this is the class that is actually doing all of the validations or rather all of the logging (before, after, both, and around). So all the options are now there in a single class rather than configuring everything in the beans.xml.
Next, we have imported the relevant packages from AspectJ. We then put the annotation @Aspect because this is the aspect class. We provide the Pointcut annotation where we're targeting the execution or for the method that starts with the word ‘Valid’ and is there as a part of the SomeBO class.
So we have a method called validate which is going to track and map to that method. And the * symbol after ‘SomeBO.Valid’ here indicates anything that comes after the word Valid, (in our case the method name isValidate) and the dots indicate that it can take no arguments or any argument.
So we have two methods:
One called validate which takes no arguments and
Another one which is overloaded that takes an integer argument.
Here we have a function ‘v’ that now stands for the validate function so when the validate function gets called, this will execute.
Then we have the @Before annotation, and below it is the method that will get called before validate.
Next is the @After annotation and below is the method that will get called after the validate. These method names could be anything as long as it takes a value of or passes an object or accepts an object of JoinPoint and maps to this synonym tag.
Then there is @ Around which prints before and after calling the actual method. We proceed and then we return that object. There is the after throwing for the exception. Any exception that is thrown from SomeBO class, we print:
“additional concern”
“method signature”
“the exception”
“End of After throwing advice….”
So you see the code is all now structured into a single class as against four different classes that we had to create with the previous approach. Hence, this is much more simplified, easier, and logical to write as compared to the previous time.
Let's go to the beans.xml and you'll see the header remains common. Here we configure the SomeBO object. We configure the CentralAOPAspect class (the class that we had previously created).
Then we have bean, with
class = org.springframework.aop.aspectj.annotation.AnnotationAwareAspectJAutoProxyCreator. So this is the class that we need to map to get this functionality working. Now let's go to the aspect class and here we'll just have the before and after functional. We will make rest of the functionals as a comment. It is shown in the figure below:
Let us come to the main and attempt to execute this.
After execution, we see before method, validate, and before method valid int. and it throws the exception.
Now let's come back to the CentralAOPAspect class. We'll also uncomment the @After part of the code, and execute this.
As seen in the output, we have the before and after for the validation, again the before and after for the int, and then it throws the exception.
Now let's try the around annotation (by uncommenting it) and commenting the other notations as shown:
Let's come to the main class and execute this.
In the output, you see the additional concern before, additional concern after and then additional concern before the after did not execute because it was an exception.
Let's come back to the CentralAOPAspect class. Here we will comment the @Around annotation and uncomment @AfterThrowing annotation. Now we execute the main method. In the output, you can see the additional concern, the method signature, the exception, and the end of after throwing advice.
This is exactly what this particular annotation was managing.
Next, if we get rid of all the comments, it will execute the entire block. So we come to main and execute it.
In the output, you see now all of the aspects triggering that we have added. And if we correct the parameter value of Validate function from 17 to 19, we will not have the exception thrown.
Execute the main method and at the output, you see additional concern after calling actual method, and then the after method.
So that shows us how easy it is to use an AOP to actually configure our applications to write before and after join points that will execute. The advices will execute before and after our functions are called, so that we can do some important initialization, clean up, and also logging activity from an audit trail perspective.
So the key takeaways from this session have been:
The AOP is used in applications that have cross-cutting concerns, where a piece of logic or code that is written in multiple classes and layers as per the requirements.
Spring defines two types of Pointcut:
Static, where it verifies whether the join point has to be advised or not. It does this once the result is catched @reused.
Dynamic, where it verifies every time as it has to decide the Join Point based on the argument passed to the method call.
Spring uses the dynamic proxy approach. A dynamic proxy class is a class that implements a list of the interfaces specified at runtime so that a method invocation through one of the interfaces on an instance of the class will be encoded and dispatched to another object through a uniform interface.
With this, we come to an end of this lesson on “Introduction to Spring AOP (Aspect Oriented Programming)”. In the next lesson, we will focus on Spring JDBC and Spring Hibernate.
A Simplilearn representative will get back to you in one business day. | https://www.simplilearn.com/spring-aop-tutorial | CC-MAIN-2019-22 | refinedweb | 4,836 | 55.54 |
.
Definition at line 29 of file TBranchRef.h.
#include <TBranchRef.h>
Default constructor.
Definition at line 46 of file TBranchRef.cxx.
Main constructor called by TTree::BranchRef.
Definition at line 55 of file TBranchRef.cxx.
Typical destructor.
Definition at line 87 of file TBranchRef.cxx.
Clear entries in the TRefTable.
Reimplemented from TNamed.
Definition at line 95 of file TBranchRef.cxx.
Fill the branch basket with the referenced objects parent numbers.
Reimplemented from TBranch.
Definition at line 103 of file TBranchRef.cxx.
This function called by TBranch::Fill overloads TBranch::FillLeaves.
Definition at line 176 of file TBranchRef.cxx.
Definition at line 44 of file TBranchRef.h.
This function is called by TRefTable::Notify, itself called by TRef::GetObject.
The function reads the branch containing the object referenced by the TRef.
Reimplemented from TObject.
Definition at line 115 of file TBranchRef.cxx.
Print the TRefTable branch.
Reimplemented from TBranch.
Definition at line 159 of file TBranchRef.cxx.
This function called by TBranch::GetEntry overloads TBranch::ReadLeaves.
Definition at line 167 of file TBranchRef.cxx.
Reimplemented from TBranch.
Definition at line 187 of file TBranchRef.cxx.
Reset a Branch after a Merge operation (drop data but keep customizations) TRefTable is cleared.
Reimplemented from TBranch.
Definition at line 198 of file TBranchRef.cxx.
Set the current parent branch.
This function is called by TBranchElement::GetEntry() and TBranchElement::Fill() when reading or writing branches that may contain referenced objects.
Definition at line 212 of file TBranchRef.cxx.
Definition at line 50 of file TBranchRef.h.
Definition at line 34 of file TBranchRef.h.
! Cursor indicating which entry is being requested.
Definition at line 31 of file TBranchRef.h. | https://root.cern.ch/doc/v614/classTBranchRef.html | CC-MAIN-2022-21 | refinedweb | 275 | 64.47 |
.
The
go tool is designed to work with open source code maintained
in public repositories. Although you don't need to publish your code, the model
for how the environment is set up works the same whether you do or not./ streak # command executable todo # command executable pkg/ linux_amd64/ code.google.com/p/goauth2/ oauth.a # package object github.com/nf/todo/ task.a # package object src/ code.google.com/p/goauth2/ .hg/ # mercurial repository metadata oauth/ oauth.go # package source oauth_test.go # test source github.com/nf/ streak/ .git/ # git repository metadata oauth.go # command source streak.go # command source todo/ .git/ # git repository metadata task/ task.go # package source todo.go # command source
This workspace contains three repositories (
goauth2,
streak, and
todo) comprising two commands
(
streak and
todo) and two libraries
(
oauth and
task).
For convenience, add the workspace's
bin subdirectory
to your
PATH:
$ export PATH=$PATH:$GOPATH/bin
The packages from the standard library are given short/go/go/newmath) and create the package directory:
$ mkdir $GOPATH/src/github.com/user/newmath
Next, create a file named
sqrt.go in that directory with the
following contents.
// Package newmath is a trivial example package. package newmath // Sqrt returns an approximation to the square root of x. func Sqrt(x float64) float64 { z := 1.0 for i := 0; i < 1000; i++ { z -= (z*z - x) / (2 * z) } return z }
Now, test that the package compiles with
go build:
$ go build github.com/user/newmath
Or, if you are working in the package's source directory, just:
$ go build
This won't produce an output file. To do that, you must use
go
install, which places the package object inside the
pkg
directory of the workspace.
After confirming that the
newmath package builds,
modify your original
hello.go (which is in
$GOPATH/src/github.com/user/hello) to use it:
package main import ( "fmt" "github.com/user/newmath" ) func main() { fmt.Printf("Hello, world. Sqrt(2) = %v\n", newmath.Sqrt(2)) }
Whenever the
go tool installs a package or binary, it also
installs whatever dependencies it has. So when you install the
hello
program
$ go install github.com/user/hello
the
newmath package will be installed as well, automatically.
Running the new version of the program, you should see some numerical output:
$ hello Hello, world. Sqrt(2) = 1.414213562373095
After the steps above, your workspace should look like this:
bin/ hello # command executable pkg/ linux_amd64/ # this will reflect your OS and architecture github.com/user/ newmath.a # package object src/ github.com/user/ hello/ hello.go # command source newmath/ sqrt.go # package source
Note that
go install placed the
newmath
newmath package by creating the file
$GOPATH/src/github.com/user/newmath/sqrt_test.go containing the
following Go code.
package newmath import "testing" func TestSqrt(t *testing.T) { const in, out = 4, 2 if x := Sqrt(in); x != out { t.Errorf("Sqrt(%v) = %v, want %v", in, x, out) } }
Then run the test with
go test:
$ go test github.com/user/newmath ok github.com/user/newmath 0.165s
As always, if you are running the
go tool from the package
directory, you can omit the package path:
$ go test ok github.com/user/newmath
Mercurial repository hosted at Google Code,
code.google.com/p/go.example.
If you include the repository URL in the package's import path,
go get will fetch, build, and install it automatically:
$ go get code.google.com/p/go.example/hello $ $GOPATH/bin/hello Hello, world. Sqrt(2) = 1.414213562373095/ code.google.com/p/go.example/ newmath.a # package object github.com/user/ newmath.a # package object src/ code.google.com/p/go.example/ hello/ hello.go # command source newmath/ sqrt.go # package source sqrt_test.go # test source github.com/user/ hello/ hello.go # command source newmath/ sqrt.go # package source sqrt_test.go # test source
The
hello command hosted at Google Code depends on the
newmath package within the same repository. The imports in
hello.go file use the same import path convention, so the
go
get command is able to locate and install the dependent package, too.
import "code.google.com/p/go.example/newmath". | http://golang.org/doc/code.html | CC-MAIN-2014-42 | refinedweb | 693 | 53.27 |
getpwuid, getpwuid_r - search user database for a user ID
#include <sys/types.h> #include <pwd.h> struct passwd *getpwuid(uid_t uid); int getpwuid_r(uid_t uid, struct passwd *pwd, char *buffer, size_t bufsize, struct passwd **result);
The getpwuid() function searches the user database for an entry with a matching uid.
The getpwuid() interface need not be reentrant.
The getpwuid_r() function updates the passwd structure pointed to by pwd and stores a pointer to that structure at the location pointed to by result. The structure will contain an entry from the user database with a matching uid.wuid(). If getpwuid() returns a null pointer and errno is set to non-zero, an error occurred.
The getpwuid()wuid_r() function returns zero. Otherwise, an error number is returned to indicate the error.
The getpwuid() functionwnam(), geteuid(), getuid(), getlogin(), <limits.h>, <pwd.h>, <sys/types.h>.
getpwuid() derived from System V Release 2.0.
getpwuid_r() derived from the POSIX Threads Extension (1003.1c-1995). | http://man.remoteshaman.com/susv2/xsh/getpwuid.html | CC-MAIN-2020-10 | refinedweb | 159 | 50.84 |
OPC UA is a 100% open source protocol found in many industrial networks. Much like the Apache Foundation stewards the Hadoop project the OPC Foundation is the steward of the OPC UA standard. You can access the standard at for the standard.
In addition to the standard itself, the OPC foundation has released implementations of clients, data servers and discovery servers for OPC UA in Java, .NET, and C. The Java repo can be found here OPC UA servers.
The following Nifi Service & Processor bundle can be used to retrieve data from OPC UA severs. Information on building the bundle will be provided in a separate article
To use the service, start by dropping the GetNodeIds onto the pallet
Most OPC servers provide a properties dialog that provides the information necessary to configure the GetNodeIds processor and its companion OPC UA Service. The following example properties are from an instance of KepServerEx's OPC UA Server
In this dialog there are 3 endpoints associated with the example server. One for each NIC, 10.0.2.6 and 192.168.189.10, and one for the localhost or 127.0.0.1. Each is using port 49320 for incoming communications. The security column shows the security handshaking mechanisms supported by the endpoint.
Once you have this information for your OPC UA server return to Nifi, right click the GetNodeIDs processor and select configure. On the properties tab select value box for the OPC UA Sevrvice property field and select Create new service on the following dialog and to create a new instance of the StandardOPCUAService
Access the Process Group Configuration by selecting the black arrow to the right of the value box of the OPC UA Service property.
Edit the newly created StandardOPCUAService and enter the information corresponding to the endpoint of your OPC UA server. Take care to ensure the security setting here matches one of one of the available security modes on the server. If you have been give a certificate for authenticating your client with the OPC UA server, you must place the certificate in a folder that nifi can access. Provide the complete path and filename to your certificate in the Certificate field. If you do not have a certificate leave this property field blank and Nifi will create a certificate for you, as they are required for OPC UA authentication. The application name is arbitrary but is used to identify your client in various dialogs on the server. Make this something you will recognize in a list of other clients.
Once the configuration of the controller service is complete then save and start the controller.
Returning to the GetNodeId configuration dialog. The StandardOPCUAService you just configured should be selected in the OPC UA Service property field. Recursive Depth defines how may branches "deep" the processor will browse into the OPC server's namespace. WARNING!!! The namespace can be both very large and may have circular references start this processors off with the default setting of 0 and increase it only after successful reads. The Starting Node property defines the starting node when browsing the server's namespace. If you do not know where to start browsing, leave the field blank and the browse will start from the designated root node. On the scheduling tab set the Run Schedule to something appropriate for your use case greater than 250ms. On the Settings tab select both the Failure and Success checkbox under Automatically Terminate Relationships, we will change this in following steps.
Select accept and transition the processor to "Run". You should the metrics shown on the face of the processor change indicating that a flowfile has been generated and written out that is greater that 1B. This is a successful read of the name space
Right clicking the processor and selecting Data provenance will allow you to inspect the contents of the newly generated flowfile. You should see something like the following
Most of the nodes starting with NSU are internall nodes that do not contain data we are interested in. Somewhere in your name space you will find the tags that contain the data you would like to retrieve. For this example we are looking for the Nodes under the "Simulation Examples Functions".
Now we need to refine the GetNodeIDs processor so that only these items are returned each time the processor is triggered. To do this we change the starting node to ns=2;s=Simulation Examples.Functions and the Recursive Depth to 0.
Now we have the information needed to query the OPC server for time stamped values for each NodeID in our list. The list can be saved to disk or keep only in Nifi's memory. Either way it is a best practice to periodically check the OPC Server for changes in the name space as in some applications this happens frequently.
Next add a split text processor and configure it as follows to split each line of this flowfile into separate flow files.
Now add the GetValue OPC processor to the pallet and connect it to the "Splits" output from the split text processor. There is only one configuration parameter available on the Properties tab of the GetValue processor. For this field select the OPC UA Service created earlier. On the settings tab select both Failure and Success for initial testing.
Select apply and transitioning the whole data flow to run.
The output data from the GetValue processor is formatted as lines of CSV that can be merged into a single document and treated as a CSV. Future iterations of the processor will support various serialization techniques to avoid processing text in later flows. ? | https://community.cloudera.com/t5/Community-Articles/Collect-data-from-OPC-UA-protocol/tac-p/244948/highlight/true | CC-MAIN-2021-43 | refinedweb | 943 | 61.87 |
telepathy-gabble crashed with SIGSEGV in stun_server_resolved_cb()
Bug Description
* Impact
telepathy-gabble segfaults sometimes
* Test case
no specific testcase, watch reports on https:/
* Regression potential
check that jabber keeps working fine with telepathy (change should be safe, it's just handling of a null case)
Status changed to 'Confirmed' because the bug affects multiple users.
The bug has been reported on https:/
The reports seem to have started with 0.18 in raring
Backtrace of the issue
"#0 stun_server_
data = 0x18f4ce0
self = 0x0
priv = <optimized out>
e = 0x0
address = <optimized out>
entries = <optimized out>
__func__ = "stun_server_
#1 0x00007f25c98dae3b in g_task_return_now (task=0x15aab60) at /build/
No locals.
#2 0x00007f25c98db4a6 in g_task_return (task=0x15aab60, type=<optimized out>) at /build/
source = 0x126c750
type = <optimized out>
task = 0x15aab60
#3 0x00007f25c96203b7 in _g_closure_
marshal = 0x7f25c9621f10 <g_cclosure_
in_marshal = 0
#4 0x00007f25c9638e82 in g_signal_}}}
accumulator = 0x0
emission = {next = 0x0, instance = 0x7f25c00079a0, ihint = {signal_id = 47, detail = 0, run_type = G_SIGNAL_
signal_id = 47
rtype = 4
closure = 0x12ac070
run_type = <optimized out>
l = <optimized out>
fastpath = <optimized out>
i = <optimized out>
n_params = <optimized out>
#5 0x00007f25c9639ae2 in g_signal_emit (instance=
var_args = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7fffee1f3020, reg_save_area = 0x7fffee1f2f60}}
#6 0x00007f25c98975f5 in g_cancellable_
Created attachment 98618
wocky-jingle-info: don't try using self if it's NULL
Fixed for 0.18.2 and 0.19.0 (which may actually be 1.0).
(In reply to comment #2)
> Fixed for 0.18.2 and 0.19.0 (which may actually be 1.0).
And I just released 0.18.3
Hello Terry, or anyone else affected,
Accepted telepathy-gabble to note - pulling in a new upstream version turned a 5 line diff into a > 10K line diff. Grrr.
@Chris: sorry about that :/
Changing to verification-done, the new version works correctly and e.u.c has no report with it
This bug was fixed in the package telepathy-gabble - 0.18.3-0ubuntu0.1
---------------
telepathy-gabble (0.18.3-0ubuntu0.1) trusty; urgency=medium
* New upstream version, don't segfault in stun_server_
(lp: #1237191)
-- Sebastien Bacher <email address hidden> Wed, 04 Jun 2014 11:45:17 +0200
The verification of the Stable Release Update for telepathy-gab.
StacktraceTop:
resolved_ cb (resolver= 0x1296310, result=0x15aab60, user_data= 0x18f4ce0) at wocky-jingle- info.c: 277 buildd/ glib2.0- 2.38.0/ ./gio/gtask. c:1108 buildd/ glib2.0- 2.38.0/ ./gio/gtask. c:1161 invoke_ va (closure=0x12ac070, return_value=0x0, instance= 0x7f25c00079a0, args=0x7fffee1f 2f48, n_params=0, param_types=0x0) at /build/ buildd/ glib2.0- 2.38.0/ ./gobject/ gclosure. c:840 emit_valist (instance= 0x7f25c00079a0, signal_ id=<optimized out>, detail=0, var_args= var_args@ entry=0x7fffee1 f2f48) at /build/ buildd/ glib2.0- 2.38.0/ ./gobject/ gsignal. c:3238
stun_server_
g_task_return_now (task=0x15aab60) at /build/
g_task_return (task=0x15aab60, type=<optimized out>) at /build/
_g_closure_
g_signal_ | https://bugs.launchpad.net/ubuntu/+source/telepathy-gabble/+bug/1237191 | CC-MAIN-2019-18 | refinedweb | 458 | 52.9 |
tensorflow::
ops:: UniqueV2
#include <array_ops.h>
Finds unique elements along an axis of a tensor.
Summary:
y[idx[i]] = x[i] for i in [0, 1,...,rank(x) - 1]
For example:
# tensor 'x' is [1, 1, 2, 4, 4, 4, 7, 8, 8] y, idx = unique(x) y ==> [1, 2, 4, 7, 8] idx ==> [0, 0, 1, 2, 2, 2, 3, 4, 4]]
Arguments:
- scope: A Scope object
- x: A
Tensor.
- axis: A
Tensorof type
int32(default: None). The axis of the Tensor to find the unique elements.
Returns:
Outputy: A
Tensor. Unique elements along the
axisof
Tensorx.
Outputidx: A 1-D Tensor. Has the same type as x that contains the index of each value of x in the output y.
Public attributes
idx
::tensorflow::Output idx
y
::tensorflow::Output y
Public functions
UniqueV2
UniqueV2( const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input axis )
UniqueV2
UniqueV2( const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input axis, const UniqueV2::Attrs & attrs ) | https://www.tensorflow.org/versions/r1.12/api_docs/cc/class/tensorflow/ops/unique-v2 | CC-MAIN-2019-51 | refinedweb | 162 | 66.64 |
Coding Practices
Python is a language that allows you to write code by the brute-force method, as in the lines above, or in a more elegant way using concepts like iteration. If you were to define all 12 buttons in a linear fashion, you would need 26 lines of code. Using the Python for construct, you can accomplish the same task in a mere seven lines of code. That equates to less than one-third of the code for this simple example, but the difference would be substantial for a larger table. Here's the code in a more "Pythonic" way:
def create_table(self): self.table = gtk.Table(3,4,True) for row in range(3): for col in range(4): name = 'Twitter %i' % (row*4 + col + 1) button = gtk.Button(name) self.table.attach(button, col, col+1, row, row+1)
Keeping your code manageable is important when scripts start to get large. Python functions are a good way to break down your code into small, manageable pieces. It's also important to point out that everything in Python is an object. You can see this to some extent in the create_table function through the use of the self construct. The function create_table creates a gtk.Table and returns it as an object -- hence, the use of self to refer to the object being created. There is an abundance of resources on the Web if you're not familiar with object-oriented programming concepts.
Taking advantage of all the built-in language features and functions is another way to keep your source code manageable. Python has a module for reading and writing configuration files named ConfigParser. This module provides all the tools you need to save and read program configuration information. It supports different sections and creates a file of name-value pairs within each section. There are even individual methods to retrieve specific types, such as getboolean, getint, and getfloat.
If you can't find what you need in the Python standard library, chances are that someone else has already written what you need. A quick Google search typically returns multiple choices for a specific tool. Python-Twitter is a good example of a helper library to accomplish the heavy lifting of sending messages to the Twitter service. It's hosted on Google Code and even comes with several sample applications.
Testing and Debugging
You can test code on the Compal MID in several ways. File transfer over a USB port is drop-dead simple and works well. Optionally, you could attach a USB keyboard to the Compal MID and use the VI editor directly on the device for your editing and the Python interpreter for testing. This method works okay for small proof-of-concept efforts but gets out of control for anything but small, simple programs. Another, similar approach is to use Virtual Network Computing (VNC) to remotely view the screen on the device through your workstation.
Another way is to use the emulator approach. The Moblin project has a tool called the Moblin Image Creator (MIC) for building platform-specific images. With MIC you can also use the Xephyr emulator tool to launch an independent session for testing purposes. This method has the advantage of a rapid build/test cycle to help work the bugs out of your code in short order.
A final way might be to test the initial version of the software on your Linux desktop. The advantage is that you don't need MIC. The disadvantages are that you may need additional hardware for your desktop (GPS, for example) and that you can't test MID specific functionality (such as screen characteristics).
Lessons Learned
Don't get bogged down in the details too early in the process. It's important to completely flesh out your requirements in the beginning, then make some design decisions based on a clear picture of what you're trying to accomplish. Get comfortable with your development tools -- especially the debugging portion -- as you'll probably use them more than you think.
The easier it is for you to test and debug your code, the quicker you'll get it running.
Have a convenient way to transfer files to your device that doesn't require a lot of motion. This could be as simple as keeping an easily accessible USB cable plugged into your workstation. When you get down to squashing bugs, it helps to make the process as smooth and painless as possible, especially if you're editing all the code on a workstation and have to move it over to the device for testing.
Summary
Building a solid application for the MID platform requires the same set of disciplined steps you would use in any software project. Be sure you don't skip steps like these:
- Take your time on the design process, and consider alternatives.
- Think through the UI design from a user's perspective before you start coding.
- Write your code with testing in mind.
- Have a clear set of requirements that you can test.
- Use tools such as source code control, and check in your code frequently.
For More Information
- Dr. Dobb's MoblinZone
- Developing for Mobile Internet Devices: Part 1 Developing for Mobile Internet Devices: Part 2 | http://www.drdobbs.com/open-source/developing-for-mobile-internet-devices-p/220600166?pgno=2 | CC-MAIN-2014-35 | refinedweb | 877 | 62.68 |
When.
Why does Data Augmentation work?
A very straightforward way to understand why data augmentation works is by thinking of it as a way to artificially expand our dataset. As is the case with deep learning applications, the more data, the merrier.
Another way to understand why data augmentation works so well is by thinking of it as added noise to our dataset. This is especially true in case of online data augmentation, or augmenting every data sample stochastically each time we feed it to the training loop.
Each time the neural network sees the same image, it's a bit different due to the stochastic data augmentation being applied to it. This difference can be seen as noise being added to our data sample each time, and this noise forces the neural network to learn generalised features instead of overfitting on the dataset.
Object Detection for Bounding Boxes
Now, a lot of deep learning libraries like torchvision, keras, and specialised libraries on Github provide data augmentation for classification training tasks. However, the support for data augmentation for object detection tasks is still missing. For example, an augmentation which horizontally flips the image for classification tasks will like look the one above.
However, doing the same augmentation for an object detection tasks also requires you to update the bounding box. For example, this.
It's this sort of data augmentation, or specifically, the detection equivalent of the major data augmentation techniques requiring us to update the bounding boxes, that we will cover in these article. To be precise, here is the exact list of augmentations we will be covering.
- Horizontal Flip (As shown above)
2. Scaling and Translating
3. Rotation
4. Shearing
5. Resizing for input to the neural network
Technical Details
We will be basing our little data augmentation library on Numpy and OpenCV.
We will define our augmentations as classes, instances of which can be called to perform augmentation. We will define a uniform way to define these classes so that you can also write your own data augmentations.
We will also define a Data Augmentation that does nothing of it's own, but combines data augmentations so that they can be applied in a Sequence.
For each Data Augmentation, we will define two variants of it, a stochastic one and a deterministic one. In the stochastic one, the augmentation happens randomly, whereas in deterministic, the parameters of the augmentation (like the angle to be rotated are held fixed).
Example Data Augmentation: Horizontal Flip
This article will outline the general approach to writing an augmentation. We will also go over some utility functions that will help us visualise detections, and some other stuff. So, let's get started.
Format for Storing Annotation
For every image, we store the bounding box annotations in a numpy array with N rows and 5 columns. Here, N represents the number of objects in the image, while the five columns represent:
- The top left x coordinate
- The top left y coordinate
- The right bottom x coordinate
- The right bottom y coordinate
- The class of the object
I know a lot of datasets, and annotation tools store annotations in other formats, so, I'd leave it you to turn whatever storage format your data annotations are stored in, into the format described above.
And yes, for demonstration purposes we are going to use the following image of Lionel Messi scoring a beauty of a goal against Nigeria.
File Organisation
We keep our code in 2 files,
data_aug.py and
bbox_util.py. The first file is going to contain the code for augmentations while the second file will contain the code for helper functions.
Both these files will live inside a folder called
data_aug
Let us assume that you have to use these data augmentations in your training loop. I'll let you figure out how you extract your images and make sure annotations are in proper format.
However, for sake of keeping thing simple, let us use only one image at a time. You can easily move this code inside the loop, or your data fetching function to extend the functionality.
Clone the github repo in the folder containing the file of your training code, or the file where you need to make of the augmentation.
git clone
Random Horizontal Flip
First, we import all the necessary stuff and make sure the path is added even if we call the functions from outside the folder containing the files. The following code goes in the file
data_aug.py
import random import numpy as np import cv2 import matplotlib.pyplot as plt import sys import os lib_path = os.path.join(os.path.realpath("."), "data_aug") sys.path.append(lib_path)
The data augmentation will be implementing is
RandomHorizontalFlip which flips an image horizontally with a probability p.
We first start by defining the class, and it's
__init__ method. The init method contains the parameters of the augmentation. For this augmentation it is the probability with each image is flipped. For another augmentation like rotation, it may contain the angle by which the object is to be rotated.
class RandomHorizontalFlip(object): """Randomly horizontally flips the Image with the probability *p* Parameters ---------- p: float The probability with which the image is flipped Returns ------- numpy.ndaaray Flipped, p=0.5): self.p = p
The docstring of the function has been written in Numpy docstring format. This will be useful to generate documentation using Sphinx.
The
__init__ method of each function is used to define all the parameters of the augmentation. However, the actually logic of the augmentation is defined in the
__call__ function.
The call function, when invoked from a class instance takes two arguments,
img and
bboxes where
img is the OpenCV numpy array containing the pixel values and
bboxes is the numpy array containing the bounding box annotations.
The
__call__ function also returns the same arguments, and this helps us chain together a bunch of augmentations to be applied in a Sequence.
def __call__(self, img, bboxes): img_center = np.array(img.shape[:2])[::-1]/2 img_center = np.hstack((img_center, img_center)) if random.random() < self.p: img = img[:,::-1,:] bboxes[:,[0,2]] += 2*(img_center[[0,2]] - bboxes[:,[0,2]]) box_w = abs(bboxes[:,0] - bboxes[:,2]) bboxes[:,0] -= box_w bboxes[:,2] += box_w return img, bboxes
Let us break by bit by bit what's going on in here.
In a horizontal flip, we rotate the image about a verticle line passing through its center.
The new coordinates of each corner can be then described as the mirror image of the corner in the vertical line passing through the center of the image. For the mathematically inclined, the vertical line passing through the center would be the perpendicular bisector of the line joining the original corner and the new, transformed corner.
To have a better understanding of what is going on, consider the following image. The pixels in the right half of the transformed image and the left half of the original image are mirror images of each other about the central line.
The above is accomplished by the following piece of code.
img_center = np.array(img.shape[:2])[::-1]/2 img_center = np.hstack((img_center, img_center)) if random.random() < self.p: img = img[:,::-1,:] bboxes[:,[0,2]] += 2*(img_center[[0,2]] - bboxes[:,[0,2]])
Note that the line
img = img[:,::-1,:] basically takes the array containing the image and reverses it's elements in the 1st dimension, or the dimensional which stores the x-coordinates of the pixel values.
However, one must notice that the mirror image of the top left corner is the top right corner of the resultant box. Infact, the resultant coordinates are the top-right as well as bottom-left coordinates of the bounding box. However, we need them in the top-left and bottom right format.
The following piece of code takes care of the conversion.
box_w = abs(bboxes[:,0] - bboxes[:,2]) bboxes[:,0] -= box_w bboxes[:,2] += box_w
We end up by returning the image and the array containing the bounding boxes.
Deterministic Version of HorizontalFlip
The above code applies the transformation stochastically with the probability p. However, if we want to build a deterministic version we can simply pass the argument p as 1. Or we could write another class, where we do not have the parameter p at all, and implement the
__call__ function like this.
def __call__(self, img, bboxes): img_center = np.array(img.shape[:2])[::-1]/2 img_center = np.hstack((img_center, img_center)) img = img[:,::-1,:] bboxes[:,[0,2]] += 2*(img_center[[0,2]] - bboxes[:,[0,2]]) box_w = abs(bboxes[:,0] - bboxes[:,2]) bboxes[:,0] -= box_w bboxes[:,2] += box_w return img, bboxes
Seeing it in action
Now, let's suppose you have to use the HorizontalFlip augmentation with your images. We will use it on one image, but you can use it on any number you like. First, we create a file
test.py. We begin by importing all the good stuff.
from data_aug.data_aug import * import cv2 import pickle as pkl import numpy as np import matplotlib.pyplot as plt
Then, we import the image and load the annotation.
img = cv2.imread("messi.jpg")[:,:,::-1] #OpenCV uses BGR channels bboxes = pkl.load(open("messi_ann.pkl", "rb")) #print(bboxes) #visual inspection
In order to see whether our augmentation really worked or not, we define a helper function
draw_rect which takes in
img and
bboxes and returns a numpy image array, with the bounding boxes drawn on that image.
Let us create a file
bbox_utils.py and import the neccasary stuff.
import cv2 import numpy as np
Now, we define the function
draw_rect
def draw_rect(im, cords, color = None): """Draw the rectangle on the image Parameters ---------- im : numpy.ndarray numpy image cords: image with bounding boxes drawn on it """ im = im.copy() cords = cords.reshape(-1,4) if not color: color = [255,255,255] for cord in cords: pt1, pt2 = (cord[0], cord[1]) , (cord[2], cord[3]) pt1 = int(pt1[0]), int(pt1[1]) pt2 = int(pt2[0]), int(pt2[1]) im = cv2.rectangle(im.copy(), pt1, pt2, color, int(max(im.shape[:2])/200)) return im
Once, this is done, let us go back to our
test.py file, and plot the original bounding boxes.
plt.imshow(draw_rect(img, bboxes))
This produces something like this.
Let us see the effect of our transformation.
hor_flip = RandomHorizontalFlip(1) img, bboxes = hor_flip(img, bboxes) plt.imshow(draw_rect(img, bboxes))
You should get something like this .
Takeaway Lessons
- The bounding box annotation should be stored in a numpy array of size N x 5, where N is the number of objects, and each box is represented by a row having 5 attributes; the coordinates of the top-left corner, the coordinates of the bottom right corner and the class of the object.
- Each data augmentation is defined as a class, where the
__init__method is used to define the parameters of the augmentation whereas the
__call__method describes the actual logic of the augmentation. It takes two arguments, the image
imgand the bounding box annotations
bboxesand returns the transformed values.
This is it for this article. In the next article we will be dealing with
Scale and
Translate augmentations. Not only they are more complex transformations, given there are more parameters (the scaling and translation factors), but also bring some challenges that we didn't have to deal with in the
HorizontalFlip transformation. An example is to decide whether to retain a box if a portion of it is outside the image after the augmentation.
Add speed and simplicity to your Machine Learning workflow today | https://blog.paperspace.com/data-augmentation-for-bounding-boxes/ | CC-MAIN-2022-27 | refinedweb | 1,926 | 54.32 |
I'm currently working on a project which need to use speech recognition. I found that there are many different speech recogniton SDK from Microsoft, Microsoft.Speech, System.Speech and Windows.Media.SpeechRecognition.
What is the difference between these SDK? Since accuracy is very important in this project, which one should I use ?
Hi tianyuandz,
Thank you for posting here.
For the difference between Microsoft.Speech and System.Speech, you would like to check the similar thread in StackOverflow. It gives s good explanation.
Windows.Media.SpeechRecognition
In WinRT you cant use System.Speech namespace anyway and you will have to use the Windows.Media.SpeechRecognition.
If you want to know more about how SRGS works then you could look into the official sample.
tianyuandz,
Have you solved your problem?
If you solved your problem, please mark the useful reply as answer. This will make answer searching in the forum and be beneficial to community members as well.
If you have something else about this issue, please feel free to contact us. | https://social.msdn.microsoft.com/Forums/en-US/7ac250d2-35b3-43f1-90dd-38bfca6866cb/what-is-the-difference-between-microsoftspeech-systemspeech-and-windowsmediaspeechrecognition-?forum=netfxbcl | CC-MAIN-2020-50 | refinedweb | 172 | 70.39 |
Please note: This post is specifically about our SaaS offering. If your team uses a VPN, our Enterprise product will be a better fit for you. Drop us a line to talk more.
One questions users often ask support about is how to create a VPN tunnel within their builds to access a network resource securely. There’s a few reasons why this doesn’t work on our platform. One is due to how VPNs create TUN/TAP devices, and the other has to do with unprivileged LXC containers. This post will address common concerns and questions about using CircleCI with VPNs.
TUN/TAP devices
What is a TUN/TAP device?
A TUN/TAP device is a specific device that is created and used for VPN connections. It acts as an Ethernet device, but instead of receiving data directly from the physical device, it receives data from a user space program (which would be whichever VPN type you’re using, like L2TP, PPP, Cisco, etc.). It then sends the data back to the user space program, which then sends them to the “device” encrypted to be transported to the destination.
What does this have to do with my builds?
VPN connection software creates that device using a specific device node (like /dev/net/tun), and registers it as tunX or tapX. The user space program that is creating the VPN connection needs to have the proper privileges to create the device. The drivers to use the device also need to be compiled into the kernel to be used correctly. While users do have sudo access to their builds, there is a specific reason this doesn’t work for your builds, and that’s where LXC comes into play.
Unprivileged LXC Containers
What is an LXC Container?
When a user runs a build, we create an LXC container. The linux kernel provides different “views” of the system to different running processes. This allows physical resources, like I/O, CPU, RAM, etc. to be “compartmentalized” logically. The kernel also allows the using of two main components: control groups and POSIX file capabilities. The control groups allow the kernel to group together one or more processes and then specify resources to be allocated to that control group. POSIX file capabilities simply allow the files being used by those processes to have more granular security than the standard “root” and “user” privilege segregation.
What is an unprivileged LXC container?
Unprivileged LXC containers are a more secure version of LXC containers, and are what we use at CircleCI. In a privileged LXC container, the root UID is the same (0) for both the host machine and the container. This means that if a user were, say through the /proc or /sys filesystem, or through some syscall, able to break out of the container, they’d be UID 0 (or root) on the host machine, and thus have root access to the host as well as every other container/resource that’s on that host machine.
Unprivileged LXC containers use user namespaces to assign users an unused range of user and group ID’s on the host machine (typically 100,000 through 165,000). This means that if a user were able to break out of the container, the containers UID of 0 would map to UID 100,000 on the host machine. This would essentially grant them the same privileges as a nobody user, and greatly restrict what, if anything, that they’d be able to do on the host.
Why does this mean I can’t create a VPN?
When the “root” user within the container attempts to make a TUN/TAP device, it needs more privileges on the host than the limited access it does have. This restricts multiple operations, including but not limited to:
- Mounting certain filesystems
- Creating device nodes (like the ones needed to create the TUN/TAP device)
- Or any operation that requires privileges outside of the ones assigned to the UID/GID range that - LXC allocates to containers (that 100,000 - 165,000 range).
Without being able to create the TUN/TAP device on the unprivileged container, any user on any platform using unprivileged LXC containers would not be able to use VPN services. This means that as long as we’re using unprivileged LXC containers, creation of TUN/TAP devices won’t be supported, unless a change gets made upstream with LXC to allow a way for us to be able to allow users to create those devices.
Does this mean there’s nothing you can do? No, of course not. There are some other options available. We’ll publish a follow-up post outlining these, as well as showing how they can be accomplished, in the future. | https://circleci.com/blog/vpns-and-why-they-don-t-work/ | CC-MAIN-2019-13 | refinedweb | 790 | 60.75 |
[solved] QSerialPortInfo::availablePorts() crashing on osx
Hey guys,
I've been using QtSerial in Qt 5.1 and it seems to work fine in linux and windows but when I compiled and try it on OSX I get a malloc: *** error for object 0x1040b0000: pointer being freed was not allocated.
It seems like it works about 1/2 the time and crashes the other 1/2.
My app calls refresh() to refresh a view with serial devices in it when it launches and then again if the user triggers the refresh action via menu or hotkey.
Here is a backtrace on the crash:
App(5684,0x7fff719fa180) malloc: *** error for object 0x1040b0000: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Program received signal SIGABRT, Aborted.
0x00007fff893a1212 in __pthread_kill ()
(gdb) bt
#0 0x00007fff893a1212 in __pthread_kill ()
#1 0x00007fff8940ab54 in pthread_kill ()
#2 0x00007fff8944edce in abort ()
#3 0x00007fff894229b9 in free ()
#4 0x00000001019a4c77 in QSerialPortInfo::availablePorts ()
#5 0x000000010001503f in TerminalManager::refresh (this=0x108180120) at terminalmanager.cpp:68
#6 0x0000000100020e10 in TerminalManager::qt_static_metacall (_o=0x108180120, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fff5fbfee90) at moc_terminalmanager.cpp:85
#7 0x0000000100b56931 in QMetaObject::activate ()
#8 0x0000000100e98572 in QAction::activate ()
#9 0x0000000100e965fe in QAction::qt_static_metacall ()
#10 0x0000000100b56931 in QMetaObject::activate ()
#11 0x0000000105a40273 in -[QCocoaMenuDelegate itemFired:] ()
#12 0x00007fff834db959 in -[NSApplication sendAction:to:from:] ()
#13 0x00007fff8361136c in -[NSMenuItem _corePerformAction] ()
#14 0x00007fff8361105a in -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] ()
#15 0x00007fff8360fce0 in -[NSMenu performKeyEquivalent:] ()
#16 0x00007fff8360f1a3 in -[NSApplication _handleKeyEquivalent:] ()
#17 0x00007fff834cc143 in -[NSApplication sendEvent:] ()
#18 0x0000000105a3fa80 in -[QNSApplication sendEvent:] ()
#19 0x00007fff833e221a in -[NSApplication run] ()
#20 0x0000000105a3d47d in QCocoaEventDispatcher::processEvents ()
#21 0x0000000100b264dd in QEventLoop::exec ()
#22 0x0000000100b2a049 in QCoreApplication::exec ()
#23 0x0000000100006ad9 in main (argc=1, argv=0x7fff5fbffb28) at main.cpp:49
Sometimes the app crashes right when it's starting, other times it gets loaded and the view "refreshes" properly. But if I hit refresh it will almost always crash with that free issue.
Since the pointer being freed is inside the QtSerial component I don't think there is much I can do but thought I'd ask to see if anyone had encountered this.
I couldn't find a bug posted about this issue either.
Any ideas?
Hi,
Could you post a minimal code sample that can reproduce the problem ?
A friend of mine found the problem in the Qt code, here was his email to me:
In this case the problem it appears to be a flaw in the I/O Kit logic inside of the Qt source code. As you can see from the lines of code below the Qt source code is assigning entry to equal service and later on it is freeing both of these variables independently. Once entry is freed the value of service is already deallocated so the code is attempting to free the same value twice.
Line 98: io_registry_entry_t entry = service;
Line 195: (void) ::IOObjectRelease(entry);
Line 264: (void) ::IOObjectRelease(service);
I am rebuilding with his patched file and will post back in this thread if it works or not.
Also as for a code sample that would work, it is pretty simple to test:
@
#include <QSerialPortInfo>
int main(int, char**)
{
QList<QSerialPortInfo> ports = QSerialPortInfo::availablePorts();
return 0;
}
@
That should crash on a mac if the circumstances described in the above logic path happen. For me it's about every other time I launch this app.
Nice catch !
Did he consider submitting a patch ?
One of us will once we get it working. Unfortunately I'm still having the issue with the patched code, so I'm thinking some other memory issue in that code was missed.
It seems to happen less now, but I can still make it happen after about 5 or so calls to availablePorts().
Gonna look into it some more, and will post back.
I've never had to post a bug or patch to Qt, is there an easy way to do it?
Sure there is:
The "bug report system": is there for reporting.
And here for "patch submission":
Thanks for the links.
Turns out this may not be a Qt problem. I added a bunch of qDebugs() to try to find where the problem was and it was dying in a weird part which made me suspicious.
So I simplified the code to just a console app that repeatedly called availablePorts() and it isn't crashing.
This makes me think it was something in one of the other threads of the app. Weird that it only happens during an availablePorts() call but such is the nature of threading issues.
So back to the investigation step to try to narrow this down. At this point I'm pretty confident it isn't a Qt issue.
I'm guessing that double free that my friend found is actually ok with the release system in IOKit. It probably just ignores it as an invalid object. So no patch required.
Well after a ton of wasted time digging through my code and threads I decided to upgrade to 5.1.1 and the bug is gone.
Turns out it was something with Qt 5.1 and that they knew and resolved already.
Marking this as solved.
Better that than the other way around :)
Happy coding !
The bug is still there.
I've got the pretty same crash on qt 5.2.0 (vs2010 build). Trying to bind QtSerialPort to Qt gui application.
Updated: the same in console application.
Call stack:
msvcr100d.dll!operator delete(void * pUserData) Line 52 + 0x51 bytes C++
QSerialPortInfo::`scalar deleting destructor'() + 0x21 bytes C++
QList<QSerialPortInfo>::node_destruct(QList<QSerialPortInfo>::Node * from, QList<QSerialPortInfo>::Node * to) Line 425 + 0x2f bytes C++
QList<QSerialPortInfo>::dealloc(QListData::Data * data) Line 779 C++
QList<QSerialPortInfo>::~QList<QSerialPortInfo>() Line 754 C++
Yea you're right, I had the problem again with Qt 5.2 on my mac.
What I believe is the problem was the ICU library. Since I had built Qt 5.2 from scratch whereas the Qt 5.1.1 I had used the pre-built version.
I updated my ICU library (also built from scratch) and rebuilt Qt 5.2 against that and the problem was finally resolved.
I can't guarantee that it was an ICU issue but the changing of ICU to 52 (was using 48) seems to have resolved the issue.
If your ICU library is self built I would try upgrading to 52 as well and rebuild your Qt. Alternately I haven't had a problem with this bug and the prebuilt Qt libraries so you can always use those until you can get your build issue worked out.
Sorry I never updated this thread with my new findings. :)
Thank you for your reply.
I haven't ever seen ICU library, which packages it could be provided with on my system? And what dependencies does it have with Qt?
It is an internationalization package. Qt is dependent on it for QtWebKit. If you don't use or haven't compiled in QtWebKit you won't need it.
I don't think it is installed by default with windows, I could be wrong though I don't use windows much.
You can find more about it and download at:
It may not have been ICU changes that fixed my problem. It could have been the rebuild of the source. If you are using pre-compiled Qt or Qt Creator and you are seeing this problem I would look deeper in your code as it may not be the same thing I was experiencing. I never experienced this on windows or linux, only osx.
I read about icu and scan my system. There is no icu files or libs in my Qt sources. I don't use QtWebKit. There is no any evidence that basic example QtSerialPort application that doesn't use any additional Qt modules could crash because of one of QtWebKit dependencies.
I don't use pre-compiled Qt, I built Qt from sources using vs2010 command prompt and jom.
@#include <QtSerialPort/QSerialPortInfo>
int main(int argc, char *argv[])
{
QSerialPortInfo::availablePorts();
}@
It's enough to crash.
Ok, not webkit or icu then for sure.
Try getting the pre-built sources and compile and test with those. There has to be something during the build that is causing that crash. I thought mine was ICU as when I changed ICU versions and rebuilt it was "fixed". However in light of your issues maybe it was something else entirely but the rebuild fixed it anyway.
There is no crash in release. I't is only in debug build configuration.
My crash happened in both debug and release.
Would you please describe you system configuration at,
I submited there.
I made further step. I avoided using than function and initialized serial port with nam string:
QSerialPortInfo info("COM25");
I began sending data from my device to computer and tried to catch it.
It worked in release but in debug there wasn't any data received.
[quote]
I began sending data from my device to computer and tried to catch it.
It worked in release but in debug there wasn’t any data received.
[/quote]
Please create other task for this issue.
Are you build library (on VS2010) yourself?
They find a solution - I've connected release library to project not debug one in debug mode. My fault.
Ok. :)
Well that would definitely do it lol. I would probably have though of that with the debug mode only thing if it wasn't so late last night when I was answering.
Glad you got it all working. So it probably was a bad icu lib on my build. | https://forum.qt.io/topic/31781/solved-qserialportinfo-availableports-crashing-on-osx | CC-MAIN-2018-51 | refinedweb | 1,598 | 64.61 |
Campbell Ritchie wrote:That code can easily be put into the constructor for that class.
fred rosenberger wrote:Here is your code, with some annotations:
setLayout( new BorderLayout(3,3) ); //THIS line is not legal
//you've got executable code (method calls)
//not in a method.
//same goes for everything else beyond this point.
setBackground(Color.DARK_GRAY);
JPanel top = new JPanel(); // subpanel for top of main panel
privateMessageInput = new JTextField(35); // space for 35 chars
top.add(privateMessageInput);
sendPrivateButton = new JButton("Send To:");
top.add(sendPrivateButton);
recipientInput = new JTextField(8); // space for 8 characters
top.add(recipientInput);
add(top,BorderLayout.NORTH); // add subpanel to main panel
transcript = new JTextArea(30,60); // 30 lines, 60 columns
transcript.setWrapStyleWord(true);
transcript.setLineWrap(true);
transcript.setEditable(false); // user can't edit transcript
add(new JScrollPane(transcript), BorderLayout.CENTER);
}
Campbell Ritchie wrote:I would disagree very severely with anybody who uses addActionListener(this) as a routine.
I can't find where your MullPointerException occurred, since line 124 is blank!
fred rosenberger wrote:Do you know what we mean by a constructor? It is a special method that you have to define yourself. This line:
ChatRoom redRoom = new ChatRoom();
is CALLING a constructor, but it isn't one itself. If you don't write any constructors, java is kind enough to make a zero-argument one for you, which is what is being called here. However, if you just stuck this code in there somewhere, you still have code NOT IN A METHOD. Adding more code will still not not put your existing code in a method.
Here is a basic example:
public class MyClass
{
int intMember;
public static void main(String [] args)
{
//do a bunch of stuff
}
public MyClass()
{
intMember = 17;
}
public MyClass(int input)
{
intMember = input;
}
}
(Note: I just whipped this up, it may not be 100% valid)
Here I have done several things. I have defined a member variable "intMember". Then, I have a main() method. I then have two constructors. The important thing about are:
1) They have the EXACT same name as the class itself
2) There is NO return type - not even "void".
One is a no-arg constructor. If you would call "new MyClass()", this is what would happen, and intMember would be set to 17. I ALSO created a second constructor that takes a single int parameter. If you call "new MyClass(12)" or "new MyClass(intVariable)", THAT code would run, setting intMember to the value passed in.
Another note: If I define any constructor at all, Java will not provide by default a no-arg constructor.
So, try writing your own constructor for your class, and put all that bad code inside it. Post it here when you're done (and any compilation errors), and we'll take a look.
fred rosenberger wrote:you declare the variable sendButton, but you never create the object it refers to. Therefore, you cannot call a method on the object (because it doesn't exist!!!).
Campbell Ritchie wrote:I never said it was deprecated. I said I disagree with it. I think it isn't object-oriented. See this thread, and the older thread it refers to, and this thread. There are bound to be others if you search.
Why does "sendButton.addActionListener(this); " prevent the code from running?
fred rosenberger wrote:
Why does "sendButton.addActionListener(this); " prevent the code from running?
Impossible to say without seeing your code in it's current state
If you post your code again, please take out those huge comment blocks. They just make it harder to read the important stuff.
Now...does it not RUN, or does it not COMPILE? There is a huge difference. If you are getting the nullpointerexception, see my post above. it appears you may be trying to call a method on an object you never created. | http://www.coderanch.com/t/531092/java/java/Beginning-GUI-programming-exercise-figure | CC-MAIN-2013-20 | refinedweb | 638 | 66.84 |
mautic_tracking_api 1.0.2
mautic_tracking_api: ^1.0.2 copied to clipboard
mautic_tracking_api #
App User Monitoring and Tracking easily for Dart and Flutter using Mautic: Open Source Marketing Automation Software.
The essence of monitoring what happens in an App is similar to monitoring what happens on a website.
In short, this package use Named Screen Path (e.g.
main_screen) in your App as your
page_url field in the tracker, Named Screen Title (e.g.
Home Screen) as your
page_title field and the Contact E-mail as unique identifier. See Mautic Contact Monitoring section for detailed instructions.
This package also use native Mautic Tracking Cookies
mtc_id,
mtc_sid and
mautic_device_id to make Tracking more effective.
Made with ❤️ by Mautic Specialists at Powertic.
Install #
Add this package to your package's
pubspec.yaml file:
dependencies: mautic_tracking_api:
Run
flutter pub get on terminal to download and install packages and import on your
main.dart:
import 'package:mautic_tracking_api/mautic_tracking_api.dart';
Usage #
Create a global instance of
MauticTracking and import this global instance on all your files.
var MauticTracking mautic;
On your
main.dart you can setting up the
MauticTracking object:
// Setting Up void main() async { // Start Tracking mautic = MauticTracking( "", appName: "MyApp", email: "contact@email.com", appVersion: '1.0.0', appBundleName: 'com.mydomain.myapp', ); // Track App Start await mautic.trackAppStart(); }
When the App is Started, this event will be fired:
If the contact doesn't exists on Mautic, the contact will be identified by
app_started.
See a complete Flutter example at example/example_app/lib/main.dart
Setting Up #
There are some options to instantiate
MauticTracking:
MauticTracking( this._base_url, { this.email, this.appName, this.appVersion, this.appBundleName, this.closeConnectionAfterRequest = true, this.userAgent = 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.0; Trident/5.0)', });
These are the constructor options:
Mautic Contact Monitoring #
The act of monitoring the traffic and activity of contacts can sometimes be somewhat technical and frustrating to understand. Mautic Tracking API makes this monitoring simple and easy to configure.
Tracking Screens #
Send App Screen info to Mautic.
Method Definition:
Future<void> trackScreen(String screenPath, [String screenName]) async;
Usage:
You can send screen tracking info only with
screenPath.
Create your screen paths using _ to separate words and always use small caps.
mautic.trackScreen("main");
You can also send screen tracking info using
screenPath and
screenName. Fell free to use space and capitalized words for Screen Name.
mautic.trackScreen("main", "Main Page");
Tracking Events #
Send App Event info to Mautic.
Method Definition:
Future<void> trackEvent(String eventKey, String eventName, String screenPath, [String screenName]) async;
Usage:
You can send screen tracking info only with
screenPath.
Create your screen paths using _ to separate words and always use small caps.
mautic.trackEvent('click_getting_start', 'Click Get Start Button', 'home');
You can also send screen tracking info using
screenPath and
screenName. Fell free to use space and capitalized words for Scren Name and Event Name.
mautic.trackEvent('click_getting_start', 'Click Get Start Button', 'home', 'Home Page');
Adding Contact Tags #
Add tag to contact.
mautic.addTag({'a', 'b'});
Removing Contact Tags #
Remove tag to contact.
mautic.removeTag({'a', 'b'});
Contribute #
Please file feature requests and bugs at the issue tracker. | https://pub.dev/packages/mautic_tracking_api | CC-MAIN-2021-25 | refinedweb | 520 | 50.94 |
Getting Started on Natural Language Processing with Python
Motivation.
Introduction
Natural Language Processing
The term natural language processing encompasses a broad set of techniques for automated generation, manipulation, and analysis of natural or human languages. Although most NLP techniques inherit largely from linguistics and artificial intelligence, they are also influenced by relatively new areas such as machine learning, computational statistics, and cognitive science.
Before we see some examples of NLP techniques, it will be useful to introduce some very basic terminology. Please note that as a side effect of keeping things simple, these definitions may not stand up to strict linguistic scrutiny.
Token: Before any real processing can be done on the input text, it needs to be segmented into linguistic units such as words, punctuation, numbers, or alphanumerics. These units are known as tokens.
Sentence: An ordered sequence of tokens.
Tokenization: The process of splitting a sentence into its constituent tokens. For segmented languages such as English, the existence of whitespace makes tokenization relatively easy and uninteresting. However, for languages such as Chinese and Arabic, the task is more difficult since there are no explicit boundaries. Furthermore, almost all characters in such non-segmented languages can exist as one-character words by themselves, and can also join together to form multi-character words.
Corpus: A body of text, usually containing a large number of sentences.
Part-of-speech (POS) tag: A word can be classified into one or more lexical or part-of-speech categories such as nouns, verbs, adjectives, and articles, to name a few. A POS tag is a symbol representing such a lexical category, e.g., NN (noun), VB (verb), JJ (adjective), AT (article). One of the oldest and most commonly used tag sets is the Brown corpus tag set. We will discuss the Brown corpus in more detail below.
Parse tree: A tree defined over a given sentence that represents the syntactic structure of the sentence as defined by formal grammar.
Now that we have introduced the basic terminology, let us look at some common NLP tasks:
POS tagging: Given a sentence and a set of POS tags, a common language processing task is to automatically assign POS tags to each word in the sentence. basic building blocks known as morphemes (or stems), the smallest linguistic units possessing meaning. the given data using complex statistical models [1]. Most parsers also operate in a supervised setting and require the sentence to be POS-tagged before it can be parsed. Statistical parsing is an area of active research in NLP.
Machine translation (MT): In machine translation, the goal is to have the computer translate the given text in one natural language to fluent text in another language, without human interference. This is one of the most difficult tasks in NLP and has been tackled in a lot of different ways over the years. Almost all MT approaches use POS tagging and parsing as preliminary steps.
Python
The Python programming language is a dynamically-typed, object-oriented, interpreted language. Although its primary strength lies in the ease with which it allows a programmer to rapidly prototype a project, its powerful and mature set of standard libraries make it a great fit for large-scale production-level software engineering projects as well. Python has a very shallow learning curve and an excellent online tutorial [11].
Natural Language ToolKit (NLTK)
Although Python already has most of the functionality needed to perform simple NLP tasks, it and preprocessed versions of standard corpora used in NLP literature and courses.
Using NLTK
The NLTK Web site contains excellent documentation and tutorials for learning to use the toolkit [13]. It would be unfair to the authors, as well as to this publication, to simply reproduce their content. Instead, I introduce NLTK by showing how to perform three NLP tasks, in increasing order of difficulty. Each task is either an unsolved exercise from the NLTK tutorial or a variant thereof. Therefore, the solution and analysis of each task represents original content written solely for this article.
NLTK Corpora first general English corpus that could be used in computational linguistic processing tasks [6]. The corpus consists of one million words of American English texts printed in 1961. For the corpus to represent as general a sample of the English language as possible, 15 different genres were sampled, including important grammatical functions, but are unlikely to be interesting by themselves. These include prepositions, complementizers, and determiners. NLTK comes bundled with the Stopwords corpus, a list of 2400 stop words across 11 different languages (including English).
NLTK Naming Conventions
Before we begin using NLTK for our tasks, it is important
to familiarize ourselves with the naming conventions used
in the toolkit. The top-level package is called nltk_lite and we can refer to the included
modules by using their fully qualified dotted names, e.g.,
nltk_lite.corpora and nltk_lite.utilities. The contents of any
such module can then be imported into the top-level
namespace by using the standard
from-
import Python construct.
Task 1: Exploring Corpora
NLTK is distributed with several NLP corpora, as mentioned previously. In this task we explore one such corpus.
Task: Use the NLTK corpora module to read the corpus
austen-persuasion.txt
, included in the
Gutenberg corpus collection, and answer the following
questions:
- How many total words does this corpus contain?
- How many unique words does this corpus contain?
- What are the counts for the ten most frequent words?
Besides the corpora module that allows us to access and explore the bundled corpora with ease, NLTK also provides the probability module that contains several useful classes and functions for the task of computing probability distributions. One such class is called FreqDist, and it keeps track of the sample frequencies in a distribution. Figure 1 shows how to use these two modules to perform the first task.
Solution: Jane Austen's book Persuasion contains 98,171 total tokens and 6141 unique tokens. Out of these, the most common token is a comma, followed by the word the..
George Kingsley Zipf claimed this relationship could be expressed mathematically, i.e., for any given word, f * r is the same constant, where f is the frequency of that word and r is the rank, or the position of the word in the sorted list. So, for example, the 5th most frequent word should occur exactly two times more frequently than the 10th most frequent word. In NLP literature, this relationship is referred to as Zipf's law.
Even though the mathematical relationship prescribed by Zipf's law does not hold exactly, it is useful to describe how words are distributed in human languages - there are a few words that are very common, a few that occur with medium frequency, and a very large number of words that occur very rarely. It is simple to extend the last part of Task 1 and graphically visualize this relationship using NLTK, as shown in Figure 2.
The corresponding log-log plot, shown in Figure 3, clearly illustrates that the relationship does hold, to a large extent, for our corpus.
Task 2: Predicting Words
Now that we have learned how to explore a corpus, let us define a task that can put such explorations to use.
Task: Train and build a word predictor, i.e., given a training corpus, write a program that can predict the word that follows a given word. Use this predictor to generate a random sentence of 20 words.
To build a word predictor, we first need to compute a distribution of two-word sequences over a training corpus, i.e., we need to keep count of the occurrences of a word given the previous word as a context for that word. Once we have computed such a distribution, we can use the input word to find a list of all possible words that followed it in the training corpus and then output a word at random from this list.
To generate a random sentence of 20 words, all we have to do is to start at the given word, predict the next word using this predictor, then the next, and so on until we get a total of 20 words. Figure 4 illustrates how to accomplish this easily using the modules provided by NLTK. Again we use Jane Austen's Persuasion as the training corpus. To make things even easier, Python provides a random module that contains a function choice to pick an item at random from a list.
Solution: The 20 word output sentence is, of course, not grammatical; but every two-word sequence is, because the training corpus that we used for estimating our conditional frequency distribution is grammatical, and because of the way that we estimated the conditional frequency distribution.
Note that for our task we used only the previous word as the context for our predictions. It is certainly possible to use the previous two, or even three words as the prediction context. A longer context would improve the performance of our word predictor and lead to more grammatical sentences.
Task 3: Discovering Part-Of-Speech Tags
NLTK comes with an excellent set of modules to allow us greatest number of distinct tags?
- What is the ratio of masculine to feminine pronouns?
- How many words are ambiguous, in the sense that they appear with at least two tags?
For this task, it is important to note that there are two versions of the Brown corpus that come bundled with NLTK: the first is the raw corpus that we used in the last two tasks, and the second is a tagged version wherein each token of each sentence of the corpus has been annotated with the correct POS tag. Each sentence in this version of a corpus is represented as a list of 2-tuples, each of the form (token, tag). For example, a sentence like, "The ball is green," from a tagged corpus, would be represented inside NLTK as the list [('The', 'AT'), ('ball', 'NN'), ('is', 'VB'), ('green', 'JJ')].
The Brown corpus comprises 15 different sections represented by the letters 'a' through 'r.' Each of the sections represents sufficient to build a frequency distribution over the POS tags and a conditional frequency distribution over the tags using the tokens as the context. Figure 5 shows the code.
Solution: The most frequent POS tag in the Brown corpus is, unsurprisingly, the noun (NN). The word that has the greatest number of unique tags (12) is, in fact, the word that. There are more than three times as many masculine pronouns in the corpus as feminine pronouns and, finally, there are as many as 8700 words in the corpus that can be deemed ambiguous - a number that should indicate the difficulty of the POS-tagging task.
Task 4: Word Association
The task of free word association is a very common one when it comes to psycholinguistics, especially in the context of lexical retrieval, wherein human subjects respond more readily to a word if it follows another highly associated word, as opposed to a completely unrelated word. The instructions for performing the association are fairly straightforward: the subject is asked for the word that immediately comes to mind upon hearing a particular word.
Task: Use a large POS-tagged text corpus to perform free token in each sentence, we will look at all following tokens that lie within a fixed window and count their occurrences in this context using a conditional frequency distribution. Figure 6 shows how we accomplish this using Python and NLTK with a window size of 5 and the POS-tagged version of the Brown corpus.
Solution: The word associator that we have built seems to work surprisingly well, especially when compared to the minimal amount of effort that was required. (In fact, in the context of folk psychology, our associator would almost seem to have a personality, albeit a pessimistic and misogynistic one).
The results of this task should be a clear indication of the usefulness of corpus linguistics in general. As a further exercise, the association task can be easily extended in sophistication by utilizing parsed corpora and using information-theoretic measures of association [3].
Discussion
Although this article used Python and NLTK to provide an introduction to basic natural language processing, it is important to note that there are other NLP frameworks used by the NLP academic and industrial community. A popular example is GATE (general architecture for text engineering), developed by the NLP research group at the University of Sheffield [4]. GATE is built on Java and provides, besides the framework, a general architecture that describes how language processing components connect to each other, as well as a graphical environment. GATE is freely available and is primarily used for text mining and information extraction.
Every programming language and framework has its own strengths and weaknesses. For this article, we chose to use Python because it possesses a number of advantages over the other programming languages, such as high readability, an easy to use object-oriented paradigm, easy extensibility, strong Unicode support, and a powerful standard library. It is also extremely robust and efficient, and has been used in complex and large-scale NLP projects such as a state-of-the-art machine translation decoder [2].
Conclusions
Natural language processing is a very active field of research and attracts many graduate students every year. It allows for a coherent study of human language from the vantage points of several disciplines: linguistics, psychology, computer science, and mathematics.
Another, perhaps more important, reason for choosing NLP as an area of graduate study, is the sheer number of very interesting problems with well-established constraints, but no general solutions. For example, the original problem of machine translation that spurred the growth of the field remains, even after two decades of intriguing and active research, one of the hardest problems to solve.
There are several other cutting-edge areas in NLP that currently draw a large amount of research activity. It would be informative to discuss a few of them here:
Syntax-based machine translation: For the past decade or so, most of the research in machine translation has focused on using statistical methods on very large corpora to learn translations of words and phrases. However, more and more researchers are starting to incorporate syntax into such methods [10].
Automatic multi-document text summarization: There are a large number of efforts underway to use computers to automatically generate coherent and informative summaries for a cluster of related documents [8]. This task is considerably more difficult compared to generating a summary for a single document, because there may be redundant information present across multiple documents.
Computational parsing: Although the problem of using probabilistic models to automatically generate syntactic structures for a given input text has been around for a long time, there are still significant improvements to be made. The most challenging task is to be able to parse, with reasonable accuracy, languages that exhibit very different linguistic properties when compared to English, such as Chinese and Arabic [7].
Python and the natural language toolkit (NLTK) allow any programmer to get acquainted with NLP tasks easily without having to spend too much time on gathering resources. This article is intended to make this task even easier by providing working examples and references for anyone interested in learning about NLP.
References
- 1
- Bikel, Dan. On the Parameter Space of Generative Lexicalized Statistical Parsing Models. PhD Thesis. 2004. <>
- 2
- Chiang, David. A hierarchical phrase-based model for statistical machine translation. Proceedings of ACL. 2005.
- 3
- Church, Kenneth W. and Hanks, Patrick. Word association norms, mutual information, and lexicography. Computational Linguistics, 16(1). 1990.
- 4
- Cunningham, H., Maynard D., Bontcheva K. and Tablan V. GATE: A Framework and Graphical Development Environment for Robust NLP Tools and Applications. Proceedings of the 40th Anniversary Meeting of the Association for Computational Linguistics (ACL'02). 2002.
- 5
- Hart, Michael and Newby, Gregory. Project Gutenberg. <>
- 6
- Kucera, H. and Francis, W. N. Computational Analysis of Present-Day American English. Brown University Press, Providence, RI. 1967.
- 7
- Levy, Roger and Manning, Christopher D. Is it harder to parse Chinese, or the Chinese Treebank ? Proceedings of ACL. 2003.
- 8
- Radev, Dragomir R. and McKeown, Kathy. Generating natural language summaries from multiple on-line sources. Computational Linguistics. 24:469-500. 1999.
- 9
- Ratnaparkhi, Adwait. A Maximum Entropy Part-Of-Speech Tagger. Proceedings of Empirical Methods on Natural Language Processing. 1996.
- 10
- Wu, Dekai and Chiang, David. Syntax and Structure in Statistical Translation. Workshop at HTL-NAACL 2007.
- 11
- The Official Python Tutorial. <>
- 12
- Natural Language Toolkit.>
- 13
- NLTK Tutorial. <>
Biography
Nitin Madnani is a PhD student in the Department of Computer Science at the University of Maryland, College Park. He works as a graduate research assistant with the Institute for Advanced Computer Studies and works in the area of statistical natural language processing, specifically machine translation and text summarization. His programming language of choice for all tasks, big or small, is Python. | http://www.acm.org/crossroads/xrds13-4/natural_language.html | crawl-002 | refinedweb | 2,829 | 53.21 |
Dear all,
I am trying to make a plot with errorbars and upperlimits.
I’ve found the following pylab example and it works fine both on a Mac OSX10.6 with python 2.6.1 and on Kubuntu 10.04 with python 2.6.5.
I’ve tried the to reproduce the example using matplotlib.pyplot but the limits do not show up, regardless of syntax or system (matplotlib 1.0.0 on Mac and 1.0.1 on Kubuntu)
I attach a sample code which does not work.
import numpy as np
import matplotlib.pyplot as plt
#create function to plot plus random error
x = np.linspace(0,3,100)
y = np.sin(x)
err = np.random.random(100)
plt.errorbar(x,y, yerr=err, color=‘g’,linestyle=‘None’,xuplims=True)
plt.show()
Does anyone know how to solve this problem?
Thanks in advance,
Francesco | https://discourse.matplotlib.org/t/limits-with-errorbar/14944 | CC-MAIN-2021-43 | refinedweb | 146 | 72.73 |
Interface with stock price data feed JP Morgan Chase Module 1
Hello everyone, i'm a java developer who is trying to solve a python challenge from JP Morgan. I'm stuck in module 1 trying to update this method. Please if you're familiar with this project, please how do i update this method ? Thanks for your help in advance.
def getDataPoint(quote):
stock = quote[stock]
bid_price = float(quote['top_bid'])
ask_price = float(quote['top_ask'])
price = bid_price
return stock, bid_price, ask_price, stock
I don't know what the goal of the project is, so I have no idea if it'll work or not.
Hi, @Vandesm14 This is the task - (Task starts here) -> A trader would like to be able to monitor two historically correlated stocks and be able to visualize when the correlation between the two weakens (i.e. one stock moves proportionally more than the historical correlation would imply). This could indicate a potential trade strategy to simultaneously buy the relatively underperforming stock and sell the relatively outperforming stock. Assuming the two prices subsequently converge, the trade should be profitable <- (Task ends here)
This method def getDataPoint(quote) is to "Produce all of the needed values to generate a datapoint" and i am to update this function.
I'm getting data feed from JP Morgan server but am stuck on how to update this method. Thanks for any help. | https://replit.com/talk/ask/Interface-with-stock-price-data-feed-JP-Morgan-Chase-Module-1/22525 | CC-MAIN-2021-25 | refinedweb | 231 | 59.94 |
#include <interp_defs.h>
List of all members.
This structure contains a set of operations specific for the Java stack.
The empty constructor.
The destructor.
Initializes the stack of a method.
Returns the reference to the value on the top of the stack.
Sets and resets the value to the object reference.
Only moves the stack pointer.
Decreases the stack pointer.
By default, decreases the pointer by one step or as specified in size.
Sets the value of an object of the
Long or
Double type contained in two adjacent stack elements.
Returns the
Long value located at the depth specified by idx.
Longvalue.
Clears the stack.
Returns the size of the allocated stack area by the elements' size.
Returns the number of elements on the stack.
Enumerates references associated with the thread.
Enumerates references associated with the thread.
Genereated on Tue Mar 11 19:25:37 2008 by Doxygen.
(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable. | http://harmony.apache.org/subcomponents/drlvm/doxygen/interpreter/html/class_stack.html | CC-MAIN-2015-18 | refinedweb | 162 | 62.54 |
This article discusses a built-in function in Python, eval.
It is an interesting hack/utility in Python which lets a Python program run Python code within itself.
The eval() method parses the expression passed to it and runs python expression(code) within the program.
The syntax of eval is:
eval(expression, globals=None, locals=None)
- expression: this string is parsed and evaluated as a Python expression
- globals (optional): a dictionary to specify the available global methods and variables.
- locals (optional): another dictionary to specify the available local methods and variables.
Let us explore it with the help of a simple Python program:
function_creator is a function which evaluates the mathematical functions created by user.
Consider an output:
Enter the function(in terms of x):x*(x+1)*(x+2) Enter the value of x:3 y = 60
Let us analyze the code a bit:
- The above function takes any expression in variable x as input.
- Then user has to enter a value of x.
- Finally, we evaluate the python expression using eval() built-in function by passing the expr as argument.
Vulnerability issues with eval
Our current version of function_creator has a few vulnerabilities.
The user can easily expose hidden values in the program, or call a dangerous function as eval will execute anything passed to it.
For example, if you input like this:
Enter the function(in terms of x):secret_function() Enter the value of x:0
You will get output:
y = Secret key is 1234
Also, consider the situation when you have imported os module in your python program. The os module provides portable way to use operating system functionalities like: read or write a file. A single command can delete all files in your system!
Of course in most cases (like desktop programs) the user can’t do any more than they could do by writing their own python script, but in some applications (like web apps, kiosk computers), this could be a risk!
The solution is to restrict eval to only the functions and variables we want to make available.
Making eval safe
eval function comes with the facility of explicitly passing a list of functions or variables that it can access. We need to pass it as argument in the form of a dictionary.
Consider the example below:
Now if we try to run above program like:
Enter the function(in terms of x):secret_function() Enter the value of x:0
We get output:
NameError: name 'secret_function' is not defined
Let us analyze above code step by step:
- First of all, we create a list of methods we want to allow as safe_list.
- Next, we create a dictionary of safe methods. In this dictionary, keys are the method names and values are their local namespaces.
safe_dict = dict([(k, locals().get(k, None)) for k in safe_list])
locals() is a built-in method which returns a dictionary which maps all the methods and variables in local scope with their namespaces.
safe_dict['x'] = x
Here, we add local variable x to the safe_dict too. No local variable other than x will get identified by eval function.
- eval accepts dictionaries of local as well as global variables as arguments. So, in order to ensure that none of the built-in methods is available to eval expression, we pass another dictionary along with safe_dict as well, as shown below:
y = eval(expr, {"__builtins__":None}, safe_dict)
So, in this way, we have made our eval function safe from any possible hacks!
Uses of eval
eval is not much used due to security reasons as we explored above.
Still, it comes handy in some situations like:
- You may want to use it to allow users to enter their own “scriptlets”: small expressions (or even small functions), that can be used to customize the behavior of a complex system.
- eval is also sometimes used in applications needing to evaluate math expressions. This is much easier than writing an expression parser.
This blog is contributed by Nikhil Kumar.. | https://tutorialspoint.dev/language/python/eval-in-python | CC-MAIN-2021-21 | refinedweb | 666 | 59.74 |
Sharing Ionic 2 Code Between Projects
Ionic 2 includes many components and native wrappers out of the box. However, you will probably want to share some of your own code between projects if you are working on more than one of them and they are at least remotely similar. Since Ionic 2 builds on top of Angular, shared modules are the right tool for the job.
Using NPM Packages
Although the official template for creating Ionic 2 modules isn't regularly maintained, it's still not difficult to get it running using the instructions from the repository. The following hints might help you expedite the process even more:
If you're using Windows, replace
rm -rfin build script with its Node based cross-platform equivalent
rimraf. Install the package first with
npm install rimraf --save-dev, then change the script in
package.jsonto:
"build": "rimraf aot dist && npm run ngc"
To test the package locally before publishing it to npm, use
npm packinstead of
npm publish. You can install generated package in your application by passing its relative path to npm:
npm install ../module/ionic-module-template-0.0.12.tgz --save.
To avoid issues in the future, you should update the module package dependencies to match the versions of their counterparts in your application. You can simply change the versions in module's
package.jsonand run
npm installafterwards.
While the approach works from the technical standpoint, I can't say the same for the development process it imposes. I don't like how it doesn't support putting the component template into a separate file, but I could live with that. The main problem is the long feedback loop for any changes to the module. Live reload doesn't work. The shared package needs to be rebuilt and reinstalled. For a mostly stable module that's not a problem, but if you plan to develop it in parallel with the app, it's going to slow you down a lot. Using
npm link might help, but I had problems getting the sample to work and found it quite complex to set up reliably for the typical scenario with individual applications and the shared module in separate repositories.
Using Git Submodules
In the end, I decided for a less formal alternative approach, using git submodules. I abandoned the separate build process for the module in favor of directly including the sources in each application:
- In the shared module repository, there are only files from the
srcfolder of the official module template.
- In each application's
srcfolder I added a
modulessubfolder and initialized the shared module repository as a git submodule there:
git submodule add src/modules/common.
This way, the shared module will be compiled together with the rest of the application code and live reload will work as intended. Any shared module unit tests will be run together with each application's unit tests, as well. To reference the module from the application code, path to its source must now be specified:
import { MyModule } from '../modules/common';
The setup allows me to transparently develop the module in parallel to the application(s). Using the many git submodules operations, I can decide how to handle and potentially branch the changes in the module, and which version (i.e. commit) of the module I want to reference in each application at any point in time.
There are also disadvantages to this approach:
- There is no standalone build and test process for the module. Its correctness can only be evaluated when it is used from within another application.
- The module has no
package.jsonfile to track external dependencies. They must be installed into each individual application, or the build will fail. However failed import statements usually give a very good hint about the missing package that needs to be installed.
Yes, the solution isn't perfect, but I can live with it and I like it better than any of the alternatives I tried. | http://www.damirscorner.com/blog/posts/20170407-SharingIonic2CodeBetweenProjects.html | CC-MAIN-2017-43 | refinedweb | 662 | 52.6 |
We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I am new to Processing.
I am working on a code that so far is able to open an gmail account using POP3 and projects a video according to the subject text.
Using only the 'subject' I have been able to modify the PATH value of the next expression,
movies = new Movie (this, PATH0)
So when running the program, it opens the gmail account, takes only the subject content and projects a video according to the PATH value.
if (subject.equals("1")){ movies = new Movie (this, PATH01); } else if (subject.equals("2")) { movies = new Movie (this, PATH02); } //and so on
What I want to do is to call for the function that checks the email checkMail() right after every video is finished. And in consequence of checking again the email account, the program must project a new video, if the subject line of the email is new or different.
The loop I created has worked badly.
//project movie and loop void draw() { background(255); if (movies.available()) { movies.read(); } image(movies, 0, 0); float md = movies.duration(); float mt = movies.time(); int a = int(md); int b = int(mt); if (a == b) { movies.stop(); checkMail(); movies.play(); } }
It seams to be quite unstable, it opens the email and changes the video about 15 times, no more than that! I have run it too many times... It stops checking the email after the video is finished. If you noticed the checkMail() is part of the setup(), so I am aware that this could be problematic, to call again a function that is in the setup(), but it seems to work, at least a few times. How can I make it run again?
I hope I made myself clear of what I want to do.
Your help will be very very much appreciated, I loosing my mind here...
~~~~~~ HERE IS THE ENTIRE CODE, including the authorizing and opening the gmail account.
// Under the main tab
import processing.video.*; String PATH00 = "/Users/Documents/Videos/00.mp4"; String PATH01 = "/Users/Documents/Videos/01.mp4"; String PATH02 = "/Users/Documents/Videos/02.mp4"; String PATH03 = "/Users/Documents/Videos/03.mp4"; String PATH04 = "/Users/Documents/Videos/04.mp4"; Movie movies; void setup() { // Function to check mail checkMail(); //create canvas size(1280,720,P2D); frameRate(24); movies.play(); movies.speed(1); movies.volume(1); } //project movie and loop void draw() { background(255); if (movies.available()) { movies.read(); } image(movies, 0, 0); float md = movies.duration(); float mt = movies.time(); int a = int(md); int b = int(mt); if (a == b) { movies.stop(); checkMail(); movies.play(); } } // gmail authorizing tab //Simple Authenticator import javax.mail.*; import javax.mail.internet.*; import java.util.*; import javax.mail.Authenticator; import javax.mail.PasswordAuthentication; public class Auth extends Authenticator { public Auth() { super(); } public PasswordAuthentication getPasswordAuthentication() { String username, password; username = "YOUREMAIL@gmail.com"; password = "YOURPASSWORD"; System.out.println("Authenticating... "); return new PasswordAuthentication(username, password); } } // under the tab MAIL void checkMail() { try { Properties props = System.getProperties(); props.put("mail.pop3.host", "pop.gmail.com"); // These are security settings required for gmail props.put("mail.pop3.port", "995"); props.put("mail.pop3.starttls.enable", "true"); props.setProperty("mail.pop3.socketFactory.fallback", "false"); props.setProperty("mail.pop3.socketFactory.class","javax.net.ssl.SSLSocketFactory"); // Create authentication object Auth auth = new Auth(); // Make a session Session session = Session.getDefaultInstance(props, auth); Store store = session.getStore("pop3"); store.connect(); // Get inbox Folder folder = store.getFolder("INBOX"); folder.open(Folder.READ_ONLY); System.out.println(folder.getMessageCount() + " total messages."); // Get array of messages and display them Message message[] = folder.getMessages(); for (int i=0; i < message.length; i++){ System.out.println("---------------------"); System.out.println("Message # " + (i+1)); System.out.println("Message: " + message[i].getSubject()); String content = (message[i].getSubject()); if (content.equals("0")){ movies = new Movie (this, PATH00); } else if (content.equals("1")){ movies = new Movie (this, PATH01); } else if (content.equals("2")){ movies = new Movie (this, PATH02); } else if (content.equals("3")){ movies = new Movie (this, PATH03); } else if (content.equals("4")){ movies = new Movie (this, PATH04); } } catch (NoSuchProviderException e) { e.printStackTrace(); } catch (MessagingException e) { e.printStackTrace(); } catch (Exception e) { e.printStackTrace(); } }
See How to format code and text for formatting code (keyboard shortcut is currently Ctrl+O).
First thing I would try is to see if a is never equal to b. You could just add println(a, b); at the end of the draw loop to see what the values are.
@whitepapel:: i have made something like you want. ---Sometimes there are problems to know wether duration==time, dont know why, depends of the video itself; in order to be sure i have also used another library than processing, which has a "isPlaying()" method, codeanticode.gsvideo lib. Results are much sure. --- my code is not the same as yours: i create a method for checkMail, out of set up; ----i use imap and not pop3 ----i have my video paths in a String[] ----i have my keywords in a String[] and everything is ok....till now.... | https://forum.processing.org/two/discussion/9390/looping-a-list-of-videos-setup-function-how-to-open-a-gmail-account-pop3 | CC-MAIN-2019-47 | refinedweb | 846 | 60.92 |
frexp, frexpf, frexpl - convert floating-point number to fractional and integral components
#include <math.h> double frexp(double x, int *exp); float frexpf(float x, int *exp); long double frexpl(long double x, int *exp); Link with -lm. Feature Test Macro Requirements for glibc (see feature_test_macros(7)): frexpf(), frexpl(): _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE >= 600 || _ISOC99_SOURCE; or cc -std=c99
The frexp() function is used to split the number x into a normalized fraction and an exponent which is stored in exp.
The frexp() function returns the normalized fraction. If the argument x is not zero, the normalized fraction is x times a power of two, and its absolute value is always in the range 1/2 (inclusive) to 1 (exclusive), that is, [0.5,1). If x is zero, then the normalized fraction is zero and zero is stored in exp. If x is a NaN, a NaN is returned, and the value of *exp is unspecified. If x is positive infinity (negative infinity), positive infinity (negative infinity) is returned, and the value of *exp is unspecified.
No errors occur. -4 frexp(-4, &e) = -0.5: -0.5 * 2^3 = -4 Program source #include <math.h> #include <float.h> #include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { double x, r; int exp; x = strtod(argv[1], NULL); r = frexp(x, &exp); printf("frexp(%g, &e) = %g: %g * %d^%d = %g\n", x, r, r, FLT_RADIX, exp, x); exit(EXIT_SUCCESS); } /* main */
ldexp(3), modf(3)
This page is part of release 3.24 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at. 2008-10-29 | http://huge-man-linux.net/man3/frexp.html | CC-MAIN-2018-26 | refinedweb | 278 | 56.86 |
This blog will discuss features about .NET, both windows and web development.
When setting up class inheritance, you may have seen the error that the method or property is undefined. This results from the fact that a property or method exists in the base class, or is not explicitly defined or overridden in the derived class. This will result from not calling initializeBase in the constructor. By adding this in and making the code look like the following:
function TerminatedBankState() {
TerminatedBankState.initializeBase(this);
}
TerminatedBankState.prototype = { .. }
TerminatedBankState.registerClass("TerminatedBankState", BaseBankState);
The instance of the terminated bank state object now has references to the properties and methods from the BaseBankState object.
Sorry for the long title, but I wanted to post about some of the differences between the controls and extenders client component's client state, which are defined for AjaxControlToolkit.ControlBase and AjaxControlToolkit.BehaviorBase on the client. In developing an AJAX Control Toolkit control, I've come to find some of the differences. One of the key differences is with client state.
Client State is a hidden field mechanism that stores data about the current state of the AJAX control. For an AJAX control toolkit extender that supports client state, on the client the get_ClientState and set_ClientState properties are avaialble to read/write data to this hidden variable. This works really easily on the client, plus it allows the server to access the value through the ClientState property, and load/save the client state value.
For a control, however, a control developer needs to override the SupportsClientState property, and return true. Furthermore, there are no equivalent properties on the client. Instead, the get_clientStateField and set_clientStateField get and set the reference to the field, so it's possible to read and write the values using this reference through get_clientStateField().value. This only works if SupportsClientState is set to true. Controls also have to use the LoadClientState and SaveClientState methods to load/save state. State is loaded whenever LostPostData occurs and saved when the hidden field is registered.
Another interesting variation is that the control base class uses the ScriptManager's RegisterHiddenField, whereas the extender creates its own hidden field reference so that the developer can work directly with the ClientState property.
One of the errors that frustrated me when developing AJAX controls was when I got <Namespace> is undefined, even though the script appeared to be correct. I couldn't figure it out right away because the class was registered correctly and the namespace was defined properly as well. So what could be the issue?
To help make AJAX development easier, I use a CodeSmith script to generate the shell AJAX component code, which works really well. This time when I got the error, it was for a component I created manually without the script. As soon as I replaced my code with the CodeSmith template generation code, the component began to work.
What this means is that while sometimes the error may be a missing component reference (like the System.Web.Extensions assembly or the AJAX Control TOolkit dll), more often the issue could be an issue with the formatting of your script, like a missing comma or curly brace, something like that. Something small that even VS wasn't picking up with its limited error checking.
So, a word of caution: write your script, and check it twice.
Every AJAX control or extender you build has an ID on the client, accessible through get_id and set_id. This ID is a unique ID and doesn't have to match the ID of the control it's given on the server, but the script registration process ensures that the server and client match. So, using the ID, $find can reference the client component of any AJAX control on the page like so:
<script language="javascript" type="text/javascript">function pageLoad(){ var tabs = $find("<%= tc.ClientID %>"); //do something}</script>
<ajax:TabContainer <!-- Tab Panels --></ajax:TabContainer>
The client component has a handy set of features, such as getting or setting the active tab index (through get_activeTabIndex and set_activeTabIndex) or polling the collection of tabs. Each AJAX component has a client architecture you can take advantage of; it may take some getting used to that fact, but if you dig through the AJAX control toolkit code available on, you'll learn more about what is available to you on the client.
I may have mentioned somewhere in my blog that AJAX components go through a process of describing the properties and events (at least) so that the server component can push down values to the client. This process happens in the GetScriptDescriptors method. The ScriptDescriptor,which has three deriviatives, notes a component's properties and events by using the following approach:
ScriptBehaviorDescriptor descriptor = new ScriptBehaviorDescriptor("<full client class name>", targetControl.ClientID);descriptor.AddProperty("highlightCellOnMouseOver", this.HighlightCellOnMouseOver);descriptor.AddProperty("highlightRowOnMouseOver", this.HighlightRowOnMouseOver);
return new ScriptDescriptor[] { descriptor };
Notice a few things: first off, the AJAX component I'm creating is a custom extender. You can tell this because I used ScriptBehaviorDescriptor (I would have used ScriptControlDescriptor for an AJAX control). The AddProperty method adds properties for the description process; in this way, the AddProperty method passes along a value established on the server to the client, to act as a default value of sorts.
In reality, on the client side those properties have the following definition:
get_highlightCellOnMouseOver : function(){ return this._highlightCellOnMouseOver;},
set_highlightCellOnMouseOver : function(value){ if (this._highlightCellOnMouseOver != value) { this._highlightCellOnMouseOver = value; this.raisePropertyChanged("highlightCellOnMouseOver"); }},
get_highlightRowOnMouseOver : function(){ return this._highlightRowOnMouseOver;},
set_highlightRowOnMouseOver : function(value){ if (this._highlightRowOnMouseOver != value) { this._highlightRowOnMouseOver = value; this.raisePropertyChanged("highlightRowOnMouseOver"); }},
So theoretically they can be changed during the client's lifecycle, but at least a default value is established on the server..
Although the presentation is already done, the powerpoint and code samples I used for a presentation on AJAX custom controls and extenders is available on the Central Penn's .NET user group web site at: in the downloads section.
The Central Penn .NET user group is a group for the central Pennsylvania that discusses anything .NET related. They have some good speakers at their presentations, so if you get a chance, come on out the third Tuesday of the month. You may catch me presenting again sometime in the future; I am planning on speaking for their Code Camp the first Saturday of December.
If you've worked with the AutoCompleteExtender, you know that the extender returns a nice drop down list that only contains items with the keywords entered. As you type more and more characters, the results in the list are filtered by the characters currently entered, until the item sought after is the only one left, or no items are left.
Personally, I had a really hard time getting this to work, and what I didn't realize is that the service requires a specific layout. This layout should be in the form:
[WebMethod]public string[] GetAutoCompleteResults(string prefixText, int count) { }
or, if using a context key:
[WebMethod]public string[] GetAutoCompleteResults(string prefixText, int count, string contextKey) { }
Then the AutoCompleteExtender can hook up to the service and call this method, providing real-time filtered.
Link to us
All material is copyrighted by its respective authors. Site design and layout
is copyrighted by DotNetSlackers.
Advertising Software by Ban Man Pro | http://dotnetslackers.com/Community/blogs/bmains/archive/2008/08.aspx | crawl-003 | refinedweb | 1,209 | 53.31 |
On Wed, Nov 11, 2009 at 12:45:55PM +0100, Farkas Levente wrote: > On 11/11/2009 10:58 AM, Manuel Wolfshant wrote: > > F= > > > > I ? > > the difference is that on fedora the distro itself contains these macro > while on rhel it's an external addon package. > Note: You can also check for the absence of %{fedora} macros in cases where no RHEL release will support the feature. So: %if 0%{?fedora} < 1 ExcludeArch: ppc ppc64 %endif When RHEL6 comes out you'll need to update the macro but -- it could be that there still won't be the needed support on ppc or it could be that RHEL6 defines the %rhel macros so it might not be an issue. -Toshio
Attachment:
pgpGBs7jqYNts.pgp
Description: PGP signature | http://www.redhat.com/archives/epel-devel-list/2009-November/msg00035.html | CC-MAIN-2014-52 | refinedweb | 126 | 80.01 |
hi could anyone let me know an efficient way to measure time?
e.g. i want my program to stay in a loop for exactly 20 seconds, what would be the best way to do that?
thanks.
Printable View
hi could anyone let me know an efficient way to measure time?
e.g. i want my program to stay in a loop for exactly 20 seconds, what would be the best way to do that?
thanks.
Before starting the loop, get and save the current system time. This is your start time. Then, everytime through the loop, get the current system time and compare it to the start time. I won't tell you what methods to use because every system and OS have different ways of getting and representing the system time.
PK
If you need more help, state your OS and compiler and if you really need "exactly" 20 seconds or just really close to it.
gg
Code:
#include<time.h>
...
time_t end = time(0)+20;
while(time(0)<end){
//your loop
}
>>+20
There are no arithmetic properties defined for type time_t. You should use difftime().
gg
ah?!?! :eek: :eek:ah?!?! :eek: :eek:Quote:
Originally Posted by Codeplug
...
from time.h
What did you say?? :o :o :oWhat did you say?? :o :o :oCode:
/* Define the implementation defined time type */
#ifndef _TIME_T_DEFINED
typedef long time_t; /* time value */
#define _TIME_T_DEFINED /* avoid multiple def's of time_t */
#endif
Busted! :D
Once again, I quote Prelude: "My compiler does this" != "The standard says this". I can't tell you what the standard says about the subject, but quoting your compiler's source code is no proof that you are correct... For all you know, on another compiler/system, time_t may be a struct or union, or even a pointer. While in the former cases you'd have a compiler error to catch you, in the latter case you would end up with a nasty bug that would be incredibly difficult to find, especially if you assume that time_t is just a long and therefore eliminate it as a potential problem.
**EDIT**
>>/* Define the implementation defined time type */
This strongly supports my argument. It means that any compiler-writer is free to implement the time_t however they wish, as long as it functions in the same way that the standard defines.
Actually, the standard states that time_t is an arithmetic type.
Quote:
typedef a-type time_t;
The type is the arithmetic type a-type of an object that you declare to hold the value returned by time. The value represents calendar time.
Draw your own conclusions.
gg
another standard holy-war, but I think Prelude answered it best (as she usually does):
Quote:
Originally Posted by Prelude
time
Syntax
#include <time.h>
time_t time(time_t *t);
Description
If t is not NULL, the current time is stored in *t.
Return Value
The current time is returned.
Portability
ANSI, POSIX
Example
printf("Time is %d\n", time(0));
I sincerely doubt that anyone you be smart enough to write a time funtion, with the standard prototipe that doesn't manipulate time_t as long. NOTE that time(...) return the time. structs can't be returned em C, although this is C++, and I'm not aware of any time.h for C++ or <time> that might have a struct declaration for time_t.
If you don't care about portability or adhering to the standard, then do whatever works.
And you can return structs in C and C++.
gg
<time.h> provides the user tools for manipulating dates and time.
(...)
clock_t: An arithmetic type representing times.
time_t: An arithmetic type representing times.
struct tm: A datatype capable of holding the components of a calendar time. It has at least the following members that the user of the library may access:st (0..365)
int tm_isdst: Daylight Saving Time flag. This flag will be positive if Daylight Savings Time is in effect, and zero if not. If the information is not available, tm_isdst is negative.
(...)
Who said structs can't be returned in C++??
On DJGPP <sys\djtypes.h>
typedef unsigned int time_t;
All I find are arithmetic definitions of time_t.
Please post a link with a time_t definition diferent from the integer one.
either way, running a loop and checking with ever iteration eats your processor time like you wouldn't believe, and you can't do anything outside the loop while it's running (unless you spawn another thread), but since it seems like you want to work inside the loop anyway, code on! | http://cboard.cprogramming.com/cplusplus-programming/57574-measuring-time-printable-thread.html | CC-MAIN-2014-41 | refinedweb | 760 | 73.78 |
Unless I'm mistaken, creating a function in Python works like this:
def my_func(param1, param2): # stuff
However, you don't actually give the types of those parameters. Also, if I remember, Python is a strongly typed language, as such, it seems like Python shouldn't let you pass in a parameter of a different type than the function creator expected. However, how does Python know that the user of the function is passing in the proper types? Will the program just die if it's the wrong type, assuming the function actually uses the parameter? Do you have to specify the type?.
The other answers have done a good job at explaining duck typing and the simple answer by tzot:
Python does not have variables, like other languages where variables have a type and a value; it has names pointing to objects, which know their type.
However, one interesting thing has changed since 2010 (when the question was first asked), namely the implementation of PEP 3107 (implemented in Python 3). You can now actually specify the type of a parameter and the type of the return type of a function like this:
def pick(l: list, index: int) -> int: return l[index]
We can here see that
pick takes 2 parameters, a list
l and an integer
index. It should also return an integer.
So here it is implied that
l is a list of integers which we can see without much effort, but for more complex functions it can be a bit confusing as to what the list should contain. We also want the default value of
index to be 0. To solve this you may choose to write
pick like this instead:
def pick(l: "list of ints", index: int = 0) -> int: return l[index]
Note that we now put in a string as the type of
l, which is syntactically allowed, but it is not good for parsing programmatically (which we'll come back to later).
It is important to note that Python won't raise a
TypeError if you pass a float into
index, the reason for this is one of the main points in Python's design philosophy: "We're all consenting adults here", which means you are expected to be aware of what you can pass to a function and what you can't. If you really want to write code that throws TypeErrors you can use the
isinstance function to check that the passed argument is of the proper type or a subclass of it like this:
def pick(l: list, index: int = 0) -> int: if not isinstance(l, list): raise TypeError return l[index]
More on why you should rarely do this and what you should do instead is talked about in the next section and in the comments.
PEP 3107 does not only improve code readability but also has several fitting use cases which you can read about here.
Type annotation got a lot more attention in Python 3.5 with the introduction of PEP 484 which introduces a standard module for type hints.
These type hints came from the type checker mypy (GitHub), which is now PEP 484 compliant.
With the typing module comes with a pretty comprehensive collection of type hints, including:
List,
Tuple,
Set,
Map- for
list,
tuple,
setand
maprespectively.
Iterable- useful for generators.
Any- when it could be anything.
Union- when it could be anything within a specified set of types, as opposed to
Any.
Optional- when it might be None. Shorthand for
Union[T, None].
TypeVar- used with generics.
Callable- used primarily for functions, but could be used for other callables.
These are the most common type hints. A complete listing can be found in the documentation for the typing module.
Here is the old example using the annotation methods introduced in the typing module:
from typing import List def pick(l: List[int], index: int) -> int: return l[index]
One powerful feature is the
Callable which allows you to type annotate methods that take a function as an argument. For example:
from typing import Callable, Any, Iterable def imap(f: Callable[[Any], Any], l: Iterable[Any]) -> List[Any]: """An immediate version of map, don't pass it any infinite iterables!""" return list(map(f, l))
The above example could become more precise with the usage of
TypeVar instead of
Any, but this has been left as an exercise to the reader since I believe I've already filled my answer with too much information about the wonderful new features enabled by type hinting.
Previously when one documented Python code with for example Sphinx some of the above functionality could be obtained by writing docstrings formatted like this:
def pick(l, index): """ :param l: list of integers :type l: list :param index: index at which to pick an integer from *l* :type index: int :returns: integer at *index* in *l* :rtype: int """ return l[index]
As you can see, this takes a number of extra lines (the exact number depends on how explicit you want to be and how you format your docstring). But it should now be clear to you how PEP 3107 provides an alternative that is in many (all?) ways superior. This is especially true in combination with PEP 484 which, as we have seen, provides a standard module that defines a syntax for these type hints/annotations that can be used in such a way that it is unambiguous and precise yet flexible, making for a powerful combination.
In my personal opinion, this is one of the greatest features in Python ever. I can't wait for people to start harnessing the power of it. Sorry for the long answer, but this is what happens when I get excited.
An example of Python code which heavily uses type hinting can be found here. | https://pythonpedia.com/en/knowledge-base/2489669/function-parameter-types-in-python | CC-MAIN-2020-29 | refinedweb | 972 | 63.32 |
Red Hat Bugzilla – Bug 81037
rhn-applet.-gui does not work
Last modified: 2008-05-01 11:38:04 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U;) Gecko/20021216
Description of problem:
It has really not worked since mid december (i.e. Raw Hide). A full phoebe
upgrade did not help, either. I've updated to latest Raw Hide of rhn*, pygtk2,
pyorbit, gnome-python2* and pygtk2, plus pythin, FWIW. The error it reports in
its current state is:
# rhn-applet-gui
Traceback (most recent call last):
File "/usr/bin/rhn-applet-gui", line 16, in ?
import rhn_utils
File "/usr/bin/../share/rhn/rhn_applet/rhn_utils.py", line 17, in ?
from rhn_applet_rpm import rhnAppletRPM
File "/usr/bin/../share/rhn/rhn_applet/rhn_applet_rpm.py", line 10, in ?
import rpm
ImportError: /usr/lib/python2.2/site-packages/rpmmodule.so: undefined symbol:
rpmfiFColor
I've seen different problems earlier.
Also, there is no rhn_applet_gui in the gnome "Add to Panel" menu.
Version-Release number of selected component (if applicable):
How reproducible:
Always
Steps to Reproduce:
1. Run rhn-applet-gui.
Additional info:
Version are:
rhnlib-1.0-1
rhn-applet-2.0.6-1
I have not actually seen it "working" (giving notification of new packages)
but in any case it is not stable. You can start 'rhn-applet-gui' and the
button appears on the panel and can be configured. But it does not survive
X restarts and reboots (the button disappears from the panel and does not
reappear later like the other icons/buttons).
After a new 'rhn-applet-gui' command two buttons appear on the panel.
The original (blue with tick mark) reappears and a new green one also appears.
This is on phoebe 2 with all the updates (up2date).
I cannot reproduce this:
1/ installed beta 2, rhn-applet was missing from the comps file
this is fixed now but as a result it wasn't installed by default.
2/ I upgraded to the latest version using up2date
3/ I installed rhn-applet using up2date
4/ rebooted to get a fresh install as would have resulted from
a clean install.
From there:
5/ login in Gnome, the applet shows up in the panel, asking for
action (red blinking)
6/ went through the couple of registration steps
7/ then the applet made the network connection (green) for 20 secs
8/ as no updates were needed it turned blue as expected.
9/ logged out and relogged in to check the behaviour
10/ the applet started and kept blue as expected since no update are available
Works for me !
Daniel
I did precisely the same as in your steps 1/, 2/, 3/ and 4/.
(except that I did not immediately reboot. I first finished some things I
was busy with and then shut down the laptop. The things I finished had nothing
to do with up2date or rhn or rhn-applet)
When I rebooted the next day and entered gnome the (red) rhn-applet did NOT
show up on the panel.
Looking around I discovered a curious (green) rhn-applet entry in 'System Tools'
with which you could do essentialy nothing.
So I started the rhn-applet from the command line (just like under RH-8.0
whenever it had accidentaly been removed from the panel).
This placed the applet on the panel but it was immediately the blue one.
And this one does not survive X restarts and reboots.
This doesn't sound like 100% correct behaviour to me. | https://bugzilla.redhat.com/show_bug.cgi?id=81037 | CC-MAIN-2017-17 | refinedweb | 585 | 64.91 |
There is no better way to learn something than to watch someone else do it1. So, if you have been waiting to go beyond the basics in Django, you have come to the right place.
In this video tutorial series, I would take you through building a social news site called “Steel Rumors” from scratch in Django 1.5. In case you don’t like videos and prefer to read the steps, you can find them here too.
Even though we will start from the basics, if you are an absolute beginner to Django, I would suggest reading the tutorial or my previous screencast on building a blog in 30 mins
The completed site would support user signups, link submissions, comments, voting and a cool ranking algorithm. My approach would be to use as many builtin Django features as possible and use external apps only when absolutely necessary.
Click on the image below to watch the screencast or scroll down to read the steps.
If you liked this tutorial, then you should sign up for my upcoming book “Building a Social News Site in Django”. It tries to explain in a learn-from-a-friend style how websites are built and gradually tackles advanced topics like database migrations and debugging.
Step-by-step Instructions
Here is the text version of the video for people who prefer to read. We are going to create a social news site similar to Hacker News or Reddit. It will be called “Steel Rumors” and would be a place to share and vote some interesting rumors about “Man of Steel”.
The outline of Part 1 of the screencast is:
- Objective
- VirtualEnv - Start from Scratch!
- Model Managers - Dream Job #78
- Basic Template
- Generic Views - ListView and DetailView
- Pagination - For free!
Setup Virtual Environment
We will create a virtual development environment using virtualenv and virtualenvwrapper. Make sure you have installed them first:
mkvirtualenv djangorocks
I use an Ubuntu variant called Xubuntu in my screencast. But you should be able to replicate these steps in other OSes with minimal changes.
Install Django (make sure you already have pip installed)
pip install Django==1.5
You can also use Django 1.5.1. The latest Django version may or may not work with our code, hence it is better to specify a version to follow this tutorial.
Create Project and Apps
Create a project called
steelrumors:
cd ~/proj django-admin.py startproject steelrumors cd steelrumors chmod +x manage.py
Open
steelrumors/settings.pyin your favourite editor. Locate and change the following lines (changes in bold):
~~~
- ‘ENGINE’: ‘django.db.backends.sqlite3‘
- ‘NAME’: ‘database.db’,
- At the end of INSTALLED_APPS = ( ‘django.contrib.admin’, ~~~
Next, change
steelrumors/urls.pyby uncommenting the following lines:
from django.conf.urls import patterns, include, url from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', url(r'^admin/', include(admin.site.urls)), )
Sync to create admin objects and enter the admin details:
./manage.py syncdb
Open a new tab or a new terminal and keep a server instance running (don’t forget to issue
workon djangorocksin this terminal):
./manage.py runserver
Visit the admin page (typically at) and login.
Create
linksapp:
./manage.py startapp links
Enter the following two model classes into
links/models.py:
from django.db import models from django.contrib.auth.models import User class class Vote(models.Model): voter = models.ForeignKey(User) link = models.ForeignKey(Link) def __unicode__(self): return "%s upvoted %s" % (self.voter.username, self.link.title)
Create the corresponding admin classes. Enter the following into
links/admin.py:
from django.contrib import admin from .models import Link, Vote class LinkAdmin(admin.ModelAdmin): pass admin.site.register(Link, LinkAdmin) class VoteAdmin(admin.ModelAdmin): pass admin.site.register(Vote, VoteAdmin)
Enter the following into
links/views.py:
from django.views.generic import ListView from .models import Link, Vote class LinkListView(ListView): model = Link
Insert following lines into
steelrumor/urls.py:
from links.views import LinkListView ... urlpatterns = patterns('', url(r'^$', LinkListView.as_view(), name='home'),
Create a new templates directory and enter the following at
steelrumors/templates/links/link_list.html:
<ol> {% for link in object_list %} <li> <a href="{{ link.url }}"> <b>{{ link.title }}</b> </a> </li> {% endfor %} </ol>
Edit
settings.pyto add our two apps to the end of INSTALLED_APPS = (
'links', 'steelrumors', )
Sync to create link objects:
./manage.py syncdb Visit and add a couple of Link objects. Now if you open you should see the added Links
Add Branding
Create a common base template at
steelrumors/templates/base.html:
<html> <body> <h1>Steel Rumors</h1> {% block content %} {% endblock %} </body> </html>
Modify
steelrumors/templates/links/link_list.htmland surround previous code with this:
{% extends "base.html" %} {% block content %} ... {% endblock %}
VoteCount Model Manager
We need a count of votes within our generic
ListView. Add these to
links/models.py:
from django.db.models import Count class LinkVoteCountManager(models.Manager): def get_query_set(self): return super(LinkVoteCountManager, self).get_query_set().annotate( votes=Count('vote')).order_by('-votes')
Insert these two lines into the Link class in
links/models.py:
class Link(models.Model): ... with_votes = LinkVoteCountManager() objects = models.Manager() #default manager
Edit
links/views.pyand insert these two lines into the
LinkListViewclass:
class LinkListView(ListView): ... queryset = Link.with_votes.all() paginate_by = 3
Crazy Fun
You can add 100 votes to random headlines using the following lines in the dj
In case, you are wondering if this version of the site would be useful, I would say that it works well for a private beta version. Any new user would have to be added by the admin interface manually. They must be of the staff kind if they have to login via the admin interface. Staff can vote by manually creating Vote objects.
The public facing part of the site can still show the top rumors based the votes received by the staff. Based on how well designed the templates are, this version could be also used to get feedback about the site’s design and branding.
That concludes Part 1. Follow me on Twitter at @arocks to get updates about the following parts.
Resources
- Full Source on Github (repository has changed!)
- This became very controversial. Most people learn best by doing it themselves. But they need to read/hear/see it first from someone. I am actually a self-taught programmer. I learnt most of programming from books and trying it myself. Learning by doing is certainly the best way to learn. But among source of learning, watching an expert is probably the best. [return] | https://arunrocks.com/building-a-hacker-news-clone-in-django-part-1/ | CC-MAIN-2018-51 | refinedweb | 1,073 | 61.12 |
I recently worked on a feature to be able to mask and unmask a password using some vanilla javascript, and I thought I'd share how I did this.
If you want to jump ahead and just see the code without the walkthrough, you can view the code on Codepen.
Step 1:
THE HTML:
Let's put some HTML together for a password field. In most instances that will form as part of a
form but in this case I'm just going to go ahead and only show the
div for the password.
<div> <label>Password</label> <div class="password-input-container"> <span class="eye-container js-password-visibility-toggle"> <span class="js-eye"> <svg width="22" height="18" viewBox="0 0 22 18" fill="none" xmlns=""> <path d="M11 0c5.392 0 9.878 3.88 10.819 9-.94 5.12-5.427 9-10.82 9C5.609 18 1.123 14.12.182 9 1.12 3.88 5.608 0 11 0zm0 16a9.005 9.005 0 0 0 8.777-7A9.005 9.005 0 0 0 2.223 9 9.005 9.005 0 0 0 11 16zm0-2.5a4.5 4.5 0 1 1 0-9 4.5 4.5 0 0 1 0 9zm0-2a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5z" fill="#64707D"/> </svg> </span> <span class="js-eye-off hidden"> <svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns=""> <path d="M16.882 18.297A10.95 10.95 0 0 1 11 20C5.608 20 1.122 16.12.18 11a10.982 10.982 0 0 1 3.34-6.066L.393 1.808 1.807.393l19.799 19.8-1.415 1.414-3.31-3.31zM4.935 6.35A8.965 8.965 0 0 0 2.223 11a9.006 9.006 0 0 0 13.2 5.838l-2.027-2.028A4.5 4.5 0 0 1 7.19 8.604L4.935 6.35zm6.979 6.978-3.242-3.242a2.5 2.5 0 0 0 3.24 3.241l.002.001zm7.893 2.264-1.431-1.43a8.936 8.936 0 0 0 1.4-3.162A9.006 9.006 0 0 0 8.553 4.338L6.974 2.76C8.22 2.27 9.58 2 11 2c5.392 0 9.878 3.88 10.819 9a10.95 10.95 0 0 1-2.012 4.592zm-9.084-9.084a4.5 4.5 0 0 1 4.769 4.77l-4.77-4.77z" fill="#64707D"/> </svg> </span> </span> <input class="js-password" type="password"/> </div> </div>
The main element to take note of is the
password-input-container. It contains two elements:
- The
eye-containerwith two spans that each contain an SVG (an
eyeand an
eye-offSVG). The
eye-offSVG will be hidden by default because the password is masked in its default state.
- An input field with type
I tend to still follow BEM Notation for any classnames that I write. Hence, you will see that some classnames have a JavaScript namespace, and are therefore prepended with
js- . This is a verbose indicator that this piece of the DOM has some behaviour acting upon it, and that JavaScript binds onto it to provide that behaviour. Hence, it reduces the risk of someone editing or removing the classname mistakenly without realizing that some javascript code depends on it.
Take note of the
js- prepended classnames as this will allow us to bind the correct masking and unmasking behaviour in the JavaScript code.
Step 2:
THE JAVASCRIPT
let visible = false; const eyeIcon = document.getElementsByClassName('js-eye')[0]; const eyeOffIcon = document.getElementsByClassName('js-eye-off')[0]; const passwordField = document.getElementsByClassName('js-password')[0]; const visibilityToggle = document.getElementsByClassName( 'js-password-visibility-toggle', )[0]; visibilityToggle.addEventListener('click', togglePasswordMask); function togglePasswordMask() { visible = !visible; togglePasswordType(visible) toggleEyeIcons(visible); } function togglePasswordType(visible) { const passwordType = visible ? 'text' : 'password'; passwordField.type = passwordType; } function toggleEyeIcons(visible) { eyeOffIcon.classList.toggle("hidden", !visible ); eyeIcon.classList.toggle("hidden", visible ); }
Let's walkthrough the code:
const visibilityToggle = document.getElementsByClassName( 'js-password-visibility-toggle', )[0]; visibilityToggle.addEventListener('click', togglePasswordMask);
We first search the DOM for the classname
js-password-visibility-toggle.
js-password-visibility-toggle is the container that contains the
eye icons (one hidden and one not).
We then use add
addEventListener to listen for a
click on the element. When the user clicks on the element the function
togglePasswordMask will be called.
The reason we do not add event listeners on the individual SVG
span is because then we'll need to add two eventListeners to the DOM (one for the
eye and another for the
eye-off) and each of the callbacks will be doing something similar. Instead, we allow the trigger on the container and use a "sort of state" variable to figure out whether we're masking or unmasking.
let visible = false; function togglePasswordMask() { visible = !visible; togglePasswordType(visible) toggleEyeIcons(visible); }
The first time that we load the form the password is not visible, hence we set
visible to
false initially.
Each time we click on the
eye icon, we toggle visible to negate its current value using
visible = !visible.
When we click we want
a) the password to be revealed, i.e.
togglePasswordType, and
b) the icon we clicked on to change - i.e.
toggleEyeIcons.
const passwordField = document.getElementsByClassName('js-password')[0]; function togglePasswordType(visible) { const passwordType = visible ? 'text' : 'password'; passwordField.type = passwordType; }
togglePasswordType simply sets the input type to
text or
password depending if we want to mask or unmask the password.
const eyeIcon = document.getElementsByClassName('js-eye')[0]; const eyeOffIcon = document.getElementsByClassName('js-eye-off')[0]; function toggleEyeIcons(visible) { eyeOffIcon.classList.toggle("hidden", !visible ); eyeIcon.classList.toggle("hidden", visible ); }
toggleEyeIcons add and remove the
hidden class name depending on whether the password is visible or not.
That wraps it up for the code, I hope that was useful and easy to follow. Feel free to drop comments or questions below. 👇🏽
Discussion (2)
It's not that simple if you want accessible input. There is great article worth reading by gov.uk
Simple things are complicated: making a show password option
Thanks @jcubic this is a such a good read and will be very useful for the next step when I make it accessible before we merge the code! | https://dev.to/ridhwana/mask-and-unmask-a-password-input-3lf3 | CC-MAIN-2021-31 | refinedweb | 1,064 | 60.11 |
Here is a plugin that provides clipboard history for sublime: github.com/ajpalkovic/SublimePl ... History.py
The" }
Actually, I should have mentioned this earlier, but I ran into a race condition with this plugin. The problem was with accessing the clipboard history. On my desktop (Win 7 x64), it works fine, but on my laptop, (same os, same sublime version, build 2064), it produced random behavior. Sometimes sublime.get_clipboard would return the 'old' value of the clipboard. I don't really know why, but a small time.sleep(0.1) made the problem go away. It's not a huge deal, I probably only ran into it because I was setting and getting the clipboard in the same command.
Unfortunately I've found a bug in this.Since there is no way to 'hook' an existing command, I create new cut/copy/paste commands and changed my key bindings. That works fine when I use key bindings inside of a view.
There are two problems though. If I use the menus to cut/copy/paste, it just uses the original cut/copy/paste commands (so it works, it just doesn't add it to the history immediately).The bigger problem is if I cut/copy/paste inside of the console. In those kinds of situations, it execute the clipboard_history_* command. Internally, that command executes sublime's existing cut/copy/paste commands (by calling view.run_command()). Since that runs in the context of a view though, the cut/copy/paste is performed on the view, and not on the console.
I don't have a good way to work around this so I changed my key bindings to expose the 'default' cut/copy/paste commands instead of overwriting them. It works for the most part.
{ "keys": "ctrl+x"], "command": "clipboard_history_cut" },
{ "keys": "ctrl+c"], "command": "clipboard_history_copy" },
{ "keys": "ctrl+v"], "command": "clipboard_history_paste" },
{ "keys": "ctrl+alt+v"], "command": "clipboard_history_paste" },
{ "keys": "ctrl+shift+x"], "command": "cut" },
{ "keys": "ctrl+shift+c"], "command": "copy" },
{ "keys": "ctrl+shift+v"], "command": "paste" },
{ "keys": "ctrl+alt+shift+v"], "command": "clipboard_history_paste" },
{ "keys": "ctrl+pagedown"], "command": "clipboard_history_next" },
{ "keys": "ctrl+pageup"], "command": "clipboard_history_previous" },
{ "keys": "ctrl+shift+pageup"], "command": "clipboard_history_visualize" },
It might be nice to add a new context to the key bindings, something like inView that way the clipboard_history_* commands can only be triggered in a view, and not in the console or other dialogs.
If you make your plugin a TextCommand, and access the view via self.view, instead of an ApplicationCommand accessing the view via active_window().active_view(), then your command object will get instantiated on the widget views too, so everything should just work.
Thanks for the reply. I pushed an update so it extends TextCommand. If I have the console open, I can cut/copy/paste in the input field of the console, but I can't copy the console output. Still an improvement though, I can always use Ctrl+Shift+C to do the 'normal' copy.
I made a slight tweak to this that works more like TextMate's paste buffer. The main difference is that I can press Cmd+Shift+V to do "paste previous", cycling through the buffer.
See gist.github.com/1132507
Note, the gist above now contains a plugin that is (hopefully) thread-safe without using a 0.1 second time delay, as well as a TextMate-style pop-up list of values to select which item to paste. There is a max size to the paste buffer, so that it doesn't grow without bounds and uses a lot of memory if you keep Sublime Text running for a long time.
I've taken away the 'visualisation' paste buffer editor, mostly because I didn't use it and was too lazy to make it work with the new list implementation.
fancy. what does your lock actually do? it looks like it just prevents two clipboard commands from running at the same time which seems like a fairly rare thing?
It was in response to this:
def run_command(self, command):
self.view.run_command(command)
# I know this is hideous, and I sincerely apologize, but it works
# I was getting non deterministic behavior in which the clipboard seemingly randomly returned stale data.
time.sleep(0.1)
I suspect this was happening because of thread safety issues. You had a single global list and a single global index integer which you need to keep in sync through all the commands. That's not thread safe. You don't actually know how your OS schedules the execution of your threads. Whenever you have global state like this, you need some way to make it threadsafe, locks being an obvious approach. The time.sleep(0.1) approach is not really a solution, but it decreases the probability of two threads trying access the same variables at the same time.
Martin
Yea, I agree, but the chances of two commands running at the same time are pretty rare. That's the only way a threading problem could have occurred. I would have to like cut and paste at the same time, that hardly every happens, there is always a delay of at least .1 or .2 seconds as my finger switches keys, idk. O well, doesn't really matter in the grand scheme of things.
I think no matter how likely or unlikely, you never know. You should always program for thread safety when code is executed in a multi-threaded environment. Python makes it pretty easy, thankfully.
Actually, now that I think about it, that is not the source of the problem.
The only way a threading issue can occur is if two commands are run at the same time. But that cannot happen in sublime. Sublime is still effectively single threaded for plugins. Jon more or less has said as much in the forums. In other words, sublime will never allow the cut and paste commands to run at the same time.
Even if my fingers magically instantaneously trigger both commands at the same time, sublime will still have a queue or something to execute one, then the other. Otherwise, EVERY SINGLE plugin would need to be updated to have a lock on their global data, which I know most don't do right now.
I've forked and tweaked the gist above. I would like to publish it to Package Control as ClipboardManager (to differentiate it from the existing ClipboardHistory, which doesn't do all that aptitude's plugin does).
I actually stopped using the plugin a while back. I would love for it to work, but it didn't play well with yank in vi mode for instance so it became useless for me.
Sublime really needs an on_before_command and on_after_command callbacks that plugins can implement.
OMG, Clipboard Manager's readme leads to this topic. I've spent 30 minutes trying to understand why *clipboard_history_** doesn't work. I should use *clipboard_manager_** instead...
I'll update the README to be a little clearer on that difference. | https://forum.sublimetext.com/t/clipboard-history/1803/9 | CC-MAIN-2016-07 | refinedweb | 1,160 | 64 |
defines the object which users must packed for CCHttpClient::send(HttpRequest*) method. More...
#include <HttpRequest.h>
defines the object which users must packed for CCHttpClient::send(HttpRequest*) method.
Please refer to samples/TestCpp/Classes/ExtensionTest/NetworkTest/HttpClientTest.cpp as a sample
//
Destructor.
Override autorelease method to avoid developers to call it.
Get custom headers.
Get the request data pointer back.
Get the size of request data back.
Get back the kHttpGet/Post/...
enum value
Get the selector function pointer, mainly used by CCHttpClient.
Get the string tag back to identify the request.
The best practice is to use it in your MyClass::onMyHttpRequestCompleted(sender, HttpResponse*) callback
Get the target of callback selector funtion, mainly used by CCHttpClient.
Get back the setted url.
Get the pre-setted custom data pointer back.
Don't forget to delete it. HttpClient/HttpResponse/HttpRequest will do nothing with this pointer
Set any custom headers.
Option field.
You can set your post data here
Required field for HttpRequest object before being sent.
kHttpGet & kHttpPost is currently supported
Required field.
You should set the callback selector function at ack the http request completed
Required field for HttpRequest object before being sent.
Option field.
You can attach a customed data in each request, and get it back in response callback. But you need to new/delete the data pointer manully
You can add your customed data here.
callback target of pSelector function
user defined tag, to identify different requests in response callback
callback function, e.g. MyLayer::onHttpResponse(CCHttpClient *sender, CCHttpResponse * response)
target url that this request is sent to
used for POST
kHttpRequestGet, kHttpRequestPost or other enums | https://cocos2d-x.org/reference/native-cpp/V2.2.1/da/d7c/classcocos2d_1_1extension_1_1_c_c_http_request.html | CC-MAIN-2022-21 | refinedweb | 270 | 60.51 |
I've did this project to Create a Binary File and Writing in the Binary File:
using System; using System.IO; namespace binaryfiles { class Program { static void Main(string[] args) { string path = @"c:\pss\file1.bin"; FileStream fs = new FileStream(path, FileMode.CreateNew, FileAccess.Write); BinaryWriter bw = new BinaryWriter(fs); int nr, year; string firstname, lastname; nr = 1; firstname = "Sisqo"; lastname = "Williams"; year = 2010; bw.Write(nr); bw.Write(firstname); bw.Write(lastname); bw.Write(year); bw.Close(); fs.Close(); } } }
This code worked perfectly, But i'm havin some trouble with another exercise and that is:
Creating a binary File with these data on it:
1 Sisqo Williams 2010
2 Michael Jordan 2010
3 Curtis Jackson 2010
4 Tom Cruise 2010
and then Creating an app that can do:
1.Read The Data That i've mentioned before
(nr,name,lastname & year)
2.Edit those data So
(when i call number 2 it has to show up the name Michael Jordan 2010,
and than i can edit it and replace michael jackson with another name
for example Barack Obama 2011 ?
I hope i was Clear (sorry for my english)
Can Anyone help me with this problem
| http://www.dreamincode.net/forums/topic/197262-readwrite-binary-files-in-vs-c%23/ | CC-MAIN-2013-20 | refinedweb | 196 | 58.32 |
I suppose one way would be to create a custom property type and use that inside your dynamic content. You can extend PropertyString and override CreateEditControls to create a drop-down list. Take a look (using reflector) at the PropertySelectControlBase and it's subclasses for inspiration.
Thanks for your replies Magnus and Frederik - sorry I've taken so long to reply, but I decided to take another approach to this problem and so it's been some time since I've thought about it.
Frederik - in reply to your question, I was talking about Dynamic Content (I think), where you can create a class that implements IDynamicContent and it shows up in a little pop-up that appears when you select the curly brackets {} in the editor. I've created a few of these utilising properties such as PropertyString (which creates an HTML textbox), PropertyLongString (creates an HTML textarea) and PropertyPageReference (creates an EpiServer page selector thingy).
Magnus - I suppose what you're saying is that unlike the examples above, there isn't a drop down list property and if I want to use one, I'll have to create it. Thanks for your tips on how I might go about this, but I fear that this is perhaps a wee bit beyond my meagre programming abilities at this stage. Still, if I find that in the future I really need a drop down list then no doubt I'll need to figure out what's going on.
Cheers folks, and thanks again.
Creating a custom property type like that is much easier than you think. You just have to create a class inheriting from PropertyString and decorate it with the PageDefinitionTypePlugIn attribute. Then override CreatePropertyControl to return an instance of a custom subclass of PropertySelectControlBase. In the custom subclass' SetupEditControls override, create and add list items and mark the current value as selected. Done!
This is the code for the language property type which displays the enabled lanugage branches in a dropdown and saves the selected value as a string:
[Serializable, PageDefinitionTypePlugIn] public class PropertyLanguage : PropertyString { public override IPropertyControl CreatePropertyControl() { return new PropertyLanguageControl(); } }
public class PropertyLanguageControl : PropertySelectControlBase { protected override void SetupEditControls() {// Using language branches as source for values, you could of course use anything you like LanguageBranchCollection branchs = LanguageBranch.ListEnabled(); string str = this.ToString(); // Gets the current value foreach (LanguageBranch branch in branchs) { ListItem item = new ListItem(branch.Name, branch.LanguageID);// Compare the current value of the property to the list item created and make sure the current value is selected in the dropdown item.Selected = str == branch.LanguageID; base.EditControl.Items.Add(item); } } }Then just use the cusom property type in the dynamic content like you used the built-in property types before.The dropdown can be made more dynamic for example using the new property settings concept in CMS 6 to get the selectable values from a configurable source. However, that would mainly make page properties easily configurable, not so much for dynamic content.
You're correct Magnus, it was much easier to create a custom property than I thought; your example was really helpful and worked a treat. Thank you.
Now all I have to do is to try and remember why I wanted to implement a drop down list in the first place (or dream up a new bit of Dynamic Content that might use one).
Cheers
The solution above worked like a charm, but I've got another problem down the road.
This is the problem:
Lets say that create a custom property (e.g. a drop down with the values red, green & blue). If you (in your dynamic content) select the second value (green) in the drop down, saves and publish the page, you will get the correct data when rendering the page. But if you go in to EPi CMS and chooses to edit the dynamic conent (previously added), the value you selected earlier (green) will not be selected value in the drop down. How do I do to select the item in the drop down that is actually the choosen value?
Kind regards / Anders
Hi Anders,
Are you using the State property to set and get the value selected in the drop down? For example, say my custom drop down is something like this:
Public Class ImagePositionDropDownListControl Inherits PropertySelectControlBase Protected Overrides Sub SetupEditControls() Dim str As String = Me.ToString() Dim liLeft As New ListItem("Left", "left") liLeft.Selected = str = liLeft.Value MyBase.EditControl.Items.Add(liLeft) Dim liRight As New ListItem("Right", "right") liRight.Selected = str = liRight.Value MyBase.EditControl.Items.Add(liRight) Dim liCentre As New ListItem("Centre", "centre") liCentre.Selected = str = liCentre.Value MyBase.EditControl.Items.Add(liCentre) End Sub End Class
I can then get and set the value as a string in the Dynamic Conent State property, like so (where the name of the instance of my custom drop down is ddPosition):
Public Property State As String Implements EPiServer.DynamicContent.IDynamicContent.State Get Return Convert.ToBase64String(ASCIIEncoding.ASCII.GetBytes(ddPosition.ToString())) End Get Set(ByVal value As String) ddPosition.ParseToSelf(ASCIIEncoding.ASCII.GetString(Convert.FromBase64String(value))) End Set End Property End Class
Sorry about the VB code, but that's unfortunately how it is in our project. Hopefully that's more or less what you were after.
Hello Tim!
Thanks a lot! string str = this.ToString(); (or as they say in the world of VB "Dim str As String = Me.ToString()") was the key to the solution. For some reason I missed that part in the example above. The correct item in the dropdown now gets selected when going in to edit the dynamic content.
Thanks again!
Hi folks
I've successfully created a few dynamic content examples in the past, but these have only utilised the PropertyString and the PropertyPageReference. Now I'd like to add a drop down list, but despite trying all morning, I can't figure out how to do this and I can't find any examples (as far as I'm concerned, dynamic properties is a black art and I've only managed to get them to work in the past by relying heavily on other peoples' example code).
Does anyone know the name of the property that creates a drop down list? Is there such a property?
Cheers | https://world.episerver.com/forum/developer-forum/Developer-to-developer/Thread-Container/2010/6/Drop-down-list-in-dynamic-content/ | CC-MAIN-2020-29 | refinedweb | 1,048 | 52.9 |
In-Depth
You''ve heard much about generics, iterators, partial types, and anonymous methods. But many other new features will change your daily programming life just as much.
You've likely heard about the four major features added to the C# language in version 2.0: Generics, Iterators, Partial Types, and Anonymous Delegates. But many other features were added to this new version of C#. These other features will help you express your designs more clearly, in less code. You should become familiar with these enhancements to your favorite language now. That knowledge will help you create code today that can be easily enhanced tomorrow. You want your code ready for C# 2.0 when you are.
Static Classes
You've probably already created classes that contain only static methods and fields. These methods are essentially global utilities for your application domain. It's not a sign of a bad design; the .NET Framework System.Math class is an example of this construct.
C# 2.0 adds a new use for the static keyword for just this purpose. Static classes have a number of restrictions, which communicate your design intent to other developers:
To achieve similar behavior in C# 1.x, you define a private constructor in your class, and you define your class as sealed and abstract. Defining it as sealed prevents users from creating derived classes; defining it as abstract, combined with the private constructor, prevents users from creating an instance of this class. As you move to C# 2.0, use static classes for this idiom, because the same constructs implement the singleton pattern.
Accessor Accessibility
It's common to create a class where you have a public read-only property, and yet you want to allow derived classes or other classes in your assembly to modify the value of the property. In C# 1.x, you wrote this:
public int MyValue
{
get { return val; }
}
protected void SetMyValue(
int theNewValue )
{
This.val = theNewValue;
}
In C# 2.0, you can specify a more restrictive access to the set (or get) accessor. This creates much cleaner code that is easier to maintain. The access modifiers can only decrease the visibility of the property; you cannot increase the visibility using the access modifier:
public int MyValue
{
get { return val; }
protected set { val = value; }
}
That's a fine start, but there are a few other ways to use property accessor accessibility to write cleaner, easier-to-maintain code. First off, you can create a private property setter to use when you modify the value inside your class. That provides you, as the class author, with a single location in the code to write any validation on modifications to that value:
public int MyValue
{
get { return val; }
private set
{
if ( value < 0 )
throw new
ArgumentException(
@" non-negative only" );
val = value;
// Fire change event to
// notify client code that a
// value changed.
}
}
This same technique applies when you implement an interface that contains a read-only property. If the interface does not contain a definition for the property setter, you can add your own, at any access level that is appropriate. However, if the interface did contain both a set and get accessor, you cannot specify different accessibility to the implementations in your class:
public interface IFoo
{
public int MyValue
{ get; }
}
// elsewhere:
public int MyValue
{
get { return val; }
// Access modifier allowed.
// IFoo does not define a set
// method.
private set
{
if ( value < 0 )
throw new
ArgumentException(
@" non-negative only" );
val = value;
// Possibly fire events to
// notify clients of changed
// state.
}
}
You can use the same technique with virtual and overridden property accessors. However, the accessibility must be defined in the base class, and cannot be modified in any of the derived classes.
The purpose of access modifiers on properties is to create more consistent code: A property represents a data element exported from a type. Different accessibility can be used on the set and get methods to keep the code that accesses and modifies a value more cohesive.
Friend Assemblies
Friend assemblies provide a method to allow another assembly to be granted access to the internals of a given assembly. You do this through the use of an attribute:
[assembly:InternalsVisibleTo(
"AFriend")]
This designation provides AFriend.dll with access to all internal types, methods, fields, and properties in any type declared in the assembly where the attribute is defined.
I'd avoid using this in most production code. If you have internal types that need access from another assembly, that often indicates a poor design.
The right solution is to refactor those classes so that you can provide access only through public interfaces, or public classes. However, there is one idiom that I've found useful: unit tests for internal types and methods. I can create a separate assembly for all my unit tests, and make that assembly a friend of the target assembly. I separate all my unit tests in a second assembly, which means I don't need to deliver the unit tests to customers (or limit my unit tests to debug builds). In addition, I can still write unit tests for all my internal classes.
Nullable Types
Nullable types were developed to simplify creating C# logic that uses data retrieved from databases. Most databases provide a facility to define a missing (or null) value in a given column and record. This missing value is difficult to represent in .NET value types: Which integer value should be used to represent a nonexistent value? There is no one universal answer. So, the C# and CLR teams introduced the idea of a nullable value type.
A nullable type is a wrapper around a value type that can represent all the possible values of its underlying type, and can also hold the null value. Nullable types sound simple. But the more you examine the subtleties of the concept, the more complicated they become. The syntax is simple: You append a '?' to a value type to produce a nullable type. (This is a shorthand notation for a generic class, nullable <T>, where T must be a value type.) For example, int?, char?, and bool? all define nullable types for the respective underlying value types. However, because the string class is a reference type, you cannot define a nullable string. Of course, because the string class is a reference type, you don't need to, either.
When you use nullable types, you must remember that the nullable type is not a simple replacement for the value. In fact, nullable types introduce quite a few complications into your program logic. You'd best beware of all the pitfalls before you venture into nullable types where the regular value type would suffice. In these examples, I'll use integer nullables, but any nullable type would exhibit the same problem.
First, a regular integer cannot be assigned the value of a nullable type without a cast, or accessing its underlying Value property:
int? maybeAValue;
int val = maybeAValue.Value;
int val2 = (int ) maybeAvalue;
Both these assignments compile, but a System.InvalidOperationException will be thrown if maybeAValue stores null. That's just extra work. Any time you access the value inside a nullable type, you must check whether the instance has a valid value using the Nullable<T>.HasValue property. In fact, this idiom is common enough that the C# language has included a special syntax to perform assignments with nullable types, the ?? operator.
The ?? operator returns the value of the left operand if the operand has a value, and the right operand otherwise. For instance:
int result = maybeAValue ?? 0;
returns 0 if maybeAValue is null. Otherwise, it returns the value stored in the nullable maybeAValue.
Things get even more complicated when you start boxing and unboxing nullable types. The CLR and C# teams recently made a change to nullable types that creates more cohesive behavior when nullable types are boxed and unboxed. The CTP release that incorporates the change was being released as I was finishing this article, so I have not had the chance to work with the new code yet. Click here for more details.
Miscellaneous
There are a few other additions that warrant mention, but won't affect your daily coding as much. You can now enable and disable warnings inline in code. This will make it easier to get large projects to compile cleanly at higher warning levels. You can selectively disable certain warning conditions after reviewing the specific code that generates the warnings. Similar to the C++ compiler, the syntax is a pre-processor pragma:
#pragma warning disable 3021
C# 2.0 adds the ability to create fixed block arrays, but only in unsafe code blocks. You can use this feature to provide buffers that can be used between managed and unmanaged code layers. For instance, this structure takes 4 bytes on the stack, and the myArray variable is a reference that points to a different location in managed memory:
public struct MyArray
{
public char MyName[50];
}
However, in C# 2.0, you can ensure that the array is stored inline in the structure, as long as the structure is used only in unsafe code:
public struct MyArray
{
public fixed char MyName[50];
}
This second declaration takes 100 bytes. (Fixed size char buffers take 2 bytes per char.)
Finally, C# delegate declarations support Covariance and Contravariance. Covariance means that a delegate handler may specify a return type that is derived from the return type specified in the delegate signature. Contravariance means that a delegate handler may specify base classes for derived class arguments specified in the delegate signature. Because of covariance, this compiles:
public delegate object
Delegate1();
public static string func();
Delegate1 d = new Delegate1(
func );
func returns a type (string) that is derived from the type defined in the delegate signature (object).
Because of contravariance, this compiles:
public delegate void
Delegate2( string arg );
public static void func2(
object arg );
Delegate2 d2 = new Delegate1(
func2 );
func2 accepts a base class (object) of the type (string) defined as the argument for the delegate method. These additions will make it easier for you to create event handlers that handle multiple events: You can write one handler that receives a System.EventArgs parameter, and attach it to all events.
I've given you a small taste of some of the new features in C# 2.0 that have seen less coverage compared to the major new initiatives. But these features will change the way you write C# code, and change it for the better. You'll be able to create code that better expresses your designs, and is easier to maintain. By learning these features you'll be able to write less code that does more. That's what we all need.
Printable Format
> More TechLibrary
I agree to this site's Privacy Policy.
> More Webcasts | https://visualstudiomagazine.com/articles/2005/08/22/hidden-gems-in-c-20.aspx | CC-MAIN-2018-13 | refinedweb | 1,798 | 55.03 |
Scala: Work With Files and Directories
In this post, we take a look at how to deal with files and directories in Scala. Read on to find out more and for some examples.
Join the DZone community and get the full member experience.Join For Free
How often do you need to write or read files? This is a pretty common task in any more or less non-trivial project. Image upload process, CSV or XML parsing, XLS report generation etc. All these operations imply input or output processing. So I’m going to make an overview of the most powerful library for working with files in Scala.
Here is a list of operations which I want to cover:
- File creation and removal
- File writing and reading
- File comparison
- Zipping and unzipping
Of course, this list doesn’t limit the number of useful functions that you can perform with files and directories.
The most suitable format for this article is tutorial plus example, so I’ll try to type more lines of code and less blah, blah, blah. If you want to discuss something, feel free to leave a comment.
Looking a little ahead, I want to say that I will not write about native
scala.io.Source. Instead, I’ll show a powerful library called. At the moment of writing, 2.16.0 is the latest version.
The next step is to add two imports:
import better.files._ import better.files.File._
Finally, we can start manipulations with files.
How to Create a File or Directory (Or Handle If It Doesn the creation of a folder with an extra path? Let’s assume that an approach:
val simpleFile = (root/"Users/Alex/Downloads"/"simple_file.txt") .overwrite("I'm from simple_file.txt") val destinationFile = (root/"Users/Alex/Downloads"/"test.txt") .write(simpleFile.byteArray)(OpenOptions.default) println(destinationFile.contentAsString)
Delete Files and Directories
Another group of popular questions is about the and Folders
It’s a pretty common scenario for developers. What does the better-files library suggest for solving this problem? Use
== when you want to compare two files or directories by path. Use
=== when you want to check equality of two files or folders by content. The comparison of two folders' content has never been easier.
How to Zip and Unzip Files and Directories
In order to zip file or directory, just use following construction:
val forZip = (root/"Users/Alex/Downloads"/"gameboard.xlsx") forZip.zipTo(root/"Users/Alex/Downloads"/"archive.zip")
When you need to unzip an archive, simply call the
unzipTo method.
Summary
I never thought that work with files may as so easy as it is with better-files. In this article, I showed the most popular operations, but with this library you can do much more. For example, you can copy the file or directory to some destination, work with file attributes (extension, size), set permissions, scan content. Now you understand why this library works with files like a boss!
Published at DZone with permission of Alexey Zvolinskiy, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own. | https://dzone.com/articles/scala-work-with-files-amp-directories | CC-MAIN-2022-27 | refinedweb | 518 | 58.28 |
This chapters tries to cover enough basics of the Python programming language in order for you to get started with programming measurement software. Understanding of basic concepts will help you to look for more information from the Internet and understanding the terms used in programming books. If you want to read more about programming have a look at e.g. “Think Python” 1 , which a freely available programming book for beginners.
The code examples in this book are mostly minimal working examples, meaning that you can copy the code to Python terminal and it should run.
Overall programming is not difficult and anyone can learn it, but it does take some initial effort to learn how to think in terms of code and find out what methods are available etc. In the end the productivity gain that you get for research work (or any work that includes repetitive tasks using a computer) is really worth the effort.
We have chosen to use Python-programming language in this class. There exists several programming languages and many of them can also be used to program measurement systems.
Knowledge of one programming language means that it is much easier to learn new languages, because the basic ideas and constructs are usually very similar.
The main reason for choosing Python was that it is quite easy to learn and has good driver support for many instruments. Python is also taught in basic programming courses in many universities e.g. MIT and Aalto University.
Key Features:
pyageng-library .
Python is an interpreted language which means you can run code directly using a REPL (read-eval-print-loop). This is also often called Python terminal. You can use the basic Python prompt, but many people like IPython better.
Variables form the basics of any program. They are simply used to store data and by manipulating variables you can make complex computations.
typeto get the type of the variable.
assignmentoperator
=.
Defining variables is simple:
>>> a = 3 #Define variable a with value 3
intor floating point numbers
float.
>>> x = 12 #Define integer variable x >>> y = 8.0 #Define float y >>> x/10 #Integer division 1 >>> x/10.0 #Floating point division 1.2
>>> import math >>> >>> 2 + 3 5 >>> 12.7 - 5 7.699999999999999 >>> 2**8 #Raise to power of 8 256 >>> math.sqrt(10) 3.1622776601683795 >>> 25 % 3 #Modulus 1
Text is represented using the
string
datatype.
Python is very good
at manipulating strings and can be used to format data collected from
different sources with relative ease, even if some other program is used
in further analysis.
Here is a demonstration of creating strings and using some string functions.
>>>>> s + s2 # Joining two string together 'Agtek481 Measurement Technology' >>> s[0:3] #Three first letters of s 'Agt' >>> s2.split() # Split a string to a list of words. ['Measurement', 'Technology']
Python uses escape characters to represent special characters inside strings such as:
Some examples:
>>> print("First line\nSecond line") # Test with linefeed First line Second line >>> print("Column1\tColumn2") #Tab Column1 Column2 >>> print(r"Column1\tColumn2") #Raw string Column1\tColumn2
The boolean datatype
bool
has two possible values
True
and
False
.
It can be used to compare different objects together.
You’ll
learn more about comparison in the section about sec-condconditionals.
>>> a = 5 >>> a > 3 True >>> a > 10 False
You should follow a naming convention to make your code more readable. Programming languages often have recommended conventions or they can be defined separately for each team or project.
Here are some conventions that are usual to Python code and is also followed in this book:
Variables declared inside the function body are
local
to that
function.
Each function declares a new namespace called scope with each
execution.
This means that the variables you create in function body are
lost after executing the function.
This is generally a good thing and
keeps your workspace cleaner.
If you need to you can make variables
global
so that they are
accessible from any namespace (main program and all functions), but this
is generally not recommended.
It can however sometimes be useful for
debugging purposes.
If you need to see what values local variables inside a function have you can use print statements inside the function.
Operators are special symbols that can be used to represent computations such as addition and subtraction. Operators in programming languages are similar to those in mathematics, but they are not the same. Also there are differences between languages. You can see some Python operators in the following table:
Keywords are reserved words that have a special meaning, you can’t use them for user defined types.
Python keywords:
and del for is raise assert elif from lambda return break else global not try class except if or while continue exec import pass yield def finally in print
Instead of keeping data in a single variable we often need to keep multiple elements of the same type together. For instance we want to collect measurement data together for plotting and calculating statistics etc. Or we need to keep a list of different options under the collection. Python has a list datatype for the very purpose.
>>> l = [3.0, 4.0, 12, 5, 2.3, 8] # A list of numbers >>> sum(l) #Sum of all elements 34.3 >>> len(l) #Length of the list 6 >>> l[0] #First element of a list 3.0 >>> l[2:5] # Elements from indices 2-4 [12, 5, 2.3]
Creating List of numbers:
rangecommand
>>> range(10) # Numbers from 0 to 9 [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] >>> range(1, 20, 3) #Every third number from 1 to 19 [1, 4, 7, 10, 13, 16, 19]
The fact that lists are mutable can lead to some unexpected behavior. For example when you pass a list to function it receives the original list and can modify it. If you want to make sure that the original list is not modified you need to make a copy of the list.
Have a look at the example below where list
animals
is assigned to
list
animals2
.
Contrary to what we might expect
animals2
becomes
an alias
3
for
animals
so that modifying
animals2
also changes
the original list.
>>> animals = ["cow", "pig", "sheep"] >>> animals2 = animals #An alias of the list >>> animals2[0] = "chicken" >>> animals #Modifying l2 also modified l ['chicken', 'pig', 'sheep']
We can avoid this behavior by making a copy of the original list:
>>> animals2 = animals[:] #Make a copy instead >>> animals2[0] = "turkey" >>> animals ['chicken', 'pig', 'sheep'] >>> animals2 #Now only animals2 was modified ['turkey', 'pig', 'sheep']
>>> t = (1, 3, 8) #Create a tuple >>> t[1] #Acces by index similar to lists 3 >>> t2 = ("one", "two") >>> a,b = t2 #Unpack the values to variables a and b >>> a 'one' >>> b 'two'
>>> cow = {"id" : 230, "yield" : 35.2, "visits" : 2} >>> cow["id"] 230 >>> cow["visits"] = 3 #Modify a key >>> cow["name"] = "Tuopilla" #Add a key >>> cow {'visits': 3, 'id': 230, 'yield': 35.2, 'name': 'Tuopilla'} >>> list(cow.keys()) ['visits', 'id', 'yield', 'name'] >>> list(cow.values()) [3, 230, 35.2, 'Tuopilla']
Iteration is a key element in programming. It allows us to perform same tasks repeatedly. We can for instance:
A
for
loop iterates over a specified number of elements.
The
body
of the loop is separated
using whitespace
: it is
indented.
Here we create a list of numbers from 0 to 4 (using
the range command), iterate trough each element and print the answer to
screen.
This kind of loop can be used e.g.
to take a certain number of
samples from a datalogger.
for i in range(5): print(i)
0 1 2 3 4
For loop is commonly used to iterate over collections.
Here we iterate
over elements of list
l
and print the square root of each elements.
n = len(l) for i in range(n): print("Square root of " + str(l[i]) + " is " + str(math.sqrt(l[i])))
Square root of 3.0 is 1.73205080757 Square root of 4.0 is 2.0 Square root of 12 is 3.46410161514 Square root of 5 is 2.2360679775 Square root of 2.3 is 1.51657508881 Square root of 8 is 2.82842712475
The loops before are iterating over a list, the elements just happened to be numbers. You can also iterate over a list of other types e.g strings.
>>> animals = ["cow", "pig", "sheep"] >>> >>> for animal in animals: ... print(animal) ... cow pig sheep
You can also iterate over the indexes and values at the same time using
the
enumerate
command.
>>> for index,value in enumerate(l): ... print(index, value) ... (0, 3.0) (1, 4.0) (2, 12) (3, 5) (4, 2.3) (5, 8)
You can iterate over the keys of a dictionary. Remember that keys are unordered so the order of keys is arbitrary.
>>> for key in cow.keys(): ... print(key) ... visits id yield name
Or keys and values at the same time:
>>> for key, value in cow.items(): ... print(key, value) ... ('visits', 3) ('id', 230) ('yield', 35.2) ('name', 'Tuopilla')
Conditional statements are used to control whether a certain block of
code should execute.
The body of an
if
statement is evaluated the
condition is
True
.
You can also
use an optional
elif
and/or
else
statements.
Conditions are
formed using comparison operators shown in the following table.
Suppose we measure temperature T and want to control a heater based on it using three power levels.
if T < 10: power = 100 elif T < 20: power = 50 else: power = 0
You can combine conditional statements using
and
and
or
operators.
Conditional statements can also be grouped using parentheses.
Turn a heater on if Temperature (T) is too low or relative humidity (RH) is too high.
if T < 15 or RH > 80: #Suppose T and RH come from a measurement heater = True
A
while
loop executes the loop body as long an expression is True.
It is used when we don’t know how many times the loop should run.
In simple measurement program we often use an infinite loop which will run until a user closes the program. You can also accidentally write a while loop that will never terminate if you get the terminating condition wrong.
A loop that runs while \( a < 5 \)
a = 0 while a < 5: print(a) a += 1
0 1 2 3 4
x = 10 g = 2.0 #Initial guess error = 1 #Init error while abs(error) > 0.0001: g = (g + (x/g))/2 error = x - g*g print("guess", g, "error", error) print("Square root of", x, "is", g)
guess 3.5 error -2.25 guess 3.17857142857 error -0.103316326531 guess 3.16231942215 error -0.000264127712693 guess 3.16227766044 error -1.74403957942e-09 Square root of 10 is 3.16227766044
Functions can be used group related functionality together. They enable reuse of code and make programs more readable.
We have already used several built in functions, but now it is time to learn how you can write your own functions.
Function definition in Python is very simple.
They are defined using
the
def
keyword and you can even define functions from the
terminal.
The return value of the functions is defined with
return
statement.
Let’s have a look at a simple example of defining a function:
def adder(x, y): """Computes the sum of two numbers""" return x + y
And here is how its used:
>>> adder(3, 2) 5 >>> adder(2.5, 1.8) 4.3
The sequence of names in parentheses after a function definition are
called the
formal parameters
of the function.
When the function is
called the
arguments
of the function are bound to the formal
parameters.
For the function
adder
defined above:
xand
yare the formal parameters
adder(3, 2), 3 and 2 are the arguments.
Functions a documented using
docstring
s i.e.
a string following
immediately after function declaration.
You can see an example of a
docstring above.It is a good idea to take the time to write a
descriptive docstring for your functions.
Python has several built in packages and Anaconda comes with several third party modules as well. You can make your own module by placing a *.py file in your working directory and import data and methods from it.
The
import
is used to get commands from modules.
There are 3 ways
to use import:
import module
from module import object
from module import *
Its recommended not to use the third one in scripts. Here is a small example about how to use three methods using math module:
>>> import math >>> math.pi #Use fully qualified name 3.141592653589793 >>> from math import pi #Only import pi to main namespace >>> pi 3.141592653589793 >>> from math import * #Import all objects from math to namespace >>> pi 3.141592653589793
Python has a built in
file
type.
You can open a file for
reading, writing or both with
open
command.
When writing you can
choose to overwrite the existing file (“w” option) or append to file
(“a” option).
We’ll only handle working with text files here.
Open a file for writing and add text to it:
datafile = open("sample1.txt", "w") #"w" opens for writing datafile.write("Starting measurement\n") datafile.close()
Append data to the same file:
datafile = open("sample1.txt", "a") #"a" stands for appending for i in range(3): datafile.write("Line " + str(i) + "\n") datafile.close()
read,
readlineor
readlinesmethods.
Read a file to a string using read method:
>>> datafile = open("sample1.txt", "r") >>> text = datafile.read() >>> datafile.close() >>> text 'Starting measurement\nLine 0\nLine 1\nLine 2\n'
Read to a list of lines:
>>> datafile = open("sample1.txt", "r") >>> textlines = datafile.readlines() >>> datafile.close() >>> textlines ['Starting measurement\n', 'Line 0\n', 'Line 1\n', 'Line 2\n']
datetimemodule to handle times and dates.
>>> from datetime import datetime >>> datetime.now() #Get current time datetime.datetime(2016, 2, 14, 20, 28, 56, 692234) >>> #Get ISO formatted time >>> datetime.strftime(datetime.now(), "%Y-%m-%d %H:%M:%S") '2016-02-14 20:28:56' >>> vappu = datetime(2014, 5, 1) #Create a datetime object >>> kesto = vappu - datetime.now() >>> print(str(kesto.days) + " days to vappu") -655 days to vappu
A common problem in writing measurement software is not thinking about analysis stage when you collect the data. Knowing what software you’ll be using is advantageous, because you can then save your data in a format that is easy to open with the program of your choosing.
Here are some general rules to bear in mind: | http://pyageng.mpastell.com/book/programming.html | CC-MAIN-2018-39 | refinedweb | 2,414 | 66.23 |
Amazon Web Services (AWS) is a probably the best known Cloud services offering on the Internet. At first glance AWS is a quite intimidating, learning about all the different features of AWS could be a full time job. For this blog I wanted to introduce one component of AWS called DynamoDB.
DynamoDB is a NoSQL database that could be connected to sensor hub devices such as Raspberry Pi’s for Internet of Things (IoT) solutions.
Getting Started with DynamoDB
The first step to getting started with AWS is to create an account. You can open a free “testing” account but unfortunately you’ll need to show that you’re serious by including a credit card number.
After creating an account you can sign into the AWS Management Console (). With a single user account it is possible to run different services in different locations. It is important to note that not all services are available in all locations, so select a location that offers all the services that you need.
After a region is selected go to the Services menu item and search for DynamoDB, next select “create table”. A DynamoDB table has a NoSQL database structure, so this means that all that is required is a table name and a primary key. A primary key allows rows of data to have a way to be connected together.
For my IoT table example I created a primary key called signalname. (If you plan to have a very large data set and you need extremely high speed response you might want to consider defining multiple keys, such as location or sensor type).
Once the table is created, you can view and modify data.
The “Items” tab is used to add, view and delete data. Note, the viewing of updates is not automatic, so you need to press the “refresh” button periodically.
Users and Security
The AWS user security is quite detailed. To get started select your account name on the menu bar and “My Security Credentials“. The Groups item allows you to create security classifications for activities such as admin, viewing, etc.
New users can be defined and added into security groups.
When a new users is created an Access Key ID and a Secret Access Key is generated. The Secret Access Key is only shown when the user is created so ensure that you save it, and/or download the CSV file.
After an Access key ID and Secret Access Key is created for a user, you can start programming interfaces to DynamoDB.
DynamoDB and Python
The Python AWS library is called boto3 and it is installed in Windows by :
pip install boto3
and in Linux by:
sudo pip install boto3
The AWS security can be either added directly into the Python (or JavaScript) application or it can reside on the node or PC that you are working on. Both methods have pro’s and con’s. To add the credentials locally, you’ll need to install the AWS command line tool (awscli) and then enter your specific information:
$ sudo pip install awscli $ aws configure AWS Access Key ID [None]: AKIAIDxxxxx AWS Secret Access Key [None]: kzzeko8Fxxxxxxxxxxxxxxxxx Default region name [None]: Central Default output format [None]:
A Python example to write and read a row into DynamoDB with the credentials in the program could be:
import boto3 import time thesec = int(time.time() % 60) mysession = boto3.session.Session( aws_access_key_id= 'AKIAID7xxxxxxxxx', aws_secret_access_key='kzzeko8xxxxxxxxxxxxxxxx') db = mysession.resource('dynamodb', region_name='ca-central-1') table = db.Table('my_iot_burl1') response = table.put_item( Item={ 'signal': 'mytag1', 'tagdesc': 'test tag1', 'tagvalue': thesec }) response = table.get_item(Key={'signal': 'mytag1'}) print(thesec) print(response) print(response['Item']['tagvalue'])
If the credentials are locally used then the code to write data would be:
import boto3 dynamodb = boto3.resource('dynamodb') table = dynamodb.Table('users01') table.put_item( Item={ 'signal': 'mytag1', 'tagdesc': 'test tag1', 'tagvalue': 16 } )
The response comes back as JSON data. For this example the result would be:
16
{‘Item’: {‘tagvalue’: Decimal(’16’), ‘tagdesc’: ‘test tag1’, ‘signal’: ‘mytag1’}, ‘ResponseMetadata’: {‘RequestId’: ’66M7R4CVCACA4KNA24LM90KG0NVV4KQNSO5AEMVJF66Q9ASUAAJG’, ‘HTTPStatusCode’: 200, ‘HTTPHeaders’: {‘server’: ‘Server’, ‘date’: ‘Fri, 15 Feb 2019 16:29:48 GMT’, ‘content-type’: ‘application/x-amz-json-1.0’, ‘content-length’: ’84’, ‘connection’: ‘keep-alive’, ‘x-amzn-requestid’: ’66M7R4CVCACA4KNA24LM90KG0NVV4KQNSO5AEMVJF66Q9ASUAAJG’, ‘x-amz-crc32’: ‘220267538’}, ‘RetryAttempts’: 0}}
16
For large amounts of data being written to DynamoDB it is possible to use a batch writing function:
import boto3 import time db = boto3.resource('dynamodb', region_name='ca-central-1') table = db.Table('my_iot_burl1') thesec = int(time.time() % 60) with table.batch_writer() as batch: for i in range(1,11): batch.put_item( Item={ 'signal': 'mytag' + str(i), 'tagdesc': 'test tag'+ str(i), 'tagvalue': thesec, 'status': 'NORMAL' } )
The AWS console can be used to verify that the data was written in.
Writing to DynamoDB will clear the existing row with a completely new set of data. If you only want to update a field in a row then the update_item call is used. In the example below only the sensor tagvalue is updated and all other fields are left unchanged.
import boto3 mysession = boto3.session.Session( aws_access_key_id= 'AKIAIDxxxxxxxxx', aws_secret_access_key='kzzekxxxxxxxxxxxxxxx' ) db = mysession.resource('dynamodb', region_name='ca-central-1') table = db.Table('my_iot_burl1') # set the value for mytag1 to bet 29 table.update_item( Key={ 'signal': 'mytag1' }, UpdateExpression='SET tagvalue = :newval1', ExpressionAttributeValues={ ':newval1': 29 } )
Python “Scan the Data” Example
The boto3 library supports the ability to scan the data based on some filtering criteria. The filter syntax is: Attr(‘the field’).eq(‘thevalue’).
The following comparison operators are available:
eq | ne | le | lt | ge | gt | not_null | null | contains | not_contains | begins_with | in | between
Multiple statements can be created with | (OR) , & (AND) operators. Below is an example that scans the database for rows with an alarm status or with a tag value greater than 100.
import boto3 from boto3.dynamodb.conditions import Key, Attr db = boto3.resource('dynamodb', region_name='ca-central-1') table = db.Table('my_iot_burl1') response = table.scan( FilterExpression=Attr('status').eq('ALARM') | Attr('tagvalue').gt(100) ) #print (response) for i in response['Items']: print(i) print(i['signal'], "=", i['tagvalue'])
The results were:
{‘tagvalue’: Decimal(‘150’), ‘signal’: ‘mytag2’, ‘tagdesc’: ‘test tag2’, ‘status’: ‘NORMAL’}
mytag2 = 150
{‘tagvalue’: Decimal(‘999’), ‘signal’: ‘mytag1’, ‘tagdesc’: ‘test tag1’, ‘status’: ‘ALARM‘}
mytag1 = 999
JavaScript
For standard HTML/JavaScript projects the credentials are included in the source file. This obviously has some serious security issues, so it’s recommended that you define a low level user that can only do a small subset of functions.
Below is a simple example that can read our DynamoDB table and it can write a new row with an updated value.
<html> <head> <script src=""></script> <script> AWS.config.update({ region: "ca-central-1", accessKeyId: "AKIAID7xxxxxxxxxxxx", secretAccessKey: "kzzeko8xxxxxxxxxxxxx" }); var docClient = new AWS.DynamoDB.DocumentClient(); function createItem() { var d = new Date(); var n = d.getSeconds(); var params = { TableName :"my_iot_burl1", Item:{ 'signal': 'mytag4', 'desc': 'test tag4', 'info': { 'value':n, 'quality': "questionable" } } }; docClient.put(params, function(err, data) { if (err) { document.getElementById('textarea'). <br><br> <textarea readonly</textarea> <hr> <input id="readItem" type="button" value="Read Item" onclick="readItem();" /> <br><br> <textarea readonly</textarea> </body> </html>
Summary
On first impressions I was pretty overwhelmed using Amazon Web Services. However after some time playing with it I found that it wasn’t unlike many other Web services that are available.
DynamoDB can be used to communicate with sensor values from a Raspberry Pi, but unfortunately there are no mainstream libraries for Arduino projects. AWS does offer an MQTT solution that can be used to update a DynamoDB table.
For small IoT projects I feel that AWS is overkill, but for larger projects I would definitely consider using it. | https://funprojects.blog/2019/02/15/aws-dynamodb-with-python-and-javascript/ | CC-MAIN-2022-40 | refinedweb | 1,268 | 54.93 |
I wrote this script to make the object move to the position, where the player touched. It gets the finger position correctly, but does not change it to world point value. If I were to use the original value, the object would move far away.
using UnityEngine;
using System.Collections;
public class Player : MonoBehaviour {
public Vector3 realPos;
public Vector3 tempPos;
// Update is called once per frame
void Update () {
if(transform.position != realPos) {
transform.position = Vector3.Lerp (transform.position, realPos, 0.3f);
}
if(Input.touchCount > 0 && Input.GetTouch(0).phase == TouchPhase.Began) {
Vector3 fingerPos = Input.GetTouch(0).position;
tempPos = fingerPos;
tempPos.z = 0;
realPos = Camera.main.ScreenToWorldPoint(tempPos);
realPos.z = 0;
Debug.Log (tempPos);
}
}
}
Do a Raycast to get a world position.
Answer by robertbu
·
Oct 02, 2014 at 06:05 PM
There is a likely problem here. Your code:
tempPos = fingerPos;
tempPos.z = 0;
realPos = Camera.main.ScreenToWorldPoint(tempPos);
realPos.z = 0;
Debug.Log (tempPos);
...will only work for an Orthographic camera. And if want your object to have a 'z' value of 0.0. For a perspective camera, you need to assign the 'z' of tempPos the distance in front of the camera before you call ScreenToWorldPoint(). So if the camera was at -10 and you wanted to find the position at 'z = 0' (10 units in front of the camera):
tempPos.z = 10.0;
realPos = Camera.main.ScreenToWorldPoint(tempPos);
Note for your movement code, you should be using deltaTime.
transform.position = Vector3.Lerp (transform.position, realPos, Time.deltaTime * 6.0);
I get an error saying that argument #3 cannot convert double to expression to type float. I assume time.deltatime is in double units?
Just add 'f' to value. transform.position = Vector3.Lerp (transform.position, realPos, Time.deltaTime * 6 Car Accelerometer
0
Answers
rotate camera in android unity
1
Answer
How can I rotate a camera useing 2 touches?
0
Answers
How to make your object follow your touch position faster or instantaneously???
2
Answers
Why does my app function correctly in Unity Remote but not compiled as an app?
0
Answers | https://answers.unity.com/questions/801856/move-to-touch-position.html | CC-MAIN-2021-04 | refinedweb | 344 | 53.27 |
QEMU/KVM on Docker and CoreOS
Usage
docker pull ianblenke/kvm
docker run --privileged ianblenke/kvm /usr/bin/kvm QEMU_OPTIONS
Note that
--privileged is required in order to run with the kernel-level virtualization (kvm) optimization.
Background
For the most part, it is fairly easy to run kvm
Sometimes you need to orchestrate immutable windows instances, and Windows Server Containers aren't available yet.
Networking
The entrypoint script allows you to pass the
$BRIDGE_IF environment variable. If set, it will add that bridge interface to the container's
/etc/kvm/bridge.conf file which, in turn, allow your kvm instance to attach to that bridge using the built-in
kvm-bridge-helper.
Note, however, that if you want to do this, you'll need to pass the
--net=host option to your
docker run command, in order to access the host's networking namespace.
Service file
Also included in this repo is a service file, suitable for use with systemd (CoreOS and fleet), provided as an example. You'll need to fill in your own values, of course, and customize it to your liking. | https://hub.docker.com/r/ianblenke/kvm/ | CC-MAIN-2017-43 | refinedweb | 184 | 58.82 |
What about a chat portal which offers 100% privacy? Yes, in practice it is impossible but at least can't we manage not to store users' personal chat messages in server?
This article is an attempt to design such a chat system. I am using what ever language features coming to mind so please keep in mind that there are better and other suitable options available.
Requirement: A very simple chat program which allows individuals to chat each other, while not keeping their personal messages in database.
Solution: Keep the messages temperorily in an in-memory object until it is delivered to the other user or until a specific time delay, say 2 minutes is expired.
Technical Details:
Here, a static List<> is used to temperorily store messages. Browser will pull messages from this object asynchronously in defined intervals, eg: 3 seconds and show in browser. Once the message is read from the object those will be instantly removed. Orphen messages in list also will be removed on defined intervals so that the variable memory consumption remains minimum.
Technologies and features used in the sample application are:
In this sample, no any sophisticated technologies like WebAPI are used so the funcationality can be implemented in any language easily.
P2P chat involves chat between two persons. Let me call them you and a stranger.
Below are the PUSH and PULL chat message handlers written in jQuery.
$(function () {
$("#t").focus();
$("#s").click(function () { // PUSH
if ($("#t").val().trim() != "") {
u1 = $("#u1").val();
u2 = $("#u2").val();
$.ajax({
url: "e.aspx",
type: "POST",
data: { c: "p", u1: u1, u2: u2, t: escape($("#t").val()) }
});
// Pushes new message along with user1 (you) and user2 (stranger)'s usernames
}
$("#t").val("").focus();
});
});
function pull() { // PULL - check server to see if any new messages available
u1 = $("#u1").val();
u2 = $("#u2").val();
if (u1.trim() == "" || u2.trim() == "") return;
$.ajax({
url: "e.aspx",
type: "POST",
data: { c: "g", u1: u1, u2:u2 }
})
.done(function (d) {
$.each($.parseJSON(d), function (k, v) {
var cls = "cu";
var me = v.wu;
if (v.wu == u1) {
cls = "cu1";
}
$("#c").html($("#c").html() + " <span class='" + cls + "'>" + me + ": " + v.msg + "</span><br />");
$("#c").scrollTop(1000000);
});
});
}
And, pull() is executed every X seconds, eg:
setInterval(pull, 1000);
Next code shows how to handle PULL and PUSH commands triggered from browser.
First, a chat message record looks like this:
public class REC
{
public string user1 { get; set; } // your nick
public string user2 { get; set; } // stranger's nick
public string msg { get; set; } // chat message
public string wu { get; set; } // prointer to which user's message
public DateTime dt { get; set; } // datetime details of message for the use of removing orphen messages
}
Below is the declaration of our in-memory storage object:
public static List<REC> data;
Next comes PUSH and PULL handlers.
string ret = null;
u1 = Request["u1"].ToString().ToLower();
u2 = Request["u2"].ToString().ToLower();
switch (Request["c"])
{
case "p": // PUSH
var t = Uri.UnescapeDataString(Request["t"].ToString());
DateTime dt = DateTime.UtcNow;
data.Add(new REC(u1, u2, t, u1, dt));
data.Add(new REC(u2, u1, t, u1, dt));
ret = "1";
break;
case "g": // PULL
var z = data.Where(x => (x.user1.Contains(u1)));
ret = new JavaScriptSerializer().Serialize(z);
data.RemoveAll(x => (x.user1.Contains(u1)));
data.RemoveAll(x => (DateTime.UtcNow - x.dt).TotalMinutes > 2); // remove orphen messages after 2 mins
break;
}
Response.Write(ret);
PUSH: Adds the incoming chat message to data. You can see, two records are inserted - one for you and other for stanger.
PULL: Retrieves the chat message of particular user. Instatly, it removes it from the data object after retrieval. Second RemoveAll() lamda removes any messages which are of orphen in nature. Due to network issues or browser closing, there might be unused messages pending delivery.
I have hosted a sample demo here. But I dont know how long this will be available, so please do not complain if the link is. | https://www.codeproject.com/Articles/796173/In-Memory-peer-to-peer-chat | CC-MAIN-2017-39 | refinedweb | 649 | 67.55 |
in reply to I want to write a function, you call it ,it will return one matched record each time!
You either want to construct an iterator:
sub open_record_file {
my $filein = shift;
my $regex = shift;
open my $FH, "<$filein" or die "$!\n";
return sub {
my $in_block = 0;
my $last = "}";
my @array;
while (my $line = <$FH>) {
if ($line =~ /$regex/) {
$in_block = 1;
}
if ($in_block) {
push @array, $line;
}
if ($line =~ m/$last$/) {
$in_block = 0;
}
}
return (@array ? \@array : undef);
}
}
my $next_record = open_record_file("input.txt",'DH:');
while (my $record = $next_record->()) {
# do something with the array in $record
}
undef $next_record;
[download]
Update: Fixed incorrect filehandle in the while loop. Thanks to poj.. | http://www.perlmonks.org/index.pl?node_id=1029381 | CC-MAIN-2017-26 | refinedweb | 106 | 79.6 |
Details
- Type:
Improvement
- Status:
Open
- Priority:
Major
- Resolution: Unresolved
- Affects Version/s: None
-
- Component/s: X10 Compiler: Front-end Typechecking
- Labels:None
- Number of attachments :
Description
When I compile:
public class gorb { public static def main(argv:Array[String](1)) { val b : Array[Int] = [3 as Int, 3]; b(2) = 1; } }
I get the error message:
x10c -STATIC_CHECKS gorb.x10 /Users/bard/x10/tmp/gorb.x10:4: Cannot assign expression to array element of given type. Expression: 1 Type: x10.lang.Int{self==1} Array element: b(2) Type: x10.lang.Int Cause: Call invalid; calling environment does not entail the method guard. arg types:[x10.lang.Int{self==2}, x10.lang.Int{self==1}] query residue: {b.rank==1} 1 error. ~/x10/tmp:
Which confused me greatly. The message talks about an 'expression' and an
'array element', so I looked at the things labelled 'expression' and 'array
element', which made me think that I couldn't assign an Int{self==1} to
an array of Int somehow.
Actually, the problem somewhat explained by the 'Cause', and more by the
'query residue', which, translated to English, say that b is not known to
be a one-dimensional array so we can't necessarily make the call b(1).
('query residue' is a fine technical term, but not a very good explanation for
most users.)
This error message, while it does have all the information, is sufficiently
perplexing so that I couldn't figure it out at first or even at third reading.
Here's a way to rephrase it which might be more helpful. It's pretty much the
same information (except that I want to show the whole guard as well as the
residue, and maybe the method signature too), but the cause and important info
comes first, the 'query residue' has been renamed, and the important stuff has
been separated from other helpful details.
Oh, and giving the calling environment would probably be good too, but I don't
know exactly what that is (and if it's too big, it wouldn't be helpful).
x10c -STATIC_CHECKS gorb.x10 /Users/bard/x10/tmp/gorb.x10:4: Ill-typed array assignment operation Cause: Call invalid; calling environment does not entail the method guard. Method Guard: {b.rank==1} What is missing: {b.rank==1} Method: Array[T] { operator this(i0:int){rank==1}:T } Other Facts About The Operation: Expression: 1 Type: x10.lang.Int{self==1} Array element: b(2) Type: x10.lang.Int arg types:[x10.lang.Int{self==2}, x10.lang.Int{self==1}] 1 error. ~/x10/tmp:
Activity
bulk defer of open issues to 2.2.2.
bulk defer of issues to 2.2.3.
bulk defer of 2.3.0 open issues to 2.3.1.
bulk defer to 2.3.2
BTW, now that I know better what's going on, having the query residue there is very helpful. It will help a lot to make sense out of some errors that had been painful and complicated. | http://jira.codehaus.org/browse/XTENLANG-2734?focusedCommentId=267374&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel | CC-MAIN-2013-20 | refinedweb | 504 | 66.03 |
Hi everyone, I am trying to use CouchDB for an app.I have installed it succesfully and generated an app.Installed add-ons “ember-pouch” and “add-cors-to-couchdb”.Configured the way “ember-pouch” document suggests.I have manually generated a document but it is not displaying.
You can see request made and console log it gives on pictures.Also when i hit save button, it doesn’t make any xhr request.I am alerting title to see if it is working, and it succesfully alerts title.
Here is the adapter;
import PouchDB from 'pouchdb'; import { Adapter } from 'ember-pouch'; PouchDB.debug.enable('*'); var remote = new PouchDB(''); var db = new PouchDB('local_pouch'); db.sync(remote, { live: true, // do a live, ongoing sync retry: true // retry if the conection is lost }); export default Adapter.extend({ db: db });
As i said, this is my first time using couchDB.So if i have missed small detail, please reveal it to me and TIA. | https://discuss.emberjs.com/t/first-time-couchdb-status-200-but-no-data-displayed-solved/12223 | CC-MAIN-2018-30 | refinedweb | 161 | 60.51 |
# LVM Thinpool Restore
Hi everyone, today I will tell how I restored a defunct LVM thinpool. Unfortunately I could not find any howtos or manuals on the internet, so maybe this one will help someone in a similar situation.
So what do we have:
* Baremetal server with hardware raid contrioller.
* 10 TB RAID 6.
* LVM thin pool on top of that RAID 6.
* 8GB thin LV in the pool, with around 4TB of data in it.
* around 14 thin LV snapshots in the thinpool itself as backups.
* now for the real fun part: **no external backup** of the data (the customer was aware that it is unsafe but willing to take that risk)
* no physical access to the baremetal server, only iDRAC
The server was running just fine until during a regular maintenance window server got rebooted to run with a newer kernel. After it didn't come back online after 5 minutes the first bells began to ring. I got shell access through iDRAC and found out that the server was not booting because the thin LV could not be mounted. So first thing I did was comment out the thin LV mount in the fstab to get the server to boot. After the server booted, I stopped and disabled all services, then I run `lvs -a` and saw following:
```
thinpool vg0 twi--otz-- <10.40t
[thinpool_tdata] vg0 Twi--o---- <10.40t
[thinpool_tmeta] vg0 ewi--o---- 12.40g
```
Next I tried to activate the thinpool with `lvchange -ay /dev/vg0/thinpool` with no luck. It just threw an `Check of pool vg0/thinpool failed (status:1). Manual repair required!`
Next thing I tried was to repair the thinpool with `lvconvert --repair vg0/thinpool`. Unfortunately the command also failed with `transaction_manager::new_block() couldn't allocate new block`
That error message was the last clue that the metadata pool was completely broken to say it mildly. So next thing we did was dump the whole disk image with dd to another server to run experiments on the dump.
We created a new kvm VM with libvirtd and mounted the disk image as a HDD into it.
```
yum install -y qemu-kvm libvirt libvirt-python libguestfs-tools virt-install cloud-utils
wget https://cloud.centos.org/altarch/7/images/CentOS-7-x86_64-GenericCloud-2111.qcow2
cat << EOF > config.yaml
users:
- name: test
groups: wheel
lock_passwd: false
# password: test
passwd: $6$aTZ.WMuCtdIWDORe$nsSOunFW07/JrJ/SjFY9jZcQRbI5m.7woazjUFtLhmUr1AZxfnUloDyl.EjEOEPp2cqn.jiGBt88iN3EdTZvh/
shell: /bin/bash
sudo: ['ALL=(ALL) NOPASSWD:ALL']
EOF
cloud-localds config.iso config.yaml
virt-install --name CentOS7 --memory 2048 --vcpus 1 --disk CentOS-7-x86_64-GenericCloud-2111.qcow2,bus=sata --disk config.iso,device=cdrom --import --os-variant centos7.0 --network default --virt-type kvm --graphics none
virsh attach-disk CentOS7 /mnt/dump.img sdb
virsh console CentOS7
```
On the new VM I tried various approaches to dump and restore the metadata pool with commands like `thin_dump --repair` , `thin_restore` or `lvextend --poolmetadatasize +1G vg0/thinpool`. But none of this approaches would work.
Then I started looking into the structure of the thinpool metadata dump file. Apparently it is just a bunch of disk block mappings:
```
...
```
After looking at the thin\_dump --help output I realized the mappings can be skipped:
```
Usage: thin_dump [options] {device|file}
Options:
{-h|--help}
{-f|--format} {xml|human_readable|custom}
{-r|--repair}
{-m|--metadata-snap} [block#]
{-o }
{--dev-id}
{--skip-mappings}
{-V|--version}
```
After running the thin\_dump --skip-mappings I got following structure:
```
...
```
But the only interesting device for us is the device with dev\_id=1, so I try to dump it:
```
lvchange -ay vg0/thinpool_tmeta
thin_dump --dev-id 1 /dev/vg0/thinpool_meta > metadata.xml
```
Next I tried to create an empty LV and restore the metadata.xml into it and **it worked!**
Now we need to restore the metadata.xml into the thinpool\_tmeta LV, but if you activate it, it is activated only as read-only LV. I found one workaround [here](https://bugzilla.redhat.com/show_bug.cgi?id=1242623#c4). Apparently you can just swap the metadata LV with a normal LV, activate it as read-write and manipulate it, which I did:
```
# create some tmp LV
lvcreate -L2 -n tmp vg0
# swap tmp LV with tmeta of inactive thin-pool
lvconvert --thinpool vg0/thinpool --poolmetadata tmp
# active 'tmp' LV now with content of _tmeta
lvchange -ay vg0/tmp
# restore metadata
thin_restore -i metadata.xml -o /dev/vg0/tmp
# thin check it
thin_check /dev/vg0/tmp
# deactivate
lvchange -an vg0/tmp
```
Now we have a healthy thinpool metadata, we can swap the LVs back and try to activate the thinpool. The command to swap the thinpool metadata and tmp LV is tricky because it is the same:
```
lvconvert --thinpool vg0/thinpool --poolmetadata tmp
lvchange -ay vg0/thinpool
```
Now we have an activated thinpool, so we can activate the thin data LV, run fsck on it and activate the rest of the services. PROFIT.
PS: **always use external backups**, even if the customer says its fine to not have one, in the end he will come to you asking you to repair the broken server and you might be not that lucky to have an healthy metadata dump of at least the data LV. | https://habr.com/ru/post/592855/ | null | null | 882 | 62.78 |
Enumerating Window Usernames remotely is always fun. If you want to break into a system fast, see if STMP is running. Most admins run STMP on their servers.
Here is a simple script that will make this task easy.
#!/usr/bin/python
import socket
import sys
if len(sys.argv) ! = 2:
print “usage: <username>”
sys.exit(0)
s = socket.socket(socket.AF_INIT, socket.SOCK_STREAM)
connect = s.connect ((‘IPADRESS’,25))
banner = s.recv(1024)
print banner
s.send (‘VRFY ‘ + sys.argv [1] + ‘\r\n’)
result = s.recv(1024)
print result
s.close()
Now all you have to do is run this with a simple bash script to brute force usernames. | http://cyberredneck.org/2009/10/ | CC-MAIN-2020-05 | refinedweb | 109 | 81.9 |
.dotbetwixt;19 20 import java.util.ArrayList ;21 import java.util.List ;22 23 /**24 * @author Brian Pugh25 */26 public class Father {27 28 private List kids;29 private String spouse;30 31 public String getSpouse() {32 return spouse;33 }34 35 public void setSpouse(String spouse) {36 this.spouse = spouse;37 }38 39 public List getKids() {40 return kids;41 }42 43 public void addKid(String kid) {44 if (this.kids == null) {45 this.kids = new ArrayList ();46 }47 this.kids.add(kid);48 }49 50 }51
Java API By Example, From Geeks To Geeks. | Our Blog | Conditions of Use | About Us_ | | http://kickjava.com/src/org/apache/commons/betwixt/dotbetwixt/Father.java.htm | CC-MAIN-2018-05 | refinedweb | 103 | 69.28 |
By:
10 thoughts on “Django Class-based Views with Multiple Forms”
Hi from Argentina, Im new in python and django, Im working in my first proyect in django and I want to render multiple forms on a single template. Im working with class based generic views and class based views. Do you have a complete example to help me?
Thanks a lot!!
Take a look at these:
I’ve already used some of your insights from another post, and here again you are in my Google search!
Just a thought to keep this in line with the djang-onic (or is it djangoic?) way of creating model views and how they handle being inherited later;
You could add:
def get_second_form_class():
return self.second_form_class
And change later instances of:
self.second_form_class
to
self.get_second_form_class()
That way if the view is inherited by another it still allows you to change the form class of the second form easily with the `second_form_class` variable, just like how Django handle updating form_class. Otherwise if you set `second_form_class` in a child view/class it will have no effect.
That’s a great recommendation. I’ll update the example code when I’ve got a sec.
On second thought, that doesn’t work how I thought it would – or rather, there wasn’t an inheritance issue.
I swear I just ran into this though. I need to look back at what I did… and now I think I’m taking crazy pills.
Your could still refactor to follow their conventions, but that seems somewhat unnecessary as your code should inherit fine as it is.
Hello;
Where is the MODEL coming from the code in the following line? It represents the model we imported from model.py or is it a given name for example, can we write something different instead of model?I have one more question: will self come to some_field expressions self?for examle, self.first_name or first_name?
context[‘form’] = self.form_class(initial={‘some_field’: context[‘model’].some_field})
thanks for helps Chris.
It is a model imported from models.py. It needs to be a Django model class. “self” refers to the view class, in this case MyView.
Well done Chris.
Just a question for clarification.
Shall MyView inherit from FormMixin or FormView to implement the post method since DetailView class does not have the post method?
You’ll inherit from UpdateView:
from django.views.generic import UpdateView
class MyView(UpdateView):
…
Hi Chris!
How do I “POST” data from both forms at the same time?
Thanks. | https://chriskief.com/2012/12/30/django-class-based-views-with-multiple-forms/ | CC-MAIN-2019-09 | refinedweb | 420 | 67.86 |
cppcoreguidelines-init-variables¶
Checks whether there are local variables that are declared without an initial value. These may lead to unexpected behaviour if there is a code path that reads the variable before assigning to it.
Only integers, booleans, floats, doubles and pointers are checked. The fix option initializes all detected values with the value of zero. An exception is float and double types, which are initialized to NaN.
As an example a function that looks like this:
void function() { int x; char *txt; double d; // Rest of the function. }
Would be rewritten to look like this:
#include <math.h> void function() { int x = 0; char *txt = nullptr; double d = NAN; // Rest of the function. } | https://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines-init-variables.html | CC-MAIN-2021-17 | refinedweb | 115 | 65.73 |
tldr
I've written a MonadInvertIO typeclass, instances for a bunch of the standard monad transformers, and a full test suite. It's currently living in my neither github repo, but after some more testing I'll probably release it as its own package. You can see the code and tests.
The rest of this post describes the problems with MonadCatchIO, builds motivation for a new solution through the identity, writer, error and reader monads, and finally presents a new approach. You should feel free to skip around however much you want.
The problem
I was rather dismayed to see Haskellers spitting out PoolExhaustedExceptions a few days after launch. That exception gets thrown when trying to allocate a database connection from the connection pool. I knew it wasn't simply setting the connection pool size too small: once the errors started, they continued until I did a hard process restart. Rather, connections were leaking.
I wrote a bunch of debug code to isolate the line where the connections were being allocated and not returned (the code is still live on Haskellers, just grep the codebase for debugRunDB), and eventually I traced it to a line looking like this:
runDB $ do maybeUserName <- isThereAUserName case maybeUserName of Just username -> lift $ redirect RedirectTemporary $ UserR username Nothing -> return ()
To the uninitiated: run a database action to see if the user has a username, and if so redirect to his/her canonical URL. After a little tracing, I realized the issue was this:
Yesod uses a specialized Error monad to allow short-circuiting, for example in cases of redirecting.
The Persistent package uses the MonadCatchIO-transformer's finally function to ensure database connections are returned to the pool, even in the presence of exceptions.
The MonadCatchIO family of packages are completely broken :(. For example, finally correctly handles exceptions and normal return, but never calls cleanup code on short-circuiting (ie, calling throwError).
I wrote an email to the cafe explaining the flaws in MonadCatchIO in detail. Essentially, one was to fix this is to create a new typeclass for the bracket function. However, it's always bothered me that we need to write all of these special functions to handle MonadIOs: it seems that it should be possible to simply "invert" the monads. The rest of this post discusses that inversion.
Inverting IdentityT
Whenever trying to write something generalized for a whole bunch of monads, it's great to start with IdentityT. Let's say we have an action and some cleanup code:
action :: IdentityT IO () action = liftIO (putStrLn "action") >> error "some error occured" cleanup :: IdentityT IO () cleanup = liftIO $ putStrLn "cleanup"
We want to run action, and then regardless of the presence of exceptions, call cleanup. This is a perfect use case for finally, but in Control.Exception it's defined as:
finally :: IO a -> IO b -> IO a
In order to use this, we need to force IdentityT IO to look like a IO. Well, in this case, it's rather straight-forward.
runSafely = IdentityT $ runIdentityT action `finally` runIdentityT cleanup
Fairly simple: unwrap the IdentityT constructor, call finally, and then wrap it up again.
What about WriterT?
Well, inverting a monad that does nothing is not very impressive. Let's try it out on WriterT:
actionW, cleanupW :: WriterT [Int] IO () actionW = liftIO (putStrLn "action") >> tell [1] cleanupW = liftIO (putStrLn "cleanup") >> tell [2] runSafelyW = WriterT $ runWriterT actionW `finally` runWriterT cleanupW
That turned out to be incredibly easy. Let's see what happens when we run this:
> runWriterT runSafelyW >>= print action cleanup ((),[1])
Wait a second, what about
tell [2]? Well, the return value from the cleanup argument to finally gets ignored, and therefore so does anything we
tell in there. This becomes more obvious if we expand the calls to tell:
actionW' = WriterT (putStrLn "action" >> return ((), [1])) cleanupW' = WriterT (putStrLn "cleanup" >> return ((), [2])) runSafelyW' = WriterT $ runWriterT actionW' `finally` runWriterT cleanupW' -- the same as runSafelyW'' = WriterT $ finally (runWriterT $ WriterT (putStrLn "action" >> return ((), [1]))) (runWriterT $ WriterT (putStrLn "cleanup" >> return ((), [2]))) -- runWriterT . WriterT == id, so this reduces to runSafelyW''' = WriterT $ finally (putStrLn "action" >> return ((), [1])) (putStrLn "cleanup" >> return ((), [2]))
This may or may not be what you want (an argument could be made either way), but let's see the next example before you decide that this is the wrong approach.
ErrorT
It turns out the code here is nearly identical again:
actionE, cleanupE :: ErrorT String IO () actionE = do liftIO $ putStrLn "action1" throwError "throwError1" liftIO $ putStrLn "action2" cleanupE = liftIO (putStrLn "cleanup") >> throwError "throwError2" runSafelyE = ErrorT $ runErrorT actionE `finally` runErrorT cleanupE
As a quick refresher: throwError "short-circuits" the remainder of the computation. For example, "action2" will never be printed. So what's the output of this thing
> runErrorT runSafelyE >>= print action1 cleanup Left "throwError1"
The "throwError2" never shows up, but the cleanup does. Just to stress the point, let's modify this ever so slightly and remove the first throwError:
actionE2 :: ErrorT String IO () actionE2 = do liftIO $ putStrLn "action1" liftIO $ putStrLn "action2" runSafelyE2 = ErrorT $ runErrorT actionE2 `finally` runErrorT cleanupE
This time, the output is:
> runErrorT runSafelyE2 >>= print action1 action2 cleanup Right ()
Wait a second: why didn't I get a throwError2 this time? Once again, this has to do with ignoring return values from a cleanup function. Let's desugar again and look at what's happening under the surface:
runSafelyE' = ErrorT $ finally (do a <- fmap Right $ putStrLn "action1" case a of Left e -> return $ Left e Right a' -> fmap Right $ putStrLn "action2" ) (do a <- fmap Right $ putStrLn "cleanup" case a of Left e -> return $ Left e Right a' -> return $ Left "throwError2" )
This is just a straight mechanical translation of runSafelyE2 using the definition of ErrorT. We can now remove some of the noise, since we know at compile time whether we are returning Right or Left:
runSafelyE'' = ErrorT $ finally (do putStrLn "action1" putStrLn "action2" return $ Right () ) (do putStrLn "cleanup" return $ Left "throwError2" )
We can see that the throwError2 is simply a result of the return value of the cleanup function, which gets ignored by finally. Once again, like in WriterT, it seems that our abstraction is destroying the power of our monads. This is arguably true, but it's also the only correct way to deal with the situation. Let's say that we changed our action function to now be:
(do putStrLn "action1" putStrLn "action2" returnsLeftOrRight :: IO (Either String ()) )
If returnsLeftOrRight results in
Left "throwError3", then we would want our function to print action1, action2, cleanup and result in Left "throwError3". In order to call the cleanup function at all, however, it can't be dependent on the return value of action. This is exactly where MonadCatchIO failed: over there, if the action returns a Left, it short-circuits the cleanup function from running.
In theory, you could make the argument that we should follow this logic train:
If the action returns Left, run through the cleanup code and return the action's return value, ignoring the cleanup return value.
Otherwise, if the cleanup code returns Left, return the cleanup code's Left.
Otherwise, return the action's Right value.
But this is adding a lot of complexity, and it seems to me to work against us. We've seen now with both WriterT and ErrorT that the obvious definitions simply ignore the result of the cleanup function, just like when you use finally in the IO monad. This is the way I've implemented my code, and leads to one important caveat:
Excluding IO effects themselves, never rely on monadic side effects from cleanup code.
This may seem to make the whole exercise futile, but I think the majority of the time when we would want to use this approach, it is simply to perform cleanup that must occur in the IO monad.
ReaderT
I've always considered the reader monad to be the simplest of the monads. I find it ironic that reader (and state) introduce a major complication in our approach. We'll define out action and cleanup pretty much as before:
actionR, cleanupR :: ReaderT String IO () actionR = ask >>= liftIO . putStrLn cleanupR = liftIO $ putStrLn "cleanup"
Previously, we had
runWriterT actionW :: IO (...) and
runErrorT actionE :: IO (...). However, reader doesn't work that way; instead:
runReaderT actionR :: r -> IO (...). So we have to slightly modify our runSafelyR function to deal with the parameter:
runSafelyR = ReaderT $ \r -> runReaderT actionR r `finally` runReaderT cleanupR r
For our little case here, it's pretty simple to account for this extra parameter. It's a little bit more complicated in the state monad (which I won't cover here, I've bored you enough already), but the point where it really bites is in MonadInvertIO itself.
MonadInvertIO
Hopefully the above four monad examples showed that it's entirely possible to turn a transformer inside out. If this makes sense for a single layer (a wraps b becomes b around a), it should makes sense for any number of layers (abc becomes cba). This is similar to the concept of the MonadTrans and MonadIO typeclasses: the former allows us to lift one level, while the latter lifts all the way to IO.
I originally started with the same premise of having a MonadInvert typeclass to invert one monadic layer and MonadInvertIO to invert to the IO layer, but due to technicalities it would be tedious to work this way. Plus, I'm not sure if there is much use for this functionality outside the realm of MonadInvertIO. In any event, the typeclass is:
class Monad m => MonadInvertIO m where data InvertedIO m :: * -> * type InvertedArg m invertIO :: m a -> InvertedArg m -> IO (InvertedIO m a) revertIO :: (InvertedArg m -> IO (InvertedIO m a)) -> m a
This is using type families. InvertedIO gives the "inverted" representation of our monad, and InvertedArg gives the argument to our function. This argument is the complication I alluded to in the reader section above. For monads like error and writer, InvertedArg is not necessary.
invertIO takes our monadic value and returns a function that takes our InvertedArg and returns something in the IO monad. This should look familiar from the reader section above. revertIO simply undoes that action.
As an easy example, let's see the IO instance:
instance MonadInvertIO IO where newtype InvertedIO IO a = InvIO { runInvIO :: a } type InvertedArg IO = () invertIO = const . liftM InvIO revertIO = liftM runInvIO . ($ ())
In this case, InvertedIO doesn't do anything, which isn't really surprising (this instance is, after all, just a wrapper). We don't need any arguments, so InvertedArg is (). invertIO and revertIO are also just dealing with the typing requirements.
To get a better idea of how these things work, let's look at IdentityT:
instance MonadInvertIO m => MonadInvertIO (IdentityT m) where newtype InvertedIO (IdentityT m) a = InvIdentIO { runInvIdentIO :: InvertedIO m a } type InvertedArg (IdentityT m) = InvertedArg m invertIO = liftM (fmap InvIdentIO) . invertIO . runIdentityT revertIO f = IdentityT $ revertIO $ liftM runInvIdentIO . f
IdentityT itself does not add anything to the representation of the data, but the monads underneath it might. Therefore, its InvertedIO associated type references the InvertedIO of the underlying monad. We do the same with InvertedArg. invertIO and revertIO simply do some wrapping and unwrapping.
Some of the instances can get a bit tricky, but it's all built on these principles. Feel free to explore the code, I don't want anyone reading this post to die of boredom.
Using the typeclass
The final piece in the puzzle is how to actually use this typeclass in real life. A great, straightforward example is a new definition of finally:
import qualified Control.Exception as E finally :: MonadInvertIO m => m a -> m b -> m a finally action after = revertIO $ \a -> invertIO action a `E.finally` invertIO after a
This is the general model for all uses of the library. We need to pair up revertIO and invertIO. Like in the reader example, we end up with an argument (called a here), which we need to pass around every time we call invertIO. Once we've done that, we now have two actions living purely in the IO monad, so we can use E.finally on them.
In addition to exception handling, we can use this approach for memory allocation:
alloca :: (Storable a, MonadInvertIO m) => (Ptr a -> m b) -> m b alloca f = revertIO $ \x -> A.alloca $ flip invertIO x . f
As I said at the beginning, I have a test suite running to ensure the inversion code is working correctly. I'm going to test it out in more complicated situations, but I believe this could be used as a general solution to the recurring problem of functions requiring IO-specific arguments.
I'd appreciate feedback on this idea, especially if you find anything which seems to be flawed. I don't want to produce another broken finally function. | https://www.yesodweb.com/blog/2010/10/invertible-monads-exceptions-allocations | CC-MAIN-2021-39 | refinedweb | 2,122 | 58.32 |
W3C::SOAP::XSD - The parent module for generated XSD modules.
This documentation refers to W3C::SOAP::XSD version 0.06.
use W3C::SOAP::XSD; # Brief but working code example(s) here showing the most common usage(s) # This section will be as far as many users bother reading, so make it as # educational and exemplary as possible.
get_xsd_ns_name ($ns)
Returns the namespace name for a particular namespace.
xml2perl_map ()
Returns a mapping of XML tag elements to perl attributes
to_xml ($xml)
Converts the object to an XML::LibXML node.
to_data (%options)
Converts this object to a perl data structure. If
$option{like_xml} is specified and true, the keys will be the same as the XML tags otherwise the keys will be perl names. If
$option{stringify} is true and specified any non XSD objects will be stringified (eg DateTime objects).
get_xml_nodes ()
Returns a list of attributes of the current object that have the
W3C::SOAP::XSD trait (which is defined in W3C::SOAP::XSD::Traits)
xsd_subtype ()
Helper method to create XSD subtypes that do coercions form XML::LibXML objects and strings.. | http://search.cpan.org/~ivanwills/W3C-SOAP-0.06/lib/W3C/SOAP/XSD.pm | CC-MAIN-2014-15 | refinedweb | 180 | 53.21 |
firstly here is the code i'm working on in visual studio
#include "stdafx.h" #include <iostream> #include <string> using namespace std; struct Car { string r_number,make_of_car,model_of_car; int mileage; int age_of_car; }; void main () { int i,num; Car *car1; cout << "Please enter the number of cars: "; cin >> num; try { car1= new Car[num]; } catch(...) { cout <<"Could not allocate memory!"; } for (i=0; i<num; i++) { cout << "\nCar " << (i+1) <<" Registration number: "; cin >> car1[i].r_number; cout << "Car " <<( i+1) <<" Make : "; cin >> car1[i].make_of_car; cout << "Car " << (i+1) <<" Model: "; cin >> car1[i].model_of_car; cout << "Car " <<( i+1) <<" Total mileage: "; cin >> car1[i].mileage; if (car1[i].mileage < 0) // error if age of car is neagitive printf("Fatal Error: A car cannot have negative mileage.\n\n"); cout << "Car " <<( i+1) <<" age: "; cin >> car1[i].age_of_car; if (car1[i].age_of_car < 0) // error if age of car is neagitive printf("Fatal Error: A car cannot have negative age number.\n\n"); } int opt=0; do { system("cls"); cout << "**** CAR EVALUATION SYSTEM ****\n"; cout << "1. Search For a Car\n"; cout << "2. Generate Performence Report\n"; cout << "3. Exit\n"; cout << "Please choose an option:"; cin >> opt; switch(opt) { case 1: system ("cls"); cout << "Please enter car's registration number: ";break; case 2: system ("cls"); cout<<"Car registration\tAnnual average mileage\tMileage type";break; case 3: exit (0); } cin.ignore();cin.ignore(); }while(opt != 3); }
basicaly where it says case 1 the program needs to clear the screen and ask the user to enter the car’s registration number that s/he wishes to retrieve from the system( which i've done.but how to do this bit,i tried doing it few times but failed:(..here it goes)----- If the car’s detail is found in the system, the program should display the car’s name, make, model, current total mileage, and age. Otherwise, the program should display an appropriate error message to inform the user that the registration number was not found in the system. When this task is finished, the program should return to the main menu.
any help wud be greatly appriciated..thanx in advance | https://www.daniweb.com/programming/software-development/threads/272269/can-some1-plz-help-me-finish-off-this-c-code | CC-MAIN-2017-17 | refinedweb | 356 | 66.74 |
now. as you can all see by my join date ive been interested in programming for quite some time. and ive probably gone through this multiple tutorials to get nowhere.
i never built a solid foundation. i was using concepts that i didnt understand at all. so im back to basics.
ive been working on the third excercise from TICPP which statesand ive got. thanks to some fstream help from r.stiltskinand ive got. thanks to some fstream help from r.stiltskin3# Create a program that opens a file and counts the whitespace-separated words in that file.
and my efforts wont work. i get an error i cant even begin to understand. yet i dont know whats wrong with it?and my efforts wont work. i get an error i cant even begin to understand. yet i dont know whats wrong with it?Code:#include <iostream> #include <fstream> #include <string> using namespace std; int main(){ int x; string msg = "this is a text file"; string spc = " "; string msg2; ofstream count_space ("count_space.txt"); count_space<<msg; count_space.close(); ifstream Count_Space ("count_space.txt"); Count_Space>>msg2; while (getline(Count_Space, msg2) == spc) { x = x++; }; cout<<msg2 <<endl; cin.get(); } | http://cboard.cprogramming.com/cplusplus-programming/114253-counting-white-space-seperated-words.html | CC-MAIN-2015-48 | refinedweb | 195 | 79.16 |
From: Fernando Cacciola (fcacciola_at_[hidden])
Date: 2001-05-17 12:49:44
----- Original Message -----
From: Matthew Austern <austern_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Thursday, May 17, 2001 2:31 PM
Subject: Re: [boost] Math Constants Library formal review results
> "Paul A. Bristow" wrote:
> >
> >?
>
>
> But we don't have completeness. We never can.
>
> You've got sqrt(2), but not, if I'm remembering right,
> sqrt(3) or sqrt(5). You've got pi and e, but not, if
> I'm remembering right, Euler's constant (a.k.a. gamma).
> You don't have the zeros of the Bessel functions. And
> once you start including derived quantities, there's
> no end to it: do you include pi/2, pi/3, 2*pi, 4*pi,
> a/pi, pi^2...? How about e^2 (a.k.a. exp(2)), or ln(2),
> or ln(10)? All of those are useful.
>
> Please note: I'm not criticizing you for providing an
> incomplete selection of constants. You have to draw
> a line somewhere, and I don't know of any non-arbitrary
> way to draw one.
>
I addressed this before.
If constants are provided in a namespace -not in a struct-, there's really
no line at all becuase constants
can be added freely without clutering the interface:
// header.hpp
#include<boost\constants.hpp>
namespace boost {
namespace constants {
template<class T> inline T const& whatever() const { return
static_cast<T>(whatever_constant) ; }
}
}
// file.cpp
void foo()
{
double v = boost::constants::whatever() ;
}
It isn't important for the users who/when was the constant provided.
BTW, I have used constants Zero and One many times when working with
user-defined types.
The reason is that those values have to be *really constructed* if the type
is user defined, so having pre-created 0s and 1s helps
a lot improving the performance of some algorithms. | https://lists.boost.org/Archives/boost/2001/05/11920.php | CC-MAIN-2019-51 | refinedweb | 306 | 65.52 |
IF bigger issue
There is also a question about how private-equity firms calculate their returns. The internal rate of return (IRR) is the usual measure. But according to a 2010 study by Peter Morris, a former banker, entitled “Private Equity, Public Loss?”, it is rare for two firms to calculate IRR in the same way. This can complicate any attempt to compare funds. IRRs can also overstate the actual returns investors realised, according to Ludovic Phalippou at Amsterdam Business School, since the measure implies that the return was achieved on all the investor's cash, even if some of it was given back early and reinvested at a lower rate.
The S&P 500 may not even be a fair benchmark for private-equity firms, says Mr Phalippou, since most buy-out firms purchase midsized companies, which have performed better than the big firms included in the S&P 500. An index of mid-cap stocks could offer a more accurate comparison, but also a higher hurdle for private-equity firms to jump.
Why would investors put money with private-equity managers who aren't that good? It could be that investors herd mindlessly into asset classes. But some of it may also reflect the way the industry manipulates data. “Every private-equity firm you talk to is first-quartile,” quips Gordon Fyfe, the boss of PSP Investments, a C$58 billion ($58 billion) Canadian pension fund.
Oliver Gottschalg of HEC School of Management in Paris looked at 500 funds, and 66% of them could claim to be in the top quartile depending on what “vintage year” they said their fund was. The vintage year is supposed to be when the fund has its final “close” and stops fund-raising. But some firms may decide to use the year they started raising the fund or had their first “soft” close (when a fund is no longer officially open to new money), if it allows them a more favourable benchmark.
If investors can work out a way to place their money with funds that are actually in the top quartile, it is probably worth the fees and the extra risk of investing in this illiquid, leveraged asset class. But that is a big if. David Swensen, the man who runs Yale's $19.4 billion endowment and a noted proponent of alternative investments, has written that “in the absence of truly superior fund-selection skills (or extraordinary luck), investors should stay far, far away from private-equity investments.”
Abuzz about fees
Buy-out executives have always claimed their interests are perfectly aligned with those of their investors, since they can only eat if their investors do. But that has changed as private-equity firms have morphed from small outfits into behemoths managing billions of dollars. Private-equity firms usually charge a 2% annual fee to manage investors' capital and then take 20% of the profits. Big firms can now support themselves just from management fees. A study by Andrew Metrick at Yale School of Management and Ayako Yasuda at the University of California, Davis finds that private-equity firms now get around two-thirds of their revenues from fixed fees, regardless of performance.
If all that wasn't bad enough for investors, the prospects for future returns look dim. Higher debt has accounted for as much as 50% of private equity's returns in the past, according to a 2011 study co-written by Viral Acharya of New York University's Stern School of Business. But banks are not lending as much as they did five years ago, increasing the amount of equity that firms are having to stump up (see chart 3). That will cap returns. “Employees are going to make less money, and firms are going to make less money. Returns are going to be much more mundane,” is the gloomy prediction of the boss of one of the largest private-equity firms.
Prices have also remained painfully high. Last year the average purchase-price multiple for firms bought by private equity was 8.4 times earnings before interest, tax, depreciation and amortisation, higher than it was in 2006. That's because the industry is sitting on $370 billion in unused funds, or “dry powder”, that firms need to spend soon or risk giving back to investors, which means there is fierce competition for deals. Many transactions are between private-equity firms, which does little good to investors who have placed money with both the seller and the buyer.
With the option of financial engineering basically gone, private-equity firms have no choice but to improve the businesses they buy. Every private-equity firm boasts about its “operational” skills but sceptics question whether private-equity executives are that good at running companies. A senior adviser at a big buy-out firm and former boss of a company that was bought by private equity says he disagrees that buy-out executives are good managers of businesses: “They're even less in touch with the real world than public-company managers. They're a group of very clever, very analytical people paid lots of money whose general feel for the businesses is pretty poor.” Their edge, he says, comes from having a fixed investment term, which helps focus managers' minds.
With the landscape bleaker than it was, many private-equity firms are reinventing themselves. Most buy-out firms now prefer the fluffy title of “alternative asset manager”. They have started to do more “growth equity” deals, taking minority stakes in companies and using less debt. This has been their strategy in emerging markets like China, where control and highly leveraged deals are not as welcome, but now the approach is also increasingly being used in the West. Big American firms like KKR, Carlyle and Blackstone have all expanded or started other units focused on things like property, hedge funds and distressed debt.
Many private-equity firms will quietly fade away, although Boston Consulting Group's infamous prediction in 2008 that 20-40% of the 100 largest buy-out firms would go extinct has not yet come true. That is probably because private-equity firms take a long time to die. There are 827 buy-out firms globally, according to Preqin, a research firm. They will not all be able to raise another fund. European private-equity firms are particularly vulnerable because they have not diversified as much as their American competitors.
But Mr Romney's candidacy will ensure that American firms feel more political heat. Executives' special tax treatment, under which their profits are taxed as capital gains rather than income, will almost certainly go. The limelight has not yet scared off the 236 buy-out funds that are in the market trying to raise another $172 billion. But it is not as much fun as it was. “Back in 2005 fund-raising was like having a velvet carpet with a rope,” says one buy-out boss. “You had a bouncer and only let the prettiest people in. Now it's buy one, get one free, and free entrance before 11.”
Excerpts from the print edition & blogs »
Editor's Highlights, The World This Week, and more » | http://www.economist.com/node/21543550 | CC-MAIN-2014-41 | refinedweb | 1,196 | 59.94 |
probedrone 0 Posted September 5, 2006 I found this really nice peice of code from JdeB ;~ copy connected files as a group. Only copy the specified files. _FileCopy("C:\Installed Apps\Patches\WindowsXP-KB835935-SP2-ENU.exe","C:\temp") Func _FileCopy($fromFile,$tofile) Local $FOF_RESPOND_YES = 16 Local $FOF_SIMPLEPROGRESS = 256 $winShell = ObjCreate("shell.application") $winShell.namespace($tofile).CopyHere($fromFile,$FOF_RESPOND_YES) EndFunc Is there a way to set the options to choose between overwriting the files or not? Also, I want to be able to create the directory if the destination dir does not exist. Anyone know of a way to modify this to work? Share this post Link to post Share on other sites | https://www.autoitscript.com/forum/topic/32196-how-to-modify-this-code/ | CC-MAIN-2019-13 | refinedweb | 113 | 57.87 |
run:
[EL Info]: 2013-10-12 16:49:34.584--ServerSession(9947599)--EclipseLink, version: Eclipse Persistence Services - 2.5.0.v20130507-3faac2b
[EL Info]: connection: 2013-10-12...
run:
[EL Info]: 2013-10-12 16:49:34.584--ServerSession(9947599)--EclipseLink, version: Eclipse Persistence Services - 2.5.0.v20130507-3faac2b
[EL Info]: connection: 2013-10-12...
When i click a button in Jframe to link to master/details sample form. There show some error.
I using this way to link between jframe is working fine. But it is not working with Jframe to...
i have few questions here
1. i have created a product.class. Can i know how can i link my SalesSystem.java?
2. how to allow enter 2 Products such as id, name, unitprice, quantity information on...
actually i reading the note just the last part i don't understand.
link i got read a bit
s= string
d= decimal
u want me post d ans ????
"%4d%, 20.2f\n" , year, amount
can i know what is the different between %s and %d?????? can give me some example???
can any1 tell me what is this mean in array?????
int[][] highest = new int [12][2]
output:
Highest Marks are:
Student 1 Subject 4
Student 5 Subject 12
Student 7 Subject 6
Coldest Days are:
Student 4 Subject 5
Student 6 Subject 12
this code is half only. need to continue to get to print the output but i stuck here.
let do part by part
i already changed my code
// highest marks
for (int rows = 0; row< student.length; row++)
for (int column = 0; column<=11; column++)
if...
sorry i'm beginner in java.
can u guide me what i should change?????
there show that
if (gradearray[][] >70)
this symbol > got error
i using JCreator
the error is all my number is stick together and can't separate row by row.
plz advice.
anyone can help me i got few error here.
public class two_dimentional_array {
public static void main(String[] args) {
int gradearray [][] = new int[][] { { 60,61,70,98,60,69,69,69,67,69,55,69 },
{... | http://www.javaprogrammingforums.com/search.php?s=57d9388d560e13aefe7f1426a0e67a2b&searchid=1429624 | CC-MAIN-2018-05 | refinedweb | 349 | 77.64 |
Documenting a Qt project with QDoc
When I needed to generate documentation for my projects, I used Doxygen. It’s a quite useful tool that parses specially formated comments in your project’s source code to produce documentation pages for it. Mostly I used it to document my Qt projects.
To my shame, I didn’t know that Qt has such a tool out-of-the-box - it is the QDoc. In this article I’ll show you how to a custom QML type (Qt Quick control) with QDoc and also how to make the result look a bit less dull.
QDoc requires a configuration file to understand how to theat your project: where to find sources (and what types of sources should be documented), images, etc. In this config you can also specify additional information, like what external CSS to apply.
Here’s an example of my config:
# where your source files are (here it's just the root directory) sourcedirs = . # where your header files are (probably in the same place as source) headerdirs = . # where you store images that are used in your qdoc comments imagedirs = . # what kind of sources should be processed sources.\n" # what to append to every page after header HTML.<small>[My awesome documentation]</small></p><hr/>" # what to append to every page after the content HTML.<small>[some footer and whatnot information]</small></p>"
Sometimes
qdoc behaves like a whimsy princess: if you would omit some configuration string or add an empty string between two “related” strings, it won’t produce any result. But I can’t catch it to reproduce any of those issue guaranteed, so just keep in mind that something like this can happen.
Full list of HTML variables is here, but it doesn’t contain the
HTML.headerstyles variable, and without it the CSS file will only be copied to the output directory and will not be applied to pages. Although, this variable is mentioned in another article, so it’s kinda documented, but its whereabouts can cause some troubles, like it was in my case - only having discovered this page I finally understood what exactly was missing from my config.
Ok, that is your configuration file for
qdoc utility. Save it to your project directory.
Now you need to write special comments in your source files. Those comments will be used by
qdoc to generate the documentation. Use this article to master writing documentation comments. By the way, you can use QDoc not only for C++ code, but for QML code as well.
I’ll show you an example of documenting a new QML type (a bit customized TextInput):
import QtQuick 2.7 import QtQuick.Window 2.0 /*! \qmltype AwesomeUIControl \brief A customized TextInput control This control extends standard TextInput by adding background color, paddings, font styles and other stuff. On the screenshot below you can see it as an input field with green background. \image awesomeuicontrol.png \section1 Setting default text and capitalization To set the default text, auto-capitalized input and password mode - use the properties: \qml AwesomeUIControl { text: "some text" echoMode: TextInput.Password capitalization: Font.AllUppercase } \endqml */ Rectangle { id: ti_border width: parent.width height: ti.contentHeight * 1.5 color: ti.activeFocus ? "#DCFFD3" : "#F2FDEF" /*! Default text to be placed to the field. */ property alias text: ti.text /*! Internal TextInput. */ property alias input: ti /*! Echo mode for the field (normal, password, etc) */ property alias echoMode: ti.echoMode /*! Capitalization mode (all letters are small, big, etc) */ property alias capitalization: ti.font.capitalization TextInput { id: ti leftPadding: 15 rightPadding: 15 width: parent.width anchors.verticalCenter: parent.verticalCenter font.pointSize: 18 font.family: "Verdana" font.italic: ti.activeFocus ? true : false clip: true } }
As you can see, I used specially formated comments to create a simple documentation for my new type
AwesomeUIControl (that is stored in
AwesomeUIControl.qml file).
If you would like to include some images in your documentation, like I did, don’t forget to add the
imagedirs configuration variable, and also beware, that
qdoc will use the original size of images and you can’t specify any scaling for them, so you have to prepare your images with the right width and height beforehand.
Alright, you have a configuration file for
qdoc, you have special comments in your sources - now you’re ready to generate some documentation. Open a command line in your project directory and execute:
qdoc config.qdocconf
Of course, if
qdoc is not in your system environment, then use
/path/to/your/Qt/5.8/clang_64/bin/qdoc.
Anyway, it should produce something like this:
You can open HTML files in web-browser and see the result. It is a good enough already, but default pages look so boring - let’s add some simple styling to make them look more lively.
Here’s what I’ve put inside the
style.css file:
body { font-family: "Verdana"; font-size: 14px; max-width: 80%; margin: auto; } h1, h2, h3 { color: green; } div.sidebar { float: right; } pre { padding: 15px; } div.qmlproto { padding-left: 15px; padding-right: 15px; } pre, div.qmlproto { font-family: "Courier New"; font-size: 20px; margin-left: 2em; background-color: #F2F2F2; } hr { margin-top: 2em; margin-bottom: 2em; } p.header { margin-bottom: -1em; } p.footer { text-align: right; margin-top: -1em; }
And that’s how my documentation pages nicely look like after such a simple styling:
Yeah, a bit stupid to show a screenshot of a webpage, but still.
Here’s a repository with the project including generated documentation | https://retifrav.github.io/blog/2017/05/24/documenting-qt-project-with-qdoc/ | CC-MAIN-2019-26 | refinedweb | 912 | 56.45 |
I have a python script that will run a batch script. This batch script sets an environment variable say _BLDPATH. I want to grab this variable in the python script to use that variable later on. The problem is that even though the variable gets set properly when the batch file was executed, the os.getenv does not get me the variable back in python script.
How do I get this to work.
snippet of the code is
import os
os.system("bldroott.bat")
bldpath = os.getenv("_BLDPATH")
print "bld path is ",bldpath
snippet of bldroot.bat
REM ....
REM...
if "%_BLDPATH%" == "" goto SET_BLDPATH
goto DONE
:SET_BLDPATH
set _BLDPATH=C:\Bld607
echo %_BLDPATH%
:DONE
The result when I run the above python script is
bld path is None | https://www.daniweb.com/programming/software-development/threads/103197/gather-a-variable-created-in-a-batch-file-being-executed | CC-MAIN-2017-34 | refinedweb | 127 | 76.42 |
Python - How to sort multidimensional list to two-dimensional list?
python sort 2d list by two columns
python sort nested list by second element
python sort 2d array by column descending
python sorted
python sort list of lists
2d list python
merge sort 2d array python
How i can sort multidimensional list to two-dimensional list?
Multidimensional input:
[8, [6, 7, [-1], [4, [[10]]], 2], 1]
Desired two-dimensional output:
[[8, 1], [6, 7, 2], [-1, 4], [], [10]]
all same depth list items need to be in same list.
The idea is basically the same that the one in @TerryA answer, but using setdefault and checking at the end of the for loop if something of the depth was added:
lst = [8, [6, 7, [-1], [4, [[10]]], 2], 1] def depths(l): def flatten(l, start=0, depth={}): for e in l: if isinstance(e, list): flatten(e, start=start + 1, depth=depth) else: depth.setdefault(start, []).append(e) if start not in depth: depth[start] = [] d = {} flatten(l, depth=d) return [d[i] for i in range(max(d) + 1)] result = depths(lst) print(result)
Output
[[8, 1], [6, 7, 2], [-1, 4], [], [10]]
Two-dimensional lists (arrays) - Learn Python 3, How to sort 2d list by the second or third sub item in a lists. Great for making high score tables.Duration: 4:05 Posted: Jan 16, 2017 Sorting 2D list python [closed] Ask Question Asked 6 years, 9 months ago. To sort a list of lists on the second column, use operator.itemgetter()
You could perhaps use a defaultdict here to measure the depth of each element, along with recursion:
from collections import defaultdict L = [8, [6, 7, [-1], [4, [[10]]], 2], 1] res = defaultdict(list) def myfunc(L, depth): for i in L: if isinstance(i, list): myfunc(i, depth+1) else: res[depth].append(i) myfunc(L, 0)
The defaultdict will then look like this:
defaultdict(<class 'list'>, {0: [8, 1], 1: [6, 7, 2], 2: [-1, 4], 4: [10]})
You'll then need to translate the defaultdict back to what you want. Note that the default dict will not contain an empty list because it can't detect it (ie:
[[10]] and
[10] are both lists), but what it will have is a gap in the range (notice how the depth
3 is missing in the defaultdict).
final = [] for i in range(max(res)+1): if i not in res: final.append([]) else: final.append(res[i]) print(final)
Very messy, I'm sure improvements could be made.
Python: list of lists, Here's a quick and elegant way to sort complex objects in Python (for instance, a list of lists or a 2D array), using the objects' indices as the key. Sort the multi-dimensional array in descending order on the basis of 2nd column: list_name.sort(key=lambda x:x[1],reverse=True)
My option with recursion and without any dependencies:
lst = [8, [6, 7, [-1], [4, [[10]]], 2], 1] def flat_group(lst, deep = 0, res = None): if res == None: res = [] for item in lst: if len(res) <= deep: res.append([]) if not type(item) == list: res[deep].append((item)) else: flat_group(item, deep + 1, res) return res print(flat_group(lst)) #=> [[8, 1], [6, 7, 2], [-1, 4], [], [10]]
To show How it works, I split the method in two:
def flat(lst, deep = 0, res = []): for item in lst: if not type(item) == list: res.append((deep, item)) else: flat(item, deep + 1, res) return res def group(lst): flatten = flat(lst) max_n = max(flatten)[0] res = [[] for _ in range(0,max_n+1)] for deep, item in flatten: res[deep].append(item) return res print(group(lst)) #=> [[8, 1], [6, 7, 2], [-1, 4], [], [10]]
flat(lst) is a recursive method that builds a flat list of tuples where each tuple contains the value and the deep inside the original list.
So the call
flat(lst) returns:
# [(0, 8), (1, 6), (1, 7), (2, -1), (2, 4), (4, 10), (1, 2), (0, 1)]
Then
group(lst) builds a list of
n+1 empty sub-list, where
n is the maximum depth, it iterates over the result of
flat(lst) and append each element by index to the proper sub-list.
The
flat_group(lst) does almost the same.
Sorting two dimensional lists in Python, 5.16 Two-Dimensional Lists. Lists can contain other lists as elements. A typical use of such nested (or multidimensional) lists is to represent.
You can do this by first generating a dictionary of elements at each depth (with depth as key in this dictionary and list of elements of that depth as value). The recursive function
get_elements_by_depth below does this. Then all you need to do is flatten the values of that dictionary. (the function
flatten_by_depth below does what you need).
from collections import defaultdict def get_elements_by_depth(ls, cur_depth, cur_dict): """ returns a dictionary with depth as key and a list of all elements that have that depth as value """ for x in ls: if isinstance(x, list): get_elements_by_depth(x, cur_depth + 1, cur_dict) else: cur_dict[cur_depth].append(x) return cur_dict def flatten_by_depth(ls): """ returns a list of lists, where the list at index i contains all elements of depth i """ elements_by_depth = get_elements_by_depth(ls, 0, defaultdict(list)) max_depth = max(elements_by_depth.keys()) # Since we're using a defaultdict, we don't have to worry about # missing keys in elements_by_depth return [ elements_by_depth[i] for i in xrange(max_depth + 1) ]
> flatten_by_depth([8, [6, 7, [-1], [4, [[10]]], 2], 1]) [[8, 1], [6, 7, 2], [-1, 4], [], [10]]
sorting multidimensional lists, This tutorial is for Processing's Python Mode. A two-dimensional list is really nothing more than an list of lists (a three-dimensional list is a list of For a two-dimensional list, in order to reference every element, we must use two nested loops. The syntax of the sort () method is: list.sort (key=, reverse=) Alternatively, you can also use Python's built-in sorted () function for the same purpose. sorted (list, key=, reverse=)
The recursive approach taken by the other answers comes with the recursion limit imposed by Python and the overhead of two passes. A more efficient one-pass iterative approach is to implement breadth-first search using a queue of tuples of lists and associated depths:
from collections import deque def flatten(lst): output = [] q = deque([(lst, 0)]) while q: l, depth = q.popleft() for i in l: if isinstance(i, list): q.append((i, depth + 1)) else: while depth >= len(output): output.append([]) output[-1].append(i) return output
so that:
flatten([8, [6, 7, [-1], [4, [[10]]], 2], 1])
returns:
[[8, 1], [6, 7, 2], [-1, 4], [], [10]]
5.16 Two-Dimensional Lists, Here we have used the technique of Bubble Sort to perform the sorting. We have tried to access the second element of the sublists using the nested loops. (A list of eight numbers can be seen in the image) Although it's not too common, you may sometimes encounter multidimensional lists. Especially, when it comes to game applications. Two-dimensional list. A good representation of a 2-dimensional list is a grid because technically, it is one.
Two-Dimensional Lists \ Tutorials, All are means of accomplishing a similar task: sorting the values in a list or array. sort along specific rows or columns of a multidimensional array using the axis We'll start by creating a random set of 10 points on a two-dimensional plane. Sorting HOW TO¶ Author. Andrew Dalke and Raymond Hettinger. Release. 0.1. Python lists have a built-in list.sort() method that modifies the list in-place. There is also a sorted() built-in function that builds a new sorted list from an iterable. In this document, we explore the various techniques for sorting data using Python.
Python, This tutorial goes over 2d lists and multidimensional arrays in general. Are you looking for a quick reference on multidimensional lists in Python instead of a We'll nest the loops in order so that the outer loop iterates over the rows and the Python | Sort a list according to the second element in sublist In this article, we will learn how to sort any list, according to the second element of the sublist present within the main list. We will see two methods of doing this.
Sorting Arrays, Create a list of lists, or a 2D list. Append empty lists to a list and add elements. Lists are used to hold data, but they are also used to categorize it. Values inside a list can be further broken down into other sets. That's essentially what a multidimensional list is. Two Dimensional Lists What is a list that holds lists? That's all a two dimensional list is. The list below consists of three lists.
- what's the logic behind this?
- Please try to solve the problem by yourself first.
- @Sociopath he is reorganizing the list by layer depth
- compute the "depth" of each element, then rebuild a list of lists
- Can you please tell me whether
[[8, 1], [6, 7, 2], [4], [], [10], [-1]]is an acceptable result, and if not, then why?
i in resis better than
if res.get(i) is None
- @Jean-FrançoisFabre yup, ty
- This breaks if there are multiple levels of a sublist without an item, such as
[8, [6, 7, [-1], [4, [[[10]]]], 2], 1]. Also, using a mutable object as a default parameter value would result in incorrect results if the function is called more than once.
- @blhsing, thanks for the advice!! I suppose I fixed the first part, but I'm not able to find a workaround for the object mutation... (with Ruby there is not this issue). Can you address me?
- Yes you did fix it. +1 | http://thetopsites.net/article/53632917.shtml | CC-MAIN-2020-50 | refinedweb | 1,631 | 68.91 |
Not sure if I'm skilled enough for the Collapse method, but I will give TBuf a go.
Thanks for that! :)
Type: Posts; User: Mathematix08; Keyword(s):
Not sure if I'm skilled enough for the Collapse method, but I will give TBuf a go.
Thanks for that! :)
Hi guys
Descriptors have go me again. I need to convert from:
TInt aNum = 12;
TBuf<3> someNum;
someNum.Num(aNum);
to a TPtrC8 to write to a file. Is there any way that this can be done?
D'oh!
Thanks mate. :)
That's what I was trying to find, but I can't seem to locate it. How do I find and set my EPOCROOT env. variable?
Hi all
I'm stuck again.
I'm currently installing everything on my machine and have encountered a problem. When I build a project I get:
using Carbide.c++ v1.3 express.
That's just it, there is no error message. To all intents and purposesthe code compiles completely cleanly but the highlighting points to an issue that doesn't appear to exist.
Here is a snippet...
v1.3 express. Currently going through the help and not found an answer yet. :)
Hi all
I've noticed that even though my code otherwise compiles correctly, and I can't find any issues when debugging, the syntax highlighting appears to be pointing to a problem in the code and...
Yep, my bad. Thanks again! :)
Panic over, I was being an idiot. The code that is...
ret = file.Open(&iFs, FileName, EFileWrite|EFileShareAny);
should have been
Yep, posted code. :)
Sorry for the delayed reply, Kiran.
Here is the source that is giving me the problem.
#include <e32def.h>
#include "DescriptorTest.h"
#include <e32std.h>
Hi Kiran
Tried this a little while ago, but Carbide complains that 'const TDesC16 &' and 'const TLitC<11>' are incompatible.
Hi all
I'll try to keep this from being a rant.
I'm using the 8.1a SDK for some apps that I'm writing for old Symbian 8 phones, of course. I have a problem in my code whereby I'm trying to... | http://developer.nokia.com/community/discussion/search.php?s=ca015be386463e28f5721d3dbc99a899&searchid=1952446 | CC-MAIN-2014-10 | refinedweb | 352 | 86.3 |
Descripción
PHP Console allows you to handle PHP errors & exceptions, dump variables, execute PHP code remotely and many other things using Google Chrome extension PHP Console and PHP Console server library.
This implementation of PHP Console is a handy tool to make it easier to test on the fly any WordPress specific function or class (including those introduced by your active theme and plugins!) from a terminal and inspect results, catch errors and warnings with complete call stack trace straight from the Chrome JavaScript console. In other words, besides debugging, you can execute PHP or WordPress-specific PHP code straight from the terminal and print PHP variables in Chrome Dev Tools JavaScript console along with your normal JavaScript debugging and testing. Keep everything in one place, without leaving the browser to check for your logs or writing temporary PHP test code on a PHP file and refresh your browser page.
Note: PHP version 5.6.0 or above is required to use this plugin.
For support and pull requests, please refer to WP PHP Console GitHub repo and read the instructions there – thank you.
Utilización
After you entered WP PHP Plugin password, your browser address bar should show a yellow «key» icon, which, if clicked, will prompt for the password you have set earlier.
The «key» icon will change into a «terminal» icon, click on it to open the PHP Console eval & options form.
After entering the correct password, you can use the Eval Terminal in the PHP Console eval & options form and run any PHP code from it, including WordPress’s own functions: enter one or more lines of PHP code in the black Eval terminal screen, press Ctrl+Enter and see the result in Chrome Dev Tools JavaScript console.
The result includes the output, the return value and the net server execution time.
In your PHP code on the Server, you can call PHP Console debug statements like
PC::debug( $var, $tag ) to display PHP variables in the JavaScript console and optionally filter selected tags through the PHP Console eval & options form opened from the address bar in your browser.
In the JavaScript console you will see printed any `PC::debug()« information, PHP errors, warnings, notices with optional stack trace, which will be useful to debug your plugin or theme.
Instalación
First, install Google Chrome extension PHP Console from the Chrome WebStore.
Make sure the PHP Console Chrome extension is enabled through chrome://extensions/.
Important Note
If the Google Chrome extension is not available on the Chrome Web Store, you can manually install it from source.
Then, add this plugin to your WordPress installation either by:
Installing it as any other WordPress plugin from your WordPress admin Plugins page (
Add New)
Uploading it in
wp-php-consoledirectory into your
wp-content/plugins/directory or corresponding plugins directory in your installation
Activate the plugin through the
Pluginsadmin page in WordPress
In the
Settingsmenu go to
WP PHP Console:
Enter a password for the Eval Terminal (this setting is needed or the terminal feature simply won’t work).
You can also set other options.
Opciones
Allow only on SSL
Forces PHP Console to connect on a SSL connection only (of course then if you don’t actually have SSL (https), PHP Console simply won’t work).
Allowed IP Masks
You can secure your server by specifying IP addresses to restrict the accessibility from the Eval Terminal (a single address eg.
192.168.0.4 or an address mask eg.
192.168.*.* or multiple IPs, comma separated
192.168.1.22,192.168.1.24,192.168.3.*). In case of having issues connecting with the Remote PHP Eval Terminal, try leaving this blank.
Register PC Class
Tick this option to register
PC in the global PHP namespace. This allows to write
PC::debug($var, $tag) or
PC::magic_tag($var) instructions in PHP to inspect
$var in the JavaScript console.
Show Call Stack
Tick this option to see the call stack when PHP Console server writes to the JavaScript console.
Short Path Names
Tick this checkbox to shorten PHP Console error sources and traces paths in the JavaScript console. E.g. paths like
/server/path/to/document/root/WP/wp-admin/admin.php:38 will be displayed as
/WP/wp-admin/admin.php:38
Is this an official plugin from PHP Console author?
No, but it makes use of Sergey’s PHP Console library as it is.
Does it work with Firefox, IE, Opera or other browsers?
No it doesn’t, unless PHP Console browser extension is ported, for example, as a Firefox add-on.
Can I use PHP Console in a live production environment?
You can but it is probably not a good idea. You should do your debugging and testing on a development/testing environment on a staging server or local machine. Likewise, you normally wouldn’t want to turn on PHP error reporting or set WP_DEBUG to true in a live site as you wouldn’t want to display error information to public. Furthermore, PHP Console allows execution of any remote PHP code through terminal – for this you can set a strong password and restrict the IP address range to access the terminal, but still it’s not advisable. Besides putting your site at risk, you will also add more load to your server.
Will there be items logged in my debug.log files when a PHP error occurs?
Generally no, WP PHP Console will intercept those. However, it’s always a good idea to keep an eye on the logs too. Furthermore, WP PHP Console is unable to catch many server errors that result in a 500 error code on the browser. For those you may have traces left in the debug.log file.
Why are PHP arrays shown as objects?
The JavaScript console prints PHP variables as JavaScript variables. Associative PHP arrays such as
['key1' => 'var2', 'key2' => 'var2', ... ]are shown as objects; automatically indexed arrays like
[ 'var1', 'var2', ... ]are shown as arrays.
Fatal error: Class ‘PC’ not found in ‘my code’
PC::debug( $my_var, $my_tag ) can only be called after the WordPress core included the WP PHP Console plugin.
You could move your debug code or either do something like
// delay use of PC class until WP PHP Console plugin is included add_action( 'plugins_loaded', function () use ( $my_var ) { // send $my_var with tag 'my_tag' to the JavaScript console through PHP Console Server Library and PHP Console Chrome Plugin PC::my_tag( $my_var ); });
ó
// PHP Console autoload require_once dirname( __FILE__ ) . '/wp-php-console/vendor/autoload.php'; // make PC class available in global PHP scope if ( ! class_exists( 'PC', false ) ) PhpConsole\Helper::register(); // send $my_var with tag 'my_tag' to the JavaScript console through PHP Console Server Library and PHP Console Chrome Plugin PC::my_tag( $my_var );
Reseñas
Colaboradores y desarrolladores
«WP PHP Console» es un software de código abierto. Las siguientes personas han colaborado con este plugin.Colaboradores
«WP PHP Console» ha sido traducido a 1 idioma local. Gracias a los traductores por sus contribuciones.
Traduce «WP PHP.0
- Misc: Add note about Chrome extension unavailability in web store
- Misc: Add plugin admin action links
- Misc: Improved settings handler
- Misc: Updates PHP Console core library to v3.1.8
1.5.5
- Misc: Add plugin admin action links
- Misc: Improved settings handler
1.5.4
- Fix: Temporarily suppress PHP warnings while connecting with PhpConsole to avoid headers already sent warnings, then restore all errors reporting
- Misc: Improved PHP and WordPress compatibility loader
1.5.3
- Fix: Try to get rid of PHP errors related to «Unable to set PHP Console server cookie» and «Cannot modify header information – headers already sent»
- Misc: Require PHP 5.6
1.5.2
- Misc: Updates PHP Console core library to v3.1.7
1.5.1
- Misc: Bump WordPress compatibility to mark support for the latest versions
1.5.0
- Fix: Fixes «PHP Warning: session_start(): Cannot send session cache limiter – headers already sent» notice in logs
- Misc: Internal changes, new Settings class, deprecated methods and properties in main Plugin class
- Misc: Updated PHP Console Library to 3.1.6
- Misc: Tested up to WordPress 4.5.2
1.4.0
- Enhancement: Support for WordPress language packs
- Misc: Improved error and exception handling and usage of Composer in plugin development
- Misc: Updated PHP Console Library to 3.1.5
- Misc: Tested up to WordPress 4.4.1
1.3.9
- Misc: Use WP Requirements as Composer dependency.
1.3.8
- Misc: Internal changes (alternate PHP version check, automated SVN deploys)
1.3.7
- Fix: Fixes a bug
Cannot send session cache limiter - headers already sent
- Misc: Updated PHP Console Library to 3.1.4
1.3.5
- Misc: Made PHP 5.4.0 the minimum required version to activate the plugin
- Misc: Updated PHP Console library to 3.1.3
1.3.3
- Misc: Supports WordPress 4.2
1.3.2
- Fix: Fixes «Fatal error: Using $this when not in object context» upon activation in some installations.
1.3.1
- Enhancement: earlier PC initialisation – props @Polfo
- Misc: Updated readme files
1.3.0
- Fix: IP mask
- Enhancement: added configuration options – props @Polfo
- Register PC class
- Show Call Stack
- Short Path Names
1.2.3
- Fix: Fixes «Wrong PHP Console eval request signature» error when executing WordPress code from terminal, props @Polfo @barbushin
1.2.2
- Fix: Bugfixes
- Misc: Submission to WordPress.org plugins repository.
1.2.1
- Fix: Fixed allowed IPs bug.
1.2.0
- Misc: Updated dependencies and got rid of git submodules.
1.1.0
- Fix: PHP Console server is now instantiated later, allowing to catch all your theme functions too.
- Misc: Included PHP Console server library as git submodule rather than a composer dependency.
1.0.0
- First public release. | https://es.wordpress.org/plugins/wp-php-console/ | CC-MAIN-2021-21 | refinedweb | 1,614 | 54.02 |
A C# program is best understood in terms of three basic elements: functions, data, and types. This book assumes you have some programming experience, so let's start with a brief overview of functions and data (which you should have some familiarity with) and then move on to explain types in more detail.
A function performs an action by executing a series of statements. For example, you may have a function that returns the distance between two points, or a function that calculates the average of an array of values. A function is a way of manipulating data.
Data is values that functions operate on. For example, you may have data holding the coordinates of a point, or data holding an array of values. Data always has a particular type.
A type has a set of data members and function members. The function members are used to manipulate the data members. The most common types are classes and structs, which provide a template for creating data; data is always an instance of a type.
Types are quite an abstract concept, so let's look at two concrete examples.
The string class specifies a sequence of characters. This means you can store values such as ".NET" or "". You can also perform functions such as returning the character at a particular position on the string or getting its lowercase representation.
In this example, we output the lower case representation of ".NET" (which will be ".net"), and return the length of the string (which will be 4). To do this, we first create an instance of a string, then use the ToLower method and Length property, which are function members of that string.
using System; class Test { static void Main ( ) { string s = ".NET"; Console.WriteLine (s.ToLower( )); // outputs ".net" Console.WriteLine (s.Length); // outputs 4 } }
The int struct specifies a signed integer (a positive or negative whole number) that is 32 bits long. This means you can store values ranging from -2,147,483,648 to 2,147,483,647 (or -2n-1 to 2n-1-1, in which n=32). With an int, you can perform functions such as adding, multiplying, etc.
In this example, we output the result of multiplying 3 by 4. To do this, we create two instances of the int, and then use the * operator. The int type is actually a built-in type that supports primitive arithmetic functionality (such as *), but it is helpful to think of the * operator as a function member of the int type.
using System; class Example { static void Main ( ) { int a = 3; int b = 4; Console.WriteLine (a * b); } }
You can also define custom types in C#. In fact, a program is built by defining new types, each with a set of data members and function members. In this example, we build our own type, called Counter:
// Imports types from System namespace, such as Console using System; class Counter { // New types are typically classes or structs // --- Data members --- int value; // field of type int int scaleFactor; // field of type int // Constructor, used to initialize a type instance( ); Console.WriteLine(c.Count); // prints "10"; // create another instance of counter type Counter d = new Counter(7); d.Inc( ); Console.WriteLine(d.Count); // prints "7"; } }
Generally, you must create instances of a type to use that type. Data members and function members that require a type to be instantiated in order to be used are called instance members (by default, members are instance members). Data members and function members that can be used on the type itself are called static members.
In this example, the instance method PrintName prints the name of a particular panda, while the static method PrintSpeciesName prints the name shared by all pandas in the application (AppDomain):
using System; class Panda { string name; static string speciesName = "Ailuropoda melanoleuca"; // Initializes Panda(See Instance Constructors) public Panda(string n) { name = n; } public void PrintName( ) { Console.WriteLine(name); } public static void PrintSpeciesName( ) { Console.WriteLine(speciesName); } } class Test { static void Main( ) { Panda.PrintSpeciesName( ); // invoke static method Panda p1 = new Panda("Petey"); Panda p2 = new Panda("Jimmy"); p1.PrintName( ); // invoke instance method p2.PrintName( ); // invoke instance method } }
Note that the invocation of static members from outside of their enclosing type requires specifying the type name. You may have deduced that Console's WriteLine method is a static member. It is associated with the Console class, rather than an instance of the Console class. A function member should be static when it doesn't rely on any instance data members. Similarly, the Main method of all programs is a static member, which means that this method can be called without instantiating the enclosing class.
Each type has its own set of rules defining how it can be converted to and from other types. Conversions between types may be implicit or explicit. Implicit conversions can be performed automatically, while explicit conversions require a cast:
int x = 123456; // int is a 4-byte integer long y = x; // implicit conversion to 8-byte integer short z =(short)x // explicit conversion to 2-byte integer
The rationale behind implicit conversions is they are guaranteed to succeed and do not lose information. Conversely, an explicit conversion is required either when runtime circumstances determine whether the conversion will succeed or whether information may be lost during the conversion.
Most conversion rules are supplied by the language, such as the previously shown numeric conversions. Occasionally it is useful for developers to define their own implicit and explicit conversions, explained later in this chapter. | http://etutorials.org/Programming/C+in+a+nutshell+tutorial/Part+I+Programming+with+C/Chapter+2.+C+Language+Basics/2.3+Type+Basics/ | CC-MAIN-2018-39 | refinedweb | 919 | 53.71 |
App::Metabase::Relayd::Plugin - metabase-relayd plugins
This document describes the App::Metabase::Relayd::Plugin system for App::Metabase::Relayd and metabase-relayd.
Plugins are a mechanism for providing additional functionality to App::Metabase::Relayd and metabase-relayd.
It is assumed that plugins will be POE based and consist of at least one POE::Session.
The plugin constructor is
init.
App::Metabase::Relayd uses Module::Pluggable to find plugins beneath the App::Metabase::Relayd::Plugin namespace and will attempt to call
init on each plugin class that it finds.
init will be called with one parameter,
a hashref that contains keys for each section of the metabase-relayd::Metabase::Relayd will watch for a
_child event indicating that it has gained a plugin child session.
It will detach this child after making a note of the child's session ID which it will use to send the following events.
mbrd_received
ARG0 will be a
HASHREF with the following keys:
archname distfile grade osname osversion perl_version textreport
ARG1 will be the IP address of the client that sent the report.
Chris
BinGOs Williams <chris@bingosnet.co.uk>
This module may be used, modified, and distributed under the same terms as Perl itself. Please see the license that came with your Perl distribution for details. | http://search.cpan.org/~bingos/metabase-relayd-0.32/lib/App/Metabase/Relayd/Plugin.pm | CC-MAIN-2016-36 | refinedweb | 213 | 54.32 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.